intercom-client
Version:
Official Node bindings to the Intercom API
19 lines (18 loc) • 726 B
text/typescript
export interface CustomChannelContact {
/** Type of contact, must be "user" or "lead". */
type: CustomChannelContact.Type;
/** External identifier for the contact. Intercom will take care of the mapping of your external_id with our internal ones so you don't have to worry about it. */
external_id: string;
/** Name of the contact. Required for user type. */
name?: string;
/** Email address of the contact. Required for user type. */
email?: string;
}
export declare namespace CustomChannelContact {
/** Type of contact, must be "user" or "lead". */
const Type: {
readonly User: "user";
readonly Lead: "lead";
};
type Type = (typeof Type)[keyof typeof Type];
}