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