Add Lemlist node (#1506)

* 🎉 Register node and credentials

*  Add credentials file

* 🎨 Add SVG icon

*  Add generic functions file

*  Add preliminary node stub

*  Add resource description stubs

*  Extract get CSV from getAll

*  Implement lead:create

*  Implement all lead operations

*  Implement unsubscribe:create and delete

*  Preload campaigns

* 🔥 Remove logging

* 🔥 Remove operation per feedback

* 🎨 Prettify error message

*  Implement unsubscribe:getAll

*  Add trigger and small improvements

*  Minor improvement and fixes

Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
This commit is contained in:
Iván Ovejero
2021-03-04 06:25:47 -03:00
committed by GitHub
parent c49fcdeed6
commit 7be61e2f23
12 changed files with 1257 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
import {
ICredentialType,
NodePropertyTypes,
} from 'n8n-workflow';
export class LemlistApi implements ICredentialType {
name = 'lemlistApi';
displayName = 'Lemlist API';
documentationUrl = 'lemlist';
properties = [
{
displayName: 'API Key',
name: 'apiKey',
type: 'string' as NodePropertyTypes,
default: '',
},
];
}