/** * ClickUp Node - Version 1 * Discriminator: resource=timeEntry, operation=create */ interface Credentials { clickUpApi: CredentialReference; clickUpOAuth2Api: CredentialReference; } /** Create a checklist */ export type ClickUpV1TimeEntryCreateParams = { resource: 'timeEntry'; 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> */ 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; /** * Start */ start?: string | Expression; /** * Duration in minutes * @default 0 */ duration?: number | Expression; /** * Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a> */ task?: string | Expression; /** * Additional Fields * @default {} */ additionalFields?: { /** 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; /** Choose from the list, or specify IDs using an <a href="https://docs.n8n.io/code/expressions/">expression</a> * @default [] */ tags?: string[]; }; }; export type ClickUpV1TimeEntryCreateNode = { type: 'n8n-nodes-base.clickUp'; version: 1; credentials?: Credentials; config: NodeConfig; };