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,33 @@
import {
INodeProperties,
} from 'n8n-workflow';
export const teamOperations = [
{
displayName: 'Operation',
name: 'operation',
type: 'options',
default: 'get',
description: 'Operation to perform',
options: [
{
name: 'Get',
value: 'get',
},
],
displayOptions: {
show: {
resource: [
'team',
],
},
},
},
] as INodeProperties[];
export const teamFields = [
// ----------------------------------
// team: get
// ----------------------------------
] as INodeProperties[];