Application Load

ICustomerTicketReply

The physical TypeScript declaration from the Nuxt starter, with linked types and field comments.

ICustomerTicketReply

One customer or support message and its image references.

src/lib/interfaces/orionplace/tickets/ICustomerTicketApi.ts
TypeScript
export interface ICustomerTicketReply {
  // Reply ID.
  id: number;
  // Customer-to-support or support-to-customer direction.
  direction: {
    // Value of int.
    int: ETicketReplyDirection;
    // Value of text.
    text: string;
  };
  // Actual sender’s ID, name and avatar.
  sender: {
    // Reply ID.
    id: number;
    // Value of first_name.
    first_name: string;
    // Value of last_name.
    last_name: string;
    // Value of avatar.
    avatar: string | null;
  };
  // Message creation time.
  reply_time: IApiDateTime | null;
  // Read time; null until read.
  read_time: IApiDateTime | null;
  // Private image IDs and authenticated download URLs.
  reply_images: {
    // Reply ID.
    id: number;
    // Value of image.
    image: string | null;
  }[];
  // Message text, not trusted HTML.
  reply_text: string;
}