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

/**
 * Model McpServerCatalogItem
 * 
 */
export type McpServerCatalogItemModel = runtime.Types.Result.DefaultSelection<Prisma.$McpServerCatalogItemPayload>

export type AggregateMcpServerCatalogItem = {
  _count: McpServerCatalogItemCountAggregateOutputType | null
  _avg: McpServerCatalogItemAvgAggregateOutputType | null
  _sum: McpServerCatalogItemSumAggregateOutputType | null
  _min: McpServerCatalogItemMinAggregateOutputType | null
  _max: McpServerCatalogItemMaxAggregateOutputType | null
}

export type McpServerCatalogItemAvgAggregateOutputType = {
  toolCount: number | null
}

export type McpServerCatalogItemSumAggregateOutputType = {
  toolCount: number | null
}

export type McpServerCatalogItemMinAggregateOutputType = {
  mcpServerId: string | null
  organizationId: string | null
  slug: string | null
  name: string | null
  description: string | null
  source: $Enums.McpCatalogSource | null
  provider: string | null
  mcpUrl: string | null
  smitheryServerKey: string | null
  authType: string | null
  verified: boolean | null
  toolCount: number | null
  createdAt: Date | null
  updatedAt: Date | null
}

export type McpServerCatalogItemMaxAggregateOutputType = {
  mcpServerId: string | null
  organizationId: string | null
  slug: string | null
  name: string | null
  description: string | null
  source: $Enums.McpCatalogSource | null
  provider: string | null
  mcpUrl: string | null
  smitheryServerKey: string | null
  authType: string | null
  verified: boolean | null
  toolCount: number | null
  createdAt: Date | null
  updatedAt: Date | null
}

export type McpServerCatalogItemCountAggregateOutputType = {
  mcpServerId: number
  organizationId: number
  slug: number
  name: number
  description: number
  source: number
  provider: number
  mcpUrl: number
  smitheryServerKey: number
  authType: number
  categories: number
  verified: number
  toolCount: number
  metadata: number
  createdAt: number
  updatedAt: number
  _all: number
}


export type McpServerCatalogItemAvgAggregateInputType = {
  toolCount?: true
}

export type McpServerCatalogItemSumAggregateInputType = {
  toolCount?: true
}

export type McpServerCatalogItemMinAggregateInputType = {
  mcpServerId?: true
  organizationId?: true
  slug?: true
  name?: true
  description?: true
  source?: true
  provider?: true
  mcpUrl?: true
  smitheryServerKey?: true
  authType?: true
  verified?: true
  toolCount?: true
  createdAt?: true
  updatedAt?: true
}

export type McpServerCatalogItemMaxAggregateInputType = {
  mcpServerId?: true
  organizationId?: true
  slug?: true
  name?: true
  description?: true
  source?: true
  provider?: true
  mcpUrl?: true
  smitheryServerKey?: true
  authType?: true
  verified?: true
  toolCount?: true
  createdAt?: true
  updatedAt?: true
}

export type McpServerCatalogItemCountAggregateInputType = {
  mcpServerId?: true
  organizationId?: true
  slug?: true
  name?: true
  description?: true
  source?: true
  provider?: true
  mcpUrl?: true
  smitheryServerKey?: true
  authType?: true
  categories?: true
  verified?: true
  toolCount?: true
  metadata?: true
  createdAt?: true
  updatedAt?: true
  _all?: true
}

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

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




export type McpServerCatalogItemGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  where?: Prisma.McpServerCatalogItemWhereInput
  orderBy?: Prisma.McpServerCatalogItemOrderByWithAggregationInput | Prisma.McpServerCatalogItemOrderByWithAggregationInput[]
  by: Prisma.McpServerCatalogItemScalarFieldEnum[] | Prisma.McpServerCatalogItemScalarFieldEnum
  having?: Prisma.McpServerCatalogItemScalarWhereWithAggregatesInput
  take?: number
  skip?: number
  _count?: McpServerCatalogItemCountAggregateInputType | true
  _avg?: McpServerCatalogItemAvgAggregateInputType
  _sum?: McpServerCatalogItemSumAggregateInputType
  _min?: McpServerCatalogItemMinAggregateInputType
  _max?: McpServerCatalogItemMaxAggregateInputType
}

export type McpServerCatalogItemGroupByOutputType = {
  mcpServerId: string
  organizationId: string | null
  slug: string
  name: string
  description: string
  source: $Enums.McpCatalogSource
  provider: string
  mcpUrl: string
  smitheryServerKey: string | null
  authType: string
  categories: runtime.JsonValue | null
  verified: boolean
  toolCount: number
  metadata: runtime.JsonValue | null
  createdAt: Date
  updatedAt: Date
  _count: McpServerCatalogItemCountAggregateOutputType | null
  _avg: McpServerCatalogItemAvgAggregateOutputType | null
  _sum: McpServerCatalogItemSumAggregateOutputType | null
  _min: McpServerCatalogItemMinAggregateOutputType | null
  _max: McpServerCatalogItemMaxAggregateOutputType | null
}

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



export type McpServerCatalogItemWhereInput = {
  AND?: Prisma.McpServerCatalogItemWhereInput | Prisma.McpServerCatalogItemWhereInput[]
  OR?: Prisma.McpServerCatalogItemWhereInput[]
  NOT?: Prisma.McpServerCatalogItemWhereInput | Prisma.McpServerCatalogItemWhereInput[]
  mcpServerId?: Prisma.StringFilter<"McpServerCatalogItem"> | string
  organizationId?: Prisma.StringNullableFilter<"McpServerCatalogItem"> | string | null
  slug?: Prisma.StringFilter<"McpServerCatalogItem"> | string
  name?: Prisma.StringFilter<"McpServerCatalogItem"> | string
  description?: Prisma.StringFilter<"McpServerCatalogItem"> | string
  source?: Prisma.EnumMcpCatalogSourceFilter<"McpServerCatalogItem"> | $Enums.McpCatalogSource
  provider?: Prisma.StringFilter<"McpServerCatalogItem"> | string
  mcpUrl?: Prisma.StringFilter<"McpServerCatalogItem"> | string
  smitheryServerKey?: Prisma.StringNullableFilter<"McpServerCatalogItem"> | string | null
  authType?: Prisma.StringFilter<"McpServerCatalogItem"> | string
  categories?: Prisma.JsonNullableFilter<"McpServerCatalogItem">
  verified?: Prisma.BoolFilter<"McpServerCatalogItem"> | boolean
  toolCount?: Prisma.IntFilter<"McpServerCatalogItem"> | number
  metadata?: Prisma.JsonNullableFilter<"McpServerCatalogItem">
  createdAt?: Prisma.DateTimeFilter<"McpServerCatalogItem"> | Date | string
  updatedAt?: Prisma.DateTimeFilter<"McpServerCatalogItem"> | Date | string
  organization?: Prisma.XOR<Prisma.OrganizationNullableScalarRelationFilter, Prisma.OrganizationWhereInput> | null
  connections?: Prisma.McpConnectionListRelationFilter
}

export type McpServerCatalogItemOrderByWithRelationInput = {
  mcpServerId?: Prisma.SortOrder
  organizationId?: Prisma.SortOrderInput | Prisma.SortOrder
  slug?: Prisma.SortOrder
  name?: Prisma.SortOrder
  description?: Prisma.SortOrder
  source?: Prisma.SortOrder
  provider?: Prisma.SortOrder
  mcpUrl?: Prisma.SortOrder
  smitheryServerKey?: Prisma.SortOrderInput | Prisma.SortOrder
  authType?: Prisma.SortOrder
  categories?: Prisma.SortOrderInput | Prisma.SortOrder
  verified?: Prisma.SortOrder
  toolCount?: Prisma.SortOrder
  metadata?: Prisma.SortOrderInput | Prisma.SortOrder
  createdAt?: Prisma.SortOrder
  updatedAt?: Prisma.SortOrder
  organization?: Prisma.OrganizationOrderByWithRelationInput
  connections?: Prisma.McpConnectionOrderByRelationAggregateInput
}

export type McpServerCatalogItemWhereUniqueInput = Prisma.AtLeast<{
  mcpServerId?: string
  organizationId_slug?: Prisma.McpServerCatalogItemOrganizationIdSlugCompoundUniqueInput
  AND?: Prisma.McpServerCatalogItemWhereInput | Prisma.McpServerCatalogItemWhereInput[]
  OR?: Prisma.McpServerCatalogItemWhereInput[]
  NOT?: Prisma.McpServerCatalogItemWhereInput | Prisma.McpServerCatalogItemWhereInput[]
  organizationId?: Prisma.StringNullableFilter<"McpServerCatalogItem"> | string | null
  slug?: Prisma.StringFilter<"McpServerCatalogItem"> | string
  name?: Prisma.StringFilter<"McpServerCatalogItem"> | string
  description?: Prisma.StringFilter<"McpServerCatalogItem"> | string
  source?: Prisma.EnumMcpCatalogSourceFilter<"McpServerCatalogItem"> | $Enums.McpCatalogSource
  provider?: Prisma.StringFilter<"McpServerCatalogItem"> | string
  mcpUrl?: Prisma.StringFilter<"McpServerCatalogItem"> | string
  smitheryServerKey?: Prisma.StringNullableFilter<"McpServerCatalogItem"> | string | null
  authType?: Prisma.StringFilter<"McpServerCatalogItem"> | string
  categories?: Prisma.JsonNullableFilter<"McpServerCatalogItem">
  verified?: Prisma.BoolFilter<"McpServerCatalogItem"> | boolean
  toolCount?: Prisma.IntFilter<"McpServerCatalogItem"> | number
  metadata?: Prisma.JsonNullableFilter<"McpServerCatalogItem">
  createdAt?: Prisma.DateTimeFilter<"McpServerCatalogItem"> | Date | string
  updatedAt?: Prisma.DateTimeFilter<"McpServerCatalogItem"> | Date | string
  organization?: Prisma.XOR<Prisma.OrganizationNullableScalarRelationFilter, Prisma.OrganizationWhereInput> | null
  connections?: Prisma.McpConnectionListRelationFilter
}, "mcpServerId" | "organizationId_slug">

export type McpServerCatalogItemOrderByWithAggregationInput = {
  mcpServerId?: Prisma.SortOrder
  organizationId?: Prisma.SortOrderInput | Prisma.SortOrder
  slug?: Prisma.SortOrder
  name?: Prisma.SortOrder
  description?: Prisma.SortOrder
  source?: Prisma.SortOrder
  provider?: Prisma.SortOrder
  mcpUrl?: Prisma.SortOrder
  smitheryServerKey?: Prisma.SortOrderInput | Prisma.SortOrder
  authType?: Prisma.SortOrder
  categories?: Prisma.SortOrderInput | Prisma.SortOrder
  verified?: Prisma.SortOrder
  toolCount?: Prisma.SortOrder
  metadata?: Prisma.SortOrderInput | Prisma.SortOrder
  createdAt?: Prisma.SortOrder
  updatedAt?: Prisma.SortOrder
  _count?: Prisma.McpServerCatalogItemCountOrderByAggregateInput
  _avg?: Prisma.McpServerCatalogItemAvgOrderByAggregateInput
  _max?: Prisma.McpServerCatalogItemMaxOrderByAggregateInput
  _min?: Prisma.McpServerCatalogItemMinOrderByAggregateInput
  _sum?: Prisma.McpServerCatalogItemSumOrderByAggregateInput
}

export type McpServerCatalogItemScalarWhereWithAggregatesInput = {
  AND?: Prisma.McpServerCatalogItemScalarWhereWithAggregatesInput | Prisma.McpServerCatalogItemScalarWhereWithAggregatesInput[]
  OR?: Prisma.McpServerCatalogItemScalarWhereWithAggregatesInput[]
  NOT?: Prisma.McpServerCatalogItemScalarWhereWithAggregatesInput | Prisma.McpServerCatalogItemScalarWhereWithAggregatesInput[]
  mcpServerId?: Prisma.StringWithAggregatesFilter<"McpServerCatalogItem"> | string
  organizationId?: Prisma.StringNullableWithAggregatesFilter<"McpServerCatalogItem"> | string | null
  slug?: Prisma.StringWithAggregatesFilter<"McpServerCatalogItem"> | string
  name?: Prisma.StringWithAggregatesFilter<"McpServerCatalogItem"> | string
  description?: Prisma.StringWithAggregatesFilter<"McpServerCatalogItem"> | string
  source?: Prisma.EnumMcpCatalogSourceWithAggregatesFilter<"McpServerCatalogItem"> | $Enums.McpCatalogSource
  provider?: Prisma.StringWithAggregatesFilter<"McpServerCatalogItem"> | string
  mcpUrl?: Prisma.StringWithAggregatesFilter<"McpServerCatalogItem"> | string
  smitheryServerKey?: Prisma.StringNullableWithAggregatesFilter<"McpServerCatalogItem"> | string | null
  authType?: Prisma.StringWithAggregatesFilter<"McpServerCatalogItem"> | string
  categories?: Prisma.JsonNullableWithAggregatesFilter<"McpServerCatalogItem">
  verified?: Prisma.BoolWithAggregatesFilter<"McpServerCatalogItem"> | boolean
  toolCount?: Prisma.IntWithAggregatesFilter<"McpServerCatalogItem"> | number
  metadata?: Prisma.JsonNullableWithAggregatesFilter<"McpServerCatalogItem">
  createdAt?: Prisma.DateTimeWithAggregatesFilter<"McpServerCatalogItem"> | Date | string
  updatedAt?: Prisma.DateTimeWithAggregatesFilter<"McpServerCatalogItem"> | Date | string
}

export type McpServerCatalogItemCreateInput = {
  mcpServerId?: string
  slug: string
  name: string
  description: string
  source?: $Enums.McpCatalogSource
  provider?: string
  mcpUrl: string
  smitheryServerKey?: string | null
  authType?: string
  categories?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  verified?: boolean
  toolCount?: number
  metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  createdAt?: Date | string
  updatedAt?: Date | string
  organization?: Prisma.OrganizationCreateNestedOneWithoutMcpCatalogItemsInput
  connections?: Prisma.McpConnectionCreateNestedManyWithoutCatalogItemInput
}

export type McpServerCatalogItemUncheckedCreateInput = {
  mcpServerId?: string
  organizationId?: string | null
  slug: string
  name: string
  description: string
  source?: $Enums.McpCatalogSource
  provider?: string
  mcpUrl: string
  smitheryServerKey?: string | null
  authType?: string
  categories?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  verified?: boolean
  toolCount?: number
  metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  createdAt?: Date | string
  updatedAt?: Date | string
  connections?: Prisma.McpConnectionUncheckedCreateNestedManyWithoutCatalogItemInput
}

export type McpServerCatalogItemUpdateInput = {
  mcpServerId?: Prisma.StringFieldUpdateOperationsInput | string
  slug?: Prisma.StringFieldUpdateOperationsInput | string
  name?: Prisma.StringFieldUpdateOperationsInput | string
  description?: Prisma.StringFieldUpdateOperationsInput | string
  source?: Prisma.EnumMcpCatalogSourceFieldUpdateOperationsInput | $Enums.McpCatalogSource
  provider?: Prisma.StringFieldUpdateOperationsInput | string
  mcpUrl?: Prisma.StringFieldUpdateOperationsInput | string
  smitheryServerKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  authType?: Prisma.StringFieldUpdateOperationsInput | string
  categories?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  verified?: Prisma.BoolFieldUpdateOperationsInput | boolean
  toolCount?: Prisma.IntFieldUpdateOperationsInput | number
  metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  organization?: Prisma.OrganizationUpdateOneWithoutMcpCatalogItemsNestedInput
  connections?: Prisma.McpConnectionUpdateManyWithoutCatalogItemNestedInput
}

export type McpServerCatalogItemUncheckedUpdateInput = {
  mcpServerId?: Prisma.StringFieldUpdateOperationsInput | string
  organizationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  slug?: Prisma.StringFieldUpdateOperationsInput | string
  name?: Prisma.StringFieldUpdateOperationsInput | string
  description?: Prisma.StringFieldUpdateOperationsInput | string
  source?: Prisma.EnumMcpCatalogSourceFieldUpdateOperationsInput | $Enums.McpCatalogSource
  provider?: Prisma.StringFieldUpdateOperationsInput | string
  mcpUrl?: Prisma.StringFieldUpdateOperationsInput | string
  smitheryServerKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  authType?: Prisma.StringFieldUpdateOperationsInput | string
  categories?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  verified?: Prisma.BoolFieldUpdateOperationsInput | boolean
  toolCount?: Prisma.IntFieldUpdateOperationsInput | number
  metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  connections?: Prisma.McpConnectionUncheckedUpdateManyWithoutCatalogItemNestedInput
}

export type McpServerCatalogItemCreateManyInput = {
  mcpServerId?: string
  organizationId?: string | null
  slug: string
  name: string
  description: string
  source?: $Enums.McpCatalogSource
  provider?: string
  mcpUrl: string
  smitheryServerKey?: string | null
  authType?: string
  categories?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  verified?: boolean
  toolCount?: number
  metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  createdAt?: Date | string
  updatedAt?: Date | string
}

export type McpServerCatalogItemUpdateManyMutationInput = {
  mcpServerId?: Prisma.StringFieldUpdateOperationsInput | string
  slug?: Prisma.StringFieldUpdateOperationsInput | string
  name?: Prisma.StringFieldUpdateOperationsInput | string
  description?: Prisma.StringFieldUpdateOperationsInput | string
  source?: Prisma.EnumMcpCatalogSourceFieldUpdateOperationsInput | $Enums.McpCatalogSource
  provider?: Prisma.StringFieldUpdateOperationsInput | string
  mcpUrl?: Prisma.StringFieldUpdateOperationsInput | string
  smitheryServerKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  authType?: Prisma.StringFieldUpdateOperationsInput | string
  categories?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  verified?: Prisma.BoolFieldUpdateOperationsInput | boolean
  toolCount?: Prisma.IntFieldUpdateOperationsInput | number
  metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}

export type McpServerCatalogItemUncheckedUpdateManyInput = {
  mcpServerId?: Prisma.StringFieldUpdateOperationsInput | string
  organizationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  slug?: Prisma.StringFieldUpdateOperationsInput | string
  name?: Prisma.StringFieldUpdateOperationsInput | string
  description?: Prisma.StringFieldUpdateOperationsInput | string
  source?: Prisma.EnumMcpCatalogSourceFieldUpdateOperationsInput | $Enums.McpCatalogSource
  provider?: Prisma.StringFieldUpdateOperationsInput | string
  mcpUrl?: Prisma.StringFieldUpdateOperationsInput | string
  smitheryServerKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  authType?: Prisma.StringFieldUpdateOperationsInput | string
  categories?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  verified?: Prisma.BoolFieldUpdateOperationsInput | boolean
  toolCount?: Prisma.IntFieldUpdateOperationsInput | number
  metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}

export type McpServerCatalogItemListRelationFilter = {
  every?: Prisma.McpServerCatalogItemWhereInput
  some?: Prisma.McpServerCatalogItemWhereInput
  none?: Prisma.McpServerCatalogItemWhereInput
}

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

export type McpServerCatalogItemOrganizationIdSlugCompoundUniqueInput = {
  organizationId: string
  slug: string
}

export type McpServerCatalogItemCountOrderByAggregateInput = {
  mcpServerId?: Prisma.SortOrder
  organizationId?: Prisma.SortOrder
  slug?: Prisma.SortOrder
  name?: Prisma.SortOrder
  description?: Prisma.SortOrder
  source?: Prisma.SortOrder
  provider?: Prisma.SortOrder
  mcpUrl?: Prisma.SortOrder
  smitheryServerKey?: Prisma.SortOrder
  authType?: Prisma.SortOrder
  categories?: Prisma.SortOrder
  verified?: Prisma.SortOrder
  toolCount?: Prisma.SortOrder
  metadata?: Prisma.SortOrder
  createdAt?: Prisma.SortOrder
  updatedAt?: Prisma.SortOrder
}

export type McpServerCatalogItemAvgOrderByAggregateInput = {
  toolCount?: Prisma.SortOrder
}

export type McpServerCatalogItemMaxOrderByAggregateInput = {
  mcpServerId?: Prisma.SortOrder
  organizationId?: Prisma.SortOrder
  slug?: Prisma.SortOrder
  name?: Prisma.SortOrder
  description?: Prisma.SortOrder
  source?: Prisma.SortOrder
  provider?: Prisma.SortOrder
  mcpUrl?: Prisma.SortOrder
  smitheryServerKey?: Prisma.SortOrder
  authType?: Prisma.SortOrder
  verified?: Prisma.SortOrder
  toolCount?: Prisma.SortOrder
  createdAt?: Prisma.SortOrder
  updatedAt?: Prisma.SortOrder
}

export type McpServerCatalogItemMinOrderByAggregateInput = {
  mcpServerId?: Prisma.SortOrder
  organizationId?: Prisma.SortOrder
  slug?: Prisma.SortOrder
  name?: Prisma.SortOrder
  description?: Prisma.SortOrder
  source?: Prisma.SortOrder
  provider?: Prisma.SortOrder
  mcpUrl?: Prisma.SortOrder
  smitheryServerKey?: Prisma.SortOrder
  authType?: Prisma.SortOrder
  verified?: Prisma.SortOrder
  toolCount?: Prisma.SortOrder
  createdAt?: Prisma.SortOrder
  updatedAt?: Prisma.SortOrder
}

export type McpServerCatalogItemSumOrderByAggregateInput = {
  toolCount?: Prisma.SortOrder
}

export type McpServerCatalogItemNullableScalarRelationFilter = {
  is?: Prisma.McpServerCatalogItemWhereInput | null
  isNot?: Prisma.McpServerCatalogItemWhereInput | null
}

export type McpServerCatalogItemCreateNestedManyWithoutOrganizationInput = {
  create?: Prisma.XOR<Prisma.McpServerCatalogItemCreateWithoutOrganizationInput, Prisma.McpServerCatalogItemUncheckedCreateWithoutOrganizationInput> | Prisma.McpServerCatalogItemCreateWithoutOrganizationInput[] | Prisma.McpServerCatalogItemUncheckedCreateWithoutOrganizationInput[]
  connectOrCreate?: Prisma.McpServerCatalogItemCreateOrConnectWithoutOrganizationInput | Prisma.McpServerCatalogItemCreateOrConnectWithoutOrganizationInput[]
  createMany?: Prisma.McpServerCatalogItemCreateManyOrganizationInputEnvelope
  connect?: Prisma.McpServerCatalogItemWhereUniqueInput | Prisma.McpServerCatalogItemWhereUniqueInput[]
}

export type McpServerCatalogItemUncheckedCreateNestedManyWithoutOrganizationInput = {
  create?: Prisma.XOR<Prisma.McpServerCatalogItemCreateWithoutOrganizationInput, Prisma.McpServerCatalogItemUncheckedCreateWithoutOrganizationInput> | Prisma.McpServerCatalogItemCreateWithoutOrganizationInput[] | Prisma.McpServerCatalogItemUncheckedCreateWithoutOrganizationInput[]
  connectOrCreate?: Prisma.McpServerCatalogItemCreateOrConnectWithoutOrganizationInput | Prisma.McpServerCatalogItemCreateOrConnectWithoutOrganizationInput[]
  createMany?: Prisma.McpServerCatalogItemCreateManyOrganizationInputEnvelope
  connect?: Prisma.McpServerCatalogItemWhereUniqueInput | Prisma.McpServerCatalogItemWhereUniqueInput[]
}

export type McpServerCatalogItemUpdateManyWithoutOrganizationNestedInput = {
  create?: Prisma.XOR<Prisma.McpServerCatalogItemCreateWithoutOrganizationInput, Prisma.McpServerCatalogItemUncheckedCreateWithoutOrganizationInput> | Prisma.McpServerCatalogItemCreateWithoutOrganizationInput[] | Prisma.McpServerCatalogItemUncheckedCreateWithoutOrganizationInput[]
  connectOrCreate?: Prisma.McpServerCatalogItemCreateOrConnectWithoutOrganizationInput | Prisma.McpServerCatalogItemCreateOrConnectWithoutOrganizationInput[]
  upsert?: Prisma.McpServerCatalogItemUpsertWithWhereUniqueWithoutOrganizationInput | Prisma.McpServerCatalogItemUpsertWithWhereUniqueWithoutOrganizationInput[]
  createMany?: Prisma.McpServerCatalogItemCreateManyOrganizationInputEnvelope
  set?: Prisma.McpServerCatalogItemWhereUniqueInput | Prisma.McpServerCatalogItemWhereUniqueInput[]
  disconnect?: Prisma.McpServerCatalogItemWhereUniqueInput | Prisma.McpServerCatalogItemWhereUniqueInput[]
  delete?: Prisma.McpServerCatalogItemWhereUniqueInput | Prisma.McpServerCatalogItemWhereUniqueInput[]
  connect?: Prisma.McpServerCatalogItemWhereUniqueInput | Prisma.McpServerCatalogItemWhereUniqueInput[]
  update?: Prisma.McpServerCatalogItemUpdateWithWhereUniqueWithoutOrganizationInput | Prisma.McpServerCatalogItemUpdateWithWhereUniqueWithoutOrganizationInput[]
  updateMany?: Prisma.McpServerCatalogItemUpdateManyWithWhereWithoutOrganizationInput | Prisma.McpServerCatalogItemUpdateManyWithWhereWithoutOrganizationInput[]
  deleteMany?: Prisma.McpServerCatalogItemScalarWhereInput | Prisma.McpServerCatalogItemScalarWhereInput[]
}

export type McpServerCatalogItemUncheckedUpdateManyWithoutOrganizationNestedInput = {
  create?: Prisma.XOR<Prisma.McpServerCatalogItemCreateWithoutOrganizationInput, Prisma.McpServerCatalogItemUncheckedCreateWithoutOrganizationInput> | Prisma.McpServerCatalogItemCreateWithoutOrganizationInput[] | Prisma.McpServerCatalogItemUncheckedCreateWithoutOrganizationInput[]
  connectOrCreate?: Prisma.McpServerCatalogItemCreateOrConnectWithoutOrganizationInput | Prisma.McpServerCatalogItemCreateOrConnectWithoutOrganizationInput[]
  upsert?: Prisma.McpServerCatalogItemUpsertWithWhereUniqueWithoutOrganizationInput | Prisma.McpServerCatalogItemUpsertWithWhereUniqueWithoutOrganizationInput[]
  createMany?: Prisma.McpServerCatalogItemCreateManyOrganizationInputEnvelope
  set?: Prisma.McpServerCatalogItemWhereUniqueInput | Prisma.McpServerCatalogItemWhereUniqueInput[]
  disconnect?: Prisma.McpServerCatalogItemWhereUniqueInput | Prisma.McpServerCatalogItemWhereUniqueInput[]
  delete?: Prisma.McpServerCatalogItemWhereUniqueInput | Prisma.McpServerCatalogItemWhereUniqueInput[]
  connect?: Prisma.McpServerCatalogItemWhereUniqueInput | Prisma.McpServerCatalogItemWhereUniqueInput[]
  update?: Prisma.McpServerCatalogItemUpdateWithWhereUniqueWithoutOrganizationInput | Prisma.McpServerCatalogItemUpdateWithWhereUniqueWithoutOrganizationInput[]
  updateMany?: Prisma.McpServerCatalogItemUpdateManyWithWhereWithoutOrganizationInput | Prisma.McpServerCatalogItemUpdateManyWithWhereWithoutOrganizationInput[]
  deleteMany?: Prisma.McpServerCatalogItemScalarWhereInput | Prisma.McpServerCatalogItemScalarWhereInput[]
}

export type EnumMcpCatalogSourceFieldUpdateOperationsInput = {
  set?: $Enums.McpCatalogSource
}

export type McpServerCatalogItemCreateNestedOneWithoutConnectionsInput = {
  create?: Prisma.XOR<Prisma.McpServerCatalogItemCreateWithoutConnectionsInput, Prisma.McpServerCatalogItemUncheckedCreateWithoutConnectionsInput>
  connectOrCreate?: Prisma.McpServerCatalogItemCreateOrConnectWithoutConnectionsInput
  connect?: Prisma.McpServerCatalogItemWhereUniqueInput
}

export type McpServerCatalogItemUpdateOneWithoutConnectionsNestedInput = {
  create?: Prisma.XOR<Prisma.McpServerCatalogItemCreateWithoutConnectionsInput, Prisma.McpServerCatalogItemUncheckedCreateWithoutConnectionsInput>
  connectOrCreate?: Prisma.McpServerCatalogItemCreateOrConnectWithoutConnectionsInput
  upsert?: Prisma.McpServerCatalogItemUpsertWithoutConnectionsInput
  disconnect?: Prisma.McpServerCatalogItemWhereInput | boolean
  delete?: Prisma.McpServerCatalogItemWhereInput | boolean
  connect?: Prisma.McpServerCatalogItemWhereUniqueInput
  update?: Prisma.XOR<Prisma.XOR<Prisma.McpServerCatalogItemUpdateToOneWithWhereWithoutConnectionsInput, Prisma.McpServerCatalogItemUpdateWithoutConnectionsInput>, Prisma.McpServerCatalogItemUncheckedUpdateWithoutConnectionsInput>
}

export type McpServerCatalogItemCreateWithoutOrganizationInput = {
  mcpServerId?: string
  slug: string
  name: string
  description: string
  source?: $Enums.McpCatalogSource
  provider?: string
  mcpUrl: string
  smitheryServerKey?: string | null
  authType?: string
  categories?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  verified?: boolean
  toolCount?: number
  metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  createdAt?: Date | string
  updatedAt?: Date | string
  connections?: Prisma.McpConnectionCreateNestedManyWithoutCatalogItemInput
}

export type McpServerCatalogItemUncheckedCreateWithoutOrganizationInput = {
  mcpServerId?: string
  slug: string
  name: string
  description: string
  source?: $Enums.McpCatalogSource
  provider?: string
  mcpUrl: string
  smitheryServerKey?: string | null
  authType?: string
  categories?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  verified?: boolean
  toolCount?: number
  metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  createdAt?: Date | string
  updatedAt?: Date | string
  connections?: Prisma.McpConnectionUncheckedCreateNestedManyWithoutCatalogItemInput
}

export type McpServerCatalogItemCreateOrConnectWithoutOrganizationInput = {
  where: Prisma.McpServerCatalogItemWhereUniqueInput
  create: Prisma.XOR<Prisma.McpServerCatalogItemCreateWithoutOrganizationInput, Prisma.McpServerCatalogItemUncheckedCreateWithoutOrganizationInput>
}

export type McpServerCatalogItemCreateManyOrganizationInputEnvelope = {
  data: Prisma.McpServerCatalogItemCreateManyOrganizationInput | Prisma.McpServerCatalogItemCreateManyOrganizationInput[]
  skipDuplicates?: boolean
}

export type McpServerCatalogItemUpsertWithWhereUniqueWithoutOrganizationInput = {
  where: Prisma.McpServerCatalogItemWhereUniqueInput
  update: Prisma.XOR<Prisma.McpServerCatalogItemUpdateWithoutOrganizationInput, Prisma.McpServerCatalogItemUncheckedUpdateWithoutOrganizationInput>
  create: Prisma.XOR<Prisma.McpServerCatalogItemCreateWithoutOrganizationInput, Prisma.McpServerCatalogItemUncheckedCreateWithoutOrganizationInput>
}

export type McpServerCatalogItemUpdateWithWhereUniqueWithoutOrganizationInput = {
  where: Prisma.McpServerCatalogItemWhereUniqueInput
  data: Prisma.XOR<Prisma.McpServerCatalogItemUpdateWithoutOrganizationInput, Prisma.McpServerCatalogItemUncheckedUpdateWithoutOrganizationInput>
}

export type McpServerCatalogItemUpdateManyWithWhereWithoutOrganizationInput = {
  where: Prisma.McpServerCatalogItemScalarWhereInput
  data: Prisma.XOR<Prisma.McpServerCatalogItemUpdateManyMutationInput, Prisma.McpServerCatalogItemUncheckedUpdateManyWithoutOrganizationInput>
}

export type McpServerCatalogItemScalarWhereInput = {
  AND?: Prisma.McpServerCatalogItemScalarWhereInput | Prisma.McpServerCatalogItemScalarWhereInput[]
  OR?: Prisma.McpServerCatalogItemScalarWhereInput[]
  NOT?: Prisma.McpServerCatalogItemScalarWhereInput | Prisma.McpServerCatalogItemScalarWhereInput[]
  mcpServerId?: Prisma.StringFilter<"McpServerCatalogItem"> | string
  organizationId?: Prisma.StringNullableFilter<"McpServerCatalogItem"> | string | null
  slug?: Prisma.StringFilter<"McpServerCatalogItem"> | string
  name?: Prisma.StringFilter<"McpServerCatalogItem"> | string
  description?: Prisma.StringFilter<"McpServerCatalogItem"> | string
  source?: Prisma.EnumMcpCatalogSourceFilter<"McpServerCatalogItem"> | $Enums.McpCatalogSource
  provider?: Prisma.StringFilter<"McpServerCatalogItem"> | string
  mcpUrl?: Prisma.StringFilter<"McpServerCatalogItem"> | string
  smitheryServerKey?: Prisma.StringNullableFilter<"McpServerCatalogItem"> | string | null
  authType?: Prisma.StringFilter<"McpServerCatalogItem"> | string
  categories?: Prisma.JsonNullableFilter<"McpServerCatalogItem">
  verified?: Prisma.BoolFilter<"McpServerCatalogItem"> | boolean
  toolCount?: Prisma.IntFilter<"McpServerCatalogItem"> | number
  metadata?: Prisma.JsonNullableFilter<"McpServerCatalogItem">
  createdAt?: Prisma.DateTimeFilter<"McpServerCatalogItem"> | Date | string
  updatedAt?: Prisma.DateTimeFilter<"McpServerCatalogItem"> | Date | string
}

export type McpServerCatalogItemCreateWithoutConnectionsInput = {
  mcpServerId?: string
  slug: string
  name: string
  description: string
  source?: $Enums.McpCatalogSource
  provider?: string
  mcpUrl: string
  smitheryServerKey?: string | null
  authType?: string
  categories?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  verified?: boolean
  toolCount?: number
  metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  createdAt?: Date | string
  updatedAt?: Date | string
  organization?: Prisma.OrganizationCreateNestedOneWithoutMcpCatalogItemsInput
}

export type McpServerCatalogItemUncheckedCreateWithoutConnectionsInput = {
  mcpServerId?: string
  organizationId?: string | null
  slug: string
  name: string
  description: string
  source?: $Enums.McpCatalogSource
  provider?: string
  mcpUrl: string
  smitheryServerKey?: string | null
  authType?: string
  categories?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  verified?: boolean
  toolCount?: number
  metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  createdAt?: Date | string
  updatedAt?: Date | string
}

export type McpServerCatalogItemCreateOrConnectWithoutConnectionsInput = {
  where: Prisma.McpServerCatalogItemWhereUniqueInput
  create: Prisma.XOR<Prisma.McpServerCatalogItemCreateWithoutConnectionsInput, Prisma.McpServerCatalogItemUncheckedCreateWithoutConnectionsInput>
}

export type McpServerCatalogItemUpsertWithoutConnectionsInput = {
  update: Prisma.XOR<Prisma.McpServerCatalogItemUpdateWithoutConnectionsInput, Prisma.McpServerCatalogItemUncheckedUpdateWithoutConnectionsInput>
  create: Prisma.XOR<Prisma.McpServerCatalogItemCreateWithoutConnectionsInput, Prisma.McpServerCatalogItemUncheckedCreateWithoutConnectionsInput>
  where?: Prisma.McpServerCatalogItemWhereInput
}

export type McpServerCatalogItemUpdateToOneWithWhereWithoutConnectionsInput = {
  where?: Prisma.McpServerCatalogItemWhereInput
  data: Prisma.XOR<Prisma.McpServerCatalogItemUpdateWithoutConnectionsInput, Prisma.McpServerCatalogItemUncheckedUpdateWithoutConnectionsInput>
}

export type McpServerCatalogItemUpdateWithoutConnectionsInput = {
  mcpServerId?: Prisma.StringFieldUpdateOperationsInput | string
  slug?: Prisma.StringFieldUpdateOperationsInput | string
  name?: Prisma.StringFieldUpdateOperationsInput | string
  description?: Prisma.StringFieldUpdateOperationsInput | string
  source?: Prisma.EnumMcpCatalogSourceFieldUpdateOperationsInput | $Enums.McpCatalogSource
  provider?: Prisma.StringFieldUpdateOperationsInput | string
  mcpUrl?: Prisma.StringFieldUpdateOperationsInput | string
  smitheryServerKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  authType?: Prisma.StringFieldUpdateOperationsInput | string
  categories?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  verified?: Prisma.BoolFieldUpdateOperationsInput | boolean
  toolCount?: Prisma.IntFieldUpdateOperationsInput | number
  metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  organization?: Prisma.OrganizationUpdateOneWithoutMcpCatalogItemsNestedInput
}

export type McpServerCatalogItemUncheckedUpdateWithoutConnectionsInput = {
  mcpServerId?: Prisma.StringFieldUpdateOperationsInput | string
  organizationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  slug?: Prisma.StringFieldUpdateOperationsInput | string
  name?: Prisma.StringFieldUpdateOperationsInput | string
  description?: Prisma.StringFieldUpdateOperationsInput | string
  source?: Prisma.EnumMcpCatalogSourceFieldUpdateOperationsInput | $Enums.McpCatalogSource
  provider?: Prisma.StringFieldUpdateOperationsInput | string
  mcpUrl?: Prisma.StringFieldUpdateOperationsInput | string
  smitheryServerKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  authType?: Prisma.StringFieldUpdateOperationsInput | string
  categories?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  verified?: Prisma.BoolFieldUpdateOperationsInput | boolean
  toolCount?: Prisma.IntFieldUpdateOperationsInput | number
  metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}

export type McpServerCatalogItemCreateManyOrganizationInput = {
  mcpServerId?: string
  slug: string
  name: string
  description: string
  source?: $Enums.McpCatalogSource
  provider?: string
  mcpUrl: string
  smitheryServerKey?: string | null
  authType?: string
  categories?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  verified?: boolean
  toolCount?: number
  metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  createdAt?: Date | string
  updatedAt?: Date | string
}

export type McpServerCatalogItemUpdateWithoutOrganizationInput = {
  mcpServerId?: Prisma.StringFieldUpdateOperationsInput | string
  slug?: Prisma.StringFieldUpdateOperationsInput | string
  name?: Prisma.StringFieldUpdateOperationsInput | string
  description?: Prisma.StringFieldUpdateOperationsInput | string
  source?: Prisma.EnumMcpCatalogSourceFieldUpdateOperationsInput | $Enums.McpCatalogSource
  provider?: Prisma.StringFieldUpdateOperationsInput | string
  mcpUrl?: Prisma.StringFieldUpdateOperationsInput | string
  smitheryServerKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  authType?: Prisma.StringFieldUpdateOperationsInput | string
  categories?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  verified?: Prisma.BoolFieldUpdateOperationsInput | boolean
  toolCount?: Prisma.IntFieldUpdateOperationsInput | number
  metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  connections?: Prisma.McpConnectionUpdateManyWithoutCatalogItemNestedInput
}

export type McpServerCatalogItemUncheckedUpdateWithoutOrganizationInput = {
  mcpServerId?: Prisma.StringFieldUpdateOperationsInput | string
  slug?: Prisma.StringFieldUpdateOperationsInput | string
  name?: Prisma.StringFieldUpdateOperationsInput | string
  description?: Prisma.StringFieldUpdateOperationsInput | string
  source?: Prisma.EnumMcpCatalogSourceFieldUpdateOperationsInput | $Enums.McpCatalogSource
  provider?: Prisma.StringFieldUpdateOperationsInput | string
  mcpUrl?: Prisma.StringFieldUpdateOperationsInput | string
  smitheryServerKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  authType?: Prisma.StringFieldUpdateOperationsInput | string
  categories?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  verified?: Prisma.BoolFieldUpdateOperationsInput | boolean
  toolCount?: Prisma.IntFieldUpdateOperationsInput | number
  metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  connections?: Prisma.McpConnectionUncheckedUpdateManyWithoutCatalogItemNestedInput
}

export type McpServerCatalogItemUncheckedUpdateManyWithoutOrganizationInput = {
  mcpServerId?: Prisma.StringFieldUpdateOperationsInput | string
  slug?: Prisma.StringFieldUpdateOperationsInput | string
  name?: Prisma.StringFieldUpdateOperationsInput | string
  description?: Prisma.StringFieldUpdateOperationsInput | string
  source?: Prisma.EnumMcpCatalogSourceFieldUpdateOperationsInput | $Enums.McpCatalogSource
  provider?: Prisma.StringFieldUpdateOperationsInput | string
  mcpUrl?: Prisma.StringFieldUpdateOperationsInput | string
  smitheryServerKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  authType?: Prisma.StringFieldUpdateOperationsInput | string
  categories?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  verified?: Prisma.BoolFieldUpdateOperationsInput | boolean
  toolCount?: Prisma.IntFieldUpdateOperationsInput | number
  metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}


/**
 * Count Type McpServerCatalogItemCountOutputType
 */

export type McpServerCatalogItemCountOutputType = {
  connections: number
}

export type McpServerCatalogItemCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  connections?: boolean | McpServerCatalogItemCountOutputTypeCountConnectionsArgs
}

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

/**
 * McpServerCatalogItemCountOutputType without action
 */
export type McpServerCatalogItemCountOutputTypeCountConnectionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  where?: Prisma.McpConnectionWhereInput
}


export type McpServerCatalogItemSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  mcpServerId?: boolean
  organizationId?: boolean
  slug?: boolean
  name?: boolean
  description?: boolean
  source?: boolean
  provider?: boolean
  mcpUrl?: boolean
  smitheryServerKey?: boolean
  authType?: boolean
  categories?: boolean
  verified?: boolean
  toolCount?: boolean
  metadata?: boolean
  createdAt?: boolean
  updatedAt?: boolean
  organization?: boolean | Prisma.McpServerCatalogItem$organizationArgs<ExtArgs>
  connections?: boolean | Prisma.McpServerCatalogItem$connectionsArgs<ExtArgs>
  _count?: boolean | Prisma.McpServerCatalogItemCountOutputTypeDefaultArgs<ExtArgs>
}, ExtArgs["result"]["mcpServerCatalogItem"]>

export type McpServerCatalogItemSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  mcpServerId?: boolean
  organizationId?: boolean
  slug?: boolean
  name?: boolean
  description?: boolean
  source?: boolean
  provider?: boolean
  mcpUrl?: boolean
  smitheryServerKey?: boolean
  authType?: boolean
  categories?: boolean
  verified?: boolean
  toolCount?: boolean
  metadata?: boolean
  createdAt?: boolean
  updatedAt?: boolean
  organization?: boolean | Prisma.McpServerCatalogItem$organizationArgs<ExtArgs>
}, ExtArgs["result"]["mcpServerCatalogItem"]>

export type McpServerCatalogItemSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  mcpServerId?: boolean
  organizationId?: boolean
  slug?: boolean
  name?: boolean
  description?: boolean
  source?: boolean
  provider?: boolean
  mcpUrl?: boolean
  smitheryServerKey?: boolean
  authType?: boolean
  categories?: boolean
  verified?: boolean
  toolCount?: boolean
  metadata?: boolean
  createdAt?: boolean
  updatedAt?: boolean
  organization?: boolean | Prisma.McpServerCatalogItem$organizationArgs<ExtArgs>
}, ExtArgs["result"]["mcpServerCatalogItem"]>

export type McpServerCatalogItemSelectScalar = {
  mcpServerId?: boolean
  organizationId?: boolean
  slug?: boolean
  name?: boolean
  description?: boolean
  source?: boolean
  provider?: boolean
  mcpUrl?: boolean
  smitheryServerKey?: boolean
  authType?: boolean
  categories?: boolean
  verified?: boolean
  toolCount?: boolean
  metadata?: boolean
  createdAt?: boolean
  updatedAt?: boolean
}

export type McpServerCatalogItemOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"mcpServerId" | "organizationId" | "slug" | "name" | "description" | "source" | "provider" | "mcpUrl" | "smitheryServerKey" | "authType" | "categories" | "verified" | "toolCount" | "metadata" | "createdAt" | "updatedAt", ExtArgs["result"]["mcpServerCatalogItem"]>
export type McpServerCatalogItemInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  organization?: boolean | Prisma.McpServerCatalogItem$organizationArgs<ExtArgs>
  connections?: boolean | Prisma.McpServerCatalogItem$connectionsArgs<ExtArgs>
  _count?: boolean | Prisma.McpServerCatalogItemCountOutputTypeDefaultArgs<ExtArgs>
}
export type McpServerCatalogItemIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  organization?: boolean | Prisma.McpServerCatalogItem$organizationArgs<ExtArgs>
}
export type McpServerCatalogItemIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  organization?: boolean | Prisma.McpServerCatalogItem$organizationArgs<ExtArgs>
}

export type $McpServerCatalogItemPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  name: "McpServerCatalogItem"
  objects: {
    organization: Prisma.$OrganizationPayload<ExtArgs> | null
    connections: Prisma.$McpConnectionPayload<ExtArgs>[]
  }
  scalars: runtime.Types.Extensions.GetPayloadResult<{
    mcpServerId: string
    organizationId: string | null
    slug: string
    name: string
    description: string
    source: $Enums.McpCatalogSource
    provider: string
    mcpUrl: string
    smitheryServerKey: string | null
    authType: string
    categories: runtime.JsonValue | null
    verified: boolean
    toolCount: number
    metadata: runtime.JsonValue | null
    createdAt: Date
    updatedAt: Date
  }, ExtArgs["result"]["mcpServerCatalogItem"]>
  composites: {}
}

export type McpServerCatalogItemGetPayload<S extends boolean | null | undefined | McpServerCatalogItemDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$McpServerCatalogItemPayload, S>

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

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

/**
 * The delegate class that acts as a "Promise-like" for McpServerCatalogItem.
 * 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__McpServerCatalogItemClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
  readonly [Symbol.toStringTag]: "PrismaPromise"
  organization<T extends Prisma.McpServerCatalogItem$organizationArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.McpServerCatalogItem$organizationArgs<ExtArgs>>): Prisma.Prisma__OrganizationClient<runtime.Types.Result.GetResult<Prisma.$OrganizationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
  connections<T extends Prisma.McpServerCatalogItem$connectionsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.McpServerCatalogItem$connectionsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$McpConnectionPayload<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 McpServerCatalogItem model
 */
export interface McpServerCatalogItemFieldRefs {
  readonly mcpServerId: Prisma.FieldRef<"McpServerCatalogItem", 'String'>
  readonly organizationId: Prisma.FieldRef<"McpServerCatalogItem", 'String'>
  readonly slug: Prisma.FieldRef<"McpServerCatalogItem", 'String'>
  readonly name: Prisma.FieldRef<"McpServerCatalogItem", 'String'>
  readonly description: Prisma.FieldRef<"McpServerCatalogItem", 'String'>
  readonly source: Prisma.FieldRef<"McpServerCatalogItem", 'McpCatalogSource'>
  readonly provider: Prisma.FieldRef<"McpServerCatalogItem", 'String'>
  readonly mcpUrl: Prisma.FieldRef<"McpServerCatalogItem", 'String'>
  readonly smitheryServerKey: Prisma.FieldRef<"McpServerCatalogItem", 'String'>
  readonly authType: Prisma.FieldRef<"McpServerCatalogItem", 'String'>
  readonly categories: Prisma.FieldRef<"McpServerCatalogItem", 'Json'>
  readonly verified: Prisma.FieldRef<"McpServerCatalogItem", 'Boolean'>
  readonly toolCount: Prisma.FieldRef<"McpServerCatalogItem", 'Int'>
  readonly metadata: Prisma.FieldRef<"McpServerCatalogItem", 'Json'>
  readonly createdAt: Prisma.FieldRef<"McpServerCatalogItem", 'DateTime'>
  readonly updatedAt: Prisma.FieldRef<"McpServerCatalogItem", 'DateTime'>
}
    

// Custom InputTypes
/**
 * McpServerCatalogItem findUnique
 */
export type McpServerCatalogItemFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the McpServerCatalogItem
   */
  select?: Prisma.McpServerCatalogItemSelect<ExtArgs> | null
  /**
   * Omit specific fields from the McpServerCatalogItem
   */
  omit?: Prisma.McpServerCatalogItemOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.McpServerCatalogItemInclude<ExtArgs> | null
  /**
   * Filter, which McpServerCatalogItem to fetch.
   */
  where: Prisma.McpServerCatalogItemWhereUniqueInput
}

/**
 * McpServerCatalogItem findUniqueOrThrow
 */
export type McpServerCatalogItemFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the McpServerCatalogItem
   */
  select?: Prisma.McpServerCatalogItemSelect<ExtArgs> | null
  /**
   * Omit specific fields from the McpServerCatalogItem
   */
  omit?: Prisma.McpServerCatalogItemOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.McpServerCatalogItemInclude<ExtArgs> | null
  /**
   * Filter, which McpServerCatalogItem to fetch.
   */
  where: Prisma.McpServerCatalogItemWhereUniqueInput
}

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

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

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

/**
 * McpServerCatalogItem create
 */
export type McpServerCatalogItemCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the McpServerCatalogItem
   */
  select?: Prisma.McpServerCatalogItemSelect<ExtArgs> | null
  /**
   * Omit specific fields from the McpServerCatalogItem
   */
  omit?: Prisma.McpServerCatalogItemOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.McpServerCatalogItemInclude<ExtArgs> | null
  /**
   * The data needed to create a McpServerCatalogItem.
   */
  data: Prisma.XOR<Prisma.McpServerCatalogItemCreateInput, Prisma.McpServerCatalogItemUncheckedCreateInput>
}

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

/**
 * McpServerCatalogItem createManyAndReturn
 */
export type McpServerCatalogItemCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the McpServerCatalogItem
   */
  select?: Prisma.McpServerCatalogItemSelectCreateManyAndReturn<ExtArgs> | null
  /**
   * Omit specific fields from the McpServerCatalogItem
   */
  omit?: Prisma.McpServerCatalogItemOmit<ExtArgs> | null
  /**
   * The data used to create many McpServerCatalogItems.
   */
  data: Prisma.McpServerCatalogItemCreateManyInput | Prisma.McpServerCatalogItemCreateManyInput[]
  skipDuplicates?: boolean
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.McpServerCatalogItemIncludeCreateManyAndReturn<ExtArgs> | null
}

/**
 * McpServerCatalogItem update
 */
export type McpServerCatalogItemUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the McpServerCatalogItem
   */
  select?: Prisma.McpServerCatalogItemSelect<ExtArgs> | null
  /**
   * Omit specific fields from the McpServerCatalogItem
   */
  omit?: Prisma.McpServerCatalogItemOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.McpServerCatalogItemInclude<ExtArgs> | null
  /**
   * The data needed to update a McpServerCatalogItem.
   */
  data: Prisma.XOR<Prisma.McpServerCatalogItemUpdateInput, Prisma.McpServerCatalogItemUncheckedUpdateInput>
  /**
   * Choose, which McpServerCatalogItem to update.
   */
  where: Prisma.McpServerCatalogItemWhereUniqueInput
}

/**
 * McpServerCatalogItem updateMany
 */
export type McpServerCatalogItemUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * The data used to update McpServerCatalogItems.
   */
  data: Prisma.XOR<Prisma.McpServerCatalogItemUpdateManyMutationInput, Prisma.McpServerCatalogItemUncheckedUpdateManyInput>
  /**
   * Filter which McpServerCatalogItems to update
   */
  where?: Prisma.McpServerCatalogItemWhereInput
  /**
   * Limit how many McpServerCatalogItems to update.
   */
  limit?: number
}

/**
 * McpServerCatalogItem updateManyAndReturn
 */
export type McpServerCatalogItemUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the McpServerCatalogItem
   */
  select?: Prisma.McpServerCatalogItemSelectUpdateManyAndReturn<ExtArgs> | null
  /**
   * Omit specific fields from the McpServerCatalogItem
   */
  omit?: Prisma.McpServerCatalogItemOmit<ExtArgs> | null
  /**
   * The data used to update McpServerCatalogItems.
   */
  data: Prisma.XOR<Prisma.McpServerCatalogItemUpdateManyMutationInput, Prisma.McpServerCatalogItemUncheckedUpdateManyInput>
  /**
   * Filter which McpServerCatalogItems to update
   */
  where?: Prisma.McpServerCatalogItemWhereInput
  /**
   * Limit how many McpServerCatalogItems to update.
   */
  limit?: number
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.McpServerCatalogItemIncludeUpdateManyAndReturn<ExtArgs> | null
}

/**
 * McpServerCatalogItem upsert
 */
export type McpServerCatalogItemUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the McpServerCatalogItem
   */
  select?: Prisma.McpServerCatalogItemSelect<ExtArgs> | null
  /**
   * Omit specific fields from the McpServerCatalogItem
   */
  omit?: Prisma.McpServerCatalogItemOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.McpServerCatalogItemInclude<ExtArgs> | null
  /**
   * The filter to search for the McpServerCatalogItem to update in case it exists.
   */
  where: Prisma.McpServerCatalogItemWhereUniqueInput
  /**
   * In case the McpServerCatalogItem found by the `where` argument doesn't exist, create a new McpServerCatalogItem with this data.
   */
  create: Prisma.XOR<Prisma.McpServerCatalogItemCreateInput, Prisma.McpServerCatalogItemUncheckedCreateInput>
  /**
   * In case the McpServerCatalogItem was found with the provided `where` argument, update it with this data.
   */
  update: Prisma.XOR<Prisma.McpServerCatalogItemUpdateInput, Prisma.McpServerCatalogItemUncheckedUpdateInput>
}

/**
 * McpServerCatalogItem delete
 */
export type McpServerCatalogItemDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the McpServerCatalogItem
   */
  select?: Prisma.McpServerCatalogItemSelect<ExtArgs> | null
  /**
   * Omit specific fields from the McpServerCatalogItem
   */
  omit?: Prisma.McpServerCatalogItemOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.McpServerCatalogItemInclude<ExtArgs> | null
  /**
   * Filter which McpServerCatalogItem to delete.
   */
  where: Prisma.McpServerCatalogItemWhereUniqueInput
}

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

/**
 * McpServerCatalogItem.organization
 */
export type McpServerCatalogItem$organizationArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the Organization
   */
  select?: Prisma.OrganizationSelect<ExtArgs> | null
  /**
   * Omit specific fields from the Organization
   */
  omit?: Prisma.OrganizationOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.OrganizationInclude<ExtArgs> | null
  where?: Prisma.OrganizationWhereInput
}

/**
 * McpServerCatalogItem.connections
 */
export type McpServerCatalogItem$connectionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the McpConnection
   */
  select?: Prisma.McpConnectionSelect<ExtArgs> | null
  /**
   * Omit specific fields from the McpConnection
   */
  omit?: Prisma.McpConnectionOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.McpConnectionInclude<ExtArgs> | null
  where?: Prisma.McpConnectionWhereInput
  orderBy?: Prisma.McpConnectionOrderByWithRelationInput | Prisma.McpConnectionOrderByWithRelationInput[]
  cursor?: Prisma.McpConnectionWhereUniqueInput
  take?: number
  skip?: number
  distinct?: Prisma.McpConnectionScalarFieldEnum | Prisma.McpConnectionScalarFieldEnum[]
}

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