"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.GetAllTeachersResponse$ = exports.GetAllTeachersResponse$outboundSchema = exports.GetAllTeachersResponse$inboundSchema = exports.GetAllTeachersResponseBody$ = exports.GetAllTeachersResponseBody$outboundSchema = exports.GetAllTeachersResponseBody$inboundSchema = exports.GetAllTeachersUser$ = exports.GetAllTeachersUser$outboundSchema = exports.GetAllTeachersUser$inboundSchema = exports.GetAllTeachersPrimaryOrg$ = exports.GetAllTeachersPrimaryOrg$outboundSchema = exports.GetAllTeachersPrimaryOrg$inboundSchema = exports.GetAllTeachersAgent$ = exports.GetAllTeachersAgent$outboundSchema = exports.GetAllTeachersAgent$inboundSchema = exports.GetAllTeachersType$ = exports.GetAllTeachersType$outboundSchema = exports.GetAllTeachersType$inboundSchema = exports.GetAllTeachersRole$ = exports.GetAllTeachersRole$outboundSchema = exports.GetAllTeachersRole$inboundSchema = exports.GetAllTeachersOrg$ = exports.GetAllTeachersOrg$outboundSchema = exports.GetAllTeachersOrg$inboundSchema = exports.GetAllTeachersRoleEnum$ = exports.GetAllTeachersRoleEnum$outboundSchema = exports.GetAllTeachersRoleEnum$inboundSchema = exports.GetAllTeachersRoleType$ = exports.GetAllTeachersRoleType$outboundSchema = exports.GetAllTeachersRoleType$inboundSchema = exports.GetAllTeachersUserId$ = exports.GetAllTeachersUserId$outboundSchema = exports.GetAllTeachersUserId$inboundSchema = exports.GetAllTeachersStatus$ = exports.GetAllTeachersStatus$outboundSchema = exports.GetAllTeachersStatus$inboundSchema = exports.GetAllTeachersRequest$ = exports.GetAllTeachersRequest$outboundSchema = exports.GetAllTeachersRequest$inboundSchema = exports.GetAllTeachersOrderBy$ = exports.GetAllTeachersOrderBy$outboundSchema = exports.GetAllTeachersOrderBy$inboundSchema = exports.GetAllTeachersType = exports.GetAllTeachersRoleEnum = exports.GetAllTeachersRoleType = exports.GetAllTeachersStatus = exports.GetAllTeachersOrderBy = void 0;
exports.getAllTeachersRequestToJSON = getAllTeachersRequestToJSON;
exports.getAllTeachersRequestFromJSON = getAllTeachersRequestFromJSON;
exports.getAllTeachersUserIdToJSON = getAllTeachersUserIdToJSON;
exports.getAllTeachersUserIdFromJSON = getAllTeachersUserIdFromJSON;
exports.getAllTeachersOrgToJSON = getAllTeachersOrgToJSON;
exports.getAllTeachersOrgFromJSON = getAllTeachersOrgFromJSON;
exports.getAllTeachersRoleToJSON = getAllTeachersRoleToJSON;
exports.getAllTeachersRoleFromJSON = getAllTeachersRoleFromJSON;
exports.getAllTeachersAgentToJSON = getAllTeachersAgentToJSON;
exports.getAllTeachersAgentFromJSON = getAllTeachersAgentFromJSON;
exports.getAllTeachersPrimaryOrgToJSON = getAllTeachersPrimaryOrgToJSON;
exports.getAllTeachersPrimaryOrgFromJSON = getAllTeachersPrimaryOrgFromJSON;
exports.getAllTeachersUserToJSON = getAllTeachersUserToJSON;
exports.getAllTeachersUserFromJSON = getAllTeachersUserFromJSON;
exports.getAllTeachersResponseBodyToJSON = getAllTeachersResponseBodyToJSON;
exports.getAllTeachersResponseBodyFromJSON = getAllTeachersResponseBodyFromJSON;
exports.getAllTeachersResponseToJSON = getAllTeachersResponseToJSON;
exports.getAllTeachersResponseFromJSON = getAllTeachersResponseFromJSON;
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.GetAllTeachersOrderBy = {
    Asc: "asc",
    Desc: "desc",
};
exports.GetAllTeachersStatus = {
    Active: "active",
    Tobedeleted: "tobedeleted",
};
exports.GetAllTeachersRoleType = {
    Primary: "primary",
    Secondary: "secondary",
};
exports.GetAllTeachersRoleEnum = {
    Administrator: "administrator",
    Aide: "aide",
    Guardian: "guardian",
    Parent: "parent",
    Proctor: "proctor",
    Relative: "relative",
    Student: "student",
    Teacher: "teacher",
};
exports.GetAllTeachersType = {
    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.GetAllTeachersOrderBy$inboundSchema = z.nativeEnum(exports.GetAllTeachersOrderBy);
/** @internal */
exports.GetAllTeachersOrderBy$outboundSchema = exports.GetAllTeachersOrderBy$inboundSchema;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
var GetAllTeachersOrderBy$;
(function (GetAllTeachersOrderBy$) {
    /** @deprecated use `GetAllTeachersOrderBy$inboundSchema` instead. */
    GetAllTeachersOrderBy$.inboundSchema = exports.GetAllTeachersOrderBy$inboundSchema;
    /** @deprecated use `GetAllTeachersOrderBy$outboundSchema` instead. */
    GetAllTeachersOrderBy$.outboundSchema = exports.GetAllTeachersOrderBy$outboundSchema;
})(GetAllTeachersOrderBy$ || (exports.GetAllTeachersOrderBy$ = GetAllTeachersOrderBy$ = {}));
/** @internal */
exports.GetAllTeachersRequest$inboundSchema = z.object({
    fields: z.string().optional(),
    limit: z.number().int().default(100),
    offset: z.number().int().default(0),
    sort: z.string().optional(),
    orderBy: exports.GetAllTeachersOrderBy$inboundSchema.optional(),
    filter: z.string().optional(),
    search: z.string().optional(),
});
/** @internal */
exports.GetAllTeachersRequest$outboundSchema = z.object({
    fields: z.string().optional(),
    limit: z.number().int().default(100),
    offset: z.number().int().default(0),
    sort: z.string().optional(),
    orderBy: exports.GetAllTeachersOrderBy$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 GetAllTeachersRequest$;
(function (GetAllTeachersRequest$) {
    /** @deprecated use `GetAllTeachersRequest$inboundSchema` instead. */
    GetAllTeachersRequest$.inboundSchema = exports.GetAllTeachersRequest$inboundSchema;
    /** @deprecated use `GetAllTeachersRequest$outboundSchema` instead. */
    GetAllTeachersRequest$.outboundSchema = exports.GetAllTeachersRequest$outboundSchema;
})(GetAllTeachersRequest$ || (exports.GetAllTeachersRequest$ = GetAllTeachersRequest$ = {}));
function getAllTeachersRequestToJSON(getAllTeachersRequest) {
    return JSON.stringify(exports.GetAllTeachersRequest$outboundSchema.parse(getAllTeachersRequest));
}
function getAllTeachersRequestFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetAllTeachersRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAllTeachersRequest' from JSON`);
}
/** @internal */
exports.GetAllTeachersStatus$inboundSchema = z.nativeEnum(exports.GetAllTeachersStatus);
/** @internal */
exports.GetAllTeachersStatus$outboundSchema = exports.GetAllTeachersStatus$inboundSchema;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
var GetAllTeachersStatus$;
(function (GetAllTeachersStatus$) {
    /** @deprecated use `GetAllTeachersStatus$inboundSchema` instead. */
    GetAllTeachersStatus$.inboundSchema = exports.GetAllTeachersStatus$inboundSchema;
    /** @deprecated use `GetAllTeachersStatus$outboundSchema` instead. */
    GetAllTeachersStatus$.outboundSchema = exports.GetAllTeachersStatus$outboundSchema;
})(GetAllTeachersStatus$ || (exports.GetAllTeachersStatus$ = GetAllTeachersStatus$ = {}));
/** @internal */
exports.GetAllTeachersUserId$inboundSchema = z.object({
    type: z.string(),
    identifier: z.string(),
});
/** @internal */
exports.GetAllTeachersUserId$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 GetAllTeachersUserId$;
(function (GetAllTeachersUserId$) {
    /** @deprecated use `GetAllTeachersUserId$inboundSchema` instead. */
    GetAllTeachersUserId$.inboundSchema = exports.GetAllTeachersUserId$inboundSchema;
    /** @deprecated use `GetAllTeachersUserId$outboundSchema` instead. */
    GetAllTeachersUserId$.outboundSchema = exports.GetAllTeachersUserId$outboundSchema;
})(GetAllTeachersUserId$ || (exports.GetAllTeachersUserId$ = GetAllTeachersUserId$ = {}));
function getAllTeachersUserIdToJSON(getAllTeachersUserId) {
    return JSON.stringify(exports.GetAllTeachersUserId$outboundSchema.parse(getAllTeachersUserId));
}
function getAllTeachersUserIdFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetAllTeachersUserId$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAllTeachersUserId' from JSON`);
}
/** @internal */
exports.GetAllTeachersRoleType$inboundSchema = z.nativeEnum(exports.GetAllTeachersRoleType);
/** @internal */
exports.GetAllTeachersRoleType$outboundSchema = exports.GetAllTeachersRoleType$inboundSchema;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
var GetAllTeachersRoleType$;
(function (GetAllTeachersRoleType$) {
    /** @deprecated use `GetAllTeachersRoleType$inboundSchema` instead. */
    GetAllTeachersRoleType$.inboundSchema = exports.GetAllTeachersRoleType$inboundSchema;
    /** @deprecated use `GetAllTeachersRoleType$outboundSchema` instead. */
    GetAllTeachersRoleType$.outboundSchema = exports.GetAllTeachersRoleType$outboundSchema;
})(GetAllTeachersRoleType$ || (exports.GetAllTeachersRoleType$ = GetAllTeachersRoleType$ = {}));
/** @internal */
exports.GetAllTeachersRoleEnum$inboundSchema = z.nativeEnum(exports.GetAllTeachersRoleEnum);
/** @internal */
exports.GetAllTeachersRoleEnum$outboundSchema = exports.GetAllTeachersRoleEnum$inboundSchema;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
var GetAllTeachersRoleEnum$;
(function (GetAllTeachersRoleEnum$) {
    /** @deprecated use `GetAllTeachersRoleEnum$inboundSchema` instead. */
    GetAllTeachersRoleEnum$.inboundSchema = exports.GetAllTeachersRoleEnum$inboundSchema;
    /** @deprecated use `GetAllTeachersRoleEnum$outboundSchema` instead. */
    GetAllTeachersRoleEnum$.outboundSchema = exports.GetAllTeachersRoleEnum$outboundSchema;
})(GetAllTeachersRoleEnum$ || (exports.GetAllTeachersRoleEnum$ = GetAllTeachersRoleEnum$ = {}));
/** @internal */
exports.GetAllTeachersOrg$inboundSchema = z.object({
    href: z.string(),
    sourcedId: z.string(),
    type: z.string(),
});
/** @internal */
exports.GetAllTeachersOrg$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 GetAllTeachersOrg$;
(function (GetAllTeachersOrg$) {
    /** @deprecated use `GetAllTeachersOrg$inboundSchema` instead. */
    GetAllTeachersOrg$.inboundSchema = exports.GetAllTeachersOrg$inboundSchema;
    /** @deprecated use `GetAllTeachersOrg$outboundSchema` instead. */
    GetAllTeachersOrg$.outboundSchema = exports.GetAllTeachersOrg$outboundSchema;
})(GetAllTeachersOrg$ || (exports.GetAllTeachersOrg$ = GetAllTeachersOrg$ = {}));
function getAllTeachersOrgToJSON(getAllTeachersOrg) {
    return JSON.stringify(exports.GetAllTeachersOrg$outboundSchema.parse(getAllTeachersOrg));
}
function getAllTeachersOrgFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetAllTeachersOrg$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAllTeachersOrg' from JSON`);
}
/** @internal */
exports.GetAllTeachersRole$inboundSchema = z.object({
    roleType: exports.GetAllTeachersRoleType$inboundSchema,
    role: exports.GetAllTeachersRoleEnum$inboundSchema,
    org: z.lazy(() => exports.GetAllTeachersOrg$inboundSchema),
    userProfile: z.string().optional(),
    beginDate: z.nullable(z.string()),
    endDate: z.nullable(z.string()),
});
/** @internal */
exports.GetAllTeachersRole$outboundSchema = z.object({
    roleType: exports.GetAllTeachersRoleType$outboundSchema,
    role: exports.GetAllTeachersRoleEnum$outboundSchema,
    org: z.lazy(() => exports.GetAllTeachersOrg$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 GetAllTeachersRole$;
(function (GetAllTeachersRole$) {
    /** @deprecated use `GetAllTeachersRole$inboundSchema` instead. */
    GetAllTeachersRole$.inboundSchema = exports.GetAllTeachersRole$inboundSchema;
    /** @deprecated use `GetAllTeachersRole$outboundSchema` instead. */
    GetAllTeachersRole$.outboundSchema = exports.GetAllTeachersRole$outboundSchema;
})(GetAllTeachersRole$ || (exports.GetAllTeachersRole$ = GetAllTeachersRole$ = {}));
function getAllTeachersRoleToJSON(getAllTeachersRole) {
    return JSON.stringify(exports.GetAllTeachersRole$outboundSchema.parse(getAllTeachersRole));
}
function getAllTeachersRoleFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetAllTeachersRole$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAllTeachersRole' from JSON`);
}
/** @internal */
exports.GetAllTeachersType$inboundSchema = z.nativeEnum(exports.GetAllTeachersType);
/** @internal */
exports.GetAllTeachersType$outboundSchema = exports.GetAllTeachersType$inboundSchema;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
var GetAllTeachersType$;
(function (GetAllTeachersType$) {
    /** @deprecated use `GetAllTeachersType$inboundSchema` instead. */
    GetAllTeachersType$.inboundSchema = exports.GetAllTeachersType$inboundSchema;
    /** @deprecated use `GetAllTeachersType$outboundSchema` instead. */
    GetAllTeachersType$.outboundSchema = exports.GetAllTeachersType$outboundSchema;
})(GetAllTeachersType$ || (exports.GetAllTeachersType$ = GetAllTeachersType$ = {}));
/** @internal */
exports.GetAllTeachersAgent$inboundSchema = z.object({
    href: z.string(),
    sourcedId: z.string(),
    type: exports.GetAllTeachersType$inboundSchema,
});
/** @internal */
exports.GetAllTeachersAgent$outboundSchema = z.object({
    href: z.string(),
    sourcedId: z.string(),
    type: exports.GetAllTeachersType$outboundSchema,
});
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
var GetAllTeachersAgent$;
(function (GetAllTeachersAgent$) {
    /** @deprecated use `GetAllTeachersAgent$inboundSchema` instead. */
    GetAllTeachersAgent$.inboundSchema = exports.GetAllTeachersAgent$inboundSchema;
    /** @deprecated use `GetAllTeachersAgent$outboundSchema` instead. */
    GetAllTeachersAgent$.outboundSchema = exports.GetAllTeachersAgent$outboundSchema;
})(GetAllTeachersAgent$ || (exports.GetAllTeachersAgent$ = GetAllTeachersAgent$ = {}));
function getAllTeachersAgentToJSON(getAllTeachersAgent) {
    return JSON.stringify(exports.GetAllTeachersAgent$outboundSchema.parse(getAllTeachersAgent));
}
function getAllTeachersAgentFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetAllTeachersAgent$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAllTeachersAgent' from JSON`);
}
/** @internal */
exports.GetAllTeachersPrimaryOrg$inboundSchema = z.object({
    href: z.string(),
    sourcedId: z.string(),
    type: z.string(),
});
/** @internal */
exports.GetAllTeachersPrimaryOrg$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 GetAllTeachersPrimaryOrg$;
(function (GetAllTeachersPrimaryOrg$) {
    /** @deprecated use `GetAllTeachersPrimaryOrg$inboundSchema` instead. */
    GetAllTeachersPrimaryOrg$.inboundSchema = exports.GetAllTeachersPrimaryOrg$inboundSchema;
    /** @deprecated use `GetAllTeachersPrimaryOrg$outboundSchema` instead. */
    GetAllTeachersPrimaryOrg$.outboundSchema = exports.GetAllTeachersPrimaryOrg$outboundSchema;
})(GetAllTeachersPrimaryOrg$ || (exports.GetAllTeachersPrimaryOrg$ = GetAllTeachersPrimaryOrg$ = {}));
function getAllTeachersPrimaryOrgToJSON(getAllTeachersPrimaryOrg) {
    return JSON.stringify(exports.GetAllTeachersPrimaryOrg$outboundSchema.parse(getAllTeachersPrimaryOrg));
}
function getAllTeachersPrimaryOrgFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetAllTeachersPrimaryOrg$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAllTeachersPrimaryOrg' from JSON`);
}
/** @internal */
exports.GetAllTeachersUser$inboundSchema = z.object({
    sourcedId: z.string(),
    status: exports.GetAllTeachersStatus$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.GetAllTeachersUserId$inboundSchema)).optional(),
    enabledUser: z.boolean(),
    givenName: z.string(),
    familyName: z.string(),
    middleName: z.nullable(z.string()).optional(),
    roles: z.array(z.lazy(() => exports.GetAllTeachersRole$inboundSchema)),
    agents: z.array(z.lazy(() => exports.GetAllTeachersAgent$inboundSchema)),
    primaryOrg: z.lazy(() => exports.GetAllTeachersPrimaryOrg$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.GetAllTeachersUser$outboundSchema = z.object({
    sourcedId: z.string(),
    status: exports.GetAllTeachersStatus$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.GetAllTeachersUserId$outboundSchema))
        .optional(),
    enabledUser: z.boolean(),
    givenName: z.string(),
    familyName: z.string(),
    middleName: z.nullable(z.string()).optional(),
    roles: z.array(z.lazy(() => exports.GetAllTeachersRole$outboundSchema)),
    agents: z.array(z.lazy(() => exports.GetAllTeachersAgent$outboundSchema)),
    primaryOrg: z.lazy(() => exports.GetAllTeachersPrimaryOrg$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 GetAllTeachersUser$;
(function (GetAllTeachersUser$) {
    /** @deprecated use `GetAllTeachersUser$inboundSchema` instead. */
    GetAllTeachersUser$.inboundSchema = exports.GetAllTeachersUser$inboundSchema;
    /** @deprecated use `GetAllTeachersUser$outboundSchema` instead. */
    GetAllTeachersUser$.outboundSchema = exports.GetAllTeachersUser$outboundSchema;
})(GetAllTeachersUser$ || (exports.GetAllTeachersUser$ = GetAllTeachersUser$ = {}));
function getAllTeachersUserToJSON(getAllTeachersUser) {
    return JSON.stringify(exports.GetAllTeachersUser$outboundSchema.parse(getAllTeachersUser));
}
function getAllTeachersUserFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetAllTeachersUser$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAllTeachersUser' from JSON`);
}
/** @internal */
exports.GetAllTeachersResponseBody$inboundSchema = z.object({
    users: z.array(z.lazy(() => exports.GetAllTeachersUser$inboundSchema)),
    totalCount: z.number(),
    pageCount: z.number(),
    pageNumber: z.number(),
    offset: z.number(),
    limit: z.number(),
});
/** @internal */
exports.GetAllTeachersResponseBody$outboundSchema = z.object({
    users: z.array(z.lazy(() => exports.GetAllTeachersUser$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 GetAllTeachersResponseBody$;
(function (GetAllTeachersResponseBody$) {
    /** @deprecated use `GetAllTeachersResponseBody$inboundSchema` instead. */
    GetAllTeachersResponseBody$.inboundSchema = exports.GetAllTeachersResponseBody$inboundSchema;
    /** @deprecated use `GetAllTeachersResponseBody$outboundSchema` instead. */
    GetAllTeachersResponseBody$.outboundSchema = exports.GetAllTeachersResponseBody$outboundSchema;
})(GetAllTeachersResponseBody$ || (exports.GetAllTeachersResponseBody$ = GetAllTeachersResponseBody$ = {}));
function getAllTeachersResponseBodyToJSON(getAllTeachersResponseBody) {
    return JSON.stringify(exports.GetAllTeachersResponseBody$outboundSchema.parse(getAllTeachersResponseBody));
}
function getAllTeachersResponseBodyFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetAllTeachersResponseBody$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAllTeachersResponseBody' from JSON`);
}
/** @internal */
exports.GetAllTeachersResponse$inboundSchema = z.object({
    Result: z.lazy(() => exports.GetAllTeachersResponseBody$inboundSchema),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        "Result": "result",
    });
});
/** @internal */
exports.GetAllTeachersResponse$outboundSchema = z.object({
    result: z.lazy(() => exports.GetAllTeachersResponseBody$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 GetAllTeachersResponse$;
(function (GetAllTeachersResponse$) {
    /** @deprecated use `GetAllTeachersResponse$inboundSchema` instead. */
    GetAllTeachersResponse$.inboundSchema = exports.GetAllTeachersResponse$inboundSchema;
    /** @deprecated use `GetAllTeachersResponse$outboundSchema` instead. */
    GetAllTeachersResponse$.outboundSchema = exports.GetAllTeachersResponse$outboundSchema;
})(GetAllTeachersResponse$ || (exports.GetAllTeachersResponse$ = GetAllTeachersResponse$ = {}));
function getAllTeachersResponseToJSON(getAllTeachersResponse) {
    return JSON.stringify(exports.GetAllTeachersResponse$outboundSchema.parse(getAllTeachersResponse));
}
function getAllTeachersResponseFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetAllTeachersResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAllTeachersResponse' from JSON`);
}
//# sourceMappingURL=getallteachers.js.map