n8n-nodes-base 1.2.1 → 1.3.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/dist/credentials/Amqp.credentials.js +1 -1
- package/dist/credentials/Amqp.credentials.js.map +1 -1
- package/dist/credentials/DropcontactApi.credentials.d.ts +2 -7
- package/dist/credentials/DropcontactApi.credentials.js +1 -0
- package/dist/credentials/DropcontactApi.credentials.js.map +1 -1
- package/dist/credentials/HighLevelApi.credentials.d.ts +2 -7
- package/dist/credentials/HighLevelApi.credentials.js +1 -0
- package/dist/credentials/HighLevelApi.credentials.js.map +1 -1
- package/dist/credentials/KoBoToolboxApi.credentials.d.ts +2 -14
- package/dist/credentials/KoBoToolboxApi.credentials.js +1 -0
- package/dist/credentials/KoBoToolboxApi.credentials.js.map +1 -1
- package/dist/credentials/NetlifyApi.credentials.d.ts +2 -7
- package/dist/credentials/NetlifyApi.credentials.js +1 -0
- package/dist/credentials/NetlifyApi.credentials.js.map +1 -1
- package/dist/credentials/OdooApi.credentials.js.map +1 -1
- package/dist/credentials/OnfleetApi.credentials.d.ts +2 -7
- package/dist/credentials/OnfleetApi.credentials.js +1 -0
- package/dist/credentials/OnfleetApi.credentials.js.map +1 -1
- package/dist/credentials/VenafiTlsProtectCloudApi.credentials.d.ts +2 -7
- package/dist/credentials/VenafiTlsProtectCloudApi.credentials.js +1 -0
- package/dist/credentials/VenafiTlsProtectCloudApi.credentials.js.map +1 -1
- package/dist/nodes/Amqp/Amqp.node.d.ts +6 -1
- package/dist/nodes/Amqp/Amqp.node.js +45 -0
- package/dist/nodes/Amqp/Amqp.node.js.map +1 -1
- package/dist/nodes/Amqp/AmqpTrigger.node.js +20 -2
- package/dist/nodes/Amqp/AmqpTrigger.node.js.map +1 -1
- package/dist/nodes/Code/Code.node.js +1 -1
- package/dist/nodes/Code/Code.node.js.map +1 -1
- package/dist/nodes/EmailReadImap/v1/EmailReadImapV1.node.js +4 -4
- package/dist/nodes/EmailReadImap/v1/EmailReadImapV1.node.js.map +1 -1
- package/dist/nodes/EmailReadImap/v2/EmailReadImapV2.node.js +11 -11
- package/dist/nodes/EmailReadImap/v2/EmailReadImapV2.node.js.map +1 -1
- package/dist/nodes/MQTT/MqttTrigger.node.js +17 -2
- package/dist/nodes/MQTT/MqttTrigger.node.js.map +1 -1
- package/dist/types/credentials.json +7 -7
- package/dist/types/nodes.json +5 -5
- package/dist/utils/utilities.js +1 -1
- package/dist/utils/utilities.js.map +1 -1
- package/package.json +5 -5
|
@@ -14,22 +14,22 @@ const Imap_credentials_1 = require("../../../credentials/Imap.credentials");
|
|
|
14
14
|
async function parseRawEmail(messageEncoded, dataPropertyNameDownload) {
|
|
15
15
|
const responseData = await (0, mailparser_1.simpleParser)(messageEncoded);
|
|
16
16
|
const headers = {};
|
|
17
|
-
const
|
|
17
|
+
const additionalData = {};
|
|
18
18
|
for (const header of responseData.headerLines) {
|
|
19
19
|
headers[header.key] = header.line;
|
|
20
20
|
}
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
additionalData.headers = headers;
|
|
22
|
+
additionalData.headerLines = undefined;
|
|
23
23
|
const binaryData = {};
|
|
24
24
|
if (responseData.attachments) {
|
|
25
25
|
for (let i = 0; i < responseData.attachments.length; i++) {
|
|
26
26
|
const attachment = responseData.attachments[i];
|
|
27
27
|
binaryData[`${dataPropertyNameDownload}${i}`] = await this.helpers.prepareBinaryData(attachment.content, attachment.filename, attachment.contentType);
|
|
28
28
|
}
|
|
29
|
-
|
|
29
|
+
additionalData.attachments = undefined;
|
|
30
30
|
}
|
|
31
31
|
return {
|
|
32
|
-
json: { ...responseData, ...
|
|
32
|
+
json: { ...responseData, ...additionalData },
|
|
33
33
|
binary: Object.keys(binaryData).length ? binaryData : undefined,
|
|
34
34
|
};
|
|
35
35
|
}
|
|
@@ -185,7 +185,7 @@ class EmailReadImapV2 {
|
|
|
185
185
|
imap: {
|
|
186
186
|
user: credentials.user,
|
|
187
187
|
password: credentials.password,
|
|
188
|
-
host: credentials.host,
|
|
188
|
+
host: credentials.host.trim(),
|
|
189
189
|
port: credentials.port,
|
|
190
190
|
tls: credentials.secure,
|
|
191
191
|
authTimeout: 20000,
|
|
@@ -196,7 +196,7 @@ class EmailReadImapV2 {
|
|
|
196
196
|
tlsOptions.rejectUnauthorized = false;
|
|
197
197
|
}
|
|
198
198
|
if (credentials.secure) {
|
|
199
|
-
tlsOptions.servername = credentials.host;
|
|
199
|
+
tlsOptions.servername = credentials.host.trim();
|
|
200
200
|
}
|
|
201
201
|
if (!(0, isEmpty_1.default)(tlsOptions)) {
|
|
202
202
|
config.imap.tlsOptions = tlsOptions;
|
|
@@ -428,7 +428,7 @@ class EmailReadImapV2 {
|
|
|
428
428
|
imap: {
|
|
429
429
|
user: credentials.user,
|
|
430
430
|
password: credentials.password,
|
|
431
|
-
host: credentials.host,
|
|
431
|
+
host: credentials.host.trim(),
|
|
432
432
|
port: credentials.port,
|
|
433
433
|
tls: credentials.secure,
|
|
434
434
|
authTimeout: 20000,
|
|
@@ -466,7 +466,7 @@ class EmailReadImapV2 {
|
|
|
466
466
|
tlsOptions.rejectUnauthorized = false;
|
|
467
467
|
}
|
|
468
468
|
if (credentials.secure) {
|
|
469
|
-
tlsOptions.servername = credentials.host;
|
|
469
|
+
tlsOptions.servername = credentials.host.trim();
|
|
470
470
|
}
|
|
471
471
|
if (!(0, isEmpty_1.default)(tlsOptions)) {
|
|
472
472
|
config.imap.tlsOptions = tlsOptions;
|
|
@@ -498,7 +498,7 @@ class EmailReadImapV2 {
|
|
|
498
498
|
connection = await establishConnection();
|
|
499
499
|
await connection.openBox(mailbox);
|
|
500
500
|
let reconnectionInterval;
|
|
501
|
-
const
|
|
501
|
+
const handleReconnect = async () => {
|
|
502
502
|
this.logger.verbose('Forcing reconnect to IMAP server');
|
|
503
503
|
try {
|
|
504
504
|
isCurrentlyReconnecting = true;
|
|
@@ -516,7 +516,7 @@ class EmailReadImapV2 {
|
|
|
516
516
|
}
|
|
517
517
|
};
|
|
518
518
|
if (options.forceReconnect !== undefined) {
|
|
519
|
-
reconnectionInterval = setInterval(
|
|
519
|
+
reconnectionInterval = setInterval(handleReconnect, options.forceReconnect * 1000 * 60);
|
|
520
520
|
}
|
|
521
521
|
async function closeFunction() {
|
|
522
522
|
closeFunctionWasCalled = true;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmailReadImapV2.node.js","sourceRoot":"","sources":["../../../../nodes/EmailReadImap/v2/EmailReadImapV2.node.ts"],"names":[],"mappings":";;;;;;AAgBA,+CAAkD;AAGlD,6CAA+D;AAE/D,2CAA0C;AAC1C,sDAA8B;AAC9B,6DAAqC;AACrC,uDAA+B;AAG/B,4EAA8E;AAEvE,KAAK,UAAU,aAAa,CAElC,cAA4B,EAC5B,wBAAgC;IAEhC,MAAM,YAAY,GAAG,MAAM,IAAA,yBAAY,EAAC,cAAc,CAAC,CAAC;IACxD,MAAM,OAAO,GAAgB,EAAE,CAAC;IAChC,MAAM,eAAe,GAAgB,EAAE,CAAC;IAExC,KAAK,MAAM,MAAM,IAAI,YAAY,CAAC,WAAW,EAAE;QAC9C,OAAO,CAAC,MAAM,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,IAAI,CAAC;KAClC;IAED,eAAe,CAAC,OAAO,GAAG,OAAO,CAAC;IAClC,eAAe,CAAC,WAAW,GAAG,SAAS,CAAC;IAExC,MAAM,UAAU,GAAmB,EAAE,CAAC;IACtC,IAAI,YAAY,CAAC,WAAW,EAAE;QAC7B,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,YAAY,CAAC,WAAW,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;YACzD,MAAM,UAAU,GAAG,YAAY,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;YAC/C,UAAU,CAAC,GAAG,wBAAwB,GAAG,CAAC,EAAE,CAAC,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,iBAAiB,CACnF,UAAU,CAAC,OA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zB,aAAa,CAAC,oBAAoB,CAAC,CAAC;aACpC;YACD,IAAI,UAAU,CAAC,QAAQ;gBAAE,MAAM,UAAU,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;YAC1D,UAAU,CAAC,GAAG,EAAE,CAAC;QAClB,CAAC;QAGD,eAAe,CAAC,OAAO,EAAE,CAAC;QAE1B,OAAO;YACN,aAAa;SACb,CAAC;IACH,CAAC;CACD;AAxdD,0CAwdC"}
|
|
@@ -85,6 +85,13 @@ class MqttTrigger {
|
|
|
85
85
|
default: false,
|
|
86
86
|
description: 'Whether to return only the message property',
|
|
87
87
|
},
|
|
88
|
+
{
|
|
89
|
+
displayName: 'Parallel Processing',
|
|
90
|
+
name: 'parallelProcessing',
|
|
91
|
+
type: 'boolean',
|
|
92
|
+
default: true,
|
|
93
|
+
description: 'Whether to process messages in parallel or by keeping the message in order',
|
|
94
|
+
},
|
|
88
95
|
],
|
|
89
96
|
},
|
|
90
97
|
],
|
|
@@ -99,6 +106,7 @@ class MqttTrigger {
|
|
|
99
106
|
topicsQoS[topic] = qos ? { qos: parseInt(qos, 10) } : { qos: 0 };
|
|
100
107
|
}
|
|
101
108
|
const options = this.getNodeParameter('options');
|
|
109
|
+
const parallelProcessing = this.getNodeParameter('options.parallelProcessing', true);
|
|
102
110
|
if (!topics) {
|
|
103
111
|
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Topics are mandatory!');
|
|
104
112
|
}
|
|
@@ -149,7 +157,7 @@ class MqttTrigger {
|
|
|
149
157
|
if (error) {
|
|
150
158
|
reject(error);
|
|
151
159
|
}
|
|
152
|
-
client.on('message', (topic, message) => {
|
|
160
|
+
client.on('message', async (topic, message) => {
|
|
153
161
|
let result = {};
|
|
154
162
|
message = message.toString();
|
|
155
163
|
if (options.jsonParseBody) {
|
|
@@ -163,7 +171,14 @@ class MqttTrigger {
|
|
|
163
171
|
if (options.onlyMessage) {
|
|
164
172
|
result = [message];
|
|
165
173
|
}
|
|
166
|
-
|
|
174
|
+
let responsePromise;
|
|
175
|
+
if (!parallelProcessing) {
|
|
176
|
+
responsePromise = await this.helpers.createDeferredPromise();
|
|
177
|
+
}
|
|
178
|
+
this.emit([this.helpers.returnJsonArray([result])], undefined, responsePromise);
|
|
179
|
+
if (responsePromise) {
|
|
180
|
+
await responsePromise.promise();
|
|
181
|
+
}
|
|
167
182
|
resolve(true);
|
|
168
183
|
});
|
|
169
184
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MqttTrigger.node.js","sourceRoot":"","sources":["../../../nodes/MQTT/MqttTrigger.node.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"MqttTrigger.node.js","sourceRoot":"","sources":["../../../nodes/MQTT/MqttTrigger.node.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AASA,+CAAkD;AAElD,2CAA6B;AAC7B,gDAAoD;AAEpD,MAAa,WAAW;IAAxB;QACC,gBAAW,GAAyB;YACnC,WAAW,EAAE,cAAc;YAC3B,IAAI,EAAE,aAAa;YACnB,IAAI,EAAE,eAAe;YACrB,KAAK,EAAE,CAAC,SAAS,CAAC;YAClB,OAAO,EAAE,CAAC;YACV,WAAW,EAAE,wBAAwB;YACrC,uBAAuB,EAAE,EAAE;YAC3B,QAAQ,EAAE;gBACT,IAAI,EAAE,cAAc;aACpB;YACD,YAAY,EAAE;gBACb,MAAM,EAAE,EAAE;gBACV,cAAc,EAAE;oBACf,QAAQ,EACP,4aAA4a;oBAC7a,MAAM,EACL,waAAwa;iBACza;gBACD,cAAc,EACb,qKAAqK;aACtK;YACD,MAAM,EAAE,EAAE;YACV,OAAO,EAAE,CAAC,MAAM,CAAC;YACjB,WAAW,EAAE;gBACZ;oBACC,IAAI,EAAE,MAAM;oBACZ,QAAQ,EAAE,IAAI;iBACd;aACD;YACD,UAAU,EAAE;gBACX;oBACC,WAAW,EAAE,QAAQ;oBACrB,IAAI,EAAE,QAA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[{"displayName":"Grant Type","name":"grantType","type":"hidden","default":"pkce"},{"displayName":"Authorization URL","name":"authUrl","type":"hidden","default":"https://airtable.com/oauth2/v1/authorize"},{"displayName":"Access Token URL","name":"accessTokenUrl","type":"hidden","default":"https://airtable.com/oauth2/v1/token"},{"displayName":"Scope","name":"scope","type":"hidden","default":"schema.bases:read data.records:read data.records:write"},{"displayName":"Auth URI Query Parameters","name":"authQueryParameters","type":"hidden","default":""},{"displayName":"Authentication","name":"authentication","type":"hidden","default":"header"}]},
|
|
11
11
|
{"name":"airtableTokenApi","displayName":"Airtable Personal Access Token API","documentationUrl":"airtable","properties":[{"displayName":"Access Token","name":"accessToken","type":"string","typeOptions":{"password":true},"default":""},{"displayName":"Make sure you enabled the following scopes for your token:<br>\n\t\t\t\t<code>data.records:read</code><br>\n\t\t\t\t<code>data.records:write</code><br>\n\t\t\t\t<code>schema.bases:read</code><br>\n\t\t\t\t","name":"notice","type":"notice","default":""}],"authenticate":{"type":"generic","properties":{"headers":{"Authorization":"=Bearer {{$credentials.accessToken}}"}}},"test":{"request":{"baseURL":"https://api.airtable.com/v0/meta/whoami"}}},
|
|
12
12
|
{"name":"alienVaultApi","displayName":"AlienVault API","documentationUrl":"alienvault","properties":[{"displayName":"OTX Key","name":"accessToken","type":"string","typeOptions":{"password":true},"required":true,"default":""}],"authenticate":{"type":"generic","properties":{"headers":{"X-OTX-API-KEY":"={{$credentials.accessToken}}"}}},"test":{"request":{"baseURL":"https://otx.alienvault.com","url":"/api/v1/user/me"}},"iconUrl":"icons/n8n-nodes-base/dist/credentials/icons/AlienVault.png"},
|
|
13
|
-
{"name":"amqp","displayName":"AMQP","documentationUrl":"amqp","properties":[{"displayName":"Hostname","name":"hostname","type":"string","default":""},{"displayName":"Port","name":"port","type":"number","default":5672},{"displayName":"User","name":"username","type":"string","default":""},{"displayName":"Password","name":"password","type":"string","typeOptions":{"password":true},"default":""},{"displayName":"Transport Type","name":"transportType","type":"string","default":"","description":"Optional Transport Type to use"}]},
|
|
13
|
+
{"name":"amqp","displayName":"AMQP","documentationUrl":"amqp","properties":[{"displayName":"Hostname","name":"hostname","type":"string","default":""},{"displayName":"Port","name":"port","type":"number","default":5672},{"displayName":"User","name":"username","type":"string","default":""},{"displayName":"Password","name":"password","type":"string","typeOptions":{"password":true},"default":""},{"displayName":"Transport Type","name":"transportType","type":"string","default":"","description":"Optional Transport Type to use. Either tcp or tls."}]},
|
|
14
14
|
{"name":"apiTemplateIoApi","displayName":"APITemplate.io API","documentationUrl":"apiTemplateIo","properties":[{"displayName":"API Key","name":"apiKey","type":"string","typeOptions":{"password":true},"default":""}],"authenticate":{"type":"generic","properties":{"headers":{"X-API-KEY":"={{$credentials.apiKey}}"}}},"test":{"request":{"baseURL":"https://api.apitemplate.io/v1","url":"/list-templates"}}},
|
|
15
15
|
{"name":"asanaApi","displayName":"Asana API","documentationUrl":"asana","properties":[{"displayName":"Access Token","name":"accessToken","type":"string","typeOptions":{"password":true},"default":""}],"authenticate":{"type":"generic","properties":{"headers":{"Authorization":"=Bearer {{$credentials.accessToken}}"}}}},
|
|
16
16
|
{"name":"asanaOAuth2Api","extends":["oAuth2Api"],"displayName":"Asana OAuth2 API","documentationUrl":"asana","properties":[{"displayName":"Grant Type","name":"grantType","type":"hidden","default":"authorizationCode"},{"displayName":"Authorization URL","name":"authUrl","type":"hidden","default":"https://app.asana.com/-/oauth_authorize","required":true},{"displayName":"Access Token URL","name":"accessTokenUrl","type":"hidden","default":"https://app.asana.com/-/oauth_token","required":true},{"displayName":"Scope","name":"scope","type":"hidden","default":""},{"displayName":"Auth URI Query Parameters","name":"authQueryParameters","type":"hidden","default":""},{"displayName":"Authentication","name":"authentication","type":"hidden","default":"body"}]},
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
{"name":"driftOAuth2Api","extends":["oAuth2Api"],"displayName":"Drift OAuth2 API","documentationUrl":"drift","properties":[{"displayName":"Grant Type","name":"grantType","type":"hidden","default":"authorizationCode"},{"displayName":"Authorization URL","name":"authUrl","type":"hidden","default":"https://dev.drift.com/authorize","required":true},{"displayName":"Access Token URL","name":"accessTokenUrl","type":"hidden","default":"https://driftapi.com/oauth2/token","required":true},{"displayName":"Auth URI Query Parameters","name":"authQueryParameters","type":"hidden","default":""},{"displayName":"Scope","name":"scope","type":"hidden","default":""},{"displayName":"Authentication","name":"authentication","type":"hidden","default":"body"}]},
|
|
64
64
|
{"name":"dropboxApi","displayName":"Dropbox API","documentationUrl":"dropbox","properties":[{"displayName":"Access Token","name":"accessToken","type":"string","typeOptions":{"password":true},"default":""},{"displayName":"APP Access Type","name":"accessType","type":"options","options":[{"name":"App Folder","value":"folder"},{"name":"Full Dropbox","value":"full"}],"default":"full"}],"authenticate":{"type":"generic","properties":{"headers":{"Authorization":"=Bearer {{$credentials.accessToken}}"}}},"test":{"request":{"baseURL":"https://api.dropboxapi.com/2","url":"/users/get_current_account","method":"POST"}}},
|
|
65
65
|
{"name":"dropboxOAuth2Api","extends":["oAuth2Api"],"displayName":"Dropbox OAuth2 API","documentationUrl":"dropbox","properties":[{"displayName":"Grant Type","name":"grantType","type":"hidden","default":"authorizationCode"},{"displayName":"Authorization URL","name":"authUrl","type":"hidden","default":"https://www.dropbox.com/oauth2/authorize","required":true},{"displayName":"Access Token URL","name":"accessTokenUrl","type":"hidden","default":"https://api.dropboxapi.com/oauth2/token","required":true},{"displayName":"Scope","name":"scope","type":"hidden","default":"files.content.write files.content.read sharing.read account_info.read"},{"displayName":"Auth URI Query Parameters","name":"authQueryParameters","type":"hidden","default":"token_access_type=offline&force_reapprove=true"},{"displayName":"Authentication","name":"authentication","type":"hidden","default":"header"},{"displayName":"APP Access Type","name":"accessType","type":"options","options":[{"name":"App Folder","value":"folder"},{"name":"Full Dropbox","value":"full"}],"default":"full"}]},
|
|
66
|
-
{"name":"dropcontactApi","displayName":"Dropcontact API","documentationUrl":"dropcontact","properties":[{"displayName":"API Key","name":"apiKey","type":"string","default":""}],"authenticate":{"type":"generic","properties":{"headers":{"user-agent":"n8n","X-Access-Token":"={{$credentials.apiKey}}"}}},"test":{"request":{"baseURL":"https://api.dropcontact.io","url":"/batch","method":"POST","body":{"data":[{"email":""}]}}}},
|
|
66
|
+
{"name":"dropcontactApi","displayName":"Dropcontact API","documentationUrl":"dropcontact","properties":[{"displayName":"API Key","name":"apiKey","type":"string","typeOptions":{"password":true},"default":""}],"authenticate":{"type":"generic","properties":{"headers":{"user-agent":"n8n","X-Access-Token":"={{$credentials.apiKey}}"}}},"test":{"request":{"baseURL":"https://api.dropcontact.io","url":"/batch","method":"POST","body":{"data":[{"email":""}]}}}},
|
|
67
67
|
{"name":"egoiApi","displayName":"E-Goi API","documentationUrl":"egoi","properties":[{"displayName":"API Key","name":"apiKey","type":"string","typeOptions":{"password":true},"default":""}]},
|
|
68
68
|
{"name":"elasticsearchApi","displayName":"Elasticsearch API","documentationUrl":"elasticsearch","properties":[{"displayName":"Username","name":"username","type":"string","default":""},{"displayName":"Password","name":"password","type":"string","typeOptions":{"password":true},"default":""},{"displayName":"Base URL","name":"baseUrl","type":"string","default":"","placeholder":"https://mydeployment.es.us-central1.gcp.cloud.es.io:9243","description":"Referred to as Elasticsearch 'endpoint' in the Elastic deployment dashboard"},{"displayName":"Ignore SSL Issues","name":"ignoreSSLIssues","type":"boolean","default":false}],"authenticate":{"type":"generic","properties":{"auth":{"username":"={{$credentials.username}}","password":"={{$credentials.password}}"},"skipSslCertificateValidation":"={{$credentials.ignoreSSLIssues}}"}},"test":{"request":{"baseURL":"={{$credentials.baseUrl}}","url":"/_xpack?human=false"}}},
|
|
69
69
|
{"name":"elasticSecurityApi","displayName":"Elastic Security API","documentationUrl":"elasticSecurity","properties":[{"displayName":"Username","name":"username","type":"string","default":"","required":true},{"displayName":"Password","name":"password","type":"string","typeOptions":{"password":true},"default":"","required":true},{"displayName":"Base URL","name":"baseUrl","type":"string","default":"","placeholder":"e.g. https://mydeployment.kb.us-central1.gcp.cloud.es.io:9243","description":"Referred to as Kibana 'endpoint' in the Elastic deployment dashboard","required":true}]},
|
|
@@ -125,7 +125,7 @@
|
|
|
125
125
|
{"name":"harvestApi","displayName":"Harvest API","documentationUrl":"harvest","properties":[{"displayName":"Access Token","name":"accessToken","type":"string","typeOptions":{"password":true},"default":"","description":"Visit your account details page, and grab the Access Token. See <a href=\"https://help.getharvest.com/api-v2/authentication-api/authentication/authentication/\">Harvest Personal Access Tokens</a>."}]},
|
|
126
126
|
{"name":"harvestOAuth2Api","extends":["oAuth2Api"],"displayName":"Harvest OAuth2 API","documentationUrl":"harvest","properties":[{"displayName":"Grant Type","name":"grantType","type":"hidden","default":"authorizationCode"},{"displayName":"Authorization URL","name":"authUrl","type":"hidden","default":"https://id.getharvest.com/oauth2/authorize","required":true},{"displayName":"Access Token URL","name":"accessTokenUrl","type":"hidden","default":"https://id.getharvest.com/api/v2/oauth2/token","required":true},{"displayName":"Scope","name":"scope","type":"hidden","default":"all"},{"displayName":"Auth URI Query Parameters","name":"authQueryParameters","type":"hidden","default":""},{"displayName":"Authentication","name":"authentication","type":"hidden","default":"body"}]},
|
|
127
127
|
{"name":"helpScoutOAuth2Api","extends":["oAuth2Api"],"displayName":"HelpScout OAuth2 API","documentationUrl":"helpScout","properties":[{"displayName":"Grant Type","name":"grantType","type":"hidden","default":"authorizationCode"},{"displayName":"Authorization URL","name":"authUrl","type":"hidden","default":"https://secure.helpscout.net/authentication/authorizeClientApplication","required":true},{"displayName":"Access Token URL","name":"accessTokenUrl","type":"hidden","default":"https://api.helpscout.net/v2/oauth2/token","required":true},{"displayName":"Scope","name":"scope","type":"hidden","default":""},{"displayName":"Auth URI Query Parameters","name":"authQueryParameters","type":"hidden","default":""},{"displayName":"Authentication","name":"authentication","type":"hidden","default":"body"}]},
|
|
128
|
-
{"name":"highLevelApi","displayName":"HighLevel API","documentationUrl":"highLevel","properties":[{"displayName":"API Key","name":"apiKey","type":"string","default":""}],"authenticate":{"type":"generic","properties":{"headers":{"Authorization":"=Bearer {{$credentials.apiKey}}"}}},"test":{"request":{"baseURL":"https://rest.gohighlevel.com/v1","url":"/custom-values/"}}},
|
|
128
|
+
{"name":"highLevelApi","displayName":"HighLevel API","documentationUrl":"highLevel","properties":[{"displayName":"API Key","name":"apiKey","type":"string","typeOptions":{"password":true},"default":""}],"authenticate":{"type":"generic","properties":{"headers":{"Authorization":"=Bearer {{$credentials.apiKey}}"}}},"test":{"request":{"baseURL":"https://rest.gohighlevel.com/v1","url":"/custom-values/"}}},
|
|
129
129
|
{"name":"homeAssistantApi","displayName":"Home Assistant API","documentationUrl":"homeAssistant","properties":[{"displayName":"Host","name":"host","type":"string","default":""},{"displayName":"Port","name":"port","type":"number","default":8123},{"displayName":"SSL","name":"ssl","type":"boolean","default":false},{"displayName":"Access Token","name":"accessToken","type":"string","typeOptions":{"password":true},"default":""}]},
|
|
130
130
|
{"name":"httpBasicAuth","displayName":"Basic Auth","documentationUrl":"httpRequest","genericAuth":true,"icon":"node:n8n-nodes-base.httpRequest","properties":[{"displayName":"User","name":"user","type":"string","default":""},{"displayName":"Password","name":"password","type":"string","typeOptions":{"password":true},"default":""}]},
|
|
131
131
|
{"name":"httpDigestAuth","displayName":"Digest Auth","documentationUrl":"httpRequest","genericAuth":true,"icon":"node:n8n-nodes-base.httpRequest","properties":[{"displayName":"User","name":"user","type":"string","default":""},{"displayName":"Password","name":"password","type":"string","typeOptions":{"password":true},"default":""}]},
|
|
@@ -152,7 +152,7 @@
|
|
|
152
152
|
{"name":"keapOAuth2Api","extends":["oAuth2Api"],"displayName":"Keap OAuth2 API","documentationUrl":"keap","properties":[{"displayName":"Grant Type","name":"grantType","type":"hidden","default":"authorizationCode"},{"displayName":"Authorization URL","name":"authUrl","type":"hidden","default":"https://signin.infusionsoft.com/app/oauth/authorize"},{"displayName":"Access Token URL","name":"accessTokenUrl","type":"hidden","default":"https://api.infusionsoft.com/token"},{"displayName":"Scope","name":"scope","type":"hidden","default":"full"},{"displayName":"Auth URI Query Parameters","name":"authQueryParameters","type":"hidden","default":""},{"displayName":"Authentication","name":"authentication","type":"hidden","default":"body"}]},
|
|
153
153
|
{"name":"kibanaApi","displayName":"Kibana API","documentationUrl":"kibana","properties":[{"displayName":"URL","name":"url","type":"string","required":true,"default":"","placeholder":"http://localhost:5601"},{"displayName":"Username","name":"username","type":"string","required":true,"default":""},{"displayName":"Password","name":"password","type":"string","typeOptions":{"password":true},"required":true,"default":""}],"authenticate":{"type":"generic","properties":{"headers":{"kbn-xsrf":true},"auth":{"username":"={{$credentials.username}}","password":"={{$credentials.password}}"}}},"test":{"request":{"baseURL":"={{$credentials.url}}","url":"/api/features"}},"iconUrl":"icons/n8n-nodes-base/dist/credentials/icons/Kibana.svg"},
|
|
154
154
|
{"name":"kitemakerApi","displayName":"Kitemaker API","documentationUrl":"kitemaker","properties":[{"displayName":"Personal Access Token","name":"personalAccessToken","type":"string","typeOptions":{"password":true},"default":""}]},
|
|
155
|
-
{"name":"koBoToolboxApi","displayName":"KoBoToolbox API Token","documentationUrl":"koBoToolbox","properties":[{"displayName":"API Root URL","name":"URL","type":"string","default":"https://kf.kobotoolbox.org/"},{"displayName":"API Token","name":"token","type":"string","default":"","hint":"You can get your API token at https://[api-root]/token/?format=json (for a logged in user)"}],"authenticate":{"type":"generic","properties":{"headers":{"Authorization":"=Token {{$credentials.token}}"}}},"test":{"request":{"baseURL":"={{$credentials.URL}}","url":"/api/v2/assets/","method":"GET"}}},
|
|
155
|
+
{"name":"koBoToolboxApi","displayName":"KoBoToolbox API Token","documentationUrl":"koBoToolbox","properties":[{"displayName":"API Root URL","name":"URL","type":"string","default":"https://kf.kobotoolbox.org/"},{"displayName":"API Token","name":"token","type":"string","typeOptions":{"password":true},"default":"","hint":"You can get your API token at https://[api-root]/token/?format=json (for a logged in user)"}],"authenticate":{"type":"generic","properties":{"headers":{"Authorization":"=Token {{$credentials.token}}"}}},"test":{"request":{"baseURL":"={{$credentials.URL}}","url":"/api/v2/assets/","method":"GET"}}},
|
|
156
156
|
{"name":"ldap","displayName":"LDAP","documentationUrl":"ldap","properties":[{"displayName":"LDAP Server Address","name":"hostname","type":"string","default":"","required":true,"description":"IP or domain of the LDAP server"},{"displayName":"LDAP Server Port","name":"port","type":"string","default":"389","description":"Port used to connect to the LDAP server"},{"displayName":"Binding DN","name":"bindDN","type":"string","default":"","description":"Distinguished Name of the user to connect as","required":true},{"displayName":"Binding Password","name":"bindPassword","type":"string","typeOptions":{"password":true},"default":"","description":"Password of the user provided in the Binding DN field above","required":true},{"displayName":"Connection Security","name":"connectionSecurity","type":"options","default":"none","options":[{"name":"None","value":"none"},{"name":"TLS","value":"tls"},{"name":"STARTTLS","value":"startTls"}]},{"displayName":"Ignore SSL/TLS Issues","name":"allowUnauthorizedCerts","type":"boolean","description":"Whether to connect even if SSL/TLS certificate validation is not possible","default":false,"displayOptions":{"hide":{"connectionSecurity":["none"]}}},{"displayName":"CA Certificate","name":"caCertificate","typeOptions":{"alwaysOpenEditWindow":true},"displayOptions":{"hide":{"connectionSecurity":["none"]}},"type":"string","default":""}]},
|
|
157
157
|
{"name":"lemlistApi","displayName":"Lemlist API","documentationUrl":"lemlist","properties":[{"displayName":"API Key","name":"apiKey","type":"string","typeOptions":{"password":true},"default":""}],"test":{"request":{"baseURL":"https://api.lemlist.com/api","url":"/campaigns"}},"authenticate":{}},
|
|
158
158
|
{"name":"linearApi","displayName":"Linear API","documentationUrl":"linear","properties":[{"displayName":"API Key","name":"apiKey","type":"string","typeOptions":{"password":true},"default":""}],"authenticate":{"type":"generic","properties":{"headers":{"Authorization":"={{$credentials.apiKey}}"}}}},
|
|
@@ -202,7 +202,7 @@
|
|
|
202
202
|
{"name":"mySql","displayName":"MySQL","documentationUrl":"mySql","properties":[{"displayName":"Host","name":"host","type":"string","default":"localhost"},{"displayName":"Database","name":"database","type":"string","default":"mysql"},{"displayName":"User","name":"user","type":"string","default":"mysql"},{"displayName":"Password","name":"password","type":"string","typeOptions":{"password":true},"default":""},{"displayName":"Port","name":"port","type":"number","default":3306},{"displayName":"Connect Timeout","name":"connectTimeout","type":"number","default":10000,"description":"The milliseconds before a timeout occurs during the initial connection to the MySQL server"},{"displayName":"SSL","name":"ssl","type":"boolean","default":false},{"displayName":"CA Certificate","name":"caCertificate","typeOptions":{"password":true},"displayOptions":{"show":{"ssl":[true]}},"type":"string","default":""},{"displayName":"Client Private Key","name":"clientPrivateKey","typeOptions":{"password":true},"displayOptions":{"show":{"ssl":[true]}},"type":"string","default":""},{"displayName":"Client Certificate","name":"clientCertificate","typeOptions":{"password":true},"displayOptions":{"show":{"ssl":[true]}},"type":"string","default":""},{"displayName":"SSH Tunnel","name":"sshTunnel","type":"boolean","default":false},{"displayName":"SSH Authenticate with","name":"sshAuthenticateWith","type":"options","default":"password","options":[{"name":"Password","value":"password"},{"name":"Private Key","value":"privateKey"}],"displayOptions":{"show":{"sshTunnel":[true]}}},{"displayName":"SSH Host","name":"sshHost","type":"string","default":"localhost","displayOptions":{"show":{"sshTunnel":[true]}}},{"displayName":"SSH Port","name":"sshPort","type":"number","default":22,"displayOptions":{"show":{"sshTunnel":[true]}}},{"displayName":"SSH MySQL Port","name":"sshMysqlPort","type":"number","default":3306,"displayOptions":{"show":{"sshTunnel":[true]}}},{"displayName":"SSH User","name":"sshUser","type":"string","default":"root","displayOptions":{"show":{"sshTunnel":[true]}}},{"displayName":"SSH Password","name":"sshPassword","type":"string","typeOptions":{"password":true},"default":"","displayOptions":{"show":{"sshTunnel":[true],"sshAuthenticateWith":["password"]}}},{"displayName":"Private Key","name":"privateKey","type":"string","typeOptions":{"rows":4,"password":true},"default":"","displayOptions":{"show":{"sshTunnel":[true],"sshAuthenticateWith":["privateKey"]}}},{"displayName":"Passphrase","name":"passphrase","type":"string","default":"","description":"Passphase used to create the key, if no passphase was used leave empty","displayOptions":{"show":{"sshTunnel":[true],"sshAuthenticateWith":["privateKey"]}}}]},
|
|
203
203
|
{"name":"n8nApi","displayName":"n8n API","documentationUrl":"https://docs.n8n.io/api/authentication/","properties":[{"displayName":"API Key","name":"apiKey","type":"string","typeOptions":{"password":true},"default":"","description":"The API key for the n8n instance"},{"displayName":"Base URL","name":"baseUrl","type":"string","default":"","placeholder":"https://<name>.app.n8n.cloud/api/v1","description":"The API URL of the n8n instance"}],"authenticate":{"type":"generic","properties":{"headers":{"X-N8N-API-KEY":"={{ $credentials.apiKey }}"}}},"test":{"request":{"baseURL":"={{ $credentials.baseUrl }}","url":"/workflows?limit=5"}}},
|
|
204
204
|
{"name":"nasaApi","displayName":"NASA API","documentationUrl":"nasa","properties":[{"displayName":"API Key","name":"api_key","type":"string","typeOptions":{"password":true},"default":""}]},
|
|
205
|
-
{"name":"netlifyApi","displayName":"Netlify API","documentationUrl":"netlify","properties":[{"displayName":"Access Token","name":"accessToken","type":"string","default":""}]},
|
|
205
|
+
{"name":"netlifyApi","displayName":"Netlify API","documentationUrl":"netlify","properties":[{"displayName":"Access Token","name":"accessToken","type":"string","typeOptions":{"password":true},"default":""}]},
|
|
206
206
|
{"name":"nextCloudApi","displayName":"NextCloud API","documentationUrl":"nextCloud","properties":[{"displayName":"Web DAV URL","name":"webDavUrl","type":"string","placeholder":"https://nextcloud.example.com/remote.php/webdav","default":""},{"displayName":"User","name":"user","type":"string","default":""},{"displayName":"Password","name":"password","type":"string","typeOptions":{"password":true},"default":""}],"test":{"request":{"baseURL":"={{$credentials.webDavUrl.replace('/remote.php/webdav', '')}}","url":"/ocs/v1.php/cloud/capabilities","headers":{"OCS-APIRequest":true}}},"authenticate":{}},
|
|
207
207
|
{"name":"nextCloudOAuth2Api","extends":["oAuth2Api"],"displayName":"NextCloud OAuth2 API","documentationUrl":"nextCloud","properties":[{"displayName":"Grant Type","name":"grantType","type":"hidden","default":"authorizationCode"},{"displayName":"Web DAV URL","name":"webDavUrl","type":"string","placeholder":"https://nextcloud.example.com/remote.php/webdav","default":""},{"displayName":"Authorization URL","name":"authUrl","type":"string","default":"https://nextcloud.example.com/apps/oauth2/authorize","required":true},{"displayName":"Access Token URL","name":"accessTokenUrl","type":"string","default":"https://nextcloud.example.com/apps/oauth2/api/v1/token","required":true},{"displayName":"Scope","name":"scope","type":"hidden","default":""},{"displayName":"Auth URI Query Parameters","name":"authQueryParameters","type":"hidden","default":""},{"displayName":"Authentication","name":"authentication","type":"hidden","default":"body"}]},
|
|
208
208
|
{"name":"nocoDb","displayName":"NocoDB","documentationUrl":"nocoDb","properties":[{"displayName":"User Token","name":"apiToken","type":"string","typeOptions":{"password":true},"default":""},{"displayName":"Host","name":"host","type":"string","default":"","placeholder":"http(s)://localhost:8080"}],"authenticate":{"type":"generic","properties":{"headers":{"xc-auth":"={{$credentials.apiToken}}"}}}},
|
|
@@ -215,7 +215,7 @@
|
|
|
215
215
|
{"name":"odooApi","displayName":"Odoo API","documentationUrl":"odoo","properties":[{"displayName":"Site URL","name":"url","type":"string","default":"","placeholder":"https://my-organization.odoo.com","required":true},{"displayName":"Username","name":"username","type":"string","default":"","placeholder":"user@email.com","required":true},{"displayName":"Password or API Key","name":"password","type":"string","default":"","typeOptions":{"password":true},"required":true},{"displayName":"Database Name","name":"db","type":"string","default":""}]},
|
|
216
216
|
{"name":"oktaApi","displayName":"Okta API","documentationUrl":"okta","properties":[{"displayName":"URL","name":"url","type":"string","required":true,"default":"","placeholder":"https://dev-123456.okta.com"},{"displayName":"SSWS Access Token","name":"accessToken","type":"string","typeOptions":{"password":true},"required":true,"default":""}],"authenticate":{"type":"generic","properties":{"headers":{"Authorization":"=SSWS {{$credentials.accessToken}}"}}},"test":{"request":{"baseURL":"={{$credentials.url}}","url":"/api/v1/api-tokens"}},"iconUrl":"icons/n8n-nodes-base/dist/credentials/icons/Okta.svg"},
|
|
217
217
|
{"name":"oneSimpleApi","displayName":"One Simple API","documentationUrl":"oneSimpleApi","properties":[{"displayName":"API Token","name":"apiToken","type":"string","typeOptions":{"password":true},"default":""}]},
|
|
218
|
-
{"name":"onfleetApi","displayName":"Onfleet API","documentationUrl":"onfleet","properties":[{"displayName":"API Key","name":"apiKey","type":"string","default":""}]},
|
|
218
|
+
{"name":"onfleetApi","displayName":"Onfleet API","documentationUrl":"onfleet","properties":[{"displayName":"API Key","name":"apiKey","type":"string","typeOptions":{"password":true},"default":""}]},
|
|
219
219
|
{"name":"openAiApi","displayName":"OpenAi","documentationUrl":"openAi","properties":[{"displayName":"API Key","name":"apiKey","type":"string","typeOptions":{"password":true},"required":true,"default":""},{"displayName":"Organization ID","name":"organizationId","type":"string","default":"","description":"For users who belong to multiple organizations, you can set which organization is used for an API request. Usage from these API requests will count against the specified organization's subscription quota."}],"authenticate":{"type":"generic","properties":{"headers":{"Authorization":"=Bearer {{$credentials.apiKey}}","OpenAI-Organization":"={{$credentials.organizationId}}"}}},"test":{"request":{"baseURL":"https://api.openai.com","url":"/v1/models"}}},
|
|
220
220
|
{"name":"openCtiApi","displayName":"OpenCTI API","documentationUrl":"opencti","properties":[{"displayName":"API Key","name":"apiKey","type":"string","typeOptions":{"password":true},"default":"","required":true}],"authenticate":{"type":"generic","properties":{"headers":{"Authorization":"=Bearer {{$credentials.apiKey}}"}}},"iconUrl":"icons/n8n-nodes-base/dist/credentials/icons/OpenCTI.png"},
|
|
221
221
|
{"name":"openWeatherMapApi","displayName":"OpenWeatherMap API","documentationUrl":"openWeatherMap","properties":[{"displayName":"Access Token","name":"accessToken","type":"string","typeOptions":{"password":true},"default":""}]},
|
|
@@ -320,7 +320,7 @@
|
|
|
320
320
|
{"name":"veroApi","displayName":"Vero API","documentationUrl":"vero","properties":[{"displayName":"Auth Token","name":"authToken","type":"string","typeOptions":{"password":true},"default":""}]},
|
|
321
321
|
{"name":"virusTotalApi","displayName":"Virus Total API","documentationUrl":"virustotal","properties":[{"displayName":"API Token","name":"accessToken","type":"string","typeOptions":{"password":true},"required":true,"default":""}],"authenticate":{"type":"generic","properties":{"headers":{"x-apikey":"={{$credentials.accessToken}}"}}},"test":{"request":{"baseURL":"https://www.virustotal.com/api/v3","url":"/popular_threat_categories"}},"iconUrl":"icons/n8n-nodes-base/dist/credentials/icons/VirusTotal.svg"},
|
|
322
322
|
{"name":"vonageApi","displayName":"Vonage API","documentationUrl":"vonage","properties":[{"displayName":"API Key","name":"apiKey","type":"string","typeOptions":{"password":true},"default":""},{"displayName":"API Secret","name":"apiSecret","type":"string","typeOptions":{"password":true},"default":""}]},
|
|
323
|
-
{"name":"venafiTlsProtectCloudApi","displayName":"Venafi TLS Protect Cloud","documentationUrl":"venafitlsprotectcloud","properties":[{"displayName":"API Key","name":"apiKey","type":"string","default":""}],"authenticate":{"type":"generic","properties":{"headers":{"tppl-api-key":"={{$credentials.apiKey}}"}}},"test":{"request":{"baseURL":"https://api.venafi.cloud","url":"/v1/preferences"}}},
|
|
323
|
+
{"name":"venafiTlsProtectCloudApi","displayName":"Venafi TLS Protect Cloud","documentationUrl":"venafitlsprotectcloud","properties":[{"displayName":"API Key","name":"apiKey","type":"string","typeOptions":{"password":true},"default":""}],"authenticate":{"type":"generic","properties":{"headers":{"tppl-api-key":"={{$credentials.apiKey}}"}}},"test":{"request":{"baseURL":"https://api.venafi.cloud","url":"/v1/preferences"}}},
|
|
324
324
|
{"name":"venafiTlsProtectDatacenterApi","displayName":"Venafi TLS Protect Datacenter API","documentationUrl":"venafitlsprotectdatacenter","properties":[{"displayName":"Domain","name":"domain","type":"string","default":"","placeholder":"https://example.com"},{"displayName":"Client ID","name":"clientId","type":"string","default":""},{"displayName":"Username","name":"username","type":"string","default":""},{"displayName":"Password","name":"password","type":"string","typeOptions":{"password":true},"default":""},{"displayName":"Allow Self-Signed Certificates","name":"allowUnauthorizedCerts","type":"boolean","default":true},{"displayName":"Access Token","name":"token","type":"hidden","typeOptions":{"expirable":true},"default":""},{"displayName":"Scope","name":"scope","type":"hidden","default":"certificate:manage"}],"authenticate":{"type":"generic","properties":{"headers":{"Authorization":"=Bearer {{$credentials.token}}"}}}},
|
|
325
325
|
{"name":"webflowApi","displayName":"Webflow API","documentationUrl":"webflow","properties":[{"displayName":"Access Token","name":"accessToken","type":"string","typeOptions":{"password":true},"default":""}],"authenticate":{"type":"generic","properties":{"headers":{"Authorization":"=Bearer {{$credentials.accessToken}}"}}},"test":{"request":{"baseURL":"https://api.webflow.com","url":"/sites"}}},
|
|
326
326
|
{"name":"webflowOAuth2Api","extends":["oAuth2Api"],"displayName":"Webflow OAuth2 API","documentationUrl":"webflow","properties":[{"displayName":"Grant Type","name":"grantType","type":"hidden","default":"authorizationCode"},{"displayName":"Authorization URL","name":"authUrl","type":"hidden","default":"https://webflow.com/oauth/authorize","required":true},{"displayName":"Access Token URL","name":"accessTokenUrl","type":"hidden","default":"https://api.webflow.com/oauth/access_token","required":true},{"displayName":"Scope","name":"scope","type":"hidden","default":""},{"displayName":"Auth URI Query Parameters","name":"authQueryParameters","type":"hidden","default":"","description":"For some services additional query parameters have to be set which can be defined here","placeholder":""},{"displayName":"Authentication","name":"authentication","type":"hidden","default":"body"}]},
|