/** * Odoo Node - Version 1 * Discriminator: resource=opportunity, operation=update */ interface Credentials { odooApi: CredentialReference; } /** Update an item */ export type OdooV1OpportunityUpdateParams = { resource: 'opportunity'; operation: 'update'; /** * Opportunity ID */ opportunityId?: string | Expression | PlaceholderValue; /** * Update Fields * @default {} */ updateFields?: { /** Email */ email_from?: string | Expression | PlaceholderValue; /** Expected Revenue * @default 0 */ expected_revenue?: number | Expression; /** Internal Notes */ description?: string | Expression | PlaceholderValue; /** Name */ name?: string | Expression | PlaceholderValue; /** Phone */ phone?: string | Expression | PlaceholderValue; /** Priority * @default 1 */ priority?: '1' | '2' | '3' | Expression; /** Probability * @default 0 */ probability?: number | Expression; }; }; export type OdooV1OpportunityUpdateNode = { type: 'n8n-nodes-base.odoo'; version: 1; credentials?: Credentials; config: NodeConfig; };