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