intercom-client
Version:
Official Node bindings to the Intercom API
33 lines (32 loc) • 1.04 kB
text/typescript
import type * as Intercom from "../index.mjs";
/**
* A Ticket Part representing a note, comment, or quick_reply on a ticket
*/
export interface TicketReply {
/** Always ticket_part */
type?: "ticket_part";
/** The id representing the part. */
id?: string;
/** Type of the part */
part_type?: TicketReply.PartType;
/** The message body, which may contain HTML. */
body?: string;
/** The time the note was created. */
created_at?: number;
/** The last time the note was updated. */
updated_at?: number;
author?: Intercom.TicketPartAuthor;
/** A list of attachments for the part. */
attachments?: Intercom.PartAttachment[];
/** Whether or not the ticket part has been redacted. */
redacted?: boolean;
}
export declare namespace TicketReply {
/** Type of the part */
const PartType: {
readonly Note: "note";
readonly Comment: "comment";
readonly QuickReply: "quick_reply";
};
type PartType = (typeof PartType)[keyof typeof PartType];
}