/** * ClickUp Node - Version 1 * Discriminator: resource=timeEntry, operation=update */ interface Credentials { clickUpApi: CredentialReference; clickUpOAuth2Api: CredentialReference; } /** Update a checklist */ export type ClickUpV1TimeEntryUpdateParams = { 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> */ team?: string | Expression; /** * Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a> */ space?: string | Expression; /** * Folderless List * @default false */ folderless?: boolean | Expression; /** * Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a> * @displayOptions.show { folderless: [false] } */ folder?: string | Expression; /** * Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a> * @displayOptions.show { folderless: [true] } */ list?: string | Expression; /** * Archived * @default false */ archived?: boolean | Expression; /** * Time Entry ID */ timeEntry?: string | Expression | PlaceholderValue; /** * Update Fields * @default {} */ updateFields?: { /** Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a> * @default [] */ assignee?: string | Expression; /** Billable * @default true */ billable?: boolean | Expression; /** Description of the time entry */ description?: string | Expression | PlaceholderValue; /** Duration in minutes * @default 0 */ duration?: number | Expression; /** Start */ start?: string | Expression; /** Choose from the list, or specify IDs using an <a href="https://docs.n8n.io/code/expressions/">expression</a> * @default [] */ tags?: string[]; /** Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a> */ task?: string | Expression; }; }; export type ClickUpV1TimeEntryUpdateNode = { type: 'n8n-nodes-base.clickUp'; version: 1; credentials?: Credentials; config: NodeConfig; };