/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `TimesheetsArchive` 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" import type * as Prisma from "../internal/prismaNamespace" /** * Model TimesheetsArchive * */ export type TimesheetsArchiveModel = runtime.Types.Result.DefaultSelection export type AggregateTimesheetsArchive = { _count: TimesheetsArchiveCountAggregateOutputType | null _avg: TimesheetsArchiveAvgAggregateOutputType | null _sum: TimesheetsArchiveSumAggregateOutputType | null _min: TimesheetsArchiveMinAggregateOutputType | null _max: TimesheetsArchiveMaxAggregateOutputType | null } export type TimesheetsArchiveAvgAggregateOutputType = { id: number | null timesheet_id: number | null employee_id: number | null } export type TimesheetsArchiveSumAggregateOutputType = { id: number | null timesheet_id: number | null employee_id: number | null } export type TimesheetsArchiveMinAggregateOutputType = { id: number | null timesheet_id: number | null archive_at: Date | null employee_id: number | null is_approved: boolean | null } export type TimesheetsArchiveMaxAggregateOutputType = { id: number | null timesheet_id: number | null archive_at: Date | null employee_id: number | null is_approved: boolean | null } export type TimesheetsArchiveCountAggregateOutputType = { id: number timesheet_id: number archive_at: number employee_id: number is_approved: number _all: number } export type TimesheetsArchiveAvgAggregateInputType = { id?: true timesheet_id?: true employee_id?: true } export type TimesheetsArchiveSumAggregateInputType = { id?: true timesheet_id?: true employee_id?: true } export type TimesheetsArchiveMinAggregateInputType = { id?: true timesheet_id?: true archive_at?: true employee_id?: true is_approved?: true } export type TimesheetsArchiveMaxAggregateInputType = { id?: true timesheet_id?: true archive_at?: true employee_id?: true is_approved?: true } export type TimesheetsArchiveCountAggregateInputType = { id?: true timesheet_id?: true archive_at?: true employee_id?: true is_approved?: true _all?: true } export type TimesheetsArchiveAggregateArgs = { /** * Filter which TimesheetsArchive to aggregate. */ where?: Prisma.TimesheetsArchiveWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of TimesheetsArchives to fetch. */ orderBy?: Prisma.TimesheetsArchiveOrderByWithRelationInput | Prisma.TimesheetsArchiveOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.TimesheetsArchiveWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` TimesheetsArchives 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` TimesheetsArchives. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned TimesheetsArchives **/ _count?: true | TimesheetsArchiveCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: TimesheetsArchiveAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: TimesheetsArchiveSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: TimesheetsArchiveMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: TimesheetsArchiveMaxAggregateInputType } export type GetTimesheetsArchiveAggregateType = { [P in keyof T & keyof AggregateTimesheetsArchive]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type TimesheetsArchiveGroupByArgs = { where?: Prisma.TimesheetsArchiveWhereInput orderBy?: Prisma.TimesheetsArchiveOrderByWithAggregationInput | Prisma.TimesheetsArchiveOrderByWithAggregationInput[] by: Prisma.TimesheetsArchiveScalarFieldEnum[] | Prisma.TimesheetsArchiveScalarFieldEnum having?: Prisma.TimesheetsArchiveScalarWhereWithAggregatesInput take?: number skip?: number _count?: TimesheetsArchiveCountAggregateInputType | true _avg?: TimesheetsArchiveAvgAggregateInputType _sum?: TimesheetsArchiveSumAggregateInputType _min?: TimesheetsArchiveMinAggregateInputType _max?: TimesheetsArchiveMaxAggregateInputType } export type TimesheetsArchiveGroupByOutputType = { id: number timesheet_id: number archive_at: Date employee_id: number is_approved: boolean _count: TimesheetsArchiveCountAggregateOutputType | null _avg: TimesheetsArchiveAvgAggregateOutputType | null _sum: TimesheetsArchiveSumAggregateOutputType | null _min: TimesheetsArchiveMinAggregateOutputType | null _max: TimesheetsArchiveMaxAggregateOutputType | null } type GetTimesheetsArchiveGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof TimesheetsArchiveGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type TimesheetsArchiveWhereInput = { AND?: Prisma.TimesheetsArchiveWhereInput | Prisma.TimesheetsArchiveWhereInput[] OR?: Prisma.TimesheetsArchiveWhereInput[] NOT?: Prisma.TimesheetsArchiveWhereInput | Prisma.TimesheetsArchiveWhereInput[] id?: Prisma.IntFilter<"TimesheetsArchive"> | number timesheet_id?: Prisma.IntFilter<"TimesheetsArchive"> | number archive_at?: Prisma.DateTimeFilter<"TimesheetsArchive"> | Date | string employee_id?: Prisma.IntFilter<"TimesheetsArchive"> | number is_approved?: Prisma.BoolFilter<"TimesheetsArchive"> | boolean timesheet?: Prisma.XOR } export type TimesheetsArchiveOrderByWithRelationInput = { id?: Prisma.SortOrder timesheet_id?: Prisma.SortOrder archive_at?: Prisma.SortOrder employee_id?: Prisma.SortOrder is_approved?: Prisma.SortOrder timesheet?: Prisma.TimesheetsOrderByWithRelationInput } export type TimesheetsArchiveWhereUniqueInput = Prisma.AtLeast<{ id?: number AND?: Prisma.TimesheetsArchiveWhereInput | Prisma.TimesheetsArchiveWhereInput[] OR?: Prisma.TimesheetsArchiveWhereInput[] NOT?: Prisma.TimesheetsArchiveWhereInput | Prisma.TimesheetsArchiveWhereInput[] timesheet_id?: Prisma.IntFilter<"TimesheetsArchive"> | number archive_at?: Prisma.DateTimeFilter<"TimesheetsArchive"> | Date | string employee_id?: Prisma.IntFilter<"TimesheetsArchive"> | number is_approved?: Prisma.BoolFilter<"TimesheetsArchive"> | boolean timesheet?: Prisma.XOR }, "id"> export type TimesheetsArchiveOrderByWithAggregationInput = { id?: Prisma.SortOrder timesheet_id?: Prisma.SortOrder archive_at?: Prisma.SortOrder employee_id?: Prisma.SortOrder is_approved?: Prisma.SortOrder _count?: Prisma.TimesheetsArchiveCountOrderByAggregateInput _avg?: Prisma.TimesheetsArchiveAvgOrderByAggregateInput _max?: Prisma.TimesheetsArchiveMaxOrderByAggregateInput _min?: Prisma.TimesheetsArchiveMinOrderByAggregateInput _sum?: Prisma.TimesheetsArchiveSumOrderByAggregateInput } export type TimesheetsArchiveScalarWhereWithAggregatesInput = { AND?: Prisma.TimesheetsArchiveScalarWhereWithAggregatesInput | Prisma.TimesheetsArchiveScalarWhereWithAggregatesInput[] OR?: Prisma.TimesheetsArchiveScalarWhereWithAggregatesInput[] NOT?: Prisma.TimesheetsArchiveScalarWhereWithAggregatesInput | Prisma.TimesheetsArchiveScalarWhereWithAggregatesInput[] id?: Prisma.IntWithAggregatesFilter<"TimesheetsArchive"> | number timesheet_id?: Prisma.IntWithAggregatesFilter<"TimesheetsArchive"> | number archive_at?: Prisma.DateTimeWithAggregatesFilter<"TimesheetsArchive"> | Date | string employee_id?: Prisma.IntWithAggregatesFilter<"TimesheetsArchive"> | number is_approved?: Prisma.BoolWithAggregatesFilter<"TimesheetsArchive"> | boolean } export type TimesheetsArchiveCreateInput = { archive_at?: Date | string employee_id: number is_approved: boolean timesheet: Prisma.TimesheetsCreateNestedOneWithoutArchiveInput } export type TimesheetsArchiveUncheckedCreateInput = { id?: number timesheet_id: number archive_at?: Date | string employee_id: number is_approved: boolean } export type TimesheetsArchiveUpdateInput = { archive_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string employee_id?: Prisma.IntFieldUpdateOperationsInput | number is_approved?: Prisma.BoolFieldUpdateOperationsInput | boolean timesheet?: Prisma.TimesheetsUpdateOneRequiredWithoutArchiveNestedInput } export type TimesheetsArchiveUncheckedUpdateInput = { id?: Prisma.IntFieldUpdateOperationsInput | number timesheet_id?: Prisma.IntFieldUpdateOperationsInput | number archive_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string employee_id?: Prisma.IntFieldUpdateOperationsInput | number is_approved?: Prisma.BoolFieldUpdateOperationsInput | boolean } export type TimesheetsArchiveCreateManyInput = { id?: number timesheet_id: number archive_at?: Date | string employee_id: number is_approved: boolean } export type TimesheetsArchiveUpdateManyMutationInput = { archive_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string employee_id?: Prisma.IntFieldUpdateOperationsInput | number is_approved?: Prisma.BoolFieldUpdateOperationsInput | boolean } export type TimesheetsArchiveUncheckedUpdateManyInput = { id?: Prisma.IntFieldUpdateOperationsInput | number timesheet_id?: Prisma.IntFieldUpdateOperationsInput | number archive_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string employee_id?: Prisma.IntFieldUpdateOperationsInput | number is_approved?: Prisma.BoolFieldUpdateOperationsInput | boolean } export type TimesheetsArchiveListRelationFilter = { every?: Prisma.TimesheetsArchiveWhereInput some?: Prisma.TimesheetsArchiveWhereInput none?: Prisma.TimesheetsArchiveWhereInput } export type TimesheetsArchiveOrderByRelationAggregateInput = { _count?: Prisma.SortOrder } export type TimesheetsArchiveCountOrderByAggregateInput = { id?: Prisma.SortOrder timesheet_id?: Prisma.SortOrder archive_at?: Prisma.SortOrder employee_id?: Prisma.SortOrder is_approved?: Prisma.SortOrder } export type TimesheetsArchiveAvgOrderByAggregateInput = { id?: Prisma.SortOrder timesheet_id?: Prisma.SortOrder employee_id?: Prisma.SortOrder } export type TimesheetsArchiveMaxOrderByAggregateInput = { id?: Prisma.SortOrder timesheet_id?: Prisma.SortOrder archive_at?: Prisma.SortOrder employee_id?: Prisma.SortOrder is_approved?: Prisma.SortOrder } export type TimesheetsArchiveMinOrderByAggregateInput = { id?: Prisma.SortOrder timesheet_id?: Prisma.SortOrder archive_at?: Prisma.SortOrder employee_id?: Prisma.SortOrder is_approved?: Prisma.SortOrder } export type TimesheetsArchiveSumOrderByAggregateInput = { id?: Prisma.SortOrder timesheet_id?: Prisma.SortOrder employee_id?: Prisma.SortOrder } export type TimesheetsArchiveCreateNestedManyWithoutTimesheetInput = { create?: Prisma.XOR | Prisma.TimesheetsArchiveCreateWithoutTimesheetInput[] | Prisma.TimesheetsArchiveUncheckedCreateWithoutTimesheetInput[] connectOrCreate?: Prisma.TimesheetsArchiveCreateOrConnectWithoutTimesheetInput | Prisma.TimesheetsArchiveCreateOrConnectWithoutTimesheetInput[] createMany?: Prisma.TimesheetsArchiveCreateManyTimesheetInputEnvelope connect?: Prisma.TimesheetsArchiveWhereUniqueInput | Prisma.TimesheetsArchiveWhereUniqueInput[] } export type TimesheetsArchiveUncheckedCreateNestedManyWithoutTimesheetInput = { create?: Prisma.XOR | Prisma.TimesheetsArchiveCreateWithoutTimesheetInput[] | Prisma.TimesheetsArchiveUncheckedCreateWithoutTimesheetInput[] connectOrCreate?: Prisma.TimesheetsArchiveCreateOrConnectWithoutTimesheetInput | Prisma.TimesheetsArchiveCreateOrConnectWithoutTimesheetInput[] createMany?: Prisma.TimesheetsArchiveCreateManyTimesheetInputEnvelope connect?: Prisma.TimesheetsArchiveWhereUniqueInput | Prisma.TimesheetsArchiveWhereUniqueInput[] } export type TimesheetsArchiveUpdateManyWithoutTimesheetNestedInput = { create?: Prisma.XOR | Prisma.TimesheetsArchiveCreateWithoutTimesheetInput[] | Prisma.TimesheetsArchiveUncheckedCreateWithoutTimesheetInput[] connectOrCreate?: Prisma.TimesheetsArchiveCreateOrConnectWithoutTimesheetInput | Prisma.TimesheetsArchiveCreateOrConnectWithoutTimesheetInput[] upsert?: Prisma.TimesheetsArchiveUpsertWithWhereUniqueWithoutTimesheetInput | Prisma.TimesheetsArchiveUpsertWithWhereUniqueWithoutTimesheetInput[] createMany?: Prisma.TimesheetsArchiveCreateManyTimesheetInputEnvelope set?: Prisma.TimesheetsArchiveWhereUniqueInput | Prisma.TimesheetsArchiveWhereUniqueInput[] disconnect?: Prisma.TimesheetsArchiveWhereUniqueInput | Prisma.TimesheetsArchiveWhereUniqueInput[] delete?: Prisma.TimesheetsArchiveWhereUniqueInput | Prisma.TimesheetsArchiveWhereUniqueInput[] connect?: Prisma.TimesheetsArchiveWhereUniqueInput | Prisma.TimesheetsArchiveWhereUniqueInput[] update?: Prisma.TimesheetsArchiveUpdateWithWhereUniqueWithoutTimesheetInput | Prisma.TimesheetsArchiveUpdateWithWhereUniqueWithoutTimesheetInput[] updateMany?: Prisma.TimesheetsArchiveUpdateManyWithWhereWithoutTimesheetInput | Prisma.TimesheetsArchiveUpdateManyWithWhereWithoutTimesheetInput[] deleteMany?: Prisma.TimesheetsArchiveScalarWhereInput | Prisma.TimesheetsArchiveScalarWhereInput[] } export type TimesheetsArchiveUncheckedUpdateManyWithoutTimesheetNestedInput = { create?: Prisma.XOR | Prisma.TimesheetsArchiveCreateWithoutTimesheetInput[] | Prisma.TimesheetsArchiveUncheckedCreateWithoutTimesheetInput[] connectOrCreate?: Prisma.TimesheetsArchiveCreateOrConnectWithoutTimesheetInput | Prisma.TimesheetsArchiveCreateOrConnectWithoutTimesheetInput[] upsert?: Prisma.TimesheetsArchiveUpsertWithWhereUniqueWithoutTimesheetInput | Prisma.TimesheetsArchiveUpsertWithWhereUniqueWithoutTimesheetInput[] createMany?: Prisma.TimesheetsArchiveCreateManyTimesheetInputEnvelope set?: Prisma.TimesheetsArchiveWhereUniqueInput | Prisma.TimesheetsArchiveWhereUniqueInput[] disconnect?: Prisma.TimesheetsArchiveWhereUniqueInput | Prisma.TimesheetsArchiveWhereUniqueInput[] delete?: Prisma.TimesheetsArchiveWhereUniqueInput | Prisma.TimesheetsArchiveWhereUniqueInput[] connect?: Prisma.TimesheetsArchiveWhereUniqueInput | Prisma.TimesheetsArchiveWhereUniqueInput[] update?: Prisma.TimesheetsArchiveUpdateWithWhereUniqueWithoutTimesheetInput | Prisma.TimesheetsArchiveUpdateWithWhereUniqueWithoutTimesheetInput[] updateMany?: Prisma.TimesheetsArchiveUpdateManyWithWhereWithoutTimesheetInput | Prisma.TimesheetsArchiveUpdateManyWithWhereWithoutTimesheetInput[] deleteMany?: Prisma.TimesheetsArchiveScalarWhereInput | Prisma.TimesheetsArchiveScalarWhereInput[] } export type TimesheetsArchiveCreateWithoutTimesheetInput = { archive_at?: Date | string employee_id: number is_approved: boolean } export type TimesheetsArchiveUncheckedCreateWithoutTimesheetInput = { id?: number archive_at?: Date | string employee_id: number is_approved: boolean } export type TimesheetsArchiveCreateOrConnectWithoutTimesheetInput = { where: Prisma.TimesheetsArchiveWhereUniqueInput create: Prisma.XOR } export type TimesheetsArchiveCreateManyTimesheetInputEnvelope = { data: Prisma.TimesheetsArchiveCreateManyTimesheetInput | Prisma.TimesheetsArchiveCreateManyTimesheetInput[] skipDuplicates?: boolean } export type TimesheetsArchiveUpsertWithWhereUniqueWithoutTimesheetInput = { where: Prisma.TimesheetsArchiveWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type TimesheetsArchiveUpdateWithWhereUniqueWithoutTimesheetInput = { where: Prisma.TimesheetsArchiveWhereUniqueInput data: Prisma.XOR } export type TimesheetsArchiveUpdateManyWithWhereWithoutTimesheetInput = { where: Prisma.TimesheetsArchiveScalarWhereInput data: Prisma.XOR } export type TimesheetsArchiveScalarWhereInput = { AND?: Prisma.TimesheetsArchiveScalarWhereInput | Prisma.TimesheetsArchiveScalarWhereInput[] OR?: Prisma.TimesheetsArchiveScalarWhereInput[] NOT?: Prisma.TimesheetsArchiveScalarWhereInput | Prisma.TimesheetsArchiveScalarWhereInput[] id?: Prisma.IntFilter<"TimesheetsArchive"> | number timesheet_id?: Prisma.IntFilter<"TimesheetsArchive"> | number archive_at?: Prisma.DateTimeFilter<"TimesheetsArchive"> | Date | string employee_id?: Prisma.IntFilter<"TimesheetsArchive"> | number is_approved?: Prisma.BoolFilter<"TimesheetsArchive"> | boolean } export type TimesheetsArchiveCreateManyTimesheetInput = { id?: number archive_at?: Date | string employee_id: number is_approved: boolean } export type TimesheetsArchiveUpdateWithoutTimesheetInput = { archive_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string employee_id?: Prisma.IntFieldUpdateOperationsInput | number is_approved?: Prisma.BoolFieldUpdateOperationsInput | boolean } export type TimesheetsArchiveUncheckedUpdateWithoutTimesheetInput = { id?: Prisma.IntFieldUpdateOperationsInput | number archive_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string employee_id?: Prisma.IntFieldUpdateOperationsInput | number is_approved?: Prisma.BoolFieldUpdateOperationsInput | boolean } export type TimesheetsArchiveUncheckedUpdateManyWithoutTimesheetInput = { id?: Prisma.IntFieldUpdateOperationsInput | number archive_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string employee_id?: Prisma.IntFieldUpdateOperationsInput | number is_approved?: Prisma.BoolFieldUpdateOperationsInput | boolean } export type TimesheetsArchiveSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean timesheet_id?: boolean archive_at?: boolean employee_id?: boolean is_approved?: boolean timesheet?: boolean | Prisma.TimesheetsDefaultArgs }, ExtArgs["result"]["timesheetsArchive"]> export type TimesheetsArchiveSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean timesheet_id?: boolean archive_at?: boolean employee_id?: boolean is_approved?: boolean timesheet?: boolean | Prisma.TimesheetsDefaultArgs }, ExtArgs["result"]["timesheetsArchive"]> export type TimesheetsArchiveSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean timesheet_id?: boolean archive_at?: boolean employee_id?: boolean is_approved?: boolean timesheet?: boolean | Prisma.TimesheetsDefaultArgs }, ExtArgs["result"]["timesheetsArchive"]> export type TimesheetsArchiveSelectScalar = { id?: boolean timesheet_id?: boolean archive_at?: boolean employee_id?: boolean is_approved?: boolean } export type TimesheetsArchiveOmit = runtime.Types.Extensions.GetOmit<"id" | "timesheet_id" | "archive_at" | "employee_id" | "is_approved", ExtArgs["result"]["timesheetsArchive"]> export type TimesheetsArchiveInclude = { timesheet?: boolean | Prisma.TimesheetsDefaultArgs } export type TimesheetsArchiveIncludeCreateManyAndReturn = { timesheet?: boolean | Prisma.TimesheetsDefaultArgs } export type TimesheetsArchiveIncludeUpdateManyAndReturn = { timesheet?: boolean | Prisma.TimesheetsDefaultArgs } export type $TimesheetsArchivePayload = { name: "TimesheetsArchive" objects: { timesheet: Prisma.$TimesheetsPayload } scalars: runtime.Types.Extensions.GetPayloadResult<{ id: number timesheet_id: number archive_at: Date employee_id: number is_approved: boolean }, ExtArgs["result"]["timesheetsArchive"]> composites: {} } export type TimesheetsArchiveGetPayload = runtime.Types.Result.GetResult export type TimesheetsArchiveCountArgs = Omit & { select?: TimesheetsArchiveCountAggregateInputType | true } export interface TimesheetsArchiveDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['TimesheetsArchive'], meta: { name: 'TimesheetsArchive' } } /** * Find zero or one TimesheetsArchive that matches the filter. * @param {TimesheetsArchiveFindUniqueArgs} args - Arguments to find a TimesheetsArchive * @example * // Get one TimesheetsArchive * const timesheetsArchive = await prisma.timesheetsArchive.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__TimesheetsArchiveClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one TimesheetsArchive that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {TimesheetsArchiveFindUniqueOrThrowArgs} args - Arguments to find a TimesheetsArchive * @example * // Get one TimesheetsArchive * const timesheetsArchive = await prisma.timesheetsArchive.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__TimesheetsArchiveClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first TimesheetsArchive 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 {TimesheetsArchiveFindFirstArgs} args - Arguments to find a TimesheetsArchive * @example * // Get one TimesheetsArchive * const timesheetsArchive = await prisma.timesheetsArchive.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__TimesheetsArchiveClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first TimesheetsArchive 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 {TimesheetsArchiveFindFirstOrThrowArgs} args - Arguments to find a TimesheetsArchive * @example * // Get one TimesheetsArchive * const timesheetsArchive = await prisma.timesheetsArchive.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__TimesheetsArchiveClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more TimesheetsArchives 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 {TimesheetsArchiveFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all TimesheetsArchives * const timesheetsArchives = await prisma.timesheetsArchive.findMany() * * // Get first 10 TimesheetsArchives * const timesheetsArchives = await prisma.timesheetsArchive.findMany({ take: 10 }) * * // Only select the `id` * const timesheetsArchiveWithIdOnly = await prisma.timesheetsArchive.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a TimesheetsArchive. * @param {TimesheetsArchiveCreateArgs} args - Arguments to create a TimesheetsArchive. * @example * // Create one TimesheetsArchive * const TimesheetsArchive = await prisma.timesheetsArchive.create({ * data: { * // ... data to create a TimesheetsArchive * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__TimesheetsArchiveClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many TimesheetsArchives. * @param {TimesheetsArchiveCreateManyArgs} args - Arguments to create many TimesheetsArchives. * @example * // Create many TimesheetsArchives * const timesheetsArchive = await prisma.timesheetsArchive.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many TimesheetsArchives and returns the data saved in the database. * @param {TimesheetsArchiveCreateManyAndReturnArgs} args - Arguments to create many TimesheetsArchives. * @example * // Create many TimesheetsArchives * const timesheetsArchive = await prisma.timesheetsArchive.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many TimesheetsArchives and only return the `id` * const timesheetsArchiveWithIdOnly = await prisma.timesheetsArchive.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 TimesheetsArchive. * @param {TimesheetsArchiveDeleteArgs} args - Arguments to delete one TimesheetsArchive. * @example * // Delete one TimesheetsArchive * const TimesheetsArchive = await prisma.timesheetsArchive.delete({ * where: { * // ... filter to delete one TimesheetsArchive * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__TimesheetsArchiveClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one TimesheetsArchive. * @param {TimesheetsArchiveUpdateArgs} args - Arguments to update one TimesheetsArchive. * @example * // Update one TimesheetsArchive * const timesheetsArchive = await prisma.timesheetsArchive.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__TimesheetsArchiveClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more TimesheetsArchives. * @param {TimesheetsArchiveDeleteManyArgs} args - Arguments to filter TimesheetsArchives to delete. * @example * // Delete a few TimesheetsArchives * const { count } = await prisma.timesheetsArchive.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more TimesheetsArchives. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TimesheetsArchiveUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many TimesheetsArchives * const timesheetsArchive = await prisma.timesheetsArchive.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more TimesheetsArchives and returns the data updated in the database. * @param {TimesheetsArchiveUpdateManyAndReturnArgs} args - Arguments to update many TimesheetsArchives. * @example * // Update many TimesheetsArchives * const timesheetsArchive = await prisma.timesheetsArchive.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more TimesheetsArchives and only return the `id` * const timesheetsArchiveWithIdOnly = await prisma.timesheetsArchive.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 TimesheetsArchive. * @param {TimesheetsArchiveUpsertArgs} args - Arguments to update or create a TimesheetsArchive. * @example * // Update or create a TimesheetsArchive * const timesheetsArchive = await prisma.timesheetsArchive.upsert({ * create: { * // ... data to create a TimesheetsArchive * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the TimesheetsArchive we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__TimesheetsArchiveClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of TimesheetsArchives. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TimesheetsArchiveCountArgs} args - Arguments to filter TimesheetsArchives to count. * @example * // Count the number of TimesheetsArchives * const count = await prisma.timesheetsArchive.count({ * where: { * // ... the filter for the TimesheetsArchives 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 TimesheetsArchive. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TimesheetsArchiveAggregateArgs} 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 TimesheetsArchive. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TimesheetsArchiveGroupByArgs} 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 TimesheetsArchiveGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: TimesheetsArchiveGroupByArgs['orderBy'] } : { orderBy?: TimesheetsArchiveGroupByArgs['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 ? GetTimesheetsArchiveGroupByPayload : Prisma.PrismaPromise /** * Fields of the TimesheetsArchive model */ readonly fields: TimesheetsArchiveFieldRefs; } /** * The delegate class that acts as a "Promise-like" for TimesheetsArchive. * 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__TimesheetsArchiveClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" timesheet = {}>(args?: Prisma.Subset>): Prisma.Prisma__TimesheetsClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> /** * 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 TimesheetsArchive model */ export interface TimesheetsArchiveFieldRefs { readonly id: Prisma.FieldRef<"TimesheetsArchive", 'Int'> readonly timesheet_id: Prisma.FieldRef<"TimesheetsArchive", 'Int'> readonly archive_at: Prisma.FieldRef<"TimesheetsArchive", 'DateTime'> readonly employee_id: Prisma.FieldRef<"TimesheetsArchive", 'Int'> readonly is_approved: Prisma.FieldRef<"TimesheetsArchive", 'Boolean'> } // Custom InputTypes /** * TimesheetsArchive findUnique */ export type TimesheetsArchiveFindUniqueArgs = { /** * Select specific fields to fetch from the TimesheetsArchive */ select?: Prisma.TimesheetsArchiveSelect | null /** * Omit specific fields from the TimesheetsArchive */ omit?: Prisma.TimesheetsArchiveOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TimesheetsArchiveInclude | null /** * Filter, which TimesheetsArchive to fetch. */ where: Prisma.TimesheetsArchiveWhereUniqueInput } /** * TimesheetsArchive findUniqueOrThrow */ export type TimesheetsArchiveFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the TimesheetsArchive */ select?: Prisma.TimesheetsArchiveSelect | null /** * Omit specific fields from the TimesheetsArchive */ omit?: Prisma.TimesheetsArchiveOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TimesheetsArchiveInclude | null /** * Filter, which TimesheetsArchive to fetch. */ where: Prisma.TimesheetsArchiveWhereUniqueInput } /** * TimesheetsArchive findFirst */ export type TimesheetsArchiveFindFirstArgs = { /** * Select specific fields to fetch from the TimesheetsArchive */ select?: Prisma.TimesheetsArchiveSelect | null /** * Omit specific fields from the TimesheetsArchive */ omit?: Prisma.TimesheetsArchiveOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TimesheetsArchiveInclude | null /** * Filter, which TimesheetsArchive to fetch. */ where?: Prisma.TimesheetsArchiveWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of TimesheetsArchives to fetch. */ orderBy?: Prisma.TimesheetsArchiveOrderByWithRelationInput | Prisma.TimesheetsArchiveOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for TimesheetsArchives. */ cursor?: Prisma.TimesheetsArchiveWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` TimesheetsArchives 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` TimesheetsArchives. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of TimesheetsArchives. */ distinct?: Prisma.TimesheetsArchiveScalarFieldEnum | Prisma.TimesheetsArchiveScalarFieldEnum[] } /** * TimesheetsArchive findFirstOrThrow */ export type TimesheetsArchiveFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the TimesheetsArchive */ select?: Prisma.TimesheetsArchiveSelect | null /** * Omit specific fields from the TimesheetsArchive */ omit?: Prisma.TimesheetsArchiveOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TimesheetsArchiveInclude | null /** * Filter, which TimesheetsArchive to fetch. */ where?: Prisma.TimesheetsArchiveWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of TimesheetsArchives to fetch. */ orderBy?: Prisma.TimesheetsArchiveOrderByWithRelationInput | Prisma.TimesheetsArchiveOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for TimesheetsArchives. */ cursor?: Prisma.TimesheetsArchiveWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` TimesheetsArchives 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` TimesheetsArchives. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of TimesheetsArchives. */ distinct?: Prisma.TimesheetsArchiveScalarFieldEnum | Prisma.TimesheetsArchiveScalarFieldEnum[] } /** * TimesheetsArchive findMany */ export type TimesheetsArchiveFindManyArgs = { /** * Select specific fields to fetch from the TimesheetsArchive */ select?: Prisma.TimesheetsArchiveSelect | null /** * Omit specific fields from the TimesheetsArchive */ omit?: Prisma.TimesheetsArchiveOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TimesheetsArchiveInclude | null /** * Filter, which TimesheetsArchives to fetch. */ where?: Prisma.TimesheetsArchiveWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of TimesheetsArchives to fetch. */ orderBy?: Prisma.TimesheetsArchiveOrderByWithRelationInput | Prisma.TimesheetsArchiveOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing TimesheetsArchives. */ cursor?: Prisma.TimesheetsArchiveWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` TimesheetsArchives 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` TimesheetsArchives. */ skip?: number distinct?: Prisma.TimesheetsArchiveScalarFieldEnum | Prisma.TimesheetsArchiveScalarFieldEnum[] } /** * TimesheetsArchive create */ export type TimesheetsArchiveCreateArgs = { /** * Select specific fields to fetch from the TimesheetsArchive */ select?: Prisma.TimesheetsArchiveSelect | null /** * Omit specific fields from the TimesheetsArchive */ omit?: Prisma.TimesheetsArchiveOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TimesheetsArchiveInclude | null /** * The data needed to create a TimesheetsArchive. */ data: Prisma.XOR } /** * TimesheetsArchive createMany */ export type TimesheetsArchiveCreateManyArgs = { /** * The data used to create many TimesheetsArchives. */ data: Prisma.TimesheetsArchiveCreateManyInput | Prisma.TimesheetsArchiveCreateManyInput[] skipDuplicates?: boolean } /** * TimesheetsArchive createManyAndReturn */ export type TimesheetsArchiveCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the TimesheetsArchive */ select?: Prisma.TimesheetsArchiveSelectCreateManyAndReturn | null /** * Omit specific fields from the TimesheetsArchive */ omit?: Prisma.TimesheetsArchiveOmit | null /** * The data used to create many TimesheetsArchives. */ data: Prisma.TimesheetsArchiveCreateManyInput | Prisma.TimesheetsArchiveCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: Prisma.TimesheetsArchiveIncludeCreateManyAndReturn | null } /** * TimesheetsArchive update */ export type TimesheetsArchiveUpdateArgs = { /** * Select specific fields to fetch from the TimesheetsArchive */ select?: Prisma.TimesheetsArchiveSelect | null /** * Omit specific fields from the TimesheetsArchive */ omit?: Prisma.TimesheetsArchiveOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TimesheetsArchiveInclude | null /** * The data needed to update a TimesheetsArchive. */ data: Prisma.XOR /** * Choose, which TimesheetsArchive to update. */ where: Prisma.TimesheetsArchiveWhereUniqueInput } /** * TimesheetsArchive updateMany */ export type TimesheetsArchiveUpdateManyArgs = { /** * The data used to update TimesheetsArchives. */ data: Prisma.XOR /** * Filter which TimesheetsArchives to update */ where?: Prisma.TimesheetsArchiveWhereInput /** * Limit how many TimesheetsArchives to update. */ limit?: number } /** * TimesheetsArchive updateManyAndReturn */ export type TimesheetsArchiveUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the TimesheetsArchive */ select?: Prisma.TimesheetsArchiveSelectUpdateManyAndReturn | null /** * Omit specific fields from the TimesheetsArchive */ omit?: Prisma.TimesheetsArchiveOmit | null /** * The data used to update TimesheetsArchives. */ data: Prisma.XOR /** * Filter which TimesheetsArchives to update */ where?: Prisma.TimesheetsArchiveWhereInput /** * Limit how many TimesheetsArchives to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: Prisma.TimesheetsArchiveIncludeUpdateManyAndReturn | null } /** * TimesheetsArchive upsert */ export type TimesheetsArchiveUpsertArgs = { /** * Select specific fields to fetch from the TimesheetsArchive */ select?: Prisma.TimesheetsArchiveSelect | null /** * Omit specific fields from the TimesheetsArchive */ omit?: Prisma.TimesheetsArchiveOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TimesheetsArchiveInclude | null /** * The filter to search for the TimesheetsArchive to update in case it exists. */ where: Prisma.TimesheetsArchiveWhereUniqueInput /** * In case the TimesheetsArchive found by the `where` argument doesn't exist, create a new TimesheetsArchive with this data. */ create: Prisma.XOR /** * In case the TimesheetsArchive was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * TimesheetsArchive delete */ export type TimesheetsArchiveDeleteArgs = { /** * Select specific fields to fetch from the TimesheetsArchive */ select?: Prisma.TimesheetsArchiveSelect | null /** * Omit specific fields from the TimesheetsArchive */ omit?: Prisma.TimesheetsArchiveOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TimesheetsArchiveInclude | null /** * Filter which TimesheetsArchive to delete. */ where: Prisma.TimesheetsArchiveWhereUniqueInput } /** * TimesheetsArchive deleteMany */ export type TimesheetsArchiveDeleteManyArgs = { /** * Filter which TimesheetsArchives to delete */ where?: Prisma.TimesheetsArchiveWhereInput /** * Limit how many TimesheetsArchives to delete. */ limit?: number } /** * TimesheetsArchive without action */ export type TimesheetsArchiveDefaultArgs = { /** * Select specific fields to fetch from the TimesheetsArchive */ select?: Prisma.TimesheetsArchiveSelect | null /** * Omit specific fields from the TimesheetsArchive */ omit?: Prisma.TimesheetsArchiveOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TimesheetsArchiveInclude | null }