Interface TrelloNodeParameters

Source
interface TrelloNodeParameters {
    additionalFields?:
        | { mimeType?: string; name?: string }
        | { fields?: string }
        | {
            defaultLabels?: boolean;
            defaultLists?: boolean;
            idBoardSource?: string;
            idOrganization?: string;
            keepFromSource?: string;
            powerUps?:
                | "all"
                | "calendar"
                | "cardAging"
                | "recap"
                | "voting";
            prefs_background?: string;
            prefs_cardAging?: "pirate"
            | "regular";
            prefs_cardCovers?: boolean;
            prefs_comments?:
                | "public"
                | "disabled"
                | "members"
                | "observers"
                | "org";
            prefs_invitations?: "members"
            | "admins";
            prefs_permissionLevel?: "public" | "private" | "org";
            prefs_selfJoin?: boolean;
            prefs_voting?:
                | "public"
                | "disabled"
                | "members"
                | "observers"
                | "org";
        }
        | { fields?: string; pluginData?: boolean }
        | { allowBillableGuest?: boolean }
        | {
            fullName?: string;
            type?: "admin" | "normal" | "observer";
        }
        | {
            due?: string;
            dueComplete?: boolean;
            idCardSource?: string;
            idLabels?: string;
            idMembers?: string;
            keepFromSource?: string;
            pos?: string;
            urlSource?: string;
        }
        | {
            board?: boolean;
            board_fields?: string;
            customFieldItems?: boolean;
            fields?: string;
            member_fields?: string;
            members?: boolean;
            pluginData?: boolean;
            sticker_fields?: string;
            stickers?: boolean;
        }
        | { idChecklistSource?: string; pos?: string }
        | { checked?: boolean; pos?: string }
        | {
            checklistId?: string;
            name?: string;
            pos?: string;
            state?: "complete" | "incomplete";
        }
        | { idListSource?: string; pos?: string };
    archive?: boolean;
    boardId?: {
        mode: "id" | "list" | "url";
        value: string;
    };
    cardId?: { mode: "id"
    | "list"
    | "url"; value: string };
    checkItemId?: string;
    checklistId?: string;
    color?:
        | "null"
        | "orange"
        | "yellow"
        | "green"
        | "blue"
        | "purple"
        | "pink"
        | "red"
        | "black"
        | "lime"
        | "sky";
    commentId?: string;
    description?: string;
    email?: string;
    id?: | string
    | { mode: "id"
    | "list"
    | "url"; value: string };
    idBoard?: string;
    idMember?: string;
    limit?: number;
    listId?: string;
    name?: string;
    operation?:
        | "create"
        | "get"
        | "getAll"
        | "update"
        | "add"
        | "remove"
        | "delete"
        | "invite"
        | "archive"
        | "createCheckItem"
        | "deleteCheckItem"
        | "getCheckItem"
        | "completedCheckItems"
        | "updateCheckItem"
        | "addLabel"
        | "removeLabel"
        | "getCards";
    resource?: | "list"
    | "checklist"
    | "label"
    | "attachment"
    | "board"
    | "boardMember"
    | "card"
    | "cardComment";
    returnAll?: boolean;
    text?: string;
    type?: "admin"
    | "normal"
    | "observer";
    updateFields?:
        | {
            closed?: boolean;
            desc?: string;
            idOrganization?: string;
            name?: string;
            subscribed?: boolean;
        }
        | {
            closed?: boolean;
            desc?: string;
            due?: string;
            dueComplete?: boolean;
            idAttachmentCover?: string;
            idBoard?: string;
            idLabels?: string;
            idList?: string;
            idMembers?: string;
            name?: string;
            pos?: string;
            subscribed?: boolean;
        }
        | {
            color?: | "null"
            | "orange"
            | "yellow"
            | "green"
            | "blue"
            | "purple"
            | "pink"
            | "red"
            | "black"
            | "lime"
            | "sky";
            name?: string;
        }
        | {
            closed?: boolean;
            idBoard?: string;
            name?: string;
            pos?: string;
            subscribed?: boolean;
        };
    url?: string;
}

Properties§

Source§

readonly additionalFields?:
    | { mimeType?: string; name?: string }
    | { fields?: string }
    | {
        defaultLabels?: boolean;
        defaultLists?: boolean;
        idBoardSource?: string;
        idOrganization?: string;
        keepFromSource?: string;
        powerUps?:
            | "all"
            | "calendar"
            | "cardAging"
            | "recap"
            | "voting";
        prefs_background?: string;
        prefs_cardAging?: "pirate"
        | "regular";
        prefs_cardCovers?: boolean;
        prefs_comments?:
            | "public"
            | "disabled"
            | "members"
            | "observers"
            | "org";
        prefs_invitations?: "members"
        | "admins";
        prefs_permissionLevel?: "public" | "private" | "org";
        prefs_selfJoin?: boolean;
        prefs_voting?:
            | "public"
            | "disabled"
            | "members"
            | "observers"
            | "org";
    }
    | { fields?: string; pluginData?: boolean }
    | { allowBillableGuest?: boolean }
    | {
        fullName?: string;
        type?: "admin" | "normal" | "observer";
    }
    | {
        due?: string;
        dueComplete?: boolean;
        idCardSource?: string;
        idLabels?: string;
        idMembers?: string;
        keepFromSource?: string;
        pos?: string;
        urlSource?: string;
    }
    | {
        board?: boolean;
        board_fields?: string;
        customFieldItems?: boolean;
        fields?: string;
        member_fields?: string;
        members?: boolean;
        pluginData?: boolean;
        sticker_fields?: string;
        stickers?: boolean;
    }
    | { idChecklistSource?: string; pos?: string }
    | { checked?: boolean; pos?: string }
    | {
        checklistId?: string;
        name?: string;
        pos?: string;
        state?: "complete" | "incomplete";
    }
    | { idListSource?: string; pos?: string }

Default: {}

Source§

readonly archive?: boolean

Whether the list should be archived or unarchived

Source§

readonly boardId?: { mode: "id" | "list" | "url"; value: string }

The ID of the board Default: {"mode":"list","value":""}

Source§

readonly cardId?: { mode: "id" | "list" | "url"; value: string }

The ID of the card Default: {"mode":"list","value":""}

Source§

readonly checkItemId?: string

The ID of the checklist item to delete

Source§

readonly checklistId?: string

The ID of the checklist to update

Source§

readonly color?:
    | "null"
    | "orange"
    | "yellow"
    | "green"
    | "blue"
    | "purple"
    | "pink"
    | "red"
    | "black"
    | "lime"
    | "sky"

The color for the label Default: "null"

Source§

readonly commentId?: string

The ID of the comment to delete

Source§

readonly description?: string

The description of the board

Source§

readonly email?: string

The ID of the board to update

Source§

readonly id?: string | { mode: "id" | "list" | "url"; value: string }

The ID of the attachment to delete

Source§

readonly idBoard?: string

The ID of the board the list should be created in

Source§

readonly idMember?: string

The ID of the member to add to the board

Source§

readonly limit?: number

Max number of results to return Default: 20 Type options: {"minValue":1}

Source§

readonly listId?: string

The ID of the list to create card in

Source§

readonly name?: string

The name of the board

Source§

readonly operation?:
    | "create"
    | "get"
    | "getAll"
    | "update"
    | "add"
    | "remove"
    | "delete"
    | "invite"
    | "archive"
    | "createCheckItem"
    | "deleteCheckItem"
    | "getCheckItem"
    | "completedCheckItems"
    | "updateCheckItem"
    | "addLabel"
    | "removeLabel"
    | "getCards"

Default: "getAll"

Source§

readonly resource?:
    | "list"
    | "checklist"
    | "label"
    | "attachment"
    | "board"
    | "boardMember"
    | "card"
    | "cardComment"

Default: "card"

Source§

readonly returnAll?: boolean

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

Source§

readonly text?: string

Text of the comment

Source§

readonly type?: "admin" | "normal" | "observer"

Determines the type of membership the user being added should have Default: "normal"

Source§

readonly updateFields?:
    | {
        closed?: boolean;
        desc?: string;
        idOrganization?: string;
        name?: string;
        subscribed?: boolean;
    }
    | {
        closed?: boolean;
        desc?: string;
        due?: string;
        dueComplete?: boolean;
        idAttachmentCover?: string;
        idBoard?: string;
        idLabels?: string;
        idList?: string;
        idMembers?: string;
        name?: string;
        pos?: string;
        subscribed?: boolean;
    }
    | {
        color?: | "null"
        | "orange"
        | "yellow"
        | "green"
        | "blue"
        | "purple"
        | "pink"
        | "red"
        | "black"
        | "lime"
        | "sky";
        name?: string;
    }
    | {
        closed?: boolean;
        idBoard?: string;
        name?: string;
        pos?: string;
        subscribed?: boolean;
    }

Default: {}

Source§

readonly url?: string

The URL of the attachment to add