/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 */
import * as z from "zod/v3";
import { safeParse } from "../../lib/schemas.js";
import { FeedbackFilter$inboundSchema, FeedbackFilter$outboundSchema, } from "./feedbackfilter.js";
/** @internal */
export const FeedbackFilterOR$inboundSchema = z.object({
    or: z.array(z.lazy(() => FeedbackFilter$inboundSchema)),
});
/** @internal */
export const FeedbackFilterOR$outboundSchema = z.object({
    or: z.array(z.lazy(() => FeedbackFilter$outboundSchema)),
});
export function feedbackFilterORToJSON(feedbackFilterOR) {
    return JSON.stringify(FeedbackFilterOR$outboundSchema.parse(feedbackFilterOR));
}
export function feedbackFilterORFromJSON(jsonString) {
    return safeParse(jsonString, (x) => FeedbackFilterOR$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FeedbackFilterOR' from JSON`);
}
/** @internal */
export const FeedbackFilterOROR$inboundSchema = z.lazy(() => FeedbackFilter$inboundSchema);
/** @internal */
export const FeedbackFilterOROR$outboundSchema = z.lazy(() => FeedbackFilter$outboundSchema);
export function feedbackFilterORORToJSON(feedbackFilterOROR) {
    return JSON.stringify(FeedbackFilterOROR$outboundSchema.parse(feedbackFilterOROR));
}
export function feedbackFilterORORFromJSON(jsonString) {
    return safeParse(jsonString, (x) => FeedbackFilterOROR$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FeedbackFilterOROR' from JSON`);
}
//# sourceMappingURL=feedbackfilteror.js.map