/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `BankCodes` 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 BankCodes * */ export type BankCodesModel = runtime.Types.Result.DefaultSelection export type AggregateBankCodes = { _count: BankCodesCountAggregateOutputType | null _avg: BankCodesAvgAggregateOutputType | null _sum: BankCodesSumAggregateOutputType | null _min: BankCodesMinAggregateOutputType | null _max: BankCodesMaxAggregateOutputType | null } export type BankCodesAvgAggregateOutputType = { id: number | null modifier: number | null } export type BankCodesSumAggregateOutputType = { id: number | null modifier: number | null } export type BankCodesMinAggregateOutputType = { id: number | null type: string | null categorie: string | null modifier: number | null bank_code: string | null } export type BankCodesMaxAggregateOutputType = { id: number | null type: string | null categorie: string | null modifier: number | null bank_code: string | null } export type BankCodesCountAggregateOutputType = { id: number type: number categorie: number modifier: number bank_code: number _all: number } export type BankCodesAvgAggregateInputType = { id?: true modifier?: true } export type BankCodesSumAggregateInputType = { id?: true modifier?: true } export type BankCodesMinAggregateInputType = { id?: true type?: true categorie?: true modifier?: true bank_code?: true } export type BankCodesMaxAggregateInputType = { id?: true type?: true categorie?: true modifier?: true bank_code?: true } export type BankCodesCountAggregateInputType = { id?: true type?: true categorie?: true modifier?: true bank_code?: true _all?: true } export type BankCodesAggregateArgs = { /** * Filter which BankCodes to aggregate. */ where?: Prisma.BankCodesWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of BankCodes to fetch. */ orderBy?: Prisma.BankCodesOrderByWithRelationInput | Prisma.BankCodesOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.BankCodesWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` BankCodes 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` BankCodes. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned BankCodes **/ _count?: true | BankCodesCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: BankCodesAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: BankCodesSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: BankCodesMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: BankCodesMaxAggregateInputType } export type GetBankCodesAggregateType = { [P in keyof T & keyof AggregateBankCodes]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type BankCodesGroupByArgs = { where?: Prisma.BankCodesWhereInput orderBy?: Prisma.BankCodesOrderByWithAggregationInput | Prisma.BankCodesOrderByWithAggregationInput[] by: Prisma.BankCodesScalarFieldEnum[] | Prisma.BankCodesScalarFieldEnum having?: Prisma.BankCodesScalarWhereWithAggregatesInput take?: number skip?: number _count?: BankCodesCountAggregateInputType | true _avg?: BankCodesAvgAggregateInputType _sum?: BankCodesSumAggregateInputType _min?: BankCodesMinAggregateInputType _max?: BankCodesMaxAggregateInputType } export type BankCodesGroupByOutputType = { id: number type: string categorie: string modifier: number bank_code: string _count: BankCodesCountAggregateOutputType | null _avg: BankCodesAvgAggregateOutputType | null _sum: BankCodesSumAggregateOutputType | null _min: BankCodesMinAggregateOutputType | null _max: BankCodesMaxAggregateOutputType | null } type GetBankCodesGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof BankCodesGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type BankCodesWhereInput = { AND?: Prisma.BankCodesWhereInput | Prisma.BankCodesWhereInput[] OR?: Prisma.BankCodesWhereInput[] NOT?: Prisma.BankCodesWhereInput | Prisma.BankCodesWhereInput[] id?: Prisma.IntFilter<"BankCodes"> | number type?: Prisma.StringFilter<"BankCodes"> | string categorie?: Prisma.StringFilter<"BankCodes"> | string modifier?: Prisma.FloatFilter<"BankCodes"> | number bank_code?: Prisma.StringFilter<"BankCodes"> | string expenses?: Prisma.ExpensesListRelationFilter leaveRequests?: Prisma.LeaveRequestsListRelationFilter SchedulePresetShifts?: Prisma.SchedulePresetShiftsListRelationFilter shifts?: Prisma.ShiftsListRelationFilter } export type BankCodesOrderByWithRelationInput = { id?: Prisma.SortOrder type?: Prisma.SortOrder categorie?: Prisma.SortOrder modifier?: Prisma.SortOrder bank_code?: Prisma.SortOrder expenses?: Prisma.ExpensesOrderByRelationAggregateInput leaveRequests?: Prisma.LeaveRequestsOrderByRelationAggregateInput SchedulePresetShifts?: Prisma.SchedulePresetShiftsOrderByRelationAggregateInput shifts?: Prisma.ShiftsOrderByRelationAggregateInput } export type BankCodesWhereUniqueInput = Prisma.AtLeast<{ id?: number AND?: Prisma.BankCodesWhereInput | Prisma.BankCodesWhereInput[] OR?: Prisma.BankCodesWhereInput[] NOT?: Prisma.BankCodesWhereInput | Prisma.BankCodesWhereInput[] type?: Prisma.StringFilter<"BankCodes"> | string categorie?: Prisma.StringFilter<"BankCodes"> | string modifier?: Prisma.FloatFilter<"BankCodes"> | number bank_code?: Prisma.StringFilter<"BankCodes"> | string expenses?: Prisma.ExpensesListRelationFilter leaveRequests?: Prisma.LeaveRequestsListRelationFilter SchedulePresetShifts?: Prisma.SchedulePresetShiftsListRelationFilter shifts?: Prisma.ShiftsListRelationFilter }, "id"> export type BankCodesOrderByWithAggregationInput = { id?: Prisma.SortOrder type?: Prisma.SortOrder categorie?: Prisma.SortOrder modifier?: Prisma.SortOrder bank_code?: Prisma.SortOrder _count?: Prisma.BankCodesCountOrderByAggregateInput _avg?: Prisma.BankCodesAvgOrderByAggregateInput _max?: Prisma.BankCodesMaxOrderByAggregateInput _min?: Prisma.BankCodesMinOrderByAggregateInput _sum?: Prisma.BankCodesSumOrderByAggregateInput } export type BankCodesScalarWhereWithAggregatesInput = { AND?: Prisma.BankCodesScalarWhereWithAggregatesInput | Prisma.BankCodesScalarWhereWithAggregatesInput[] OR?: Prisma.BankCodesScalarWhereWithAggregatesInput[] NOT?: Prisma.BankCodesScalarWhereWithAggregatesInput | Prisma.BankCodesScalarWhereWithAggregatesInput[] id?: Prisma.IntWithAggregatesFilter<"BankCodes"> | number type?: Prisma.StringWithAggregatesFilter<"BankCodes"> | string categorie?: Prisma.StringWithAggregatesFilter<"BankCodes"> | string modifier?: Prisma.FloatWithAggregatesFilter<"BankCodes"> | number bank_code?: Prisma.StringWithAggregatesFilter<"BankCodes"> | string } export type BankCodesCreateInput = { type: string categorie: string modifier: number bank_code: string expenses?: Prisma.ExpensesCreateNestedManyWithoutBank_codeInput leaveRequests?: Prisma.LeaveRequestsCreateNestedManyWithoutBank_codeInput SchedulePresetShifts?: Prisma.SchedulePresetShiftsCreateNestedManyWithoutBank_codeInput shifts?: Prisma.ShiftsCreateNestedManyWithoutBank_codeInput } export type BankCodesUncheckedCreateInput = { id?: number type: string categorie: string modifier: number bank_code: string expenses?: Prisma.ExpensesUncheckedCreateNestedManyWithoutBank_codeInput leaveRequests?: Prisma.LeaveRequestsUncheckedCreateNestedManyWithoutBank_codeInput SchedulePresetShifts?: Prisma.SchedulePresetShiftsUncheckedCreateNestedManyWithoutBank_codeInput shifts?: Prisma.ShiftsUncheckedCreateNestedManyWithoutBank_codeInput } export type BankCodesUpdateInput = { type?: Prisma.StringFieldUpdateOperationsInput | string categorie?: Prisma.StringFieldUpdateOperationsInput | string modifier?: Prisma.FloatFieldUpdateOperationsInput | number bank_code?: Prisma.StringFieldUpdateOperationsInput | string expenses?: Prisma.ExpensesUpdateManyWithoutBank_codeNestedInput leaveRequests?: Prisma.LeaveRequestsUpdateManyWithoutBank_codeNestedInput SchedulePresetShifts?: Prisma.SchedulePresetShiftsUpdateManyWithoutBank_codeNestedInput shifts?: Prisma.ShiftsUpdateManyWithoutBank_codeNestedInput } export type BankCodesUncheckedUpdateInput = { id?: Prisma.IntFieldUpdateOperationsInput | number type?: Prisma.StringFieldUpdateOperationsInput | string categorie?: Prisma.StringFieldUpdateOperationsInput | string modifier?: Prisma.FloatFieldUpdateOperationsInput | number bank_code?: Prisma.StringFieldUpdateOperationsInput | string expenses?: Prisma.ExpensesUncheckedUpdateManyWithoutBank_codeNestedInput leaveRequests?: Prisma.LeaveRequestsUncheckedUpdateManyWithoutBank_codeNestedInput SchedulePresetShifts?: Prisma.SchedulePresetShiftsUncheckedUpdateManyWithoutBank_codeNestedInput shifts?: Prisma.ShiftsUncheckedUpdateManyWithoutBank_codeNestedInput } export type BankCodesCreateManyInput = { id?: number type: string categorie: string modifier: number bank_code: string } export type BankCodesUpdateManyMutationInput = { type?: Prisma.StringFieldUpdateOperationsInput | string categorie?: Prisma.StringFieldUpdateOperationsInput | string modifier?: Prisma.FloatFieldUpdateOperationsInput | number bank_code?: Prisma.StringFieldUpdateOperationsInput | string } export type BankCodesUncheckedUpdateManyInput = { id?: Prisma.IntFieldUpdateOperationsInput | number type?: Prisma.StringFieldUpdateOperationsInput | string categorie?: Prisma.StringFieldUpdateOperationsInput | string modifier?: Prisma.FloatFieldUpdateOperationsInput | number bank_code?: Prisma.StringFieldUpdateOperationsInput | string } export type BankCodesScalarRelationFilter = { is?: Prisma.BankCodesWhereInput isNot?: Prisma.BankCodesWhereInput } export type BankCodesCountOrderByAggregateInput = { id?: Prisma.SortOrder type?: Prisma.SortOrder categorie?: Prisma.SortOrder modifier?: Prisma.SortOrder bank_code?: Prisma.SortOrder } export type BankCodesAvgOrderByAggregateInput = { id?: Prisma.SortOrder modifier?: Prisma.SortOrder } export type BankCodesMaxOrderByAggregateInput = { id?: Prisma.SortOrder type?: Prisma.SortOrder categorie?: Prisma.SortOrder modifier?: Prisma.SortOrder bank_code?: Prisma.SortOrder } export type BankCodesMinOrderByAggregateInput = { id?: Prisma.SortOrder type?: Prisma.SortOrder categorie?: Prisma.SortOrder modifier?: Prisma.SortOrder bank_code?: Prisma.SortOrder } export type BankCodesSumOrderByAggregateInput = { id?: Prisma.SortOrder modifier?: Prisma.SortOrder } export type BankCodesCreateNestedOneWithoutLeaveRequestsInput = { create?: Prisma.XOR connectOrCreate?: Prisma.BankCodesCreateOrConnectWithoutLeaveRequestsInput connect?: Prisma.BankCodesWhereUniqueInput } export type BankCodesUpdateOneRequiredWithoutLeaveRequestsNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.BankCodesCreateOrConnectWithoutLeaveRequestsInput upsert?: Prisma.BankCodesUpsertWithoutLeaveRequestsInput connect?: Prisma.BankCodesWhereUniqueInput update?: Prisma.XOR, Prisma.BankCodesUncheckedUpdateWithoutLeaveRequestsInput> } export type BankCodesCreateNestedOneWithoutSchedulePresetShiftsInput = { create?: Prisma.XOR connectOrCreate?: Prisma.BankCodesCreateOrConnectWithoutSchedulePresetShiftsInput connect?: Prisma.BankCodesWhereUniqueInput } export type BankCodesUpdateOneRequiredWithoutSchedulePresetShiftsNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.BankCodesCreateOrConnectWithoutSchedulePresetShiftsInput upsert?: Prisma.BankCodesUpsertWithoutSchedulePresetShiftsInput connect?: Prisma.BankCodesWhereUniqueInput update?: Prisma.XOR, Prisma.BankCodesUncheckedUpdateWithoutSchedulePresetShiftsInput> } export type BankCodesCreateNestedOneWithoutShiftsInput = { create?: Prisma.XOR connectOrCreate?: Prisma.BankCodesCreateOrConnectWithoutShiftsInput connect?: Prisma.BankCodesWhereUniqueInput } export type BankCodesUpdateOneRequiredWithoutShiftsNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.BankCodesCreateOrConnectWithoutShiftsInput upsert?: Prisma.BankCodesUpsertWithoutShiftsInput connect?: Prisma.BankCodesWhereUniqueInput update?: Prisma.XOR, Prisma.BankCodesUncheckedUpdateWithoutShiftsInput> } export type FloatFieldUpdateOperationsInput = { set?: number increment?: number decrement?: number multiply?: number divide?: number } export type BankCodesCreateNestedOneWithoutExpensesInput = { create?: Prisma.XOR connectOrCreate?: Prisma.BankCodesCreateOrConnectWithoutExpensesInput connect?: Prisma.BankCodesWhereUniqueInput } export type BankCodesUpdateOneRequiredWithoutExpensesNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.BankCodesCreateOrConnectWithoutExpensesInput upsert?: Prisma.BankCodesUpsertWithoutExpensesInput connect?: Prisma.BankCodesWhereUniqueInput update?: Prisma.XOR, Prisma.BankCodesUncheckedUpdateWithoutExpensesInput> } export type BankCodesCreateWithoutLeaveRequestsInput = { type: string categorie: string modifier: number bank_code: string expenses?: Prisma.ExpensesCreateNestedManyWithoutBank_codeInput SchedulePresetShifts?: Prisma.SchedulePresetShiftsCreateNestedManyWithoutBank_codeInput shifts?: Prisma.ShiftsCreateNestedManyWithoutBank_codeInput } export type BankCodesUncheckedCreateWithoutLeaveRequestsInput = { id?: number type: string categorie: string modifier: number bank_code: string expenses?: Prisma.ExpensesUncheckedCreateNestedManyWithoutBank_codeInput SchedulePresetShifts?: Prisma.SchedulePresetShiftsUncheckedCreateNestedManyWithoutBank_codeInput shifts?: Prisma.ShiftsUncheckedCreateNestedManyWithoutBank_codeInput } export type BankCodesCreateOrConnectWithoutLeaveRequestsInput = { where: Prisma.BankCodesWhereUniqueInput create: Prisma.XOR } export type BankCodesUpsertWithoutLeaveRequestsInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.BankCodesWhereInput } export type BankCodesUpdateToOneWithWhereWithoutLeaveRequestsInput = { where?: Prisma.BankCodesWhereInput data: Prisma.XOR } export type BankCodesUpdateWithoutLeaveRequestsInput = { type?: Prisma.StringFieldUpdateOperationsInput | string categorie?: Prisma.StringFieldUpdateOperationsInput | string modifier?: Prisma.FloatFieldUpdateOperationsInput | number bank_code?: Prisma.StringFieldUpdateOperationsInput | string expenses?: Prisma.ExpensesUpdateManyWithoutBank_codeNestedInput SchedulePresetShifts?: Prisma.SchedulePresetShiftsUpdateManyWithoutBank_codeNestedInput shifts?: Prisma.ShiftsUpdateManyWithoutBank_codeNestedInput } export type BankCodesUncheckedUpdateWithoutLeaveRequestsInput = { id?: Prisma.IntFieldUpdateOperationsInput | number type?: Prisma.StringFieldUpdateOperationsInput | string categorie?: Prisma.StringFieldUpdateOperationsInput | string modifier?: Prisma.FloatFieldUpdateOperationsInput | number bank_code?: Prisma.StringFieldUpdateOperationsInput | string expenses?: Prisma.ExpensesUncheckedUpdateManyWithoutBank_codeNestedInput SchedulePresetShifts?: Prisma.SchedulePresetShiftsUncheckedUpdateManyWithoutBank_codeNestedInput shifts?: Prisma.ShiftsUncheckedUpdateManyWithoutBank_codeNestedInput } export type BankCodesCreateWithoutSchedulePresetShiftsInput = { type: string categorie: string modifier: number bank_code: string expenses?: Prisma.ExpensesCreateNestedManyWithoutBank_codeInput leaveRequests?: Prisma.LeaveRequestsCreateNestedManyWithoutBank_codeInput shifts?: Prisma.ShiftsCreateNestedManyWithoutBank_codeInput } export type BankCodesUncheckedCreateWithoutSchedulePresetShiftsInput = { id?: number type: string categorie: string modifier: number bank_code: string expenses?: Prisma.ExpensesUncheckedCreateNestedManyWithoutBank_codeInput leaveRequests?: Prisma.LeaveRequestsUncheckedCreateNestedManyWithoutBank_codeInput shifts?: Prisma.ShiftsUncheckedCreateNestedManyWithoutBank_codeInput } export type BankCodesCreateOrConnectWithoutSchedulePresetShiftsInput = { where: Prisma.BankCodesWhereUniqueInput create: Prisma.XOR } export type BankCodesUpsertWithoutSchedulePresetShiftsInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.BankCodesWhereInput } export type BankCodesUpdateToOneWithWhereWithoutSchedulePresetShiftsInput = { where?: Prisma.BankCodesWhereInput data: Prisma.XOR } export type BankCodesUpdateWithoutSchedulePresetShiftsInput = { type?: Prisma.StringFieldUpdateOperationsInput | string categorie?: Prisma.StringFieldUpdateOperationsInput | string modifier?: Prisma.FloatFieldUpdateOperationsInput | number bank_code?: Prisma.StringFieldUpdateOperationsInput | string expenses?: Prisma.ExpensesUpdateManyWithoutBank_codeNestedInput leaveRequests?: Prisma.LeaveRequestsUpdateManyWithoutBank_codeNestedInput shifts?: Prisma.ShiftsUpdateManyWithoutBank_codeNestedInput } export type BankCodesUncheckedUpdateWithoutSchedulePresetShiftsInput = { id?: Prisma.IntFieldUpdateOperationsInput | number type?: Prisma.StringFieldUpdateOperationsInput | string categorie?: Prisma.StringFieldUpdateOperationsInput | string modifier?: Prisma.FloatFieldUpdateOperationsInput | number bank_code?: Prisma.StringFieldUpdateOperationsInput | string expenses?: Prisma.ExpensesUncheckedUpdateManyWithoutBank_codeNestedInput leaveRequests?: Prisma.LeaveRequestsUncheckedUpdateManyWithoutBank_codeNestedInput shifts?: Prisma.ShiftsUncheckedUpdateManyWithoutBank_codeNestedInput } export type BankCodesCreateWithoutShiftsInput = { type: string categorie: string modifier: number bank_code: string expenses?: Prisma.ExpensesCreateNestedManyWithoutBank_codeInput leaveRequests?: Prisma.LeaveRequestsCreateNestedManyWithoutBank_codeInput SchedulePresetShifts?: Prisma.SchedulePresetShiftsCreateNestedManyWithoutBank_codeInput } export type BankCodesUncheckedCreateWithoutShiftsInput = { id?: number type: string categorie: string modifier: number bank_code: string expenses?: Prisma.ExpensesUncheckedCreateNestedManyWithoutBank_codeInput leaveRequests?: Prisma.LeaveRequestsUncheckedCreateNestedManyWithoutBank_codeInput SchedulePresetShifts?: Prisma.SchedulePresetShiftsUncheckedCreateNestedManyWithoutBank_codeInput } export type BankCodesCreateOrConnectWithoutShiftsInput = { where: Prisma.BankCodesWhereUniqueInput create: Prisma.XOR } export type BankCodesUpsertWithoutShiftsInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.BankCodesWhereInput } export type BankCodesUpdateToOneWithWhereWithoutShiftsInput = { where?: Prisma.BankCodesWhereInput data: Prisma.XOR } export type BankCodesUpdateWithoutShiftsInput = { type?: Prisma.StringFieldUpdateOperationsInput | string categorie?: Prisma.StringFieldUpdateOperationsInput | string modifier?: Prisma.FloatFieldUpdateOperationsInput | number bank_code?: Prisma.StringFieldUpdateOperationsInput | string expenses?: Prisma.ExpensesUpdateManyWithoutBank_codeNestedInput leaveRequests?: Prisma.LeaveRequestsUpdateManyWithoutBank_codeNestedInput SchedulePresetShifts?: Prisma.SchedulePresetShiftsUpdateManyWithoutBank_codeNestedInput } export type BankCodesUncheckedUpdateWithoutShiftsInput = { id?: Prisma.IntFieldUpdateOperationsInput | number type?: Prisma.StringFieldUpdateOperationsInput | string categorie?: Prisma.StringFieldUpdateOperationsInput | string modifier?: Prisma.FloatFieldUpdateOperationsInput | number bank_code?: Prisma.StringFieldUpdateOperationsInput | string expenses?: Prisma.ExpensesUncheckedUpdateManyWithoutBank_codeNestedInput leaveRequests?: Prisma.LeaveRequestsUncheckedUpdateManyWithoutBank_codeNestedInput SchedulePresetShifts?: Prisma.SchedulePresetShiftsUncheckedUpdateManyWithoutBank_codeNestedInput } export type BankCodesCreateWithoutExpensesInput = { type: string categorie: string modifier: number bank_code: string leaveRequests?: Prisma.LeaveRequestsCreateNestedManyWithoutBank_codeInput SchedulePresetShifts?: Prisma.SchedulePresetShiftsCreateNestedManyWithoutBank_codeInput shifts?: Prisma.ShiftsCreateNestedManyWithoutBank_codeInput } export type BankCodesUncheckedCreateWithoutExpensesInput = { id?: number type: string categorie: string modifier: number bank_code: string leaveRequests?: Prisma.LeaveRequestsUncheckedCreateNestedManyWithoutBank_codeInput SchedulePresetShifts?: Prisma.SchedulePresetShiftsUncheckedCreateNestedManyWithoutBank_codeInput shifts?: Prisma.ShiftsUncheckedCreateNestedManyWithoutBank_codeInput } export type BankCodesCreateOrConnectWithoutExpensesInput = { where: Prisma.BankCodesWhereUniqueInput create: Prisma.XOR } export type BankCodesUpsertWithoutExpensesInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.BankCodesWhereInput } export type BankCodesUpdateToOneWithWhereWithoutExpensesInput = { where?: Prisma.BankCodesWhereInput data: Prisma.XOR } export type BankCodesUpdateWithoutExpensesInput = { type?: Prisma.StringFieldUpdateOperationsInput | string categorie?: Prisma.StringFieldUpdateOperationsInput | string modifier?: Prisma.FloatFieldUpdateOperationsInput | number bank_code?: Prisma.StringFieldUpdateOperationsInput | string leaveRequests?: Prisma.LeaveRequestsUpdateManyWithoutBank_codeNestedInput SchedulePresetShifts?: Prisma.SchedulePresetShiftsUpdateManyWithoutBank_codeNestedInput shifts?: Prisma.ShiftsUpdateManyWithoutBank_codeNestedInput } export type BankCodesUncheckedUpdateWithoutExpensesInput = { id?: Prisma.IntFieldUpdateOperationsInput | number type?: Prisma.StringFieldUpdateOperationsInput | string categorie?: Prisma.StringFieldUpdateOperationsInput | string modifier?: Prisma.FloatFieldUpdateOperationsInput | number bank_code?: Prisma.StringFieldUpdateOperationsInput | string leaveRequests?: Prisma.LeaveRequestsUncheckedUpdateManyWithoutBank_codeNestedInput SchedulePresetShifts?: Prisma.SchedulePresetShiftsUncheckedUpdateManyWithoutBank_codeNestedInput shifts?: Prisma.ShiftsUncheckedUpdateManyWithoutBank_codeNestedInput } /** * Count Type BankCodesCountOutputType */ export type BankCodesCountOutputType = { expenses: number leaveRequests: number SchedulePresetShifts: number shifts: number } export type BankCodesCountOutputTypeSelect = { expenses?: boolean | BankCodesCountOutputTypeCountExpensesArgs leaveRequests?: boolean | BankCodesCountOutputTypeCountLeaveRequestsArgs SchedulePresetShifts?: boolean | BankCodesCountOutputTypeCountSchedulePresetShiftsArgs shifts?: boolean | BankCodesCountOutputTypeCountShiftsArgs } /** * BankCodesCountOutputType without action */ export type BankCodesCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the BankCodesCountOutputType */ select?: Prisma.BankCodesCountOutputTypeSelect | null } /** * BankCodesCountOutputType without action */ export type BankCodesCountOutputTypeCountExpensesArgs = { where?: Prisma.ExpensesWhereInput } /** * BankCodesCountOutputType without action */ export type BankCodesCountOutputTypeCountLeaveRequestsArgs = { where?: Prisma.LeaveRequestsWhereInput } /** * BankCodesCountOutputType without action */ export type BankCodesCountOutputTypeCountSchedulePresetShiftsArgs = { where?: Prisma.SchedulePresetShiftsWhereInput } /** * BankCodesCountOutputType without action */ export type BankCodesCountOutputTypeCountShiftsArgs = { where?: Prisma.ShiftsWhereInput } export type BankCodesSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean type?: boolean categorie?: boolean modifier?: boolean bank_code?: boolean expenses?: boolean | Prisma.BankCodes$expensesArgs leaveRequests?: boolean | Prisma.BankCodes$leaveRequestsArgs SchedulePresetShifts?: boolean | Prisma.BankCodes$SchedulePresetShiftsArgs shifts?: boolean | Prisma.BankCodes$shiftsArgs _count?: boolean | Prisma.BankCodesCountOutputTypeDefaultArgs }, ExtArgs["result"]["bankCodes"]> export type BankCodesSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean type?: boolean categorie?: boolean modifier?: boolean bank_code?: boolean }, ExtArgs["result"]["bankCodes"]> export type BankCodesSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean type?: boolean categorie?: boolean modifier?: boolean bank_code?: boolean }, ExtArgs["result"]["bankCodes"]> export type BankCodesSelectScalar = { id?: boolean type?: boolean categorie?: boolean modifier?: boolean bank_code?: boolean } export type BankCodesOmit = runtime.Types.Extensions.GetOmit<"id" | "type" | "categorie" | "modifier" | "bank_code", ExtArgs["result"]["bankCodes"]> export type BankCodesInclude = { expenses?: boolean | Prisma.BankCodes$expensesArgs leaveRequests?: boolean | Prisma.BankCodes$leaveRequestsArgs SchedulePresetShifts?: boolean | Prisma.BankCodes$SchedulePresetShiftsArgs shifts?: boolean | Prisma.BankCodes$shiftsArgs _count?: boolean | Prisma.BankCodesCountOutputTypeDefaultArgs } export type BankCodesIncludeCreateManyAndReturn = {} export type BankCodesIncludeUpdateManyAndReturn = {} export type $BankCodesPayload = { name: "BankCodes" objects: { expenses: Prisma.$ExpensesPayload[] leaveRequests: Prisma.$LeaveRequestsPayload[] SchedulePresetShifts: Prisma.$SchedulePresetShiftsPayload[] shifts: Prisma.$ShiftsPayload[] } scalars: runtime.Types.Extensions.GetPayloadResult<{ id: number type: string categorie: string modifier: number bank_code: string }, ExtArgs["result"]["bankCodes"]> composites: {} } export type BankCodesGetPayload = runtime.Types.Result.GetResult export type BankCodesCountArgs = Omit & { select?: BankCodesCountAggregateInputType | true } export interface BankCodesDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['BankCodes'], meta: { name: 'BankCodes' } } /** * Find zero or one BankCodes that matches the filter. * @param {BankCodesFindUniqueArgs} args - Arguments to find a BankCodes * @example * // Get one BankCodes * const bankCodes = await prisma.bankCodes.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__BankCodesClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one BankCodes that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {BankCodesFindUniqueOrThrowArgs} args - Arguments to find a BankCodes * @example * // Get one BankCodes * const bankCodes = await prisma.bankCodes.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__BankCodesClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first BankCodes 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 {BankCodesFindFirstArgs} args - Arguments to find a BankCodes * @example * // Get one BankCodes * const bankCodes = await prisma.bankCodes.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__BankCodesClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first BankCodes 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 {BankCodesFindFirstOrThrowArgs} args - Arguments to find a BankCodes * @example * // Get one BankCodes * const bankCodes = await prisma.bankCodes.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__BankCodesClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more BankCodes 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 {BankCodesFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all BankCodes * const bankCodes = await prisma.bankCodes.findMany() * * // Get first 10 BankCodes * const bankCodes = await prisma.bankCodes.findMany({ take: 10 }) * * // Only select the `id` * const bankCodesWithIdOnly = await prisma.bankCodes.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a BankCodes. * @param {BankCodesCreateArgs} args - Arguments to create a BankCodes. * @example * // Create one BankCodes * const BankCodes = await prisma.bankCodes.create({ * data: { * // ... data to create a BankCodes * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__BankCodesClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many BankCodes. * @param {BankCodesCreateManyArgs} args - Arguments to create many BankCodes. * @example * // Create many BankCodes * const bankCodes = await prisma.bankCodes.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many BankCodes and returns the data saved in the database. * @param {BankCodesCreateManyAndReturnArgs} args - Arguments to create many BankCodes. * @example * // Create many BankCodes * const bankCodes = await prisma.bankCodes.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many BankCodes and only return the `id` * const bankCodesWithIdOnly = await prisma.bankCodes.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 BankCodes. * @param {BankCodesDeleteArgs} args - Arguments to delete one BankCodes. * @example * // Delete one BankCodes * const BankCodes = await prisma.bankCodes.delete({ * where: { * // ... filter to delete one BankCodes * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__BankCodesClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one BankCodes. * @param {BankCodesUpdateArgs} args - Arguments to update one BankCodes. * @example * // Update one BankCodes * const bankCodes = await prisma.bankCodes.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__BankCodesClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more BankCodes. * @param {BankCodesDeleteManyArgs} args - Arguments to filter BankCodes to delete. * @example * // Delete a few BankCodes * const { count } = await prisma.bankCodes.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more BankCodes. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {BankCodesUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many BankCodes * const bankCodes = await prisma.bankCodes.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more BankCodes and returns the data updated in the database. * @param {BankCodesUpdateManyAndReturnArgs} args - Arguments to update many BankCodes. * @example * // Update many BankCodes * const bankCodes = await prisma.bankCodes.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more BankCodes and only return the `id` * const bankCodesWithIdOnly = await prisma.bankCodes.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 BankCodes. * @param {BankCodesUpsertArgs} args - Arguments to update or create a BankCodes. * @example * // Update or create a BankCodes * const bankCodes = await prisma.bankCodes.upsert({ * create: { * // ... data to create a BankCodes * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the BankCodes we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__BankCodesClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of BankCodes. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {BankCodesCountArgs} args - Arguments to filter BankCodes to count. * @example * // Count the number of BankCodes * const count = await prisma.bankCodes.count({ * where: { * // ... the filter for the BankCodes 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 BankCodes. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {BankCodesAggregateArgs} 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 BankCodes. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {BankCodesGroupByArgs} 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 BankCodesGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: BankCodesGroupByArgs['orderBy'] } : { orderBy?: BankCodesGroupByArgs['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 ? GetBankCodesGroupByPayload : Prisma.PrismaPromise /** * Fields of the BankCodes model */ readonly fields: BankCodesFieldRefs; } /** * The delegate class that acts as a "Promise-like" for BankCodes. * 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__BankCodesClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" expenses = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> leaveRequests = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> SchedulePresetShifts = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> shifts = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> /** * 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 BankCodes model */ export interface BankCodesFieldRefs { readonly id: Prisma.FieldRef<"BankCodes", 'Int'> readonly type: Prisma.FieldRef<"BankCodes", 'String'> readonly categorie: Prisma.FieldRef<"BankCodes", 'String'> readonly modifier: Prisma.FieldRef<"BankCodes", 'Float'> readonly bank_code: Prisma.FieldRef<"BankCodes", 'String'> } // Custom InputTypes /** * BankCodes findUnique */ export type BankCodesFindUniqueArgs = { /** * Select specific fields to fetch from the BankCodes */ select?: Prisma.BankCodesSelect | null /** * Omit specific fields from the BankCodes */ omit?: Prisma.BankCodesOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.BankCodesInclude | null /** * Filter, which BankCodes to fetch. */ where: Prisma.BankCodesWhereUniqueInput } /** * BankCodes findUniqueOrThrow */ export type BankCodesFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the BankCodes */ select?: Prisma.BankCodesSelect | null /** * Omit specific fields from the BankCodes */ omit?: Prisma.BankCodesOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.BankCodesInclude | null /** * Filter, which BankCodes to fetch. */ where: Prisma.BankCodesWhereUniqueInput } /** * BankCodes findFirst */ export type BankCodesFindFirstArgs = { /** * Select specific fields to fetch from the BankCodes */ select?: Prisma.BankCodesSelect | null /** * Omit specific fields from the BankCodes */ omit?: Prisma.BankCodesOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.BankCodesInclude | null /** * Filter, which BankCodes to fetch. */ where?: Prisma.BankCodesWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of BankCodes to fetch. */ orderBy?: Prisma.BankCodesOrderByWithRelationInput | Prisma.BankCodesOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for BankCodes. */ cursor?: Prisma.BankCodesWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` BankCodes 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` BankCodes. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of BankCodes. */ distinct?: Prisma.BankCodesScalarFieldEnum | Prisma.BankCodesScalarFieldEnum[] } /** * BankCodes findFirstOrThrow */ export type BankCodesFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the BankCodes */ select?: Prisma.BankCodesSelect | null /** * Omit specific fields from the BankCodes */ omit?: Prisma.BankCodesOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.BankCodesInclude | null /** * Filter, which BankCodes to fetch. */ where?: Prisma.BankCodesWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of BankCodes to fetch. */ orderBy?: Prisma.BankCodesOrderByWithRelationInput | Prisma.BankCodesOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for BankCodes. */ cursor?: Prisma.BankCodesWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` BankCodes 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` BankCodes. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of BankCodes. */ distinct?: Prisma.BankCodesScalarFieldEnum | Prisma.BankCodesScalarFieldEnum[] } /** * BankCodes findMany */ export type BankCodesFindManyArgs = { /** * Select specific fields to fetch from the BankCodes */ select?: Prisma.BankCodesSelect | null /** * Omit specific fields from the BankCodes */ omit?: Prisma.BankCodesOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.BankCodesInclude | null /** * Filter, which BankCodes to fetch. */ where?: Prisma.BankCodesWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of BankCodes to fetch. */ orderBy?: Prisma.BankCodesOrderByWithRelationInput | Prisma.BankCodesOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing BankCodes. */ cursor?: Prisma.BankCodesWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` BankCodes 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` BankCodes. */ skip?: number distinct?: Prisma.BankCodesScalarFieldEnum | Prisma.BankCodesScalarFieldEnum[] } /** * BankCodes create */ export type BankCodesCreateArgs = { /** * Select specific fields to fetch from the BankCodes */ select?: Prisma.BankCodesSelect | null /** * Omit specific fields from the BankCodes */ omit?: Prisma.BankCodesOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.BankCodesInclude | null /** * The data needed to create a BankCodes. */ data: Prisma.XOR } /** * BankCodes createMany */ export type BankCodesCreateManyArgs = { /** * The data used to create many BankCodes. */ data: Prisma.BankCodesCreateManyInput | Prisma.BankCodesCreateManyInput[] skipDuplicates?: boolean } /** * BankCodes createManyAndReturn */ export type BankCodesCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the BankCodes */ select?: Prisma.BankCodesSelectCreateManyAndReturn | null /** * Omit specific fields from the BankCodes */ omit?: Prisma.BankCodesOmit | null /** * The data used to create many BankCodes. */ data: Prisma.BankCodesCreateManyInput | Prisma.BankCodesCreateManyInput[] skipDuplicates?: boolean } /** * BankCodes update */ export type BankCodesUpdateArgs = { /** * Select specific fields to fetch from the BankCodes */ select?: Prisma.BankCodesSelect | null /** * Omit specific fields from the BankCodes */ omit?: Prisma.BankCodesOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.BankCodesInclude | null /** * The data needed to update a BankCodes. */ data: Prisma.XOR /** * Choose, which BankCodes to update. */ where: Prisma.BankCodesWhereUniqueInput } /** * BankCodes updateMany */ export type BankCodesUpdateManyArgs = { /** * The data used to update BankCodes. */ data: Prisma.XOR /** * Filter which BankCodes to update */ where?: Prisma.BankCodesWhereInput /** * Limit how many BankCodes to update. */ limit?: number } /** * BankCodes updateManyAndReturn */ export type BankCodesUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the BankCodes */ select?: Prisma.BankCodesSelectUpdateManyAndReturn | null /** * Omit specific fields from the BankCodes */ omit?: Prisma.BankCodesOmit | null /** * The data used to update BankCodes. */ data: Prisma.XOR /** * Filter which BankCodes to update */ where?: Prisma.BankCodesWhereInput /** * Limit how many BankCodes to update. */ limit?: number } /** * BankCodes upsert */ export type BankCodesUpsertArgs = { /** * Select specific fields to fetch from the BankCodes */ select?: Prisma.BankCodesSelect | null /** * Omit specific fields from the BankCodes */ omit?: Prisma.BankCodesOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.BankCodesInclude | null /** * The filter to search for the BankCodes to update in case it exists. */ where: Prisma.BankCodesWhereUniqueInput /** * In case the BankCodes found by the `where` argument doesn't exist, create a new BankCodes with this data. */ create: Prisma.XOR /** * In case the BankCodes was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * BankCodes delete */ export type BankCodesDeleteArgs = { /** * Select specific fields to fetch from the BankCodes */ select?: Prisma.BankCodesSelect | null /** * Omit specific fields from the BankCodes */ omit?: Prisma.BankCodesOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.BankCodesInclude | null /** * Filter which BankCodes to delete. */ where: Prisma.BankCodesWhereUniqueInput } /** * BankCodes deleteMany */ export type BankCodesDeleteManyArgs = { /** * Filter which BankCodes to delete */ where?: Prisma.BankCodesWhereInput /** * Limit how many BankCodes to delete. */ limit?: number } /** * BankCodes.expenses */ export type BankCodes$expensesArgs = { /** * Select specific fields to fetch from the Expenses */ select?: Prisma.ExpensesSelect | null /** * Omit specific fields from the Expenses */ omit?: Prisma.ExpensesOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ExpensesInclude | null where?: Prisma.ExpensesWhereInput orderBy?: Prisma.ExpensesOrderByWithRelationInput | Prisma.ExpensesOrderByWithRelationInput[] cursor?: Prisma.ExpensesWhereUniqueInput take?: number skip?: number distinct?: Prisma.ExpensesScalarFieldEnum | Prisma.ExpensesScalarFieldEnum[] } /** * BankCodes.leaveRequests */ export type BankCodes$leaveRequestsArgs = { /** * Select specific fields to fetch from the LeaveRequests */ select?: Prisma.LeaveRequestsSelect | null /** * Omit specific fields from the LeaveRequests */ omit?: Prisma.LeaveRequestsOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.LeaveRequestsInclude | null where?: Prisma.LeaveRequestsWhereInput orderBy?: Prisma.LeaveRequestsOrderByWithRelationInput | Prisma.LeaveRequestsOrderByWithRelationInput[] cursor?: Prisma.LeaveRequestsWhereUniqueInput take?: number skip?: number distinct?: Prisma.LeaveRequestsScalarFieldEnum | Prisma.LeaveRequestsScalarFieldEnum[] } /** * BankCodes.SchedulePresetShifts */ export type BankCodes$SchedulePresetShiftsArgs = { /** * Select specific fields to fetch from the SchedulePresetShifts */ select?: Prisma.SchedulePresetShiftsSelect | null /** * Omit specific fields from the SchedulePresetShifts */ omit?: Prisma.SchedulePresetShiftsOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.SchedulePresetShiftsInclude | null where?: Prisma.SchedulePresetShiftsWhereInput orderBy?: Prisma.SchedulePresetShiftsOrderByWithRelationInput | Prisma.SchedulePresetShiftsOrderByWithRelationInput[] cursor?: Prisma.SchedulePresetShiftsWhereUniqueInput take?: number skip?: number distinct?: Prisma.SchedulePresetShiftsScalarFieldEnum | Prisma.SchedulePresetShiftsScalarFieldEnum[] } /** * BankCodes.shifts */ export type BankCodes$shiftsArgs = { /** * Select specific fields to fetch from the Shifts */ select?: Prisma.ShiftsSelect | null /** * Omit specific fields from the Shifts */ omit?: Prisma.ShiftsOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ShiftsInclude | null where?: Prisma.ShiftsWhereInput orderBy?: Prisma.ShiftsOrderByWithRelationInput | Prisma.ShiftsOrderByWithRelationInput[] cursor?: Prisma.ShiftsWhereUniqueInput take?: number skip?: number distinct?: Prisma.ShiftsScalarFieldEnum | Prisma.ShiftsScalarFieldEnum[] } /** * BankCodes without action */ export type BankCodesDefaultArgs = { /** * Select specific fields to fetch from the BankCodes */ select?: Prisma.BankCodesSelect | null /** * Omit specific fields from the BankCodes */ omit?: Prisma.BankCodesOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.BankCodesInclude | null }