/**
 * Generated by orval 🍺
 * Do not edit manually.
 * messages API
 * This is the messages API schema.
 * OpenAPI spec version: 1.0.0 (v1.0)
 */
import type { LargestThread } from "./largest_thread";

/**
 * Serializer for mailbox storage statistics response.
 */
export interface MailboxStorageStats {
  /** Total storage used by the mailbox in bytes */
  total_storage: number;
  /** Storage used by trashed conversations in bytes */
  trashed_storage: number;
  /** Storage used by spam conversations in bytes */
  spam_storage: number;
  /** Total number of messages in the mailbox */
  message_count: number;
  /** Total number of threads in the mailbox */
  thread_count: number;
  /** Top 100 threads by storage size, ordered descending. */
  largest_threads: LargestThread[];
}
