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