/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `SchedulePresetShifts` 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 SchedulePresetShifts * */ export type SchedulePresetShiftsModel = runtime.Types.Result.DefaultSelection export type AggregateSchedulePresetShifts = { _count: SchedulePresetShiftsCountAggregateOutputType | null _avg: SchedulePresetShiftsAvgAggregateOutputType | null _sum: SchedulePresetShiftsSumAggregateOutputType | null _min: SchedulePresetShiftsMinAggregateOutputType | null _max: SchedulePresetShiftsMaxAggregateOutputType | null } export type SchedulePresetShiftsAvgAggregateOutputType = { id: number | null preset_id: number | null bank_code_id: number | null } export type SchedulePresetShiftsSumAggregateOutputType = { id: number | null preset_id: number | null bank_code_id: number | null } export type SchedulePresetShiftsMinAggregateOutputType = { id: number | null preset_id: number | null bank_code_id: number | null start_time: Date | null end_time: Date | null is_remote: boolean | null week_day: $Enums.Weekday | null } export type SchedulePresetShiftsMaxAggregateOutputType = { id: number | null preset_id: number | null bank_code_id: number | null start_time: Date | null end_time: Date | null is_remote: boolean | null week_day: $Enums.Weekday | null } export type SchedulePresetShiftsCountAggregateOutputType = { id: number preset_id: number bank_code_id: number start_time: number end_time: number is_remote: number week_day: number _all: number } export type SchedulePresetShiftsAvgAggregateInputType = { id?: true preset_id?: true bank_code_id?: true } export type SchedulePresetShiftsSumAggregateInputType = { id?: true preset_id?: true bank_code_id?: true } export type SchedulePresetShiftsMinAggregateInputType = { id?: true preset_id?: true bank_code_id?: true start_time?: true end_time?: true is_remote?: true week_day?: true } export type SchedulePresetShiftsMaxAggregateInputType = { id?: true preset_id?: true bank_code_id?: true start_time?: true end_time?: true is_remote?: true week_day?: true } export type SchedulePresetShiftsCountAggregateInputType = { id?: true preset_id?: true bank_code_id?: true start_time?: true end_time?: true is_remote?: true week_day?: true _all?: true } export type SchedulePresetShiftsAggregateArgs = { /** * Filter which SchedulePresetShifts to aggregate. */ where?: Prisma.SchedulePresetShiftsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SchedulePresetShifts to fetch. */ orderBy?: Prisma.SchedulePresetShiftsOrderByWithRelationInput | Prisma.SchedulePresetShiftsOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.SchedulePresetShiftsWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SchedulePresetShifts 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` SchedulePresetShifts. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned SchedulePresetShifts **/ _count?: true | SchedulePresetShiftsCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: SchedulePresetShiftsAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: SchedulePresetShiftsSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: SchedulePresetShiftsMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: SchedulePresetShiftsMaxAggregateInputType } export type GetSchedulePresetShiftsAggregateType = { [P in keyof T & keyof AggregateSchedulePresetShifts]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type SchedulePresetShiftsGroupByArgs = { where?: Prisma.SchedulePresetShiftsWhereInput orderBy?: Prisma.SchedulePresetShiftsOrderByWithAggregationInput | Prisma.SchedulePresetShiftsOrderByWithAggregationInput[] by: Prisma.SchedulePresetShiftsScalarFieldEnum[] | Prisma.SchedulePresetShiftsScalarFieldEnum having?: Prisma.SchedulePresetShiftsScalarWhereWithAggregatesInput take?: number skip?: number _count?: SchedulePresetShiftsCountAggregateInputType | true _avg?: SchedulePresetShiftsAvgAggregateInputType _sum?: SchedulePresetShiftsSumAggregateInputType _min?: SchedulePresetShiftsMinAggregateInputType _max?: SchedulePresetShiftsMaxAggregateInputType } export type SchedulePresetShiftsGroupByOutputType = { id: number preset_id: number bank_code_id: number start_time: Date end_time: Date is_remote: boolean week_day: $Enums.Weekday _count: SchedulePresetShiftsCountAggregateOutputType | null _avg: SchedulePresetShiftsAvgAggregateOutputType | null _sum: SchedulePresetShiftsSumAggregateOutputType | null _min: SchedulePresetShiftsMinAggregateOutputType | null _max: SchedulePresetShiftsMaxAggregateOutputType | null } type GetSchedulePresetShiftsGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof SchedulePresetShiftsGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type SchedulePresetShiftsWhereInput = { AND?: Prisma.SchedulePresetShiftsWhereInput | Prisma.SchedulePresetShiftsWhereInput[] OR?: Prisma.SchedulePresetShiftsWhereInput[] NOT?: Prisma.SchedulePresetShiftsWhereInput | Prisma.SchedulePresetShiftsWhereInput[] id?: Prisma.IntFilter<"SchedulePresetShifts"> | number preset_id?: Prisma.IntFilter<"SchedulePresetShifts"> | number bank_code_id?: Prisma.IntFilter<"SchedulePresetShifts"> | number start_time?: Prisma.DateTimeFilter<"SchedulePresetShifts"> | Date | string end_time?: Prisma.DateTimeFilter<"SchedulePresetShifts"> | Date | string is_remote?: Prisma.BoolFilter<"SchedulePresetShifts"> | boolean week_day?: Prisma.EnumWeekdayFilter<"SchedulePresetShifts"> | $Enums.Weekday bank_code?: Prisma.XOR preset?: Prisma.XOR } export type SchedulePresetShiftsOrderByWithRelationInput = { id?: Prisma.SortOrder preset_id?: Prisma.SortOrder bank_code_id?: Prisma.SortOrder start_time?: Prisma.SortOrder end_time?: Prisma.SortOrder is_remote?: Prisma.SortOrder week_day?: Prisma.SortOrder bank_code?: Prisma.BankCodesOrderByWithRelationInput preset?: Prisma.SchedulePresetsOrderByWithRelationInput } export type SchedulePresetShiftsWhereUniqueInput = Prisma.AtLeast<{ id?: number AND?: Prisma.SchedulePresetShiftsWhereInput | Prisma.SchedulePresetShiftsWhereInput[] OR?: Prisma.SchedulePresetShiftsWhereInput[] NOT?: Prisma.SchedulePresetShiftsWhereInput | Prisma.SchedulePresetShiftsWhereInput[] preset_id?: Prisma.IntFilter<"SchedulePresetShifts"> | number bank_code_id?: Prisma.IntFilter<"SchedulePresetShifts"> | number start_time?: Prisma.DateTimeFilter<"SchedulePresetShifts"> | Date | string end_time?: Prisma.DateTimeFilter<"SchedulePresetShifts"> | Date | string is_remote?: Prisma.BoolFilter<"SchedulePresetShifts"> | boolean week_day?: Prisma.EnumWeekdayFilter<"SchedulePresetShifts"> | $Enums.Weekday bank_code?: Prisma.XOR preset?: Prisma.XOR }, "id"> export type SchedulePresetShiftsOrderByWithAggregationInput = { id?: Prisma.SortOrder preset_id?: Prisma.SortOrder bank_code_id?: Prisma.SortOrder start_time?: Prisma.SortOrder end_time?: Prisma.SortOrder is_remote?: Prisma.SortOrder week_day?: Prisma.SortOrder _count?: Prisma.SchedulePresetShiftsCountOrderByAggregateInput _avg?: Prisma.SchedulePresetShiftsAvgOrderByAggregateInput _max?: Prisma.SchedulePresetShiftsMaxOrderByAggregateInput _min?: Prisma.SchedulePresetShiftsMinOrderByAggregateInput _sum?: Prisma.SchedulePresetShiftsSumOrderByAggregateInput } export type SchedulePresetShiftsScalarWhereWithAggregatesInput = { AND?: Prisma.SchedulePresetShiftsScalarWhereWithAggregatesInput | Prisma.SchedulePresetShiftsScalarWhereWithAggregatesInput[] OR?: Prisma.SchedulePresetShiftsScalarWhereWithAggregatesInput[] NOT?: Prisma.SchedulePresetShiftsScalarWhereWithAggregatesInput | Prisma.SchedulePresetShiftsScalarWhereWithAggregatesInput[] id?: Prisma.IntWithAggregatesFilter<"SchedulePresetShifts"> | number preset_id?: Prisma.IntWithAggregatesFilter<"SchedulePresetShifts"> | number bank_code_id?: Prisma.IntWithAggregatesFilter<"SchedulePresetShifts"> | number start_time?: Prisma.DateTimeWithAggregatesFilter<"SchedulePresetShifts"> | Date | string end_time?: Prisma.DateTimeWithAggregatesFilter<"SchedulePresetShifts"> | Date | string is_remote?: Prisma.BoolWithAggregatesFilter<"SchedulePresetShifts"> | boolean week_day?: Prisma.EnumWeekdayWithAggregatesFilter<"SchedulePresetShifts"> | $Enums.Weekday } export type SchedulePresetShiftsCreateInput = { start_time: Date | string end_time: Date | string is_remote?: boolean week_day: $Enums.Weekday bank_code: Prisma.BankCodesCreateNestedOneWithoutSchedulePresetShiftsInput preset: Prisma.SchedulePresetsCreateNestedOneWithoutShiftsInput } export type SchedulePresetShiftsUncheckedCreateInput = { id?: number preset_id: number bank_code_id: number start_time: Date | string end_time: Date | string is_remote?: boolean week_day: $Enums.Weekday } export type SchedulePresetShiftsUpdateInput = { start_time?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string end_time?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string is_remote?: Prisma.BoolFieldUpdateOperationsInput | boolean week_day?: Prisma.EnumWeekdayFieldUpdateOperationsInput | $Enums.Weekday bank_code?: Prisma.BankCodesUpdateOneRequiredWithoutSchedulePresetShiftsNestedInput preset?: Prisma.SchedulePresetsUpdateOneRequiredWithoutShiftsNestedInput } export type SchedulePresetShiftsUncheckedUpdateInput = { id?: Prisma.IntFieldUpdateOperationsInput | number preset_id?: Prisma.IntFieldUpdateOperationsInput | number bank_code_id?: Prisma.IntFieldUpdateOperationsInput | number start_time?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string end_time?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string is_remote?: Prisma.BoolFieldUpdateOperationsInput | boolean week_day?: Prisma.EnumWeekdayFieldUpdateOperationsInput | $Enums.Weekday } export type SchedulePresetShiftsCreateManyInput = { id?: number preset_id: number bank_code_id: number start_time: Date | string end_time: Date | string is_remote?: boolean week_day: $Enums.Weekday } export type SchedulePresetShiftsUpdateManyMutationInput = { start_time?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string end_time?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string is_remote?: Prisma.BoolFieldUpdateOperationsInput | boolean week_day?: Prisma.EnumWeekdayFieldUpdateOperationsInput | $Enums.Weekday } export type SchedulePresetShiftsUncheckedUpdateManyInput = { id?: Prisma.IntFieldUpdateOperationsInput | number preset_id?: Prisma.IntFieldUpdateOperationsInput | number bank_code_id?: Prisma.IntFieldUpdateOperationsInput | number start_time?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string end_time?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string is_remote?: Prisma.BoolFieldUpdateOperationsInput | boolean week_day?: Prisma.EnumWeekdayFieldUpdateOperationsInput | $Enums.Weekday } export type SchedulePresetShiftsListRelationFilter = { every?: Prisma.SchedulePresetShiftsWhereInput some?: Prisma.SchedulePresetShiftsWhereInput none?: Prisma.SchedulePresetShiftsWhereInput } export type SchedulePresetShiftsOrderByRelationAggregateInput = { _count?: Prisma.SortOrder } export type SchedulePresetShiftsCountOrderByAggregateInput = { id?: Prisma.SortOrder preset_id?: Prisma.SortOrder bank_code_id?: Prisma.SortOrder start_time?: Prisma.SortOrder end_time?: Prisma.SortOrder is_remote?: Prisma.SortOrder week_day?: Prisma.SortOrder } export type SchedulePresetShiftsAvgOrderByAggregateInput = { id?: Prisma.SortOrder preset_id?: Prisma.SortOrder bank_code_id?: Prisma.SortOrder } export type SchedulePresetShiftsMaxOrderByAggregateInput = { id?: Prisma.SortOrder preset_id?: Prisma.SortOrder bank_code_id?: Prisma.SortOrder start_time?: Prisma.SortOrder end_time?: Prisma.SortOrder is_remote?: Prisma.SortOrder week_day?: Prisma.SortOrder } export type SchedulePresetShiftsMinOrderByAggregateInput = { id?: Prisma.SortOrder preset_id?: Prisma.SortOrder bank_code_id?: Prisma.SortOrder start_time?: Prisma.SortOrder end_time?: Prisma.SortOrder is_remote?: Prisma.SortOrder week_day?: Prisma.SortOrder } export type SchedulePresetShiftsSumOrderByAggregateInput = { id?: Prisma.SortOrder preset_id?: Prisma.SortOrder bank_code_id?: Prisma.SortOrder } export type SchedulePresetShiftsCreateNestedManyWithoutPresetInput = { create?: Prisma.XOR | Prisma.SchedulePresetShiftsCreateWithoutPresetInput[] | Prisma.SchedulePresetShiftsUncheckedCreateWithoutPresetInput[] connectOrCreate?: Prisma.SchedulePresetShiftsCreateOrConnectWithoutPresetInput | Prisma.SchedulePresetShiftsCreateOrConnectWithoutPresetInput[] createMany?: Prisma.SchedulePresetShiftsCreateManyPresetInputEnvelope connect?: Prisma.SchedulePresetShiftsWhereUniqueInput | Prisma.SchedulePresetShiftsWhereUniqueInput[] } export type SchedulePresetShiftsUncheckedCreateNestedManyWithoutPresetInput = { create?: Prisma.XOR | Prisma.SchedulePresetShiftsCreateWithoutPresetInput[] | Prisma.SchedulePresetShiftsUncheckedCreateWithoutPresetInput[] connectOrCreate?: Prisma.SchedulePresetShiftsCreateOrConnectWithoutPresetInput | Prisma.SchedulePresetShiftsCreateOrConnectWithoutPresetInput[] createMany?: Prisma.SchedulePresetShiftsCreateManyPresetInputEnvelope connect?: Prisma.SchedulePresetShiftsWhereUniqueInput | Prisma.SchedulePresetShiftsWhereUniqueInput[] } export type SchedulePresetShiftsUpdateManyWithoutPresetNestedInput = { create?: Prisma.XOR | Prisma.SchedulePresetShiftsCreateWithoutPresetInput[] | Prisma.SchedulePresetShiftsUncheckedCreateWithoutPresetInput[] connectOrCreate?: Prisma.SchedulePresetShiftsCreateOrConnectWithoutPresetInput | Prisma.SchedulePresetShiftsCreateOrConnectWithoutPresetInput[] upsert?: Prisma.SchedulePresetShiftsUpsertWithWhereUniqueWithoutPresetInput | Prisma.SchedulePresetShiftsUpsertWithWhereUniqueWithoutPresetInput[] createMany?: Prisma.SchedulePresetShiftsCreateManyPresetInputEnvelope set?: Prisma.SchedulePresetShiftsWhereUniqueInput | Prisma.SchedulePresetShiftsWhereUniqueInput[] disconnect?: Prisma.SchedulePresetShiftsWhereUniqueInput | Prisma.SchedulePresetShiftsWhereUniqueInput[] delete?: Prisma.SchedulePresetShiftsWhereUniqueInput | Prisma.SchedulePresetShiftsWhereUniqueInput[] connect?: Prisma.SchedulePresetShiftsWhereUniqueInput | Prisma.SchedulePresetShiftsWhereUniqueInput[] update?: Prisma.SchedulePresetShiftsUpdateWithWhereUniqueWithoutPresetInput | Prisma.SchedulePresetShiftsUpdateWithWhereUniqueWithoutPresetInput[] updateMany?: Prisma.SchedulePresetShiftsUpdateManyWithWhereWithoutPresetInput | Prisma.SchedulePresetShiftsUpdateManyWithWhereWithoutPresetInput[] deleteMany?: Prisma.SchedulePresetShiftsScalarWhereInput | Prisma.SchedulePresetShiftsScalarWhereInput[] } export type SchedulePresetShiftsUncheckedUpdateManyWithoutPresetNestedInput = { create?: Prisma.XOR | Prisma.SchedulePresetShiftsCreateWithoutPresetInput[] | Prisma.SchedulePresetShiftsUncheckedCreateWithoutPresetInput[] connectOrCreate?: Prisma.SchedulePresetShiftsCreateOrConnectWithoutPresetInput | Prisma.SchedulePresetShiftsCreateOrConnectWithoutPresetInput[] upsert?: Prisma.SchedulePresetShiftsUpsertWithWhereUniqueWithoutPresetInput | Prisma.SchedulePresetShiftsUpsertWithWhereUniqueWithoutPresetInput[] createMany?: Prisma.SchedulePresetShiftsCreateManyPresetInputEnvelope set?: Prisma.SchedulePresetShiftsWhereUniqueInput | Prisma.SchedulePresetShiftsWhereUniqueInput[] disconnect?: Prisma.SchedulePresetShiftsWhereUniqueInput | Prisma.SchedulePresetShiftsWhereUniqueInput[] delete?: Prisma.SchedulePresetShiftsWhereUniqueInput | Prisma.SchedulePresetShiftsWhereUniqueInput[] connect?: Prisma.SchedulePresetShiftsWhereUniqueInput | Prisma.SchedulePresetShiftsWhereUniqueInput[] update?: Prisma.SchedulePresetShiftsUpdateWithWhereUniqueWithoutPresetInput | Prisma.SchedulePresetShiftsUpdateWithWhereUniqueWithoutPresetInput[] updateMany?: Prisma.SchedulePresetShiftsUpdateManyWithWhereWithoutPresetInput | Prisma.SchedulePresetShiftsUpdateManyWithWhereWithoutPresetInput[] deleteMany?: Prisma.SchedulePresetShiftsScalarWhereInput | Prisma.SchedulePresetShiftsScalarWhereInput[] } export type EnumWeekdayFieldUpdateOperationsInput = { set?: $Enums.Weekday } export type SchedulePresetShiftsCreateNestedManyWithoutBank_codeInput = { create?: Prisma.XOR | Prisma.SchedulePresetShiftsCreateWithoutBank_codeInput[] | Prisma.SchedulePresetShiftsUncheckedCreateWithoutBank_codeInput[] connectOrCreate?: Prisma.SchedulePresetShiftsCreateOrConnectWithoutBank_codeInput | Prisma.SchedulePresetShiftsCreateOrConnectWithoutBank_codeInput[] createMany?: Prisma.SchedulePresetShiftsCreateManyBank_codeInputEnvelope connect?: Prisma.SchedulePresetShiftsWhereUniqueInput | Prisma.SchedulePresetShiftsWhereUniqueInput[] } export type SchedulePresetShiftsUncheckedCreateNestedManyWithoutBank_codeInput = { create?: Prisma.XOR | Prisma.SchedulePresetShiftsCreateWithoutBank_codeInput[] | Prisma.SchedulePresetShiftsUncheckedCreateWithoutBank_codeInput[] connectOrCreate?: Prisma.SchedulePresetShiftsCreateOrConnectWithoutBank_codeInput | Prisma.SchedulePresetShiftsCreateOrConnectWithoutBank_codeInput[] createMany?: Prisma.SchedulePresetShiftsCreateManyBank_codeInputEnvelope connect?: Prisma.SchedulePresetShiftsWhereUniqueInput | Prisma.SchedulePresetShiftsWhereUniqueInput[] } export type SchedulePresetShiftsUpdateManyWithoutBank_codeNestedInput = { create?: Prisma.XOR | Prisma.SchedulePresetShiftsCreateWithoutBank_codeInput[] | Prisma.SchedulePresetShiftsUncheckedCreateWithoutBank_codeInput[] connectOrCreate?: Prisma.SchedulePresetShiftsCreateOrConnectWithoutBank_codeInput | Prisma.SchedulePresetShiftsCreateOrConnectWithoutBank_codeInput[] upsert?: Prisma.SchedulePresetShiftsUpsertWithWhereUniqueWithoutBank_codeInput | Prisma.SchedulePresetShiftsUpsertWithWhereUniqueWithoutBank_codeInput[] createMany?: Prisma.SchedulePresetShiftsCreateManyBank_codeInputEnvelope set?: Prisma.SchedulePresetShiftsWhereUniqueInput | Prisma.SchedulePresetShiftsWhereUniqueInput[] disconnect?: Prisma.SchedulePresetShiftsWhereUniqueInput | Prisma.SchedulePresetShiftsWhereUniqueInput[] delete?: Prisma.SchedulePresetShiftsWhereUniqueInput | Prisma.SchedulePresetShiftsWhereUniqueInput[] connect?: Prisma.SchedulePresetShiftsWhereUniqueInput | Prisma.SchedulePresetShiftsWhereUniqueInput[] update?: Prisma.SchedulePresetShiftsUpdateWithWhereUniqueWithoutBank_codeInput | Prisma.SchedulePresetShiftsUpdateWithWhereUniqueWithoutBank_codeInput[] updateMany?: Prisma.SchedulePresetShiftsUpdateManyWithWhereWithoutBank_codeInput | Prisma.SchedulePresetShiftsUpdateManyWithWhereWithoutBank_codeInput[] deleteMany?: Prisma.SchedulePresetShiftsScalarWhereInput | Prisma.SchedulePresetShiftsScalarWhereInput[] } export type SchedulePresetShiftsUncheckedUpdateManyWithoutBank_codeNestedInput = { create?: Prisma.XOR | Prisma.SchedulePresetShiftsCreateWithoutBank_codeInput[] | Prisma.SchedulePresetShiftsUncheckedCreateWithoutBank_codeInput[] connectOrCreate?: Prisma.SchedulePresetShiftsCreateOrConnectWithoutBank_codeInput | Prisma.SchedulePresetShiftsCreateOrConnectWithoutBank_codeInput[] upsert?: Prisma.SchedulePresetShiftsUpsertWithWhereUniqueWithoutBank_codeInput | Prisma.SchedulePresetShiftsUpsertWithWhereUniqueWithoutBank_codeInput[] createMany?: Prisma.SchedulePresetShiftsCreateManyBank_codeInputEnvelope set?: Prisma.SchedulePresetShiftsWhereUniqueInput | Prisma.SchedulePresetShiftsWhereUniqueInput[] disconnect?: Prisma.SchedulePresetShiftsWhereUniqueInput | Prisma.SchedulePresetShiftsWhereUniqueInput[] delete?: Prisma.SchedulePresetShiftsWhereUniqueInput | Prisma.SchedulePresetShiftsWhereUniqueInput[] connect?: Prisma.SchedulePresetShiftsWhereUniqueInput | Prisma.SchedulePresetShiftsWhereUniqueInput[] update?: Prisma.SchedulePresetShiftsUpdateWithWhereUniqueWithoutBank_codeInput | Prisma.SchedulePresetShiftsUpdateWithWhereUniqueWithoutBank_codeInput[] updateMany?: Prisma.SchedulePresetShiftsUpdateManyWithWhereWithoutBank_codeInput | Prisma.SchedulePresetShiftsUpdateManyWithWhereWithoutBank_codeInput[] deleteMany?: Prisma.SchedulePresetShiftsScalarWhereInput | Prisma.SchedulePresetShiftsScalarWhereInput[] } export type SchedulePresetShiftsCreateWithoutPresetInput = { start_time: Date | string end_time: Date | string is_remote?: boolean week_day: $Enums.Weekday bank_code: Prisma.BankCodesCreateNestedOneWithoutSchedulePresetShiftsInput } export type SchedulePresetShiftsUncheckedCreateWithoutPresetInput = { id?: number bank_code_id: number start_time: Date | string end_time: Date | string is_remote?: boolean week_day: $Enums.Weekday } export type SchedulePresetShiftsCreateOrConnectWithoutPresetInput = { where: Prisma.SchedulePresetShiftsWhereUniqueInput create: Prisma.XOR } export type SchedulePresetShiftsCreateManyPresetInputEnvelope = { data: Prisma.SchedulePresetShiftsCreateManyPresetInput | Prisma.SchedulePresetShiftsCreateManyPresetInput[] skipDuplicates?: boolean } export type SchedulePresetShiftsUpsertWithWhereUniqueWithoutPresetInput = { where: Prisma.SchedulePresetShiftsWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type SchedulePresetShiftsUpdateWithWhereUniqueWithoutPresetInput = { where: Prisma.SchedulePresetShiftsWhereUniqueInput data: Prisma.XOR } export type SchedulePresetShiftsUpdateManyWithWhereWithoutPresetInput = { where: Prisma.SchedulePresetShiftsScalarWhereInput data: Prisma.XOR } export type SchedulePresetShiftsScalarWhereInput = { AND?: Prisma.SchedulePresetShiftsScalarWhereInput | Prisma.SchedulePresetShiftsScalarWhereInput[] OR?: Prisma.SchedulePresetShiftsScalarWhereInput[] NOT?: Prisma.SchedulePresetShiftsScalarWhereInput | Prisma.SchedulePresetShiftsScalarWhereInput[] id?: Prisma.IntFilter<"SchedulePresetShifts"> | number preset_id?: Prisma.IntFilter<"SchedulePresetShifts"> | number bank_code_id?: Prisma.IntFilter<"SchedulePresetShifts"> | number start_time?: Prisma.DateTimeFilter<"SchedulePresetShifts"> | Date | string end_time?: Prisma.DateTimeFilter<"SchedulePresetShifts"> | Date | string is_remote?: Prisma.BoolFilter<"SchedulePresetShifts"> | boolean week_day?: Prisma.EnumWeekdayFilter<"SchedulePresetShifts"> | $Enums.Weekday } export type SchedulePresetShiftsCreateWithoutBank_codeInput = { start_time: Date | string end_time: Date | string is_remote?: boolean week_day: $Enums.Weekday preset: Prisma.SchedulePresetsCreateNestedOneWithoutShiftsInput } export type SchedulePresetShiftsUncheckedCreateWithoutBank_codeInput = { id?: number preset_id: number start_time: Date | string end_time: Date | string is_remote?: boolean week_day: $Enums.Weekday } export type SchedulePresetShiftsCreateOrConnectWithoutBank_codeInput = { where: Prisma.SchedulePresetShiftsWhereUniqueInput create: Prisma.XOR } export type SchedulePresetShiftsCreateManyBank_codeInputEnvelope = { data: Prisma.SchedulePresetShiftsCreateManyBank_codeInput | Prisma.SchedulePresetShiftsCreateManyBank_codeInput[] skipDuplicates?: boolean } export type SchedulePresetShiftsUpsertWithWhereUniqueWithoutBank_codeInput = { where: Prisma.SchedulePresetShiftsWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type SchedulePresetShiftsUpdateWithWhereUniqueWithoutBank_codeInput = { where: Prisma.SchedulePresetShiftsWhereUniqueInput data: Prisma.XOR } export type SchedulePresetShiftsUpdateManyWithWhereWithoutBank_codeInput = { where: Prisma.SchedulePresetShiftsScalarWhereInput data: Prisma.XOR } export type SchedulePresetShiftsCreateManyPresetInput = { id?: number bank_code_id: number start_time: Date | string end_time: Date | string is_remote?: boolean week_day: $Enums.Weekday } export type SchedulePresetShiftsUpdateWithoutPresetInput = { start_time?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string end_time?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string is_remote?: Prisma.BoolFieldUpdateOperationsInput | boolean week_day?: Prisma.EnumWeekdayFieldUpdateOperationsInput | $Enums.Weekday bank_code?: Prisma.BankCodesUpdateOneRequiredWithoutSchedulePresetShiftsNestedInput } export type SchedulePresetShiftsUncheckedUpdateWithoutPresetInput = { id?: Prisma.IntFieldUpdateOperationsInput | number bank_code_id?: Prisma.IntFieldUpdateOperationsInput | number start_time?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string end_time?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string is_remote?: Prisma.BoolFieldUpdateOperationsInput | boolean week_day?: Prisma.EnumWeekdayFieldUpdateOperationsInput | $Enums.Weekday } export type SchedulePresetShiftsUncheckedUpdateManyWithoutPresetInput = { id?: Prisma.IntFieldUpdateOperationsInput | number bank_code_id?: Prisma.IntFieldUpdateOperationsInput | number start_time?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string end_time?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string is_remote?: Prisma.BoolFieldUpdateOperationsInput | boolean week_day?: Prisma.EnumWeekdayFieldUpdateOperationsInput | $Enums.Weekday } export type SchedulePresetShiftsCreateManyBank_codeInput = { id?: number preset_id: number start_time: Date | string end_time: Date | string is_remote?: boolean week_day: $Enums.Weekday } export type SchedulePresetShiftsUpdateWithoutBank_codeInput = { start_time?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string end_time?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string is_remote?: Prisma.BoolFieldUpdateOperationsInput | boolean week_day?: Prisma.EnumWeekdayFieldUpdateOperationsInput | $Enums.Weekday preset?: Prisma.SchedulePresetsUpdateOneRequiredWithoutShiftsNestedInput } export type SchedulePresetShiftsUncheckedUpdateWithoutBank_codeInput = { id?: Prisma.IntFieldUpdateOperationsInput | number preset_id?: Prisma.IntFieldUpdateOperationsInput | number start_time?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string end_time?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string is_remote?: Prisma.BoolFieldUpdateOperationsInput | boolean week_day?: Prisma.EnumWeekdayFieldUpdateOperationsInput | $Enums.Weekday } export type SchedulePresetShiftsUncheckedUpdateManyWithoutBank_codeInput = { id?: Prisma.IntFieldUpdateOperationsInput | number preset_id?: Prisma.IntFieldUpdateOperationsInput | number start_time?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string end_time?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string is_remote?: Prisma.BoolFieldUpdateOperationsInput | boolean week_day?: Prisma.EnumWeekdayFieldUpdateOperationsInput | $Enums.Weekday } export type SchedulePresetShiftsSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean preset_id?: boolean bank_code_id?: boolean start_time?: boolean end_time?: boolean is_remote?: boolean week_day?: boolean bank_code?: boolean | Prisma.BankCodesDefaultArgs preset?: boolean | Prisma.SchedulePresetsDefaultArgs }, ExtArgs["result"]["schedulePresetShifts"]> export type SchedulePresetShiftsSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean preset_id?: boolean bank_code_id?: boolean start_time?: boolean end_time?: boolean is_remote?: boolean week_day?: boolean bank_code?: boolean | Prisma.BankCodesDefaultArgs preset?: boolean | Prisma.SchedulePresetsDefaultArgs }, ExtArgs["result"]["schedulePresetShifts"]> export type SchedulePresetShiftsSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean preset_id?: boolean bank_code_id?: boolean start_time?: boolean end_time?: boolean is_remote?: boolean week_day?: boolean bank_code?: boolean | Prisma.BankCodesDefaultArgs preset?: boolean | Prisma.SchedulePresetsDefaultArgs }, ExtArgs["result"]["schedulePresetShifts"]> export type SchedulePresetShiftsSelectScalar = { id?: boolean preset_id?: boolean bank_code_id?: boolean start_time?: boolean end_time?: boolean is_remote?: boolean week_day?: boolean } export type SchedulePresetShiftsOmit = runtime.Types.Extensions.GetOmit<"id" | "preset_id" | "bank_code_id" | "start_time" | "end_time" | "is_remote" | "week_day", ExtArgs["result"]["schedulePresetShifts"]> export type SchedulePresetShiftsInclude = { bank_code?: boolean | Prisma.BankCodesDefaultArgs preset?: boolean | Prisma.SchedulePresetsDefaultArgs } export type SchedulePresetShiftsIncludeCreateManyAndReturn = { bank_code?: boolean | Prisma.BankCodesDefaultArgs preset?: boolean | Prisma.SchedulePresetsDefaultArgs } export type SchedulePresetShiftsIncludeUpdateManyAndReturn = { bank_code?: boolean | Prisma.BankCodesDefaultArgs preset?: boolean | Prisma.SchedulePresetsDefaultArgs } export type $SchedulePresetShiftsPayload = { name: "SchedulePresetShifts" objects: { bank_code: Prisma.$BankCodesPayload preset: Prisma.$SchedulePresetsPayload } scalars: runtime.Types.Extensions.GetPayloadResult<{ id: number preset_id: number bank_code_id: number start_time: Date end_time: Date is_remote: boolean week_day: $Enums.Weekday }, ExtArgs["result"]["schedulePresetShifts"]> composites: {} } export type SchedulePresetShiftsGetPayload = runtime.Types.Result.GetResult export type SchedulePresetShiftsCountArgs = Omit & { select?: SchedulePresetShiftsCountAggregateInputType | true } export interface SchedulePresetShiftsDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['SchedulePresetShifts'], meta: { name: 'SchedulePresetShifts' } } /** * Find zero or one SchedulePresetShifts that matches the filter. * @param {SchedulePresetShiftsFindUniqueArgs} args - Arguments to find a SchedulePresetShifts * @example * // Get one SchedulePresetShifts * const schedulePresetShifts = await prisma.schedulePresetShifts.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__SchedulePresetShiftsClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one SchedulePresetShifts that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {SchedulePresetShiftsFindUniqueOrThrowArgs} args - Arguments to find a SchedulePresetShifts * @example * // Get one SchedulePresetShifts * const schedulePresetShifts = await prisma.schedulePresetShifts.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__SchedulePresetShiftsClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first SchedulePresetShifts 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 {SchedulePresetShiftsFindFirstArgs} args - Arguments to find a SchedulePresetShifts * @example * // Get one SchedulePresetShifts * const schedulePresetShifts = await prisma.schedulePresetShifts.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__SchedulePresetShiftsClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first SchedulePresetShifts 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 {SchedulePresetShiftsFindFirstOrThrowArgs} args - Arguments to find a SchedulePresetShifts * @example * // Get one SchedulePresetShifts * const schedulePresetShifts = await prisma.schedulePresetShifts.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__SchedulePresetShiftsClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more SchedulePresetShifts 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 {SchedulePresetShiftsFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all SchedulePresetShifts * const schedulePresetShifts = await prisma.schedulePresetShifts.findMany() * * // Get first 10 SchedulePresetShifts * const schedulePresetShifts = await prisma.schedulePresetShifts.findMany({ take: 10 }) * * // Only select the `id` * const schedulePresetShiftsWithIdOnly = await prisma.schedulePresetShifts.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a SchedulePresetShifts. * @param {SchedulePresetShiftsCreateArgs} args - Arguments to create a SchedulePresetShifts. * @example * // Create one SchedulePresetShifts * const SchedulePresetShifts = await prisma.schedulePresetShifts.create({ * data: { * // ... data to create a SchedulePresetShifts * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__SchedulePresetShiftsClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many SchedulePresetShifts. * @param {SchedulePresetShiftsCreateManyArgs} args - Arguments to create many SchedulePresetShifts. * @example * // Create many SchedulePresetShifts * const schedulePresetShifts = await prisma.schedulePresetShifts.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many SchedulePresetShifts and returns the data saved in the database. * @param {SchedulePresetShiftsCreateManyAndReturnArgs} args - Arguments to create many SchedulePresetShifts. * @example * // Create many SchedulePresetShifts * const schedulePresetShifts = await prisma.schedulePresetShifts.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many SchedulePresetShifts and only return the `id` * const schedulePresetShiftsWithIdOnly = await prisma.schedulePresetShifts.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 SchedulePresetShifts. * @param {SchedulePresetShiftsDeleteArgs} args - Arguments to delete one SchedulePresetShifts. * @example * // Delete one SchedulePresetShifts * const SchedulePresetShifts = await prisma.schedulePresetShifts.delete({ * where: { * // ... filter to delete one SchedulePresetShifts * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__SchedulePresetShiftsClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one SchedulePresetShifts. * @param {SchedulePresetShiftsUpdateArgs} args - Arguments to update one SchedulePresetShifts. * @example * // Update one SchedulePresetShifts * const schedulePresetShifts = await prisma.schedulePresetShifts.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__SchedulePresetShiftsClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more SchedulePresetShifts. * @param {SchedulePresetShiftsDeleteManyArgs} args - Arguments to filter SchedulePresetShifts to delete. * @example * // Delete a few SchedulePresetShifts * const { count } = await prisma.schedulePresetShifts.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more SchedulePresetShifts. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SchedulePresetShiftsUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many SchedulePresetShifts * const schedulePresetShifts = await prisma.schedulePresetShifts.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more SchedulePresetShifts and returns the data updated in the database. * @param {SchedulePresetShiftsUpdateManyAndReturnArgs} args - Arguments to update many SchedulePresetShifts. * @example * // Update many SchedulePresetShifts * const schedulePresetShifts = await prisma.schedulePresetShifts.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more SchedulePresetShifts and only return the `id` * const schedulePresetShiftsWithIdOnly = await prisma.schedulePresetShifts.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 SchedulePresetShifts. * @param {SchedulePresetShiftsUpsertArgs} args - Arguments to update or create a SchedulePresetShifts. * @example * // Update or create a SchedulePresetShifts * const schedulePresetShifts = await prisma.schedulePresetShifts.upsert({ * create: { * // ... data to create a SchedulePresetShifts * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the SchedulePresetShifts we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__SchedulePresetShiftsClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of SchedulePresetShifts. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SchedulePresetShiftsCountArgs} args - Arguments to filter SchedulePresetShifts to count. * @example * // Count the number of SchedulePresetShifts * const count = await prisma.schedulePresetShifts.count({ * where: { * // ... the filter for the SchedulePresetShifts 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 SchedulePresetShifts. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SchedulePresetShiftsAggregateArgs} 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 SchedulePresetShifts. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SchedulePresetShiftsGroupByArgs} 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 SchedulePresetShiftsGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: SchedulePresetShiftsGroupByArgs['orderBy'] } : { orderBy?: SchedulePresetShiftsGroupByArgs['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 ? GetSchedulePresetShiftsGroupByPayload : Prisma.PrismaPromise /** * Fields of the SchedulePresetShifts model */ readonly fields: SchedulePresetShiftsFieldRefs; } /** * The delegate class that acts as a "Promise-like" for SchedulePresetShifts. * 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__SchedulePresetShiftsClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" bank_code = {}>(args?: Prisma.Subset>): Prisma.Prisma__BankCodesClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> preset = {}>(args?: Prisma.Subset>): Prisma.Prisma__SchedulePresetsClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * Attaches a callback for only the rejection of the Promise. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of the callback. */ catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The * resolved value cannot be modified from the callback. * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). * @returns A Promise for the completion of the callback. */ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise } /** * Fields of the SchedulePresetShifts model */ export interface SchedulePresetShiftsFieldRefs { readonly id: Prisma.FieldRef<"SchedulePresetShifts", 'Int'> readonly preset_id: Prisma.FieldRef<"SchedulePresetShifts", 'Int'> readonly bank_code_id: Prisma.FieldRef<"SchedulePresetShifts", 'Int'> readonly start_time: Prisma.FieldRef<"SchedulePresetShifts", 'DateTime'> readonly end_time: Prisma.FieldRef<"SchedulePresetShifts", 'DateTime'> readonly is_remote: Prisma.FieldRef<"SchedulePresetShifts", 'Boolean'> readonly week_day: Prisma.FieldRef<"SchedulePresetShifts", 'Weekday'> } // Custom InputTypes /** * SchedulePresetShifts findUnique */ export type SchedulePresetShiftsFindUniqueArgs = { /** * 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 /** * Filter, which SchedulePresetShifts to fetch. */ where: Prisma.SchedulePresetShiftsWhereUniqueInput } /** * SchedulePresetShifts findUniqueOrThrow */ export type SchedulePresetShiftsFindUniqueOrThrowArgs = { /** * 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 /** * Filter, which SchedulePresetShifts to fetch. */ where: Prisma.SchedulePresetShiftsWhereUniqueInput } /** * SchedulePresetShifts findFirst */ export type SchedulePresetShiftsFindFirstArgs = { /** * 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 /** * Filter, which SchedulePresetShifts to fetch. */ where?: Prisma.SchedulePresetShiftsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SchedulePresetShifts to fetch. */ orderBy?: Prisma.SchedulePresetShiftsOrderByWithRelationInput | Prisma.SchedulePresetShiftsOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for SchedulePresetShifts. */ cursor?: Prisma.SchedulePresetShiftsWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SchedulePresetShifts 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` SchedulePresetShifts. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of SchedulePresetShifts. */ distinct?: Prisma.SchedulePresetShiftsScalarFieldEnum | Prisma.SchedulePresetShiftsScalarFieldEnum[] } /** * SchedulePresetShifts findFirstOrThrow */ export type SchedulePresetShiftsFindFirstOrThrowArgs = { /** * 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 /** * Filter, which SchedulePresetShifts to fetch. */ where?: Prisma.SchedulePresetShiftsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SchedulePresetShifts to fetch. */ orderBy?: Prisma.SchedulePresetShiftsOrderByWithRelationInput | Prisma.SchedulePresetShiftsOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for SchedulePresetShifts. */ cursor?: Prisma.SchedulePresetShiftsWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SchedulePresetShifts 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` SchedulePresetShifts. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of SchedulePresetShifts. */ distinct?: Prisma.SchedulePresetShiftsScalarFieldEnum | Prisma.SchedulePresetShiftsScalarFieldEnum[] } /** * SchedulePresetShifts findMany */ export type SchedulePresetShiftsFindManyArgs = { /** * 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 /** * Filter, which SchedulePresetShifts to fetch. */ where?: Prisma.SchedulePresetShiftsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SchedulePresetShifts to fetch. */ orderBy?: Prisma.SchedulePresetShiftsOrderByWithRelationInput | Prisma.SchedulePresetShiftsOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing SchedulePresetShifts. */ cursor?: Prisma.SchedulePresetShiftsWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SchedulePresetShifts 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` SchedulePresetShifts. */ skip?: number distinct?: Prisma.SchedulePresetShiftsScalarFieldEnum | Prisma.SchedulePresetShiftsScalarFieldEnum[] } /** * SchedulePresetShifts create */ export type SchedulePresetShiftsCreateArgs = { /** * 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 /** * The data needed to create a SchedulePresetShifts. */ data: Prisma.XOR } /** * SchedulePresetShifts createMany */ export type SchedulePresetShiftsCreateManyArgs = { /** * The data used to create many SchedulePresetShifts. */ data: Prisma.SchedulePresetShiftsCreateManyInput | Prisma.SchedulePresetShiftsCreateManyInput[] skipDuplicates?: boolean } /** * SchedulePresetShifts createManyAndReturn */ export type SchedulePresetShiftsCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the SchedulePresetShifts */ select?: Prisma.SchedulePresetShiftsSelectCreateManyAndReturn | null /** * Omit specific fields from the SchedulePresetShifts */ omit?: Prisma.SchedulePresetShiftsOmit | null /** * The data used to create many SchedulePresetShifts. */ data: Prisma.SchedulePresetShiftsCreateManyInput | Prisma.SchedulePresetShiftsCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: Prisma.SchedulePresetShiftsIncludeCreateManyAndReturn | null } /** * SchedulePresetShifts update */ export type SchedulePresetShiftsUpdateArgs = { /** * 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 /** * The data needed to update a SchedulePresetShifts. */ data: Prisma.XOR /** * Choose, which SchedulePresetShifts to update. */ where: Prisma.SchedulePresetShiftsWhereUniqueInput } /** * SchedulePresetShifts updateMany */ export type SchedulePresetShiftsUpdateManyArgs = { /** * The data used to update SchedulePresetShifts. */ data: Prisma.XOR /** * Filter which SchedulePresetShifts to update */ where?: Prisma.SchedulePresetShiftsWhereInput /** * Limit how many SchedulePresetShifts to update. */ limit?: number } /** * SchedulePresetShifts updateManyAndReturn */ export type SchedulePresetShiftsUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the SchedulePresetShifts */ select?: Prisma.SchedulePresetShiftsSelectUpdateManyAndReturn | null /** * Omit specific fields from the SchedulePresetShifts */ omit?: Prisma.SchedulePresetShiftsOmit | null /** * The data used to update SchedulePresetShifts. */ data: Prisma.XOR /** * Filter which SchedulePresetShifts to update */ where?: Prisma.SchedulePresetShiftsWhereInput /** * Limit how many SchedulePresetShifts to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: Prisma.SchedulePresetShiftsIncludeUpdateManyAndReturn | null } /** * SchedulePresetShifts upsert */ export type SchedulePresetShiftsUpsertArgs = { /** * 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 /** * The filter to search for the SchedulePresetShifts to update in case it exists. */ where: Prisma.SchedulePresetShiftsWhereUniqueInput /** * In case the SchedulePresetShifts found by the `where` argument doesn't exist, create a new SchedulePresetShifts with this data. */ create: Prisma.XOR /** * In case the SchedulePresetShifts was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * SchedulePresetShifts delete */ export type SchedulePresetShiftsDeleteArgs = { /** * 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 /** * Filter which SchedulePresetShifts to delete. */ where: Prisma.SchedulePresetShiftsWhereUniqueInput } /** * SchedulePresetShifts deleteMany */ export type SchedulePresetShiftsDeleteManyArgs = { /** * Filter which SchedulePresetShifts to delete */ where?: Prisma.SchedulePresetShiftsWhereInput /** * Limit how many SchedulePresetShifts to delete. */ limit?: number } /** * SchedulePresetShifts without action */ export type SchedulePresetShiftsDefaultArgs = { /** * 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 }