UNPKG

n8n-nodes-base

Version:

Base nodes of n8n

48 lines (43 loc) 1.05 kB
/** * Odoo Node - Version 1 * Discriminator: resource=contact, operation=getAll */ interface Credentials { odooApi: CredentialReference; } /** Get many items */ export type OdooV1ContactGetAllParams = { resource: 'contact'; operation: 'getAll'; /** * Whether to return all results or only up to a given limit * @default false */ returnAll?: boolean | Expression<boolean>; /** * Max number of results to return * @displayOptions.show { returnAll: [false] } * @default 50 */ limit?: number | Expression<number>; /** * 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 OdooV1ContactGetAllOutput = { id?: number; }; export type OdooV1ContactGetAllNode = { type: 'n8n-nodes-base.odoo'; version: 1; credentials?: Credentials; config: NodeConfig<OdooV1ContactGetAllParams>; output?: Items<OdooV1ContactGetAllOutput>; };