/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `ShiftsArchive` 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 ShiftsArchive * */ export type ShiftsArchiveModel = runtime.Types.Result.DefaultSelection export type AggregateShiftsArchive = { _count: ShiftsArchiveCountAggregateOutputType | null _avg: ShiftsArchiveAvgAggregateOutputType | null _sum: ShiftsArchiveSumAggregateOutputType | null _min: ShiftsArchiveMinAggregateOutputType | null _max: ShiftsArchiveMaxAggregateOutputType | null } export type ShiftsArchiveAvgAggregateOutputType = { id: number | null shift_id: number | null timesheet_id: number | null bank_code_id: number | null } export type ShiftsArchiveSumAggregateOutputType = { id: number | null shift_id: number | null timesheet_id: number | null bank_code_id: number | null } export type ShiftsArchiveMinAggregateOutputType = { id: number | null shift_id: number | null archive_at: Date | null timesheet_id: number | null date: Date | null start_time: Date | null end_time: Date | null bank_code_id: number | null comment: string | null } export type ShiftsArchiveMaxAggregateOutputType = { id: number | null shift_id: number | null archive_at: Date | null timesheet_id: number | null date: Date | null start_time: Date | null end_time: Date | null bank_code_id: number | null comment: string | null } export type ShiftsArchiveCountAggregateOutputType = { id: number shift_id: number archive_at: number timesheet_id: number date: number start_time: number end_time: number bank_code_id: number comment: number _all: number } export type ShiftsArchiveAvgAggregateInputType = { id?: true shift_id?: true timesheet_id?: true bank_code_id?: true } export type ShiftsArchiveSumAggregateInputType = { id?: true shift_id?: true timesheet_id?: true bank_code_id?: true } export type ShiftsArchiveMinAggregateInputType = { id?: true shift_id?: true archive_at?: true timesheet_id?: true date?: true start_time?: true end_time?: true bank_code_id?: true comment?: true } export type ShiftsArchiveMaxAggregateInputType = { id?: true shift_id?: true archive_at?: true timesheet_id?: true date?: true start_time?: true end_time?: true bank_code_id?: true comment?: true } export type ShiftsArchiveCountAggregateInputType = { id?: true shift_id?: true archive_at?: true timesheet_id?: true date?: true start_time?: true end_time?: true bank_code_id?: true comment?: true _all?: true } export type ShiftsArchiveAggregateArgs = { /** * Filter which ShiftsArchive to aggregate. */ where?: Prisma.ShiftsArchiveWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ShiftsArchives to fetch. */ orderBy?: Prisma.ShiftsArchiveOrderByWithRelationInput | Prisma.ShiftsArchiveOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.ShiftsArchiveWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ShiftsArchives 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` ShiftsArchives. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned ShiftsArchives **/ _count?: true | ShiftsArchiveCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: ShiftsArchiveAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: ShiftsArchiveSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: ShiftsArchiveMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: ShiftsArchiveMaxAggregateInputType } export type GetShiftsArchiveAggregateType = { [P in keyof T & keyof AggregateShiftsArchive]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type ShiftsArchiveGroupByArgs = { where?: Prisma.ShiftsArchiveWhereInput orderBy?: Prisma.ShiftsArchiveOrderByWithAggregationInput | Prisma.ShiftsArchiveOrderByWithAggregationInput[] by: Prisma.ShiftsArchiveScalarFieldEnum[] | Prisma.ShiftsArchiveScalarFieldEnum having?: Prisma.ShiftsArchiveScalarWhereWithAggregatesInput take?: number skip?: number _count?: ShiftsArchiveCountAggregateInputType | true _avg?: ShiftsArchiveAvgAggregateInputType _sum?: ShiftsArchiveSumAggregateInputType _min?: ShiftsArchiveMinAggregateInputType _max?: ShiftsArchiveMaxAggregateInputType } export type ShiftsArchiveGroupByOutputType = { id: number shift_id: number archive_at: Date timesheet_id: number date: Date start_time: Date end_time: Date bank_code_id: number comment: string | null _count: ShiftsArchiveCountAggregateOutputType | null _avg: ShiftsArchiveAvgAggregateOutputType | null _sum: ShiftsArchiveSumAggregateOutputType | null _min: ShiftsArchiveMinAggregateOutputType | null _max: ShiftsArchiveMaxAggregateOutputType | null } type GetShiftsArchiveGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof ShiftsArchiveGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type ShiftsArchiveWhereInput = { AND?: Prisma.ShiftsArchiveWhereInput | Prisma.ShiftsArchiveWhereInput[] OR?: Prisma.ShiftsArchiveWhereInput[] NOT?: Prisma.ShiftsArchiveWhereInput | Prisma.ShiftsArchiveWhereInput[] id?: Prisma.IntFilter<"ShiftsArchive"> | number shift_id?: Prisma.IntFilter<"ShiftsArchive"> | number archive_at?: Prisma.DateTimeFilter<"ShiftsArchive"> | Date | string timesheet_id?: Prisma.IntFilter<"ShiftsArchive"> | number date?: Prisma.DateTimeFilter<"ShiftsArchive"> | Date | string start_time?: Prisma.DateTimeFilter<"ShiftsArchive"> | Date | string end_time?: Prisma.DateTimeFilter<"ShiftsArchive"> | Date | string bank_code_id?: Prisma.IntFilter<"ShiftsArchive"> | number comment?: Prisma.StringNullableFilter<"ShiftsArchive"> | string | null shift?: Prisma.XOR } export type ShiftsArchiveOrderByWithRelationInput = { id?: Prisma.SortOrder shift_id?: Prisma.SortOrder archive_at?: Prisma.SortOrder timesheet_id?: Prisma.SortOrder date?: Prisma.SortOrder start_time?: Prisma.SortOrder end_time?: Prisma.SortOrder bank_code_id?: Prisma.SortOrder comment?: Prisma.SortOrderInput | Prisma.SortOrder shift?: Prisma.ShiftsOrderByWithRelationInput } export type ShiftsArchiveWhereUniqueInput = Prisma.AtLeast<{ id?: number AND?: Prisma.ShiftsArchiveWhereInput | Prisma.ShiftsArchiveWhereInput[] OR?: Prisma.ShiftsArchiveWhereInput[] NOT?: Prisma.ShiftsArchiveWhereInput | Prisma.ShiftsArchiveWhereInput[] shift_id?: Prisma.IntFilter<"ShiftsArchive"> | number archive_at?: Prisma.DateTimeFilter<"ShiftsArchive"> | Date | string timesheet_id?: Prisma.IntFilter<"ShiftsArchive"> | number date?: Prisma.DateTimeFilter<"ShiftsArchive"> | Date | string start_time?: Prisma.DateTimeFilter<"ShiftsArchive"> | Date | string end_time?: Prisma.DateTimeFilter<"ShiftsArchive"> | Date | string bank_code_id?: Prisma.IntFilter<"ShiftsArchive"> | number comment?: Prisma.StringNullableFilter<"ShiftsArchive"> | string | null shift?: Prisma.XOR }, "id"> export type ShiftsArchiveOrderByWithAggregationInput = { id?: Prisma.SortOrder shift_id?: Prisma.SortOrder archive_at?: Prisma.SortOrder timesheet_id?: Prisma.SortOrder date?: Prisma.SortOrder start_time?: Prisma.SortOrder end_time?: Prisma.SortOrder bank_code_id?: Prisma.SortOrder comment?: Prisma.SortOrderInput | Prisma.SortOrder _count?: Prisma.ShiftsArchiveCountOrderByAggregateInput _avg?: Prisma.ShiftsArchiveAvgOrderByAggregateInput _max?: Prisma.ShiftsArchiveMaxOrderByAggregateInput _min?: Prisma.ShiftsArchiveMinOrderByAggregateInput _sum?: Prisma.ShiftsArchiveSumOrderByAggregateInput } export type ShiftsArchiveScalarWhereWithAggregatesInput = { AND?: Prisma.ShiftsArchiveScalarWhereWithAggregatesInput | Prisma.ShiftsArchiveScalarWhereWithAggregatesInput[] OR?: Prisma.ShiftsArchiveScalarWhereWithAggregatesInput[] NOT?: Prisma.ShiftsArchiveScalarWhereWithAggregatesInput | Prisma.ShiftsArchiveScalarWhereWithAggregatesInput[] id?: Prisma.IntWithAggregatesFilter<"ShiftsArchive"> | number shift_id?: Prisma.IntWithAggregatesFilter<"ShiftsArchive"> | number archive_at?: Prisma.DateTimeWithAggregatesFilter<"ShiftsArchive"> | Date | string timesheet_id?: Prisma.IntWithAggregatesFilter<"ShiftsArchive"> | number date?: Prisma.DateTimeWithAggregatesFilter<"ShiftsArchive"> | Date | string start_time?: Prisma.DateTimeWithAggregatesFilter<"ShiftsArchive"> | Date | string end_time?: Prisma.DateTimeWithAggregatesFilter<"ShiftsArchive"> | Date | string bank_code_id?: Prisma.IntWithAggregatesFilter<"ShiftsArchive"> | number comment?: Prisma.StringNullableWithAggregatesFilter<"ShiftsArchive"> | string | null } export type ShiftsArchiveCreateInput = { archive_at?: Date | string timesheet_id: number date: Date | string start_time: Date | string end_time: Date | string bank_code_id: number comment?: string | null shift: Prisma.ShiftsCreateNestedOneWithoutArchiveInput } export type ShiftsArchiveUncheckedCreateInput = { id?: number shift_id: number archive_at?: Date | string timesheet_id: number date: Date | string start_time: Date | string end_time: Date | string bank_code_id: number comment?: string | null } export type ShiftsArchiveUpdateInput = { archive_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string timesheet_id?: Prisma.IntFieldUpdateOperationsInput | number date?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string start_time?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string end_time?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string bank_code_id?: Prisma.IntFieldUpdateOperationsInput | number comment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null shift?: Prisma.ShiftsUpdateOneRequiredWithoutArchiveNestedInput } export type ShiftsArchiveUncheckedUpdateInput = { id?: Prisma.IntFieldUpdateOperationsInput | number shift_id?: Prisma.IntFieldUpdateOperationsInput | number archive_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string timesheet_id?: Prisma.IntFieldUpdateOperationsInput | number date?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string start_time?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string end_time?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string bank_code_id?: Prisma.IntFieldUpdateOperationsInput | number comment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type ShiftsArchiveCreateManyInput = { id?: number shift_id: number archive_at?: Date | string timesheet_id: number date: Date | string start_time: Date | string end_time: Date | string bank_code_id: number comment?: string | null } export type ShiftsArchiveUpdateManyMutationInput = { archive_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string timesheet_id?: Prisma.IntFieldUpdateOperationsInput | number date?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string start_time?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string end_time?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string bank_code_id?: Prisma.IntFieldUpdateOperationsInput | number comment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type ShiftsArchiveUncheckedUpdateManyInput = { id?: Prisma.IntFieldUpdateOperationsInput | number shift_id?: Prisma.IntFieldUpdateOperationsInput | number archive_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string timesheet_id?: Prisma.IntFieldUpdateOperationsInput | number date?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string start_time?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string end_time?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string bank_code_id?: Prisma.IntFieldUpdateOperationsInput | number comment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type ShiftsArchiveListRelationFilter = { every?: Prisma.ShiftsArchiveWhereInput some?: Prisma.ShiftsArchiveWhereInput none?: Prisma.ShiftsArchiveWhereInput } export type ShiftsArchiveOrderByRelationAggregateInput = { _count?: Prisma.SortOrder } export type ShiftsArchiveCountOrderByAggregateInput = { id?: Prisma.SortOrder shift_id?: Prisma.SortOrder archive_at?: Prisma.SortOrder timesheet_id?: Prisma.SortOrder date?: Prisma.SortOrder start_time?: Prisma.SortOrder end_time?: Prisma.SortOrder bank_code_id?: Prisma.SortOrder comment?: Prisma.SortOrder } export type ShiftsArchiveAvgOrderByAggregateInput = { id?: Prisma.SortOrder shift_id?: Prisma.SortOrder timesheet_id?: Prisma.SortOrder bank_code_id?: Prisma.SortOrder } export type ShiftsArchiveMaxOrderByAggregateInput = { id?: Prisma.SortOrder shift_id?: Prisma.SortOrder archive_at?: Prisma.SortOrder timesheet_id?: Prisma.SortOrder date?: Prisma.SortOrder start_time?: Prisma.SortOrder end_time?: Prisma.SortOrder bank_code_id?: Prisma.SortOrder comment?: Prisma.SortOrder } export type ShiftsArchiveMinOrderByAggregateInput = { id?: Prisma.SortOrder shift_id?: Prisma.SortOrder archive_at?: Prisma.SortOrder timesheet_id?: Prisma.SortOrder date?: Prisma.SortOrder start_time?: Prisma.SortOrder end_time?: Prisma.SortOrder bank_code_id?: Prisma.SortOrder comment?: Prisma.SortOrder } export type ShiftsArchiveSumOrderByAggregateInput = { id?: Prisma.SortOrder shift_id?: Prisma.SortOrder timesheet_id?: Prisma.SortOrder bank_code_id?: Prisma.SortOrder } export type ShiftsArchiveCreateNestedManyWithoutShiftInput = { create?: Prisma.XOR | Prisma.ShiftsArchiveCreateWithoutShiftInput[] | Prisma.ShiftsArchiveUncheckedCreateWithoutShiftInput[] connectOrCreate?: Prisma.ShiftsArchiveCreateOrConnectWithoutShiftInput | Prisma.ShiftsArchiveCreateOrConnectWithoutShiftInput[] createMany?: Prisma.ShiftsArchiveCreateManyShiftInputEnvelope connect?: Prisma.ShiftsArchiveWhereUniqueInput | Prisma.ShiftsArchiveWhereUniqueInput[] } export type ShiftsArchiveUncheckedCreateNestedManyWithoutShiftInput = { create?: Prisma.XOR | Prisma.ShiftsArchiveCreateWithoutShiftInput[] | Prisma.ShiftsArchiveUncheckedCreateWithoutShiftInput[] connectOrCreate?: Prisma.ShiftsArchiveCreateOrConnectWithoutShiftInput | Prisma.ShiftsArchiveCreateOrConnectWithoutShiftInput[] createMany?: Prisma.ShiftsArchiveCreateManyShiftInputEnvelope connect?: Prisma.ShiftsArchiveWhereUniqueInput | Prisma.ShiftsArchiveWhereUniqueInput[] } export type ShiftsArchiveUpdateManyWithoutShiftNestedInput = { create?: Prisma.XOR | Prisma.ShiftsArchiveCreateWithoutShiftInput[] | Prisma.ShiftsArchiveUncheckedCreateWithoutShiftInput[] connectOrCreate?: Prisma.ShiftsArchiveCreateOrConnectWithoutShiftInput | Prisma.ShiftsArchiveCreateOrConnectWithoutShiftInput[] upsert?: Prisma.ShiftsArchiveUpsertWithWhereUniqueWithoutShiftInput | Prisma.ShiftsArchiveUpsertWithWhereUniqueWithoutShiftInput[] createMany?: Prisma.ShiftsArchiveCreateManyShiftInputEnvelope set?: Prisma.ShiftsArchiveWhereUniqueInput | Prisma.ShiftsArchiveWhereUniqueInput[] disconnect?: Prisma.ShiftsArchiveWhereUniqueInput | Prisma.ShiftsArchiveWhereUniqueInput[] delete?: Prisma.ShiftsArchiveWhereUniqueInput | Prisma.ShiftsArchiveWhereUniqueInput[] connect?: Prisma.ShiftsArchiveWhereUniqueInput | Prisma.ShiftsArchiveWhereUniqueInput[] update?: Prisma.ShiftsArchiveUpdateWithWhereUniqueWithoutShiftInput | Prisma.ShiftsArchiveUpdateWithWhereUniqueWithoutShiftInput[] updateMany?: Prisma.ShiftsArchiveUpdateManyWithWhereWithoutShiftInput | Prisma.ShiftsArchiveUpdateManyWithWhereWithoutShiftInput[] deleteMany?: Prisma.ShiftsArchiveScalarWhereInput | Prisma.ShiftsArchiveScalarWhereInput[] } export type ShiftsArchiveUncheckedUpdateManyWithoutShiftNestedInput = { create?: Prisma.XOR | Prisma.ShiftsArchiveCreateWithoutShiftInput[] | Prisma.ShiftsArchiveUncheckedCreateWithoutShiftInput[] connectOrCreate?: Prisma.ShiftsArchiveCreateOrConnectWithoutShiftInput | Prisma.ShiftsArchiveCreateOrConnectWithoutShiftInput[] upsert?: Prisma.ShiftsArchiveUpsertWithWhereUniqueWithoutShiftInput | Prisma.ShiftsArchiveUpsertWithWhereUniqueWithoutShiftInput[] createMany?: Prisma.ShiftsArchiveCreateManyShiftInputEnvelope set?: Prisma.ShiftsArchiveWhereUniqueInput | Prisma.ShiftsArchiveWhereUniqueInput[] disconnect?: Prisma.ShiftsArchiveWhereUniqueInput | Prisma.ShiftsArchiveWhereUniqueInput[] delete?: Prisma.ShiftsArchiveWhereUniqueInput | Prisma.ShiftsArchiveWhereUniqueInput[] connect?: Prisma.ShiftsArchiveWhereUniqueInput | Prisma.ShiftsArchiveWhereUniqueInput[] update?: Prisma.ShiftsArchiveUpdateWithWhereUniqueWithoutShiftInput | Prisma.ShiftsArchiveUpdateWithWhereUniqueWithoutShiftInput[] updateMany?: Prisma.ShiftsArchiveUpdateManyWithWhereWithoutShiftInput | Prisma.ShiftsArchiveUpdateManyWithWhereWithoutShiftInput[] deleteMany?: Prisma.ShiftsArchiveScalarWhereInput | Prisma.ShiftsArchiveScalarWhereInput[] } export type ShiftsArchiveCreateWithoutShiftInput = { archive_at?: Date | string timesheet_id: number date: Date | string start_time: Date | string end_time: Date | string bank_code_id: number comment?: string | null } export type ShiftsArchiveUncheckedCreateWithoutShiftInput = { id?: number archive_at?: Date | string timesheet_id: number date: Date | string start_time: Date | string end_time: Date | string bank_code_id: number comment?: string | null } export type ShiftsArchiveCreateOrConnectWithoutShiftInput = { where: Prisma.ShiftsArchiveWhereUniqueInput create: Prisma.XOR } export type ShiftsArchiveCreateManyShiftInputEnvelope = { data: Prisma.ShiftsArchiveCreateManyShiftInput | Prisma.ShiftsArchiveCreateManyShiftInput[] skipDuplicates?: boolean } export type ShiftsArchiveUpsertWithWhereUniqueWithoutShiftInput = { where: Prisma.ShiftsArchiveWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type ShiftsArchiveUpdateWithWhereUniqueWithoutShiftInput = { where: Prisma.ShiftsArchiveWhereUniqueInput data: Prisma.XOR } export type ShiftsArchiveUpdateManyWithWhereWithoutShiftInput = { where: Prisma.ShiftsArchiveScalarWhereInput data: Prisma.XOR } export type ShiftsArchiveScalarWhereInput = { AND?: Prisma.ShiftsArchiveScalarWhereInput | Prisma.ShiftsArchiveScalarWhereInput[] OR?: Prisma.ShiftsArchiveScalarWhereInput[] NOT?: Prisma.ShiftsArchiveScalarWhereInput | Prisma.ShiftsArchiveScalarWhereInput[] id?: Prisma.IntFilter<"ShiftsArchive"> | number shift_id?: Prisma.IntFilter<"ShiftsArchive"> | number archive_at?: Prisma.DateTimeFilter<"ShiftsArchive"> | Date | string timesheet_id?: Prisma.IntFilter<"ShiftsArchive"> | number date?: Prisma.DateTimeFilter<"ShiftsArchive"> | Date | string start_time?: Prisma.DateTimeFilter<"ShiftsArchive"> | Date | string end_time?: Prisma.DateTimeFilter<"ShiftsArchive"> | Date | string bank_code_id?: Prisma.IntFilter<"ShiftsArchive"> | number comment?: Prisma.StringNullableFilter<"ShiftsArchive"> | string | null } export type ShiftsArchiveCreateManyShiftInput = { id?: number archive_at?: Date | string timesheet_id: number date: Date | string start_time: Date | string end_time: Date | string bank_code_id: number comment?: string | null } export type ShiftsArchiveUpdateWithoutShiftInput = { archive_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string timesheet_id?: Prisma.IntFieldUpdateOperationsInput | number date?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string start_time?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string end_time?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string bank_code_id?: Prisma.IntFieldUpdateOperationsInput | number comment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type ShiftsArchiveUncheckedUpdateWithoutShiftInput = { id?: Prisma.IntFieldUpdateOperationsInput | number archive_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string timesheet_id?: Prisma.IntFieldUpdateOperationsInput | number date?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string start_time?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string end_time?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string bank_code_id?: Prisma.IntFieldUpdateOperationsInput | number comment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type ShiftsArchiveUncheckedUpdateManyWithoutShiftInput = { id?: Prisma.IntFieldUpdateOperationsInput | number archive_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string timesheet_id?: Prisma.IntFieldUpdateOperationsInput | number date?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string start_time?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string end_time?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string bank_code_id?: Prisma.IntFieldUpdateOperationsInput | number comment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type ShiftsArchiveSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean shift_id?: boolean archive_at?: boolean timesheet_id?: boolean date?: boolean start_time?: boolean end_time?: boolean bank_code_id?: boolean comment?: boolean shift?: boolean | Prisma.ShiftsDefaultArgs }, ExtArgs["result"]["shiftsArchive"]> export type ShiftsArchiveSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean shift_id?: boolean archive_at?: boolean timesheet_id?: boolean date?: boolean start_time?: boolean end_time?: boolean bank_code_id?: boolean comment?: boolean shift?: boolean | Prisma.ShiftsDefaultArgs }, ExtArgs["result"]["shiftsArchive"]> export type ShiftsArchiveSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean shift_id?: boolean archive_at?: boolean timesheet_id?: boolean date?: boolean start_time?: boolean end_time?: boolean bank_code_id?: boolean comment?: boolean shift?: boolean | Prisma.ShiftsDefaultArgs }, ExtArgs["result"]["shiftsArchive"]> export type ShiftsArchiveSelectScalar = { id?: boolean shift_id?: boolean archive_at?: boolean timesheet_id?: boolean date?: boolean start_time?: boolean end_time?: boolean bank_code_id?: boolean comment?: boolean } export type ShiftsArchiveOmit = runtime.Types.Extensions.GetOmit<"id" | "shift_id" | "archive_at" | "timesheet_id" | "date" | "start_time" | "end_time" | "bank_code_id" | "comment", ExtArgs["result"]["shiftsArchive"]> export type ShiftsArchiveInclude = { shift?: boolean | Prisma.ShiftsDefaultArgs } export type ShiftsArchiveIncludeCreateManyAndReturn = { shift?: boolean | Prisma.ShiftsDefaultArgs } export type ShiftsArchiveIncludeUpdateManyAndReturn = { shift?: boolean | Prisma.ShiftsDefaultArgs } export type $ShiftsArchivePayload = { name: "ShiftsArchive" objects: { shift: Prisma.$ShiftsPayload } scalars: runtime.Types.Extensions.GetPayloadResult<{ id: number shift_id: number archive_at: Date timesheet_id: number date: Date start_time: Date end_time: Date bank_code_id: number comment: string | null }, ExtArgs["result"]["shiftsArchive"]> composites: {} } export type ShiftsArchiveGetPayload = runtime.Types.Result.GetResult export type ShiftsArchiveCountArgs = Omit & { select?: ShiftsArchiveCountAggregateInputType | true } export interface ShiftsArchiveDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['ShiftsArchive'], meta: { name: 'ShiftsArchive' } } /** * Find zero or one ShiftsArchive that matches the filter. * @param {ShiftsArchiveFindUniqueArgs} args - Arguments to find a ShiftsArchive * @example * // Get one ShiftsArchive * const shiftsArchive = await prisma.shiftsArchive.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__ShiftsArchiveClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one ShiftsArchive that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {ShiftsArchiveFindUniqueOrThrowArgs} args - Arguments to find a ShiftsArchive * @example * // Get one ShiftsArchive * const shiftsArchive = await prisma.shiftsArchive.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__ShiftsArchiveClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first ShiftsArchive 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 {ShiftsArchiveFindFirstArgs} args - Arguments to find a ShiftsArchive * @example * // Get one ShiftsArchive * const shiftsArchive = await prisma.shiftsArchive.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__ShiftsArchiveClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first ShiftsArchive 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 {ShiftsArchiveFindFirstOrThrowArgs} args - Arguments to find a ShiftsArchive * @example * // Get one ShiftsArchive * const shiftsArchive = await prisma.shiftsArchive.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__ShiftsArchiveClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more ShiftsArchives 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 {ShiftsArchiveFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all ShiftsArchives * const shiftsArchives = await prisma.shiftsArchive.findMany() * * // Get first 10 ShiftsArchives * const shiftsArchives = await prisma.shiftsArchive.findMany({ take: 10 }) * * // Only select the `id` * const shiftsArchiveWithIdOnly = await prisma.shiftsArchive.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a ShiftsArchive. * @param {ShiftsArchiveCreateArgs} args - Arguments to create a ShiftsArchive. * @example * // Create one ShiftsArchive * const ShiftsArchive = await prisma.shiftsArchive.create({ * data: { * // ... data to create a ShiftsArchive * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__ShiftsArchiveClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many ShiftsArchives. * @param {ShiftsArchiveCreateManyArgs} args - Arguments to create many ShiftsArchives. * @example * // Create many ShiftsArchives * const shiftsArchive = await prisma.shiftsArchive.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many ShiftsArchives and returns the data saved in the database. * @param {ShiftsArchiveCreateManyAndReturnArgs} args - Arguments to create many ShiftsArchives. * @example * // Create many ShiftsArchives * const shiftsArchive = await prisma.shiftsArchive.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many ShiftsArchives and only return the `id` * const shiftsArchiveWithIdOnly = await prisma.shiftsArchive.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 ShiftsArchive. * @param {ShiftsArchiveDeleteArgs} args - Arguments to delete one ShiftsArchive. * @example * // Delete one ShiftsArchive * const ShiftsArchive = await prisma.shiftsArchive.delete({ * where: { * // ... filter to delete one ShiftsArchive * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__ShiftsArchiveClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one ShiftsArchive. * @param {ShiftsArchiveUpdateArgs} args - Arguments to update one ShiftsArchive. * @example * // Update one ShiftsArchive * const shiftsArchive = await prisma.shiftsArchive.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__ShiftsArchiveClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more ShiftsArchives. * @param {ShiftsArchiveDeleteManyArgs} args - Arguments to filter ShiftsArchives to delete. * @example * // Delete a few ShiftsArchives * const { count } = await prisma.shiftsArchive.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more ShiftsArchives. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ShiftsArchiveUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many ShiftsArchives * const shiftsArchive = await prisma.shiftsArchive.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more ShiftsArchives and returns the data updated in the database. * @param {ShiftsArchiveUpdateManyAndReturnArgs} args - Arguments to update many ShiftsArchives. * @example * // Update many ShiftsArchives * const shiftsArchive = await prisma.shiftsArchive.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more ShiftsArchives and only return the `id` * const shiftsArchiveWithIdOnly = await prisma.shiftsArchive.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 ShiftsArchive. * @param {ShiftsArchiveUpsertArgs} args - Arguments to update or create a ShiftsArchive. * @example * // Update or create a ShiftsArchive * const shiftsArchive = await prisma.shiftsArchive.upsert({ * create: { * // ... data to create a ShiftsArchive * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the ShiftsArchive we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__ShiftsArchiveClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of ShiftsArchives. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ShiftsArchiveCountArgs} args - Arguments to filter ShiftsArchives to count. * @example * // Count the number of ShiftsArchives * const count = await prisma.shiftsArchive.count({ * where: { * // ... the filter for the ShiftsArchives 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 ShiftsArchive. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ShiftsArchiveAggregateArgs} 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 ShiftsArchive. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ShiftsArchiveGroupByArgs} 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 ShiftsArchiveGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: ShiftsArchiveGroupByArgs['orderBy'] } : { orderBy?: ShiftsArchiveGroupByArgs['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 ? GetShiftsArchiveGroupByPayload : Prisma.PrismaPromise /** * Fields of the ShiftsArchive model */ readonly fields: ShiftsArchiveFieldRefs; } /** * The delegate class that acts as a "Promise-like" for ShiftsArchive. * 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__ShiftsArchiveClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" shift = {}>(args?: Prisma.Subset>): Prisma.Prisma__ShiftsClient, 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 ShiftsArchive model */ export interface ShiftsArchiveFieldRefs { readonly id: Prisma.FieldRef<"ShiftsArchive", 'Int'> readonly shift_id: Prisma.FieldRef<"ShiftsArchive", 'Int'> readonly archive_at: Prisma.FieldRef<"ShiftsArchive", 'DateTime'> readonly timesheet_id: Prisma.FieldRef<"ShiftsArchive", 'Int'> readonly date: Prisma.FieldRef<"ShiftsArchive", 'DateTime'> readonly start_time: Prisma.FieldRef<"ShiftsArchive", 'DateTime'> readonly end_time: Prisma.FieldRef<"ShiftsArchive", 'DateTime'> readonly bank_code_id: Prisma.FieldRef<"ShiftsArchive", 'Int'> readonly comment: Prisma.FieldRef<"ShiftsArchive", 'String'> } // Custom InputTypes /** * ShiftsArchive findUnique */ export type ShiftsArchiveFindUniqueArgs = { /** * Select specific fields to fetch from the ShiftsArchive */ select?: Prisma.ShiftsArchiveSelect | null /** * Omit specific fields from the ShiftsArchive */ omit?: Prisma.ShiftsArchiveOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ShiftsArchiveInclude | null /** * Filter, which ShiftsArchive to fetch. */ where: Prisma.ShiftsArchiveWhereUniqueInput } /** * ShiftsArchive findUniqueOrThrow */ export type ShiftsArchiveFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the ShiftsArchive */ select?: Prisma.ShiftsArchiveSelect | null /** * Omit specific fields from the ShiftsArchive */ omit?: Prisma.ShiftsArchiveOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ShiftsArchiveInclude | null /** * Filter, which ShiftsArchive to fetch. */ where: Prisma.ShiftsArchiveWhereUniqueInput } /** * ShiftsArchive findFirst */ export type ShiftsArchiveFindFirstArgs = { /** * Select specific fields to fetch from the ShiftsArchive */ select?: Prisma.ShiftsArchiveSelect | null /** * Omit specific fields from the ShiftsArchive */ omit?: Prisma.ShiftsArchiveOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ShiftsArchiveInclude | null /** * Filter, which ShiftsArchive to fetch. */ where?: Prisma.ShiftsArchiveWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ShiftsArchives to fetch. */ orderBy?: Prisma.ShiftsArchiveOrderByWithRelationInput | Prisma.ShiftsArchiveOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for ShiftsArchives. */ cursor?: Prisma.ShiftsArchiveWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ShiftsArchives 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` ShiftsArchives. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of ShiftsArchives. */ distinct?: Prisma.ShiftsArchiveScalarFieldEnum | Prisma.ShiftsArchiveScalarFieldEnum[] } /** * ShiftsArchive findFirstOrThrow */ export type ShiftsArchiveFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the ShiftsArchive */ select?: Prisma.ShiftsArchiveSelect | null /** * Omit specific fields from the ShiftsArchive */ omit?: Prisma.ShiftsArchiveOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ShiftsArchiveInclude | null /** * Filter, which ShiftsArchive to fetch. */ where?: Prisma.ShiftsArchiveWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ShiftsArchives to fetch. */ orderBy?: Prisma.ShiftsArchiveOrderByWithRelationInput | Prisma.ShiftsArchiveOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for ShiftsArchives. */ cursor?: Prisma.ShiftsArchiveWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ShiftsArchives 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` ShiftsArchives. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of ShiftsArchives. */ distinct?: Prisma.ShiftsArchiveScalarFieldEnum | Prisma.ShiftsArchiveScalarFieldEnum[] } /** * ShiftsArchive findMany */ export type ShiftsArchiveFindManyArgs = { /** * Select specific fields to fetch from the ShiftsArchive */ select?: Prisma.ShiftsArchiveSelect | null /** * Omit specific fields from the ShiftsArchive */ omit?: Prisma.ShiftsArchiveOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ShiftsArchiveInclude | null /** * Filter, which ShiftsArchives to fetch. */ where?: Prisma.ShiftsArchiveWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ShiftsArchives to fetch. */ orderBy?: Prisma.ShiftsArchiveOrderByWithRelationInput | Prisma.ShiftsArchiveOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing ShiftsArchives. */ cursor?: Prisma.ShiftsArchiveWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ShiftsArchives 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` ShiftsArchives. */ skip?: number distinct?: Prisma.ShiftsArchiveScalarFieldEnum | Prisma.ShiftsArchiveScalarFieldEnum[] } /** * ShiftsArchive create */ export type ShiftsArchiveCreateArgs = { /** * Select specific fields to fetch from the ShiftsArchive */ select?: Prisma.ShiftsArchiveSelect | null /** * Omit specific fields from the ShiftsArchive */ omit?: Prisma.ShiftsArchiveOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ShiftsArchiveInclude | null /** * The data needed to create a ShiftsArchive. */ data: Prisma.XOR } /** * ShiftsArchive createMany */ export type ShiftsArchiveCreateManyArgs = { /** * The data used to create many ShiftsArchives. */ data: Prisma.ShiftsArchiveCreateManyInput | Prisma.ShiftsArchiveCreateManyInput[] skipDuplicates?: boolean } /** * ShiftsArchive createManyAndReturn */ export type ShiftsArchiveCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the ShiftsArchive */ select?: Prisma.ShiftsArchiveSelectCreateManyAndReturn | null /** * Omit specific fields from the ShiftsArchive */ omit?: Prisma.ShiftsArchiveOmit | null /** * The data used to create many ShiftsArchives. */ data: Prisma.ShiftsArchiveCreateManyInput | Prisma.ShiftsArchiveCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: Prisma.ShiftsArchiveIncludeCreateManyAndReturn | null } /** * ShiftsArchive update */ export type ShiftsArchiveUpdateArgs = { /** * Select specific fields to fetch from the ShiftsArchive */ select?: Prisma.ShiftsArchiveSelect | null /** * Omit specific fields from the ShiftsArchive */ omit?: Prisma.ShiftsArchiveOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ShiftsArchiveInclude | null /** * The data needed to update a ShiftsArchive. */ data: Prisma.XOR /** * Choose, which ShiftsArchive to update. */ where: Prisma.ShiftsArchiveWhereUniqueInput } /** * ShiftsArchive updateMany */ export type ShiftsArchiveUpdateManyArgs = { /** * The data used to update ShiftsArchives. */ data: Prisma.XOR /** * Filter which ShiftsArchives to update */ where?: Prisma.ShiftsArchiveWhereInput /** * Limit how many ShiftsArchives to update. */ limit?: number } /** * ShiftsArchive updateManyAndReturn */ export type ShiftsArchiveUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the ShiftsArchive */ select?: Prisma.ShiftsArchiveSelectUpdateManyAndReturn | null /** * Omit specific fields from the ShiftsArchive */ omit?: Prisma.ShiftsArchiveOmit | null /** * The data used to update ShiftsArchives. */ data: Prisma.XOR /** * Filter which ShiftsArchives to update */ where?: Prisma.ShiftsArchiveWhereInput /** * Limit how many ShiftsArchives to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: Prisma.ShiftsArchiveIncludeUpdateManyAndReturn | null } /** * ShiftsArchive upsert */ export type ShiftsArchiveUpsertArgs = { /** * Select specific fields to fetch from the ShiftsArchive */ select?: Prisma.ShiftsArchiveSelect | null /** * Omit specific fields from the ShiftsArchive */ omit?: Prisma.ShiftsArchiveOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ShiftsArchiveInclude | null /** * The filter to search for the ShiftsArchive to update in case it exists. */ where: Prisma.ShiftsArchiveWhereUniqueInput /** * In case the ShiftsArchive found by the `where` argument doesn't exist, create a new ShiftsArchive with this data. */ create: Prisma.XOR /** * In case the ShiftsArchive was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * ShiftsArchive delete */ export type ShiftsArchiveDeleteArgs = { /** * Select specific fields to fetch from the ShiftsArchive */ select?: Prisma.ShiftsArchiveSelect | null /** * Omit specific fields from the ShiftsArchive */ omit?: Prisma.ShiftsArchiveOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ShiftsArchiveInclude | null /** * Filter which ShiftsArchive to delete. */ where: Prisma.ShiftsArchiveWhereUniqueInput } /** * ShiftsArchive deleteMany */ export type ShiftsArchiveDeleteManyArgs = { /** * Filter which ShiftsArchives to delete */ where?: Prisma.ShiftsArchiveWhereInput /** * Limit how many ShiftsArchives to delete. */ limit?: number } /** * ShiftsArchive without action */ export type ShiftsArchiveDefaultArgs = { /** * Select specific fields to fetch from the ShiftsArchive */ select?: Prisma.ShiftsArchiveSelect | null /** * Omit specific fields from the ShiftsArchive */ omit?: Prisma.ShiftsArchiveOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ShiftsArchiveInclude | null }