/** * Harvest Node - Version 1 * Discriminator: resource=client, operation=getAll */ interface Credentials { harvestApi: CredentialReference; harvestOAuth2Api: CredentialReference; } /** Get data of many clients */ export type HarvestV1ClientGetAllParams = { resource: 'client'; operation: 'getAll'; authentication?: 'accessToken' | 'oAuth2' | Expression; /** * Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a> */ accountId?: string | Expression; /** * 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 100 */ limit?: number | Expression; /** * Filters * @default {} */ filters?: { /** Whether to only return active clients and false to return inactive clients * @default true */ is_active?: boolean | Expression; /** Only return clients that have been updated since the given date and time */ updated_since?: string | Expression; }; }; export type HarvestV1ClientGetAllOutput = { created_at?: string; currency?: string; id?: number; is_active?: boolean; name?: string; statement_key?: string; updated_at?: string; }; export type HarvestV1ClientGetAllNode = { type: 'n8n-nodes-base.harvest'; version: 1; credentials?: Credentials; config: NodeConfig; output?: Items; };