Files
2026-07-08 16:15:37 +02:00

1414 lines
55 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 `HrEmployeeDocument` 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 HrEmployeeDocument
* A personnel document for one employee. The bytes live in a File (files.prisma,
* referenced by bare `fileId`). `visibility` gates whether the employee sees it;
* `uploadedByOffice` marks office-uploaded documents as READ-ONLY for the
* employee (they may view/download but not edit or delete). Soft-delete via
* `archivedAt`.
*/
export type HrEmployeeDocumentModel = runtime.Types.Result.DefaultSelection<Prisma.$HrEmployeeDocumentPayload>
export type AggregateHrEmployeeDocument = {
_count: HrEmployeeDocumentCountAggregateOutputType | null
_min: HrEmployeeDocumentMinAggregateOutputType | null
_max: HrEmployeeDocumentMaxAggregateOutputType | null
}
export type HrEmployeeDocumentMinAggregateOutputType = {
id: string | null
createdAt: Date | null
updatedAt: Date | null
tenantId: string | null
employeeUserId: string | null
uploadedByUserId: string | null
title: string | null
documentKind: $Enums.HrDocumentKind | null
fileId: string | null
visibility: $Enums.HrDocumentVisibility | null
uploadedByOffice: boolean | null
validUntil: Date | null
isDemoData: boolean | null
archivedAt: Date | null
}
export type HrEmployeeDocumentMaxAggregateOutputType = {
id: string | null
createdAt: Date | null
updatedAt: Date | null
tenantId: string | null
employeeUserId: string | null
uploadedByUserId: string | null
title: string | null
documentKind: $Enums.HrDocumentKind | null
fileId: string | null
visibility: $Enums.HrDocumentVisibility | null
uploadedByOffice: boolean | null
validUntil: Date | null
isDemoData: boolean | null
archivedAt: Date | null
}
export type HrEmployeeDocumentCountAggregateOutputType = {
id: number
createdAt: number
updatedAt: number
tenantId: number
employeeUserId: number
uploadedByUserId: number
title: number
documentKind: number
fileId: number
visibility: number
uploadedByOffice: number
validUntil: number
isDemoData: number
archivedAt: number
_all: number
}
export type HrEmployeeDocumentMinAggregateInputType = {
id?: true
createdAt?: true
updatedAt?: true
tenantId?: true
employeeUserId?: true
uploadedByUserId?: true
title?: true
documentKind?: true
fileId?: true
visibility?: true
uploadedByOffice?: true
validUntil?: true
isDemoData?: true
archivedAt?: true
}
export type HrEmployeeDocumentMaxAggregateInputType = {
id?: true
createdAt?: true
updatedAt?: true
tenantId?: true
employeeUserId?: true
uploadedByUserId?: true
title?: true
documentKind?: true
fileId?: true
visibility?: true
uploadedByOffice?: true
validUntil?: true
isDemoData?: true
archivedAt?: true
}
export type HrEmployeeDocumentCountAggregateInputType = {
id?: true
createdAt?: true
updatedAt?: true
tenantId?: true
employeeUserId?: true
uploadedByUserId?: true
title?: true
documentKind?: true
fileId?: true
visibility?: true
uploadedByOffice?: true
validUntil?: true
isDemoData?: true
archivedAt?: true
_all?: true
}
export type HrEmployeeDocumentAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which HrEmployeeDocument to aggregate.
*/
where?: Prisma.HrEmployeeDocumentWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of HrEmployeeDocuments to fetch.
*/
orderBy?: Prisma.HrEmployeeDocumentOrderByWithRelationInput | Prisma.HrEmployeeDocumentOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the start position
*/
cursor?: Prisma.HrEmployeeDocumentWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` HrEmployeeDocuments 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` HrEmployeeDocuments.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Count returned HrEmployeeDocuments
**/
_count?: true | HrEmployeeDocumentCountAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the minimum value
**/
_min?: HrEmployeeDocumentMinAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the maximum value
**/
_max?: HrEmployeeDocumentMaxAggregateInputType
}
export type GetHrEmployeeDocumentAggregateType<T extends HrEmployeeDocumentAggregateArgs> = {
[P in keyof T & keyof AggregateHrEmployeeDocument]: P extends '_count' | 'count'
? T[P] extends true
? number
: Prisma.GetScalarType<T[P], AggregateHrEmployeeDocument[P]>
: Prisma.GetScalarType<T[P], AggregateHrEmployeeDocument[P]>
}
export type HrEmployeeDocumentGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.HrEmployeeDocumentWhereInput
orderBy?: Prisma.HrEmployeeDocumentOrderByWithAggregationInput | Prisma.HrEmployeeDocumentOrderByWithAggregationInput[]
by: Prisma.HrEmployeeDocumentScalarFieldEnum[] | Prisma.HrEmployeeDocumentScalarFieldEnum
having?: Prisma.HrEmployeeDocumentScalarWhereWithAggregatesInput
take?: number
skip?: number
_count?: HrEmployeeDocumentCountAggregateInputType | true
_min?: HrEmployeeDocumentMinAggregateInputType
_max?: HrEmployeeDocumentMaxAggregateInputType
}
export type HrEmployeeDocumentGroupByOutputType = {
id: string
createdAt: Date
updatedAt: Date
tenantId: string
employeeUserId: string
uploadedByUserId: string
title: string
documentKind: $Enums.HrDocumentKind
fileId: string
visibility: $Enums.HrDocumentVisibility
uploadedByOffice: boolean
validUntil: Date | null
isDemoData: boolean
archivedAt: Date | null
_count: HrEmployeeDocumentCountAggregateOutputType | null
_min: HrEmployeeDocumentMinAggregateOutputType | null
_max: HrEmployeeDocumentMaxAggregateOutputType | null
}
export type GetHrEmployeeDocumentGroupByPayload<T extends HrEmployeeDocumentGroupByArgs> = Prisma.PrismaPromise<
Array<
Prisma.PickEnumerable<HrEmployeeDocumentGroupByOutputType, T['by']> &
{
[P in ((keyof T) & (keyof HrEmployeeDocumentGroupByOutputType))]: P extends '_count'
? T[P] extends boolean
? number
: Prisma.GetScalarType<T[P], HrEmployeeDocumentGroupByOutputType[P]>
: Prisma.GetScalarType<T[P], HrEmployeeDocumentGroupByOutputType[P]>
}
>
>
export type HrEmployeeDocumentWhereInput = {
AND?: Prisma.HrEmployeeDocumentWhereInput | Prisma.HrEmployeeDocumentWhereInput[]
OR?: Prisma.HrEmployeeDocumentWhereInput[]
NOT?: Prisma.HrEmployeeDocumentWhereInput | Prisma.HrEmployeeDocumentWhereInput[]
id?: Prisma.StringFilter<"HrEmployeeDocument"> | string
createdAt?: Prisma.DateTimeFilter<"HrEmployeeDocument"> | Date | string
updatedAt?: Prisma.DateTimeFilter<"HrEmployeeDocument"> | Date | string
tenantId?: Prisma.StringFilter<"HrEmployeeDocument"> | string
employeeUserId?: Prisma.StringFilter<"HrEmployeeDocument"> | string
uploadedByUserId?: Prisma.StringFilter<"HrEmployeeDocument"> | string
title?: Prisma.StringFilter<"HrEmployeeDocument"> | string
documentKind?: Prisma.EnumHrDocumentKindFilter<"HrEmployeeDocument"> | $Enums.HrDocumentKind
fileId?: Prisma.StringFilter<"HrEmployeeDocument"> | string
visibility?: Prisma.EnumHrDocumentVisibilityFilter<"HrEmployeeDocument"> | $Enums.HrDocumentVisibility
uploadedByOffice?: Prisma.BoolFilter<"HrEmployeeDocument"> | boolean
validUntil?: Prisma.DateTimeNullableFilter<"HrEmployeeDocument"> | Date | string | null
isDemoData?: Prisma.BoolFilter<"HrEmployeeDocument"> | boolean
archivedAt?: Prisma.DateTimeNullableFilter<"HrEmployeeDocument"> | Date | string | null
}
export type HrEmployeeDocumentOrderByWithRelationInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
employeeUserId?: Prisma.SortOrder
uploadedByUserId?: Prisma.SortOrder
title?: Prisma.SortOrder
documentKind?: Prisma.SortOrder
fileId?: Prisma.SortOrder
visibility?: Prisma.SortOrder
uploadedByOffice?: Prisma.SortOrder
validUntil?: Prisma.SortOrderInput | Prisma.SortOrder
isDemoData?: Prisma.SortOrder
archivedAt?: Prisma.SortOrderInput | Prisma.SortOrder
}
export type HrEmployeeDocumentWhereUniqueInput = Prisma.AtLeast<{
id?: string
AND?: Prisma.HrEmployeeDocumentWhereInput | Prisma.HrEmployeeDocumentWhereInput[]
OR?: Prisma.HrEmployeeDocumentWhereInput[]
NOT?: Prisma.HrEmployeeDocumentWhereInput | Prisma.HrEmployeeDocumentWhereInput[]
createdAt?: Prisma.DateTimeFilter<"HrEmployeeDocument"> | Date | string
updatedAt?: Prisma.DateTimeFilter<"HrEmployeeDocument"> | Date | string
tenantId?: Prisma.StringFilter<"HrEmployeeDocument"> | string
employeeUserId?: Prisma.StringFilter<"HrEmployeeDocument"> | string
uploadedByUserId?: Prisma.StringFilter<"HrEmployeeDocument"> | string
title?: Prisma.StringFilter<"HrEmployeeDocument"> | string
documentKind?: Prisma.EnumHrDocumentKindFilter<"HrEmployeeDocument"> | $Enums.HrDocumentKind
fileId?: Prisma.StringFilter<"HrEmployeeDocument"> | string
visibility?: Prisma.EnumHrDocumentVisibilityFilter<"HrEmployeeDocument"> | $Enums.HrDocumentVisibility
uploadedByOffice?: Prisma.BoolFilter<"HrEmployeeDocument"> | boolean
validUntil?: Prisma.DateTimeNullableFilter<"HrEmployeeDocument"> | Date | string | null
isDemoData?: Prisma.BoolFilter<"HrEmployeeDocument"> | boolean
archivedAt?: Prisma.DateTimeNullableFilter<"HrEmployeeDocument"> | Date | string | null
}, "id">
export type HrEmployeeDocumentOrderByWithAggregationInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
employeeUserId?: Prisma.SortOrder
uploadedByUserId?: Prisma.SortOrder
title?: Prisma.SortOrder
documentKind?: Prisma.SortOrder
fileId?: Prisma.SortOrder
visibility?: Prisma.SortOrder
uploadedByOffice?: Prisma.SortOrder
validUntil?: Prisma.SortOrderInput | Prisma.SortOrder
isDemoData?: Prisma.SortOrder
archivedAt?: Prisma.SortOrderInput | Prisma.SortOrder
_count?: Prisma.HrEmployeeDocumentCountOrderByAggregateInput
_max?: Prisma.HrEmployeeDocumentMaxOrderByAggregateInput
_min?: Prisma.HrEmployeeDocumentMinOrderByAggregateInput
}
export type HrEmployeeDocumentScalarWhereWithAggregatesInput = {
AND?: Prisma.HrEmployeeDocumentScalarWhereWithAggregatesInput | Prisma.HrEmployeeDocumentScalarWhereWithAggregatesInput[]
OR?: Prisma.HrEmployeeDocumentScalarWhereWithAggregatesInput[]
NOT?: Prisma.HrEmployeeDocumentScalarWhereWithAggregatesInput | Prisma.HrEmployeeDocumentScalarWhereWithAggregatesInput[]
id?: Prisma.StringWithAggregatesFilter<"HrEmployeeDocument"> | string
createdAt?: Prisma.DateTimeWithAggregatesFilter<"HrEmployeeDocument"> | Date | string
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"HrEmployeeDocument"> | Date | string
tenantId?: Prisma.StringWithAggregatesFilter<"HrEmployeeDocument"> | string
employeeUserId?: Prisma.StringWithAggregatesFilter<"HrEmployeeDocument"> | string
uploadedByUserId?: Prisma.StringWithAggregatesFilter<"HrEmployeeDocument"> | string
title?: Prisma.StringWithAggregatesFilter<"HrEmployeeDocument"> | string
documentKind?: Prisma.EnumHrDocumentKindWithAggregatesFilter<"HrEmployeeDocument"> | $Enums.HrDocumentKind
fileId?: Prisma.StringWithAggregatesFilter<"HrEmployeeDocument"> | string
visibility?: Prisma.EnumHrDocumentVisibilityWithAggregatesFilter<"HrEmployeeDocument"> | $Enums.HrDocumentVisibility
uploadedByOffice?: Prisma.BoolWithAggregatesFilter<"HrEmployeeDocument"> | boolean
validUntil?: Prisma.DateTimeNullableWithAggregatesFilter<"HrEmployeeDocument"> | Date | string | null
isDemoData?: Prisma.BoolWithAggregatesFilter<"HrEmployeeDocument"> | boolean
archivedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"HrEmployeeDocument"> | Date | string | null
}
export type HrEmployeeDocumentCreateInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
tenantId: string
employeeUserId: string
uploadedByUserId: string
title: string
documentKind?: $Enums.HrDocumentKind
fileId: string
visibility?: $Enums.HrDocumentVisibility
uploadedByOffice?: boolean
validUntil?: Date | string | null
isDemoData?: boolean
archivedAt?: Date | string | null
}
export type HrEmployeeDocumentUncheckedCreateInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
tenantId: string
employeeUserId: string
uploadedByUserId: string
title: string
documentKind?: $Enums.HrDocumentKind
fileId: string
visibility?: $Enums.HrDocumentVisibility
uploadedByOffice?: boolean
validUntil?: Date | string | null
isDemoData?: boolean
archivedAt?: Date | string | null
}
export type HrEmployeeDocumentUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
employeeUserId?: Prisma.StringFieldUpdateOperationsInput | string
uploadedByUserId?: Prisma.StringFieldUpdateOperationsInput | string
title?: Prisma.StringFieldUpdateOperationsInput | string
documentKind?: Prisma.EnumHrDocumentKindFieldUpdateOperationsInput | $Enums.HrDocumentKind
fileId?: Prisma.StringFieldUpdateOperationsInput | string
visibility?: Prisma.EnumHrDocumentVisibilityFieldUpdateOperationsInput | $Enums.HrDocumentVisibility
uploadedByOffice?: Prisma.BoolFieldUpdateOperationsInput | boolean
validUntil?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}
export type HrEmployeeDocumentUncheckedUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
employeeUserId?: Prisma.StringFieldUpdateOperationsInput | string
uploadedByUserId?: Prisma.StringFieldUpdateOperationsInput | string
title?: Prisma.StringFieldUpdateOperationsInput | string
documentKind?: Prisma.EnumHrDocumentKindFieldUpdateOperationsInput | $Enums.HrDocumentKind
fileId?: Prisma.StringFieldUpdateOperationsInput | string
visibility?: Prisma.EnumHrDocumentVisibilityFieldUpdateOperationsInput | $Enums.HrDocumentVisibility
uploadedByOffice?: Prisma.BoolFieldUpdateOperationsInput | boolean
validUntil?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}
export type HrEmployeeDocumentCreateManyInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
tenantId: string
employeeUserId: string
uploadedByUserId: string
title: string
documentKind?: $Enums.HrDocumentKind
fileId: string
visibility?: $Enums.HrDocumentVisibility
uploadedByOffice?: boolean
validUntil?: Date | string | null
isDemoData?: boolean
archivedAt?: Date | string | null
}
export type HrEmployeeDocumentUpdateManyMutationInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
employeeUserId?: Prisma.StringFieldUpdateOperationsInput | string
uploadedByUserId?: Prisma.StringFieldUpdateOperationsInput | string
title?: Prisma.StringFieldUpdateOperationsInput | string
documentKind?: Prisma.EnumHrDocumentKindFieldUpdateOperationsInput | $Enums.HrDocumentKind
fileId?: Prisma.StringFieldUpdateOperationsInput | string
visibility?: Prisma.EnumHrDocumentVisibilityFieldUpdateOperationsInput | $Enums.HrDocumentVisibility
uploadedByOffice?: Prisma.BoolFieldUpdateOperationsInput | boolean
validUntil?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}
export type HrEmployeeDocumentUncheckedUpdateManyInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
employeeUserId?: Prisma.StringFieldUpdateOperationsInput | string
uploadedByUserId?: Prisma.StringFieldUpdateOperationsInput | string
title?: Prisma.StringFieldUpdateOperationsInput | string
documentKind?: Prisma.EnumHrDocumentKindFieldUpdateOperationsInput | $Enums.HrDocumentKind
fileId?: Prisma.StringFieldUpdateOperationsInput | string
visibility?: Prisma.EnumHrDocumentVisibilityFieldUpdateOperationsInput | $Enums.HrDocumentVisibility
uploadedByOffice?: Prisma.BoolFieldUpdateOperationsInput | boolean
validUntil?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}
export type HrEmployeeDocumentCountOrderByAggregateInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
employeeUserId?: Prisma.SortOrder
uploadedByUserId?: Prisma.SortOrder
title?: Prisma.SortOrder
documentKind?: Prisma.SortOrder
fileId?: Prisma.SortOrder
visibility?: Prisma.SortOrder
uploadedByOffice?: Prisma.SortOrder
validUntil?: Prisma.SortOrder
isDemoData?: Prisma.SortOrder
archivedAt?: Prisma.SortOrder
}
export type HrEmployeeDocumentMaxOrderByAggregateInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
employeeUserId?: Prisma.SortOrder
uploadedByUserId?: Prisma.SortOrder
title?: Prisma.SortOrder
documentKind?: Prisma.SortOrder
fileId?: Prisma.SortOrder
visibility?: Prisma.SortOrder
uploadedByOffice?: Prisma.SortOrder
validUntil?: Prisma.SortOrder
isDemoData?: Prisma.SortOrder
archivedAt?: Prisma.SortOrder
}
export type HrEmployeeDocumentMinOrderByAggregateInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
employeeUserId?: Prisma.SortOrder
uploadedByUserId?: Prisma.SortOrder
title?: Prisma.SortOrder
documentKind?: Prisma.SortOrder
fileId?: Prisma.SortOrder
visibility?: Prisma.SortOrder
uploadedByOffice?: Prisma.SortOrder
validUntil?: Prisma.SortOrder
isDemoData?: Prisma.SortOrder
archivedAt?: Prisma.SortOrder
}
export type EnumHrDocumentKindFieldUpdateOperationsInput = {
set?: $Enums.HrDocumentKind
}
export type EnumHrDocumentVisibilityFieldUpdateOperationsInput = {
set?: $Enums.HrDocumentVisibility
}
export type HrEmployeeDocumentSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
createdAt?: boolean
updatedAt?: boolean
tenantId?: boolean
employeeUserId?: boolean
uploadedByUserId?: boolean
title?: boolean
documentKind?: boolean
fileId?: boolean
visibility?: boolean
uploadedByOffice?: boolean
validUntil?: boolean
isDemoData?: boolean
archivedAt?: boolean
}, ExtArgs["result"]["hrEmployeeDocument"]>
export type HrEmployeeDocumentSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
createdAt?: boolean
updatedAt?: boolean
tenantId?: boolean
employeeUserId?: boolean
uploadedByUserId?: boolean
title?: boolean
documentKind?: boolean
fileId?: boolean
visibility?: boolean
uploadedByOffice?: boolean
validUntil?: boolean
isDemoData?: boolean
archivedAt?: boolean
}, ExtArgs["result"]["hrEmployeeDocument"]>
export type HrEmployeeDocumentSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
createdAt?: boolean
updatedAt?: boolean
tenantId?: boolean
employeeUserId?: boolean
uploadedByUserId?: boolean
title?: boolean
documentKind?: boolean
fileId?: boolean
visibility?: boolean
uploadedByOffice?: boolean
validUntil?: boolean
isDemoData?: boolean
archivedAt?: boolean
}, ExtArgs["result"]["hrEmployeeDocument"]>
export type HrEmployeeDocumentSelectScalar = {
id?: boolean
createdAt?: boolean
updatedAt?: boolean
tenantId?: boolean
employeeUserId?: boolean
uploadedByUserId?: boolean
title?: boolean
documentKind?: boolean
fileId?: boolean
visibility?: boolean
uploadedByOffice?: boolean
validUntil?: boolean
isDemoData?: boolean
archivedAt?: boolean
}
export type HrEmployeeDocumentOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "tenantId" | "employeeUserId" | "uploadedByUserId" | "title" | "documentKind" | "fileId" | "visibility" | "uploadedByOffice" | "validUntil" | "isDemoData" | "archivedAt", ExtArgs["result"]["hrEmployeeDocument"]>
export type $HrEmployeeDocumentPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
name: "HrEmployeeDocument"
objects: {}
scalars: runtime.Types.Extensions.GetPayloadResult<{
id: string
createdAt: Date
updatedAt: Date
tenantId: string
employeeUserId: string
uploadedByUserId: string
title: string
documentKind: $Enums.HrDocumentKind
fileId: string
visibility: $Enums.HrDocumentVisibility
uploadedByOffice: boolean
validUntil: Date | null
isDemoData: boolean
archivedAt: Date | null
}, ExtArgs["result"]["hrEmployeeDocument"]>
composites: {}
}
export type HrEmployeeDocumentGetPayload<S extends boolean | null | undefined | HrEmployeeDocumentDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$HrEmployeeDocumentPayload, S>
export type HrEmployeeDocumentCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
Omit<HrEmployeeDocumentFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
select?: HrEmployeeDocumentCountAggregateInputType | true
}
export interface HrEmployeeDocumentDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['HrEmployeeDocument'], meta: { name: 'HrEmployeeDocument' } }
/**
* Find zero or one HrEmployeeDocument that matches the filter.
* @param {HrEmployeeDocumentFindUniqueArgs} args - Arguments to find a HrEmployeeDocument
* @example
* // Get one HrEmployeeDocument
* const hrEmployeeDocument = await prisma.hrEmployeeDocument.findUnique({
* where: {
* // ... provide filter here
* }
* })
*/
findUnique<T extends HrEmployeeDocumentFindUniqueArgs>(args: Prisma.SelectSubset<T, HrEmployeeDocumentFindUniqueArgs<ExtArgs>>): Prisma.Prisma__HrEmployeeDocumentClient<runtime.Types.Result.GetResult<Prisma.$HrEmployeeDocumentPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find one HrEmployeeDocument that matches the filter or throw an error with `error.code='P2025'`
* if no matches were found.
* @param {HrEmployeeDocumentFindUniqueOrThrowArgs} args - Arguments to find a HrEmployeeDocument
* @example
* // Get one HrEmployeeDocument
* const hrEmployeeDocument = await prisma.hrEmployeeDocument.findUniqueOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findUniqueOrThrow<T extends HrEmployeeDocumentFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, HrEmployeeDocumentFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__HrEmployeeDocumentClient<runtime.Types.Result.GetResult<Prisma.$HrEmployeeDocumentPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find the first HrEmployeeDocument 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 {HrEmployeeDocumentFindFirstArgs} args - Arguments to find a HrEmployeeDocument
* @example
* // Get one HrEmployeeDocument
* const hrEmployeeDocument = await prisma.hrEmployeeDocument.findFirst({
* where: {
* // ... provide filter here
* }
* })
*/
findFirst<T extends HrEmployeeDocumentFindFirstArgs>(args?: Prisma.SelectSubset<T, HrEmployeeDocumentFindFirstArgs<ExtArgs>>): Prisma.Prisma__HrEmployeeDocumentClient<runtime.Types.Result.GetResult<Prisma.$HrEmployeeDocumentPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find the first HrEmployeeDocument 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 {HrEmployeeDocumentFindFirstOrThrowArgs} args - Arguments to find a HrEmployeeDocument
* @example
* // Get one HrEmployeeDocument
* const hrEmployeeDocument = await prisma.hrEmployeeDocument.findFirstOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findFirstOrThrow<T extends HrEmployeeDocumentFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, HrEmployeeDocumentFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__HrEmployeeDocumentClient<runtime.Types.Result.GetResult<Prisma.$HrEmployeeDocumentPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find zero or more HrEmployeeDocuments 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 {HrEmployeeDocumentFindManyArgs} args - Arguments to filter and select certain fields only.
* @example
* // Get all HrEmployeeDocuments
* const hrEmployeeDocuments = await prisma.hrEmployeeDocument.findMany()
*
* // Get first 10 HrEmployeeDocuments
* const hrEmployeeDocuments = await prisma.hrEmployeeDocument.findMany({ take: 10 })
*
* // Only select the `id`
* const hrEmployeeDocumentWithIdOnly = await prisma.hrEmployeeDocument.findMany({ select: { id: true } })
*
*/
findMany<T extends HrEmployeeDocumentFindManyArgs>(args?: Prisma.SelectSubset<T, HrEmployeeDocumentFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$HrEmployeeDocumentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
/**
* Create a HrEmployeeDocument.
* @param {HrEmployeeDocumentCreateArgs} args - Arguments to create a HrEmployeeDocument.
* @example
* // Create one HrEmployeeDocument
* const HrEmployeeDocument = await prisma.hrEmployeeDocument.create({
* data: {
* // ... data to create a HrEmployeeDocument
* }
* })
*
*/
create<T extends HrEmployeeDocumentCreateArgs>(args: Prisma.SelectSubset<T, HrEmployeeDocumentCreateArgs<ExtArgs>>): Prisma.Prisma__HrEmployeeDocumentClient<runtime.Types.Result.GetResult<Prisma.$HrEmployeeDocumentPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Create many HrEmployeeDocuments.
* @param {HrEmployeeDocumentCreateManyArgs} args - Arguments to create many HrEmployeeDocuments.
* @example
* // Create many HrEmployeeDocuments
* const hrEmployeeDocument = await prisma.hrEmployeeDocument.createMany({
* data: [
* // ... provide data here
* ]
* })
*
*/
createMany<T extends HrEmployeeDocumentCreateManyArgs>(args?: Prisma.SelectSubset<T, HrEmployeeDocumentCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Create many HrEmployeeDocuments and returns the data saved in the database.
* @param {HrEmployeeDocumentCreateManyAndReturnArgs} args - Arguments to create many HrEmployeeDocuments.
* @example
* // Create many HrEmployeeDocuments
* const hrEmployeeDocument = await prisma.hrEmployeeDocument.createManyAndReturn({
* data: [
* // ... provide data here
* ]
* })
*
* // Create many HrEmployeeDocuments and only return the `id`
* const hrEmployeeDocumentWithIdOnly = await prisma.hrEmployeeDocument.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 HrEmployeeDocumentCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, HrEmployeeDocumentCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$HrEmployeeDocumentPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
/**
* Delete a HrEmployeeDocument.
* @param {HrEmployeeDocumentDeleteArgs} args - Arguments to delete one HrEmployeeDocument.
* @example
* // Delete one HrEmployeeDocument
* const HrEmployeeDocument = await prisma.hrEmployeeDocument.delete({
* where: {
* // ... filter to delete one HrEmployeeDocument
* }
* })
*
*/
delete<T extends HrEmployeeDocumentDeleteArgs>(args: Prisma.SelectSubset<T, HrEmployeeDocumentDeleteArgs<ExtArgs>>): Prisma.Prisma__HrEmployeeDocumentClient<runtime.Types.Result.GetResult<Prisma.$HrEmployeeDocumentPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Update one HrEmployeeDocument.
* @param {HrEmployeeDocumentUpdateArgs} args - Arguments to update one HrEmployeeDocument.
* @example
* // Update one HrEmployeeDocument
* const hrEmployeeDocument = await prisma.hrEmployeeDocument.update({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
update<T extends HrEmployeeDocumentUpdateArgs>(args: Prisma.SelectSubset<T, HrEmployeeDocumentUpdateArgs<ExtArgs>>): Prisma.Prisma__HrEmployeeDocumentClient<runtime.Types.Result.GetResult<Prisma.$HrEmployeeDocumentPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Delete zero or more HrEmployeeDocuments.
* @param {HrEmployeeDocumentDeleteManyArgs} args - Arguments to filter HrEmployeeDocuments to delete.
* @example
* // Delete a few HrEmployeeDocuments
* const { count } = await prisma.hrEmployeeDocument.deleteMany({
* where: {
* // ... provide filter here
* }
* })
*
*/
deleteMany<T extends HrEmployeeDocumentDeleteManyArgs>(args?: Prisma.SelectSubset<T, HrEmployeeDocumentDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more HrEmployeeDocuments.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {HrEmployeeDocumentUpdateManyArgs} args - Arguments to update one or more rows.
* @example
* // Update many HrEmployeeDocuments
* const hrEmployeeDocument = await prisma.hrEmployeeDocument.updateMany({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
updateMany<T extends HrEmployeeDocumentUpdateManyArgs>(args: Prisma.SelectSubset<T, HrEmployeeDocumentUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more HrEmployeeDocuments and returns the data updated in the database.
* @param {HrEmployeeDocumentUpdateManyAndReturnArgs} args - Arguments to update many HrEmployeeDocuments.
* @example
* // Update many HrEmployeeDocuments
* const hrEmployeeDocument = await prisma.hrEmployeeDocument.updateManyAndReturn({
* where: {
* // ... provide filter here
* },
* data: [
* // ... provide data here
* ]
* })
*
* // Update zero or more HrEmployeeDocuments and only return the `id`
* const hrEmployeeDocumentWithIdOnly = await prisma.hrEmployeeDocument.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 HrEmployeeDocumentUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, HrEmployeeDocumentUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$HrEmployeeDocumentPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
/**
* Create or update one HrEmployeeDocument.
* @param {HrEmployeeDocumentUpsertArgs} args - Arguments to update or create a HrEmployeeDocument.
* @example
* // Update or create a HrEmployeeDocument
* const hrEmployeeDocument = await prisma.hrEmployeeDocument.upsert({
* create: {
* // ... data to create a HrEmployeeDocument
* },
* update: {
* // ... in case it already exists, update
* },
* where: {
* // ... the filter for the HrEmployeeDocument we want to update
* }
* })
*/
upsert<T extends HrEmployeeDocumentUpsertArgs>(args: Prisma.SelectSubset<T, HrEmployeeDocumentUpsertArgs<ExtArgs>>): Prisma.Prisma__HrEmployeeDocumentClient<runtime.Types.Result.GetResult<Prisma.$HrEmployeeDocumentPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Count the number of HrEmployeeDocuments.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {HrEmployeeDocumentCountArgs} args - Arguments to filter HrEmployeeDocuments to count.
* @example
* // Count the number of HrEmployeeDocuments
* const count = await prisma.hrEmployeeDocument.count({
* where: {
* // ... the filter for the HrEmployeeDocuments we want to count
* }
* })
**/
count<T extends HrEmployeeDocumentCountArgs>(
args?: Prisma.Subset<T, HrEmployeeDocumentCountArgs>,
): Prisma.PrismaPromise<
T extends runtime.Types.Utils.Record<'select', any>
? T['select'] extends true
? number
: Prisma.GetScalarType<T['select'], HrEmployeeDocumentCountAggregateOutputType>
: number
>
/**
* Allows you to perform aggregations operations on a HrEmployeeDocument.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {HrEmployeeDocumentAggregateArgs} 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 HrEmployeeDocumentAggregateArgs>(args: Prisma.Subset<T, HrEmployeeDocumentAggregateArgs>): Prisma.PrismaPromise<GetHrEmployeeDocumentAggregateType<T>>
/**
* Group by HrEmployeeDocument.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {HrEmployeeDocumentGroupByArgs} 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 HrEmployeeDocumentGroupByArgs,
HasSelectOrTake extends Prisma.Or<
Prisma.Extends<'skip', Prisma.Keys<T>>,
Prisma.Extends<'take', Prisma.Keys<T>>
>,
OrderByArg extends Prisma.True extends HasSelectOrTake
? { orderBy: HrEmployeeDocumentGroupByArgs['orderBy'] }
: { orderBy?: HrEmployeeDocumentGroupByArgs['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, HrEmployeeDocumentGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetHrEmployeeDocumentGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* Fields of the HrEmployeeDocument model
*/
readonly fields: HrEmployeeDocumentFieldRefs;
}
/**
* The delegate class that acts as a "Promise-like" for HrEmployeeDocument.
* 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__HrEmployeeDocumentClient<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 HrEmployeeDocument model
*/
export interface HrEmployeeDocumentFieldRefs {
readonly id: Prisma.FieldRef<"HrEmployeeDocument", 'String'>
readonly createdAt: Prisma.FieldRef<"HrEmployeeDocument", 'DateTime'>
readonly updatedAt: Prisma.FieldRef<"HrEmployeeDocument", 'DateTime'>
readonly tenantId: Prisma.FieldRef<"HrEmployeeDocument", 'String'>
readonly employeeUserId: Prisma.FieldRef<"HrEmployeeDocument", 'String'>
readonly uploadedByUserId: Prisma.FieldRef<"HrEmployeeDocument", 'String'>
readonly title: Prisma.FieldRef<"HrEmployeeDocument", 'String'>
readonly documentKind: Prisma.FieldRef<"HrEmployeeDocument", 'HrDocumentKind'>
readonly fileId: Prisma.FieldRef<"HrEmployeeDocument", 'String'>
readonly visibility: Prisma.FieldRef<"HrEmployeeDocument", 'HrDocumentVisibility'>
readonly uploadedByOffice: Prisma.FieldRef<"HrEmployeeDocument", 'Boolean'>
readonly validUntil: Prisma.FieldRef<"HrEmployeeDocument", 'DateTime'>
readonly isDemoData: Prisma.FieldRef<"HrEmployeeDocument", 'Boolean'>
readonly archivedAt: Prisma.FieldRef<"HrEmployeeDocument", 'DateTime'>
}
// Custom InputTypes
/**
* HrEmployeeDocument findUnique
*/
export type HrEmployeeDocumentFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the HrEmployeeDocument
*/
select?: Prisma.HrEmployeeDocumentSelect<ExtArgs> | null
/**
* Omit specific fields from the HrEmployeeDocument
*/
omit?: Prisma.HrEmployeeDocumentOmit<ExtArgs> | null
/**
* Filter, which HrEmployeeDocument to fetch.
*/
where: Prisma.HrEmployeeDocumentWhereUniqueInput
}
/**
* HrEmployeeDocument findUniqueOrThrow
*/
export type HrEmployeeDocumentFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the HrEmployeeDocument
*/
select?: Prisma.HrEmployeeDocumentSelect<ExtArgs> | null
/**
* Omit specific fields from the HrEmployeeDocument
*/
omit?: Prisma.HrEmployeeDocumentOmit<ExtArgs> | null
/**
* Filter, which HrEmployeeDocument to fetch.
*/
where: Prisma.HrEmployeeDocumentWhereUniqueInput
}
/**
* HrEmployeeDocument findFirst
*/
export type HrEmployeeDocumentFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the HrEmployeeDocument
*/
select?: Prisma.HrEmployeeDocumentSelect<ExtArgs> | null
/**
* Omit specific fields from the HrEmployeeDocument
*/
omit?: Prisma.HrEmployeeDocumentOmit<ExtArgs> | null
/**
* Filter, which HrEmployeeDocument to fetch.
*/
where?: Prisma.HrEmployeeDocumentWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of HrEmployeeDocuments to fetch.
*/
orderBy?: Prisma.HrEmployeeDocumentOrderByWithRelationInput | Prisma.HrEmployeeDocumentOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for HrEmployeeDocuments.
*/
cursor?: Prisma.HrEmployeeDocumentWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` HrEmployeeDocuments 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` HrEmployeeDocuments.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of HrEmployeeDocuments.
*/
distinct?: Prisma.HrEmployeeDocumentScalarFieldEnum | Prisma.HrEmployeeDocumentScalarFieldEnum[]
}
/**
* HrEmployeeDocument findFirstOrThrow
*/
export type HrEmployeeDocumentFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the HrEmployeeDocument
*/
select?: Prisma.HrEmployeeDocumentSelect<ExtArgs> | null
/**
* Omit specific fields from the HrEmployeeDocument
*/
omit?: Prisma.HrEmployeeDocumentOmit<ExtArgs> | null
/**
* Filter, which HrEmployeeDocument to fetch.
*/
where?: Prisma.HrEmployeeDocumentWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of HrEmployeeDocuments to fetch.
*/
orderBy?: Prisma.HrEmployeeDocumentOrderByWithRelationInput | Prisma.HrEmployeeDocumentOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for HrEmployeeDocuments.
*/
cursor?: Prisma.HrEmployeeDocumentWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` HrEmployeeDocuments 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` HrEmployeeDocuments.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of HrEmployeeDocuments.
*/
distinct?: Prisma.HrEmployeeDocumentScalarFieldEnum | Prisma.HrEmployeeDocumentScalarFieldEnum[]
}
/**
* HrEmployeeDocument findMany
*/
export type HrEmployeeDocumentFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the HrEmployeeDocument
*/
select?: Prisma.HrEmployeeDocumentSelect<ExtArgs> | null
/**
* Omit specific fields from the HrEmployeeDocument
*/
omit?: Prisma.HrEmployeeDocumentOmit<ExtArgs> | null
/**
* Filter, which HrEmployeeDocuments to fetch.
*/
where?: Prisma.HrEmployeeDocumentWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of HrEmployeeDocuments to fetch.
*/
orderBy?: Prisma.HrEmployeeDocumentOrderByWithRelationInput | Prisma.HrEmployeeDocumentOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for listing HrEmployeeDocuments.
*/
cursor?: Prisma.HrEmployeeDocumentWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` HrEmployeeDocuments 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` HrEmployeeDocuments.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of HrEmployeeDocuments.
*/
distinct?: Prisma.HrEmployeeDocumentScalarFieldEnum | Prisma.HrEmployeeDocumentScalarFieldEnum[]
}
/**
* HrEmployeeDocument create
*/
export type HrEmployeeDocumentCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the HrEmployeeDocument
*/
select?: Prisma.HrEmployeeDocumentSelect<ExtArgs> | null
/**
* Omit specific fields from the HrEmployeeDocument
*/
omit?: Prisma.HrEmployeeDocumentOmit<ExtArgs> | null
/**
* The data needed to create a HrEmployeeDocument.
*/
data: Prisma.XOR<Prisma.HrEmployeeDocumentCreateInput, Prisma.HrEmployeeDocumentUncheckedCreateInput>
}
/**
* HrEmployeeDocument createMany
*/
export type HrEmployeeDocumentCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to create many HrEmployeeDocuments.
*/
data: Prisma.HrEmployeeDocumentCreateManyInput | Prisma.HrEmployeeDocumentCreateManyInput[]
skipDuplicates?: boolean
}
/**
* HrEmployeeDocument createManyAndReturn
*/
export type HrEmployeeDocumentCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the HrEmployeeDocument
*/
select?: Prisma.HrEmployeeDocumentSelectCreateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the HrEmployeeDocument
*/
omit?: Prisma.HrEmployeeDocumentOmit<ExtArgs> | null
/**
* The data used to create many HrEmployeeDocuments.
*/
data: Prisma.HrEmployeeDocumentCreateManyInput | Prisma.HrEmployeeDocumentCreateManyInput[]
skipDuplicates?: boolean
}
/**
* HrEmployeeDocument update
*/
export type HrEmployeeDocumentUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the HrEmployeeDocument
*/
select?: Prisma.HrEmployeeDocumentSelect<ExtArgs> | null
/**
* Omit specific fields from the HrEmployeeDocument
*/
omit?: Prisma.HrEmployeeDocumentOmit<ExtArgs> | null
/**
* The data needed to update a HrEmployeeDocument.
*/
data: Prisma.XOR<Prisma.HrEmployeeDocumentUpdateInput, Prisma.HrEmployeeDocumentUncheckedUpdateInput>
/**
* Choose, which HrEmployeeDocument to update.
*/
where: Prisma.HrEmployeeDocumentWhereUniqueInput
}
/**
* HrEmployeeDocument updateMany
*/
export type HrEmployeeDocumentUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to update HrEmployeeDocuments.
*/
data: Prisma.XOR<Prisma.HrEmployeeDocumentUpdateManyMutationInput, Prisma.HrEmployeeDocumentUncheckedUpdateManyInput>
/**
* Filter which HrEmployeeDocuments to update
*/
where?: Prisma.HrEmployeeDocumentWhereInput
/**
* Limit how many HrEmployeeDocuments to update.
*/
limit?: number
}
/**
* HrEmployeeDocument updateManyAndReturn
*/
export type HrEmployeeDocumentUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the HrEmployeeDocument
*/
select?: Prisma.HrEmployeeDocumentSelectUpdateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the HrEmployeeDocument
*/
omit?: Prisma.HrEmployeeDocumentOmit<ExtArgs> | null
/**
* The data used to update HrEmployeeDocuments.
*/
data: Prisma.XOR<Prisma.HrEmployeeDocumentUpdateManyMutationInput, Prisma.HrEmployeeDocumentUncheckedUpdateManyInput>
/**
* Filter which HrEmployeeDocuments to update
*/
where?: Prisma.HrEmployeeDocumentWhereInput
/**
* Limit how many HrEmployeeDocuments to update.
*/
limit?: number
}
/**
* HrEmployeeDocument upsert
*/
export type HrEmployeeDocumentUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the HrEmployeeDocument
*/
select?: Prisma.HrEmployeeDocumentSelect<ExtArgs> | null
/**
* Omit specific fields from the HrEmployeeDocument
*/
omit?: Prisma.HrEmployeeDocumentOmit<ExtArgs> | null
/**
* The filter to search for the HrEmployeeDocument to update in case it exists.
*/
where: Prisma.HrEmployeeDocumentWhereUniqueInput
/**
* In case the HrEmployeeDocument found by the `where` argument doesn't exist, create a new HrEmployeeDocument with this data.
*/
create: Prisma.XOR<Prisma.HrEmployeeDocumentCreateInput, Prisma.HrEmployeeDocumentUncheckedCreateInput>
/**
* In case the HrEmployeeDocument was found with the provided `where` argument, update it with this data.
*/
update: Prisma.XOR<Prisma.HrEmployeeDocumentUpdateInput, Prisma.HrEmployeeDocumentUncheckedUpdateInput>
}
/**
* HrEmployeeDocument delete
*/
export type HrEmployeeDocumentDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the HrEmployeeDocument
*/
select?: Prisma.HrEmployeeDocumentSelect<ExtArgs> | null
/**
* Omit specific fields from the HrEmployeeDocument
*/
omit?: Prisma.HrEmployeeDocumentOmit<ExtArgs> | null
/**
* Filter which HrEmployeeDocument to delete.
*/
where: Prisma.HrEmployeeDocumentWhereUniqueInput
}
/**
* HrEmployeeDocument deleteMany
*/
export type HrEmployeeDocumentDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which HrEmployeeDocuments to delete
*/
where?: Prisma.HrEmployeeDocumentWhereInput
/**
* Limit how many HrEmployeeDocuments to delete.
*/
limit?: number
}
/**
* HrEmployeeDocument without action
*/
export type HrEmployeeDocumentDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the HrEmployeeDocument
*/
select?: Prisma.HrEmployeeDocumentSelect<ExtArgs> | null
/**
* Omit specific fields from the HrEmployeeDocument
*/
omit?: Prisma.HrEmployeeDocumentOmit<ExtArgs> | null
}