/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 */
import * as z from "zod";
import { safeParse } from "../../lib/schemas.js";
/** @internal */
export const GetCourseSyllabusRequest$inboundSchema = z.object({
    courseSourcedId: z.string(),
});
/** @internal */
export const GetCourseSyllabusRequest$outboundSchema = z.object({
    courseSourcedId: 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 GetCourseSyllabusRequest$;
(function (GetCourseSyllabusRequest$) {
    /** @deprecated use `GetCourseSyllabusRequest$inboundSchema` instead. */
    GetCourseSyllabusRequest$.inboundSchema = GetCourseSyllabusRequest$inboundSchema;
    /** @deprecated use `GetCourseSyllabusRequest$outboundSchema` instead. */
    GetCourseSyllabusRequest$.outboundSchema = GetCourseSyllabusRequest$outboundSchema;
})(GetCourseSyllabusRequest$ || (GetCourseSyllabusRequest$ = {}));
export function getCourseSyllabusRequestToJSON(getCourseSyllabusRequest) {
    return JSON.stringify(GetCourseSyllabusRequest$outboundSchema.parse(getCourseSyllabusRequest));
}
export function getCourseSyllabusRequestFromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetCourseSyllabusRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetCourseSyllabusRequest' from JSON`);
}
/** @internal */
export const GetCourseSyllabusResponse$inboundSchema = z.object({
    syllabus: z.any().optional(),
});
/** @internal */
export const GetCourseSyllabusResponse$outboundSchema = z.object({
    syllabus: z.any().optional(),
});
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export var GetCourseSyllabusResponse$;
(function (GetCourseSyllabusResponse$) {
    /** @deprecated use `GetCourseSyllabusResponse$inboundSchema` instead. */
    GetCourseSyllabusResponse$.inboundSchema = GetCourseSyllabusResponse$inboundSchema;
    /** @deprecated use `GetCourseSyllabusResponse$outboundSchema` instead. */
    GetCourseSyllabusResponse$.outboundSchema = GetCourseSyllabusResponse$outboundSchema;
})(GetCourseSyllabusResponse$ || (GetCourseSyllabusResponse$ = {}));
export function getCourseSyllabusResponseToJSON(getCourseSyllabusResponse) {
    return JSON.stringify(GetCourseSyllabusResponse$outboundSchema.parse(getCourseSyllabusResponse));
}
export function getCourseSyllabusResponseFromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetCourseSyllabusResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetCourseSyllabusResponse' from JSON`);
}
//# sourceMappingURL=getcoursesyllabus.js.map