
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
/* eslint-disable */
// biome-ignore-all lint: generated file
// @ts-nocheck 
/*
 * This file exports the `Trip` 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 Trip
 * 
 */
export type TripModel = runtime.Types.Result.DefaultSelection<Prisma.$TripPayload>

export type AggregateTrip = {
  _count: TripCountAggregateOutputType | null
  _avg: TripAvgAggregateOutputType | null
  _sum: TripSumAggregateOutputType | null
  _min: TripMinAggregateOutputType | null
  _max: TripMaxAggregateOutputType | null
}

export type TripAvgAggregateOutputType = {
  maxParticipants: number | null
  price: number | null
}

export type TripSumAggregateOutputType = {
  maxParticipants: number | null
  price: number | null
}

export type TripMinAggregateOutputType = {
  id: string | null
  title: string | null
  description: string | null
  category: $Enums.ActivityCategory | null
  destination: string | null
  location: string | null
  meetingPoint: string | null
  itinerary: string | null
  whatsIncluded: string | null
  whatsExcluded: string | null
  date: Date | null
  endDate: Date | null
  maxParticipants: number | null
  price: number | null
  vibe: $Enums.Vibe | null
  status: $Enums.TripStatus | null
  createdAt: Date | null
  updatedAt: Date | null
  organizerId: string | null
}

export type TripMaxAggregateOutputType = {
  id: string | null
  title: string | null
  description: string | null
  category: $Enums.ActivityCategory | null
  destination: string | null
  location: string | null
  meetingPoint: string | null
  itinerary: string | null
  whatsIncluded: string | null
  whatsExcluded: string | null
  date: Date | null
  endDate: Date | null
  maxParticipants: number | null
  price: number | null
  vibe: $Enums.Vibe | null
  status: $Enums.TripStatus | null
  createdAt: Date | null
  updatedAt: Date | null
  organizerId: string | null
}

export type TripCountAggregateOutputType = {
  id: number
  title: number
  description: number
  category: number
  destination: number
  location: number
  meetingPoint: number
  itinerary: number
  whatsIncluded: number
  whatsExcluded: number
  date: number
  endDate: number
  maxParticipants: number
  price: number
  vibe: number
  status: number
  createdAt: number
  updatedAt: number
  organizerId: number
  _all: number
}


export type TripAvgAggregateInputType = {
  maxParticipants?: true
  price?: true
}

export type TripSumAggregateInputType = {
  maxParticipants?: true
  price?: true
}

export type TripMinAggregateInputType = {
  id?: true
  title?: true
  description?: true
  category?: true
  destination?: true
  location?: true
  meetingPoint?: true
  itinerary?: true
  whatsIncluded?: true
  whatsExcluded?: true
  date?: true
  endDate?: true
  maxParticipants?: true
  price?: true
  vibe?: true
  status?: true
  createdAt?: true
  updatedAt?: true
  organizerId?: true
}

export type TripMaxAggregateInputType = {
  id?: true
  title?: true
  description?: true
  category?: true
  destination?: true
  location?: true
  meetingPoint?: true
  itinerary?: true
  whatsIncluded?: true
  whatsExcluded?: true
  date?: true
  endDate?: true
  maxParticipants?: true
  price?: true
  vibe?: true
  status?: true
  createdAt?: true
  updatedAt?: true
  organizerId?: true
}

export type TripCountAggregateInputType = {
  id?: true
  title?: true
  description?: true
  category?: true
  destination?: true
  location?: true
  meetingPoint?: true
  itinerary?: true
  whatsIncluded?: true
  whatsExcluded?: true
  date?: true
  endDate?: true
  maxParticipants?: true
  price?: true
  vibe?: true
  status?: true
  createdAt?: true
  updatedAt?: true
  organizerId?: true
  _all?: true
}

export type TripAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Filter which Trip to aggregate.
   */
  where?: Prisma.TripWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of Trips to fetch.
   */
  orderBy?: Prisma.TripOrderByWithRelationInput | Prisma.TripOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the start position
   */
  cursor?: Prisma.TripWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` Trips 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` Trips.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Count returned Trips
  **/
  _count?: true | TripCountAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to average
  **/
  _avg?: TripAvgAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to sum
  **/
  _sum?: TripSumAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to find the minimum value
  **/
  _min?: TripMinAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to find the maximum value
  **/
  _max?: TripMaxAggregateInputType
}

export type GetTripAggregateType<T extends TripAggregateArgs> = {
      [P in keyof T & keyof AggregateTrip]: P extends '_count' | 'count'
    ? T[P] extends true
      ? number
      : Prisma.GetScalarType<T[P], AggregateTrip[P]>
    : Prisma.GetScalarType<T[P], AggregateTrip[P]>
}




export type TripGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  where?: Prisma.TripWhereInput
  orderBy?: Prisma.TripOrderByWithAggregationInput | Prisma.TripOrderByWithAggregationInput[]
  by: Prisma.TripScalarFieldEnum[] | Prisma.TripScalarFieldEnum
  having?: Prisma.TripScalarWhereWithAggregatesInput
  take?: number
  skip?: number
  _count?: TripCountAggregateInputType | true
  _avg?: TripAvgAggregateInputType
  _sum?: TripSumAggregateInputType
  _min?: TripMinAggregateInputType
  _max?: TripMaxAggregateInputType
}

export type TripGroupByOutputType = {
  id: string
  title: string
  description: string | null
  category: $Enums.ActivityCategory
  destination: string
  location: string
  meetingPoint: string | null
  itinerary: string | null
  whatsIncluded: string | null
  whatsExcluded: string | null
  date: Date
  endDate: Date | null
  maxParticipants: number
  price: number
  vibe: $Enums.Vibe | null
  status: $Enums.TripStatus
  createdAt: Date
  updatedAt: Date
  organizerId: string
  _count: TripCountAggregateOutputType | null
  _avg: TripAvgAggregateOutputType | null
  _sum: TripSumAggregateOutputType | null
  _min: TripMinAggregateOutputType | null
  _max: TripMaxAggregateOutputType | null
}

export type GetTripGroupByPayload<T extends TripGroupByArgs> = Prisma.PrismaPromise<
  Array<
    Prisma.PickEnumerable<TripGroupByOutputType, T['by']> &
      {
        [P in ((keyof T) & (keyof TripGroupByOutputType))]: P extends '_count'
          ? T[P] extends boolean
            ? number
            : Prisma.GetScalarType<T[P], TripGroupByOutputType[P]>
          : Prisma.GetScalarType<T[P], TripGroupByOutputType[P]>
      }
    >
  >



export type TripWhereInput = {
  AND?: Prisma.TripWhereInput | Prisma.TripWhereInput[]
  OR?: Prisma.TripWhereInput[]
  NOT?: Prisma.TripWhereInput | Prisma.TripWhereInput[]
  id?: Prisma.StringFilter<"Trip"> | string
  title?: Prisma.StringFilter<"Trip"> | string
  description?: Prisma.StringNullableFilter<"Trip"> | string | null
  category?: Prisma.EnumActivityCategoryFilter<"Trip"> | $Enums.ActivityCategory
  destination?: Prisma.StringFilter<"Trip"> | string
  location?: Prisma.StringFilter<"Trip"> | string
  meetingPoint?: Prisma.StringNullableFilter<"Trip"> | string | null
  itinerary?: Prisma.StringNullableFilter<"Trip"> | string | null
  whatsIncluded?: Prisma.StringNullableFilter<"Trip"> | string | null
  whatsExcluded?: Prisma.StringNullableFilter<"Trip"> | string | null
  date?: Prisma.DateTimeFilter<"Trip"> | Date | string
  endDate?: Prisma.DateTimeNullableFilter<"Trip"> | Date | string | null
  maxParticipants?: Prisma.IntFilter<"Trip"> | number
  price?: Prisma.IntFilter<"Trip"> | number
  vibe?: Prisma.EnumVibeNullableFilter<"Trip"> | $Enums.Vibe | null
  status?: Prisma.EnumTripStatusFilter<"Trip"> | $Enums.TripStatus
  createdAt?: Prisma.DateTimeFilter<"Trip"> | Date | string
  updatedAt?: Prisma.DateTimeFilter<"Trip"> | Date | string
  organizerId?: Prisma.StringFilter<"Trip"> | string
  organizer?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
  participants?: Prisma.TripParticipantListRelationFilter
  images?: Prisma.TripImageListRelationFilter
  reviews?: Prisma.TripReviewListRelationFilter
  bookings?: Prisma.BookingListRelationFilter
}

export type TripOrderByWithRelationInput = {
  id?: Prisma.SortOrder
  title?: Prisma.SortOrder
  description?: Prisma.SortOrderInput | Prisma.SortOrder
  category?: Prisma.SortOrder
  destination?: Prisma.SortOrder
  location?: Prisma.SortOrder
  meetingPoint?: Prisma.SortOrderInput | Prisma.SortOrder
  itinerary?: Prisma.SortOrderInput | Prisma.SortOrder
  whatsIncluded?: Prisma.SortOrderInput | Prisma.SortOrder
  whatsExcluded?: Prisma.SortOrderInput | Prisma.SortOrder
  date?: Prisma.SortOrder
  endDate?: Prisma.SortOrderInput | Prisma.SortOrder
  maxParticipants?: Prisma.SortOrder
  price?: Prisma.SortOrder
  vibe?: Prisma.SortOrderInput | Prisma.SortOrder
  status?: Prisma.SortOrder
  createdAt?: Prisma.SortOrder
  updatedAt?: Prisma.SortOrder
  organizerId?: Prisma.SortOrder
  organizer?: Prisma.UserOrderByWithRelationInput
  participants?: Prisma.TripParticipantOrderByRelationAggregateInput
  images?: Prisma.TripImageOrderByRelationAggregateInput
  reviews?: Prisma.TripReviewOrderByRelationAggregateInput
  bookings?: Prisma.BookingOrderByRelationAggregateInput
}

export type TripWhereUniqueInput = Prisma.AtLeast<{
  id?: string
  AND?: Prisma.TripWhereInput | Prisma.TripWhereInput[]
  OR?: Prisma.TripWhereInput[]
  NOT?: Prisma.TripWhereInput | Prisma.TripWhereInput[]
  title?: Prisma.StringFilter<"Trip"> | string
  description?: Prisma.StringNullableFilter<"Trip"> | string | null
  category?: Prisma.EnumActivityCategoryFilter<"Trip"> | $Enums.ActivityCategory
  destination?: Prisma.StringFilter<"Trip"> | string
  location?: Prisma.StringFilter<"Trip"> | string
  meetingPoint?: Prisma.StringNullableFilter<"Trip"> | string | null
  itinerary?: Prisma.StringNullableFilter<"Trip"> | string | null
  whatsIncluded?: Prisma.StringNullableFilter<"Trip"> | string | null
  whatsExcluded?: Prisma.StringNullableFilter<"Trip"> | string | null
  date?: Prisma.DateTimeFilter<"Trip"> | Date | string
  endDate?: Prisma.DateTimeNullableFilter<"Trip"> | Date | string | null
  maxParticipants?: Prisma.IntFilter<"Trip"> | number
  price?: Prisma.IntFilter<"Trip"> | number
  vibe?: Prisma.EnumVibeNullableFilter<"Trip"> | $Enums.Vibe | null
  status?: Prisma.EnumTripStatusFilter<"Trip"> | $Enums.TripStatus
  createdAt?: Prisma.DateTimeFilter<"Trip"> | Date | string
  updatedAt?: Prisma.DateTimeFilter<"Trip"> | Date | string
  organizerId?: Prisma.StringFilter<"Trip"> | string
  organizer?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
  participants?: Prisma.TripParticipantListRelationFilter
  images?: Prisma.TripImageListRelationFilter
  reviews?: Prisma.TripReviewListRelationFilter
  bookings?: Prisma.BookingListRelationFilter
}, "id">

export type TripOrderByWithAggregationInput = {
  id?: Prisma.SortOrder
  title?: Prisma.SortOrder
  description?: Prisma.SortOrderInput | Prisma.SortOrder
  category?: Prisma.SortOrder
  destination?: Prisma.SortOrder
  location?: Prisma.SortOrder
  meetingPoint?: Prisma.SortOrderInput | Prisma.SortOrder
  itinerary?: Prisma.SortOrderInput | Prisma.SortOrder
  whatsIncluded?: Prisma.SortOrderInput | Prisma.SortOrder
  whatsExcluded?: Prisma.SortOrderInput | Prisma.SortOrder
  date?: Prisma.SortOrder
  endDate?: Prisma.SortOrderInput | Prisma.SortOrder
  maxParticipants?: Prisma.SortOrder
  price?: Prisma.SortOrder
  vibe?: Prisma.SortOrderInput | Prisma.SortOrder
  status?: Prisma.SortOrder
  createdAt?: Prisma.SortOrder
  updatedAt?: Prisma.SortOrder
  organizerId?: Prisma.SortOrder
  _count?: Prisma.TripCountOrderByAggregateInput
  _avg?: Prisma.TripAvgOrderByAggregateInput
  _max?: Prisma.TripMaxOrderByAggregateInput
  _min?: Prisma.TripMinOrderByAggregateInput
  _sum?: Prisma.TripSumOrderByAggregateInput
}

export type TripScalarWhereWithAggregatesInput = {
  AND?: Prisma.TripScalarWhereWithAggregatesInput | Prisma.TripScalarWhereWithAggregatesInput[]
  OR?: Prisma.TripScalarWhereWithAggregatesInput[]
  NOT?: Prisma.TripScalarWhereWithAggregatesInput | Prisma.TripScalarWhereWithAggregatesInput[]
  id?: Prisma.StringWithAggregatesFilter<"Trip"> | string
  title?: Prisma.StringWithAggregatesFilter<"Trip"> | string
  description?: Prisma.StringNullableWithAggregatesFilter<"Trip"> | string | null
  category?: Prisma.EnumActivityCategoryWithAggregatesFilter<"Trip"> | $Enums.ActivityCategory
  destination?: Prisma.StringWithAggregatesFilter<"Trip"> | string
  location?: Prisma.StringWithAggregatesFilter<"Trip"> | string
  meetingPoint?: Prisma.StringNullableWithAggregatesFilter<"Trip"> | string | null
  itinerary?: Prisma.StringNullableWithAggregatesFilter<"Trip"> | string | null
  whatsIncluded?: Prisma.StringNullableWithAggregatesFilter<"Trip"> | string | null
  whatsExcluded?: Prisma.StringNullableWithAggregatesFilter<"Trip"> | string | null
  date?: Prisma.DateTimeWithAggregatesFilter<"Trip"> | Date | string
  endDate?: Prisma.DateTimeNullableWithAggregatesFilter<"Trip"> | Date | string | null
  maxParticipants?: Prisma.IntWithAggregatesFilter<"Trip"> | number
  price?: Prisma.IntWithAggregatesFilter<"Trip"> | number
  vibe?: Prisma.EnumVibeNullableWithAggregatesFilter<"Trip"> | $Enums.Vibe | null
  status?: Prisma.EnumTripStatusWithAggregatesFilter<"Trip"> | $Enums.TripStatus
  createdAt?: Prisma.DateTimeWithAggregatesFilter<"Trip"> | Date | string
  updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Trip"> | Date | string
  organizerId?: Prisma.StringWithAggregatesFilter<"Trip"> | string
}

export type TripCreateInput = {
  id?: string
  title: string
  description?: string | null
  category?: $Enums.ActivityCategory
  destination: string
  location: string
  meetingPoint?: string | null
  itinerary?: string | null
  whatsIncluded?: string | null
  whatsExcluded?: string | null
  date: Date | string
  endDate?: Date | string | null
  maxParticipants: number
  price: number
  vibe?: $Enums.Vibe | null
  status?: $Enums.TripStatus
  createdAt?: Date | string
  updatedAt?: Date | string
  organizer: Prisma.UserCreateNestedOneWithoutTripsInput
  participants?: Prisma.TripParticipantCreateNestedManyWithoutTripInput
  images?: Prisma.TripImageCreateNestedManyWithoutTripInput
  reviews?: Prisma.TripReviewCreateNestedManyWithoutTripInput
  bookings?: Prisma.BookingCreateNestedManyWithoutTripInput
}

export type TripUncheckedCreateInput = {
  id?: string
  title: string
  description?: string | null
  category?: $Enums.ActivityCategory
  destination: string
  location: string
  meetingPoint?: string | null
  itinerary?: string | null
  whatsIncluded?: string | null
  whatsExcluded?: string | null
  date: Date | string
  endDate?: Date | string | null
  maxParticipants: number
  price: number
  vibe?: $Enums.Vibe | null
  status?: $Enums.TripStatus
  createdAt?: Date | string
  updatedAt?: Date | string
  organizerId: string
  participants?: Prisma.TripParticipantUncheckedCreateNestedManyWithoutTripInput
  images?: Prisma.TripImageUncheckedCreateNestedManyWithoutTripInput
  reviews?: Prisma.TripReviewUncheckedCreateNestedManyWithoutTripInput
  bookings?: Prisma.BookingUncheckedCreateNestedManyWithoutTripInput
}

export type TripUpdateInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  title?: Prisma.StringFieldUpdateOperationsInput | string
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  category?: Prisma.EnumActivityCategoryFieldUpdateOperationsInput | $Enums.ActivityCategory
  destination?: Prisma.StringFieldUpdateOperationsInput | string
  location?: Prisma.StringFieldUpdateOperationsInput | string
  meetingPoint?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  itinerary?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  whatsIncluded?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  whatsExcluded?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  date?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  endDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  maxParticipants?: Prisma.IntFieldUpdateOperationsInput | number
  price?: Prisma.IntFieldUpdateOperationsInput | number
  vibe?: Prisma.NullableEnumVibeFieldUpdateOperationsInput | $Enums.Vibe | null
  status?: Prisma.EnumTripStatusFieldUpdateOperationsInput | $Enums.TripStatus
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  organizer?: Prisma.UserUpdateOneRequiredWithoutTripsNestedInput
  participants?: Prisma.TripParticipantUpdateManyWithoutTripNestedInput
  images?: Prisma.TripImageUpdateManyWithoutTripNestedInput
  reviews?: Prisma.TripReviewUpdateManyWithoutTripNestedInput
  bookings?: Prisma.BookingUpdateManyWithoutTripNestedInput
}

export type TripUncheckedUpdateInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  title?: Prisma.StringFieldUpdateOperationsInput | string
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  category?: Prisma.EnumActivityCategoryFieldUpdateOperationsInput | $Enums.ActivityCategory
  destination?: Prisma.StringFieldUpdateOperationsInput | string
  location?: Prisma.StringFieldUpdateOperationsInput | string
  meetingPoint?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  itinerary?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  whatsIncluded?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  whatsExcluded?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  date?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  endDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  maxParticipants?: Prisma.IntFieldUpdateOperationsInput | number
  price?: Prisma.IntFieldUpdateOperationsInput | number
  vibe?: Prisma.NullableEnumVibeFieldUpdateOperationsInput | $Enums.Vibe | null
  status?: Prisma.EnumTripStatusFieldUpdateOperationsInput | $Enums.TripStatus
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  organizerId?: Prisma.StringFieldUpdateOperationsInput | string
  participants?: Prisma.TripParticipantUncheckedUpdateManyWithoutTripNestedInput
  images?: Prisma.TripImageUncheckedUpdateManyWithoutTripNestedInput
  reviews?: Prisma.TripReviewUncheckedUpdateManyWithoutTripNestedInput
  bookings?: Prisma.BookingUncheckedUpdateManyWithoutTripNestedInput
}

export type TripCreateManyInput = {
  id?: string
  title: string
  description?: string | null
  category?: $Enums.ActivityCategory
  destination: string
  location: string
  meetingPoint?: string | null
  itinerary?: string | null
  whatsIncluded?: string | null
  whatsExcluded?: string | null
  date: Date | string
  endDate?: Date | string | null
  maxParticipants: number
  price: number
  vibe?: $Enums.Vibe | null
  status?: $Enums.TripStatus
  createdAt?: Date | string
  updatedAt?: Date | string
  organizerId: string
}

export type TripUpdateManyMutationInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  title?: Prisma.StringFieldUpdateOperationsInput | string
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  category?: Prisma.EnumActivityCategoryFieldUpdateOperationsInput | $Enums.ActivityCategory
  destination?: Prisma.StringFieldUpdateOperationsInput | string
  location?: Prisma.StringFieldUpdateOperationsInput | string
  meetingPoint?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  itinerary?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  whatsIncluded?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  whatsExcluded?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  date?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  endDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  maxParticipants?: Prisma.IntFieldUpdateOperationsInput | number
  price?: Prisma.IntFieldUpdateOperationsInput | number
  vibe?: Prisma.NullableEnumVibeFieldUpdateOperationsInput | $Enums.Vibe | null
  status?: Prisma.EnumTripStatusFieldUpdateOperationsInput | $Enums.TripStatus
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}

export type TripUncheckedUpdateManyInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  title?: Prisma.StringFieldUpdateOperationsInput | string
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  category?: Prisma.EnumActivityCategoryFieldUpdateOperationsInput | $Enums.ActivityCategory
  destination?: Prisma.StringFieldUpdateOperationsInput | string
  location?: Prisma.StringFieldUpdateOperationsInput | string
  meetingPoint?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  itinerary?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  whatsIncluded?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  whatsExcluded?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  date?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  endDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  maxParticipants?: Prisma.IntFieldUpdateOperationsInput | number
  price?: Prisma.IntFieldUpdateOperationsInput | number
  vibe?: Prisma.NullableEnumVibeFieldUpdateOperationsInput | $Enums.Vibe | null
  status?: Prisma.EnumTripStatusFieldUpdateOperationsInput | $Enums.TripStatus
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  organizerId?: Prisma.StringFieldUpdateOperationsInput | string
}

export type TripListRelationFilter = {
  every?: Prisma.TripWhereInput
  some?: Prisma.TripWhereInput
  none?: Prisma.TripWhereInput
}

export type TripOrderByRelationAggregateInput = {
  _count?: Prisma.SortOrder
}

export type TripCountOrderByAggregateInput = {
  id?: Prisma.SortOrder
  title?: Prisma.SortOrder
  description?: Prisma.SortOrder
  category?: Prisma.SortOrder
  destination?: Prisma.SortOrder
  location?: Prisma.SortOrder
  meetingPoint?: Prisma.SortOrder
  itinerary?: Prisma.SortOrder
  whatsIncluded?: Prisma.SortOrder
  whatsExcluded?: Prisma.SortOrder
  date?: Prisma.SortOrder
  endDate?: Prisma.SortOrder
  maxParticipants?: Prisma.SortOrder
  price?: Prisma.SortOrder
  vibe?: Prisma.SortOrder
  status?: Prisma.SortOrder
  createdAt?: Prisma.SortOrder
  updatedAt?: Prisma.SortOrder
  organizerId?: Prisma.SortOrder
}

export type TripAvgOrderByAggregateInput = {
  maxParticipants?: Prisma.SortOrder
  price?: Prisma.SortOrder
}

export type TripMaxOrderByAggregateInput = {
  id?: Prisma.SortOrder
  title?: Prisma.SortOrder
  description?: Prisma.SortOrder
  category?: Prisma.SortOrder
  destination?: Prisma.SortOrder
  location?: Prisma.SortOrder
  meetingPoint?: Prisma.SortOrder
  itinerary?: Prisma.SortOrder
  whatsIncluded?: Prisma.SortOrder
  whatsExcluded?: Prisma.SortOrder
  date?: Prisma.SortOrder
  endDate?: Prisma.SortOrder
  maxParticipants?: Prisma.SortOrder
  price?: Prisma.SortOrder
  vibe?: Prisma.SortOrder
  status?: Prisma.SortOrder
  createdAt?: Prisma.SortOrder
  updatedAt?: Prisma.SortOrder
  organizerId?: Prisma.SortOrder
}

export type TripMinOrderByAggregateInput = {
  id?: Prisma.SortOrder
  title?: Prisma.SortOrder
  description?: Prisma.SortOrder
  category?: Prisma.SortOrder
  destination?: Prisma.SortOrder
  location?: Prisma.SortOrder
  meetingPoint?: Prisma.SortOrder
  itinerary?: Prisma.SortOrder
  whatsIncluded?: Prisma.SortOrder
  whatsExcluded?: Prisma.SortOrder
  date?: Prisma.SortOrder
  endDate?: Prisma.SortOrder
  maxParticipants?: Prisma.SortOrder
  price?: Prisma.SortOrder
  vibe?: Prisma.SortOrder
  status?: Prisma.SortOrder
  createdAt?: Prisma.SortOrder
  updatedAt?: Prisma.SortOrder
  organizerId?: Prisma.SortOrder
}

export type TripSumOrderByAggregateInput = {
  maxParticipants?: Prisma.SortOrder
  price?: Prisma.SortOrder
}

export type TripScalarRelationFilter = {
  is?: Prisma.TripWhereInput
  isNot?: Prisma.TripWhereInput
}

export type TripCreateNestedManyWithoutOrganizerInput = {
  create?: Prisma.XOR<Prisma.TripCreateWithoutOrganizerInput, Prisma.TripUncheckedCreateWithoutOrganizerInput> | Prisma.TripCreateWithoutOrganizerInput[] | Prisma.TripUncheckedCreateWithoutOrganizerInput[]
  connectOrCreate?: Prisma.TripCreateOrConnectWithoutOrganizerInput | Prisma.TripCreateOrConnectWithoutOrganizerInput[]
  createMany?: Prisma.TripCreateManyOrganizerInputEnvelope
  connect?: Prisma.TripWhereUniqueInput | Prisma.TripWhereUniqueInput[]
}

export type TripUncheckedCreateNestedManyWithoutOrganizerInput = {
  create?: Prisma.XOR<Prisma.TripCreateWithoutOrganizerInput, Prisma.TripUncheckedCreateWithoutOrganizerInput> | Prisma.TripCreateWithoutOrganizerInput[] | Prisma.TripUncheckedCreateWithoutOrganizerInput[]
  connectOrCreate?: Prisma.TripCreateOrConnectWithoutOrganizerInput | Prisma.TripCreateOrConnectWithoutOrganizerInput[]
  createMany?: Prisma.TripCreateManyOrganizerInputEnvelope
  connect?: Prisma.TripWhereUniqueInput | Prisma.TripWhereUniqueInput[]
}

export type TripUpdateManyWithoutOrganizerNestedInput = {
  create?: Prisma.XOR<Prisma.TripCreateWithoutOrganizerInput, Prisma.TripUncheckedCreateWithoutOrganizerInput> | Prisma.TripCreateWithoutOrganizerInput[] | Prisma.TripUncheckedCreateWithoutOrganizerInput[]
  connectOrCreate?: Prisma.TripCreateOrConnectWithoutOrganizerInput | Prisma.TripCreateOrConnectWithoutOrganizerInput[]
  upsert?: Prisma.TripUpsertWithWhereUniqueWithoutOrganizerInput | Prisma.TripUpsertWithWhereUniqueWithoutOrganizerInput[]
  createMany?: Prisma.TripCreateManyOrganizerInputEnvelope
  set?: Prisma.TripWhereUniqueInput | Prisma.TripWhereUniqueInput[]
  disconnect?: Prisma.TripWhereUniqueInput | Prisma.TripWhereUniqueInput[]
  delete?: Prisma.TripWhereUniqueInput | Prisma.TripWhereUniqueInput[]
  connect?: Prisma.TripWhereUniqueInput | Prisma.TripWhereUniqueInput[]
  update?: Prisma.TripUpdateWithWhereUniqueWithoutOrganizerInput | Prisma.TripUpdateWithWhereUniqueWithoutOrganizerInput[]
  updateMany?: Prisma.TripUpdateManyWithWhereWithoutOrganizerInput | Prisma.TripUpdateManyWithWhereWithoutOrganizerInput[]
  deleteMany?: Prisma.TripScalarWhereInput | Prisma.TripScalarWhereInput[]
}

export type TripUncheckedUpdateManyWithoutOrganizerNestedInput = {
  create?: Prisma.XOR<Prisma.TripCreateWithoutOrganizerInput, Prisma.TripUncheckedCreateWithoutOrganizerInput> | Prisma.TripCreateWithoutOrganizerInput[] | Prisma.TripUncheckedCreateWithoutOrganizerInput[]
  connectOrCreate?: Prisma.TripCreateOrConnectWithoutOrganizerInput | Prisma.TripCreateOrConnectWithoutOrganizerInput[]
  upsert?: Prisma.TripUpsertWithWhereUniqueWithoutOrganizerInput | Prisma.TripUpsertWithWhereUniqueWithoutOrganizerInput[]
  createMany?: Prisma.TripCreateManyOrganizerInputEnvelope
  set?: Prisma.TripWhereUniqueInput | Prisma.TripWhereUniqueInput[]
  disconnect?: Prisma.TripWhereUniqueInput | Prisma.TripWhereUniqueInput[]
  delete?: Prisma.TripWhereUniqueInput | Prisma.TripWhereUniqueInput[]
  connect?: Prisma.TripWhereUniqueInput | Prisma.TripWhereUniqueInput[]
  update?: Prisma.TripUpdateWithWhereUniqueWithoutOrganizerInput | Prisma.TripUpdateWithWhereUniqueWithoutOrganizerInput[]
  updateMany?: Prisma.TripUpdateManyWithWhereWithoutOrganizerInput | Prisma.TripUpdateManyWithWhereWithoutOrganizerInput[]
  deleteMany?: Prisma.TripScalarWhereInput | Prisma.TripScalarWhereInput[]
}

export type EnumActivityCategoryFieldUpdateOperationsInput = {
  set?: $Enums.ActivityCategory
}

export type IntFieldUpdateOperationsInput = {
  set?: number
  increment?: number
  decrement?: number
  multiply?: number
  divide?: number
}

export type EnumTripStatusFieldUpdateOperationsInput = {
  set?: $Enums.TripStatus
}

export type TripCreateNestedOneWithoutReviewsInput = {
  create?: Prisma.XOR<Prisma.TripCreateWithoutReviewsInput, Prisma.TripUncheckedCreateWithoutReviewsInput>
  connectOrCreate?: Prisma.TripCreateOrConnectWithoutReviewsInput
  connect?: Prisma.TripWhereUniqueInput
}

export type TripUpdateOneRequiredWithoutReviewsNestedInput = {
  create?: Prisma.XOR<Prisma.TripCreateWithoutReviewsInput, Prisma.TripUncheckedCreateWithoutReviewsInput>
  connectOrCreate?: Prisma.TripCreateOrConnectWithoutReviewsInput
  upsert?: Prisma.TripUpsertWithoutReviewsInput
  connect?: Prisma.TripWhereUniqueInput
  update?: Prisma.XOR<Prisma.XOR<Prisma.TripUpdateToOneWithWhereWithoutReviewsInput, Prisma.TripUpdateWithoutReviewsInput>, Prisma.TripUncheckedUpdateWithoutReviewsInput>
}

export type TripCreateNestedOneWithoutImagesInput = {
  create?: Prisma.XOR<Prisma.TripCreateWithoutImagesInput, Prisma.TripUncheckedCreateWithoutImagesInput>
  connectOrCreate?: Prisma.TripCreateOrConnectWithoutImagesInput
  connect?: Prisma.TripWhereUniqueInput
}

export type TripUpdateOneRequiredWithoutImagesNestedInput = {
  create?: Prisma.XOR<Prisma.TripCreateWithoutImagesInput, Prisma.TripUncheckedCreateWithoutImagesInput>
  connectOrCreate?: Prisma.TripCreateOrConnectWithoutImagesInput
  upsert?: Prisma.TripUpsertWithoutImagesInput
  connect?: Prisma.TripWhereUniqueInput
  update?: Prisma.XOR<Prisma.XOR<Prisma.TripUpdateToOneWithWhereWithoutImagesInput, Prisma.TripUpdateWithoutImagesInput>, Prisma.TripUncheckedUpdateWithoutImagesInput>
}

export type TripCreateNestedOneWithoutParticipantsInput = {
  create?: Prisma.XOR<Prisma.TripCreateWithoutParticipantsInput, Prisma.TripUncheckedCreateWithoutParticipantsInput>
  connectOrCreate?: Prisma.TripCreateOrConnectWithoutParticipantsInput
  connect?: Prisma.TripWhereUniqueInput
}

export type TripUpdateOneRequiredWithoutParticipantsNestedInput = {
  create?: Prisma.XOR<Prisma.TripCreateWithoutParticipantsInput, Prisma.TripUncheckedCreateWithoutParticipantsInput>
  connectOrCreate?: Prisma.TripCreateOrConnectWithoutParticipantsInput
  upsert?: Prisma.TripUpsertWithoutParticipantsInput
  connect?: Prisma.TripWhereUniqueInput
  update?: Prisma.XOR<Prisma.XOR<Prisma.TripUpdateToOneWithWhereWithoutParticipantsInput, Prisma.TripUpdateWithoutParticipantsInput>, Prisma.TripUncheckedUpdateWithoutParticipantsInput>
}

export type TripCreateNestedOneWithoutBookingsInput = {
  create?: Prisma.XOR<Prisma.TripCreateWithoutBookingsInput, Prisma.TripUncheckedCreateWithoutBookingsInput>
  connectOrCreate?: Prisma.TripCreateOrConnectWithoutBookingsInput
  connect?: Prisma.TripWhereUniqueInput
}

export type TripUpdateOneRequiredWithoutBookingsNestedInput = {
  create?: Prisma.XOR<Prisma.TripCreateWithoutBookingsInput, Prisma.TripUncheckedCreateWithoutBookingsInput>
  connectOrCreate?: Prisma.TripCreateOrConnectWithoutBookingsInput
  upsert?: Prisma.TripUpsertWithoutBookingsInput
  connect?: Prisma.TripWhereUniqueInput
  update?: Prisma.XOR<Prisma.XOR<Prisma.TripUpdateToOneWithWhereWithoutBookingsInput, Prisma.TripUpdateWithoutBookingsInput>, Prisma.TripUncheckedUpdateWithoutBookingsInput>
}

export type TripCreateWithoutOrganizerInput = {
  id?: string
  title: string
  description?: string | null
  category?: $Enums.ActivityCategory
  destination: string
  location: string
  meetingPoint?: string | null
  itinerary?: string | null
  whatsIncluded?: string | null
  whatsExcluded?: string | null
  date: Date | string
  endDate?: Date | string | null
  maxParticipants: number
  price: number
  vibe?: $Enums.Vibe | null
  status?: $Enums.TripStatus
  createdAt?: Date | string
  updatedAt?: Date | string
  participants?: Prisma.TripParticipantCreateNestedManyWithoutTripInput
  images?: Prisma.TripImageCreateNestedManyWithoutTripInput
  reviews?: Prisma.TripReviewCreateNestedManyWithoutTripInput
  bookings?: Prisma.BookingCreateNestedManyWithoutTripInput
}

export type TripUncheckedCreateWithoutOrganizerInput = {
  id?: string
  title: string
  description?: string | null
  category?: $Enums.ActivityCategory
  destination: string
  location: string
  meetingPoint?: string | null
  itinerary?: string | null
  whatsIncluded?: string | null
  whatsExcluded?: string | null
  date: Date | string
  endDate?: Date | string | null
  maxParticipants: number
  price: number
  vibe?: $Enums.Vibe | null
  status?: $Enums.TripStatus
  createdAt?: Date | string
  updatedAt?: Date | string
  participants?: Prisma.TripParticipantUncheckedCreateNestedManyWithoutTripInput
  images?: Prisma.TripImageUncheckedCreateNestedManyWithoutTripInput
  reviews?: Prisma.TripReviewUncheckedCreateNestedManyWithoutTripInput
  bookings?: Prisma.BookingUncheckedCreateNestedManyWithoutTripInput
}

export type TripCreateOrConnectWithoutOrganizerInput = {
  where: Prisma.TripWhereUniqueInput
  create: Prisma.XOR<Prisma.TripCreateWithoutOrganizerInput, Prisma.TripUncheckedCreateWithoutOrganizerInput>
}

export type TripCreateManyOrganizerInputEnvelope = {
  data: Prisma.TripCreateManyOrganizerInput | Prisma.TripCreateManyOrganizerInput[]
  skipDuplicates?: boolean
}

export type TripUpsertWithWhereUniqueWithoutOrganizerInput = {
  where: Prisma.TripWhereUniqueInput
  update: Prisma.XOR<Prisma.TripUpdateWithoutOrganizerInput, Prisma.TripUncheckedUpdateWithoutOrganizerInput>
  create: Prisma.XOR<Prisma.TripCreateWithoutOrganizerInput, Prisma.TripUncheckedCreateWithoutOrganizerInput>
}

export type TripUpdateWithWhereUniqueWithoutOrganizerInput = {
  where: Prisma.TripWhereUniqueInput
  data: Prisma.XOR<Prisma.TripUpdateWithoutOrganizerInput, Prisma.TripUncheckedUpdateWithoutOrganizerInput>
}

export type TripUpdateManyWithWhereWithoutOrganizerInput = {
  where: Prisma.TripScalarWhereInput
  data: Prisma.XOR<Prisma.TripUpdateManyMutationInput, Prisma.TripUncheckedUpdateManyWithoutOrganizerInput>
}

export type TripScalarWhereInput = {
  AND?: Prisma.TripScalarWhereInput | Prisma.TripScalarWhereInput[]
  OR?: Prisma.TripScalarWhereInput[]
  NOT?: Prisma.TripScalarWhereInput | Prisma.TripScalarWhereInput[]
  id?: Prisma.StringFilter<"Trip"> | string
  title?: Prisma.StringFilter<"Trip"> | string
  description?: Prisma.StringNullableFilter<"Trip"> | string | null
  category?: Prisma.EnumActivityCategoryFilter<"Trip"> | $Enums.ActivityCategory
  destination?: Prisma.StringFilter<"Trip"> | string
  location?: Prisma.StringFilter<"Trip"> | string
  meetingPoint?: Prisma.StringNullableFilter<"Trip"> | string | null
  itinerary?: Prisma.StringNullableFilter<"Trip"> | string | null
  whatsIncluded?: Prisma.StringNullableFilter<"Trip"> | string | null
  whatsExcluded?: Prisma.StringNullableFilter<"Trip"> | string | null
  date?: Prisma.DateTimeFilter<"Trip"> | Date | string
  endDate?: Prisma.DateTimeNullableFilter<"Trip"> | Date | string | null
  maxParticipants?: Prisma.IntFilter<"Trip"> | number
  price?: Prisma.IntFilter<"Trip"> | number
  vibe?: Prisma.EnumVibeNullableFilter<"Trip"> | $Enums.Vibe | null
  status?: Prisma.EnumTripStatusFilter<"Trip"> | $Enums.TripStatus
  createdAt?: Prisma.DateTimeFilter<"Trip"> | Date | string
  updatedAt?: Prisma.DateTimeFilter<"Trip"> | Date | string
  organizerId?: Prisma.StringFilter<"Trip"> | string
}

export type TripCreateWithoutReviewsInput = {
  id?: string
  title: string
  description?: string | null
  category?: $Enums.ActivityCategory
  destination: string
  location: string
  meetingPoint?: string | null
  itinerary?: string | null
  whatsIncluded?: string | null
  whatsExcluded?: string | null
  date: Date | string
  endDate?: Date | string | null
  maxParticipants: number
  price: number
  vibe?: $Enums.Vibe | null
  status?: $Enums.TripStatus
  createdAt?: Date | string
  updatedAt?: Date | string
  organizer: Prisma.UserCreateNestedOneWithoutTripsInput
  participants?: Prisma.TripParticipantCreateNestedManyWithoutTripInput
  images?: Prisma.TripImageCreateNestedManyWithoutTripInput
  bookings?: Prisma.BookingCreateNestedManyWithoutTripInput
}

export type TripUncheckedCreateWithoutReviewsInput = {
  id?: string
  title: string
  description?: string | null
  category?: $Enums.ActivityCategory
  destination: string
  location: string
  meetingPoint?: string | null
  itinerary?: string | null
  whatsIncluded?: string | null
  whatsExcluded?: string | null
  date: Date | string
  endDate?: Date | string | null
  maxParticipants: number
  price: number
  vibe?: $Enums.Vibe | null
  status?: $Enums.TripStatus
  createdAt?: Date | string
  updatedAt?: Date | string
  organizerId: string
  participants?: Prisma.TripParticipantUncheckedCreateNestedManyWithoutTripInput
  images?: Prisma.TripImageUncheckedCreateNestedManyWithoutTripInput
  bookings?: Prisma.BookingUncheckedCreateNestedManyWithoutTripInput
}

export type TripCreateOrConnectWithoutReviewsInput = {
  where: Prisma.TripWhereUniqueInput
  create: Prisma.XOR<Prisma.TripCreateWithoutReviewsInput, Prisma.TripUncheckedCreateWithoutReviewsInput>
}

export type TripUpsertWithoutReviewsInput = {
  update: Prisma.XOR<Prisma.TripUpdateWithoutReviewsInput, Prisma.TripUncheckedUpdateWithoutReviewsInput>
  create: Prisma.XOR<Prisma.TripCreateWithoutReviewsInput, Prisma.TripUncheckedCreateWithoutReviewsInput>
  where?: Prisma.TripWhereInput
}

export type TripUpdateToOneWithWhereWithoutReviewsInput = {
  where?: Prisma.TripWhereInput
  data: Prisma.XOR<Prisma.TripUpdateWithoutReviewsInput, Prisma.TripUncheckedUpdateWithoutReviewsInput>
}

export type TripUpdateWithoutReviewsInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  title?: Prisma.StringFieldUpdateOperationsInput | string
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  category?: Prisma.EnumActivityCategoryFieldUpdateOperationsInput | $Enums.ActivityCategory
  destination?: Prisma.StringFieldUpdateOperationsInput | string
  location?: Prisma.StringFieldUpdateOperationsInput | string
  meetingPoint?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  itinerary?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  whatsIncluded?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  whatsExcluded?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  date?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  endDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  maxParticipants?: Prisma.IntFieldUpdateOperationsInput | number
  price?: Prisma.IntFieldUpdateOperationsInput | number
  vibe?: Prisma.NullableEnumVibeFieldUpdateOperationsInput | $Enums.Vibe | null
  status?: Prisma.EnumTripStatusFieldUpdateOperationsInput | $Enums.TripStatus
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  organizer?: Prisma.UserUpdateOneRequiredWithoutTripsNestedInput
  participants?: Prisma.TripParticipantUpdateManyWithoutTripNestedInput
  images?: Prisma.TripImageUpdateManyWithoutTripNestedInput
  bookings?: Prisma.BookingUpdateManyWithoutTripNestedInput
}

export type TripUncheckedUpdateWithoutReviewsInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  title?: Prisma.StringFieldUpdateOperationsInput | string
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  category?: Prisma.EnumActivityCategoryFieldUpdateOperationsInput | $Enums.ActivityCategory
  destination?: Prisma.StringFieldUpdateOperationsInput | string
  location?: Prisma.StringFieldUpdateOperationsInput | string
  meetingPoint?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  itinerary?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  whatsIncluded?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  whatsExcluded?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  date?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  endDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  maxParticipants?: Prisma.IntFieldUpdateOperationsInput | number
  price?: Prisma.IntFieldUpdateOperationsInput | number
  vibe?: Prisma.NullableEnumVibeFieldUpdateOperationsInput | $Enums.Vibe | null
  status?: Prisma.EnumTripStatusFieldUpdateOperationsInput | $Enums.TripStatus
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  organizerId?: Prisma.StringFieldUpdateOperationsInput | string
  participants?: Prisma.TripParticipantUncheckedUpdateManyWithoutTripNestedInput
  images?: Prisma.TripImageUncheckedUpdateManyWithoutTripNestedInput
  bookings?: Prisma.BookingUncheckedUpdateManyWithoutTripNestedInput
}

export type TripCreateWithoutImagesInput = {
  id?: string
  title: string
  description?: string | null
  category?: $Enums.ActivityCategory
  destination: string
  location: string
  meetingPoint?: string | null
  itinerary?: string | null
  whatsIncluded?: string | null
  whatsExcluded?: string | null
  date: Date | string
  endDate?: Date | string | null
  maxParticipants: number
  price: number
  vibe?: $Enums.Vibe | null
  status?: $Enums.TripStatus
  createdAt?: Date | string
  updatedAt?: Date | string
  organizer: Prisma.UserCreateNestedOneWithoutTripsInput
  participants?: Prisma.TripParticipantCreateNestedManyWithoutTripInput
  reviews?: Prisma.TripReviewCreateNestedManyWithoutTripInput
  bookings?: Prisma.BookingCreateNestedManyWithoutTripInput
}

export type TripUncheckedCreateWithoutImagesInput = {
  id?: string
  title: string
  description?: string | null
  category?: $Enums.ActivityCategory
  destination: string
  location: string
  meetingPoint?: string | null
  itinerary?: string | null
  whatsIncluded?: string | null
  whatsExcluded?: string | null
  date: Date | string
  endDate?: Date | string | null
  maxParticipants: number
  price: number
  vibe?: $Enums.Vibe | null
  status?: $Enums.TripStatus
  createdAt?: Date | string
  updatedAt?: Date | string
  organizerId: string
  participants?: Prisma.TripParticipantUncheckedCreateNestedManyWithoutTripInput
  reviews?: Prisma.TripReviewUncheckedCreateNestedManyWithoutTripInput
  bookings?: Prisma.BookingUncheckedCreateNestedManyWithoutTripInput
}

export type TripCreateOrConnectWithoutImagesInput = {
  where: Prisma.TripWhereUniqueInput
  create: Prisma.XOR<Prisma.TripCreateWithoutImagesInput, Prisma.TripUncheckedCreateWithoutImagesInput>
}

export type TripUpsertWithoutImagesInput = {
  update: Prisma.XOR<Prisma.TripUpdateWithoutImagesInput, Prisma.TripUncheckedUpdateWithoutImagesInput>
  create: Prisma.XOR<Prisma.TripCreateWithoutImagesInput, Prisma.TripUncheckedCreateWithoutImagesInput>
  where?: Prisma.TripWhereInput
}

export type TripUpdateToOneWithWhereWithoutImagesInput = {
  where?: Prisma.TripWhereInput
  data: Prisma.XOR<Prisma.TripUpdateWithoutImagesInput, Prisma.TripUncheckedUpdateWithoutImagesInput>
}

export type TripUpdateWithoutImagesInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  title?: Prisma.StringFieldUpdateOperationsInput | string
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  category?: Prisma.EnumActivityCategoryFieldUpdateOperationsInput | $Enums.ActivityCategory
  destination?: Prisma.StringFieldUpdateOperationsInput | string
  location?: Prisma.StringFieldUpdateOperationsInput | string
  meetingPoint?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  itinerary?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  whatsIncluded?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  whatsExcluded?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  date?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  endDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  maxParticipants?: Prisma.IntFieldUpdateOperationsInput | number
  price?: Prisma.IntFieldUpdateOperationsInput | number
  vibe?: Prisma.NullableEnumVibeFieldUpdateOperationsInput | $Enums.Vibe | null
  status?: Prisma.EnumTripStatusFieldUpdateOperationsInput | $Enums.TripStatus
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  organizer?: Prisma.UserUpdateOneRequiredWithoutTripsNestedInput
  participants?: Prisma.TripParticipantUpdateManyWithoutTripNestedInput
  reviews?: Prisma.TripReviewUpdateManyWithoutTripNestedInput
  bookings?: Prisma.BookingUpdateManyWithoutTripNestedInput
}

export type TripUncheckedUpdateWithoutImagesInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  title?: Prisma.StringFieldUpdateOperationsInput | string
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  category?: Prisma.EnumActivityCategoryFieldUpdateOperationsInput | $Enums.ActivityCategory
  destination?: Prisma.StringFieldUpdateOperationsInput | string
  location?: Prisma.StringFieldUpdateOperationsInput | string
  meetingPoint?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  itinerary?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  whatsIncluded?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  whatsExcluded?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  date?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  endDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  maxParticipants?: Prisma.IntFieldUpdateOperationsInput | number
  price?: Prisma.IntFieldUpdateOperationsInput | number
  vibe?: Prisma.NullableEnumVibeFieldUpdateOperationsInput | $Enums.Vibe | null
  status?: Prisma.EnumTripStatusFieldUpdateOperationsInput | $Enums.TripStatus
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  organizerId?: Prisma.StringFieldUpdateOperationsInput | string
  participants?: Prisma.TripParticipantUncheckedUpdateManyWithoutTripNestedInput
  reviews?: Prisma.TripReviewUncheckedUpdateManyWithoutTripNestedInput
  bookings?: Prisma.BookingUncheckedUpdateManyWithoutTripNestedInput
}

export type TripCreateWithoutParticipantsInput = {
  id?: string
  title: string
  description?: string | null
  category?: $Enums.ActivityCategory
  destination: string
  location: string
  meetingPoint?: string | null
  itinerary?: string | null
  whatsIncluded?: string | null
  whatsExcluded?: string | null
  date: Date | string
  endDate?: Date | string | null
  maxParticipants: number
  price: number
  vibe?: $Enums.Vibe | null
  status?: $Enums.TripStatus
  createdAt?: Date | string
  updatedAt?: Date | string
  organizer: Prisma.UserCreateNestedOneWithoutTripsInput
  images?: Prisma.TripImageCreateNestedManyWithoutTripInput
  reviews?: Prisma.TripReviewCreateNestedManyWithoutTripInput
  bookings?: Prisma.BookingCreateNestedManyWithoutTripInput
}

export type TripUncheckedCreateWithoutParticipantsInput = {
  id?: string
  title: string
  description?: string | null
  category?: $Enums.ActivityCategory
  destination: string
  location: string
  meetingPoint?: string | null
  itinerary?: string | null
  whatsIncluded?: string | null
  whatsExcluded?: string | null
  date: Date | string
  endDate?: Date | string | null
  maxParticipants: number
  price: number
  vibe?: $Enums.Vibe | null
  status?: $Enums.TripStatus
  createdAt?: Date | string
  updatedAt?: Date | string
  organizerId: string
  images?: Prisma.TripImageUncheckedCreateNestedManyWithoutTripInput
  reviews?: Prisma.TripReviewUncheckedCreateNestedManyWithoutTripInput
  bookings?: Prisma.BookingUncheckedCreateNestedManyWithoutTripInput
}

export type TripCreateOrConnectWithoutParticipantsInput = {
  where: Prisma.TripWhereUniqueInput
  create: Prisma.XOR<Prisma.TripCreateWithoutParticipantsInput, Prisma.TripUncheckedCreateWithoutParticipantsInput>
}

export type TripUpsertWithoutParticipantsInput = {
  update: Prisma.XOR<Prisma.TripUpdateWithoutParticipantsInput, Prisma.TripUncheckedUpdateWithoutParticipantsInput>
  create: Prisma.XOR<Prisma.TripCreateWithoutParticipantsInput, Prisma.TripUncheckedCreateWithoutParticipantsInput>
  where?: Prisma.TripWhereInput
}

export type TripUpdateToOneWithWhereWithoutParticipantsInput = {
  where?: Prisma.TripWhereInput
  data: Prisma.XOR<Prisma.TripUpdateWithoutParticipantsInput, Prisma.TripUncheckedUpdateWithoutParticipantsInput>
}

export type TripUpdateWithoutParticipantsInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  title?: Prisma.StringFieldUpdateOperationsInput | string
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  category?: Prisma.EnumActivityCategoryFieldUpdateOperationsInput | $Enums.ActivityCategory
  destination?: Prisma.StringFieldUpdateOperationsInput | string
  location?: Prisma.StringFieldUpdateOperationsInput | string
  meetingPoint?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  itinerary?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  whatsIncluded?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  whatsExcluded?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  date?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  endDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  maxParticipants?: Prisma.IntFieldUpdateOperationsInput | number
  price?: Prisma.IntFieldUpdateOperationsInput | number
  vibe?: Prisma.NullableEnumVibeFieldUpdateOperationsInput | $Enums.Vibe | null
  status?: Prisma.EnumTripStatusFieldUpdateOperationsInput | $Enums.TripStatus
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  organizer?: Prisma.UserUpdateOneRequiredWithoutTripsNestedInput
  images?: Prisma.TripImageUpdateManyWithoutTripNestedInput
  reviews?: Prisma.TripReviewUpdateManyWithoutTripNestedInput
  bookings?: Prisma.BookingUpdateManyWithoutTripNestedInput
}

export type TripUncheckedUpdateWithoutParticipantsInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  title?: Prisma.StringFieldUpdateOperationsInput | string
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  category?: Prisma.EnumActivityCategoryFieldUpdateOperationsInput | $Enums.ActivityCategory
  destination?: Prisma.StringFieldUpdateOperationsInput | string
  location?: Prisma.StringFieldUpdateOperationsInput | string
  meetingPoint?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  itinerary?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  whatsIncluded?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  whatsExcluded?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  date?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  endDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  maxParticipants?: Prisma.IntFieldUpdateOperationsInput | number
  price?: Prisma.IntFieldUpdateOperationsInput | number
  vibe?: Prisma.NullableEnumVibeFieldUpdateOperationsInput | $Enums.Vibe | null
  status?: Prisma.EnumTripStatusFieldUpdateOperationsInput | $Enums.TripStatus
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  organizerId?: Prisma.StringFieldUpdateOperationsInput | string
  images?: Prisma.TripImageUncheckedUpdateManyWithoutTripNestedInput
  reviews?: Prisma.TripReviewUncheckedUpdateManyWithoutTripNestedInput
  bookings?: Prisma.BookingUncheckedUpdateManyWithoutTripNestedInput
}

export type TripCreateWithoutBookingsInput = {
  id?: string
  title: string
  description?: string | null
  category?: $Enums.ActivityCategory
  destination: string
  location: string
  meetingPoint?: string | null
  itinerary?: string | null
  whatsIncluded?: string | null
  whatsExcluded?: string | null
  date: Date | string
  endDate?: Date | string | null
  maxParticipants: number
  price: number
  vibe?: $Enums.Vibe | null
  status?: $Enums.TripStatus
  createdAt?: Date | string
  updatedAt?: Date | string
  organizer: Prisma.UserCreateNestedOneWithoutTripsInput
  participants?: Prisma.TripParticipantCreateNestedManyWithoutTripInput
  images?: Prisma.TripImageCreateNestedManyWithoutTripInput
  reviews?: Prisma.TripReviewCreateNestedManyWithoutTripInput
}

export type TripUncheckedCreateWithoutBookingsInput = {
  id?: string
  title: string
  description?: string | null
  category?: $Enums.ActivityCategory
  destination: string
  location: string
  meetingPoint?: string | null
  itinerary?: string | null
  whatsIncluded?: string | null
  whatsExcluded?: string | null
  date: Date | string
  endDate?: Date | string | null
  maxParticipants: number
  price: number
  vibe?: $Enums.Vibe | null
  status?: $Enums.TripStatus
  createdAt?: Date | string
  updatedAt?: Date | string
  organizerId: string
  participants?: Prisma.TripParticipantUncheckedCreateNestedManyWithoutTripInput
  images?: Prisma.TripImageUncheckedCreateNestedManyWithoutTripInput
  reviews?: Prisma.TripReviewUncheckedCreateNestedManyWithoutTripInput
}

export type TripCreateOrConnectWithoutBookingsInput = {
  where: Prisma.TripWhereUniqueInput
  create: Prisma.XOR<Prisma.TripCreateWithoutBookingsInput, Prisma.TripUncheckedCreateWithoutBookingsInput>
}

export type TripUpsertWithoutBookingsInput = {
  update: Prisma.XOR<Prisma.TripUpdateWithoutBookingsInput, Prisma.TripUncheckedUpdateWithoutBookingsInput>
  create: Prisma.XOR<Prisma.TripCreateWithoutBookingsInput, Prisma.TripUncheckedCreateWithoutBookingsInput>
  where?: Prisma.TripWhereInput
}

export type TripUpdateToOneWithWhereWithoutBookingsInput = {
  where?: Prisma.TripWhereInput
  data: Prisma.XOR<Prisma.TripUpdateWithoutBookingsInput, Prisma.TripUncheckedUpdateWithoutBookingsInput>
}

export type TripUpdateWithoutBookingsInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  title?: Prisma.StringFieldUpdateOperationsInput | string
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  category?: Prisma.EnumActivityCategoryFieldUpdateOperationsInput | $Enums.ActivityCategory
  destination?: Prisma.StringFieldUpdateOperationsInput | string
  location?: Prisma.StringFieldUpdateOperationsInput | string
  meetingPoint?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  itinerary?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  whatsIncluded?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  whatsExcluded?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  date?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  endDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  maxParticipants?: Prisma.IntFieldUpdateOperationsInput | number
  price?: Prisma.IntFieldUpdateOperationsInput | number
  vibe?: Prisma.NullableEnumVibeFieldUpdateOperationsInput | $Enums.Vibe | null
  status?: Prisma.EnumTripStatusFieldUpdateOperationsInput | $Enums.TripStatus
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  organizer?: Prisma.UserUpdateOneRequiredWithoutTripsNestedInput
  participants?: Prisma.TripParticipantUpdateManyWithoutTripNestedInput
  images?: Prisma.TripImageUpdateManyWithoutTripNestedInput
  reviews?: Prisma.TripReviewUpdateManyWithoutTripNestedInput
}

export type TripUncheckedUpdateWithoutBookingsInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  title?: Prisma.StringFieldUpdateOperationsInput | string
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  category?: Prisma.EnumActivityCategoryFieldUpdateOperationsInput | $Enums.ActivityCategory
  destination?: Prisma.StringFieldUpdateOperationsInput | string
  location?: Prisma.StringFieldUpdateOperationsInput | string
  meetingPoint?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  itinerary?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  whatsIncluded?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  whatsExcluded?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  date?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  endDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  maxParticipants?: Prisma.IntFieldUpdateOperationsInput | number
  price?: Prisma.IntFieldUpdateOperationsInput | number
  vibe?: Prisma.NullableEnumVibeFieldUpdateOperationsInput | $Enums.Vibe | null
  status?: Prisma.EnumTripStatusFieldUpdateOperationsInput | $Enums.TripStatus
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  organizerId?: Prisma.StringFieldUpdateOperationsInput | string
  participants?: Prisma.TripParticipantUncheckedUpdateManyWithoutTripNestedInput
  images?: Prisma.TripImageUncheckedUpdateManyWithoutTripNestedInput
  reviews?: Prisma.TripReviewUncheckedUpdateManyWithoutTripNestedInput
}

export type TripCreateManyOrganizerInput = {
  id?: string
  title: string
  description?: string | null
  category?: $Enums.ActivityCategory
  destination: string
  location: string
  meetingPoint?: string | null
  itinerary?: string | null
  whatsIncluded?: string | null
  whatsExcluded?: string | null
  date: Date | string
  endDate?: Date | string | null
  maxParticipants: number
  price: number
  vibe?: $Enums.Vibe | null
  status?: $Enums.TripStatus
  createdAt?: Date | string
  updatedAt?: Date | string
}

export type TripUpdateWithoutOrganizerInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  title?: Prisma.StringFieldUpdateOperationsInput | string
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  category?: Prisma.EnumActivityCategoryFieldUpdateOperationsInput | $Enums.ActivityCategory
  destination?: Prisma.StringFieldUpdateOperationsInput | string
  location?: Prisma.StringFieldUpdateOperationsInput | string
  meetingPoint?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  itinerary?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  whatsIncluded?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  whatsExcluded?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  date?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  endDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  maxParticipants?: Prisma.IntFieldUpdateOperationsInput | number
  price?: Prisma.IntFieldUpdateOperationsInput | number
  vibe?: Prisma.NullableEnumVibeFieldUpdateOperationsInput | $Enums.Vibe | null
  status?: Prisma.EnumTripStatusFieldUpdateOperationsInput | $Enums.TripStatus
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  participants?: Prisma.TripParticipantUpdateManyWithoutTripNestedInput
  images?: Prisma.TripImageUpdateManyWithoutTripNestedInput
  reviews?: Prisma.TripReviewUpdateManyWithoutTripNestedInput
  bookings?: Prisma.BookingUpdateManyWithoutTripNestedInput
}

export type TripUncheckedUpdateWithoutOrganizerInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  title?: Prisma.StringFieldUpdateOperationsInput | string
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  category?: Prisma.EnumActivityCategoryFieldUpdateOperationsInput | $Enums.ActivityCategory
  destination?: Prisma.StringFieldUpdateOperationsInput | string
  location?: Prisma.StringFieldUpdateOperationsInput | string
  meetingPoint?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  itinerary?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  whatsIncluded?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  whatsExcluded?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  date?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  endDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  maxParticipants?: Prisma.IntFieldUpdateOperationsInput | number
  price?: Prisma.IntFieldUpdateOperationsInput | number
  vibe?: Prisma.NullableEnumVibeFieldUpdateOperationsInput | $Enums.Vibe | null
  status?: Prisma.EnumTripStatusFieldUpdateOperationsInput | $Enums.TripStatus
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  participants?: Prisma.TripParticipantUncheckedUpdateManyWithoutTripNestedInput
  images?: Prisma.TripImageUncheckedUpdateManyWithoutTripNestedInput
  reviews?: Prisma.TripReviewUncheckedUpdateManyWithoutTripNestedInput
  bookings?: Prisma.BookingUncheckedUpdateManyWithoutTripNestedInput
}

export type TripUncheckedUpdateManyWithoutOrganizerInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  title?: Prisma.StringFieldUpdateOperationsInput | string
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  category?: Prisma.EnumActivityCategoryFieldUpdateOperationsInput | $Enums.ActivityCategory
  destination?: Prisma.StringFieldUpdateOperationsInput | string
  location?: Prisma.StringFieldUpdateOperationsInput | string
  meetingPoint?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  itinerary?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  whatsIncluded?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  whatsExcluded?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  date?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  endDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  maxParticipants?: Prisma.IntFieldUpdateOperationsInput | number
  price?: Prisma.IntFieldUpdateOperationsInput | number
  vibe?: Prisma.NullableEnumVibeFieldUpdateOperationsInput | $Enums.Vibe | null
  status?: Prisma.EnumTripStatusFieldUpdateOperationsInput | $Enums.TripStatus
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}


/**
 * Count Type TripCountOutputType
 */

export type TripCountOutputType = {
  participants: number
  images: number
  reviews: number
  bookings: number
}

export type TripCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  participants?: boolean | TripCountOutputTypeCountParticipantsArgs
  images?: boolean | TripCountOutputTypeCountImagesArgs
  reviews?: boolean | TripCountOutputTypeCountReviewsArgs
  bookings?: boolean | TripCountOutputTypeCountBookingsArgs
}

/**
 * TripCountOutputType without action
 */
export type TripCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the TripCountOutputType
   */
  select?: Prisma.TripCountOutputTypeSelect<ExtArgs> | null
}

/**
 * TripCountOutputType without action
 */
export type TripCountOutputTypeCountParticipantsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  where?: Prisma.TripParticipantWhereInput
}

/**
 * TripCountOutputType without action
 */
export type TripCountOutputTypeCountImagesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  where?: Prisma.TripImageWhereInput
}

/**
 * TripCountOutputType without action
 */
export type TripCountOutputTypeCountReviewsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  where?: Prisma.TripReviewWhereInput
}

/**
 * TripCountOutputType without action
 */
export type TripCountOutputTypeCountBookingsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  where?: Prisma.BookingWhereInput
}


export type TripSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  title?: boolean
  description?: boolean
  category?: boolean
  destination?: boolean
  location?: boolean
  meetingPoint?: boolean
  itinerary?: boolean
  whatsIncluded?: boolean
  whatsExcluded?: boolean
  date?: boolean
  endDate?: boolean
  maxParticipants?: boolean
  price?: boolean
  vibe?: boolean
  status?: boolean
  createdAt?: boolean
  updatedAt?: boolean
  organizerId?: boolean
  organizer?: boolean | Prisma.UserDefaultArgs<ExtArgs>
  participants?: boolean | Prisma.Trip$participantsArgs<ExtArgs>
  images?: boolean | Prisma.Trip$imagesArgs<ExtArgs>
  reviews?: boolean | Prisma.Trip$reviewsArgs<ExtArgs>
  bookings?: boolean | Prisma.Trip$bookingsArgs<ExtArgs>
  _count?: boolean | Prisma.TripCountOutputTypeDefaultArgs<ExtArgs>
}, ExtArgs["result"]["trip"]>

export type TripSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  title?: boolean
  description?: boolean
  category?: boolean
  destination?: boolean
  location?: boolean
  meetingPoint?: boolean
  itinerary?: boolean
  whatsIncluded?: boolean
  whatsExcluded?: boolean
  date?: boolean
  endDate?: boolean
  maxParticipants?: boolean
  price?: boolean
  vibe?: boolean
  status?: boolean
  createdAt?: boolean
  updatedAt?: boolean
  organizerId?: boolean
  organizer?: boolean | Prisma.UserDefaultArgs<ExtArgs>
}, ExtArgs["result"]["trip"]>

export type TripSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  title?: boolean
  description?: boolean
  category?: boolean
  destination?: boolean
  location?: boolean
  meetingPoint?: boolean
  itinerary?: boolean
  whatsIncluded?: boolean
  whatsExcluded?: boolean
  date?: boolean
  endDate?: boolean
  maxParticipants?: boolean
  price?: boolean
  vibe?: boolean
  status?: boolean
  createdAt?: boolean
  updatedAt?: boolean
  organizerId?: boolean
  organizer?: boolean | Prisma.UserDefaultArgs<ExtArgs>
}, ExtArgs["result"]["trip"]>

export type TripSelectScalar = {
  id?: boolean
  title?: boolean
  description?: boolean
  category?: boolean
  destination?: boolean
  location?: boolean
  meetingPoint?: boolean
  itinerary?: boolean
  whatsIncluded?: boolean
  whatsExcluded?: boolean
  date?: boolean
  endDate?: boolean
  maxParticipants?: boolean
  price?: boolean
  vibe?: boolean
  status?: boolean
  createdAt?: boolean
  updatedAt?: boolean
  organizerId?: boolean
}

export type TripOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "title" | "description" | "category" | "destination" | "location" | "meetingPoint" | "itinerary" | "whatsIncluded" | "whatsExcluded" | "date" | "endDate" | "maxParticipants" | "price" | "vibe" | "status" | "createdAt" | "updatedAt" | "organizerId", ExtArgs["result"]["trip"]>
export type TripInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  organizer?: boolean | Prisma.UserDefaultArgs<ExtArgs>
  participants?: boolean | Prisma.Trip$participantsArgs<ExtArgs>
  images?: boolean | Prisma.Trip$imagesArgs<ExtArgs>
  reviews?: boolean | Prisma.Trip$reviewsArgs<ExtArgs>
  bookings?: boolean | Prisma.Trip$bookingsArgs<ExtArgs>
  _count?: boolean | Prisma.TripCountOutputTypeDefaultArgs<ExtArgs>
}
export type TripIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  organizer?: boolean | Prisma.UserDefaultArgs<ExtArgs>
}
export type TripIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  organizer?: boolean | Prisma.UserDefaultArgs<ExtArgs>
}

export type $TripPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  name: "Trip"
  objects: {
    organizer: Prisma.$UserPayload<ExtArgs>
    participants: Prisma.$TripParticipantPayload<ExtArgs>[]
    images: Prisma.$TripImagePayload<ExtArgs>[]
    reviews: Prisma.$TripReviewPayload<ExtArgs>[]
    bookings: Prisma.$BookingPayload<ExtArgs>[]
  }
  scalars: runtime.Types.Extensions.GetPayloadResult<{
    id: string
    title: string
    description: string | null
    /**
     * Kategori aktivitas.
     */
    category: $Enums.ActivityCategory
    /**
     * Destinasi/subjek aktivitas — interpretasinya tergantung kategori (gunung untuk HIKING, spot untuk DIVING, venue untuk CONCERT, tema untuk WORKSHOP, dst).
     */
    destination: string
    location: string
    /**
     * Titik kumpul / meeting point (teks bebas)
     */
    meetingPoint: string | null
    /**
     * Itinerary hari per hari (teks bebas, bullet OK)
     */
    itinerary: string | null
    /**
     * Yang termasuk harga (teks bebas)
     */
    whatsIncluded: string | null
    /**
     * Yang tidak termasuk (teks bebas)
     */
    whatsExcluded: string | null
    date: Date
    endDate: Date | null
    maxParticipants: number
    price: number
    /**
     * Ritme/energi trip — dipakai untuk matching dengan vibe user.
     */
    vibe: $Enums.Vibe | null
    status: $Enums.TripStatus
    createdAt: Date
    updatedAt: Date
    organizerId: string
  }, ExtArgs["result"]["trip"]>
  composites: {}
}

export type TripGetPayload<S extends boolean | null | undefined | TripDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$TripPayload, S>

export type TripCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
  Omit<TripFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
    select?: TripCountAggregateInputType | true
  }

export interface TripDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
  [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Trip'], meta: { name: 'Trip' } }
  /**
   * Find zero or one Trip that matches the filter.
   * @param {TripFindUniqueArgs} args - Arguments to find a Trip
   * @example
   * // Get one Trip
   * const trip = await prisma.trip.findUnique({
   *   where: {
   *     // ... provide filter here
   *   }
   * })
   */
  findUnique<T extends TripFindUniqueArgs>(args: Prisma.SelectSubset<T, TripFindUniqueArgs<ExtArgs>>): Prisma.Prisma__TripClient<runtime.Types.Result.GetResult<Prisma.$TripPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>

  /**
   * Find one Trip that matches the filter or throw an error with `error.code='P2025'`
   * if no matches were found.
   * @param {TripFindUniqueOrThrowArgs} args - Arguments to find a Trip
   * @example
   * // Get one Trip
   * const trip = await prisma.trip.findUniqueOrThrow({
   *   where: {
   *     // ... provide filter here
   *   }
   * })
   */
  findUniqueOrThrow<T extends TripFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, TripFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__TripClient<runtime.Types.Result.GetResult<Prisma.$TripPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>

  /**
   * Find the first Trip 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 {TripFindFirstArgs} args - Arguments to find a Trip
   * @example
   * // Get one Trip
   * const trip = await prisma.trip.findFirst({
   *   where: {
   *     // ... provide filter here
   *   }
   * })
   */
  findFirst<T extends TripFindFirstArgs>(args?: Prisma.SelectSubset<T, TripFindFirstArgs<ExtArgs>>): Prisma.Prisma__TripClient<runtime.Types.Result.GetResult<Prisma.$TripPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>

  /**
   * Find the first Trip 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 {TripFindFirstOrThrowArgs} args - Arguments to find a Trip
   * @example
   * // Get one Trip
   * const trip = await prisma.trip.findFirstOrThrow({
   *   where: {
   *     // ... provide filter here
   *   }
   * })
   */
  findFirstOrThrow<T extends TripFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, TripFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__TripClient<runtime.Types.Result.GetResult<Prisma.$TripPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>

  /**
   * Find zero or more Trips 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 {TripFindManyArgs} args - Arguments to filter and select certain fields only.
   * @example
   * // Get all Trips
   * const trips = await prisma.trip.findMany()
   * 
   * // Get first 10 Trips
   * const trips = await prisma.trip.findMany({ take: 10 })
   * 
   * // Only select the `id`
   * const tripWithIdOnly = await prisma.trip.findMany({ select: { id: true } })
   * 
   */
  findMany<T extends TripFindManyArgs>(args?: Prisma.SelectSubset<T, TripFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TripPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>

  /**
   * Create a Trip.
   * @param {TripCreateArgs} args - Arguments to create a Trip.
   * @example
   * // Create one Trip
   * const Trip = await prisma.trip.create({
   *   data: {
   *     // ... data to create a Trip
   *   }
   * })
   * 
   */
  create<T extends TripCreateArgs>(args: Prisma.SelectSubset<T, TripCreateArgs<ExtArgs>>): Prisma.Prisma__TripClient<runtime.Types.Result.GetResult<Prisma.$TripPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>

  /**
   * Create many Trips.
   * @param {TripCreateManyArgs} args - Arguments to create many Trips.
   * @example
   * // Create many Trips
   * const trip = await prisma.trip.createMany({
   *   data: [
   *     // ... provide data here
   *   ]
   * })
   *     
   */
  createMany<T extends TripCreateManyArgs>(args?: Prisma.SelectSubset<T, TripCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>

  /**
   * Create many Trips and returns the data saved in the database.
   * @param {TripCreateManyAndReturnArgs} args - Arguments to create many Trips.
   * @example
   * // Create many Trips
   * const trip = await prisma.trip.createManyAndReturn({
   *   data: [
   *     // ... provide data here
   *   ]
   * })
   * 
   * // Create many Trips and only return the `id`
   * const tripWithIdOnly = await prisma.trip.createManyAndReturn({
   *   select: { id: true },
   *   data: [
   *     // ... provide data here
   *   ]
   * })
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * 
   */
  createManyAndReturn<T extends TripCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, TripCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TripPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>

  /**
   * Delete a Trip.
   * @param {TripDeleteArgs} args - Arguments to delete one Trip.
   * @example
   * // Delete one Trip
   * const Trip = await prisma.trip.delete({
   *   where: {
   *     // ... filter to delete one Trip
   *   }
   * })
   * 
   */
  delete<T extends TripDeleteArgs>(args: Prisma.SelectSubset<T, TripDeleteArgs<ExtArgs>>): Prisma.Prisma__TripClient<runtime.Types.Result.GetResult<Prisma.$TripPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>

  /**
   * Update one Trip.
   * @param {TripUpdateArgs} args - Arguments to update one Trip.
   * @example
   * // Update one Trip
   * const trip = await prisma.trip.update({
   *   where: {
   *     // ... provide filter here
   *   },
   *   data: {
   *     // ... provide data here
   *   }
   * })
   * 
   */
  update<T extends TripUpdateArgs>(args: Prisma.SelectSubset<T, TripUpdateArgs<ExtArgs>>): Prisma.Prisma__TripClient<runtime.Types.Result.GetResult<Prisma.$TripPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>

  /**
   * Delete zero or more Trips.
   * @param {TripDeleteManyArgs} args - Arguments to filter Trips to delete.
   * @example
   * // Delete a few Trips
   * const { count } = await prisma.trip.deleteMany({
   *   where: {
   *     // ... provide filter here
   *   }
   * })
   * 
   */
  deleteMany<T extends TripDeleteManyArgs>(args?: Prisma.SelectSubset<T, TripDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>

  /**
   * Update zero or more Trips.
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * @param {TripUpdateManyArgs} args - Arguments to update one or more rows.
   * @example
   * // Update many Trips
   * const trip = await prisma.trip.updateMany({
   *   where: {
   *     // ... provide filter here
   *   },
   *   data: {
   *     // ... provide data here
   *   }
   * })
   * 
   */
  updateMany<T extends TripUpdateManyArgs>(args: Prisma.SelectSubset<T, TripUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>

  /**
   * Update zero or more Trips and returns the data updated in the database.
   * @param {TripUpdateManyAndReturnArgs} args - Arguments to update many Trips.
   * @example
   * // Update many Trips
   * const trip = await prisma.trip.updateManyAndReturn({
   *   where: {
   *     // ... provide filter here
   *   },
   *   data: [
   *     // ... provide data here
   *   ]
   * })
   * 
   * // Update zero or more Trips and only return the `id`
   * const tripWithIdOnly = await prisma.trip.updateManyAndReturn({
   *   select: { id: true },
   *   where: {
   *     // ... provide filter here
   *   },
   *   data: [
   *     // ... provide data here
   *   ]
   * })
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * 
   */
  updateManyAndReturn<T extends TripUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, TripUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TripPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>

  /**
   * Create or update one Trip.
   * @param {TripUpsertArgs} args - Arguments to update or create a Trip.
   * @example
   * // Update or create a Trip
   * const trip = await prisma.trip.upsert({
   *   create: {
   *     // ... data to create a Trip
   *   },
   *   update: {
   *     // ... in case it already exists, update
   *   },
   *   where: {
   *     // ... the filter for the Trip we want to update
   *   }
   * })
   */
  upsert<T extends TripUpsertArgs>(args: Prisma.SelectSubset<T, TripUpsertArgs<ExtArgs>>): Prisma.Prisma__TripClient<runtime.Types.Result.GetResult<Prisma.$TripPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>


  /**
   * Count the number of Trips.
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * @param {TripCountArgs} args - Arguments to filter Trips to count.
   * @example
   * // Count the number of Trips
   * const count = await prisma.trip.count({
   *   where: {
   *     // ... the filter for the Trips we want to count
   *   }
   * })
  **/
  count<T extends TripCountArgs>(
    args?: Prisma.Subset<T, TripCountArgs>,
  ): Prisma.PrismaPromise<
    T extends runtime.Types.Utils.Record<'select', any>
      ? T['select'] extends true
        ? number
        : Prisma.GetScalarType<T['select'], TripCountAggregateOutputType>
      : number
  >

  /**
   * Allows you to perform aggregations operations on a Trip.
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * @param {TripAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
   * @example
   * // Ordered by age ascending
   * // Where email contains prisma.io
   * // Limited to the 10 users
   * const aggregations = await prisma.user.aggregate({
   *   _avg: {
   *     age: true,
   *   },
   *   where: {
   *     email: {
   *       contains: "prisma.io",
   *     },
   *   },
   *   orderBy: {
   *     age: "asc",
   *   },
   *   take: 10,
   * })
  **/
  aggregate<T extends TripAggregateArgs>(args: Prisma.Subset<T, TripAggregateArgs>): Prisma.PrismaPromise<GetTripAggregateType<T>>

  /**
   * Group by Trip.
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * @param {TripGroupByArgs} 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 TripGroupByArgs,
    HasSelectOrTake extends Prisma.Or<
      Prisma.Extends<'skip', Prisma.Keys<T>>,
      Prisma.Extends<'take', Prisma.Keys<T>>
    >,
    OrderByArg extends Prisma.True extends HasSelectOrTake
      ? { orderBy: TripGroupByArgs['orderBy'] }
      : { orderBy?: TripGroupByArgs['orderBy'] },
    OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
    ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
    ByValid extends Prisma.Has<ByFields, OrderFields>,
    HavingFields extends Prisma.GetHavingFields<T['having']>,
    HavingValid extends Prisma.Has<ByFields, HavingFields>,
    ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
    InputErrors extends ByEmpty extends Prisma.True
    ? `Error: "by" must not be empty.`
    : HavingValid extends Prisma.False
    ? {
        [P in HavingFields]: P extends ByFields
          ? never
          : P extends string
          ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
          : [
              Error,
              'Field ',
              P,
              ` in "having" needs to be provided in "by"`,
            ]
      }[HavingFields]
    : 'take' extends Prisma.Keys<T>
    ? 'orderBy' extends Prisma.Keys<T>
      ? ByValid extends Prisma.True
        ? {}
        : {
            [P in OrderFields]: P extends ByFields
              ? never
              : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
          }[OrderFields]
      : 'Error: If you provide "take", you also need to provide "orderBy"'
    : 'skip' extends Prisma.Keys<T>
    ? 'orderBy' extends Prisma.Keys<T>
      ? ByValid extends Prisma.True
        ? {}
        : {
            [P in OrderFields]: P extends ByFields
              ? never
              : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
          }[OrderFields]
      : 'Error: If you provide "skip", you also need to provide "orderBy"'
    : ByValid extends Prisma.True
    ? {}
    : {
        [P in OrderFields]: P extends ByFields
          ? never
          : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
      }[OrderFields]
  >(args: Prisma.SubsetIntersection<T, TripGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetTripGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
 * Fields of the Trip model
 */
readonly fields: TripFieldRefs;
}

/**
 * The delegate class that acts as a "Promise-like" for Trip.
 * 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__TripClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
  readonly [Symbol.toStringTag]: "PrismaPromise"
  organizer<T extends Prisma.UserDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.UserDefaultArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
  participants<T extends Prisma.Trip$participantsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Trip$participantsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TripParticipantPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
  images<T extends Prisma.Trip$imagesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Trip$imagesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TripImagePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
  reviews<T extends Prisma.Trip$reviewsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Trip$reviewsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TripReviewPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
  bookings<T extends Prisma.Trip$bookingsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Trip$bookingsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BookingPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
  /**
   * Attaches callbacks for the resolution and/or rejection of the Promise.
   * @param onfulfilled The callback to execute when the Promise is resolved.
   * @param onrejected The callback to execute when the Promise is rejected.
   * @returns A Promise for the completion of which ever callback is executed.
   */
  then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
  /**
   * Attaches a callback for only the rejection of the Promise.
   * @param onrejected The callback to execute when the Promise is rejected.
   * @returns A Promise for the completion of the callback.
   */
  catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
  /**
   * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
   * resolved value cannot be modified from the callback.
   * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
   * @returns A Promise for the completion of the callback.
   */
  finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
}




/**
 * Fields of the Trip model
 */
export interface TripFieldRefs {
  readonly id: Prisma.FieldRef<"Trip", 'String'>
  readonly title: Prisma.FieldRef<"Trip", 'String'>
  readonly description: Prisma.FieldRef<"Trip", 'String'>
  readonly category: Prisma.FieldRef<"Trip", 'ActivityCategory'>
  readonly destination: Prisma.FieldRef<"Trip", 'String'>
  readonly location: Prisma.FieldRef<"Trip", 'String'>
  readonly meetingPoint: Prisma.FieldRef<"Trip", 'String'>
  readonly itinerary: Prisma.FieldRef<"Trip", 'String'>
  readonly whatsIncluded: Prisma.FieldRef<"Trip", 'String'>
  readonly whatsExcluded: Prisma.FieldRef<"Trip", 'String'>
  readonly date: Prisma.FieldRef<"Trip", 'DateTime'>
  readonly endDate: Prisma.FieldRef<"Trip", 'DateTime'>
  readonly maxParticipants: Prisma.FieldRef<"Trip", 'Int'>
  readonly price: Prisma.FieldRef<"Trip", 'Int'>
  readonly vibe: Prisma.FieldRef<"Trip", 'Vibe'>
  readonly status: Prisma.FieldRef<"Trip", 'TripStatus'>
  readonly createdAt: Prisma.FieldRef<"Trip", 'DateTime'>
  readonly updatedAt: Prisma.FieldRef<"Trip", 'DateTime'>
  readonly organizerId: Prisma.FieldRef<"Trip", 'String'>
}
    

// Custom InputTypes
/**
 * Trip findUnique
 */
export type TripFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the Trip
   */
  select?: Prisma.TripSelect<ExtArgs> | null
  /**
   * Omit specific fields from the Trip
   */
  omit?: Prisma.TripOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.TripInclude<ExtArgs> | null
  /**
   * Filter, which Trip to fetch.
   */
  where: Prisma.TripWhereUniqueInput
}

/**
 * Trip findUniqueOrThrow
 */
export type TripFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the Trip
   */
  select?: Prisma.TripSelect<ExtArgs> | null
  /**
   * Omit specific fields from the Trip
   */
  omit?: Prisma.TripOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.TripInclude<ExtArgs> | null
  /**
   * Filter, which Trip to fetch.
   */
  where: Prisma.TripWhereUniqueInput
}

/**
 * Trip findFirst
 */
export type TripFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the Trip
   */
  select?: Prisma.TripSelect<ExtArgs> | null
  /**
   * Omit specific fields from the Trip
   */
  omit?: Prisma.TripOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.TripInclude<ExtArgs> | null
  /**
   * Filter, which Trip to fetch.
   */
  where?: Prisma.TripWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of Trips to fetch.
   */
  orderBy?: Prisma.TripOrderByWithRelationInput | Prisma.TripOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the position for searching for Trips.
   */
  cursor?: Prisma.TripWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` Trips 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` Trips.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
   * 
   * Filter by unique combinations of Trips.
   */
  distinct?: Prisma.TripScalarFieldEnum | Prisma.TripScalarFieldEnum[]
}

/**
 * Trip findFirstOrThrow
 */
export type TripFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the Trip
   */
  select?: Prisma.TripSelect<ExtArgs> | null
  /**
   * Omit specific fields from the Trip
   */
  omit?: Prisma.TripOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.TripInclude<ExtArgs> | null
  /**
   * Filter, which Trip to fetch.
   */
  where?: Prisma.TripWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of Trips to fetch.
   */
  orderBy?: Prisma.TripOrderByWithRelationInput | Prisma.TripOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the position for searching for Trips.
   */
  cursor?: Prisma.TripWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` Trips 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` Trips.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
   * 
   * Filter by unique combinations of Trips.
   */
  distinct?: Prisma.TripScalarFieldEnum | Prisma.TripScalarFieldEnum[]
}

/**
 * Trip findMany
 */
export type TripFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the Trip
   */
  select?: Prisma.TripSelect<ExtArgs> | null
  /**
   * Omit specific fields from the Trip
   */
  omit?: Prisma.TripOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.TripInclude<ExtArgs> | null
  /**
   * Filter, which Trips to fetch.
   */
  where?: Prisma.TripWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of Trips to fetch.
   */
  orderBy?: Prisma.TripOrderByWithRelationInput | Prisma.TripOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the position for listing Trips.
   */
  cursor?: Prisma.TripWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` Trips 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` Trips.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
   * 
   * Filter by unique combinations of Trips.
   */
  distinct?: Prisma.TripScalarFieldEnum | Prisma.TripScalarFieldEnum[]
}

/**
 * Trip create
 */
export type TripCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the Trip
   */
  select?: Prisma.TripSelect<ExtArgs> | null
  /**
   * Omit specific fields from the Trip
   */
  omit?: Prisma.TripOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.TripInclude<ExtArgs> | null
  /**
   * The data needed to create a Trip.
   */
  data: Prisma.XOR<Prisma.TripCreateInput, Prisma.TripUncheckedCreateInput>
}

/**
 * Trip createMany
 */
export type TripCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * The data used to create many Trips.
   */
  data: Prisma.TripCreateManyInput | Prisma.TripCreateManyInput[]
  skipDuplicates?: boolean
}

/**
 * Trip createManyAndReturn
 */
export type TripCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the Trip
   */
  select?: Prisma.TripSelectCreateManyAndReturn<ExtArgs> | null
  /**
   * Omit specific fields from the Trip
   */
  omit?: Prisma.TripOmit<ExtArgs> | null
  /**
   * The data used to create many Trips.
   */
  data: Prisma.TripCreateManyInput | Prisma.TripCreateManyInput[]
  skipDuplicates?: boolean
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.TripIncludeCreateManyAndReturn<ExtArgs> | null
}

/**
 * Trip update
 */
export type TripUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the Trip
   */
  select?: Prisma.TripSelect<ExtArgs> | null
  /**
   * Omit specific fields from the Trip
   */
  omit?: Prisma.TripOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.TripInclude<ExtArgs> | null
  /**
   * The data needed to update a Trip.
   */
  data: Prisma.XOR<Prisma.TripUpdateInput, Prisma.TripUncheckedUpdateInput>
  /**
   * Choose, which Trip to update.
   */
  where: Prisma.TripWhereUniqueInput
}

/**
 * Trip updateMany
 */
export type TripUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * The data used to update Trips.
   */
  data: Prisma.XOR<Prisma.TripUpdateManyMutationInput, Prisma.TripUncheckedUpdateManyInput>
  /**
   * Filter which Trips to update
   */
  where?: Prisma.TripWhereInput
  /**
   * Limit how many Trips to update.
   */
  limit?: number
}

/**
 * Trip updateManyAndReturn
 */
export type TripUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the Trip
   */
  select?: Prisma.TripSelectUpdateManyAndReturn<ExtArgs> | null
  /**
   * Omit specific fields from the Trip
   */
  omit?: Prisma.TripOmit<ExtArgs> | null
  /**
   * The data used to update Trips.
   */
  data: Prisma.XOR<Prisma.TripUpdateManyMutationInput, Prisma.TripUncheckedUpdateManyInput>
  /**
   * Filter which Trips to update
   */
  where?: Prisma.TripWhereInput
  /**
   * Limit how many Trips to update.
   */
  limit?: number
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.TripIncludeUpdateManyAndReturn<ExtArgs> | null
}

/**
 * Trip upsert
 */
export type TripUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the Trip
   */
  select?: Prisma.TripSelect<ExtArgs> | null
  /**
   * Omit specific fields from the Trip
   */
  omit?: Prisma.TripOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.TripInclude<ExtArgs> | null
  /**
   * The filter to search for the Trip to update in case it exists.
   */
  where: Prisma.TripWhereUniqueInput
  /**
   * In case the Trip found by the `where` argument doesn't exist, create a new Trip with this data.
   */
  create: Prisma.XOR<Prisma.TripCreateInput, Prisma.TripUncheckedCreateInput>
  /**
   * In case the Trip was found with the provided `where` argument, update it with this data.
   */
  update: Prisma.XOR<Prisma.TripUpdateInput, Prisma.TripUncheckedUpdateInput>
}

/**
 * Trip delete
 */
export type TripDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the Trip
   */
  select?: Prisma.TripSelect<ExtArgs> | null
  /**
   * Omit specific fields from the Trip
   */
  omit?: Prisma.TripOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.TripInclude<ExtArgs> | null
  /**
   * Filter which Trip to delete.
   */
  where: Prisma.TripWhereUniqueInput
}

/**
 * Trip deleteMany
 */
export type TripDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Filter which Trips to delete
   */
  where?: Prisma.TripWhereInput
  /**
   * Limit how many Trips to delete.
   */
  limit?: number
}

/**
 * Trip.participants
 */
export type Trip$participantsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the TripParticipant
   */
  select?: Prisma.TripParticipantSelect<ExtArgs> | null
  /**
   * Omit specific fields from the TripParticipant
   */
  omit?: Prisma.TripParticipantOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.TripParticipantInclude<ExtArgs> | null
  where?: Prisma.TripParticipantWhereInput
  orderBy?: Prisma.TripParticipantOrderByWithRelationInput | Prisma.TripParticipantOrderByWithRelationInput[]
  cursor?: Prisma.TripParticipantWhereUniqueInput
  take?: number
  skip?: number
  distinct?: Prisma.TripParticipantScalarFieldEnum | Prisma.TripParticipantScalarFieldEnum[]
}

/**
 * Trip.images
 */
export type Trip$imagesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the TripImage
   */
  select?: Prisma.TripImageSelect<ExtArgs> | null
  /**
   * Omit specific fields from the TripImage
   */
  omit?: Prisma.TripImageOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.TripImageInclude<ExtArgs> | null
  where?: Prisma.TripImageWhereInput
  orderBy?: Prisma.TripImageOrderByWithRelationInput | Prisma.TripImageOrderByWithRelationInput[]
  cursor?: Prisma.TripImageWhereUniqueInput
  take?: number
  skip?: number
  distinct?: Prisma.TripImageScalarFieldEnum | Prisma.TripImageScalarFieldEnum[]
}

/**
 * Trip.reviews
 */
export type Trip$reviewsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the TripReview
   */
  select?: Prisma.TripReviewSelect<ExtArgs> | null
  /**
   * Omit specific fields from the TripReview
   */
  omit?: Prisma.TripReviewOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.TripReviewInclude<ExtArgs> | null
  where?: Prisma.TripReviewWhereInput
  orderBy?: Prisma.TripReviewOrderByWithRelationInput | Prisma.TripReviewOrderByWithRelationInput[]
  cursor?: Prisma.TripReviewWhereUniqueInput
  take?: number
  skip?: number
  distinct?: Prisma.TripReviewScalarFieldEnum | Prisma.TripReviewScalarFieldEnum[]
}

/**
 * Trip.bookings
 */
export type Trip$bookingsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the Booking
   */
  select?: Prisma.BookingSelect<ExtArgs> | null
  /**
   * Omit specific fields from the Booking
   */
  omit?: Prisma.BookingOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.BookingInclude<ExtArgs> | null
  where?: Prisma.BookingWhereInput
  orderBy?: Prisma.BookingOrderByWithRelationInput | Prisma.BookingOrderByWithRelationInput[]
  cursor?: Prisma.BookingWhereUniqueInput
  take?: number
  skip?: number
  distinct?: Prisma.BookingScalarFieldEnum | Prisma.BookingScalarFieldEnum[]
}

/**
 * Trip without action
 */
export type TripDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the Trip
   */
  select?: Prisma.TripSelect<ExtArgs> | null
  /**
   * Omit specific fields from the Trip
   */
  omit?: Prisma.TripOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.TripInclude<ExtArgs> | null
}
