n8n-nodes-base
Version:
Base nodes of n8n
43 lines (39 loc) • 929 B
text/typescript
/**
* Odoo Node - Version 1
* Discriminator: resource=note, operation=getAll
*/
interface Credentials {
odooApi: CredentialReference;
}
/** Get many items */
export type OdooV1NoteGetAllParams = {
resource: 'note';
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 <a href="https://docs.n8n.io/code/expressions/">expression</a>
* @default []
*/
fieldsList?: string[];
};
};
export type OdooV1NoteGetAllNode = {
type: 'n8n-nodes-base.odoo';
version: 1;
credentials?: Credentials;
config: NodeConfig<OdooV1NoteGetAllParams>;
};