intercom-client
Version:
Official Node bindings to the Intercom API
45 lines (44 loc) • 1.2 kB
TypeScript
/**
* 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;
};
}