/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: 04d5e92ba09e
 */
import * as z from "zod/v4";
import { remap as remap$ } from "../../lib/primitives.js";
/** @internal */
export const LibrariesDocumentsGetTextContentV1Request$outboundSchema = z.object({
    libraryId: z.string(),
    documentId: z.string(),
    pageStart: z.nullable(z.int()).optional(),
    pageEnd: z.nullable(z.int()).optional(),
}).transform((v) => {
    return remap$(v, {
        libraryId: "library_id",
        documentId: "document_id",
        pageStart: "page_start",
        pageEnd: "page_end",
    });
});
export function librariesDocumentsGetTextContentV1RequestToJSON(librariesDocumentsGetTextContentV1Request) {
    return JSON.stringify(LibrariesDocumentsGetTextContentV1Request$outboundSchema.parse(librariesDocumentsGetTextContentV1Request));
}
//# sourceMappingURL=librariesdocumentsgettextcontentv1.js.map