/** * Todoist Node - Version 2.1 * Discriminator: resource=project, operation=update */ interface Credentials { todoistApi: CredentialReference; todoistOAuth2Api: CredentialReference; } /** Project resource */ export type TodoistV21ProjectUpdateParams = { resource: 'project'; operation: 'update'; authentication?: 'apiKey' | 'oAuth2' | Expression; /** * The project ID - can be either a string or number */ projectId?: string | Expression | PlaceholderValue; /** * Update Fields * @default {} */ projectUpdateFields?: { /** Name of the project */ name?: string | Expression | PlaceholderValue; /** The color of the project */ color?: 'berry_red' | 'red' | 'orange' | 'yellow' | 'olive_green' | 'lime_green' | 'green' | 'mint_green' | 'teal' | 'sky_blue' | 'light_blue' | 'blue' | 'grape' | 'violet' | 'lavender' | 'magenta' | 'salmon' | 'charcoal' | 'grey' | 'taupe' | Expression; /** Whether the project is a favorite * @default false */ is_favorite?: boolean | Expression; /** The default view style of the project * @default list */ view_style?: 'list' | 'board' | Expression; }; }; export type TodoistV21ProjectUpdateNode = { type: 'n8n-nodes-base.todoist'; version: 2.1; credentials?: Credentials; config: NodeConfig; };