/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: daabb4f19d97
 */
import * as z from "zod/v4";
import { remap as remap$ } from "../../lib/primitives.js";
import * as components from "../components/index.js";
/** @internal */
export const LibrariesDocumentsPatchV1Request$outboundSchema = z.object({
    libraryId: z.string(),
    documentId: z.string(),
    updateDocumentRequest: components.UpdateDocumentRequest$outboundSchema,
}).transform((v) => {
    return remap$(v, {
        libraryId: "library_id",
        documentId: "document_id",
        updateDocumentRequest: "UpdateDocumentRequest",
    });
});
export function librariesDocumentsPatchV1RequestToJSON(librariesDocumentsPatchV1Request) {
    return JSON.stringify(LibrariesDocumentsPatchV1Request$outboundSchema.parse(librariesDocumentsPatchV1Request));
}
//# sourceMappingURL=librariesdocumentspatchv1.js.map