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