UNPKG

intercom-client

Version:

Official Node bindings to the Intercom API

40 lines (39 loc) 1.12 kB
import type * as Intercom from "../../../../index.mjs"; /** * @example * { * conversation_id: "123", * admin_id: "12345", * customer: { * intercom_user_id: "6762f19b1bb69f9f2193bbd4" * } * } * * @example * { * conversation_id: "123", * admin_id: "12345", * customer: { * intercom_user_id: "6762f19e1bb69f9f2193bbd5" * } * } */ export interface AttachContactToConversationRequest { /** The identifier for the conversation as given by Intercom. */ conversation_id: string; /** The `id` of the admin who is adding the new participant. */ admin_id?: string; customer?: AttachContactToConversationRequest.Customer; } export declare namespace AttachContactToConversationRequest { type Customer = { intercom_user_id: string; customer?: Intercom.CustomerRequest | undefined; } | { user_id: string; customer?: Intercom.CustomerRequest | undefined; } | { email: string; customer?: Intercom.CustomerRequest | undefined; }; }