/** * Zoho CRM Node - Version 1 * Discriminator: resource=invoice, operation=getAll */ interface Credentials { zohoOAuth2Api: CredentialReference; } /** Get many accounts */ export type ZohoCrmV1InvoiceGetAllParams = { resource: 'invoice'; operation: 'getAll'; /** * Whether to return all results or only up to a given limit * @default false */ returnAll?: boolean | Expression; /** * Max number of results to return * @displayOptions.show { returnAll: [false] } * @default 5 */ limit?: number | Expression; /** * Options * @default {} */ options?: { /** Whether to retrieve only approved records. Defaults to true. * @default true */ approved?: boolean | Expression; /** Whether to retrieve only converted records. Defaults to false. * @default false */ converted?: boolean | Expression; /** Return only these fields * @default [] */ fields?: string[]; /** Whether to retrieve only records from child territories * @default false */ include_child?: boolean | Expression; /** Field to sort records by * @default [] */ sort_by?: string | Expression; /** Ascending or descending order sort order * @default desc */ sort_order?: 'asc' | 'desc' | Expression; /** Retrieve only records from this territory */ territory_id?: string | Expression | PlaceholderValue; }; }; export type ZohoCrmV1InvoiceGetAllNode = { type: 'n8n-nodes-base.zohoCrm'; version: 1; credentials?: Credentials; config: NodeConfig; };