interface TodoistV2NodeParameters {
authentication?: "apiKey" | "oAuth2";
commentContent?: string;
commentFilters?: {
project_id?: string;
task_id?: string;
};
commentId?: string;
commentTaskId?: string;
commentUpdateFields?: { content?: string };
content?: string;
date?: string;
datetime?: string;
dueDateType?:
| "natural_language"
| "full_day"
| "floating_time"
| "fixed_timezone";
filters?: {
filter?: string;
ids?: string;
labelId?: string;
lang?: string;
parentId?: string;
projectId?: string;
sectionId?: string;
};
itemId?: string;
labelId?: string;
labelName?: string;
labelOptions?: {
color?: | "orange"
| "yellow"
| "green"
| "blue"
| "red"
| "berry_red"
| "olive_green"
| "lime_green"
| "mint_green"
| "teal"
| "sky_blue"
| "light_blue"
| "grape"
| "violet"
| "lavender"
| "magenta"
| "salmon"
| "charcoal"
| "grey"
| "taupe";
is_favorite?: boolean;
order?: number;
};
labels?: unknown[];
labelUpdateFields?: {
color?: | "orange"
| "yellow"
| "green"
| "blue"
| "red"
| "berry_red"
| "olive_green"
| "lime_green"
| "mint_green"
| "teal"
| "sky_blue"
| "light_blue"
| "grape"
| "violet"
| "lavender"
| "magenta"
| "salmon"
| "charcoal"
| "grey"
| "taupe";
is_favorite?: boolean;
name?: string;
order?: number;
};
limit?: number;
name?: string;
natural_language_representation?: string;
operation?: | "create"
| "get"
| "getAll"
| "update"
| "delete"
| "close"
| "move"
| "archive"
| "unarchive"
| "reopen"
| "quickAdd"
| "getCollaborators";
options?: | { parent?: string; section?: string }
| {
auto_reminder?: boolean;
note?: string;
reminder?: string;
}
| {
assigneeId?: string;
deadlineDate?: string;
description?: string;
dueDate?: string;
dueDateTime?: string;
dueLang?: string;
dueString?: string;
duration?: number;
durationUnit?: "day"
| "minute";
order?: number;
parentId?: string;
priority?: number;
section?: string;
};
project?: { mode: "id"
| "list"; value: string };
projectId?: string;
projectOptions?: {
color?:
| "orange"
| "yellow"
| "green"
| "blue"
| "red"
| "berry_red"
| "olive_green"
| "lime_green"
| "mint_green"
| "teal"
| "sky_blue"
| "light_blue"
| "grape"
| "violet"
| "lavender"
| "magenta"
| "salmon"
| "charcoal"
| "grey"
| "taupe";
is_favorite?: boolean;
parent_id?: string;
view_style?: "list"
| "board";
};
projectUpdateFields?: {
color?: | "orange"
| "yellow"
| "green"
| "blue"
| "red"
| "berry_red"
| "olive_green"
| "lime_green"
| "mint_green"
| "teal"
| "sky_blue"
| "light_blue"
| "grape"
| "violet"
| "lavender"
| "magenta"
| "salmon"
| "charcoal"
| "grey"
| "taupe";
is_favorite?: boolean;
name?: string;
view_style?: "list"
| "board";
};
reminderId?: string;
reminderOptions?: {
minute_offset?: number;
notify_uid?: string;
type?: "relative"
| "absolute";
};
reminderUpdateFields?: {
due?: {
date?: string;
datetime?: string;
string?: string;
timezone?: string;
};
minute_offset?: number;
notify_uid?: string;
type?: "relative"
| "absolute";
};
resource?: | "comment"
| "project"
| "task"
| "label"
| "reminder"
| "section";
returnAll?: boolean;
section?: string;
sectionFilters?: { project_id?: string };
sectionId?: string;
sectionName?: string;
sectionOptions?: { order?: number };
sectionProject?: { mode: "id" | "list"; value: string };
sectionUpdateFields?: { name?: string };
taskId?: string;
text?: string;
timezone?: string;
updateFields?: {
assigneeId?: string;
content?: string;
deadlineDate?: string;
description?: string;
dueDate?: string;
dueDateTime?: string;
dueLang?: string;
dueString?: string;
duration?: number;
durationUnit?: "day" | "minute";
labels?: unknown[];
order?: number;
priority?: number;
};
}
Properties§
Source§readonly due Date Type?:
| "natural_language"
| "full_day"
| "floating_time"
| "fixed_timezone"
readonly due Date Type?:
| "natural_language"
| "full_day"
| "floating_time"
| "fixed_timezone"
How to specify when the reminder should trigger Default: "natural_language"
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 label Options?: {
color?:
| "orange"
| "yellow"
| "green"
| "blue"
| "red"
| "berry_red"
| "olive_green"
| "lime_green"
| "mint_green"
| "teal"
| "sky_blue"
| "light_blue"
| "grape"
| "violet"
| "lavender"
| "magenta"
| "salmon"
| "charcoal"
| "grey"
| "taupe";
is_favorite?: boolean;
order?: number;
}
readonly label Options?: {
color?:
| "orange"
| "yellow"
| "green"
| "blue"
| "red"
| "berry_red"
| "olive_green"
| "lime_green"
| "mint_green"
| "teal"
| "sky_blue"
| "light_blue"
| "grape"
| "violet"
| "lavender"
| "magenta"
| "salmon"
| "charcoal"
| "grey"
| "taupe";
is_favorite?: boolean;
order?: number;
}
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 label Update Fields?: {
color?:
| "orange"
| "yellow"
| "green"
| "blue"
| "red"
| "berry_red"
| "olive_green"
| "lime_green"
| "mint_green"
| "teal"
| "sky_blue"
| "light_blue"
| "grape"
| "violet"
| "lavender"
| "magenta"
| "salmon"
| "charcoal"
| "grey"
| "taupe";
is_favorite?: boolean;
name?: string;
order?: number;
}
readonly label Update Fields?: {
color?:
| "orange"
| "yellow"
| "green"
| "blue"
| "red"
| "berry_red"
| "olive_green"
| "lime_green"
| "mint_green"
| "teal"
| "sky_blue"
| "light_blue"
| "grape"
| "violet"
| "lavender"
| "magenta"
| "salmon"
| "charcoal"
| "grey"
| "taupe";
is_favorite?: boolean;
name?: string;
order?: number;
}
Default: {}
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"
| "archive"
| "unarchive"
| "reopen"
| "quickAdd"
| "getCollaborators"
readonly operation?:
| "create"
| "get"
| "getAll"
| "update"
| "delete"
| "close"
| "move"
| "archive"
| "unarchive"
| "reopen"
| "quickAdd"
| "getCollaborators"
Default: "create"
Source§readonly options?:
| { parent?: string; section?: string }
| {
auto_reminder?: boolean;
note?: string;
reminder?: string;
}
| {
assigneeId?: string;
deadlineDate?: string;
description?: string;
dueDate?: string;
dueDateTime?: string;
dueLang?: string;
dueString?: string;
duration?: number;
durationUnit?: "day"
| "minute";
order?: number;
parentId?: string;
priority?: number;
section?: string;
}
readonly options?:
| { parent?: string; section?: string }
| {
auto_reminder?: boolean;
note?: string;
reminder?: string;
}
| {
assigneeId?: string;
deadlineDate?: string;
description?: string;
dueDate?: string;
dueDateTime?: string;
dueLang?: string;
dueString?: string;
duration?: number;
durationUnit?: "day"
| "minute";
order?: number;
parentId?: string;
priority?: number;
section?: string;
}
Default: {}
Source§readonly project?: { mode: "id" | "list"; value: string }
readonly project?: { mode: "id" | "list"; value: string }
The destination project. Choose from the list, or specify an ID. Default: {"mode":"list","value":""}
Source§readonly project Options?: {
color?:
| "orange"
| "yellow"
| "green"
| "blue"
| "red"
| "berry_red"
| "olive_green"
| "lime_green"
| "mint_green"
| "teal"
| "sky_blue"
| "light_blue"
| "grape"
| "violet"
| "lavender"
| "magenta"
| "salmon"
| "charcoal"
| "grey"
| "taupe";
is_favorite?: boolean;
parent_id?: string;
view_style?: "list"
| "board";
}
readonly project Options?: {
color?:
| "orange"
| "yellow"
| "green"
| "blue"
| "red"
| "berry_red"
| "olive_green"
| "lime_green"
| "mint_green"
| "teal"
| "sky_blue"
| "light_blue"
| "grape"
| "violet"
| "lavender"
| "magenta"
| "salmon"
| "charcoal"
| "grey"
| "taupe";
is_favorite?: boolean;
parent_id?: string;
view_style?: "list"
| "board";
}
Default: {}
Source§readonly project Update Fields?: {
color?:
| "orange"
| "yellow"
| "green"
| "blue"
| "red"
| "berry_red"
| "olive_green"
| "lime_green"
| "mint_green"
| "teal"
| "sky_blue"
| "light_blue"
| "grape"
| "violet"
| "lavender"
| "magenta"
| "salmon"
| "charcoal"
| "grey"
| "taupe";
is_favorite?: boolean;
name?: string;
view_style?: "list"
| "board";
}
readonly project Update Fields?: {
color?:
| "orange"
| "yellow"
| "green"
| "blue"
| "red"
| "berry_red"
| "olive_green"
| "lime_green"
| "mint_green"
| "teal"
| "sky_blue"
| "light_blue"
| "grape"
| "violet"
| "lavender"
| "magenta"
| "salmon"
| "charcoal"
| "grey"
| "taupe";
is_favorite?: boolean;
name?: string;
view_style?: "list"
| "board";
}
Default: {}
Source§readonly reminder Options?: {
minute_offset?: number;
notify_uid?: string;
type?: "relative" | "absolute";
}
readonly reminder Options?: {
minute_offset?: number;
notify_uid?: string;
type?: "relative" | "absolute";
}
Default: {}
Source§readonly reminder Update Fields?: {
due?: {
date?: string;
datetime?: string;
string?: string;
timezone?: string;
};
minute_offset?: number;
notify_uid?: string;
type?: "relative"
| "absolute";
}
readonly reminder Update Fields?: {
due?: {
date?: string;
datetime?: string;
string?: string;
timezone?: string;
};
minute_offset?: number;
notify_uid?: string;
type?: "relative"
| "absolute";
}
Default: {}
Source§readonly resource?:
| "comment"
| "project"
| "task"
| "label"
| "reminder"
| "section"
readonly resource?:
| "comment"
| "project"
| "task"
| "label"
| "reminder"
| "section"
Default: "task"
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.value"]}
Source§readonly section Project?: { mode: "id" | "list"; value: string }
readonly section Project?: { mode: "id" | "list"; value: string }
The project to add the section to Default: {"mode":"list","value":""}
Source§readonly update Fields?: {
assigneeId?: string;
content?: string;
deadlineDate?: string;
description?: string;
dueDate?: string;
dueDateTime?: string;
dueLang?: string;
dueString?: string;
duration?: number;
durationUnit?: "day" | "minute";
labels?: unknown[];
order?: number;
priority?: number;
}
readonly update Fields?: {
assigneeId?: string;
content?: string;
deadlineDate?: string;
description?: string;
dueDate?: string;
dueDateTime?: string;
dueLang?: string;
dueString?: string;
duration?: number;
durationUnit?: "day" | "minute";
labels?: unknown[];
order?: number;
priority?: number;
}
Default: {}
Default: "apiKey"