Interface ZammadNodeParameters

Source
interface ZammadNodeParameters {
    additionalFields?:
        | {
            active?: boolean;
            customFieldsUi?: {
                customFieldPairs: {
                    name?: string;
                    value?: string;
                }[];
            };
            note?: string;
        }
        | {
            active?: boolean;
            customFieldsUi?: {
                customFieldPairs: {
                    name?: string;
                    value?: string;
                }[];
            };
            domain?: string;
            domain_assignment?: boolean;
            note?: string;
            shared?: boolean;
            vip?: boolean;
        }
        | {
            customFieldsUi?: {
                customFieldPairs: {
                    name?: string;
                    value?: string;
                }[];
            };
        }
        | {
            active?: boolean;
            addressUi?: {
                addressDetails: {
                    address?: string;
                    city?: string;
                    country?: string;
                    zip?: string;
                };
            };
            customFieldsUi?: {
                customFieldPairs: {
                    name?: string;
                    value?: string;
                }[];
            };
            department?: string;
            email?: string;
            fax?: string;
            mobile?: string;
            note?: string;
            organization?: string;
            phone?: string;
            verified?: boolean;
            vip?: boolean;
            web?: string;
        };
    article?: {
        articleDetails: {
            body?: string;
            reply_to?: string;
            sender?: "Customer"
            | "Agent"
            | "System";
            subject?: string;
            type?:
                | "email"
                | "note"
                | "phone"
                | "chat"
                | "fax"
                | "sms";
            visibility?: "internal"
            | "external";
        };
    };
    authentication?: "basicAuth"
    | "tokenAuth";
    customer?: string;
    filters?: {
        query?: string;
        sortUi?: {
            sortDetails: {
                order_by?: "asc" | "desc";
                sort_by?: string;
            };
        };
    };
    firstname?: string;
    group?: string;
    id?: string;
    lastname?: string;
    limit?: number;
    name?: string;
    operation?: | "create"
    | "get"
    | "getAll"
    | "update"
    | "delete"
    | "getSelf";
    query?: string;
    resource?: "organization"
    | "user"
    | "group"
    | "ticket";
    returnAll?: boolean;
    title?: string;
    updateFields?:
        | {
            active?: boolean;
            customFieldsUi?: {
                customFieldPairs: {
                    name?: string;
                    value?: string;
                }[];
            };
            name?: string;
            note?: string;
        }
        | {
            active?: boolean;
            customFieldsUi?: {
                customFieldPairs: {
                    name?: string;
                    value?: string;
                }[];
            };
            domain?: string;
            domain_assignment?: boolean;
            note?: string;
            shared?: boolean;
            vip?: boolean;
        }
        | {
            active?: boolean;
            addressUi?: {
                addressDetails: {
                    address?: string;
                    city?: string;
                    country?: string;
                    zip?: string;
                };
            };
            customFieldsUi?: {
                customFieldPairs: {
                    name?: string;
                    value?: string;
                }[];
            };
            department?: string;
            email?: string;
            fax?: string;
            firstname?: string;
            lastname?: string;
            mobile?: string;
            note?: string;
            organization?: string;
            phone?: string;
            verified?: boolean;
            vip?: boolean;
            web?: string;
        };
}

Properties§

Source§

readonly additionalFields?:
    | {
        active?: boolean;
        customFieldsUi?: {
            customFieldPairs: {
                name?: string;
                value?: string;
            }[];
        };
        note?: string;
    }
    | {
        active?: boolean;
        customFieldsUi?: {
            customFieldPairs: {
                name?: string;
                value?: string;
            }[];
        };
        domain?: string;
        domain_assignment?: boolean;
        note?: string;
        shared?: boolean;
        vip?: boolean;
    }
    | {
        customFieldsUi?: {
            customFieldPairs: {
                name?: string;
                value?: string;
            }[];
        };
    }
    | {
        active?: boolean;
        addressUi?: {
            addressDetails: {
                address?: string;
                city?: string;
                country?: string;
                zip?: string;
            };
        };
        customFieldsUi?: {
            customFieldPairs: {
                name?: string;
                value?: string;
            }[];
        };
        department?: string;
        email?: string;
        fax?: string;
        mobile?: string;
        note?: string;
        organization?: string;
        phone?: string;
        verified?: boolean;
        vip?: boolean;
        web?: string;
    }

Default: {}

Source§

readonly article?: {
    articleDetails: {
        body?: string;
        reply_to?: string;
        sender?: "Customer" | "Agent" | "System";
        subject?: string;
        type?:
            | "email"
            | "note"
            | "phone"
            | "chat"
            | "fax"
            | "sms";
        visibility?: "internal"
        | "external";
    };
}

Default: {}

Source§

readonly authentication?: "basicAuth" | "tokenAuth"

Default: "tokenAuth"

Source§

readonly customer?: string

Email address of the customer concerned in the ticket to create. Choose from the list, or specify an ID using an expression. Type options: {"loadOptionsMethod":"loadCustomerEmails"}

Source§

readonly filters?: {
    query?: string;
    sortUi?: {
        sortDetails: {
            order_by?: "asc" | "desc";
            sort_by?: string;
        };
    };
}

Default: {}

Source§

readonly firstname?: string

Source§

readonly group?: string

Group that will own the ticket to create. Choose from the list, or specify an ID using an expression. Type options: {"loadOptionsMethod":"loadGroupNames"}

Source§

readonly id?: string

Group to update. Specify an ID using an expression.

Source§

readonly lastname?: string

Source§

readonly limit?: number

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

Source§

readonly name?: string

Source§

readonly operation?:
    | "create"
    | "get"
    | "getAll"
    | "update"
    | "delete"
    | "getSelf"

Default: "create"

Source§

readonly query?: string

Source§

readonly resource?: "organization" | "user" | "group" | "ticket"

Default: "user"

Source§

readonly returnAll?: boolean

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

Source§

readonly title?: string

Title of the ticket to create

Source§

readonly updateFields?:
    | {
        active?: boolean;
        customFieldsUi?: {
            customFieldPairs: {
                name?: string;
                value?: string;
            }[];
        };
        name?: string;
        note?: string;
    }
    | {
        active?: boolean;
        customFieldsUi?: {
            customFieldPairs: {
                name?: string;
                value?: string;
            }[];
        };
        domain?: string;
        domain_assignment?: boolean;
        note?: string;
        shared?: boolean;
        vip?: boolean;
    }
    | {
        active?: boolean;
        addressUi?: {
            addressDetails: {
                address?: string;
                city?: string;
                country?: string;
                zip?: string;
            };
        };
        customFieldsUi?: {
            customFieldPairs: {
                name?: string;
                value?: string;
            }[];
        };
        department?: string;
        email?: string;
        fax?: string;
        firstname?: string;
        lastname?: string;
        mobile?: string;
        note?: string;
        organization?: string;
        phone?: string;
        verified?: boolean;
        vip?: boolean;
        web?: string;
    }

Default: {}