
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
/* eslint-disable */
// biome-ignore-all lint: generated file
// @ts-nocheck 
/*
 * This file exports the `schedule_bookings` model and its related types.
 *
 * 🟢 You can import this file directly.
 */
import type * as runtime from "@prisma/client/runtime/library"
import type * as $Enums from "../enums"
import type * as Prisma from "../internal/prismaNamespace"

/**
 * Model schedule_bookings
 * 
 */
export type schedule_bookingsModel = runtime.Types.Result.DefaultSelection<Prisma.$schedule_bookingsPayload>

export type AggregateSchedule_bookings = {
  _count: Schedule_bookingsCountAggregateOutputType | null
  _avg: Schedule_bookingsAvgAggregateOutputType | null
  _sum: Schedule_bookingsSumAggregateOutputType | null
  _min: Schedule_bookingsMinAggregateOutputType | null
  _max: Schedule_bookingsMaxAggregateOutputType | null
}

export type Schedule_bookingsAvgAggregateOutputType = {
  id: number | null
  schedule_id: number | null
  time_slot_id: number | null
}

export type Schedule_bookingsSumAggregateOutputType = {
  id: number | null
  schedule_id: number | null
  time_slot_id: number | null
}

export type Schedule_bookingsMinAggregateOutputType = {
  id: number | null
  schedule_id: number | null
  time_slot_id: number | null
  booking_date: Date | null
  status: string | null
  created_at: Date | null
}

export type Schedule_bookingsMaxAggregateOutputType = {
  id: number | null
  schedule_id: number | null
  time_slot_id: number | null
  booking_date: Date | null
  status: string | null
  created_at: Date | null
}

export type Schedule_bookingsCountAggregateOutputType = {
  id: number
  schedule_id: number
  time_slot_id: number
  booking_date: number
  status: number
  created_at: number
  _all: number
}


export type Schedule_bookingsAvgAggregateInputType = {
  id?: true
  schedule_id?: true
  time_slot_id?: true
}

export type Schedule_bookingsSumAggregateInputType = {
  id?: true
  schedule_id?: true
  time_slot_id?: true
}

export type Schedule_bookingsMinAggregateInputType = {
  id?: true
  schedule_id?: true
  time_slot_id?: true
  booking_date?: true
  status?: true
  created_at?: true
}

export type Schedule_bookingsMaxAggregateInputType = {
  id?: true
  schedule_id?: true
  time_slot_id?: true
  booking_date?: true
  status?: true
  created_at?: true
}

export type Schedule_bookingsCountAggregateInputType = {
  id?: true
  schedule_id?: true
  time_slot_id?: true
  booking_date?: true
  status?: true
  created_at?: true
  _all?: true
}

export type Schedule_bookingsAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Filter which schedule_bookings to aggregate.
   */
  where?: Prisma.schedule_bookingsWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of schedule_bookings to fetch.
   */
  orderBy?: Prisma.schedule_bookingsOrderByWithRelationInput | Prisma.schedule_bookingsOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the start position
   */
  cursor?: Prisma.schedule_bookingsWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` schedule_bookings 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` schedule_bookings.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Count returned schedule_bookings
  **/
  _count?: true | Schedule_bookingsCountAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to average
  **/
  _avg?: Schedule_bookingsAvgAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to sum
  **/
  _sum?: Schedule_bookingsSumAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to find the minimum value
  **/
  _min?: Schedule_bookingsMinAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to find the maximum value
  **/
  _max?: Schedule_bookingsMaxAggregateInputType
}

export type GetSchedule_bookingsAggregateType<T extends Schedule_bookingsAggregateArgs> = {
      [P in keyof T & keyof AggregateSchedule_bookings]: P extends '_count' | 'count'
    ? T[P] extends true
      ? number
      : Prisma.GetScalarType<T[P], AggregateSchedule_bookings[P]>
    : Prisma.GetScalarType<T[P], AggregateSchedule_bookings[P]>
}




export type schedule_bookingsGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  where?: Prisma.schedule_bookingsWhereInput
  orderBy?: Prisma.schedule_bookingsOrderByWithAggregationInput | Prisma.schedule_bookingsOrderByWithAggregationInput[]
  by: Prisma.Schedule_bookingsScalarFieldEnum[] | Prisma.Schedule_bookingsScalarFieldEnum
  having?: Prisma.schedule_bookingsScalarWhereWithAggregatesInput
  take?: number
  skip?: number
  _count?: Schedule_bookingsCountAggregateInputType | true
  _avg?: Schedule_bookingsAvgAggregateInputType
  _sum?: Schedule_bookingsSumAggregateInputType
  _min?: Schedule_bookingsMinAggregateInputType
  _max?: Schedule_bookingsMaxAggregateInputType
}

export type Schedule_bookingsGroupByOutputType = {
  id: number
  schedule_id: number
  time_slot_id: number
  booking_date: Date
  status: string | null
  created_at: Date | null
  _count: Schedule_bookingsCountAggregateOutputType | null
  _avg: Schedule_bookingsAvgAggregateOutputType | null
  _sum: Schedule_bookingsSumAggregateOutputType | null
  _min: Schedule_bookingsMinAggregateOutputType | null
  _max: Schedule_bookingsMaxAggregateOutputType | null
}

type GetSchedule_bookingsGroupByPayload<T extends schedule_bookingsGroupByArgs> = Prisma.PrismaPromise<
  Array<
    Prisma.PickEnumerable<Schedule_bookingsGroupByOutputType, T['by']> &
      {
        [P in ((keyof T) & (keyof Schedule_bookingsGroupByOutputType))]: P extends '_count'
          ? T[P] extends boolean
            ? number
            : Prisma.GetScalarType<T[P], Schedule_bookingsGroupByOutputType[P]>
          : Prisma.GetScalarType<T[P], Schedule_bookingsGroupByOutputType[P]>
      }
    >
  >



export type schedule_bookingsWhereInput = {
  AND?: Prisma.schedule_bookingsWhereInput | Prisma.schedule_bookingsWhereInput[]
  OR?: Prisma.schedule_bookingsWhereInput[]
  NOT?: Prisma.schedule_bookingsWhereInput | Prisma.schedule_bookingsWhereInput[]
  id?: Prisma.IntFilter<"schedule_bookings"> | number
  schedule_id?: Prisma.IntFilter<"schedule_bookings"> | number
  time_slot_id?: Prisma.IntFilter<"schedule_bookings"> | number
  booking_date?: Prisma.DateTimeFilter<"schedule_bookings"> | Date | string
  status?: Prisma.StringNullableFilter<"schedule_bookings"> | string | null
  created_at?: Prisma.DateTimeNullableFilter<"schedule_bookings"> | Date | string | null
  student_schedules?: Prisma.XOR<Prisma.Student_schedulesScalarRelationFilter, Prisma.student_schedulesWhereInput>
  time_slots?: Prisma.XOR<Prisma.Time_slotsScalarRelationFilter, Prisma.time_slotsWhereInput>
  schedule_change_requests?: Prisma.Schedule_change_requestsListRelationFilter
}

export type schedule_bookingsOrderByWithRelationInput = {
  id?: Prisma.SortOrder
  schedule_id?: Prisma.SortOrder
  time_slot_id?: Prisma.SortOrder
  booking_date?: Prisma.SortOrder
  status?: Prisma.SortOrderInput | Prisma.SortOrder
  created_at?: Prisma.SortOrderInput | Prisma.SortOrder
  student_schedules?: Prisma.student_schedulesOrderByWithRelationInput
  time_slots?: Prisma.time_slotsOrderByWithRelationInput
  schedule_change_requests?: Prisma.schedule_change_requestsOrderByRelationAggregateInput
}

export type schedule_bookingsWhereUniqueInput = Prisma.AtLeast<{
  id?: number
  time_slot_id_booking_date_schedule_id?: Prisma.schedule_bookingsTime_slot_idBooking_dateSchedule_idCompoundUniqueInput
  AND?: Prisma.schedule_bookingsWhereInput | Prisma.schedule_bookingsWhereInput[]
  OR?: Prisma.schedule_bookingsWhereInput[]
  NOT?: Prisma.schedule_bookingsWhereInput | Prisma.schedule_bookingsWhereInput[]
  schedule_id?: Prisma.IntFilter<"schedule_bookings"> | number
  time_slot_id?: Prisma.IntFilter<"schedule_bookings"> | number
  booking_date?: Prisma.DateTimeFilter<"schedule_bookings"> | Date | string
  status?: Prisma.StringNullableFilter<"schedule_bookings"> | string | null
  created_at?: Prisma.DateTimeNullableFilter<"schedule_bookings"> | Date | string | null
  student_schedules?: Prisma.XOR<Prisma.Student_schedulesScalarRelationFilter, Prisma.student_schedulesWhereInput>
  time_slots?: Prisma.XOR<Prisma.Time_slotsScalarRelationFilter, Prisma.time_slotsWhereInput>
  schedule_change_requests?: Prisma.Schedule_change_requestsListRelationFilter
}, "id" | "time_slot_id_booking_date_schedule_id">

export type schedule_bookingsOrderByWithAggregationInput = {
  id?: Prisma.SortOrder
  schedule_id?: Prisma.SortOrder
  time_slot_id?: Prisma.SortOrder
  booking_date?: Prisma.SortOrder
  status?: Prisma.SortOrderInput | Prisma.SortOrder
  created_at?: Prisma.SortOrderInput | Prisma.SortOrder
  _count?: Prisma.schedule_bookingsCountOrderByAggregateInput
  _avg?: Prisma.schedule_bookingsAvgOrderByAggregateInput
  _max?: Prisma.schedule_bookingsMaxOrderByAggregateInput
  _min?: Prisma.schedule_bookingsMinOrderByAggregateInput
  _sum?: Prisma.schedule_bookingsSumOrderByAggregateInput
}

export type schedule_bookingsScalarWhereWithAggregatesInput = {
  AND?: Prisma.schedule_bookingsScalarWhereWithAggregatesInput | Prisma.schedule_bookingsScalarWhereWithAggregatesInput[]
  OR?: Prisma.schedule_bookingsScalarWhereWithAggregatesInput[]
  NOT?: Prisma.schedule_bookingsScalarWhereWithAggregatesInput | Prisma.schedule_bookingsScalarWhereWithAggregatesInput[]
  id?: Prisma.IntWithAggregatesFilter<"schedule_bookings"> | number
  schedule_id?: Prisma.IntWithAggregatesFilter<"schedule_bookings"> | number
  time_slot_id?: Prisma.IntWithAggregatesFilter<"schedule_bookings"> | number
  booking_date?: Prisma.DateTimeWithAggregatesFilter<"schedule_bookings"> | Date | string
  status?: Prisma.StringNullableWithAggregatesFilter<"schedule_bookings"> | string | null
  created_at?: Prisma.DateTimeNullableWithAggregatesFilter<"schedule_bookings"> | Date | string | null
}

export type schedule_bookingsCreateInput = {
  booking_date: Date | string
  status?: string | null
  created_at?: Date | string | null
  student_schedules: Prisma.student_schedulesCreateNestedOneWithoutSchedule_bookingsInput
  time_slots: Prisma.time_slotsCreateNestedOneWithoutSchedule_bookingsInput
  schedule_change_requests?: Prisma.schedule_change_requestsCreateNestedManyWithoutSchedule_bookingsInput
}

export type schedule_bookingsUncheckedCreateInput = {
  id?: number
  schedule_id: number
  time_slot_id: number
  booking_date: Date | string
  status?: string | null
  created_at?: Date | string | null
  schedule_change_requests?: Prisma.schedule_change_requestsUncheckedCreateNestedManyWithoutSchedule_bookingsInput
}

export type schedule_bookingsUpdateInput = {
  booking_date?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  student_schedules?: Prisma.student_schedulesUpdateOneRequiredWithoutSchedule_bookingsNestedInput
  time_slots?: Prisma.time_slotsUpdateOneRequiredWithoutSchedule_bookingsNestedInput
  schedule_change_requests?: Prisma.schedule_change_requestsUpdateManyWithoutSchedule_bookingsNestedInput
}

export type schedule_bookingsUncheckedUpdateInput = {
  id?: Prisma.IntFieldUpdateOperationsInput | number
  schedule_id?: Prisma.IntFieldUpdateOperationsInput | number
  time_slot_id?: Prisma.IntFieldUpdateOperationsInput | number
  booking_date?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  schedule_change_requests?: Prisma.schedule_change_requestsUncheckedUpdateManyWithoutSchedule_bookingsNestedInput
}

export type schedule_bookingsCreateManyInput = {
  id?: number
  schedule_id: number
  time_slot_id: number
  booking_date: Date | string
  status?: string | null
  created_at?: Date | string | null
}

export type schedule_bookingsUpdateManyMutationInput = {
  booking_date?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}

export type schedule_bookingsUncheckedUpdateManyInput = {
  id?: Prisma.IntFieldUpdateOperationsInput | number
  schedule_id?: Prisma.IntFieldUpdateOperationsInput | number
  time_slot_id?: Prisma.IntFieldUpdateOperationsInput | number
  booking_date?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}

export type Schedule_bookingsListRelationFilter = {
  every?: Prisma.schedule_bookingsWhereInput
  some?: Prisma.schedule_bookingsWhereInput
  none?: Prisma.schedule_bookingsWhereInput
}

export type schedule_bookingsOrderByRelationAggregateInput = {
  _count?: Prisma.SortOrder
}

export type schedule_bookingsTime_slot_idBooking_dateSchedule_idCompoundUniqueInput = {
  time_slot_id: number
  booking_date: Date | string
  schedule_id: number
}

export type schedule_bookingsCountOrderByAggregateInput = {
  id?: Prisma.SortOrder
  schedule_id?: Prisma.SortOrder
  time_slot_id?: Prisma.SortOrder
  booking_date?: Prisma.SortOrder
  status?: Prisma.SortOrder
  created_at?: Prisma.SortOrder
}

export type schedule_bookingsAvgOrderByAggregateInput = {
  id?: Prisma.SortOrder
  schedule_id?: Prisma.SortOrder
  time_slot_id?: Prisma.SortOrder
}

export type schedule_bookingsMaxOrderByAggregateInput = {
  id?: Prisma.SortOrder
  schedule_id?: Prisma.SortOrder
  time_slot_id?: Prisma.SortOrder
  booking_date?: Prisma.SortOrder
  status?: Prisma.SortOrder
  created_at?: Prisma.SortOrder
}

export type schedule_bookingsMinOrderByAggregateInput = {
  id?: Prisma.SortOrder
  schedule_id?: Prisma.SortOrder
  time_slot_id?: Prisma.SortOrder
  booking_date?: Prisma.SortOrder
  status?: Prisma.SortOrder
  created_at?: Prisma.SortOrder
}

export type schedule_bookingsSumOrderByAggregateInput = {
  id?: Prisma.SortOrder
  schedule_id?: Prisma.SortOrder
  time_slot_id?: Prisma.SortOrder
}

export type Schedule_bookingsNullableScalarRelationFilter = {
  is?: Prisma.schedule_bookingsWhereInput | null
  isNot?: Prisma.schedule_bookingsWhereInput | null
}

export type schedule_bookingsCreateNestedManyWithoutTime_slotsInput = {
  create?: Prisma.XOR<Prisma.schedule_bookingsCreateWithoutTime_slotsInput, Prisma.schedule_bookingsUncheckedCreateWithoutTime_slotsInput> | Prisma.schedule_bookingsCreateWithoutTime_slotsInput[] | Prisma.schedule_bookingsUncheckedCreateWithoutTime_slotsInput[]
  connectOrCreate?: Prisma.schedule_bookingsCreateOrConnectWithoutTime_slotsInput | Prisma.schedule_bookingsCreateOrConnectWithoutTime_slotsInput[]
  createMany?: Prisma.schedule_bookingsCreateManyTime_slotsInputEnvelope
  connect?: Prisma.schedule_bookingsWhereUniqueInput | Prisma.schedule_bookingsWhereUniqueInput[]
}

export type schedule_bookingsUncheckedCreateNestedManyWithoutTime_slotsInput = {
  create?: Prisma.XOR<Prisma.schedule_bookingsCreateWithoutTime_slotsInput, Prisma.schedule_bookingsUncheckedCreateWithoutTime_slotsInput> | Prisma.schedule_bookingsCreateWithoutTime_slotsInput[] | Prisma.schedule_bookingsUncheckedCreateWithoutTime_slotsInput[]
  connectOrCreate?: Prisma.schedule_bookingsCreateOrConnectWithoutTime_slotsInput | Prisma.schedule_bookingsCreateOrConnectWithoutTime_slotsInput[]
  createMany?: Prisma.schedule_bookingsCreateManyTime_slotsInputEnvelope
  connect?: Prisma.schedule_bookingsWhereUniqueInput | Prisma.schedule_bookingsWhereUniqueInput[]
}

export type schedule_bookingsUpdateManyWithoutTime_slotsNestedInput = {
  create?: Prisma.XOR<Prisma.schedule_bookingsCreateWithoutTime_slotsInput, Prisma.schedule_bookingsUncheckedCreateWithoutTime_slotsInput> | Prisma.schedule_bookingsCreateWithoutTime_slotsInput[] | Prisma.schedule_bookingsUncheckedCreateWithoutTime_slotsInput[]
  connectOrCreate?: Prisma.schedule_bookingsCreateOrConnectWithoutTime_slotsInput | Prisma.schedule_bookingsCreateOrConnectWithoutTime_slotsInput[]
  upsert?: Prisma.schedule_bookingsUpsertWithWhereUniqueWithoutTime_slotsInput | Prisma.schedule_bookingsUpsertWithWhereUniqueWithoutTime_slotsInput[]
  createMany?: Prisma.schedule_bookingsCreateManyTime_slotsInputEnvelope
  set?: Prisma.schedule_bookingsWhereUniqueInput | Prisma.schedule_bookingsWhereUniqueInput[]
  disconnect?: Prisma.schedule_bookingsWhereUniqueInput | Prisma.schedule_bookingsWhereUniqueInput[]
  delete?: Prisma.schedule_bookingsWhereUniqueInput | Prisma.schedule_bookingsWhereUniqueInput[]
  connect?: Prisma.schedule_bookingsWhereUniqueInput | Prisma.schedule_bookingsWhereUniqueInput[]
  update?: Prisma.schedule_bookingsUpdateWithWhereUniqueWithoutTime_slotsInput | Prisma.schedule_bookingsUpdateWithWhereUniqueWithoutTime_slotsInput[]
  updateMany?: Prisma.schedule_bookingsUpdateManyWithWhereWithoutTime_slotsInput | Prisma.schedule_bookingsUpdateManyWithWhereWithoutTime_slotsInput[]
  deleteMany?: Prisma.schedule_bookingsScalarWhereInput | Prisma.schedule_bookingsScalarWhereInput[]
}

export type schedule_bookingsUncheckedUpdateManyWithoutTime_slotsNestedInput = {
  create?: Prisma.XOR<Prisma.schedule_bookingsCreateWithoutTime_slotsInput, Prisma.schedule_bookingsUncheckedCreateWithoutTime_slotsInput> | Prisma.schedule_bookingsCreateWithoutTime_slotsInput[] | Prisma.schedule_bookingsUncheckedCreateWithoutTime_slotsInput[]
  connectOrCreate?: Prisma.schedule_bookingsCreateOrConnectWithoutTime_slotsInput | Prisma.schedule_bookingsCreateOrConnectWithoutTime_slotsInput[]
  upsert?: Prisma.schedule_bookingsUpsertWithWhereUniqueWithoutTime_slotsInput | Prisma.schedule_bookingsUpsertWithWhereUniqueWithoutTime_slotsInput[]
  createMany?: Prisma.schedule_bookingsCreateManyTime_slotsInputEnvelope
  set?: Prisma.schedule_bookingsWhereUniqueInput | Prisma.schedule_bookingsWhereUniqueInput[]
  disconnect?: Prisma.schedule_bookingsWhereUniqueInput | Prisma.schedule_bookingsWhereUniqueInput[]
  delete?: Prisma.schedule_bookingsWhereUniqueInput | Prisma.schedule_bookingsWhereUniqueInput[]
  connect?: Prisma.schedule_bookingsWhereUniqueInput | Prisma.schedule_bookingsWhereUniqueInput[]
  update?: Prisma.schedule_bookingsUpdateWithWhereUniqueWithoutTime_slotsInput | Prisma.schedule_bookingsUpdateWithWhereUniqueWithoutTime_slotsInput[]
  updateMany?: Prisma.schedule_bookingsUpdateManyWithWhereWithoutTime_slotsInput | Prisma.schedule_bookingsUpdateManyWithWhereWithoutTime_slotsInput[]
  deleteMany?: Prisma.schedule_bookingsScalarWhereInput | Prisma.schedule_bookingsScalarWhereInput[]
}

export type schedule_bookingsCreateNestedManyWithoutStudent_schedulesInput = {
  create?: Prisma.XOR<Prisma.schedule_bookingsCreateWithoutStudent_schedulesInput, Prisma.schedule_bookingsUncheckedCreateWithoutStudent_schedulesInput> | Prisma.schedule_bookingsCreateWithoutStudent_schedulesInput[] | Prisma.schedule_bookingsUncheckedCreateWithoutStudent_schedulesInput[]
  connectOrCreate?: Prisma.schedule_bookingsCreateOrConnectWithoutStudent_schedulesInput | Prisma.schedule_bookingsCreateOrConnectWithoutStudent_schedulesInput[]
  createMany?: Prisma.schedule_bookingsCreateManyStudent_schedulesInputEnvelope
  connect?: Prisma.schedule_bookingsWhereUniqueInput | Prisma.schedule_bookingsWhereUniqueInput[]
}

export type schedule_bookingsUncheckedCreateNestedManyWithoutStudent_schedulesInput = {
  create?: Prisma.XOR<Prisma.schedule_bookingsCreateWithoutStudent_schedulesInput, Prisma.schedule_bookingsUncheckedCreateWithoutStudent_schedulesInput> | Prisma.schedule_bookingsCreateWithoutStudent_schedulesInput[] | Prisma.schedule_bookingsUncheckedCreateWithoutStudent_schedulesInput[]
  connectOrCreate?: Prisma.schedule_bookingsCreateOrConnectWithoutStudent_schedulesInput | Prisma.schedule_bookingsCreateOrConnectWithoutStudent_schedulesInput[]
  createMany?: Prisma.schedule_bookingsCreateManyStudent_schedulesInputEnvelope
  connect?: Prisma.schedule_bookingsWhereUniqueInput | Prisma.schedule_bookingsWhereUniqueInput[]
}

export type schedule_bookingsUpdateManyWithoutStudent_schedulesNestedInput = {
  create?: Prisma.XOR<Prisma.schedule_bookingsCreateWithoutStudent_schedulesInput, Prisma.schedule_bookingsUncheckedCreateWithoutStudent_schedulesInput> | Prisma.schedule_bookingsCreateWithoutStudent_schedulesInput[] | Prisma.schedule_bookingsUncheckedCreateWithoutStudent_schedulesInput[]
  connectOrCreate?: Prisma.schedule_bookingsCreateOrConnectWithoutStudent_schedulesInput | Prisma.schedule_bookingsCreateOrConnectWithoutStudent_schedulesInput[]
  upsert?: Prisma.schedule_bookingsUpsertWithWhereUniqueWithoutStudent_schedulesInput | Prisma.schedule_bookingsUpsertWithWhereUniqueWithoutStudent_schedulesInput[]
  createMany?: Prisma.schedule_bookingsCreateManyStudent_schedulesInputEnvelope
  set?: Prisma.schedule_bookingsWhereUniqueInput | Prisma.schedule_bookingsWhereUniqueInput[]
  disconnect?: Prisma.schedule_bookingsWhereUniqueInput | Prisma.schedule_bookingsWhereUniqueInput[]
  delete?: Prisma.schedule_bookingsWhereUniqueInput | Prisma.schedule_bookingsWhereUniqueInput[]
  connect?: Prisma.schedule_bookingsWhereUniqueInput | Prisma.schedule_bookingsWhereUniqueInput[]
  update?: Prisma.schedule_bookingsUpdateWithWhereUniqueWithoutStudent_schedulesInput | Prisma.schedule_bookingsUpdateWithWhereUniqueWithoutStudent_schedulesInput[]
  updateMany?: Prisma.schedule_bookingsUpdateManyWithWhereWithoutStudent_schedulesInput | Prisma.schedule_bookingsUpdateManyWithWhereWithoutStudent_schedulesInput[]
  deleteMany?: Prisma.schedule_bookingsScalarWhereInput | Prisma.schedule_bookingsScalarWhereInput[]
}

export type schedule_bookingsUncheckedUpdateManyWithoutStudent_schedulesNestedInput = {
  create?: Prisma.XOR<Prisma.schedule_bookingsCreateWithoutStudent_schedulesInput, Prisma.schedule_bookingsUncheckedCreateWithoutStudent_schedulesInput> | Prisma.schedule_bookingsCreateWithoutStudent_schedulesInput[] | Prisma.schedule_bookingsUncheckedCreateWithoutStudent_schedulesInput[]
  connectOrCreate?: Prisma.schedule_bookingsCreateOrConnectWithoutStudent_schedulesInput | Prisma.schedule_bookingsCreateOrConnectWithoutStudent_schedulesInput[]
  upsert?: Prisma.schedule_bookingsUpsertWithWhereUniqueWithoutStudent_schedulesInput | Prisma.schedule_bookingsUpsertWithWhereUniqueWithoutStudent_schedulesInput[]
  createMany?: Prisma.schedule_bookingsCreateManyStudent_schedulesInputEnvelope
  set?: Prisma.schedule_bookingsWhereUniqueInput | Prisma.schedule_bookingsWhereUniqueInput[]
  disconnect?: Prisma.schedule_bookingsWhereUniqueInput | Prisma.schedule_bookingsWhereUniqueInput[]
  delete?: Prisma.schedule_bookingsWhereUniqueInput | Prisma.schedule_bookingsWhereUniqueInput[]
  connect?: Prisma.schedule_bookingsWhereUniqueInput | Prisma.schedule_bookingsWhereUniqueInput[]
  update?: Prisma.schedule_bookingsUpdateWithWhereUniqueWithoutStudent_schedulesInput | Prisma.schedule_bookingsUpdateWithWhereUniqueWithoutStudent_schedulesInput[]
  updateMany?: Prisma.schedule_bookingsUpdateManyWithWhereWithoutStudent_schedulesInput | Prisma.schedule_bookingsUpdateManyWithWhereWithoutStudent_schedulesInput[]
  deleteMany?: Prisma.schedule_bookingsScalarWhereInput | Prisma.schedule_bookingsScalarWhereInput[]
}

export type schedule_bookingsCreateNestedOneWithoutSchedule_change_requestsInput = {
  create?: Prisma.XOR<Prisma.schedule_bookingsCreateWithoutSchedule_change_requestsInput, Prisma.schedule_bookingsUncheckedCreateWithoutSchedule_change_requestsInput>
  connectOrCreate?: Prisma.schedule_bookingsCreateOrConnectWithoutSchedule_change_requestsInput
  connect?: Prisma.schedule_bookingsWhereUniqueInput
}

export type schedule_bookingsUpdateOneWithoutSchedule_change_requestsNestedInput = {
  create?: Prisma.XOR<Prisma.schedule_bookingsCreateWithoutSchedule_change_requestsInput, Prisma.schedule_bookingsUncheckedCreateWithoutSchedule_change_requestsInput>
  connectOrCreate?: Prisma.schedule_bookingsCreateOrConnectWithoutSchedule_change_requestsInput
  upsert?: Prisma.schedule_bookingsUpsertWithoutSchedule_change_requestsInput
  disconnect?: Prisma.schedule_bookingsWhereInput | boolean
  delete?: Prisma.schedule_bookingsWhereInput | boolean
  connect?: Prisma.schedule_bookingsWhereUniqueInput
  update?: Prisma.XOR<Prisma.XOR<Prisma.schedule_bookingsUpdateToOneWithWhereWithoutSchedule_change_requestsInput, Prisma.schedule_bookingsUpdateWithoutSchedule_change_requestsInput>, Prisma.schedule_bookingsUncheckedUpdateWithoutSchedule_change_requestsInput>
}

export type schedule_bookingsCreateWithoutTime_slotsInput = {
  booking_date: Date | string
  status?: string | null
  created_at?: Date | string | null
  student_schedules: Prisma.student_schedulesCreateNestedOneWithoutSchedule_bookingsInput
  schedule_change_requests?: Prisma.schedule_change_requestsCreateNestedManyWithoutSchedule_bookingsInput
}

export type schedule_bookingsUncheckedCreateWithoutTime_slotsInput = {
  id?: number
  schedule_id: number
  booking_date: Date | string
  status?: string | null
  created_at?: Date | string | null
  schedule_change_requests?: Prisma.schedule_change_requestsUncheckedCreateNestedManyWithoutSchedule_bookingsInput
}

export type schedule_bookingsCreateOrConnectWithoutTime_slotsInput = {
  where: Prisma.schedule_bookingsWhereUniqueInput
  create: Prisma.XOR<Prisma.schedule_bookingsCreateWithoutTime_slotsInput, Prisma.schedule_bookingsUncheckedCreateWithoutTime_slotsInput>
}

export type schedule_bookingsCreateManyTime_slotsInputEnvelope = {
  data: Prisma.schedule_bookingsCreateManyTime_slotsInput | Prisma.schedule_bookingsCreateManyTime_slotsInput[]
  skipDuplicates?: boolean
}

export type schedule_bookingsUpsertWithWhereUniqueWithoutTime_slotsInput = {
  where: Prisma.schedule_bookingsWhereUniqueInput
  update: Prisma.XOR<Prisma.schedule_bookingsUpdateWithoutTime_slotsInput, Prisma.schedule_bookingsUncheckedUpdateWithoutTime_slotsInput>
  create: Prisma.XOR<Prisma.schedule_bookingsCreateWithoutTime_slotsInput, Prisma.schedule_bookingsUncheckedCreateWithoutTime_slotsInput>
}

export type schedule_bookingsUpdateWithWhereUniqueWithoutTime_slotsInput = {
  where: Prisma.schedule_bookingsWhereUniqueInput
  data: Prisma.XOR<Prisma.schedule_bookingsUpdateWithoutTime_slotsInput, Prisma.schedule_bookingsUncheckedUpdateWithoutTime_slotsInput>
}

export type schedule_bookingsUpdateManyWithWhereWithoutTime_slotsInput = {
  where: Prisma.schedule_bookingsScalarWhereInput
  data: Prisma.XOR<Prisma.schedule_bookingsUpdateManyMutationInput, Prisma.schedule_bookingsUncheckedUpdateManyWithoutTime_slotsInput>
}

export type schedule_bookingsScalarWhereInput = {
  AND?: Prisma.schedule_bookingsScalarWhereInput | Prisma.schedule_bookingsScalarWhereInput[]
  OR?: Prisma.schedule_bookingsScalarWhereInput[]
  NOT?: Prisma.schedule_bookingsScalarWhereInput | Prisma.schedule_bookingsScalarWhereInput[]
  id?: Prisma.IntFilter<"schedule_bookings"> | number
  schedule_id?: Prisma.IntFilter<"schedule_bookings"> | number
  time_slot_id?: Prisma.IntFilter<"schedule_bookings"> | number
  booking_date?: Prisma.DateTimeFilter<"schedule_bookings"> | Date | string
  status?: Prisma.StringNullableFilter<"schedule_bookings"> | string | null
  created_at?: Prisma.DateTimeNullableFilter<"schedule_bookings"> | Date | string | null
}

export type schedule_bookingsCreateWithoutStudent_schedulesInput = {
  booking_date: Date | string
  status?: string | null
  created_at?: Date | string | null
  time_slots: Prisma.time_slotsCreateNestedOneWithoutSchedule_bookingsInput
  schedule_change_requests?: Prisma.schedule_change_requestsCreateNestedManyWithoutSchedule_bookingsInput
}

export type schedule_bookingsUncheckedCreateWithoutStudent_schedulesInput = {
  id?: number
  time_slot_id: number
  booking_date: Date | string
  status?: string | null
  created_at?: Date | string | null
  schedule_change_requests?: Prisma.schedule_change_requestsUncheckedCreateNestedManyWithoutSchedule_bookingsInput
}

export type schedule_bookingsCreateOrConnectWithoutStudent_schedulesInput = {
  where: Prisma.schedule_bookingsWhereUniqueInput
  create: Prisma.XOR<Prisma.schedule_bookingsCreateWithoutStudent_schedulesInput, Prisma.schedule_bookingsUncheckedCreateWithoutStudent_schedulesInput>
}

export type schedule_bookingsCreateManyStudent_schedulesInputEnvelope = {
  data: Prisma.schedule_bookingsCreateManyStudent_schedulesInput | Prisma.schedule_bookingsCreateManyStudent_schedulesInput[]
  skipDuplicates?: boolean
}

export type schedule_bookingsUpsertWithWhereUniqueWithoutStudent_schedulesInput = {
  where: Prisma.schedule_bookingsWhereUniqueInput
  update: Prisma.XOR<Prisma.schedule_bookingsUpdateWithoutStudent_schedulesInput, Prisma.schedule_bookingsUncheckedUpdateWithoutStudent_schedulesInput>
  create: Prisma.XOR<Prisma.schedule_bookingsCreateWithoutStudent_schedulesInput, Prisma.schedule_bookingsUncheckedCreateWithoutStudent_schedulesInput>
}

export type schedule_bookingsUpdateWithWhereUniqueWithoutStudent_schedulesInput = {
  where: Prisma.schedule_bookingsWhereUniqueInput
  data: Prisma.XOR<Prisma.schedule_bookingsUpdateWithoutStudent_schedulesInput, Prisma.schedule_bookingsUncheckedUpdateWithoutStudent_schedulesInput>
}

export type schedule_bookingsUpdateManyWithWhereWithoutStudent_schedulesInput = {
  where: Prisma.schedule_bookingsScalarWhereInput
  data: Prisma.XOR<Prisma.schedule_bookingsUpdateManyMutationInput, Prisma.schedule_bookingsUncheckedUpdateManyWithoutStudent_schedulesInput>
}

export type schedule_bookingsCreateWithoutSchedule_change_requestsInput = {
  booking_date: Date | string
  status?: string | null
  created_at?: Date | string | null
  student_schedules: Prisma.student_schedulesCreateNestedOneWithoutSchedule_bookingsInput
  time_slots: Prisma.time_slotsCreateNestedOneWithoutSchedule_bookingsInput
}

export type schedule_bookingsUncheckedCreateWithoutSchedule_change_requestsInput = {
  id?: number
  schedule_id: number
  time_slot_id: number
  booking_date: Date | string
  status?: string | null
  created_at?: Date | string | null
}

export type schedule_bookingsCreateOrConnectWithoutSchedule_change_requestsInput = {
  where: Prisma.schedule_bookingsWhereUniqueInput
  create: Prisma.XOR<Prisma.schedule_bookingsCreateWithoutSchedule_change_requestsInput, Prisma.schedule_bookingsUncheckedCreateWithoutSchedule_change_requestsInput>
}

export type schedule_bookingsUpsertWithoutSchedule_change_requestsInput = {
  update: Prisma.XOR<Prisma.schedule_bookingsUpdateWithoutSchedule_change_requestsInput, Prisma.schedule_bookingsUncheckedUpdateWithoutSchedule_change_requestsInput>
  create: Prisma.XOR<Prisma.schedule_bookingsCreateWithoutSchedule_change_requestsInput, Prisma.schedule_bookingsUncheckedCreateWithoutSchedule_change_requestsInput>
  where?: Prisma.schedule_bookingsWhereInput
}

export type schedule_bookingsUpdateToOneWithWhereWithoutSchedule_change_requestsInput = {
  where?: Prisma.schedule_bookingsWhereInput
  data: Prisma.XOR<Prisma.schedule_bookingsUpdateWithoutSchedule_change_requestsInput, Prisma.schedule_bookingsUncheckedUpdateWithoutSchedule_change_requestsInput>
}

export type schedule_bookingsUpdateWithoutSchedule_change_requestsInput = {
  booking_date?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  student_schedules?: Prisma.student_schedulesUpdateOneRequiredWithoutSchedule_bookingsNestedInput
  time_slots?: Prisma.time_slotsUpdateOneRequiredWithoutSchedule_bookingsNestedInput
}

export type schedule_bookingsUncheckedUpdateWithoutSchedule_change_requestsInput = {
  id?: Prisma.IntFieldUpdateOperationsInput | number
  schedule_id?: Prisma.IntFieldUpdateOperationsInput | number
  time_slot_id?: Prisma.IntFieldUpdateOperationsInput | number
  booking_date?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}

export type schedule_bookingsCreateManyTime_slotsInput = {
  id?: number
  schedule_id: number
  booking_date: Date | string
  status?: string | null
  created_at?: Date | string | null
}

export type schedule_bookingsUpdateWithoutTime_slotsInput = {
  booking_date?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  student_schedules?: Prisma.student_schedulesUpdateOneRequiredWithoutSchedule_bookingsNestedInput
  schedule_change_requests?: Prisma.schedule_change_requestsUpdateManyWithoutSchedule_bookingsNestedInput
}

export type schedule_bookingsUncheckedUpdateWithoutTime_slotsInput = {
  id?: Prisma.IntFieldUpdateOperationsInput | number
  schedule_id?: Prisma.IntFieldUpdateOperationsInput | number
  booking_date?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  schedule_change_requests?: Prisma.schedule_change_requestsUncheckedUpdateManyWithoutSchedule_bookingsNestedInput
}

export type schedule_bookingsUncheckedUpdateManyWithoutTime_slotsInput = {
  id?: Prisma.IntFieldUpdateOperationsInput | number
  schedule_id?: Prisma.IntFieldUpdateOperationsInput | number
  booking_date?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}

export type schedule_bookingsCreateManyStudent_schedulesInput = {
  id?: number
  time_slot_id: number
  booking_date: Date | string
  status?: string | null
  created_at?: Date | string | null
}

export type schedule_bookingsUpdateWithoutStudent_schedulesInput = {
  booking_date?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  time_slots?: Prisma.time_slotsUpdateOneRequiredWithoutSchedule_bookingsNestedInput
  schedule_change_requests?: Prisma.schedule_change_requestsUpdateManyWithoutSchedule_bookingsNestedInput
}

export type schedule_bookingsUncheckedUpdateWithoutStudent_schedulesInput = {
  id?: Prisma.IntFieldUpdateOperationsInput | number
  time_slot_id?: Prisma.IntFieldUpdateOperationsInput | number
  booking_date?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  schedule_change_requests?: Prisma.schedule_change_requestsUncheckedUpdateManyWithoutSchedule_bookingsNestedInput
}

export type schedule_bookingsUncheckedUpdateManyWithoutStudent_schedulesInput = {
  id?: Prisma.IntFieldUpdateOperationsInput | number
  time_slot_id?: Prisma.IntFieldUpdateOperationsInput | number
  booking_date?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}


/**
 * Count Type Schedule_bookingsCountOutputType
 */

export type Schedule_bookingsCountOutputType = {
  schedule_change_requests: number
}

export type Schedule_bookingsCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  schedule_change_requests?: boolean | Schedule_bookingsCountOutputTypeCountSchedule_change_requestsArgs
}

/**
 * Schedule_bookingsCountOutputType without action
 */
export type Schedule_bookingsCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the Schedule_bookingsCountOutputType
   */
  select?: Prisma.Schedule_bookingsCountOutputTypeSelect<ExtArgs> | null
}

/**
 * Schedule_bookingsCountOutputType without action
 */
export type Schedule_bookingsCountOutputTypeCountSchedule_change_requestsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  where?: Prisma.schedule_change_requestsWhereInput
}


export type schedule_bookingsSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  schedule_id?: boolean
  time_slot_id?: boolean
  booking_date?: boolean
  status?: boolean
  created_at?: boolean
  student_schedules?: boolean | Prisma.student_schedulesDefaultArgs<ExtArgs>
  time_slots?: boolean | Prisma.time_slotsDefaultArgs<ExtArgs>
  schedule_change_requests?: boolean | Prisma.schedule_bookings$schedule_change_requestsArgs<ExtArgs>
  _count?: boolean | Prisma.Schedule_bookingsCountOutputTypeDefaultArgs<ExtArgs>
}, ExtArgs["result"]["schedule_bookings"]>

export type schedule_bookingsSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  schedule_id?: boolean
  time_slot_id?: boolean
  booking_date?: boolean
  status?: boolean
  created_at?: boolean
  student_schedules?: boolean | Prisma.student_schedulesDefaultArgs<ExtArgs>
  time_slots?: boolean | Prisma.time_slotsDefaultArgs<ExtArgs>
}, ExtArgs["result"]["schedule_bookings"]>

export type schedule_bookingsSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  schedule_id?: boolean
  time_slot_id?: boolean
  booking_date?: boolean
  status?: boolean
  created_at?: boolean
  student_schedules?: boolean | Prisma.student_schedulesDefaultArgs<ExtArgs>
  time_slots?: boolean | Prisma.time_slotsDefaultArgs<ExtArgs>
}, ExtArgs["result"]["schedule_bookings"]>

export type schedule_bookingsSelectScalar = {
  id?: boolean
  schedule_id?: boolean
  time_slot_id?: boolean
  booking_date?: boolean
  status?: boolean
  created_at?: boolean
}

export type schedule_bookingsOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "schedule_id" | "time_slot_id" | "booking_date" | "status" | "created_at", ExtArgs["result"]["schedule_bookings"]>
export type schedule_bookingsInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  student_schedules?: boolean | Prisma.student_schedulesDefaultArgs<ExtArgs>
  time_slots?: boolean | Prisma.time_slotsDefaultArgs<ExtArgs>
  schedule_change_requests?: boolean | Prisma.schedule_bookings$schedule_change_requestsArgs<ExtArgs>
  _count?: boolean | Prisma.Schedule_bookingsCountOutputTypeDefaultArgs<ExtArgs>
}
export type schedule_bookingsIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  student_schedules?: boolean | Prisma.student_schedulesDefaultArgs<ExtArgs>
  time_slots?: boolean | Prisma.time_slotsDefaultArgs<ExtArgs>
}
export type schedule_bookingsIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  student_schedules?: boolean | Prisma.student_schedulesDefaultArgs<ExtArgs>
  time_slots?: boolean | Prisma.time_slotsDefaultArgs<ExtArgs>
}

export type $schedule_bookingsPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  name: "schedule_bookings"
  objects: {
    student_schedules: Prisma.$student_schedulesPayload<ExtArgs>
    time_slots: Prisma.$time_slotsPayload<ExtArgs>
    schedule_change_requests: Prisma.$schedule_change_requestsPayload<ExtArgs>[]
  }
  scalars: runtime.Types.Extensions.GetPayloadResult<{
    id: number
    schedule_id: number
    time_slot_id: number
    booking_date: Date
    status: string | null
    created_at: Date | null
  }, ExtArgs["result"]["schedule_bookings"]>
  composites: {}
}

export type schedule_bookingsGetPayload<S extends boolean | null | undefined | schedule_bookingsDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$schedule_bookingsPayload, S>

export type schedule_bookingsCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
  Omit<schedule_bookingsFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
    select?: Schedule_bookingsCountAggregateInputType | true
  }

export interface schedule_bookingsDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
  [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['schedule_bookings'], meta: { name: 'schedule_bookings' } }
  /**
   * Find zero or one Schedule_bookings that matches the filter.
   * @param {schedule_bookingsFindUniqueArgs} args - Arguments to find a Schedule_bookings
   * @example
   * // Get one Schedule_bookings
   * const schedule_bookings = await prisma.schedule_bookings.findUnique({
   *   where: {
   *     // ... provide filter here
   *   }
   * })
   */
  findUnique<T extends schedule_bookingsFindUniqueArgs>(args: Prisma.SelectSubset<T, schedule_bookingsFindUniqueArgs<ExtArgs>>): Prisma.Prisma__schedule_bookingsClient<runtime.Types.Result.GetResult<Prisma.$schedule_bookingsPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>

  /**
   * Find one Schedule_bookings that matches the filter or throw an error with `error.code='P2025'`
   * if no matches were found.
   * @param {schedule_bookingsFindUniqueOrThrowArgs} args - Arguments to find a Schedule_bookings
   * @example
   * // Get one Schedule_bookings
   * const schedule_bookings = await prisma.schedule_bookings.findUniqueOrThrow({
   *   where: {
   *     // ... provide filter here
   *   }
   * })
   */
  findUniqueOrThrow<T extends schedule_bookingsFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, schedule_bookingsFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__schedule_bookingsClient<runtime.Types.Result.GetResult<Prisma.$schedule_bookingsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>

  /**
   * Find the first Schedule_bookings 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 {schedule_bookingsFindFirstArgs} args - Arguments to find a Schedule_bookings
   * @example
   * // Get one Schedule_bookings
   * const schedule_bookings = await prisma.schedule_bookings.findFirst({
   *   where: {
   *     // ... provide filter here
   *   }
   * })
   */
  findFirst<T extends schedule_bookingsFindFirstArgs>(args?: Prisma.SelectSubset<T, schedule_bookingsFindFirstArgs<ExtArgs>>): Prisma.Prisma__schedule_bookingsClient<runtime.Types.Result.GetResult<Prisma.$schedule_bookingsPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>

  /**
   * Find the first Schedule_bookings 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 {schedule_bookingsFindFirstOrThrowArgs} args - Arguments to find a Schedule_bookings
   * @example
   * // Get one Schedule_bookings
   * const schedule_bookings = await prisma.schedule_bookings.findFirstOrThrow({
   *   where: {
   *     // ... provide filter here
   *   }
   * })
   */
  findFirstOrThrow<T extends schedule_bookingsFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, schedule_bookingsFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__schedule_bookingsClient<runtime.Types.Result.GetResult<Prisma.$schedule_bookingsPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>

  /**
   * Find zero or more Schedule_bookings 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 {schedule_bookingsFindManyArgs} args - Arguments to filter and select certain fields only.
   * @example
   * // Get all Schedule_bookings
   * const schedule_bookings = await prisma.schedule_bookings.findMany()
   * 
   * // Get first 10 Schedule_bookings
   * const schedule_bookings = await prisma.schedule_bookings.findMany({ take: 10 })
   * 
   * // Only select the `id`
   * const schedule_bookingsWithIdOnly = await prisma.schedule_bookings.findMany({ select: { id: true } })
   * 
   */
  findMany<T extends schedule_bookingsFindManyArgs>(args?: Prisma.SelectSubset<T, schedule_bookingsFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$schedule_bookingsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>

  /**
   * Create a Schedule_bookings.
   * @param {schedule_bookingsCreateArgs} args - Arguments to create a Schedule_bookings.
   * @example
   * // Create one Schedule_bookings
   * const Schedule_bookings = await prisma.schedule_bookings.create({
   *   data: {
   *     // ... data to create a Schedule_bookings
   *   }
   * })
   * 
   */
  create<T extends schedule_bookingsCreateArgs>(args: Prisma.SelectSubset<T, schedule_bookingsCreateArgs<ExtArgs>>): Prisma.Prisma__schedule_bookingsClient<runtime.Types.Result.GetResult<Prisma.$schedule_bookingsPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>

  /**
   * Create many Schedule_bookings.
   * @param {schedule_bookingsCreateManyArgs} args - Arguments to create many Schedule_bookings.
   * @example
   * // Create many Schedule_bookings
   * const schedule_bookings = await prisma.schedule_bookings.createMany({
   *   data: [
   *     // ... provide data here
   *   ]
   * })
   *     
   */
  createMany<T extends schedule_bookingsCreateManyArgs>(args?: Prisma.SelectSubset<T, schedule_bookingsCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>

  /**
   * Create many Schedule_bookings and returns the data saved in the database.
   * @param {schedule_bookingsCreateManyAndReturnArgs} args - Arguments to create many Schedule_bookings.
   * @example
   * // Create many Schedule_bookings
   * const schedule_bookings = await prisma.schedule_bookings.createManyAndReturn({
   *   data: [
   *     // ... provide data here
   *   ]
   * })
   * 
   * // Create many Schedule_bookings and only return the `id`
   * const schedule_bookingsWithIdOnly = await prisma.schedule_bookings.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 schedule_bookingsCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, schedule_bookingsCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$schedule_bookingsPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>

  /**
   * Delete a Schedule_bookings.
   * @param {schedule_bookingsDeleteArgs} args - Arguments to delete one Schedule_bookings.
   * @example
   * // Delete one Schedule_bookings
   * const Schedule_bookings = await prisma.schedule_bookings.delete({
   *   where: {
   *     // ... filter to delete one Schedule_bookings
   *   }
   * })
   * 
   */
  delete<T extends schedule_bookingsDeleteArgs>(args: Prisma.SelectSubset<T, schedule_bookingsDeleteArgs<ExtArgs>>): Prisma.Prisma__schedule_bookingsClient<runtime.Types.Result.GetResult<Prisma.$schedule_bookingsPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>

  /**
   * Update one Schedule_bookings.
   * @param {schedule_bookingsUpdateArgs} args - Arguments to update one Schedule_bookings.
   * @example
   * // Update one Schedule_bookings
   * const schedule_bookings = await prisma.schedule_bookings.update({
   *   where: {
   *     // ... provide filter here
   *   },
   *   data: {
   *     // ... provide data here
   *   }
   * })
   * 
   */
  update<T extends schedule_bookingsUpdateArgs>(args: Prisma.SelectSubset<T, schedule_bookingsUpdateArgs<ExtArgs>>): Prisma.Prisma__schedule_bookingsClient<runtime.Types.Result.GetResult<Prisma.$schedule_bookingsPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>

  /**
   * Delete zero or more Schedule_bookings.
   * @param {schedule_bookingsDeleteManyArgs} args - Arguments to filter Schedule_bookings to delete.
   * @example
   * // Delete a few Schedule_bookings
   * const { count } = await prisma.schedule_bookings.deleteMany({
   *   where: {
   *     // ... provide filter here
   *   }
   * })
   * 
   */
  deleteMany<T extends schedule_bookingsDeleteManyArgs>(args?: Prisma.SelectSubset<T, schedule_bookingsDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>

  /**
   * Update zero or more Schedule_bookings.
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * @param {schedule_bookingsUpdateManyArgs} args - Arguments to update one or more rows.
   * @example
   * // Update many Schedule_bookings
   * const schedule_bookings = await prisma.schedule_bookings.updateMany({
   *   where: {
   *     // ... provide filter here
   *   },
   *   data: {
   *     // ... provide data here
   *   }
   * })
   * 
   */
  updateMany<T extends schedule_bookingsUpdateManyArgs>(args: Prisma.SelectSubset<T, schedule_bookingsUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>

  /**
   * Update zero or more Schedule_bookings and returns the data updated in the database.
   * @param {schedule_bookingsUpdateManyAndReturnArgs} args - Arguments to update many Schedule_bookings.
   * @example
   * // Update many Schedule_bookings
   * const schedule_bookings = await prisma.schedule_bookings.updateManyAndReturn({
   *   where: {
   *     // ... provide filter here
   *   },
   *   data: [
   *     // ... provide data here
   *   ]
   * })
   * 
   * // Update zero or more Schedule_bookings and only return the `id`
   * const schedule_bookingsWithIdOnly = await prisma.schedule_bookings.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 schedule_bookingsUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, schedule_bookingsUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$schedule_bookingsPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>

  /**
   * Create or update one Schedule_bookings.
   * @param {schedule_bookingsUpsertArgs} args - Arguments to update or create a Schedule_bookings.
   * @example
   * // Update or create a Schedule_bookings
   * const schedule_bookings = await prisma.schedule_bookings.upsert({
   *   create: {
   *     // ... data to create a Schedule_bookings
   *   },
   *   update: {
   *     // ... in case it already exists, update
   *   },
   *   where: {
   *     // ... the filter for the Schedule_bookings we want to update
   *   }
   * })
   */
  upsert<T extends schedule_bookingsUpsertArgs>(args: Prisma.SelectSubset<T, schedule_bookingsUpsertArgs<ExtArgs>>): Prisma.Prisma__schedule_bookingsClient<runtime.Types.Result.GetResult<Prisma.$schedule_bookingsPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>


  /**
   * Count the number of Schedule_bookings.
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * @param {schedule_bookingsCountArgs} args - Arguments to filter Schedule_bookings to count.
   * @example
   * // Count the number of Schedule_bookings
   * const count = await prisma.schedule_bookings.count({
   *   where: {
   *     // ... the filter for the Schedule_bookings we want to count
   *   }
   * })
  **/
  count<T extends schedule_bookingsCountArgs>(
    args?: Prisma.Subset<T, schedule_bookingsCountArgs>,
  ): Prisma.PrismaPromise<
    T extends runtime.Types.Utils.Record<'select', any>
      ? T['select'] extends true
        ? number
        : Prisma.GetScalarType<T['select'], Schedule_bookingsCountAggregateOutputType>
      : number
  >

  /**
   * Allows you to perform aggregations operations on a Schedule_bookings.
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * @param {Schedule_bookingsAggregateArgs} 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 Schedule_bookingsAggregateArgs>(args: Prisma.Subset<T, Schedule_bookingsAggregateArgs>): Prisma.PrismaPromise<GetSchedule_bookingsAggregateType<T>>

  /**
   * Group by Schedule_bookings.
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * @param {schedule_bookingsGroupByArgs} 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 schedule_bookingsGroupByArgs,
    HasSelectOrTake extends Prisma.Or<
      Prisma.Extends<'skip', Prisma.Keys<T>>,
      Prisma.Extends<'take', Prisma.Keys<T>>
    >,
    OrderByArg extends Prisma.True extends HasSelectOrTake
      ? { orderBy: schedule_bookingsGroupByArgs['orderBy'] }
      : { orderBy?: schedule_bookingsGroupByArgs['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, schedule_bookingsGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetSchedule_bookingsGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
 * Fields of the schedule_bookings model
 */
readonly fields: schedule_bookingsFieldRefs;
}

/**
 * The delegate class that acts as a "Promise-like" for schedule_bookings.
 * 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__schedule_bookingsClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
  readonly [Symbol.toStringTag]: "PrismaPromise"
  student_schedules<T extends Prisma.student_schedulesDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.student_schedulesDefaultArgs<ExtArgs>>): Prisma.Prisma__student_schedulesClient<runtime.Types.Result.GetResult<Prisma.$student_schedulesPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
  time_slots<T extends Prisma.time_slotsDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.time_slotsDefaultArgs<ExtArgs>>): Prisma.Prisma__time_slotsClient<runtime.Types.Result.GetResult<Prisma.$time_slotsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
  schedule_change_requests<T extends Prisma.schedule_bookings$schedule_change_requestsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.schedule_bookings$schedule_change_requestsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$schedule_change_requestsPayload<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 schedule_bookings model
 */
export interface schedule_bookingsFieldRefs {
  readonly id: Prisma.FieldRef<"schedule_bookings", 'Int'>
  readonly schedule_id: Prisma.FieldRef<"schedule_bookings", 'Int'>
  readonly time_slot_id: Prisma.FieldRef<"schedule_bookings", 'Int'>
  readonly booking_date: Prisma.FieldRef<"schedule_bookings", 'DateTime'>
  readonly status: Prisma.FieldRef<"schedule_bookings", 'String'>
  readonly created_at: Prisma.FieldRef<"schedule_bookings", 'DateTime'>
}
    

// Custom InputTypes
/**
 * schedule_bookings findUnique
 */
export type schedule_bookingsFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the schedule_bookings
   */
  select?: Prisma.schedule_bookingsSelect<ExtArgs> | null
  /**
   * Omit specific fields from the schedule_bookings
   */
  omit?: Prisma.schedule_bookingsOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.schedule_bookingsInclude<ExtArgs> | null
  /**
   * Filter, which schedule_bookings to fetch.
   */
  where: Prisma.schedule_bookingsWhereUniqueInput
}

/**
 * schedule_bookings findUniqueOrThrow
 */
export type schedule_bookingsFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the schedule_bookings
   */
  select?: Prisma.schedule_bookingsSelect<ExtArgs> | null
  /**
   * Omit specific fields from the schedule_bookings
   */
  omit?: Prisma.schedule_bookingsOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.schedule_bookingsInclude<ExtArgs> | null
  /**
   * Filter, which schedule_bookings to fetch.
   */
  where: Prisma.schedule_bookingsWhereUniqueInput
}

/**
 * schedule_bookings findFirst
 */
export type schedule_bookingsFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the schedule_bookings
   */
  select?: Prisma.schedule_bookingsSelect<ExtArgs> | null
  /**
   * Omit specific fields from the schedule_bookings
   */
  omit?: Prisma.schedule_bookingsOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.schedule_bookingsInclude<ExtArgs> | null
  /**
   * Filter, which schedule_bookings to fetch.
   */
  where?: Prisma.schedule_bookingsWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of schedule_bookings to fetch.
   */
  orderBy?: Prisma.schedule_bookingsOrderByWithRelationInput | Prisma.schedule_bookingsOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the position for searching for schedule_bookings.
   */
  cursor?: Prisma.schedule_bookingsWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` schedule_bookings 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` schedule_bookings.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
   * 
   * Filter by unique combinations of schedule_bookings.
   */
  distinct?: Prisma.Schedule_bookingsScalarFieldEnum | Prisma.Schedule_bookingsScalarFieldEnum[]
}

/**
 * schedule_bookings findFirstOrThrow
 */
export type schedule_bookingsFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the schedule_bookings
   */
  select?: Prisma.schedule_bookingsSelect<ExtArgs> | null
  /**
   * Omit specific fields from the schedule_bookings
   */
  omit?: Prisma.schedule_bookingsOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.schedule_bookingsInclude<ExtArgs> | null
  /**
   * Filter, which schedule_bookings to fetch.
   */
  where?: Prisma.schedule_bookingsWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of schedule_bookings to fetch.
   */
  orderBy?: Prisma.schedule_bookingsOrderByWithRelationInput | Prisma.schedule_bookingsOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the position for searching for schedule_bookings.
   */
  cursor?: Prisma.schedule_bookingsWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` schedule_bookings 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` schedule_bookings.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
   * 
   * Filter by unique combinations of schedule_bookings.
   */
  distinct?: Prisma.Schedule_bookingsScalarFieldEnum | Prisma.Schedule_bookingsScalarFieldEnum[]
}

/**
 * schedule_bookings findMany
 */
export type schedule_bookingsFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the schedule_bookings
   */
  select?: Prisma.schedule_bookingsSelect<ExtArgs> | null
  /**
   * Omit specific fields from the schedule_bookings
   */
  omit?: Prisma.schedule_bookingsOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.schedule_bookingsInclude<ExtArgs> | null
  /**
   * Filter, which schedule_bookings to fetch.
   */
  where?: Prisma.schedule_bookingsWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of schedule_bookings to fetch.
   */
  orderBy?: Prisma.schedule_bookingsOrderByWithRelationInput | Prisma.schedule_bookingsOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the position for listing schedule_bookings.
   */
  cursor?: Prisma.schedule_bookingsWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` schedule_bookings 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` schedule_bookings.
   */
  skip?: number
  distinct?: Prisma.Schedule_bookingsScalarFieldEnum | Prisma.Schedule_bookingsScalarFieldEnum[]
}

/**
 * schedule_bookings create
 */
export type schedule_bookingsCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the schedule_bookings
   */
  select?: Prisma.schedule_bookingsSelect<ExtArgs> | null
  /**
   * Omit specific fields from the schedule_bookings
   */
  omit?: Prisma.schedule_bookingsOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.schedule_bookingsInclude<ExtArgs> | null
  /**
   * The data needed to create a schedule_bookings.
   */
  data: Prisma.XOR<Prisma.schedule_bookingsCreateInput, Prisma.schedule_bookingsUncheckedCreateInput>
}

/**
 * schedule_bookings createMany
 */
export type schedule_bookingsCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * The data used to create many schedule_bookings.
   */
  data: Prisma.schedule_bookingsCreateManyInput | Prisma.schedule_bookingsCreateManyInput[]
  skipDuplicates?: boolean
}

/**
 * schedule_bookings createManyAndReturn
 */
export type schedule_bookingsCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the schedule_bookings
   */
  select?: Prisma.schedule_bookingsSelectCreateManyAndReturn<ExtArgs> | null
  /**
   * Omit specific fields from the schedule_bookings
   */
  omit?: Prisma.schedule_bookingsOmit<ExtArgs> | null
  /**
   * The data used to create many schedule_bookings.
   */
  data: Prisma.schedule_bookingsCreateManyInput | Prisma.schedule_bookingsCreateManyInput[]
  skipDuplicates?: boolean
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.schedule_bookingsIncludeCreateManyAndReturn<ExtArgs> | null
}

/**
 * schedule_bookings update
 */
export type schedule_bookingsUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the schedule_bookings
   */
  select?: Prisma.schedule_bookingsSelect<ExtArgs> | null
  /**
   * Omit specific fields from the schedule_bookings
   */
  omit?: Prisma.schedule_bookingsOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.schedule_bookingsInclude<ExtArgs> | null
  /**
   * The data needed to update a schedule_bookings.
   */
  data: Prisma.XOR<Prisma.schedule_bookingsUpdateInput, Prisma.schedule_bookingsUncheckedUpdateInput>
  /**
   * Choose, which schedule_bookings to update.
   */
  where: Prisma.schedule_bookingsWhereUniqueInput
}

/**
 * schedule_bookings updateMany
 */
export type schedule_bookingsUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * The data used to update schedule_bookings.
   */
  data: Prisma.XOR<Prisma.schedule_bookingsUpdateManyMutationInput, Prisma.schedule_bookingsUncheckedUpdateManyInput>
  /**
   * Filter which schedule_bookings to update
   */
  where?: Prisma.schedule_bookingsWhereInput
  /**
   * Limit how many schedule_bookings to update.
   */
  limit?: number
}

/**
 * schedule_bookings updateManyAndReturn
 */
export type schedule_bookingsUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the schedule_bookings
   */
  select?: Prisma.schedule_bookingsSelectUpdateManyAndReturn<ExtArgs> | null
  /**
   * Omit specific fields from the schedule_bookings
   */
  omit?: Prisma.schedule_bookingsOmit<ExtArgs> | null
  /**
   * The data used to update schedule_bookings.
   */
  data: Prisma.XOR<Prisma.schedule_bookingsUpdateManyMutationInput, Prisma.schedule_bookingsUncheckedUpdateManyInput>
  /**
   * Filter which schedule_bookings to update
   */
  where?: Prisma.schedule_bookingsWhereInput
  /**
   * Limit how many schedule_bookings to update.
   */
  limit?: number
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.schedule_bookingsIncludeUpdateManyAndReturn<ExtArgs> | null
}

/**
 * schedule_bookings upsert
 */
export type schedule_bookingsUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the schedule_bookings
   */
  select?: Prisma.schedule_bookingsSelect<ExtArgs> | null
  /**
   * Omit specific fields from the schedule_bookings
   */
  omit?: Prisma.schedule_bookingsOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.schedule_bookingsInclude<ExtArgs> | null
  /**
   * The filter to search for the schedule_bookings to update in case it exists.
   */
  where: Prisma.schedule_bookingsWhereUniqueInput
  /**
   * In case the schedule_bookings found by the `where` argument doesn't exist, create a new schedule_bookings with this data.
   */
  create: Prisma.XOR<Prisma.schedule_bookingsCreateInput, Prisma.schedule_bookingsUncheckedCreateInput>
  /**
   * In case the schedule_bookings was found with the provided `where` argument, update it with this data.
   */
  update: Prisma.XOR<Prisma.schedule_bookingsUpdateInput, Prisma.schedule_bookingsUncheckedUpdateInput>
}

/**
 * schedule_bookings delete
 */
export type schedule_bookingsDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the schedule_bookings
   */
  select?: Prisma.schedule_bookingsSelect<ExtArgs> | null
  /**
   * Omit specific fields from the schedule_bookings
   */
  omit?: Prisma.schedule_bookingsOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.schedule_bookingsInclude<ExtArgs> | null
  /**
   * Filter which schedule_bookings to delete.
   */
  where: Prisma.schedule_bookingsWhereUniqueInput
}

/**
 * schedule_bookings deleteMany
 */
export type schedule_bookingsDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Filter which schedule_bookings to delete
   */
  where?: Prisma.schedule_bookingsWhereInput
  /**
   * Limit how many schedule_bookings to delete.
   */
  limit?: number
}

/**
 * schedule_bookings.schedule_change_requests
 */
export type schedule_bookings$schedule_change_requestsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the schedule_change_requests
   */
  select?: Prisma.schedule_change_requestsSelect<ExtArgs> | null
  /**
   * Omit specific fields from the schedule_change_requests
   */
  omit?: Prisma.schedule_change_requestsOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.schedule_change_requestsInclude<ExtArgs> | null
  where?: Prisma.schedule_change_requestsWhereInput
  orderBy?: Prisma.schedule_change_requestsOrderByWithRelationInput | Prisma.schedule_change_requestsOrderByWithRelationInput[]
  cursor?: Prisma.schedule_change_requestsWhereUniqueInput
  take?: number
  skip?: number
  distinct?: Prisma.Schedule_change_requestsScalarFieldEnum | Prisma.Schedule_change_requestsScalarFieldEnum[]
}

/**
 * schedule_bookings without action
 */
export type schedule_bookingsDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the schedule_bookings
   */
  select?: Prisma.schedule_bookingsSelect<ExtArgs> | null
  /**
   * Omit specific fields from the schedule_bookings
   */
  omit?: Prisma.schedule_bookingsOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.schedule_bookingsInclude<ExtArgs> | null
}
