/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 */
import * as z from "zod";
import { safeParse } from "../../lib/schemas.js";
/** @internal */
export const PlacementUpdateStudentQuestionResponseResult$inboundSchema = z.object({
    questionResult: z.any().optional(),
    lessonType: z.literal("placement").default("placement").optional(),
});
/** @internal */
export const PlacementUpdateStudentQuestionResponseResult$outboundSchema = z.object({
    questionResult: z.any().optional(),
    lessonType: z.literal("placement").default("placement"),
});
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export var PlacementUpdateStudentQuestionResponseResult$;
(function (PlacementUpdateStudentQuestionResponseResult$) {
    /** @deprecated use `PlacementUpdateStudentQuestionResponseResult$inboundSchema` instead. */
    PlacementUpdateStudentQuestionResponseResult$.inboundSchema = PlacementUpdateStudentQuestionResponseResult$inboundSchema;
    /** @deprecated use `PlacementUpdateStudentQuestionResponseResult$outboundSchema` instead. */
    PlacementUpdateStudentQuestionResponseResult$.outboundSchema = PlacementUpdateStudentQuestionResponseResult$outboundSchema;
})(PlacementUpdateStudentQuestionResponseResult$ || (PlacementUpdateStudentQuestionResponseResult$ = {}));
export function placementUpdateStudentQuestionResponseResultToJSON(placementUpdateStudentQuestionResponseResult) {
    return JSON.stringify(PlacementUpdateStudentQuestionResponseResult$outboundSchema.parse(placementUpdateStudentQuestionResponseResult));
}
export function placementUpdateStudentQuestionResponseResultFromJSON(jsonString) {
    return safeParse(jsonString, (x) => PlacementUpdateStudentQuestionResponseResult$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PlacementUpdateStudentQuestionResponseResult' from JSON`);
}
//# sourceMappingURL=placementupdatestudentquestionresponseresult.js.map