/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 */
import * as z from "zod";
import { safeParse } from "../../lib/schemas.js";
import * as components from "../components/index.js";
/** @internal */
export const AnalyzeHumanAnatomyResponse$inboundSchema = z.union([
    components.AnalyzeHumanAnatomyResponse$inboundSchema,
    components.AsyncOperationAcceptedResponse$inboundSchema,
]);
/** @internal */
export const AnalyzeHumanAnatomyResponse$outboundSchema = z.union([
    components.AnalyzeHumanAnatomyResponse$outboundSchema,
    components.AsyncOperationAcceptedResponse$outboundSchema,
]);
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export var AnalyzeHumanAnatomyResponse$;
(function (AnalyzeHumanAnatomyResponse$) {
    /** @deprecated use `AnalyzeHumanAnatomyResponse$inboundSchema` instead. */
    AnalyzeHumanAnatomyResponse$.inboundSchema = AnalyzeHumanAnatomyResponse$inboundSchema;
    /** @deprecated use `AnalyzeHumanAnatomyResponse$outboundSchema` instead. */
    AnalyzeHumanAnatomyResponse$.outboundSchema = AnalyzeHumanAnatomyResponse$outboundSchema;
})(AnalyzeHumanAnatomyResponse$ || (AnalyzeHumanAnatomyResponse$ = {}));
export function analyzeHumanAnatomyResponseToJSON(analyzeHumanAnatomyResponse) {
    return JSON.stringify(AnalyzeHumanAnatomyResponse$outboundSchema.parse(analyzeHumanAnatomyResponse));
}
export function analyzeHumanAnatomyResponseFromJSON(jsonString) {
    return safeParse(jsonString, (x) => AnalyzeHumanAnatomyResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AnalyzeHumanAnatomyResponse' from JSON`);
}
//# sourceMappingURL=analyzehumananatomy.js.map