/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: 7e8eae643aee
 */
import * as z from "zod/v4";
import { remap as remap$ } from "../../lib/primitives.js";
import * as components from "../components/index.js";
/** @internal */
export const UpdateVoiceV1AudioVoicesVoiceIdPatchRequest$outboundSchema = z.object({
    voiceId: z.string(),
    voiceUpdateRequest: components.VoiceUpdateRequest$outboundSchema,
}).transform((v) => {
    return remap$(v, {
        voiceId: "voice_id",
        voiceUpdateRequest: "VoiceUpdateRequest",
    });
});
export function updateVoiceV1AudioVoicesVoiceIdPatchRequestToJSON(updateVoiceV1AudioVoicesVoiceIdPatchRequest) {
    return JSON.stringify(UpdateVoiceV1AudioVoicesVoiceIdPatchRequest$outboundSchema.parse(updateVoiceV1AudioVoicesVoiceIdPatchRequest));
}
//# sourceMappingURL=updatevoicev1audiovoicesvoiceidpatch.js.map