"use strict";
/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 */
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    var desc = Object.getOwnPropertyDescriptor(m, k);
    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
      desc = { enumerable: true, get: function() { return m[k]; } };
    }
    Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
    Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
    o["default"] = v;
});
var __importStar = (this && this.__importStar) || (function () {
    var ownKeys = function(o) {
        ownKeys = Object.getOwnPropertyNames || function (o) {
            var ar = [];
            for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
            return ar;
        };
        return ownKeys(o);
    };
    return function (mod) {
        if (mod && mod.__esModule) return mod;
        var result = {};
        if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
        __setModuleDefault(result, mod);
        return result;
    };
})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.GetTeachersForClassInSchoolResponse$ = exports.GetTeachersForClassInSchoolResponse$outboundSchema = exports.GetTeachersForClassInSchoolResponse$inboundSchema = exports.GetTeachersForClassInSchoolResponseBody$ = exports.GetTeachersForClassInSchoolResponseBody$outboundSchema = exports.GetTeachersForClassInSchoolResponseBody$inboundSchema = exports.GetTeachersForClassInSchoolUser$ = exports.GetTeachersForClassInSchoolUser$outboundSchema = exports.GetTeachersForClassInSchoolUser$inboundSchema = exports.GetTeachersForClassInSchoolPrimaryOrg$ = exports.GetTeachersForClassInSchoolPrimaryOrg$outboundSchema = exports.GetTeachersForClassInSchoolPrimaryOrg$inboundSchema = exports.GetTeachersForClassInSchoolAgent$ = exports.GetTeachersForClassInSchoolAgent$outboundSchema = exports.GetTeachersForClassInSchoolAgent$inboundSchema = exports.GetTeachersForClassInSchoolType$ = exports.GetTeachersForClassInSchoolType$outboundSchema = exports.GetTeachersForClassInSchoolType$inboundSchema = exports.GetTeachersForClassInSchoolRole$ = exports.GetTeachersForClassInSchoolRole$outboundSchema = exports.GetTeachersForClassInSchoolRole$inboundSchema = exports.GetTeachersForClassInSchoolOrg$ = exports.GetTeachersForClassInSchoolOrg$outboundSchema = exports.GetTeachersForClassInSchoolOrg$inboundSchema = exports.GetTeachersForClassInSchoolRoleEnum$ = exports.GetTeachersForClassInSchoolRoleEnum$outboundSchema = exports.GetTeachersForClassInSchoolRoleEnum$inboundSchema = exports.GetTeachersForClassInSchoolRoleType$ = exports.GetTeachersForClassInSchoolRoleType$outboundSchema = exports.GetTeachersForClassInSchoolRoleType$inboundSchema = exports.GetTeachersForClassInSchoolUserId$ = exports.GetTeachersForClassInSchoolUserId$outboundSchema = exports.GetTeachersForClassInSchoolUserId$inboundSchema = exports.GetTeachersForClassInSchoolStatus$ = exports.GetTeachersForClassInSchoolStatus$outboundSchema = exports.GetTeachersForClassInSchoolStatus$inboundSchema = exports.GetTeachersForClassInSchoolRequest$ = exports.GetTeachersForClassInSchoolRequest$outboundSchema = exports.GetTeachersForClassInSchoolRequest$inboundSchema = exports.GetTeachersForClassInSchoolOrderBy$ = exports.GetTeachersForClassInSchoolOrderBy$outboundSchema = exports.GetTeachersForClassInSchoolOrderBy$inboundSchema = exports.GetTeachersForClassInSchoolType = exports.GetTeachersForClassInSchoolRoleEnum = exports.GetTeachersForClassInSchoolRoleType = exports.GetTeachersForClassInSchoolStatus = exports.GetTeachersForClassInSchoolOrderBy = void 0;
exports.getTeachersForClassInSchoolRequestToJSON = getTeachersForClassInSchoolRequestToJSON;
exports.getTeachersForClassInSchoolRequestFromJSON = getTeachersForClassInSchoolRequestFromJSON;
exports.getTeachersForClassInSchoolUserIdToJSON = getTeachersForClassInSchoolUserIdToJSON;
exports.getTeachersForClassInSchoolUserIdFromJSON = getTeachersForClassInSchoolUserIdFromJSON;
exports.getTeachersForClassInSchoolOrgToJSON = getTeachersForClassInSchoolOrgToJSON;
exports.getTeachersForClassInSchoolOrgFromJSON = getTeachersForClassInSchoolOrgFromJSON;
exports.getTeachersForClassInSchoolRoleToJSON = getTeachersForClassInSchoolRoleToJSON;
exports.getTeachersForClassInSchoolRoleFromJSON = getTeachersForClassInSchoolRoleFromJSON;
exports.getTeachersForClassInSchoolAgentToJSON = getTeachersForClassInSchoolAgentToJSON;
exports.getTeachersForClassInSchoolAgentFromJSON = getTeachersForClassInSchoolAgentFromJSON;
exports.getTeachersForClassInSchoolPrimaryOrgToJSON = getTeachersForClassInSchoolPrimaryOrgToJSON;
exports.getTeachersForClassInSchoolPrimaryOrgFromJSON = getTeachersForClassInSchoolPrimaryOrgFromJSON;
exports.getTeachersForClassInSchoolUserToJSON = getTeachersForClassInSchoolUserToJSON;
exports.getTeachersForClassInSchoolUserFromJSON = getTeachersForClassInSchoolUserFromJSON;
exports.getTeachersForClassInSchoolResponseBodyToJSON = getTeachersForClassInSchoolResponseBodyToJSON;
exports.getTeachersForClassInSchoolResponseBodyFromJSON = getTeachersForClassInSchoolResponseBodyFromJSON;
exports.getTeachersForClassInSchoolResponseToJSON = getTeachersForClassInSchoolResponseToJSON;
exports.getTeachersForClassInSchoolResponseFromJSON = getTeachersForClassInSchoolResponseFromJSON;
const z = __importStar(require("zod"));
const primitives_js_1 = require("../../lib/primitives.js");
const schemas_js_1 = require("../../lib/schemas.js");
/**
 * The order to sort the response by
 */
exports.GetTeachersForClassInSchoolOrderBy = {
    Asc: "asc",
    Desc: "desc",
};
exports.GetTeachersForClassInSchoolStatus = {
    Active: "active",
    Tobedeleted: "tobedeleted",
};
exports.GetTeachersForClassInSchoolRoleType = {
    Primary: "primary",
    Secondary: "secondary",
};
exports.GetTeachersForClassInSchoolRoleEnum = {
    Administrator: "administrator",
    Aide: "aide",
    Guardian: "guardian",
    Parent: "parent",
    Proctor: "proctor",
    Relative: "relative",
    Student: "student",
    Teacher: "teacher",
};
exports.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 */
exports.GetTeachersForClassInSchoolOrderBy$inboundSchema = z.nativeEnum(exports.GetTeachersForClassInSchoolOrderBy);
/** @internal */
exports.GetTeachersForClassInSchoolOrderBy$outboundSchema = exports.GetTeachersForClassInSchoolOrderBy$inboundSchema;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
var GetTeachersForClassInSchoolOrderBy$;
(function (GetTeachersForClassInSchoolOrderBy$) {
    /** @deprecated use `GetTeachersForClassInSchoolOrderBy$inboundSchema` instead. */
    GetTeachersForClassInSchoolOrderBy$.inboundSchema = exports.GetTeachersForClassInSchoolOrderBy$inboundSchema;
    /** @deprecated use `GetTeachersForClassInSchoolOrderBy$outboundSchema` instead. */
    GetTeachersForClassInSchoolOrderBy$.outboundSchema = exports.GetTeachersForClassInSchoolOrderBy$outboundSchema;
})(GetTeachersForClassInSchoolOrderBy$ || (exports.GetTeachersForClassInSchoolOrderBy$ = GetTeachersForClassInSchoolOrderBy$ = {}));
/** @internal */
exports.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: exports.GetTeachersForClassInSchoolOrderBy$inboundSchema.optional(),
    filter: z.string().optional(),
    search: z.string().optional(),
});
/** @internal */
exports.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: exports.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.
 */
var GetTeachersForClassInSchoolRequest$;
(function (GetTeachersForClassInSchoolRequest$) {
    /** @deprecated use `GetTeachersForClassInSchoolRequest$inboundSchema` instead. */
    GetTeachersForClassInSchoolRequest$.inboundSchema = exports.GetTeachersForClassInSchoolRequest$inboundSchema;
    /** @deprecated use `GetTeachersForClassInSchoolRequest$outboundSchema` instead. */
    GetTeachersForClassInSchoolRequest$.outboundSchema = exports.GetTeachersForClassInSchoolRequest$outboundSchema;
})(GetTeachersForClassInSchoolRequest$ || (exports.GetTeachersForClassInSchoolRequest$ = GetTeachersForClassInSchoolRequest$ = {}));
function getTeachersForClassInSchoolRequestToJSON(getTeachersForClassInSchoolRequest) {
    return JSON.stringify(exports.GetTeachersForClassInSchoolRequest$outboundSchema.parse(getTeachersForClassInSchoolRequest));
}
function getTeachersForClassInSchoolRequestFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetTeachersForClassInSchoolRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetTeachersForClassInSchoolRequest' from JSON`);
}
/** @internal */
exports.GetTeachersForClassInSchoolStatus$inboundSchema = z.nativeEnum(exports.GetTeachersForClassInSchoolStatus);
/** @internal */
exports.GetTeachersForClassInSchoolStatus$outboundSchema = exports.GetTeachersForClassInSchoolStatus$inboundSchema;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
var GetTeachersForClassInSchoolStatus$;
(function (GetTeachersForClassInSchoolStatus$) {
    /** @deprecated use `GetTeachersForClassInSchoolStatus$inboundSchema` instead. */
    GetTeachersForClassInSchoolStatus$.inboundSchema = exports.GetTeachersForClassInSchoolStatus$inboundSchema;
    /** @deprecated use `GetTeachersForClassInSchoolStatus$outboundSchema` instead. */
    GetTeachersForClassInSchoolStatus$.outboundSchema = exports.GetTeachersForClassInSchoolStatus$outboundSchema;
})(GetTeachersForClassInSchoolStatus$ || (exports.GetTeachersForClassInSchoolStatus$ = GetTeachersForClassInSchoolStatus$ = {}));
/** @internal */
exports.GetTeachersForClassInSchoolUserId$inboundSchema = z.object({
    type: z.string(),
    identifier: z.string(),
});
/** @internal */
exports.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.
 */
var GetTeachersForClassInSchoolUserId$;
(function (GetTeachersForClassInSchoolUserId$) {
    /** @deprecated use `GetTeachersForClassInSchoolUserId$inboundSchema` instead. */
    GetTeachersForClassInSchoolUserId$.inboundSchema = exports.GetTeachersForClassInSchoolUserId$inboundSchema;
    /** @deprecated use `GetTeachersForClassInSchoolUserId$outboundSchema` instead. */
    GetTeachersForClassInSchoolUserId$.outboundSchema = exports.GetTeachersForClassInSchoolUserId$outboundSchema;
})(GetTeachersForClassInSchoolUserId$ || (exports.GetTeachersForClassInSchoolUserId$ = GetTeachersForClassInSchoolUserId$ = {}));
function getTeachersForClassInSchoolUserIdToJSON(getTeachersForClassInSchoolUserId) {
    return JSON.stringify(exports.GetTeachersForClassInSchoolUserId$outboundSchema.parse(getTeachersForClassInSchoolUserId));
}
function getTeachersForClassInSchoolUserIdFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetTeachersForClassInSchoolUserId$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetTeachersForClassInSchoolUserId' from JSON`);
}
/** @internal */
exports.GetTeachersForClassInSchoolRoleType$inboundSchema = z.nativeEnum(exports.GetTeachersForClassInSchoolRoleType);
/** @internal */
exports.GetTeachersForClassInSchoolRoleType$outboundSchema = exports.GetTeachersForClassInSchoolRoleType$inboundSchema;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
var GetTeachersForClassInSchoolRoleType$;
(function (GetTeachersForClassInSchoolRoleType$) {
    /** @deprecated use `GetTeachersForClassInSchoolRoleType$inboundSchema` instead. */
    GetTeachersForClassInSchoolRoleType$.inboundSchema = exports.GetTeachersForClassInSchoolRoleType$inboundSchema;
    /** @deprecated use `GetTeachersForClassInSchoolRoleType$outboundSchema` instead. */
    GetTeachersForClassInSchoolRoleType$.outboundSchema = exports.GetTeachersForClassInSchoolRoleType$outboundSchema;
})(GetTeachersForClassInSchoolRoleType$ || (exports.GetTeachersForClassInSchoolRoleType$ = GetTeachersForClassInSchoolRoleType$ = {}));
/** @internal */
exports.GetTeachersForClassInSchoolRoleEnum$inboundSchema = z.nativeEnum(exports.GetTeachersForClassInSchoolRoleEnum);
/** @internal */
exports.GetTeachersForClassInSchoolRoleEnum$outboundSchema = exports.GetTeachersForClassInSchoolRoleEnum$inboundSchema;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
var GetTeachersForClassInSchoolRoleEnum$;
(function (GetTeachersForClassInSchoolRoleEnum$) {
    /** @deprecated use `GetTeachersForClassInSchoolRoleEnum$inboundSchema` instead. */
    GetTeachersForClassInSchoolRoleEnum$.inboundSchema = exports.GetTeachersForClassInSchoolRoleEnum$inboundSchema;
    /** @deprecated use `GetTeachersForClassInSchoolRoleEnum$outboundSchema` instead. */
    GetTeachersForClassInSchoolRoleEnum$.outboundSchema = exports.GetTeachersForClassInSchoolRoleEnum$outboundSchema;
})(GetTeachersForClassInSchoolRoleEnum$ || (exports.GetTeachersForClassInSchoolRoleEnum$ = GetTeachersForClassInSchoolRoleEnum$ = {}));
/** @internal */
exports.GetTeachersForClassInSchoolOrg$inboundSchema = z.object({
    href: z.string(),
    sourcedId: z.string(),
    type: z.string(),
});
/** @internal */
exports.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.
 */
var GetTeachersForClassInSchoolOrg$;
(function (GetTeachersForClassInSchoolOrg$) {
    /** @deprecated use `GetTeachersForClassInSchoolOrg$inboundSchema` instead. */
    GetTeachersForClassInSchoolOrg$.inboundSchema = exports.GetTeachersForClassInSchoolOrg$inboundSchema;
    /** @deprecated use `GetTeachersForClassInSchoolOrg$outboundSchema` instead. */
    GetTeachersForClassInSchoolOrg$.outboundSchema = exports.GetTeachersForClassInSchoolOrg$outboundSchema;
})(GetTeachersForClassInSchoolOrg$ || (exports.GetTeachersForClassInSchoolOrg$ = GetTeachersForClassInSchoolOrg$ = {}));
function getTeachersForClassInSchoolOrgToJSON(getTeachersForClassInSchoolOrg) {
    return JSON.stringify(exports.GetTeachersForClassInSchoolOrg$outboundSchema.parse(getTeachersForClassInSchoolOrg));
}
function getTeachersForClassInSchoolOrgFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetTeachersForClassInSchoolOrg$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetTeachersForClassInSchoolOrg' from JSON`);
}
/** @internal */
exports.GetTeachersForClassInSchoolRole$inboundSchema = z.object({
    roleType: exports.GetTeachersForClassInSchoolRoleType$inboundSchema,
    role: exports.GetTeachersForClassInSchoolRoleEnum$inboundSchema,
    org: z.lazy(() => exports.GetTeachersForClassInSchoolOrg$inboundSchema),
    userProfile: z.string().optional(),
    beginDate: z.nullable(z.string()),
    endDate: z.nullable(z.string()),
});
/** @internal */
exports.GetTeachersForClassInSchoolRole$outboundSchema = z.object({
    roleType: exports.GetTeachersForClassInSchoolRoleType$outboundSchema,
    role: exports.GetTeachersForClassInSchoolRoleEnum$outboundSchema,
    org: z.lazy(() => exports.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.
 */
var GetTeachersForClassInSchoolRole$;
(function (GetTeachersForClassInSchoolRole$) {
    /** @deprecated use `GetTeachersForClassInSchoolRole$inboundSchema` instead. */
    GetTeachersForClassInSchoolRole$.inboundSchema = exports.GetTeachersForClassInSchoolRole$inboundSchema;
    /** @deprecated use `GetTeachersForClassInSchoolRole$outboundSchema` instead. */
    GetTeachersForClassInSchoolRole$.outboundSchema = exports.GetTeachersForClassInSchoolRole$outboundSchema;
})(GetTeachersForClassInSchoolRole$ || (exports.GetTeachersForClassInSchoolRole$ = GetTeachersForClassInSchoolRole$ = {}));
function getTeachersForClassInSchoolRoleToJSON(getTeachersForClassInSchoolRole) {
    return JSON.stringify(exports.GetTeachersForClassInSchoolRole$outboundSchema.parse(getTeachersForClassInSchoolRole));
}
function getTeachersForClassInSchoolRoleFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetTeachersForClassInSchoolRole$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetTeachersForClassInSchoolRole' from JSON`);
}
/** @internal */
exports.GetTeachersForClassInSchoolType$inboundSchema = z.nativeEnum(exports.GetTeachersForClassInSchoolType);
/** @internal */
exports.GetTeachersForClassInSchoolType$outboundSchema = exports.GetTeachersForClassInSchoolType$inboundSchema;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
var GetTeachersForClassInSchoolType$;
(function (GetTeachersForClassInSchoolType$) {
    /** @deprecated use `GetTeachersForClassInSchoolType$inboundSchema` instead. */
    GetTeachersForClassInSchoolType$.inboundSchema = exports.GetTeachersForClassInSchoolType$inboundSchema;
    /** @deprecated use `GetTeachersForClassInSchoolType$outboundSchema` instead. */
    GetTeachersForClassInSchoolType$.outboundSchema = exports.GetTeachersForClassInSchoolType$outboundSchema;
})(GetTeachersForClassInSchoolType$ || (exports.GetTeachersForClassInSchoolType$ = GetTeachersForClassInSchoolType$ = {}));
/** @internal */
exports.GetTeachersForClassInSchoolAgent$inboundSchema = z.object({
    href: z.string(),
    sourcedId: z.string(),
    type: exports.GetTeachersForClassInSchoolType$inboundSchema,
});
/** @internal */
exports.GetTeachersForClassInSchoolAgent$outboundSchema = z.object({
    href: z.string(),
    sourcedId: z.string(),
    type: exports.GetTeachersForClassInSchoolType$outboundSchema,
});
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
var GetTeachersForClassInSchoolAgent$;
(function (GetTeachersForClassInSchoolAgent$) {
    /** @deprecated use `GetTeachersForClassInSchoolAgent$inboundSchema` instead. */
    GetTeachersForClassInSchoolAgent$.inboundSchema = exports.GetTeachersForClassInSchoolAgent$inboundSchema;
    /** @deprecated use `GetTeachersForClassInSchoolAgent$outboundSchema` instead. */
    GetTeachersForClassInSchoolAgent$.outboundSchema = exports.GetTeachersForClassInSchoolAgent$outboundSchema;
})(GetTeachersForClassInSchoolAgent$ || (exports.GetTeachersForClassInSchoolAgent$ = GetTeachersForClassInSchoolAgent$ = {}));
function getTeachersForClassInSchoolAgentToJSON(getTeachersForClassInSchoolAgent) {
    return JSON.stringify(exports.GetTeachersForClassInSchoolAgent$outboundSchema.parse(getTeachersForClassInSchoolAgent));
}
function getTeachersForClassInSchoolAgentFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetTeachersForClassInSchoolAgent$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetTeachersForClassInSchoolAgent' from JSON`);
}
/** @internal */
exports.GetTeachersForClassInSchoolPrimaryOrg$inboundSchema = z.object({
    href: z.string(),
    sourcedId: z.string(),
    type: z.string(),
});
/** @internal */
exports.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.
 */
var GetTeachersForClassInSchoolPrimaryOrg$;
(function (GetTeachersForClassInSchoolPrimaryOrg$) {
    /** @deprecated use `GetTeachersForClassInSchoolPrimaryOrg$inboundSchema` instead. */
    GetTeachersForClassInSchoolPrimaryOrg$.inboundSchema = exports.GetTeachersForClassInSchoolPrimaryOrg$inboundSchema;
    /** @deprecated use `GetTeachersForClassInSchoolPrimaryOrg$outboundSchema` instead. */
    GetTeachersForClassInSchoolPrimaryOrg$.outboundSchema = exports.GetTeachersForClassInSchoolPrimaryOrg$outboundSchema;
})(GetTeachersForClassInSchoolPrimaryOrg$ || (exports.GetTeachersForClassInSchoolPrimaryOrg$ = GetTeachersForClassInSchoolPrimaryOrg$ = {}));
function getTeachersForClassInSchoolPrimaryOrgToJSON(getTeachersForClassInSchoolPrimaryOrg) {
    return JSON.stringify(exports.GetTeachersForClassInSchoolPrimaryOrg$outboundSchema.parse(getTeachersForClassInSchoolPrimaryOrg));
}
function getTeachersForClassInSchoolPrimaryOrgFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetTeachersForClassInSchoolPrimaryOrg$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetTeachersForClassInSchoolPrimaryOrg' from JSON`);
}
/** @internal */
exports.GetTeachersForClassInSchoolUser$inboundSchema = z.object({
    sourcedId: z.string(),
    status: exports.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(() => exports.GetTeachersForClassInSchoolUserId$inboundSchema)).optional(),
    enabledUser: z.boolean(),
    givenName: z.string(),
    familyName: z.string(),
    middleName: z.nullable(z.string()).optional(),
    roles: z.array(z.lazy(() => exports.GetTeachersForClassInSchoolRole$inboundSchema)),
    agents: z.array(z.lazy(() => exports.GetTeachersForClassInSchoolAgent$inboundSchema)),
    primaryOrg: z.lazy(() => exports.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 */
exports.GetTeachersForClassInSchoolUser$outboundSchema = z.object({
    sourcedId: z.string(),
    status: exports.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(() => exports.GetTeachersForClassInSchoolUserId$outboundSchema)).optional(),
    enabledUser: z.boolean(),
    givenName: z.string(),
    familyName: z.string(),
    middleName: z.nullable(z.string()).optional(),
    roles: z.array(z.lazy(() => exports.GetTeachersForClassInSchoolRole$outboundSchema)),
    agents: z.array(z.lazy(() => exports.GetTeachersForClassInSchoolAgent$outboundSchema)),
    primaryOrg: z.lazy(() => exports.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.
 */
var GetTeachersForClassInSchoolUser$;
(function (GetTeachersForClassInSchoolUser$) {
    /** @deprecated use `GetTeachersForClassInSchoolUser$inboundSchema` instead. */
    GetTeachersForClassInSchoolUser$.inboundSchema = exports.GetTeachersForClassInSchoolUser$inboundSchema;
    /** @deprecated use `GetTeachersForClassInSchoolUser$outboundSchema` instead. */
    GetTeachersForClassInSchoolUser$.outboundSchema = exports.GetTeachersForClassInSchoolUser$outboundSchema;
})(GetTeachersForClassInSchoolUser$ || (exports.GetTeachersForClassInSchoolUser$ = GetTeachersForClassInSchoolUser$ = {}));
function getTeachersForClassInSchoolUserToJSON(getTeachersForClassInSchoolUser) {
    return JSON.stringify(exports.GetTeachersForClassInSchoolUser$outboundSchema.parse(getTeachersForClassInSchoolUser));
}
function getTeachersForClassInSchoolUserFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetTeachersForClassInSchoolUser$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetTeachersForClassInSchoolUser' from JSON`);
}
/** @internal */
exports.GetTeachersForClassInSchoolResponseBody$inboundSchema = z.object({
    users: z.array(z.lazy(() => exports.GetTeachersForClassInSchoolUser$inboundSchema)),
    totalCount: z.number(),
    pageCount: z.number(),
    pageNumber: z.number(),
    offset: z.number(),
    limit: z.number(),
});
/** @internal */
exports.GetTeachersForClassInSchoolResponseBody$outboundSchema = z.object({
    users: z.array(z.lazy(() => exports.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.
 */
var GetTeachersForClassInSchoolResponseBody$;
(function (GetTeachersForClassInSchoolResponseBody$) {
    /** @deprecated use `GetTeachersForClassInSchoolResponseBody$inboundSchema` instead. */
    GetTeachersForClassInSchoolResponseBody$.inboundSchema = exports.GetTeachersForClassInSchoolResponseBody$inboundSchema;
    /** @deprecated use `GetTeachersForClassInSchoolResponseBody$outboundSchema` instead. */
    GetTeachersForClassInSchoolResponseBody$.outboundSchema = exports.GetTeachersForClassInSchoolResponseBody$outboundSchema;
})(GetTeachersForClassInSchoolResponseBody$ || (exports.GetTeachersForClassInSchoolResponseBody$ = GetTeachersForClassInSchoolResponseBody$ = {}));
function getTeachersForClassInSchoolResponseBodyToJSON(getTeachersForClassInSchoolResponseBody) {
    return JSON.stringify(exports.GetTeachersForClassInSchoolResponseBody$outboundSchema.parse(getTeachersForClassInSchoolResponseBody));
}
function getTeachersForClassInSchoolResponseBodyFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetTeachersForClassInSchoolResponseBody$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetTeachersForClassInSchoolResponseBody' from JSON`);
}
/** @internal */
exports.GetTeachersForClassInSchoolResponse$inboundSchema = z.object({
    Result: z.lazy(() => exports.GetTeachersForClassInSchoolResponseBody$inboundSchema),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        "Result": "result",
    });
});
/** @internal */
exports.GetTeachersForClassInSchoolResponse$outboundSchema = z.object({
    result: z.lazy(() => exports.GetTeachersForClassInSchoolResponseBody$outboundSchema),
}).transform((v) => {
    return (0, primitives_js_1.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.
 */
var GetTeachersForClassInSchoolResponse$;
(function (GetTeachersForClassInSchoolResponse$) {
    /** @deprecated use `GetTeachersForClassInSchoolResponse$inboundSchema` instead. */
    GetTeachersForClassInSchoolResponse$.inboundSchema = exports.GetTeachersForClassInSchoolResponse$inboundSchema;
    /** @deprecated use `GetTeachersForClassInSchoolResponse$outboundSchema` instead. */
    GetTeachersForClassInSchoolResponse$.outboundSchema = exports.GetTeachersForClassInSchoolResponse$outboundSchema;
})(GetTeachersForClassInSchoolResponse$ || (exports.GetTeachersForClassInSchoolResponse$ = GetTeachersForClassInSchoolResponse$ = {}));
function getTeachersForClassInSchoolResponseToJSON(getTeachersForClassInSchoolResponse) {
    return JSON.stringify(exports.GetTeachersForClassInSchoolResponse$outboundSchema.parse(getTeachersForClassInSchoolResponse));
}
function getTeachersForClassInSchoolResponseFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetTeachersForClassInSchoolResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetTeachersForClassInSchoolResponse' from JSON`);
}
//# sourceMappingURL=getteachersforclassinschool.js.map