// This file was auto-generated by Fern from our API Definition.

import type * as Intercom from "../index.js";

/**
 * Paginated Response
 */
export interface PaginatedResponse {
    /** The type of object */
    type?: PaginatedResponse.Type;
    pages?: Intercom.CursorPages;
    /** A count of the total number of objects. */
    total_count?: number;
    /** An array of Objects */
    data?: Intercom.PaginatedResponseDataItem[];
}

export namespace PaginatedResponse {
    /** The type of object */
    export const Type = {
        List: "list",
        ConversationList: "conversation.list",
    } as const;
    export type Type = (typeof Type)[keyof typeof Type];
}
