/** * Harvest Node - Version 1 * Discriminator: resource=invoice, operation=get */ interface Credentials { harvestApi: CredentialReference; harvestOAuth2Api: CredentialReference; } /** Get data of a client */ export type HarvestV1InvoiceGetParams = { resource: 'invoice'; operation: 'get'; 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; /** * The ID of the invoice you are retrieving */ id?: string | Expression | PlaceholderValue; }; export type HarvestV1InvoiceGetNode = { type: 'n8n-nodes-base.harvest'; version: 1; credentials?: Credentials; config: NodeConfig; };