/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: e4571ac25251
 */
import * as z from "zod/v4";
import { safeParse } from "../../lib/schemas.js";
/** @internal */
export const RealtimeTranscriptionInputAudioFlush$inboundSchema = z.object({
    type: z.literal("input_audio.flush").default("input_audio.flush"),
});
/** @internal */
export const RealtimeTranscriptionInputAudioFlush$outboundSchema = z.object({
    type: z.literal("input_audio.flush").default("input_audio.flush"),
});
export function realtimeTranscriptionInputAudioFlushToJSON(realtimeTranscriptionInputAudioFlush) {
    return JSON.stringify(RealtimeTranscriptionInputAudioFlush$outboundSchema.parse(realtimeTranscriptionInputAudioFlush));
}
export function realtimeTranscriptionInputAudioFlushFromJSON(jsonString) {
    return safeParse(jsonString, (x) => RealtimeTranscriptionInputAudioFlush$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'RealtimeTranscriptionInputAudioFlush' from JSON`);
}
//# sourceMappingURL=realtimetranscriptioninputaudioflush.js.map