Application Load

ICustomerTicketRepliesPageResponse

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

ICustomerTicketRepliesPageResponse

page_data.data is the current page; rpag describes pagination.

app/interfaces/orionplace/tickets/ICustomerTicketApi.ts
TypeScript
export interface ICustomerTicketRepliesPageResponse {
  // Field and general errors.
  form_errors: Record<string, ApiFormError[]> | null;
  // Success message or null.
  success_message: string | null;
  // `page_data.data` is the current page; `rpag` describes pagination.
  page_data: {
    // Replies ordered by ascending ID. Each reply includes its sender,
    // direction, message, dates and image references.
    data: ICustomerTicketReply[];
    // Pagination: default 5, maximum 10 replies per page.
    rpag: IApiPagination;
  } | null;
}