/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `TripParticipant` 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" import type * as Prisma from "../internal/prismaNamespace" /** * Model TripParticipant * */ export type TripParticipantModel = runtime.Types.Result.DefaultSelection export type AggregateTripParticipant = { _count: TripParticipantCountAggregateOutputType | null _min: TripParticipantMinAggregateOutputType | null _max: TripParticipantMaxAggregateOutputType | null } export type TripParticipantMinAggregateOutputType = { id: string | null status: $Enums.ParticipantStatus | null createdAt: Date | null tripId: string | null userId: string | null } export type TripParticipantMaxAggregateOutputType = { id: string | null status: $Enums.ParticipantStatus | null createdAt: Date | null tripId: string | null userId: string | null } export type TripParticipantCountAggregateOutputType = { id: number status: number createdAt: number tripId: number userId: number _all: number } export type TripParticipantMinAggregateInputType = { id?: true status?: true createdAt?: true tripId?: true userId?: true } export type TripParticipantMaxAggregateInputType = { id?: true status?: true createdAt?: true tripId?: true userId?: true } export type TripParticipantCountAggregateInputType = { id?: true status?: true createdAt?: true tripId?: true userId?: true _all?: true } export type TripParticipantAggregateArgs = { /** * Filter which TripParticipant to aggregate. */ where?: Prisma.TripParticipantWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of TripParticipants to fetch. */ orderBy?: Prisma.TripParticipantOrderByWithRelationInput | Prisma.TripParticipantOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.TripParticipantWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` TripParticipants 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` TripParticipants. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned TripParticipants **/ _count?: true | TripParticipantCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: TripParticipantMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: TripParticipantMaxAggregateInputType } export type GetTripParticipantAggregateType = { [P in keyof T & keyof AggregateTripParticipant]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type TripParticipantGroupByArgs = { where?: Prisma.TripParticipantWhereInput orderBy?: Prisma.TripParticipantOrderByWithAggregationInput | Prisma.TripParticipantOrderByWithAggregationInput[] by: Prisma.TripParticipantScalarFieldEnum[] | Prisma.TripParticipantScalarFieldEnum having?: Prisma.TripParticipantScalarWhereWithAggregatesInput take?: number skip?: number _count?: TripParticipantCountAggregateInputType | true _min?: TripParticipantMinAggregateInputType _max?: TripParticipantMaxAggregateInputType } export type TripParticipantGroupByOutputType = { id: string status: $Enums.ParticipantStatus createdAt: Date tripId: string userId: string _count: TripParticipantCountAggregateOutputType | null _min: TripParticipantMinAggregateOutputType | null _max: TripParticipantMaxAggregateOutputType | null } export type GetTripParticipantGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof TripParticipantGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type TripParticipantWhereInput = { AND?: Prisma.TripParticipantWhereInput | Prisma.TripParticipantWhereInput[] OR?: Prisma.TripParticipantWhereInput[] NOT?: Prisma.TripParticipantWhereInput | Prisma.TripParticipantWhereInput[] id?: Prisma.StringFilter<"TripParticipant"> | string status?: Prisma.EnumParticipantStatusFilter<"TripParticipant"> | $Enums.ParticipantStatus createdAt?: Prisma.DateTimeFilter<"TripParticipant"> | Date | string tripId?: Prisma.StringFilter<"TripParticipant"> | string userId?: Prisma.StringFilter<"TripParticipant"> | string trip?: Prisma.XOR user?: Prisma.XOR } export type TripParticipantOrderByWithRelationInput = { id?: Prisma.SortOrder status?: Prisma.SortOrder createdAt?: Prisma.SortOrder tripId?: Prisma.SortOrder userId?: Prisma.SortOrder trip?: Prisma.TripOrderByWithRelationInput user?: Prisma.UserOrderByWithRelationInput } export type TripParticipantWhereUniqueInput = Prisma.AtLeast<{ id?: string tripId_userId?: Prisma.TripParticipantTripIdUserIdCompoundUniqueInput AND?: Prisma.TripParticipantWhereInput | Prisma.TripParticipantWhereInput[] OR?: Prisma.TripParticipantWhereInput[] NOT?: Prisma.TripParticipantWhereInput | Prisma.TripParticipantWhereInput[] status?: Prisma.EnumParticipantStatusFilter<"TripParticipant"> | $Enums.ParticipantStatus createdAt?: Prisma.DateTimeFilter<"TripParticipant"> | Date | string tripId?: Prisma.StringFilter<"TripParticipant"> | string userId?: Prisma.StringFilter<"TripParticipant"> | string trip?: Prisma.XOR user?: Prisma.XOR }, "id" | "tripId_userId"> export type TripParticipantOrderByWithAggregationInput = { id?: Prisma.SortOrder status?: Prisma.SortOrder createdAt?: Prisma.SortOrder tripId?: Prisma.SortOrder userId?: Prisma.SortOrder _count?: Prisma.TripParticipantCountOrderByAggregateInput _max?: Prisma.TripParticipantMaxOrderByAggregateInput _min?: Prisma.TripParticipantMinOrderByAggregateInput } export type TripParticipantScalarWhereWithAggregatesInput = { AND?: Prisma.TripParticipantScalarWhereWithAggregatesInput | Prisma.TripParticipantScalarWhereWithAggregatesInput[] OR?: Prisma.TripParticipantScalarWhereWithAggregatesInput[] NOT?: Prisma.TripParticipantScalarWhereWithAggregatesInput | Prisma.TripParticipantScalarWhereWithAggregatesInput[] id?: Prisma.StringWithAggregatesFilter<"TripParticipant"> | string status?: Prisma.EnumParticipantStatusWithAggregatesFilter<"TripParticipant"> | $Enums.ParticipantStatus createdAt?: Prisma.DateTimeWithAggregatesFilter<"TripParticipant"> | Date | string tripId?: Prisma.StringWithAggregatesFilter<"TripParticipant"> | string userId?: Prisma.StringWithAggregatesFilter<"TripParticipant"> | string } export type TripParticipantCreateInput = { id?: string status?: $Enums.ParticipantStatus createdAt?: Date | string trip: Prisma.TripCreateNestedOneWithoutParticipantsInput user: Prisma.UserCreateNestedOneWithoutParticipationsInput } export type TripParticipantUncheckedCreateInput = { id?: string status?: $Enums.ParticipantStatus createdAt?: Date | string tripId: string userId: string } export type TripParticipantUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string status?: Prisma.EnumParticipantStatusFieldUpdateOperationsInput | $Enums.ParticipantStatus createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string trip?: Prisma.TripUpdateOneRequiredWithoutParticipantsNestedInput user?: Prisma.UserUpdateOneRequiredWithoutParticipationsNestedInput } export type TripParticipantUncheckedUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string status?: Prisma.EnumParticipantStatusFieldUpdateOperationsInput | $Enums.ParticipantStatus createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tripId?: Prisma.StringFieldUpdateOperationsInput | string userId?: Prisma.StringFieldUpdateOperationsInput | string } export type TripParticipantCreateManyInput = { id?: string status?: $Enums.ParticipantStatus createdAt?: Date | string tripId: string userId: string } export type TripParticipantUpdateManyMutationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string status?: Prisma.EnumParticipantStatusFieldUpdateOperationsInput | $Enums.ParticipantStatus createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type TripParticipantUncheckedUpdateManyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string status?: Prisma.EnumParticipantStatusFieldUpdateOperationsInput | $Enums.ParticipantStatus createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tripId?: Prisma.StringFieldUpdateOperationsInput | string userId?: Prisma.StringFieldUpdateOperationsInput | string } export type TripParticipantListRelationFilter = { every?: Prisma.TripParticipantWhereInput some?: Prisma.TripParticipantWhereInput none?: Prisma.TripParticipantWhereInput } export type TripParticipantOrderByRelationAggregateInput = { _count?: Prisma.SortOrder } export type TripParticipantTripIdUserIdCompoundUniqueInput = { tripId: string userId: string } export type TripParticipantCountOrderByAggregateInput = { id?: Prisma.SortOrder status?: Prisma.SortOrder createdAt?: Prisma.SortOrder tripId?: Prisma.SortOrder userId?: Prisma.SortOrder } export type TripParticipantMaxOrderByAggregateInput = { id?: Prisma.SortOrder status?: Prisma.SortOrder createdAt?: Prisma.SortOrder tripId?: Prisma.SortOrder userId?: Prisma.SortOrder } export type TripParticipantMinOrderByAggregateInput = { id?: Prisma.SortOrder status?: Prisma.SortOrder createdAt?: Prisma.SortOrder tripId?: Prisma.SortOrder userId?: Prisma.SortOrder } export type TripParticipantCreateNestedManyWithoutUserInput = { create?: Prisma.XOR | Prisma.TripParticipantCreateWithoutUserInput[] | Prisma.TripParticipantUncheckedCreateWithoutUserInput[] connectOrCreate?: Prisma.TripParticipantCreateOrConnectWithoutUserInput | Prisma.TripParticipantCreateOrConnectWithoutUserInput[] createMany?: Prisma.TripParticipantCreateManyUserInputEnvelope connect?: Prisma.TripParticipantWhereUniqueInput | Prisma.TripParticipantWhereUniqueInput[] } export type TripParticipantUncheckedCreateNestedManyWithoutUserInput = { create?: Prisma.XOR | Prisma.TripParticipantCreateWithoutUserInput[] | Prisma.TripParticipantUncheckedCreateWithoutUserInput[] connectOrCreate?: Prisma.TripParticipantCreateOrConnectWithoutUserInput | Prisma.TripParticipantCreateOrConnectWithoutUserInput[] createMany?: Prisma.TripParticipantCreateManyUserInputEnvelope connect?: Prisma.TripParticipantWhereUniqueInput | Prisma.TripParticipantWhereUniqueInput[] } export type TripParticipantUpdateManyWithoutUserNestedInput = { create?: Prisma.XOR | Prisma.TripParticipantCreateWithoutUserInput[] | Prisma.TripParticipantUncheckedCreateWithoutUserInput[] connectOrCreate?: Prisma.TripParticipantCreateOrConnectWithoutUserInput | Prisma.TripParticipantCreateOrConnectWithoutUserInput[] upsert?: Prisma.TripParticipantUpsertWithWhereUniqueWithoutUserInput | Prisma.TripParticipantUpsertWithWhereUniqueWithoutUserInput[] createMany?: Prisma.TripParticipantCreateManyUserInputEnvelope set?: Prisma.TripParticipantWhereUniqueInput | Prisma.TripParticipantWhereUniqueInput[] disconnect?: Prisma.TripParticipantWhereUniqueInput | Prisma.TripParticipantWhereUniqueInput[] delete?: Prisma.TripParticipantWhereUniqueInput | Prisma.TripParticipantWhereUniqueInput[] connect?: Prisma.TripParticipantWhereUniqueInput | Prisma.TripParticipantWhereUniqueInput[] update?: Prisma.TripParticipantUpdateWithWhereUniqueWithoutUserInput | Prisma.TripParticipantUpdateWithWhereUniqueWithoutUserInput[] updateMany?: Prisma.TripParticipantUpdateManyWithWhereWithoutUserInput | Prisma.TripParticipantUpdateManyWithWhereWithoutUserInput[] deleteMany?: Prisma.TripParticipantScalarWhereInput | Prisma.TripParticipantScalarWhereInput[] } export type TripParticipantUncheckedUpdateManyWithoutUserNestedInput = { create?: Prisma.XOR | Prisma.TripParticipantCreateWithoutUserInput[] | Prisma.TripParticipantUncheckedCreateWithoutUserInput[] connectOrCreate?: Prisma.TripParticipantCreateOrConnectWithoutUserInput | Prisma.TripParticipantCreateOrConnectWithoutUserInput[] upsert?: Prisma.TripParticipantUpsertWithWhereUniqueWithoutUserInput | Prisma.TripParticipantUpsertWithWhereUniqueWithoutUserInput[] createMany?: Prisma.TripParticipantCreateManyUserInputEnvelope set?: Prisma.TripParticipantWhereUniqueInput | Prisma.TripParticipantWhereUniqueInput[] disconnect?: Prisma.TripParticipantWhereUniqueInput | Prisma.TripParticipantWhereUniqueInput[] delete?: Prisma.TripParticipantWhereUniqueInput | Prisma.TripParticipantWhereUniqueInput[] connect?: Prisma.TripParticipantWhereUniqueInput | Prisma.TripParticipantWhereUniqueInput[] update?: Prisma.TripParticipantUpdateWithWhereUniqueWithoutUserInput | Prisma.TripParticipantUpdateWithWhereUniqueWithoutUserInput[] updateMany?: Prisma.TripParticipantUpdateManyWithWhereWithoutUserInput | Prisma.TripParticipantUpdateManyWithWhereWithoutUserInput[] deleteMany?: Prisma.TripParticipantScalarWhereInput | Prisma.TripParticipantScalarWhereInput[] } export type TripParticipantCreateNestedManyWithoutTripInput = { create?: Prisma.XOR | Prisma.TripParticipantCreateWithoutTripInput[] | Prisma.TripParticipantUncheckedCreateWithoutTripInput[] connectOrCreate?: Prisma.TripParticipantCreateOrConnectWithoutTripInput | Prisma.TripParticipantCreateOrConnectWithoutTripInput[] createMany?: Prisma.TripParticipantCreateManyTripInputEnvelope connect?: Prisma.TripParticipantWhereUniqueInput | Prisma.TripParticipantWhereUniqueInput[] } export type TripParticipantUncheckedCreateNestedManyWithoutTripInput = { create?: Prisma.XOR | Prisma.TripParticipantCreateWithoutTripInput[] | Prisma.TripParticipantUncheckedCreateWithoutTripInput[] connectOrCreate?: Prisma.TripParticipantCreateOrConnectWithoutTripInput | Prisma.TripParticipantCreateOrConnectWithoutTripInput[] createMany?: Prisma.TripParticipantCreateManyTripInputEnvelope connect?: Prisma.TripParticipantWhereUniqueInput | Prisma.TripParticipantWhereUniqueInput[] } export type TripParticipantUpdateManyWithoutTripNestedInput = { create?: Prisma.XOR | Prisma.TripParticipantCreateWithoutTripInput[] | Prisma.TripParticipantUncheckedCreateWithoutTripInput[] connectOrCreate?: Prisma.TripParticipantCreateOrConnectWithoutTripInput | Prisma.TripParticipantCreateOrConnectWithoutTripInput[] upsert?: Prisma.TripParticipantUpsertWithWhereUniqueWithoutTripInput | Prisma.TripParticipantUpsertWithWhereUniqueWithoutTripInput[] createMany?: Prisma.TripParticipantCreateManyTripInputEnvelope set?: Prisma.TripParticipantWhereUniqueInput | Prisma.TripParticipantWhereUniqueInput[] disconnect?: Prisma.TripParticipantWhereUniqueInput | Prisma.TripParticipantWhereUniqueInput[] delete?: Prisma.TripParticipantWhereUniqueInput | Prisma.TripParticipantWhereUniqueInput[] connect?: Prisma.TripParticipantWhereUniqueInput | Prisma.TripParticipantWhereUniqueInput[] update?: Prisma.TripParticipantUpdateWithWhereUniqueWithoutTripInput | Prisma.TripParticipantUpdateWithWhereUniqueWithoutTripInput[] updateMany?: Prisma.TripParticipantUpdateManyWithWhereWithoutTripInput | Prisma.TripParticipantUpdateManyWithWhereWithoutTripInput[] deleteMany?: Prisma.TripParticipantScalarWhereInput | Prisma.TripParticipantScalarWhereInput[] } export type TripParticipantUncheckedUpdateManyWithoutTripNestedInput = { create?: Prisma.XOR | Prisma.TripParticipantCreateWithoutTripInput[] | Prisma.TripParticipantUncheckedCreateWithoutTripInput[] connectOrCreate?: Prisma.TripParticipantCreateOrConnectWithoutTripInput | Prisma.TripParticipantCreateOrConnectWithoutTripInput[] upsert?: Prisma.TripParticipantUpsertWithWhereUniqueWithoutTripInput | Prisma.TripParticipantUpsertWithWhereUniqueWithoutTripInput[] createMany?: Prisma.TripParticipantCreateManyTripInputEnvelope set?: Prisma.TripParticipantWhereUniqueInput | Prisma.TripParticipantWhereUniqueInput[] disconnect?: Prisma.TripParticipantWhereUniqueInput | Prisma.TripParticipantWhereUniqueInput[] delete?: Prisma.TripParticipantWhereUniqueInput | Prisma.TripParticipantWhereUniqueInput[] connect?: Prisma.TripParticipantWhereUniqueInput | Prisma.TripParticipantWhereUniqueInput[] update?: Prisma.TripParticipantUpdateWithWhereUniqueWithoutTripInput | Prisma.TripParticipantUpdateWithWhereUniqueWithoutTripInput[] updateMany?: Prisma.TripParticipantUpdateManyWithWhereWithoutTripInput | Prisma.TripParticipantUpdateManyWithWhereWithoutTripInput[] deleteMany?: Prisma.TripParticipantScalarWhereInput | Prisma.TripParticipantScalarWhereInput[] } export type EnumParticipantStatusFieldUpdateOperationsInput = { set?: $Enums.ParticipantStatus } export type TripParticipantCreateWithoutUserInput = { id?: string status?: $Enums.ParticipantStatus createdAt?: Date | string trip: Prisma.TripCreateNestedOneWithoutParticipantsInput } export type TripParticipantUncheckedCreateWithoutUserInput = { id?: string status?: $Enums.ParticipantStatus createdAt?: Date | string tripId: string } export type TripParticipantCreateOrConnectWithoutUserInput = { where: Prisma.TripParticipantWhereUniqueInput create: Prisma.XOR } export type TripParticipantCreateManyUserInputEnvelope = { data: Prisma.TripParticipantCreateManyUserInput | Prisma.TripParticipantCreateManyUserInput[] skipDuplicates?: boolean } export type TripParticipantUpsertWithWhereUniqueWithoutUserInput = { where: Prisma.TripParticipantWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type TripParticipantUpdateWithWhereUniqueWithoutUserInput = { where: Prisma.TripParticipantWhereUniqueInput data: Prisma.XOR } export type TripParticipantUpdateManyWithWhereWithoutUserInput = { where: Prisma.TripParticipantScalarWhereInput data: Prisma.XOR } export type TripParticipantScalarWhereInput = { AND?: Prisma.TripParticipantScalarWhereInput | Prisma.TripParticipantScalarWhereInput[] OR?: Prisma.TripParticipantScalarWhereInput[] NOT?: Prisma.TripParticipantScalarWhereInput | Prisma.TripParticipantScalarWhereInput[] id?: Prisma.StringFilter<"TripParticipant"> | string status?: Prisma.EnumParticipantStatusFilter<"TripParticipant"> | $Enums.ParticipantStatus createdAt?: Prisma.DateTimeFilter<"TripParticipant"> | Date | string tripId?: Prisma.StringFilter<"TripParticipant"> | string userId?: Prisma.StringFilter<"TripParticipant"> | string } export type TripParticipantCreateWithoutTripInput = { id?: string status?: $Enums.ParticipantStatus createdAt?: Date | string user: Prisma.UserCreateNestedOneWithoutParticipationsInput } export type TripParticipantUncheckedCreateWithoutTripInput = { id?: string status?: $Enums.ParticipantStatus createdAt?: Date | string userId: string } export type TripParticipantCreateOrConnectWithoutTripInput = { where: Prisma.TripParticipantWhereUniqueInput create: Prisma.XOR } export type TripParticipantCreateManyTripInputEnvelope = { data: Prisma.TripParticipantCreateManyTripInput | Prisma.TripParticipantCreateManyTripInput[] skipDuplicates?: boolean } export type TripParticipantUpsertWithWhereUniqueWithoutTripInput = { where: Prisma.TripParticipantWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type TripParticipantUpdateWithWhereUniqueWithoutTripInput = { where: Prisma.TripParticipantWhereUniqueInput data: Prisma.XOR } export type TripParticipantUpdateManyWithWhereWithoutTripInput = { where: Prisma.TripParticipantScalarWhereInput data: Prisma.XOR } export type TripParticipantCreateManyUserInput = { id?: string status?: $Enums.ParticipantStatus createdAt?: Date | string tripId: string } export type TripParticipantUpdateWithoutUserInput = { id?: Prisma.StringFieldUpdateOperationsInput | string status?: Prisma.EnumParticipantStatusFieldUpdateOperationsInput | $Enums.ParticipantStatus createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string trip?: Prisma.TripUpdateOneRequiredWithoutParticipantsNestedInput } export type TripParticipantUncheckedUpdateWithoutUserInput = { id?: Prisma.StringFieldUpdateOperationsInput | string status?: Prisma.EnumParticipantStatusFieldUpdateOperationsInput | $Enums.ParticipantStatus createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tripId?: Prisma.StringFieldUpdateOperationsInput | string } export type TripParticipantUncheckedUpdateManyWithoutUserInput = { id?: Prisma.StringFieldUpdateOperationsInput | string status?: Prisma.EnumParticipantStatusFieldUpdateOperationsInput | $Enums.ParticipantStatus createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tripId?: Prisma.StringFieldUpdateOperationsInput | string } export type TripParticipantCreateManyTripInput = { id?: string status?: $Enums.ParticipantStatus createdAt?: Date | string userId: string } export type TripParticipantUpdateWithoutTripInput = { id?: Prisma.StringFieldUpdateOperationsInput | string status?: Prisma.EnumParticipantStatusFieldUpdateOperationsInput | $Enums.ParticipantStatus createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string user?: Prisma.UserUpdateOneRequiredWithoutParticipationsNestedInput } export type TripParticipantUncheckedUpdateWithoutTripInput = { id?: Prisma.StringFieldUpdateOperationsInput | string status?: Prisma.EnumParticipantStatusFieldUpdateOperationsInput | $Enums.ParticipantStatus createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string userId?: Prisma.StringFieldUpdateOperationsInput | string } export type TripParticipantUncheckedUpdateManyWithoutTripInput = { id?: Prisma.StringFieldUpdateOperationsInput | string status?: Prisma.EnumParticipantStatusFieldUpdateOperationsInput | $Enums.ParticipantStatus createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string userId?: Prisma.StringFieldUpdateOperationsInput | string } export type TripParticipantSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean status?: boolean createdAt?: boolean tripId?: boolean userId?: boolean trip?: boolean | Prisma.TripDefaultArgs user?: boolean | Prisma.UserDefaultArgs }, ExtArgs["result"]["tripParticipant"]> export type TripParticipantSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean status?: boolean createdAt?: boolean tripId?: boolean userId?: boolean trip?: boolean | Prisma.TripDefaultArgs user?: boolean | Prisma.UserDefaultArgs }, ExtArgs["result"]["tripParticipant"]> export type TripParticipantSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean status?: boolean createdAt?: boolean tripId?: boolean userId?: boolean trip?: boolean | Prisma.TripDefaultArgs user?: boolean | Prisma.UserDefaultArgs }, ExtArgs["result"]["tripParticipant"]> export type TripParticipantSelectScalar = { id?: boolean status?: boolean createdAt?: boolean tripId?: boolean userId?: boolean } export type TripParticipantOmit = runtime.Types.Extensions.GetOmit<"id" | "status" | "createdAt" | "tripId" | "userId", ExtArgs["result"]["tripParticipant"]> export type TripParticipantInclude = { trip?: boolean | Prisma.TripDefaultArgs user?: boolean | Prisma.UserDefaultArgs } export type TripParticipantIncludeCreateManyAndReturn = { trip?: boolean | Prisma.TripDefaultArgs user?: boolean | Prisma.UserDefaultArgs } export type TripParticipantIncludeUpdateManyAndReturn = { trip?: boolean | Prisma.TripDefaultArgs user?: boolean | Prisma.UserDefaultArgs } export type $TripParticipantPayload = { name: "TripParticipant" objects: { trip: Prisma.$TripPayload user: Prisma.$UserPayload } scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string status: $Enums.ParticipantStatus createdAt: Date tripId: string userId: string }, ExtArgs["result"]["tripParticipant"]> composites: {} } export type TripParticipantGetPayload = runtime.Types.Result.GetResult export type TripParticipantCountArgs = Omit & { select?: TripParticipantCountAggregateInputType | true } export interface TripParticipantDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['TripParticipant'], meta: { name: 'TripParticipant' } } /** * Find zero or one TripParticipant that matches the filter. * @param {TripParticipantFindUniqueArgs} args - Arguments to find a TripParticipant * @example * // Get one TripParticipant * const tripParticipant = await prisma.tripParticipant.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__TripParticipantClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one TripParticipant that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {TripParticipantFindUniqueOrThrowArgs} args - Arguments to find a TripParticipant * @example * // Get one TripParticipant * const tripParticipant = await prisma.tripParticipant.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__TripParticipantClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first TripParticipant 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 {TripParticipantFindFirstArgs} args - Arguments to find a TripParticipant * @example * // Get one TripParticipant * const tripParticipant = await prisma.tripParticipant.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__TripParticipantClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first TripParticipant 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 {TripParticipantFindFirstOrThrowArgs} args - Arguments to find a TripParticipant * @example * // Get one TripParticipant * const tripParticipant = await prisma.tripParticipant.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__TripParticipantClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more TripParticipants 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 {TripParticipantFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all TripParticipants * const tripParticipants = await prisma.tripParticipant.findMany() * * // Get first 10 TripParticipants * const tripParticipants = await prisma.tripParticipant.findMany({ take: 10 }) * * // Only select the `id` * const tripParticipantWithIdOnly = await prisma.tripParticipant.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a TripParticipant. * @param {TripParticipantCreateArgs} args - Arguments to create a TripParticipant. * @example * // Create one TripParticipant * const TripParticipant = await prisma.tripParticipant.create({ * data: { * // ... data to create a TripParticipant * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__TripParticipantClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many TripParticipants. * @param {TripParticipantCreateManyArgs} args - Arguments to create many TripParticipants. * @example * // Create many TripParticipants * const tripParticipant = await prisma.tripParticipant.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many TripParticipants and returns the data saved in the database. * @param {TripParticipantCreateManyAndReturnArgs} args - Arguments to create many TripParticipants. * @example * // Create many TripParticipants * const tripParticipant = await prisma.tripParticipant.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many TripParticipants and only return the `id` * const tripParticipantWithIdOnly = await prisma.tripParticipant.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 TripParticipant. * @param {TripParticipantDeleteArgs} args - Arguments to delete one TripParticipant. * @example * // Delete one TripParticipant * const TripParticipant = await prisma.tripParticipant.delete({ * where: { * // ... filter to delete one TripParticipant * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__TripParticipantClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one TripParticipant. * @param {TripParticipantUpdateArgs} args - Arguments to update one TripParticipant. * @example * // Update one TripParticipant * const tripParticipant = await prisma.tripParticipant.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__TripParticipantClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more TripParticipants. * @param {TripParticipantDeleteManyArgs} args - Arguments to filter TripParticipants to delete. * @example * // Delete a few TripParticipants * const { count } = await prisma.tripParticipant.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more TripParticipants. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TripParticipantUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many TripParticipants * const tripParticipant = await prisma.tripParticipant.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more TripParticipants and returns the data updated in the database. * @param {TripParticipantUpdateManyAndReturnArgs} args - Arguments to update many TripParticipants. * @example * // Update many TripParticipants * const tripParticipant = await prisma.tripParticipant.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more TripParticipants and only return the `id` * const tripParticipantWithIdOnly = await prisma.tripParticipant.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 TripParticipant. * @param {TripParticipantUpsertArgs} args - Arguments to update or create a TripParticipant. * @example * // Update or create a TripParticipant * const tripParticipant = await prisma.tripParticipant.upsert({ * create: { * // ... data to create a TripParticipant * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the TripParticipant we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__TripParticipantClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of TripParticipants. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TripParticipantCountArgs} args - Arguments to filter TripParticipants to count. * @example * // Count the number of TripParticipants * const count = await prisma.tripParticipant.count({ * where: { * // ... the filter for the TripParticipants 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 TripParticipant. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TripParticipantAggregateArgs} 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 TripParticipant. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TripParticipantGroupByArgs} 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 TripParticipantGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: TripParticipantGroupByArgs['orderBy'] } : { orderBy?: TripParticipantGroupByArgs['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 ? GetTripParticipantGroupByPayload : Prisma.PrismaPromise /** * Fields of the TripParticipant model */ readonly fields: TripParticipantFieldRefs; } /** * The delegate class that acts as a "Promise-like" for TripParticipant. * 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__TripParticipantClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" trip = {}>(args?: Prisma.Subset>): Prisma.Prisma__TripClient, 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 TripParticipant model */ export interface TripParticipantFieldRefs { readonly id: Prisma.FieldRef<"TripParticipant", 'String'> readonly status: Prisma.FieldRef<"TripParticipant", 'ParticipantStatus'> readonly createdAt: Prisma.FieldRef<"TripParticipant", 'DateTime'> readonly tripId: Prisma.FieldRef<"TripParticipant", 'String'> readonly userId: Prisma.FieldRef<"TripParticipant", 'String'> } // Custom InputTypes /** * TripParticipant findUnique */ export type TripParticipantFindUniqueArgs = { /** * Select specific fields to fetch from the TripParticipant */ select?: Prisma.TripParticipantSelect | null /** * Omit specific fields from the TripParticipant */ omit?: Prisma.TripParticipantOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TripParticipantInclude | null /** * Filter, which TripParticipant to fetch. */ where: Prisma.TripParticipantWhereUniqueInput } /** * TripParticipant findUniqueOrThrow */ export type TripParticipantFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the TripParticipant */ select?: Prisma.TripParticipantSelect | null /** * Omit specific fields from the TripParticipant */ omit?: Prisma.TripParticipantOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TripParticipantInclude | null /** * Filter, which TripParticipant to fetch. */ where: Prisma.TripParticipantWhereUniqueInput } /** * TripParticipant findFirst */ export type TripParticipantFindFirstArgs = { /** * Select specific fields to fetch from the TripParticipant */ select?: Prisma.TripParticipantSelect | null /** * Omit specific fields from the TripParticipant */ omit?: Prisma.TripParticipantOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TripParticipantInclude | null /** * Filter, which TripParticipant to fetch. */ where?: Prisma.TripParticipantWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of TripParticipants to fetch. */ orderBy?: Prisma.TripParticipantOrderByWithRelationInput | Prisma.TripParticipantOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for TripParticipants. */ cursor?: Prisma.TripParticipantWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` TripParticipants 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` TripParticipants. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of TripParticipants. */ distinct?: Prisma.TripParticipantScalarFieldEnum | Prisma.TripParticipantScalarFieldEnum[] } /** * TripParticipant findFirstOrThrow */ export type TripParticipantFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the TripParticipant */ select?: Prisma.TripParticipantSelect | null /** * Omit specific fields from the TripParticipant */ omit?: Prisma.TripParticipantOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TripParticipantInclude | null /** * Filter, which TripParticipant to fetch. */ where?: Prisma.TripParticipantWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of TripParticipants to fetch. */ orderBy?: Prisma.TripParticipantOrderByWithRelationInput | Prisma.TripParticipantOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for TripParticipants. */ cursor?: Prisma.TripParticipantWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` TripParticipants 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` TripParticipants. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of TripParticipants. */ distinct?: Prisma.TripParticipantScalarFieldEnum | Prisma.TripParticipantScalarFieldEnum[] } /** * TripParticipant findMany */ export type TripParticipantFindManyArgs = { /** * Select specific fields to fetch from the TripParticipant */ select?: Prisma.TripParticipantSelect | null /** * Omit specific fields from the TripParticipant */ omit?: Prisma.TripParticipantOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TripParticipantInclude | null /** * Filter, which TripParticipants to fetch. */ where?: Prisma.TripParticipantWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of TripParticipants to fetch. */ orderBy?: Prisma.TripParticipantOrderByWithRelationInput | Prisma.TripParticipantOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing TripParticipants. */ cursor?: Prisma.TripParticipantWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` TripParticipants 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` TripParticipants. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of TripParticipants. */ distinct?: Prisma.TripParticipantScalarFieldEnum | Prisma.TripParticipantScalarFieldEnum[] } /** * TripParticipant create */ export type TripParticipantCreateArgs = { /** * Select specific fields to fetch from the TripParticipant */ select?: Prisma.TripParticipantSelect | null /** * Omit specific fields from the TripParticipant */ omit?: Prisma.TripParticipantOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TripParticipantInclude | null /** * The data needed to create a TripParticipant. */ data: Prisma.XOR } /** * TripParticipant createMany */ export type TripParticipantCreateManyArgs = { /** * The data used to create many TripParticipants. */ data: Prisma.TripParticipantCreateManyInput | Prisma.TripParticipantCreateManyInput[] skipDuplicates?: boolean } /** * TripParticipant createManyAndReturn */ export type TripParticipantCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the TripParticipant */ select?: Prisma.TripParticipantSelectCreateManyAndReturn | null /** * Omit specific fields from the TripParticipant */ omit?: Prisma.TripParticipantOmit | null /** * The data used to create many TripParticipants. */ data: Prisma.TripParticipantCreateManyInput | Prisma.TripParticipantCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: Prisma.TripParticipantIncludeCreateManyAndReturn | null } /** * TripParticipant update */ export type TripParticipantUpdateArgs = { /** * Select specific fields to fetch from the TripParticipant */ select?: Prisma.TripParticipantSelect | null /** * Omit specific fields from the TripParticipant */ omit?: Prisma.TripParticipantOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TripParticipantInclude | null /** * The data needed to update a TripParticipant. */ data: Prisma.XOR /** * Choose, which TripParticipant to update. */ where: Prisma.TripParticipantWhereUniqueInput } /** * TripParticipant updateMany */ export type TripParticipantUpdateManyArgs = { /** * The data used to update TripParticipants. */ data: Prisma.XOR /** * Filter which TripParticipants to update */ where?: Prisma.TripParticipantWhereInput /** * Limit how many TripParticipants to update. */ limit?: number } /** * TripParticipant updateManyAndReturn */ export type TripParticipantUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the TripParticipant */ select?: Prisma.TripParticipantSelectUpdateManyAndReturn | null /** * Omit specific fields from the TripParticipant */ omit?: Prisma.TripParticipantOmit | null /** * The data used to update TripParticipants. */ data: Prisma.XOR /** * Filter which TripParticipants to update */ where?: Prisma.TripParticipantWhereInput /** * Limit how many TripParticipants to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: Prisma.TripParticipantIncludeUpdateManyAndReturn | null } /** * TripParticipant upsert */ export type TripParticipantUpsertArgs = { /** * Select specific fields to fetch from the TripParticipant */ select?: Prisma.TripParticipantSelect | null /** * Omit specific fields from the TripParticipant */ omit?: Prisma.TripParticipantOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TripParticipantInclude | null /** * The filter to search for the TripParticipant to update in case it exists. */ where: Prisma.TripParticipantWhereUniqueInput /** * In case the TripParticipant found by the `where` argument doesn't exist, create a new TripParticipant with this data. */ create: Prisma.XOR /** * In case the TripParticipant was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * TripParticipant delete */ export type TripParticipantDeleteArgs = { /** * Select specific fields to fetch from the TripParticipant */ select?: Prisma.TripParticipantSelect | null /** * Omit specific fields from the TripParticipant */ omit?: Prisma.TripParticipantOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TripParticipantInclude | null /** * Filter which TripParticipant to delete. */ where: Prisma.TripParticipantWhereUniqueInput } /** * TripParticipant deleteMany */ export type TripParticipantDeleteManyArgs = { /** * Filter which TripParticipants to delete */ where?: Prisma.TripParticipantWhereInput /** * Limit how many TripParticipants to delete. */ limit?: number } /** * TripParticipant without action */ export type TripParticipantDefaultArgs = { /** * Select specific fields to fetch from the TripParticipant */ select?: Prisma.TripParticipantSelect | null /** * Omit specific fields from the TripParticipant */ omit?: Prisma.TripParticipantOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TripParticipantInclude | null }