/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: 65580de12ccd
 */
import * as z from "zod/v4";
import { safeParse } from "../../lib/schemas.js";
import { Document$inboundSchema } from "./document.js";
import { PaginationInfo$inboundSchema, } from "./paginationinfo.js";
/** @internal */
export const ListDocumentsResponse$inboundSchema = z.object({
    pagination: PaginationInfo$inboundSchema,
    data: z.array(Document$inboundSchema),
});
export function listDocumentsResponseFromJSON(jsonString) {
    return safeParse(jsonString, (x) => ListDocumentsResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListDocumentsResponse' from JSON`);
}
//# sourceMappingURL=listdocumentsresponse.js.map