/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `ConversationParticipant` model and its related types. * * 🟢 You can import this file directly. */ import type * as runtime from "@prisma/client/runtime/client" import type * as $Enums from "../enums.js" import type * as Prisma from "../internal/prismaNamespace.js" /** * Model ConversationParticipant * */ export type ConversationParticipantModel = runtime.Types.Result.DefaultSelection export type AggregateConversationParticipant = { _count: ConversationParticipantCountAggregateOutputType | null _min: ConversationParticipantMinAggregateOutputType | null _max: ConversationParticipantMaxAggregateOutputType | null } export type ConversationParticipantMinAggregateOutputType = { id: string | null conversationId: string | null userId: string | null lastReadAt: Date | null } export type ConversationParticipantMaxAggregateOutputType = { id: string | null conversationId: string | null userId: string | null lastReadAt: Date | null } export type ConversationParticipantCountAggregateOutputType = { id: number conversationId: number userId: number lastReadAt: number _all: number } export type ConversationParticipantMinAggregateInputType = { id?: true conversationId?: true userId?: true lastReadAt?: true } export type ConversationParticipantMaxAggregateInputType = { id?: true conversationId?: true userId?: true lastReadAt?: true } export type ConversationParticipantCountAggregateInputType = { id?: true conversationId?: true userId?: true lastReadAt?: true _all?: true } export type ConversationParticipantAggregateArgs = { /** * Filter which ConversationParticipant to aggregate. */ where?: Prisma.ConversationParticipantWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ConversationParticipants to fetch. */ orderBy?: Prisma.ConversationParticipantOrderByWithRelationInput | Prisma.ConversationParticipantOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.ConversationParticipantWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ConversationParticipants 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` ConversationParticipants. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned ConversationParticipants **/ _count?: true | ConversationParticipantCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: ConversationParticipantMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: ConversationParticipantMaxAggregateInputType } export type GetConversationParticipantAggregateType = { [P in keyof T & keyof AggregateConversationParticipant]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type ConversationParticipantGroupByArgs = { where?: Prisma.ConversationParticipantWhereInput orderBy?: Prisma.ConversationParticipantOrderByWithAggregationInput | Prisma.ConversationParticipantOrderByWithAggregationInput[] by: Prisma.ConversationParticipantScalarFieldEnum[] | Prisma.ConversationParticipantScalarFieldEnum having?: Prisma.ConversationParticipantScalarWhereWithAggregatesInput take?: number skip?: number _count?: ConversationParticipantCountAggregateInputType | true _min?: ConversationParticipantMinAggregateInputType _max?: ConversationParticipantMaxAggregateInputType } export type ConversationParticipantGroupByOutputType = { id: string conversationId: string userId: string lastReadAt: Date | null _count: ConversationParticipantCountAggregateOutputType | null _min: ConversationParticipantMinAggregateOutputType | null _max: ConversationParticipantMaxAggregateOutputType | null } type GetConversationParticipantGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof ConversationParticipantGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type ConversationParticipantWhereInput = { AND?: Prisma.ConversationParticipantWhereInput | Prisma.ConversationParticipantWhereInput[] OR?: Prisma.ConversationParticipantWhereInput[] NOT?: Prisma.ConversationParticipantWhereInput | Prisma.ConversationParticipantWhereInput[] id?: Prisma.StringFilter<"ConversationParticipant"> | string conversationId?: Prisma.StringFilter<"ConversationParticipant"> | string userId?: Prisma.StringFilter<"ConversationParticipant"> | string lastReadAt?: Prisma.DateTimeNullableFilter<"ConversationParticipant"> | Date | string | null conversation?: Prisma.XOR user?: Prisma.XOR } export type ConversationParticipantOrderByWithRelationInput = { id?: Prisma.SortOrder conversationId?: Prisma.SortOrder userId?: Prisma.SortOrder lastReadAt?: Prisma.SortOrderInput | Prisma.SortOrder conversation?: Prisma.ConversationOrderByWithRelationInput user?: Prisma.UserOrderByWithRelationInput } export type ConversationParticipantWhereUniqueInput = Prisma.AtLeast<{ id?: string conversationId_userId?: Prisma.ConversationParticipantConversationIdUserIdCompoundUniqueInput AND?: Prisma.ConversationParticipantWhereInput | Prisma.ConversationParticipantWhereInput[] OR?: Prisma.ConversationParticipantWhereInput[] NOT?: Prisma.ConversationParticipantWhereInput | Prisma.ConversationParticipantWhereInput[] conversationId?: Prisma.StringFilter<"ConversationParticipant"> | string userId?: Prisma.StringFilter<"ConversationParticipant"> | string lastReadAt?: Prisma.DateTimeNullableFilter<"ConversationParticipant"> | Date | string | null conversation?: Prisma.XOR user?: Prisma.XOR }, "id" | "conversationId_userId"> export type ConversationParticipantOrderByWithAggregationInput = { id?: Prisma.SortOrder conversationId?: Prisma.SortOrder userId?: Prisma.SortOrder lastReadAt?: Prisma.SortOrderInput | Prisma.SortOrder _count?: Prisma.ConversationParticipantCountOrderByAggregateInput _max?: Prisma.ConversationParticipantMaxOrderByAggregateInput _min?: Prisma.ConversationParticipantMinOrderByAggregateInput } export type ConversationParticipantScalarWhereWithAggregatesInput = { AND?: Prisma.ConversationParticipantScalarWhereWithAggregatesInput | Prisma.ConversationParticipantScalarWhereWithAggregatesInput[] OR?: Prisma.ConversationParticipantScalarWhereWithAggregatesInput[] NOT?: Prisma.ConversationParticipantScalarWhereWithAggregatesInput | Prisma.ConversationParticipantScalarWhereWithAggregatesInput[] id?: Prisma.StringWithAggregatesFilter<"ConversationParticipant"> | string conversationId?: Prisma.StringWithAggregatesFilter<"ConversationParticipant"> | string userId?: Prisma.StringWithAggregatesFilter<"ConversationParticipant"> | string lastReadAt?: Prisma.DateTimeNullableWithAggregatesFilter<"ConversationParticipant"> | Date | string | null } export type ConversationParticipantCreateInput = { id?: string lastReadAt?: Date | string | null conversation: Prisma.ConversationCreateNestedOneWithoutParticipantsInput user: Prisma.UserCreateNestedOneWithoutConversationMembershipsInput } export type ConversationParticipantUncheckedCreateInput = { id?: string conversationId: string userId: string lastReadAt?: Date | string | null } export type ConversationParticipantUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string lastReadAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null conversation?: Prisma.ConversationUpdateOneRequiredWithoutParticipantsNestedInput user?: Prisma.UserUpdateOneRequiredWithoutConversationMembershipsNestedInput } export type ConversationParticipantUncheckedUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string conversationId?: Prisma.StringFieldUpdateOperationsInput | string userId?: Prisma.StringFieldUpdateOperationsInput | string lastReadAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type ConversationParticipantCreateManyInput = { id?: string conversationId: string userId: string lastReadAt?: Date | string | null } export type ConversationParticipantUpdateManyMutationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string lastReadAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type ConversationParticipantUncheckedUpdateManyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string conversationId?: Prisma.StringFieldUpdateOperationsInput | string userId?: Prisma.StringFieldUpdateOperationsInput | string lastReadAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type ConversationParticipantListRelationFilter = { every?: Prisma.ConversationParticipantWhereInput some?: Prisma.ConversationParticipantWhereInput none?: Prisma.ConversationParticipantWhereInput } export type ConversationParticipantOrderByRelationAggregateInput = { _count?: Prisma.SortOrder } export type ConversationParticipantConversationIdUserIdCompoundUniqueInput = { conversationId: string userId: string } export type ConversationParticipantCountOrderByAggregateInput = { id?: Prisma.SortOrder conversationId?: Prisma.SortOrder userId?: Prisma.SortOrder lastReadAt?: Prisma.SortOrder } export type ConversationParticipantMaxOrderByAggregateInput = { id?: Prisma.SortOrder conversationId?: Prisma.SortOrder userId?: Prisma.SortOrder lastReadAt?: Prisma.SortOrder } export type ConversationParticipantMinOrderByAggregateInput = { id?: Prisma.SortOrder conversationId?: Prisma.SortOrder userId?: Prisma.SortOrder lastReadAt?: Prisma.SortOrder } export type ConversationParticipantCreateNestedManyWithoutUserInput = { create?: Prisma.XOR | Prisma.ConversationParticipantCreateWithoutUserInput[] | Prisma.ConversationParticipantUncheckedCreateWithoutUserInput[] connectOrCreate?: Prisma.ConversationParticipantCreateOrConnectWithoutUserInput | Prisma.ConversationParticipantCreateOrConnectWithoutUserInput[] createMany?: Prisma.ConversationParticipantCreateManyUserInputEnvelope connect?: Prisma.ConversationParticipantWhereUniqueInput | Prisma.ConversationParticipantWhereUniqueInput[] } export type ConversationParticipantUncheckedCreateNestedManyWithoutUserInput = { create?: Prisma.XOR | Prisma.ConversationParticipantCreateWithoutUserInput[] | Prisma.ConversationParticipantUncheckedCreateWithoutUserInput[] connectOrCreate?: Prisma.ConversationParticipantCreateOrConnectWithoutUserInput | Prisma.ConversationParticipantCreateOrConnectWithoutUserInput[] createMany?: Prisma.ConversationParticipantCreateManyUserInputEnvelope connect?: Prisma.ConversationParticipantWhereUniqueInput | Prisma.ConversationParticipantWhereUniqueInput[] } export type ConversationParticipantUpdateManyWithoutUserNestedInput = { create?: Prisma.XOR | Prisma.ConversationParticipantCreateWithoutUserInput[] | Prisma.ConversationParticipantUncheckedCreateWithoutUserInput[] connectOrCreate?: Prisma.ConversationParticipantCreateOrConnectWithoutUserInput | Prisma.ConversationParticipantCreateOrConnectWithoutUserInput[] upsert?: Prisma.ConversationParticipantUpsertWithWhereUniqueWithoutUserInput | Prisma.ConversationParticipantUpsertWithWhereUniqueWithoutUserInput[] createMany?: Prisma.ConversationParticipantCreateManyUserInputEnvelope set?: Prisma.ConversationParticipantWhereUniqueInput | Prisma.ConversationParticipantWhereUniqueInput[] disconnect?: Prisma.ConversationParticipantWhereUniqueInput | Prisma.ConversationParticipantWhereUniqueInput[] delete?: Prisma.ConversationParticipantWhereUniqueInput | Prisma.ConversationParticipantWhereUniqueInput[] connect?: Prisma.ConversationParticipantWhereUniqueInput | Prisma.ConversationParticipantWhereUniqueInput[] update?: Prisma.ConversationParticipantUpdateWithWhereUniqueWithoutUserInput | Prisma.ConversationParticipantUpdateWithWhereUniqueWithoutUserInput[] updateMany?: Prisma.ConversationParticipantUpdateManyWithWhereWithoutUserInput | Prisma.ConversationParticipantUpdateManyWithWhereWithoutUserInput[] deleteMany?: Prisma.ConversationParticipantScalarWhereInput | Prisma.ConversationParticipantScalarWhereInput[] } export type ConversationParticipantUncheckedUpdateManyWithoutUserNestedInput = { create?: Prisma.XOR | Prisma.ConversationParticipantCreateWithoutUserInput[] | Prisma.ConversationParticipantUncheckedCreateWithoutUserInput[] connectOrCreate?: Prisma.ConversationParticipantCreateOrConnectWithoutUserInput | Prisma.ConversationParticipantCreateOrConnectWithoutUserInput[] upsert?: Prisma.ConversationParticipantUpsertWithWhereUniqueWithoutUserInput | Prisma.ConversationParticipantUpsertWithWhereUniqueWithoutUserInput[] createMany?: Prisma.ConversationParticipantCreateManyUserInputEnvelope set?: Prisma.ConversationParticipantWhereUniqueInput | Prisma.ConversationParticipantWhereUniqueInput[] disconnect?: Prisma.ConversationParticipantWhereUniqueInput | Prisma.ConversationParticipantWhereUniqueInput[] delete?: Prisma.ConversationParticipantWhereUniqueInput | Prisma.ConversationParticipantWhereUniqueInput[] connect?: Prisma.ConversationParticipantWhereUniqueInput | Prisma.ConversationParticipantWhereUniqueInput[] update?: Prisma.ConversationParticipantUpdateWithWhereUniqueWithoutUserInput | Prisma.ConversationParticipantUpdateWithWhereUniqueWithoutUserInput[] updateMany?: Prisma.ConversationParticipantUpdateManyWithWhereWithoutUserInput | Prisma.ConversationParticipantUpdateManyWithWhereWithoutUserInput[] deleteMany?: Prisma.ConversationParticipantScalarWhereInput | Prisma.ConversationParticipantScalarWhereInput[] } export type ConversationParticipantCreateNestedManyWithoutConversationInput = { create?: Prisma.XOR | Prisma.ConversationParticipantCreateWithoutConversationInput[] | Prisma.ConversationParticipantUncheckedCreateWithoutConversationInput[] connectOrCreate?: Prisma.ConversationParticipantCreateOrConnectWithoutConversationInput | Prisma.ConversationParticipantCreateOrConnectWithoutConversationInput[] createMany?: Prisma.ConversationParticipantCreateManyConversationInputEnvelope connect?: Prisma.ConversationParticipantWhereUniqueInput | Prisma.ConversationParticipantWhereUniqueInput[] } export type ConversationParticipantUncheckedCreateNestedManyWithoutConversationInput = { create?: Prisma.XOR | Prisma.ConversationParticipantCreateWithoutConversationInput[] | Prisma.ConversationParticipantUncheckedCreateWithoutConversationInput[] connectOrCreate?: Prisma.ConversationParticipantCreateOrConnectWithoutConversationInput | Prisma.ConversationParticipantCreateOrConnectWithoutConversationInput[] createMany?: Prisma.ConversationParticipantCreateManyConversationInputEnvelope connect?: Prisma.ConversationParticipantWhereUniqueInput | Prisma.ConversationParticipantWhereUniqueInput[] } export type ConversationParticipantUpdateManyWithoutConversationNestedInput = { create?: Prisma.XOR | Prisma.ConversationParticipantCreateWithoutConversationInput[] | Prisma.ConversationParticipantUncheckedCreateWithoutConversationInput[] connectOrCreate?: Prisma.ConversationParticipantCreateOrConnectWithoutConversationInput | Prisma.ConversationParticipantCreateOrConnectWithoutConversationInput[] upsert?: Prisma.ConversationParticipantUpsertWithWhereUniqueWithoutConversationInput | Prisma.ConversationParticipantUpsertWithWhereUniqueWithoutConversationInput[] createMany?: Prisma.ConversationParticipantCreateManyConversationInputEnvelope set?: Prisma.ConversationParticipantWhereUniqueInput | Prisma.ConversationParticipantWhereUniqueInput[] disconnect?: Prisma.ConversationParticipantWhereUniqueInput | Prisma.ConversationParticipantWhereUniqueInput[] delete?: Prisma.ConversationParticipantWhereUniqueInput | Prisma.ConversationParticipantWhereUniqueInput[] connect?: Prisma.ConversationParticipantWhereUniqueInput | Prisma.ConversationParticipantWhereUniqueInput[] update?: Prisma.ConversationParticipantUpdateWithWhereUniqueWithoutConversationInput | Prisma.ConversationParticipantUpdateWithWhereUniqueWithoutConversationInput[] updateMany?: Prisma.ConversationParticipantUpdateManyWithWhereWithoutConversationInput | Prisma.ConversationParticipantUpdateManyWithWhereWithoutConversationInput[] deleteMany?: Prisma.ConversationParticipantScalarWhereInput | Prisma.ConversationParticipantScalarWhereInput[] } export type ConversationParticipantUncheckedUpdateManyWithoutConversationNestedInput = { create?: Prisma.XOR | Prisma.ConversationParticipantCreateWithoutConversationInput[] | Prisma.ConversationParticipantUncheckedCreateWithoutConversationInput[] connectOrCreate?: Prisma.ConversationParticipantCreateOrConnectWithoutConversationInput | Prisma.ConversationParticipantCreateOrConnectWithoutConversationInput[] upsert?: Prisma.ConversationParticipantUpsertWithWhereUniqueWithoutConversationInput | Prisma.ConversationParticipantUpsertWithWhereUniqueWithoutConversationInput[] createMany?: Prisma.ConversationParticipantCreateManyConversationInputEnvelope set?: Prisma.ConversationParticipantWhereUniqueInput | Prisma.ConversationParticipantWhereUniqueInput[] disconnect?: Prisma.ConversationParticipantWhereUniqueInput | Prisma.ConversationParticipantWhereUniqueInput[] delete?: Prisma.ConversationParticipantWhereUniqueInput | Prisma.ConversationParticipantWhereUniqueInput[] connect?: Prisma.ConversationParticipantWhereUniqueInput | Prisma.ConversationParticipantWhereUniqueInput[] update?: Prisma.ConversationParticipantUpdateWithWhereUniqueWithoutConversationInput | Prisma.ConversationParticipantUpdateWithWhereUniqueWithoutConversationInput[] updateMany?: Prisma.ConversationParticipantUpdateManyWithWhereWithoutConversationInput | Prisma.ConversationParticipantUpdateManyWithWhereWithoutConversationInput[] deleteMany?: Prisma.ConversationParticipantScalarWhereInput | Prisma.ConversationParticipantScalarWhereInput[] } export type NullableDateTimeFieldUpdateOperationsInput = { set?: Date | string | null } export type ConversationParticipantCreateWithoutUserInput = { id?: string lastReadAt?: Date | string | null conversation: Prisma.ConversationCreateNestedOneWithoutParticipantsInput } export type ConversationParticipantUncheckedCreateWithoutUserInput = { id?: string conversationId: string lastReadAt?: Date | string | null } export type ConversationParticipantCreateOrConnectWithoutUserInput = { where: Prisma.ConversationParticipantWhereUniqueInput create: Prisma.XOR } export type ConversationParticipantCreateManyUserInputEnvelope = { data: Prisma.ConversationParticipantCreateManyUserInput | Prisma.ConversationParticipantCreateManyUserInput[] } export type ConversationParticipantUpsertWithWhereUniqueWithoutUserInput = { where: Prisma.ConversationParticipantWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type ConversationParticipantUpdateWithWhereUniqueWithoutUserInput = { where: Prisma.ConversationParticipantWhereUniqueInput data: Prisma.XOR } export type ConversationParticipantUpdateManyWithWhereWithoutUserInput = { where: Prisma.ConversationParticipantScalarWhereInput data: Prisma.XOR } export type ConversationParticipantScalarWhereInput = { AND?: Prisma.ConversationParticipantScalarWhereInput | Prisma.ConversationParticipantScalarWhereInput[] OR?: Prisma.ConversationParticipantScalarWhereInput[] NOT?: Prisma.ConversationParticipantScalarWhereInput | Prisma.ConversationParticipantScalarWhereInput[] id?: Prisma.StringFilter<"ConversationParticipant"> | string conversationId?: Prisma.StringFilter<"ConversationParticipant"> | string userId?: Prisma.StringFilter<"ConversationParticipant"> | string lastReadAt?: Prisma.DateTimeNullableFilter<"ConversationParticipant"> | Date | string | null } export type ConversationParticipantCreateWithoutConversationInput = { id?: string lastReadAt?: Date | string | null user: Prisma.UserCreateNestedOneWithoutConversationMembershipsInput } export type ConversationParticipantUncheckedCreateWithoutConversationInput = { id?: string userId: string lastReadAt?: Date | string | null } export type ConversationParticipantCreateOrConnectWithoutConversationInput = { where: Prisma.ConversationParticipantWhereUniqueInput create: Prisma.XOR } export type ConversationParticipantCreateManyConversationInputEnvelope = { data: Prisma.ConversationParticipantCreateManyConversationInput | Prisma.ConversationParticipantCreateManyConversationInput[] } export type ConversationParticipantUpsertWithWhereUniqueWithoutConversationInput = { where: Prisma.ConversationParticipantWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type ConversationParticipantUpdateWithWhereUniqueWithoutConversationInput = { where: Prisma.ConversationParticipantWhereUniqueInput data: Prisma.XOR } export type ConversationParticipantUpdateManyWithWhereWithoutConversationInput = { where: Prisma.ConversationParticipantScalarWhereInput data: Prisma.XOR } export type ConversationParticipantCreateManyUserInput = { id?: string conversationId: string lastReadAt?: Date | string | null } export type ConversationParticipantUpdateWithoutUserInput = { id?: Prisma.StringFieldUpdateOperationsInput | string lastReadAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null conversation?: Prisma.ConversationUpdateOneRequiredWithoutParticipantsNestedInput } export type ConversationParticipantUncheckedUpdateWithoutUserInput = { id?: Prisma.StringFieldUpdateOperationsInput | string conversationId?: Prisma.StringFieldUpdateOperationsInput | string lastReadAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type ConversationParticipantUncheckedUpdateManyWithoutUserInput = { id?: Prisma.StringFieldUpdateOperationsInput | string conversationId?: Prisma.StringFieldUpdateOperationsInput | string lastReadAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type ConversationParticipantCreateManyConversationInput = { id?: string userId: string lastReadAt?: Date | string | null } export type ConversationParticipantUpdateWithoutConversationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string lastReadAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null user?: Prisma.UserUpdateOneRequiredWithoutConversationMembershipsNestedInput } export type ConversationParticipantUncheckedUpdateWithoutConversationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string userId?: Prisma.StringFieldUpdateOperationsInput | string lastReadAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type ConversationParticipantUncheckedUpdateManyWithoutConversationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string userId?: Prisma.StringFieldUpdateOperationsInput | string lastReadAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type ConversationParticipantSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean conversationId?: boolean userId?: boolean lastReadAt?: boolean conversation?: boolean | Prisma.ConversationDefaultArgs user?: boolean | Prisma.UserDefaultArgs }, ExtArgs["result"]["conversationParticipant"]> export type ConversationParticipantSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean conversationId?: boolean userId?: boolean lastReadAt?: boolean conversation?: boolean | Prisma.ConversationDefaultArgs user?: boolean | Prisma.UserDefaultArgs }, ExtArgs["result"]["conversationParticipant"]> export type ConversationParticipantSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean conversationId?: boolean userId?: boolean lastReadAt?: boolean conversation?: boolean | Prisma.ConversationDefaultArgs user?: boolean | Prisma.UserDefaultArgs }, ExtArgs["result"]["conversationParticipant"]> export type ConversationParticipantSelectScalar = { id?: boolean conversationId?: boolean userId?: boolean lastReadAt?: boolean } export type ConversationParticipantOmit = runtime.Types.Extensions.GetOmit<"id" | "conversationId" | "userId" | "lastReadAt", ExtArgs["result"]["conversationParticipant"]> export type ConversationParticipantInclude = { conversation?: boolean | Prisma.ConversationDefaultArgs user?: boolean | Prisma.UserDefaultArgs } export type ConversationParticipantIncludeCreateManyAndReturn = { conversation?: boolean | Prisma.ConversationDefaultArgs user?: boolean | Prisma.UserDefaultArgs } export type ConversationParticipantIncludeUpdateManyAndReturn = { conversation?: boolean | Prisma.ConversationDefaultArgs user?: boolean | Prisma.UserDefaultArgs } export type $ConversationParticipantPayload = { name: "ConversationParticipant" objects: { conversation: Prisma.$ConversationPayload user: Prisma.$UserPayload } scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string conversationId: string userId: string lastReadAt: Date | null }, ExtArgs["result"]["conversationParticipant"]> composites: {} } export type ConversationParticipantGetPayload = runtime.Types.Result.GetResult export type ConversationParticipantCountArgs = Omit & { select?: ConversationParticipantCountAggregateInputType | true } export interface ConversationParticipantDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['ConversationParticipant'], meta: { name: 'ConversationParticipant' } } /** * Find zero or one ConversationParticipant that matches the filter. * @param {ConversationParticipantFindUniqueArgs} args - Arguments to find a ConversationParticipant * @example * // Get one ConversationParticipant * const conversationParticipant = await prisma.conversationParticipant.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__ConversationParticipantClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one ConversationParticipant that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {ConversationParticipantFindUniqueOrThrowArgs} args - Arguments to find a ConversationParticipant * @example * // Get one ConversationParticipant * const conversationParticipant = await prisma.conversationParticipant.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__ConversationParticipantClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first ConversationParticipant 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 {ConversationParticipantFindFirstArgs} args - Arguments to find a ConversationParticipant * @example * // Get one ConversationParticipant * const conversationParticipant = await prisma.conversationParticipant.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__ConversationParticipantClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first ConversationParticipant 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 {ConversationParticipantFindFirstOrThrowArgs} args - Arguments to find a ConversationParticipant * @example * // Get one ConversationParticipant * const conversationParticipant = await prisma.conversationParticipant.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__ConversationParticipantClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more ConversationParticipants 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 {ConversationParticipantFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all ConversationParticipants * const conversationParticipants = await prisma.conversationParticipant.findMany() * * // Get first 10 ConversationParticipants * const conversationParticipants = await prisma.conversationParticipant.findMany({ take: 10 }) * * // Only select the `id` * const conversationParticipantWithIdOnly = await prisma.conversationParticipant.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a ConversationParticipant. * @param {ConversationParticipantCreateArgs} args - Arguments to create a ConversationParticipant. * @example * // Create one ConversationParticipant * const ConversationParticipant = await prisma.conversationParticipant.create({ * data: { * // ... data to create a ConversationParticipant * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__ConversationParticipantClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many ConversationParticipants. * @param {ConversationParticipantCreateManyArgs} args - Arguments to create many ConversationParticipants. * @example * // Create many ConversationParticipants * const conversationParticipant = await prisma.conversationParticipant.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many ConversationParticipants and returns the data saved in the database. * @param {ConversationParticipantCreateManyAndReturnArgs} args - Arguments to create many ConversationParticipants. * @example * // Create many ConversationParticipants * const conversationParticipant = await prisma.conversationParticipant.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many ConversationParticipants and only return the `id` * const conversationParticipantWithIdOnly = await prisma.conversationParticipant.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 ConversationParticipant. * @param {ConversationParticipantDeleteArgs} args - Arguments to delete one ConversationParticipant. * @example * // Delete one ConversationParticipant * const ConversationParticipant = await prisma.conversationParticipant.delete({ * where: { * // ... filter to delete one ConversationParticipant * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__ConversationParticipantClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one ConversationParticipant. * @param {ConversationParticipantUpdateArgs} args - Arguments to update one ConversationParticipant. * @example * // Update one ConversationParticipant * const conversationParticipant = await prisma.conversationParticipant.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__ConversationParticipantClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more ConversationParticipants. * @param {ConversationParticipantDeleteManyArgs} args - Arguments to filter ConversationParticipants to delete. * @example * // Delete a few ConversationParticipants * const { count } = await prisma.conversationParticipant.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more ConversationParticipants. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ConversationParticipantUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many ConversationParticipants * const conversationParticipant = await prisma.conversationParticipant.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more ConversationParticipants and returns the data updated in the database. * @param {ConversationParticipantUpdateManyAndReturnArgs} args - Arguments to update many ConversationParticipants. * @example * // Update many ConversationParticipants * const conversationParticipant = await prisma.conversationParticipant.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more ConversationParticipants and only return the `id` * const conversationParticipantWithIdOnly = await prisma.conversationParticipant.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 ConversationParticipant. * @param {ConversationParticipantUpsertArgs} args - Arguments to update or create a ConversationParticipant. * @example * // Update or create a ConversationParticipant * const conversationParticipant = await prisma.conversationParticipant.upsert({ * create: { * // ... data to create a ConversationParticipant * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the ConversationParticipant we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__ConversationParticipantClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of ConversationParticipants. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ConversationParticipantCountArgs} args - Arguments to filter ConversationParticipants to count. * @example * // Count the number of ConversationParticipants * const count = await prisma.conversationParticipant.count({ * where: { * // ... the filter for the ConversationParticipants 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 ConversationParticipant. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ConversationParticipantAggregateArgs} 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 ConversationParticipant. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ConversationParticipantGroupByArgs} 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 ConversationParticipantGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: ConversationParticipantGroupByArgs['orderBy'] } : { orderBy?: ConversationParticipantGroupByArgs['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 ? GetConversationParticipantGroupByPayload : Prisma.PrismaPromise /** * Fields of the ConversationParticipant model */ readonly fields: ConversationParticipantFieldRefs; } /** * The delegate class that acts as a "Promise-like" for ConversationParticipant. * 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__ConversationParticipantClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" conversation = {}>(args?: Prisma.Subset>): Prisma.Prisma__ConversationClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> user = {}>(args?: Prisma.Subset>): Prisma.Prisma__UserClient, 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(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 ConversationParticipant model */ export interface ConversationParticipantFieldRefs { readonly id: Prisma.FieldRef<"ConversationParticipant", 'String'> readonly conversationId: Prisma.FieldRef<"ConversationParticipant", 'String'> readonly userId: Prisma.FieldRef<"ConversationParticipant", 'String'> readonly lastReadAt: Prisma.FieldRef<"ConversationParticipant", 'DateTime'> } // Custom InputTypes /** * ConversationParticipant findUnique */ export type ConversationParticipantFindUniqueArgs = { /** * Select specific fields to fetch from the ConversationParticipant */ select?: Prisma.ConversationParticipantSelect | null /** * Omit specific fields from the ConversationParticipant */ omit?: Prisma.ConversationParticipantOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ConversationParticipantInclude | null /** * Filter, which ConversationParticipant to fetch. */ where: Prisma.ConversationParticipantWhereUniqueInput } /** * ConversationParticipant findUniqueOrThrow */ export type ConversationParticipantFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the ConversationParticipant */ select?: Prisma.ConversationParticipantSelect | null /** * Omit specific fields from the ConversationParticipant */ omit?: Prisma.ConversationParticipantOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ConversationParticipantInclude | null /** * Filter, which ConversationParticipant to fetch. */ where: Prisma.ConversationParticipantWhereUniqueInput } /** * ConversationParticipant findFirst */ export type ConversationParticipantFindFirstArgs = { /** * Select specific fields to fetch from the ConversationParticipant */ select?: Prisma.ConversationParticipantSelect | null /** * Omit specific fields from the ConversationParticipant */ omit?: Prisma.ConversationParticipantOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ConversationParticipantInclude | null /** * Filter, which ConversationParticipant to fetch. */ where?: Prisma.ConversationParticipantWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ConversationParticipants to fetch. */ orderBy?: Prisma.ConversationParticipantOrderByWithRelationInput | Prisma.ConversationParticipantOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for ConversationParticipants. */ cursor?: Prisma.ConversationParticipantWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ConversationParticipants 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` ConversationParticipants. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of ConversationParticipants. */ distinct?: Prisma.ConversationParticipantScalarFieldEnum | Prisma.ConversationParticipantScalarFieldEnum[] } /** * ConversationParticipant findFirstOrThrow */ export type ConversationParticipantFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the ConversationParticipant */ select?: Prisma.ConversationParticipantSelect | null /** * Omit specific fields from the ConversationParticipant */ omit?: Prisma.ConversationParticipantOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ConversationParticipantInclude | null /** * Filter, which ConversationParticipant to fetch. */ where?: Prisma.ConversationParticipantWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ConversationParticipants to fetch. */ orderBy?: Prisma.ConversationParticipantOrderByWithRelationInput | Prisma.ConversationParticipantOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for ConversationParticipants. */ cursor?: Prisma.ConversationParticipantWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ConversationParticipants 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` ConversationParticipants. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of ConversationParticipants. */ distinct?: Prisma.ConversationParticipantScalarFieldEnum | Prisma.ConversationParticipantScalarFieldEnum[] } /** * ConversationParticipant findMany */ export type ConversationParticipantFindManyArgs = { /** * Select specific fields to fetch from the ConversationParticipant */ select?: Prisma.ConversationParticipantSelect | null /** * Omit specific fields from the ConversationParticipant */ omit?: Prisma.ConversationParticipantOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ConversationParticipantInclude | null /** * Filter, which ConversationParticipants to fetch. */ where?: Prisma.ConversationParticipantWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ConversationParticipants to fetch. */ orderBy?: Prisma.ConversationParticipantOrderByWithRelationInput | Prisma.ConversationParticipantOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing ConversationParticipants. */ cursor?: Prisma.ConversationParticipantWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ConversationParticipants 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` ConversationParticipants. */ skip?: number distinct?: Prisma.ConversationParticipantScalarFieldEnum | Prisma.ConversationParticipantScalarFieldEnum[] } /** * ConversationParticipant create */ export type ConversationParticipantCreateArgs = { /** * Select specific fields to fetch from the ConversationParticipant */ select?: Prisma.ConversationParticipantSelect | null /** * Omit specific fields from the ConversationParticipant */ omit?: Prisma.ConversationParticipantOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ConversationParticipantInclude | null /** * The data needed to create a ConversationParticipant. */ data: Prisma.XOR } /** * ConversationParticipant createMany */ export type ConversationParticipantCreateManyArgs = { /** * The data used to create many ConversationParticipants. */ data: Prisma.ConversationParticipantCreateManyInput | Prisma.ConversationParticipantCreateManyInput[] } /** * ConversationParticipant createManyAndReturn */ export type ConversationParticipantCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the ConversationParticipant */ select?: Prisma.ConversationParticipantSelectCreateManyAndReturn | null /** * Omit specific fields from the ConversationParticipant */ omit?: Prisma.ConversationParticipantOmit | null /** * The data used to create many ConversationParticipants. */ data: Prisma.ConversationParticipantCreateManyInput | Prisma.ConversationParticipantCreateManyInput[] /** * Choose, which related nodes to fetch as well */ include?: Prisma.ConversationParticipantIncludeCreateManyAndReturn | null } /** * ConversationParticipant update */ export type ConversationParticipantUpdateArgs = { /** * Select specific fields to fetch from the ConversationParticipant */ select?: Prisma.ConversationParticipantSelect | null /** * Omit specific fields from the ConversationParticipant */ omit?: Prisma.ConversationParticipantOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ConversationParticipantInclude | null /** * The data needed to update a ConversationParticipant. */ data: Prisma.XOR /** * Choose, which ConversationParticipant to update. */ where: Prisma.ConversationParticipantWhereUniqueInput } /** * ConversationParticipant updateMany */ export type ConversationParticipantUpdateManyArgs = { /** * The data used to update ConversationParticipants. */ data: Prisma.XOR /** * Filter which ConversationParticipants to update */ where?: Prisma.ConversationParticipantWhereInput /** * Limit how many ConversationParticipants to update. */ limit?: number } /** * ConversationParticipant updateManyAndReturn */ export type ConversationParticipantUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the ConversationParticipant */ select?: Prisma.ConversationParticipantSelectUpdateManyAndReturn | null /** * Omit specific fields from the ConversationParticipant */ omit?: Prisma.ConversationParticipantOmit | null /** * The data used to update ConversationParticipants. */ data: Prisma.XOR /** * Filter which ConversationParticipants to update */ where?: Prisma.ConversationParticipantWhereInput /** * Limit how many ConversationParticipants to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: Prisma.ConversationParticipantIncludeUpdateManyAndReturn | null } /** * ConversationParticipant upsert */ export type ConversationParticipantUpsertArgs = { /** * Select specific fields to fetch from the ConversationParticipant */ select?: Prisma.ConversationParticipantSelect | null /** * Omit specific fields from the ConversationParticipant */ omit?: Prisma.ConversationParticipantOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ConversationParticipantInclude | null /** * The filter to search for the ConversationParticipant to update in case it exists. */ where: Prisma.ConversationParticipantWhereUniqueInput /** * In case the ConversationParticipant found by the `where` argument doesn't exist, create a new ConversationParticipant with this data. */ create: Prisma.XOR /** * In case the ConversationParticipant was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * ConversationParticipant delete */ export type ConversationParticipantDeleteArgs = { /** * Select specific fields to fetch from the ConversationParticipant */ select?: Prisma.ConversationParticipantSelect | null /** * Omit specific fields from the ConversationParticipant */ omit?: Prisma.ConversationParticipantOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ConversationParticipantInclude | null /** * Filter which ConversationParticipant to delete. */ where: Prisma.ConversationParticipantWhereUniqueInput } /** * ConversationParticipant deleteMany */ export type ConversationParticipantDeleteManyArgs = { /** * Filter which ConversationParticipants to delete */ where?: Prisma.ConversationParticipantWhereInput /** * Limit how many ConversationParticipants to delete. */ limit?: number } /** * ConversationParticipant without action */ export type ConversationParticipantDefaultArgs = { /** * Select specific fields to fetch from the ConversationParticipant */ select?: Prisma.ConversationParticipantSelect | null /** * Omit specific fields from the ConversationParticipant */ omit?: Prisma.ConversationParticipantOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ConversationParticipantInclude | null }