/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 */
import * as z from "zod";
import { safeParse } from "../../lib/schemas.js";
/** @internal */
export const GetAcademicSessionRequest$inboundSchema = z.object({
    sourcedId: z.string(),
});
/** @internal */
export const GetAcademicSessionRequest$outboundSchema = z.object({
    sourcedId: 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 GetAcademicSessionRequest$;
(function (GetAcademicSessionRequest$) {
    /** @deprecated use `GetAcademicSessionRequest$inboundSchema` instead. */
    GetAcademicSessionRequest$.inboundSchema = GetAcademicSessionRequest$inboundSchema;
    /** @deprecated use `GetAcademicSessionRequest$outboundSchema` instead. */
    GetAcademicSessionRequest$.outboundSchema = GetAcademicSessionRequest$outboundSchema;
})(GetAcademicSessionRequest$ || (GetAcademicSessionRequest$ = {}));
export function getAcademicSessionRequestToJSON(getAcademicSessionRequest) {
    return JSON.stringify(GetAcademicSessionRequest$outboundSchema.parse(getAcademicSessionRequest));
}
export function getAcademicSessionRequestFromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetAcademicSessionRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAcademicSessionRequest' from JSON`);
}
//# sourceMappingURL=getacademicsession.js.map