/** * ClickUp Node - Version 1 * Discriminator: resource=task, operation=setCustomField */ interface Credentials { clickUpApi: CredentialReference; clickUpOAuth2Api: CredentialReference; } /** Set a custom field */ export type ClickUpV1TaskSetCustomFieldParams = { resource: 'task'; operation: 'setCustomField'; authentication?: 'accessToken' | 'oAuth2' | Expression; /** * The ID of the task to add custom field to */ task?: string | Expression | PlaceholderValue; /** * The ID of the field to add custom field to */ field?: string | Expression | PlaceholderValue; /** * The value is JSON and will be parsed as such. Is needed if for example needed for labels which expects the value to be an array. * @default false */ jsonParse?: boolean | Expression; /** * The value to set on custom field */ value?: string | Expression | PlaceholderValue; }; export type ClickUpV1TaskSetCustomFieldNode = { type: 'n8n-nodes-base.clickUp'; version: 1; credentials?: Credentials; config: NodeConfig; };