/** * Harvest Node - Version 1 * Discriminator: resource=estimate, operation=create */ interface Credentials { harvestApi: CredentialReference; harvestOAuth2Api: CredentialReference; } /** Create a client */ export type HarvestV1EstimateCreateParams = { resource: 'estimate'; operation: 'create'; 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 client this estimate belongs to */ clientId?: string | Expression | PlaceholderValue; /** * Additional Fields * @default {} */ additionalFields?: { /** The currency used by the estimate. If not provided, the client’s currency will be used. See a list of supported currencies */ currency?: string | Expression | PlaceholderValue; /** This percentage is subtracted from the subtotal. Example: use 10.0 for 10.0%. */ over_budget_notification_percentage?: string | Expression | PlaceholderValue; /** Date the invoice was issued. Defaults to today’s date. */ issue_date?: string | Expression; /** Any additional notes to include on the estimate */ notes?: string | Expression | PlaceholderValue; /** If no value is set, the number will be automatically generated */ number?: string | Expression | PlaceholderValue; /** The purchase order number */ purchase_order?: string | Expression | PlaceholderValue; /** The estimate subject */ subject?: string | Expression | PlaceholderValue; /** This percentage is applied to the subtotal, including line items and discounts. Example: use 10.0 for 10.0%. */ tax?: string | Expression | PlaceholderValue; /** This percentage is applied to the subtotal, including line items and discounts. Example: use 10.0 for 10.0%. */ tax2?: string | Expression | PlaceholderValue; }; }; export type HarvestV1EstimateCreateNode = { type: 'n8n-nodes-base.harvest'; version: 1; credentials?: Credentials; config: NodeConfig; };