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