/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 */
import * as z from "zod";
import { safeParse } from "../../lib/schemas.js";
import * as components from "../components/index.js";
/** @internal */
export const GetSchoolRequest$inboundSchema = z.object({
    sourcedId: z.string(),
});
/** @internal */
export const GetSchoolRequest$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 GetSchoolRequest$;
(function (GetSchoolRequest$) {
    /** @deprecated use `GetSchoolRequest$inboundSchema` instead. */
    GetSchoolRequest$.inboundSchema = GetSchoolRequest$inboundSchema;
    /** @deprecated use `GetSchoolRequest$outboundSchema` instead. */
    GetSchoolRequest$.outboundSchema = GetSchoolRequest$outboundSchema;
})(GetSchoolRequest$ || (GetSchoolRequest$ = {}));
export function getSchoolRequestToJSON(getSchoolRequest) {
    return JSON.stringify(GetSchoolRequest$outboundSchema.parse(getSchoolRequest));
}
export function getSchoolRequestFromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetSchoolRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetSchoolRequest' from JSON`);
}
/** @internal */
export const GetSchoolResponse$inboundSchema = z.object({
    org: components.Org$inboundSchema,
});
/** @internal */
export const GetSchoolResponse$outboundSchema = z.object({
    org: components.Org$outboundSchema,
});
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export var GetSchoolResponse$;
(function (GetSchoolResponse$) {
    /** @deprecated use `GetSchoolResponse$inboundSchema` instead. */
    GetSchoolResponse$.inboundSchema = GetSchoolResponse$inboundSchema;
    /** @deprecated use `GetSchoolResponse$outboundSchema` instead. */
    GetSchoolResponse$.outboundSchema = GetSchoolResponse$outboundSchema;
})(GetSchoolResponse$ || (GetSchoolResponse$ = {}));
export function getSchoolResponseToJSON(getSchoolResponse) {
    return JSON.stringify(GetSchoolResponse$outboundSchema.parse(getSchoolResponse));
}
export function getSchoolResponseFromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetSchoolResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetSchoolResponse' from JSON`);
}
//# sourceMappingURL=getschool.js.map