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

export type AggregateProject = {
  _count: ProjectCountAggregateOutputType | null
  _avg: ProjectAvgAggregateOutputType | null
  _sum: ProjectSumAggregateOutputType | null
  _min: ProjectMinAggregateOutputType | null
  _max: ProjectMaxAggregateOutputType | null
}

export type ProjectAvgAggregateOutputType = {
  expectedHttpStatus: number | null
  timeoutSeconds: number | null
  currentHttpStatus: number | null
  currentResponseTimeMs: number | null
}

export type ProjectSumAggregateOutputType = {
  expectedHttpStatus: number | null
  timeoutSeconds: number | null
  currentHttpStatus: number | null
  currentResponseTimeMs: number | null
}

export type ProjectMinAggregateOutputType = {
  id: string | null
  projectCode: string | null
  projectName: string | null
  productionUrl: string | null
  monitoringEnabled: boolean | null
  expectedHttpStatus: number | null
  timeoutSeconds: number | null
  description: string | null
  createdAt: Date | null
  updatedAt: Date | null
  deletedAt: Date | null
  currentStatus: $Enums.HealthStatus | null
  lastCheckedAt: Date | null
  lastSuccessfulCheckAt: Date | null
  lastFailedCheckAt: Date | null
  failureStartedAt: Date | null
  lastRecoveredAt: Date | null
  currentHttpStatus: number | null
  currentResponseTimeMs: number | null
  currentErrorMessage: string | null
}

export type ProjectMaxAggregateOutputType = {
  id: string | null
  projectCode: string | null
  projectName: string | null
  productionUrl: string | null
  monitoringEnabled: boolean | null
  expectedHttpStatus: number | null
  timeoutSeconds: number | null
  description: string | null
  createdAt: Date | null
  updatedAt: Date | null
  deletedAt: Date | null
  currentStatus: $Enums.HealthStatus | null
  lastCheckedAt: Date | null
  lastSuccessfulCheckAt: Date | null
  lastFailedCheckAt: Date | null
  failureStartedAt: Date | null
  lastRecoveredAt: Date | null
  currentHttpStatus: number | null
  currentResponseTimeMs: number | null
  currentErrorMessage: string | null
}

export type ProjectCountAggregateOutputType = {
  id: number
  projectCode: number
  projectName: number
  productionUrl: number
  monitoringEnabled: number
  expectedHttpStatus: number
  timeoutSeconds: number
  description: number
  createdAt: number
  updatedAt: number
  deletedAt: number
  currentStatus: number
  lastCheckedAt: number
  lastSuccessfulCheckAt: number
  lastFailedCheckAt: number
  failureStartedAt: number
  lastRecoveredAt: number
  currentHttpStatus: number
  currentResponseTimeMs: number
  currentErrorMessage: number
  _all: number
}


export type ProjectAvgAggregateInputType = {
  expectedHttpStatus?: true
  timeoutSeconds?: true
  currentHttpStatus?: true
  currentResponseTimeMs?: true
}

export type ProjectSumAggregateInputType = {
  expectedHttpStatus?: true
  timeoutSeconds?: true
  currentHttpStatus?: true
  currentResponseTimeMs?: true
}

export type ProjectMinAggregateInputType = {
  id?: true
  projectCode?: true
  projectName?: true
  productionUrl?: true
  monitoringEnabled?: true
  expectedHttpStatus?: true
  timeoutSeconds?: true
  description?: true
  createdAt?: true
  updatedAt?: true
  deletedAt?: true
  currentStatus?: true
  lastCheckedAt?: true
  lastSuccessfulCheckAt?: true
  lastFailedCheckAt?: true
  failureStartedAt?: true
  lastRecoveredAt?: true
  currentHttpStatus?: true
  currentResponseTimeMs?: true
  currentErrorMessage?: true
}

export type ProjectMaxAggregateInputType = {
  id?: true
  projectCode?: true
  projectName?: true
  productionUrl?: true
  monitoringEnabled?: true
  expectedHttpStatus?: true
  timeoutSeconds?: true
  description?: true
  createdAt?: true
  updatedAt?: true
  deletedAt?: true
  currentStatus?: true
  lastCheckedAt?: true
  lastSuccessfulCheckAt?: true
  lastFailedCheckAt?: true
  failureStartedAt?: true
  lastRecoveredAt?: true
  currentHttpStatus?: true
  currentResponseTimeMs?: true
  currentErrorMessage?: true
}

export type ProjectCountAggregateInputType = {
  id?: true
  projectCode?: true
  projectName?: true
  productionUrl?: true
  monitoringEnabled?: true
  expectedHttpStatus?: true
  timeoutSeconds?: true
  description?: true
  createdAt?: true
  updatedAt?: true
  deletedAt?: true
  currentStatus?: true
  lastCheckedAt?: true
  lastSuccessfulCheckAt?: true
  lastFailedCheckAt?: true
  failureStartedAt?: true
  lastRecoveredAt?: true
  currentHttpStatus?: true
  currentResponseTimeMs?: true
  currentErrorMessage?: true
  _all?: true
}

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

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




export type ProjectGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  where?: Prisma.ProjectWhereInput
  orderBy?: Prisma.ProjectOrderByWithAggregationInput | Prisma.ProjectOrderByWithAggregationInput[]
  by: Prisma.ProjectScalarFieldEnum[] | Prisma.ProjectScalarFieldEnum
  having?: Prisma.ProjectScalarWhereWithAggregatesInput
  take?: number
  skip?: number
  _count?: ProjectCountAggregateInputType | true
  _avg?: ProjectAvgAggregateInputType
  _sum?: ProjectSumAggregateInputType
  _min?: ProjectMinAggregateInputType
  _max?: ProjectMaxAggregateInputType
}

export type ProjectGroupByOutputType = {
  id: string
  projectCode: string
  projectName: string
  productionUrl: string
  monitoringEnabled: boolean
  expectedHttpStatus: number
  timeoutSeconds: number
  description: string | null
  createdAt: Date
  updatedAt: Date
  deletedAt: Date | null
  currentStatus: $Enums.HealthStatus | null
  lastCheckedAt: Date | null
  lastSuccessfulCheckAt: Date | null
  lastFailedCheckAt: Date | null
  failureStartedAt: Date | null
  lastRecoveredAt: Date | null
  currentHttpStatus: number | null
  currentResponseTimeMs: number | null
  currentErrorMessage: string | null
  _count: ProjectCountAggregateOutputType | null
  _avg: ProjectAvgAggregateOutputType | null
  _sum: ProjectSumAggregateOutputType | null
  _min: ProjectMinAggregateOutputType | null
  _max: ProjectMaxAggregateOutputType | null
}

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



export type ProjectWhereInput = {
  AND?: Prisma.ProjectWhereInput | Prisma.ProjectWhereInput[]
  OR?: Prisma.ProjectWhereInput[]
  NOT?: Prisma.ProjectWhereInput | Prisma.ProjectWhereInput[]
  id?: Prisma.StringFilter<"Project"> | string
  projectCode?: Prisma.StringFilter<"Project"> | string
  projectName?: Prisma.StringFilter<"Project"> | string
  productionUrl?: Prisma.StringFilter<"Project"> | string
  monitoringEnabled?: Prisma.BoolFilter<"Project"> | boolean
  expectedHttpStatus?: Prisma.IntFilter<"Project"> | number
  timeoutSeconds?: Prisma.IntFilter<"Project"> | number
  description?: Prisma.StringNullableFilter<"Project"> | string | null
  createdAt?: Prisma.DateTimeFilter<"Project"> | Date | string
  updatedAt?: Prisma.DateTimeFilter<"Project"> | Date | string
  deletedAt?: Prisma.DateTimeNullableFilter<"Project"> | Date | string | null
  currentStatus?: Prisma.EnumHealthStatusNullableFilter<"Project"> | $Enums.HealthStatus | null
  lastCheckedAt?: Prisma.DateTimeNullableFilter<"Project"> | Date | string | null
  lastSuccessfulCheckAt?: Prisma.DateTimeNullableFilter<"Project"> | Date | string | null
  lastFailedCheckAt?: Prisma.DateTimeNullableFilter<"Project"> | Date | string | null
  failureStartedAt?: Prisma.DateTimeNullableFilter<"Project"> | Date | string | null
  lastRecoveredAt?: Prisma.DateTimeNullableFilter<"Project"> | Date | string | null
  currentHttpStatus?: Prisma.IntNullableFilter<"Project"> | number | null
  currentResponseTimeMs?: Prisma.IntNullableFilter<"Project"> | number | null
  currentErrorMessage?: Prisma.StringNullableFilter<"Project"> | string | null
  healthChecks?: Prisma.HealthCheckListRelationFilter
}

export type ProjectOrderByWithRelationInput = {
  id?: Prisma.SortOrder
  projectCode?: Prisma.SortOrder
  projectName?: Prisma.SortOrder
  productionUrl?: Prisma.SortOrder
  monitoringEnabled?: Prisma.SortOrder
  expectedHttpStatus?: Prisma.SortOrder
  timeoutSeconds?: Prisma.SortOrder
  description?: Prisma.SortOrderInput | Prisma.SortOrder
  createdAt?: Prisma.SortOrder
  updatedAt?: Prisma.SortOrder
  deletedAt?: Prisma.SortOrderInput | Prisma.SortOrder
  currentStatus?: Prisma.SortOrderInput | Prisma.SortOrder
  lastCheckedAt?: Prisma.SortOrderInput | Prisma.SortOrder
  lastSuccessfulCheckAt?: Prisma.SortOrderInput | Prisma.SortOrder
  lastFailedCheckAt?: Prisma.SortOrderInput | Prisma.SortOrder
  failureStartedAt?: Prisma.SortOrderInput | Prisma.SortOrder
  lastRecoveredAt?: Prisma.SortOrderInput | Prisma.SortOrder
  currentHttpStatus?: Prisma.SortOrderInput | Prisma.SortOrder
  currentResponseTimeMs?: Prisma.SortOrderInput | Prisma.SortOrder
  currentErrorMessage?: Prisma.SortOrderInput | Prisma.SortOrder
  healthChecks?: Prisma.HealthCheckOrderByRelationAggregateInput
}

export type ProjectWhereUniqueInput = Prisma.AtLeast<{
  id?: string
  AND?: Prisma.ProjectWhereInput | Prisma.ProjectWhereInput[]
  OR?: Prisma.ProjectWhereInput[]
  NOT?: Prisma.ProjectWhereInput | Prisma.ProjectWhereInput[]
  projectCode?: Prisma.StringFilter<"Project"> | string
  projectName?: Prisma.StringFilter<"Project"> | string
  productionUrl?: Prisma.StringFilter<"Project"> | string
  monitoringEnabled?: Prisma.BoolFilter<"Project"> | boolean
  expectedHttpStatus?: Prisma.IntFilter<"Project"> | number
  timeoutSeconds?: Prisma.IntFilter<"Project"> | number
  description?: Prisma.StringNullableFilter<"Project"> | string | null
  createdAt?: Prisma.DateTimeFilter<"Project"> | Date | string
  updatedAt?: Prisma.DateTimeFilter<"Project"> | Date | string
  deletedAt?: Prisma.DateTimeNullableFilter<"Project"> | Date | string | null
  currentStatus?: Prisma.EnumHealthStatusNullableFilter<"Project"> | $Enums.HealthStatus | null
  lastCheckedAt?: Prisma.DateTimeNullableFilter<"Project"> | Date | string | null
  lastSuccessfulCheckAt?: Prisma.DateTimeNullableFilter<"Project"> | Date | string | null
  lastFailedCheckAt?: Prisma.DateTimeNullableFilter<"Project"> | Date | string | null
  failureStartedAt?: Prisma.DateTimeNullableFilter<"Project"> | Date | string | null
  lastRecoveredAt?: Prisma.DateTimeNullableFilter<"Project"> | Date | string | null
  currentHttpStatus?: Prisma.IntNullableFilter<"Project"> | number | null
  currentResponseTimeMs?: Prisma.IntNullableFilter<"Project"> | number | null
  currentErrorMessage?: Prisma.StringNullableFilter<"Project"> | string | null
  healthChecks?: Prisma.HealthCheckListRelationFilter
}, "id">

export type ProjectOrderByWithAggregationInput = {
  id?: Prisma.SortOrder
  projectCode?: Prisma.SortOrder
  projectName?: Prisma.SortOrder
  productionUrl?: Prisma.SortOrder
  monitoringEnabled?: Prisma.SortOrder
  expectedHttpStatus?: Prisma.SortOrder
  timeoutSeconds?: Prisma.SortOrder
  description?: Prisma.SortOrderInput | Prisma.SortOrder
  createdAt?: Prisma.SortOrder
  updatedAt?: Prisma.SortOrder
  deletedAt?: Prisma.SortOrderInput | Prisma.SortOrder
  currentStatus?: Prisma.SortOrderInput | Prisma.SortOrder
  lastCheckedAt?: Prisma.SortOrderInput | Prisma.SortOrder
  lastSuccessfulCheckAt?: Prisma.SortOrderInput | Prisma.SortOrder
  lastFailedCheckAt?: Prisma.SortOrderInput | Prisma.SortOrder
  failureStartedAt?: Prisma.SortOrderInput | Prisma.SortOrder
  lastRecoveredAt?: Prisma.SortOrderInput | Prisma.SortOrder
  currentHttpStatus?: Prisma.SortOrderInput | Prisma.SortOrder
  currentResponseTimeMs?: Prisma.SortOrderInput | Prisma.SortOrder
  currentErrorMessage?: Prisma.SortOrderInput | Prisma.SortOrder
  _count?: Prisma.ProjectCountOrderByAggregateInput
  _avg?: Prisma.ProjectAvgOrderByAggregateInput
  _max?: Prisma.ProjectMaxOrderByAggregateInput
  _min?: Prisma.ProjectMinOrderByAggregateInput
  _sum?: Prisma.ProjectSumOrderByAggregateInput
}

export type ProjectScalarWhereWithAggregatesInput = {
  AND?: Prisma.ProjectScalarWhereWithAggregatesInput | Prisma.ProjectScalarWhereWithAggregatesInput[]
  OR?: Prisma.ProjectScalarWhereWithAggregatesInput[]
  NOT?: Prisma.ProjectScalarWhereWithAggregatesInput | Prisma.ProjectScalarWhereWithAggregatesInput[]
  id?: Prisma.StringWithAggregatesFilter<"Project"> | string
  projectCode?: Prisma.StringWithAggregatesFilter<"Project"> | string
  projectName?: Prisma.StringWithAggregatesFilter<"Project"> | string
  productionUrl?: Prisma.StringWithAggregatesFilter<"Project"> | string
  monitoringEnabled?: Prisma.BoolWithAggregatesFilter<"Project"> | boolean
  expectedHttpStatus?: Prisma.IntWithAggregatesFilter<"Project"> | number
  timeoutSeconds?: Prisma.IntWithAggregatesFilter<"Project"> | number
  description?: Prisma.StringNullableWithAggregatesFilter<"Project"> | string | null
  createdAt?: Prisma.DateTimeWithAggregatesFilter<"Project"> | Date | string
  updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Project"> | Date | string
  deletedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Project"> | Date | string | null
  currentStatus?: Prisma.EnumHealthStatusNullableWithAggregatesFilter<"Project"> | $Enums.HealthStatus | null
  lastCheckedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Project"> | Date | string | null
  lastSuccessfulCheckAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Project"> | Date | string | null
  lastFailedCheckAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Project"> | Date | string | null
  failureStartedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Project"> | Date | string | null
  lastRecoveredAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Project"> | Date | string | null
  currentHttpStatus?: Prisma.IntNullableWithAggregatesFilter<"Project"> | number | null
  currentResponseTimeMs?: Prisma.IntNullableWithAggregatesFilter<"Project"> | number | null
  currentErrorMessage?: Prisma.StringNullableWithAggregatesFilter<"Project"> | string | null
}

export type ProjectCreateInput = {
  id?: string
  projectCode: string
  projectName: string
  productionUrl: string
  monitoringEnabled?: boolean
  expectedHttpStatus?: number
  timeoutSeconds?: number
  description?: string | null
  createdAt?: Date | string
  updatedAt?: Date | string
  deletedAt?: Date | string | null
  currentStatus?: $Enums.HealthStatus | null
  lastCheckedAt?: Date | string | null
  lastSuccessfulCheckAt?: Date | string | null
  lastFailedCheckAt?: Date | string | null
  failureStartedAt?: Date | string | null
  lastRecoveredAt?: Date | string | null
  currentHttpStatus?: number | null
  currentResponseTimeMs?: number | null
  currentErrorMessage?: string | null
  healthChecks?: Prisma.HealthCheckCreateNestedManyWithoutProjectInput
}

export type ProjectUncheckedCreateInput = {
  id?: string
  projectCode: string
  projectName: string
  productionUrl: string
  monitoringEnabled?: boolean
  expectedHttpStatus?: number
  timeoutSeconds?: number
  description?: string | null
  createdAt?: Date | string
  updatedAt?: Date | string
  deletedAt?: Date | string | null
  currentStatus?: $Enums.HealthStatus | null
  lastCheckedAt?: Date | string | null
  lastSuccessfulCheckAt?: Date | string | null
  lastFailedCheckAt?: Date | string | null
  failureStartedAt?: Date | string | null
  lastRecoveredAt?: Date | string | null
  currentHttpStatus?: number | null
  currentResponseTimeMs?: number | null
  currentErrorMessage?: string | null
  healthChecks?: Prisma.HealthCheckUncheckedCreateNestedManyWithoutProjectInput
}

export type ProjectUpdateInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  projectCode?: Prisma.StringFieldUpdateOperationsInput | string
  projectName?: Prisma.StringFieldUpdateOperationsInput | string
  productionUrl?: Prisma.StringFieldUpdateOperationsInput | string
  monitoringEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
  expectedHttpStatus?: Prisma.IntFieldUpdateOperationsInput | number
  timeoutSeconds?: Prisma.IntFieldUpdateOperationsInput | number
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  currentStatus?: Prisma.NullableEnumHealthStatusFieldUpdateOperationsInput | $Enums.HealthStatus | null
  lastCheckedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  lastSuccessfulCheckAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  lastFailedCheckAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  failureStartedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  lastRecoveredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  currentHttpStatus?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  currentResponseTimeMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  currentErrorMessage?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  healthChecks?: Prisma.HealthCheckUpdateManyWithoutProjectNestedInput
}

export type ProjectUncheckedUpdateInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  projectCode?: Prisma.StringFieldUpdateOperationsInput | string
  projectName?: Prisma.StringFieldUpdateOperationsInput | string
  productionUrl?: Prisma.StringFieldUpdateOperationsInput | string
  monitoringEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
  expectedHttpStatus?: Prisma.IntFieldUpdateOperationsInput | number
  timeoutSeconds?: Prisma.IntFieldUpdateOperationsInput | number
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  currentStatus?: Prisma.NullableEnumHealthStatusFieldUpdateOperationsInput | $Enums.HealthStatus | null
  lastCheckedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  lastSuccessfulCheckAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  lastFailedCheckAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  failureStartedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  lastRecoveredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  currentHttpStatus?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  currentResponseTimeMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  currentErrorMessage?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  healthChecks?: Prisma.HealthCheckUncheckedUpdateManyWithoutProjectNestedInput
}

export type ProjectCreateManyInput = {
  id?: string
  projectCode: string
  projectName: string
  productionUrl: string
  monitoringEnabled?: boolean
  expectedHttpStatus?: number
  timeoutSeconds?: number
  description?: string | null
  createdAt?: Date | string
  updatedAt?: Date | string
  deletedAt?: Date | string | null
  currentStatus?: $Enums.HealthStatus | null
  lastCheckedAt?: Date | string | null
  lastSuccessfulCheckAt?: Date | string | null
  lastFailedCheckAt?: Date | string | null
  failureStartedAt?: Date | string | null
  lastRecoveredAt?: Date | string | null
  currentHttpStatus?: number | null
  currentResponseTimeMs?: number | null
  currentErrorMessage?: string | null
}

export type ProjectUpdateManyMutationInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  projectCode?: Prisma.StringFieldUpdateOperationsInput | string
  projectName?: Prisma.StringFieldUpdateOperationsInput | string
  productionUrl?: Prisma.StringFieldUpdateOperationsInput | string
  monitoringEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
  expectedHttpStatus?: Prisma.IntFieldUpdateOperationsInput | number
  timeoutSeconds?: Prisma.IntFieldUpdateOperationsInput | number
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  currentStatus?: Prisma.NullableEnumHealthStatusFieldUpdateOperationsInput | $Enums.HealthStatus | null
  lastCheckedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  lastSuccessfulCheckAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  lastFailedCheckAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  failureStartedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  lastRecoveredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  currentHttpStatus?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  currentResponseTimeMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  currentErrorMessage?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}

export type ProjectUncheckedUpdateManyInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  projectCode?: Prisma.StringFieldUpdateOperationsInput | string
  projectName?: Prisma.StringFieldUpdateOperationsInput | string
  productionUrl?: Prisma.StringFieldUpdateOperationsInput | string
  monitoringEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
  expectedHttpStatus?: Prisma.IntFieldUpdateOperationsInput | number
  timeoutSeconds?: Prisma.IntFieldUpdateOperationsInput | number
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  currentStatus?: Prisma.NullableEnumHealthStatusFieldUpdateOperationsInput | $Enums.HealthStatus | null
  lastCheckedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  lastSuccessfulCheckAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  lastFailedCheckAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  failureStartedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  lastRecoveredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  currentHttpStatus?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  currentResponseTimeMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  currentErrorMessage?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}

export type ProjectCountOrderByAggregateInput = {
  id?: Prisma.SortOrder
  projectCode?: Prisma.SortOrder
  projectName?: Prisma.SortOrder
  productionUrl?: Prisma.SortOrder
  monitoringEnabled?: Prisma.SortOrder
  expectedHttpStatus?: Prisma.SortOrder
  timeoutSeconds?: Prisma.SortOrder
  description?: Prisma.SortOrder
  createdAt?: Prisma.SortOrder
  updatedAt?: Prisma.SortOrder
  deletedAt?: Prisma.SortOrder
  currentStatus?: Prisma.SortOrder
  lastCheckedAt?: Prisma.SortOrder
  lastSuccessfulCheckAt?: Prisma.SortOrder
  lastFailedCheckAt?: Prisma.SortOrder
  failureStartedAt?: Prisma.SortOrder
  lastRecoveredAt?: Prisma.SortOrder
  currentHttpStatus?: Prisma.SortOrder
  currentResponseTimeMs?: Prisma.SortOrder
  currentErrorMessage?: Prisma.SortOrder
}

export type ProjectAvgOrderByAggregateInput = {
  expectedHttpStatus?: Prisma.SortOrder
  timeoutSeconds?: Prisma.SortOrder
  currentHttpStatus?: Prisma.SortOrder
  currentResponseTimeMs?: Prisma.SortOrder
}

export type ProjectMaxOrderByAggregateInput = {
  id?: Prisma.SortOrder
  projectCode?: Prisma.SortOrder
  projectName?: Prisma.SortOrder
  productionUrl?: Prisma.SortOrder
  monitoringEnabled?: Prisma.SortOrder
  expectedHttpStatus?: Prisma.SortOrder
  timeoutSeconds?: Prisma.SortOrder
  description?: Prisma.SortOrder
  createdAt?: Prisma.SortOrder
  updatedAt?: Prisma.SortOrder
  deletedAt?: Prisma.SortOrder
  currentStatus?: Prisma.SortOrder
  lastCheckedAt?: Prisma.SortOrder
  lastSuccessfulCheckAt?: Prisma.SortOrder
  lastFailedCheckAt?: Prisma.SortOrder
  failureStartedAt?: Prisma.SortOrder
  lastRecoveredAt?: Prisma.SortOrder
  currentHttpStatus?: Prisma.SortOrder
  currentResponseTimeMs?: Prisma.SortOrder
  currentErrorMessage?: Prisma.SortOrder
}

export type ProjectMinOrderByAggregateInput = {
  id?: Prisma.SortOrder
  projectCode?: Prisma.SortOrder
  projectName?: Prisma.SortOrder
  productionUrl?: Prisma.SortOrder
  monitoringEnabled?: Prisma.SortOrder
  expectedHttpStatus?: Prisma.SortOrder
  timeoutSeconds?: Prisma.SortOrder
  description?: Prisma.SortOrder
  createdAt?: Prisma.SortOrder
  updatedAt?: Prisma.SortOrder
  deletedAt?: Prisma.SortOrder
  currentStatus?: Prisma.SortOrder
  lastCheckedAt?: Prisma.SortOrder
  lastSuccessfulCheckAt?: Prisma.SortOrder
  lastFailedCheckAt?: Prisma.SortOrder
  failureStartedAt?: Prisma.SortOrder
  lastRecoveredAt?: Prisma.SortOrder
  currentHttpStatus?: Prisma.SortOrder
  currentResponseTimeMs?: Prisma.SortOrder
  currentErrorMessage?: Prisma.SortOrder
}

export type ProjectSumOrderByAggregateInput = {
  expectedHttpStatus?: Prisma.SortOrder
  timeoutSeconds?: Prisma.SortOrder
  currentHttpStatus?: Prisma.SortOrder
  currentResponseTimeMs?: Prisma.SortOrder
}

export type ProjectScalarRelationFilter = {
  is?: Prisma.ProjectWhereInput
  isNot?: Prisma.ProjectWhereInput
}

export type IntFieldUpdateOperationsInput = {
  set?: number
  increment?: number
  decrement?: number
  multiply?: number
  divide?: number
}

export type NullableStringFieldUpdateOperationsInput = {
  set?: string | null
}

export type NullableDateTimeFieldUpdateOperationsInput = {
  set?: Date | string | null
}

export type NullableEnumHealthStatusFieldUpdateOperationsInput = {
  set?: $Enums.HealthStatus | null
}

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

export type ProjectCreateNestedOneWithoutHealthChecksInput = {
  create?: Prisma.XOR<Prisma.ProjectCreateWithoutHealthChecksInput, Prisma.ProjectUncheckedCreateWithoutHealthChecksInput>
  connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutHealthChecksInput
  connect?: Prisma.ProjectWhereUniqueInput
}

export type ProjectUpdateOneRequiredWithoutHealthChecksNestedInput = {
  create?: Prisma.XOR<Prisma.ProjectCreateWithoutHealthChecksInput, Prisma.ProjectUncheckedCreateWithoutHealthChecksInput>
  connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutHealthChecksInput
  upsert?: Prisma.ProjectUpsertWithoutHealthChecksInput
  connect?: Prisma.ProjectWhereUniqueInput
  update?: Prisma.XOR<Prisma.XOR<Prisma.ProjectUpdateToOneWithWhereWithoutHealthChecksInput, Prisma.ProjectUpdateWithoutHealthChecksInput>, Prisma.ProjectUncheckedUpdateWithoutHealthChecksInput>
}

export type ProjectCreateWithoutHealthChecksInput = {
  id?: string
  projectCode: string
  projectName: string
  productionUrl: string
  monitoringEnabled?: boolean
  expectedHttpStatus?: number
  timeoutSeconds?: number
  description?: string | null
  createdAt?: Date | string
  updatedAt?: Date | string
  deletedAt?: Date | string | null
  currentStatus?: $Enums.HealthStatus | null
  lastCheckedAt?: Date | string | null
  lastSuccessfulCheckAt?: Date | string | null
  lastFailedCheckAt?: Date | string | null
  failureStartedAt?: Date | string | null
  lastRecoveredAt?: Date | string | null
  currentHttpStatus?: number | null
  currentResponseTimeMs?: number | null
  currentErrorMessage?: string | null
}

export type ProjectUncheckedCreateWithoutHealthChecksInput = {
  id?: string
  projectCode: string
  projectName: string
  productionUrl: string
  monitoringEnabled?: boolean
  expectedHttpStatus?: number
  timeoutSeconds?: number
  description?: string | null
  createdAt?: Date | string
  updatedAt?: Date | string
  deletedAt?: Date | string | null
  currentStatus?: $Enums.HealthStatus | null
  lastCheckedAt?: Date | string | null
  lastSuccessfulCheckAt?: Date | string | null
  lastFailedCheckAt?: Date | string | null
  failureStartedAt?: Date | string | null
  lastRecoveredAt?: Date | string | null
  currentHttpStatus?: number | null
  currentResponseTimeMs?: number | null
  currentErrorMessage?: string | null
}

export type ProjectCreateOrConnectWithoutHealthChecksInput = {
  where: Prisma.ProjectWhereUniqueInput
  create: Prisma.XOR<Prisma.ProjectCreateWithoutHealthChecksInput, Prisma.ProjectUncheckedCreateWithoutHealthChecksInput>
}

export type ProjectUpsertWithoutHealthChecksInput = {
  update: Prisma.XOR<Prisma.ProjectUpdateWithoutHealthChecksInput, Prisma.ProjectUncheckedUpdateWithoutHealthChecksInput>
  create: Prisma.XOR<Prisma.ProjectCreateWithoutHealthChecksInput, Prisma.ProjectUncheckedCreateWithoutHealthChecksInput>
  where?: Prisma.ProjectWhereInput
}

export type ProjectUpdateToOneWithWhereWithoutHealthChecksInput = {
  where?: Prisma.ProjectWhereInput
  data: Prisma.XOR<Prisma.ProjectUpdateWithoutHealthChecksInput, Prisma.ProjectUncheckedUpdateWithoutHealthChecksInput>
}

export type ProjectUpdateWithoutHealthChecksInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  projectCode?: Prisma.StringFieldUpdateOperationsInput | string
  projectName?: Prisma.StringFieldUpdateOperationsInput | string
  productionUrl?: Prisma.StringFieldUpdateOperationsInput | string
  monitoringEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
  expectedHttpStatus?: Prisma.IntFieldUpdateOperationsInput | number
  timeoutSeconds?: Prisma.IntFieldUpdateOperationsInput | number
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  currentStatus?: Prisma.NullableEnumHealthStatusFieldUpdateOperationsInput | $Enums.HealthStatus | null
  lastCheckedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  lastSuccessfulCheckAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  lastFailedCheckAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  failureStartedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  lastRecoveredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  currentHttpStatus?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  currentResponseTimeMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  currentErrorMessage?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}

export type ProjectUncheckedUpdateWithoutHealthChecksInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  projectCode?: Prisma.StringFieldUpdateOperationsInput | string
  projectName?: Prisma.StringFieldUpdateOperationsInput | string
  productionUrl?: Prisma.StringFieldUpdateOperationsInput | string
  monitoringEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
  expectedHttpStatus?: Prisma.IntFieldUpdateOperationsInput | number
  timeoutSeconds?: Prisma.IntFieldUpdateOperationsInput | number
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  currentStatus?: Prisma.NullableEnumHealthStatusFieldUpdateOperationsInput | $Enums.HealthStatus | null
  lastCheckedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  lastSuccessfulCheckAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  lastFailedCheckAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  failureStartedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  lastRecoveredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  currentHttpStatus?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  currentResponseTimeMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  currentErrorMessage?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}


/**
 * Count Type ProjectCountOutputType
 */

export type ProjectCountOutputType = {
  healthChecks: number
}

export type ProjectCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  healthChecks?: boolean | ProjectCountOutputTypeCountHealthChecksArgs
}

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

/**
 * ProjectCountOutputType without action
 */
export type ProjectCountOutputTypeCountHealthChecksArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  where?: Prisma.HealthCheckWhereInput
}


export type ProjectSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  projectCode?: boolean
  projectName?: boolean
  productionUrl?: boolean
  monitoringEnabled?: boolean
  expectedHttpStatus?: boolean
  timeoutSeconds?: boolean
  description?: boolean
  createdAt?: boolean
  updatedAt?: boolean
  deletedAt?: boolean
  currentStatus?: boolean
  lastCheckedAt?: boolean
  lastSuccessfulCheckAt?: boolean
  lastFailedCheckAt?: boolean
  failureStartedAt?: boolean
  lastRecoveredAt?: boolean
  currentHttpStatus?: boolean
  currentResponseTimeMs?: boolean
  currentErrorMessage?: boolean
  healthChecks?: boolean | Prisma.Project$healthChecksArgs<ExtArgs>
  _count?: boolean | Prisma.ProjectCountOutputTypeDefaultArgs<ExtArgs>
}, ExtArgs["result"]["project"]>

export type ProjectSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  projectCode?: boolean
  projectName?: boolean
  productionUrl?: boolean
  monitoringEnabled?: boolean
  expectedHttpStatus?: boolean
  timeoutSeconds?: boolean
  description?: boolean
  createdAt?: boolean
  updatedAt?: boolean
  deletedAt?: boolean
  currentStatus?: boolean
  lastCheckedAt?: boolean
  lastSuccessfulCheckAt?: boolean
  lastFailedCheckAt?: boolean
  failureStartedAt?: boolean
  lastRecoveredAt?: boolean
  currentHttpStatus?: boolean
  currentResponseTimeMs?: boolean
  currentErrorMessage?: boolean
}, ExtArgs["result"]["project"]>

export type ProjectSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  projectCode?: boolean
  projectName?: boolean
  productionUrl?: boolean
  monitoringEnabled?: boolean
  expectedHttpStatus?: boolean
  timeoutSeconds?: boolean
  description?: boolean
  createdAt?: boolean
  updatedAt?: boolean
  deletedAt?: boolean
  currentStatus?: boolean
  lastCheckedAt?: boolean
  lastSuccessfulCheckAt?: boolean
  lastFailedCheckAt?: boolean
  failureStartedAt?: boolean
  lastRecoveredAt?: boolean
  currentHttpStatus?: boolean
  currentResponseTimeMs?: boolean
  currentErrorMessage?: boolean
}, ExtArgs["result"]["project"]>

export type ProjectSelectScalar = {
  id?: boolean
  projectCode?: boolean
  projectName?: boolean
  productionUrl?: boolean
  monitoringEnabled?: boolean
  expectedHttpStatus?: boolean
  timeoutSeconds?: boolean
  description?: boolean
  createdAt?: boolean
  updatedAt?: boolean
  deletedAt?: boolean
  currentStatus?: boolean
  lastCheckedAt?: boolean
  lastSuccessfulCheckAt?: boolean
  lastFailedCheckAt?: boolean
  failureStartedAt?: boolean
  lastRecoveredAt?: boolean
  currentHttpStatus?: boolean
  currentResponseTimeMs?: boolean
  currentErrorMessage?: boolean
}

export type ProjectOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "projectCode" | "projectName" | "productionUrl" | "monitoringEnabled" | "expectedHttpStatus" | "timeoutSeconds" | "description" | "createdAt" | "updatedAt" | "deletedAt" | "currentStatus" | "lastCheckedAt" | "lastSuccessfulCheckAt" | "lastFailedCheckAt" | "failureStartedAt" | "lastRecoveredAt" | "currentHttpStatus" | "currentResponseTimeMs" | "currentErrorMessage", ExtArgs["result"]["project"]>
export type ProjectInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  healthChecks?: boolean | Prisma.Project$healthChecksArgs<ExtArgs>
  _count?: boolean | Prisma.ProjectCountOutputTypeDefaultArgs<ExtArgs>
}
export type ProjectIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
export type ProjectIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}

export type $ProjectPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  name: "Project"
  objects: {
    healthChecks: Prisma.$HealthCheckPayload<ExtArgs>[]
  }
  scalars: runtime.Types.Extensions.GetPayloadResult<{
    id: string
    projectCode: string
    projectName: string
    productionUrl: string
    monitoringEnabled: boolean
    expectedHttpStatus: number
    timeoutSeconds: number
    description: string | null
    createdAt: Date
    updatedAt: Date
    deletedAt: Date | null
    currentStatus: $Enums.HealthStatus | null
    lastCheckedAt: Date | null
    lastSuccessfulCheckAt: Date | null
    lastFailedCheckAt: Date | null
    failureStartedAt: Date | null
    lastRecoveredAt: Date | null
    currentHttpStatus: number | null
    currentResponseTimeMs: number | null
    currentErrorMessage: string | null
  }, ExtArgs["result"]["project"]>
  composites: {}
}

export type ProjectGetPayload<S extends boolean | null | undefined | ProjectDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ProjectPayload, S>

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

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

/**
 * The delegate class that acts as a "Promise-like" for Project.
 * 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__ProjectClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
  readonly [Symbol.toStringTag]: "PrismaPromise"
  healthChecks<T extends Prisma.Project$healthChecksArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Project$healthChecksArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$HealthCheckPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
  /**
   * Attaches callbacks for the resolution and/or rejection of the Promise.
   * @param onfulfilled The callback to execute when the Promise is resolved.
   * @param onrejected The callback to execute when the Promise is rejected.
   * @returns A Promise for the completion of which ever callback is executed.
   */
  then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
  /**
   * Attaches a callback for only the rejection of the Promise.
   * @param onrejected The callback to execute when the Promise is rejected.
   * @returns A Promise for the completion of the callback.
   */
  catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
  /**
   * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
   * resolved value cannot be modified from the callback.
   * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
   * @returns A Promise for the completion of the callback.
   */
  finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
}




/**
 * Fields of the Project model
 */
export interface ProjectFieldRefs {
  readonly id: Prisma.FieldRef<"Project", 'String'>
  readonly projectCode: Prisma.FieldRef<"Project", 'String'>
  readonly projectName: Prisma.FieldRef<"Project", 'String'>
  readonly productionUrl: Prisma.FieldRef<"Project", 'String'>
  readonly monitoringEnabled: Prisma.FieldRef<"Project", 'Boolean'>
  readonly expectedHttpStatus: Prisma.FieldRef<"Project", 'Int'>
  readonly timeoutSeconds: Prisma.FieldRef<"Project", 'Int'>
  readonly description: Prisma.FieldRef<"Project", 'String'>
  readonly createdAt: Prisma.FieldRef<"Project", 'DateTime'>
  readonly updatedAt: Prisma.FieldRef<"Project", 'DateTime'>
  readonly deletedAt: Prisma.FieldRef<"Project", 'DateTime'>
  readonly currentStatus: Prisma.FieldRef<"Project", 'HealthStatus'>
  readonly lastCheckedAt: Prisma.FieldRef<"Project", 'DateTime'>
  readonly lastSuccessfulCheckAt: Prisma.FieldRef<"Project", 'DateTime'>
  readonly lastFailedCheckAt: Prisma.FieldRef<"Project", 'DateTime'>
  readonly failureStartedAt: Prisma.FieldRef<"Project", 'DateTime'>
  readonly lastRecoveredAt: Prisma.FieldRef<"Project", 'DateTime'>
  readonly currentHttpStatus: Prisma.FieldRef<"Project", 'Int'>
  readonly currentResponseTimeMs: Prisma.FieldRef<"Project", 'Int'>
  readonly currentErrorMessage: Prisma.FieldRef<"Project", 'String'>
}
    

// Custom InputTypes
/**
 * Project findUnique
 */
export type ProjectFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the Project
   */
  select?: Prisma.ProjectSelect<ExtArgs> | null
  /**
   * Omit specific fields from the Project
   */
  omit?: Prisma.ProjectOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.ProjectInclude<ExtArgs> | null
  /**
   * Filter, which Project to fetch.
   */
  where: Prisma.ProjectWhereUniqueInput
}

/**
 * Project findUniqueOrThrow
 */
export type ProjectFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the Project
   */
  select?: Prisma.ProjectSelect<ExtArgs> | null
  /**
   * Omit specific fields from the Project
   */
  omit?: Prisma.ProjectOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.ProjectInclude<ExtArgs> | null
  /**
   * Filter, which Project to fetch.
   */
  where: Prisma.ProjectWhereUniqueInput
}

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

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

/**
 * Project findMany
 */
export type ProjectFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the Project
   */
  select?: Prisma.ProjectSelect<ExtArgs> | null
  /**
   * Omit specific fields from the Project
   */
  omit?: Prisma.ProjectOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.ProjectInclude<ExtArgs> | null
  /**
   * Filter, which Projects to fetch.
   */
  where?: Prisma.ProjectWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of Projects to fetch.
   */
  orderBy?: Prisma.ProjectOrderByWithRelationInput | Prisma.ProjectOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the position for listing Projects.
   */
  cursor?: Prisma.ProjectWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` Projects 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` Projects.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
   * 
   * Filter by unique combinations of Projects.
   */
  distinct?: Prisma.ProjectScalarFieldEnum | Prisma.ProjectScalarFieldEnum[]
}

/**
 * Project create
 */
export type ProjectCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the Project
   */
  select?: Prisma.ProjectSelect<ExtArgs> | null
  /**
   * Omit specific fields from the Project
   */
  omit?: Prisma.ProjectOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.ProjectInclude<ExtArgs> | null
  /**
   * The data needed to create a Project.
   */
  data: Prisma.XOR<Prisma.ProjectCreateInput, Prisma.ProjectUncheckedCreateInput>
}

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

/**
 * Project createManyAndReturn
 */
export type ProjectCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the Project
   */
  select?: Prisma.ProjectSelectCreateManyAndReturn<ExtArgs> | null
  /**
   * Omit specific fields from the Project
   */
  omit?: Prisma.ProjectOmit<ExtArgs> | null
  /**
   * The data used to create many Projects.
   */
  data: Prisma.ProjectCreateManyInput | Prisma.ProjectCreateManyInput[]
  skipDuplicates?: boolean
}

/**
 * Project update
 */
export type ProjectUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the Project
   */
  select?: Prisma.ProjectSelect<ExtArgs> | null
  /**
   * Omit specific fields from the Project
   */
  omit?: Prisma.ProjectOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.ProjectInclude<ExtArgs> | null
  /**
   * The data needed to update a Project.
   */
  data: Prisma.XOR<Prisma.ProjectUpdateInput, Prisma.ProjectUncheckedUpdateInput>
  /**
   * Choose, which Project to update.
   */
  where: Prisma.ProjectWhereUniqueInput
}

/**
 * Project updateMany
 */
export type ProjectUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * The data used to update Projects.
   */
  data: Prisma.XOR<Prisma.ProjectUpdateManyMutationInput, Prisma.ProjectUncheckedUpdateManyInput>
  /**
   * Filter which Projects to update
   */
  where?: Prisma.ProjectWhereInput
  /**
   * Limit how many Projects to update.
   */
  limit?: number
}

/**
 * Project updateManyAndReturn
 */
export type ProjectUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the Project
   */
  select?: Prisma.ProjectSelectUpdateManyAndReturn<ExtArgs> | null
  /**
   * Omit specific fields from the Project
   */
  omit?: Prisma.ProjectOmit<ExtArgs> | null
  /**
   * The data used to update Projects.
   */
  data: Prisma.XOR<Prisma.ProjectUpdateManyMutationInput, Prisma.ProjectUncheckedUpdateManyInput>
  /**
   * Filter which Projects to update
   */
  where?: Prisma.ProjectWhereInput
  /**
   * Limit how many Projects to update.
   */
  limit?: number
}

/**
 * Project upsert
 */
export type ProjectUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the Project
   */
  select?: Prisma.ProjectSelect<ExtArgs> | null
  /**
   * Omit specific fields from the Project
   */
  omit?: Prisma.ProjectOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.ProjectInclude<ExtArgs> | null
  /**
   * The filter to search for the Project to update in case it exists.
   */
  where: Prisma.ProjectWhereUniqueInput
  /**
   * In case the Project found by the `where` argument doesn't exist, create a new Project with this data.
   */
  create: Prisma.XOR<Prisma.ProjectCreateInput, Prisma.ProjectUncheckedCreateInput>
  /**
   * In case the Project was found with the provided `where` argument, update it with this data.
   */
  update: Prisma.XOR<Prisma.ProjectUpdateInput, Prisma.ProjectUncheckedUpdateInput>
}

/**
 * Project delete
 */
export type ProjectDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the Project
   */
  select?: Prisma.ProjectSelect<ExtArgs> | null
  /**
   * Omit specific fields from the Project
   */
  omit?: Prisma.ProjectOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.ProjectInclude<ExtArgs> | null
  /**
   * Filter which Project to delete.
   */
  where: Prisma.ProjectWhereUniqueInput
}

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

/**
 * Project.healthChecks
 */
export type Project$healthChecksArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the HealthCheck
   */
  select?: Prisma.HealthCheckSelect<ExtArgs> | null
  /**
   * Omit specific fields from the HealthCheck
   */
  omit?: Prisma.HealthCheckOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.HealthCheckInclude<ExtArgs> | null
  where?: Prisma.HealthCheckWhereInput
  orderBy?: Prisma.HealthCheckOrderByWithRelationInput | Prisma.HealthCheckOrderByWithRelationInput[]
  cursor?: Prisma.HealthCheckWhereUniqueInput
  take?: number
  skip?: number
  distinct?: Prisma.HealthCheckScalarFieldEnum | Prisma.HealthCheckScalarFieldEnum[]
}

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