1385 lines
53 KiB
TypeScript
1385 lines
53 KiB
TypeScript
|
|
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
/* eslint-disable */
|
|
// biome-ignore-all lint: generated file
|
|
// @ts-nocheck
|
|
/*
|
|
* This file exports the `HrEmployeeProfile` model and its related types.
|
|
*
|
|
* 🟢 You can import this file directly.
|
|
*/
|
|
import type * as runtime from "@prisma/client/runtime/client"
|
|
import type * as $Enums from "../enums.ts"
|
|
import type * as Prisma from "../internal/prismaNamespace.ts"
|
|
|
|
/**
|
|
* Model HrEmployeeProfile
|
|
* Per-tenant employee master record (1:1 with a global User). Self-maintainable
|
|
* fields (e.g. position display, team) are edited by the employee; HR-managed
|
|
* fields by HR admins (enforced in the service layer). The emergency contact is
|
|
* sensitive and stored ENVELOPE-ENCRYPTED (`emergencyContactCiphertext`, holds
|
|
* the name/phone/relation triple as encrypted JSON) — never returned without an
|
|
* explicit, permission-checked reveal.
|
|
*/
|
|
export type HrEmployeeProfileModel = runtime.Types.Result.DefaultSelection<Prisma.$HrEmployeeProfilePayload>
|
|
|
|
export type AggregateHrEmployeeProfile = {
|
|
_count: HrEmployeeProfileCountAggregateOutputType | null
|
|
_min: HrEmployeeProfileMinAggregateOutputType | null
|
|
_max: HrEmployeeProfileMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type HrEmployeeProfileMinAggregateOutputType = {
|
|
id: string | null
|
|
createdAt: Date | null
|
|
updatedAt: Date | null
|
|
tenantId: string | null
|
|
userId: string | null
|
|
personalNumber: string | null
|
|
hireDate: Date | null
|
|
position: string | null
|
|
team: string | null
|
|
locationId: string | null
|
|
managerUserId: string | null
|
|
emergencyContactCiphertext: string | null
|
|
isDemoData: boolean | null
|
|
}
|
|
|
|
export type HrEmployeeProfileMaxAggregateOutputType = {
|
|
id: string | null
|
|
createdAt: Date | null
|
|
updatedAt: Date | null
|
|
tenantId: string | null
|
|
userId: string | null
|
|
personalNumber: string | null
|
|
hireDate: Date | null
|
|
position: string | null
|
|
team: string | null
|
|
locationId: string | null
|
|
managerUserId: string | null
|
|
emergencyContactCiphertext: string | null
|
|
isDemoData: boolean | null
|
|
}
|
|
|
|
export type HrEmployeeProfileCountAggregateOutputType = {
|
|
id: number
|
|
createdAt: number
|
|
updatedAt: number
|
|
tenantId: number
|
|
userId: number
|
|
personalNumber: number
|
|
hireDate: number
|
|
position: number
|
|
team: number
|
|
locationId: number
|
|
managerUserId: number
|
|
emergencyContactCiphertext: number
|
|
isDemoData: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type HrEmployeeProfileMinAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
tenantId?: true
|
|
userId?: true
|
|
personalNumber?: true
|
|
hireDate?: true
|
|
position?: true
|
|
team?: true
|
|
locationId?: true
|
|
managerUserId?: true
|
|
emergencyContactCiphertext?: true
|
|
isDemoData?: true
|
|
}
|
|
|
|
export type HrEmployeeProfileMaxAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
tenantId?: true
|
|
userId?: true
|
|
personalNumber?: true
|
|
hireDate?: true
|
|
position?: true
|
|
team?: true
|
|
locationId?: true
|
|
managerUserId?: true
|
|
emergencyContactCiphertext?: true
|
|
isDemoData?: true
|
|
}
|
|
|
|
export type HrEmployeeProfileCountAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
tenantId?: true
|
|
userId?: true
|
|
personalNumber?: true
|
|
hireDate?: true
|
|
position?: true
|
|
team?: true
|
|
locationId?: true
|
|
managerUserId?: true
|
|
emergencyContactCiphertext?: true
|
|
isDemoData?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type HrEmployeeProfileAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which HrEmployeeProfile to aggregate.
|
|
*/
|
|
where?: Prisma.HrEmployeeProfileWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of HrEmployeeProfiles to fetch.
|
|
*/
|
|
orderBy?: Prisma.HrEmployeeProfileOrderByWithRelationInput | Prisma.HrEmployeeProfileOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.HrEmployeeProfileWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` HrEmployeeProfiles from the position of the cursor.
|
|
*/
|
|
take?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Skip the first `n` HrEmployeeProfiles.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned HrEmployeeProfiles
|
|
**/
|
|
_count?: true | HrEmployeeProfileCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: HrEmployeeProfileMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: HrEmployeeProfileMaxAggregateInputType
|
|
}
|
|
|
|
export type GetHrEmployeeProfileAggregateType<T extends HrEmployeeProfileAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateHrEmployeeProfile]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateHrEmployeeProfile[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateHrEmployeeProfile[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type HrEmployeeProfileGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.HrEmployeeProfileWhereInput
|
|
orderBy?: Prisma.HrEmployeeProfileOrderByWithAggregationInput | Prisma.HrEmployeeProfileOrderByWithAggregationInput[]
|
|
by: Prisma.HrEmployeeProfileScalarFieldEnum[] | Prisma.HrEmployeeProfileScalarFieldEnum
|
|
having?: Prisma.HrEmployeeProfileScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: HrEmployeeProfileCountAggregateInputType | true
|
|
_min?: HrEmployeeProfileMinAggregateInputType
|
|
_max?: HrEmployeeProfileMaxAggregateInputType
|
|
}
|
|
|
|
export type HrEmployeeProfileGroupByOutputType = {
|
|
id: string
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
tenantId: string
|
|
userId: string
|
|
personalNumber: string | null
|
|
hireDate: Date | null
|
|
position: string | null
|
|
team: string | null
|
|
locationId: string | null
|
|
managerUserId: string | null
|
|
emergencyContactCiphertext: string | null
|
|
isDemoData: boolean
|
|
_count: HrEmployeeProfileCountAggregateOutputType | null
|
|
_min: HrEmployeeProfileMinAggregateOutputType | null
|
|
_max: HrEmployeeProfileMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type GetHrEmployeeProfileGroupByPayload<T extends HrEmployeeProfileGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<HrEmployeeProfileGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof HrEmployeeProfileGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], HrEmployeeProfileGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], HrEmployeeProfileGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type HrEmployeeProfileWhereInput = {
|
|
AND?: Prisma.HrEmployeeProfileWhereInput | Prisma.HrEmployeeProfileWhereInput[]
|
|
OR?: Prisma.HrEmployeeProfileWhereInput[]
|
|
NOT?: Prisma.HrEmployeeProfileWhereInput | Prisma.HrEmployeeProfileWhereInput[]
|
|
id?: Prisma.StringFilter<"HrEmployeeProfile"> | string
|
|
createdAt?: Prisma.DateTimeFilter<"HrEmployeeProfile"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"HrEmployeeProfile"> | Date | string
|
|
tenantId?: Prisma.StringFilter<"HrEmployeeProfile"> | string
|
|
userId?: Prisma.StringFilter<"HrEmployeeProfile"> | string
|
|
personalNumber?: Prisma.StringNullableFilter<"HrEmployeeProfile"> | string | null
|
|
hireDate?: Prisma.DateTimeNullableFilter<"HrEmployeeProfile"> | Date | string | null
|
|
position?: Prisma.StringNullableFilter<"HrEmployeeProfile"> | string | null
|
|
team?: Prisma.StringNullableFilter<"HrEmployeeProfile"> | string | null
|
|
locationId?: Prisma.StringNullableFilter<"HrEmployeeProfile"> | string | null
|
|
managerUserId?: Prisma.StringNullableFilter<"HrEmployeeProfile"> | string | null
|
|
emergencyContactCiphertext?: Prisma.StringNullableFilter<"HrEmployeeProfile"> | string | null
|
|
isDemoData?: Prisma.BoolFilter<"HrEmployeeProfile"> | boolean
|
|
}
|
|
|
|
export type HrEmployeeProfileOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
userId?: Prisma.SortOrder
|
|
personalNumber?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
hireDate?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
position?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
team?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
locationId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
managerUserId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
emergencyContactCiphertext?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
isDemoData?: Prisma.SortOrder
|
|
}
|
|
|
|
export type HrEmployeeProfileWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: string
|
|
tenantId_userId?: Prisma.HrEmployeeProfileTenantIdUserIdCompoundUniqueInput
|
|
AND?: Prisma.HrEmployeeProfileWhereInput | Prisma.HrEmployeeProfileWhereInput[]
|
|
OR?: Prisma.HrEmployeeProfileWhereInput[]
|
|
NOT?: Prisma.HrEmployeeProfileWhereInput | Prisma.HrEmployeeProfileWhereInput[]
|
|
createdAt?: Prisma.DateTimeFilter<"HrEmployeeProfile"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"HrEmployeeProfile"> | Date | string
|
|
tenantId?: Prisma.StringFilter<"HrEmployeeProfile"> | string
|
|
userId?: Prisma.StringFilter<"HrEmployeeProfile"> | string
|
|
personalNumber?: Prisma.StringNullableFilter<"HrEmployeeProfile"> | string | null
|
|
hireDate?: Prisma.DateTimeNullableFilter<"HrEmployeeProfile"> | Date | string | null
|
|
position?: Prisma.StringNullableFilter<"HrEmployeeProfile"> | string | null
|
|
team?: Prisma.StringNullableFilter<"HrEmployeeProfile"> | string | null
|
|
locationId?: Prisma.StringNullableFilter<"HrEmployeeProfile"> | string | null
|
|
managerUserId?: Prisma.StringNullableFilter<"HrEmployeeProfile"> | string | null
|
|
emergencyContactCiphertext?: Prisma.StringNullableFilter<"HrEmployeeProfile"> | string | null
|
|
isDemoData?: Prisma.BoolFilter<"HrEmployeeProfile"> | boolean
|
|
}, "id" | "tenantId_userId">
|
|
|
|
export type HrEmployeeProfileOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
userId?: Prisma.SortOrder
|
|
personalNumber?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
hireDate?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
position?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
team?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
locationId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
managerUserId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
emergencyContactCiphertext?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
isDemoData?: Prisma.SortOrder
|
|
_count?: Prisma.HrEmployeeProfileCountOrderByAggregateInput
|
|
_max?: Prisma.HrEmployeeProfileMaxOrderByAggregateInput
|
|
_min?: Prisma.HrEmployeeProfileMinOrderByAggregateInput
|
|
}
|
|
|
|
export type HrEmployeeProfileScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.HrEmployeeProfileScalarWhereWithAggregatesInput | Prisma.HrEmployeeProfileScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.HrEmployeeProfileScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.HrEmployeeProfileScalarWhereWithAggregatesInput | Prisma.HrEmployeeProfileScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.StringWithAggregatesFilter<"HrEmployeeProfile"> | string
|
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"HrEmployeeProfile"> | Date | string
|
|
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"HrEmployeeProfile"> | Date | string
|
|
tenantId?: Prisma.StringWithAggregatesFilter<"HrEmployeeProfile"> | string
|
|
userId?: Prisma.StringWithAggregatesFilter<"HrEmployeeProfile"> | string
|
|
personalNumber?: Prisma.StringNullableWithAggregatesFilter<"HrEmployeeProfile"> | string | null
|
|
hireDate?: Prisma.DateTimeNullableWithAggregatesFilter<"HrEmployeeProfile"> | Date | string | null
|
|
position?: Prisma.StringNullableWithAggregatesFilter<"HrEmployeeProfile"> | string | null
|
|
team?: Prisma.StringNullableWithAggregatesFilter<"HrEmployeeProfile"> | string | null
|
|
locationId?: Prisma.StringNullableWithAggregatesFilter<"HrEmployeeProfile"> | string | null
|
|
managerUserId?: Prisma.StringNullableWithAggregatesFilter<"HrEmployeeProfile"> | string | null
|
|
emergencyContactCiphertext?: Prisma.StringNullableWithAggregatesFilter<"HrEmployeeProfile"> | string | null
|
|
isDemoData?: Prisma.BoolWithAggregatesFilter<"HrEmployeeProfile"> | boolean
|
|
}
|
|
|
|
export type HrEmployeeProfileCreateInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
tenantId: string
|
|
userId: string
|
|
personalNumber?: string | null
|
|
hireDate?: Date | string | null
|
|
position?: string | null
|
|
team?: string | null
|
|
locationId?: string | null
|
|
managerUserId?: string | null
|
|
emergencyContactCiphertext?: string | null
|
|
isDemoData?: boolean
|
|
}
|
|
|
|
export type HrEmployeeProfileUncheckedCreateInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
tenantId: string
|
|
userId: string
|
|
personalNumber?: string | null
|
|
hireDate?: Date | string | null
|
|
position?: string | null
|
|
team?: string | null
|
|
locationId?: string | null
|
|
managerUserId?: string | null
|
|
emergencyContactCiphertext?: string | null
|
|
isDemoData?: boolean
|
|
}
|
|
|
|
export type HrEmployeeProfileUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
personalNumber?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
hireDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
position?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
team?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
locationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
managerUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
emergencyContactCiphertext?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
}
|
|
|
|
export type HrEmployeeProfileUncheckedUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
personalNumber?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
hireDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
position?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
team?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
locationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
managerUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
emergencyContactCiphertext?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
}
|
|
|
|
export type HrEmployeeProfileCreateManyInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
tenantId: string
|
|
userId: string
|
|
personalNumber?: string | null
|
|
hireDate?: Date | string | null
|
|
position?: string | null
|
|
team?: string | null
|
|
locationId?: string | null
|
|
managerUserId?: string | null
|
|
emergencyContactCiphertext?: string | null
|
|
isDemoData?: boolean
|
|
}
|
|
|
|
export type HrEmployeeProfileUpdateManyMutationInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
personalNumber?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
hireDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
position?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
team?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
locationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
managerUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
emergencyContactCiphertext?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
}
|
|
|
|
export type HrEmployeeProfileUncheckedUpdateManyInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
personalNumber?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
hireDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
position?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
team?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
locationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
managerUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
emergencyContactCiphertext?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
}
|
|
|
|
export type HrEmployeeProfileTenantIdUserIdCompoundUniqueInput = {
|
|
tenantId: string
|
|
userId: string
|
|
}
|
|
|
|
export type HrEmployeeProfileCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
userId?: Prisma.SortOrder
|
|
personalNumber?: Prisma.SortOrder
|
|
hireDate?: Prisma.SortOrder
|
|
position?: Prisma.SortOrder
|
|
team?: Prisma.SortOrder
|
|
locationId?: Prisma.SortOrder
|
|
managerUserId?: Prisma.SortOrder
|
|
emergencyContactCiphertext?: Prisma.SortOrder
|
|
isDemoData?: Prisma.SortOrder
|
|
}
|
|
|
|
export type HrEmployeeProfileMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
userId?: Prisma.SortOrder
|
|
personalNumber?: Prisma.SortOrder
|
|
hireDate?: Prisma.SortOrder
|
|
position?: Prisma.SortOrder
|
|
team?: Prisma.SortOrder
|
|
locationId?: Prisma.SortOrder
|
|
managerUserId?: Prisma.SortOrder
|
|
emergencyContactCiphertext?: Prisma.SortOrder
|
|
isDemoData?: Prisma.SortOrder
|
|
}
|
|
|
|
export type HrEmployeeProfileMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
userId?: Prisma.SortOrder
|
|
personalNumber?: Prisma.SortOrder
|
|
hireDate?: Prisma.SortOrder
|
|
position?: Prisma.SortOrder
|
|
team?: Prisma.SortOrder
|
|
locationId?: Prisma.SortOrder
|
|
managerUserId?: Prisma.SortOrder
|
|
emergencyContactCiphertext?: Prisma.SortOrder
|
|
isDemoData?: Prisma.SortOrder
|
|
}
|
|
|
|
|
|
|
|
export type HrEmployeeProfileSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
tenantId?: boolean
|
|
userId?: boolean
|
|
personalNumber?: boolean
|
|
hireDate?: boolean
|
|
position?: boolean
|
|
team?: boolean
|
|
locationId?: boolean
|
|
managerUserId?: boolean
|
|
emergencyContactCiphertext?: boolean
|
|
isDemoData?: boolean
|
|
}, ExtArgs["result"]["hrEmployeeProfile"]>
|
|
|
|
export type HrEmployeeProfileSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
tenantId?: boolean
|
|
userId?: boolean
|
|
personalNumber?: boolean
|
|
hireDate?: boolean
|
|
position?: boolean
|
|
team?: boolean
|
|
locationId?: boolean
|
|
managerUserId?: boolean
|
|
emergencyContactCiphertext?: boolean
|
|
isDemoData?: boolean
|
|
}, ExtArgs["result"]["hrEmployeeProfile"]>
|
|
|
|
export type HrEmployeeProfileSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
tenantId?: boolean
|
|
userId?: boolean
|
|
personalNumber?: boolean
|
|
hireDate?: boolean
|
|
position?: boolean
|
|
team?: boolean
|
|
locationId?: boolean
|
|
managerUserId?: boolean
|
|
emergencyContactCiphertext?: boolean
|
|
isDemoData?: boolean
|
|
}, ExtArgs["result"]["hrEmployeeProfile"]>
|
|
|
|
export type HrEmployeeProfileSelectScalar = {
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
tenantId?: boolean
|
|
userId?: boolean
|
|
personalNumber?: boolean
|
|
hireDate?: boolean
|
|
position?: boolean
|
|
team?: boolean
|
|
locationId?: boolean
|
|
managerUserId?: boolean
|
|
emergencyContactCiphertext?: boolean
|
|
isDemoData?: boolean
|
|
}
|
|
|
|
export type HrEmployeeProfileOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "tenantId" | "userId" | "personalNumber" | "hireDate" | "position" | "team" | "locationId" | "managerUserId" | "emergencyContactCiphertext" | "isDemoData", ExtArgs["result"]["hrEmployeeProfile"]>
|
|
|
|
export type $HrEmployeeProfilePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "HrEmployeeProfile"
|
|
objects: {}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: string
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
tenantId: string
|
|
userId: string
|
|
personalNumber: string | null
|
|
hireDate: Date | null
|
|
position: string | null
|
|
team: string | null
|
|
locationId: string | null
|
|
managerUserId: string | null
|
|
emergencyContactCiphertext: string | null
|
|
isDemoData: boolean
|
|
}, ExtArgs["result"]["hrEmployeeProfile"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type HrEmployeeProfileGetPayload<S extends boolean | null | undefined | HrEmployeeProfileDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$HrEmployeeProfilePayload, S>
|
|
|
|
export type HrEmployeeProfileCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<HrEmployeeProfileFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: HrEmployeeProfileCountAggregateInputType | true
|
|
}
|
|
|
|
export interface HrEmployeeProfileDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['HrEmployeeProfile'], meta: { name: 'HrEmployeeProfile' } }
|
|
/**
|
|
* Find zero or one HrEmployeeProfile that matches the filter.
|
|
* @param {HrEmployeeProfileFindUniqueArgs} args - Arguments to find a HrEmployeeProfile
|
|
* @example
|
|
* // Get one HrEmployeeProfile
|
|
* const hrEmployeeProfile = await prisma.hrEmployeeProfile.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends HrEmployeeProfileFindUniqueArgs>(args: Prisma.SelectSubset<T, HrEmployeeProfileFindUniqueArgs<ExtArgs>>): Prisma.Prisma__HrEmployeeProfileClient<runtime.Types.Result.GetResult<Prisma.$HrEmployeeProfilePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one HrEmployeeProfile that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {HrEmployeeProfileFindUniqueOrThrowArgs} args - Arguments to find a HrEmployeeProfile
|
|
* @example
|
|
* // Get one HrEmployeeProfile
|
|
* const hrEmployeeProfile = await prisma.hrEmployeeProfile.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends HrEmployeeProfileFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, HrEmployeeProfileFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__HrEmployeeProfileClient<runtime.Types.Result.GetResult<Prisma.$HrEmployeeProfilePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first HrEmployeeProfile that matches the filter.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {HrEmployeeProfileFindFirstArgs} args - Arguments to find a HrEmployeeProfile
|
|
* @example
|
|
* // Get one HrEmployeeProfile
|
|
* const hrEmployeeProfile = await prisma.hrEmployeeProfile.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends HrEmployeeProfileFindFirstArgs>(args?: Prisma.SelectSubset<T, HrEmployeeProfileFindFirstArgs<ExtArgs>>): Prisma.Prisma__HrEmployeeProfileClient<runtime.Types.Result.GetResult<Prisma.$HrEmployeeProfilePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first HrEmployeeProfile that matches the filter or
|
|
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {HrEmployeeProfileFindFirstOrThrowArgs} args - Arguments to find a HrEmployeeProfile
|
|
* @example
|
|
* // Get one HrEmployeeProfile
|
|
* const hrEmployeeProfile = await prisma.hrEmployeeProfile.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends HrEmployeeProfileFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, HrEmployeeProfileFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__HrEmployeeProfileClient<runtime.Types.Result.GetResult<Prisma.$HrEmployeeProfilePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more HrEmployeeProfiles that matches the filter.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {HrEmployeeProfileFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all HrEmployeeProfiles
|
|
* const hrEmployeeProfiles = await prisma.hrEmployeeProfile.findMany()
|
|
*
|
|
* // Get first 10 HrEmployeeProfiles
|
|
* const hrEmployeeProfiles = await prisma.hrEmployeeProfile.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const hrEmployeeProfileWithIdOnly = await prisma.hrEmployeeProfile.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends HrEmployeeProfileFindManyArgs>(args?: Prisma.SelectSubset<T, HrEmployeeProfileFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$HrEmployeeProfilePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a HrEmployeeProfile.
|
|
* @param {HrEmployeeProfileCreateArgs} args - Arguments to create a HrEmployeeProfile.
|
|
* @example
|
|
* // Create one HrEmployeeProfile
|
|
* const HrEmployeeProfile = await prisma.hrEmployeeProfile.create({
|
|
* data: {
|
|
* // ... data to create a HrEmployeeProfile
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends HrEmployeeProfileCreateArgs>(args: Prisma.SelectSubset<T, HrEmployeeProfileCreateArgs<ExtArgs>>): Prisma.Prisma__HrEmployeeProfileClient<runtime.Types.Result.GetResult<Prisma.$HrEmployeeProfilePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many HrEmployeeProfiles.
|
|
* @param {HrEmployeeProfileCreateManyArgs} args - Arguments to create many HrEmployeeProfiles.
|
|
* @example
|
|
* // Create many HrEmployeeProfiles
|
|
* const hrEmployeeProfile = await prisma.hrEmployeeProfile.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends HrEmployeeProfileCreateManyArgs>(args?: Prisma.SelectSubset<T, HrEmployeeProfileCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create many HrEmployeeProfiles and returns the data saved in the database.
|
|
* @param {HrEmployeeProfileCreateManyAndReturnArgs} args - Arguments to create many HrEmployeeProfiles.
|
|
* @example
|
|
* // Create many HrEmployeeProfiles
|
|
* const hrEmployeeProfile = await prisma.hrEmployeeProfile.createManyAndReturn({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Create many HrEmployeeProfiles and only return the `id`
|
|
* const hrEmployeeProfileWithIdOnly = await prisma.hrEmployeeProfile.createManyAndReturn({
|
|
* select: { id: true },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
*
|
|
*/
|
|
createManyAndReturn<T extends HrEmployeeProfileCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, HrEmployeeProfileCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$HrEmployeeProfilePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Delete a HrEmployeeProfile.
|
|
* @param {HrEmployeeProfileDeleteArgs} args - Arguments to delete one HrEmployeeProfile.
|
|
* @example
|
|
* // Delete one HrEmployeeProfile
|
|
* const HrEmployeeProfile = await prisma.hrEmployeeProfile.delete({
|
|
* where: {
|
|
* // ... filter to delete one HrEmployeeProfile
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends HrEmployeeProfileDeleteArgs>(args: Prisma.SelectSubset<T, HrEmployeeProfileDeleteArgs<ExtArgs>>): Prisma.Prisma__HrEmployeeProfileClient<runtime.Types.Result.GetResult<Prisma.$HrEmployeeProfilePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one HrEmployeeProfile.
|
|
* @param {HrEmployeeProfileUpdateArgs} args - Arguments to update one HrEmployeeProfile.
|
|
* @example
|
|
* // Update one HrEmployeeProfile
|
|
* const hrEmployeeProfile = await prisma.hrEmployeeProfile.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends HrEmployeeProfileUpdateArgs>(args: Prisma.SelectSubset<T, HrEmployeeProfileUpdateArgs<ExtArgs>>): Prisma.Prisma__HrEmployeeProfileClient<runtime.Types.Result.GetResult<Prisma.$HrEmployeeProfilePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more HrEmployeeProfiles.
|
|
* @param {HrEmployeeProfileDeleteManyArgs} args - Arguments to filter HrEmployeeProfiles to delete.
|
|
* @example
|
|
* // Delete a few HrEmployeeProfiles
|
|
* const { count } = await prisma.hrEmployeeProfile.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends HrEmployeeProfileDeleteManyArgs>(args?: Prisma.SelectSubset<T, HrEmployeeProfileDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more HrEmployeeProfiles.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {HrEmployeeProfileUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many HrEmployeeProfiles
|
|
* const hrEmployeeProfile = await prisma.hrEmployeeProfile.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends HrEmployeeProfileUpdateManyArgs>(args: Prisma.SelectSubset<T, HrEmployeeProfileUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more HrEmployeeProfiles and returns the data updated in the database.
|
|
* @param {HrEmployeeProfileUpdateManyAndReturnArgs} args - Arguments to update many HrEmployeeProfiles.
|
|
* @example
|
|
* // Update many HrEmployeeProfiles
|
|
* const hrEmployeeProfile = await prisma.hrEmployeeProfile.updateManyAndReturn({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Update zero or more HrEmployeeProfiles and only return the `id`
|
|
* const hrEmployeeProfileWithIdOnly = await prisma.hrEmployeeProfile.updateManyAndReturn({
|
|
* select: { id: true },
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
*
|
|
*/
|
|
updateManyAndReturn<T extends HrEmployeeProfileUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, HrEmployeeProfileUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$HrEmployeeProfilePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create or update one HrEmployeeProfile.
|
|
* @param {HrEmployeeProfileUpsertArgs} args - Arguments to update or create a HrEmployeeProfile.
|
|
* @example
|
|
* // Update or create a HrEmployeeProfile
|
|
* const hrEmployeeProfile = await prisma.hrEmployeeProfile.upsert({
|
|
* create: {
|
|
* // ... data to create a HrEmployeeProfile
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the HrEmployeeProfile we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends HrEmployeeProfileUpsertArgs>(args: Prisma.SelectSubset<T, HrEmployeeProfileUpsertArgs<ExtArgs>>): Prisma.Prisma__HrEmployeeProfileClient<runtime.Types.Result.GetResult<Prisma.$HrEmployeeProfilePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of HrEmployeeProfiles.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {HrEmployeeProfileCountArgs} args - Arguments to filter HrEmployeeProfiles to count.
|
|
* @example
|
|
* // Count the number of HrEmployeeProfiles
|
|
* const count = await prisma.hrEmployeeProfile.count({
|
|
* where: {
|
|
* // ... the filter for the HrEmployeeProfiles we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends HrEmployeeProfileCountArgs>(
|
|
args?: Prisma.Subset<T, HrEmployeeProfileCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], HrEmployeeProfileCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a HrEmployeeProfile.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {HrEmployeeProfileAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
* @example
|
|
* // Ordered by age ascending
|
|
* // Where email contains prisma.io
|
|
* // Limited to the 10 users
|
|
* const aggregations = await prisma.user.aggregate({
|
|
* _avg: {
|
|
* age: true,
|
|
* },
|
|
* where: {
|
|
* email: {
|
|
* contains: "prisma.io",
|
|
* },
|
|
* },
|
|
* orderBy: {
|
|
* age: "asc",
|
|
* },
|
|
* take: 10,
|
|
* })
|
|
**/
|
|
aggregate<T extends HrEmployeeProfileAggregateArgs>(args: Prisma.Subset<T, HrEmployeeProfileAggregateArgs>): Prisma.PrismaPromise<GetHrEmployeeProfileAggregateType<T>>
|
|
|
|
/**
|
|
* Group by HrEmployeeProfile.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {HrEmployeeProfileGroupByArgs} args - Group by arguments.
|
|
* @example
|
|
* // Group by city, order by createdAt, get count
|
|
* const result = await prisma.user.groupBy({
|
|
* by: ['city', 'createdAt'],
|
|
* orderBy: {
|
|
* createdAt: true
|
|
* },
|
|
* _count: {
|
|
* _all: true
|
|
* },
|
|
* })
|
|
*
|
|
**/
|
|
groupBy<
|
|
T extends HrEmployeeProfileGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: HrEmployeeProfileGroupByArgs['orderBy'] }
|
|
: { orderBy?: HrEmployeeProfileGroupByArgs['orderBy'] },
|
|
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
InputErrors extends ByEmpty extends Prisma.True
|
|
? `Error: "by" must not be empty.`
|
|
: HavingValid extends Prisma.False
|
|
? {
|
|
[P in HavingFields]: P extends ByFields
|
|
? never
|
|
: P extends string
|
|
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
: [
|
|
Error,
|
|
'Field ',
|
|
P,
|
|
` in "having" needs to be provided in "by"`,
|
|
]
|
|
}[HavingFields]
|
|
: 'take' extends Prisma.Keys<T>
|
|
? 'orderBy' extends Prisma.Keys<T>
|
|
? ByValid extends Prisma.True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
: 'skip' extends Prisma.Keys<T>
|
|
? 'orderBy' extends Prisma.Keys<T>
|
|
? ByValid extends Prisma.True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
: ByValid extends Prisma.True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
>(args: Prisma.SubsetIntersection<T, HrEmployeeProfileGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetHrEmployeeProfileGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the HrEmployeeProfile model
|
|
*/
|
|
readonly fields: HrEmployeeProfileFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for HrEmployeeProfile.
|
|
* Why is this prefixed with `Prisma__`?
|
|
* Because we want to prevent naming conflicts as mentioned in
|
|
* https://github.com/prisma/prisma-client-js/issues/707
|
|
*/
|
|
export interface Prisma__HrEmployeeProfileClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
/**
|
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
* @returns A Promise for the completion of which ever callback is executed.
|
|
*/
|
|
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
|
|
/**
|
|
* Attaches a callback for only the rejection of the Promise.
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
/**
|
|
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
* resolved value cannot be modified from the callback.
|
|
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
* Fields of the HrEmployeeProfile model
|
|
*/
|
|
export interface HrEmployeeProfileFieldRefs {
|
|
readonly id: Prisma.FieldRef<"HrEmployeeProfile", 'String'>
|
|
readonly createdAt: Prisma.FieldRef<"HrEmployeeProfile", 'DateTime'>
|
|
readonly updatedAt: Prisma.FieldRef<"HrEmployeeProfile", 'DateTime'>
|
|
readonly tenantId: Prisma.FieldRef<"HrEmployeeProfile", 'String'>
|
|
readonly userId: Prisma.FieldRef<"HrEmployeeProfile", 'String'>
|
|
readonly personalNumber: Prisma.FieldRef<"HrEmployeeProfile", 'String'>
|
|
readonly hireDate: Prisma.FieldRef<"HrEmployeeProfile", 'DateTime'>
|
|
readonly position: Prisma.FieldRef<"HrEmployeeProfile", 'String'>
|
|
readonly team: Prisma.FieldRef<"HrEmployeeProfile", 'String'>
|
|
readonly locationId: Prisma.FieldRef<"HrEmployeeProfile", 'String'>
|
|
readonly managerUserId: Prisma.FieldRef<"HrEmployeeProfile", 'String'>
|
|
readonly emergencyContactCiphertext: Prisma.FieldRef<"HrEmployeeProfile", 'String'>
|
|
readonly isDemoData: Prisma.FieldRef<"HrEmployeeProfile", 'Boolean'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* HrEmployeeProfile findUnique
|
|
*/
|
|
export type HrEmployeeProfileFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the HrEmployeeProfile
|
|
*/
|
|
select?: Prisma.HrEmployeeProfileSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the HrEmployeeProfile
|
|
*/
|
|
omit?: Prisma.HrEmployeeProfileOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which HrEmployeeProfile to fetch.
|
|
*/
|
|
where: Prisma.HrEmployeeProfileWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* HrEmployeeProfile findUniqueOrThrow
|
|
*/
|
|
export type HrEmployeeProfileFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the HrEmployeeProfile
|
|
*/
|
|
select?: Prisma.HrEmployeeProfileSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the HrEmployeeProfile
|
|
*/
|
|
omit?: Prisma.HrEmployeeProfileOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which HrEmployeeProfile to fetch.
|
|
*/
|
|
where: Prisma.HrEmployeeProfileWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* HrEmployeeProfile findFirst
|
|
*/
|
|
export type HrEmployeeProfileFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the HrEmployeeProfile
|
|
*/
|
|
select?: Prisma.HrEmployeeProfileSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the HrEmployeeProfile
|
|
*/
|
|
omit?: Prisma.HrEmployeeProfileOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which HrEmployeeProfile to fetch.
|
|
*/
|
|
where?: Prisma.HrEmployeeProfileWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of HrEmployeeProfiles to fetch.
|
|
*/
|
|
orderBy?: Prisma.HrEmployeeProfileOrderByWithRelationInput | Prisma.HrEmployeeProfileOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for HrEmployeeProfiles.
|
|
*/
|
|
cursor?: Prisma.HrEmployeeProfileWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` HrEmployeeProfiles from the position of the cursor.
|
|
*/
|
|
take?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Skip the first `n` HrEmployeeProfiles.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of HrEmployeeProfiles.
|
|
*/
|
|
distinct?: Prisma.HrEmployeeProfileScalarFieldEnum | Prisma.HrEmployeeProfileScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* HrEmployeeProfile findFirstOrThrow
|
|
*/
|
|
export type HrEmployeeProfileFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the HrEmployeeProfile
|
|
*/
|
|
select?: Prisma.HrEmployeeProfileSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the HrEmployeeProfile
|
|
*/
|
|
omit?: Prisma.HrEmployeeProfileOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which HrEmployeeProfile to fetch.
|
|
*/
|
|
where?: Prisma.HrEmployeeProfileWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of HrEmployeeProfiles to fetch.
|
|
*/
|
|
orderBy?: Prisma.HrEmployeeProfileOrderByWithRelationInput | Prisma.HrEmployeeProfileOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for HrEmployeeProfiles.
|
|
*/
|
|
cursor?: Prisma.HrEmployeeProfileWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` HrEmployeeProfiles from the position of the cursor.
|
|
*/
|
|
take?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Skip the first `n` HrEmployeeProfiles.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of HrEmployeeProfiles.
|
|
*/
|
|
distinct?: Prisma.HrEmployeeProfileScalarFieldEnum | Prisma.HrEmployeeProfileScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* HrEmployeeProfile findMany
|
|
*/
|
|
export type HrEmployeeProfileFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the HrEmployeeProfile
|
|
*/
|
|
select?: Prisma.HrEmployeeProfileSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the HrEmployeeProfile
|
|
*/
|
|
omit?: Prisma.HrEmployeeProfileOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which HrEmployeeProfiles to fetch.
|
|
*/
|
|
where?: Prisma.HrEmployeeProfileWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of HrEmployeeProfiles to fetch.
|
|
*/
|
|
orderBy?: Prisma.HrEmployeeProfileOrderByWithRelationInput | Prisma.HrEmployeeProfileOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing HrEmployeeProfiles.
|
|
*/
|
|
cursor?: Prisma.HrEmployeeProfileWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` HrEmployeeProfiles from the position of the cursor.
|
|
*/
|
|
take?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Skip the first `n` HrEmployeeProfiles.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of HrEmployeeProfiles.
|
|
*/
|
|
distinct?: Prisma.HrEmployeeProfileScalarFieldEnum | Prisma.HrEmployeeProfileScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* HrEmployeeProfile create
|
|
*/
|
|
export type HrEmployeeProfileCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the HrEmployeeProfile
|
|
*/
|
|
select?: Prisma.HrEmployeeProfileSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the HrEmployeeProfile
|
|
*/
|
|
omit?: Prisma.HrEmployeeProfileOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a HrEmployeeProfile.
|
|
*/
|
|
data: Prisma.XOR<Prisma.HrEmployeeProfileCreateInput, Prisma.HrEmployeeProfileUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* HrEmployeeProfile createMany
|
|
*/
|
|
export type HrEmployeeProfileCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many HrEmployeeProfiles.
|
|
*/
|
|
data: Prisma.HrEmployeeProfileCreateManyInput | Prisma.HrEmployeeProfileCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* HrEmployeeProfile createManyAndReturn
|
|
*/
|
|
export type HrEmployeeProfileCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the HrEmployeeProfile
|
|
*/
|
|
select?: Prisma.HrEmployeeProfileSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the HrEmployeeProfile
|
|
*/
|
|
omit?: Prisma.HrEmployeeProfileOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to create many HrEmployeeProfiles.
|
|
*/
|
|
data: Prisma.HrEmployeeProfileCreateManyInput | Prisma.HrEmployeeProfileCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* HrEmployeeProfile update
|
|
*/
|
|
export type HrEmployeeProfileUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the HrEmployeeProfile
|
|
*/
|
|
select?: Prisma.HrEmployeeProfileSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the HrEmployeeProfile
|
|
*/
|
|
omit?: Prisma.HrEmployeeProfileOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a HrEmployeeProfile.
|
|
*/
|
|
data: Prisma.XOR<Prisma.HrEmployeeProfileUpdateInput, Prisma.HrEmployeeProfileUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which HrEmployeeProfile to update.
|
|
*/
|
|
where: Prisma.HrEmployeeProfileWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* HrEmployeeProfile updateMany
|
|
*/
|
|
export type HrEmployeeProfileUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update HrEmployeeProfiles.
|
|
*/
|
|
data: Prisma.XOR<Prisma.HrEmployeeProfileUpdateManyMutationInput, Prisma.HrEmployeeProfileUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which HrEmployeeProfiles to update
|
|
*/
|
|
where?: Prisma.HrEmployeeProfileWhereInput
|
|
/**
|
|
* Limit how many HrEmployeeProfiles to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* HrEmployeeProfile updateManyAndReturn
|
|
*/
|
|
export type HrEmployeeProfileUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the HrEmployeeProfile
|
|
*/
|
|
select?: Prisma.HrEmployeeProfileSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the HrEmployeeProfile
|
|
*/
|
|
omit?: Prisma.HrEmployeeProfileOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update HrEmployeeProfiles.
|
|
*/
|
|
data: Prisma.XOR<Prisma.HrEmployeeProfileUpdateManyMutationInput, Prisma.HrEmployeeProfileUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which HrEmployeeProfiles to update
|
|
*/
|
|
where?: Prisma.HrEmployeeProfileWhereInput
|
|
/**
|
|
* Limit how many HrEmployeeProfiles to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* HrEmployeeProfile upsert
|
|
*/
|
|
export type HrEmployeeProfileUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the HrEmployeeProfile
|
|
*/
|
|
select?: Prisma.HrEmployeeProfileSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the HrEmployeeProfile
|
|
*/
|
|
omit?: Prisma.HrEmployeeProfileOmit<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the HrEmployeeProfile to update in case it exists.
|
|
*/
|
|
where: Prisma.HrEmployeeProfileWhereUniqueInput
|
|
/**
|
|
* In case the HrEmployeeProfile found by the `where` argument doesn't exist, create a new HrEmployeeProfile with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.HrEmployeeProfileCreateInput, Prisma.HrEmployeeProfileUncheckedCreateInput>
|
|
/**
|
|
* In case the HrEmployeeProfile was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.HrEmployeeProfileUpdateInput, Prisma.HrEmployeeProfileUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* HrEmployeeProfile delete
|
|
*/
|
|
export type HrEmployeeProfileDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the HrEmployeeProfile
|
|
*/
|
|
select?: Prisma.HrEmployeeProfileSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the HrEmployeeProfile
|
|
*/
|
|
omit?: Prisma.HrEmployeeProfileOmit<ExtArgs> | null
|
|
/**
|
|
* Filter which HrEmployeeProfile to delete.
|
|
*/
|
|
where: Prisma.HrEmployeeProfileWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* HrEmployeeProfile deleteMany
|
|
*/
|
|
export type HrEmployeeProfileDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which HrEmployeeProfiles to delete
|
|
*/
|
|
where?: Prisma.HrEmployeeProfileWhereInput
|
|
/**
|
|
* Limit how many HrEmployeeProfiles to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* HrEmployeeProfile without action
|
|
*/
|
|
export type HrEmployeeProfileDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the HrEmployeeProfile
|
|
*/
|
|
select?: Prisma.HrEmployeeProfileSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the HrEmployeeProfile
|
|
*/
|
|
omit?: Prisma.HrEmployeeProfileOmit<ExtArgs> | null
|
|
}
|