n8n-nodes-espocrm
Version:
n8n Community Node for EspoCRM
24 lines (23 loc) • 785 B
TypeScript
import { IBaseEntity } from "./EspoCRMTypes";
export type LeadStatus = 'New' | 'Assigned' | 'In Process' | 'Converted' | 'Recycled' | 'Dead';
export type LeadSource = 'Call' | 'Email' | 'Existing Customer' | 'Partner' | 'Public Relations' | 'Web Site' | 'Campaign' | 'Other';
export interface ILeadData extends IBaseEntity {
firstName: string;
lastName: string;
name?: string;
emailAddress?: string;
phoneNumber?: string;
title?: string;
website?: string;
accountName?: string;
industry?: string;
status?: LeadStatus;
source?: LeadSource;
opportunityAmount?: number;
addressStreet?: string;
addressCity?: string;
addressState?: string;
addressCountry?: string;
addressPostalCode?: string;
description?: string;
}