/** * Todoist Node - Version 2.1 * Discriminator: resource=label, operation=create */ interface Credentials { todoistApi: CredentialReference; todoistOAuth2Api: CredentialReference; } /** Label resource */ export type TodoistV21LabelCreateParams = { resource: 'label'; operation: 'create'; authentication?: 'apiKey' | 'oAuth2' | Expression; /** * Name of the label */ labelName?: string | Expression | PlaceholderValue; /** * Additional Fields * @default {} */ labelOptions?: { /** The color of the label */ 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; /** Label order * @default 0 */ order?: number | Expression; /** Whether the label is a favorite * @default false */ is_favorite?: boolean | Expression; }; }; export type TodoistV21LabelCreateNode = { type: 'n8n-nodes-base.todoist'; version: 2.1; credentials?: Credentials; config: NodeConfig; };