n8n/packages/nodes-base/nodes/Salesforce/LeadInterface.ts
Ricardo Espinoza 6ade0a00f5
Add upsert operation to various resources (Salesforce) (#1743)
*  Add upsert operation to various resources (Salesforce)

The operation was added to the resources: Contact, Account, Lead, Opportunity and Custom Object.

*  Rename operation create/update to Create or Update

*  Improvements

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
2021-06-09 22:25:20 -05:00

29 lines
573 B
TypeScript

export interface ILead {
// tslint:disable-next-line: no-any
[key: string]: any;
Company?: string;
LastName?: string;
Email?: string;
City?: string;
Phone?: string;
State?: string;
Title?: string;
Jigsaw?: string;
Rating?: string;
Status?: string;
Street?: string;
Country?: string;
OwnerId?: string;
Website?: string;
Industry?: string;
FirstName?: string;
LeadSource?: string;
PostalCode?: string;
Salutation?: string;
Description?: string;
AnnualRevenue?: number;
IsUnreadByOwner?: boolean;
NumberOfEmployees?: number;
MobilePhone?: string;
}