/** * Harvest Node - Version 1 * Discriminator: resource=timeEntry, operation=update */ interface Credentials { harvestApi: CredentialReference; harvestOAuth2Api: CredentialReference; } /** Update a client */ export type HarvestV1TimeEntryUpdateParams = { resource: 'timeEntry'; operation: 'update'; 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 time entry to update */ id?: string | Expression | PlaceholderValue; /** * Update Fields * @default {} */ updateFields?: { /** The time the entry ended */ ended_time?: string | Expression | PlaceholderValue; /** The current amount of time tracked * @default 0 */ hours?: number | Expression; /** These are notes about the time entry */ notes?: string | Expression | PlaceholderValue; /** The time the entry started. Defaults to the current time. Example: “8:00am”. */ started_time?: string | Expression | PlaceholderValue; }; }; export type HarvestV1TimeEntryUpdateNode = { type: 'n8n-nodes-base.harvest'; version: 1; credentials?: Credentials; config: NodeConfig; };