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 additional Fields?:
| {
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;
}
readonly additional Fields?:
| {
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;
}
Source§readonly custom Attributes Json?: string
readonly custom Attributes Json?: string
A hash of key/value pairs to represent custom data you want to attribute to a user Type options: {"alwaysOpenEditWindow":true}
Source§readonly custom Attributes Ui?: {
customAttributesValues: {
name?: string;
value?: string;
}[];
}
readonly custom Attributes Ui?: {
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 filters?:
| {
company_id?: string;
email?: string;
segment_id?: string;
tag_id?: string;
}
| { email?: string; phone?: string }
| { segment_id?: string; tag_id?: string }
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 limit?: number
readonly limit?: number
Max number of results to return Default: 50 Type options: {"minValue":1,"maxValue":60}
Source§readonly operation?: "create" | "get" | "getAll" | "update" | "delete" | "users"
readonly operation?: "create" | "get" | "getAll" | "update" | "delete" | "users"
Default: "create"
Source§readonly select By?: "id" | "email" | "name" | "phone" | "userId" | "companyId"
readonly select By?: "id" | "email" | "name" | "phone" | "userId" | "companyId"
The property to select the user by
Default: {}