n8n/packages/nodes-base/nodes/Salesforce/OpportunityInterface.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

19 lines
390 B
TypeScript

export interface IOpportunity {
// tslint:disable-next-line: no-any
[key: string]: any;
Name?: string;
StageName?: string;
CloseDate?: string;
Type?: string;
Amount?: number;
OwnerId?: string;
NextStep?: string;
AccountId?: string;
CampaignId?: string;
LeadSource?: string;
Description?: string;
Probability?: number;
Pricebook2Id?: string;
ForecastCategoryName?: string;
}