"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.GetAllStudentsResponse$ = exports.GetAllStudentsResponse$outboundSchema = exports.GetAllStudentsResponse$inboundSchema = exports.GetAllStudentsResponseBody$ = exports.GetAllStudentsResponseBody$outboundSchema = exports.GetAllStudentsResponseBody$inboundSchema = exports.GetAllStudentsUser$ = exports.GetAllStudentsUser$outboundSchema = exports.GetAllStudentsUser$inboundSchema = exports.GetAllStudentsPrimaryOrg$ = exports.GetAllStudentsPrimaryOrg$outboundSchema = exports.GetAllStudentsPrimaryOrg$inboundSchema = exports.GetAllStudentsAgent$ = exports.GetAllStudentsAgent$outboundSchema = exports.GetAllStudentsAgent$inboundSchema = exports.GetAllStudentsType$ = exports.GetAllStudentsType$outboundSchema = exports.GetAllStudentsType$inboundSchema = exports.GetAllStudentsRole$ = exports.GetAllStudentsRole$outboundSchema = exports.GetAllStudentsRole$inboundSchema = exports.GetAllStudentsOrg$ = exports.GetAllStudentsOrg$outboundSchema = exports.GetAllStudentsOrg$inboundSchema = exports.GetAllStudentsRoleEnum$ = exports.GetAllStudentsRoleEnum$outboundSchema = exports.GetAllStudentsRoleEnum$inboundSchema = exports.GetAllStudentsRoleType$ = exports.GetAllStudentsRoleType$outboundSchema = exports.GetAllStudentsRoleType$inboundSchema = exports.GetAllStudentsUserId$ = exports.GetAllStudentsUserId$outboundSchema = exports.GetAllStudentsUserId$inboundSchema = exports.GetAllStudentsStatus$ = exports.GetAllStudentsStatus$outboundSchema = exports.GetAllStudentsStatus$inboundSchema = exports.GetAllStudentsRequest$ = exports.GetAllStudentsRequest$outboundSchema = exports.GetAllStudentsRequest$inboundSchema = exports.GetAllStudentsOrderBy$ = exports.GetAllStudentsOrderBy$outboundSchema = exports.GetAllStudentsOrderBy$inboundSchema = exports.GetAllStudentsType = exports.GetAllStudentsRoleEnum = exports.GetAllStudentsRoleType = exports.GetAllStudentsStatus = exports.GetAllStudentsOrderBy = void 0;
exports.getAllStudentsRequestToJSON = getAllStudentsRequestToJSON;
exports.getAllStudentsRequestFromJSON = getAllStudentsRequestFromJSON;
exports.getAllStudentsUserIdToJSON = getAllStudentsUserIdToJSON;
exports.getAllStudentsUserIdFromJSON = getAllStudentsUserIdFromJSON;
exports.getAllStudentsOrgToJSON = getAllStudentsOrgToJSON;
exports.getAllStudentsOrgFromJSON = getAllStudentsOrgFromJSON;
exports.getAllStudentsRoleToJSON = getAllStudentsRoleToJSON;
exports.getAllStudentsRoleFromJSON = getAllStudentsRoleFromJSON;
exports.getAllStudentsAgentToJSON = getAllStudentsAgentToJSON;
exports.getAllStudentsAgentFromJSON = getAllStudentsAgentFromJSON;
exports.getAllStudentsPrimaryOrgToJSON = getAllStudentsPrimaryOrgToJSON;
exports.getAllStudentsPrimaryOrgFromJSON = getAllStudentsPrimaryOrgFromJSON;
exports.getAllStudentsUserToJSON = getAllStudentsUserToJSON;
exports.getAllStudentsUserFromJSON = getAllStudentsUserFromJSON;
exports.getAllStudentsResponseBodyToJSON = getAllStudentsResponseBodyToJSON;
exports.getAllStudentsResponseBodyFromJSON = getAllStudentsResponseBodyFromJSON;
exports.getAllStudentsResponseToJSON = getAllStudentsResponseToJSON;
exports.getAllStudentsResponseFromJSON = getAllStudentsResponseFromJSON;
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.GetAllStudentsOrderBy = {
    Asc: "asc",
    Desc: "desc",
};
exports.GetAllStudentsStatus = {
    Active: "active",
    Tobedeleted: "tobedeleted",
};
exports.GetAllStudentsRoleType = {
    Primary: "primary",
    Secondary: "secondary",
};
exports.GetAllStudentsRoleEnum = {
    Administrator: "administrator",
    Aide: "aide",
    Guardian: "guardian",
    Parent: "parent",
    Proctor: "proctor",
    Relative: "relative",
    Student: "student",
    Teacher: "teacher",
};
exports.GetAllStudentsType = {
    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.GetAllStudentsOrderBy$inboundSchema = z.nativeEnum(exports.GetAllStudentsOrderBy);
/** @internal */
exports.GetAllStudentsOrderBy$outboundSchema = exports.GetAllStudentsOrderBy$inboundSchema;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
var GetAllStudentsOrderBy$;
(function (GetAllStudentsOrderBy$) {
    /** @deprecated use `GetAllStudentsOrderBy$inboundSchema` instead. */
    GetAllStudentsOrderBy$.inboundSchema = exports.GetAllStudentsOrderBy$inboundSchema;
    /** @deprecated use `GetAllStudentsOrderBy$outboundSchema` instead. */
    GetAllStudentsOrderBy$.outboundSchema = exports.GetAllStudentsOrderBy$outboundSchema;
})(GetAllStudentsOrderBy$ || (exports.GetAllStudentsOrderBy$ = GetAllStudentsOrderBy$ = {}));
/** @internal */
exports.GetAllStudentsRequest$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.GetAllStudentsOrderBy$inboundSchema.optional(),
    filter: z.string().optional(),
    search: z.string().optional(),
});
/** @internal */
exports.GetAllStudentsRequest$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.GetAllStudentsOrderBy$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 GetAllStudentsRequest$;
(function (GetAllStudentsRequest$) {
    /** @deprecated use `GetAllStudentsRequest$inboundSchema` instead. */
    GetAllStudentsRequest$.inboundSchema = exports.GetAllStudentsRequest$inboundSchema;
    /** @deprecated use `GetAllStudentsRequest$outboundSchema` instead. */
    GetAllStudentsRequest$.outboundSchema = exports.GetAllStudentsRequest$outboundSchema;
})(GetAllStudentsRequest$ || (exports.GetAllStudentsRequest$ = GetAllStudentsRequest$ = {}));
function getAllStudentsRequestToJSON(getAllStudentsRequest) {
    return JSON.stringify(exports.GetAllStudentsRequest$outboundSchema.parse(getAllStudentsRequest));
}
function getAllStudentsRequestFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetAllStudentsRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAllStudentsRequest' from JSON`);
}
/** @internal */
exports.GetAllStudentsStatus$inboundSchema = z.nativeEnum(exports.GetAllStudentsStatus);
/** @internal */
exports.GetAllStudentsStatus$outboundSchema = exports.GetAllStudentsStatus$inboundSchema;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
var GetAllStudentsStatus$;
(function (GetAllStudentsStatus$) {
    /** @deprecated use `GetAllStudentsStatus$inboundSchema` instead. */
    GetAllStudentsStatus$.inboundSchema = exports.GetAllStudentsStatus$inboundSchema;
    /** @deprecated use `GetAllStudentsStatus$outboundSchema` instead. */
    GetAllStudentsStatus$.outboundSchema = exports.GetAllStudentsStatus$outboundSchema;
})(GetAllStudentsStatus$ || (exports.GetAllStudentsStatus$ = GetAllStudentsStatus$ = {}));
/** @internal */
exports.GetAllStudentsUserId$inboundSchema = z.object({
    type: z.string(),
    identifier: z.string(),
});
/** @internal */
exports.GetAllStudentsUserId$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 GetAllStudentsUserId$;
(function (GetAllStudentsUserId$) {
    /** @deprecated use `GetAllStudentsUserId$inboundSchema` instead. */
    GetAllStudentsUserId$.inboundSchema = exports.GetAllStudentsUserId$inboundSchema;
    /** @deprecated use `GetAllStudentsUserId$outboundSchema` instead. */
    GetAllStudentsUserId$.outboundSchema = exports.GetAllStudentsUserId$outboundSchema;
})(GetAllStudentsUserId$ || (exports.GetAllStudentsUserId$ = GetAllStudentsUserId$ = {}));
function getAllStudentsUserIdToJSON(getAllStudentsUserId) {
    return JSON.stringify(exports.GetAllStudentsUserId$outboundSchema.parse(getAllStudentsUserId));
}
function getAllStudentsUserIdFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetAllStudentsUserId$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAllStudentsUserId' from JSON`);
}
/** @internal */
exports.GetAllStudentsRoleType$inboundSchema = z.nativeEnum(exports.GetAllStudentsRoleType);
/** @internal */
exports.GetAllStudentsRoleType$outboundSchema = exports.GetAllStudentsRoleType$inboundSchema;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
var GetAllStudentsRoleType$;
(function (GetAllStudentsRoleType$) {
    /** @deprecated use `GetAllStudentsRoleType$inboundSchema` instead. */
    GetAllStudentsRoleType$.inboundSchema = exports.GetAllStudentsRoleType$inboundSchema;
    /** @deprecated use `GetAllStudentsRoleType$outboundSchema` instead. */
    GetAllStudentsRoleType$.outboundSchema = exports.GetAllStudentsRoleType$outboundSchema;
})(GetAllStudentsRoleType$ || (exports.GetAllStudentsRoleType$ = GetAllStudentsRoleType$ = {}));
/** @internal */
exports.GetAllStudentsRoleEnum$inboundSchema = z.nativeEnum(exports.GetAllStudentsRoleEnum);
/** @internal */
exports.GetAllStudentsRoleEnum$outboundSchema = exports.GetAllStudentsRoleEnum$inboundSchema;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
var GetAllStudentsRoleEnum$;
(function (GetAllStudentsRoleEnum$) {
    /** @deprecated use `GetAllStudentsRoleEnum$inboundSchema` instead. */
    GetAllStudentsRoleEnum$.inboundSchema = exports.GetAllStudentsRoleEnum$inboundSchema;
    /** @deprecated use `GetAllStudentsRoleEnum$outboundSchema` instead. */
    GetAllStudentsRoleEnum$.outboundSchema = exports.GetAllStudentsRoleEnum$outboundSchema;
})(GetAllStudentsRoleEnum$ || (exports.GetAllStudentsRoleEnum$ = GetAllStudentsRoleEnum$ = {}));
/** @internal */
exports.GetAllStudentsOrg$inboundSchema = z.object({
    href: z.string(),
    sourcedId: z.string(),
    type: z.string(),
});
/** @internal */
exports.GetAllStudentsOrg$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 GetAllStudentsOrg$;
(function (GetAllStudentsOrg$) {
    /** @deprecated use `GetAllStudentsOrg$inboundSchema` instead. */
    GetAllStudentsOrg$.inboundSchema = exports.GetAllStudentsOrg$inboundSchema;
    /** @deprecated use `GetAllStudentsOrg$outboundSchema` instead. */
    GetAllStudentsOrg$.outboundSchema = exports.GetAllStudentsOrg$outboundSchema;
})(GetAllStudentsOrg$ || (exports.GetAllStudentsOrg$ = GetAllStudentsOrg$ = {}));
function getAllStudentsOrgToJSON(getAllStudentsOrg) {
    return JSON.stringify(exports.GetAllStudentsOrg$outboundSchema.parse(getAllStudentsOrg));
}
function getAllStudentsOrgFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetAllStudentsOrg$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAllStudentsOrg' from JSON`);
}
/** @internal */
exports.GetAllStudentsRole$inboundSchema = z.object({
    roleType: exports.GetAllStudentsRoleType$inboundSchema,
    role: exports.GetAllStudentsRoleEnum$inboundSchema,
    org: z.lazy(() => exports.GetAllStudentsOrg$inboundSchema),
    userProfile: z.string().optional(),
    beginDate: z.nullable(z.string()),
    endDate: z.nullable(z.string()),
});
/** @internal */
exports.GetAllStudentsRole$outboundSchema = z.object({
    roleType: exports.GetAllStudentsRoleType$outboundSchema,
    role: exports.GetAllStudentsRoleEnum$outboundSchema,
    org: z.lazy(() => exports.GetAllStudentsOrg$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 GetAllStudentsRole$;
(function (GetAllStudentsRole$) {
    /** @deprecated use `GetAllStudentsRole$inboundSchema` instead. */
    GetAllStudentsRole$.inboundSchema = exports.GetAllStudentsRole$inboundSchema;
    /** @deprecated use `GetAllStudentsRole$outboundSchema` instead. */
    GetAllStudentsRole$.outboundSchema = exports.GetAllStudentsRole$outboundSchema;
})(GetAllStudentsRole$ || (exports.GetAllStudentsRole$ = GetAllStudentsRole$ = {}));
function getAllStudentsRoleToJSON(getAllStudentsRole) {
    return JSON.stringify(exports.GetAllStudentsRole$outboundSchema.parse(getAllStudentsRole));
}
function getAllStudentsRoleFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetAllStudentsRole$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAllStudentsRole' from JSON`);
}
/** @internal */
exports.GetAllStudentsType$inboundSchema = z.nativeEnum(exports.GetAllStudentsType);
/** @internal */
exports.GetAllStudentsType$outboundSchema = exports.GetAllStudentsType$inboundSchema;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
var GetAllStudentsType$;
(function (GetAllStudentsType$) {
    /** @deprecated use `GetAllStudentsType$inboundSchema` instead. */
    GetAllStudentsType$.inboundSchema = exports.GetAllStudentsType$inboundSchema;
    /** @deprecated use `GetAllStudentsType$outboundSchema` instead. */
    GetAllStudentsType$.outboundSchema = exports.GetAllStudentsType$outboundSchema;
})(GetAllStudentsType$ || (exports.GetAllStudentsType$ = GetAllStudentsType$ = {}));
/** @internal */
exports.GetAllStudentsAgent$inboundSchema = z.object({
    href: z.string(),
    sourcedId: z.string(),
    type: exports.GetAllStudentsType$inboundSchema,
});
/** @internal */
exports.GetAllStudentsAgent$outboundSchema = z.object({
    href: z.string(),
    sourcedId: z.string(),
    type: exports.GetAllStudentsType$outboundSchema,
});
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
var GetAllStudentsAgent$;
(function (GetAllStudentsAgent$) {
    /** @deprecated use `GetAllStudentsAgent$inboundSchema` instead. */
    GetAllStudentsAgent$.inboundSchema = exports.GetAllStudentsAgent$inboundSchema;
    /** @deprecated use `GetAllStudentsAgent$outboundSchema` instead. */
    GetAllStudentsAgent$.outboundSchema = exports.GetAllStudentsAgent$outboundSchema;
})(GetAllStudentsAgent$ || (exports.GetAllStudentsAgent$ = GetAllStudentsAgent$ = {}));
function getAllStudentsAgentToJSON(getAllStudentsAgent) {
    return JSON.stringify(exports.GetAllStudentsAgent$outboundSchema.parse(getAllStudentsAgent));
}
function getAllStudentsAgentFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetAllStudentsAgent$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAllStudentsAgent' from JSON`);
}
/** @internal */
exports.GetAllStudentsPrimaryOrg$inboundSchema = z.object({
    href: z.string(),
    sourcedId: z.string(),
    type: z.string(),
});
/** @internal */
exports.GetAllStudentsPrimaryOrg$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 GetAllStudentsPrimaryOrg$;
(function (GetAllStudentsPrimaryOrg$) {
    /** @deprecated use `GetAllStudentsPrimaryOrg$inboundSchema` instead. */
    GetAllStudentsPrimaryOrg$.inboundSchema = exports.GetAllStudentsPrimaryOrg$inboundSchema;
    /** @deprecated use `GetAllStudentsPrimaryOrg$outboundSchema` instead. */
    GetAllStudentsPrimaryOrg$.outboundSchema = exports.GetAllStudentsPrimaryOrg$outboundSchema;
})(GetAllStudentsPrimaryOrg$ || (exports.GetAllStudentsPrimaryOrg$ = GetAllStudentsPrimaryOrg$ = {}));
function getAllStudentsPrimaryOrgToJSON(getAllStudentsPrimaryOrg) {
    return JSON.stringify(exports.GetAllStudentsPrimaryOrg$outboundSchema.parse(getAllStudentsPrimaryOrg));
}
function getAllStudentsPrimaryOrgFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetAllStudentsPrimaryOrg$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAllStudentsPrimaryOrg' from JSON`);
}
/** @internal */
exports.GetAllStudentsUser$inboundSchema = z.object({
    sourcedId: z.string(),
    status: exports.GetAllStudentsStatus$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.GetAllStudentsUserId$inboundSchema)).optional(),
    enabledUser: z.boolean(),
    givenName: z.string(),
    familyName: z.string(),
    middleName: z.nullable(z.string()).optional(),
    roles: z.array(z.lazy(() => exports.GetAllStudentsRole$inboundSchema)),
    agents: z.array(z.lazy(() => exports.GetAllStudentsAgent$inboundSchema)),
    primaryOrg: z.lazy(() => exports.GetAllStudentsPrimaryOrg$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.GetAllStudentsUser$outboundSchema = z.object({
    sourcedId: z.string(),
    status: exports.GetAllStudentsStatus$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.GetAllStudentsUserId$outboundSchema))
        .optional(),
    enabledUser: z.boolean(),
    givenName: z.string(),
    familyName: z.string(),
    middleName: z.nullable(z.string()).optional(),
    roles: z.array(z.lazy(() => exports.GetAllStudentsRole$outboundSchema)),
    agents: z.array(z.lazy(() => exports.GetAllStudentsAgent$outboundSchema)),
    primaryOrg: z.lazy(() => exports.GetAllStudentsPrimaryOrg$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 GetAllStudentsUser$;
(function (GetAllStudentsUser$) {
    /** @deprecated use `GetAllStudentsUser$inboundSchema` instead. */
    GetAllStudentsUser$.inboundSchema = exports.GetAllStudentsUser$inboundSchema;
    /** @deprecated use `GetAllStudentsUser$outboundSchema` instead. */
    GetAllStudentsUser$.outboundSchema = exports.GetAllStudentsUser$outboundSchema;
})(GetAllStudentsUser$ || (exports.GetAllStudentsUser$ = GetAllStudentsUser$ = {}));
function getAllStudentsUserToJSON(getAllStudentsUser) {
    return JSON.stringify(exports.GetAllStudentsUser$outboundSchema.parse(getAllStudentsUser));
}
function getAllStudentsUserFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetAllStudentsUser$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAllStudentsUser' from JSON`);
}
/** @internal */
exports.GetAllStudentsResponseBody$inboundSchema = z.object({
    users: z.array(z.lazy(() => exports.GetAllStudentsUser$inboundSchema)),
    totalCount: z.number(),
    pageCount: z.number(),
    pageNumber: z.number(),
    offset: z.number(),
    limit: z.number(),
});
/** @internal */
exports.GetAllStudentsResponseBody$outboundSchema = z.object({
    users: z.array(z.lazy(() => exports.GetAllStudentsUser$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 GetAllStudentsResponseBody$;
(function (GetAllStudentsResponseBody$) {
    /** @deprecated use `GetAllStudentsResponseBody$inboundSchema` instead. */
    GetAllStudentsResponseBody$.inboundSchema = exports.GetAllStudentsResponseBody$inboundSchema;
    /** @deprecated use `GetAllStudentsResponseBody$outboundSchema` instead. */
    GetAllStudentsResponseBody$.outboundSchema = exports.GetAllStudentsResponseBody$outboundSchema;
})(GetAllStudentsResponseBody$ || (exports.GetAllStudentsResponseBody$ = GetAllStudentsResponseBody$ = {}));
function getAllStudentsResponseBodyToJSON(getAllStudentsResponseBody) {
    return JSON.stringify(exports.GetAllStudentsResponseBody$outboundSchema.parse(getAllStudentsResponseBody));
}
function getAllStudentsResponseBodyFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetAllStudentsResponseBody$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAllStudentsResponseBody' from JSON`);
}
/** @internal */
exports.GetAllStudentsResponse$inboundSchema = z.object({
    Result: z.lazy(() => exports.GetAllStudentsResponseBody$inboundSchema),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        "Result": "result",
    });
});
/** @internal */
exports.GetAllStudentsResponse$outboundSchema = z.object({
    result: z.lazy(() => exports.GetAllStudentsResponseBody$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 GetAllStudentsResponse$;
(function (GetAllStudentsResponse$) {
    /** @deprecated use `GetAllStudentsResponse$inboundSchema` instead. */
    GetAllStudentsResponse$.inboundSchema = exports.GetAllStudentsResponse$inboundSchema;
    /** @deprecated use `GetAllStudentsResponse$outboundSchema` instead. */
    GetAllStudentsResponse$.outboundSchema = exports.GetAllStudentsResponse$outboundSchema;
})(GetAllStudentsResponse$ || (exports.GetAllStudentsResponse$ = GetAllStudentsResponse$ = {}));
function getAllStudentsResponseToJSON(getAllStudentsResponse) {
    return JSON.stringify(exports.GetAllStudentsResponse$outboundSchema.parse(getAllStudentsResponse));
}
function getAllStudentsResponseFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetAllStudentsResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAllStudentsResponse' from JSON`);
}
//# sourceMappingURL=getallstudents.js.map