UNPKG

n8n-nodes-base

Version:

Base nodes of n8n

32 lines (28 loc) 836 B
/** * Harvest Node - Version 1 * Discriminator: resource=estimate, operation=get */ interface Credentials { harvestApi: CredentialReference; harvestOAuth2Api: CredentialReference; } /** Get data of a client */ export type HarvestV1EstimateGetParams = { resource: 'estimate'; operation: 'get'; authentication?: 'accessToken' | 'oAuth2' | Expression<string>; /** * Choose from the list, or specify an ID using an &lt;a href="https://docs.n8n.io/code/expressions/"&gt;expression&lt;/a&gt; */ accountId?: string | Expression<string>; /** * The ID of the estimate you are retrieving */ id?: string | Expression<string> | PlaceholderValue; }; export type HarvestV1EstimateGetNode = { type: 'n8n-nodes-base.harvest'; version: 1; credentials?: Credentials; config: NodeConfig<HarvestV1EstimateGetParams>; };