UNPKG

intercom-client

Version:

[![fern shield](https://img.shields.io/badge/%F0%9F%8C%BF-Built%20with%20Fern-brightgreen)](https://buildwithfern.com?utm_source=github&utm_medium=github&utm_campaign=readme&utm_source=https%3A%2F%2Fgithub.com%2Fintercom%2Fintercom-node) [![npm shield](ht

45 lines (44 loc) 1.2 kB
/** * This file was auto-generated by Fern from our API Definition. */ import * as Intercom from "../../../../index"; /** * @example * { * conversation_id: "123", * admin_id: "12345", * customer: { * intercom_user_id: "667d61168a68186f43bafe0d" * } * } * * @example * { * conversation_id: "123", * admin_id: "12345", * customer: { * intercom_user_id: "667d61188a68186f43bafe0e" * } * } */ 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; }; }