Interface IntercomNodeParameters

Source
interface IntercomNodeParameters {
    additionalFields?:
        | {
            avatar?: string;
            companies?: unknown[];
            email?: string;
            name?: string;
            phone?: string;
            sessionCount?: number;
            unsubscribedFromEmails?: boolean;
            updateLastRequestAt?: boolean;
            userId?: string;
            utmCampaign?: string;
            utmContent?: string;
            utmMedium?: string;
            utmSource?: string;
            utmTerm?: string;
        }
        | {
            avatar?: string;
            companies?: unknown[];
            email?: string;
            name?: string;
            phone?: string;
            unsubscribedFromEmails?: boolean;
            updateLastRequestAt?: boolean;
            utmCampaign?: string;
            utmContent?: string;
            utmMedium?: string;
            utmSource?: string;
            utmTerm?: string;
        }
        | {
            industry?: string;
            monthlySpend?: string;
            name?: string;
            plan?: string;
            size?: number;
            website?: string;
        };
    companyId?: string;
    customAttributesJson?: string;
    customAttributesUi?: {
        customAttributesValues: {
            name?: string;
            value?: string;
        }[];
    };
    deleteBy?: "id"
    | "userId";
    email?: string;
    filters?:
        | {
            company_id?: string;
            email?: string;
            segment_id?: string;
            tag_id?: string;
        }
        | { email?: string; phone?: string }
        | { segment_id?: string; tag_id?: string };
    id?: string;
    identifierType?: "email" | "userId";
    idValue?: string;
    jsonParameters?: boolean;
    limit?: number;
    listBy?: "id" | "companyId";
    operation?:
        | "create"
        | "get"
        | "getAll"
        | "update"
        | "delete"
        | "users";
    resource?: "company"
    | "user"
    | "lead";
    returnAll?: boolean;
    selectBy?:
        | "id"
        | "email"
        | "name"
        | "phone"
        | "userId"
        | "companyId";
    updateBy?: "id"
    | "email"
    | "userId";
    value?: string;
}

Properties§

Source§

readonly additionalFields?:
    | {
        avatar?: string;
        companies?: unknown[];
        email?: string;
        name?: string;
        phone?: string;
        sessionCount?: number;
        unsubscribedFromEmails?: boolean;
        updateLastRequestAt?: boolean;
        userId?: string;
        utmCampaign?: string;
        utmContent?: string;
        utmMedium?: string;
        utmSource?: string;
        utmTerm?: string;
    }
    | {
        avatar?: string;
        companies?: unknown[];
        email?: string;
        name?: string;
        phone?: string;
        unsubscribedFromEmails?: boolean;
        updateLastRequestAt?: boolean;
        utmCampaign?: string;
        utmContent?: string;
        utmMedium?: string;
        utmSource?: string;
        utmTerm?: string;
    }
    | {
        industry?: string;
        monthlySpend?: string;
        name?: string;
        plan?: string;
        size?: number;
        website?: string;
    }

Default: {}

Source§

readonly companyId?: string

The company ID you have defined for the company

Source§

readonly customAttributesJson?: string

A hash of key/value pairs to represent custom data you want to attribute to a user Type options: {"alwaysOpenEditWindow":true}

Source§

readonly customAttributesUi?: {
    customAttributesValues: {
        name?: string;
        value?: string;
    }[];
}

A hash of key/value pairs to represent custom data you want to attribute to a user Default: {} Type options: {"multipleValues":true}

Source§

readonly deleteBy?: "id" | "userId"

Source§

readonly email?: string

The email of the user

Source§

readonly filters?:
    | {
        company_id?: string;
        email?: string;
        segment_id?: string;
        tag_id?: string;
    }
    | { email?: string; phone?: string }
    | { segment_id?: string; tag_id?: string }

Default: {}

Source§

readonly id?: string

The Intercom defined ID representing the Lead

Source§

readonly identifierType?: "email" | "userId"

Unique string identifier

Source§

readonly idValue?: string

Unique string identifier value

Source§

readonly jsonParameters?: boolean

Source§

readonly limit?: number

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

Source§

readonly listBy?: "id" | "companyId"

Source§

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

Default: "create"

Source§

readonly resource?: "company" | "user" | "lead"

Default: "user"

Source§

readonly returnAll?: boolean

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

Source§

readonly selectBy?: "id" | "email" | "name" | "phone" | "userId" | "companyId"

The property to select the user by

Source§

readonly updateBy?: "id" | "email" | "userId"

The property via which to query the user Default: "id"

Source§

readonly value?: string

View by value