n8n-nodes-gohighlevel
Version:
n8n node for GoHighLevel API v2
28 lines (24 loc) • 475 B
text/typescript
import { IDataObject } from 'n8n-workflow';
export interface IContact extends IDataObject {
id?: string;
email?: string;
firstName?: string;
lastName?: string;
phone?: string;
tags?: string[];
customFields?: ICustomField[];
}
interface ICustomField {
id: string;
field_value: string;
}
export type ContactOperation =
| 'create'
| 'update'
| 'delete'
| 'get'
| 'getAll'
| 'addTag'
| 'removeTag'
| 'addToSequence'
| 'removeFromSequence';