Interface FreshdeskNodeParameters

Source
interface FreshdeskNodeParameters {
    additionalFields?: {
        address?: string;
        company_id?: number;
        customFields?: {
            customField: { name?: string; value?: string }[];
        };
        description?: string;
        email?: string;
        job_title?: string;
        language?: string;
        mobile?: string;
        name?: string;
        other_companies?: string;
        other_emails?: string;
        phone?: string;
        tags?: string;
        time_zone?: string;
        twitter_id?: string;
        unique_external_id?: string;
        view_all_tickets?: boolean;
    };
    contactId?: string;
    email?: string;
    filters?: {
        company_id?: number;
        email?: string;
        mobile?: string;
        phone?: string;
        state?: | "deleted"
        | "blocked"
        | "unverified"
        | "verified";
        updated_since?: string;
    };
    limit?: number;
    name?: string;
    operation?: | "create"
    | "get"
    | "getAll"
    | "update"
    | "delete";
    options?: | {
        agent?: string;
        ccEmails?: string;
        company?: string;
        description?: string;
        dueBy?: string;
        emailConfigId?: number;
        frDueBy?: string;
        group?: string;
        name?: string;
        product?: string;
        subject?: string;
        tags?: string;
        type?: | "Feature Request"
        | "Incident"
        | "Problem"
        | "Question"
        | "Refund";
    }
    | {
        companyId?: string;
        include?: (
            "company"
            | "description"
            | "requester"
            | "stats"
        )[];
        order?: "asc" | "desc";
        orderBy?: "createdAt" | "updatedAt" | "dueBy";
        requesterEmail?: string;
        requesterId?: string;
        updatedSince?: string;
    };
    priority?: "low"
    | "high"
    | "medium"
    | "urgent";
    requester?:
        | "email"
        | "facebookId"
        | "phone"
        | "requesterId"
        | "twitterId"
        | "uniqueExternalId";
    requesterIdentificationValue?: string;
    resource?: "contact"
    | "ticket";
    returnAll?: boolean;
    source?:
        | "email"
        | "phone"
        | "chat"
        | "feedbackWidget"
        | "mobileHelp"
        | "OutboundEmail"
        | "portal";
    status?: "open"
    | "pending"
    | "closed"
    | "resolved";
    ticketId?: string;
    updateFields?: {
        agent?: string;
        ccEmails?: string;
        company?: string;
        dueBy?: string;
        emailConfigId?: number;
        frDueBy?: string;
        group?: string;
        name?: string;
        priority?: "low" | "high" | "medium" | "urgent";
        product?: string;
        requester?:
            | "email"
            | "facebookId"
            | "phone"
            | "requesterId"
            | "twitterId"
            | "uniqueExternalId";
        requesterIdentificationValue?: string;
        source?: | "email"
        | "phone"
        | "chat"
        | "feedbackWidget"
        | "mobileHelp"
        | "OutboundEmail"
        | "portal";
        status?: "open"
        | "pending"
        | "closed"
        | "resolved";
        tags?: string;
        type?:
            | "Feature Request"
            | "Incident"
            | "Problem"
            | "Question"
            | "Refund";
    };
}

Properties§

Source§

readonly additionalFields?: {
    address?: string;
    company_id?: number;
    customFields?: {
        customField: { name?: string; value?: string }[];
    };
    description?: string;
    email?: string;
    job_title?: string;
    language?: string;
    mobile?: string;
    name?: string;
    other_companies?: string;
    other_emails?: string;
    phone?: string;
    tags?: string;
    time_zone?: string;
    twitter_id?: string;
    unique_external_id?: string;
    view_all_tickets?: boolean;
}

Default: {}

Source§

readonly contactId?: string

Source§

readonly email?: string

Primary email address of the contact. If you want to associate additional email(s) with this contact, use the other_emails attribute.

Source§

readonly filters?: {
    company_id?: number;
    email?: string;
    mobile?: string;
    phone?: string;
    state?:
        | "deleted"
        | "blocked"
        | "unverified"
        | "verified";
    updated_since?: string;
}

Default: {}

Source§

readonly limit?: number

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

Source§

readonly name?: string

Name of the contact

Source§

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

Default: "create"

Source§

readonly options?:
    | {
        agent?: string;
        ccEmails?: string;
        company?: string;
        description?: string;
        dueBy?: string;
        emailConfigId?: number;
        frDueBy?: string;
        group?: string;
        name?: string;
        product?: string;
        subject?: string;
        tags?: string;
        type?: | "Feature Request"
        | "Incident"
        | "Problem"
        | "Question"
        | "Refund";
    }
    | {
        companyId?: string;
        include?: (
            "company"
            | "description"
            | "requester"
            | "stats"
        )[];
        order?: "asc" | "desc";
        orderBy?: "createdAt" | "updatedAt" | "dueBy";
        requesterEmail?: string;
        requesterId?: string;
        updatedSince?: string;
    }

Default: {}

Source§

readonly priority?: "low" | "high" | "medium" | "urgent"

Default: "low"

Source§

readonly requester?:
    | "email"
    | "facebookId"
    | "phone"
    | "requesterId"
    | "twitterId"
    | "uniqueExternalId"

Default: "requesterId"

Source§

readonly requesterIdentificationValue?: string

Value of the identification selected

Source§

readonly resource?: "contact" | "ticket"

Default: "ticket"

Source§

readonly returnAll?: boolean

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

Source§

readonly source?:
    | "email"
    | "phone"
    | "chat"
    | "feedbackWidget"
    | "mobileHelp"
    | "OutboundEmail"
    | "portal"

The channel through which the ticket was created Default: "portal"

Source§

readonly status?: "open" | "pending" | "closed" | "resolved"

Default: "pending"

Source§

readonly ticketId?: string

Source§

readonly updateFields?: {
    agent?: string;
    ccEmails?: string;
    company?: string;
    dueBy?: string;
    emailConfigId?: number;
    frDueBy?: string;
    group?: string;
    name?: string;
    priority?: "low" | "high" | "medium" | "urgent";
    product?: string;
    requester?:
        | "email"
        | "facebookId"
        | "phone"
        | "requesterId"
        | "twitterId"
        | "uniqueExternalId";
    requesterIdentificationValue?: string;
    source?: | "email"
    | "phone"
    | "chat"
    | "feedbackWidget"
    | "mobileHelp"
    | "OutboundEmail"
    | "portal";
    status?: "open"
    | "pending"
    | "closed"
    | "resolved";
    tags?: string;
    type?:
        | "Feature Request"
        | "Incident"
        | "Problem"
        | "Question"
        | "Refund";
}

Default: {}