intercom-client
Version:
Official Node bindings to the Intercom API
22 lines (21 loc) • 610 B
TypeScript
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 declare namespace PaginatedResponse {
/** The type of object */
const Type: {
readonly List: "list";
readonly ConversationList: "conversation.list";
};
type Type = (typeof Type)[keyof typeof Type];
}