/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: 1c33cbe2bf8b
 */
import * as z from "zod/v4";
import { safeParse } from "../../lib/schemas.js";
import { ChatCompletionEventPreview$inboundSchema, } from "./chatcompletioneventpreview.js";
/** @internal */
export const FeedResultChatCompletionEventPreview$inboundSchema = z.object({
    results: z.array(ChatCompletionEventPreview$inboundSchema).optional(),
    next: z.nullable(z.string()).optional(),
    cursor: z.nullable(z.string()).optional(),
});
export function feedResultChatCompletionEventPreviewFromJSON(jsonString) {
    return safeParse(jsonString, (x) => FeedResultChatCompletionEventPreview$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FeedResultChatCompletionEventPreview' from JSON`);
}
//# sourceMappingURL=feedresultchatcompletioneventpreview.js.map