/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 */
import * as z from "zod";
import { safeParse } from "../../lib/schemas.js";
/** @internal */
export const TestOutRequest$inboundSchema = z.object({
    student: z.string(),
    course: z.string(),
});
/** @internal */
export const TestOutRequest$outboundSchema = z.object({
    student: z.string(),
    course: z.string(),
});
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export var TestOutRequest$;
(function (TestOutRequest$) {
    /** @deprecated use `TestOutRequest$inboundSchema` instead. */
    TestOutRequest$.inboundSchema = TestOutRequest$inboundSchema;
    /** @deprecated use `TestOutRequest$outboundSchema` instead. */
    TestOutRequest$.outboundSchema = TestOutRequest$outboundSchema;
})(TestOutRequest$ || (TestOutRequest$ = {}));
export function testOutRequestToJSON(testOutRequest) {
    return JSON.stringify(TestOutRequest$outboundSchema.parse(testOutRequest));
}
export function testOutRequestFromJSON(jsonString) {
    return safeParse(jsonString, (x) => TestOutRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TestOutRequest' from JSON`);
}
//# sourceMappingURL=testout.js.map