n8n-nodes-base 0.226.2 → 0.228.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/build.tsbuildinfo +1 -1
- package/dist/credentials/ERPNextApi.credentials.js +34 -2
- package/dist/credentials/ERPNextApi.credentials.js.map +1 -1
- package/dist/credentials/GotifyApi.credentials.js +13 -0
- package/dist/credentials/GotifyApi.credentials.js.map +1 -1
- package/dist/credentials/Ldap.credentials.d.ts +6 -0
- package/dist/credentials/Ldap.credentials.js +93 -0
- package/dist/credentials/Ldap.credentials.js.map +1 -0
- package/dist/credentials/LoneScaleApi.credentials.d.ts +8 -0
- package/dist/credentials/LoneScaleApi.credentials.js +34 -0
- package/dist/credentials/LoneScaleApi.credentials.js.map +1 -0
- package/dist/credentials/SshPrivateKey.credentials.js +1 -0
- package/dist/credentials/SshPrivateKey.credentials.js.map +1 -1
- package/dist/credentials/StrapiApi.credentials.js +6 -0
- package/dist/credentials/StrapiApi.credentials.js.map +1 -1
- package/dist/known/credentials.json +15 -0
- package/dist/known/nodes.json +16 -0
- package/dist/methods/defined.json +11 -0
- package/dist/methods/referenced.json +11 -0
- package/dist/nodes/DateTime/V2/CurrentDateDescription.js +1 -1
- package/dist/nodes/DateTime/V2/CurrentDateDescription.js.map +1 -1
- package/dist/nodes/ERPNext/GenericFunctions.js +1 -1
- package/dist/nodes/ERPNext/GenericFunctions.js.map +1 -1
- package/dist/nodes/EmailSend/v2/send.operation.js +5 -2
- package/dist/nodes/EmailSend/v2/send.operation.js.map +1 -1
- package/dist/nodes/ExecutionData/ExecutionData.node.d.ts +5 -0
- package/dist/nodes/ExecutionData/ExecutionData.node.js +100 -0
- package/dist/nodes/ExecutionData/ExecutionData.node.js.map +1 -0
- package/dist/nodes/ExecutionData/ExecutionData.node.json +22 -0
- package/dist/nodes/Google/Ads/CampaignDescription.js +2 -2
- package/dist/nodes/Google/Ads/GoogleAds.node.js +1 -1
- package/dist/nodes/Google/Calendar/EventDescription.js +3 -3
- package/dist/nodes/Google/Calendar/EventDescription.js.map +1 -1
- package/dist/nodes/Google/Calendar/GoogleCalendar.node.js +2 -2
- package/dist/nodes/Google/Calendar/GoogleCalendar.node.js.map +1 -1
- package/dist/nodes/Gotify/GenericFunctions.js +1 -0
- package/dist/nodes/Gotify/GenericFunctions.js.map +1 -1
- package/dist/nodes/Ldap/Helpers.d.ts +6 -0
- package/dist/nodes/Ldap/Helpers.js +43 -0
- package/dist/nodes/Ldap/Helpers.js.map +1 -0
- package/dist/nodes/Ldap/Ldap.node.d.ts +25 -0
- package/dist/nodes/Ldap/Ldap.node.js +332 -0
- package/dist/nodes/Ldap/Ldap.node.js.map +1 -0
- package/dist/nodes/Ldap/Ldap.node.json +19 -0
- package/dist/nodes/Ldap/LdapDescription.d.ts +2 -0
- package/dist/nodes/Ldap/LdapDescription.js +414 -0
- package/dist/nodes/Ldap/LdapDescription.js.map +1 -0
- package/dist/nodes/Ldap/ldap.svg +1 -0
- package/dist/nodes/LoneScale/GenericFunctions.d.ts +3 -0
- package/dist/nodes/LoneScale/GenericFunctions.js +37 -0
- package/dist/nodes/LoneScale/GenericFunctions.js.map +1 -0
- package/dist/nodes/LoneScale/LoneScale.node.json +18 -0
- package/dist/nodes/LoneScale/LoneScaleList.node.d.ts +10 -0
- package/dist/nodes/LoneScale/LoneScaleList.node.js +437 -0
- package/dist/nodes/LoneScale/LoneScaleList.node.js.map +1 -0
- package/dist/nodes/LoneScale/LoneScaleTrigger.node.d.ts +18 -0
- package/dist/nodes/LoneScale/LoneScaleTrigger.node.js +106 -0
- package/dist/nodes/LoneScale/LoneScaleTrigger.node.js.map +1 -0
- package/dist/nodes/LoneScale/LoneScaleTrigger.node.json +18 -0
- package/dist/nodes/LoneScale/constants.d.ts +1 -0
- package/dist/nodes/LoneScale/constants.js +5 -0
- package/dist/nodes/LoneScale/constants.js.map +1 -0
- package/dist/nodes/LoneScale/lonescale-logo.svg +8 -0
- package/dist/nodes/Notion/NotionTrigger.node.js +1 -1
- package/dist/nodes/Notion/NotionTrigger.node.js.map +1 -1
- package/dist/nodes/Notion/v1/VersionDescription.js +1 -1
- package/dist/nodes/Notion/v1/VersionDescription.js.map +1 -1
- package/dist/nodes/Notion/v2/VersionDescription.js +1 -1
- package/dist/nodes/Notion/v2/VersionDescription.js.map +1 -1
- package/dist/nodes/OpenAi/ChatDescription.js +2 -0
- package/dist/nodes/OpenAi/ChatDescription.js.map +1 -1
- package/dist/nodes/OpenAi/GenericFunctions.d.ts +2 -0
- package/dist/nodes/OpenAi/GenericFunctions.js +12 -0
- package/dist/nodes/OpenAi/GenericFunctions.js.map +1 -0
- package/dist/nodes/OpenAi/ImageDescription.js +2 -0
- package/dist/nodes/OpenAi/ImageDescription.js.map +1 -1
- package/dist/nodes/OpenAi/OpenAi.node.js +1 -0
- package/dist/nodes/OpenAi/OpenAi.node.js.map +1 -1
- package/dist/nodes/OpenAi/TextDescription.js +4 -0
- package/dist/nodes/OpenAi/TextDescription.js.map +1 -1
- package/dist/nodes/Postgres/v2/actions/database/update.operation.js +7 -0
- package/dist/nodes/Postgres/v2/actions/database/update.operation.js.map +1 -1
- package/dist/nodes/Postgres/v2/actions/database/upsert.operation.js +7 -0
- package/dist/nodes/Postgres/v2/actions/database/upsert.operation.js.map +1 -1
- package/dist/nodes/Postgres/v2/actions/router.js +1 -1
- package/dist/nodes/Postgres/v2/actions/router.js.map +1 -1
- package/dist/nodes/Postgres/v2/helpers/utils.d.ts +1 -0
- package/dist/nodes/Postgres/v2/methods/credentialTest.js +1 -2
- package/dist/nodes/Postgres/v2/methods/credentialTest.js.map +1 -1
- package/dist/nodes/Postgres/v2/methods/listSearch.js +14 -2
- package/dist/nodes/Postgres/v2/methods/listSearch.js.map +1 -1
- package/dist/nodes/Postgres/v2/methods/loadOptions.js +7 -1
- package/dist/nodes/Postgres/v2/methods/loadOptions.js.map +1 -1
- package/dist/nodes/Postgres/v2/transport/index.d.ts +11 -8
- package/dist/nodes/Postgres/v2/transport/index.js +5 -24
- package/dist/nodes/Postgres/v2/transport/index.js.map +1 -1
- package/dist/nodes/RabbitMQ/RabbitMQ.node.js +73 -4
- package/dist/nodes/RabbitMQ/RabbitMQ.node.js.map +1 -1
- package/dist/nodes/RabbitMQ/RabbitMQTrigger.node.js +35 -3
- package/dist/nodes/RabbitMQ/RabbitMQTrigger.node.js.map +1 -1
- package/dist/nodes/RespondToWebhook/RespondToWebhook.node.js +7 -2
- package/dist/nodes/RespondToWebhook/RespondToWebhook.node.js.map +1 -1
- package/dist/nodes/Ssh/Ssh.node.d.ts +6 -1
- package/dist/nodes/Ssh/Ssh.node.js +80 -6
- package/dist/nodes/Ssh/Ssh.node.js.map +1 -1
- package/dist/nodes/Strapi/GenericFunctions.d.ts +1 -0
- package/dist/nodes/Strapi/GenericFunctions.js +12 -7
- package/dist/nodes/Strapi/GenericFunctions.js.map +1 -1
- package/dist/nodes/Strapi/Strapi.node.js +2 -3
- package/dist/nodes/Strapi/Strapi.node.js.map +1 -1
- package/dist/nodes/Strava/StravaTrigger.node.js +1 -1
- package/dist/nodes/Strava/StravaTrigger.node.js.map +1 -1
- package/dist/nodes/Wekan/Wekan.node.js +1 -1
- package/dist/nodes/Wekan/Wekan.node.js.map +1 -1
- package/dist/package.json +7 -1
- package/dist/types/credentials.json +6 -4
- package/dist/types/nodes.json +16 -12
- package/package.json +9 -3
|
@@ -49,6 +49,28 @@ class ERPNextApi {
|
|
|
49
49
|
},
|
|
50
50
|
},
|
|
51
51
|
},
|
|
52
|
+
{
|
|
53
|
+
displayName: 'Domain',
|
|
54
|
+
name: 'domain',
|
|
55
|
+
type: 'options',
|
|
56
|
+
default: 'erpnext.com',
|
|
57
|
+
options: [
|
|
58
|
+
{
|
|
59
|
+
name: 'erpnext.com',
|
|
60
|
+
value: 'erpnext.com',
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
name: 'frappe.cloud',
|
|
64
|
+
value: 'frappe.cloud',
|
|
65
|
+
},
|
|
66
|
+
],
|
|
67
|
+
description: 'Domain for your cloud hosted ERPNext instance.',
|
|
68
|
+
displayOptions: {
|
|
69
|
+
show: {
|
|
70
|
+
environment: ['cloudHosted'],
|
|
71
|
+
},
|
|
72
|
+
},
|
|
73
|
+
},
|
|
52
74
|
{
|
|
53
75
|
displayName: 'Domain',
|
|
54
76
|
name: 'domain',
|
|
@@ -80,10 +102,20 @@ class ERPNextApi {
|
|
|
80
102
|
};
|
|
81
103
|
this.test = {
|
|
82
104
|
request: {
|
|
83
|
-
baseURL: '={{$credentials.environment === "cloudHosted" ? "https://" + $credentials.subdomain + ".
|
|
84
|
-
url: '/api/
|
|
105
|
+
baseURL: '={{$credentials.environment === "cloudHosted" ? "https://" + $credentials.subdomain + "." + $credentials.domain : $credentials.domain}}',
|
|
106
|
+
url: '/api/method/frappe.auth.get_logged_user',
|
|
85
107
|
skipSslCertificateValidation: '={{ $credentials.allowUnauthorizedCerts }}',
|
|
86
108
|
},
|
|
109
|
+
rules: [
|
|
110
|
+
{
|
|
111
|
+
type: 'responseSuccessBody',
|
|
112
|
+
properties: {
|
|
113
|
+
key: 'message',
|
|
114
|
+
value: undefined,
|
|
115
|
+
message: 'Unable to authenticate, Check the credentials and the url',
|
|
116
|
+
},
|
|
117
|
+
},
|
|
118
|
+
],
|
|
87
119
|
};
|
|
88
120
|
}
|
|
89
121
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ERPNextApi.credentials.js","sourceRoot":"","sources":["../../credentials/ERPNextApi.credentials.ts"],"names":[],"mappings":";;;AAOA,MAAa,UAAU;IAAvB;QACC,SAAI,GAAG,YAAY,CAAC;QAEpB,gBAAW,GAAG,aAAa,CAAC;QAE5B,qBAAgB,GAAG,SAAS,CAAC;QAE7B,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,SAAS;gBACtB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAA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,OAAO,EACN,
|
|
1
|
+
{"version":3,"file":"ERPNextApi.credentials.js","sourceRoot":"","sources":["../../credentials/ERPNextApi.credentials.ts"],"names":[],"mappings":";;;AAOA,MAAa,UAAU;IAAvB;QACC,SAAI,GAAG,YAAY,CAAC;QAEpB,gBAAW,GAAG,aAAa,CAAC;QAE5B,qBAAgB,GAAG,SAAS,CAAC;QAE7B,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,SAAS;gBACtB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;gBAC/B,OAAO,EAAE,EAAE;aACX;YACD;gBACC,WAAW,EAAE,YAAY;gBACzB,IAAI,EAAE,WAAW;gBACjB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;aACX;YACD;gBACC,WAAW,EAAE,aAAa;gBAC1B,IAAI,EAAE,aAAa;gBACnB,IAAI,EAAE,SAAS;gBACf,OAAO,EAAE,aAAa;gBACtB,OAAO,EAAE;oBACR;wBACC,IAAI,EAAE,cAAc;wBACpB,KAAK,EAAE,aAAa;qBACpB;oBACD;wBACC,IAAI,EAAE,aAAa;wBACnB,KAAK,EAAE,YAAY;qBACnB;iBACD;aACD;YACD;gBACC,WAAW,EAAE,WAAW;gBACxB,IAAI,EAAE,WAAW;gBACjB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,KAAK;gBAClB,WAAW,EACV,0HAA0H;gBAC3H,cAAc,EAAE;oBACf,IAAI,EAAE;wBACL,WAAW,EAAE,CAAC,aAAa,CAAC;qBAC5B;iBACD;aACD;YACD;gBACC,WAAW,EAAE,QAAQ;gBACrB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,SAAS;gBACf,OAAO,EAAE,aAAa;gBACtB,OAAO,EAAE;oBACR;wBACC,IAAI,EAAE,aAAa;wBACnB,KAAK,EAAE,aAAa;qBACpB;oBACD;wBACC,IAAI,EAAE,cAAc;wBACpB,KAAK,EAAE,cAAc;qBACrB;iBACD;gBACD,WAAW,EAAE,gDAAgD;gBAC7D,cAAc,EAAE;oBACf,IAAI,EAAE;wBACL,WAAW,EAAE,CAAC,aAAa,CAAC;qBAC5B;iBACD;aACD;YACD;gBACC,WAAW,EAAE,QAAQ;gBACrB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,0BAA0B;gBACvC,WAAW,EAAE,6DAA6D;gBAC1E,cAAc,EAAE;oBACf,IAAI,EAAE;wBACL,WAAW,EAAE,CAAC,YAAY,CAAC;qBAC3B;iBACD;aACD;YACD;gBACC,WAAW,EAAE,mBAAmB;gBAChC,IAAI,EAAE,wBAAwB;gBAC9B,IAAI,EAAE,SAAS;gBACf,WAAW,EAAE,uEAAuE;gBACpF,OAAO,EAAE,KAAK;aACd;SACD,CAAC;QAEF,iBAAY,GAAyB;YACpC,IAAI,EAAE,SAAS;YACf,UAAU,EAAE;gBACX,OAAO,EAAE;oBACR,aAAa,EAAE,2DAA2D;iBAC1E;aACD;SACD,CAAC;QAEF,SAAI,GAA2B;YAC9B,OAAO,EAAE;gBACR,OAAO,EACN,yIAAyI;gBAC1I,GAAG,EAAE,yCAAyC;gBAC9C,4BAA4B,EAAE,4CAA4C;aAC1E;YACD,KAAK,EAAE;gBACN;oBACC,IAAI,EAAE,qBAAqB;oBAC3B,UAAU,EAAE;wBACX,GAAG,EAAE,SAAS;wBACd,KAAK,EAAE,SAAS;wBAChB,OAAO,EAAE,2DAA2D;qBACpE;iBACD;aACD;SACD,CAAC;IACH,CAAC;CAAA;AA1HD,gCA0HC"}
|
|
@@ -11,6 +11,9 @@ class GotifyApi {
|
|
|
11
11
|
displayName: 'App API Token',
|
|
12
12
|
name: 'appApiToken',
|
|
13
13
|
type: 'string',
|
|
14
|
+
typeOptions: {
|
|
15
|
+
password: true,
|
|
16
|
+
},
|
|
14
17
|
default: '',
|
|
15
18
|
description: '(Optional) Needed for message creation',
|
|
16
19
|
},
|
|
@@ -18,6 +21,9 @@ class GotifyApi {
|
|
|
18
21
|
displayName: 'Client API Token',
|
|
19
22
|
name: 'clientApiToken',
|
|
20
23
|
type: 'string',
|
|
24
|
+
typeOptions: {
|
|
25
|
+
password: true,
|
|
26
|
+
},
|
|
21
27
|
default: '',
|
|
22
28
|
description: '(Optional) Needed for everything (delete, getAll) but message creation',
|
|
23
29
|
},
|
|
@@ -28,6 +34,13 @@ class GotifyApi {
|
|
|
28
34
|
default: '',
|
|
29
35
|
description: 'The URL of the Gotify host',
|
|
30
36
|
},
|
|
37
|
+
{
|
|
38
|
+
displayName: 'Ignore SSL Issues',
|
|
39
|
+
name: 'ignoreSSLIssues',
|
|
40
|
+
type: 'boolean',
|
|
41
|
+
default: false,
|
|
42
|
+
description: 'Whether to connect even if SSL certificate validation is not possible',
|
|
43
|
+
},
|
|
31
44
|
];
|
|
32
45
|
}
|
|
33
46
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GotifyApi.credentials.js","sourceRoot":"","sources":["../../credentials/GotifyApi.credentials.ts"],"names":[],"mappings":";;;AAEA,MAAa,SAAS;IAAtB;QACC,SAAI,GAAG,WAAW,CAAC;QAEnB,gBAAW,GAAG,YAAY,CAAC;QAE3B,qBAAgB,GAAG,QAAQ,CAAC;QAE5B,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,eAAe;gBAC5B,IAAI,EAAE,aAAa;gBACnB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,wCAAwC;aACrD;YACD;gBACC,WAAW,EAAE,kBAAkB;gBAC/B,IAAI,EAAE,gBAAgB;gBACtB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,wEAAwE;aACrF;YACD;gBACC,WAAW,EAAE,KAAK;gBAClB,IAAI,EAAE,KAAK;gBACX,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,4BAA4B;aACzC;SACD,CAAC;IACH,CAAC;CAAA;
|
|
1
|
+
{"version":3,"file":"GotifyApi.credentials.js","sourceRoot":"","sources":["../../credentials/GotifyApi.credentials.ts"],"names":[],"mappings":";;;AAEA,MAAa,SAAS;IAAtB;QACC,SAAI,GAAG,WAAW,CAAC;QAEnB,gBAAW,GAAG,YAAY,CAAC;QAE3B,qBAAgB,GAAG,QAAQ,CAAC;QAE5B,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,eAAe;gBAC5B,IAAI,EAAE,aAAa;gBACnB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE;oBACZ,QAAQ,EAAE,IAAI;iBACd;gBACD,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,wCAAwC;aACrD;YACD;gBACC,WAAW,EAAE,kBAAkB;gBAC/B,IAAI,EAAE,gBAAgB;gBACtB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE;oBACZ,QAAQ,EAAE,IAAI;iBACd;gBACD,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,wEAAwE;aACrF;YACD;gBACC,WAAW,EAAE,KAAK;gBAClB,IAAI,EAAE,KAAK;gBACX,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,4BAA4B;aACzC;YACD;gBACC,WAAW,EAAE,mBAAmB;gBAChC,IAAI,EAAE,iBAAiB;gBACvB,IAAI,EAAE,SAAS;gBACf,OAAO,EAAE,KAAK;gBACd,WAAW,EAAE,uEAAuE;aACpF;SACD,CAAC;IACH,CAAC;CAAA;AA3CD,8BA2CC"}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Ldap = void 0;
|
|
4
|
+
class Ldap {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.name = 'ldap';
|
|
7
|
+
this.displayName = 'LDAP';
|
|
8
|
+
this.properties = [
|
|
9
|
+
{
|
|
10
|
+
displayName: 'LDAP Server Address',
|
|
11
|
+
name: 'hostname',
|
|
12
|
+
type: 'string',
|
|
13
|
+
default: '',
|
|
14
|
+
required: true,
|
|
15
|
+
description: 'IP or domain of the LDAP server',
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
displayName: 'LDAP Server Port',
|
|
19
|
+
name: 'port',
|
|
20
|
+
type: 'string',
|
|
21
|
+
default: '389',
|
|
22
|
+
description: 'Port used to connect to the LDAP server',
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
displayName: 'Binding DN',
|
|
26
|
+
name: 'bindDN',
|
|
27
|
+
type: 'string',
|
|
28
|
+
default: '',
|
|
29
|
+
description: 'Distinguished Name of the user to connect as',
|
|
30
|
+
required: true,
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
displayName: 'Binding Password',
|
|
34
|
+
name: 'bindPassword',
|
|
35
|
+
type: 'string',
|
|
36
|
+
typeOptions: {
|
|
37
|
+
password: true,
|
|
38
|
+
},
|
|
39
|
+
default: '',
|
|
40
|
+
description: 'Password of the user provided in the Binding DN field above',
|
|
41
|
+
required: true,
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
displayName: 'Connection Security',
|
|
45
|
+
name: 'connectionSecurity',
|
|
46
|
+
type: 'options',
|
|
47
|
+
default: 'none',
|
|
48
|
+
options: [
|
|
49
|
+
{
|
|
50
|
+
name: 'None',
|
|
51
|
+
value: 'none',
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
name: 'TLS',
|
|
55
|
+
value: 'tls',
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
name: 'STARTTLS',
|
|
59
|
+
value: 'startTls',
|
|
60
|
+
},
|
|
61
|
+
],
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
displayName: 'Ignore SSL/TLS Issues',
|
|
65
|
+
name: 'allowUnauthorizedCerts',
|
|
66
|
+
type: 'boolean',
|
|
67
|
+
description: 'Whether to connect even if SSL/TLS certificate validation is not possible',
|
|
68
|
+
default: false,
|
|
69
|
+
displayOptions: {
|
|
70
|
+
hide: {
|
|
71
|
+
connectionSecurity: ['none'],
|
|
72
|
+
},
|
|
73
|
+
},
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
displayName: 'CA Certificate',
|
|
77
|
+
name: 'caCertificate',
|
|
78
|
+
typeOptions: {
|
|
79
|
+
alwaysOpenEditWindow: true,
|
|
80
|
+
},
|
|
81
|
+
displayOptions: {
|
|
82
|
+
hide: {
|
|
83
|
+
connectionSecurity: ['none'],
|
|
84
|
+
},
|
|
85
|
+
},
|
|
86
|
+
type: 'string',
|
|
87
|
+
default: '',
|
|
88
|
+
},
|
|
89
|
+
];
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
exports.Ldap = Ldap;
|
|
93
|
+
//# sourceMappingURL=Ldap.credentials.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Ldap.credentials.js","sourceRoot":"","sources":["../../credentials/Ldap.credentials.ts"],"names":[],"mappings":";;;AAGA,MAAa,IAAI;IAAjB;QACC,SAAI,GAAG,MAAM,CAAC;QAEd,gBAAW,GAAG,MAAM,CAAC;QAErB,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,qBAAqB;gBAClC,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,QAAQ,EAAE,IAAI;gBACd,WAAW,EAAE,iCAAiC;aAC9C;YACD;gBACC,WAAW,EAAE,kBAAkB;gBAC/B,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,KAAK;gBACd,WAAW,EAAE,yCAAyC;aACtD;YACD;gBACC,WAAW,EAAE,YAAY;gBACzB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,E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-workflow';
|
|
2
|
+
export declare class LoneScaleApi implements ICredentialType {
|
|
3
|
+
name: string;
|
|
4
|
+
displayName: string;
|
|
5
|
+
properties: INodeProperties[];
|
|
6
|
+
authenticate: IAuthenticateGeneric;
|
|
7
|
+
test: ICredentialTestRequest;
|
|
8
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LoneScaleApi = void 0;
|
|
4
|
+
class LoneScaleApi {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.name = 'loneScaleApi';
|
|
7
|
+
this.displayName = 'LoneScale API';
|
|
8
|
+
this.properties = [
|
|
9
|
+
{
|
|
10
|
+
displayName: 'API Key',
|
|
11
|
+
name: 'apiKey',
|
|
12
|
+
type: 'string',
|
|
13
|
+
typeOptions: { password: true },
|
|
14
|
+
default: '',
|
|
15
|
+
},
|
|
16
|
+
];
|
|
17
|
+
this.authenticate = {
|
|
18
|
+
type: 'generic',
|
|
19
|
+
properties: {
|
|
20
|
+
headers: {
|
|
21
|
+
Authorization: '={{$credentials.apiKey}}',
|
|
22
|
+
},
|
|
23
|
+
},
|
|
24
|
+
};
|
|
25
|
+
this.test = {
|
|
26
|
+
request: {
|
|
27
|
+
baseURL: 'https://public-api.lonescale.com',
|
|
28
|
+
url: '/users',
|
|
29
|
+
},
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
exports.LoneScaleApi = LoneScaleApi;
|
|
34
|
+
//# sourceMappingURL=LoneScaleApi.credentials.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LoneScaleApi.credentials.js","sourceRoot":"","sources":["../../credentials/LoneScaleApi.credentials.ts"],"names":[],"mappings":";;;AAOA,MAAa,YAAY;IAAzB;QACC,SAAI,GAAG,cAAc,CAAC;QAEtB,gBAAW,GAAG,eAAe,CAAC;QAE9B,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,SAAS;gBACtB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;gBAC/B,OAAO,EAAE,EAAE;aACX;SACD,CAAC;QAEF,iBAAY,GAAyB;YACpC,IAAI,EAAE,SAAS;YACf,UAAU,EAAE;gBACX,OAAO,EAAE;oBACR,aAAa,EAAE,0BAA0B;iBACzC;aACD;SACD,CAAC;QAEF,SAAI,GAA2B;YAC9B,OAAO,EAAE;gBACR,OAAO,EAAE,kCAAkC;gBAC3C,GAAG,EAAE,QAAQ;aACb;SACD,CAAC;IACH,CAAC;CAAA;AA9BD,oCA8BC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SshPrivateKey.credentials.js","sourceRoot":"","sources":["../../credentials/SshPrivateKey.credentials.ts"],"names":[],"mappings":";;;AAEA,MAAa,aAAa;IAA1B;QACC,SAAI,GAAG,eAAe,CAAC;QAEvB,gBAAW,GAAG,iBAAiB,CAAC;QAEhC,qBAAgB,GAAG,KAAK,CAAC;QAEzB,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,MAAM;gBACnB,IAAI,EAAE,MAAM;gBACZ,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,WAAW;aACxB;YACD;gBACC,WAAW,EAAE,MAAM;gBACnB,IAAI,EAAE,MAAM;gBACZ,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;aACX;YACD;gBACC,WAAW,EAAE,UAAU;gBACvB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;aACX;YACD;gBACC,WAAW,EAAE,aAAa;gBAC1B,IAAI,EAAE,YAAY;gBAClB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE;oBACZ,IAAI,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"SshPrivateKey.credentials.js","sourceRoot":"","sources":["../../credentials/SshPrivateKey.credentials.ts"],"names":[],"mappings":";;;AAEA,MAAa,aAAa;IAA1B;QACC,SAAI,GAAG,eAAe,CAAC;QAEvB,gBAAW,GAAG,iBAAiB,CAAC;QAEhC,qBAAgB,GAAG,KAAK,CAAC;QAEzB,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,MAAM;gBACnB,IAAI,EAAE,MAAM;gBACZ,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,WAAW;aACxB;YACD;gBACC,WAAW,EAAE,MAAM;gBACnB,IAAI,EAAE,MAAM;gBACZ,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;aACX;YACD;gBACC,WAAW,EAAE,UAAU;gBACvB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;aACX;YACD;gBACC,WAAW,EAAE,aAAa;gBAC1B,IAAI,EAAE,YAAY;gBAClB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE;oBACZ,IAAI,EAAE,CAAC;oBACP,QAAQ,EAAE,IAAI;iBACd;gBACD,OAAO,EAAE,EAAE;aACX;YACD;gBACC,WAAW,EAAE,YAAY;gBACzB,IAAI,EAAE,YAAY;gBAClB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,wEAAwE;gBACrF,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;aAC/B;SACD,CAAC;IACH,CAAC;CAAA;AAhDD,sCAgDC"}
|
|
@@ -7,6 +7,12 @@ class StrapiApi {
|
|
|
7
7
|
this.displayName = 'Strapi API';
|
|
8
8
|
this.documentationUrl = 'strapi';
|
|
9
9
|
this.properties = [
|
|
10
|
+
{
|
|
11
|
+
displayName: 'Make sure you are using a user account not an admin account',
|
|
12
|
+
name: 'notice',
|
|
13
|
+
type: 'notice',
|
|
14
|
+
default: '',
|
|
15
|
+
},
|
|
10
16
|
{
|
|
11
17
|
displayName: 'Email',
|
|
12
18
|
name: 'email',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StrapiApi.credentials.js","sourceRoot":"","sources":["../../credentials/StrapiApi.credentials.ts"],"names":[],"mappings":";;;AAEA,MAAa,SAAS;IAAtB;QACC,SAAI,GAAG,WAAW,CAAC;QAEnB,gBAAW,GAAG,YAAY,CAAC;QAE3B,qBAAgB,GAAG,QAAQ,CAAC;QAE5B,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,OAAO;gBACpB,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,gBAAgB;gBAC7B,OAAO,EAAE,EAAE;aACX;YACD;gBACC,WAAW,EAAE,UAAU;gBACvB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE;oBACZ,QAAQ,EAAE,IAAI;iBACd;gBACD,OAAO,EAAE,EAAE;aACX;YACD;gBACC,WAAW,EAAE,KAAK;gBAClB,IAAI,EAAE,KAAK;gBACX,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,yBAAyB;aACtC;YACD;gBACC,WAAW,EAAE,aAAa;gBAC1B,IAAI,EAAE,YAAY;gBAClB,OAAO,EAAE,IAAI;gBACb,IAAI,EAAE,SAAS;gBACf,WAAW,EAAE,+BAA+B;gBAC5C,OAAO,EAAE;oBACR;wBACC,IAAI,EAAE,WAAW;wBACjB,KAAK,EAAE,IAAI;wBACX,WAAW,EAAE,mCAAmC;qBAChD;oBACD;wBACC,IAAI,EAAE,WAAW;wBACjB,KAAK,EAAE,IAAI;wBACX,WAAW,EAAE,mCAAmC;qBAChD;iBACD;aACD;SACD,CAAC;IACH,CAAC;CAAA;
|
|
1
|
+
{"version":3,"file":"StrapiApi.credentials.js","sourceRoot":"","sources":["../../credentials/StrapiApi.credentials.ts"],"names":[],"mappings":";;;AAEA,MAAa,SAAS;IAAtB;QACC,SAAI,GAAG,WAAW,CAAC;QAEnB,gBAAW,GAAG,YAAY,CAAC;QAE3B,qBAAgB,GAAG,QAAQ,CAAC;QAE5B,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,6DAA6D;gBAC1E,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;aACX;YACD;gBACC,WAAW,EAAE,OAAO;gBACpB,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,gBAAgB;gBAC7B,OAAO,EAAE,EAAE;aACX;YACD;gBACC,WAAW,EAAE,UAAU;gBACvB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE;oBACZ,QAAQ,EAAE,IAAI;iBACd;gBACD,OAAO,EAAE,EAAE;aACX;YACD;gBACC,WAAW,EAAE,KAAK;gBAClB,IAAI,EAAE,KAAK;gBACX,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,yBAAyB;aACtC;YACD;gBACC,WAAW,EAAE,aAAa;gBAC1B,IAAI,EAAE,YAAY;gBAClB,OAAO,EAAE,IAAI;gBACb,IAAI,EAAE,SAAS;gBACf,WAAW,EAAE,+BAA+B;gBAC5C,OAAO,EAAE;oBACR;wBACC,IAAI,EAAE,WAAW;wBACjB,KAAK,EAAE,IAAI;wBACX,WAAW,EAAE,mCAAmC;qBAChD;oBACD;wBACC,IAAI,EAAE,WAAW;wBACjB,KAAK,EAAE,IAAI;wBACX,WAAW,EAAE,mCAAmC;qBAChD;iBACD;aACD;SACD,CAAC;IACH,CAAC;CAAA;AAzDD,8BAyDC"}
|
|
@@ -1050,6 +1050,13 @@
|
|
|
1050
1050
|
"koBoToolboxTrigger"
|
|
1051
1051
|
]
|
|
1052
1052
|
},
|
|
1053
|
+
"ldap": {
|
|
1054
|
+
"className": "Ldap",
|
|
1055
|
+
"sourcePath": "dist/credentials/Ldap.credentials.js",
|
|
1056
|
+
"nodesToTestWith": [
|
|
1057
|
+
"ldap"
|
|
1058
|
+
]
|
|
1059
|
+
},
|
|
1053
1060
|
"lemlistApi": {
|
|
1054
1061
|
"className": "LemlistApi",
|
|
1055
1062
|
"sourcePath": "dist/credentials/LemlistApi.credentials.js",
|
|
@@ -1087,6 +1094,14 @@
|
|
|
1087
1094
|
"linkedIn"
|
|
1088
1095
|
]
|
|
1089
1096
|
},
|
|
1097
|
+
"loneScaleApi": {
|
|
1098
|
+
"className": "LoneScaleApi",
|
|
1099
|
+
"sourcePath": "dist/credentials/LoneScaleApi.credentials.js",
|
|
1100
|
+
"nodesToTestWith": [
|
|
1101
|
+
"loneScaleList",
|
|
1102
|
+
"loneScaleTrigger"
|
|
1103
|
+
]
|
|
1104
|
+
},
|
|
1090
1105
|
"magento2Api": {
|
|
1091
1106
|
"className": "Magento2Api",
|
|
1092
1107
|
"sourcePath": "dist/credentials/Magento2Api.credentials.js",
|
package/dist/known/nodes.json
CHANGED
|
@@ -327,6 +327,10 @@
|
|
|
327
327
|
"className": "ExecuteWorkflowTrigger",
|
|
328
328
|
"sourcePath": "dist/nodes/ExecuteWorkflowTrigger/ExecuteWorkflowTrigger.node.js"
|
|
329
329
|
},
|
|
330
|
+
"executionData": {
|
|
331
|
+
"className": "ExecutionData",
|
|
332
|
+
"sourcePath": "dist/nodes/ExecutionData/ExecutionData.node.js"
|
|
333
|
+
},
|
|
330
334
|
"facebookGraphApi": {
|
|
331
335
|
"className": "FacebookGraphApi",
|
|
332
336
|
"sourcePath": "dist/nodes/Facebook/FacebookGraphApi.node.js"
|
|
@@ -575,6 +579,10 @@
|
|
|
575
579
|
"className": "KoBoToolboxTrigger",
|
|
576
580
|
"sourcePath": "dist/nodes/KoBoToolbox/KoBoToolboxTrigger.node.js"
|
|
577
581
|
},
|
|
582
|
+
"ldap": {
|
|
583
|
+
"className": "Ldap",
|
|
584
|
+
"sourcePath": "dist/nodes/Ldap/Ldap.node.js"
|
|
585
|
+
},
|
|
578
586
|
"lemlist": {
|
|
579
587
|
"className": "Lemlist",
|
|
580
588
|
"sourcePath": "dist/nodes/Lemlist/Lemlist.node.js"
|
|
@@ -607,6 +615,14 @@
|
|
|
607
615
|
"className": "LocalFileTrigger",
|
|
608
616
|
"sourcePath": "dist/nodes/LocalFileTrigger/LocalFileTrigger.node.js"
|
|
609
617
|
},
|
|
618
|
+
"loneScaleList": {
|
|
619
|
+
"className": "LoneScaleList",
|
|
620
|
+
"sourcePath": "dist/nodes/LoneScale/LoneScaleList.node.js"
|
|
621
|
+
},
|
|
622
|
+
"loneScaleTrigger": {
|
|
623
|
+
"className": "LoneScaleTrigger",
|
|
624
|
+
"sourcePath": "dist/nodes/LoneScale/LoneScaleTrigger.node.js"
|
|
625
|
+
},
|
|
610
626
|
"mqtt": {
|
|
611
627
|
"className": "Mqtt",
|
|
612
628
|
"sourcePath": "dist/nodes/MQTT/Mqtt.node.js"
|
|
@@ -492,6 +492,11 @@
|
|
|
492
492
|
"n8n-nodes-base.koBoToolboxTrigger": [
|
|
493
493
|
"loadForms"
|
|
494
494
|
],
|
|
495
|
+
"n8n-nodes-base.ldap": [
|
|
496
|
+
"getAttributes",
|
|
497
|
+
"getObjectClasses",
|
|
498
|
+
"getAttributesForDn"
|
|
499
|
+
],
|
|
495
500
|
"n8n-nodes-base.lemlist": [
|
|
496
501
|
"getCampaigns"
|
|
497
502
|
],
|
|
@@ -512,6 +517,12 @@
|
|
|
512
517
|
"n8n-nodes-base.linkedIn": [
|
|
513
518
|
"getPersonUrn"
|
|
514
519
|
],
|
|
520
|
+
"n8n-nodes-base.loneScaleTrigger": [
|
|
521
|
+
"getWorkflows"
|
|
522
|
+
],
|
|
523
|
+
"n8n-nodes-base.loneScaleList": [
|
|
524
|
+
"getLists"
|
|
525
|
+
],
|
|
515
526
|
"n8n-nodes-base.magento2": [
|
|
516
527
|
"getCountries",
|
|
517
528
|
"getGroups",
|
|
@@ -483,6 +483,11 @@
|
|
|
483
483
|
"n8n-nodes-base.koBoToolboxTrigger": [
|
|
484
484
|
"loadForms"
|
|
485
485
|
],
|
|
486
|
+
"n8n-nodes-base.ldap": [
|
|
487
|
+
"getAttributesForDn",
|
|
488
|
+
"getObjectClasses",
|
|
489
|
+
"getAttributes"
|
|
490
|
+
],
|
|
486
491
|
"n8n-nodes-base.lemlist": [
|
|
487
492
|
"getCampaigns"
|
|
488
493
|
],
|
|
@@ -503,6 +508,12 @@
|
|
|
503
508
|
"n8n-nodes-base.linkedIn": [
|
|
504
509
|
"getPersonUrn"
|
|
505
510
|
],
|
|
511
|
+
"n8n-nodes-base.loneScaleTrigger": [
|
|
512
|
+
"getWorkflows"
|
|
513
|
+
],
|
|
514
|
+
"n8n-nodes-base.loneScaleList": [
|
|
515
|
+
"getLists"
|
|
516
|
+
],
|
|
506
517
|
"n8n-nodes-base.magento2": [
|
|
507
518
|
"getCountries",
|
|
508
519
|
"getCustomAttributes",
|
|
@@ -18,7 +18,7 @@ exports.CurrentDateDescription = [
|
|
|
18
18
|
name: 'includeTime',
|
|
19
19
|
type: 'boolean',
|
|
20
20
|
default: true,
|
|
21
|
-
description: '
|
|
21
|
+
description: 'When deactivated, the time will be set to midnight',
|
|
22
22
|
displayOptions: {
|
|
23
23
|
show: {
|
|
24
24
|
operation: ['getCurrentDate'],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CurrentDateDescription.js","sourceRoot":"","sources":["../../../../nodes/DateTime/V2/CurrentDateDescription.ts"],"names":[],"mappings":";;;AAEa,QAAA,sBAAsB,GAAsB;IACxD;QACC,WAAW,EACV,mNAAmN;QACpN,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,SAAS,EAAE,CAAC,gBAAgB,CAAC;aAC7B;SACD;KACD;IACD;QACC,WAAW,EAAE,sBAAsB;QACnC,IAAI,EAAE,aAAa;QACnB,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,IAAI;
|
|
1
|
+
{"version":3,"file":"CurrentDateDescription.js","sourceRoot":"","sources":["../../../../nodes/DateTime/V2/CurrentDateDescription.ts"],"names":[],"mappings":";;;AAEa,QAAA,sBAAsB,GAAsB;IACxD;QACC,WAAW,EACV,mNAAmN;QACpN,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,SAAS,EAAE,CAAC,gBAAgB,CAAC;aAC7B;SACD;KACD;IACD;QACC,WAAW,EAAE,sBAAsB;QACnC,IAAI,EAAE,aAAa;QACnB,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,IAAI;QAEb,WAAW,EAAE,oDAAoD;QACjE,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,SAAS,EAAE,CAAC,gBAAgB,CAAC;aAC7B;SACD;KACD;IACD;QACC,WAAW,EAAE,mBAAmB;QAChC,IAAI,EAAE,iBAAiB;QACvB,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,aAAa;QACtB,WAAW,EAAE,wCAAwC;QACrD,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,SAAS,EAAE,CAAC,gBAAgB,CAAC;aAC7B;SACD;KACD;IACD;QACC,WAAW,EAAE,SAAS;QACtB,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,YAAY;QAClB,WAAW,EAAE,YAAY;QACzB,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,SAAS,EAAE,CAAC,gBAAgB,CAAC;aAC7B;SACD;QACD,OAAO,EAAE,EAAE;QACX,OAAO,EAAE;YACR;gBACC,WAAW,EAAE,UAAU;gBACvB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,kBAAkB;gBAC/B,OAAO,EAAE,EAAE;gBACX,WAAW,EACV,gHAAgH;aACjH;SACD;KACD;CACD,CAAC"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.erpNextApiRequestAllItems = exports.erpNextApiRequest = void 0;
|
|
4
4
|
const n8n_workflow_1 = require("n8n-workflow");
|
|
5
|
-
const getBaseUrl = ({ environment, domain, subdomain }) => environment === 'cloudHosted' ? `https://${subdomain}
|
|
5
|
+
const getBaseUrl = ({ environment, domain, subdomain }) => environment === 'cloudHosted' ? `https://${subdomain}.${domain}` : domain;
|
|
6
6
|
async function erpNextApiRequest(method, resource, body = {}, query = {}, uri, option = {}) {
|
|
7
7
|
const credentials = (await this.getCredentials('erpNextApi'));
|
|
8
8
|
const baseUrl = getBaseUrl(credentials);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GenericFunctions.js","sourceRoot":"","sources":["../../../nodes/ERPNext/GenericFunctions.ts"],"names":[],"mappings":";;;AASA,+CAA4C;AAK5C,MAAM,UAAU,GAAG,CAAC,EAAE,WAAW,EAAE,MAAM,EAAE,SAAS,EAAyB,EAAE,EAAE,CAChF,WAAW,KAAK,aAAa,CAAC,CAAC,CAAC,WAAW,SAAS,
|
|
1
|
+
{"version":3,"file":"GenericFunctions.js","sourceRoot":"","sources":["../../../nodes/ERPNext/GenericFunctions.ts"],"names":[],"mappings":";;;AASA,+CAA4C;AAK5C,MAAM,UAAU,GAAG,CAAC,EAAE,WAAW,EAAE,MAAM,EAAE,SAAS,EAAyB,EAAE,EAAE,CAChF,WAAW,KAAK,aAAa,CAAC,CAAC,CAAC,WAAW,SAAS,IAAI,MAAM,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC;AAEpE,KAAK,UAAU,iBAAiB,CAEtC,MAAc,EACd,QAAgB,EAChB,OAAoB,EAAE,EACtB,QAAqB,EAAE,EACvB,GAAY,EACZ,SAAsB,EAAE;IAExB,MAAM,W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,MAAM,KAAK,CAAC;KACZ;AACF,CAAC;AAhDD,8CAgDC;AAEM,KAAK,UAAU,yBAAyB,CAE9C,YAAoB,EACpB,MAAc,EACd,QAAgB,EAChB,IAAiB,EACjB,QAAqB,EAAE;IAEvB,MAAM,UAAU,GAAU,EAAE,CAAC;IAE7B,IAAI,YAAY,CAAC;IACjB,KAAK,CAAC,WAAW,GAAG,CAAC,CAAC;IACtB,KAAK,CAAC,iBAAiB,GAAG,IAAI,CAAC;IAE/B,GAAG;QACF,YAAY,GAAG,MAAM,iBAAiB,CAAC,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC;QACjF,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC,UAAU,EAAE,YAAY,CAAC,YAAY,CAAkB,CAAC,CAAC;QAC/E,KAAK,CAAC,WAAW,IAAI,KAAK,CAAC,iBAAiB,GAAG,CAAC,CAAC;KACjD,QAAQ,YAAY,CAAC,IAAI,IAAI,YAAY,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,EAAE;IAE5D,OAAO,UAAU,CAAC;AACnB,CAAC;AArBD,8DAqBC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.execute = exports.description = void 0;
|
|
4
|
+
const n8n_workflow_1 = require("n8n-workflow");
|
|
4
5
|
const nodemailer_1 = require("nodemailer");
|
|
5
6
|
const utilities_1 = require("../../../utils/utilities");
|
|
6
7
|
const properties = [
|
|
@@ -88,7 +89,7 @@ const properties = [
|
|
|
88
89
|
name: 'attachments',
|
|
89
90
|
type: 'string',
|
|
90
91
|
default: '',
|
|
91
|
-
description: 'Name of the binary properties that contain data to add to email as attachment. Multiple ones can be comma-separated.',
|
|
92
|
+
description: 'Name of the binary properties that contain data to add to email as attachment. Multiple ones can be comma-separated. Reference embedded images or other content within the body of an email message, e.g. <img src="cid:image_1">',
|
|
92
93
|
},
|
|
93
94
|
{
|
|
94
95
|
displayName: 'CC Email',
|
|
@@ -190,6 +191,7 @@ async function execute() {
|
|
|
190
191
|
attachments.push({
|
|
191
192
|
filename: binaryData.fileName || 'unknown',
|
|
192
193
|
content: await this.helpers.getBinaryDataBuffer(itemIndex, propertyName),
|
|
194
|
+
cid: propertyName,
|
|
193
195
|
});
|
|
194
196
|
}
|
|
195
197
|
if (attachments.length) {
|
|
@@ -216,7 +218,8 @@ async function execute() {
|
|
|
216
218
|
});
|
|
217
219
|
continue;
|
|
218
220
|
}
|
|
219
|
-
|
|
221
|
+
delete error.cert;
|
|
222
|
+
throw new n8n_workflow_1.NodeApiError(this.getNode(), error);
|
|
220
223
|
}
|
|
221
224
|
}
|
|
222
225
|
return this.prepareOutputData(returnData);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"send.operation.js","sourceRoot":"","sources":["../../../../nodes/EmailSend/v2/send.operation.ts"],"names":[],"mappings":";;;AAOA,2CAA6C;AAG7C,wDAAgE;AAEhE,MAAM,UAAU,GAAsB;IAErC;QACC,WAAW,EAAE,YAAY;QACzB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,QAAQ,EAAE,IAAI;QACd,WAAW,EAAE,mBAAmB;QAChC,WAAW,EACV,2FAA2F;KAC5F;IACD;QACC,WAAW,EAAE,UAAU;QACvB,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,QAAQ,EAAE,IAAI;QACd,WAAW,EAAE,kBAAkB;QAC/B,WAAW,EACV,8FAA8F;KAC/F;IAED;QACC,WAAW,EAAE,SAAS;QACtB,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,iBAAiB;QAC9B,WAAW,EAAE,2BAA2B;KACxC;IACD;QACC,WAAW,EAAE,cAAc;QAC3B,IAAI,EAAE,aAAa;QACnB,IAAI,EAAE,SAAS;QACf,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,MAAM;gBACZ,KAAK,EAAE,MAAM;aACb;YACD;gBACC,IAAI,EAAE,MAAM;gBACZ,KAAK,EAAE,MAAM;aACb;SACD;QACD,OAAO,EAAE,MAAM;KACf;IACD;QACC,WAAW,EAAE,MAAM;QACnB,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE;YACZ,IAAI,EAAE,CAAC;SACP;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,6BAA6B;QAC1C,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,WAAW,EAAE,CAAC,MAAM,CAAC;aACrB;SACD;KACD;IACD;QACC,WAAW,EAAE,MAAM;QACnB,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE;YACZ,IAAI,EAAE,CAAC;SACP;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,4BAA4B;QACzC,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,WAAW,EAAE,CAAC,MAAM,CAAC;aACrB;SACD;KACD;IACD;QACC,WAAW,EAAE,SAAS;QACtB,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,YAAY;QAClB,WAAW,EAAE,YAAY;QACzB,OAAO,EAAE,EAAE;QACX,OAAO,EAAE;YACR;gBACC,WAAW,EAAE,aAAa;gBAC1B,IAAI,EAAE,aAAa;gBACnB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EACV,
|
|
1
|
+
{"version":3,"file":"send.operation.js","sourceRoot":"","sources":["../../../../nodes/EmailSend/v2/send.operation.ts"],"names":[],"mappings":";;;AAOA,+CAA4C;AAE5C,2CAA6C;AAG7C,wDAAgE;AAEhE,MAAM,UAAU,GAAsB;IAErC;QACC,WAAW,EAAE,YAAY;QACzB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,QAAQ;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ACH;gBAED,IAAI,WAAW,CAAC,MAAM,EAAE;oBACvB,WAAW,CAAC,WAAW,GAAG,WAAW,CAAC;iBACtC;aACD;YAED,MAAM,IAAI,GAAG,MAAM,WAAW,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC;YAErD,UAAU,CAAC,IAAI,CAAC;gBACf,IAAI,EAAE,IAA8B;gBACpC,UAAU,EAAE;oBACX,IAAI,EAAE,SAAS;iBACf;aACD,CAAC,CAAC;SACH;QAAC,OAAO,KAAK,EAAE;YACf,IAAI,IAAI,CAAC,cAAc,EAAE,EAAE;gBAC1B,UAAU,CAAC,IAAI,CAAC;oBACf,IAAI,EAAE;wBACL,KAAK,EAAE,KAAK,CAAC,OAAO;qBACpB;oBACD,UAAU,EAAE;wBACX,IAAI,EAAE,SAAS;qBACf;iBACD,CAAC,CAAC;gBACH,SAAS;aACT;YACD,OAAO,KAAK,CAAC,IAAI,CAAC;YAClB,MAAM,IAAI,2BAAY,CAAC,IAAI,CAAC,OAAO,EAAE,EAAE,KAAmB,CAAC,CAAC;SAC5D;KACD;IAED,OAAO,IAAI,CAAC,iBAAiB,CAAC,UAAU,CAAC,CAAC;AAC3C,CAAC;AArFD,0BAqFC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { IExecuteFunctions, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow';
|
|
2
|
+
export declare class ExecutionData implements INodeType {
|
|
3
|
+
description: INodeTypeDescription;
|
|
4
|
+
execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]>;
|
|
5
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ExecutionData = void 0;
|
|
4
|
+
class ExecutionData {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.description = {
|
|
7
|
+
displayName: 'Execution Data',
|
|
8
|
+
name: 'executionData',
|
|
9
|
+
icon: 'fa:tasks',
|
|
10
|
+
group: ['input'],
|
|
11
|
+
version: 1,
|
|
12
|
+
description: 'Add execution data for search',
|
|
13
|
+
defaults: {
|
|
14
|
+
name: 'Execution Data',
|
|
15
|
+
color: '#29A568',
|
|
16
|
+
},
|
|
17
|
+
inputs: ['main'],
|
|
18
|
+
outputs: ['main'],
|
|
19
|
+
properties: [
|
|
20
|
+
{
|
|
21
|
+
displayName: "Use this node to save fields you want to use later to easily find an execution (e.g. a user ID). You'll be able to search by this data in the 'executions' tab.<br>This feature is available on our Pro and Enterprise plans. <a href='https://n8n.io/pricing/' target='_blank'>More Info</a>.",
|
|
22
|
+
name: 'notice',
|
|
23
|
+
type: 'notice',
|
|
24
|
+
default: '',
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
displayName: 'Operation',
|
|
28
|
+
name: 'operation',
|
|
29
|
+
type: 'options',
|
|
30
|
+
default: 'save',
|
|
31
|
+
noDataExpression: true,
|
|
32
|
+
options: [
|
|
33
|
+
{
|
|
34
|
+
name: 'Save Execution Data for Search',
|
|
35
|
+
value: 'save',
|
|
36
|
+
action: 'Save execution data for search',
|
|
37
|
+
},
|
|
38
|
+
],
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
displayName: 'Data to Save',
|
|
42
|
+
name: 'dataToSave',
|
|
43
|
+
placeholder: 'Add Saved Field',
|
|
44
|
+
type: 'fixedCollection',
|
|
45
|
+
typeOptions: {
|
|
46
|
+
multipleValueButtonText: 'Add Saved Field',
|
|
47
|
+
multipleValues: true,
|
|
48
|
+
},
|
|
49
|
+
displayOptions: {
|
|
50
|
+
show: {
|
|
51
|
+
operation: ['save'],
|
|
52
|
+
},
|
|
53
|
+
},
|
|
54
|
+
default: {},
|
|
55
|
+
options: [
|
|
56
|
+
{
|
|
57
|
+
displayName: 'Values',
|
|
58
|
+
name: 'values',
|
|
59
|
+
values: [
|
|
60
|
+
{
|
|
61
|
+
displayName: 'Key',
|
|
62
|
+
name: 'key',
|
|
63
|
+
type: 'string',
|
|
64
|
+
default: '',
|
|
65
|
+
placeholder: 'e.g. myKey',
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
displayName: 'Value',
|
|
69
|
+
name: 'value',
|
|
70
|
+
type: 'string',
|
|
71
|
+
default: '',
|
|
72
|
+
placeholder: 'e.g. myValue',
|
|
73
|
+
},
|
|
74
|
+
],
|
|
75
|
+
},
|
|
76
|
+
],
|
|
77
|
+
},
|
|
78
|
+
],
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
async execute() {
|
|
82
|
+
const context = this.getWorkflowDataProxy(0);
|
|
83
|
+
const items = this.getInputData();
|
|
84
|
+
const operations = this.getNodeParameter('operation', 0);
|
|
85
|
+
if (operations === 'save') {
|
|
86
|
+
for (let i = 0; i < items.length; i++) {
|
|
87
|
+
const dataToSave = this.getNodeParameter('dataToSave', i, {}).values ||
|
|
88
|
+
[];
|
|
89
|
+
const values = dataToSave.reduce((acc, { key, value }) => {
|
|
90
|
+
acc[key] = value;
|
|
91
|
+
return acc;
|
|
92
|
+
}, {});
|
|
93
|
+
context.$execution.customData.setAll(values);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
return [items];
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
exports.ExecutionData = ExecutionData;
|
|
100
|
+
//# sourceMappingURL=ExecutionData.node.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExecutionData.node.js","sourceRoot":"","sources":["../../../nodes/ExecutionData/ExecutionData.node.ts"],"names":[],"mappings":";;;AASA,MAAa,aAAa;IAA1B;QACC,gBAAW,GAAyB;YACnC,WAAW,EAAE,gBAAgB;YAC7B,IAAI,EAAE,eAAe;YACrB,IAAI,EAAE,UAAU;YAChB,KAAK,EAAE,CAAC,OAAO,CAAC;YAChB,OAAO,EAAE,CAAC;YACV,WAAW,EAAE,+BAA+B;YAC5C,QAAQ,EAAE;gBACT,IAAI,EAAE,gBAAgB;gBACtB,KAAK,EAAE,SA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