interface TodoistV1NodeParameters {
authentication?: "apiKey" | "oAuth2";
commands?: string;
content?: string;
filters?: {
filter?: string;
ids?: string;
labelId?: string;
lang?: string;
parentId?: string;
projectId?: string;
sectionId?: string;
};
labels?: unknown[];
limit?: number;
operation?: | "create"
| "get"
| "getAll"
| "update"
| "delete"
| "close"
| "move"
| "reopen";
options?: {
description?: string;
dueDateTime?: string;
dueLang?: string;
dueString?: string;
parentId?: string;
priority?: number;
section?: string;
};
project?: { mode: "id"
| "list"; value: string };
resource?: "task";
returnAll?: boolean;
section?: string;
taskId?: string;
updateFields?: {
content?: string;
description?: string;
dueDateTime?: string;
dueLang?: string;
dueString?: string;
labels?: unknown[];
priority?: number;
};
}
Properties§
Source§readonly filters?: {
filter?: string;
ids?: string;
labelId?: string;
lang?: string;
parentId?: string;
projectId?: string;
sectionId?: string;
}
readonly filters?: {
filter?: string;
ids?: string;
labelId?: string;
lang?: string;
parentId?: string;
projectId?: string;
sectionId?: string;
}
Default: {}
Source§readonly labels?: unknown[]
readonly labels?: unknown[]
Optional labels that will be assigned to a created task. Choose from the list, or specify IDs using an expression. Default: [] Type options: {"loadOptionsMethod":"getLabels"}
Source§readonly limit?: number
readonly limit?: number
Max number of results to return Default: 50 Type options: {"minValue":1,"maxValue":500}
Source§readonly operation?:
| "create"
| "get"
| "getAll"
| "update"
| "delete"
| "close"
| "move"
| "reopen"
readonly operation?:
| "create"
| "get"
| "getAll"
| "update"
| "delete"
| "close"
| "move"
| "reopen"
Default: "create"
Source§readonly options?: {
description?: string;
dueDateTime?: string;
dueLang?: string;
dueString?: string;
parentId?: string;
priority?: number;
section?: string;
}
readonly options?: {
description?: string;
dueDateTime?: string;
dueLang?: string;
dueString?: string;
parentId?: string;
priority?: number;
section?: string;
}
Default: {}
Source§readonly project?: { mode: "id" | "list"; value: string }
readonly project?: { mode: "id" | "list"; value: string }
The project you want to operate on. Choose from the list, or specify an ID. Default: {"mode":"list","value":""}
Source§readonly section?: string
readonly section?: string
Section to which you want move the task. Choose from the list, or specify an ID using an expression. Type options: {"loadOptionsMethod":"getSections","loadOptionsDependsOn":["project"]}
Default: "apiKey"