n8n-nodes-espocrm
Version:
n8n Community Node for EspoCRM
18 lines (17 loc) • 789 B
TypeScript
import { IBaseEntity } from './EspoCRMTypes';
export type OpportunityStage = 'Prospecting' | 'Qualification' | 'Needs Analysis' | 'Value Proposition' | 'Id. Decision Makers' | 'Perception Analysis' | 'Proposal/Price Quote' | 'Negotiation/Review' | 'Closed Won' | 'Closed Lost';
export type OpportunityLeadSource = 'Call' | 'Email' | 'Existing Customer' | 'Partner' | 'Public Relations' | 'Web Site' | 'Campaign' | 'Other';
export interface IOpportunityData extends IBaseEntity {
name: string;
stage?: OpportunityStage;
amount?: number;
probability?: number;
leadSource?: OpportunityLeadSource;
closeDate?: string;
nextStep?: string;
accountId?: string;
accountName?: string;
contactId?: string;
contactName?: string;
description?: string;
}