/**
 * Generated by orval v8.5.3 🍺
 * Do not edit manually.
 * Api
 * API specification
 * OpenAPI spec version: 0.1.0
 */
import type { CostLedger } from "./costLedger";
import type { InvoiceInfo } from "./invoiceInfo";
import type { JobState } from "./jobState";
import type { PricingBreakdown } from "./pricingBreakdown";

export interface JobStatusResponse {
  jobId: string;
  state: JobState;
  /** ISO 8601 timestamp of job creation (always present) */
  createdAt: Date;
  /** ISO 8601 timestamp of job completion; null when not yet complete */
  completedAt?: Date | null;
  evalInvoice?: InvoiceInfo;
  workInvoice?: InvoiceInfo;
  pricingBreakdown?: PricingBreakdown;
  reason?: string;
  result?: string;
  costLedger?: CostLedger;
  errorMessage?: string;
}
