/* !!! 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 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 = { /** * 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 = { [P in keyof T & keyof AggregateHrEmployeeDocument]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type HrEmployeeDocumentGroupByArgs = { 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 = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof HrEmployeeDocumentGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > 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 = 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 = 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 = 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 = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "tenantId" | "employeeUserId" | "uploadedByUserId" | "title" | "documentKind" | "fileId" | "visibility" | "uploadedByOffice" | "validUntil" | "isDemoData" | "archivedAt", ExtArgs["result"]["hrEmployeeDocument"]> export type $HrEmployeeDocumentPayload = { 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 = runtime.Types.Result.GetResult export type HrEmployeeDocumentCountArgs = Omit & { select?: HrEmployeeDocumentCountAggregateInputType | true } export interface HrEmployeeDocumentDelegate { [K: symbol]: { types: Prisma.TypeMap['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(args: Prisma.SelectSubset>): Prisma.Prisma__HrEmployeeDocumentClient, 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(args: Prisma.SelectSubset>): Prisma.Prisma__HrEmployeeDocumentClient, 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(args?: Prisma.SelectSubset>): Prisma.Prisma__HrEmployeeDocumentClient, 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(args?: Prisma.SelectSubset>): Prisma.Prisma__HrEmployeeDocumentClient, 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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, 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(args: Prisma.SelectSubset>): Prisma.Prisma__HrEmployeeDocumentClient, 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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * 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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, 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(args: Prisma.SelectSubset>): Prisma.Prisma__HrEmployeeDocumentClient, 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(args: Prisma.SelectSubset>): Prisma.Prisma__HrEmployeeDocumentClient, 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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * 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(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * 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(args: Prisma.SelectSubset>): Prisma.PrismaPromise, 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(args: Prisma.SelectSubset>): Prisma.Prisma__HrEmployeeDocumentClient, 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( args?: Prisma.Subset, ): Prisma.PrismaPromise< T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType : 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(args: Prisma.Subset): Prisma.PrismaPromise> /** * 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>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: HrEmployeeDocumentGroupByArgs['orderBy'] } : { orderBy?: HrEmployeeDocumentGroupByArgs['orderBy'] }, OrderFields extends Prisma.ExcludeUnderscoreKeys>>, ByFields extends Prisma.MaybeTupleToUnion, ByValid extends Prisma.Has, HavingFields extends Prisma.GetHavingFields, HavingValid extends Prisma.Has, 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 ? 'orderBy' extends Prisma.Keys ? 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 ? 'orderBy' extends Prisma.Keys ? 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 & InputErrors): {} extends InputErrors ? GetHrEmployeeDocumentGroupByPayload : Prisma.PrismaPromise /** * 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 extends Prisma.PrismaPromise { 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(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * 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(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * 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 } /** * 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 = { /** * Select specific fields to fetch from the HrEmployeeDocument */ select?: Prisma.HrEmployeeDocumentSelect | null /** * Omit specific fields from the HrEmployeeDocument */ omit?: Prisma.HrEmployeeDocumentOmit | null /** * Filter, which HrEmployeeDocument to fetch. */ where: Prisma.HrEmployeeDocumentWhereUniqueInput } /** * HrEmployeeDocument findUniqueOrThrow */ export type HrEmployeeDocumentFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the HrEmployeeDocument */ select?: Prisma.HrEmployeeDocumentSelect | null /** * Omit specific fields from the HrEmployeeDocument */ omit?: Prisma.HrEmployeeDocumentOmit | null /** * Filter, which HrEmployeeDocument to fetch. */ where: Prisma.HrEmployeeDocumentWhereUniqueInput } /** * HrEmployeeDocument findFirst */ export type HrEmployeeDocumentFindFirstArgs = { /** * Select specific fields to fetch from the HrEmployeeDocument */ select?: Prisma.HrEmployeeDocumentSelect | null /** * Omit specific fields from the HrEmployeeDocument */ omit?: Prisma.HrEmployeeDocumentOmit | 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 = { /** * Select specific fields to fetch from the HrEmployeeDocument */ select?: Prisma.HrEmployeeDocumentSelect | null /** * Omit specific fields from the HrEmployeeDocument */ omit?: Prisma.HrEmployeeDocumentOmit | 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 = { /** * Select specific fields to fetch from the HrEmployeeDocument */ select?: Prisma.HrEmployeeDocumentSelect | null /** * Omit specific fields from the HrEmployeeDocument */ omit?: Prisma.HrEmployeeDocumentOmit | 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 = { /** * Select specific fields to fetch from the HrEmployeeDocument */ select?: Prisma.HrEmployeeDocumentSelect | null /** * Omit specific fields from the HrEmployeeDocument */ omit?: Prisma.HrEmployeeDocumentOmit | null /** * The data needed to create a HrEmployeeDocument. */ data: Prisma.XOR } /** * HrEmployeeDocument createMany */ export type HrEmployeeDocumentCreateManyArgs = { /** * The data used to create many HrEmployeeDocuments. */ data: Prisma.HrEmployeeDocumentCreateManyInput | Prisma.HrEmployeeDocumentCreateManyInput[] skipDuplicates?: boolean } /** * HrEmployeeDocument createManyAndReturn */ export type HrEmployeeDocumentCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the HrEmployeeDocument */ select?: Prisma.HrEmployeeDocumentSelectCreateManyAndReturn | null /** * Omit specific fields from the HrEmployeeDocument */ omit?: Prisma.HrEmployeeDocumentOmit | null /** * The data used to create many HrEmployeeDocuments. */ data: Prisma.HrEmployeeDocumentCreateManyInput | Prisma.HrEmployeeDocumentCreateManyInput[] skipDuplicates?: boolean } /** * HrEmployeeDocument update */ export type HrEmployeeDocumentUpdateArgs = { /** * Select specific fields to fetch from the HrEmployeeDocument */ select?: Prisma.HrEmployeeDocumentSelect | null /** * Omit specific fields from the HrEmployeeDocument */ omit?: Prisma.HrEmployeeDocumentOmit | null /** * The data needed to update a HrEmployeeDocument. */ data: Prisma.XOR /** * Choose, which HrEmployeeDocument to update. */ where: Prisma.HrEmployeeDocumentWhereUniqueInput } /** * HrEmployeeDocument updateMany */ export type HrEmployeeDocumentUpdateManyArgs = { /** * The data used to update HrEmployeeDocuments. */ data: Prisma.XOR /** * Filter which HrEmployeeDocuments to update */ where?: Prisma.HrEmployeeDocumentWhereInput /** * Limit how many HrEmployeeDocuments to update. */ limit?: number } /** * HrEmployeeDocument updateManyAndReturn */ export type HrEmployeeDocumentUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the HrEmployeeDocument */ select?: Prisma.HrEmployeeDocumentSelectUpdateManyAndReturn | null /** * Omit specific fields from the HrEmployeeDocument */ omit?: Prisma.HrEmployeeDocumentOmit | null /** * The data used to update HrEmployeeDocuments. */ data: Prisma.XOR /** * Filter which HrEmployeeDocuments to update */ where?: Prisma.HrEmployeeDocumentWhereInput /** * Limit how many HrEmployeeDocuments to update. */ limit?: number } /** * HrEmployeeDocument upsert */ export type HrEmployeeDocumentUpsertArgs = { /** * Select specific fields to fetch from the HrEmployeeDocument */ select?: Prisma.HrEmployeeDocumentSelect | null /** * Omit specific fields from the HrEmployeeDocument */ omit?: Prisma.HrEmployeeDocumentOmit | 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 /** * In case the HrEmployeeDocument was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * HrEmployeeDocument delete */ export type HrEmployeeDocumentDeleteArgs = { /** * Select specific fields to fetch from the HrEmployeeDocument */ select?: Prisma.HrEmployeeDocumentSelect | null /** * Omit specific fields from the HrEmployeeDocument */ omit?: Prisma.HrEmployeeDocumentOmit | null /** * Filter which HrEmployeeDocument to delete. */ where: Prisma.HrEmployeeDocumentWhereUniqueInput } /** * HrEmployeeDocument deleteMany */ export type HrEmployeeDocumentDeleteManyArgs = { /** * Filter which HrEmployeeDocuments to delete */ where?: Prisma.HrEmployeeDocumentWhereInput /** * Limit how many HrEmployeeDocuments to delete. */ limit?: number } /** * HrEmployeeDocument without action */ export type HrEmployeeDocumentDefaultArgs = { /** * Select specific fields to fetch from the HrEmployeeDocument */ select?: Prisma.HrEmployeeDocumentSelect | null /** * Omit specific fields from the HrEmployeeDocument */ omit?: Prisma.HrEmployeeDocumentOmit | null }