/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `McpServer` model and its related types. * * 🟢 You can import this file directly. */ import type * as PJTG from '../pjtg'; import type * as runtime from "@prisma/client/runtime/client" import type * as $Enums from "../enums.ts" import type * as Prisma from "../internal/prismaNamespace.ts" /** * Model McpServer * */ export type McpServerModel = runtime.Types.Result.DefaultSelection export type AggregateMcpServer = { _count: McpServerCountAggregateOutputType | null _min: McpServerMinAggregateOutputType | null _max: McpServerMaxAggregateOutputType | null } export type McpServerMinAggregateOutputType = { id: string | null name: string | null description: string | null instructions: string | null url: string | null transport: $Enums.McpTransport | null permission: $Enums.TeamMemberRole | null status: string | null lastError: string | null lastConnectedAt: Date | null createdAt: Date | null updatedAt: Date | null teamId: string | null } export type McpServerMaxAggregateOutputType = { id: string | null name: string | null description: string | null instructions: string | null url: string | null transport: $Enums.McpTransport | null permission: $Enums.TeamMemberRole | null status: string | null lastError: string | null lastConnectedAt: Date | null createdAt: Date | null updatedAt: Date | null teamId: string | null } export type McpServerCountAggregateOutputType = { id: number name: number description: number instructions: number url: number transport: number authConfig: number config: number permission: number tools: number status: number lastError: number lastConnectedAt: number createdAt: number updatedAt: number teamId: number _all: number } export type McpServerMinAggregateInputType = { id?: true name?: true description?: true instructions?: true url?: true transport?: true permission?: true status?: true lastError?: true lastConnectedAt?: true createdAt?: true updatedAt?: true teamId?: true } export type McpServerMaxAggregateInputType = { id?: true name?: true description?: true instructions?: true url?: true transport?: true permission?: true status?: true lastError?: true lastConnectedAt?: true createdAt?: true updatedAt?: true teamId?: true } export type McpServerCountAggregateInputType = { id?: true name?: true description?: true instructions?: true url?: true transport?: true authConfig?: true config?: true permission?: true tools?: true status?: true lastError?: true lastConnectedAt?: true createdAt?: true updatedAt?: true teamId?: true _all?: true } export type McpServerAggregateArgs = { /** * Filter which McpServer to aggregate. */ where?: Prisma.McpServerWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of McpServers to fetch. */ orderBy?: Prisma.McpServerOrderByWithRelationInput | Prisma.McpServerOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.McpServerWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` McpServers 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` McpServers. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned McpServers **/ _count?: true | McpServerCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: McpServerMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: McpServerMaxAggregateInputType } export type GetMcpServerAggregateType = { [P in keyof T & keyof AggregateMcpServer]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type McpServerGroupByArgs = { where?: Prisma.McpServerWhereInput orderBy?: Prisma.McpServerOrderByWithAggregationInput | Prisma.McpServerOrderByWithAggregationInput[] by: Prisma.McpServerScalarFieldEnum[] | Prisma.McpServerScalarFieldEnum having?: Prisma.McpServerScalarWhereWithAggregatesInput take?: number skip?: number _count?: McpServerCountAggregateInputType | true _min?: McpServerMinAggregateInputType _max?: McpServerMaxAggregateInputType } export type McpServerGroupByOutputType = { id: string name: string description: string | null instructions: string | null url: string transport: $Enums.McpTransport authConfig:PrismaJson.McpServerAuthConfig | null config:PrismaJson.McpServerConfig | null permission: $Enums.TeamMemberRole tools:PrismaJson.McpToolInfo[] | null status: string lastError: string | null lastConnectedAt: Date | null createdAt: Date updatedAt: Date teamId: string _count: McpServerCountAggregateOutputType | null _min: McpServerMinAggregateOutputType | null _max: McpServerMaxAggregateOutputType | null } export type GetMcpServerGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof McpServerGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type McpServerWhereInput = { AND?: Prisma.McpServerWhereInput | Prisma.McpServerWhereInput[] OR?: Prisma.McpServerWhereInput[] NOT?: Prisma.McpServerWhereInput | Prisma.McpServerWhereInput[] id?: Prisma.StringFilter<"McpServer"> | string name?: Prisma.StringFilter<"McpServer"> | string description?: Prisma.StringNullableFilter<"McpServer"> | string | null instructions?: Prisma.StringNullableFilter<"McpServer"> | string | null url?: Prisma.StringFilter<"McpServer"> | string transport?: Prisma.EnumMcpTransportFilter<"McpServer"> | $Enums.McpTransport authConfig?: Prisma.JsonNullableFilter<"McpServer"> config?: Prisma.JsonNullableFilter<"McpServer"> permission?: Prisma.EnumTeamMemberRoleFilter<"McpServer"> | $Enums.TeamMemberRole tools?: Prisma.JsonNullableFilter<"McpServer"> status?: Prisma.StringFilter<"McpServer"> | string lastError?: Prisma.StringNullableFilter<"McpServer"> | string | null lastConnectedAt?: Prisma.DateTimeNullableFilter<"McpServer"> | Date | string | null createdAt?: Prisma.DateTimeFilter<"McpServer"> | Date | string updatedAt?: Prisma.DateTimeFilter<"McpServer"> | Date | string teamId?: Prisma.StringFilter<"McpServer"> | string team?: Prisma.XOR credential?: Prisma.XOR | null agentMcpServers?: Prisma.AgentMcpServerListRelationFilter } export type McpServerOrderByWithRelationInput = { id?: Prisma.SortOrder name?: Prisma.SortOrder description?: Prisma.SortOrderInput | Prisma.SortOrder instructions?: Prisma.SortOrderInput | Prisma.SortOrder url?: Prisma.SortOrder transport?: Prisma.SortOrder authConfig?: Prisma.SortOrderInput | Prisma.SortOrder config?: Prisma.SortOrderInput | Prisma.SortOrder permission?: Prisma.SortOrder tools?: Prisma.SortOrderInput | Prisma.SortOrder status?: Prisma.SortOrder lastError?: Prisma.SortOrderInput | Prisma.SortOrder lastConnectedAt?: Prisma.SortOrderInput | Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder teamId?: Prisma.SortOrder team?: Prisma.TeamOrderByWithRelationInput credential?: Prisma.McpServerCredentialOrderByWithRelationInput agentMcpServers?: Prisma.AgentMcpServerOrderByRelationAggregateInput } export type McpServerWhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: Prisma.McpServerWhereInput | Prisma.McpServerWhereInput[] OR?: Prisma.McpServerWhereInput[] NOT?: Prisma.McpServerWhereInput | Prisma.McpServerWhereInput[] name?: Prisma.StringFilter<"McpServer"> | string description?: Prisma.StringNullableFilter<"McpServer"> | string | null instructions?: Prisma.StringNullableFilter<"McpServer"> | string | null url?: Prisma.StringFilter<"McpServer"> | string transport?: Prisma.EnumMcpTransportFilter<"McpServer"> | $Enums.McpTransport authConfig?: Prisma.JsonNullableFilter<"McpServer"> config?: Prisma.JsonNullableFilter<"McpServer"> permission?: Prisma.EnumTeamMemberRoleFilter<"McpServer"> | $Enums.TeamMemberRole tools?: Prisma.JsonNullableFilter<"McpServer"> status?: Prisma.StringFilter<"McpServer"> | string lastError?: Prisma.StringNullableFilter<"McpServer"> | string | null lastConnectedAt?: Prisma.DateTimeNullableFilter<"McpServer"> | Date | string | null createdAt?: Prisma.DateTimeFilter<"McpServer"> | Date | string updatedAt?: Prisma.DateTimeFilter<"McpServer"> | Date | string teamId?: Prisma.StringFilter<"McpServer"> | string team?: Prisma.XOR credential?: Prisma.XOR | null agentMcpServers?: Prisma.AgentMcpServerListRelationFilter }, "id"> export type McpServerOrderByWithAggregationInput = { id?: Prisma.SortOrder name?: Prisma.SortOrder description?: Prisma.SortOrderInput | Prisma.SortOrder instructions?: Prisma.SortOrderInput | Prisma.SortOrder url?: Prisma.SortOrder transport?: Prisma.SortOrder authConfig?: Prisma.SortOrderInput | Prisma.SortOrder config?: Prisma.SortOrderInput | Prisma.SortOrder permission?: Prisma.SortOrder tools?: Prisma.SortOrderInput | Prisma.SortOrder status?: Prisma.SortOrder lastError?: Prisma.SortOrderInput | Prisma.SortOrder lastConnectedAt?: Prisma.SortOrderInput | Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder teamId?: Prisma.SortOrder _count?: Prisma.McpServerCountOrderByAggregateInput _max?: Prisma.McpServerMaxOrderByAggregateInput _min?: Prisma.McpServerMinOrderByAggregateInput } export type McpServerScalarWhereWithAggregatesInput = { AND?: Prisma.McpServerScalarWhereWithAggregatesInput | Prisma.McpServerScalarWhereWithAggregatesInput[] OR?: Prisma.McpServerScalarWhereWithAggregatesInput[] NOT?: Prisma.McpServerScalarWhereWithAggregatesInput | Prisma.McpServerScalarWhereWithAggregatesInput[] id?: Prisma.StringWithAggregatesFilter<"McpServer"> | string name?: Prisma.StringWithAggregatesFilter<"McpServer"> | string description?: Prisma.StringNullableWithAggregatesFilter<"McpServer"> | string | null instructions?: Prisma.StringNullableWithAggregatesFilter<"McpServer"> | string | null url?: Prisma.StringWithAggregatesFilter<"McpServer"> | string transport?: Prisma.EnumMcpTransportWithAggregatesFilter<"McpServer"> | $Enums.McpTransport authConfig?: Prisma.JsonNullableWithAggregatesFilter<"McpServer"> config?: Prisma.JsonNullableWithAggregatesFilter<"McpServer"> permission?: Prisma.EnumTeamMemberRoleWithAggregatesFilter<"McpServer"> | $Enums.TeamMemberRole tools?: Prisma.JsonNullableWithAggregatesFilter<"McpServer"> status?: Prisma.StringWithAggregatesFilter<"McpServer"> | string lastError?: Prisma.StringNullableWithAggregatesFilter<"McpServer"> | string | null lastConnectedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"McpServer"> | Date | string | null createdAt?: Prisma.DateTimeWithAggregatesFilter<"McpServer"> | Date | string updatedAt?: Prisma.DateTimeWithAggregatesFilter<"McpServer"> | Date | string teamId?: Prisma.StringWithAggregatesFilter<"McpServer"> | string } export type McpServerCreateInput = { id?: string name: string description?: string | null instructions?: string | null url: string transport?: $Enums.McpTransport authConfig?:PrismaJson.McpServerAuthConfig | Prisma.NullableJsonNullValueInput config?:PrismaJson.McpServerConfig | Prisma.NullableJsonNullValueInput permission?: $Enums.TeamMemberRole tools?:PrismaJson.McpToolInfo[] | Prisma.NullableJsonNullValueInput status?: string lastError?: string | null lastConnectedAt?: Date | string | null createdAt?: Date | string updatedAt?: Date | string team: Prisma.TeamCreateNestedOneWithoutMcpServersInput credential?: Prisma.McpServerCredentialCreateNestedOneWithoutServerInput agentMcpServers?: Prisma.AgentMcpServerCreateNestedManyWithoutMcpServerInput } export type McpServerUncheckedCreateInput = { id?: string name: string description?: string | null instructions?: string | null url: string transport?: $Enums.McpTransport authConfig?:PrismaJson.McpServerAuthConfig | Prisma.NullableJsonNullValueInput config?:PrismaJson.McpServerConfig | Prisma.NullableJsonNullValueInput permission?: $Enums.TeamMemberRole tools?:PrismaJson.McpToolInfo[] | Prisma.NullableJsonNullValueInput status?: string lastError?: string | null lastConnectedAt?: Date | string | null createdAt?: Date | string updatedAt?: Date | string teamId: string credential?: Prisma.McpServerCredentialUncheckedCreateNestedOneWithoutServerInput agentMcpServers?: Prisma.AgentMcpServerUncheckedCreateNestedManyWithoutMcpServerInput } export type McpServerUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null instructions?: Prisma.NullableStringFieldUpdateOperationsInput | string | null url?: Prisma.StringFieldUpdateOperationsInput | string transport?: Prisma.EnumMcpTransportFieldUpdateOperationsInput | $Enums.McpTransport authConfig?:PrismaJson.McpServerAuthConfig | Prisma.NullableJsonNullValueInput config?:PrismaJson.McpServerConfig | Prisma.NullableJsonNullValueInput permission?: Prisma.EnumTeamMemberRoleFieldUpdateOperationsInput | $Enums.TeamMemberRole tools?:PrismaJson.McpToolInfo[] | Prisma.NullableJsonNullValueInput status?: Prisma.StringFieldUpdateOperationsInput | string lastError?: Prisma.NullableStringFieldUpdateOperationsInput | string | null lastConnectedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string team?: Prisma.TeamUpdateOneRequiredWithoutMcpServersNestedInput credential?: Prisma.McpServerCredentialUpdateOneWithoutServerNestedInput agentMcpServers?: Prisma.AgentMcpServerUpdateManyWithoutMcpServerNestedInput } export type McpServerUncheckedUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null instructions?: Prisma.NullableStringFieldUpdateOperationsInput | string | null url?: Prisma.StringFieldUpdateOperationsInput | string transport?: Prisma.EnumMcpTransportFieldUpdateOperationsInput | $Enums.McpTransport authConfig?:PrismaJson.McpServerAuthConfig | Prisma.NullableJsonNullValueInput config?:PrismaJson.McpServerConfig | Prisma.NullableJsonNullValueInput permission?: Prisma.EnumTeamMemberRoleFieldUpdateOperationsInput | $Enums.TeamMemberRole tools?:PrismaJson.McpToolInfo[] | Prisma.NullableJsonNullValueInput status?: Prisma.StringFieldUpdateOperationsInput | string lastError?: Prisma.NullableStringFieldUpdateOperationsInput | string | null lastConnectedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string teamId?: Prisma.StringFieldUpdateOperationsInput | string credential?: Prisma.McpServerCredentialUncheckedUpdateOneWithoutServerNestedInput agentMcpServers?: Prisma.AgentMcpServerUncheckedUpdateManyWithoutMcpServerNestedInput } export type McpServerCreateManyInput = { id?: string name: string description?: string | null instructions?: string | null url: string transport?: $Enums.McpTransport authConfig?:PrismaJson.McpServerAuthConfig | Prisma.NullableJsonNullValueInput config?:PrismaJson.McpServerConfig | Prisma.NullableJsonNullValueInput permission?: $Enums.TeamMemberRole tools?:PrismaJson.McpToolInfo[] | Prisma.NullableJsonNullValueInput status?: string lastError?: string | null lastConnectedAt?: Date | string | null createdAt?: Date | string updatedAt?: Date | string teamId: string } export type McpServerUpdateManyMutationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null instructions?: Prisma.NullableStringFieldUpdateOperationsInput | string | null url?: Prisma.StringFieldUpdateOperationsInput | string transport?: Prisma.EnumMcpTransportFieldUpdateOperationsInput | $Enums.McpTransport authConfig?:PrismaJson.McpServerAuthConfig | Prisma.NullableJsonNullValueInput config?:PrismaJson.McpServerConfig | Prisma.NullableJsonNullValueInput permission?: Prisma.EnumTeamMemberRoleFieldUpdateOperationsInput | $Enums.TeamMemberRole tools?:PrismaJson.McpToolInfo[] | Prisma.NullableJsonNullValueInput status?: Prisma.StringFieldUpdateOperationsInput | string lastError?: Prisma.NullableStringFieldUpdateOperationsInput | string | null lastConnectedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type McpServerUncheckedUpdateManyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null instructions?: Prisma.NullableStringFieldUpdateOperationsInput | string | null url?: Prisma.StringFieldUpdateOperationsInput | string transport?: Prisma.EnumMcpTransportFieldUpdateOperationsInput | $Enums.McpTransport authConfig?:PrismaJson.McpServerAuthConfig | Prisma.NullableJsonNullValueInput config?:PrismaJson.McpServerConfig | Prisma.NullableJsonNullValueInput permission?: Prisma.EnumTeamMemberRoleFieldUpdateOperationsInput | $Enums.TeamMemberRole tools?:PrismaJson.McpToolInfo[] | Prisma.NullableJsonNullValueInput status?: Prisma.StringFieldUpdateOperationsInput | string lastError?: Prisma.NullableStringFieldUpdateOperationsInput | string | null lastConnectedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string teamId?: Prisma.StringFieldUpdateOperationsInput | string } export type McpServerListRelationFilter = { every?: Prisma.McpServerWhereInput some?: Prisma.McpServerWhereInput none?: Prisma.McpServerWhereInput } export type McpServerOrderByRelationAggregateInput = { _count?: Prisma.SortOrder } export type McpServerCountOrderByAggregateInput = { id?: Prisma.SortOrder name?: Prisma.SortOrder description?: Prisma.SortOrder instructions?: Prisma.SortOrder url?: Prisma.SortOrder transport?: Prisma.SortOrder authConfig?: Prisma.SortOrder config?: Prisma.SortOrder permission?: Prisma.SortOrder tools?: Prisma.SortOrder status?: Prisma.SortOrder lastError?: Prisma.SortOrder lastConnectedAt?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder teamId?: Prisma.SortOrder } export type McpServerMaxOrderByAggregateInput = { id?: Prisma.SortOrder name?: Prisma.SortOrder description?: Prisma.SortOrder instructions?: Prisma.SortOrder url?: Prisma.SortOrder transport?: Prisma.SortOrder permission?: Prisma.SortOrder status?: Prisma.SortOrder lastError?: Prisma.SortOrder lastConnectedAt?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder teamId?: Prisma.SortOrder } export type McpServerMinOrderByAggregateInput = { id?: Prisma.SortOrder name?: Prisma.SortOrder description?: Prisma.SortOrder instructions?: Prisma.SortOrder url?: Prisma.SortOrder transport?: Prisma.SortOrder permission?: Prisma.SortOrder status?: Prisma.SortOrder lastError?: Prisma.SortOrder lastConnectedAt?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder teamId?: Prisma.SortOrder } export type McpServerScalarRelationFilter = { is?: Prisma.McpServerWhereInput isNot?: Prisma.McpServerWhereInput } export type McpServerCreateNestedManyWithoutTeamInput = { create?: Prisma.XOR | Prisma.McpServerCreateWithoutTeamInput[] | Prisma.McpServerUncheckedCreateWithoutTeamInput[] connectOrCreate?: Prisma.McpServerCreateOrConnectWithoutTeamInput | Prisma.McpServerCreateOrConnectWithoutTeamInput[] createMany?: Prisma.McpServerCreateManyTeamInputEnvelope connect?: Prisma.McpServerWhereUniqueInput | Prisma.McpServerWhereUniqueInput[] } export type McpServerUncheckedCreateNestedManyWithoutTeamInput = { create?: Prisma.XOR | Prisma.McpServerCreateWithoutTeamInput[] | Prisma.McpServerUncheckedCreateWithoutTeamInput[] connectOrCreate?: Prisma.McpServerCreateOrConnectWithoutTeamInput | Prisma.McpServerCreateOrConnectWithoutTeamInput[] createMany?: Prisma.McpServerCreateManyTeamInputEnvelope connect?: Prisma.McpServerWhereUniqueInput | Prisma.McpServerWhereUniqueInput[] } export type McpServerUpdateManyWithoutTeamNestedInput = { create?: Prisma.XOR | Prisma.McpServerCreateWithoutTeamInput[] | Prisma.McpServerUncheckedCreateWithoutTeamInput[] connectOrCreate?: Prisma.McpServerCreateOrConnectWithoutTeamInput | Prisma.McpServerCreateOrConnectWithoutTeamInput[] upsert?: Prisma.McpServerUpsertWithWhereUniqueWithoutTeamInput | Prisma.McpServerUpsertWithWhereUniqueWithoutTeamInput[] createMany?: Prisma.McpServerCreateManyTeamInputEnvelope set?: Prisma.McpServerWhereUniqueInput | Prisma.McpServerWhereUniqueInput[] disconnect?: Prisma.McpServerWhereUniqueInput | Prisma.McpServerWhereUniqueInput[] delete?: Prisma.McpServerWhereUniqueInput | Prisma.McpServerWhereUniqueInput[] connect?: Prisma.McpServerWhereUniqueInput | Prisma.McpServerWhereUniqueInput[] update?: Prisma.McpServerUpdateWithWhereUniqueWithoutTeamInput | Prisma.McpServerUpdateWithWhereUniqueWithoutTeamInput[] updateMany?: Prisma.McpServerUpdateManyWithWhereWithoutTeamInput | Prisma.McpServerUpdateManyWithWhereWithoutTeamInput[] deleteMany?: Prisma.McpServerScalarWhereInput | Prisma.McpServerScalarWhereInput[] } export type McpServerUncheckedUpdateManyWithoutTeamNestedInput = { create?: Prisma.XOR | Prisma.McpServerCreateWithoutTeamInput[] | Prisma.McpServerUncheckedCreateWithoutTeamInput[] connectOrCreate?: Prisma.McpServerCreateOrConnectWithoutTeamInput | Prisma.McpServerCreateOrConnectWithoutTeamInput[] upsert?: Prisma.McpServerUpsertWithWhereUniqueWithoutTeamInput | Prisma.McpServerUpsertWithWhereUniqueWithoutTeamInput[] createMany?: Prisma.McpServerCreateManyTeamInputEnvelope set?: Prisma.McpServerWhereUniqueInput | Prisma.McpServerWhereUniqueInput[] disconnect?: Prisma.McpServerWhereUniqueInput | Prisma.McpServerWhereUniqueInput[] delete?: Prisma.McpServerWhereUniqueInput | Prisma.McpServerWhereUniqueInput[] connect?: Prisma.McpServerWhereUniqueInput | Prisma.McpServerWhereUniqueInput[] update?: Prisma.McpServerUpdateWithWhereUniqueWithoutTeamInput | Prisma.McpServerUpdateWithWhereUniqueWithoutTeamInput[] updateMany?: Prisma.McpServerUpdateManyWithWhereWithoutTeamInput | Prisma.McpServerUpdateManyWithWhereWithoutTeamInput[] deleteMany?: Prisma.McpServerScalarWhereInput | Prisma.McpServerScalarWhereInput[] } export type EnumMcpTransportFieldUpdateOperationsInput = { set?: $Enums.McpTransport } export type McpServerCreateNestedOneWithoutAgentMcpServersInput = { create?: Prisma.XOR connectOrCreate?: Prisma.McpServerCreateOrConnectWithoutAgentMcpServersInput connect?: Prisma.McpServerWhereUniqueInput } export type McpServerUpdateOneRequiredWithoutAgentMcpServersNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.McpServerCreateOrConnectWithoutAgentMcpServersInput upsert?: Prisma.McpServerUpsertWithoutAgentMcpServersInput connect?: Prisma.McpServerWhereUniqueInput update?: Prisma.XOR, Prisma.McpServerUncheckedUpdateWithoutAgentMcpServersInput> } export type McpServerCreateNestedOneWithoutCredentialInput = { create?: Prisma.XOR connectOrCreate?: Prisma.McpServerCreateOrConnectWithoutCredentialInput connect?: Prisma.McpServerWhereUniqueInput } export type McpServerUpdateOneRequiredWithoutCredentialNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.McpServerCreateOrConnectWithoutCredentialInput upsert?: Prisma.McpServerUpsertWithoutCredentialInput connect?: Prisma.McpServerWhereUniqueInput update?: Prisma.XOR, Prisma.McpServerUncheckedUpdateWithoutCredentialInput> } export type McpServerCreateWithoutTeamInput = { id?: string name: string description?: string | null instructions?: string | null url: string transport?: $Enums.McpTransport authConfig?:PrismaJson.McpServerAuthConfig | Prisma.NullableJsonNullValueInput config?:PrismaJson.McpServerConfig | Prisma.NullableJsonNullValueInput permission?: $Enums.TeamMemberRole tools?:PrismaJson.McpToolInfo[] | Prisma.NullableJsonNullValueInput status?: string lastError?: string | null lastConnectedAt?: Date | string | null createdAt?: Date | string updatedAt?: Date | string credential?: Prisma.McpServerCredentialCreateNestedOneWithoutServerInput agentMcpServers?: Prisma.AgentMcpServerCreateNestedManyWithoutMcpServerInput } export type McpServerUncheckedCreateWithoutTeamInput = { id?: string name: string description?: string | null instructions?: string | null url: string transport?: $Enums.McpTransport authConfig?:PrismaJson.McpServerAuthConfig | Prisma.NullableJsonNullValueInput config?:PrismaJson.McpServerConfig | Prisma.NullableJsonNullValueInput permission?: $Enums.TeamMemberRole tools?:PrismaJson.McpToolInfo[] | Prisma.NullableJsonNullValueInput status?: string lastError?: string | null lastConnectedAt?: Date | string | null createdAt?: Date | string updatedAt?: Date | string credential?: Prisma.McpServerCredentialUncheckedCreateNestedOneWithoutServerInput agentMcpServers?: Prisma.AgentMcpServerUncheckedCreateNestedManyWithoutMcpServerInput } export type McpServerCreateOrConnectWithoutTeamInput = { where: Prisma.McpServerWhereUniqueInput create: Prisma.XOR } export type McpServerCreateManyTeamInputEnvelope = { data: Prisma.McpServerCreateManyTeamInput | Prisma.McpServerCreateManyTeamInput[] skipDuplicates?: boolean } export type McpServerUpsertWithWhereUniqueWithoutTeamInput = { where: Prisma.McpServerWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type McpServerUpdateWithWhereUniqueWithoutTeamInput = { where: Prisma.McpServerWhereUniqueInput data: Prisma.XOR } export type McpServerUpdateManyWithWhereWithoutTeamInput = { where: Prisma.McpServerScalarWhereInput data: Prisma.XOR } export type McpServerScalarWhereInput = { AND?: Prisma.McpServerScalarWhereInput | Prisma.McpServerScalarWhereInput[] OR?: Prisma.McpServerScalarWhereInput[] NOT?: Prisma.McpServerScalarWhereInput | Prisma.McpServerScalarWhereInput[] id?: Prisma.StringFilter<"McpServer"> | string name?: Prisma.StringFilter<"McpServer"> | string description?: Prisma.StringNullableFilter<"McpServer"> | string | null instructions?: Prisma.StringNullableFilter<"McpServer"> | string | null url?: Prisma.StringFilter<"McpServer"> | string transport?: Prisma.EnumMcpTransportFilter<"McpServer"> | $Enums.McpTransport authConfig?: Prisma.JsonNullableFilter<"McpServer"> config?: Prisma.JsonNullableFilter<"McpServer"> permission?: Prisma.EnumTeamMemberRoleFilter<"McpServer"> | $Enums.TeamMemberRole tools?: Prisma.JsonNullableFilter<"McpServer"> status?: Prisma.StringFilter<"McpServer"> | string lastError?: Prisma.StringNullableFilter<"McpServer"> | string | null lastConnectedAt?: Prisma.DateTimeNullableFilter<"McpServer"> | Date | string | null createdAt?: Prisma.DateTimeFilter<"McpServer"> | Date | string updatedAt?: Prisma.DateTimeFilter<"McpServer"> | Date | string teamId?: Prisma.StringFilter<"McpServer"> | string } export type McpServerCreateWithoutAgentMcpServersInput = { id?: string name: string description?: string | null instructions?: string | null url: string transport?: $Enums.McpTransport authConfig?:PrismaJson.McpServerAuthConfig | Prisma.NullableJsonNullValueInput config?:PrismaJson.McpServerConfig | Prisma.NullableJsonNullValueInput permission?: $Enums.TeamMemberRole tools?:PrismaJson.McpToolInfo[] | Prisma.NullableJsonNullValueInput status?: string lastError?: string | null lastConnectedAt?: Date | string | null createdAt?: Date | string updatedAt?: Date | string team: Prisma.TeamCreateNestedOneWithoutMcpServersInput credential?: Prisma.McpServerCredentialCreateNestedOneWithoutServerInput } export type McpServerUncheckedCreateWithoutAgentMcpServersInput = { id?: string name: string description?: string | null instructions?: string | null url: string transport?: $Enums.McpTransport authConfig?:PrismaJson.McpServerAuthConfig | Prisma.NullableJsonNullValueInput config?:PrismaJson.McpServerConfig | Prisma.NullableJsonNullValueInput permission?: $Enums.TeamMemberRole tools?:PrismaJson.McpToolInfo[] | Prisma.NullableJsonNullValueInput status?: string lastError?: string | null lastConnectedAt?: Date | string | null createdAt?: Date | string updatedAt?: Date | string teamId: string credential?: Prisma.McpServerCredentialUncheckedCreateNestedOneWithoutServerInput } export type McpServerCreateOrConnectWithoutAgentMcpServersInput = { where: Prisma.McpServerWhereUniqueInput create: Prisma.XOR } export type McpServerUpsertWithoutAgentMcpServersInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.McpServerWhereInput } export type McpServerUpdateToOneWithWhereWithoutAgentMcpServersInput = { where?: Prisma.McpServerWhereInput data: Prisma.XOR } export type McpServerUpdateWithoutAgentMcpServersInput = { id?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null instructions?: Prisma.NullableStringFieldUpdateOperationsInput | string | null url?: Prisma.StringFieldUpdateOperationsInput | string transport?: Prisma.EnumMcpTransportFieldUpdateOperationsInput | $Enums.McpTransport authConfig?:PrismaJson.McpServerAuthConfig | Prisma.NullableJsonNullValueInput config?:PrismaJson.McpServerConfig | Prisma.NullableJsonNullValueInput permission?: Prisma.EnumTeamMemberRoleFieldUpdateOperationsInput | $Enums.TeamMemberRole tools?:PrismaJson.McpToolInfo[] | Prisma.NullableJsonNullValueInput status?: Prisma.StringFieldUpdateOperationsInput | string lastError?: Prisma.NullableStringFieldUpdateOperationsInput | string | null lastConnectedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string team?: Prisma.TeamUpdateOneRequiredWithoutMcpServersNestedInput credential?: Prisma.McpServerCredentialUpdateOneWithoutServerNestedInput } export type McpServerUncheckedUpdateWithoutAgentMcpServersInput = { id?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null instructions?: Prisma.NullableStringFieldUpdateOperationsInput | string | null url?: Prisma.StringFieldUpdateOperationsInput | string transport?: Prisma.EnumMcpTransportFieldUpdateOperationsInput | $Enums.McpTransport authConfig?:PrismaJson.McpServerAuthConfig | Prisma.NullableJsonNullValueInput config?:PrismaJson.McpServerConfig | Prisma.NullableJsonNullValueInput permission?: Prisma.EnumTeamMemberRoleFieldUpdateOperationsInput | $Enums.TeamMemberRole tools?:PrismaJson.McpToolInfo[] | Prisma.NullableJsonNullValueInput status?: Prisma.StringFieldUpdateOperationsInput | string lastError?: Prisma.NullableStringFieldUpdateOperationsInput | string | null lastConnectedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string teamId?: Prisma.StringFieldUpdateOperationsInput | string credential?: Prisma.McpServerCredentialUncheckedUpdateOneWithoutServerNestedInput } export type McpServerCreateWithoutCredentialInput = { id?: string name: string description?: string | null instructions?: string | null url: string transport?: $Enums.McpTransport authConfig?:PrismaJson.McpServerAuthConfig | Prisma.NullableJsonNullValueInput config?:PrismaJson.McpServerConfig | Prisma.NullableJsonNullValueInput permission?: $Enums.TeamMemberRole tools?:PrismaJson.McpToolInfo[] | Prisma.NullableJsonNullValueInput status?: string lastError?: string | null lastConnectedAt?: Date | string | null createdAt?: Date | string updatedAt?: Date | string team: Prisma.TeamCreateNestedOneWithoutMcpServersInput agentMcpServers?: Prisma.AgentMcpServerCreateNestedManyWithoutMcpServerInput } export type McpServerUncheckedCreateWithoutCredentialInput = { id?: string name: string description?: string | null instructions?: string | null url: string transport?: $Enums.McpTransport authConfig?:PrismaJson.McpServerAuthConfig | Prisma.NullableJsonNullValueInput config?:PrismaJson.McpServerConfig | Prisma.NullableJsonNullValueInput permission?: $Enums.TeamMemberRole tools?:PrismaJson.McpToolInfo[] | Prisma.NullableJsonNullValueInput status?: string lastError?: string | null lastConnectedAt?: Date | string | null createdAt?: Date | string updatedAt?: Date | string teamId: string agentMcpServers?: Prisma.AgentMcpServerUncheckedCreateNestedManyWithoutMcpServerInput } export type McpServerCreateOrConnectWithoutCredentialInput = { where: Prisma.McpServerWhereUniqueInput create: Prisma.XOR } export type McpServerUpsertWithoutCredentialInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.McpServerWhereInput } export type McpServerUpdateToOneWithWhereWithoutCredentialInput = { where?: Prisma.McpServerWhereInput data: Prisma.XOR } export type McpServerUpdateWithoutCredentialInput = { id?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null instructions?: Prisma.NullableStringFieldUpdateOperationsInput | string | null url?: Prisma.StringFieldUpdateOperationsInput | string transport?: Prisma.EnumMcpTransportFieldUpdateOperationsInput | $Enums.McpTransport authConfig?:PrismaJson.McpServerAuthConfig | Prisma.NullableJsonNullValueInput config?:PrismaJson.McpServerConfig | Prisma.NullableJsonNullValueInput permission?: Prisma.EnumTeamMemberRoleFieldUpdateOperationsInput | $Enums.TeamMemberRole tools?:PrismaJson.McpToolInfo[] | Prisma.NullableJsonNullValueInput status?: Prisma.StringFieldUpdateOperationsInput | string lastError?: Prisma.NullableStringFieldUpdateOperationsInput | string | null lastConnectedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string team?: Prisma.TeamUpdateOneRequiredWithoutMcpServersNestedInput agentMcpServers?: Prisma.AgentMcpServerUpdateManyWithoutMcpServerNestedInput } export type McpServerUncheckedUpdateWithoutCredentialInput = { id?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null instructions?: Prisma.NullableStringFieldUpdateOperationsInput | string | null url?: Prisma.StringFieldUpdateOperationsInput | string transport?: Prisma.EnumMcpTransportFieldUpdateOperationsInput | $Enums.McpTransport authConfig?:PrismaJson.McpServerAuthConfig | Prisma.NullableJsonNullValueInput config?:PrismaJson.McpServerConfig | Prisma.NullableJsonNullValueInput permission?: Prisma.EnumTeamMemberRoleFieldUpdateOperationsInput | $Enums.TeamMemberRole tools?:PrismaJson.McpToolInfo[] | Prisma.NullableJsonNullValueInput status?: Prisma.StringFieldUpdateOperationsInput | string lastError?: Prisma.NullableStringFieldUpdateOperationsInput | string | null lastConnectedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string teamId?: Prisma.StringFieldUpdateOperationsInput | string agentMcpServers?: Prisma.AgentMcpServerUncheckedUpdateManyWithoutMcpServerNestedInput } export type McpServerCreateManyTeamInput = { id?: string name: string description?: string | null instructions?: string | null url: string transport?: $Enums.McpTransport authConfig?:PrismaJson.McpServerAuthConfig | Prisma.NullableJsonNullValueInput config?:PrismaJson.McpServerConfig | Prisma.NullableJsonNullValueInput permission?: $Enums.TeamMemberRole tools?:PrismaJson.McpToolInfo[] | Prisma.NullableJsonNullValueInput status?: string lastError?: string | null lastConnectedAt?: Date | string | null createdAt?: Date | string updatedAt?: Date | string } export type McpServerUpdateWithoutTeamInput = { id?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null instructions?: Prisma.NullableStringFieldUpdateOperationsInput | string | null url?: Prisma.StringFieldUpdateOperationsInput | string transport?: Prisma.EnumMcpTransportFieldUpdateOperationsInput | $Enums.McpTransport authConfig?:PrismaJson.McpServerAuthConfig | Prisma.NullableJsonNullValueInput config?:PrismaJson.McpServerConfig | Prisma.NullableJsonNullValueInput permission?: Prisma.EnumTeamMemberRoleFieldUpdateOperationsInput | $Enums.TeamMemberRole tools?:PrismaJson.McpToolInfo[] | Prisma.NullableJsonNullValueInput status?: Prisma.StringFieldUpdateOperationsInput | string lastError?: Prisma.NullableStringFieldUpdateOperationsInput | string | null lastConnectedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string credential?: Prisma.McpServerCredentialUpdateOneWithoutServerNestedInput agentMcpServers?: Prisma.AgentMcpServerUpdateManyWithoutMcpServerNestedInput } export type McpServerUncheckedUpdateWithoutTeamInput = { id?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null instructions?: Prisma.NullableStringFieldUpdateOperationsInput | string | null url?: Prisma.StringFieldUpdateOperationsInput | string transport?: Prisma.EnumMcpTransportFieldUpdateOperationsInput | $Enums.McpTransport authConfig?:PrismaJson.McpServerAuthConfig | Prisma.NullableJsonNullValueInput config?:PrismaJson.McpServerConfig | Prisma.NullableJsonNullValueInput permission?: Prisma.EnumTeamMemberRoleFieldUpdateOperationsInput | $Enums.TeamMemberRole tools?:PrismaJson.McpToolInfo[] | Prisma.NullableJsonNullValueInput status?: Prisma.StringFieldUpdateOperationsInput | string lastError?: Prisma.NullableStringFieldUpdateOperationsInput | string | null lastConnectedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string credential?: Prisma.McpServerCredentialUncheckedUpdateOneWithoutServerNestedInput agentMcpServers?: Prisma.AgentMcpServerUncheckedUpdateManyWithoutMcpServerNestedInput } export type McpServerUncheckedUpdateManyWithoutTeamInput = { id?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null instructions?: Prisma.NullableStringFieldUpdateOperationsInput | string | null url?: Prisma.StringFieldUpdateOperationsInput | string transport?: Prisma.EnumMcpTransportFieldUpdateOperationsInput | $Enums.McpTransport authConfig?:PrismaJson.McpServerAuthConfig | Prisma.NullableJsonNullValueInput config?:PrismaJson.McpServerConfig | Prisma.NullableJsonNullValueInput permission?: Prisma.EnumTeamMemberRoleFieldUpdateOperationsInput | $Enums.TeamMemberRole tools?:PrismaJson.McpToolInfo[] | Prisma.NullableJsonNullValueInput status?: Prisma.StringFieldUpdateOperationsInput | string lastError?: Prisma.NullableStringFieldUpdateOperationsInput | string | null lastConnectedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } /** * Count Type McpServerCountOutputType */ export type McpServerCountOutputType = { agentMcpServers: number } export type McpServerCountOutputTypeSelect = { agentMcpServers?: boolean | McpServerCountOutputTypeCountAgentMcpServersArgs } /** * McpServerCountOutputType without action */ export type McpServerCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the McpServerCountOutputType */ select?: Prisma.McpServerCountOutputTypeSelect | null } /** * McpServerCountOutputType without action */ export type McpServerCountOutputTypeCountAgentMcpServersArgs = { where?: Prisma.AgentMcpServerWhereInput } export type McpServerSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean name?: boolean description?: boolean instructions?: boolean url?: boolean transport?: boolean authConfig?: boolean config?: boolean permission?: boolean tools?: boolean status?: boolean lastError?: boolean lastConnectedAt?: boolean createdAt?: boolean updatedAt?: boolean teamId?: boolean team?: boolean | Prisma.TeamDefaultArgs credential?: boolean | Prisma.McpServer$credentialArgs agentMcpServers?: boolean | Prisma.McpServer$agentMcpServersArgs _count?: boolean | Prisma.McpServerCountOutputTypeDefaultArgs }, ExtArgs["result"]["mcpServer"]> export type McpServerSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean name?: boolean description?: boolean instructions?: boolean url?: boolean transport?: boolean authConfig?: boolean config?: boolean permission?: boolean tools?: boolean status?: boolean lastError?: boolean lastConnectedAt?: boolean createdAt?: boolean updatedAt?: boolean teamId?: boolean team?: boolean | Prisma.TeamDefaultArgs }, ExtArgs["result"]["mcpServer"]> export type McpServerSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean name?: boolean description?: boolean instructions?: boolean url?: boolean transport?: boolean authConfig?: boolean config?: boolean permission?: boolean tools?: boolean status?: boolean lastError?: boolean lastConnectedAt?: boolean createdAt?: boolean updatedAt?: boolean teamId?: boolean team?: boolean | Prisma.TeamDefaultArgs }, ExtArgs["result"]["mcpServer"]> export type McpServerSelectScalar = { id?: boolean name?: boolean description?: boolean instructions?: boolean url?: boolean transport?: boolean authConfig?: boolean config?: boolean permission?: boolean tools?: boolean status?: boolean lastError?: boolean lastConnectedAt?: boolean createdAt?: boolean updatedAt?: boolean teamId?: boolean } export type McpServerOmit = runtime.Types.Extensions.GetOmit<"id" | "name" | "description" | "instructions" | "url" | "transport" | "authConfig" | "config" | "permission" | "tools" | "status" | "lastError" | "lastConnectedAt" | "createdAt" | "updatedAt" | "teamId", ExtArgs["result"]["mcpServer"]> export type McpServerInclude = { team?: boolean | Prisma.TeamDefaultArgs credential?: boolean | Prisma.McpServer$credentialArgs agentMcpServers?: boolean | Prisma.McpServer$agentMcpServersArgs _count?: boolean | Prisma.McpServerCountOutputTypeDefaultArgs } export type McpServerIncludeCreateManyAndReturn = { team?: boolean | Prisma.TeamDefaultArgs } export type McpServerIncludeUpdateManyAndReturn = { team?: boolean | Prisma.TeamDefaultArgs } export type $McpServerPayload = { name: "McpServer" objects: { team: Prisma.$TeamPayload credential: Prisma.$McpServerCredentialPayload | null agentMcpServers: Prisma.$AgentMcpServerPayload[] } scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string name: string description: string | null instructions: string | null url: string transport: $Enums.McpTransport /** * [McpServerAuthConfig] */ authConfig:PrismaJson.McpServerAuthConfig | null /** * [McpServerConfig] */ config:PrismaJson.McpServerConfig | null permission: $Enums.TeamMemberRole /** * [McpToolInfo[]] */ tools:PrismaJson.McpToolInfo[] | null status: string lastError: string | null lastConnectedAt: Date | null createdAt: Date updatedAt: Date teamId: string }, ExtArgs["result"]["mcpServer"]> composites: {} } export type McpServerGetPayload = runtime.Types.Result.GetResult export type McpServerCountArgs = Omit & { select?: McpServerCountAggregateInputType | true } export interface McpServerDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['McpServer'], meta: { name: 'McpServer' } } /** * Find zero or one McpServer that matches the filter. * @param {McpServerFindUniqueArgs} args - Arguments to find a McpServer * @example * // Get one McpServer * const mcpServer = await prisma.mcpServer.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__McpServerClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one McpServer that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {McpServerFindUniqueOrThrowArgs} args - Arguments to find a McpServer * @example * // Get one McpServer * const mcpServer = await prisma.mcpServer.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__McpServerClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first McpServer 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 {McpServerFindFirstArgs} args - Arguments to find a McpServer * @example * // Get one McpServer * const mcpServer = await prisma.mcpServer.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__McpServerClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first McpServer 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 {McpServerFindFirstOrThrowArgs} args - Arguments to find a McpServer * @example * // Get one McpServer * const mcpServer = await prisma.mcpServer.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__McpServerClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more McpServers 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 {McpServerFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all McpServers * const mcpServers = await prisma.mcpServer.findMany() * * // Get first 10 McpServers * const mcpServers = await prisma.mcpServer.findMany({ take: 10 }) * * // Only select the `id` * const mcpServerWithIdOnly = await prisma.mcpServer.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a McpServer. * @param {McpServerCreateArgs} args - Arguments to create a McpServer. * @example * // Create one McpServer * const McpServer = await prisma.mcpServer.create({ * data: { * // ... data to create a McpServer * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__McpServerClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many McpServers. * @param {McpServerCreateManyArgs} args - Arguments to create many McpServers. * @example * // Create many McpServers * const mcpServer = await prisma.mcpServer.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many McpServers and returns the data saved in the database. * @param {McpServerCreateManyAndReturnArgs} args - Arguments to create many McpServers. * @example * // Create many McpServers * const mcpServer = await prisma.mcpServer.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many McpServers and only return the `id` * const mcpServerWithIdOnly = await prisma.mcpServer.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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> /** * Delete a McpServer. * @param {McpServerDeleteArgs} args - Arguments to delete one McpServer. * @example * // Delete one McpServer * const McpServer = await prisma.mcpServer.delete({ * where: { * // ... filter to delete one McpServer * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__McpServerClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one McpServer. * @param {McpServerUpdateArgs} args - Arguments to update one McpServer. * @example * // Update one McpServer * const mcpServer = await prisma.mcpServer.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__McpServerClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more McpServers. * @param {McpServerDeleteManyArgs} args - Arguments to filter McpServers to delete. * @example * // Delete a few McpServers * const { count } = await prisma.mcpServer.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more McpServers. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {McpServerUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many McpServers * const mcpServer = await prisma.mcpServer.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more McpServers and returns the data updated in the database. * @param {McpServerUpdateManyAndReturnArgs} args - Arguments to update many McpServers. * @example * // Update many McpServers * const mcpServer = await prisma.mcpServer.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more McpServers and only return the `id` * const mcpServerWithIdOnly = await prisma.mcpServer.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(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> /** * Create or update one McpServer. * @param {McpServerUpsertArgs} args - Arguments to update or create a McpServer. * @example * // Update or create a McpServer * const mcpServer = await prisma.mcpServer.upsert({ * create: { * // ... data to create a McpServer * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the McpServer we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__McpServerClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of McpServers. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {McpServerCountArgs} args - Arguments to filter McpServers to count. * @example * // Count the number of McpServers * const count = await prisma.mcpServer.count({ * where: { * // ... the filter for the McpServers we want to count * } * }) **/ count( args?: Prisma.Subset, ): Prisma.PrismaPromise< T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType : number > /** * Allows you to perform aggregations operations on a McpServer. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {McpServerAggregateArgs} 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(args: Prisma.Subset): Prisma.PrismaPromise> /** * Group by McpServer. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {McpServerGroupByArgs} 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 McpServerGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: McpServerGroupByArgs['orderBy'] } : { orderBy?: McpServerGroupByArgs['orderBy'] }, OrderFields extends Prisma.ExcludeUnderscoreKeys>>, ByFields extends Prisma.MaybeTupleToUnion, ByValid extends Prisma.Has, HavingFields extends Prisma.GetHavingFields, HavingValid extends Prisma.Has, 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 ? 'orderBy' extends Prisma.Keys ? 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 ? 'orderBy' extends Prisma.Keys ? 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 & InputErrors): {} extends InputErrors ? GetMcpServerGroupByPayload : Prisma.PrismaPromise /** * Fields of the McpServer model */ readonly fields: McpServerFieldRefs; } /** * The delegate class that acts as a "Promise-like" for McpServer. * 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__McpServerClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" team = {}>(args?: Prisma.Subset>): Prisma.Prisma__TeamClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> credential = {}>(args?: Prisma.Subset>): Prisma.Prisma__McpServerCredentialClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> agentMcpServers = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, 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(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * 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(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * 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 } /** * Fields of the McpServer model */ export interface McpServerFieldRefs { readonly id: Prisma.FieldRef<"McpServer", 'String'> readonly name: Prisma.FieldRef<"McpServer", 'String'> readonly description: Prisma.FieldRef<"McpServer", 'String'> readonly instructions: Prisma.FieldRef<"McpServer", 'String'> readonly url: Prisma.FieldRef<"McpServer", 'String'> readonly transport: Prisma.FieldRef<"McpServer", 'McpTransport'> readonly authConfig: Prisma.FieldRef<"McpServer", 'Json'> readonly config: Prisma.FieldRef<"McpServer", 'Json'> readonly permission: Prisma.FieldRef<"McpServer", 'TeamMemberRole'> readonly tools: Prisma.FieldRef<"McpServer", 'Json'> readonly status: Prisma.FieldRef<"McpServer", 'String'> readonly lastError: Prisma.FieldRef<"McpServer", 'String'> readonly lastConnectedAt: Prisma.FieldRef<"McpServer", 'DateTime'> readonly createdAt: Prisma.FieldRef<"McpServer", 'DateTime'> readonly updatedAt: Prisma.FieldRef<"McpServer", 'DateTime'> readonly teamId: Prisma.FieldRef<"McpServer", 'String'> } // Custom InputTypes /** * McpServer findUnique */ export type McpServerFindUniqueArgs = { /** * Select specific fields to fetch from the McpServer */ select?: Prisma.McpServerSelect | null /** * Omit specific fields from the McpServer */ omit?: Prisma.McpServerOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.McpServerInclude | null /** * Filter, which McpServer to fetch. */ where: Prisma.McpServerWhereUniqueInput } /** * McpServer findUniqueOrThrow */ export type McpServerFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the McpServer */ select?: Prisma.McpServerSelect | null /** * Omit specific fields from the McpServer */ omit?: Prisma.McpServerOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.McpServerInclude | null /** * Filter, which McpServer to fetch. */ where: Prisma.McpServerWhereUniqueInput } /** * McpServer findFirst */ export type McpServerFindFirstArgs = { /** * Select specific fields to fetch from the McpServer */ select?: Prisma.McpServerSelect | null /** * Omit specific fields from the McpServer */ omit?: Prisma.McpServerOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.McpServerInclude | null /** * Filter, which McpServer to fetch. */ where?: Prisma.McpServerWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of McpServers to fetch. */ orderBy?: Prisma.McpServerOrderByWithRelationInput | Prisma.McpServerOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for McpServers. */ cursor?: Prisma.McpServerWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` McpServers 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` McpServers. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of McpServers. */ distinct?: Prisma.McpServerScalarFieldEnum | Prisma.McpServerScalarFieldEnum[] } /** * McpServer findFirstOrThrow */ export type McpServerFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the McpServer */ select?: Prisma.McpServerSelect | null /** * Omit specific fields from the McpServer */ omit?: Prisma.McpServerOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.McpServerInclude | null /** * Filter, which McpServer to fetch. */ where?: Prisma.McpServerWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of McpServers to fetch. */ orderBy?: Prisma.McpServerOrderByWithRelationInput | Prisma.McpServerOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for McpServers. */ cursor?: Prisma.McpServerWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` McpServers 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` McpServers. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of McpServers. */ distinct?: Prisma.McpServerScalarFieldEnum | Prisma.McpServerScalarFieldEnum[] } /** * McpServer findMany */ export type McpServerFindManyArgs = { /** * Select specific fields to fetch from the McpServer */ select?: Prisma.McpServerSelect | null /** * Omit specific fields from the McpServer */ omit?: Prisma.McpServerOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.McpServerInclude | null /** * Filter, which McpServers to fetch. */ where?: Prisma.McpServerWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of McpServers to fetch. */ orderBy?: Prisma.McpServerOrderByWithRelationInput | Prisma.McpServerOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing McpServers. */ cursor?: Prisma.McpServerWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` McpServers 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` McpServers. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of McpServers. */ distinct?: Prisma.McpServerScalarFieldEnum | Prisma.McpServerScalarFieldEnum[] } /** * McpServer create */ export type McpServerCreateArgs = { /** * Select specific fields to fetch from the McpServer */ select?: Prisma.McpServerSelect | null /** * Omit specific fields from the McpServer */ omit?: Prisma.McpServerOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.McpServerInclude | null /** * The data needed to create a McpServer. */ data: Prisma.XOR } /** * McpServer createMany */ export type McpServerCreateManyArgs = { /** * The data used to create many McpServers. */ data: Prisma.McpServerCreateManyInput | Prisma.McpServerCreateManyInput[] skipDuplicates?: boolean } /** * McpServer createManyAndReturn */ export type McpServerCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the McpServer */ select?: Prisma.McpServerSelectCreateManyAndReturn | null /** * Omit specific fields from the McpServer */ omit?: Prisma.McpServerOmit | null /** * The data used to create many McpServers. */ data: Prisma.McpServerCreateManyInput | Prisma.McpServerCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: Prisma.McpServerIncludeCreateManyAndReturn | null } /** * McpServer update */ export type McpServerUpdateArgs = { /** * Select specific fields to fetch from the McpServer */ select?: Prisma.McpServerSelect | null /** * Omit specific fields from the McpServer */ omit?: Prisma.McpServerOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.McpServerInclude | null /** * The data needed to update a McpServer. */ data: Prisma.XOR /** * Choose, which McpServer to update. */ where: Prisma.McpServerWhereUniqueInput } /** * McpServer updateMany */ export type McpServerUpdateManyArgs = { /** * The data used to update McpServers. */ data: Prisma.XOR /** * Filter which McpServers to update */ where?: Prisma.McpServerWhereInput /** * Limit how many McpServers to update. */ limit?: number } /** * McpServer updateManyAndReturn */ export type McpServerUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the McpServer */ select?: Prisma.McpServerSelectUpdateManyAndReturn | null /** * Omit specific fields from the McpServer */ omit?: Prisma.McpServerOmit | null /** * The data used to update McpServers. */ data: Prisma.XOR /** * Filter which McpServers to update */ where?: Prisma.McpServerWhereInput /** * Limit how many McpServers to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: Prisma.McpServerIncludeUpdateManyAndReturn | null } /** * McpServer upsert */ export type McpServerUpsertArgs = { /** * Select specific fields to fetch from the McpServer */ select?: Prisma.McpServerSelect | null /** * Omit specific fields from the McpServer */ omit?: Prisma.McpServerOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.McpServerInclude | null /** * The filter to search for the McpServer to update in case it exists. */ where: Prisma.McpServerWhereUniqueInput /** * In case the McpServer found by the `where` argument doesn't exist, create a new McpServer with this data. */ create: Prisma.XOR /** * In case the McpServer was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * McpServer delete */ export type McpServerDeleteArgs = { /** * Select specific fields to fetch from the McpServer */ select?: Prisma.McpServerSelect | null /** * Omit specific fields from the McpServer */ omit?: Prisma.McpServerOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.McpServerInclude | null /** * Filter which McpServer to delete. */ where: Prisma.McpServerWhereUniqueInput } /** * McpServer deleteMany */ export type McpServerDeleteManyArgs = { /** * Filter which McpServers to delete */ where?: Prisma.McpServerWhereInput /** * Limit how many McpServers to delete. */ limit?: number } /** * McpServer.credential */ export type McpServer$credentialArgs = { /** * Select specific fields to fetch from the McpServerCredential */ select?: Prisma.McpServerCredentialSelect | null /** * Omit specific fields from the McpServerCredential */ omit?: Prisma.McpServerCredentialOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.McpServerCredentialInclude | null where?: Prisma.McpServerCredentialWhereInput } /** * McpServer.agentMcpServers */ export type McpServer$agentMcpServersArgs = { /** * Select specific fields to fetch from the AgentMcpServer */ select?: Prisma.AgentMcpServerSelect | null /** * Omit specific fields from the AgentMcpServer */ omit?: Prisma.AgentMcpServerOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AgentMcpServerInclude | null where?: Prisma.AgentMcpServerWhereInput orderBy?: Prisma.AgentMcpServerOrderByWithRelationInput | Prisma.AgentMcpServerOrderByWithRelationInput[] cursor?: Prisma.AgentMcpServerWhereUniqueInput take?: number skip?: number distinct?: Prisma.AgentMcpServerScalarFieldEnum | Prisma.AgentMcpServerScalarFieldEnum[] } /** * McpServer without action */ export type McpServerDefaultArgs = { /** * Select specific fields to fetch from the McpServer */ select?: Prisma.McpServerSelect | null /** * Omit specific fields from the McpServer */ omit?: Prisma.McpServerOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.McpServerInclude | null }