/** * ClickUp Node - Version 1 * Discriminator: resource=folder, operation=getAll */ interface Credentials { clickUpApi: CredentialReference; clickUpOAuth2Api: CredentialReference; } /** Get many comments */ export type ClickUpV1FolderGetAllParams = { resource: 'folder'; operation: 'getAll'; 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; /** * Max number of results to return * @default 50 */ limit?: number | Expression; /** * Filters * @default {} */ filters?: { /** Archived * @default false */ archived?: boolean | Expression; }; }; export type ClickUpV1FolderGetAllOutput = { archived?: boolean; hidden?: boolean; id?: string; lists?: Array<{ archived?: boolean; content?: string; id?: string; name?: string; orderindex?: number; permission_level?: string; space?: { access?: boolean; id?: string; name?: string; }; statuses?: Array<{ color?: string; id?: string; orderindex?: number; status?: string; status_group?: string; type?: string; }>; task_count?: number; }>; name?: string; permission_level?: string; space?: { id?: string; name?: string; }; statuses?: Array<{ color?: string; id?: string; orderindex?: number; status?: string; type?: string; }>; task_count?: string; }; export type ClickUpV1FolderGetAllNode = { type: 'n8n-nodes-base.clickUp'; version: 1; credentials?: Credentials; config: NodeConfig; output?: Items; };