/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 */
import * as z from "zod";
import { remap as remap$ } from "../../lib/primitives.js";
import { safeParse } from "../../lib/schemas.js";
/**
 * The order to sort the response by
 */
export const GetTeachersForClassInSchoolOrderBy = {
    Asc: "asc",
    Desc: "desc",
};
export const GetTeachersForClassInSchoolStatus = {
    Active: "active",
    Tobedeleted: "tobedeleted",
};
export const GetTeachersForClassInSchoolRoleType = {
    Primary: "primary",
    Secondary: "secondary",
};
export const GetTeachersForClassInSchoolRoleEnum = {
    Administrator: "administrator",
    Aide: "aide",
    Guardian: "guardian",
    Parent: "parent",
    Proctor: "proctor",
    Relative: "relative",
    Student: "student",
    Teacher: "teacher",
};
export const GetTeachersForClassInSchoolType = {
    AcademicSession: "academicSession",
    AssessmentLineItem: "assessmentLineItem",
    Category: "category",
    Class: "class",
    Course: "course",
    Demographics: "demographics",
    Enrollment: "enrollment",
    GradingPeriod: "gradingPeriod",
    LineItem: "lineItem",
    Org: "org",
    Resource: "resource",
    Result: "result",
    ScoreScale: "scoreScale",
    Student: "student",
    Teacher: "teacher",
    Term: "term",
    User: "user",
    ComponentResource: "componentResource",
    CourseComponent: "courseComponent",
};
/** @internal */
export const GetTeachersForClassInSchoolOrderBy$inboundSchema = z.nativeEnum(GetTeachersForClassInSchoolOrderBy);
/** @internal */
export const GetTeachersForClassInSchoolOrderBy$outboundSchema = GetTeachersForClassInSchoolOrderBy$inboundSchema;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export var GetTeachersForClassInSchoolOrderBy$;
(function (GetTeachersForClassInSchoolOrderBy$) {
    /** @deprecated use `GetTeachersForClassInSchoolOrderBy$inboundSchema` instead. */
    GetTeachersForClassInSchoolOrderBy$.inboundSchema = GetTeachersForClassInSchoolOrderBy$inboundSchema;
    /** @deprecated use `GetTeachersForClassInSchoolOrderBy$outboundSchema` instead. */
    GetTeachersForClassInSchoolOrderBy$.outboundSchema = GetTeachersForClassInSchoolOrderBy$outboundSchema;
})(GetTeachersForClassInSchoolOrderBy$ || (GetTeachersForClassInSchoolOrderBy$ = {}));
/** @internal */
export const GetTeachersForClassInSchoolRequest$inboundSchema = z.object({
    schoolSourcedId: z.string(),
    classSourcedId: z.string(),
    fields: z.string().optional(),
    limit: z.number().int().default(100),
    offset: z.number().int().default(0),
    sort: z.string().optional(),
    orderBy: GetTeachersForClassInSchoolOrderBy$inboundSchema.optional(),
    filter: z.string().optional(),
    search: z.string().optional(),
});
/** @internal */
export const GetTeachersForClassInSchoolRequest$outboundSchema = z.object({
    schoolSourcedId: z.string(),
    classSourcedId: z.string(),
    fields: z.string().optional(),
    limit: z.number().int().default(100),
    offset: z.number().int().default(0),
    sort: z.string().optional(),
    orderBy: GetTeachersForClassInSchoolOrderBy$outboundSchema.optional(),
    filter: z.string().optional(),
    search: z.string().optional(),
});
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export var GetTeachersForClassInSchoolRequest$;
(function (GetTeachersForClassInSchoolRequest$) {
    /** @deprecated use `GetTeachersForClassInSchoolRequest$inboundSchema` instead. */
    GetTeachersForClassInSchoolRequest$.inboundSchema = GetTeachersForClassInSchoolRequest$inboundSchema;
    /** @deprecated use `GetTeachersForClassInSchoolRequest$outboundSchema` instead. */
    GetTeachersForClassInSchoolRequest$.outboundSchema = GetTeachersForClassInSchoolRequest$outboundSchema;
})(GetTeachersForClassInSchoolRequest$ || (GetTeachersForClassInSchoolRequest$ = {}));
export function getTeachersForClassInSchoolRequestToJSON(getTeachersForClassInSchoolRequest) {
    return JSON.stringify(GetTeachersForClassInSchoolRequest$outboundSchema.parse(getTeachersForClassInSchoolRequest));
}
export function getTeachersForClassInSchoolRequestFromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetTeachersForClassInSchoolRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetTeachersForClassInSchoolRequest' from JSON`);
}
/** @internal */
export const GetTeachersForClassInSchoolStatus$inboundSchema = z.nativeEnum(GetTeachersForClassInSchoolStatus);
/** @internal */
export const GetTeachersForClassInSchoolStatus$outboundSchema = GetTeachersForClassInSchoolStatus$inboundSchema;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export var GetTeachersForClassInSchoolStatus$;
(function (GetTeachersForClassInSchoolStatus$) {
    /** @deprecated use `GetTeachersForClassInSchoolStatus$inboundSchema` instead. */
    GetTeachersForClassInSchoolStatus$.inboundSchema = GetTeachersForClassInSchoolStatus$inboundSchema;
    /** @deprecated use `GetTeachersForClassInSchoolStatus$outboundSchema` instead. */
    GetTeachersForClassInSchoolStatus$.outboundSchema = GetTeachersForClassInSchoolStatus$outboundSchema;
})(GetTeachersForClassInSchoolStatus$ || (GetTeachersForClassInSchoolStatus$ = {}));
/** @internal */
export const GetTeachersForClassInSchoolUserId$inboundSchema = z.object({
    type: z.string(),
    identifier: z.string(),
});
/** @internal */
export const GetTeachersForClassInSchoolUserId$outboundSchema = z.object({
    type: z.string(),
    identifier: 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 GetTeachersForClassInSchoolUserId$;
(function (GetTeachersForClassInSchoolUserId$) {
    /** @deprecated use `GetTeachersForClassInSchoolUserId$inboundSchema` instead. */
    GetTeachersForClassInSchoolUserId$.inboundSchema = GetTeachersForClassInSchoolUserId$inboundSchema;
    /** @deprecated use `GetTeachersForClassInSchoolUserId$outboundSchema` instead. */
    GetTeachersForClassInSchoolUserId$.outboundSchema = GetTeachersForClassInSchoolUserId$outboundSchema;
})(GetTeachersForClassInSchoolUserId$ || (GetTeachersForClassInSchoolUserId$ = {}));
export function getTeachersForClassInSchoolUserIdToJSON(getTeachersForClassInSchoolUserId) {
    return JSON.stringify(GetTeachersForClassInSchoolUserId$outboundSchema.parse(getTeachersForClassInSchoolUserId));
}
export function getTeachersForClassInSchoolUserIdFromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetTeachersForClassInSchoolUserId$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetTeachersForClassInSchoolUserId' from JSON`);
}
/** @internal */
export const GetTeachersForClassInSchoolRoleType$inboundSchema = z.nativeEnum(GetTeachersForClassInSchoolRoleType);
/** @internal */
export const GetTeachersForClassInSchoolRoleType$outboundSchema = GetTeachersForClassInSchoolRoleType$inboundSchema;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export var GetTeachersForClassInSchoolRoleType$;
(function (GetTeachersForClassInSchoolRoleType$) {
    /** @deprecated use `GetTeachersForClassInSchoolRoleType$inboundSchema` instead. */
    GetTeachersForClassInSchoolRoleType$.inboundSchema = GetTeachersForClassInSchoolRoleType$inboundSchema;
    /** @deprecated use `GetTeachersForClassInSchoolRoleType$outboundSchema` instead. */
    GetTeachersForClassInSchoolRoleType$.outboundSchema = GetTeachersForClassInSchoolRoleType$outboundSchema;
})(GetTeachersForClassInSchoolRoleType$ || (GetTeachersForClassInSchoolRoleType$ = {}));
/** @internal */
export const GetTeachersForClassInSchoolRoleEnum$inboundSchema = z.nativeEnum(GetTeachersForClassInSchoolRoleEnum);
/** @internal */
export const GetTeachersForClassInSchoolRoleEnum$outboundSchema = GetTeachersForClassInSchoolRoleEnum$inboundSchema;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export var GetTeachersForClassInSchoolRoleEnum$;
(function (GetTeachersForClassInSchoolRoleEnum$) {
    /** @deprecated use `GetTeachersForClassInSchoolRoleEnum$inboundSchema` instead. */
    GetTeachersForClassInSchoolRoleEnum$.inboundSchema = GetTeachersForClassInSchoolRoleEnum$inboundSchema;
    /** @deprecated use `GetTeachersForClassInSchoolRoleEnum$outboundSchema` instead. */
    GetTeachersForClassInSchoolRoleEnum$.outboundSchema = GetTeachersForClassInSchoolRoleEnum$outboundSchema;
})(GetTeachersForClassInSchoolRoleEnum$ || (GetTeachersForClassInSchoolRoleEnum$ = {}));
/** @internal */
export const GetTeachersForClassInSchoolOrg$inboundSchema = z.object({
    href: z.string(),
    sourcedId: z.string(),
    type: z.string(),
});
/** @internal */
export const GetTeachersForClassInSchoolOrg$outboundSchema = z.object({
    href: z.string(),
    sourcedId: z.string(),
    type: 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 GetTeachersForClassInSchoolOrg$;
(function (GetTeachersForClassInSchoolOrg$) {
    /** @deprecated use `GetTeachersForClassInSchoolOrg$inboundSchema` instead. */
    GetTeachersForClassInSchoolOrg$.inboundSchema = GetTeachersForClassInSchoolOrg$inboundSchema;
    /** @deprecated use `GetTeachersForClassInSchoolOrg$outboundSchema` instead. */
    GetTeachersForClassInSchoolOrg$.outboundSchema = GetTeachersForClassInSchoolOrg$outboundSchema;
})(GetTeachersForClassInSchoolOrg$ || (GetTeachersForClassInSchoolOrg$ = {}));
export function getTeachersForClassInSchoolOrgToJSON(getTeachersForClassInSchoolOrg) {
    return JSON.stringify(GetTeachersForClassInSchoolOrg$outboundSchema.parse(getTeachersForClassInSchoolOrg));
}
export function getTeachersForClassInSchoolOrgFromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetTeachersForClassInSchoolOrg$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetTeachersForClassInSchoolOrg' from JSON`);
}
/** @internal */
export const GetTeachersForClassInSchoolRole$inboundSchema = z.object({
    roleType: GetTeachersForClassInSchoolRoleType$inboundSchema,
    role: GetTeachersForClassInSchoolRoleEnum$inboundSchema,
    org: z.lazy(() => GetTeachersForClassInSchoolOrg$inboundSchema),
    userProfile: z.string().optional(),
    beginDate: z.nullable(z.string()),
    endDate: z.nullable(z.string()),
});
/** @internal */
export const GetTeachersForClassInSchoolRole$outboundSchema = z.object({
    roleType: GetTeachersForClassInSchoolRoleType$outboundSchema,
    role: GetTeachersForClassInSchoolRoleEnum$outboundSchema,
    org: z.lazy(() => GetTeachersForClassInSchoolOrg$outboundSchema),
    userProfile: z.string().optional(),
    beginDate: z.nullable(z.string()),
    endDate: z.nullable(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 GetTeachersForClassInSchoolRole$;
(function (GetTeachersForClassInSchoolRole$) {
    /** @deprecated use `GetTeachersForClassInSchoolRole$inboundSchema` instead. */
    GetTeachersForClassInSchoolRole$.inboundSchema = GetTeachersForClassInSchoolRole$inboundSchema;
    /** @deprecated use `GetTeachersForClassInSchoolRole$outboundSchema` instead. */
    GetTeachersForClassInSchoolRole$.outboundSchema = GetTeachersForClassInSchoolRole$outboundSchema;
})(GetTeachersForClassInSchoolRole$ || (GetTeachersForClassInSchoolRole$ = {}));
export function getTeachersForClassInSchoolRoleToJSON(getTeachersForClassInSchoolRole) {
    return JSON.stringify(GetTeachersForClassInSchoolRole$outboundSchema.parse(getTeachersForClassInSchoolRole));
}
export function getTeachersForClassInSchoolRoleFromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetTeachersForClassInSchoolRole$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetTeachersForClassInSchoolRole' from JSON`);
}
/** @internal */
export const GetTeachersForClassInSchoolType$inboundSchema = z.nativeEnum(GetTeachersForClassInSchoolType);
/** @internal */
export const GetTeachersForClassInSchoolType$outboundSchema = GetTeachersForClassInSchoolType$inboundSchema;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export var GetTeachersForClassInSchoolType$;
(function (GetTeachersForClassInSchoolType$) {
    /** @deprecated use `GetTeachersForClassInSchoolType$inboundSchema` instead. */
    GetTeachersForClassInSchoolType$.inboundSchema = GetTeachersForClassInSchoolType$inboundSchema;
    /** @deprecated use `GetTeachersForClassInSchoolType$outboundSchema` instead. */
    GetTeachersForClassInSchoolType$.outboundSchema = GetTeachersForClassInSchoolType$outboundSchema;
})(GetTeachersForClassInSchoolType$ || (GetTeachersForClassInSchoolType$ = {}));
/** @internal */
export const GetTeachersForClassInSchoolAgent$inboundSchema = z.object({
    href: z.string(),
    sourcedId: z.string(),
    type: GetTeachersForClassInSchoolType$inboundSchema,
});
/** @internal */
export const GetTeachersForClassInSchoolAgent$outboundSchema = z.object({
    href: z.string(),
    sourcedId: z.string(),
    type: GetTeachersForClassInSchoolType$outboundSchema,
});
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export var GetTeachersForClassInSchoolAgent$;
(function (GetTeachersForClassInSchoolAgent$) {
    /** @deprecated use `GetTeachersForClassInSchoolAgent$inboundSchema` instead. */
    GetTeachersForClassInSchoolAgent$.inboundSchema = GetTeachersForClassInSchoolAgent$inboundSchema;
    /** @deprecated use `GetTeachersForClassInSchoolAgent$outboundSchema` instead. */
    GetTeachersForClassInSchoolAgent$.outboundSchema = GetTeachersForClassInSchoolAgent$outboundSchema;
})(GetTeachersForClassInSchoolAgent$ || (GetTeachersForClassInSchoolAgent$ = {}));
export function getTeachersForClassInSchoolAgentToJSON(getTeachersForClassInSchoolAgent) {
    return JSON.stringify(GetTeachersForClassInSchoolAgent$outboundSchema.parse(getTeachersForClassInSchoolAgent));
}
export function getTeachersForClassInSchoolAgentFromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetTeachersForClassInSchoolAgent$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetTeachersForClassInSchoolAgent' from JSON`);
}
/** @internal */
export const GetTeachersForClassInSchoolPrimaryOrg$inboundSchema = z.object({
    href: z.string(),
    sourcedId: z.string(),
    type: z.string(),
});
/** @internal */
export const GetTeachersForClassInSchoolPrimaryOrg$outboundSchema = z.object({
    href: z.string(),
    sourcedId: z.string(),
    type: 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 GetTeachersForClassInSchoolPrimaryOrg$;
(function (GetTeachersForClassInSchoolPrimaryOrg$) {
    /** @deprecated use `GetTeachersForClassInSchoolPrimaryOrg$inboundSchema` instead. */
    GetTeachersForClassInSchoolPrimaryOrg$.inboundSchema = GetTeachersForClassInSchoolPrimaryOrg$inboundSchema;
    /** @deprecated use `GetTeachersForClassInSchoolPrimaryOrg$outboundSchema` instead. */
    GetTeachersForClassInSchoolPrimaryOrg$.outboundSchema = GetTeachersForClassInSchoolPrimaryOrg$outboundSchema;
})(GetTeachersForClassInSchoolPrimaryOrg$ || (GetTeachersForClassInSchoolPrimaryOrg$ = {}));
export function getTeachersForClassInSchoolPrimaryOrgToJSON(getTeachersForClassInSchoolPrimaryOrg) {
    return JSON.stringify(GetTeachersForClassInSchoolPrimaryOrg$outboundSchema.parse(getTeachersForClassInSchoolPrimaryOrg));
}
export function getTeachersForClassInSchoolPrimaryOrgFromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetTeachersForClassInSchoolPrimaryOrg$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetTeachersForClassInSchoolPrimaryOrg' from JSON`);
}
/** @internal */
export const GetTeachersForClassInSchoolUser$inboundSchema = z.object({
    sourcedId: z.string(),
    status: GetTeachersForClassInSchoolStatus$inboundSchema,
    dateLastModified: z.string().datetime({ offset: true }).transform(v => new Date(v)).optional(),
    metadata: z.nullable(z.record(z.any())).optional(),
    userMasterIdentifier: z.nullable(z.string()).optional(),
    username: z.nullable(z.string()).optional(),
    userIds: z.array(z.lazy(() => GetTeachersForClassInSchoolUserId$inboundSchema)).optional(),
    enabledUser: z.boolean(),
    givenName: z.string(),
    familyName: z.string(),
    middleName: z.nullable(z.string()).optional(),
    roles: z.array(z.lazy(() => GetTeachersForClassInSchoolRole$inboundSchema)),
    agents: z.array(z.lazy(() => GetTeachersForClassInSchoolAgent$inboundSchema)),
    primaryOrg: z.lazy(() => GetTeachersForClassInSchoolPrimaryOrg$inboundSchema)
        .optional(),
    email: z.nullable(z.string()).optional(),
    preferredFirstName: z.nullable(z.string()).optional(),
    preferredMiddleName: z.nullable(z.string()).optional(),
    preferredLastName: z.nullable(z.string()).optional(),
    pronouns: z.nullable(z.string()).optional(),
    grades: z.array(z.string()).optional(),
    password: z.nullable(z.string()).optional(),
    sms: z.nullable(z.string()).optional(),
    phone: z.nullable(z.string()).optional(),
});
/** @internal */
export const GetTeachersForClassInSchoolUser$outboundSchema = z.object({
    sourcedId: z.string(),
    status: GetTeachersForClassInSchoolStatus$outboundSchema,
    dateLastModified: z.date().transform(v => v.toISOString()).optional(),
    metadata: z.nullable(z.record(z.any())).optional(),
    userMasterIdentifier: z.nullable(z.string()).optional(),
    username: z.nullable(z.string()).optional(),
    userIds: z.array(z.lazy(() => GetTeachersForClassInSchoolUserId$outboundSchema)).optional(),
    enabledUser: z.boolean(),
    givenName: z.string(),
    familyName: z.string(),
    middleName: z.nullable(z.string()).optional(),
    roles: z.array(z.lazy(() => GetTeachersForClassInSchoolRole$outboundSchema)),
    agents: z.array(z.lazy(() => GetTeachersForClassInSchoolAgent$outboundSchema)),
    primaryOrg: z.lazy(() => GetTeachersForClassInSchoolPrimaryOrg$outboundSchema)
        .optional(),
    email: z.nullable(z.string()).optional(),
    preferredFirstName: z.nullable(z.string()).optional(),
    preferredMiddleName: z.nullable(z.string()).optional(),
    preferredLastName: z.nullable(z.string()).optional(),
    pronouns: z.nullable(z.string()).optional(),
    grades: z.array(z.string()).optional(),
    password: z.nullable(z.string()).optional(),
    sms: z.nullable(z.string()).optional(),
    phone: z.nullable(z.string()).optional(),
});
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export var GetTeachersForClassInSchoolUser$;
(function (GetTeachersForClassInSchoolUser$) {
    /** @deprecated use `GetTeachersForClassInSchoolUser$inboundSchema` instead. */
    GetTeachersForClassInSchoolUser$.inboundSchema = GetTeachersForClassInSchoolUser$inboundSchema;
    /** @deprecated use `GetTeachersForClassInSchoolUser$outboundSchema` instead. */
    GetTeachersForClassInSchoolUser$.outboundSchema = GetTeachersForClassInSchoolUser$outboundSchema;
})(GetTeachersForClassInSchoolUser$ || (GetTeachersForClassInSchoolUser$ = {}));
export function getTeachersForClassInSchoolUserToJSON(getTeachersForClassInSchoolUser) {
    return JSON.stringify(GetTeachersForClassInSchoolUser$outboundSchema.parse(getTeachersForClassInSchoolUser));
}
export function getTeachersForClassInSchoolUserFromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetTeachersForClassInSchoolUser$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetTeachersForClassInSchoolUser' from JSON`);
}
/** @internal */
export const GetTeachersForClassInSchoolResponseBody$inboundSchema = z.object({
    users: z.array(z.lazy(() => GetTeachersForClassInSchoolUser$inboundSchema)),
    totalCount: z.number(),
    pageCount: z.number(),
    pageNumber: z.number(),
    offset: z.number(),
    limit: z.number(),
});
/** @internal */
export const GetTeachersForClassInSchoolResponseBody$outboundSchema = z.object({
    users: z.array(z.lazy(() => GetTeachersForClassInSchoolUser$outboundSchema)),
    totalCount: z.number(),
    pageCount: z.number(),
    pageNumber: z.number(),
    offset: z.number(),
    limit: z.number(),
});
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export var GetTeachersForClassInSchoolResponseBody$;
(function (GetTeachersForClassInSchoolResponseBody$) {
    /** @deprecated use `GetTeachersForClassInSchoolResponseBody$inboundSchema` instead. */
    GetTeachersForClassInSchoolResponseBody$.inboundSchema = GetTeachersForClassInSchoolResponseBody$inboundSchema;
    /** @deprecated use `GetTeachersForClassInSchoolResponseBody$outboundSchema` instead. */
    GetTeachersForClassInSchoolResponseBody$.outboundSchema = GetTeachersForClassInSchoolResponseBody$outboundSchema;
})(GetTeachersForClassInSchoolResponseBody$ || (GetTeachersForClassInSchoolResponseBody$ = {}));
export function getTeachersForClassInSchoolResponseBodyToJSON(getTeachersForClassInSchoolResponseBody) {
    return JSON.stringify(GetTeachersForClassInSchoolResponseBody$outboundSchema.parse(getTeachersForClassInSchoolResponseBody));
}
export function getTeachersForClassInSchoolResponseBodyFromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetTeachersForClassInSchoolResponseBody$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetTeachersForClassInSchoolResponseBody' from JSON`);
}
/** @internal */
export const GetTeachersForClassInSchoolResponse$inboundSchema = z.object({
    Result: z.lazy(() => GetTeachersForClassInSchoolResponseBody$inboundSchema),
}).transform((v) => {
    return remap$(v, {
        "Result": "result",
    });
});
/** @internal */
export const GetTeachersForClassInSchoolResponse$outboundSchema = z.object({
    result: z.lazy(() => GetTeachersForClassInSchoolResponseBody$outboundSchema),
}).transform((v) => {
    return remap$(v, {
        result: "Result",
    });
});
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export var GetTeachersForClassInSchoolResponse$;
(function (GetTeachersForClassInSchoolResponse$) {
    /** @deprecated use `GetTeachersForClassInSchoolResponse$inboundSchema` instead. */
    GetTeachersForClassInSchoolResponse$.inboundSchema = GetTeachersForClassInSchoolResponse$inboundSchema;
    /** @deprecated use `GetTeachersForClassInSchoolResponse$outboundSchema` instead. */
    GetTeachersForClassInSchoolResponse$.outboundSchema = GetTeachersForClassInSchoolResponse$outboundSchema;
})(GetTeachersForClassInSchoolResponse$ || (GetTeachersForClassInSchoolResponse$ = {}));
export function getTeachersForClassInSchoolResponseToJSON(getTeachersForClassInSchoolResponse) {
    return JSON.stringify(GetTeachersForClassInSchoolResponse$outboundSchema.parse(getTeachersForClassInSchoolResponse));
}
export function getTeachersForClassInSchoolResponseFromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetTeachersForClassInSchoolResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetTeachersForClassInSchoolResponse' from JSON`);
}
//# sourceMappingURL=getteachersforclassinschool.js.map