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

33 lines (32 loc) 985 B
/** * This file was auto-generated by Fern from our API Definition. */ /** * A segment is a group of your contacts defined by the rules that you set. */ export interface Segment { /** The type of object. */ type: "segment"; /** The unique identifier representing the segment. */ id: string; /** The name of the segment. */ name: string; /** The time the segment was created. */ created_at: number; /** The time the segment was updated. */ updated_at?: number; /** Type of the contact: contact (lead) or user. */ person_type: Segment.PersonType; /** The number of items in the user segment. It's returned when `include_count=true` is included in the request. */ count?: number; } export declare namespace Segment { /** * Type of the contact: contact (lead) or user. */ type PersonType = "contact" | "user"; const PersonType: { readonly Contact: "contact"; readonly User: "user"; }; }