client.models is a Models, client.documents a Documents, client.jobs a Jobs and client.extractionSchemas an ExtractionSchemas. The decision types are in Answer types and Request types, and the parameter types in each method's section above. The document types:
A job as the document service sends it: job_id, kind (a DocumentOperation), status (a JobStatus), result, usually once it has succeeded (null again once retention drops it; Classify may include a partial one while still running, with reason_status), error, credits (final once usage_final is true), usage_final, created_at, and every other field the service sends, such as result_state: "available", or why a finished job's result is null ("expired" or "not_retained").
DocumentJobList
items (DocumentJob[]) and next_cursor, null on the last page.
DocumentOperation
"parse" | "split" | "classify" | "extract" | "ground", or another string a newer service sends.
JobStatus
"queued" | "running" | "succeeded" | "failed" | "cancelled", or another string a newer service sends.
JobEvent
One event from jobs.events: sequence, at, status, progress, message.