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

47 lines (46 loc) 1.23 kB
/** * This file was auto-generated by Fern from our API Definition. */ /** * @example * { * type: "user", * user: { * id: "8a88a590-e1c3-41e2-a502-e0649dbf721c", * email: "foo@bar.com" * }, * visitor: { * user_id: "3ecf64d0-9ed1-4e9f-88e1-da7d6e6782f3" * } * } */ export interface MergeVisitorToContactRequest { /** Represents the role of the Contact model. Accepts `lead` or `user`. */ type: string; /** The unique identifiers retained after converting or merging. */ user: MergeVisitorToContactRequest.User; /** The unique identifiers to convert a single Visitor. */ visitor: MergeVisitorToContactRequest.Visitor; } export declare namespace MergeVisitorToContactRequest { /** * The unique identifiers retained after converting or merging. */ type User = { id: string; email?: string | undefined; } | { user_id: string; email?: string | undefined; }; /** * The unique identifiers to convert a single Visitor. */ type Visitor = { id: string; } | { user_id: string; } | { email: string; }; }