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

/**
 * Model DomainRun
 * 
 */
export type DomainRunModel = runtime.Types.Result.DefaultSelection<Prisma.$DomainRunPayload>

export type AggregateDomainRun = {
  _count: DomainRunCountAggregateOutputType | null
  _avg: DomainRunAvgAggregateOutputType | null
  _sum: DomainRunSumAggregateOutputType | null
  _min: DomainRunMinAggregateOutputType | null
  _max: DomainRunMaxAggregateOutputType | null
}

export type DomainRunAvgAggregateOutputType = {
  domainsFound: number | null
  domainsChecked: number | null
  failed: number | null
}

export type DomainRunSumAggregateOutputType = {
  domainsFound: number | null
  domainsChecked: number | null
  failed: number | null
}

export type DomainRunMinAggregateOutputType = {
  id: string | null
  trigger: $Enums.CheckTrigger | null
  slotKey: string | null
  status: $Enums.RunStatus | null
  startedBy: string | null
  startedAt: Date | null
  heartbeatAt: Date | null
  finishedAt: Date | null
  domainsFound: number | null
  domainsChecked: number | null
  failed: number | null
  errorMessage: string | null
}

export type DomainRunMaxAggregateOutputType = {
  id: string | null
  trigger: $Enums.CheckTrigger | null
  slotKey: string | null
  status: $Enums.RunStatus | null
  startedBy: string | null
  startedAt: Date | null
  heartbeatAt: Date | null
  finishedAt: Date | null
  domainsFound: number | null
  domainsChecked: number | null
  failed: number | null
  errorMessage: string | null
}

export type DomainRunCountAggregateOutputType = {
  id: number
  trigger: number
  slotKey: number
  status: number
  startedBy: number
  startedAt: number
  heartbeatAt: number
  finishedAt: number
  domainsFound: number
  domainsChecked: number
  failed: number
  errorMessage: number
  _all: number
}


export type DomainRunAvgAggregateInputType = {
  domainsFound?: true
  domainsChecked?: true
  failed?: true
}

export type DomainRunSumAggregateInputType = {
  domainsFound?: true
  domainsChecked?: true
  failed?: true
}

export type DomainRunMinAggregateInputType = {
  id?: true
  trigger?: true
  slotKey?: true
  status?: true
  startedBy?: true
  startedAt?: true
  heartbeatAt?: true
  finishedAt?: true
  domainsFound?: true
  domainsChecked?: true
  failed?: true
  errorMessage?: true
}

export type DomainRunMaxAggregateInputType = {
  id?: true
  trigger?: true
  slotKey?: true
  status?: true
  startedBy?: true
  startedAt?: true
  heartbeatAt?: true
  finishedAt?: true
  domainsFound?: true
  domainsChecked?: true
  failed?: true
  errorMessage?: true
}

export type DomainRunCountAggregateInputType = {
  id?: true
  trigger?: true
  slotKey?: true
  status?: true
  startedBy?: true
  startedAt?: true
  heartbeatAt?: true
  finishedAt?: true
  domainsFound?: true
  domainsChecked?: true
  failed?: true
  errorMessage?: true
  _all?: true
}

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

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




export type DomainRunGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  where?: Prisma.DomainRunWhereInput
  orderBy?: Prisma.DomainRunOrderByWithAggregationInput | Prisma.DomainRunOrderByWithAggregationInput[]
  by: Prisma.DomainRunScalarFieldEnum[] | Prisma.DomainRunScalarFieldEnum
  having?: Prisma.DomainRunScalarWhereWithAggregatesInput
  take?: number
  skip?: number
  _count?: DomainRunCountAggregateInputType | true
  _avg?: DomainRunAvgAggregateInputType
  _sum?: DomainRunSumAggregateInputType
  _min?: DomainRunMinAggregateInputType
  _max?: DomainRunMaxAggregateInputType
}

export type DomainRunGroupByOutputType = {
  id: string
  trigger: $Enums.CheckTrigger
  slotKey: string | null
  status: $Enums.RunStatus
  startedBy: string | null
  startedAt: Date
  heartbeatAt: Date
  finishedAt: Date | null
  domainsFound: number | null
  domainsChecked: number | null
  failed: number | null
  errorMessage: string | null
  _count: DomainRunCountAggregateOutputType | null
  _avg: DomainRunAvgAggregateOutputType | null
  _sum: DomainRunSumAggregateOutputType | null
  _min: DomainRunMinAggregateOutputType | null
  _max: DomainRunMaxAggregateOutputType | null
}

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



export type DomainRunWhereInput = {
  AND?: Prisma.DomainRunWhereInput | Prisma.DomainRunWhereInput[]
  OR?: Prisma.DomainRunWhereInput[]
  NOT?: Prisma.DomainRunWhereInput | Prisma.DomainRunWhereInput[]
  id?: Prisma.StringFilter<"DomainRun"> | string
  trigger?: Prisma.EnumCheckTriggerFilter<"DomainRun"> | $Enums.CheckTrigger
  slotKey?: Prisma.StringNullableFilter<"DomainRun"> | string | null
  status?: Prisma.EnumRunStatusFilter<"DomainRun"> | $Enums.RunStatus
  startedBy?: Prisma.StringNullableFilter<"DomainRun"> | string | null
  startedAt?: Prisma.DateTimeFilter<"DomainRun"> | Date | string
  heartbeatAt?: Prisma.DateTimeFilter<"DomainRun"> | Date | string
  finishedAt?: Prisma.DateTimeNullableFilter<"DomainRun"> | Date | string | null
  domainsFound?: Prisma.IntNullableFilter<"DomainRun"> | number | null
  domainsChecked?: Prisma.IntNullableFilter<"DomainRun"> | number | null
  failed?: Prisma.IntNullableFilter<"DomainRun"> | number | null
  errorMessage?: Prisma.StringNullableFilter<"DomainRun"> | string | null
}

export type DomainRunOrderByWithRelationInput = {
  id?: Prisma.SortOrder
  trigger?: Prisma.SortOrder
  slotKey?: Prisma.SortOrderInput | Prisma.SortOrder
  status?: Prisma.SortOrder
  startedBy?: Prisma.SortOrderInput | Prisma.SortOrder
  startedAt?: Prisma.SortOrder
  heartbeatAt?: Prisma.SortOrder
  finishedAt?: Prisma.SortOrderInput | Prisma.SortOrder
  domainsFound?: Prisma.SortOrderInput | Prisma.SortOrder
  domainsChecked?: Prisma.SortOrderInput | Prisma.SortOrder
  failed?: Prisma.SortOrderInput | Prisma.SortOrder
  errorMessage?: Prisma.SortOrderInput | Prisma.SortOrder
}

export type DomainRunWhereUniqueInput = Prisma.AtLeast<{
  id?: string
  slotKey?: string
  AND?: Prisma.DomainRunWhereInput | Prisma.DomainRunWhereInput[]
  OR?: Prisma.DomainRunWhereInput[]
  NOT?: Prisma.DomainRunWhereInput | Prisma.DomainRunWhereInput[]
  trigger?: Prisma.EnumCheckTriggerFilter<"DomainRun"> | $Enums.CheckTrigger
  status?: Prisma.EnumRunStatusFilter<"DomainRun"> | $Enums.RunStatus
  startedBy?: Prisma.StringNullableFilter<"DomainRun"> | string | null
  startedAt?: Prisma.DateTimeFilter<"DomainRun"> | Date | string
  heartbeatAt?: Prisma.DateTimeFilter<"DomainRun"> | Date | string
  finishedAt?: Prisma.DateTimeNullableFilter<"DomainRun"> | Date | string | null
  domainsFound?: Prisma.IntNullableFilter<"DomainRun"> | number | null
  domainsChecked?: Prisma.IntNullableFilter<"DomainRun"> | number | null
  failed?: Prisma.IntNullableFilter<"DomainRun"> | number | null
  errorMessage?: Prisma.StringNullableFilter<"DomainRun"> | string | null
}, "id" | "slotKey">

export type DomainRunOrderByWithAggregationInput = {
  id?: Prisma.SortOrder
  trigger?: Prisma.SortOrder
  slotKey?: Prisma.SortOrderInput | Prisma.SortOrder
  status?: Prisma.SortOrder
  startedBy?: Prisma.SortOrderInput | Prisma.SortOrder
  startedAt?: Prisma.SortOrder
  heartbeatAt?: Prisma.SortOrder
  finishedAt?: Prisma.SortOrderInput | Prisma.SortOrder
  domainsFound?: Prisma.SortOrderInput | Prisma.SortOrder
  domainsChecked?: Prisma.SortOrderInput | Prisma.SortOrder
  failed?: Prisma.SortOrderInput | Prisma.SortOrder
  errorMessage?: Prisma.SortOrderInput | Prisma.SortOrder
  _count?: Prisma.DomainRunCountOrderByAggregateInput
  _avg?: Prisma.DomainRunAvgOrderByAggregateInput
  _max?: Prisma.DomainRunMaxOrderByAggregateInput
  _min?: Prisma.DomainRunMinOrderByAggregateInput
  _sum?: Prisma.DomainRunSumOrderByAggregateInput
}

export type DomainRunScalarWhereWithAggregatesInput = {
  AND?: Prisma.DomainRunScalarWhereWithAggregatesInput | Prisma.DomainRunScalarWhereWithAggregatesInput[]
  OR?: Prisma.DomainRunScalarWhereWithAggregatesInput[]
  NOT?: Prisma.DomainRunScalarWhereWithAggregatesInput | Prisma.DomainRunScalarWhereWithAggregatesInput[]
  id?: Prisma.StringWithAggregatesFilter<"DomainRun"> | string
  trigger?: Prisma.EnumCheckTriggerWithAggregatesFilter<"DomainRun"> | $Enums.CheckTrigger
  slotKey?: Prisma.StringNullableWithAggregatesFilter<"DomainRun"> | string | null
  status?: Prisma.EnumRunStatusWithAggregatesFilter<"DomainRun"> | $Enums.RunStatus
  startedBy?: Prisma.StringNullableWithAggregatesFilter<"DomainRun"> | string | null
  startedAt?: Prisma.DateTimeWithAggregatesFilter<"DomainRun"> | Date | string
  heartbeatAt?: Prisma.DateTimeWithAggregatesFilter<"DomainRun"> | Date | string
  finishedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"DomainRun"> | Date | string | null
  domainsFound?: Prisma.IntNullableWithAggregatesFilter<"DomainRun"> | number | null
  domainsChecked?: Prisma.IntNullableWithAggregatesFilter<"DomainRun"> | number | null
  failed?: Prisma.IntNullableWithAggregatesFilter<"DomainRun"> | number | null
  errorMessage?: Prisma.StringNullableWithAggregatesFilter<"DomainRun"> | string | null
}

export type DomainRunCreateInput = {
  id?: string
  trigger: $Enums.CheckTrigger
  slotKey?: string | null
  status?: $Enums.RunStatus
  startedBy?: string | null
  startedAt?: Date | string
  heartbeatAt?: Date | string
  finishedAt?: Date | string | null
  domainsFound?: number | null
  domainsChecked?: number | null
  failed?: number | null
  errorMessage?: string | null
}

export type DomainRunUncheckedCreateInput = {
  id?: string
  trigger: $Enums.CheckTrigger
  slotKey?: string | null
  status?: $Enums.RunStatus
  startedBy?: string | null
  startedAt?: Date | string
  heartbeatAt?: Date | string
  finishedAt?: Date | string | null
  domainsFound?: number | null
  domainsChecked?: number | null
  failed?: number | null
  errorMessage?: string | null
}

export type DomainRunUpdateInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  trigger?: Prisma.EnumCheckTriggerFieldUpdateOperationsInput | $Enums.CheckTrigger
  slotKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  status?: Prisma.EnumRunStatusFieldUpdateOperationsInput | $Enums.RunStatus
  startedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  heartbeatAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  finishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  domainsFound?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  domainsChecked?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  failed?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  errorMessage?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}

export type DomainRunUncheckedUpdateInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  trigger?: Prisma.EnumCheckTriggerFieldUpdateOperationsInput | $Enums.CheckTrigger
  slotKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  status?: Prisma.EnumRunStatusFieldUpdateOperationsInput | $Enums.RunStatus
  startedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  heartbeatAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  finishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  domainsFound?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  domainsChecked?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  failed?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  errorMessage?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}

export type DomainRunCreateManyInput = {
  id?: string
  trigger: $Enums.CheckTrigger
  slotKey?: string | null
  status?: $Enums.RunStatus
  startedBy?: string | null
  startedAt?: Date | string
  heartbeatAt?: Date | string
  finishedAt?: Date | string | null
  domainsFound?: number | null
  domainsChecked?: number | null
  failed?: number | null
  errorMessage?: string | null
}

export type DomainRunUpdateManyMutationInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  trigger?: Prisma.EnumCheckTriggerFieldUpdateOperationsInput | $Enums.CheckTrigger
  slotKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  status?: Prisma.EnumRunStatusFieldUpdateOperationsInput | $Enums.RunStatus
  startedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  heartbeatAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  finishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  domainsFound?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  domainsChecked?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  failed?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  errorMessage?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}

export type DomainRunUncheckedUpdateManyInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  trigger?: Prisma.EnumCheckTriggerFieldUpdateOperationsInput | $Enums.CheckTrigger
  slotKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  status?: Prisma.EnumRunStatusFieldUpdateOperationsInput | $Enums.RunStatus
  startedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  heartbeatAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  finishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  domainsFound?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  domainsChecked?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  failed?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  errorMessage?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}

export type DomainRunCountOrderByAggregateInput = {
  id?: Prisma.SortOrder
  trigger?: Prisma.SortOrder
  slotKey?: Prisma.SortOrder
  status?: Prisma.SortOrder
  startedBy?: Prisma.SortOrder
  startedAt?: Prisma.SortOrder
  heartbeatAt?: Prisma.SortOrder
  finishedAt?: Prisma.SortOrder
  domainsFound?: Prisma.SortOrder
  domainsChecked?: Prisma.SortOrder
  failed?: Prisma.SortOrder
  errorMessage?: Prisma.SortOrder
}

export type DomainRunAvgOrderByAggregateInput = {
  domainsFound?: Prisma.SortOrder
  domainsChecked?: Prisma.SortOrder
  failed?: Prisma.SortOrder
}

export type DomainRunMaxOrderByAggregateInput = {
  id?: Prisma.SortOrder
  trigger?: Prisma.SortOrder
  slotKey?: Prisma.SortOrder
  status?: Prisma.SortOrder
  startedBy?: Prisma.SortOrder
  startedAt?: Prisma.SortOrder
  heartbeatAt?: Prisma.SortOrder
  finishedAt?: Prisma.SortOrder
  domainsFound?: Prisma.SortOrder
  domainsChecked?: Prisma.SortOrder
  failed?: Prisma.SortOrder
  errorMessage?: Prisma.SortOrder
}

export type DomainRunMinOrderByAggregateInput = {
  id?: Prisma.SortOrder
  trigger?: Prisma.SortOrder
  slotKey?: Prisma.SortOrder
  status?: Prisma.SortOrder
  startedBy?: Prisma.SortOrder
  startedAt?: Prisma.SortOrder
  heartbeatAt?: Prisma.SortOrder
  finishedAt?: Prisma.SortOrder
  domainsFound?: Prisma.SortOrder
  domainsChecked?: Prisma.SortOrder
  failed?: Prisma.SortOrder
  errorMessage?: Prisma.SortOrder
}

export type DomainRunSumOrderByAggregateInput = {
  domainsFound?: Prisma.SortOrder
  domainsChecked?: Prisma.SortOrder
  failed?: Prisma.SortOrder
}



export type DomainRunSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  trigger?: boolean
  slotKey?: boolean
  status?: boolean
  startedBy?: boolean
  startedAt?: boolean
  heartbeatAt?: boolean
  finishedAt?: boolean
  domainsFound?: boolean
  domainsChecked?: boolean
  failed?: boolean
  errorMessage?: boolean
}, ExtArgs["result"]["domainRun"]>

export type DomainRunSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  trigger?: boolean
  slotKey?: boolean
  status?: boolean
  startedBy?: boolean
  startedAt?: boolean
  heartbeatAt?: boolean
  finishedAt?: boolean
  domainsFound?: boolean
  domainsChecked?: boolean
  failed?: boolean
  errorMessage?: boolean
}, ExtArgs["result"]["domainRun"]>

export type DomainRunSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  trigger?: boolean
  slotKey?: boolean
  status?: boolean
  startedBy?: boolean
  startedAt?: boolean
  heartbeatAt?: boolean
  finishedAt?: boolean
  domainsFound?: boolean
  domainsChecked?: boolean
  failed?: boolean
  errorMessage?: boolean
}, ExtArgs["result"]["domainRun"]>

export type DomainRunSelectScalar = {
  id?: boolean
  trigger?: boolean
  slotKey?: boolean
  status?: boolean
  startedBy?: boolean
  startedAt?: boolean
  heartbeatAt?: boolean
  finishedAt?: boolean
  domainsFound?: boolean
  domainsChecked?: boolean
  failed?: boolean
  errorMessage?: boolean
}

export type DomainRunOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "trigger" | "slotKey" | "status" | "startedBy" | "startedAt" | "heartbeatAt" | "finishedAt" | "domainsFound" | "domainsChecked" | "failed" | "errorMessage", ExtArgs["result"]["domainRun"]>

export type $DomainRunPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  name: "DomainRun"
  objects: {}
  scalars: runtime.Types.Extensions.GetPayloadResult<{
    id: string
    trigger: $Enums.CheckTrigger
    slotKey: string | null
    status: $Enums.RunStatus
    startedBy: string | null
    startedAt: Date
    heartbeatAt: Date
    finishedAt: Date | null
    domainsFound: number | null
    domainsChecked: number | null
    failed: number | null
    errorMessage: string | null
  }, ExtArgs["result"]["domainRun"]>
  composites: {}
}

export type DomainRunGetPayload<S extends boolean | null | undefined | DomainRunDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$DomainRunPayload, S>

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

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

/**
 * The delegate class that acts as a "Promise-like" for DomainRun.
 * 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__DomainRunClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
  readonly [Symbol.toStringTag]: "PrismaPromise"
  /**
   * 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 DomainRun model
 */
export interface DomainRunFieldRefs {
  readonly id: Prisma.FieldRef<"DomainRun", 'String'>
  readonly trigger: Prisma.FieldRef<"DomainRun", 'CheckTrigger'>
  readonly slotKey: Prisma.FieldRef<"DomainRun", 'String'>
  readonly status: Prisma.FieldRef<"DomainRun", 'RunStatus'>
  readonly startedBy: Prisma.FieldRef<"DomainRun", 'String'>
  readonly startedAt: Prisma.FieldRef<"DomainRun", 'DateTime'>
  readonly heartbeatAt: Prisma.FieldRef<"DomainRun", 'DateTime'>
  readonly finishedAt: Prisma.FieldRef<"DomainRun", 'DateTime'>
  readonly domainsFound: Prisma.FieldRef<"DomainRun", 'Int'>
  readonly domainsChecked: Prisma.FieldRef<"DomainRun", 'Int'>
  readonly failed: Prisma.FieldRef<"DomainRun", 'Int'>
  readonly errorMessage: Prisma.FieldRef<"DomainRun", 'String'>
}
    

// Custom InputTypes
/**
 * DomainRun findUnique
 */
export type DomainRunFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the DomainRun
   */
  select?: Prisma.DomainRunSelect<ExtArgs> | null
  /**
   * Omit specific fields from the DomainRun
   */
  omit?: Prisma.DomainRunOmit<ExtArgs> | null
  /**
   * Filter, which DomainRun to fetch.
   */
  where: Prisma.DomainRunWhereUniqueInput
}

/**
 * DomainRun findUniqueOrThrow
 */
export type DomainRunFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the DomainRun
   */
  select?: Prisma.DomainRunSelect<ExtArgs> | null
  /**
   * Omit specific fields from the DomainRun
   */
  omit?: Prisma.DomainRunOmit<ExtArgs> | null
  /**
   * Filter, which DomainRun to fetch.
   */
  where: Prisma.DomainRunWhereUniqueInput
}

/**
 * DomainRun findFirst
 */
export type DomainRunFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the DomainRun
   */
  select?: Prisma.DomainRunSelect<ExtArgs> | null
  /**
   * Omit specific fields from the DomainRun
   */
  omit?: Prisma.DomainRunOmit<ExtArgs> | null
  /**
   * Filter, which DomainRun to fetch.
   */
  where?: Prisma.DomainRunWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of DomainRuns to fetch.
   */
  orderBy?: Prisma.DomainRunOrderByWithRelationInput | Prisma.DomainRunOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the position for searching for DomainRuns.
   */
  cursor?: Prisma.DomainRunWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` DomainRuns 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` DomainRuns.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
   * 
   * Filter by unique combinations of DomainRuns.
   */
  distinct?: Prisma.DomainRunScalarFieldEnum | Prisma.DomainRunScalarFieldEnum[]
}

/**
 * DomainRun findFirstOrThrow
 */
export type DomainRunFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the DomainRun
   */
  select?: Prisma.DomainRunSelect<ExtArgs> | null
  /**
   * Omit specific fields from the DomainRun
   */
  omit?: Prisma.DomainRunOmit<ExtArgs> | null
  /**
   * Filter, which DomainRun to fetch.
   */
  where?: Prisma.DomainRunWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of DomainRuns to fetch.
   */
  orderBy?: Prisma.DomainRunOrderByWithRelationInput | Prisma.DomainRunOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the position for searching for DomainRuns.
   */
  cursor?: Prisma.DomainRunWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` DomainRuns 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` DomainRuns.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
   * 
   * Filter by unique combinations of DomainRuns.
   */
  distinct?: Prisma.DomainRunScalarFieldEnum | Prisma.DomainRunScalarFieldEnum[]
}

/**
 * DomainRun findMany
 */
export type DomainRunFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the DomainRun
   */
  select?: Prisma.DomainRunSelect<ExtArgs> | null
  /**
   * Omit specific fields from the DomainRun
   */
  omit?: Prisma.DomainRunOmit<ExtArgs> | null
  /**
   * Filter, which DomainRuns to fetch.
   */
  where?: Prisma.DomainRunWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of DomainRuns to fetch.
   */
  orderBy?: Prisma.DomainRunOrderByWithRelationInput | Prisma.DomainRunOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the position for listing DomainRuns.
   */
  cursor?: Prisma.DomainRunWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` DomainRuns 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` DomainRuns.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
   * 
   * Filter by unique combinations of DomainRuns.
   */
  distinct?: Prisma.DomainRunScalarFieldEnum | Prisma.DomainRunScalarFieldEnum[]
}

/**
 * DomainRun create
 */
export type DomainRunCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the DomainRun
   */
  select?: Prisma.DomainRunSelect<ExtArgs> | null
  /**
   * Omit specific fields from the DomainRun
   */
  omit?: Prisma.DomainRunOmit<ExtArgs> | null
  /**
   * The data needed to create a DomainRun.
   */
  data: Prisma.XOR<Prisma.DomainRunCreateInput, Prisma.DomainRunUncheckedCreateInput>
}

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

/**
 * DomainRun createManyAndReturn
 */
export type DomainRunCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the DomainRun
   */
  select?: Prisma.DomainRunSelectCreateManyAndReturn<ExtArgs> | null
  /**
   * Omit specific fields from the DomainRun
   */
  omit?: Prisma.DomainRunOmit<ExtArgs> | null
  /**
   * The data used to create many DomainRuns.
   */
  data: Prisma.DomainRunCreateManyInput | Prisma.DomainRunCreateManyInput[]
  skipDuplicates?: boolean
}

/**
 * DomainRun update
 */
export type DomainRunUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the DomainRun
   */
  select?: Prisma.DomainRunSelect<ExtArgs> | null
  /**
   * Omit specific fields from the DomainRun
   */
  omit?: Prisma.DomainRunOmit<ExtArgs> | null
  /**
   * The data needed to update a DomainRun.
   */
  data: Prisma.XOR<Prisma.DomainRunUpdateInput, Prisma.DomainRunUncheckedUpdateInput>
  /**
   * Choose, which DomainRun to update.
   */
  where: Prisma.DomainRunWhereUniqueInput
}

/**
 * DomainRun updateMany
 */
export type DomainRunUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * The data used to update DomainRuns.
   */
  data: Prisma.XOR<Prisma.DomainRunUpdateManyMutationInput, Prisma.DomainRunUncheckedUpdateManyInput>
  /**
   * Filter which DomainRuns to update
   */
  where?: Prisma.DomainRunWhereInput
  /**
   * Limit how many DomainRuns to update.
   */
  limit?: number
}

/**
 * DomainRun updateManyAndReturn
 */
export type DomainRunUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the DomainRun
   */
  select?: Prisma.DomainRunSelectUpdateManyAndReturn<ExtArgs> | null
  /**
   * Omit specific fields from the DomainRun
   */
  omit?: Prisma.DomainRunOmit<ExtArgs> | null
  /**
   * The data used to update DomainRuns.
   */
  data: Prisma.XOR<Prisma.DomainRunUpdateManyMutationInput, Prisma.DomainRunUncheckedUpdateManyInput>
  /**
   * Filter which DomainRuns to update
   */
  where?: Prisma.DomainRunWhereInput
  /**
   * Limit how many DomainRuns to update.
   */
  limit?: number
}

/**
 * DomainRun upsert
 */
export type DomainRunUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the DomainRun
   */
  select?: Prisma.DomainRunSelect<ExtArgs> | null
  /**
   * Omit specific fields from the DomainRun
   */
  omit?: Prisma.DomainRunOmit<ExtArgs> | null
  /**
   * The filter to search for the DomainRun to update in case it exists.
   */
  where: Prisma.DomainRunWhereUniqueInput
  /**
   * In case the DomainRun found by the `where` argument doesn't exist, create a new DomainRun with this data.
   */
  create: Prisma.XOR<Prisma.DomainRunCreateInput, Prisma.DomainRunUncheckedCreateInput>
  /**
   * In case the DomainRun was found with the provided `where` argument, update it with this data.
   */
  update: Prisma.XOR<Prisma.DomainRunUpdateInput, Prisma.DomainRunUncheckedUpdateInput>
}

/**
 * DomainRun delete
 */
export type DomainRunDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the DomainRun
   */
  select?: Prisma.DomainRunSelect<ExtArgs> | null
  /**
   * Omit specific fields from the DomainRun
   */
  omit?: Prisma.DomainRunOmit<ExtArgs> | null
  /**
   * Filter which DomainRun to delete.
   */
  where: Prisma.DomainRunWhereUniqueInput
}

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

/**
 * DomainRun without action
 */
export type DomainRunDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the DomainRun
   */
  select?: Prisma.DomainRunSelect<ExtArgs> | null
  /**
   * Omit specific fields from the DomainRun
   */
  omit?: Prisma.DomainRunOmit<ExtArgs> | null
}
