/** * ClickUp Node - Version 1 * Discriminator: resource=folder, operation=create */ interface Credentials { clickUpApi: CredentialReference; clickUpOAuth2Api: CredentialReference; } /** Create a checklist */ export type ClickUpV1FolderCreateParams = { resource: 'folder'; 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; /** * Name */ name?: string | Expression | PlaceholderValue; }; export type ClickUpV1FolderCreateOutput = { archived?: boolean; deleted?: boolean; hidden?: boolean; id?: string; lists?: Array<{ archived?: boolean; assignee?: null; content?: string; due_date?: null; id?: string; name?: string; orderindex?: number; override_statuses?: boolean; permission_level?: string; priority?: null; start_date?: null; status?: null; statuses?: Array<{ color?: string; id?: string; orderindex?: number; status?: string; status_group?: string; type?: string; }>; task_count?: number; }>; name?: string; orderindex?: number; override_statuses?: boolean; permission_level?: string; space?: { access?: boolean; id?: string; name?: string; }; task_count?: string; }; export type ClickUpV1FolderCreateNode = { type: 'n8n-nodes-base.clickUp'; version: 1; credentials?: Credentials; config: NodeConfig; output?: Items; };