/** * Odoo Node - Version 1 * Discriminator: resource=custom, operation=get */ interface Credentials { odooApi: CredentialReference; } /** Get an item */ export type OdooV1CustomGetParams = { resource: 'custom'; operation: 'get'; /** * Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a> */ customResource?: string | Expression; /** * Custom Resource ID */ customResourceId?: string | Expression | PlaceholderValue; /** * Options * @default {} */ options?: { /** Choose from the list, or specify IDs using an <a href="https://docs.n8n.io/code/expressions/">expression</a> * @default [] */ fieldsList?: string[]; }; }; export type OdooV1CustomGetOutput = { id?: number; name?: string; }; export type OdooV1CustomGetNode = { type: 'n8n-nodes-base.odoo'; version: 1; credentials?: Credentials; config: NodeConfig; output?: Items; };