/**
 * Generated by orval 🍺
 * Do not edit manually.
 * messages API
 * This is the messages API schema.
 * OpenAPI spec version: 1.0.0 (v1.0)
 */

/**
 * Serializer for a thread entry in the mailbox storage stats.
 */
export interface LargestThread {
  /** Thread UUID */
  id: string;
  /**
   * Thread subject
   * @nullable
   */
  subject: string | null;
  /** Total compressed blob size of the thread in bytes */
  size: number;
  /** Number of messages in the thread */
  message_count: number;
  /**
   * Date of the last message in the thread
   * @nullable
   */
  messaged_at: string | null;
  /** Whether the thread is unread for this mailbox */
  is_unread: boolean;
}
