/*
 * 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 AnalyzeLvisResponse$inboundSchema = z.union([
    components.AsyncOperationAcceptedResponse$inboundSchema,
    components.AnalyzeLvisResponse$inboundSchema,
]);
/** @internal */
export const AnalyzeLvisResponse$outboundSchema = z.union([
    components.AsyncOperationAcceptedResponse$outboundSchema,
    components.AnalyzeLvisResponse$outboundSchema,
]);
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export var AnalyzeLvisResponse$;
(function (AnalyzeLvisResponse$) {
    /** @deprecated use `AnalyzeLvisResponse$inboundSchema` instead. */
    AnalyzeLvisResponse$.inboundSchema = AnalyzeLvisResponse$inboundSchema;
    /** @deprecated use `AnalyzeLvisResponse$outboundSchema` instead. */
    AnalyzeLvisResponse$.outboundSchema = AnalyzeLvisResponse$outboundSchema;
})(AnalyzeLvisResponse$ || (AnalyzeLvisResponse$ = {}));
export function analyzeLvisResponseToJSON(analyzeLvisResponse) {
    return JSON.stringify(AnalyzeLvisResponse$outboundSchema.parse(analyzeLvisResponse));
}
export function analyzeLvisResponseFromJSON(jsonString) {
    return safeParse(jsonString, (x) => AnalyzeLvisResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AnalyzeLvisResponse' from JSON`);
}
//# sourceMappingURL=analyzelvis.js.map