/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: 1f03992b6b85
 */
import * as z from "zod/v4";
import { safeParse } from "../../lib/schemas.js";
import { FileSchema$inboundSchema } from "./fileschema.js";
/** @internal */
export const ListFilesResponse$inboundSchema = z.object({
    data: z.array(FileSchema$inboundSchema),
    object: z.string(),
    total: z.nullable(z.int()).optional(),
});
export function listFilesResponseFromJSON(jsonString) {
    return safeParse(jsonString, (x) => ListFilesResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListFilesResponse' from JSON`);
}
//# sourceMappingURL=listfilesresponse.js.map