/**
 * Generated by orval v8.8.0 🍺
 * Do not edit manually.
 * OpenAPI spec version: 0.0.0
 */
import type { PlatformCount } from "./platformCount";
import type { QualityCount } from "./qualityCount";
import type { TimeseriesPoint } from "./timeseriesPoint";
import type { TopUrl } from "./topUrl";

export interface DownloaderStats {
  total_downloads: number;
  successful_downloads: number;
  failed_downloads: number;
  /** Percentage 0-100 */
  success_rate: number;
  /** @nullable */
  avg_length_of_media: number | null;
  /** @nullable */
  total_length_of_media: number | null;
  /** @nullable */
  avg_file_size: number | null;
  /** @nullable */
  total_file_size: number | null;
  /** @nullable */
  avg_processing_time: number | null;
  /** @nullable */
  most_common_format: string | null;
  audio_only_count: number;
  video_count: number;
  downloads_by_platform: PlatformCount[];
  downloads_by_quality: QualityCount[];
  most_downloaded_urls: TopUrl[];
  downloads_per_day: TimeseriesPoint[];
  downloads_per_hour: TimeseriesPoint[];
}
