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