1736 lines
65 KiB
TypeScript
1736 lines
65 KiB
TypeScript
|
|
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
/* eslint-disable */
|
|
// biome-ignore-all lint: generated file
|
|
// @ts-nocheck
|
|
/*
|
|
* This file exports the `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<Prisma.$BankCodesPayload>
|
|
|
|
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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* 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<T extends BankCodesAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateBankCodes]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateBankCodes[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateBankCodes[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type BankCodesGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
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<T extends BankCodesGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<BankCodesGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof BankCodesGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], BankCodesGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], BankCodesGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
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<Prisma.BankCodesCreateWithoutLeaveRequestsInput, Prisma.BankCodesUncheckedCreateWithoutLeaveRequestsInput>
|
|
connectOrCreate?: Prisma.BankCodesCreateOrConnectWithoutLeaveRequestsInput
|
|
connect?: Prisma.BankCodesWhereUniqueInput
|
|
}
|
|
|
|
export type BankCodesUpdateOneRequiredWithoutLeaveRequestsNestedInput = {
|
|
create?: Prisma.XOR<Prisma.BankCodesCreateWithoutLeaveRequestsInput, Prisma.BankCodesUncheckedCreateWithoutLeaveRequestsInput>
|
|
connectOrCreate?: Prisma.BankCodesCreateOrConnectWithoutLeaveRequestsInput
|
|
upsert?: Prisma.BankCodesUpsertWithoutLeaveRequestsInput
|
|
connect?: Prisma.BankCodesWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.BankCodesUpdateToOneWithWhereWithoutLeaveRequestsInput, Prisma.BankCodesUpdateWithoutLeaveRequestsInput>, Prisma.BankCodesUncheckedUpdateWithoutLeaveRequestsInput>
|
|
}
|
|
|
|
export type BankCodesCreateNestedOneWithoutSchedulePresetShiftsInput = {
|
|
create?: Prisma.XOR<Prisma.BankCodesCreateWithoutSchedulePresetShiftsInput, Prisma.BankCodesUncheckedCreateWithoutSchedulePresetShiftsInput>
|
|
connectOrCreate?: Prisma.BankCodesCreateOrConnectWithoutSchedulePresetShiftsInput
|
|
connect?: Prisma.BankCodesWhereUniqueInput
|
|
}
|
|
|
|
export type BankCodesUpdateOneRequiredWithoutSchedulePresetShiftsNestedInput = {
|
|
create?: Prisma.XOR<Prisma.BankCodesCreateWithoutSchedulePresetShiftsInput, Prisma.BankCodesUncheckedCreateWithoutSchedulePresetShiftsInput>
|
|
connectOrCreate?: Prisma.BankCodesCreateOrConnectWithoutSchedulePresetShiftsInput
|
|
upsert?: Prisma.BankCodesUpsertWithoutSchedulePresetShiftsInput
|
|
connect?: Prisma.BankCodesWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.BankCodesUpdateToOneWithWhereWithoutSchedulePresetShiftsInput, Prisma.BankCodesUpdateWithoutSchedulePresetShiftsInput>, Prisma.BankCodesUncheckedUpdateWithoutSchedulePresetShiftsInput>
|
|
}
|
|
|
|
export type BankCodesCreateNestedOneWithoutShiftsInput = {
|
|
create?: Prisma.XOR<Prisma.BankCodesCreateWithoutShiftsInput, Prisma.BankCodesUncheckedCreateWithoutShiftsInput>
|
|
connectOrCreate?: Prisma.BankCodesCreateOrConnectWithoutShiftsInput
|
|
connect?: Prisma.BankCodesWhereUniqueInput
|
|
}
|
|
|
|
export type BankCodesUpdateOneRequiredWithoutShiftsNestedInput = {
|
|
create?: Prisma.XOR<Prisma.BankCodesCreateWithoutShiftsInput, Prisma.BankCodesUncheckedCreateWithoutShiftsInput>
|
|
connectOrCreate?: Prisma.BankCodesCreateOrConnectWithoutShiftsInput
|
|
upsert?: Prisma.BankCodesUpsertWithoutShiftsInput
|
|
connect?: Prisma.BankCodesWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.BankCodesUpdateToOneWithWhereWithoutShiftsInput, Prisma.BankCodesUpdateWithoutShiftsInput>, Prisma.BankCodesUncheckedUpdateWithoutShiftsInput>
|
|
}
|
|
|
|
export type FloatFieldUpdateOperationsInput = {
|
|
set?: number
|
|
increment?: number
|
|
decrement?: number
|
|
multiply?: number
|
|
divide?: number
|
|
}
|
|
|
|
export type BankCodesCreateNestedOneWithoutExpensesInput = {
|
|
create?: Prisma.XOR<Prisma.BankCodesCreateWithoutExpensesInput, Prisma.BankCodesUncheckedCreateWithoutExpensesInput>
|
|
connectOrCreate?: Prisma.BankCodesCreateOrConnectWithoutExpensesInput
|
|
connect?: Prisma.BankCodesWhereUniqueInput
|
|
}
|
|
|
|
export type BankCodesUpdateOneRequiredWithoutExpensesNestedInput = {
|
|
create?: Prisma.XOR<Prisma.BankCodesCreateWithoutExpensesInput, Prisma.BankCodesUncheckedCreateWithoutExpensesInput>
|
|
connectOrCreate?: Prisma.BankCodesCreateOrConnectWithoutExpensesInput
|
|
upsert?: Prisma.BankCodesUpsertWithoutExpensesInput
|
|
connect?: Prisma.BankCodesWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.BankCodesUpdateToOneWithWhereWithoutExpensesInput, Prisma.BankCodesUpdateWithoutExpensesInput>, 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<Prisma.BankCodesCreateWithoutLeaveRequestsInput, Prisma.BankCodesUncheckedCreateWithoutLeaveRequestsInput>
|
|
}
|
|
|
|
export type BankCodesUpsertWithoutLeaveRequestsInput = {
|
|
update: Prisma.XOR<Prisma.BankCodesUpdateWithoutLeaveRequestsInput, Prisma.BankCodesUncheckedUpdateWithoutLeaveRequestsInput>
|
|
create: Prisma.XOR<Prisma.BankCodesCreateWithoutLeaveRequestsInput, Prisma.BankCodesUncheckedCreateWithoutLeaveRequestsInput>
|
|
where?: Prisma.BankCodesWhereInput
|
|
}
|
|
|
|
export type BankCodesUpdateToOneWithWhereWithoutLeaveRequestsInput = {
|
|
where?: Prisma.BankCodesWhereInput
|
|
data: Prisma.XOR<Prisma.BankCodesUpdateWithoutLeaveRequestsInput, Prisma.BankCodesUncheckedUpdateWithoutLeaveRequestsInput>
|
|
}
|
|
|
|
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<Prisma.BankCodesCreateWithoutSchedulePresetShiftsInput, Prisma.BankCodesUncheckedCreateWithoutSchedulePresetShiftsInput>
|
|
}
|
|
|
|
export type BankCodesUpsertWithoutSchedulePresetShiftsInput = {
|
|
update: Prisma.XOR<Prisma.BankCodesUpdateWithoutSchedulePresetShiftsInput, Prisma.BankCodesUncheckedUpdateWithoutSchedulePresetShiftsInput>
|
|
create: Prisma.XOR<Prisma.BankCodesCreateWithoutSchedulePresetShiftsInput, Prisma.BankCodesUncheckedCreateWithoutSchedulePresetShiftsInput>
|
|
where?: Prisma.BankCodesWhereInput
|
|
}
|
|
|
|
export type BankCodesUpdateToOneWithWhereWithoutSchedulePresetShiftsInput = {
|
|
where?: Prisma.BankCodesWhereInput
|
|
data: Prisma.XOR<Prisma.BankCodesUpdateWithoutSchedulePresetShiftsInput, Prisma.BankCodesUncheckedUpdateWithoutSchedulePresetShiftsInput>
|
|
}
|
|
|
|
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<Prisma.BankCodesCreateWithoutShiftsInput, Prisma.BankCodesUncheckedCreateWithoutShiftsInput>
|
|
}
|
|
|
|
export type BankCodesUpsertWithoutShiftsInput = {
|
|
update: Prisma.XOR<Prisma.BankCodesUpdateWithoutShiftsInput, Prisma.BankCodesUncheckedUpdateWithoutShiftsInput>
|
|
create: Prisma.XOR<Prisma.BankCodesCreateWithoutShiftsInput, Prisma.BankCodesUncheckedCreateWithoutShiftsInput>
|
|
where?: Prisma.BankCodesWhereInput
|
|
}
|
|
|
|
export type BankCodesUpdateToOneWithWhereWithoutShiftsInput = {
|
|
where?: Prisma.BankCodesWhereInput
|
|
data: Prisma.XOR<Prisma.BankCodesUpdateWithoutShiftsInput, Prisma.BankCodesUncheckedUpdateWithoutShiftsInput>
|
|
}
|
|
|
|
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<Prisma.BankCodesCreateWithoutExpensesInput, Prisma.BankCodesUncheckedCreateWithoutExpensesInput>
|
|
}
|
|
|
|
export type BankCodesUpsertWithoutExpensesInput = {
|
|
update: Prisma.XOR<Prisma.BankCodesUpdateWithoutExpensesInput, Prisma.BankCodesUncheckedUpdateWithoutExpensesInput>
|
|
create: Prisma.XOR<Prisma.BankCodesCreateWithoutExpensesInput, Prisma.BankCodesUncheckedCreateWithoutExpensesInput>
|
|
where?: Prisma.BankCodesWhereInput
|
|
}
|
|
|
|
export type BankCodesUpdateToOneWithWhereWithoutExpensesInput = {
|
|
where?: Prisma.BankCodesWhereInput
|
|
data: Prisma.XOR<Prisma.BankCodesUpdateWithoutExpensesInput, Prisma.BankCodesUncheckedUpdateWithoutExpensesInput>
|
|
}
|
|
|
|
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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
expenses?: boolean | BankCodesCountOutputTypeCountExpensesArgs
|
|
leaveRequests?: boolean | BankCodesCountOutputTypeCountLeaveRequestsArgs
|
|
SchedulePresetShifts?: boolean | BankCodesCountOutputTypeCountSchedulePresetShiftsArgs
|
|
shifts?: boolean | BankCodesCountOutputTypeCountShiftsArgs
|
|
}
|
|
|
|
/**
|
|
* BankCodesCountOutputType without action
|
|
*/
|
|
export type BankCodesCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the BankCodesCountOutputType
|
|
*/
|
|
select?: Prisma.BankCodesCountOutputTypeSelect<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* BankCodesCountOutputType without action
|
|
*/
|
|
export type BankCodesCountOutputTypeCountExpensesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.ExpensesWhereInput
|
|
}
|
|
|
|
/**
|
|
* BankCodesCountOutputType without action
|
|
*/
|
|
export type BankCodesCountOutputTypeCountLeaveRequestsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.LeaveRequestsWhereInput
|
|
}
|
|
|
|
/**
|
|
* BankCodesCountOutputType without action
|
|
*/
|
|
export type BankCodesCountOutputTypeCountSchedulePresetShiftsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.SchedulePresetShiftsWhereInput
|
|
}
|
|
|
|
/**
|
|
* BankCodesCountOutputType without action
|
|
*/
|
|
export type BankCodesCountOutputTypeCountShiftsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.ShiftsWhereInput
|
|
}
|
|
|
|
|
|
export type BankCodesSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
type?: boolean
|
|
categorie?: boolean
|
|
modifier?: boolean
|
|
bank_code?: boolean
|
|
expenses?: boolean | Prisma.BankCodes$expensesArgs<ExtArgs>
|
|
leaveRequests?: boolean | Prisma.BankCodes$leaveRequestsArgs<ExtArgs>
|
|
SchedulePresetShifts?: boolean | Prisma.BankCodes$SchedulePresetShiftsArgs<ExtArgs>
|
|
shifts?: boolean | Prisma.BankCodes$shiftsArgs<ExtArgs>
|
|
_count?: boolean | Prisma.BankCodesCountOutputTypeDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["bankCodes"]>
|
|
|
|
export type BankCodesSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
type?: boolean
|
|
categorie?: boolean
|
|
modifier?: boolean
|
|
bank_code?: boolean
|
|
}, ExtArgs["result"]["bankCodes"]>
|
|
|
|
export type BankCodesSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "type" | "categorie" | "modifier" | "bank_code", ExtArgs["result"]["bankCodes"]>
|
|
export type BankCodesInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
expenses?: boolean | Prisma.BankCodes$expensesArgs<ExtArgs>
|
|
leaveRequests?: boolean | Prisma.BankCodes$leaveRequestsArgs<ExtArgs>
|
|
SchedulePresetShifts?: boolean | Prisma.BankCodes$SchedulePresetShiftsArgs<ExtArgs>
|
|
shifts?: boolean | Prisma.BankCodes$shiftsArgs<ExtArgs>
|
|
_count?: boolean | Prisma.BankCodesCountOutputTypeDefaultArgs<ExtArgs>
|
|
}
|
|
export type BankCodesIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
|
|
export type BankCodesIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
|
|
|
|
export type $BankCodesPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "BankCodes"
|
|
objects: {
|
|
expenses: Prisma.$ExpensesPayload<ExtArgs>[]
|
|
leaveRequests: Prisma.$LeaveRequestsPayload<ExtArgs>[]
|
|
SchedulePresetShifts: Prisma.$SchedulePresetShiftsPayload<ExtArgs>[]
|
|
shifts: Prisma.$ShiftsPayload<ExtArgs>[]
|
|
}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: number
|
|
type: string
|
|
categorie: string
|
|
modifier: number
|
|
bank_code: string
|
|
}, ExtArgs["result"]["bankCodes"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type BankCodesGetPayload<S extends boolean | null | undefined | BankCodesDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$BankCodesPayload, S>
|
|
|
|
export type BankCodesCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<BankCodesFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: BankCodesCountAggregateInputType | true
|
|
}
|
|
|
|
export interface BankCodesDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['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<T extends BankCodesFindUniqueArgs>(args: Prisma.SelectSubset<T, BankCodesFindUniqueArgs<ExtArgs>>): Prisma.Prisma__BankCodesClient<runtime.Types.Result.GetResult<Prisma.$BankCodesPayload<ExtArgs>, 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<T extends BankCodesFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, BankCodesFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__BankCodesClient<runtime.Types.Result.GetResult<Prisma.$BankCodesPayload<ExtArgs>, 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<T extends BankCodesFindFirstArgs>(args?: Prisma.SelectSubset<T, BankCodesFindFirstArgs<ExtArgs>>): Prisma.Prisma__BankCodesClient<runtime.Types.Result.GetResult<Prisma.$BankCodesPayload<ExtArgs>, 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<T extends BankCodesFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, BankCodesFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__BankCodesClient<runtime.Types.Result.GetResult<Prisma.$BankCodesPayload<ExtArgs>, 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<T extends BankCodesFindManyArgs>(args?: Prisma.SelectSubset<T, BankCodesFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BankCodesPayload<ExtArgs>, 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<T extends BankCodesCreateArgs>(args: Prisma.SelectSubset<T, BankCodesCreateArgs<ExtArgs>>): Prisma.Prisma__BankCodesClient<runtime.Types.Result.GetResult<Prisma.$BankCodesPayload<ExtArgs>, 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<T extends BankCodesCreateManyArgs>(args?: Prisma.SelectSubset<T, BankCodesCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends BankCodesCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, BankCodesCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BankCodesPayload<ExtArgs>, 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<T extends BankCodesDeleteArgs>(args: Prisma.SelectSubset<T, BankCodesDeleteArgs<ExtArgs>>): Prisma.Prisma__BankCodesClient<runtime.Types.Result.GetResult<Prisma.$BankCodesPayload<ExtArgs>, 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<T extends BankCodesUpdateArgs>(args: Prisma.SelectSubset<T, BankCodesUpdateArgs<ExtArgs>>): Prisma.Prisma__BankCodesClient<runtime.Types.Result.GetResult<Prisma.$BankCodesPayload<ExtArgs>, 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<T extends BankCodesDeleteManyArgs>(args?: Prisma.SelectSubset<T, BankCodesDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends BankCodesUpdateManyArgs>(args: Prisma.SelectSubset<T, BankCodesUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends BankCodesUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, BankCodesUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BankCodesPayload<ExtArgs>, 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<T extends BankCodesUpsertArgs>(args: Prisma.SelectSubset<T, BankCodesUpsertArgs<ExtArgs>>): Prisma.Prisma__BankCodesClient<runtime.Types.Result.GetResult<Prisma.$BankCodesPayload<ExtArgs>, 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<T extends BankCodesCountArgs>(
|
|
args?: Prisma.Subset<T, BankCodesCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], BankCodesCountAggregateOutputType>
|
|
: 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<T extends BankCodesAggregateArgs>(args: Prisma.Subset<T, BankCodesAggregateArgs>): Prisma.PrismaPromise<GetBankCodesAggregateType<T>>
|
|
|
|
/**
|
|
* 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<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: BankCodesGroupByArgs['orderBy'] }
|
|
: { orderBy?: BankCodesGroupByArgs['orderBy'] },
|
|
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
InputErrors extends ByEmpty extends Prisma.True
|
|
? `Error: "by" must not be empty.`
|
|
: HavingValid extends Prisma.False
|
|
? {
|
|
[P in HavingFields]: P extends ByFields
|
|
? never
|
|
: P extends string
|
|
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
: [
|
|
Error,
|
|
'Field ',
|
|
P,
|
|
` in "having" needs to be provided in "by"`,
|
|
]
|
|
}[HavingFields]
|
|
: 'take' extends Prisma.Keys<T>
|
|
? 'orderBy' extends Prisma.Keys<T>
|
|
? ByValid extends Prisma.True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
: 'skip' extends Prisma.Keys<T>
|
|
? 'orderBy' extends Prisma.Keys<T>
|
|
? ByValid extends Prisma.True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
: ByValid extends Prisma.True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
>(args: Prisma.SubsetIntersection<T, BankCodesGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetBankCodesGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* 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<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
expenses<T extends Prisma.BankCodes$expensesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.BankCodes$expensesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ExpensesPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
leaveRequests<T extends Prisma.BankCodes$leaveRequestsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.BankCodes$leaveRequestsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$LeaveRequestsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
SchedulePresetShifts<T extends Prisma.BankCodes$SchedulePresetShiftsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.BankCodes$SchedulePresetShiftsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SchedulePresetShiftsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
shifts<T extends Prisma.BankCodes$shiftsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.BankCodes$shiftsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ShiftsPayload<ExtArgs>, 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<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
|
|
/**
|
|
* Attaches a callback for only the rejection of the Promise.
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
/**
|
|
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
* resolved value cannot be modified from the callback.
|
|
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
* Fields of the 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the BankCodes
|
|
*/
|
|
select?: Prisma.BankCodesSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the BankCodes
|
|
*/
|
|
omit?: Prisma.BankCodesOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.BankCodesInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which BankCodes to fetch.
|
|
*/
|
|
where: Prisma.BankCodesWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* BankCodes findUniqueOrThrow
|
|
*/
|
|
export type BankCodesFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the BankCodes
|
|
*/
|
|
select?: Prisma.BankCodesSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the BankCodes
|
|
*/
|
|
omit?: Prisma.BankCodesOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.BankCodesInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which BankCodes to fetch.
|
|
*/
|
|
where: Prisma.BankCodesWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* BankCodes findFirst
|
|
*/
|
|
export type BankCodesFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the BankCodes
|
|
*/
|
|
select?: Prisma.BankCodesSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the BankCodes
|
|
*/
|
|
omit?: Prisma.BankCodesOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.BankCodesInclude<ExtArgs> | 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the BankCodes
|
|
*/
|
|
select?: Prisma.BankCodesSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the BankCodes
|
|
*/
|
|
omit?: Prisma.BankCodesOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.BankCodesInclude<ExtArgs> | 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the BankCodes
|
|
*/
|
|
select?: Prisma.BankCodesSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the BankCodes
|
|
*/
|
|
omit?: Prisma.BankCodesOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.BankCodesInclude<ExtArgs> | 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the BankCodes
|
|
*/
|
|
select?: Prisma.BankCodesSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the BankCodes
|
|
*/
|
|
omit?: Prisma.BankCodesOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.BankCodesInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a BankCodes.
|
|
*/
|
|
data: Prisma.XOR<Prisma.BankCodesCreateInput, Prisma.BankCodesUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* BankCodes createMany
|
|
*/
|
|
export type BankCodesCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many BankCodes.
|
|
*/
|
|
data: Prisma.BankCodesCreateManyInput | Prisma.BankCodesCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* BankCodes createManyAndReturn
|
|
*/
|
|
export type BankCodesCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the BankCodes
|
|
*/
|
|
select?: Prisma.BankCodesSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the BankCodes
|
|
*/
|
|
omit?: Prisma.BankCodesOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to create many BankCodes.
|
|
*/
|
|
data: Prisma.BankCodesCreateManyInput | Prisma.BankCodesCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* BankCodes update
|
|
*/
|
|
export type BankCodesUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the BankCodes
|
|
*/
|
|
select?: Prisma.BankCodesSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the BankCodes
|
|
*/
|
|
omit?: Prisma.BankCodesOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.BankCodesInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a BankCodes.
|
|
*/
|
|
data: Prisma.XOR<Prisma.BankCodesUpdateInput, Prisma.BankCodesUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which BankCodes to update.
|
|
*/
|
|
where: Prisma.BankCodesWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* BankCodes updateMany
|
|
*/
|
|
export type BankCodesUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update BankCodes.
|
|
*/
|
|
data: Prisma.XOR<Prisma.BankCodesUpdateManyMutationInput, Prisma.BankCodesUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which BankCodes to update
|
|
*/
|
|
where?: Prisma.BankCodesWhereInput
|
|
/**
|
|
* Limit how many BankCodes to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* BankCodes updateManyAndReturn
|
|
*/
|
|
export type BankCodesUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the BankCodes
|
|
*/
|
|
select?: Prisma.BankCodesSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the BankCodes
|
|
*/
|
|
omit?: Prisma.BankCodesOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update BankCodes.
|
|
*/
|
|
data: Prisma.XOR<Prisma.BankCodesUpdateManyMutationInput, Prisma.BankCodesUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which BankCodes to update
|
|
*/
|
|
where?: Prisma.BankCodesWhereInput
|
|
/**
|
|
* Limit how many BankCodes to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* BankCodes upsert
|
|
*/
|
|
export type BankCodesUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the BankCodes
|
|
*/
|
|
select?: Prisma.BankCodesSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the BankCodes
|
|
*/
|
|
omit?: Prisma.BankCodesOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.BankCodesInclude<ExtArgs> | 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<Prisma.BankCodesCreateInput, Prisma.BankCodesUncheckedCreateInput>
|
|
/**
|
|
* In case the BankCodes was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.BankCodesUpdateInput, Prisma.BankCodesUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* BankCodes delete
|
|
*/
|
|
export type BankCodesDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the BankCodes
|
|
*/
|
|
select?: Prisma.BankCodesSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the BankCodes
|
|
*/
|
|
omit?: Prisma.BankCodesOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.BankCodesInclude<ExtArgs> | null
|
|
/**
|
|
* Filter which BankCodes to delete.
|
|
*/
|
|
where: Prisma.BankCodesWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* BankCodes deleteMany
|
|
*/
|
|
export type BankCodesDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which BankCodes to delete
|
|
*/
|
|
where?: Prisma.BankCodesWhereInput
|
|
/**
|
|
* Limit how many BankCodes to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* BankCodes.expenses
|
|
*/
|
|
export type BankCodes$expensesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Expenses
|
|
*/
|
|
select?: Prisma.ExpensesSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Expenses
|
|
*/
|
|
omit?: Prisma.ExpensesOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.ExpensesInclude<ExtArgs> | 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the LeaveRequests
|
|
*/
|
|
select?: Prisma.LeaveRequestsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the LeaveRequests
|
|
*/
|
|
omit?: Prisma.LeaveRequestsOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.LeaveRequestsInclude<ExtArgs> | 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the SchedulePresetShifts
|
|
*/
|
|
select?: Prisma.SchedulePresetShiftsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the SchedulePresetShifts
|
|
*/
|
|
omit?: Prisma.SchedulePresetShiftsOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.SchedulePresetShiftsInclude<ExtArgs> | 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Shifts
|
|
*/
|
|
select?: Prisma.ShiftsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Shifts
|
|
*/
|
|
omit?: Prisma.ShiftsOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.ShiftsInclude<ExtArgs> | 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the BankCodes
|
|
*/
|
|
select?: Prisma.BankCodesSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the BankCodes
|
|
*/
|
|
omit?: Prisma.BankCodesOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.BankCodesInclude<ExtArgs> | null
|
|
}
|