/** * Wekan Node - Version 1 * Discriminator: resource=card, operation=update */ interface Credentials { wekanApi: CredentialReference; } /** Update a card */ export type WekanV1CardUpdateParams = { resource: 'card'; operation: 'update'; /** * The ID of the board that list belongs to. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ boardId?: string | Expression; /** * The ID of the list that card belongs to. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ listId?: string | Expression; /** * The ID of the card to update. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ cardId?: string | Expression; /** * Update Fields * @default {} */ updateFields?: { /** Update the owner of the card. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ authorId?: string | Expression; /** The new list of assignee IDs attached to the card. Choose from the list, or specify IDs using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. * @default [] */ assignees?: string[]; /** The new color of the card */ color?: 'black' | 'blue' | 'crimson' | 'darkgreen' | 'gold' | 'gray' | 'green' | 'indigo' | 'lime' | 'magenta' | 'mistyrose' | 'navy' | 'orange' | 'paleturquoise' | 'peachpuff' | 'pink' | 'plum' | 'purple' | 'red' | 'saddlebrown' | 'silver' | 'sky' | 'slateblue' | 'white' | 'yellow' | Expression; /** The new description of the card */ description?: string | Expression | PlaceholderValue; /** The new due at field of the card */ dueAt?: string | Expression; /** The new end at field of the card */ endAt?: string | Expression; /** The label IDs attached to the card */ labelIds?: string | Expression | PlaceholderValue; /** The new list ID of the card (move operation). Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ listId?: string | Expression; /** The new list of member IDs attached to the card. Choose from the list, or specify IDs using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. * @default [] */ members?: string[]; /** The new over time field of the card * @default false */ isOverTime?: boolean | Expression; /** The parent of the card. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ parentId?: string | Expression; /** The new received at field of the card */ receivedAt?: string | Expression; /** The internally used sort value of a card * @default 0 */ sort?: number | Expression; /** The new spent time field of the card */ spentTime?: number | Expression; /** The new start at field of the card */ startAt?: string | Expression; /** The new swimlane ID of the card. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ swimlaneId?: string | Expression; /** The new title of the card */ title?: string | Expression | PlaceholderValue; }; }; export type WekanV1CardUpdateNode = { type: 'n8n-nodes-base.wekan'; version: 1; credentials?: Credentials; config: NodeConfig; };