/*
 * 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 AnalyzeUnidetResponse$inboundSchema = z.union([
    components.AnalyzeUnidetResponse$inboundSchema,
    components.AsyncOperationAcceptedResponse$inboundSchema,
]);
/** @internal */
export const AnalyzeUnidetResponse$outboundSchema = z.union([
    components.AnalyzeUnidetResponse$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 AnalyzeUnidetResponse$;
(function (AnalyzeUnidetResponse$) {
    /** @deprecated use `AnalyzeUnidetResponse$inboundSchema` instead. */
    AnalyzeUnidetResponse$.inboundSchema = AnalyzeUnidetResponse$inboundSchema;
    /** @deprecated use `AnalyzeUnidetResponse$outboundSchema` instead. */
    AnalyzeUnidetResponse$.outboundSchema = AnalyzeUnidetResponse$outboundSchema;
})(AnalyzeUnidetResponse$ || (AnalyzeUnidetResponse$ = {}));
export function analyzeUnidetResponseToJSON(analyzeUnidetResponse) {
    return JSON.stringify(AnalyzeUnidetResponse$outboundSchema.parse(analyzeUnidetResponse));
}
export function analyzeUnidetResponseFromJSON(jsonString) {
    return safeParse(jsonString, (x) => AnalyzeUnidetResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AnalyzeUnidetResponse' from JSON`);
}
//# sourceMappingURL=analyzeunidet.js.map