/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `McpOAuthClient` model and its related types. * * 🟢 You can import this file directly. */ import type * as runtime from "@prisma/client/runtime/client" import type * as $Enums from "../enums.ts" import type * as Prisma from "../internal/prismaNamespace.ts" /** * Model McpOAuthClient * */ export type McpOAuthClientModel = runtime.Types.Result.DefaultSelection export type AggregateMcpOAuthClient = { _count: McpOAuthClientCountAggregateOutputType | null _min: McpOAuthClientMinAggregateOutputType | null _max: McpOAuthClientMaxAggregateOutputType | null } export type McpOAuthClientMinAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null clientId: string | null clientName: string | null active: boolean | null } export type McpOAuthClientMaxAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null clientId: string | null clientName: string | null active: boolean | null } export type McpOAuthClientCountAggregateOutputType = { id: number createdAt: number updatedAt: number clientId: number clientName: number redirectUris: number grantTypes: number scopes: number contacts: number metadata: number active: number _all: number } export type McpOAuthClientMinAggregateInputType = { id?: true createdAt?: true updatedAt?: true clientId?: true clientName?: true active?: true } export type McpOAuthClientMaxAggregateInputType = { id?: true createdAt?: true updatedAt?: true clientId?: true clientName?: true active?: true } export type McpOAuthClientCountAggregateInputType = { id?: true createdAt?: true updatedAt?: true clientId?: true clientName?: true redirectUris?: true grantTypes?: true scopes?: true contacts?: true metadata?: true active?: true _all?: true } export type McpOAuthClientAggregateArgs = { /** * Filter which McpOAuthClient to aggregate. */ where?: Prisma.McpOAuthClientWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of McpOAuthClients to fetch. */ orderBy?: Prisma.McpOAuthClientOrderByWithRelationInput | Prisma.McpOAuthClientOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.McpOAuthClientWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` McpOAuthClients 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` McpOAuthClients. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned McpOAuthClients **/ _count?: true | McpOAuthClientCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: McpOAuthClientMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: McpOAuthClientMaxAggregateInputType } export type GetMcpOAuthClientAggregateType = { [P in keyof T & keyof AggregateMcpOAuthClient]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type McpOAuthClientGroupByArgs = { where?: Prisma.McpOAuthClientWhereInput orderBy?: Prisma.McpOAuthClientOrderByWithAggregationInput | Prisma.McpOAuthClientOrderByWithAggregationInput[] by: Prisma.McpOAuthClientScalarFieldEnum[] | Prisma.McpOAuthClientScalarFieldEnum having?: Prisma.McpOAuthClientScalarWhereWithAggregatesInput take?: number skip?: number _count?: McpOAuthClientCountAggregateInputType | true _min?: McpOAuthClientMinAggregateInputType _max?: McpOAuthClientMaxAggregateInputType } export type McpOAuthClientGroupByOutputType = { id: string createdAt: Date updatedAt: Date clientId: string clientName: string redirectUris: runtime.JsonValue grantTypes: runtime.JsonValue scopes: runtime.JsonValue contacts: runtime.JsonValue | null metadata: runtime.JsonValue | null active: boolean _count: McpOAuthClientCountAggregateOutputType | null _min: McpOAuthClientMinAggregateOutputType | null _max: McpOAuthClientMaxAggregateOutputType | null } export type GetMcpOAuthClientGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof McpOAuthClientGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type McpOAuthClientWhereInput = { AND?: Prisma.McpOAuthClientWhereInput | Prisma.McpOAuthClientWhereInput[] OR?: Prisma.McpOAuthClientWhereInput[] NOT?: Prisma.McpOAuthClientWhereInput | Prisma.McpOAuthClientWhereInput[] id?: Prisma.StringFilter<"McpOAuthClient"> | string createdAt?: Prisma.DateTimeFilter<"McpOAuthClient"> | Date | string updatedAt?: Prisma.DateTimeFilter<"McpOAuthClient"> | Date | string clientId?: Prisma.StringFilter<"McpOAuthClient"> | string clientName?: Prisma.StringFilter<"McpOAuthClient"> | string redirectUris?: Prisma.JsonFilter<"McpOAuthClient"> grantTypes?: Prisma.JsonFilter<"McpOAuthClient"> scopes?: Prisma.JsonFilter<"McpOAuthClient"> contacts?: Prisma.JsonNullableFilter<"McpOAuthClient"> metadata?: Prisma.JsonNullableFilter<"McpOAuthClient"> active?: Prisma.BoolFilter<"McpOAuthClient"> | boolean authorizationCodes?: Prisma.McpOAuthAuthorizationCodeListRelationFilter accessTokens?: Prisma.McpOAuthAccessTokenListRelationFilter refreshTokens?: Prisma.McpOAuthRefreshTokenListRelationFilter } export type McpOAuthClientOrderByWithRelationInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder clientId?: Prisma.SortOrder clientName?: Prisma.SortOrder redirectUris?: Prisma.SortOrder grantTypes?: Prisma.SortOrder scopes?: Prisma.SortOrder contacts?: Prisma.SortOrderInput | Prisma.SortOrder metadata?: Prisma.SortOrderInput | Prisma.SortOrder active?: Prisma.SortOrder authorizationCodes?: Prisma.McpOAuthAuthorizationCodeOrderByRelationAggregateInput accessTokens?: Prisma.McpOAuthAccessTokenOrderByRelationAggregateInput refreshTokens?: Prisma.McpOAuthRefreshTokenOrderByRelationAggregateInput } export type McpOAuthClientWhereUniqueInput = Prisma.AtLeast<{ id?: string clientId?: string AND?: Prisma.McpOAuthClientWhereInput | Prisma.McpOAuthClientWhereInput[] OR?: Prisma.McpOAuthClientWhereInput[] NOT?: Prisma.McpOAuthClientWhereInput | Prisma.McpOAuthClientWhereInput[] createdAt?: Prisma.DateTimeFilter<"McpOAuthClient"> | Date | string updatedAt?: Prisma.DateTimeFilter<"McpOAuthClient"> | Date | string clientName?: Prisma.StringFilter<"McpOAuthClient"> | string redirectUris?: Prisma.JsonFilter<"McpOAuthClient"> grantTypes?: Prisma.JsonFilter<"McpOAuthClient"> scopes?: Prisma.JsonFilter<"McpOAuthClient"> contacts?: Prisma.JsonNullableFilter<"McpOAuthClient"> metadata?: Prisma.JsonNullableFilter<"McpOAuthClient"> active?: Prisma.BoolFilter<"McpOAuthClient"> | boolean authorizationCodes?: Prisma.McpOAuthAuthorizationCodeListRelationFilter accessTokens?: Prisma.McpOAuthAccessTokenListRelationFilter refreshTokens?: Prisma.McpOAuthRefreshTokenListRelationFilter }, "id" | "clientId"> export type McpOAuthClientOrderByWithAggregationInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder clientId?: Prisma.SortOrder clientName?: Prisma.SortOrder redirectUris?: Prisma.SortOrder grantTypes?: Prisma.SortOrder scopes?: Prisma.SortOrder contacts?: Prisma.SortOrderInput | Prisma.SortOrder metadata?: Prisma.SortOrderInput | Prisma.SortOrder active?: Prisma.SortOrder _count?: Prisma.McpOAuthClientCountOrderByAggregateInput _max?: Prisma.McpOAuthClientMaxOrderByAggregateInput _min?: Prisma.McpOAuthClientMinOrderByAggregateInput } export type McpOAuthClientScalarWhereWithAggregatesInput = { AND?: Prisma.McpOAuthClientScalarWhereWithAggregatesInput | Prisma.McpOAuthClientScalarWhereWithAggregatesInput[] OR?: Prisma.McpOAuthClientScalarWhereWithAggregatesInput[] NOT?: Prisma.McpOAuthClientScalarWhereWithAggregatesInput | Prisma.McpOAuthClientScalarWhereWithAggregatesInput[] id?: Prisma.StringWithAggregatesFilter<"McpOAuthClient"> | string createdAt?: Prisma.DateTimeWithAggregatesFilter<"McpOAuthClient"> | Date | string updatedAt?: Prisma.DateTimeWithAggregatesFilter<"McpOAuthClient"> | Date | string clientId?: Prisma.StringWithAggregatesFilter<"McpOAuthClient"> | string clientName?: Prisma.StringWithAggregatesFilter<"McpOAuthClient"> | string redirectUris?: Prisma.JsonWithAggregatesFilter<"McpOAuthClient"> grantTypes?: Prisma.JsonWithAggregatesFilter<"McpOAuthClient"> scopes?: Prisma.JsonWithAggregatesFilter<"McpOAuthClient"> contacts?: Prisma.JsonNullableWithAggregatesFilter<"McpOAuthClient"> metadata?: Prisma.JsonNullableWithAggregatesFilter<"McpOAuthClient"> active?: Prisma.BoolWithAggregatesFilter<"McpOAuthClient"> | boolean } export type McpOAuthClientCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string clientId: string clientName: string redirectUris: Prisma.JsonNullValueInput | runtime.InputJsonValue grantTypes?: Prisma.JsonNullValueInput | runtime.InputJsonValue scopes?: Prisma.JsonNullValueInput | runtime.InputJsonValue contacts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue active?: boolean authorizationCodes?: Prisma.McpOAuthAuthorizationCodeCreateNestedManyWithoutClientInput accessTokens?: Prisma.McpOAuthAccessTokenCreateNestedManyWithoutClientInput refreshTokens?: Prisma.McpOAuthRefreshTokenCreateNestedManyWithoutClientInput } export type McpOAuthClientUncheckedCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string clientId: string clientName: string redirectUris: Prisma.JsonNullValueInput | runtime.InputJsonValue grantTypes?: Prisma.JsonNullValueInput | runtime.InputJsonValue scopes?: Prisma.JsonNullValueInput | runtime.InputJsonValue contacts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue active?: boolean authorizationCodes?: Prisma.McpOAuthAuthorizationCodeUncheckedCreateNestedManyWithoutClientInput accessTokens?: Prisma.McpOAuthAccessTokenUncheckedCreateNestedManyWithoutClientInput refreshTokens?: Prisma.McpOAuthRefreshTokenUncheckedCreateNestedManyWithoutClientInput } export type McpOAuthClientUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string clientId?: Prisma.StringFieldUpdateOperationsInput | string clientName?: Prisma.StringFieldUpdateOperationsInput | string redirectUris?: Prisma.JsonNullValueInput | runtime.InputJsonValue grantTypes?: Prisma.JsonNullValueInput | runtime.InputJsonValue scopes?: Prisma.JsonNullValueInput | runtime.InputJsonValue contacts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue active?: Prisma.BoolFieldUpdateOperationsInput | boolean authorizationCodes?: Prisma.McpOAuthAuthorizationCodeUpdateManyWithoutClientNestedInput accessTokens?: Prisma.McpOAuthAccessTokenUpdateManyWithoutClientNestedInput refreshTokens?: Prisma.McpOAuthRefreshTokenUpdateManyWithoutClientNestedInput } export type McpOAuthClientUncheckedUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string clientId?: Prisma.StringFieldUpdateOperationsInput | string clientName?: Prisma.StringFieldUpdateOperationsInput | string redirectUris?: Prisma.JsonNullValueInput | runtime.InputJsonValue grantTypes?: Prisma.JsonNullValueInput | runtime.InputJsonValue scopes?: Prisma.JsonNullValueInput | runtime.InputJsonValue contacts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue active?: Prisma.BoolFieldUpdateOperationsInput | boolean authorizationCodes?: Prisma.McpOAuthAuthorizationCodeUncheckedUpdateManyWithoutClientNestedInput accessTokens?: Prisma.McpOAuthAccessTokenUncheckedUpdateManyWithoutClientNestedInput refreshTokens?: Prisma.McpOAuthRefreshTokenUncheckedUpdateManyWithoutClientNestedInput } export type McpOAuthClientCreateManyInput = { id?: string createdAt?: Date | string updatedAt?: Date | string clientId: string clientName: string redirectUris: Prisma.JsonNullValueInput | runtime.InputJsonValue grantTypes?: Prisma.JsonNullValueInput | runtime.InputJsonValue scopes?: Prisma.JsonNullValueInput | runtime.InputJsonValue contacts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue active?: boolean } export type McpOAuthClientUpdateManyMutationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string clientId?: Prisma.StringFieldUpdateOperationsInput | string clientName?: Prisma.StringFieldUpdateOperationsInput | string redirectUris?: Prisma.JsonNullValueInput | runtime.InputJsonValue grantTypes?: Prisma.JsonNullValueInput | runtime.InputJsonValue scopes?: Prisma.JsonNullValueInput | runtime.InputJsonValue contacts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue active?: Prisma.BoolFieldUpdateOperationsInput | boolean } export type McpOAuthClientUncheckedUpdateManyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string clientId?: Prisma.StringFieldUpdateOperationsInput | string clientName?: Prisma.StringFieldUpdateOperationsInput | string redirectUris?: Prisma.JsonNullValueInput | runtime.InputJsonValue grantTypes?: Prisma.JsonNullValueInput | runtime.InputJsonValue scopes?: Prisma.JsonNullValueInput | runtime.InputJsonValue contacts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue active?: Prisma.BoolFieldUpdateOperationsInput | boolean } export type McpOAuthClientCountOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder clientId?: Prisma.SortOrder clientName?: Prisma.SortOrder redirectUris?: Prisma.SortOrder grantTypes?: Prisma.SortOrder scopes?: Prisma.SortOrder contacts?: Prisma.SortOrder metadata?: Prisma.SortOrder active?: Prisma.SortOrder } export type McpOAuthClientMaxOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder clientId?: Prisma.SortOrder clientName?: Prisma.SortOrder active?: Prisma.SortOrder } export type McpOAuthClientMinOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder clientId?: Prisma.SortOrder clientName?: Prisma.SortOrder active?: Prisma.SortOrder } export type McpOAuthClientScalarRelationFilter = { is?: Prisma.McpOAuthClientWhereInput isNot?: Prisma.McpOAuthClientWhereInput } export type McpOAuthClientCreateNestedOneWithoutAuthorizationCodesInput = { create?: Prisma.XOR connectOrCreate?: Prisma.McpOAuthClientCreateOrConnectWithoutAuthorizationCodesInput connect?: Prisma.McpOAuthClientWhereUniqueInput } export type McpOAuthClientUpdateOneRequiredWithoutAuthorizationCodesNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.McpOAuthClientCreateOrConnectWithoutAuthorizationCodesInput upsert?: Prisma.McpOAuthClientUpsertWithoutAuthorizationCodesInput connect?: Prisma.McpOAuthClientWhereUniqueInput update?: Prisma.XOR, Prisma.McpOAuthClientUncheckedUpdateWithoutAuthorizationCodesInput> } export type McpOAuthClientCreateNestedOneWithoutAccessTokensInput = { create?: Prisma.XOR connectOrCreate?: Prisma.McpOAuthClientCreateOrConnectWithoutAccessTokensInput connect?: Prisma.McpOAuthClientWhereUniqueInput } export type McpOAuthClientUpdateOneRequiredWithoutAccessTokensNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.McpOAuthClientCreateOrConnectWithoutAccessTokensInput upsert?: Prisma.McpOAuthClientUpsertWithoutAccessTokensInput connect?: Prisma.McpOAuthClientWhereUniqueInput update?: Prisma.XOR, Prisma.McpOAuthClientUncheckedUpdateWithoutAccessTokensInput> } export type McpOAuthClientCreateNestedOneWithoutRefreshTokensInput = { create?: Prisma.XOR connectOrCreate?: Prisma.McpOAuthClientCreateOrConnectWithoutRefreshTokensInput connect?: Prisma.McpOAuthClientWhereUniqueInput } export type McpOAuthClientUpdateOneRequiredWithoutRefreshTokensNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.McpOAuthClientCreateOrConnectWithoutRefreshTokensInput upsert?: Prisma.McpOAuthClientUpsertWithoutRefreshTokensInput connect?: Prisma.McpOAuthClientWhereUniqueInput update?: Prisma.XOR, Prisma.McpOAuthClientUncheckedUpdateWithoutRefreshTokensInput> } export type McpOAuthClientCreateWithoutAuthorizationCodesInput = { id?: string createdAt?: Date | string updatedAt?: Date | string clientId: string clientName: string redirectUris: Prisma.JsonNullValueInput | runtime.InputJsonValue grantTypes?: Prisma.JsonNullValueInput | runtime.InputJsonValue scopes?: Prisma.JsonNullValueInput | runtime.InputJsonValue contacts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue active?: boolean accessTokens?: Prisma.McpOAuthAccessTokenCreateNestedManyWithoutClientInput refreshTokens?: Prisma.McpOAuthRefreshTokenCreateNestedManyWithoutClientInput } export type McpOAuthClientUncheckedCreateWithoutAuthorizationCodesInput = { id?: string createdAt?: Date | string updatedAt?: Date | string clientId: string clientName: string redirectUris: Prisma.JsonNullValueInput | runtime.InputJsonValue grantTypes?: Prisma.JsonNullValueInput | runtime.InputJsonValue scopes?: Prisma.JsonNullValueInput | runtime.InputJsonValue contacts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue active?: boolean accessTokens?: Prisma.McpOAuthAccessTokenUncheckedCreateNestedManyWithoutClientInput refreshTokens?: Prisma.McpOAuthRefreshTokenUncheckedCreateNestedManyWithoutClientInput } export type McpOAuthClientCreateOrConnectWithoutAuthorizationCodesInput = { where: Prisma.McpOAuthClientWhereUniqueInput create: Prisma.XOR } export type McpOAuthClientUpsertWithoutAuthorizationCodesInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.McpOAuthClientWhereInput } export type McpOAuthClientUpdateToOneWithWhereWithoutAuthorizationCodesInput = { where?: Prisma.McpOAuthClientWhereInput data: Prisma.XOR } export type McpOAuthClientUpdateWithoutAuthorizationCodesInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string clientId?: Prisma.StringFieldUpdateOperationsInput | string clientName?: Prisma.StringFieldUpdateOperationsInput | string redirectUris?: Prisma.JsonNullValueInput | runtime.InputJsonValue grantTypes?: Prisma.JsonNullValueInput | runtime.InputJsonValue scopes?: Prisma.JsonNullValueInput | runtime.InputJsonValue contacts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue active?: Prisma.BoolFieldUpdateOperationsInput | boolean accessTokens?: Prisma.McpOAuthAccessTokenUpdateManyWithoutClientNestedInput refreshTokens?: Prisma.McpOAuthRefreshTokenUpdateManyWithoutClientNestedInput } export type McpOAuthClientUncheckedUpdateWithoutAuthorizationCodesInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string clientId?: Prisma.StringFieldUpdateOperationsInput | string clientName?: Prisma.StringFieldUpdateOperationsInput | string redirectUris?: Prisma.JsonNullValueInput | runtime.InputJsonValue grantTypes?: Prisma.JsonNullValueInput | runtime.InputJsonValue scopes?: Prisma.JsonNullValueInput | runtime.InputJsonValue contacts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue active?: Prisma.BoolFieldUpdateOperationsInput | boolean accessTokens?: Prisma.McpOAuthAccessTokenUncheckedUpdateManyWithoutClientNestedInput refreshTokens?: Prisma.McpOAuthRefreshTokenUncheckedUpdateManyWithoutClientNestedInput } export type McpOAuthClientCreateWithoutAccessTokensInput = { id?: string createdAt?: Date | string updatedAt?: Date | string clientId: string clientName: string redirectUris: Prisma.JsonNullValueInput | runtime.InputJsonValue grantTypes?: Prisma.JsonNullValueInput | runtime.InputJsonValue scopes?: Prisma.JsonNullValueInput | runtime.InputJsonValue contacts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue active?: boolean authorizationCodes?: Prisma.McpOAuthAuthorizationCodeCreateNestedManyWithoutClientInput refreshTokens?: Prisma.McpOAuthRefreshTokenCreateNestedManyWithoutClientInput } export type McpOAuthClientUncheckedCreateWithoutAccessTokensInput = { id?: string createdAt?: Date | string updatedAt?: Date | string clientId: string clientName: string redirectUris: Prisma.JsonNullValueInput | runtime.InputJsonValue grantTypes?: Prisma.JsonNullValueInput | runtime.InputJsonValue scopes?: Prisma.JsonNullValueInput | runtime.InputJsonValue contacts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue active?: boolean authorizationCodes?: Prisma.McpOAuthAuthorizationCodeUncheckedCreateNestedManyWithoutClientInput refreshTokens?: Prisma.McpOAuthRefreshTokenUncheckedCreateNestedManyWithoutClientInput } export type McpOAuthClientCreateOrConnectWithoutAccessTokensInput = { where: Prisma.McpOAuthClientWhereUniqueInput create: Prisma.XOR } export type McpOAuthClientUpsertWithoutAccessTokensInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.McpOAuthClientWhereInput } export type McpOAuthClientUpdateToOneWithWhereWithoutAccessTokensInput = { where?: Prisma.McpOAuthClientWhereInput data: Prisma.XOR } export type McpOAuthClientUpdateWithoutAccessTokensInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string clientId?: Prisma.StringFieldUpdateOperationsInput | string clientName?: Prisma.StringFieldUpdateOperationsInput | string redirectUris?: Prisma.JsonNullValueInput | runtime.InputJsonValue grantTypes?: Prisma.JsonNullValueInput | runtime.InputJsonValue scopes?: Prisma.JsonNullValueInput | runtime.InputJsonValue contacts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue active?: Prisma.BoolFieldUpdateOperationsInput | boolean authorizationCodes?: Prisma.McpOAuthAuthorizationCodeUpdateManyWithoutClientNestedInput refreshTokens?: Prisma.McpOAuthRefreshTokenUpdateManyWithoutClientNestedInput } export type McpOAuthClientUncheckedUpdateWithoutAccessTokensInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string clientId?: Prisma.StringFieldUpdateOperationsInput | string clientName?: Prisma.StringFieldUpdateOperationsInput | string redirectUris?: Prisma.JsonNullValueInput | runtime.InputJsonValue grantTypes?: Prisma.JsonNullValueInput | runtime.InputJsonValue scopes?: Prisma.JsonNullValueInput | runtime.InputJsonValue contacts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue active?: Prisma.BoolFieldUpdateOperationsInput | boolean authorizationCodes?: Prisma.McpOAuthAuthorizationCodeUncheckedUpdateManyWithoutClientNestedInput refreshTokens?: Prisma.McpOAuthRefreshTokenUncheckedUpdateManyWithoutClientNestedInput } export type McpOAuthClientCreateWithoutRefreshTokensInput = { id?: string createdAt?: Date | string updatedAt?: Date | string clientId: string clientName: string redirectUris: Prisma.JsonNullValueInput | runtime.InputJsonValue grantTypes?: Prisma.JsonNullValueInput | runtime.InputJsonValue scopes?: Prisma.JsonNullValueInput | runtime.InputJsonValue contacts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue active?: boolean authorizationCodes?: Prisma.McpOAuthAuthorizationCodeCreateNestedManyWithoutClientInput accessTokens?: Prisma.McpOAuthAccessTokenCreateNestedManyWithoutClientInput } export type McpOAuthClientUncheckedCreateWithoutRefreshTokensInput = { id?: string createdAt?: Date | string updatedAt?: Date | string clientId: string clientName: string redirectUris: Prisma.JsonNullValueInput | runtime.InputJsonValue grantTypes?: Prisma.JsonNullValueInput | runtime.InputJsonValue scopes?: Prisma.JsonNullValueInput | runtime.InputJsonValue contacts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue active?: boolean authorizationCodes?: Prisma.McpOAuthAuthorizationCodeUncheckedCreateNestedManyWithoutClientInput accessTokens?: Prisma.McpOAuthAccessTokenUncheckedCreateNestedManyWithoutClientInput } export type McpOAuthClientCreateOrConnectWithoutRefreshTokensInput = { where: Prisma.McpOAuthClientWhereUniqueInput create: Prisma.XOR } export type McpOAuthClientUpsertWithoutRefreshTokensInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.McpOAuthClientWhereInput } export type McpOAuthClientUpdateToOneWithWhereWithoutRefreshTokensInput = { where?: Prisma.McpOAuthClientWhereInput data: Prisma.XOR } export type McpOAuthClientUpdateWithoutRefreshTokensInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string clientId?: Prisma.StringFieldUpdateOperationsInput | string clientName?: Prisma.StringFieldUpdateOperationsInput | string redirectUris?: Prisma.JsonNullValueInput | runtime.InputJsonValue grantTypes?: Prisma.JsonNullValueInput | runtime.InputJsonValue scopes?: Prisma.JsonNullValueInput | runtime.InputJsonValue contacts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue active?: Prisma.BoolFieldUpdateOperationsInput | boolean authorizationCodes?: Prisma.McpOAuthAuthorizationCodeUpdateManyWithoutClientNestedInput accessTokens?: Prisma.McpOAuthAccessTokenUpdateManyWithoutClientNestedInput } export type McpOAuthClientUncheckedUpdateWithoutRefreshTokensInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string clientId?: Prisma.StringFieldUpdateOperationsInput | string clientName?: Prisma.StringFieldUpdateOperationsInput | string redirectUris?: Prisma.JsonNullValueInput | runtime.InputJsonValue grantTypes?: Prisma.JsonNullValueInput | runtime.InputJsonValue scopes?: Prisma.JsonNullValueInput | runtime.InputJsonValue contacts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue active?: Prisma.BoolFieldUpdateOperationsInput | boolean authorizationCodes?: Prisma.McpOAuthAuthorizationCodeUncheckedUpdateManyWithoutClientNestedInput accessTokens?: Prisma.McpOAuthAccessTokenUncheckedUpdateManyWithoutClientNestedInput } /** * Count Type McpOAuthClientCountOutputType */ export type McpOAuthClientCountOutputType = { authorizationCodes: number accessTokens: number refreshTokens: number } export type McpOAuthClientCountOutputTypeSelect = { authorizationCodes?: boolean | McpOAuthClientCountOutputTypeCountAuthorizationCodesArgs accessTokens?: boolean | McpOAuthClientCountOutputTypeCountAccessTokensArgs refreshTokens?: boolean | McpOAuthClientCountOutputTypeCountRefreshTokensArgs } /** * McpOAuthClientCountOutputType without action */ export type McpOAuthClientCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the McpOAuthClientCountOutputType */ select?: Prisma.McpOAuthClientCountOutputTypeSelect | null } /** * McpOAuthClientCountOutputType without action */ export type McpOAuthClientCountOutputTypeCountAuthorizationCodesArgs = { where?: Prisma.McpOAuthAuthorizationCodeWhereInput } /** * McpOAuthClientCountOutputType without action */ export type McpOAuthClientCountOutputTypeCountAccessTokensArgs = { where?: Prisma.McpOAuthAccessTokenWhereInput } /** * McpOAuthClientCountOutputType without action */ export type McpOAuthClientCountOutputTypeCountRefreshTokensArgs = { where?: Prisma.McpOAuthRefreshTokenWhereInput } export type McpOAuthClientSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean clientId?: boolean clientName?: boolean redirectUris?: boolean grantTypes?: boolean scopes?: boolean contacts?: boolean metadata?: boolean active?: boolean authorizationCodes?: boolean | Prisma.McpOAuthClient$authorizationCodesArgs accessTokens?: boolean | Prisma.McpOAuthClient$accessTokensArgs refreshTokens?: boolean | Prisma.McpOAuthClient$refreshTokensArgs _count?: boolean | Prisma.McpOAuthClientCountOutputTypeDefaultArgs }, ExtArgs["result"]["mcpOAuthClient"]> export type McpOAuthClientSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean clientId?: boolean clientName?: boolean redirectUris?: boolean grantTypes?: boolean scopes?: boolean contacts?: boolean metadata?: boolean active?: boolean }, ExtArgs["result"]["mcpOAuthClient"]> export type McpOAuthClientSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean clientId?: boolean clientName?: boolean redirectUris?: boolean grantTypes?: boolean scopes?: boolean contacts?: boolean metadata?: boolean active?: boolean }, ExtArgs["result"]["mcpOAuthClient"]> export type McpOAuthClientSelectScalar = { id?: boolean createdAt?: boolean updatedAt?: boolean clientId?: boolean clientName?: boolean redirectUris?: boolean grantTypes?: boolean scopes?: boolean contacts?: boolean metadata?: boolean active?: boolean } export type McpOAuthClientOmit = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "clientId" | "clientName" | "redirectUris" | "grantTypes" | "scopes" | "contacts" | "metadata" | "active", ExtArgs["result"]["mcpOAuthClient"]> export type McpOAuthClientInclude = { authorizationCodes?: boolean | Prisma.McpOAuthClient$authorizationCodesArgs accessTokens?: boolean | Prisma.McpOAuthClient$accessTokensArgs refreshTokens?: boolean | Prisma.McpOAuthClient$refreshTokensArgs _count?: boolean | Prisma.McpOAuthClientCountOutputTypeDefaultArgs } export type McpOAuthClientIncludeCreateManyAndReturn = {} export type McpOAuthClientIncludeUpdateManyAndReturn = {} export type $McpOAuthClientPayload = { name: "McpOAuthClient" objects: { authorizationCodes: Prisma.$McpOAuthAuthorizationCodePayload[] accessTokens: Prisma.$McpOAuthAccessTokenPayload[] refreshTokens: Prisma.$McpOAuthRefreshTokenPayload[] } scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string createdAt: Date updatedAt: Date clientId: string clientName: string redirectUris: runtime.JsonValue grantTypes: runtime.JsonValue scopes: runtime.JsonValue contacts: runtime.JsonValue | null metadata: runtime.JsonValue | null active: boolean }, ExtArgs["result"]["mcpOAuthClient"]> composites: {} } export type McpOAuthClientGetPayload = runtime.Types.Result.GetResult export type McpOAuthClientCountArgs = Omit & { select?: McpOAuthClientCountAggregateInputType | true } export interface McpOAuthClientDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['McpOAuthClient'], meta: { name: 'McpOAuthClient' } } /** * Find zero or one McpOAuthClient that matches the filter. * @param {McpOAuthClientFindUniqueArgs} args - Arguments to find a McpOAuthClient * @example * // Get one McpOAuthClient * const mcpOAuthClient = await prisma.mcpOAuthClient.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__McpOAuthClientClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one McpOAuthClient that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {McpOAuthClientFindUniqueOrThrowArgs} args - Arguments to find a McpOAuthClient * @example * // Get one McpOAuthClient * const mcpOAuthClient = await prisma.mcpOAuthClient.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__McpOAuthClientClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first McpOAuthClient 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 {McpOAuthClientFindFirstArgs} args - Arguments to find a McpOAuthClient * @example * // Get one McpOAuthClient * const mcpOAuthClient = await prisma.mcpOAuthClient.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__McpOAuthClientClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first McpOAuthClient 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 {McpOAuthClientFindFirstOrThrowArgs} args - Arguments to find a McpOAuthClient * @example * // Get one McpOAuthClient * const mcpOAuthClient = await prisma.mcpOAuthClient.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__McpOAuthClientClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more McpOAuthClients 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 {McpOAuthClientFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all McpOAuthClients * const mcpOAuthClients = await prisma.mcpOAuthClient.findMany() * * // Get first 10 McpOAuthClients * const mcpOAuthClients = await prisma.mcpOAuthClient.findMany({ take: 10 }) * * // Only select the `id` * const mcpOAuthClientWithIdOnly = await prisma.mcpOAuthClient.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a McpOAuthClient. * @param {McpOAuthClientCreateArgs} args - Arguments to create a McpOAuthClient. * @example * // Create one McpOAuthClient * const McpOAuthClient = await prisma.mcpOAuthClient.create({ * data: { * // ... data to create a McpOAuthClient * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__McpOAuthClientClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many McpOAuthClients. * @param {McpOAuthClientCreateManyArgs} args - Arguments to create many McpOAuthClients. * @example * // Create many McpOAuthClients * const mcpOAuthClient = await prisma.mcpOAuthClient.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many McpOAuthClients and returns the data saved in the database. * @param {McpOAuthClientCreateManyAndReturnArgs} args - Arguments to create many McpOAuthClients. * @example * // Create many McpOAuthClients * const mcpOAuthClient = await prisma.mcpOAuthClient.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many McpOAuthClients and only return the `id` * const mcpOAuthClientWithIdOnly = await prisma.mcpOAuthClient.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 McpOAuthClient. * @param {McpOAuthClientDeleteArgs} args - Arguments to delete one McpOAuthClient. * @example * // Delete one McpOAuthClient * const McpOAuthClient = await prisma.mcpOAuthClient.delete({ * where: { * // ... filter to delete one McpOAuthClient * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__McpOAuthClientClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one McpOAuthClient. * @param {McpOAuthClientUpdateArgs} args - Arguments to update one McpOAuthClient. * @example * // Update one McpOAuthClient * const mcpOAuthClient = await prisma.mcpOAuthClient.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__McpOAuthClientClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more McpOAuthClients. * @param {McpOAuthClientDeleteManyArgs} args - Arguments to filter McpOAuthClients to delete. * @example * // Delete a few McpOAuthClients * const { count } = await prisma.mcpOAuthClient.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more McpOAuthClients. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {McpOAuthClientUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many McpOAuthClients * const mcpOAuthClient = await prisma.mcpOAuthClient.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more McpOAuthClients and returns the data updated in the database. * @param {McpOAuthClientUpdateManyAndReturnArgs} args - Arguments to update many McpOAuthClients. * @example * // Update many McpOAuthClients * const mcpOAuthClient = await prisma.mcpOAuthClient.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more McpOAuthClients and only return the `id` * const mcpOAuthClientWithIdOnly = await prisma.mcpOAuthClient.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 McpOAuthClient. * @param {McpOAuthClientUpsertArgs} args - Arguments to update or create a McpOAuthClient. * @example * // Update or create a McpOAuthClient * const mcpOAuthClient = await prisma.mcpOAuthClient.upsert({ * create: { * // ... data to create a McpOAuthClient * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the McpOAuthClient we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__McpOAuthClientClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of McpOAuthClients. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {McpOAuthClientCountArgs} args - Arguments to filter McpOAuthClients to count. * @example * // Count the number of McpOAuthClients * const count = await prisma.mcpOAuthClient.count({ * where: { * // ... the filter for the McpOAuthClients 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 McpOAuthClient. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {McpOAuthClientAggregateArgs} 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 McpOAuthClient. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {McpOAuthClientGroupByArgs} 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 McpOAuthClientGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: McpOAuthClientGroupByArgs['orderBy'] } : { orderBy?: McpOAuthClientGroupByArgs['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 ? GetMcpOAuthClientGroupByPayload : Prisma.PrismaPromise /** * Fields of the McpOAuthClient model */ readonly fields: McpOAuthClientFieldRefs; } /** * The delegate class that acts as a "Promise-like" for McpOAuthClient. * 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__McpOAuthClientClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" authorizationCodes = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> accessTokens = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> refreshTokens = {}>(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 McpOAuthClient model */ export interface McpOAuthClientFieldRefs { readonly id: Prisma.FieldRef<"McpOAuthClient", 'String'> readonly createdAt: Prisma.FieldRef<"McpOAuthClient", 'DateTime'> readonly updatedAt: Prisma.FieldRef<"McpOAuthClient", 'DateTime'> readonly clientId: Prisma.FieldRef<"McpOAuthClient", 'String'> readonly clientName: Prisma.FieldRef<"McpOAuthClient", 'String'> readonly redirectUris: Prisma.FieldRef<"McpOAuthClient", 'Json'> readonly grantTypes: Prisma.FieldRef<"McpOAuthClient", 'Json'> readonly scopes: Prisma.FieldRef<"McpOAuthClient", 'Json'> readonly contacts: Prisma.FieldRef<"McpOAuthClient", 'Json'> readonly metadata: Prisma.FieldRef<"McpOAuthClient", 'Json'> readonly active: Prisma.FieldRef<"McpOAuthClient", 'Boolean'> } // Custom InputTypes /** * McpOAuthClient findUnique */ export type McpOAuthClientFindUniqueArgs = { /** * Select specific fields to fetch from the McpOAuthClient */ select?: Prisma.McpOAuthClientSelect | null /** * Omit specific fields from the McpOAuthClient */ omit?: Prisma.McpOAuthClientOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.McpOAuthClientInclude | null /** * Filter, which McpOAuthClient to fetch. */ where: Prisma.McpOAuthClientWhereUniqueInput } /** * McpOAuthClient findUniqueOrThrow */ export type McpOAuthClientFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the McpOAuthClient */ select?: Prisma.McpOAuthClientSelect | null /** * Omit specific fields from the McpOAuthClient */ omit?: Prisma.McpOAuthClientOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.McpOAuthClientInclude | null /** * Filter, which McpOAuthClient to fetch. */ where: Prisma.McpOAuthClientWhereUniqueInput } /** * McpOAuthClient findFirst */ export type McpOAuthClientFindFirstArgs = { /** * Select specific fields to fetch from the McpOAuthClient */ select?: Prisma.McpOAuthClientSelect | null /** * Omit specific fields from the McpOAuthClient */ omit?: Prisma.McpOAuthClientOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.McpOAuthClientInclude | null /** * Filter, which McpOAuthClient to fetch. */ where?: Prisma.McpOAuthClientWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of McpOAuthClients to fetch. */ orderBy?: Prisma.McpOAuthClientOrderByWithRelationInput | Prisma.McpOAuthClientOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for McpOAuthClients. */ cursor?: Prisma.McpOAuthClientWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` McpOAuthClients 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` McpOAuthClients. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of McpOAuthClients. */ distinct?: Prisma.McpOAuthClientScalarFieldEnum | Prisma.McpOAuthClientScalarFieldEnum[] } /** * McpOAuthClient findFirstOrThrow */ export type McpOAuthClientFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the McpOAuthClient */ select?: Prisma.McpOAuthClientSelect | null /** * Omit specific fields from the McpOAuthClient */ omit?: Prisma.McpOAuthClientOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.McpOAuthClientInclude | null /** * Filter, which McpOAuthClient to fetch. */ where?: Prisma.McpOAuthClientWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of McpOAuthClients to fetch. */ orderBy?: Prisma.McpOAuthClientOrderByWithRelationInput | Prisma.McpOAuthClientOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for McpOAuthClients. */ cursor?: Prisma.McpOAuthClientWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` McpOAuthClients 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` McpOAuthClients. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of McpOAuthClients. */ distinct?: Prisma.McpOAuthClientScalarFieldEnum | Prisma.McpOAuthClientScalarFieldEnum[] } /** * McpOAuthClient findMany */ export type McpOAuthClientFindManyArgs = { /** * Select specific fields to fetch from the McpOAuthClient */ select?: Prisma.McpOAuthClientSelect | null /** * Omit specific fields from the McpOAuthClient */ omit?: Prisma.McpOAuthClientOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.McpOAuthClientInclude | null /** * Filter, which McpOAuthClients to fetch. */ where?: Prisma.McpOAuthClientWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of McpOAuthClients to fetch. */ orderBy?: Prisma.McpOAuthClientOrderByWithRelationInput | Prisma.McpOAuthClientOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing McpOAuthClients. */ cursor?: Prisma.McpOAuthClientWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` McpOAuthClients 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` McpOAuthClients. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of McpOAuthClients. */ distinct?: Prisma.McpOAuthClientScalarFieldEnum | Prisma.McpOAuthClientScalarFieldEnum[] } /** * McpOAuthClient create */ export type McpOAuthClientCreateArgs = { /** * Select specific fields to fetch from the McpOAuthClient */ select?: Prisma.McpOAuthClientSelect | null /** * Omit specific fields from the McpOAuthClient */ omit?: Prisma.McpOAuthClientOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.McpOAuthClientInclude | null /** * The data needed to create a McpOAuthClient. */ data: Prisma.XOR } /** * McpOAuthClient createMany */ export type McpOAuthClientCreateManyArgs = { /** * The data used to create many McpOAuthClients. */ data: Prisma.McpOAuthClientCreateManyInput | Prisma.McpOAuthClientCreateManyInput[] skipDuplicates?: boolean } /** * McpOAuthClient createManyAndReturn */ export type McpOAuthClientCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the McpOAuthClient */ select?: Prisma.McpOAuthClientSelectCreateManyAndReturn | null /** * Omit specific fields from the McpOAuthClient */ omit?: Prisma.McpOAuthClientOmit | null /** * The data used to create many McpOAuthClients. */ data: Prisma.McpOAuthClientCreateManyInput | Prisma.McpOAuthClientCreateManyInput[] skipDuplicates?: boolean } /** * McpOAuthClient update */ export type McpOAuthClientUpdateArgs = { /** * Select specific fields to fetch from the McpOAuthClient */ select?: Prisma.McpOAuthClientSelect | null /** * Omit specific fields from the McpOAuthClient */ omit?: Prisma.McpOAuthClientOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.McpOAuthClientInclude | null /** * The data needed to update a McpOAuthClient. */ data: Prisma.XOR /** * Choose, which McpOAuthClient to update. */ where: Prisma.McpOAuthClientWhereUniqueInput } /** * McpOAuthClient updateMany */ export type McpOAuthClientUpdateManyArgs = { /** * The data used to update McpOAuthClients. */ data: Prisma.XOR /** * Filter which McpOAuthClients to update */ where?: Prisma.McpOAuthClientWhereInput /** * Limit how many McpOAuthClients to update. */ limit?: number } /** * McpOAuthClient updateManyAndReturn */ export type McpOAuthClientUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the McpOAuthClient */ select?: Prisma.McpOAuthClientSelectUpdateManyAndReturn | null /** * Omit specific fields from the McpOAuthClient */ omit?: Prisma.McpOAuthClientOmit | null /** * The data used to update McpOAuthClients. */ data: Prisma.XOR /** * Filter which McpOAuthClients to update */ where?: Prisma.McpOAuthClientWhereInput /** * Limit how many McpOAuthClients to update. */ limit?: number } /** * McpOAuthClient upsert */ export type McpOAuthClientUpsertArgs = { /** * Select specific fields to fetch from the McpOAuthClient */ select?: Prisma.McpOAuthClientSelect | null /** * Omit specific fields from the McpOAuthClient */ omit?: Prisma.McpOAuthClientOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.McpOAuthClientInclude | null /** * The filter to search for the McpOAuthClient to update in case it exists. */ where: Prisma.McpOAuthClientWhereUniqueInput /** * In case the McpOAuthClient found by the `where` argument doesn't exist, create a new McpOAuthClient with this data. */ create: Prisma.XOR /** * In case the McpOAuthClient was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * McpOAuthClient delete */ export type McpOAuthClientDeleteArgs = { /** * Select specific fields to fetch from the McpOAuthClient */ select?: Prisma.McpOAuthClientSelect | null /** * Omit specific fields from the McpOAuthClient */ omit?: Prisma.McpOAuthClientOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.McpOAuthClientInclude | null /** * Filter which McpOAuthClient to delete. */ where: Prisma.McpOAuthClientWhereUniqueInput } /** * McpOAuthClient deleteMany */ export type McpOAuthClientDeleteManyArgs = { /** * Filter which McpOAuthClients to delete */ where?: Prisma.McpOAuthClientWhereInput /** * Limit how many McpOAuthClients to delete. */ limit?: number } /** * McpOAuthClient.authorizationCodes */ export type McpOAuthClient$authorizationCodesArgs = { /** * Select specific fields to fetch from the McpOAuthAuthorizationCode */ select?: Prisma.McpOAuthAuthorizationCodeSelect | null /** * Omit specific fields from the McpOAuthAuthorizationCode */ omit?: Prisma.McpOAuthAuthorizationCodeOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.McpOAuthAuthorizationCodeInclude | null where?: Prisma.McpOAuthAuthorizationCodeWhereInput orderBy?: Prisma.McpOAuthAuthorizationCodeOrderByWithRelationInput | Prisma.McpOAuthAuthorizationCodeOrderByWithRelationInput[] cursor?: Prisma.McpOAuthAuthorizationCodeWhereUniqueInput take?: number skip?: number distinct?: Prisma.McpOAuthAuthorizationCodeScalarFieldEnum | Prisma.McpOAuthAuthorizationCodeScalarFieldEnum[] } /** * McpOAuthClient.accessTokens */ export type McpOAuthClient$accessTokensArgs = { /** * Select specific fields to fetch from the McpOAuthAccessToken */ select?: Prisma.McpOAuthAccessTokenSelect | null /** * Omit specific fields from the McpOAuthAccessToken */ omit?: Prisma.McpOAuthAccessTokenOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.McpOAuthAccessTokenInclude | null where?: Prisma.McpOAuthAccessTokenWhereInput orderBy?: Prisma.McpOAuthAccessTokenOrderByWithRelationInput | Prisma.McpOAuthAccessTokenOrderByWithRelationInput[] cursor?: Prisma.McpOAuthAccessTokenWhereUniqueInput take?: number skip?: number distinct?: Prisma.McpOAuthAccessTokenScalarFieldEnum | Prisma.McpOAuthAccessTokenScalarFieldEnum[] } /** * McpOAuthClient.refreshTokens */ export type McpOAuthClient$refreshTokensArgs = { /** * Select specific fields to fetch from the McpOAuthRefreshToken */ select?: Prisma.McpOAuthRefreshTokenSelect | null /** * Omit specific fields from the McpOAuthRefreshToken */ omit?: Prisma.McpOAuthRefreshTokenOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.McpOAuthRefreshTokenInclude | null where?: Prisma.McpOAuthRefreshTokenWhereInput orderBy?: Prisma.McpOAuthRefreshTokenOrderByWithRelationInput | Prisma.McpOAuthRefreshTokenOrderByWithRelationInput[] cursor?: Prisma.McpOAuthRefreshTokenWhereUniqueInput take?: number skip?: number distinct?: Prisma.McpOAuthRefreshTokenScalarFieldEnum | Prisma.McpOAuthRefreshTokenScalarFieldEnum[] } /** * McpOAuthClient without action */ export type McpOAuthClientDefaultArgs = { /** * Select specific fields to fetch from the McpOAuthClient */ select?: Prisma.McpOAuthClientSelect | null /** * Omit specific fields from the McpOAuthClient */ omit?: Prisma.McpOAuthClientOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.McpOAuthClientInclude | null }