
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
/* eslint-disable */
// biome-ignore-all lint: generated file
// @ts-nocheck 
/*
 * This file exports the `master_time_slot_sessions` 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 master_time_slot_sessions
 * 
 */
export type master_time_slot_sessionsModel = runtime.Types.Result.DefaultSelection<Prisma.$master_time_slot_sessionsPayload>

export type AggregateMaster_time_slot_sessions = {
  _count: Master_time_slot_sessionsCountAggregateOutputType | null
  _avg: Master_time_slot_sessionsAvgAggregateOutputType | null
  _sum: Master_time_slot_sessionsSumAggregateOutputType | null
  _min: Master_time_slot_sessionsMinAggregateOutputType | null
  _max: Master_time_slot_sessionsMaxAggregateOutputType | null
}

export type Master_time_slot_sessionsAvgAggregateOutputType = {
  id: number | null
  day_id: number | null
  duration_mins: number | null
  capacity: number | null
}

export type Master_time_slot_sessionsSumAggregateOutputType = {
  id: number | null
  day_id: number | null
  duration_mins: number | null
  capacity: number | null
}

export type Master_time_slot_sessionsMinAggregateOutputType = {
  id: number | null
  day_id: number | null
  start_time: string | null
  end_time: string | null
  duration_mins: number | null
  capacity: number | null
  active_status: boolean | null
  created_at: Date | null
  updated_at: Date | null
}

export type Master_time_slot_sessionsMaxAggregateOutputType = {
  id: number | null
  day_id: number | null
  start_time: string | null
  end_time: string | null
  duration_mins: number | null
  capacity: number | null
  active_status: boolean | null
  created_at: Date | null
  updated_at: Date | null
}

export type Master_time_slot_sessionsCountAggregateOutputType = {
  id: number
  day_id: number
  start_time: number
  end_time: number
  duration_mins: number
  capacity: number
  active_status: number
  created_at: number
  updated_at: number
  _all: number
}


export type Master_time_slot_sessionsAvgAggregateInputType = {
  id?: true
  day_id?: true
  duration_mins?: true
  capacity?: true
}

export type Master_time_slot_sessionsSumAggregateInputType = {
  id?: true
  day_id?: true
  duration_mins?: true
  capacity?: true
}

export type Master_time_slot_sessionsMinAggregateInputType = {
  id?: true
  day_id?: true
  start_time?: true
  end_time?: true
  duration_mins?: true
  capacity?: true
  active_status?: true
  created_at?: true
  updated_at?: true
}

export type Master_time_slot_sessionsMaxAggregateInputType = {
  id?: true
  day_id?: true
  start_time?: true
  end_time?: true
  duration_mins?: true
  capacity?: true
  active_status?: true
  created_at?: true
  updated_at?: true
}

export type Master_time_slot_sessionsCountAggregateInputType = {
  id?: true
  day_id?: true
  start_time?: true
  end_time?: true
  duration_mins?: true
  capacity?: true
  active_status?: true
  created_at?: true
  updated_at?: true
  _all?: true
}

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

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




export type master_time_slot_sessionsGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  where?: Prisma.master_time_slot_sessionsWhereInput
  orderBy?: Prisma.master_time_slot_sessionsOrderByWithAggregationInput | Prisma.master_time_slot_sessionsOrderByWithAggregationInput[]
  by: Prisma.Master_time_slot_sessionsScalarFieldEnum[] | Prisma.Master_time_slot_sessionsScalarFieldEnum
  having?: Prisma.master_time_slot_sessionsScalarWhereWithAggregatesInput
  take?: number
  skip?: number
  _count?: Master_time_slot_sessionsCountAggregateInputType | true
  _avg?: Master_time_slot_sessionsAvgAggregateInputType
  _sum?: Master_time_slot_sessionsSumAggregateInputType
  _min?: Master_time_slot_sessionsMinAggregateInputType
  _max?: Master_time_slot_sessionsMaxAggregateInputType
}

export type Master_time_slot_sessionsGroupByOutputType = {
  id: number
  day_id: number
  start_time: string
  end_time: string
  duration_mins: number
  capacity: number
  active_status: boolean | null
  created_at: Date | null
  updated_at: Date | null
  _count: Master_time_slot_sessionsCountAggregateOutputType | null
  _avg: Master_time_slot_sessionsAvgAggregateOutputType | null
  _sum: Master_time_slot_sessionsSumAggregateOutputType | null
  _min: Master_time_slot_sessionsMinAggregateOutputType | null
  _max: Master_time_slot_sessionsMaxAggregateOutputType | null
}

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



export type master_time_slot_sessionsWhereInput = {
  AND?: Prisma.master_time_slot_sessionsWhereInput | Prisma.master_time_slot_sessionsWhereInput[]
  OR?: Prisma.master_time_slot_sessionsWhereInput[]
  NOT?: Prisma.master_time_slot_sessionsWhereInput | Prisma.master_time_slot_sessionsWhereInput[]
  id?: Prisma.IntFilter<"master_time_slot_sessions"> | number
  day_id?: Prisma.IntFilter<"master_time_slot_sessions"> | number
  start_time?: Prisma.StringFilter<"master_time_slot_sessions"> | string
  end_time?: Prisma.StringFilter<"master_time_slot_sessions"> | string
  duration_mins?: Prisma.IntFilter<"master_time_slot_sessions"> | number
  capacity?: Prisma.IntFilter<"master_time_slot_sessions"> | number
  active_status?: Prisma.BoolNullableFilter<"master_time_slot_sessions"> | boolean | null
  created_at?: Prisma.DateTimeNullableFilter<"master_time_slot_sessions"> | Date | string | null
  updated_at?: Prisma.DateTimeNullableFilter<"master_time_slot_sessions"> | Date | string | null
  master_time_slot_days?: Prisma.XOR<Prisma.Master_time_slot_daysScalarRelationFilter, Prisma.master_time_slot_daysWhereInput>
  time_slots?: Prisma.Time_slotsListRelationFilter
}

export type master_time_slot_sessionsOrderByWithRelationInput = {
  id?: Prisma.SortOrder
  day_id?: Prisma.SortOrder
  start_time?: Prisma.SortOrder
  end_time?: Prisma.SortOrder
  duration_mins?: Prisma.SortOrder
  capacity?: Prisma.SortOrder
  active_status?: Prisma.SortOrderInput | Prisma.SortOrder
  created_at?: Prisma.SortOrderInput | Prisma.SortOrder
  updated_at?: Prisma.SortOrderInput | Prisma.SortOrder
  master_time_slot_days?: Prisma.master_time_slot_daysOrderByWithRelationInput
  time_slots?: Prisma.time_slotsOrderByRelationAggregateInput
}

export type master_time_slot_sessionsWhereUniqueInput = Prisma.AtLeast<{
  id?: number
  AND?: Prisma.master_time_slot_sessionsWhereInput | Prisma.master_time_slot_sessionsWhereInput[]
  OR?: Prisma.master_time_slot_sessionsWhereInput[]
  NOT?: Prisma.master_time_slot_sessionsWhereInput | Prisma.master_time_slot_sessionsWhereInput[]
  day_id?: Prisma.IntFilter<"master_time_slot_sessions"> | number
  start_time?: Prisma.StringFilter<"master_time_slot_sessions"> | string
  end_time?: Prisma.StringFilter<"master_time_slot_sessions"> | string
  duration_mins?: Prisma.IntFilter<"master_time_slot_sessions"> | number
  capacity?: Prisma.IntFilter<"master_time_slot_sessions"> | number
  active_status?: Prisma.BoolNullableFilter<"master_time_slot_sessions"> | boolean | null
  created_at?: Prisma.DateTimeNullableFilter<"master_time_slot_sessions"> | Date | string | null
  updated_at?: Prisma.DateTimeNullableFilter<"master_time_slot_sessions"> | Date | string | null
  master_time_slot_days?: Prisma.XOR<Prisma.Master_time_slot_daysScalarRelationFilter, Prisma.master_time_slot_daysWhereInput>
  time_slots?: Prisma.Time_slotsListRelationFilter
}, "id">

export type master_time_slot_sessionsOrderByWithAggregationInput = {
  id?: Prisma.SortOrder
  day_id?: Prisma.SortOrder
  start_time?: Prisma.SortOrder
  end_time?: Prisma.SortOrder
  duration_mins?: Prisma.SortOrder
  capacity?: Prisma.SortOrder
  active_status?: Prisma.SortOrderInput | Prisma.SortOrder
  created_at?: Prisma.SortOrderInput | Prisma.SortOrder
  updated_at?: Prisma.SortOrderInput | Prisma.SortOrder
  _count?: Prisma.master_time_slot_sessionsCountOrderByAggregateInput
  _avg?: Prisma.master_time_slot_sessionsAvgOrderByAggregateInput
  _max?: Prisma.master_time_slot_sessionsMaxOrderByAggregateInput
  _min?: Prisma.master_time_slot_sessionsMinOrderByAggregateInput
  _sum?: Prisma.master_time_slot_sessionsSumOrderByAggregateInput
}

export type master_time_slot_sessionsScalarWhereWithAggregatesInput = {
  AND?: Prisma.master_time_slot_sessionsScalarWhereWithAggregatesInput | Prisma.master_time_slot_sessionsScalarWhereWithAggregatesInput[]
  OR?: Prisma.master_time_slot_sessionsScalarWhereWithAggregatesInput[]
  NOT?: Prisma.master_time_slot_sessionsScalarWhereWithAggregatesInput | Prisma.master_time_slot_sessionsScalarWhereWithAggregatesInput[]
  id?: Prisma.IntWithAggregatesFilter<"master_time_slot_sessions"> | number
  day_id?: Prisma.IntWithAggregatesFilter<"master_time_slot_sessions"> | number
  start_time?: Prisma.StringWithAggregatesFilter<"master_time_slot_sessions"> | string
  end_time?: Prisma.StringWithAggregatesFilter<"master_time_slot_sessions"> | string
  duration_mins?: Prisma.IntWithAggregatesFilter<"master_time_slot_sessions"> | number
  capacity?: Prisma.IntWithAggregatesFilter<"master_time_slot_sessions"> | number
  active_status?: Prisma.BoolNullableWithAggregatesFilter<"master_time_slot_sessions"> | boolean | null
  created_at?: Prisma.DateTimeNullableWithAggregatesFilter<"master_time_slot_sessions"> | Date | string | null
  updated_at?: Prisma.DateTimeNullableWithAggregatesFilter<"master_time_slot_sessions"> | Date | string | null
}

export type master_time_slot_sessionsCreateInput = {
  start_time: string
  end_time: string
  duration_mins?: number
  capacity?: number
  active_status?: boolean | null
  created_at?: Date | string | null
  updated_at?: Date | string | null
  master_time_slot_days: Prisma.master_time_slot_daysCreateNestedOneWithoutMaster_time_slot_sessionsInput
  time_slots?: Prisma.time_slotsCreateNestedManyWithoutMaster_time_slot_sessionsInput
}

export type master_time_slot_sessionsUncheckedCreateInput = {
  id?: number
  day_id: number
  start_time: string
  end_time: string
  duration_mins?: number
  capacity?: number
  active_status?: boolean | null
  created_at?: Date | string | null
  updated_at?: Date | string | null
  time_slots?: Prisma.time_slotsUncheckedCreateNestedManyWithoutMaster_time_slot_sessionsInput
}

export type master_time_slot_sessionsUpdateInput = {
  start_time?: Prisma.StringFieldUpdateOperationsInput | string
  end_time?: Prisma.StringFieldUpdateOperationsInput | string
  duration_mins?: Prisma.IntFieldUpdateOperationsInput | number
  capacity?: Prisma.IntFieldUpdateOperationsInput | number
  active_status?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
  created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  master_time_slot_days?: Prisma.master_time_slot_daysUpdateOneRequiredWithoutMaster_time_slot_sessionsNestedInput
  time_slots?: Prisma.time_slotsUpdateManyWithoutMaster_time_slot_sessionsNestedInput
}

export type master_time_slot_sessionsUncheckedUpdateInput = {
  id?: Prisma.IntFieldUpdateOperationsInput | number
  day_id?: Prisma.IntFieldUpdateOperationsInput | number
  start_time?: Prisma.StringFieldUpdateOperationsInput | string
  end_time?: Prisma.StringFieldUpdateOperationsInput | string
  duration_mins?: Prisma.IntFieldUpdateOperationsInput | number
  capacity?: Prisma.IntFieldUpdateOperationsInput | number
  active_status?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
  created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  time_slots?: Prisma.time_slotsUncheckedUpdateManyWithoutMaster_time_slot_sessionsNestedInput
}

export type master_time_slot_sessionsCreateManyInput = {
  id?: number
  day_id: number
  start_time: string
  end_time: string
  duration_mins?: number
  capacity?: number
  active_status?: boolean | null
  created_at?: Date | string | null
  updated_at?: Date | string | null
}

export type master_time_slot_sessionsUpdateManyMutationInput = {
  start_time?: Prisma.StringFieldUpdateOperationsInput | string
  end_time?: Prisma.StringFieldUpdateOperationsInput | string
  duration_mins?: Prisma.IntFieldUpdateOperationsInput | number
  capacity?: Prisma.IntFieldUpdateOperationsInput | number
  active_status?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
  created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}

export type master_time_slot_sessionsUncheckedUpdateManyInput = {
  id?: Prisma.IntFieldUpdateOperationsInput | number
  day_id?: Prisma.IntFieldUpdateOperationsInput | number
  start_time?: Prisma.StringFieldUpdateOperationsInput | string
  end_time?: Prisma.StringFieldUpdateOperationsInput | string
  duration_mins?: Prisma.IntFieldUpdateOperationsInput | number
  capacity?: Prisma.IntFieldUpdateOperationsInput | number
  active_status?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
  created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}

export type Master_time_slot_sessionsListRelationFilter = {
  every?: Prisma.master_time_slot_sessionsWhereInput
  some?: Prisma.master_time_slot_sessionsWhereInput
  none?: Prisma.master_time_slot_sessionsWhereInput
}

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

export type master_time_slot_sessionsCountOrderByAggregateInput = {
  id?: Prisma.SortOrder
  day_id?: Prisma.SortOrder
  start_time?: Prisma.SortOrder
  end_time?: Prisma.SortOrder
  duration_mins?: Prisma.SortOrder
  capacity?: Prisma.SortOrder
  active_status?: Prisma.SortOrder
  created_at?: Prisma.SortOrder
  updated_at?: Prisma.SortOrder
}

export type master_time_slot_sessionsAvgOrderByAggregateInput = {
  id?: Prisma.SortOrder
  day_id?: Prisma.SortOrder
  duration_mins?: Prisma.SortOrder
  capacity?: Prisma.SortOrder
}

export type master_time_slot_sessionsMaxOrderByAggregateInput = {
  id?: Prisma.SortOrder
  day_id?: Prisma.SortOrder
  start_time?: Prisma.SortOrder
  end_time?: Prisma.SortOrder
  duration_mins?: Prisma.SortOrder
  capacity?: Prisma.SortOrder
  active_status?: Prisma.SortOrder
  created_at?: Prisma.SortOrder
  updated_at?: Prisma.SortOrder
}

export type master_time_slot_sessionsMinOrderByAggregateInput = {
  id?: Prisma.SortOrder
  day_id?: Prisma.SortOrder
  start_time?: Prisma.SortOrder
  end_time?: Prisma.SortOrder
  duration_mins?: Prisma.SortOrder
  capacity?: Prisma.SortOrder
  active_status?: Prisma.SortOrder
  created_at?: Prisma.SortOrder
  updated_at?: Prisma.SortOrder
}

export type master_time_slot_sessionsSumOrderByAggregateInput = {
  id?: Prisma.SortOrder
  day_id?: Prisma.SortOrder
  duration_mins?: Prisma.SortOrder
  capacity?: Prisma.SortOrder
}

export type Master_time_slot_sessionsNullableScalarRelationFilter = {
  is?: Prisma.master_time_slot_sessionsWhereInput | null
  isNot?: Prisma.master_time_slot_sessionsWhereInput | null
}

export type master_time_slot_sessionsCreateNestedManyWithoutMaster_time_slot_daysInput = {
  create?: Prisma.XOR<Prisma.master_time_slot_sessionsCreateWithoutMaster_time_slot_daysInput, Prisma.master_time_slot_sessionsUncheckedCreateWithoutMaster_time_slot_daysInput> | Prisma.master_time_slot_sessionsCreateWithoutMaster_time_slot_daysInput[] | Prisma.master_time_slot_sessionsUncheckedCreateWithoutMaster_time_slot_daysInput[]
  connectOrCreate?: Prisma.master_time_slot_sessionsCreateOrConnectWithoutMaster_time_slot_daysInput | Prisma.master_time_slot_sessionsCreateOrConnectWithoutMaster_time_slot_daysInput[]
  createMany?: Prisma.master_time_slot_sessionsCreateManyMaster_time_slot_daysInputEnvelope
  connect?: Prisma.master_time_slot_sessionsWhereUniqueInput | Prisma.master_time_slot_sessionsWhereUniqueInput[]
}

export type master_time_slot_sessionsUncheckedCreateNestedManyWithoutMaster_time_slot_daysInput = {
  create?: Prisma.XOR<Prisma.master_time_slot_sessionsCreateWithoutMaster_time_slot_daysInput, Prisma.master_time_slot_sessionsUncheckedCreateWithoutMaster_time_slot_daysInput> | Prisma.master_time_slot_sessionsCreateWithoutMaster_time_slot_daysInput[] | Prisma.master_time_slot_sessionsUncheckedCreateWithoutMaster_time_slot_daysInput[]
  connectOrCreate?: Prisma.master_time_slot_sessionsCreateOrConnectWithoutMaster_time_slot_daysInput | Prisma.master_time_slot_sessionsCreateOrConnectWithoutMaster_time_slot_daysInput[]
  createMany?: Prisma.master_time_slot_sessionsCreateManyMaster_time_slot_daysInputEnvelope
  connect?: Prisma.master_time_slot_sessionsWhereUniqueInput | Prisma.master_time_slot_sessionsWhereUniqueInput[]
}

export type master_time_slot_sessionsUpdateManyWithoutMaster_time_slot_daysNestedInput = {
  create?: Prisma.XOR<Prisma.master_time_slot_sessionsCreateWithoutMaster_time_slot_daysInput, Prisma.master_time_slot_sessionsUncheckedCreateWithoutMaster_time_slot_daysInput> | Prisma.master_time_slot_sessionsCreateWithoutMaster_time_slot_daysInput[] | Prisma.master_time_slot_sessionsUncheckedCreateWithoutMaster_time_slot_daysInput[]
  connectOrCreate?: Prisma.master_time_slot_sessionsCreateOrConnectWithoutMaster_time_slot_daysInput | Prisma.master_time_slot_sessionsCreateOrConnectWithoutMaster_time_slot_daysInput[]
  upsert?: Prisma.master_time_slot_sessionsUpsertWithWhereUniqueWithoutMaster_time_slot_daysInput | Prisma.master_time_slot_sessionsUpsertWithWhereUniqueWithoutMaster_time_slot_daysInput[]
  createMany?: Prisma.master_time_slot_sessionsCreateManyMaster_time_slot_daysInputEnvelope
  set?: Prisma.master_time_slot_sessionsWhereUniqueInput | Prisma.master_time_slot_sessionsWhereUniqueInput[]
  disconnect?: Prisma.master_time_slot_sessionsWhereUniqueInput | Prisma.master_time_slot_sessionsWhereUniqueInput[]
  delete?: Prisma.master_time_slot_sessionsWhereUniqueInput | Prisma.master_time_slot_sessionsWhereUniqueInput[]
  connect?: Prisma.master_time_slot_sessionsWhereUniqueInput | Prisma.master_time_slot_sessionsWhereUniqueInput[]
  update?: Prisma.master_time_slot_sessionsUpdateWithWhereUniqueWithoutMaster_time_slot_daysInput | Prisma.master_time_slot_sessionsUpdateWithWhereUniqueWithoutMaster_time_slot_daysInput[]
  updateMany?: Prisma.master_time_slot_sessionsUpdateManyWithWhereWithoutMaster_time_slot_daysInput | Prisma.master_time_slot_sessionsUpdateManyWithWhereWithoutMaster_time_slot_daysInput[]
  deleteMany?: Prisma.master_time_slot_sessionsScalarWhereInput | Prisma.master_time_slot_sessionsScalarWhereInput[]
}

export type master_time_slot_sessionsUncheckedUpdateManyWithoutMaster_time_slot_daysNestedInput = {
  create?: Prisma.XOR<Prisma.master_time_slot_sessionsCreateWithoutMaster_time_slot_daysInput, Prisma.master_time_slot_sessionsUncheckedCreateWithoutMaster_time_slot_daysInput> | Prisma.master_time_slot_sessionsCreateWithoutMaster_time_slot_daysInput[] | Prisma.master_time_slot_sessionsUncheckedCreateWithoutMaster_time_slot_daysInput[]
  connectOrCreate?: Prisma.master_time_slot_sessionsCreateOrConnectWithoutMaster_time_slot_daysInput | Prisma.master_time_slot_sessionsCreateOrConnectWithoutMaster_time_slot_daysInput[]
  upsert?: Prisma.master_time_slot_sessionsUpsertWithWhereUniqueWithoutMaster_time_slot_daysInput | Prisma.master_time_slot_sessionsUpsertWithWhereUniqueWithoutMaster_time_slot_daysInput[]
  createMany?: Prisma.master_time_slot_sessionsCreateManyMaster_time_slot_daysInputEnvelope
  set?: Prisma.master_time_slot_sessionsWhereUniqueInput | Prisma.master_time_slot_sessionsWhereUniqueInput[]
  disconnect?: Prisma.master_time_slot_sessionsWhereUniqueInput | Prisma.master_time_slot_sessionsWhereUniqueInput[]
  delete?: Prisma.master_time_slot_sessionsWhereUniqueInput | Prisma.master_time_slot_sessionsWhereUniqueInput[]
  connect?: Prisma.master_time_slot_sessionsWhereUniqueInput | Prisma.master_time_slot_sessionsWhereUniqueInput[]
  update?: Prisma.master_time_slot_sessionsUpdateWithWhereUniqueWithoutMaster_time_slot_daysInput | Prisma.master_time_slot_sessionsUpdateWithWhereUniqueWithoutMaster_time_slot_daysInput[]
  updateMany?: Prisma.master_time_slot_sessionsUpdateManyWithWhereWithoutMaster_time_slot_daysInput | Prisma.master_time_slot_sessionsUpdateManyWithWhereWithoutMaster_time_slot_daysInput[]
  deleteMany?: Prisma.master_time_slot_sessionsScalarWhereInput | Prisma.master_time_slot_sessionsScalarWhereInput[]
}

export type master_time_slot_sessionsCreateNestedOneWithoutTime_slotsInput = {
  create?: Prisma.XOR<Prisma.master_time_slot_sessionsCreateWithoutTime_slotsInput, Prisma.master_time_slot_sessionsUncheckedCreateWithoutTime_slotsInput>
  connectOrCreate?: Prisma.master_time_slot_sessionsCreateOrConnectWithoutTime_slotsInput
  connect?: Prisma.master_time_slot_sessionsWhereUniqueInput
}

export type master_time_slot_sessionsUpdateOneWithoutTime_slotsNestedInput = {
  create?: Prisma.XOR<Prisma.master_time_slot_sessionsCreateWithoutTime_slotsInput, Prisma.master_time_slot_sessionsUncheckedCreateWithoutTime_slotsInput>
  connectOrCreate?: Prisma.master_time_slot_sessionsCreateOrConnectWithoutTime_slotsInput
  upsert?: Prisma.master_time_slot_sessionsUpsertWithoutTime_slotsInput
  disconnect?: Prisma.master_time_slot_sessionsWhereInput | boolean
  delete?: Prisma.master_time_slot_sessionsWhereInput | boolean
  connect?: Prisma.master_time_slot_sessionsWhereUniqueInput
  update?: Prisma.XOR<Prisma.XOR<Prisma.master_time_slot_sessionsUpdateToOneWithWhereWithoutTime_slotsInput, Prisma.master_time_slot_sessionsUpdateWithoutTime_slotsInput>, Prisma.master_time_slot_sessionsUncheckedUpdateWithoutTime_slotsInput>
}

export type master_time_slot_sessionsCreateWithoutMaster_time_slot_daysInput = {
  start_time: string
  end_time: string
  duration_mins?: number
  capacity?: number
  active_status?: boolean | null
  created_at?: Date | string | null
  updated_at?: Date | string | null
  time_slots?: Prisma.time_slotsCreateNestedManyWithoutMaster_time_slot_sessionsInput
}

export type master_time_slot_sessionsUncheckedCreateWithoutMaster_time_slot_daysInput = {
  id?: number
  start_time: string
  end_time: string
  duration_mins?: number
  capacity?: number
  active_status?: boolean | null
  created_at?: Date | string | null
  updated_at?: Date | string | null
  time_slots?: Prisma.time_slotsUncheckedCreateNestedManyWithoutMaster_time_slot_sessionsInput
}

export type master_time_slot_sessionsCreateOrConnectWithoutMaster_time_slot_daysInput = {
  where: Prisma.master_time_slot_sessionsWhereUniqueInput
  create: Prisma.XOR<Prisma.master_time_slot_sessionsCreateWithoutMaster_time_slot_daysInput, Prisma.master_time_slot_sessionsUncheckedCreateWithoutMaster_time_slot_daysInput>
}

export type master_time_slot_sessionsCreateManyMaster_time_slot_daysInputEnvelope = {
  data: Prisma.master_time_slot_sessionsCreateManyMaster_time_slot_daysInput | Prisma.master_time_slot_sessionsCreateManyMaster_time_slot_daysInput[]
  skipDuplicates?: boolean
}

export type master_time_slot_sessionsUpsertWithWhereUniqueWithoutMaster_time_slot_daysInput = {
  where: Prisma.master_time_slot_sessionsWhereUniqueInput
  update: Prisma.XOR<Prisma.master_time_slot_sessionsUpdateWithoutMaster_time_slot_daysInput, Prisma.master_time_slot_sessionsUncheckedUpdateWithoutMaster_time_slot_daysInput>
  create: Prisma.XOR<Prisma.master_time_slot_sessionsCreateWithoutMaster_time_slot_daysInput, Prisma.master_time_slot_sessionsUncheckedCreateWithoutMaster_time_slot_daysInput>
}

export type master_time_slot_sessionsUpdateWithWhereUniqueWithoutMaster_time_slot_daysInput = {
  where: Prisma.master_time_slot_sessionsWhereUniqueInput
  data: Prisma.XOR<Prisma.master_time_slot_sessionsUpdateWithoutMaster_time_slot_daysInput, Prisma.master_time_slot_sessionsUncheckedUpdateWithoutMaster_time_slot_daysInput>
}

export type master_time_slot_sessionsUpdateManyWithWhereWithoutMaster_time_slot_daysInput = {
  where: Prisma.master_time_slot_sessionsScalarWhereInput
  data: Prisma.XOR<Prisma.master_time_slot_sessionsUpdateManyMutationInput, Prisma.master_time_slot_sessionsUncheckedUpdateManyWithoutMaster_time_slot_daysInput>
}

export type master_time_slot_sessionsScalarWhereInput = {
  AND?: Prisma.master_time_slot_sessionsScalarWhereInput | Prisma.master_time_slot_sessionsScalarWhereInput[]
  OR?: Prisma.master_time_slot_sessionsScalarWhereInput[]
  NOT?: Prisma.master_time_slot_sessionsScalarWhereInput | Prisma.master_time_slot_sessionsScalarWhereInput[]
  id?: Prisma.IntFilter<"master_time_slot_sessions"> | number
  day_id?: Prisma.IntFilter<"master_time_slot_sessions"> | number
  start_time?: Prisma.StringFilter<"master_time_slot_sessions"> | string
  end_time?: Prisma.StringFilter<"master_time_slot_sessions"> | string
  duration_mins?: Prisma.IntFilter<"master_time_slot_sessions"> | number
  capacity?: Prisma.IntFilter<"master_time_slot_sessions"> | number
  active_status?: Prisma.BoolNullableFilter<"master_time_slot_sessions"> | boolean | null
  created_at?: Prisma.DateTimeNullableFilter<"master_time_slot_sessions"> | Date | string | null
  updated_at?: Prisma.DateTimeNullableFilter<"master_time_slot_sessions"> | Date | string | null
}

export type master_time_slot_sessionsCreateWithoutTime_slotsInput = {
  start_time: string
  end_time: string
  duration_mins?: number
  capacity?: number
  active_status?: boolean | null
  created_at?: Date | string | null
  updated_at?: Date | string | null
  master_time_slot_days: Prisma.master_time_slot_daysCreateNestedOneWithoutMaster_time_slot_sessionsInput
}

export type master_time_slot_sessionsUncheckedCreateWithoutTime_slotsInput = {
  id?: number
  day_id: number
  start_time: string
  end_time: string
  duration_mins?: number
  capacity?: number
  active_status?: boolean | null
  created_at?: Date | string | null
  updated_at?: Date | string | null
}

export type master_time_slot_sessionsCreateOrConnectWithoutTime_slotsInput = {
  where: Prisma.master_time_slot_sessionsWhereUniqueInput
  create: Prisma.XOR<Prisma.master_time_slot_sessionsCreateWithoutTime_slotsInput, Prisma.master_time_slot_sessionsUncheckedCreateWithoutTime_slotsInput>
}

export type master_time_slot_sessionsUpsertWithoutTime_slotsInput = {
  update: Prisma.XOR<Prisma.master_time_slot_sessionsUpdateWithoutTime_slotsInput, Prisma.master_time_slot_sessionsUncheckedUpdateWithoutTime_slotsInput>
  create: Prisma.XOR<Prisma.master_time_slot_sessionsCreateWithoutTime_slotsInput, Prisma.master_time_slot_sessionsUncheckedCreateWithoutTime_slotsInput>
  where?: Prisma.master_time_slot_sessionsWhereInput
}

export type master_time_slot_sessionsUpdateToOneWithWhereWithoutTime_slotsInput = {
  where?: Prisma.master_time_slot_sessionsWhereInput
  data: Prisma.XOR<Prisma.master_time_slot_sessionsUpdateWithoutTime_slotsInput, Prisma.master_time_slot_sessionsUncheckedUpdateWithoutTime_slotsInput>
}

export type master_time_slot_sessionsUpdateWithoutTime_slotsInput = {
  start_time?: Prisma.StringFieldUpdateOperationsInput | string
  end_time?: Prisma.StringFieldUpdateOperationsInput | string
  duration_mins?: Prisma.IntFieldUpdateOperationsInput | number
  capacity?: Prisma.IntFieldUpdateOperationsInput | number
  active_status?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
  created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  master_time_slot_days?: Prisma.master_time_slot_daysUpdateOneRequiredWithoutMaster_time_slot_sessionsNestedInput
}

export type master_time_slot_sessionsUncheckedUpdateWithoutTime_slotsInput = {
  id?: Prisma.IntFieldUpdateOperationsInput | number
  day_id?: Prisma.IntFieldUpdateOperationsInput | number
  start_time?: Prisma.StringFieldUpdateOperationsInput | string
  end_time?: Prisma.StringFieldUpdateOperationsInput | string
  duration_mins?: Prisma.IntFieldUpdateOperationsInput | number
  capacity?: Prisma.IntFieldUpdateOperationsInput | number
  active_status?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
  created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}

export type master_time_slot_sessionsCreateManyMaster_time_slot_daysInput = {
  id?: number
  start_time: string
  end_time: string
  duration_mins?: number
  capacity?: number
  active_status?: boolean | null
  created_at?: Date | string | null
  updated_at?: Date | string | null
}

export type master_time_slot_sessionsUpdateWithoutMaster_time_slot_daysInput = {
  start_time?: Prisma.StringFieldUpdateOperationsInput | string
  end_time?: Prisma.StringFieldUpdateOperationsInput | string
  duration_mins?: Prisma.IntFieldUpdateOperationsInput | number
  capacity?: Prisma.IntFieldUpdateOperationsInput | number
  active_status?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
  created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  time_slots?: Prisma.time_slotsUpdateManyWithoutMaster_time_slot_sessionsNestedInput
}

export type master_time_slot_sessionsUncheckedUpdateWithoutMaster_time_slot_daysInput = {
  id?: Prisma.IntFieldUpdateOperationsInput | number
  start_time?: Prisma.StringFieldUpdateOperationsInput | string
  end_time?: Prisma.StringFieldUpdateOperationsInput | string
  duration_mins?: Prisma.IntFieldUpdateOperationsInput | number
  capacity?: Prisma.IntFieldUpdateOperationsInput | number
  active_status?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
  created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  time_slots?: Prisma.time_slotsUncheckedUpdateManyWithoutMaster_time_slot_sessionsNestedInput
}

export type master_time_slot_sessionsUncheckedUpdateManyWithoutMaster_time_slot_daysInput = {
  id?: Prisma.IntFieldUpdateOperationsInput | number
  start_time?: Prisma.StringFieldUpdateOperationsInput | string
  end_time?: Prisma.StringFieldUpdateOperationsInput | string
  duration_mins?: Prisma.IntFieldUpdateOperationsInput | number
  capacity?: Prisma.IntFieldUpdateOperationsInput | number
  active_status?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
  created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}


/**
 * Count Type Master_time_slot_sessionsCountOutputType
 */

export type Master_time_slot_sessionsCountOutputType = {
  time_slots: number
}

export type Master_time_slot_sessionsCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  time_slots?: boolean | Master_time_slot_sessionsCountOutputTypeCountTime_slotsArgs
}

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

/**
 * Master_time_slot_sessionsCountOutputType without action
 */
export type Master_time_slot_sessionsCountOutputTypeCountTime_slotsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  where?: Prisma.time_slotsWhereInput
}


export type master_time_slot_sessionsSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  day_id?: boolean
  start_time?: boolean
  end_time?: boolean
  duration_mins?: boolean
  capacity?: boolean
  active_status?: boolean
  created_at?: boolean
  updated_at?: boolean
  master_time_slot_days?: boolean | Prisma.master_time_slot_daysDefaultArgs<ExtArgs>
  time_slots?: boolean | Prisma.master_time_slot_sessions$time_slotsArgs<ExtArgs>
  _count?: boolean | Prisma.Master_time_slot_sessionsCountOutputTypeDefaultArgs<ExtArgs>
}, ExtArgs["result"]["master_time_slot_sessions"]>

export type master_time_slot_sessionsSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  day_id?: boolean
  start_time?: boolean
  end_time?: boolean
  duration_mins?: boolean
  capacity?: boolean
  active_status?: boolean
  created_at?: boolean
  updated_at?: boolean
  master_time_slot_days?: boolean | Prisma.master_time_slot_daysDefaultArgs<ExtArgs>
}, ExtArgs["result"]["master_time_slot_sessions"]>

export type master_time_slot_sessionsSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  day_id?: boolean
  start_time?: boolean
  end_time?: boolean
  duration_mins?: boolean
  capacity?: boolean
  active_status?: boolean
  created_at?: boolean
  updated_at?: boolean
  master_time_slot_days?: boolean | Prisma.master_time_slot_daysDefaultArgs<ExtArgs>
}, ExtArgs["result"]["master_time_slot_sessions"]>

export type master_time_slot_sessionsSelectScalar = {
  id?: boolean
  day_id?: boolean
  start_time?: boolean
  end_time?: boolean
  duration_mins?: boolean
  capacity?: boolean
  active_status?: boolean
  created_at?: boolean
  updated_at?: boolean
}

export type master_time_slot_sessionsOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "day_id" | "start_time" | "end_time" | "duration_mins" | "capacity" | "active_status" | "created_at" | "updated_at", ExtArgs["result"]["master_time_slot_sessions"]>
export type master_time_slot_sessionsInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  master_time_slot_days?: boolean | Prisma.master_time_slot_daysDefaultArgs<ExtArgs>
  time_slots?: boolean | Prisma.master_time_slot_sessions$time_slotsArgs<ExtArgs>
  _count?: boolean | Prisma.Master_time_slot_sessionsCountOutputTypeDefaultArgs<ExtArgs>
}
export type master_time_slot_sessionsIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  master_time_slot_days?: boolean | Prisma.master_time_slot_daysDefaultArgs<ExtArgs>
}
export type master_time_slot_sessionsIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  master_time_slot_days?: boolean | Prisma.master_time_slot_daysDefaultArgs<ExtArgs>
}

export type $master_time_slot_sessionsPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  name: "master_time_slot_sessions"
  objects: {
    master_time_slot_days: Prisma.$master_time_slot_daysPayload<ExtArgs>
    time_slots: Prisma.$time_slotsPayload<ExtArgs>[]
  }
  scalars: runtime.Types.Extensions.GetPayloadResult<{
    id: number
    day_id: number
    start_time: string
    end_time: string
    duration_mins: number
    capacity: number
    active_status: boolean | null
    created_at: Date | null
    updated_at: Date | null
  }, ExtArgs["result"]["master_time_slot_sessions"]>
  composites: {}
}

export type master_time_slot_sessionsGetPayload<S extends boolean | null | undefined | master_time_slot_sessionsDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$master_time_slot_sessionsPayload, S>

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

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

/**
 * The delegate class that acts as a "Promise-like" for master_time_slot_sessions.
 * 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__master_time_slot_sessionsClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
  readonly [Symbol.toStringTag]: "PrismaPromise"
  master_time_slot_days<T extends Prisma.master_time_slot_daysDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.master_time_slot_daysDefaultArgs<ExtArgs>>): Prisma.Prisma__master_time_slot_daysClient<runtime.Types.Result.GetResult<Prisma.$master_time_slot_daysPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
  time_slots<T extends Prisma.master_time_slot_sessions$time_slotsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.master_time_slot_sessions$time_slotsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$time_slotsPayload<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 master_time_slot_sessions model
 */
export interface master_time_slot_sessionsFieldRefs {
  readonly id: Prisma.FieldRef<"master_time_slot_sessions", 'Int'>
  readonly day_id: Prisma.FieldRef<"master_time_slot_sessions", 'Int'>
  readonly start_time: Prisma.FieldRef<"master_time_slot_sessions", 'String'>
  readonly end_time: Prisma.FieldRef<"master_time_slot_sessions", 'String'>
  readonly duration_mins: Prisma.FieldRef<"master_time_slot_sessions", 'Int'>
  readonly capacity: Prisma.FieldRef<"master_time_slot_sessions", 'Int'>
  readonly active_status: Prisma.FieldRef<"master_time_slot_sessions", 'Boolean'>
  readonly created_at: Prisma.FieldRef<"master_time_slot_sessions", 'DateTime'>
  readonly updated_at: Prisma.FieldRef<"master_time_slot_sessions", 'DateTime'>
}
    

// Custom InputTypes
/**
 * master_time_slot_sessions findUnique
 */
export type master_time_slot_sessionsFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the master_time_slot_sessions
   */
  select?: Prisma.master_time_slot_sessionsSelect<ExtArgs> | null
  /**
   * Omit specific fields from the master_time_slot_sessions
   */
  omit?: Prisma.master_time_slot_sessionsOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.master_time_slot_sessionsInclude<ExtArgs> | null
  /**
   * Filter, which master_time_slot_sessions to fetch.
   */
  where: Prisma.master_time_slot_sessionsWhereUniqueInput
}

/**
 * master_time_slot_sessions findUniqueOrThrow
 */
export type master_time_slot_sessionsFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the master_time_slot_sessions
   */
  select?: Prisma.master_time_slot_sessionsSelect<ExtArgs> | null
  /**
   * Omit specific fields from the master_time_slot_sessions
   */
  omit?: Prisma.master_time_slot_sessionsOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.master_time_slot_sessionsInclude<ExtArgs> | null
  /**
   * Filter, which master_time_slot_sessions to fetch.
   */
  where: Prisma.master_time_slot_sessionsWhereUniqueInput
}

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

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

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

/**
 * master_time_slot_sessions create
 */
export type master_time_slot_sessionsCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the master_time_slot_sessions
   */
  select?: Prisma.master_time_slot_sessionsSelect<ExtArgs> | null
  /**
   * Omit specific fields from the master_time_slot_sessions
   */
  omit?: Prisma.master_time_slot_sessionsOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.master_time_slot_sessionsInclude<ExtArgs> | null
  /**
   * The data needed to create a master_time_slot_sessions.
   */
  data: Prisma.XOR<Prisma.master_time_slot_sessionsCreateInput, Prisma.master_time_slot_sessionsUncheckedCreateInput>
}

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

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

/**
 * master_time_slot_sessions update
 */
export type master_time_slot_sessionsUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the master_time_slot_sessions
   */
  select?: Prisma.master_time_slot_sessionsSelect<ExtArgs> | null
  /**
   * Omit specific fields from the master_time_slot_sessions
   */
  omit?: Prisma.master_time_slot_sessionsOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.master_time_slot_sessionsInclude<ExtArgs> | null
  /**
   * The data needed to update a master_time_slot_sessions.
   */
  data: Prisma.XOR<Prisma.master_time_slot_sessionsUpdateInput, Prisma.master_time_slot_sessionsUncheckedUpdateInput>
  /**
   * Choose, which master_time_slot_sessions to update.
   */
  where: Prisma.master_time_slot_sessionsWhereUniqueInput
}

/**
 * master_time_slot_sessions updateMany
 */
export type master_time_slot_sessionsUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * The data used to update master_time_slot_sessions.
   */
  data: Prisma.XOR<Prisma.master_time_slot_sessionsUpdateManyMutationInput, Prisma.master_time_slot_sessionsUncheckedUpdateManyInput>
  /**
   * Filter which master_time_slot_sessions to update
   */
  where?: Prisma.master_time_slot_sessionsWhereInput
  /**
   * Limit how many master_time_slot_sessions to update.
   */
  limit?: number
}

/**
 * master_time_slot_sessions updateManyAndReturn
 */
export type master_time_slot_sessionsUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the master_time_slot_sessions
   */
  select?: Prisma.master_time_slot_sessionsSelectUpdateManyAndReturn<ExtArgs> | null
  /**
   * Omit specific fields from the master_time_slot_sessions
   */
  omit?: Prisma.master_time_slot_sessionsOmit<ExtArgs> | null
  /**
   * The data used to update master_time_slot_sessions.
   */
  data: Prisma.XOR<Prisma.master_time_slot_sessionsUpdateManyMutationInput, Prisma.master_time_slot_sessionsUncheckedUpdateManyInput>
  /**
   * Filter which master_time_slot_sessions to update
   */
  where?: Prisma.master_time_slot_sessionsWhereInput
  /**
   * Limit how many master_time_slot_sessions to update.
   */
  limit?: number
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.master_time_slot_sessionsIncludeUpdateManyAndReturn<ExtArgs> | null
}

/**
 * master_time_slot_sessions upsert
 */
export type master_time_slot_sessionsUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the master_time_slot_sessions
   */
  select?: Prisma.master_time_slot_sessionsSelect<ExtArgs> | null
  /**
   * Omit specific fields from the master_time_slot_sessions
   */
  omit?: Prisma.master_time_slot_sessionsOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.master_time_slot_sessionsInclude<ExtArgs> | null
  /**
   * The filter to search for the master_time_slot_sessions to update in case it exists.
   */
  where: Prisma.master_time_slot_sessionsWhereUniqueInput
  /**
   * In case the master_time_slot_sessions found by the `where` argument doesn't exist, create a new master_time_slot_sessions with this data.
   */
  create: Prisma.XOR<Prisma.master_time_slot_sessionsCreateInput, Prisma.master_time_slot_sessionsUncheckedCreateInput>
  /**
   * In case the master_time_slot_sessions was found with the provided `where` argument, update it with this data.
   */
  update: Prisma.XOR<Prisma.master_time_slot_sessionsUpdateInput, Prisma.master_time_slot_sessionsUncheckedUpdateInput>
}

/**
 * master_time_slot_sessions delete
 */
export type master_time_slot_sessionsDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the master_time_slot_sessions
   */
  select?: Prisma.master_time_slot_sessionsSelect<ExtArgs> | null
  /**
   * Omit specific fields from the master_time_slot_sessions
   */
  omit?: Prisma.master_time_slot_sessionsOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.master_time_slot_sessionsInclude<ExtArgs> | null
  /**
   * Filter which master_time_slot_sessions to delete.
   */
  where: Prisma.master_time_slot_sessionsWhereUniqueInput
}

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

/**
 * master_time_slot_sessions.time_slots
 */
export type master_time_slot_sessions$time_slotsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the time_slots
   */
  select?: Prisma.time_slotsSelect<ExtArgs> | null
  /**
   * Omit specific fields from the time_slots
   */
  omit?: Prisma.time_slotsOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.time_slotsInclude<ExtArgs> | null
  where?: Prisma.time_slotsWhereInput
  orderBy?: Prisma.time_slotsOrderByWithRelationInput | Prisma.time_slotsOrderByWithRelationInput[]
  cursor?: Prisma.time_slotsWhereUniqueInput
  take?: number
  skip?: number
  distinct?: Prisma.Time_slotsScalarFieldEnum | Prisma.Time_slotsScalarFieldEnum[]
}

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