/*
 * 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 FeedbackFilterAND$inboundSchema = z.object({
    and: z.array(z.lazy(() => FeedbackFilter$inboundSchema)),
});
/** @internal */
export const FeedbackFilterAND$outboundSchema = z.object({
    and: z.array(z.lazy(() => FeedbackFilter$outboundSchema)),
});
export function feedbackFilterANDToJSON(feedbackFilterAND) {
    return JSON.stringify(FeedbackFilterAND$outboundSchema.parse(feedbackFilterAND));
}
export function feedbackFilterANDFromJSON(jsonString) {
    return safeParse(jsonString, (x) => FeedbackFilterAND$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FeedbackFilterAND' from JSON`);
}
/** @internal */
export const FeedbackFilterANDAND$inboundSchema = z.lazy(() => FeedbackFilter$inboundSchema);
/** @internal */
export const FeedbackFilterANDAND$outboundSchema = z.lazy(() => FeedbackFilter$outboundSchema);
export function feedbackFilterANDANDToJSON(feedbackFilterANDAND) {
    return JSON.stringify(FeedbackFilterANDAND$outboundSchema.parse(feedbackFilterANDAND));
}
export function feedbackFilterANDANDFromJSON(jsonString) {
    return safeParse(jsonString, (x) => FeedbackFilterANDAND$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FeedbackFilterANDAND' from JSON`);
}
//# sourceMappingURL=feedbackfilterand.js.map