hr-db
    Preparing search index...

    Variable EmployeeIncludeSchemaConst

    EmployeeIncludeSchema: ZodObject<
        {
            benefits: ZodOptional<
                ZodUnion<
                    [
                        ZodCoercedBoolean<unknown>,
                        ZodObject<
                            {
                                distinct: ZodOptional<
                                    ZodArray<
                                        ZodEnum<
                                            {
                                                benefitId: ...;
                                                employeeId: ...;
                                                id: ...;
                                                startDate: ...;
                                                status: ...;
                                            },
                                        >,
                                    >,
                                >;
                                where: ZodOptional<
                                    ZodPipe<
                                        ZodTransform<any, unknown>,
                                        ZodObject<
                                            {
                                                benefitId: ...;
                                                employeeId: ...;
                                                id: ...;
                                                startDate: ...;
                                                status: ...;
                                            },
                                            $strip,
                                        >,
                                    >,
                                >;
                            },
                            $strip,
                        >,
                    ],
                >,
            >;
            clockIns: ZodOptional<
                ZodUnion<
                    [
                        ZodCoercedBoolean<unknown>,
                        ZodObject<
                            {
                                distinct: ZodOptional<
                                    ZodArray<
                                        ZodEnum<
                                            { clockIn: ...; clockOut: ...; employeeId: ...; id: ... },
                                        >,
                                    >,
                                >;
                                where: ZodOptional<
                                    ZodPipe<
                                        ZodTransform<any, unknown>,
                                        ZodObject<
                                            { clockIn: ...; clockOut: ...; employeeId: ...; id: ... },
                                            $strip,
                                        >,
                                    >,
                                >;
                            },
                            $strip,
                        >,
                    ],
                >,
            >;
            contact: ZodOptional<
                ZodUnion<
                    [
                        ZodCoercedBoolean<unknown>,
                        ZodObject<
                            {
                                distinct: ZodOptional<
                                    ZodArray<ZodEnum<{ employeeId: ...; id: ... }>>,
                                >;
                                where: ZodOptional<
                                    ZodPipe<
                                        ZodTransform<any, unknown>,
                                        ZodObject<{ employeeId: ...; id: ... }, $strip>,
                                    >,
                                >;
                            },
                            $strip,
                        >,
                    ],
                >,
            >;
            deductions: ZodOptional<
                ZodUnion<
                    [
                        ZodCoercedBoolean<unknown>,
                        ZodObject<
                            {
                                distinct: ZodOptional<
                                    ZodArray<
                                        ZodEnum<
                                            {
                                                employeeAmount: ...;
                                                employeeId: ...;
                                                id: ...;
                                                policyId: ...;
                                            },
                                        >,
                                    >,
                                >;
                                where: ZodOptional<
                                    ZodPipe<
                                        ZodTransform<any, unknown>,
                                        ZodObject<
                                            {
                                                employeeAmount: ...;
                                                employeeId: ...;
                                                id: ...;
                                                policyId: ...;
                                            },
                                            $strip,
                                        >,
                                    >,
                                >;
                            },
                            $strip,
                        >,
                    ],
                >,
            >;
            directManager: ZodOptional<
                ZodUnion<
                    [
                        ZodCoercedBoolean<unknown>,
                        ZodObject<
                            {
                                distinct: ZodOptional<
                                    ZodArray<
                                        ZodEnum<
                                            {
                                                directManagerId: ...;
                                                employmentType: ...;
                                                firstName: ...;
                                                hireDate: ...;
                                                id: ...;
                                                lastName: ...;
                                                middleName: ...;
                                                preferedName: ...;
                                                status: ...;
                                                terminationDate: ...;
                                                titleId: ...;
                                                uuid: ...;
                                            },
                                        >,
                                    >,
                                >;
                                where: ZodOptional<
                                    ZodPipe<
                                        ZodTransform<any, unknown>,
                                        ZodObject<
                                            {
                                                directManagerId: ...;
                                                employmentType: ...;
                                                firstName: ...;
                                                hireDate: ...;
                                                id: ...;
                                                lastName: ...;
                                                middleName: ...;
                                                preferedName: ...;
                                                status: ...;
                                                terminationDate: ...;
                                                titleId: ...;
                                                uuid: ...;
                                            },
                                            $strip,
                                        >,
                                    >,
                                >;
                            },
                            $strip,
                        >,
                    ],
                >,
            >;
            managingEmployees: ZodOptional<
                ZodUnion<
                    [
                        ZodCoercedBoolean<unknown>,
                        ZodObject<
                            {
                                distinct: ZodOptional<
                                    ZodArray<
                                        ZodEnum<
                                            {
                                                directManagerId: ...;
                                                employmentType: ...;
                                                firstName: ...;
                                                hireDate: ...;
                                                id: ...;
                                                lastName: ...;
                                                middleName: ...;
                                                preferedName: ...;
                                                status: ...;
                                                terminationDate: ...;
                                                titleId: ...;
                                                uuid: ...;
                                            },
                                        >,
                                    >,
                                >;
                                where: ZodOptional<
                                    ZodPipe<
                                        ZodTransform<any, unknown>,
                                        ZodObject<
                                            {
                                                directManagerId: ...;
                                                employmentType: ...;
                                                firstName: ...;
                                                hireDate: ...;
                                                id: ...;
                                                lastName: ...;
                                                middleName: ...;
                                                preferedName: ...;
                                                status: ...;
                                                terminationDate: ...;
                                                titleId: ...;
                                                uuid: ...;
                                            },
                                            $strip,
                                        >,
                                    >,
                                >;
                            },
                            $strip,
                        >,
                    ],
                >,
            >;
            managingTeams: ZodOptional<
                ZodUnion<
                    [
                        ZodCoercedBoolean<unknown>,
                        ZodObject<
                            {
                                distinct: ZodOptional<
                                    ZodArray<ZodEnum<{ id: ...; managerId: ...; teamId: ... }>>,
                                >;
                                where: ZodOptional<
                                    ZodPipe<
                                        ZodTransform<any, unknown>,
                                        ZodObject<{ id: ...; managerId: ...; teamId: ... }, $strip>,
                                    >,
                                >;
                            },
                            $strip,
                        >,
                    ],
                >,
            >;
            memberships: ZodOptional<
                ZodUnion<
                    [
                        ZodCoercedBoolean<unknown>,
                        ZodObject<
                            {
                                distinct: ZodOptional<
                                    ZodArray<ZodEnum<{ id: ...; memberId: ...; teamId: ... }>>,
                                >;
                                where: ZodOptional<
                                    ZodPipe<
                                        ZodTransform<any, unknown>,
                                        ZodObject<{ id: ...; memberId: ...; teamId: ... }, $strip>,
                                    >,
                                >;
                            },
                            $strip,
                        >,
                    ],
                >,
            >;
            paychecks: ZodOptional<
                ZodUnion<
                    [
                        ZodCoercedBoolean<unknown>,
                        ZodObject<
                            {
                                distinct: ZodOptional<
                                    ZodArray<
                                        ZodEnum<
                                            {
                                                createdAt: ...;
                                                employeeId: ...;
                                                grossAmount: ...;
                                                id: ...;
                                                netAmount: ...;
                                                payrollRunId: ...;
                                                updatedAt: ...;
                                            },
                                        >,
                                    >,
                                >;
                                where: ZodOptional<
                                    ZodPipe<
                                        ZodTransform<any, unknown>,
                                        ZodObject<
                                            {
                                                createdAt: ...;
                                                employeeId: ...;
                                                grossAmount: ...;
                                                id: ...;
                                                netAmount: ...;
                                                payrollRunId: ...;
                                                updatedAt: ...;
                                            },
                                            $strip,
                                        >,
                                    >,
                                >;
                            },
                            $strip,
                        >,
                    ],
                >,
            >;
            personalData: ZodOptional<
                ZodUnion<
                    [
                        ZodCoercedBoolean<unknown>,
                        ZodObject<
                            {
                                distinct: ZodOptional<
                                    ZodArray<
                                        ZodEnum<
                                            {
                                                dob: ...;
                                                ein: ...;
                                                employeeId: ...;
                                                gender: ...;
                                                id: ...;
                                                maritalStatus: ...;
                                            },
                                        >,
                                    >,
                                >;
                                where: ZodOptional<
                                    ZodPipe<
                                        ZodTransform<any, unknown>,
                                        ZodObject<
                                            {
                                                dob: ...;
                                                ein: ...;
                                                employeeId: ...;
                                                gender: ...;
                                                id: ...;
                                                maritalStatus: ...;
                                            },
                                            $strip,
                                        >,
                                    >,
                                >;
                            },
                            $strip,
                        >,
                    ],
                >,
            >;
            resolvedPayrollRuns: ZodOptional<
                ZodUnion<
                    [
                        ZodCoercedBoolean<unknown>,
                        ZodObject<
                            {
                                distinct: ZodOptional<
                                    ZodArray<
                                        ZodEnum<
                                            {
                                                endDate: ...;
                                                id: ...;
                                                payDate: ...;
                                                resolverId: ...;
                                                startDate: ...;
                                                status: ...;
                                            },
                                        >,
                                    >,
                                >;
                                where: ZodOptional<
                                    ZodPipe<
                                        ZodTransform<any, unknown>,
                                        ZodObject<
                                            {
                                                endDate: ...;
                                                id: ...;
                                                payDate: ...;
                                                resolverId: ...;
                                                startDate: ...;
                                                status: ...;
                                            },
                                            $strip,
                                        >,
                                    >,
                                >;
                            },
                            $strip,
                        >,
                    ],
                >,
            >;
            resolvedTimeOffs: ZodOptional<
                ZodUnion<
                    [
                        ZodCoercedBoolean<unknown>,
                        ZodObject<
                            {
                                distinct: ZodOptional<
                                    ZodArray<
                                        ZodEnum<
                                            {
                                                createdAt: ...;
                                                employeeId: ...;
                                                endDate: ...;
                                                id: ...;
                                                policyId: ...;
                                                reason: ...;
                                                resolverId: ...;
                                                startDate: ...;
                                                status: ...;
                                            },
                                        >,
                                    >,
                                >;
                                where: ZodOptional<
                                    ZodPipe<
                                        ZodTransform<any, unknown>,
                                        ZodObject<
                                            {
                                                createdAt: ...;
                                                employeeId: ...;
                                                endDate: ...;
                                                id: ...;
                                                policyId: ...;
                                                reason: ...;
                                                resolverId: ...;
                                                startDate: ...;
                                                status: ...;
                                            },
                                            $strip,
                                        >,
                                    >,
                                >;
                            },
                            $strip,
                        >,
                    ],
                >,
            >;
            salary: ZodOptional<
                ZodUnion<
                    [
                        ZodCoercedBoolean<unknown>,
                        ZodObject<
                            {
                                distinct: ZodOptional<
                                    ZodArray<
                                        ZodEnum<
                                            {
                                                employeeId: ...;
                                                endDate: ...;
                                                frequency: ...;
                                                gross: ...;
                                                id: ...;
                                                startDate: ...;
                                            },
                                        >,
                                    >,
                                >;
                                where: ZodOptional<
                                    ZodPipe<
                                        ZodTransform<any, unknown>,
                                        ZodObject<
                                            {
                                                employeeId: ...;
                                                endDate: ...;
                                                frequency: ...;
                                                gross: ...;
                                                id: ...;
                                                startDate: ...;
                                            },
                                            $strip,
                                        >,
                                    >,
                                >;
                            },
                            $strip,
                        >,
                    ],
                >,
            >;
            salaryHistory: ZodOptional<
                ZodUnion<
                    [
                        ZodCoercedBoolean<unknown>,
                        ZodObject<
                            {
                                distinct: ZodOptional<
                                    ZodArray<
                                        ZodEnum<
                                            {
                                                createdAt: ...;
                                                employeeId: ...;
                                                id: ...;
                                                newSalary: ...;
                                                oldSalary: ...;
                                                reason: ...;
                                            },
                                        >,
                                    >,
                                >;
                                where: ZodOptional<
                                    ZodPipe<
                                        ZodTransform<any, unknown>,
                                        ZodObject<
                                            {
                                                createdAt: ...;
                                                employeeId: ...;
                                                id: ...;
                                                newSalary: ...;
                                                oldSalary: ...;
                                                reason: ...;
                                            },
                                            $strip,
                                        >,
                                    >,
                                >;
                            },
                            $strip,
                        >,
                    ],
                >,
            >;
            taxData: ZodOptional<
                ZodUnion<
                    [
                        ZodCoercedBoolean<unknown>,
                        ZodObject<
                            {
                                distinct: ZodOptional<
                                    ZodArray<
                                        ZodEnum<
                                            {
                                                createdAt: ...;
                                                deductionsAmount: ...;
                                                dependentsCredit: ...;
                                                employeeId: ...;
                                                endDate: ...;
                                                extraWithholding: ...;
                                                federalStatus: ...;
                                                id: ...;
                                                isExempt: ...;
                                                isNonResidentAlien: ...;
                                                multipleJobs: ...;
                                                otherIncome: ...;
                                                startDate: ...;
                                                updatedAt: ...;
                                            },
                                        >,
                                    >,
                                >;
                                where: ZodOptional<
                                    ZodPipe<
                                        ZodTransform<any, unknown>,
                                        ZodObject<
                                            {
                                                createdAt: ...;
                                                deductionsAmount: ...;
                                                dependentsCredit: ...;
                                                employeeId: ...;
                                                endDate: ...;
                                                extraWithholding: ...;
                                                federalStatus: ...;
                                                id: ...;
                                                isExempt: ...;
                                                isNonResidentAlien: ...;
                                                multipleJobs: ...;
                                                otherIncome: ...;
                                                startDate: ...;
                                                updatedAt: ...;
                                            },
                                            $strip,
                                        >,
                                    >,
                                >;
                            },
                            $strip,
                        >,
                    ],
                >,
            >;
            timeOffBalances: ZodOptional<
                ZodUnion<
                    [
                        ZodCoercedBoolean<unknown>,
                        ZodObject<
                            {
                                distinct: ZodOptional<
                                    ZodArray<
                                        ZodEnum<
                                            {
                                                accruedHours: ...;
                                                availableHours: ...;
                                                employeeId: ...;
                                                id: ...;
                                                policyId: ...;
                                                usedHours: ...;
                                            },
                                        >,
                                    >,
                                >;
                                where: ZodOptional<
                                    ZodPipe<
                                        ZodTransform<any, unknown>,
                                        ZodObject<
                                            {
                                                accruedHours: ...;
                                                availableHours: ...;
                                                employeeId: ...;
                                                id: ...;
                                                policyId: ...;
                                                usedHours: ...;
                                            },
                                            $strip,
                                        >,
                                    >,
                                >;
                            },
                            $strip,
                        >,
                    ],
                >,
            >;
            timeOffRequests: ZodOptional<
                ZodUnion<
                    [
                        ZodCoercedBoolean<unknown>,
                        ZodObject<
                            {
                                distinct: ZodOptional<
                                    ZodArray<
                                        ZodEnum<
                                            {
                                                createdAt: ...;
                                                employeeId: ...;
                                                endDate: ...;
                                                id: ...;
                                                policyId: ...;
                                                reason: ...;
                                                resolverId: ...;
                                                startDate: ...;
                                                status: ...;
                                            },
                                        >,
                                    >,
                                >;
                                where: ZodOptional<
                                    ZodPipe<
                                        ZodTransform<any, unknown>,
                                        ZodObject<
                                            {
                                                createdAt: ...;
                                                employeeId: ...;
                                                endDate: ...;
                                                id: ...;
                                                policyId: ...;
                                                reason: ...;
                                                resolverId: ...;
                                                startDate: ...;
                                                status: ...;
                                            },
                                            $strip,
                                        >,
                                    >,
                                >;
                            },
                            $strip,
                        >,
                    ],
                >,
            >;
            title: ZodOptional<
                ZodUnion<
                    [
                        ZodCoercedBoolean<unknown>,
                        ZodObject<
                            {
                                distinct: ZodOptional<
                                    ZodArray<
                                        ZodEnum<
                                            {
                                                departmentId: ...;
                                                description: ...;
                                                id: ...;
                                                isActive: ...;
                                                name: ...;
                                                slug: ...;
                                            },
                                        >,
                                    >,
                                >;
                                where: ZodOptional<
                                    ZodPipe<
                                        ZodTransform<any, unknown>,
                                        ZodObject<
                                            {
                                                departmentId: ...;
                                                description: ...;
                                                id: ...;
                                                isActive: ...;
                                                name: ...;
                                                slug: ...;
                                            },
                                            $strip,
                                        >,
                                    >,
                                >;
                            },
                            $strip,
                        >,
                    ],
                >,
            >;
            titleHistory: ZodOptional<
                ZodUnion<
                    [
                        ZodCoercedBoolean<unknown>,
                        ZodObject<
                            {
                                distinct: ZodOptional<
                                    ZodArray<
                                        ZodEnum<
                                            {
                                                employeeId: ...;
                                                endDate: ...;
                                                id: ...;
                                                reason: ...;
                                                startDate: ...;
                                                titleId: ...;
                                                type: ...;
                                            },
                                        >,
                                    >,
                                >;
                                where: ZodOptional<
                                    ZodPipe<
                                        ZodTransform<any, unknown>,
                                        ZodObject<
                                            {
                                                employeeId: ...;
                                                endDate: ...;
                                                id: ...;
                                                reason: ...;
                                                startDate: ...;
                                                titleId: ...;
                                                type: ...;
                                            },
                                            $strip,
                                        >,
                                    >,
                                >;
                            },
                            $strip,
                        >,
                    ],
                >,
            >;
        },
        $strip,
    > = ...