UNPKG

n8n-nodes-base

Version:

Base nodes of n8n

41 lines (36 loc) 832 B
/** * Odoo Node - Version 1 * Discriminator: resource=contact, operation=get */ interface Credentials { odooApi: CredentialReference; } /** Get an item */ export type OdooV1ContactGetParams = { resource: 'contact'; operation: 'get'; /** * Contact ID */ contactId?: string | Expression<string> | PlaceholderValue; /** * Options * @default {} */ options?: { /** Choose from the list, or specify IDs using an &lt;a href="https://docs.n8n.io/code/expressions/"&gt;expression&lt;/a&gt; * @default [] */ fieldsList?: string[]; }; }; export type OdooV1ContactGetOutput = { id?: number; }; export type OdooV1ContactGetNode = { type: 'n8n-nodes-base.odoo'; version: 1; credentials?: Credentials; config: NodeConfig<OdooV1ContactGetParams>; output?: Items<OdooV1ContactGetOutput>; };