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

/**
 * Model session_start_sources
 * 
 */
export type session_start_sourcesModel = runtime.Types.Result.DefaultSelection<Prisma.$session_start_sourcesPayload>

export type AggregateSession_start_sources = {
  _count: Session_start_sourcesCountAggregateOutputType | null
  _avg: Session_start_sourcesAvgAggregateOutputType | null
  _sum: Session_start_sourcesSumAggregateOutputType | null
  _min: Session_start_sourcesMinAggregateOutputType | null
  _max: Session_start_sourcesMaxAggregateOutputType | null
}

export type Session_start_sourcesAvgAggregateOutputType = {
  scheduled_task_id: number | null
}

export type Session_start_sourcesSumAggregateOutputType = {
  scheduled_task_id: number | null
}

export type Session_start_sourcesMinAggregateOutputType = {
  session_id: string | null
  schedule_kind: $Enums.task_schedule_kind | null
  scheduled_task_id: number | null
  created_at: Date | null
  updated_at: Date | null
}

export type Session_start_sourcesMaxAggregateOutputType = {
  session_id: string | null
  schedule_kind: $Enums.task_schedule_kind | null
  scheduled_task_id: number | null
  created_at: Date | null
  updated_at: Date | null
}

export type Session_start_sourcesCountAggregateOutputType = {
  session_id: number
  schedule_kind: number
  scheduled_task_id: number
  created_at: number
  updated_at: number
  _all: number
}


export type Session_start_sourcesAvgAggregateInputType = {
  scheduled_task_id?: true
}

export type Session_start_sourcesSumAggregateInputType = {
  scheduled_task_id?: true
}

export type Session_start_sourcesMinAggregateInputType = {
  session_id?: true
  schedule_kind?: true
  scheduled_task_id?: true
  created_at?: true
  updated_at?: true
}

export type Session_start_sourcesMaxAggregateInputType = {
  session_id?: true
  schedule_kind?: true
  scheduled_task_id?: true
  created_at?: true
  updated_at?: true
}

export type Session_start_sourcesCountAggregateInputType = {
  session_id?: true
  schedule_kind?: true
  scheduled_task_id?: true
  created_at?: true
  updated_at?: true
  _all?: true
}

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

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




export type session_start_sourcesGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  where?: Prisma.session_start_sourcesWhereInput
  orderBy?: Prisma.session_start_sourcesOrderByWithAggregationInput | Prisma.session_start_sourcesOrderByWithAggregationInput[]
  by: Prisma.Session_start_sourcesScalarFieldEnum[] | Prisma.Session_start_sourcesScalarFieldEnum
  having?: Prisma.session_start_sourcesScalarWhereWithAggregatesInput
  take?: number
  skip?: number
  _count?: Session_start_sourcesCountAggregateInputType | true
  _avg?: Session_start_sourcesAvgAggregateInputType
  _sum?: Session_start_sourcesSumAggregateInputType
  _min?: Session_start_sourcesMinAggregateInputType
  _max?: Session_start_sourcesMaxAggregateInputType
}

export type Session_start_sourcesGroupByOutputType = {
  session_id: string
  schedule_kind: $Enums.task_schedule_kind
  scheduled_task_id: number | null
  created_at: Date | null
  updated_at: Date | null
  _count: Session_start_sourcesCountAggregateOutputType | null
  _avg: Session_start_sourcesAvgAggregateOutputType | null
  _sum: Session_start_sourcesSumAggregateOutputType | null
  _min: Session_start_sourcesMinAggregateOutputType | null
  _max: Session_start_sourcesMaxAggregateOutputType | null
}

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



export type session_start_sourcesWhereInput = {
  AND?: Prisma.session_start_sourcesWhereInput | Prisma.session_start_sourcesWhereInput[]
  OR?: Prisma.session_start_sourcesWhereInput[]
  NOT?: Prisma.session_start_sourcesWhereInput | Prisma.session_start_sourcesWhereInput[]
  session_id?: Prisma.StringFilter<"session_start_sources"> | string
  schedule_kind?: Prisma.Enumtask_schedule_kindFilter<"session_start_sources"> | $Enums.task_schedule_kind
  scheduled_task_id?: Prisma.IntNullableFilter<"session_start_sources"> | number | null
  created_at?: Prisma.DateTimeNullableFilter<"session_start_sources"> | Date | string | null
  updated_at?: Prisma.DateTimeNullableFilter<"session_start_sources"> | Date | string | null
  scheduled_task?: Prisma.XOR<Prisma.Scheduled_tasksNullableScalarRelationFilter, Prisma.scheduled_tasksWhereInput> | null
}

export type session_start_sourcesOrderByWithRelationInput = {
  session_id?: Prisma.SortOrder
  schedule_kind?: Prisma.SortOrder
  scheduled_task_id?: Prisma.SortOrderInput | Prisma.SortOrder
  created_at?: Prisma.SortOrderInput | Prisma.SortOrder
  updated_at?: Prisma.SortOrderInput | Prisma.SortOrder
  scheduled_task?: Prisma.scheduled_tasksOrderByWithRelationInput
}

export type session_start_sourcesWhereUniqueInput = Prisma.AtLeast<{
  session_id?: string
  AND?: Prisma.session_start_sourcesWhereInput | Prisma.session_start_sourcesWhereInput[]
  OR?: Prisma.session_start_sourcesWhereInput[]
  NOT?: Prisma.session_start_sourcesWhereInput | Prisma.session_start_sourcesWhereInput[]
  schedule_kind?: Prisma.Enumtask_schedule_kindFilter<"session_start_sources"> | $Enums.task_schedule_kind
  scheduled_task_id?: Prisma.IntNullableFilter<"session_start_sources"> | number | null
  created_at?: Prisma.DateTimeNullableFilter<"session_start_sources"> | Date | string | null
  updated_at?: Prisma.DateTimeNullableFilter<"session_start_sources"> | Date | string | null
  scheduled_task?: Prisma.XOR<Prisma.Scheduled_tasksNullableScalarRelationFilter, Prisma.scheduled_tasksWhereInput> | null
}, "session_id">

export type session_start_sourcesOrderByWithAggregationInput = {
  session_id?: Prisma.SortOrder
  schedule_kind?: Prisma.SortOrder
  scheduled_task_id?: Prisma.SortOrderInput | Prisma.SortOrder
  created_at?: Prisma.SortOrderInput | Prisma.SortOrder
  updated_at?: Prisma.SortOrderInput | Prisma.SortOrder
  _count?: Prisma.session_start_sourcesCountOrderByAggregateInput
  _avg?: Prisma.session_start_sourcesAvgOrderByAggregateInput
  _max?: Prisma.session_start_sourcesMaxOrderByAggregateInput
  _min?: Prisma.session_start_sourcesMinOrderByAggregateInput
  _sum?: Prisma.session_start_sourcesSumOrderByAggregateInput
}

export type session_start_sourcesScalarWhereWithAggregatesInput = {
  AND?: Prisma.session_start_sourcesScalarWhereWithAggregatesInput | Prisma.session_start_sourcesScalarWhereWithAggregatesInput[]
  OR?: Prisma.session_start_sourcesScalarWhereWithAggregatesInput[]
  NOT?: Prisma.session_start_sourcesScalarWhereWithAggregatesInput | Prisma.session_start_sourcesScalarWhereWithAggregatesInput[]
  session_id?: Prisma.StringWithAggregatesFilter<"session_start_sources"> | string
  schedule_kind?: Prisma.Enumtask_schedule_kindWithAggregatesFilter<"session_start_sources"> | $Enums.task_schedule_kind
  scheduled_task_id?: Prisma.IntNullableWithAggregatesFilter<"session_start_sources"> | number | null
  created_at?: Prisma.DateTimeNullableWithAggregatesFilter<"session_start_sources"> | Date | string | null
  updated_at?: Prisma.DateTimeNullableWithAggregatesFilter<"session_start_sources"> | Date | string | null
}

export type session_start_sourcesCreateInput = {
  session_id: string
  schedule_kind: $Enums.task_schedule_kind
  created_at?: Date | string | null
  updated_at?: Date | string | null
  scheduled_task?: Prisma.scheduled_tasksCreateNestedOneWithoutSession_start_sourcesInput
}

export type session_start_sourcesUncheckedCreateInput = {
  session_id: string
  schedule_kind: $Enums.task_schedule_kind
  scheduled_task_id?: number | null
  created_at?: Date | string | null
  updated_at?: Date | string | null
}

export type session_start_sourcesUpdateInput = {
  session_id?: Prisma.StringFieldUpdateOperationsInput | string
  schedule_kind?: Prisma.Enumtask_schedule_kindFieldUpdateOperationsInput | $Enums.task_schedule_kind
  created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  scheduled_task?: Prisma.scheduled_tasksUpdateOneWithoutSession_start_sourcesNestedInput
}

export type session_start_sourcesUncheckedUpdateInput = {
  session_id?: Prisma.StringFieldUpdateOperationsInput | string
  schedule_kind?: Prisma.Enumtask_schedule_kindFieldUpdateOperationsInput | $Enums.task_schedule_kind
  scheduled_task_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}

export type session_start_sourcesCreateManyInput = {
  session_id: string
  schedule_kind: $Enums.task_schedule_kind
  scheduled_task_id?: number | null
  created_at?: Date | string | null
  updated_at?: Date | string | null
}

export type session_start_sourcesUpdateManyMutationInput = {
  session_id?: Prisma.StringFieldUpdateOperationsInput | string
  schedule_kind?: Prisma.Enumtask_schedule_kindFieldUpdateOperationsInput | $Enums.task_schedule_kind
  created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}

export type session_start_sourcesUncheckedUpdateManyInput = {
  session_id?: Prisma.StringFieldUpdateOperationsInput | string
  schedule_kind?: Prisma.Enumtask_schedule_kindFieldUpdateOperationsInput | $Enums.task_schedule_kind
  scheduled_task_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}

export type Session_start_sourcesListRelationFilter = {
  every?: Prisma.session_start_sourcesWhereInput
  some?: Prisma.session_start_sourcesWhereInput
  none?: Prisma.session_start_sourcesWhereInput
}

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

export type session_start_sourcesCountOrderByAggregateInput = {
  session_id?: Prisma.SortOrder
  schedule_kind?: Prisma.SortOrder
  scheduled_task_id?: Prisma.SortOrder
  created_at?: Prisma.SortOrder
  updated_at?: Prisma.SortOrder
}

export type session_start_sourcesAvgOrderByAggregateInput = {
  scheduled_task_id?: Prisma.SortOrder
}

export type session_start_sourcesMaxOrderByAggregateInput = {
  session_id?: Prisma.SortOrder
  schedule_kind?: Prisma.SortOrder
  scheduled_task_id?: Prisma.SortOrder
  created_at?: Prisma.SortOrder
  updated_at?: Prisma.SortOrder
}

export type session_start_sourcesMinOrderByAggregateInput = {
  session_id?: Prisma.SortOrder
  schedule_kind?: Prisma.SortOrder
  scheduled_task_id?: Prisma.SortOrder
  created_at?: Prisma.SortOrder
  updated_at?: Prisma.SortOrder
}

export type session_start_sourcesSumOrderByAggregateInput = {
  scheduled_task_id?: Prisma.SortOrder
}

export type session_start_sourcesCreateNestedManyWithoutScheduled_taskInput = {
  create?: Prisma.XOR<Prisma.session_start_sourcesCreateWithoutScheduled_taskInput, Prisma.session_start_sourcesUncheckedCreateWithoutScheduled_taskInput> | Prisma.session_start_sourcesCreateWithoutScheduled_taskInput[] | Prisma.session_start_sourcesUncheckedCreateWithoutScheduled_taskInput[]
  connectOrCreate?: Prisma.session_start_sourcesCreateOrConnectWithoutScheduled_taskInput | Prisma.session_start_sourcesCreateOrConnectWithoutScheduled_taskInput[]
  createMany?: Prisma.session_start_sourcesCreateManyScheduled_taskInputEnvelope
  connect?: Prisma.session_start_sourcesWhereUniqueInput | Prisma.session_start_sourcesWhereUniqueInput[]
}

export type session_start_sourcesUncheckedCreateNestedManyWithoutScheduled_taskInput = {
  create?: Prisma.XOR<Prisma.session_start_sourcesCreateWithoutScheduled_taskInput, Prisma.session_start_sourcesUncheckedCreateWithoutScheduled_taskInput> | Prisma.session_start_sourcesCreateWithoutScheduled_taskInput[] | Prisma.session_start_sourcesUncheckedCreateWithoutScheduled_taskInput[]
  connectOrCreate?: Prisma.session_start_sourcesCreateOrConnectWithoutScheduled_taskInput | Prisma.session_start_sourcesCreateOrConnectWithoutScheduled_taskInput[]
  createMany?: Prisma.session_start_sourcesCreateManyScheduled_taskInputEnvelope
  connect?: Prisma.session_start_sourcesWhereUniqueInput | Prisma.session_start_sourcesWhereUniqueInput[]
}

export type session_start_sourcesUpdateManyWithoutScheduled_taskNestedInput = {
  create?: Prisma.XOR<Prisma.session_start_sourcesCreateWithoutScheduled_taskInput, Prisma.session_start_sourcesUncheckedCreateWithoutScheduled_taskInput> | Prisma.session_start_sourcesCreateWithoutScheduled_taskInput[] | Prisma.session_start_sourcesUncheckedCreateWithoutScheduled_taskInput[]
  connectOrCreate?: Prisma.session_start_sourcesCreateOrConnectWithoutScheduled_taskInput | Prisma.session_start_sourcesCreateOrConnectWithoutScheduled_taskInput[]
  upsert?: Prisma.session_start_sourcesUpsertWithWhereUniqueWithoutScheduled_taskInput | Prisma.session_start_sourcesUpsertWithWhereUniqueWithoutScheduled_taskInput[]
  createMany?: Prisma.session_start_sourcesCreateManyScheduled_taskInputEnvelope
  set?: Prisma.session_start_sourcesWhereUniqueInput | Prisma.session_start_sourcesWhereUniqueInput[]
  disconnect?: Prisma.session_start_sourcesWhereUniqueInput | Prisma.session_start_sourcesWhereUniqueInput[]
  delete?: Prisma.session_start_sourcesWhereUniqueInput | Prisma.session_start_sourcesWhereUniqueInput[]
  connect?: Prisma.session_start_sourcesWhereUniqueInput | Prisma.session_start_sourcesWhereUniqueInput[]
  update?: Prisma.session_start_sourcesUpdateWithWhereUniqueWithoutScheduled_taskInput | Prisma.session_start_sourcesUpdateWithWhereUniqueWithoutScheduled_taskInput[]
  updateMany?: Prisma.session_start_sourcesUpdateManyWithWhereWithoutScheduled_taskInput | Prisma.session_start_sourcesUpdateManyWithWhereWithoutScheduled_taskInput[]
  deleteMany?: Prisma.session_start_sourcesScalarWhereInput | Prisma.session_start_sourcesScalarWhereInput[]
}

export type session_start_sourcesUncheckedUpdateManyWithoutScheduled_taskNestedInput = {
  create?: Prisma.XOR<Prisma.session_start_sourcesCreateWithoutScheduled_taskInput, Prisma.session_start_sourcesUncheckedCreateWithoutScheduled_taskInput> | Prisma.session_start_sourcesCreateWithoutScheduled_taskInput[] | Prisma.session_start_sourcesUncheckedCreateWithoutScheduled_taskInput[]
  connectOrCreate?: Prisma.session_start_sourcesCreateOrConnectWithoutScheduled_taskInput | Prisma.session_start_sourcesCreateOrConnectWithoutScheduled_taskInput[]
  upsert?: Prisma.session_start_sourcesUpsertWithWhereUniqueWithoutScheduled_taskInput | Prisma.session_start_sourcesUpsertWithWhereUniqueWithoutScheduled_taskInput[]
  createMany?: Prisma.session_start_sourcesCreateManyScheduled_taskInputEnvelope
  set?: Prisma.session_start_sourcesWhereUniqueInput | Prisma.session_start_sourcesWhereUniqueInput[]
  disconnect?: Prisma.session_start_sourcesWhereUniqueInput | Prisma.session_start_sourcesWhereUniqueInput[]
  delete?: Prisma.session_start_sourcesWhereUniqueInput | Prisma.session_start_sourcesWhereUniqueInput[]
  connect?: Prisma.session_start_sourcesWhereUniqueInput | Prisma.session_start_sourcesWhereUniqueInput[]
  update?: Prisma.session_start_sourcesUpdateWithWhereUniqueWithoutScheduled_taskInput | Prisma.session_start_sourcesUpdateWithWhereUniqueWithoutScheduled_taskInput[]
  updateMany?: Prisma.session_start_sourcesUpdateManyWithWhereWithoutScheduled_taskInput | Prisma.session_start_sourcesUpdateManyWithWhereWithoutScheduled_taskInput[]
  deleteMany?: Prisma.session_start_sourcesScalarWhereInput | Prisma.session_start_sourcesScalarWhereInput[]
}

export type NullableIntFieldUpdateOperationsInput = {
  set?: number | null
  increment?: number
  decrement?: number
  multiply?: number
  divide?: number
}

export type session_start_sourcesCreateWithoutScheduled_taskInput = {
  session_id: string
  schedule_kind: $Enums.task_schedule_kind
  created_at?: Date | string | null
  updated_at?: Date | string | null
}

export type session_start_sourcesUncheckedCreateWithoutScheduled_taskInput = {
  session_id: string
  schedule_kind: $Enums.task_schedule_kind
  created_at?: Date | string | null
  updated_at?: Date | string | null
}

export type session_start_sourcesCreateOrConnectWithoutScheduled_taskInput = {
  where: Prisma.session_start_sourcesWhereUniqueInput
  create: Prisma.XOR<Prisma.session_start_sourcesCreateWithoutScheduled_taskInput, Prisma.session_start_sourcesUncheckedCreateWithoutScheduled_taskInput>
}

export type session_start_sourcesCreateManyScheduled_taskInputEnvelope = {
  data: Prisma.session_start_sourcesCreateManyScheduled_taskInput | Prisma.session_start_sourcesCreateManyScheduled_taskInput[]
}

export type session_start_sourcesUpsertWithWhereUniqueWithoutScheduled_taskInput = {
  where: Prisma.session_start_sourcesWhereUniqueInput
  update: Prisma.XOR<Prisma.session_start_sourcesUpdateWithoutScheduled_taskInput, Prisma.session_start_sourcesUncheckedUpdateWithoutScheduled_taskInput>
  create: Prisma.XOR<Prisma.session_start_sourcesCreateWithoutScheduled_taskInput, Prisma.session_start_sourcesUncheckedCreateWithoutScheduled_taskInput>
}

export type session_start_sourcesUpdateWithWhereUniqueWithoutScheduled_taskInput = {
  where: Prisma.session_start_sourcesWhereUniqueInput
  data: Prisma.XOR<Prisma.session_start_sourcesUpdateWithoutScheduled_taskInput, Prisma.session_start_sourcesUncheckedUpdateWithoutScheduled_taskInput>
}

export type session_start_sourcesUpdateManyWithWhereWithoutScheduled_taskInput = {
  where: Prisma.session_start_sourcesScalarWhereInput
  data: Prisma.XOR<Prisma.session_start_sourcesUpdateManyMutationInput, Prisma.session_start_sourcesUncheckedUpdateManyWithoutScheduled_taskInput>
}

export type session_start_sourcesScalarWhereInput = {
  AND?: Prisma.session_start_sourcesScalarWhereInput | Prisma.session_start_sourcesScalarWhereInput[]
  OR?: Prisma.session_start_sourcesScalarWhereInput[]
  NOT?: Prisma.session_start_sourcesScalarWhereInput | Prisma.session_start_sourcesScalarWhereInput[]
  session_id?: Prisma.StringFilter<"session_start_sources"> | string
  schedule_kind?: Prisma.Enumtask_schedule_kindFilter<"session_start_sources"> | $Enums.task_schedule_kind
  scheduled_task_id?: Prisma.IntNullableFilter<"session_start_sources"> | number | null
  created_at?: Prisma.DateTimeNullableFilter<"session_start_sources"> | Date | string | null
  updated_at?: Prisma.DateTimeNullableFilter<"session_start_sources"> | Date | string | null
}

export type session_start_sourcesCreateManyScheduled_taskInput = {
  session_id: string
  schedule_kind: $Enums.task_schedule_kind
  created_at?: Date | string | null
  updated_at?: Date | string | null
}

export type session_start_sourcesUpdateWithoutScheduled_taskInput = {
  session_id?: Prisma.StringFieldUpdateOperationsInput | string
  schedule_kind?: Prisma.Enumtask_schedule_kindFieldUpdateOperationsInput | $Enums.task_schedule_kind
  created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}

export type session_start_sourcesUncheckedUpdateWithoutScheduled_taskInput = {
  session_id?: Prisma.StringFieldUpdateOperationsInput | string
  schedule_kind?: Prisma.Enumtask_schedule_kindFieldUpdateOperationsInput | $Enums.task_schedule_kind
  created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}

export type session_start_sourcesUncheckedUpdateManyWithoutScheduled_taskInput = {
  session_id?: Prisma.StringFieldUpdateOperationsInput | string
  schedule_kind?: Prisma.Enumtask_schedule_kindFieldUpdateOperationsInput | $Enums.task_schedule_kind
  created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}



export type session_start_sourcesSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  session_id?: boolean
  schedule_kind?: boolean
  scheduled_task_id?: boolean
  created_at?: boolean
  updated_at?: boolean
  scheduled_task?: boolean | Prisma.session_start_sources$scheduled_taskArgs<ExtArgs>
}, ExtArgs["result"]["session_start_sources"]>

export type session_start_sourcesSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  session_id?: boolean
  schedule_kind?: boolean
  scheduled_task_id?: boolean
  created_at?: boolean
  updated_at?: boolean
  scheduled_task?: boolean | Prisma.session_start_sources$scheduled_taskArgs<ExtArgs>
}, ExtArgs["result"]["session_start_sources"]>

export type session_start_sourcesSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  session_id?: boolean
  schedule_kind?: boolean
  scheduled_task_id?: boolean
  created_at?: boolean
  updated_at?: boolean
  scheduled_task?: boolean | Prisma.session_start_sources$scheduled_taskArgs<ExtArgs>
}, ExtArgs["result"]["session_start_sources"]>

export type session_start_sourcesSelectScalar = {
  session_id?: boolean
  schedule_kind?: boolean
  scheduled_task_id?: boolean
  created_at?: boolean
  updated_at?: boolean
}

export type session_start_sourcesOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"session_id" | "schedule_kind" | "scheduled_task_id" | "created_at" | "updated_at", ExtArgs["result"]["session_start_sources"]>
export type session_start_sourcesInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  scheduled_task?: boolean | Prisma.session_start_sources$scheduled_taskArgs<ExtArgs>
}
export type session_start_sourcesIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  scheduled_task?: boolean | Prisma.session_start_sources$scheduled_taskArgs<ExtArgs>
}
export type session_start_sourcesIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  scheduled_task?: boolean | Prisma.session_start_sources$scheduled_taskArgs<ExtArgs>
}

export type $session_start_sourcesPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  name: "session_start_sources"
  objects: {
    scheduled_task: Prisma.$scheduled_tasksPayload<ExtArgs> | null
  }
  scalars: runtime.Types.Extensions.GetPayloadResult<{
    session_id: string
    schedule_kind: $Enums.task_schedule_kind
    scheduled_task_id: number | null
    created_at: Date | null
    updated_at: Date | null
  }, ExtArgs["result"]["session_start_sources"]>
  composites: {}
}

export type session_start_sourcesGetPayload<S extends boolean | null | undefined | session_start_sourcesDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$session_start_sourcesPayload, S>

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

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

/**
 * The delegate class that acts as a "Promise-like" for session_start_sources.
 * 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__session_start_sourcesClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
  readonly [Symbol.toStringTag]: "PrismaPromise"
  scheduled_task<T extends Prisma.session_start_sources$scheduled_taskArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.session_start_sources$scheduled_taskArgs<ExtArgs>>): Prisma.Prisma__scheduled_tasksClient<runtime.Types.Result.GetResult<Prisma.$scheduled_tasksPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
  /**
   * Attaches callbacks for the resolution and/or rejection of the Promise.
   * @param onfulfilled The callback to execute when the Promise is resolved.
   * @param onrejected The callback to execute when the Promise is rejected.
   * @returns A Promise for the completion of which ever callback is executed.
   */
  then<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 session_start_sources model
 */
export interface session_start_sourcesFieldRefs {
  readonly session_id: Prisma.FieldRef<"session_start_sources", 'String'>
  readonly schedule_kind: Prisma.FieldRef<"session_start_sources", 'task_schedule_kind'>
  readonly scheduled_task_id: Prisma.FieldRef<"session_start_sources", 'Int'>
  readonly created_at: Prisma.FieldRef<"session_start_sources", 'DateTime'>
  readonly updated_at: Prisma.FieldRef<"session_start_sources", 'DateTime'>
}
    

// Custom InputTypes
/**
 * session_start_sources findUnique
 */
export type session_start_sourcesFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the session_start_sources
   */
  select?: Prisma.session_start_sourcesSelect<ExtArgs> | null
  /**
   * Omit specific fields from the session_start_sources
   */
  omit?: Prisma.session_start_sourcesOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.session_start_sourcesInclude<ExtArgs> | null
  /**
   * Filter, which session_start_sources to fetch.
   */
  where: Prisma.session_start_sourcesWhereUniqueInput
}

/**
 * session_start_sources findUniqueOrThrow
 */
export type session_start_sourcesFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the session_start_sources
   */
  select?: Prisma.session_start_sourcesSelect<ExtArgs> | null
  /**
   * Omit specific fields from the session_start_sources
   */
  omit?: Prisma.session_start_sourcesOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.session_start_sourcesInclude<ExtArgs> | null
  /**
   * Filter, which session_start_sources to fetch.
   */
  where: Prisma.session_start_sourcesWhereUniqueInput
}

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

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

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

/**
 * session_start_sources create
 */
export type session_start_sourcesCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the session_start_sources
   */
  select?: Prisma.session_start_sourcesSelect<ExtArgs> | null
  /**
   * Omit specific fields from the session_start_sources
   */
  omit?: Prisma.session_start_sourcesOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.session_start_sourcesInclude<ExtArgs> | null
  /**
   * The data needed to create a session_start_sources.
   */
  data: Prisma.XOR<Prisma.session_start_sourcesCreateInput, Prisma.session_start_sourcesUncheckedCreateInput>
}

/**
 * session_start_sources createMany
 */
export type session_start_sourcesCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * The data used to create many session_start_sources.
   */
  data: Prisma.session_start_sourcesCreateManyInput | Prisma.session_start_sourcesCreateManyInput[]
}

/**
 * session_start_sources createManyAndReturn
 */
export type session_start_sourcesCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the session_start_sources
   */
  select?: Prisma.session_start_sourcesSelectCreateManyAndReturn<ExtArgs> | null
  /**
   * Omit specific fields from the session_start_sources
   */
  omit?: Prisma.session_start_sourcesOmit<ExtArgs> | null
  /**
   * The data used to create many session_start_sources.
   */
  data: Prisma.session_start_sourcesCreateManyInput | Prisma.session_start_sourcesCreateManyInput[]
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.session_start_sourcesIncludeCreateManyAndReturn<ExtArgs> | null
}

/**
 * session_start_sources update
 */
export type session_start_sourcesUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the session_start_sources
   */
  select?: Prisma.session_start_sourcesSelect<ExtArgs> | null
  /**
   * Omit specific fields from the session_start_sources
   */
  omit?: Prisma.session_start_sourcesOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.session_start_sourcesInclude<ExtArgs> | null
  /**
   * The data needed to update a session_start_sources.
   */
  data: Prisma.XOR<Prisma.session_start_sourcesUpdateInput, Prisma.session_start_sourcesUncheckedUpdateInput>
  /**
   * Choose, which session_start_sources to update.
   */
  where: Prisma.session_start_sourcesWhereUniqueInput
}

/**
 * session_start_sources updateMany
 */
export type session_start_sourcesUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * The data used to update session_start_sources.
   */
  data: Prisma.XOR<Prisma.session_start_sourcesUpdateManyMutationInput, Prisma.session_start_sourcesUncheckedUpdateManyInput>
  /**
   * Filter which session_start_sources to update
   */
  where?: Prisma.session_start_sourcesWhereInput
  /**
   * Limit how many session_start_sources to update.
   */
  limit?: number
}

/**
 * session_start_sources updateManyAndReturn
 */
export type session_start_sourcesUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the session_start_sources
   */
  select?: Prisma.session_start_sourcesSelectUpdateManyAndReturn<ExtArgs> | null
  /**
   * Omit specific fields from the session_start_sources
   */
  omit?: Prisma.session_start_sourcesOmit<ExtArgs> | null
  /**
   * The data used to update session_start_sources.
   */
  data: Prisma.XOR<Prisma.session_start_sourcesUpdateManyMutationInput, Prisma.session_start_sourcesUncheckedUpdateManyInput>
  /**
   * Filter which session_start_sources to update
   */
  where?: Prisma.session_start_sourcesWhereInput
  /**
   * Limit how many session_start_sources to update.
   */
  limit?: number
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.session_start_sourcesIncludeUpdateManyAndReturn<ExtArgs> | null
}

/**
 * session_start_sources upsert
 */
export type session_start_sourcesUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the session_start_sources
   */
  select?: Prisma.session_start_sourcesSelect<ExtArgs> | null
  /**
   * Omit specific fields from the session_start_sources
   */
  omit?: Prisma.session_start_sourcesOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.session_start_sourcesInclude<ExtArgs> | null
  /**
   * The filter to search for the session_start_sources to update in case it exists.
   */
  where: Prisma.session_start_sourcesWhereUniqueInput
  /**
   * In case the session_start_sources found by the `where` argument doesn't exist, create a new session_start_sources with this data.
   */
  create: Prisma.XOR<Prisma.session_start_sourcesCreateInput, Prisma.session_start_sourcesUncheckedCreateInput>
  /**
   * In case the session_start_sources was found with the provided `where` argument, update it with this data.
   */
  update: Prisma.XOR<Prisma.session_start_sourcesUpdateInput, Prisma.session_start_sourcesUncheckedUpdateInput>
}

/**
 * session_start_sources delete
 */
export type session_start_sourcesDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the session_start_sources
   */
  select?: Prisma.session_start_sourcesSelect<ExtArgs> | null
  /**
   * Omit specific fields from the session_start_sources
   */
  omit?: Prisma.session_start_sourcesOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.session_start_sourcesInclude<ExtArgs> | null
  /**
   * Filter which session_start_sources to delete.
   */
  where: Prisma.session_start_sourcesWhereUniqueInput
}

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

/**
 * session_start_sources.scheduled_task
 */
export type session_start_sources$scheduled_taskArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the scheduled_tasks
   */
  select?: Prisma.scheduled_tasksSelect<ExtArgs> | null
  /**
   * Omit specific fields from the scheduled_tasks
   */
  omit?: Prisma.scheduled_tasksOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.scheduled_tasksInclude<ExtArgs> | null
  where?: Prisma.scheduled_tasksWhereInput
}

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