interface WekanNodeParameters {
additionalFields?:
| {
color?: | "belize"
| "midnight"
| "nephritis"
| "pomegranate"
| "pumpkin"
| "wisteria";
isActive?: boolean;
isAdmin?: boolean;
isCommentOnly?: boolean;
isNoComments?: boolean;
isWorker?: boolean;
permission?: "public"
| "private";
}
| {
assignees?: unknown[];
description?: string;
members?: unknown[];
};
authorId?: string;
boardId?: string;
cardId?: string;
checklistId?: string;
checklistItemId?: string;
comment?: string;
commentId?: string;
fromObject?: "list"
| "swimlane";
IdUser?: string;
items?: string;
limit?: number;
listId?: string;
operation?:
| "create"
| "get"
| "getAll"
| "update"
| "delete";
owner?: string;
resource?: | "list"
| "checklist"
| "checklistItem"
| "board"
| "card"
| "cardComment";
returnAll?: boolean;
swimlaneId?: string;
title?: string;
updateFields?: | {
assignees?: unknown[];
authorId?: string;
color?: | "gray"
| "orange"
| "yellow"
| "green"
| "blue"
| "purple"
| "pink"
| "red"
| "magenta"
| "black"
| "lime"
| "sky"
| "crimson"
| "darkgreen"
| "gold"
| "indigo"
| "mistyrose"
| "navy"
| "paleturquoise"
| "peachpuff"
| "plum"
| "saddlebrown"
| "silver"
| "slateblue"
| "white";
description?: string;
dueAt?: string;
endAt?: string;
isOverTime?: boolean;
labelIds?: string;
listId?: string;
members?: unknown[];
parentId?: string;
receivedAt?: string;
sort?: number;
spentTime?: number;
startAt?: string;
swimlaneId?: string;
title?: string;
}
| { isFinished?: boolean; title?: string };
}Properties§
readonly additional Fields?:
| {
color?: | "belize"
| "midnight"
| "nephritis"
| "pomegranate"
| "pumpkin"
| "wisteria";
isActive?: boolean;
isAdmin?: boolean;
isCommentOnly?: boolean;
isNoComments?: boolean;
isWorker?: boolean;
permission?: "public"
| "private";
}
| {
assignees?: unknown[];
description?: string;
members?: unknown[];
}Choose from the list, or specify an ID using an expression Type options: {"loadOptionsMethod":"getUsers"}
readonly board Id?: stringThe ID of the board to delete
readonly card Id?: stringThe ID of the card to delete. Choose from the list, or specify an ID using an expression. Type options: {"loadOptionsMethod":"getCards","loadOptionsDependsOn":["boardId","listId"]}
readonly checklist Id?: stringThe ID of the checklist to delete. Choose from the list, or specify an ID using an expression. Type options: {"loadOptionsMethod":"getChecklists","loadOptionsDependsOn":["boardId","cardId"]}
readonly checklist Item Id?: stringThe ID of the checklistItem item to get. Choose from the list, or specify an ID using an expression. Type options: {"loadOptionsMethod":"getChecklistItems","loadOptionsDependsOn":["boardId","cardId","checklistId"]}
readonly comment?: stringThe comment text
readonly comment Id?: stringThe ID of the comment to delete. Choose from the list, or specify an ID using an expression. Type options: {"loadOptionsMethod":"getComments","loadOptionsDependsOn":["boardId","cardId"]}
readonly from Object?: "list" | "swimlane"§readonly Id User?: stringThe ID of the user that boards are attached. Choose from the list, or specify an ID using an expression. Type options: {"loadOptionsMethod":"getUsers"}
readonly items?: stringItems to be added to the checklist Default: [] Type options: {"multipleValues":true,"multipleValueButtonText":"Add Item"}
readonly limit?: numberMax number of results to return Default: 100 Type options: {"minValue":1,"maxValue":200}
readonly list Id?: stringThe ID of the list to create card in. Choose from the list, or specify an ID using an expression. Type options: {"loadOptionsMethod":"getLists","loadOptionsDependsOn":["boardId"]}
readonly operation?: "create" | "get" | "getAll" | "update" | "delete"Default: "create"
readonly owner?: stringThe user ID in Wekan. Choose from the list, or specify an ID using an expression. Type options: {"loadOptionsMethod":"getUsers"}
readonly resource?:
| "list"
| "checklist"
| "checklistItem"
| "board"
| "card"
| "cardComment"Default: "card"
readonly return All?: booleanWhether to return all results or only up to a given limit
readonly swimlane Id?: stringThe swimlane ID of the new card. Choose from the list, or specify an ID using an expression. Type options: {"loadOptionsMethod":"getSwimlanes","loadOptionsDependsOn":["boardId"]}
readonly title?: stringThe title of the board
readonly update Fields?:
| {
assignees?: unknown[];
authorId?: string;
color?: | "gray"
| "orange"
| "yellow"
| "green"
| "blue"
| "purple"
| "pink"
| "red"
| "magenta"
| "black"
| "lime"
| "sky"
| "crimson"
| "darkgreen"
| "gold"
| "indigo"
| "mistyrose"
| "navy"
| "paleturquoise"
| "peachpuff"
| "plum"
| "saddlebrown"
| "silver"
| "slateblue"
| "white";
description?: string;
dueAt?: string;
endAt?: string;
isOverTime?: boolean;
labelIds?: string;
listId?: string;
members?: unknown[];
parentId?: string;
receivedAt?: string;
sort?: number;
spentTime?: number;
startAt?: string;
swimlaneId?: string;
title?: string;
}
| { isFinished?: boolean; title?: string }Default: {}
Default: {}