/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: 9559cb4341b8
 */
import * as z from "zod/v4";
import { remap as remap$ } from "../../lib/primitives.js";
import * as components from "../components/index.js";
/** @internal */
export const LibrariesPatchV1Request$outboundSchema = z.object({
    libraryId: z.string(),
    updateLibraryRequest: components.UpdateLibraryRequest$outboundSchema,
}).transform((v) => {
    return remap$(v, {
        libraryId: "library_id",
        updateLibraryRequest: "UpdateLibraryRequest",
    });
});
export function librariesPatchV1RequestToJSON(librariesPatchV1Request) {
    return JSON.stringify(LibrariesPatchV1Request$outboundSchema.parse(librariesPatchV1Request));
}
//# sourceMappingURL=librariespatchv1.js.map