Files
shumai/packages/db/src/generated/prisma/models/McpServerCredential.ts
T

1449 lines
58 KiB
TypeScript
Raw Normal View History

/* !!! This is code generated by Prisma. Do not edit directly. !!! */
/* eslint-disable */
// biome-ignore-all lint: generated file
// @ts-nocheck
/*
* This file exports the `McpServerCredential` 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 McpServerCredential
*
*/
export type McpServerCredentialModel = runtime.Types.Result.DefaultSelection<Prisma.$McpServerCredentialPayload>
export type AggregateMcpServerCredential = {
_count: McpServerCredentialCountAggregateOutputType | null
_min: McpServerCredentialMinAggregateOutputType | null
_max: McpServerCredentialMaxAggregateOutputType | null
}
export type McpServerCredentialMinAggregateOutputType = {
id: string | null
serverId: string | null
serverUrl: string | null
codeVerifier: string | null
oauthState: string | null
createdAt: Date | null
updatedAt: Date | null
}
export type McpServerCredentialMaxAggregateOutputType = {
id: string | null
serverId: string | null
serverUrl: string | null
codeVerifier: string | null
oauthState: string | null
createdAt: Date | null
updatedAt: Date | null
}
export type McpServerCredentialCountAggregateOutputType = {
id: number
serverId: number
serverUrl: number
tokens:PrismaJson.McpStoredTokens
clientInfo:PrismaJson.McpStoredClientInfo
codeVerifier: number
oauthState: number
pendingAuth:PrismaJson.McpPendingAuth
createdAt: number
updatedAt: number
_all: number
}
export type McpServerCredentialMinAggregateInputType = {
id?: true
serverId?: true
serverUrl?: true
codeVerifier?: true
oauthState?: true
createdAt?: true
updatedAt?: true
}
export type McpServerCredentialMaxAggregateInputType = {
id?: true
serverId?: true
serverUrl?: true
codeVerifier?: true
oauthState?: true
createdAt?: true
updatedAt?: true
}
export type McpServerCredentialCountAggregateInputType = {
id?: true
serverId?: true
serverUrl?: true
tokens?: true
clientInfo?: true
codeVerifier?: true
oauthState?: true
pendingAuth?: true
createdAt?: true
updatedAt?: true
_all?: true
}
export type McpServerCredentialAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which McpServerCredential to aggregate.
*/
where?: Prisma.McpServerCredentialWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of McpServerCredentials to fetch.
*/
orderBy?: Prisma.McpServerCredentialOrderByWithRelationInput | Prisma.McpServerCredentialOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the start position
*/
cursor?: Prisma.McpServerCredentialWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` McpServerCredentials 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` McpServerCredentials.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Count returned McpServerCredentials
**/
_count?: true | McpServerCredentialCountAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the minimum value
**/
_min?: McpServerCredentialMinAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the maximum value
**/
_max?: McpServerCredentialMaxAggregateInputType
}
export type GetMcpServerCredentialAggregateType<T extends McpServerCredentialAggregateArgs> = {
[P in keyof T & keyof AggregateMcpServerCredential]: P extends '_count' | 'count'
? T[P] extends true
? number
: Prisma.GetScalarType<T[P], AggregateMcpServerCredential[P]>
: Prisma.GetScalarType<T[P], AggregateMcpServerCredential[P]>
}
export type McpServerCredentialGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.McpServerCredentialWhereInput
orderBy?: Prisma.McpServerCredentialOrderByWithAggregationInput | Prisma.McpServerCredentialOrderByWithAggregationInput[]
by: Prisma.McpServerCredentialScalarFieldEnum[] | Prisma.McpServerCredentialScalarFieldEnum
having?: Prisma.McpServerCredentialScalarWhereWithAggregatesInput
take?: number
skip?: number
_count?: McpServerCredentialCountAggregateInputType | true
_min?: McpServerCredentialMinAggregateInputType
_max?: McpServerCredentialMaxAggregateInputType
}
export type McpServerCredentialGroupByOutputType = {
id: string
serverId: string
serverUrl: string
tokens:PrismaJson.McpStoredTokens | null
clientInfo:PrismaJson.McpStoredClientInfo | null
codeVerifier: string | null
oauthState: string | null
pendingAuth:PrismaJson.McpPendingAuth | null
createdAt: Date
updatedAt: Date
_count: McpServerCredentialCountAggregateOutputType | null
_min: McpServerCredentialMinAggregateOutputType | null
_max: McpServerCredentialMaxAggregateOutputType | null
}
export type GetMcpServerCredentialGroupByPayload<T extends McpServerCredentialGroupByArgs> = Prisma.PrismaPromise<
Array<
Prisma.PickEnumerable<McpServerCredentialGroupByOutputType, T['by']> &
{
[P in ((keyof T) & (keyof McpServerCredentialGroupByOutputType))]: P extends '_count'
? T[P] extends boolean
? number
: Prisma.GetScalarType<T[P], McpServerCredentialGroupByOutputType[P]>
: Prisma.GetScalarType<T[P], McpServerCredentialGroupByOutputType[P]>
}
>
>
export type McpServerCredentialWhereInput = {
AND?: Prisma.McpServerCredentialWhereInput | Prisma.McpServerCredentialWhereInput[]
OR?: Prisma.McpServerCredentialWhereInput[]
NOT?: Prisma.McpServerCredentialWhereInput | Prisma.McpServerCredentialWhereInput[]
id?: Prisma.StringFilter<"McpServerCredential"> | string
serverId?: Prisma.StringFilter<"McpServerCredential"> | string
serverUrl?: Prisma.StringFilter<"McpServerCredential"> | string
tokens?: Prisma.JsonNullableFilter<"McpServerCredential">
clientInfo?: Prisma.JsonNullableFilter<"McpServerCredential">
codeVerifier?: Prisma.StringNullableFilter<"McpServerCredential"> | string | null
oauthState?: Prisma.StringNullableFilter<"McpServerCredential"> | string | null
pendingAuth?: Prisma.JsonNullableFilter<"McpServerCredential">
createdAt?: Prisma.DateTimeFilter<"McpServerCredential"> | Date | string
updatedAt?: Prisma.DateTimeFilter<"McpServerCredential"> | Date | string
server?: Prisma.XOR<Prisma.McpServerScalarRelationFilter, Prisma.McpServerWhereInput>
}
export type McpServerCredentialOrderByWithRelationInput = {
id?: Prisma.SortOrder
serverId?: Prisma.SortOrder
serverUrl?: Prisma.SortOrder
tokens?: Prisma.SortOrderInput | Prisma.SortOrder
clientInfo?: Prisma.SortOrderInput | Prisma.SortOrder
codeVerifier?: Prisma.SortOrderInput | Prisma.SortOrder
oauthState?: Prisma.SortOrderInput | Prisma.SortOrder
pendingAuth?: Prisma.SortOrderInput | Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
server?: Prisma.McpServerOrderByWithRelationInput
}
export type McpServerCredentialWhereUniqueInput = Prisma.AtLeast<{
id?: string
serverId?: string
AND?: Prisma.McpServerCredentialWhereInput | Prisma.McpServerCredentialWhereInput[]
OR?: Prisma.McpServerCredentialWhereInput[]
NOT?: Prisma.McpServerCredentialWhereInput | Prisma.McpServerCredentialWhereInput[]
serverUrl?: Prisma.StringFilter<"McpServerCredential"> | string
tokens?: Prisma.JsonNullableFilter<"McpServerCredential">
clientInfo?: Prisma.JsonNullableFilter<"McpServerCredential">
codeVerifier?: Prisma.StringNullableFilter<"McpServerCredential"> | string | null
oauthState?: Prisma.StringNullableFilter<"McpServerCredential"> | string | null
pendingAuth?: Prisma.JsonNullableFilter<"McpServerCredential">
createdAt?: Prisma.DateTimeFilter<"McpServerCredential"> | Date | string
updatedAt?: Prisma.DateTimeFilter<"McpServerCredential"> | Date | string
server?: Prisma.XOR<Prisma.McpServerScalarRelationFilter, Prisma.McpServerWhereInput>
}, "id" | "serverId">
export type McpServerCredentialOrderByWithAggregationInput = {
id?: Prisma.SortOrder
serverId?: Prisma.SortOrder
serverUrl?: Prisma.SortOrder
tokens?: Prisma.SortOrderInput | Prisma.SortOrder
clientInfo?: Prisma.SortOrderInput | Prisma.SortOrder
codeVerifier?: Prisma.SortOrderInput | Prisma.SortOrder
oauthState?: Prisma.SortOrderInput | Prisma.SortOrder
pendingAuth?: Prisma.SortOrderInput | Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
_count?: Prisma.McpServerCredentialCountOrderByAggregateInput
_max?: Prisma.McpServerCredentialMaxOrderByAggregateInput
_min?: Prisma.McpServerCredentialMinOrderByAggregateInput
}
export type McpServerCredentialScalarWhereWithAggregatesInput = {
AND?: Prisma.McpServerCredentialScalarWhereWithAggregatesInput | Prisma.McpServerCredentialScalarWhereWithAggregatesInput[]
OR?: Prisma.McpServerCredentialScalarWhereWithAggregatesInput[]
NOT?: Prisma.McpServerCredentialScalarWhereWithAggregatesInput | Prisma.McpServerCredentialScalarWhereWithAggregatesInput[]
id?: Prisma.StringWithAggregatesFilter<"McpServerCredential"> | string
serverId?: Prisma.StringWithAggregatesFilter<"McpServerCredential"> | string
serverUrl?: Prisma.StringWithAggregatesFilter<"McpServerCredential"> | string
tokens?: Prisma.JsonNullableWithAggregatesFilter<"McpServerCredential">
clientInfo?: Prisma.JsonNullableWithAggregatesFilter<"McpServerCredential">
codeVerifier?: Prisma.StringNullableWithAggregatesFilter<"McpServerCredential"> | string | null
oauthState?: Prisma.StringNullableWithAggregatesFilter<"McpServerCredential"> | string | null
pendingAuth?: Prisma.JsonNullableWithAggregatesFilter<"McpServerCredential">
createdAt?: Prisma.DateTimeWithAggregatesFilter<"McpServerCredential"> | Date | string
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"McpServerCredential"> | Date | string
}
export type McpServerCredentialCreateInput = {
id?: string
serverUrl: string
tokens?:PrismaJson.McpStoredTokens | Prisma.NullableJsonNullValueInput
clientInfo?:PrismaJson.McpStoredClientInfo | Prisma.NullableJsonNullValueInput
codeVerifier?: string | null
oauthState?: string | null
pendingAuth?:PrismaJson.McpPendingAuth | Prisma.NullableJsonNullValueInput
createdAt?: Date | string
updatedAt?: Date | string
server: Prisma.McpServerCreateNestedOneWithoutCredentialInput
}
export type McpServerCredentialUncheckedCreateInput = {
id?: string
serverId: string
serverUrl: string
tokens?:PrismaJson.McpStoredTokens | Prisma.NullableJsonNullValueInput
clientInfo?:PrismaJson.McpStoredClientInfo | Prisma.NullableJsonNullValueInput
codeVerifier?: string | null
oauthState?: string | null
pendingAuth?:PrismaJson.McpPendingAuth | Prisma.NullableJsonNullValueInput
createdAt?: Date | string
updatedAt?: Date | string
}
export type McpServerCredentialUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
serverUrl?: Prisma.StringFieldUpdateOperationsInput | string
tokens?:PrismaJson.McpStoredTokens | Prisma.NullableJsonNullValueInput
clientInfo?:PrismaJson.McpStoredClientInfo | Prisma.NullableJsonNullValueInput
codeVerifier?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
oauthState?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
pendingAuth?:PrismaJson.McpPendingAuth | Prisma.NullableJsonNullValueInput
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
server?: Prisma.McpServerUpdateOneRequiredWithoutCredentialNestedInput
}
export type McpServerCredentialUncheckedUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
serverId?: Prisma.StringFieldUpdateOperationsInput | string
serverUrl?: Prisma.StringFieldUpdateOperationsInput | string
tokens?:PrismaJson.McpStoredTokens | Prisma.NullableJsonNullValueInput
clientInfo?:PrismaJson.McpStoredClientInfo | Prisma.NullableJsonNullValueInput
codeVerifier?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
oauthState?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
pendingAuth?:PrismaJson.McpPendingAuth | Prisma.NullableJsonNullValueInput
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}
export type McpServerCredentialCreateManyInput = {
id?: string
serverId: string
serverUrl: string
tokens?:PrismaJson.McpStoredTokens | Prisma.NullableJsonNullValueInput
clientInfo?:PrismaJson.McpStoredClientInfo | Prisma.NullableJsonNullValueInput
codeVerifier?: string | null
oauthState?: string | null
pendingAuth?:PrismaJson.McpPendingAuth | Prisma.NullableJsonNullValueInput
createdAt?: Date | string
updatedAt?: Date | string
}
export type McpServerCredentialUpdateManyMutationInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
serverUrl?: Prisma.StringFieldUpdateOperationsInput | string
tokens?:PrismaJson.McpStoredTokens | Prisma.NullableJsonNullValueInput
clientInfo?:PrismaJson.McpStoredClientInfo | Prisma.NullableJsonNullValueInput
codeVerifier?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
oauthState?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
pendingAuth?:PrismaJson.McpPendingAuth | Prisma.NullableJsonNullValueInput
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}
export type McpServerCredentialUncheckedUpdateManyInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
serverId?: Prisma.StringFieldUpdateOperationsInput | string
serverUrl?: Prisma.StringFieldUpdateOperationsInput | string
tokens?:PrismaJson.McpStoredTokens | Prisma.NullableJsonNullValueInput
clientInfo?:PrismaJson.McpStoredClientInfo | Prisma.NullableJsonNullValueInput
codeVerifier?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
oauthState?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
pendingAuth?:PrismaJson.McpPendingAuth | Prisma.NullableJsonNullValueInput
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}
export type McpServerCredentialNullableScalarRelationFilter = {
is?: Prisma.McpServerCredentialWhereInput | null
isNot?: Prisma.McpServerCredentialWhereInput | null
}
export type McpServerCredentialCountOrderByAggregateInput = {
id?: Prisma.SortOrder
serverId?: Prisma.SortOrder
serverUrl?: Prisma.SortOrder
tokens?: Prisma.SortOrder
clientInfo?: Prisma.SortOrder
codeVerifier?: Prisma.SortOrder
oauthState?: Prisma.SortOrder
pendingAuth?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
}
export type McpServerCredentialMaxOrderByAggregateInput = {
id?: Prisma.SortOrder
serverId?: Prisma.SortOrder
serverUrl?: Prisma.SortOrder
codeVerifier?: Prisma.SortOrder
oauthState?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
}
export type McpServerCredentialMinOrderByAggregateInput = {
id?: Prisma.SortOrder
serverId?: Prisma.SortOrder
serverUrl?: Prisma.SortOrder
codeVerifier?: Prisma.SortOrder
oauthState?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
}
export type McpServerCredentialCreateNestedOneWithoutServerInput = {
create?: Prisma.XOR<Prisma.McpServerCredentialCreateWithoutServerInput, Prisma.McpServerCredentialUncheckedCreateWithoutServerInput>
connectOrCreate?: Prisma.McpServerCredentialCreateOrConnectWithoutServerInput
connect?: Prisma.McpServerCredentialWhereUniqueInput
}
export type McpServerCredentialUncheckedCreateNestedOneWithoutServerInput = {
create?: Prisma.XOR<Prisma.McpServerCredentialCreateWithoutServerInput, Prisma.McpServerCredentialUncheckedCreateWithoutServerInput>
connectOrCreate?: Prisma.McpServerCredentialCreateOrConnectWithoutServerInput
connect?: Prisma.McpServerCredentialWhereUniqueInput
}
export type McpServerCredentialUpdateOneWithoutServerNestedInput = {
create?: Prisma.XOR<Prisma.McpServerCredentialCreateWithoutServerInput, Prisma.McpServerCredentialUncheckedCreateWithoutServerInput>
connectOrCreate?: Prisma.McpServerCredentialCreateOrConnectWithoutServerInput
upsert?: Prisma.McpServerCredentialUpsertWithoutServerInput
disconnect?: Prisma.McpServerCredentialWhereInput | boolean
delete?: Prisma.McpServerCredentialWhereInput | boolean
connect?: Prisma.McpServerCredentialWhereUniqueInput
update?: Prisma.XOR<Prisma.XOR<Prisma.McpServerCredentialUpdateToOneWithWhereWithoutServerInput, Prisma.McpServerCredentialUpdateWithoutServerInput>, Prisma.McpServerCredentialUncheckedUpdateWithoutServerInput>
}
export type McpServerCredentialUncheckedUpdateOneWithoutServerNestedInput = {
create?: Prisma.XOR<Prisma.McpServerCredentialCreateWithoutServerInput, Prisma.McpServerCredentialUncheckedCreateWithoutServerInput>
connectOrCreate?: Prisma.McpServerCredentialCreateOrConnectWithoutServerInput
upsert?: Prisma.McpServerCredentialUpsertWithoutServerInput
disconnect?: Prisma.McpServerCredentialWhereInput | boolean
delete?: Prisma.McpServerCredentialWhereInput | boolean
connect?: Prisma.McpServerCredentialWhereUniqueInput
update?: Prisma.XOR<Prisma.XOR<Prisma.McpServerCredentialUpdateToOneWithWhereWithoutServerInput, Prisma.McpServerCredentialUpdateWithoutServerInput>, Prisma.McpServerCredentialUncheckedUpdateWithoutServerInput>
}
export type McpServerCredentialCreateWithoutServerInput = {
id?: string
serverUrl: string
tokens?:PrismaJson.McpStoredTokens | Prisma.NullableJsonNullValueInput
clientInfo?:PrismaJson.McpStoredClientInfo | Prisma.NullableJsonNullValueInput
codeVerifier?: string | null
oauthState?: string | null
pendingAuth?:PrismaJson.McpPendingAuth | Prisma.NullableJsonNullValueInput
createdAt?: Date | string
updatedAt?: Date | string
}
export type McpServerCredentialUncheckedCreateWithoutServerInput = {
id?: string
serverUrl: string
tokens?:PrismaJson.McpStoredTokens | Prisma.NullableJsonNullValueInput
clientInfo?:PrismaJson.McpStoredClientInfo | Prisma.NullableJsonNullValueInput
codeVerifier?: string | null
oauthState?: string | null
pendingAuth?:PrismaJson.McpPendingAuth | Prisma.NullableJsonNullValueInput
createdAt?: Date | string
updatedAt?: Date | string
}
export type McpServerCredentialCreateOrConnectWithoutServerInput = {
where: Prisma.McpServerCredentialWhereUniqueInput
create: Prisma.XOR<Prisma.McpServerCredentialCreateWithoutServerInput, Prisma.McpServerCredentialUncheckedCreateWithoutServerInput>
}
export type McpServerCredentialUpsertWithoutServerInput = {
update: Prisma.XOR<Prisma.McpServerCredentialUpdateWithoutServerInput, Prisma.McpServerCredentialUncheckedUpdateWithoutServerInput>
create: Prisma.XOR<Prisma.McpServerCredentialCreateWithoutServerInput, Prisma.McpServerCredentialUncheckedCreateWithoutServerInput>
where?: Prisma.McpServerCredentialWhereInput
}
export type McpServerCredentialUpdateToOneWithWhereWithoutServerInput = {
where?: Prisma.McpServerCredentialWhereInput
data: Prisma.XOR<Prisma.McpServerCredentialUpdateWithoutServerInput, Prisma.McpServerCredentialUncheckedUpdateWithoutServerInput>
}
export type McpServerCredentialUpdateWithoutServerInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
serverUrl?: Prisma.StringFieldUpdateOperationsInput | string
tokens?:PrismaJson.McpStoredTokens | Prisma.NullableJsonNullValueInput
clientInfo?:PrismaJson.McpStoredClientInfo | Prisma.NullableJsonNullValueInput
codeVerifier?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
oauthState?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
pendingAuth?:PrismaJson.McpPendingAuth | Prisma.NullableJsonNullValueInput
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}
export type McpServerCredentialUncheckedUpdateWithoutServerInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
serverUrl?: Prisma.StringFieldUpdateOperationsInput | string
tokens?:PrismaJson.McpStoredTokens | Prisma.NullableJsonNullValueInput
clientInfo?:PrismaJson.McpStoredClientInfo | Prisma.NullableJsonNullValueInput
codeVerifier?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
oauthState?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
pendingAuth?:PrismaJson.McpPendingAuth | Prisma.NullableJsonNullValueInput
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}
export type McpServerCredentialSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
serverId?: boolean
serverUrl?: boolean
tokens?: boolean
clientInfo?: boolean
codeVerifier?: boolean
oauthState?: boolean
pendingAuth?: boolean
createdAt?: boolean
updatedAt?: boolean
server?: boolean | Prisma.McpServerDefaultArgs<ExtArgs>
}, ExtArgs["result"]["mcpServerCredential"]>
export type McpServerCredentialSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
serverId?: boolean
serverUrl?: boolean
tokens?: boolean
clientInfo?: boolean
codeVerifier?: boolean
oauthState?: boolean
pendingAuth?: boolean
createdAt?: boolean
updatedAt?: boolean
server?: boolean | Prisma.McpServerDefaultArgs<ExtArgs>
}, ExtArgs["result"]["mcpServerCredential"]>
export type McpServerCredentialSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
serverId?: boolean
serverUrl?: boolean
tokens?: boolean
clientInfo?: boolean
codeVerifier?: boolean
oauthState?: boolean
pendingAuth?: boolean
createdAt?: boolean
updatedAt?: boolean
server?: boolean | Prisma.McpServerDefaultArgs<ExtArgs>
}, ExtArgs["result"]["mcpServerCredential"]>
export type McpServerCredentialSelectScalar = {
id?: boolean
serverId?: boolean
serverUrl?: boolean
tokens?: boolean
clientInfo?: boolean
codeVerifier?: boolean
oauthState?: boolean
pendingAuth?: boolean
createdAt?: boolean
updatedAt?: boolean
}
export type McpServerCredentialOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "serverId" | "serverUrl" | "tokens" | "clientInfo" | "codeVerifier" | "oauthState" | "pendingAuth" | "createdAt" | "updatedAt", ExtArgs["result"]["mcpServerCredential"]>
export type McpServerCredentialInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
server?: boolean | Prisma.McpServerDefaultArgs<ExtArgs>
}
export type McpServerCredentialIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
server?: boolean | Prisma.McpServerDefaultArgs<ExtArgs>
}
export type McpServerCredentialIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
server?: boolean | Prisma.McpServerDefaultArgs<ExtArgs>
}
export type $McpServerCredentialPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
name: "McpServerCredential"
objects: {
server: Prisma.$McpServerPayload<ExtArgs>
}
scalars: runtime.Types.Extensions.GetPayloadResult<{
id: string
serverId: string
serverUrl: string
/**
* [McpStoredTokens]
*/
tokens:PrismaJson.McpStoredTokens | null
/**
* [McpStoredClientInfo]
*/
clientInfo:PrismaJson.McpStoredClientInfo | null
codeVerifier: string | null
oauthState: string | null
/**
* [McpPendingAuth]
*/
pendingAuth:PrismaJson.McpPendingAuth | null
createdAt: Date
updatedAt: Date
}, ExtArgs["result"]["mcpServerCredential"]>
composites: {}
}
export type McpServerCredentialGetPayload<S extends boolean | null | undefined | McpServerCredentialDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$McpServerCredentialPayload, S>
export type McpServerCredentialCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
Omit<McpServerCredentialFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
select?: McpServerCredentialCountAggregateInputType | true
}
export interface McpServerCredentialDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['McpServerCredential'], meta: { name: 'McpServerCredential' } }
/**
* Find zero or one McpServerCredential that matches the filter.
* @param {McpServerCredentialFindUniqueArgs} args - Arguments to find a McpServerCredential
* @example
* // Get one McpServerCredential
* const mcpServerCredential = await prisma.mcpServerCredential.findUnique({
* where: {
* // ... provide filter here
* }
* })
*/
findUnique<T extends McpServerCredentialFindUniqueArgs>(args: Prisma.SelectSubset<T, McpServerCredentialFindUniqueArgs<ExtArgs>>): Prisma.Prisma__McpServerCredentialClient<runtime.Types.Result.GetResult<Prisma.$McpServerCredentialPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find one McpServerCredential that matches the filter or throw an error with `error.code='P2025'`
* if no matches were found.
* @param {McpServerCredentialFindUniqueOrThrowArgs} args - Arguments to find a McpServerCredential
* @example
* // Get one McpServerCredential
* const mcpServerCredential = await prisma.mcpServerCredential.findUniqueOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findUniqueOrThrow<T extends McpServerCredentialFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, McpServerCredentialFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__McpServerCredentialClient<runtime.Types.Result.GetResult<Prisma.$McpServerCredentialPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find the first McpServerCredential 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 {McpServerCredentialFindFirstArgs} args - Arguments to find a McpServerCredential
* @example
* // Get one McpServerCredential
* const mcpServerCredential = await prisma.mcpServerCredential.findFirst({
* where: {
* // ... provide filter here
* }
* })
*/
findFirst<T extends McpServerCredentialFindFirstArgs>(args?: Prisma.SelectSubset<T, McpServerCredentialFindFirstArgs<ExtArgs>>): Prisma.Prisma__McpServerCredentialClient<runtime.Types.Result.GetResult<Prisma.$McpServerCredentialPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find the first McpServerCredential 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 {McpServerCredentialFindFirstOrThrowArgs} args - Arguments to find a McpServerCredential
* @example
* // Get one McpServerCredential
* const mcpServerCredential = await prisma.mcpServerCredential.findFirstOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findFirstOrThrow<T extends McpServerCredentialFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, McpServerCredentialFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__McpServerCredentialClient<runtime.Types.Result.GetResult<Prisma.$McpServerCredentialPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find zero or more McpServerCredentials 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 {McpServerCredentialFindManyArgs} args - Arguments to filter and select certain fields only.
* @example
* // Get all McpServerCredentials
* const mcpServerCredentials = await prisma.mcpServerCredential.findMany()
*
* // Get first 10 McpServerCredentials
* const mcpServerCredentials = await prisma.mcpServerCredential.findMany({ take: 10 })
*
* // Only select the `id`
* const mcpServerCredentialWithIdOnly = await prisma.mcpServerCredential.findMany({ select: { id: true } })
*
*/
findMany<T extends McpServerCredentialFindManyArgs>(args?: Prisma.SelectSubset<T, McpServerCredentialFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$McpServerCredentialPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
/**
* Create a McpServerCredential.
* @param {McpServerCredentialCreateArgs} args - Arguments to create a McpServerCredential.
* @example
* // Create one McpServerCredential
* const McpServerCredential = await prisma.mcpServerCredential.create({
* data: {
* // ... data to create a McpServerCredential
* }
* })
*
*/
create<T extends McpServerCredentialCreateArgs>(args: Prisma.SelectSubset<T, McpServerCredentialCreateArgs<ExtArgs>>): Prisma.Prisma__McpServerCredentialClient<runtime.Types.Result.GetResult<Prisma.$McpServerCredentialPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Create many McpServerCredentials.
* @param {McpServerCredentialCreateManyArgs} args - Arguments to create many McpServerCredentials.
* @example
* // Create many McpServerCredentials
* const mcpServerCredential = await prisma.mcpServerCredential.createMany({
* data: [
* // ... provide data here
* ]
* })
*
*/
createMany<T extends McpServerCredentialCreateManyArgs>(args?: Prisma.SelectSubset<T, McpServerCredentialCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Create many McpServerCredentials and returns the data saved in the database.
* @param {McpServerCredentialCreateManyAndReturnArgs} args - Arguments to create many McpServerCredentials.
* @example
* // Create many McpServerCredentials
* const mcpServerCredential = await prisma.mcpServerCredential.createManyAndReturn({
* data: [
* // ... provide data here
* ]
* })
*
* // Create many McpServerCredentials and only return the `id`
* const mcpServerCredentialWithIdOnly = await prisma.mcpServerCredential.createManyAndReturn({
* select: { id: true },
* data: [
* // ... provide data here
* ]
* })
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
*
*/
createManyAndReturn<T extends McpServerCredentialCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, McpServerCredentialCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$McpServerCredentialPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
/**
* Delete a McpServerCredential.
* @param {McpServerCredentialDeleteArgs} args - Arguments to delete one McpServerCredential.
* @example
* // Delete one McpServerCredential
* const McpServerCredential = await prisma.mcpServerCredential.delete({
* where: {
* // ... filter to delete one McpServerCredential
* }
* })
*
*/
delete<T extends McpServerCredentialDeleteArgs>(args: Prisma.SelectSubset<T, McpServerCredentialDeleteArgs<ExtArgs>>): Prisma.Prisma__McpServerCredentialClient<runtime.Types.Result.GetResult<Prisma.$McpServerCredentialPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Update one McpServerCredential.
* @param {McpServerCredentialUpdateArgs} args - Arguments to update one McpServerCredential.
* @example
* // Update one McpServerCredential
* const mcpServerCredential = await prisma.mcpServerCredential.update({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
update<T extends McpServerCredentialUpdateArgs>(args: Prisma.SelectSubset<T, McpServerCredentialUpdateArgs<ExtArgs>>): Prisma.Prisma__McpServerCredentialClient<runtime.Types.Result.GetResult<Prisma.$McpServerCredentialPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Delete zero or more McpServerCredentials.
* @param {McpServerCredentialDeleteManyArgs} args - Arguments to filter McpServerCredentials to delete.
* @example
* // Delete a few McpServerCredentials
* const { count } = await prisma.mcpServerCredential.deleteMany({
* where: {
* // ... provide filter here
* }
* })
*
*/
deleteMany<T extends McpServerCredentialDeleteManyArgs>(args?: Prisma.SelectSubset<T, McpServerCredentialDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more McpServerCredentials.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {McpServerCredentialUpdateManyArgs} args - Arguments to update one or more rows.
* @example
* // Update many McpServerCredentials
* const mcpServerCredential = await prisma.mcpServerCredential.updateMany({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
updateMany<T extends McpServerCredentialUpdateManyArgs>(args: Prisma.SelectSubset<T, McpServerCredentialUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more McpServerCredentials and returns the data updated in the database.
* @param {McpServerCredentialUpdateManyAndReturnArgs} args - Arguments to update many McpServerCredentials.
* @example
* // Update many McpServerCredentials
* const mcpServerCredential = await prisma.mcpServerCredential.updateManyAndReturn({
* where: {
* // ... provide filter here
* },
* data: [
* // ... provide data here
* ]
* })
*
* // Update zero or more McpServerCredentials and only return the `id`
* const mcpServerCredentialWithIdOnly = await prisma.mcpServerCredential.updateManyAndReturn({
* select: { id: true },
* where: {
* // ... provide filter here
* },
* data: [
* // ... provide data here
* ]
* })
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
*
*/
updateManyAndReturn<T extends McpServerCredentialUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, McpServerCredentialUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$McpServerCredentialPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
/**
* Create or update one McpServerCredential.
* @param {McpServerCredentialUpsertArgs} args - Arguments to update or create a McpServerCredential.
* @example
* // Update or create a McpServerCredential
* const mcpServerCredential = await prisma.mcpServerCredential.upsert({
* create: {
* // ... data to create a McpServerCredential
* },
* update: {
* // ... in case it already exists, update
* },
* where: {
* // ... the filter for the McpServerCredential we want to update
* }
* })
*/
upsert<T extends McpServerCredentialUpsertArgs>(args: Prisma.SelectSubset<T, McpServerCredentialUpsertArgs<ExtArgs>>): Prisma.Prisma__McpServerCredentialClient<runtime.Types.Result.GetResult<Prisma.$McpServerCredentialPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Count the number of McpServerCredentials.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {McpServerCredentialCountArgs} args - Arguments to filter McpServerCredentials to count.
* @example
* // Count the number of McpServerCredentials
* const count = await prisma.mcpServerCredential.count({
* where: {
* // ... the filter for the McpServerCredentials we want to count
* }
* })
**/
count<T extends McpServerCredentialCountArgs>(
args?: Prisma.Subset<T, McpServerCredentialCountArgs>,
): Prisma.PrismaPromise<
T extends runtime.Types.Utils.Record<'select', any>
? T['select'] extends true
? number
: Prisma.GetScalarType<T['select'], McpServerCredentialCountAggregateOutputType>
: number
>
/**
* Allows you to perform aggregations operations on a McpServerCredential.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {McpServerCredentialAggregateArgs} 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 McpServerCredentialAggregateArgs>(args: Prisma.Subset<T, McpServerCredentialAggregateArgs>): Prisma.PrismaPromise<GetMcpServerCredentialAggregateType<T>>
/**
* Group by McpServerCredential.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {McpServerCredentialGroupByArgs} 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 McpServerCredentialGroupByArgs,
HasSelectOrTake extends Prisma.Or<
Prisma.Extends<'skip', Prisma.Keys<T>>,
Prisma.Extends<'take', Prisma.Keys<T>>
>,
OrderByArg extends Prisma.True extends HasSelectOrTake
? { orderBy: McpServerCredentialGroupByArgs['orderBy'] }
: { orderBy?: McpServerCredentialGroupByArgs['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, McpServerCredentialGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetMcpServerCredentialGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* Fields of the McpServerCredential model
*/
readonly fields: McpServerCredentialFieldRefs;
}
/**
* The delegate class that acts as a "Promise-like" for McpServerCredential.
* 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__McpServerCredentialClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
readonly [Symbol.toStringTag]: "PrismaPromise"
server<T extends Prisma.McpServerDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.McpServerDefaultArgs<ExtArgs>>): Prisma.Prisma__McpServerClient<runtime.Types.Result.GetResult<Prisma.$McpServerPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
/**
* Attaches callbacks for the resolution and/or rejection of the Promise.
* @param onfulfilled The callback to execute when the Promise is resolved.
* @param onrejected The callback to execute when the Promise is rejected.
* @returns A Promise for the completion of which ever callback is executed.
*/
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
/**
* Attaches a callback for only the rejection of the Promise.
* @param onrejected The callback to execute when the Promise is rejected.
* @returns A Promise for the completion of the callback.
*/
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
/**
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
* resolved value cannot be modified from the callback.
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
* @returns A Promise for the completion of the callback.
*/
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
}
/**
* Fields of the McpServerCredential model
*/
export interface McpServerCredentialFieldRefs {
readonly id: Prisma.FieldRef<"McpServerCredential", 'String'>
readonly serverId: Prisma.FieldRef<"McpServerCredential", 'String'>
readonly serverUrl: Prisma.FieldRef<"McpServerCredential", 'String'>
readonly tokens: Prisma.FieldRef<"McpServerCredential", 'Json'>
readonly clientInfo: Prisma.FieldRef<"McpServerCredential", 'Json'>
readonly codeVerifier: Prisma.FieldRef<"McpServerCredential", 'String'>
readonly oauthState: Prisma.FieldRef<"McpServerCredential", 'String'>
readonly pendingAuth: Prisma.FieldRef<"McpServerCredential", 'Json'>
readonly createdAt: Prisma.FieldRef<"McpServerCredential", 'DateTime'>
readonly updatedAt: Prisma.FieldRef<"McpServerCredential", 'DateTime'>
}
// Custom InputTypes
/**
* McpServerCredential findUnique
*/
export type McpServerCredentialFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the McpServerCredential
*/
select?: Prisma.McpServerCredentialSelect<ExtArgs> | null
/**
* Omit specific fields from the McpServerCredential
*/
omit?: Prisma.McpServerCredentialOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.McpServerCredentialInclude<ExtArgs> | null
/**
* Filter, which McpServerCredential to fetch.
*/
where: Prisma.McpServerCredentialWhereUniqueInput
}
/**
* McpServerCredential findUniqueOrThrow
*/
export type McpServerCredentialFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the McpServerCredential
*/
select?: Prisma.McpServerCredentialSelect<ExtArgs> | null
/**
* Omit specific fields from the McpServerCredential
*/
omit?: Prisma.McpServerCredentialOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.McpServerCredentialInclude<ExtArgs> | null
/**
* Filter, which McpServerCredential to fetch.
*/
where: Prisma.McpServerCredentialWhereUniqueInput
}
/**
* McpServerCredential findFirst
*/
export type McpServerCredentialFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the McpServerCredential
*/
select?: Prisma.McpServerCredentialSelect<ExtArgs> | null
/**
* Omit specific fields from the McpServerCredential
*/
omit?: Prisma.McpServerCredentialOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.McpServerCredentialInclude<ExtArgs> | null
/**
* Filter, which McpServerCredential to fetch.
*/
where?: Prisma.McpServerCredentialWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of McpServerCredentials to fetch.
*/
orderBy?: Prisma.McpServerCredentialOrderByWithRelationInput | Prisma.McpServerCredentialOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for McpServerCredentials.
*/
cursor?: Prisma.McpServerCredentialWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` McpServerCredentials 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` McpServerCredentials.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of McpServerCredentials.
*/
distinct?: Prisma.McpServerCredentialScalarFieldEnum | Prisma.McpServerCredentialScalarFieldEnum[]
}
/**
* McpServerCredential findFirstOrThrow
*/
export type McpServerCredentialFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the McpServerCredential
*/
select?: Prisma.McpServerCredentialSelect<ExtArgs> | null
/**
* Omit specific fields from the McpServerCredential
*/
omit?: Prisma.McpServerCredentialOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.McpServerCredentialInclude<ExtArgs> | null
/**
* Filter, which McpServerCredential to fetch.
*/
where?: Prisma.McpServerCredentialWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of McpServerCredentials to fetch.
*/
orderBy?: Prisma.McpServerCredentialOrderByWithRelationInput | Prisma.McpServerCredentialOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for McpServerCredentials.
*/
cursor?: Prisma.McpServerCredentialWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` McpServerCredentials 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` McpServerCredentials.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of McpServerCredentials.
*/
distinct?: Prisma.McpServerCredentialScalarFieldEnum | Prisma.McpServerCredentialScalarFieldEnum[]
}
/**
* McpServerCredential findMany
*/
export type McpServerCredentialFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the McpServerCredential
*/
select?: Prisma.McpServerCredentialSelect<ExtArgs> | null
/**
* Omit specific fields from the McpServerCredential
*/
omit?: Prisma.McpServerCredentialOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.McpServerCredentialInclude<ExtArgs> | null
/**
* Filter, which McpServerCredentials to fetch.
*/
where?: Prisma.McpServerCredentialWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of McpServerCredentials to fetch.
*/
orderBy?: Prisma.McpServerCredentialOrderByWithRelationInput | Prisma.McpServerCredentialOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for listing McpServerCredentials.
*/
cursor?: Prisma.McpServerCredentialWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` McpServerCredentials 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` McpServerCredentials.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of McpServerCredentials.
*/
distinct?: Prisma.McpServerCredentialScalarFieldEnum | Prisma.McpServerCredentialScalarFieldEnum[]
}
/**
* McpServerCredential create
*/
export type McpServerCredentialCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the McpServerCredential
*/
select?: Prisma.McpServerCredentialSelect<ExtArgs> | null
/**
* Omit specific fields from the McpServerCredential
*/
omit?: Prisma.McpServerCredentialOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.McpServerCredentialInclude<ExtArgs> | null
/**
* The data needed to create a McpServerCredential.
*/
data: Prisma.XOR<Prisma.McpServerCredentialCreateInput, Prisma.McpServerCredentialUncheckedCreateInput>
}
/**
* McpServerCredential createMany
*/
export type McpServerCredentialCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to create many McpServerCredentials.
*/
data: Prisma.McpServerCredentialCreateManyInput | Prisma.McpServerCredentialCreateManyInput[]
skipDuplicates?: boolean
}
/**
* McpServerCredential createManyAndReturn
*/
export type McpServerCredentialCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the McpServerCredential
*/
select?: Prisma.McpServerCredentialSelectCreateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the McpServerCredential
*/
omit?: Prisma.McpServerCredentialOmit<ExtArgs> | null
/**
* The data used to create many McpServerCredentials.
*/
data: Prisma.McpServerCredentialCreateManyInput | Prisma.McpServerCredentialCreateManyInput[]
skipDuplicates?: boolean
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.McpServerCredentialIncludeCreateManyAndReturn<ExtArgs> | null
}
/**
* McpServerCredential update
*/
export type McpServerCredentialUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the McpServerCredential
*/
select?: Prisma.McpServerCredentialSelect<ExtArgs> | null
/**
* Omit specific fields from the McpServerCredential
*/
omit?: Prisma.McpServerCredentialOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.McpServerCredentialInclude<ExtArgs> | null
/**
* The data needed to update a McpServerCredential.
*/
data: Prisma.XOR<Prisma.McpServerCredentialUpdateInput, Prisma.McpServerCredentialUncheckedUpdateInput>
/**
* Choose, which McpServerCredential to update.
*/
where: Prisma.McpServerCredentialWhereUniqueInput
}
/**
* McpServerCredential updateMany
*/
export type McpServerCredentialUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to update McpServerCredentials.
*/
data: Prisma.XOR<Prisma.McpServerCredentialUpdateManyMutationInput, Prisma.McpServerCredentialUncheckedUpdateManyInput>
/**
* Filter which McpServerCredentials to update
*/
where?: Prisma.McpServerCredentialWhereInput
/**
* Limit how many McpServerCredentials to update.
*/
limit?: number
}
/**
* McpServerCredential updateManyAndReturn
*/
export type McpServerCredentialUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the McpServerCredential
*/
select?: Prisma.McpServerCredentialSelectUpdateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the McpServerCredential
*/
omit?: Prisma.McpServerCredentialOmit<ExtArgs> | null
/**
* The data used to update McpServerCredentials.
*/
data: Prisma.XOR<Prisma.McpServerCredentialUpdateManyMutationInput, Prisma.McpServerCredentialUncheckedUpdateManyInput>
/**
* Filter which McpServerCredentials to update
*/
where?: Prisma.McpServerCredentialWhereInput
/**
* Limit how many McpServerCredentials to update.
*/
limit?: number
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.McpServerCredentialIncludeUpdateManyAndReturn<ExtArgs> | null
}
/**
* McpServerCredential upsert
*/
export type McpServerCredentialUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the McpServerCredential
*/
select?: Prisma.McpServerCredentialSelect<ExtArgs> | null
/**
* Omit specific fields from the McpServerCredential
*/
omit?: Prisma.McpServerCredentialOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.McpServerCredentialInclude<ExtArgs> | null
/**
* The filter to search for the McpServerCredential to update in case it exists.
*/
where: Prisma.McpServerCredentialWhereUniqueInput
/**
* In case the McpServerCredential found by the `where` argument doesn't exist, create a new McpServerCredential with this data.
*/
create: Prisma.XOR<Prisma.McpServerCredentialCreateInput, Prisma.McpServerCredentialUncheckedCreateInput>
/**
* In case the McpServerCredential was found with the provided `where` argument, update it with this data.
*/
update: Prisma.XOR<Prisma.McpServerCredentialUpdateInput, Prisma.McpServerCredentialUncheckedUpdateInput>
}
/**
* McpServerCredential delete
*/
export type McpServerCredentialDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the McpServerCredential
*/
select?: Prisma.McpServerCredentialSelect<ExtArgs> | null
/**
* Omit specific fields from the McpServerCredential
*/
omit?: Prisma.McpServerCredentialOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.McpServerCredentialInclude<ExtArgs> | null
/**
* Filter which McpServerCredential to delete.
*/
where: Prisma.McpServerCredentialWhereUniqueInput
}
/**
* McpServerCredential deleteMany
*/
export type McpServerCredentialDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which McpServerCredentials to delete
*/
where?: Prisma.McpServerCredentialWhereInput
/**
* Limit how many McpServerCredentials to delete.
*/
limit?: number
}
/**
* McpServerCredential without action
*/
export type McpServerCredentialDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the McpServerCredential
*/
select?: Prisma.McpServerCredentialSelect<ExtArgs> | null
/**
* Omit specific fields from the McpServerCredential
*/
omit?: Prisma.McpServerCredentialOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.McpServerCredentialInclude<ExtArgs> | null
}