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