/** * ClickUp Node - Version 1 * Discriminator: resource=list, operation=create */ interface Credentials { clickUpApi: CredentialReference; clickUpOAuth2Api: CredentialReference; } /** Create a checklist */ export type ClickUpV1ListCreateParams = { resource: 'list'; 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; /** * Name */ name?: string | Expression | PlaceholderValue; /** * Additional Fields * @default {} */ additionalFields?: { /** Assignee */ assignee?: string | Expression | PlaceholderValue; /** Content */ content?: string | Expression | PlaceholderValue; /** Due Date */ dueDate?: string | Expression; /** Due Date Time * @default false */ dueDateTime?: boolean | Expression; /** Integer mapping as 1 : Urgent, 2 : High, 3 : Normal, 4 : Low * @default 3 */ priority?: number | Expression; /** Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a> */ status?: string | Expression; }; }; export type ClickUpV1ListCreateOutput = { archived?: boolean; assignee?: null; content?: string; deleted?: boolean; folder?: { access?: boolean; hidden?: boolean; id?: string; name?: string; }; id?: string; inbound_address?: string; name?: string; orderindex?: number; override_statuses?: boolean; permission_level?: string; space?: { access?: boolean; id?: string; name?: string; }; start_date?: null; statuses?: Array<{ color?: string; id?: string; orderindex?: number; status?: string; status_group?: string; type?: string; }>; }; export type ClickUpV1ListCreateNode = { type: 'n8n-nodes-base.clickUp'; version: 1; credentials?: Credentials; config: NodeConfig; output?: Items; };