Interface TodoistV1NodeParameters

Source
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 authentication?: "apiKey" | "oAuth2"

Default: "apiKey"

Source§

readonly commands?: string

Sync body Default: "[]"

Source§

readonly content?: string

Task content Type options: {"rows":5}

Source§

readonly filters?: {
    filter?: string;
    ids?: string;
    labelId?: string;
    lang?: string;
    parentId?: string;
    projectId?: string;
    sectionId?: string;
}

Default: {}

Source§

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

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"

Default: "create"

Source§

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 }

The project you want to operate on. Choose from the list, or specify an ID. Default: {"mode":"list","value":""}

Source§

readonly resource?: "task"

Default: "task"

Source§

readonly returnAll?: boolean

Whether to return all results or only up to a given limit

Source§

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"]}

Source§

readonly taskId?: string

Source§

readonly updateFields?: {
    content?: string;
    description?: string;
    dueDateTime?: string;
    dueLang?: string;
    dueString?: string;
    labels?: unknown[];
    priority?: number;
}

Default: {}