/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: 684d4885f374
 */
import * as z from "zod/v4";
import { remap as remap$ } from "../../lib/primitives.js";
import { safeParse } from "../../lib/schemas.js";
import { ProcessStatus$inboundSchema } from "./processstatus.js";
/** @internal */
export const ProcessingStatus$inboundSchema = z.object({
    document_id: z.string(),
    process_status: ProcessStatus$inboundSchema,
    processing_status: z.string(),
}).transform((v) => {
    return remap$(v, {
        "document_id": "documentId",
        "process_status": "processStatus",
        "processing_status": "processingStatus",
    });
});
export function processingStatusFromJSON(jsonString) {
    return safeParse(jsonString, (x) => ProcessingStatus$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ProcessingStatus' from JSON`);
}
//# sourceMappingURL=processingstatus.js.map