/** * Harvest Node - Version 1 * Discriminator: resource=timeEntry, operation=restartTime */ interface Credentials { harvestApi: CredentialReference; harvestOAuth2Api: CredentialReference; } /** Restart a time entry */ export type HarvestV1TimeEntryRestartTimeParams = { resource: 'timeEntry'; operation: 'restartTime'; 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; /** * Restart a stopped time entry. Restarting a time entry is only possible if it isn’t currently running. */ id?: string | Expression | PlaceholderValue; }; export type HarvestV1TimeEntryRestartTimeNode = { type: 'n8n-nodes-base.harvest'; version: 1; credentials?: Credentials; config: NodeConfig; };