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