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§

§readonly authentication?: "apiKey" | "oAuth2"

Default: "apiKey"

§readonly commands?: string

Sync body Default: "[]"

§readonly content?: string

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

§readonly filters?: { ... }

Default: {}

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

§readonly limit?: number

Max number of results to return Default: 50 Type options: {"minValue":1,"maxValue":500}

§readonly operation?:
    | "create"
    | "get"
    | "getAll"
    | "update"
    | "delete"
    | "close"
    | "move"
    | "reopen"

Default: "create"

§readonly options?: { ... }

Default: {}

§readonly project?: { ... }

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

§readonly resource?: "task"

Default: "task"

§readonly returnAll?: boolean

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

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

§readonly taskId?: string
§readonly updateFields?: { ... }

Default: {}