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