/**
 * Generated by orval v8.3.0 🍺
 * Do not edit manually.
 * Mission Control API
 * OpenAPI spec version: 0.1.0
 */

/**
 * Structured result from one provider-native usage scrape (e.g. Claude CLI /usage).

Returned by GET /gateways/{id}/provider-usage.
All fields are optional — partial data is still useful and expected
when CLI output format changes or the session is quiet.
 */
export interface ProviderUsageScrapeResult {
  provider: string;
  source_name: string;
  scraped_at: string;
  fresh: boolean;
  freshness_ttl_seconds: number;
  current_pct?: number | null;
  remaining_ms?: number | null;
  remaining_label?: string | null;
  weekly_messages_used?: number | null;
  weekly_messages_limit?: number | null;
  weekly_tokens_used?: number | null;
  weekly_cost_usd?: number | null;
  raw_text?: string | null;
  error?: string | null;
}
