/** * Odoo Node - Version 1 * Discriminator: resource=contact, operation=update */ interface Credentials { odooApi: CredentialReference; } /** Update an item */ export type OdooV1ContactUpdateParams = { resource: 'contact'; operation: 'update'; /** * Contact ID */ contactId?: string | Expression | PlaceholderValue; /** * Update Fields * @default {} */ updateFields?: { /** Address * @default {} */ address?: { /** Address */ value?: { /** City */ city?: string | Expression | PlaceholderValue; /** Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a> */ country_id?: string | Expression; /** Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a> */ state_id?: string | Expression; /** Street */ street?: string | Expression | PlaceholderValue; /** Street 2 */ street2?: string | Expression | PlaceholderValue; /** Zip Code */ zip?: string | Expression | PlaceholderValue; }; }; /** Email */ email?: string | Expression | PlaceholderValue; /** Internal Notes */ comment?: string | Expression | PlaceholderValue; /** Job Position */ 'function'?: string | Expression | PlaceholderValue; /** Mobile */ mobile?: string | Expression | PlaceholderValue; /** Name */ name?: string | Expression | PlaceholderValue; /** Phone */ phone?: string | Expression | PlaceholderValue; /** Tax ID */ vat?: string | Expression | PlaceholderValue; /** Website */ website?: string | Expression | PlaceholderValue; }; }; export type OdooV1ContactUpdateNode = { type: 'n8n-nodes-base.odoo'; version: 1; credentials?: Credentials; config: NodeConfig; };