From a07942c4b42e652de11f771fc86b967e0f7bfe76 Mon Sep 17 00:00:00 2001 From: arifal Date: Mon, 11 May 2026 14:21:01 +0700 Subject: [PATCH] chore: remove generated prisma client from repository --- .gitignore | 3 + app/generated/prisma/browser.ts | 89 - app/generated/prisma/client.ts | 113 - app/generated/prisma/commonInputTypes.ts | 889 ------ app/generated/prisma/enums.ts | 138 - app/generated/prisma/internal/class.ts | 304 -- .../prisma/internal/prismaNamespace.ts | 1942 ------------ .../prisma/internal/prismaNamespaceBrowser.ts | 320 -- app/generated/prisma/models.ts | 22 - app/generated/prisma/models/Account.ts | 1649 ---------- app/generated/prisma/models/Booking.ts | 2098 ------------- .../prisma/models/OrganizerVerification.ts | 2021 ------------ app/generated/prisma/models/Payment.ts | 1979 ------------ app/generated/prisma/models/Refund.ts | 2379 -------------- app/generated/prisma/models/Trip.ts | 2661 ---------------- app/generated/prisma/models/TripImage.ts | 1389 -------- .../prisma/models/TripParticipant.ts | 1678 ---------- app/generated/prisma/models/TripReview.ts | 1597 ---------- app/generated/prisma/models/User.ts | 2796 ----------------- app/generated/prisma/models/UserProfile.ts | 1454 --------- 20 files changed, 3 insertions(+), 25518 deletions(-) delete mode 100644 app/generated/prisma/browser.ts delete mode 100644 app/generated/prisma/client.ts delete mode 100644 app/generated/prisma/commonInputTypes.ts delete mode 100644 app/generated/prisma/enums.ts delete mode 100644 app/generated/prisma/internal/class.ts delete mode 100644 app/generated/prisma/internal/prismaNamespace.ts delete mode 100644 app/generated/prisma/internal/prismaNamespaceBrowser.ts delete mode 100644 app/generated/prisma/models.ts delete mode 100644 app/generated/prisma/models/Account.ts delete mode 100644 app/generated/prisma/models/Booking.ts delete mode 100644 app/generated/prisma/models/OrganizerVerification.ts delete mode 100644 app/generated/prisma/models/Payment.ts delete mode 100644 app/generated/prisma/models/Refund.ts delete mode 100644 app/generated/prisma/models/Trip.ts delete mode 100644 app/generated/prisma/models/TripImage.ts delete mode 100644 app/generated/prisma/models/TripParticipant.ts delete mode 100644 app/generated/prisma/models/TripReview.ts delete mode 100644 app/generated/prisma/models/User.ts delete mode 100644 app/generated/prisma/models/UserProfile.ts diff --git a/.gitignore b/.gitignore index 97f0b2d..b8d6f77 100644 --- a/.gitignore +++ b/.gitignore @@ -42,3 +42,6 @@ yarn-error.log* # typescript *.tsbuildinfo next-env.d.ts + +#prisma +**/generated/prisma \ No newline at end of file diff --git a/app/generated/prisma/browser.ts b/app/generated/prisma/browser.ts deleted file mode 100644 index d0062fa..0000000 --- a/app/generated/prisma/browser.ts +++ /dev/null @@ -1,89 +0,0 @@ - -/* !!! This is code generated by Prisma. Do not edit directly. !!! */ -/* eslint-disable */ -// biome-ignore-all lint: generated file -// @ts-nocheck -/* - * This file should be your main import to use Prisma-related types and utilities in a browser. - * Use it to get access to models, enums, and input types. - * - * This file does not contain a `PrismaClient` class, nor several other helpers that are intended as server-side only. - * See `client.ts` for the standard, server-side entry point. - * - * 🟢 You can import this file directly. - */ - -import * as Prisma from './internal/prismaNamespaceBrowser' -export { Prisma } -export * as $Enums from './enums' -export * from './enums'; -/** - * Model User - * - */ -export type User = Prisma.UserModel -/** - * Model UserProfile - * Profil sosial publik. Berisi info yang user pilih untuk dibagikan ke peserta lain - * (bio, kota, minat, vibe). Tidak menyimpan data sensitif — KYC tetap di OrganizerVerification. - */ -export type UserProfile = Prisma.UserProfileModel -/** - * Model Account - * Tabel link akun OAuth pihak ketiga (Google, dst). Diisi oleh PrismaAdapter NextAuth. - * Session tidak pakai DB — kita pakai JWT, jadi Session/VerificationToken tidak perlu. - */ -export type Account = Prisma.AccountModel -/** - * Model OrganizerVerification - * - */ -export type OrganizerVerification = Prisma.OrganizerVerificationModel -/** - * Model Trip - * - */ -export type Trip = Prisma.TripModel -/** - * Model TripReview - * - */ -export type TripReview = Prisma.TripReviewModel -/** - * Model TripImage - * - */ -export type TripImage = Prisma.TripImageModel -/** - * Model TripParticipant - * - */ -export type TripParticipant = Prisma.TripParticipantModel -/** - * Model Booking - * Booking 1-1 ke TripParticipant. Lifecycle ikut peserta: - * - join → Booking PENDING (menunggu approve organizer) - * - organizer confirm → AWAITING_PAY (paid trip) atau PAID (free trip) - * - peserta + organizer rampungkan pembayaran → PAID - * - cancel/reject → CANCELLED - * `amount` adalah snapshot harga saat booking dibuat — protect dari perubahan trip.price. - */ -export type Booking = Prisma.BookingModel -/** - * Model Payment - * Satu attempt pembayaran. Satu Booking bisa punya banyak Payment kalau retry - * (di Phase MIDTRANS nanti). Untuk MANUAL biasanya cukup 1 Payment. - */ -export type Payment = Prisma.PaymentModel -/** - * Model Refund - * Refund = financial event terpisah dari Booking. Satu Booking bisa punya - * banyak Refund (partial, multi-tahap). Setiap row auditable: kapan dibuat, - * siapa melaporkan, siapa approve, kapan SUCCEEDED. Never delete — kalau - * gagal, set status=FAILED + alasan. - * - * Di MVP refund dimasukkan admin secara manual berdasarkan laporan dari - * peserta atau organizer (via WhatsApp/email). Phase berikutnya akan - * menambah self-service flow dari user dan organizer. - */ -export type Refund = Prisma.RefundModel diff --git a/app/generated/prisma/client.ts b/app/generated/prisma/client.ts deleted file mode 100644 index 76053f9..0000000 --- a/app/generated/prisma/client.ts +++ /dev/null @@ -1,113 +0,0 @@ - -/* !!! This is code generated by Prisma. Do not edit directly. !!! */ -/* eslint-disable */ -// biome-ignore-all lint: generated file -// @ts-nocheck -/* - * This file should be your main import to use Prisma. Through it you get access to all the models, enums, and input types. - * If you're looking for something you can import in the client-side of your application, please refer to the `browser.ts` file instead. - * - * 🟢 You can import this file directly. - */ - -import * as process from 'node:process' -import * as path from 'node:path' -import { fileURLToPath } from 'node:url' -globalThis['__dirname'] = path.dirname(fileURLToPath(import.meta.url)) - -import * as runtime from "@prisma/client/runtime/client" -import * as $Enums from "./enums" -import * as $Class from "./internal/class" -import * as Prisma from "./internal/prismaNamespace" - -export * as $Enums from './enums' -export * from "./enums" -/** - * ## Prisma Client - * - * Type-safe database client for TypeScript - * @example - * ``` - * const prisma = new PrismaClient({ - * adapter: new PrismaPg({ connectionString: process.env.DATABASE_URL }) - * }) - * // Fetch zero or more Users - * const users = await prisma.user.findMany() - * ``` - * - * Read more in our [docs](https://pris.ly/d/client). - */ -export const PrismaClient = $Class.getPrismaClientClass() -export type PrismaClient = $Class.PrismaClient -export { Prisma } - -/** - * Model User - * - */ -export type User = Prisma.UserModel -/** - * Model UserProfile - * Profil sosial publik. Berisi info yang user pilih untuk dibagikan ke peserta lain - * (bio, kota, minat, vibe). Tidak menyimpan data sensitif — KYC tetap di OrganizerVerification. - */ -export type UserProfile = Prisma.UserProfileModel -/** - * Model Account - * Tabel link akun OAuth pihak ketiga (Google, dst). Diisi oleh PrismaAdapter NextAuth. - * Session tidak pakai DB — kita pakai JWT, jadi Session/VerificationToken tidak perlu. - */ -export type Account = Prisma.AccountModel -/** - * Model OrganizerVerification - * - */ -export type OrganizerVerification = Prisma.OrganizerVerificationModel -/** - * Model Trip - * - */ -export type Trip = Prisma.TripModel -/** - * Model TripReview - * - */ -export type TripReview = Prisma.TripReviewModel -/** - * Model TripImage - * - */ -export type TripImage = Prisma.TripImageModel -/** - * Model TripParticipant - * - */ -export type TripParticipant = Prisma.TripParticipantModel -/** - * Model Booking - * Booking 1-1 ke TripParticipant. Lifecycle ikut peserta: - * - join → Booking PENDING (menunggu approve organizer) - * - organizer confirm → AWAITING_PAY (paid trip) atau PAID (free trip) - * - peserta + organizer rampungkan pembayaran → PAID - * - cancel/reject → CANCELLED - * `amount` adalah snapshot harga saat booking dibuat — protect dari perubahan trip.price. - */ -export type Booking = Prisma.BookingModel -/** - * Model Payment - * Satu attempt pembayaran. Satu Booking bisa punya banyak Payment kalau retry - * (di Phase MIDTRANS nanti). Untuk MANUAL biasanya cukup 1 Payment. - */ -export type Payment = Prisma.PaymentModel -/** - * Model Refund - * Refund = financial event terpisah dari Booking. Satu Booking bisa punya - * banyak Refund (partial, multi-tahap). Setiap row auditable: kapan dibuat, - * siapa melaporkan, siapa approve, kapan SUCCEEDED. Never delete — kalau - * gagal, set status=FAILED + alasan. - * - * Di MVP refund dimasukkan admin secara manual berdasarkan laporan dari - * peserta atau organizer (via WhatsApp/email). Phase berikutnya akan - * menambah self-service flow dari user dan organizer. - */ -export type Refund = Prisma.RefundModel diff --git a/app/generated/prisma/commonInputTypes.ts b/app/generated/prisma/commonInputTypes.ts deleted file mode 100644 index 51213f2..0000000 --- a/app/generated/prisma/commonInputTypes.ts +++ /dev/null @@ -1,889 +0,0 @@ - -/* !!! This is code generated by Prisma. Do not edit directly. !!! */ -/* eslint-disable */ -// biome-ignore-all lint: generated file -// @ts-nocheck -/* - * This file exports various common sort, input & filter types that are not directly linked to a particular model. - * - * 🟢 You can import this file directly. - */ - -import type * as runtime from "@prisma/client/runtime/client" -import * as $Enums from "./enums" -import type * as Prisma from "./internal/prismaNamespace" - - -export type StringFilter<$PrismaModel = never> = { - equals?: string | Prisma.StringFieldRefInput<$PrismaModel> - in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> - notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> - lt?: string | Prisma.StringFieldRefInput<$PrismaModel> - lte?: string | Prisma.StringFieldRefInput<$PrismaModel> - gt?: string | Prisma.StringFieldRefInput<$PrismaModel> - gte?: string | Prisma.StringFieldRefInput<$PrismaModel> - contains?: string | Prisma.StringFieldRefInput<$PrismaModel> - startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> - endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> - mode?: Prisma.QueryMode - not?: Prisma.NestedStringFilter<$PrismaModel> | string -} - -export type StringNullableFilter<$PrismaModel = never> = { - equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null - in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null - notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null - lt?: string | Prisma.StringFieldRefInput<$PrismaModel> - lte?: string | Prisma.StringFieldRefInput<$PrismaModel> - gt?: string | Prisma.StringFieldRefInput<$PrismaModel> - gte?: string | Prisma.StringFieldRefInput<$PrismaModel> - contains?: string | Prisma.StringFieldRefInput<$PrismaModel> - startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> - endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> - mode?: Prisma.QueryMode - not?: Prisma.NestedStringNullableFilter<$PrismaModel> | string | null -} - -export type DateTimeNullableFilter<$PrismaModel = never> = { - equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> | null - in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null - notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null - lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> - lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> - gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> - gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> - not?: Prisma.NestedDateTimeNullableFilter<$PrismaModel> | Date | string | null -} - -export type BoolFilter<$PrismaModel = never> = { - equals?: boolean | Prisma.BooleanFieldRefInput<$PrismaModel> - not?: Prisma.NestedBoolFilter<$PrismaModel> | boolean -} - -export type DateTimeFilter<$PrismaModel = never> = { - equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> - in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> - notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> - lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> - lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> - gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> - gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> - not?: Prisma.NestedDateTimeFilter<$PrismaModel> | Date | string -} - -export type SortOrderInput = { - sort: Prisma.SortOrder - nulls?: Prisma.NullsOrder -} - -export type StringWithAggregatesFilter<$PrismaModel = never> = { - equals?: string | Prisma.StringFieldRefInput<$PrismaModel> - in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> - notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> - lt?: string | Prisma.StringFieldRefInput<$PrismaModel> - lte?: string | Prisma.StringFieldRefInput<$PrismaModel> - gt?: string | Prisma.StringFieldRefInput<$PrismaModel> - gte?: string | Prisma.StringFieldRefInput<$PrismaModel> - contains?: string | Prisma.StringFieldRefInput<$PrismaModel> - startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> - endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> - mode?: Prisma.QueryMode - not?: Prisma.NestedStringWithAggregatesFilter<$PrismaModel> | string - _count?: Prisma.NestedIntFilter<$PrismaModel> - _min?: Prisma.NestedStringFilter<$PrismaModel> - _max?: Prisma.NestedStringFilter<$PrismaModel> -} - -export type StringNullableWithAggregatesFilter<$PrismaModel = never> = { - equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null - in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null - notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null - lt?: string | Prisma.StringFieldRefInput<$PrismaModel> - lte?: string | Prisma.StringFieldRefInput<$PrismaModel> - gt?: string | Prisma.StringFieldRefInput<$PrismaModel> - gte?: string | Prisma.StringFieldRefInput<$PrismaModel> - contains?: string | Prisma.StringFieldRefInput<$PrismaModel> - startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> - endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> - mode?: Prisma.QueryMode - not?: Prisma.NestedStringNullableWithAggregatesFilter<$PrismaModel> | string | null - _count?: Prisma.NestedIntNullableFilter<$PrismaModel> - _min?: Prisma.NestedStringNullableFilter<$PrismaModel> - _max?: Prisma.NestedStringNullableFilter<$PrismaModel> -} - -export type DateTimeNullableWithAggregatesFilter<$PrismaModel = never> = { - equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> | null - in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null - notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null - lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> - lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> - gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> - gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> - not?: Prisma.NestedDateTimeNullableWithAggregatesFilter<$PrismaModel> | Date | string | null - _count?: Prisma.NestedIntNullableFilter<$PrismaModel> - _min?: Prisma.NestedDateTimeNullableFilter<$PrismaModel> - _max?: Prisma.NestedDateTimeNullableFilter<$PrismaModel> -} - -export type BoolWithAggregatesFilter<$PrismaModel = never> = { - equals?: boolean | Prisma.BooleanFieldRefInput<$PrismaModel> - not?: Prisma.NestedBoolWithAggregatesFilter<$PrismaModel> | boolean - _count?: Prisma.NestedIntFilter<$PrismaModel> - _min?: Prisma.NestedBoolFilter<$PrismaModel> - _max?: Prisma.NestedBoolFilter<$PrismaModel> -} - -export type DateTimeWithAggregatesFilter<$PrismaModel = never> = { - equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> - in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> - notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> - lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> - lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> - gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> - gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> - not?: Prisma.NestedDateTimeWithAggregatesFilter<$PrismaModel> | Date | string - _count?: Prisma.NestedIntFilter<$PrismaModel> - _min?: Prisma.NestedDateTimeFilter<$PrismaModel> - _max?: Prisma.NestedDateTimeFilter<$PrismaModel> -} - -export type EnumVibeNullableFilter<$PrismaModel = never> = { - equals?: $Enums.Vibe | Prisma.EnumVibeFieldRefInput<$PrismaModel> | null - in?: $Enums.Vibe[] | Prisma.ListEnumVibeFieldRefInput<$PrismaModel> | null - notIn?: $Enums.Vibe[] | Prisma.ListEnumVibeFieldRefInput<$PrismaModel> | null - not?: Prisma.NestedEnumVibeNullableFilter<$PrismaModel> | $Enums.Vibe | null -} - -export type EnumVibeNullableWithAggregatesFilter<$PrismaModel = never> = { - equals?: $Enums.Vibe | Prisma.EnumVibeFieldRefInput<$PrismaModel> | null - in?: $Enums.Vibe[] | Prisma.ListEnumVibeFieldRefInput<$PrismaModel> | null - notIn?: $Enums.Vibe[] | Prisma.ListEnumVibeFieldRefInput<$PrismaModel> | null - not?: Prisma.NestedEnumVibeNullableWithAggregatesFilter<$PrismaModel> | $Enums.Vibe | null - _count?: Prisma.NestedIntNullableFilter<$PrismaModel> - _min?: Prisma.NestedEnumVibeNullableFilter<$PrismaModel> - _max?: Prisma.NestedEnumVibeNullableFilter<$PrismaModel> -} - -export type IntNullableFilter<$PrismaModel = never> = { - equals?: number | Prisma.IntFieldRefInput<$PrismaModel> | null - in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null - notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null - lt?: number | Prisma.IntFieldRefInput<$PrismaModel> - lte?: number | Prisma.IntFieldRefInput<$PrismaModel> - gt?: number | Prisma.IntFieldRefInput<$PrismaModel> - gte?: number | Prisma.IntFieldRefInput<$PrismaModel> - not?: Prisma.NestedIntNullableFilter<$PrismaModel> | number | null -} - -export type IntNullableWithAggregatesFilter<$PrismaModel = never> = { - equals?: number | Prisma.IntFieldRefInput<$PrismaModel> | null - in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null - notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null - lt?: number | Prisma.IntFieldRefInput<$PrismaModel> - lte?: number | Prisma.IntFieldRefInput<$PrismaModel> - gt?: number | Prisma.IntFieldRefInput<$PrismaModel> - gte?: number | Prisma.IntFieldRefInput<$PrismaModel> - not?: Prisma.NestedIntNullableWithAggregatesFilter<$PrismaModel> | number | null - _count?: Prisma.NestedIntNullableFilter<$PrismaModel> - _avg?: Prisma.NestedFloatNullableFilter<$PrismaModel> - _sum?: Prisma.NestedIntNullableFilter<$PrismaModel> - _min?: Prisma.NestedIntNullableFilter<$PrismaModel> - _max?: Prisma.NestedIntNullableFilter<$PrismaModel> -} - -export type EnumVerificationStatusFilter<$PrismaModel = never> = { - equals?: $Enums.VerificationStatus | Prisma.EnumVerificationStatusFieldRefInput<$PrismaModel> - in?: $Enums.VerificationStatus[] | Prisma.ListEnumVerificationStatusFieldRefInput<$PrismaModel> - notIn?: $Enums.VerificationStatus[] | Prisma.ListEnumVerificationStatusFieldRefInput<$PrismaModel> - not?: Prisma.NestedEnumVerificationStatusFilter<$PrismaModel> | $Enums.VerificationStatus -} - -export type EnumVerificationStatusWithAggregatesFilter<$PrismaModel = never> = { - equals?: $Enums.VerificationStatus | Prisma.EnumVerificationStatusFieldRefInput<$PrismaModel> - in?: $Enums.VerificationStatus[] | Prisma.ListEnumVerificationStatusFieldRefInput<$PrismaModel> - notIn?: $Enums.VerificationStatus[] | Prisma.ListEnumVerificationStatusFieldRefInput<$PrismaModel> - not?: Prisma.NestedEnumVerificationStatusWithAggregatesFilter<$PrismaModel> | $Enums.VerificationStatus - _count?: Prisma.NestedIntFilter<$PrismaModel> - _min?: Prisma.NestedEnumVerificationStatusFilter<$PrismaModel> - _max?: Prisma.NestedEnumVerificationStatusFilter<$PrismaModel> -} - -export type EnumActivityCategoryFilter<$PrismaModel = never> = { - equals?: $Enums.ActivityCategory | Prisma.EnumActivityCategoryFieldRefInput<$PrismaModel> - in?: $Enums.ActivityCategory[] | Prisma.ListEnumActivityCategoryFieldRefInput<$PrismaModel> - notIn?: $Enums.ActivityCategory[] | Prisma.ListEnumActivityCategoryFieldRefInput<$PrismaModel> - not?: Prisma.NestedEnumActivityCategoryFilter<$PrismaModel> | $Enums.ActivityCategory -} - -export type IntFilter<$PrismaModel = never> = { - equals?: number | Prisma.IntFieldRefInput<$PrismaModel> - in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> - notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> - lt?: number | Prisma.IntFieldRefInput<$PrismaModel> - lte?: number | Prisma.IntFieldRefInput<$PrismaModel> - gt?: number | Prisma.IntFieldRefInput<$PrismaModel> - gte?: number | Prisma.IntFieldRefInput<$PrismaModel> - not?: Prisma.NestedIntFilter<$PrismaModel> | number -} - -export type EnumTripStatusFilter<$PrismaModel = never> = { - equals?: $Enums.TripStatus | Prisma.EnumTripStatusFieldRefInput<$PrismaModel> - in?: $Enums.TripStatus[] | Prisma.ListEnumTripStatusFieldRefInput<$PrismaModel> - notIn?: $Enums.TripStatus[] | Prisma.ListEnumTripStatusFieldRefInput<$PrismaModel> - not?: Prisma.NestedEnumTripStatusFilter<$PrismaModel> | $Enums.TripStatus -} - -export type EnumActivityCategoryWithAggregatesFilter<$PrismaModel = never> = { - equals?: $Enums.ActivityCategory | Prisma.EnumActivityCategoryFieldRefInput<$PrismaModel> - in?: $Enums.ActivityCategory[] | Prisma.ListEnumActivityCategoryFieldRefInput<$PrismaModel> - notIn?: $Enums.ActivityCategory[] | Prisma.ListEnumActivityCategoryFieldRefInput<$PrismaModel> - not?: Prisma.NestedEnumActivityCategoryWithAggregatesFilter<$PrismaModel> | $Enums.ActivityCategory - _count?: Prisma.NestedIntFilter<$PrismaModel> - _min?: Prisma.NestedEnumActivityCategoryFilter<$PrismaModel> - _max?: Prisma.NestedEnumActivityCategoryFilter<$PrismaModel> -} - -export type IntWithAggregatesFilter<$PrismaModel = never> = { - equals?: number | Prisma.IntFieldRefInput<$PrismaModel> - in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> - notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> - lt?: number | Prisma.IntFieldRefInput<$PrismaModel> - lte?: number | Prisma.IntFieldRefInput<$PrismaModel> - gt?: number | Prisma.IntFieldRefInput<$PrismaModel> - gte?: number | Prisma.IntFieldRefInput<$PrismaModel> - not?: Prisma.NestedIntWithAggregatesFilter<$PrismaModel> | number - _count?: Prisma.NestedIntFilter<$PrismaModel> - _avg?: Prisma.NestedFloatFilter<$PrismaModel> - _sum?: Prisma.NestedIntFilter<$PrismaModel> - _min?: Prisma.NestedIntFilter<$PrismaModel> - _max?: Prisma.NestedIntFilter<$PrismaModel> -} - -export type EnumTripStatusWithAggregatesFilter<$PrismaModel = never> = { - equals?: $Enums.TripStatus | Prisma.EnumTripStatusFieldRefInput<$PrismaModel> - in?: $Enums.TripStatus[] | Prisma.ListEnumTripStatusFieldRefInput<$PrismaModel> - notIn?: $Enums.TripStatus[] | Prisma.ListEnumTripStatusFieldRefInput<$PrismaModel> - not?: Prisma.NestedEnumTripStatusWithAggregatesFilter<$PrismaModel> | $Enums.TripStatus - _count?: Prisma.NestedIntFilter<$PrismaModel> - _min?: Prisma.NestedEnumTripStatusFilter<$PrismaModel> - _max?: Prisma.NestedEnumTripStatusFilter<$PrismaModel> -} - -export type EnumParticipantStatusFilter<$PrismaModel = never> = { - equals?: $Enums.ParticipantStatus | Prisma.EnumParticipantStatusFieldRefInput<$PrismaModel> - in?: $Enums.ParticipantStatus[] | Prisma.ListEnumParticipantStatusFieldRefInput<$PrismaModel> - notIn?: $Enums.ParticipantStatus[] | Prisma.ListEnumParticipantStatusFieldRefInput<$PrismaModel> - not?: Prisma.NestedEnumParticipantStatusFilter<$PrismaModel> | $Enums.ParticipantStatus -} - -export type EnumParticipantStatusWithAggregatesFilter<$PrismaModel = never> = { - equals?: $Enums.ParticipantStatus | Prisma.EnumParticipantStatusFieldRefInput<$PrismaModel> - in?: $Enums.ParticipantStatus[] | Prisma.ListEnumParticipantStatusFieldRefInput<$PrismaModel> - notIn?: $Enums.ParticipantStatus[] | Prisma.ListEnumParticipantStatusFieldRefInput<$PrismaModel> - not?: Prisma.NestedEnumParticipantStatusWithAggregatesFilter<$PrismaModel> | $Enums.ParticipantStatus - _count?: Prisma.NestedIntFilter<$PrismaModel> - _min?: Prisma.NestedEnumParticipantStatusFilter<$PrismaModel> - _max?: Prisma.NestedEnumParticipantStatusFilter<$PrismaModel> -} - -export type EnumBookingStatusFilter<$PrismaModel = never> = { - equals?: $Enums.BookingStatus | Prisma.EnumBookingStatusFieldRefInput<$PrismaModel> - in?: $Enums.BookingStatus[] | Prisma.ListEnumBookingStatusFieldRefInput<$PrismaModel> - notIn?: $Enums.BookingStatus[] | Prisma.ListEnumBookingStatusFieldRefInput<$PrismaModel> - not?: Prisma.NestedEnumBookingStatusFilter<$PrismaModel> | $Enums.BookingStatus -} - -export type EnumBookingStatusWithAggregatesFilter<$PrismaModel = never> = { - equals?: $Enums.BookingStatus | Prisma.EnumBookingStatusFieldRefInput<$PrismaModel> - in?: $Enums.BookingStatus[] | Prisma.ListEnumBookingStatusFieldRefInput<$PrismaModel> - notIn?: $Enums.BookingStatus[] | Prisma.ListEnumBookingStatusFieldRefInput<$PrismaModel> - not?: Prisma.NestedEnumBookingStatusWithAggregatesFilter<$PrismaModel> | $Enums.BookingStatus - _count?: Prisma.NestedIntFilter<$PrismaModel> - _min?: Prisma.NestedEnumBookingStatusFilter<$PrismaModel> - _max?: Prisma.NestedEnumBookingStatusFilter<$PrismaModel> -} - -export type EnumPaymentProviderFilter<$PrismaModel = never> = { - equals?: $Enums.PaymentProvider | Prisma.EnumPaymentProviderFieldRefInput<$PrismaModel> - in?: $Enums.PaymentProvider[] | Prisma.ListEnumPaymentProviderFieldRefInput<$PrismaModel> - notIn?: $Enums.PaymentProvider[] | Prisma.ListEnumPaymentProviderFieldRefInput<$PrismaModel> - not?: Prisma.NestedEnumPaymentProviderFilter<$PrismaModel> | $Enums.PaymentProvider -} - -export type EnumPaymentStatusFilter<$PrismaModel = never> = { - equals?: $Enums.PaymentStatus | Prisma.EnumPaymentStatusFieldRefInput<$PrismaModel> - in?: $Enums.PaymentStatus[] | Prisma.ListEnumPaymentStatusFieldRefInput<$PrismaModel> - notIn?: $Enums.PaymentStatus[] | Prisma.ListEnumPaymentStatusFieldRefInput<$PrismaModel> - not?: Prisma.NestedEnumPaymentStatusFilter<$PrismaModel> | $Enums.PaymentStatus -} - -export type JsonNullableFilter<$PrismaModel = never> = -| Prisma.PatchUndefined< - Prisma.Either>, Exclude>, 'path'>>, - Required> - > -| Prisma.OptionalFlat>, 'path'>> - -export type JsonNullableFilterBase<$PrismaModel = never> = { - equals?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter - path?: string[] - mode?: Prisma.QueryMode | Prisma.EnumQueryModeFieldRefInput<$PrismaModel> - string_contains?: string | Prisma.StringFieldRefInput<$PrismaModel> - string_starts_with?: string | Prisma.StringFieldRefInput<$PrismaModel> - string_ends_with?: string | Prisma.StringFieldRefInput<$PrismaModel> - array_starts_with?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null - array_ends_with?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null - array_contains?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null - lt?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> - lte?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> - gt?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> - gte?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> - not?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter -} - -export type EnumPaymentProviderWithAggregatesFilter<$PrismaModel = never> = { - equals?: $Enums.PaymentProvider | Prisma.EnumPaymentProviderFieldRefInput<$PrismaModel> - in?: $Enums.PaymentProvider[] | Prisma.ListEnumPaymentProviderFieldRefInput<$PrismaModel> - notIn?: $Enums.PaymentProvider[] | Prisma.ListEnumPaymentProviderFieldRefInput<$PrismaModel> - not?: Prisma.NestedEnumPaymentProviderWithAggregatesFilter<$PrismaModel> | $Enums.PaymentProvider - _count?: Prisma.NestedIntFilter<$PrismaModel> - _min?: Prisma.NestedEnumPaymentProviderFilter<$PrismaModel> - _max?: Prisma.NestedEnumPaymentProviderFilter<$PrismaModel> -} - -export type EnumPaymentStatusWithAggregatesFilter<$PrismaModel = never> = { - equals?: $Enums.PaymentStatus | Prisma.EnumPaymentStatusFieldRefInput<$PrismaModel> - in?: $Enums.PaymentStatus[] | Prisma.ListEnumPaymentStatusFieldRefInput<$PrismaModel> - notIn?: $Enums.PaymentStatus[] | Prisma.ListEnumPaymentStatusFieldRefInput<$PrismaModel> - not?: Prisma.NestedEnumPaymentStatusWithAggregatesFilter<$PrismaModel> | $Enums.PaymentStatus - _count?: Prisma.NestedIntFilter<$PrismaModel> - _min?: Prisma.NestedEnumPaymentStatusFilter<$PrismaModel> - _max?: Prisma.NestedEnumPaymentStatusFilter<$PrismaModel> -} - -export type JsonNullableWithAggregatesFilter<$PrismaModel = never> = -| Prisma.PatchUndefined< - Prisma.Either>, Exclude>, 'path'>>, - Required> - > -| Prisma.OptionalFlat>, 'path'>> - -export type JsonNullableWithAggregatesFilterBase<$PrismaModel = never> = { - equals?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter - path?: string[] - mode?: Prisma.QueryMode | Prisma.EnumQueryModeFieldRefInput<$PrismaModel> - string_contains?: string | Prisma.StringFieldRefInput<$PrismaModel> - string_starts_with?: string | Prisma.StringFieldRefInput<$PrismaModel> - string_ends_with?: string | Prisma.StringFieldRefInput<$PrismaModel> - array_starts_with?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null - array_ends_with?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null - array_contains?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null - lt?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> - lte?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> - gt?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> - gte?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> - not?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter - _count?: Prisma.NestedIntNullableFilter<$PrismaModel> - _min?: Prisma.NestedJsonNullableFilter<$PrismaModel> - _max?: Prisma.NestedJsonNullableFilter<$PrismaModel> -} - -export type EnumRefundReasonFilter<$PrismaModel = never> = { - equals?: $Enums.RefundReason | Prisma.EnumRefundReasonFieldRefInput<$PrismaModel> - in?: $Enums.RefundReason[] | Prisma.ListEnumRefundReasonFieldRefInput<$PrismaModel> - notIn?: $Enums.RefundReason[] | Prisma.ListEnumRefundReasonFieldRefInput<$PrismaModel> - not?: Prisma.NestedEnumRefundReasonFilter<$PrismaModel> | $Enums.RefundReason -} - -export type EnumRefundReporterFilter<$PrismaModel = never> = { - equals?: $Enums.RefundReporter | Prisma.EnumRefundReporterFieldRefInput<$PrismaModel> - in?: $Enums.RefundReporter[] | Prisma.ListEnumRefundReporterFieldRefInput<$PrismaModel> - notIn?: $Enums.RefundReporter[] | Prisma.ListEnumRefundReporterFieldRefInput<$PrismaModel> - not?: Prisma.NestedEnumRefundReporterFilter<$PrismaModel> | $Enums.RefundReporter -} - -export type EnumRefundInitiatorFilter<$PrismaModel = never> = { - equals?: $Enums.RefundInitiator | Prisma.EnumRefundInitiatorFieldRefInput<$PrismaModel> - in?: $Enums.RefundInitiator[] | Prisma.ListEnumRefundInitiatorFieldRefInput<$PrismaModel> - notIn?: $Enums.RefundInitiator[] | Prisma.ListEnumRefundInitiatorFieldRefInput<$PrismaModel> - not?: Prisma.NestedEnumRefundInitiatorFilter<$PrismaModel> | $Enums.RefundInitiator -} - -export type EnumRefundStatusFilter<$PrismaModel = never> = { - equals?: $Enums.RefundStatus | Prisma.EnumRefundStatusFieldRefInput<$PrismaModel> - in?: $Enums.RefundStatus[] | Prisma.ListEnumRefundStatusFieldRefInput<$PrismaModel> - notIn?: $Enums.RefundStatus[] | Prisma.ListEnumRefundStatusFieldRefInput<$PrismaModel> - not?: Prisma.NestedEnumRefundStatusFilter<$PrismaModel> | $Enums.RefundStatus -} - -export type EnumRefundReasonWithAggregatesFilter<$PrismaModel = never> = { - equals?: $Enums.RefundReason | Prisma.EnumRefundReasonFieldRefInput<$PrismaModel> - in?: $Enums.RefundReason[] | Prisma.ListEnumRefundReasonFieldRefInput<$PrismaModel> - notIn?: $Enums.RefundReason[] | Prisma.ListEnumRefundReasonFieldRefInput<$PrismaModel> - not?: Prisma.NestedEnumRefundReasonWithAggregatesFilter<$PrismaModel> | $Enums.RefundReason - _count?: Prisma.NestedIntFilter<$PrismaModel> - _min?: Prisma.NestedEnumRefundReasonFilter<$PrismaModel> - _max?: Prisma.NestedEnumRefundReasonFilter<$PrismaModel> -} - -export type EnumRefundReporterWithAggregatesFilter<$PrismaModel = never> = { - equals?: $Enums.RefundReporter | Prisma.EnumRefundReporterFieldRefInput<$PrismaModel> - in?: $Enums.RefundReporter[] | Prisma.ListEnumRefundReporterFieldRefInput<$PrismaModel> - notIn?: $Enums.RefundReporter[] | Prisma.ListEnumRefundReporterFieldRefInput<$PrismaModel> - not?: Prisma.NestedEnumRefundReporterWithAggregatesFilter<$PrismaModel> | $Enums.RefundReporter - _count?: Prisma.NestedIntFilter<$PrismaModel> - _min?: Prisma.NestedEnumRefundReporterFilter<$PrismaModel> - _max?: Prisma.NestedEnumRefundReporterFilter<$PrismaModel> -} - -export type EnumRefundInitiatorWithAggregatesFilter<$PrismaModel = never> = { - equals?: $Enums.RefundInitiator | Prisma.EnumRefundInitiatorFieldRefInput<$PrismaModel> - in?: $Enums.RefundInitiator[] | Prisma.ListEnumRefundInitiatorFieldRefInput<$PrismaModel> - notIn?: $Enums.RefundInitiator[] | Prisma.ListEnumRefundInitiatorFieldRefInput<$PrismaModel> - not?: Prisma.NestedEnumRefundInitiatorWithAggregatesFilter<$PrismaModel> | $Enums.RefundInitiator - _count?: Prisma.NestedIntFilter<$PrismaModel> - _min?: Prisma.NestedEnumRefundInitiatorFilter<$PrismaModel> - _max?: Prisma.NestedEnumRefundInitiatorFilter<$PrismaModel> -} - -export type EnumRefundStatusWithAggregatesFilter<$PrismaModel = never> = { - equals?: $Enums.RefundStatus | Prisma.EnumRefundStatusFieldRefInput<$PrismaModel> - in?: $Enums.RefundStatus[] | Prisma.ListEnumRefundStatusFieldRefInput<$PrismaModel> - notIn?: $Enums.RefundStatus[] | Prisma.ListEnumRefundStatusFieldRefInput<$PrismaModel> - not?: Prisma.NestedEnumRefundStatusWithAggregatesFilter<$PrismaModel> | $Enums.RefundStatus - _count?: Prisma.NestedIntFilter<$PrismaModel> - _min?: Prisma.NestedEnumRefundStatusFilter<$PrismaModel> - _max?: Prisma.NestedEnumRefundStatusFilter<$PrismaModel> -} - -export type NestedStringFilter<$PrismaModel = never> = { - equals?: string | Prisma.StringFieldRefInput<$PrismaModel> - in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> - notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> - lt?: string | Prisma.StringFieldRefInput<$PrismaModel> - lte?: string | Prisma.StringFieldRefInput<$PrismaModel> - gt?: string | Prisma.StringFieldRefInput<$PrismaModel> - gte?: string | Prisma.StringFieldRefInput<$PrismaModel> - contains?: string | Prisma.StringFieldRefInput<$PrismaModel> - startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> - endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> - not?: Prisma.NestedStringFilter<$PrismaModel> | string -} - -export type NestedStringNullableFilter<$PrismaModel = never> = { - equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null - in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null - notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null - lt?: string | Prisma.StringFieldRefInput<$PrismaModel> - lte?: string | Prisma.StringFieldRefInput<$PrismaModel> - gt?: string | Prisma.StringFieldRefInput<$PrismaModel> - gte?: string | Prisma.StringFieldRefInput<$PrismaModel> - contains?: string | Prisma.StringFieldRefInput<$PrismaModel> - startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> - endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> - not?: Prisma.NestedStringNullableFilter<$PrismaModel> | string | null -} - -export type NestedDateTimeNullableFilter<$PrismaModel = never> = { - equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> | null - in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null - notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null - lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> - lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> - gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> - gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> - not?: Prisma.NestedDateTimeNullableFilter<$PrismaModel> | Date | string | null -} - -export type NestedBoolFilter<$PrismaModel = never> = { - equals?: boolean | Prisma.BooleanFieldRefInput<$PrismaModel> - not?: Prisma.NestedBoolFilter<$PrismaModel> | boolean -} - -export type NestedDateTimeFilter<$PrismaModel = never> = { - equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> - in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> - notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> - lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> - lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> - gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> - gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> - not?: Prisma.NestedDateTimeFilter<$PrismaModel> | Date | string -} - -export type NestedStringWithAggregatesFilter<$PrismaModel = never> = { - equals?: string | Prisma.StringFieldRefInput<$PrismaModel> - in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> - notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> - lt?: string | Prisma.StringFieldRefInput<$PrismaModel> - lte?: string | Prisma.StringFieldRefInput<$PrismaModel> - gt?: string | Prisma.StringFieldRefInput<$PrismaModel> - gte?: string | Prisma.StringFieldRefInput<$PrismaModel> - contains?: string | Prisma.StringFieldRefInput<$PrismaModel> - startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> - endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> - not?: Prisma.NestedStringWithAggregatesFilter<$PrismaModel> | string - _count?: Prisma.NestedIntFilter<$PrismaModel> - _min?: Prisma.NestedStringFilter<$PrismaModel> - _max?: Prisma.NestedStringFilter<$PrismaModel> -} - -export type NestedIntFilter<$PrismaModel = never> = { - equals?: number | Prisma.IntFieldRefInput<$PrismaModel> - in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> - notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> - lt?: number | Prisma.IntFieldRefInput<$PrismaModel> - lte?: number | Prisma.IntFieldRefInput<$PrismaModel> - gt?: number | Prisma.IntFieldRefInput<$PrismaModel> - gte?: number | Prisma.IntFieldRefInput<$PrismaModel> - not?: Prisma.NestedIntFilter<$PrismaModel> | number -} - -export type NestedStringNullableWithAggregatesFilter<$PrismaModel = never> = { - equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null - in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null - notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null - lt?: string | Prisma.StringFieldRefInput<$PrismaModel> - lte?: string | Prisma.StringFieldRefInput<$PrismaModel> - gt?: string | Prisma.StringFieldRefInput<$PrismaModel> - gte?: string | Prisma.StringFieldRefInput<$PrismaModel> - contains?: string | Prisma.StringFieldRefInput<$PrismaModel> - startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> - endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> - not?: Prisma.NestedStringNullableWithAggregatesFilter<$PrismaModel> | string | null - _count?: Prisma.NestedIntNullableFilter<$PrismaModel> - _min?: Prisma.NestedStringNullableFilter<$PrismaModel> - _max?: Prisma.NestedStringNullableFilter<$PrismaModel> -} - -export type NestedIntNullableFilter<$PrismaModel = never> = { - equals?: number | Prisma.IntFieldRefInput<$PrismaModel> | null - in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null - notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null - lt?: number | Prisma.IntFieldRefInput<$PrismaModel> - lte?: number | Prisma.IntFieldRefInput<$PrismaModel> - gt?: number | Prisma.IntFieldRefInput<$PrismaModel> - gte?: number | Prisma.IntFieldRefInput<$PrismaModel> - not?: Prisma.NestedIntNullableFilter<$PrismaModel> | number | null -} - -export type NestedDateTimeNullableWithAggregatesFilter<$PrismaModel = never> = { - equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> | null - in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null - notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null - lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> - lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> - gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> - gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> - not?: Prisma.NestedDateTimeNullableWithAggregatesFilter<$PrismaModel> | Date | string | null - _count?: Prisma.NestedIntNullableFilter<$PrismaModel> - _min?: Prisma.NestedDateTimeNullableFilter<$PrismaModel> - _max?: Prisma.NestedDateTimeNullableFilter<$PrismaModel> -} - -export type NestedBoolWithAggregatesFilter<$PrismaModel = never> = { - equals?: boolean | Prisma.BooleanFieldRefInput<$PrismaModel> - not?: Prisma.NestedBoolWithAggregatesFilter<$PrismaModel> | boolean - _count?: Prisma.NestedIntFilter<$PrismaModel> - _min?: Prisma.NestedBoolFilter<$PrismaModel> - _max?: Prisma.NestedBoolFilter<$PrismaModel> -} - -export type NestedDateTimeWithAggregatesFilter<$PrismaModel = never> = { - equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> - in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> - notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> - lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> - lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> - gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> - gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> - not?: Prisma.NestedDateTimeWithAggregatesFilter<$PrismaModel> | Date | string - _count?: Prisma.NestedIntFilter<$PrismaModel> - _min?: Prisma.NestedDateTimeFilter<$PrismaModel> - _max?: Prisma.NestedDateTimeFilter<$PrismaModel> -} - -export type NestedEnumVibeNullableFilter<$PrismaModel = never> = { - equals?: $Enums.Vibe | Prisma.EnumVibeFieldRefInput<$PrismaModel> | null - in?: $Enums.Vibe[] | Prisma.ListEnumVibeFieldRefInput<$PrismaModel> | null - notIn?: $Enums.Vibe[] | Prisma.ListEnumVibeFieldRefInput<$PrismaModel> | null - not?: Prisma.NestedEnumVibeNullableFilter<$PrismaModel> | $Enums.Vibe | null -} - -export type NestedEnumVibeNullableWithAggregatesFilter<$PrismaModel = never> = { - equals?: $Enums.Vibe | Prisma.EnumVibeFieldRefInput<$PrismaModel> | null - in?: $Enums.Vibe[] | Prisma.ListEnumVibeFieldRefInput<$PrismaModel> | null - notIn?: $Enums.Vibe[] | Prisma.ListEnumVibeFieldRefInput<$PrismaModel> | null - not?: Prisma.NestedEnumVibeNullableWithAggregatesFilter<$PrismaModel> | $Enums.Vibe | null - _count?: Prisma.NestedIntNullableFilter<$PrismaModel> - _min?: Prisma.NestedEnumVibeNullableFilter<$PrismaModel> - _max?: Prisma.NestedEnumVibeNullableFilter<$PrismaModel> -} - -export type NestedIntNullableWithAggregatesFilter<$PrismaModel = never> = { - equals?: number | Prisma.IntFieldRefInput<$PrismaModel> | null - in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null - notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null - lt?: number | Prisma.IntFieldRefInput<$PrismaModel> - lte?: number | Prisma.IntFieldRefInput<$PrismaModel> - gt?: number | Prisma.IntFieldRefInput<$PrismaModel> - gte?: number | Prisma.IntFieldRefInput<$PrismaModel> - not?: Prisma.NestedIntNullableWithAggregatesFilter<$PrismaModel> | number | null - _count?: Prisma.NestedIntNullableFilter<$PrismaModel> - _avg?: Prisma.NestedFloatNullableFilter<$PrismaModel> - _sum?: Prisma.NestedIntNullableFilter<$PrismaModel> - _min?: Prisma.NestedIntNullableFilter<$PrismaModel> - _max?: Prisma.NestedIntNullableFilter<$PrismaModel> -} - -export type NestedFloatNullableFilter<$PrismaModel = never> = { - equals?: number | Prisma.FloatFieldRefInput<$PrismaModel> | null - in?: number[] | Prisma.ListFloatFieldRefInput<$PrismaModel> | null - notIn?: number[] | Prisma.ListFloatFieldRefInput<$PrismaModel> | null - lt?: number | Prisma.FloatFieldRefInput<$PrismaModel> - lte?: number | Prisma.FloatFieldRefInput<$PrismaModel> - gt?: number | Prisma.FloatFieldRefInput<$PrismaModel> - gte?: number | Prisma.FloatFieldRefInput<$PrismaModel> - not?: Prisma.NestedFloatNullableFilter<$PrismaModel> | number | null -} - -export type NestedEnumVerificationStatusFilter<$PrismaModel = never> = { - equals?: $Enums.VerificationStatus | Prisma.EnumVerificationStatusFieldRefInput<$PrismaModel> - in?: $Enums.VerificationStatus[] | Prisma.ListEnumVerificationStatusFieldRefInput<$PrismaModel> - notIn?: $Enums.VerificationStatus[] | Prisma.ListEnumVerificationStatusFieldRefInput<$PrismaModel> - not?: Prisma.NestedEnumVerificationStatusFilter<$PrismaModel> | $Enums.VerificationStatus -} - -export type NestedEnumVerificationStatusWithAggregatesFilter<$PrismaModel = never> = { - equals?: $Enums.VerificationStatus | Prisma.EnumVerificationStatusFieldRefInput<$PrismaModel> - in?: $Enums.VerificationStatus[] | Prisma.ListEnumVerificationStatusFieldRefInput<$PrismaModel> - notIn?: $Enums.VerificationStatus[] | Prisma.ListEnumVerificationStatusFieldRefInput<$PrismaModel> - not?: Prisma.NestedEnumVerificationStatusWithAggregatesFilter<$PrismaModel> | $Enums.VerificationStatus - _count?: Prisma.NestedIntFilter<$PrismaModel> - _min?: Prisma.NestedEnumVerificationStatusFilter<$PrismaModel> - _max?: Prisma.NestedEnumVerificationStatusFilter<$PrismaModel> -} - -export type NestedEnumActivityCategoryFilter<$PrismaModel = never> = { - equals?: $Enums.ActivityCategory | Prisma.EnumActivityCategoryFieldRefInput<$PrismaModel> - in?: $Enums.ActivityCategory[] | Prisma.ListEnumActivityCategoryFieldRefInput<$PrismaModel> - notIn?: $Enums.ActivityCategory[] | Prisma.ListEnumActivityCategoryFieldRefInput<$PrismaModel> - not?: Prisma.NestedEnumActivityCategoryFilter<$PrismaModel> | $Enums.ActivityCategory -} - -export type NestedEnumTripStatusFilter<$PrismaModel = never> = { - equals?: $Enums.TripStatus | Prisma.EnumTripStatusFieldRefInput<$PrismaModel> - in?: $Enums.TripStatus[] | Prisma.ListEnumTripStatusFieldRefInput<$PrismaModel> - notIn?: $Enums.TripStatus[] | Prisma.ListEnumTripStatusFieldRefInput<$PrismaModel> - not?: Prisma.NestedEnumTripStatusFilter<$PrismaModel> | $Enums.TripStatus -} - -export type NestedEnumActivityCategoryWithAggregatesFilter<$PrismaModel = never> = { - equals?: $Enums.ActivityCategory | Prisma.EnumActivityCategoryFieldRefInput<$PrismaModel> - in?: $Enums.ActivityCategory[] | Prisma.ListEnumActivityCategoryFieldRefInput<$PrismaModel> - notIn?: $Enums.ActivityCategory[] | Prisma.ListEnumActivityCategoryFieldRefInput<$PrismaModel> - not?: Prisma.NestedEnumActivityCategoryWithAggregatesFilter<$PrismaModel> | $Enums.ActivityCategory - _count?: Prisma.NestedIntFilter<$PrismaModel> - _min?: Prisma.NestedEnumActivityCategoryFilter<$PrismaModel> - _max?: Prisma.NestedEnumActivityCategoryFilter<$PrismaModel> -} - -export type NestedIntWithAggregatesFilter<$PrismaModel = never> = { - equals?: number | Prisma.IntFieldRefInput<$PrismaModel> - in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> - notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> - lt?: number | Prisma.IntFieldRefInput<$PrismaModel> - lte?: number | Prisma.IntFieldRefInput<$PrismaModel> - gt?: number | Prisma.IntFieldRefInput<$PrismaModel> - gte?: number | Prisma.IntFieldRefInput<$PrismaModel> - not?: Prisma.NestedIntWithAggregatesFilter<$PrismaModel> | number - _count?: Prisma.NestedIntFilter<$PrismaModel> - _avg?: Prisma.NestedFloatFilter<$PrismaModel> - _sum?: Prisma.NestedIntFilter<$PrismaModel> - _min?: Prisma.NestedIntFilter<$PrismaModel> - _max?: Prisma.NestedIntFilter<$PrismaModel> -} - -export type NestedFloatFilter<$PrismaModel = never> = { - equals?: number | Prisma.FloatFieldRefInput<$PrismaModel> - in?: number[] | Prisma.ListFloatFieldRefInput<$PrismaModel> - notIn?: number[] | Prisma.ListFloatFieldRefInput<$PrismaModel> - lt?: number | Prisma.FloatFieldRefInput<$PrismaModel> - lte?: number | Prisma.FloatFieldRefInput<$PrismaModel> - gt?: number | Prisma.FloatFieldRefInput<$PrismaModel> - gte?: number | Prisma.FloatFieldRefInput<$PrismaModel> - not?: Prisma.NestedFloatFilter<$PrismaModel> | number -} - -export type NestedEnumTripStatusWithAggregatesFilter<$PrismaModel = never> = { - equals?: $Enums.TripStatus | Prisma.EnumTripStatusFieldRefInput<$PrismaModel> - in?: $Enums.TripStatus[] | Prisma.ListEnumTripStatusFieldRefInput<$PrismaModel> - notIn?: $Enums.TripStatus[] | Prisma.ListEnumTripStatusFieldRefInput<$PrismaModel> - not?: Prisma.NestedEnumTripStatusWithAggregatesFilter<$PrismaModel> | $Enums.TripStatus - _count?: Prisma.NestedIntFilter<$PrismaModel> - _min?: Prisma.NestedEnumTripStatusFilter<$PrismaModel> - _max?: Prisma.NestedEnumTripStatusFilter<$PrismaModel> -} - -export type NestedEnumParticipantStatusFilter<$PrismaModel = never> = { - equals?: $Enums.ParticipantStatus | Prisma.EnumParticipantStatusFieldRefInput<$PrismaModel> - in?: $Enums.ParticipantStatus[] | Prisma.ListEnumParticipantStatusFieldRefInput<$PrismaModel> - notIn?: $Enums.ParticipantStatus[] | Prisma.ListEnumParticipantStatusFieldRefInput<$PrismaModel> - not?: Prisma.NestedEnumParticipantStatusFilter<$PrismaModel> | $Enums.ParticipantStatus -} - -export type NestedEnumParticipantStatusWithAggregatesFilter<$PrismaModel = never> = { - equals?: $Enums.ParticipantStatus | Prisma.EnumParticipantStatusFieldRefInput<$PrismaModel> - in?: $Enums.ParticipantStatus[] | Prisma.ListEnumParticipantStatusFieldRefInput<$PrismaModel> - notIn?: $Enums.ParticipantStatus[] | Prisma.ListEnumParticipantStatusFieldRefInput<$PrismaModel> - not?: Prisma.NestedEnumParticipantStatusWithAggregatesFilter<$PrismaModel> | $Enums.ParticipantStatus - _count?: Prisma.NestedIntFilter<$PrismaModel> - _min?: Prisma.NestedEnumParticipantStatusFilter<$PrismaModel> - _max?: Prisma.NestedEnumParticipantStatusFilter<$PrismaModel> -} - -export type NestedEnumBookingStatusFilter<$PrismaModel = never> = { - equals?: $Enums.BookingStatus | Prisma.EnumBookingStatusFieldRefInput<$PrismaModel> - in?: $Enums.BookingStatus[] | Prisma.ListEnumBookingStatusFieldRefInput<$PrismaModel> - notIn?: $Enums.BookingStatus[] | Prisma.ListEnumBookingStatusFieldRefInput<$PrismaModel> - not?: Prisma.NestedEnumBookingStatusFilter<$PrismaModel> | $Enums.BookingStatus -} - -export type NestedEnumBookingStatusWithAggregatesFilter<$PrismaModel = never> = { - equals?: $Enums.BookingStatus | Prisma.EnumBookingStatusFieldRefInput<$PrismaModel> - in?: $Enums.BookingStatus[] | Prisma.ListEnumBookingStatusFieldRefInput<$PrismaModel> - notIn?: $Enums.BookingStatus[] | Prisma.ListEnumBookingStatusFieldRefInput<$PrismaModel> - not?: Prisma.NestedEnumBookingStatusWithAggregatesFilter<$PrismaModel> | $Enums.BookingStatus - _count?: Prisma.NestedIntFilter<$PrismaModel> - _min?: Prisma.NestedEnumBookingStatusFilter<$PrismaModel> - _max?: Prisma.NestedEnumBookingStatusFilter<$PrismaModel> -} - -export type NestedEnumPaymentProviderFilter<$PrismaModel = never> = { - equals?: $Enums.PaymentProvider | Prisma.EnumPaymentProviderFieldRefInput<$PrismaModel> - in?: $Enums.PaymentProvider[] | Prisma.ListEnumPaymentProviderFieldRefInput<$PrismaModel> - notIn?: $Enums.PaymentProvider[] | Prisma.ListEnumPaymentProviderFieldRefInput<$PrismaModel> - not?: Prisma.NestedEnumPaymentProviderFilter<$PrismaModel> | $Enums.PaymentProvider -} - -export type NestedEnumPaymentStatusFilter<$PrismaModel = never> = { - equals?: $Enums.PaymentStatus | Prisma.EnumPaymentStatusFieldRefInput<$PrismaModel> - in?: $Enums.PaymentStatus[] | Prisma.ListEnumPaymentStatusFieldRefInput<$PrismaModel> - notIn?: $Enums.PaymentStatus[] | Prisma.ListEnumPaymentStatusFieldRefInput<$PrismaModel> - not?: Prisma.NestedEnumPaymentStatusFilter<$PrismaModel> | $Enums.PaymentStatus -} - -export type NestedEnumPaymentProviderWithAggregatesFilter<$PrismaModel = never> = { - equals?: $Enums.PaymentProvider | Prisma.EnumPaymentProviderFieldRefInput<$PrismaModel> - in?: $Enums.PaymentProvider[] | Prisma.ListEnumPaymentProviderFieldRefInput<$PrismaModel> - notIn?: $Enums.PaymentProvider[] | Prisma.ListEnumPaymentProviderFieldRefInput<$PrismaModel> - not?: Prisma.NestedEnumPaymentProviderWithAggregatesFilter<$PrismaModel> | $Enums.PaymentProvider - _count?: Prisma.NestedIntFilter<$PrismaModel> - _min?: Prisma.NestedEnumPaymentProviderFilter<$PrismaModel> - _max?: Prisma.NestedEnumPaymentProviderFilter<$PrismaModel> -} - -export type NestedEnumPaymentStatusWithAggregatesFilter<$PrismaModel = never> = { - equals?: $Enums.PaymentStatus | Prisma.EnumPaymentStatusFieldRefInput<$PrismaModel> - in?: $Enums.PaymentStatus[] | Prisma.ListEnumPaymentStatusFieldRefInput<$PrismaModel> - notIn?: $Enums.PaymentStatus[] | Prisma.ListEnumPaymentStatusFieldRefInput<$PrismaModel> - not?: Prisma.NestedEnumPaymentStatusWithAggregatesFilter<$PrismaModel> | $Enums.PaymentStatus - _count?: Prisma.NestedIntFilter<$PrismaModel> - _min?: Prisma.NestedEnumPaymentStatusFilter<$PrismaModel> - _max?: Prisma.NestedEnumPaymentStatusFilter<$PrismaModel> -} - -export type NestedJsonNullableFilter<$PrismaModel = never> = -| Prisma.PatchUndefined< - Prisma.Either>, Exclude>, 'path'>>, - Required> - > -| Prisma.OptionalFlat>, 'path'>> - -export type NestedJsonNullableFilterBase<$PrismaModel = never> = { - equals?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter - path?: string[] - mode?: Prisma.QueryMode | Prisma.EnumQueryModeFieldRefInput<$PrismaModel> - string_contains?: string | Prisma.StringFieldRefInput<$PrismaModel> - string_starts_with?: string | Prisma.StringFieldRefInput<$PrismaModel> - string_ends_with?: string | Prisma.StringFieldRefInput<$PrismaModel> - array_starts_with?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null - array_ends_with?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null - array_contains?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null - lt?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> - lte?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> - gt?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> - gte?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> - not?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter -} - -export type NestedEnumRefundReasonFilter<$PrismaModel = never> = { - equals?: $Enums.RefundReason | Prisma.EnumRefundReasonFieldRefInput<$PrismaModel> - in?: $Enums.RefundReason[] | Prisma.ListEnumRefundReasonFieldRefInput<$PrismaModel> - notIn?: $Enums.RefundReason[] | Prisma.ListEnumRefundReasonFieldRefInput<$PrismaModel> - not?: Prisma.NestedEnumRefundReasonFilter<$PrismaModel> | $Enums.RefundReason -} - -export type NestedEnumRefundReporterFilter<$PrismaModel = never> = { - equals?: $Enums.RefundReporter | Prisma.EnumRefundReporterFieldRefInput<$PrismaModel> - in?: $Enums.RefundReporter[] | Prisma.ListEnumRefundReporterFieldRefInput<$PrismaModel> - notIn?: $Enums.RefundReporter[] | Prisma.ListEnumRefundReporterFieldRefInput<$PrismaModel> - not?: Prisma.NestedEnumRefundReporterFilter<$PrismaModel> | $Enums.RefundReporter -} - -export type NestedEnumRefundInitiatorFilter<$PrismaModel = never> = { - equals?: $Enums.RefundInitiator | Prisma.EnumRefundInitiatorFieldRefInput<$PrismaModel> - in?: $Enums.RefundInitiator[] | Prisma.ListEnumRefundInitiatorFieldRefInput<$PrismaModel> - notIn?: $Enums.RefundInitiator[] | Prisma.ListEnumRefundInitiatorFieldRefInput<$PrismaModel> - not?: Prisma.NestedEnumRefundInitiatorFilter<$PrismaModel> | $Enums.RefundInitiator -} - -export type NestedEnumRefundStatusFilter<$PrismaModel = never> = { - equals?: $Enums.RefundStatus | Prisma.EnumRefundStatusFieldRefInput<$PrismaModel> - in?: $Enums.RefundStatus[] | Prisma.ListEnumRefundStatusFieldRefInput<$PrismaModel> - notIn?: $Enums.RefundStatus[] | Prisma.ListEnumRefundStatusFieldRefInput<$PrismaModel> - not?: Prisma.NestedEnumRefundStatusFilter<$PrismaModel> | $Enums.RefundStatus -} - -export type NestedEnumRefundReasonWithAggregatesFilter<$PrismaModel = never> = { - equals?: $Enums.RefundReason | Prisma.EnumRefundReasonFieldRefInput<$PrismaModel> - in?: $Enums.RefundReason[] | Prisma.ListEnumRefundReasonFieldRefInput<$PrismaModel> - notIn?: $Enums.RefundReason[] | Prisma.ListEnumRefundReasonFieldRefInput<$PrismaModel> - not?: Prisma.NestedEnumRefundReasonWithAggregatesFilter<$PrismaModel> | $Enums.RefundReason - _count?: Prisma.NestedIntFilter<$PrismaModel> - _min?: Prisma.NestedEnumRefundReasonFilter<$PrismaModel> - _max?: Prisma.NestedEnumRefundReasonFilter<$PrismaModel> -} - -export type NestedEnumRefundReporterWithAggregatesFilter<$PrismaModel = never> = { - equals?: $Enums.RefundReporter | Prisma.EnumRefundReporterFieldRefInput<$PrismaModel> - in?: $Enums.RefundReporter[] | Prisma.ListEnumRefundReporterFieldRefInput<$PrismaModel> - notIn?: $Enums.RefundReporter[] | Prisma.ListEnumRefundReporterFieldRefInput<$PrismaModel> - not?: Prisma.NestedEnumRefundReporterWithAggregatesFilter<$PrismaModel> | $Enums.RefundReporter - _count?: Prisma.NestedIntFilter<$PrismaModel> - _min?: Prisma.NestedEnumRefundReporterFilter<$PrismaModel> - _max?: Prisma.NestedEnumRefundReporterFilter<$PrismaModel> -} - -export type NestedEnumRefundInitiatorWithAggregatesFilter<$PrismaModel = never> = { - equals?: $Enums.RefundInitiator | Prisma.EnumRefundInitiatorFieldRefInput<$PrismaModel> - in?: $Enums.RefundInitiator[] | Prisma.ListEnumRefundInitiatorFieldRefInput<$PrismaModel> - notIn?: $Enums.RefundInitiator[] | Prisma.ListEnumRefundInitiatorFieldRefInput<$PrismaModel> - not?: Prisma.NestedEnumRefundInitiatorWithAggregatesFilter<$PrismaModel> | $Enums.RefundInitiator - _count?: Prisma.NestedIntFilter<$PrismaModel> - _min?: Prisma.NestedEnumRefundInitiatorFilter<$PrismaModel> - _max?: Prisma.NestedEnumRefundInitiatorFilter<$PrismaModel> -} - -export type NestedEnumRefundStatusWithAggregatesFilter<$PrismaModel = never> = { - equals?: $Enums.RefundStatus | Prisma.EnumRefundStatusFieldRefInput<$PrismaModel> - in?: $Enums.RefundStatus[] | Prisma.ListEnumRefundStatusFieldRefInput<$PrismaModel> - notIn?: $Enums.RefundStatus[] | Prisma.ListEnumRefundStatusFieldRefInput<$PrismaModel> - not?: Prisma.NestedEnumRefundStatusWithAggregatesFilter<$PrismaModel> | $Enums.RefundStatus - _count?: Prisma.NestedIntFilter<$PrismaModel> - _min?: Prisma.NestedEnumRefundStatusFilter<$PrismaModel> - _max?: Prisma.NestedEnumRefundStatusFilter<$PrismaModel> -} - - diff --git a/app/generated/prisma/enums.ts b/app/generated/prisma/enums.ts deleted file mode 100644 index b6bbcc0..0000000 --- a/app/generated/prisma/enums.ts +++ /dev/null @@ -1,138 +0,0 @@ - -/* !!! This is code generated by Prisma. Do not edit directly. !!! */ -/* eslint-disable */ -// biome-ignore-all lint: generated file -// @ts-nocheck -/* -* This file exports all enum related types from the schema. -* -* 🟢 You can import this file directly. -*/ - -export const Vibe = { - CHILL: 'CHILL', - BALANCED: 'BALANCED', - HARDCORE: 'HARDCORE' -} as const - -export type Vibe = (typeof Vibe)[keyof typeof Vibe] - - -export const VerificationStatus = { - PENDING: 'PENDING', - APPROVED: 'APPROVED', - REJECTED: 'REJECTED' -} as const - -export type VerificationStatus = (typeof VerificationStatus)[keyof typeof VerificationStatus] - - -export const TripStatus = { - OPEN: 'OPEN', - FULL: 'FULL', - CLOSED: 'CLOSED', - COMPLETED: 'COMPLETED' -} as const - -export type TripStatus = (typeof TripStatus)[keyof typeof TripStatus] - - -export const ActivityCategory = { - HIKING: 'HIKING', - CAMPING: 'CAMPING', - SNORKELING: 'SNORKELING', - DIVING: 'DIVING', - ISLAND_HOPPING: 'ISLAND_HOPPING', - CITY_TRIP: 'CITY_TRIP', - CULINARY: 'CULINARY', - CONCERT: 'CONCERT', - WORKSHOP: 'WORKSHOP', - RETREAT: 'RETREAT' -} as const - -export type ActivityCategory = (typeof ActivityCategory)[keyof typeof ActivityCategory] - - -export const ParticipantStatus = { - PENDING: 'PENDING', - CONFIRMED: 'CONFIRMED', - CANCELLED: 'CANCELLED' -} as const - -export type ParticipantStatus = (typeof ParticipantStatus)[keyof typeof ParticipantStatus] - - -export const BookingStatus = { - PENDING: 'PENDING', - AWAITING_PAY: 'AWAITING_PAY', - PAID: 'PAID', - CANCELLED: 'CANCELLED', - REFUNDED: 'REFUNDED', - PARTIALLY_REFUNDED: 'PARTIALLY_REFUNDED', - EXPIRED: 'EXPIRED' -} as const - -export type BookingStatus = (typeof BookingStatus)[keyof typeof BookingStatus] - - -export const PaymentProvider = { - MANUAL: 'MANUAL', - MIDTRANS: 'MIDTRANS' -} as const - -export type PaymentProvider = (typeof PaymentProvider)[keyof typeof PaymentProvider] - - -export const PaymentStatus = { - PENDING: 'PENDING', - AWAITING: 'AWAITING', - PAID: 'PAID', - FAILED: 'FAILED', - EXPIRED: 'EXPIRED', - CANCELLED: 'CANCELLED', - REFUNDED: 'REFUNDED' -} as const - -export type PaymentStatus = (typeof PaymentStatus)[keyof typeof PaymentStatus] - - -export const RefundReason = { - USER_CANCELLATION: 'USER_CANCELLATION', - ORGANIZER_CANCELLED: 'ORGANIZER_CANCELLED', - TRIP_ISSUE: 'TRIP_ISSUE', - ADMIN_ADJUSTMENT: 'ADMIN_ADJUSTMENT', - DISPUTE_RESOLVED: 'DISPUTE_RESOLVED', - OTHER: 'OTHER' -} as const - -export type RefundReason = (typeof RefundReason)[keyof typeof RefundReason] - - -export const RefundStatus = { - PENDING: 'PENDING', - APPROVED: 'APPROVED', - REJECTED: 'REJECTED', - PROCESSING: 'PROCESSING', - SUCCEEDED: 'SUCCEEDED', - FAILED: 'FAILED' -} as const - -export type RefundStatus = (typeof RefundStatus)[keyof typeof RefundStatus] - - -export const RefundInitiator = { - USER: 'USER', - ORGANIZER: 'ORGANIZER', - SYSTEM: 'SYSTEM', - ADMIN: 'ADMIN' -} as const - -export type RefundInitiator = (typeof RefundInitiator)[keyof typeof RefundInitiator] - - -export const RefundReporter = { - PARTICIPANT: 'PARTICIPANT', - ORGANIZER: 'ORGANIZER' -} as const - -export type RefundReporter = (typeof RefundReporter)[keyof typeof RefundReporter] diff --git a/app/generated/prisma/internal/class.ts b/app/generated/prisma/internal/class.ts deleted file mode 100644 index 8f41f74..0000000 --- a/app/generated/prisma/internal/class.ts +++ /dev/null @@ -1,304 +0,0 @@ - -/* !!! This is code generated by Prisma. Do not edit directly. !!! */ -/* eslint-disable */ -// biome-ignore-all lint: generated file -// @ts-nocheck -/* - * WARNING: This is an internal file that is subject to change! - * - * 🛑 Under no circumstances should you import this file directly! 🛑 - * - * Please import the `PrismaClient` class from the `client.ts` file instead. - */ - -import * as runtime from "@prisma/client/runtime/client" -import type * as Prisma from "./prismaNamespace" - - -const config: runtime.GetPrismaClientConfig = { - "previewFeatures": [], - "clientVersion": "7.8.0", - "engineVersion": "3c6e192761c0362d496ed980de936e2f3cebcd3a", - "activeProvider": "postgresql", - "inlineSchema": "generator client {\n provider = \"prisma-client\"\n output = \"../app/generated/prisma\"\n}\n\ndatasource db {\n provider = \"postgresql\"\n}\n\nmodel User {\n id String @id @default(cuid())\n name String\n email String @unique\n /// Hash bcrypt. Null untuk user yang sign-in via OAuth (mis. Google).\n password String?\n image String?\n /// Diisi PrismaAdapter NextAuth saat email diverifikasi provider OAuth (Google selalu sudah verified).\n emailVerified DateTime?\n /// Apakah user telah menyetujui Syarat & Ketentuan dan Kebijakan Privasi\n acceptedTermsAndPrivacy Boolean @default(false)\n /// Waktu user menyetujui Syarat & Ketentuan dan Kebijakan Privasi\n acceptedAt DateTime?\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n\n accounts Account[]\n trips Trip[]\n participations TripParticipant[]\n tripReviews TripReview[]\n bookings Booking[]\n\n organizerVerification OrganizerVerification? @relation(\"OrganizerVerificationOwner\")\n reviewedVerifications OrganizerVerification[] @relation(\"OrganizerVerificationReviewer\")\n\n reviewedRefunds Refund[] @relation(\"RefundReviewer\")\n\n profile UserProfile?\n}\n\n/// Profil sosial publik. Berisi info yang user pilih untuk dibagikan ke peserta lain\n/// (bio, kota, minat, vibe). Tidak menyimpan data sensitif — KYC tetap di OrganizerVerification.\nmodel UserProfile {\n id String @id @default(cuid())\n userId String @unique\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n\n /// Bio singkat, teks bebas\n bio String?\n /// Kota domisili (teks bebas, mis. \"Bandung\", \"Jakarta Selatan\")\n city String?\n /// Tag minat aktivitas (mis. [\"hiking\", \"fotografi\", \"yoga\"])\n interests String[] @default([])\n /// Username Instagram (tanpa @, opsional)\n instagram String?\n /// Gaya jalan / energi user — dipakai untuk matching teman dengan ritme serupa.\n vibe Vibe?\n\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n}\n\nenum Vibe {\n CHILL\n BALANCED\n HARDCORE\n}\n\n/// Tabel link akun OAuth pihak ketiga (Google, dst). Diisi oleh PrismaAdapter NextAuth.\n/// Session tidak pakai DB — kita pakai JWT, jadi Session/VerificationToken tidak perlu.\nmodel Account {\n id String @id @default(cuid())\n userId String\n type String\n provider String\n providerAccountId String\n refresh_token String?\n access_token String?\n expires_at Int?\n token_type String?\n scope String?\n id_token String?\n session_state String?\n\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n\n @@unique([provider, providerAccountId])\n}\n\nmodel OrganizerVerification {\n id String @id @default(cuid())\n userId String @unique\n user User @relation(\"OrganizerVerificationOwner\", fields: [userId], references: [id], onDelete: Cascade)\n\n /// Nama lengkap sesuai KTP\n fullName String\n /// NIK terenkripsi (AES-256-GCM, base64). Plaintext tidak disimpan.\n nikEncrypted String\n /// HMAC-SHA256(NIK + pepper) untuk uniqueness lookup tanpa membuka plaintext.\n nikHash String @unique\n birthDate DateTime\n address String\n\n /// Storage key foto KTP (mis. `ktp/.jpg`). File disimpan terenkripsi di luar /public.\n ktpImageKey String\n /// Storage key foto liveness — user memegang kertas bertuliskan \"SETRIP\".\n /// (Sebelumnya: selfie memegang KTP. Diganti supaya user tidak perlu memajang KTP dua kali.)\n livenessKey String\n\n bankName String\n bankAccountNumber String\n bankAccountName String\n\n status VerificationStatus @default(PENDING)\n rejectionReason String?\n reviewedAt DateTime?\n reviewedById String?\n reviewedBy User? @relation(\"OrganizerVerificationReviewer\", fields: [reviewedById], references: [id])\n verifiedAt DateTime?\n\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n}\n\nenum VerificationStatus {\n PENDING\n APPROVED\n REJECTED\n}\n\nmodel Trip {\n id String @id @default(cuid())\n title String\n description String?\n /// Kategori aktivitas.\n category ActivityCategory @default(HIKING)\n /// Destinasi/subjek aktivitas — interpretasinya tergantung kategori (gunung untuk HIKING, spot untuk DIVING, venue untuk CONCERT, tema untuk WORKSHOP, dst).\n destination String\n location String\n /// Titik kumpul / meeting point (teks bebas)\n meetingPoint String?\n /// Itinerary hari per hari (teks bebas, bullet OK)\n itinerary String?\n /// Yang termasuk harga (teks bebas)\n whatsIncluded String?\n /// Yang tidak termasuk (teks bebas)\n whatsExcluded String?\n date DateTime\n endDate DateTime?\n maxParticipants Int\n price Int\n /// Ritme/energi trip — dipakai untuk matching dengan vibe user.\n vibe Vibe?\n status TripStatus @default(OPEN)\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n\n organizerId String\n organizer User @relation(fields: [organizerId], references: [id])\n\n participants TripParticipant[]\n images TripImage[]\n reviews TripReview[]\n bookings Booking[]\n\n @@index([category, status, date])\n @@index([vibe, status, date])\n}\n\nmodel TripReview {\n id String @id @default(cuid())\n rating Int\n comment String?\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n\n tripId String\n trip Trip @relation(fields: [tripId], references: [id], onDelete: Cascade)\n\n userId String\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n\n @@unique([tripId, userId])\n}\n\nmodel TripImage {\n id String @id @default(cuid())\n url String\n caption String?\n order Int @default(0)\n\n tripId String\n trip Trip @relation(fields: [tripId], references: [id], onDelete: Cascade)\n}\n\nmodel TripParticipant {\n id String @id @default(cuid())\n status ParticipantStatus @default(PENDING)\n createdAt DateTime @default(now())\n /// @deprecated — sumber kebenaran pindah ke Booking/Payment. Tetap di-update\n /// untuk backward-compat selama transisi UI lama. Akan dihapus PR berikutnya.\n markedPaidAt DateTime?\n /// @deprecated — sumber kebenaran pindah ke Booking/Payment. Tetap di-update\n /// untuk backward-compat selama transisi UI lama. Akan dihapus PR berikutnya.\n paymentConfirmedAt DateTime?\n\n tripId String\n trip Trip @relation(fields: [tripId], references: [id])\n\n userId String\n user User @relation(fields: [userId], references: [id])\n\n booking Booking?\n\n @@unique([tripId, userId])\n}\n\nenum TripStatus {\n OPEN\n FULL\n CLOSED\n COMPLETED\n}\n\nenum ActivityCategory {\n HIKING\n CAMPING\n SNORKELING\n DIVING\n ISLAND_HOPPING\n CITY_TRIP\n CULINARY\n CONCERT\n WORKSHOP\n RETREAT\n}\n\nenum ParticipantStatus {\n PENDING\n CONFIRMED\n CANCELLED\n}\n\n/// Booking 1-1 ke TripParticipant. Lifecycle ikut peserta:\n/// - join → Booking PENDING (menunggu approve organizer)\n/// - organizer confirm → AWAITING_PAY (paid trip) atau PAID (free trip)\n/// - peserta + organizer rampungkan pembayaran → PAID\n/// - cancel/reject → CANCELLED\n/// `amount` adalah snapshot harga saat booking dibuat — protect dari perubahan trip.price.\nmodel Booking {\n id String @id @default(cuid())\n tripId String\n trip Trip @relation(fields: [tripId], references: [id])\n userId String\n user User @relation(fields: [userId], references: [id])\n participantId String @unique\n participant TripParticipant @relation(fields: [participantId], references: [id], onDelete: Cascade)\n\n amount Int\n currency String @default(\"IDR\")\n status BookingStatus @default(PENDING)\n\n payments Payment[]\n refunds Refund[]\n\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n\n /// Konsistensi: 1-1 ke participant via participantId, dan participant unique\n /// per (tripId, userId). Constraint ini eksplisit + jadi index untuk query\n /// `findByTripAndUser`.\n @@unique([tripId, userId])\n @@index([tripId, status])\n}\n\nenum BookingStatus {\n PENDING\n AWAITING_PAY\n PAID\n CANCELLED\n REFUNDED\n PARTIALLY_REFUNDED\n EXPIRED\n}\n\n/// Satu attempt pembayaran. Satu Booking bisa punya banyak Payment kalau retry\n/// (di Phase MIDTRANS nanti). Untuk MANUAL biasanya cukup 1 Payment.\nmodel Payment {\n id String @id @default(cuid())\n bookingId String\n booking Booking @relation(fields: [bookingId], references: [id], onDelete: Cascade)\n\n provider PaymentProvider\n /// order_id eksternal (unik per attempt). Format MANUAL: `manual-`.\n /// Format MIDTRANS nanti: `midtrans--`.\n externalOrderId String @unique\n /// transaction_id dari gateway. Kosong untuk MANUAL atau sebelum first callback.\n externalTxId String?\n /// Metode konkret: bca_va, gopay, qris, manual_transfer, dst.\n method String?\n amount Int\n status PaymentStatus @default(PENDING)\n\n /// Snapshot mentah callback gateway (untuk audit & dispute).\n rawCallback Json?\n /// Snap token Midtrans / redirect URL.\n snapToken String?\n /// Kapan attempt ini kadaluarsa (Midtrans default 24 jam).\n expiresAt DateTime?\n\n paidAt DateTime?\n failedAt DateTime?\n rejectionReason String?\n\n refunds Refund[]\n\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n\n @@index([bookingId, status])\n @@index([provider, status])\n}\n\nenum PaymentProvider {\n MANUAL\n MIDTRANS\n}\n\nenum PaymentStatus {\n PENDING\n AWAITING\n PAID\n FAILED\n EXPIRED\n CANCELLED\n REFUNDED\n}\n\n/// Refund = financial event terpisah dari Booking. Satu Booking bisa punya\n/// banyak Refund (partial, multi-tahap). Setiap row auditable: kapan dibuat,\n/// siapa melaporkan, siapa approve, kapan SUCCEEDED. Never delete — kalau\n/// gagal, set status=FAILED + alasan.\n///\n/// Di MVP refund dimasukkan admin secara manual berdasarkan laporan dari\n/// peserta atau organizer (via WhatsApp/email). Phase berikutnya akan\n/// menambah self-service flow dari user dan organizer.\nmodel Refund {\n id String @id @default(cuid())\n bookingId String\n booking Booking @relation(fields: [bookingId], references: [id], onDelete: Restrict)\n\n /// Payment yang di-refund. Opsional di MVP (manual transfer bisa tidak\n /// terikat ke Payment row tertentu); wajib saat integrasi Midtrans (R-4).\n paymentId String?\n payment Payment? @relation(fields: [paymentId], references: [id], onDelete: Restrict)\n\n /// Nominal refund dalam satuan terkecil (IDR rupiah, integer). Boleh < total\n /// payment untuk partial. Service layer enforce SUM(SUCCEEDED) <= payment.amount.\n amount Int\n currency String @default(\"IDR\")\n\n reason RefundReason\n\n /// Siapa yang melaporkan kebutuhan refund ini ke admin.\n reportedBy RefundReporter\n /// Isi laporan dari peserta/organizer yang admin terima (mis. WA, email).\n reportNote String\n\n /// Pihak yang membuat record di sistem. Di MVP selalu ADMIN; saat self-service\n /// nanti USER/ORGANIZER, dan SYSTEM untuk auto-trigger dari trip dibatalkan.\n initiatedBy RefundInitiator @default(ADMIN)\n\n status RefundStatus @default(PENDING)\n\n /// Idempotency key, dipakai saat panggil Midtrans Refund API di R-4. Generate\n /// sekali saat create supaya retry gateway tidak double-refund.\n idempotencyKey String @unique\n\n /// Catatan admin: alasan tolak, referensi transfer manual, dst. Bebas teks.\n adminNote String?\n\n /// Admin yang terakhir mengubah status (approve/reject/mark-succeeded/failed).\n reviewedById String?\n reviewedBy User? @relation(\"RefundReviewer\", fields: [reviewedById], references: [id], onDelete: SetNull)\n reviewedAt DateTime?\n\n succeededAt DateTime?\n failedAt DateTime?\n\n /// ID refund di gateway (mis. Midtrans refund_id). Kosong untuk manual transfer.\n externalRefundId String?\n\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n\n @@index([bookingId, status])\n @@index([status, createdAt])\n}\n\nenum RefundReason {\n /// Peserta cancel booking sendiri (mengikuti refund window policy).\n USER_CANCELLATION\n /// Organizer membatalkan trip — peserta dapat full refund.\n ORGANIZER_CANCELLED\n /// Masalah saat/setelah trip (mis. itinerary tidak sesuai).\n TRIP_ISSUE\n /// Penyesuaian dari admin (kompensasi, koreksi nominal, dll.).\n ADMIN_ADJUSTMENT\n /// Hasil resolusi dispute / chargeback bank.\n DISPUTE_RESOLVED\n OTHER\n}\n\nenum RefundStatus {\n /// Baru dilaporkan, menunggu review admin.\n PENDING\n /// Admin sudah setujui, siap dieksekusi (manual transfer / gateway).\n APPROVED\n /// Admin tolak (alasan di `adminNote`).\n REJECTED\n /// (R-4) Request sudah dikirim ke gateway, menunggu callback.\n PROCESSING\n /// Uang sudah keluar dari kas Setrip / merchant gateway.\n SUCCEEDED\n /// Eksekusi gagal (alasan di `adminNote`). Record tidak dihapus.\n FAILED\n}\n\nenum RefundInitiator {\n USER\n ORGANIZER\n SYSTEM\n ADMIN\n}\n\nenum RefundReporter {\n PARTICIPANT\n ORGANIZER\n}\n", - "runtimeDataModel": { - "models": {}, - "enums": {}, - "types": {} - }, - "parameterizationSchema": { - "strings": [], - "graph": "" - } -} - -config.runtimeDataModel = JSON.parse("{\"models\":{\"User\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"name\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"email\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"password\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"image\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"emailVerified\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"acceptedTermsAndPrivacy\",\"kind\":\"scalar\",\"type\":\"Boolean\"},{\"name\":\"acceptedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"accounts\",\"kind\":\"object\",\"type\":\"Account\",\"relationName\":\"AccountToUser\"},{\"name\":\"trips\",\"kind\":\"object\",\"type\":\"Trip\",\"relationName\":\"TripToUser\"},{\"name\":\"participations\",\"kind\":\"object\",\"type\":\"TripParticipant\",\"relationName\":\"TripParticipantToUser\"},{\"name\":\"tripReviews\",\"kind\":\"object\",\"type\":\"TripReview\",\"relationName\":\"TripReviewToUser\"},{\"name\":\"bookings\",\"kind\":\"object\",\"type\":\"Booking\",\"relationName\":\"BookingToUser\"},{\"name\":\"organizerVerification\",\"kind\":\"object\",\"type\":\"OrganizerVerification\",\"relationName\":\"OrganizerVerificationOwner\"},{\"name\":\"reviewedVerifications\",\"kind\":\"object\",\"type\":\"OrganizerVerification\",\"relationName\":\"OrganizerVerificationReviewer\"},{\"name\":\"reviewedRefunds\",\"kind\":\"object\",\"type\":\"Refund\",\"relationName\":\"RefundReviewer\"},{\"name\":\"profile\",\"kind\":\"object\",\"type\":\"UserProfile\",\"relationName\":\"UserToUserProfile\"}],\"dbName\":null},\"UserProfile\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"userId\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"user\",\"kind\":\"object\",\"type\":\"User\",\"relationName\":\"UserToUserProfile\"},{\"name\":\"bio\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"city\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"interests\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"instagram\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"vibe\",\"kind\":\"enum\",\"type\":\"Vibe\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"}],\"dbName\":null},\"Account\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"userId\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"type\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"provider\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"providerAccountId\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"refresh_token\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"access_token\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"expires_at\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"token_type\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"scope\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"id_token\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"session_state\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"user\",\"kind\":\"object\",\"type\":\"User\",\"relationName\":\"AccountToUser\"}],\"dbName\":null},\"OrganizerVerification\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"userId\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"user\",\"kind\":\"object\",\"type\":\"User\",\"relationName\":\"OrganizerVerificationOwner\"},{\"name\":\"fullName\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"nikEncrypted\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"nikHash\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"birthDate\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"address\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"ktpImageKey\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"livenessKey\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"bankName\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"bankAccountNumber\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"bankAccountName\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"status\",\"kind\":\"enum\",\"type\":\"VerificationStatus\"},{\"name\":\"rejectionReason\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"reviewedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"reviewedById\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"reviewedBy\",\"kind\":\"object\",\"type\":\"User\",\"relationName\":\"OrganizerVerificationReviewer\"},{\"name\":\"verifiedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"}],\"dbName\":null},\"Trip\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"title\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"description\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"category\",\"kind\":\"enum\",\"type\":\"ActivityCategory\"},{\"name\":\"destination\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"location\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"meetingPoint\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"itinerary\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"whatsIncluded\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"whatsExcluded\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"date\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"endDate\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"maxParticipants\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"price\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"vibe\",\"kind\":\"enum\",\"type\":\"Vibe\"},{\"name\":\"status\",\"kind\":\"enum\",\"type\":\"TripStatus\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"organizerId\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"organizer\",\"kind\":\"object\",\"type\":\"User\",\"relationName\":\"TripToUser\"},{\"name\":\"participants\",\"kind\":\"object\",\"type\":\"TripParticipant\",\"relationName\":\"TripToTripParticipant\"},{\"name\":\"images\",\"kind\":\"object\",\"type\":\"TripImage\",\"relationName\":\"TripToTripImage\"},{\"name\":\"reviews\",\"kind\":\"object\",\"type\":\"TripReview\",\"relationName\":\"TripToTripReview\"},{\"name\":\"bookings\",\"kind\":\"object\",\"type\":\"Booking\",\"relationName\":\"BookingToTrip\"}],\"dbName\":null},\"TripReview\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"rating\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"comment\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"tripId\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"trip\",\"kind\":\"object\",\"type\":\"Trip\",\"relationName\":\"TripToTripReview\"},{\"name\":\"userId\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"user\",\"kind\":\"object\",\"type\":\"User\",\"relationName\":\"TripReviewToUser\"}],\"dbName\":null},\"TripImage\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"url\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"caption\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"order\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"tripId\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"trip\",\"kind\":\"object\",\"type\":\"Trip\",\"relationName\":\"TripToTripImage\"}],\"dbName\":null},\"TripParticipant\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"status\",\"kind\":\"enum\",\"type\":\"ParticipantStatus\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"markedPaidAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"paymentConfirmedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"tripId\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"trip\",\"kind\":\"object\",\"type\":\"Trip\",\"relationName\":\"TripToTripParticipant\"},{\"name\":\"userId\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"user\",\"kind\":\"object\",\"type\":\"User\",\"relationName\":\"TripParticipantToUser\"},{\"name\":\"booking\",\"kind\":\"object\",\"type\":\"Booking\",\"relationName\":\"BookingToTripParticipant\"}],\"dbName\":null},\"Booking\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"tripId\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"trip\",\"kind\":\"object\",\"type\":\"Trip\",\"relationName\":\"BookingToTrip\"},{\"name\":\"userId\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"user\",\"kind\":\"object\",\"type\":\"User\",\"relationName\":\"BookingToUser\"},{\"name\":\"participantId\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"participant\",\"kind\":\"object\",\"type\":\"TripParticipant\",\"relationName\":\"BookingToTripParticipant\"},{\"name\":\"amount\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"currency\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"status\",\"kind\":\"enum\",\"type\":\"BookingStatus\"},{\"name\":\"payments\",\"kind\":\"object\",\"type\":\"Payment\",\"relationName\":\"BookingToPayment\"},{\"name\":\"refunds\",\"kind\":\"object\",\"type\":\"Refund\",\"relationName\":\"BookingToRefund\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"}],\"dbName\":null},\"Payment\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"bookingId\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"booking\",\"kind\":\"object\",\"type\":\"Booking\",\"relationName\":\"BookingToPayment\"},{\"name\":\"provider\",\"kind\":\"enum\",\"type\":\"PaymentProvider\"},{\"name\":\"externalOrderId\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"externalTxId\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"method\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"amount\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"status\",\"kind\":\"enum\",\"type\":\"PaymentStatus\"},{\"name\":\"rawCallback\",\"kind\":\"scalar\",\"type\":\"Json\"},{\"name\":\"snapToken\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"expiresAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"paidAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"failedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"rejectionReason\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"refunds\",\"kind\":\"object\",\"type\":\"Refund\",\"relationName\":\"PaymentToRefund\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"}],\"dbName\":null},\"Refund\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"bookingId\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"booking\",\"kind\":\"object\",\"type\":\"Booking\",\"relationName\":\"BookingToRefund\"},{\"name\":\"paymentId\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"payment\",\"kind\":\"object\",\"type\":\"Payment\",\"relationName\":\"PaymentToRefund\"},{\"name\":\"amount\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"currency\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"reason\",\"kind\":\"enum\",\"type\":\"RefundReason\"},{\"name\":\"reportedBy\",\"kind\":\"enum\",\"type\":\"RefundReporter\"},{\"name\":\"reportNote\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"initiatedBy\",\"kind\":\"enum\",\"type\":\"RefundInitiator\"},{\"name\":\"status\",\"kind\":\"enum\",\"type\":\"RefundStatus\"},{\"name\":\"idempotencyKey\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"adminNote\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"reviewedById\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"reviewedBy\",\"kind\":\"object\",\"type\":\"User\",\"relationName\":\"RefundReviewer\"},{\"name\":\"reviewedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"succeededAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"failedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"externalRefundId\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"}],\"dbName\":null}},\"enums\":{},\"types\":{}}") -config.parameterizationSchema = { - strings: JSON.parse("[\"where\",\"orderBy\",\"cursor\",\"user\",\"accounts\",\"organizer\",\"trip\",\"participant\",\"booking\",\"payment\",\"reviewedBy\",\"refunds\",\"_count\",\"payments\",\"participants\",\"images\",\"reviews\",\"bookings\",\"trips\",\"participations\",\"tripReviews\",\"organizerVerification\",\"reviewedVerifications\",\"reviewedRefunds\",\"profile\",\"User.findUnique\",\"User.findUniqueOrThrow\",\"User.findFirst\",\"User.findFirstOrThrow\",\"User.findMany\",\"data\",\"User.createOne\",\"User.createMany\",\"User.createManyAndReturn\",\"User.updateOne\",\"User.updateMany\",\"User.updateManyAndReturn\",\"create\",\"update\",\"User.upsertOne\",\"User.deleteOne\",\"User.deleteMany\",\"having\",\"_min\",\"_max\",\"User.groupBy\",\"User.aggregate\",\"UserProfile.findUnique\",\"UserProfile.findUniqueOrThrow\",\"UserProfile.findFirst\",\"UserProfile.findFirstOrThrow\",\"UserProfile.findMany\",\"UserProfile.createOne\",\"UserProfile.createMany\",\"UserProfile.createManyAndReturn\",\"UserProfile.updateOne\",\"UserProfile.updateMany\",\"UserProfile.updateManyAndReturn\",\"UserProfile.upsertOne\",\"UserProfile.deleteOne\",\"UserProfile.deleteMany\",\"UserProfile.groupBy\",\"UserProfile.aggregate\",\"Account.findUnique\",\"Account.findUniqueOrThrow\",\"Account.findFirst\",\"Account.findFirstOrThrow\",\"Account.findMany\",\"Account.createOne\",\"Account.createMany\",\"Account.createManyAndReturn\",\"Account.updateOne\",\"Account.updateMany\",\"Account.updateManyAndReturn\",\"Account.upsertOne\",\"Account.deleteOne\",\"Account.deleteMany\",\"_avg\",\"_sum\",\"Account.groupBy\",\"Account.aggregate\",\"OrganizerVerification.findUnique\",\"OrganizerVerification.findUniqueOrThrow\",\"OrganizerVerification.findFirst\",\"OrganizerVerification.findFirstOrThrow\",\"OrganizerVerification.findMany\",\"OrganizerVerification.createOne\",\"OrganizerVerification.createMany\",\"OrganizerVerification.createManyAndReturn\",\"OrganizerVerification.updateOne\",\"OrganizerVerification.updateMany\",\"OrganizerVerification.updateManyAndReturn\",\"OrganizerVerification.upsertOne\",\"OrganizerVerification.deleteOne\",\"OrganizerVerification.deleteMany\",\"OrganizerVerification.groupBy\",\"OrganizerVerification.aggregate\",\"Trip.findUnique\",\"Trip.findUniqueOrThrow\",\"Trip.findFirst\",\"Trip.findFirstOrThrow\",\"Trip.findMany\",\"Trip.createOne\",\"Trip.createMany\",\"Trip.createManyAndReturn\",\"Trip.updateOne\",\"Trip.updateMany\",\"Trip.updateManyAndReturn\",\"Trip.upsertOne\",\"Trip.deleteOne\",\"Trip.deleteMany\",\"Trip.groupBy\",\"Trip.aggregate\",\"TripReview.findUnique\",\"TripReview.findUniqueOrThrow\",\"TripReview.findFirst\",\"TripReview.findFirstOrThrow\",\"TripReview.findMany\",\"TripReview.createOne\",\"TripReview.createMany\",\"TripReview.createManyAndReturn\",\"TripReview.updateOne\",\"TripReview.updateMany\",\"TripReview.updateManyAndReturn\",\"TripReview.upsertOne\",\"TripReview.deleteOne\",\"TripReview.deleteMany\",\"TripReview.groupBy\",\"TripReview.aggregate\",\"TripImage.findUnique\",\"TripImage.findUniqueOrThrow\",\"TripImage.findFirst\",\"TripImage.findFirstOrThrow\",\"TripImage.findMany\",\"TripImage.createOne\",\"TripImage.createMany\",\"TripImage.createManyAndReturn\",\"TripImage.updateOne\",\"TripImage.updateMany\",\"TripImage.updateManyAndReturn\",\"TripImage.upsertOne\",\"TripImage.deleteOne\",\"TripImage.deleteMany\",\"TripImage.groupBy\",\"TripImage.aggregate\",\"TripParticipant.findUnique\",\"TripParticipant.findUniqueOrThrow\",\"TripParticipant.findFirst\",\"TripParticipant.findFirstOrThrow\",\"TripParticipant.findMany\",\"TripParticipant.createOne\",\"TripParticipant.createMany\",\"TripParticipant.createManyAndReturn\",\"TripParticipant.updateOne\",\"TripParticipant.updateMany\",\"TripParticipant.updateManyAndReturn\",\"TripParticipant.upsertOne\",\"TripParticipant.deleteOne\",\"TripParticipant.deleteMany\",\"TripParticipant.groupBy\",\"TripParticipant.aggregate\",\"Booking.findUnique\",\"Booking.findUniqueOrThrow\",\"Booking.findFirst\",\"Booking.findFirstOrThrow\",\"Booking.findMany\",\"Booking.createOne\",\"Booking.createMany\",\"Booking.createManyAndReturn\",\"Booking.updateOne\",\"Booking.updateMany\",\"Booking.updateManyAndReturn\",\"Booking.upsertOne\",\"Booking.deleteOne\",\"Booking.deleteMany\",\"Booking.groupBy\",\"Booking.aggregate\",\"Payment.findUnique\",\"Payment.findUniqueOrThrow\",\"Payment.findFirst\",\"Payment.findFirstOrThrow\",\"Payment.findMany\",\"Payment.createOne\",\"Payment.createMany\",\"Payment.createManyAndReturn\",\"Payment.updateOne\",\"Payment.updateMany\",\"Payment.updateManyAndReturn\",\"Payment.upsertOne\",\"Payment.deleteOne\",\"Payment.deleteMany\",\"Payment.groupBy\",\"Payment.aggregate\",\"Refund.findUnique\",\"Refund.findUniqueOrThrow\",\"Refund.findFirst\",\"Refund.findFirstOrThrow\",\"Refund.findMany\",\"Refund.createOne\",\"Refund.createMany\",\"Refund.createManyAndReturn\",\"Refund.updateOne\",\"Refund.updateMany\",\"Refund.updateManyAndReturn\",\"Refund.upsertOne\",\"Refund.deleteOne\",\"Refund.deleteMany\",\"Refund.groupBy\",\"Refund.aggregate\",\"AND\",\"OR\",\"NOT\",\"id\",\"bookingId\",\"paymentId\",\"amount\",\"currency\",\"RefundReason\",\"reason\",\"RefundReporter\",\"reportedBy\",\"reportNote\",\"RefundInitiator\",\"initiatedBy\",\"RefundStatus\",\"status\",\"idempotencyKey\",\"adminNote\",\"reviewedById\",\"reviewedAt\",\"succeededAt\",\"failedAt\",\"externalRefundId\",\"createdAt\",\"updatedAt\",\"equals\",\"in\",\"notIn\",\"lt\",\"lte\",\"gt\",\"gte\",\"not\",\"contains\",\"startsWith\",\"endsWith\",\"PaymentProvider\",\"provider\",\"externalOrderId\",\"externalTxId\",\"method\",\"PaymentStatus\",\"rawCallback\",\"snapToken\",\"expiresAt\",\"paidAt\",\"rejectionReason\",\"string_contains\",\"string_starts_with\",\"string_ends_with\",\"array_starts_with\",\"array_ends_with\",\"array_contains\",\"tripId\",\"userId\",\"participantId\",\"BookingStatus\",\"ParticipantStatus\",\"markedPaidAt\",\"paymentConfirmedAt\",\"url\",\"caption\",\"order\",\"rating\",\"comment\",\"title\",\"description\",\"ActivityCategory\",\"category\",\"destination\",\"location\",\"meetingPoint\",\"itinerary\",\"whatsIncluded\",\"whatsExcluded\",\"date\",\"endDate\",\"maxParticipants\",\"price\",\"Vibe\",\"vibe\",\"TripStatus\",\"organizerId\",\"fullName\",\"nikEncrypted\",\"nikHash\",\"birthDate\",\"address\",\"ktpImageKey\",\"livenessKey\",\"bankName\",\"bankAccountNumber\",\"bankAccountName\",\"VerificationStatus\",\"verifiedAt\",\"type\",\"providerAccountId\",\"refresh_token\",\"access_token\",\"expires_at\",\"token_type\",\"scope\",\"id_token\",\"session_state\",\"bio\",\"city\",\"interests\",\"instagram\",\"has\",\"hasEvery\",\"hasSome\",\"name\",\"email\",\"password\",\"image\",\"emailVerified\",\"acceptedTermsAndPrivacy\",\"acceptedAt\",\"tripId_userId\",\"every\",\"some\",\"none\",\"provider_providerAccountId\",\"is\",\"isNot\",\"connectOrCreate\",\"upsert\",\"createMany\",\"set\",\"disconnect\",\"delete\",\"connect\",\"updateMany\",\"deleteMany\",\"push\",\"increment\",\"decrement\",\"multiply\",\"divide\"]"), - graph: "3QZrsAEWBAAAnAMAIBEAAKADACASAACdAwAgEwAAngMAIBQAAJ8DACAVAAChAwAgFgAAogMAIBcAAJYDACAYAACjAwAg0QEAAJoDADDSAQAAGgAQ0wEAAJoDADDUAQEAAAAB6QFAAIQDACHqAUAAhAMAIcECAQCKAwAhwgIBAAAAAcMCAQCCAwAhxAIBAIIDACHFAkAAjQMAIcYCIACbAwAhxwJAAI0DACEBAAAAAQAgEAMAAIUDACDRAQAAuAMAMNIBAAADABDTAQAAuAMAMNQBAQCKAwAh9wEBAIoDACGIAgEAigMAIbECAQCKAwAhsgIBAIoDACGzAgEAggMAIbQCAQCCAwAhtQICALkDACG2AgEAggMAIbcCAQCCAwAhuAIBAIIDACG5AgEAggMAIQgDAACDBQAgswIAALoDACC0AgAAugMAILUCAAC6AwAgtgIAALoDACC3AgAAugMAILgCAAC6AwAguQIAALoDACARAwAAhQMAINEBAAC4AwAw0gEAAAMAENMBAAC4AwAw1AEBAAAAAfcBAQCKAwAhiAIBAIoDACGxAgEAigMAIbICAQCKAwAhswIBAIIDACG0AgEAggMAIbUCAgC5AwAhtgIBAIIDACG3AgEAggMAIbgCAQCCAwAhuQIBAIIDACHMAgAAtwMAIAMAAAADACABAAAEADACAAAFACAbBQAAhQMAIA4AAJ4DACAPAAC2AwAgEAAAnwMAIBEAAKADACDRAQAAswMAMNIBAAAHABDTAQAAswMAMNQBAQCKAwAh4QEAALUDpAIi6QFAAIQDACHqAUAAhAMAIZMCAQCKAwAhlAIBAIIDACGWAgAAtAOWAiKXAgEAigMAIZgCAQCKAwAhmQIBAIIDACG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6QFAAIQDACHqAUAAhAMAIYcCAQCKAwAhiAIBAIoDACGJAgEAAAAByAIAAI8DACADAAAADwAgAQAAKAAwAgAAKQAgAQAAAAsAIAEAAAAgACABAAAAJAAgAQAAAA8AIAMAAAALACABAAAMADACAAANACADAAAAJAAgAQAAJQAwAgAAJgAgAwAAAA8AIAEAACgAMAIAACkAIBgDAACFAwAgCgAAjgMAINEBAACLAwAw0gEAADIAENMBAACLAwAw1AEBAIoDACHhAQAAjAOwAiLkAQEAggMAIeUBQACNAwAh6QFAAIQDACHqAUAAhAMAIYACAQCCAwAhiAIBAIoDACGlAgEAigMAIaYCAQCKAwAhpwIBAIoDACGoAkAAhAMAIakCAQCKAwAhqgIBAIoDACGrAgEAigMAIawCAQCKAwAhrQIBAIoDACGuAgEAigMAIbACQACNAwAhAQAAADIAIAEAAAAaACAGAwAAgwUAIAoAAIMFACDkAQAAugMAIOUBAAC6AwAggAIAALoDACCwAgAAugMAIBgDAACFAwAgCgAAjgMAINEBAACLAwAw0gEAADIAENMBAACLAwAw1AEBAAAAAeEBAACMA7ACIuQBAQCCAwAh5QFAAI0DACHpAUAAhAMAIeoBQACEAwAhgAIBAIIDACGIAgEAAAABpQIBAIoDACGmAgEAigMAIacCAQAAAAGoAkAAhAMAIakCAQCKAwAhqgIBAIoDACGrAgEAigMAIawCAQCKAwAhrQIBAIoDACGuAgEAigMAIbACQACNAwAhAwAAADIAIAEAADUAMAIAADYAIAMAAAAVACABAAAWADACAAAXACANAwAAhQMAINEBAACBAwAw0gEAADkAENMBAACBAwAw1AEBAIoDACHpAUAAhAMAIeoBQACEAwAhiAIBAIoDACGiAgAAgwOiAiO6AgEAggMAIbsCAQCCAwAhvAIAAIADACC9AgEAggMAIQEAAAA5ACABAAAAAwAgAQAAAAcAIAEAAAALACABAAAAJAAgAQAAAA8AIAEAAAAyACABAAAAFQAgAQAAAAEAIA0EAADsBQAgEQAA8AUAIBIAAO0FACATAADuBQAgFAAA7wUAIBUAAPEFACAWAADyBQA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gHgAAwAEAIAIAAAAkACAeAADAAQAgAwAAACYAICUAALkBACAmAAC-AQAgAQAAACYAIAEAAAAkACAGDAAAoQQAICsAAKQEACAsAACjBAAgTQAAogQAIE4AAKUEACCSAgAAugMAIArRAQAA7AIAMNIBAADHAQAQ0wEAAOwCADDUAQEAvQIAIekBQADFAgAh6gFAAMUCACGHAgEAvQIAIYgCAQC9AgAhkQICAL8CACGSAgEAvgIAIQMAAAAkACABAADGAQAwKgAAxwEAIAMAAAAkACABAAAlADACAAAmACABAAAAIgAgAQAAACIAIAMAAAAgACABAAAhADACAAAiACADAAAAIAAgAQAAIQAwAgAAIgAgAwAAACAAIAEAACEAMAIAACIAIAYGAACgBAAg1AEBAAAAAYcCAQAAAAGOAgEAAAABjwIBAAAAAZACAgAAAAEBHgAAzwEAIAXUAQEAAAABhwIBAAAAAY4CAQAAAAGPAgEAAAABkAICAAAAAQEeAADRAQAwAR4AANEBADAGBgAAnwQAINQBAQDAAwAhhwIBAMADACGOAgEAwAMAIY8CAQDGAwAhkAICAMEDACECAAAAIgAgHgAA1AEAIAXUAQEAwAMAIYcCAQDAAwAhjgIBAMADACGPAgEAxgMAIZACAgDBAwAhAgAAACAAIB4AANYBACACAAAAIAAgHgAA1gEAIAMAAAAiACAlAADPAQAgJgAA1AEAIAEAAAAiACABAAAAIAAgBgwAAJoEACArAACdBAAgLAAAnAQAIE0AAJsEACBOAACeBAAgjwIAALoDACAI0QEAAOsCADDSAQAA3QEAENMBAADrAgAw1AEBAL0CACGHAgEAvQIAIY4CAQC9AgAhjwIBAL4CACGQAgIAvwIAIQMAAAAgACABAADcAQAwKgAA3QEAIAMAAAAgACABAAAhADACAAAiACABAAAADQAgAQAAAA0AIAMAAAALACABAAAMADACAAANACADAAAACwAgAQAADAAwAgAADQAgAwAAAAsAIAEAAAwAMAIAAA0AIAoDAACYBAAgBgAAlwQAIAgAAJkEACDUAQEAAAAB4QEAAACMAgLpAUAAAAABhwIBAAAAAYgCAQAAAAGMAkAAAA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mpAQNqqwEQa6wBMGytAQNtrgEDbq8BEG-yATFwswE3cbQBC3K1AQtztgELdLcBC3W4AQt2ugELd7wBEHi9ATh5vwELesEBEHvCATl8wwELfcQBC37FARB_yAE6gAHJAUCBAcoBCoIBywEKgwHMAQqEAc0BCoUBzgEKhgHQAQqHAdIBEIgB0wFBiQHVAQqKAdcBEIsB2AFCjAHZAQqNAdoBCo4B2wEQjwHeAUOQAd8BSZEB4AEEkgHhAQSTAeIBBJQB4wEElQHkAQSWAeYBBJcB6AEQmAHpAUqZAesBBJoB7QEQmwHuAUucAe8BBJ0B8AEEngHxARCfAfQBTKAB9QFQoQH2AQWiAfcBBaMB-AEFpAH5AQWlAfoBBaYB_AEFpwH-ARCoAf8BUakBgQIFqgGDAhCrAYQCUqwBhQIFrQGGAgWuAYcCEK8BigJTsAGLAlmxAYwCBrIBjQIGswGOAga0AY8CBrUBkAIGtgGSAga3AZQCELgBlQJauQGXAga6AZkCELsBmgJbvAGbAga9AZwCBr4BnQIQvwGgAlzAAaECYsEBogIHwgGjAgfDAaQCB8QBpQIHxQGmAgfGAagCB8cBqgIQyAGrAmPJAa8CB8oBsQIQywGyAmTMAbUCB80BtgIHzgG3AhDPAboCZdABuwJr" -} - -async function decodeBase64AsWasm(wasmBase64: string): Promise { - const { Buffer } = await import('node:buffer') - const wasmArray = Buffer.from(wasmBase64, 'base64') - return new WebAssembly.Module(wasmArray) -} - -config.compilerWasm = { - getRuntime: async () => await import("@prisma/client/runtime/query_compiler_fast_bg.postgresql.mjs"), - - getQueryCompilerWasmModule: async () => { - const { wasm } = await import("@prisma/client/runtime/query_compiler_fast_bg.postgresql.wasm-base64.mjs") - return await decodeBase64AsWasm(wasm) - }, - - importName: "./query_compiler_fast_bg.js" -} - - - -export type LogOptions = - 'log' extends keyof ClientOptions ? ClientOptions['log'] extends Array ? Prisma.GetEvents : never : never - -export interface PrismaClientConstructor { - /** - * ## Prisma Client - * - * Type-safe database client for TypeScript - * @example - * ``` - * const prisma = new PrismaClient({ - * adapter: new PrismaPg({ connectionString: process.env.DATABASE_URL }) - * }) - * // Fetch zero or more Users - * const users = await prisma.user.findMany() - * ``` - * - * Read more in our [docs](https://pris.ly/d/client). - */ - - new < - Options extends Prisma.PrismaClientOptions = Prisma.PrismaClientOptions, - LogOpts extends LogOptions = LogOptions, - OmitOpts extends Prisma.PrismaClientOptions['omit'] = Options extends { omit: infer U } ? U : Prisma.PrismaClientOptions['omit'], - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs - >(options: Prisma.Subset ): PrismaClient -} - -/** - * ## Prisma Client - * - * Type-safe database client for TypeScript - * @example - * ``` - * const prisma = new PrismaClient({ - * adapter: new PrismaPg({ connectionString: process.env.DATABASE_URL }) - * }) - * // Fetch zero or more Users - * const users = await prisma.user.findMany() - * ``` - * - * Read more in our [docs](https://pris.ly/d/client). - */ - -export interface PrismaClient< - in LogOpts extends Prisma.LogLevel = never, - in out OmitOpts extends Prisma.PrismaClientOptions['omit'] = undefined, - in out ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> { - [K: symbol]: { types: Prisma.TypeMap['other'] } - - $on(eventType: V, callback: (event: V extends 'query' ? Prisma.QueryEvent : Prisma.LogEvent) => void): PrismaClient; - - /** - * Connect with the database - */ - $connect(): runtime.Types.Utils.JsPromise; - - /** - * Disconnect from the database - */ - $disconnect(): runtime.Types.Utils.JsPromise; - -/** - * Executes a prepared raw query and returns the number of affected rows. - * @example - * ``` - * const result = await prisma.$executeRaw`UPDATE User SET cool = ${true} WHERE email = ${'user@email.com'};` - * ``` - * - * Read more in our [docs](https://pris.ly/d/raw-queries). - */ - $executeRaw(query: TemplateStringsArray | Prisma.Sql, ...values: any[]): Prisma.PrismaPromise; - - /** - * Executes a raw query and returns the number of affected rows. - * Susceptible to SQL injections, see documentation. - * @example - * ``` - * const result = await prisma.$executeRawUnsafe('UPDATE User SET cool = $1 WHERE email = $2 ;', true, 'user@email.com') - * ``` - * - * Read more in our [docs](https://pris.ly/d/raw-queries). - */ - $executeRawUnsafe(query: string, ...values: any[]): Prisma.PrismaPromise; - - /** - * Performs a prepared raw query and returns the `SELECT` data. - * @example - * ``` - * const result = await prisma.$queryRaw`SELECT * FROM User WHERE id = ${1} OR email = ${'user@email.com'};` - * ``` - * - * Read more in our [docs](https://pris.ly/d/raw-queries). - */ - $queryRaw(query: TemplateStringsArray | Prisma.Sql, ...values: any[]): Prisma.PrismaPromise; - - /** - * Performs a raw query and returns the `SELECT` data. - * Susceptible to SQL injections, see documentation. - * @example - * ``` - * const result = await prisma.$queryRawUnsafe('SELECT * FROM User WHERE id = $1 OR email = $2;', 1, 'user@email.com') - * ``` - * - * Read more in our [docs](https://pris.ly/d/raw-queries). - */ - $queryRawUnsafe(query: string, ...values: any[]): Prisma.PrismaPromise; - - - /** - * Allows the running of a sequence of read/write operations that are guaranteed to either succeed or fail as a whole. - * @example - * ``` - * const [george, bob, alice] = await prisma.$transaction([ - * prisma.user.create({ data: { name: 'George' } }), - * prisma.user.create({ data: { name: 'Bob' } }), - * prisma.user.create({ data: { name: 'Alice' } }), - * ]) - * ``` - * - * Read more in our [docs](https://www.prisma.io/docs/orm/prisma-client/queries/transactions). - */ - $transaction

[]>(arg: [...P], options?: { maxWait?: number, timeout?: number, isolationLevel?: Prisma.TransactionIsolationLevel }): runtime.Types.Utils.JsPromise> - - $transaction(fn: (prisma: Omit) => runtime.Types.Utils.JsPromise, options?: { maxWait?: number, timeout?: number, isolationLevel?: Prisma.TransactionIsolationLevel }): runtime.Types.Utils.JsPromise - - $extends: runtime.Types.Extensions.ExtendsHook<"extends", Prisma.TypeMapCb, ExtArgs, runtime.Types.Utils.Call, { - extArgs: ExtArgs - }>> - - /** - * `prisma.user`: Exposes CRUD operations for the **User** model. - * Example usage: - * ```ts - * // Fetch zero or more Users - * const users = await prisma.user.findMany() - * ``` - */ - get user(): Prisma.UserDelegate; - - /** - * `prisma.userProfile`: Exposes CRUD operations for the **UserProfile** model. - * Example usage: - * ```ts - * // Fetch zero or more UserProfiles - * const userProfiles = await prisma.userProfile.findMany() - * ``` - */ - get userProfile(): Prisma.UserProfileDelegate; - - /** - * `prisma.account`: Exposes CRUD operations for the **Account** model. - * Example usage: - * ```ts - * // Fetch zero or more Accounts - * const accounts = await prisma.account.findMany() - * ``` - */ - get account(): Prisma.AccountDelegate; - - /** - * `prisma.organizerVerification`: Exposes CRUD operations for the **OrganizerVerification** model. - * Example usage: - * ```ts - * // Fetch zero or more OrganizerVerifications - * const organizerVerifications = await prisma.organizerVerification.findMany() - * ``` - */ - get organizerVerification(): Prisma.OrganizerVerificationDelegate; - - /** - * `prisma.trip`: Exposes CRUD operations for the **Trip** model. - * Example usage: - * ```ts - * // Fetch zero or more Trips - * const trips = await prisma.trip.findMany() - * ``` - */ - get trip(): Prisma.TripDelegate; - - /** - * `prisma.tripReview`: Exposes CRUD operations for the **TripReview** model. - * Example usage: - * ```ts - * // Fetch zero or more TripReviews - * const tripReviews = await prisma.tripReview.findMany() - * ``` - */ - get tripReview(): Prisma.TripReviewDelegate; - - /** - * `prisma.tripImage`: Exposes CRUD operations for the **TripImage** model. - * Example usage: - * ```ts - * // Fetch zero or more TripImages - * const tripImages = await prisma.tripImage.findMany() - * ``` - */ - get tripImage(): Prisma.TripImageDelegate; - - /** - * `prisma.tripParticipant`: Exposes CRUD operations for the **TripParticipant** model. - * Example usage: - * ```ts - * // Fetch zero or more TripParticipants - * const tripParticipants = await prisma.tripParticipant.findMany() - * ``` - */ - get tripParticipant(): Prisma.TripParticipantDelegate; - - /** - * `prisma.booking`: Exposes CRUD operations for the **Booking** model. - * Example usage: - * ```ts - * // Fetch zero or more Bookings - * const bookings = await prisma.booking.findMany() - * ``` - */ - get booking(): Prisma.BookingDelegate; - - /** - * `prisma.payment`: Exposes CRUD operations for the **Payment** model. - * Example usage: - * ```ts - * // Fetch zero or more Payments - * const payments = await prisma.payment.findMany() - * ``` - */ - get payment(): Prisma.PaymentDelegate; - - /** - * `prisma.refund`: Exposes CRUD operations for the **Refund** model. - * Example usage: - * ```ts - * // Fetch zero or more Refunds - * const refunds = await prisma.refund.findMany() - * ``` - */ - get refund(): Prisma.RefundDelegate; -} - -export function getPrismaClientClass(): PrismaClientConstructor { - return runtime.getPrismaClient(config) as unknown as PrismaClientConstructor -} diff --git a/app/generated/prisma/internal/prismaNamespace.ts b/app/generated/prisma/internal/prismaNamespace.ts deleted file mode 100644 index 01c9d02..0000000 --- a/app/generated/prisma/internal/prismaNamespace.ts +++ /dev/null @@ -1,1942 +0,0 @@ - -/* !!! This is code generated by Prisma. Do not edit directly. !!! */ -/* eslint-disable */ -// biome-ignore-all lint: generated file -// @ts-nocheck -/* - * WARNING: This is an internal file that is subject to change! - * - * 🛑 Under no circumstances should you import this file directly! 🛑 - * - * All exports from this file are wrapped under a `Prisma` namespace object in the client.ts file. - * While this enables partial backward compatibility, it is not part of the stable public API. - * - * If you are looking for your Models, Enums, and Input Types, please import them from the respective - * model files in the `model` directory! - */ - -import * as runtime from "@prisma/client/runtime/client" -import type * as Prisma from "../models" -import { type PrismaClient } from "./class" - -export type * from '../models' - -export type DMMF = typeof runtime.DMMF - -export type PrismaPromise = runtime.Types.Public.PrismaPromise - -/** - * Prisma Errors - */ - -export const PrismaClientKnownRequestError = runtime.PrismaClientKnownRequestError -export type PrismaClientKnownRequestError = runtime.PrismaClientKnownRequestError - -export const PrismaClientUnknownRequestError = runtime.PrismaClientUnknownRequestError -export type PrismaClientUnknownRequestError = runtime.PrismaClientUnknownRequestError - -export const PrismaClientRustPanicError = runtime.PrismaClientRustPanicError -export type PrismaClientRustPanicError = runtime.PrismaClientRustPanicError - -export const PrismaClientInitializationError = runtime.PrismaClientInitializationError -export type PrismaClientInitializationError = runtime.PrismaClientInitializationError - -export const PrismaClientValidationError = runtime.PrismaClientValidationError -export type PrismaClientValidationError = runtime.PrismaClientValidationError - -/** - * Re-export of sql-template-tag - */ -export const sql = runtime.sqltag -export const empty = runtime.empty -export const join = runtime.join -export const raw = runtime.raw -export const Sql = runtime.Sql -export type Sql = runtime.Sql - - - -/** - * Decimal.js - */ -export const Decimal = runtime.Decimal -export type Decimal = runtime.Decimal - -export type DecimalJsLike = runtime.DecimalJsLike - -/** -* Extensions -*/ -export type Extension = runtime.Types.Extensions.UserArgs -export const getExtensionContext = runtime.Extensions.getExtensionContext -export type Args = runtime.Types.Public.Args -export type Payload = runtime.Types.Public.Payload -export type Result = runtime.Types.Public.Result -export type Exact = runtime.Types.Public.Exact - -export type PrismaVersion = { - client: string - engine: string -} - -/** - * Prisma Client JS version: 7.8.0 - * Query Engine version: 3c6e192761c0362d496ed980de936e2f3cebcd3a - */ -export const prismaVersion: PrismaVersion = { - client: "7.8.0", - engine: "3c6e192761c0362d496ed980de936e2f3cebcd3a" -} - -/** - * Utility Types - */ - -export type Bytes = runtime.Bytes -export type JsonObject = runtime.JsonObject -export type JsonArray = runtime.JsonArray -export type JsonValue = runtime.JsonValue -export type InputJsonObject = runtime.InputJsonObject -export type InputJsonArray = runtime.InputJsonArray -export type InputJsonValue = runtime.InputJsonValue - - -export const NullTypes = { - DbNull: runtime.NullTypes.DbNull as (new (secret: never) => typeof runtime.DbNull), - JsonNull: runtime.NullTypes.JsonNull as (new (secret: never) => typeof runtime.JsonNull), - AnyNull: runtime.NullTypes.AnyNull as (new (secret: never) => typeof runtime.AnyNull), -} -/** - * Helper for filtering JSON entries that have `null` on the database (empty on the db) - * - * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field - */ -export const DbNull = runtime.DbNull - -/** - * Helper for filtering JSON entries that have JSON `null` values (not empty on the db) - * - * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field - */ -export const JsonNull = runtime.JsonNull - -/** - * Helper for filtering JSON entries that are `Prisma.DbNull` or `Prisma.JsonNull` - * - * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field - */ -export const AnyNull = runtime.AnyNull - - -type SelectAndInclude = { - select: any - include: any -} - -type SelectAndOmit = { - select: any - omit: any -} - -/** - * From T, pick a set of properties whose keys are in the union K - */ -type Prisma__Pick = { - [P in K]: T[P]; -}; - -export type Enumerable = T | Array; - -/** - * Subset - * @desc From `T` pick properties that exist in `U`. Simple version of Intersection - */ -export type Subset = { - [key in keyof T]: key extends keyof U ? T[key] : never; -}; - -/** - * SelectSubset - * @desc From `T` pick properties that exist in `U`. Simple version of Intersection. - * Additionally, it validates, if both select and include are present. If the case, it errors. - */ -export type SelectSubset = { - [key in keyof T]: key extends keyof U ? T[key] : never -} & - (T extends SelectAndInclude - ? 'Please either choose `select` or `include`.' - : T extends SelectAndOmit - ? 'Please either choose `select` or `omit`.' - : {}) - -/** - * Subset + Intersection - * @desc From `T` pick properties that exist in `U` and intersect `K` - */ -export type SubsetIntersection = { - [key in keyof T]: key extends keyof U ? T[key] : never -} & - K - -type Without = { [P in Exclude]?: never }; - -/** - * XOR is needed to have a real mutually exclusive union type - * https://stackoverflow.com/questions/42123407/does-typescript-support-mutually-exclusive-types - */ -export type XOR = - T extends object ? - U extends object ? - (Without & U) | (Without & T) - : U : T - - -/** - * Is T a Record? - */ -type IsObject = T extends Array -? False -: T extends Date -? False -: T extends Uint8Array -? False -: T extends BigInt -? False -: T extends object -? True -: False - - -/** - * If it's T[], return T - */ -export type UnEnumerate = T extends Array ? U : T - -/** - * From ts-toolbelt - */ - -type __Either = Omit & - { - // Merge all but K - [P in K]: Prisma__Pick // With K possibilities - }[K] - -type EitherStrict = Strict<__Either> - -type EitherLoose = ComputeRaw<__Either> - -type _Either< - O extends object, - K extends Key, - strict extends Boolean -> = { - 1: EitherStrict - 0: EitherLoose -}[strict] - -export type Either< - O extends object, - K extends Key, - strict extends Boolean = 1 -> = O extends unknown ? _Either : never - -export type Union = any - -export type PatchUndefined = { - [K in keyof O]: O[K] extends undefined ? At : O[K] -} & {} - -/** Helper Types for "Merge" **/ -export type IntersectOf = ( - U extends unknown ? (k: U) => void : never -) extends (k: infer I) => void - ? I - : never - -export type Overwrite = { - [K in keyof O]: K extends keyof O1 ? O1[K] : O[K]; -} & {}; - -type _Merge = IntersectOf; -}>>; - -type Key = string | number | symbol; -type AtStrict = O[K & keyof O]; -type AtLoose = O extends unknown ? AtStrict : never; -export type At = { - 1: AtStrict; - 0: AtLoose; -}[strict]; - -export type ComputeRaw = A extends Function ? A : { - [K in keyof A]: A[K]; -} & {}; - -export type OptionalFlat = { - [K in keyof O]?: O[K]; -} & {}; - -type _Record = { - [P in K]: T; -}; - -// cause typescript not to expand types and preserve names -type NoExpand = T extends unknown ? T : never; - -// this type assumes the passed object is entirely optional -export type AtLeast = NoExpand< - O extends unknown - ? | (K extends keyof O ? { [P in K]: O[P] } & O : O) - | {[P in keyof O as P extends K ? P : never]-?: O[P]} & O - : never>; - -type _Strict = U extends unknown ? U & OptionalFlat<_Record, keyof U>, never>> : never; - -export type Strict = ComputeRaw<_Strict>; -/** End Helper Types for "Merge" **/ - -export type Merge = ComputeRaw<_Merge>>; - -export type Boolean = True | False - -export type True = 1 - -export type False = 0 - -export type Not = { - 0: 1 - 1: 0 -}[B] - -export type Extends = [A1] extends [never] - ? 0 // anything `never` is false - : A1 extends A2 - ? 1 - : 0 - -export type Has = Not< - Extends, U1> -> - -export type Or = { - 0: { - 0: 0 - 1: 1 - } - 1: { - 0: 1 - 1: 1 - } -}[B1][B2] - -export type Keys = U extends unknown ? keyof U : never - -export type GetScalarType = O extends object ? { - [P in keyof T]: P extends keyof O - ? O[P] - : never -} : never - -type FieldPaths< - T, - U = Omit -> = IsObject extends True ? U : T - -export type GetHavingFields = { - [K in keyof T]: Or< - Or, Extends<'AND', K>>, - Extends<'NOT', K> - > extends True - ? // infer is only needed to not hit TS limit - // based on the brilliant idea of Pierre-Antoine Mills - // https://github.com/microsoft/TypeScript/issues/30188#issuecomment-478938437 - T[K] extends infer TK - ? GetHavingFields extends object ? Merge> : never> - : never - : {} extends FieldPaths - ? never - : K -}[keyof T] - -/** - * Convert tuple to union - */ -type _TupleToUnion = T extends (infer E)[] ? E : never -type TupleToUnion = _TupleToUnion -export type MaybeTupleToUnion = T extends any[] ? TupleToUnion : T - -/** - * Like `Pick`, but additionally can also accept an array of keys - */ -export type PickEnumerable | keyof T> = Prisma__Pick> - -/** - * Exclude all keys with underscores - */ -export type ExcludeUnderscoreKeys = T extends `_${string}` ? never : T - - -export type FieldRef = runtime.FieldRef - -type FieldRefInputType = Model extends never ? never : FieldRef - - -export const ModelName = { - User: 'User', - UserProfile: 'UserProfile', - Account: 'Account', - OrganizerVerification: 'OrganizerVerification', - Trip: 'Trip', - TripReview: 'TripReview', - TripImage: 'TripImage', - TripParticipant: 'TripParticipant', - Booking: 'Booking', - Payment: 'Payment', - Refund: 'Refund' -} as const - -export type ModelName = (typeof ModelName)[keyof typeof ModelName] - - - -export interface TypeMapCb extends runtime.Types.Utils.Fn<{extArgs: runtime.Types.Extensions.InternalArgs }, runtime.Types.Utils.Record> { - returns: TypeMap -} - -export type TypeMap = { - globalOmitOptions: { - omit: GlobalOmitOptions - } - meta: { - modelProps: "user" | "userProfile" | "account" | "organizerVerification" | "trip" | "tripReview" | "tripImage" | "tripParticipant" | "booking" | "payment" | "refund" - txIsolationLevel: TransactionIsolationLevel - } - model: { - User: { - payload: Prisma.$UserPayload - fields: Prisma.UserFieldRefs - operations: { - findUnique: { - args: Prisma.UserFindUniqueArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findUniqueOrThrow: { - args: Prisma.UserFindUniqueOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findFirst: { - args: Prisma.UserFindFirstArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findFirstOrThrow: { - args: Prisma.UserFindFirstOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findMany: { - args: Prisma.UserFindManyArgs - result: runtime.Types.Utils.PayloadToResult[] - } - create: { - args: Prisma.UserCreateArgs - result: runtime.Types.Utils.PayloadToResult - } - createMany: { - args: Prisma.UserCreateManyArgs - result: BatchPayload - } - createManyAndReturn: { - args: Prisma.UserCreateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - delete: { - args: Prisma.UserDeleteArgs - result: runtime.Types.Utils.PayloadToResult - } - update: { - args: Prisma.UserUpdateArgs - result: runtime.Types.Utils.PayloadToResult - } - deleteMany: { - args: Prisma.UserDeleteManyArgs - result: BatchPayload - } - updateMany: { - args: Prisma.UserUpdateManyArgs - result: BatchPayload - } - updateManyAndReturn: { - args: Prisma.UserUpdateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - upsert: { - args: Prisma.UserUpsertArgs - result: runtime.Types.Utils.PayloadToResult - } - aggregate: { - args: Prisma.UserAggregateArgs - result: runtime.Types.Utils.Optional - } - groupBy: { - args: Prisma.UserGroupByArgs - result: runtime.Types.Utils.Optional[] - } - count: { - args: Prisma.UserCountArgs - result: runtime.Types.Utils.Optional | number - } - } - } - UserProfile: { - payload: Prisma.$UserProfilePayload - fields: Prisma.UserProfileFieldRefs - operations: { - findUnique: { - args: Prisma.UserProfileFindUniqueArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findUniqueOrThrow: { - args: Prisma.UserProfileFindUniqueOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findFirst: { - args: Prisma.UserProfileFindFirstArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findFirstOrThrow: { - args: Prisma.UserProfileFindFirstOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findMany: { - args: Prisma.UserProfileFindManyArgs - result: runtime.Types.Utils.PayloadToResult[] - } - create: { - args: Prisma.UserProfileCreateArgs - result: runtime.Types.Utils.PayloadToResult - } - createMany: { - args: Prisma.UserProfileCreateManyArgs - result: BatchPayload - } - createManyAndReturn: { - args: Prisma.UserProfileCreateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - delete: { - args: Prisma.UserProfileDeleteArgs - result: runtime.Types.Utils.PayloadToResult - } - update: { - args: Prisma.UserProfileUpdateArgs - result: runtime.Types.Utils.PayloadToResult - } - deleteMany: { - args: Prisma.UserProfileDeleteManyArgs - result: BatchPayload - } - updateMany: { - args: Prisma.UserProfileUpdateManyArgs - result: BatchPayload - } - updateManyAndReturn: { - args: Prisma.UserProfileUpdateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - upsert: { - args: Prisma.UserProfileUpsertArgs - result: runtime.Types.Utils.PayloadToResult - } - aggregate: { - args: Prisma.UserProfileAggregateArgs - result: runtime.Types.Utils.Optional - } - groupBy: { - args: Prisma.UserProfileGroupByArgs - result: runtime.Types.Utils.Optional[] - } - count: { - args: Prisma.UserProfileCountArgs - result: runtime.Types.Utils.Optional | number - } - } - } - Account: { - payload: Prisma.$AccountPayload - fields: Prisma.AccountFieldRefs - operations: { - findUnique: { - args: Prisma.AccountFindUniqueArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findUniqueOrThrow: { - args: Prisma.AccountFindUniqueOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findFirst: { - args: Prisma.AccountFindFirstArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findFirstOrThrow: { - args: Prisma.AccountFindFirstOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findMany: { - args: Prisma.AccountFindManyArgs - result: runtime.Types.Utils.PayloadToResult[] - } - create: { - args: Prisma.AccountCreateArgs - result: runtime.Types.Utils.PayloadToResult - } - createMany: { - args: Prisma.AccountCreateManyArgs - result: BatchPayload - } - createManyAndReturn: { - args: Prisma.AccountCreateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - delete: { - args: Prisma.AccountDeleteArgs - result: runtime.Types.Utils.PayloadToResult - } - update: { - args: Prisma.AccountUpdateArgs - result: runtime.Types.Utils.PayloadToResult - } - deleteMany: { - args: Prisma.AccountDeleteManyArgs - result: BatchPayload - } - updateMany: { - args: Prisma.AccountUpdateManyArgs - result: BatchPayload - } - updateManyAndReturn: { - args: Prisma.AccountUpdateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - upsert: { - args: Prisma.AccountUpsertArgs - result: runtime.Types.Utils.PayloadToResult - } - aggregate: { - args: Prisma.AccountAggregateArgs - result: runtime.Types.Utils.Optional - } - groupBy: { - args: Prisma.AccountGroupByArgs - result: runtime.Types.Utils.Optional[] - } - count: { - args: Prisma.AccountCountArgs - result: runtime.Types.Utils.Optional | number - } - } - } - OrganizerVerification: { - payload: Prisma.$OrganizerVerificationPayload - fields: Prisma.OrganizerVerificationFieldRefs - operations: { - findUnique: { - args: Prisma.OrganizerVerificationFindUniqueArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findUniqueOrThrow: { - args: Prisma.OrganizerVerificationFindUniqueOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findFirst: { - args: Prisma.OrganizerVerificationFindFirstArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findFirstOrThrow: { - args: Prisma.OrganizerVerificationFindFirstOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findMany: { - args: Prisma.OrganizerVerificationFindManyArgs - result: runtime.Types.Utils.PayloadToResult[] - } - create: { - args: Prisma.OrganizerVerificationCreateArgs - result: runtime.Types.Utils.PayloadToResult - } - createMany: { - args: Prisma.OrganizerVerificationCreateManyArgs - result: BatchPayload - } - createManyAndReturn: { - args: Prisma.OrganizerVerificationCreateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - delete: { - args: Prisma.OrganizerVerificationDeleteArgs - result: runtime.Types.Utils.PayloadToResult - } - update: { - args: Prisma.OrganizerVerificationUpdateArgs - result: runtime.Types.Utils.PayloadToResult - } - deleteMany: { - args: Prisma.OrganizerVerificationDeleteManyArgs - result: BatchPayload - } - updateMany: { - args: Prisma.OrganizerVerificationUpdateManyArgs - result: BatchPayload - } - updateManyAndReturn: { - args: Prisma.OrganizerVerificationUpdateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - upsert: { - args: Prisma.OrganizerVerificationUpsertArgs - result: runtime.Types.Utils.PayloadToResult - } - aggregate: { - args: Prisma.OrganizerVerificationAggregateArgs - result: runtime.Types.Utils.Optional - } - groupBy: { - args: Prisma.OrganizerVerificationGroupByArgs - result: runtime.Types.Utils.Optional[] - } - count: { - args: Prisma.OrganizerVerificationCountArgs - result: runtime.Types.Utils.Optional | number - } - } - } - Trip: { - payload: Prisma.$TripPayload - fields: Prisma.TripFieldRefs - operations: { - findUnique: { - args: Prisma.TripFindUniqueArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findUniqueOrThrow: { - args: Prisma.TripFindUniqueOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findFirst: { - args: Prisma.TripFindFirstArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findFirstOrThrow: { - args: Prisma.TripFindFirstOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findMany: { - args: Prisma.TripFindManyArgs - result: runtime.Types.Utils.PayloadToResult[] - } - create: { - args: Prisma.TripCreateArgs - result: runtime.Types.Utils.PayloadToResult - } - createMany: { - args: Prisma.TripCreateManyArgs - result: BatchPayload - } - createManyAndReturn: { - args: Prisma.TripCreateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - delete: { - args: Prisma.TripDeleteArgs - result: runtime.Types.Utils.PayloadToResult - } - update: { - args: Prisma.TripUpdateArgs - result: runtime.Types.Utils.PayloadToResult - } - deleteMany: { - args: Prisma.TripDeleteManyArgs - result: BatchPayload - } - updateMany: { - args: Prisma.TripUpdateManyArgs - result: BatchPayload - } - updateManyAndReturn: { - args: Prisma.TripUpdateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - upsert: { - args: Prisma.TripUpsertArgs - result: runtime.Types.Utils.PayloadToResult - } - aggregate: { - args: Prisma.TripAggregateArgs - result: runtime.Types.Utils.Optional - } - groupBy: { - args: Prisma.TripGroupByArgs - result: runtime.Types.Utils.Optional[] - } - count: { - args: Prisma.TripCountArgs - result: runtime.Types.Utils.Optional | number - } - } - } - TripReview: { - payload: Prisma.$TripReviewPayload - fields: Prisma.TripReviewFieldRefs - operations: { - findUnique: { - args: Prisma.TripReviewFindUniqueArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findUniqueOrThrow: { - args: Prisma.TripReviewFindUniqueOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findFirst: { - args: Prisma.TripReviewFindFirstArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findFirstOrThrow: { - args: Prisma.TripReviewFindFirstOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findMany: { - args: Prisma.TripReviewFindManyArgs - result: runtime.Types.Utils.PayloadToResult[] - } - create: { - args: Prisma.TripReviewCreateArgs - result: runtime.Types.Utils.PayloadToResult - } - createMany: { - args: Prisma.TripReviewCreateManyArgs - result: BatchPayload - } - createManyAndReturn: { - args: Prisma.TripReviewCreateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - delete: { - args: Prisma.TripReviewDeleteArgs - result: runtime.Types.Utils.PayloadToResult - } - update: { - args: Prisma.TripReviewUpdateArgs - result: runtime.Types.Utils.PayloadToResult - } - deleteMany: { - args: Prisma.TripReviewDeleteManyArgs - result: BatchPayload - } - updateMany: { - args: Prisma.TripReviewUpdateManyArgs - result: BatchPayload - } - updateManyAndReturn: { - args: Prisma.TripReviewUpdateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - upsert: { - args: Prisma.TripReviewUpsertArgs - result: runtime.Types.Utils.PayloadToResult - } - aggregate: { - args: Prisma.TripReviewAggregateArgs - result: runtime.Types.Utils.Optional - } - groupBy: { - args: Prisma.TripReviewGroupByArgs - result: runtime.Types.Utils.Optional[] - } - count: { - args: Prisma.TripReviewCountArgs - result: runtime.Types.Utils.Optional | number - } - } - } - TripImage: { - payload: Prisma.$TripImagePayload - fields: Prisma.TripImageFieldRefs - operations: { - findUnique: { - args: Prisma.TripImageFindUniqueArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findUniqueOrThrow: { - args: Prisma.TripImageFindUniqueOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findFirst: { - args: Prisma.TripImageFindFirstArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findFirstOrThrow: { - args: Prisma.TripImageFindFirstOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findMany: { - args: Prisma.TripImageFindManyArgs - result: runtime.Types.Utils.PayloadToResult[] - } - create: { - args: Prisma.TripImageCreateArgs - result: runtime.Types.Utils.PayloadToResult - } - createMany: { - args: Prisma.TripImageCreateManyArgs - result: BatchPayload - } - createManyAndReturn: { - args: Prisma.TripImageCreateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - delete: { - args: Prisma.TripImageDeleteArgs - result: runtime.Types.Utils.PayloadToResult - } - update: { - args: Prisma.TripImageUpdateArgs - result: runtime.Types.Utils.PayloadToResult - } - deleteMany: { - args: Prisma.TripImageDeleteManyArgs - result: BatchPayload - } - updateMany: { - args: Prisma.TripImageUpdateManyArgs - result: BatchPayload - } - updateManyAndReturn: { - args: Prisma.TripImageUpdateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - upsert: { - args: Prisma.TripImageUpsertArgs - result: runtime.Types.Utils.PayloadToResult - } - aggregate: { - args: Prisma.TripImageAggregateArgs - result: runtime.Types.Utils.Optional - } - groupBy: { - args: Prisma.TripImageGroupByArgs - result: runtime.Types.Utils.Optional[] - } - count: { - args: Prisma.TripImageCountArgs - result: runtime.Types.Utils.Optional | number - } - } - } - TripParticipant: { - payload: Prisma.$TripParticipantPayload - fields: Prisma.TripParticipantFieldRefs - operations: { - findUnique: { - args: Prisma.TripParticipantFindUniqueArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findUniqueOrThrow: { - args: Prisma.TripParticipantFindUniqueOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findFirst: { - args: Prisma.TripParticipantFindFirstArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findFirstOrThrow: { - args: Prisma.TripParticipantFindFirstOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findMany: { - args: Prisma.TripParticipantFindManyArgs - result: runtime.Types.Utils.PayloadToResult[] - } - create: { - args: Prisma.TripParticipantCreateArgs - result: runtime.Types.Utils.PayloadToResult - } - createMany: { - args: Prisma.TripParticipantCreateManyArgs - result: BatchPayload - } - createManyAndReturn: { - args: Prisma.TripParticipantCreateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - delete: { - args: Prisma.TripParticipantDeleteArgs - result: runtime.Types.Utils.PayloadToResult - } - update: { - args: Prisma.TripParticipantUpdateArgs - result: runtime.Types.Utils.PayloadToResult - } - deleteMany: { - args: Prisma.TripParticipantDeleteManyArgs - result: BatchPayload - } - updateMany: { - args: Prisma.TripParticipantUpdateManyArgs - result: BatchPayload - } - updateManyAndReturn: { - args: Prisma.TripParticipantUpdateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - upsert: { - args: Prisma.TripParticipantUpsertArgs - result: runtime.Types.Utils.PayloadToResult - } - aggregate: { - args: Prisma.TripParticipantAggregateArgs - result: runtime.Types.Utils.Optional - } - groupBy: { - args: Prisma.TripParticipantGroupByArgs - result: runtime.Types.Utils.Optional[] - } - count: { - args: Prisma.TripParticipantCountArgs - result: runtime.Types.Utils.Optional | number - } - } - } - Booking: { - payload: Prisma.$BookingPayload - fields: Prisma.BookingFieldRefs - operations: { - findUnique: { - args: Prisma.BookingFindUniqueArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findUniqueOrThrow: { - args: Prisma.BookingFindUniqueOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findFirst: { - args: Prisma.BookingFindFirstArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findFirstOrThrow: { - args: Prisma.BookingFindFirstOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findMany: { - args: Prisma.BookingFindManyArgs - result: runtime.Types.Utils.PayloadToResult[] - } - create: { - args: Prisma.BookingCreateArgs - result: runtime.Types.Utils.PayloadToResult - } - createMany: { - args: Prisma.BookingCreateManyArgs - result: BatchPayload - } - createManyAndReturn: { - args: Prisma.BookingCreateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - delete: { - args: Prisma.BookingDeleteArgs - result: runtime.Types.Utils.PayloadToResult - } - update: { - args: Prisma.BookingUpdateArgs - result: runtime.Types.Utils.PayloadToResult - } - deleteMany: { - args: Prisma.BookingDeleteManyArgs - result: BatchPayload - } - updateMany: { - args: Prisma.BookingUpdateManyArgs - result: BatchPayload - } - updateManyAndReturn: { - args: Prisma.BookingUpdateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - upsert: { - args: Prisma.BookingUpsertArgs - result: runtime.Types.Utils.PayloadToResult - } - aggregate: { - args: Prisma.BookingAggregateArgs - result: runtime.Types.Utils.Optional - } - groupBy: { - args: Prisma.BookingGroupByArgs - result: runtime.Types.Utils.Optional[] - } - count: { - args: Prisma.BookingCountArgs - result: runtime.Types.Utils.Optional | number - } - } - } - Payment: { - payload: Prisma.$PaymentPayload - fields: Prisma.PaymentFieldRefs - operations: { - findUnique: { - args: Prisma.PaymentFindUniqueArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findUniqueOrThrow: { - args: Prisma.PaymentFindUniqueOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findFirst: { - args: Prisma.PaymentFindFirstArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findFirstOrThrow: { - args: Prisma.PaymentFindFirstOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findMany: { - args: Prisma.PaymentFindManyArgs - result: runtime.Types.Utils.PayloadToResult[] - } - create: { - args: Prisma.PaymentCreateArgs - result: runtime.Types.Utils.PayloadToResult - } - createMany: { - args: Prisma.PaymentCreateManyArgs - result: BatchPayload - } - createManyAndReturn: { - args: Prisma.PaymentCreateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - delete: { - args: Prisma.PaymentDeleteArgs - result: runtime.Types.Utils.PayloadToResult - } - update: { - args: Prisma.PaymentUpdateArgs - result: runtime.Types.Utils.PayloadToResult - } - deleteMany: { - args: Prisma.PaymentDeleteManyArgs - result: BatchPayload - } - updateMany: { - args: Prisma.PaymentUpdateManyArgs - result: BatchPayload - } - updateManyAndReturn: { - args: Prisma.PaymentUpdateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - upsert: { - args: Prisma.PaymentUpsertArgs - result: runtime.Types.Utils.PayloadToResult - } - aggregate: { - args: Prisma.PaymentAggregateArgs - result: runtime.Types.Utils.Optional - } - groupBy: { - args: Prisma.PaymentGroupByArgs - result: runtime.Types.Utils.Optional[] - } - count: { - args: Prisma.PaymentCountArgs - result: runtime.Types.Utils.Optional | number - } - } - } - Refund: { - payload: Prisma.$RefundPayload - fields: Prisma.RefundFieldRefs - operations: { - findUnique: { - args: Prisma.RefundFindUniqueArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findUniqueOrThrow: { - args: Prisma.RefundFindUniqueOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findFirst: { - args: Prisma.RefundFindFirstArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findFirstOrThrow: { - args: Prisma.RefundFindFirstOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findMany: { - args: Prisma.RefundFindManyArgs - result: runtime.Types.Utils.PayloadToResult[] - } - create: { - args: Prisma.RefundCreateArgs - result: runtime.Types.Utils.PayloadToResult - } - createMany: { - args: Prisma.RefundCreateManyArgs - result: BatchPayload - } - createManyAndReturn: { - args: Prisma.RefundCreateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - delete: { - args: Prisma.RefundDeleteArgs - result: runtime.Types.Utils.PayloadToResult - } - update: { - args: Prisma.RefundUpdateArgs - result: runtime.Types.Utils.PayloadToResult - } - deleteMany: { - args: Prisma.RefundDeleteManyArgs - result: BatchPayload - } - updateMany: { - args: Prisma.RefundUpdateManyArgs - result: BatchPayload - } - updateManyAndReturn: { - args: Prisma.RefundUpdateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - upsert: { - args: Prisma.RefundUpsertArgs - result: runtime.Types.Utils.PayloadToResult - } - aggregate: { - args: Prisma.RefundAggregateArgs - result: runtime.Types.Utils.Optional - } - groupBy: { - args: Prisma.RefundGroupByArgs - result: runtime.Types.Utils.Optional[] - } - count: { - args: Prisma.RefundCountArgs - result: runtime.Types.Utils.Optional | number - } - } - } - } -} & { - other: { - payload: any - operations: { - $executeRaw: { - args: [query: TemplateStringsArray | Sql, ...values: any[]], - result: any - } - $executeRawUnsafe: { - args: [query: string, ...values: any[]], - result: any - } - $queryRaw: { - args: [query: TemplateStringsArray | Sql, ...values: any[]], - result: any - } - $queryRawUnsafe: { - args: [query: string, ...values: any[]], - result: any - } - } - } -} - -/** - * Enums - */ - -export const TransactionIsolationLevel = runtime.makeStrictEnum({ - ReadUncommitted: 'ReadUncommitted', - ReadCommitted: 'ReadCommitted', - RepeatableRead: 'RepeatableRead', - Serializable: 'Serializable' -} as const) - -export type TransactionIsolationLevel = (typeof TransactionIsolationLevel)[keyof typeof TransactionIsolationLevel] - - -export const UserScalarFieldEnum = { - id: 'id', - name: 'name', - email: 'email', - password: 'password', - image: 'image', - emailVerified: 'emailVerified', - acceptedTermsAndPrivacy: 'acceptedTermsAndPrivacy', - acceptedAt: 'acceptedAt', - createdAt: 'createdAt', - updatedAt: 'updatedAt' -} as const - -export type UserScalarFieldEnum = (typeof UserScalarFieldEnum)[keyof typeof UserScalarFieldEnum] - - -export const UserProfileScalarFieldEnum = { - id: 'id', - userId: 'userId', - bio: 'bio', - city: 'city', - interests: 'interests', - instagram: 'instagram', - vibe: 'vibe', - createdAt: 'createdAt', - updatedAt: 'updatedAt' -} as const - -export type UserProfileScalarFieldEnum = (typeof UserProfileScalarFieldEnum)[keyof typeof UserProfileScalarFieldEnum] - - -export const AccountScalarFieldEnum = { - id: 'id', - userId: 'userId', - type: 'type', - provider: 'provider', - providerAccountId: 'providerAccountId', - refresh_token: 'refresh_token', - access_token: 'access_token', - expires_at: 'expires_at', - token_type: 'token_type', - scope: 'scope', - id_token: 'id_token', - session_state: 'session_state' -} as const - -export type AccountScalarFieldEnum = (typeof AccountScalarFieldEnum)[keyof typeof AccountScalarFieldEnum] - - -export const OrganizerVerificationScalarFieldEnum = { - id: 'id', - userId: 'userId', - fullName: 'fullName', - nikEncrypted: 'nikEncrypted', - nikHash: 'nikHash', - birthDate: 'birthDate', - address: 'address', - ktpImageKey: 'ktpImageKey', - livenessKey: 'livenessKey', - bankName: 'bankName', - bankAccountNumber: 'bankAccountNumber', - bankAccountName: 'bankAccountName', - status: 'status', - rejectionReason: 'rejectionReason', - reviewedAt: 'reviewedAt', - reviewedById: 'reviewedById', - verifiedAt: 'verifiedAt', - createdAt: 'createdAt', - updatedAt: 'updatedAt' -} as const - -export type OrganizerVerificationScalarFieldEnum = (typeof OrganizerVerificationScalarFieldEnum)[keyof typeof OrganizerVerificationScalarFieldEnum] - - -export const TripScalarFieldEnum = { - id: 'id', - title: 'title', - description: 'description', - category: 'category', - destination: 'destination', - location: 'location', - meetingPoint: 'meetingPoint', - itinerary: 'itinerary', - whatsIncluded: 'whatsIncluded', - whatsExcluded: 'whatsExcluded', - date: 'date', - endDate: 'endDate', - maxParticipants: 'maxParticipants', - price: 'price', - vibe: 'vibe', - status: 'status', - createdAt: 'createdAt', - updatedAt: 'updatedAt', - organizerId: 'organizerId' -} as const - -export type TripScalarFieldEnum = (typeof TripScalarFieldEnum)[keyof typeof TripScalarFieldEnum] - - -export const TripReviewScalarFieldEnum = { - id: 'id', - rating: 'rating', - comment: 'comment', - createdAt: 'createdAt', - updatedAt: 'updatedAt', - tripId: 'tripId', - userId: 'userId' -} as const - -export type TripReviewScalarFieldEnum = (typeof TripReviewScalarFieldEnum)[keyof typeof TripReviewScalarFieldEnum] - - -export const TripImageScalarFieldEnum = { - id: 'id', - url: 'url', - caption: 'caption', - order: 'order', - tripId: 'tripId' -} as const - -export type TripImageScalarFieldEnum = (typeof TripImageScalarFieldEnum)[keyof typeof TripImageScalarFieldEnum] - - -export const TripParticipantScalarFieldEnum = { - id: 'id', - status: 'status', - createdAt: 'createdAt', - markedPaidAt: 'markedPaidAt', - paymentConfirmedAt: 'paymentConfirmedAt', - tripId: 'tripId', - userId: 'userId' -} as const - -export type TripParticipantScalarFieldEnum = (typeof TripParticipantScalarFieldEnum)[keyof typeof TripParticipantScalarFieldEnum] - - -export const BookingScalarFieldEnum = { - id: 'id', - tripId: 'tripId', - userId: 'userId', - participantId: 'participantId', - amount: 'amount', - currency: 'currency', - status: 'status', - createdAt: 'createdAt', - updatedAt: 'updatedAt' -} as const - -export type BookingScalarFieldEnum = (typeof BookingScalarFieldEnum)[keyof typeof BookingScalarFieldEnum] - - -export const PaymentScalarFieldEnum = { - id: 'id', - bookingId: 'bookingId', - provider: 'provider', - externalOrderId: 'externalOrderId', - externalTxId: 'externalTxId', - method: 'method', - amount: 'amount', - status: 'status', - rawCallback: 'rawCallback', - snapToken: 'snapToken', - expiresAt: 'expiresAt', - paidAt: 'paidAt', - failedAt: 'failedAt', - rejectionReason: 'rejectionReason', - createdAt: 'createdAt', - updatedAt: 'updatedAt' -} as const - -export type PaymentScalarFieldEnum = (typeof PaymentScalarFieldEnum)[keyof typeof PaymentScalarFieldEnum] - - -export const RefundScalarFieldEnum = { - id: 'id', - bookingId: 'bookingId', - paymentId: 'paymentId', - amount: 'amount', - currency: 'currency', - reason: 'reason', - reportedBy: 'reportedBy', - reportNote: 'reportNote', - initiatedBy: 'initiatedBy', - status: 'status', - idempotencyKey: 'idempotencyKey', - adminNote: 'adminNote', - reviewedById: 'reviewedById', - reviewedAt: 'reviewedAt', - succeededAt: 'succeededAt', - failedAt: 'failedAt', - externalRefundId: 'externalRefundId', - createdAt: 'createdAt', - updatedAt: 'updatedAt' -} as const - -export type RefundScalarFieldEnum = (typeof RefundScalarFieldEnum)[keyof typeof RefundScalarFieldEnum] - - -export const SortOrder = { - asc: 'asc', - desc: 'desc' -} as const - -export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder] - - -export const NullableJsonNullValueInput = { - DbNull: DbNull, - JsonNull: JsonNull -} as const - -export type NullableJsonNullValueInput = (typeof NullableJsonNullValueInput)[keyof typeof NullableJsonNullValueInput] - - -export const QueryMode = { - default: 'default', - insensitive: 'insensitive' -} as const - -export type QueryMode = (typeof QueryMode)[keyof typeof QueryMode] - - -export const NullsOrder = { - first: 'first', - last: 'last' -} as const - -export type NullsOrder = (typeof NullsOrder)[keyof typeof NullsOrder] - - -export const JsonNullValueFilter = { - DbNull: DbNull, - JsonNull: JsonNull, - AnyNull: AnyNull -} as const - -export type JsonNullValueFilter = (typeof JsonNullValueFilter)[keyof typeof JsonNullValueFilter] - - - -/** - * Field references - */ - - -/** - * Reference to a field of type 'String' - */ -export type StringFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'String'> - - - -/** - * Reference to a field of type 'String[]' - */ -export type ListStringFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'String[]'> - - - -/** - * Reference to a field of type 'DateTime' - */ -export type DateTimeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'DateTime'> - - - -/** - * Reference to a field of type 'DateTime[]' - */ -export type ListDateTimeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'DateTime[]'> - - - -/** - * Reference to a field of type 'Boolean' - */ -export type BooleanFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Boolean'> - - - -/** - * Reference to a field of type 'Vibe' - */ -export type EnumVibeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Vibe'> - - - -/** - * Reference to a field of type 'Vibe[]' - */ -export type ListEnumVibeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Vibe[]'> - - - -/** - * Reference to a field of type 'Int' - */ -export type IntFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Int'> - - - -/** - * Reference to a field of type 'Int[]' - */ -export type ListIntFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Int[]'> - - - -/** - * Reference to a field of type 'VerificationStatus' - */ -export type EnumVerificationStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'VerificationStatus'> - - - -/** - * Reference to a field of type 'VerificationStatus[]' - */ -export type ListEnumVerificationStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'VerificationStatus[]'> - - - -/** - * Reference to a field of type 'ActivityCategory' - */ -export type EnumActivityCategoryFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ActivityCategory'> - - - -/** - * Reference to a field of type 'ActivityCategory[]' - */ -export type ListEnumActivityCategoryFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ActivityCategory[]'> - - - -/** - * Reference to a field of type 'TripStatus' - */ -export type EnumTripStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'TripStatus'> - - - -/** - * Reference to a field of type 'TripStatus[]' - */ -export type ListEnumTripStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'TripStatus[]'> - - - -/** - * Reference to a field of type 'ParticipantStatus' - */ -export type EnumParticipantStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ParticipantStatus'> - - - -/** - * Reference to a field of type 'ParticipantStatus[]' - */ -export type ListEnumParticipantStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ParticipantStatus[]'> - - - -/** - * Reference to a field of type 'BookingStatus' - */ -export type EnumBookingStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'BookingStatus'> - - - -/** - * Reference to a field of type 'BookingStatus[]' - */ -export type ListEnumBookingStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'BookingStatus[]'> - - - -/** - * Reference to a field of type 'PaymentProvider' - */ -export type EnumPaymentProviderFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'PaymentProvider'> - - - -/** - * Reference to a field of type 'PaymentProvider[]' - */ -export type ListEnumPaymentProviderFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'PaymentProvider[]'> - - - -/** - * Reference to a field of type 'PaymentStatus' - */ -export type EnumPaymentStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'PaymentStatus'> - - - -/** - * Reference to a field of type 'PaymentStatus[]' - */ -export type ListEnumPaymentStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'PaymentStatus[]'> - - - -/** - * Reference to a field of type 'Json' - */ -export type JsonFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Json'> - - - -/** - * Reference to a field of type 'QueryMode' - */ -export type EnumQueryModeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'QueryMode'> - - - -/** - * Reference to a field of type 'RefundReason' - */ -export type EnumRefundReasonFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'RefundReason'> - - - -/** - * Reference to a field of type 'RefundReason[]' - */ -export type ListEnumRefundReasonFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'RefundReason[]'> - - - -/** - * Reference to a field of type 'RefundReporter' - */ -export type EnumRefundReporterFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'RefundReporter'> - - - -/** - * Reference to a field of type 'RefundReporter[]' - */ -export type ListEnumRefundReporterFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'RefundReporter[]'> - - - -/** - * Reference to a field of type 'RefundInitiator' - */ -export type EnumRefundInitiatorFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'RefundInitiator'> - - - -/** - * Reference to a field of type 'RefundInitiator[]' - */ -export type ListEnumRefundInitiatorFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'RefundInitiator[]'> - - - -/** - * Reference to a field of type 'RefundStatus' - */ -export type EnumRefundStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'RefundStatus'> - - - -/** - * Reference to a field of type 'RefundStatus[]' - */ -export type ListEnumRefundStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'RefundStatus[]'> - - - -/** - * Reference to a field of type 'Float' - */ -export type FloatFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Float'> - - - -/** - * Reference to a field of type 'Float[]' - */ -export type ListFloatFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Float[]'> - - -/** - * Batch Payload for updateMany & deleteMany & createMany - */ -export type BatchPayload = { - count: number -} - -export const defineExtension = runtime.Extensions.defineExtension as unknown as runtime.Types.Extensions.ExtendsHook<"define", TypeMapCb, runtime.Types.Extensions.DefaultArgs> -export type DefaultPrismaClient = PrismaClient -export type ErrorFormat = 'pretty' | 'colorless' | 'minimal' -export type PrismaClientOptions = ({ - /** - * Instance of a Driver Adapter, e.g., like one provided by `@prisma/adapter-pg`. - */ - adapter: runtime.SqlDriverAdapterFactory - accelerateUrl?: never -} | { - /** - * Prisma Accelerate URL allowing the client to connect through Accelerate instead of a direct database. - */ - accelerateUrl: string - adapter?: never -}) & { - /** - * @default "colorless" - */ - errorFormat?: ErrorFormat - /** - * @example - * ``` - * // Shorthand for `emit: 'stdout'` - * log: ['query', 'info', 'warn', 'error'] - * - * // Emit as events only - * log: [ - * { emit: 'event', level: 'query' }, - * { emit: 'event', level: 'info' }, - * { emit: 'event', level: 'warn' } - * { emit: 'event', level: 'error' } - * ] - * - * / Emit as events and log to stdout - * og: [ - * { emit: 'stdout', level: 'query' }, - * { emit: 'stdout', level: 'info' }, - * { emit: 'stdout', level: 'warn' } - * { emit: 'stdout', level: 'error' } - * - * ``` - * Read more in our [docs](https://pris.ly/d/logging). - */ - log?: (LogLevel | LogDefinition)[] - /** - * The default values for transactionOptions - * maxWait ?= 2000 - * timeout ?= 5000 - */ - transactionOptions?: { - maxWait?: number - timeout?: number - isolationLevel?: TransactionIsolationLevel - } - /** - * Global configuration for omitting model fields by default. - * - * @example - * ``` - * const prisma = new PrismaClient({ - * omit: { - * user: { - * password: true - * } - * } - * }) - * ``` - */ - omit?: GlobalOmitConfig - /** - * SQL commenter plugins that add metadata to SQL queries as comments. - * Comments follow the sqlcommenter format: https://google.github.io/sqlcommenter/ - * - * @example - * ``` - * const prisma = new PrismaClient({ - * adapter, - * comments: [ - * traceContext(), - * queryInsights(), - * ], - * }) - * ``` - */ - comments?: runtime.SqlCommenterPlugin[] - /** - * Optional maximum size for the query plan cache. If not provided, a default size will be used. - * A value of `0` can be used to disable the cache entirely. A higher cache size can improve - * performance for applications that execute a large number of unique queries, while a smaller - * cache size can reduce memory usage. - * - * @example - * ``` - * const prisma = new PrismaClient({ - * adapter, - * queryPlanCacheMaxSize: 100, - * }) - * ``` - */ - queryPlanCacheMaxSize?: number -} -export type GlobalOmitConfig = { - user?: Prisma.UserOmit - userProfile?: Prisma.UserProfileOmit - account?: Prisma.AccountOmit - organizerVerification?: Prisma.OrganizerVerificationOmit - trip?: Prisma.TripOmit - tripReview?: Prisma.TripReviewOmit - tripImage?: Prisma.TripImageOmit - tripParticipant?: Prisma.TripParticipantOmit - booking?: Prisma.BookingOmit - payment?: Prisma.PaymentOmit - refund?: Prisma.RefundOmit -} - -/* Types for Logging */ -export type LogLevel = 'info' | 'query' | 'warn' | 'error' -export type LogDefinition = { - level: LogLevel - emit: 'stdout' | 'event' -} - -export type CheckIsLogLevel = T extends LogLevel ? T : never; - -export type GetLogType = CheckIsLogLevel< - T extends LogDefinition ? T['level'] : T ->; - -export type GetEvents = T extends Array - ? GetLogType - : never; - -export type QueryEvent = { - timestamp: Date - query: string - params: string - duration: number - target: string -} - -export type LogEvent = { - timestamp: Date - message: string - target: string -} -/* End Types for Logging */ - - -export type PrismaAction = - | 'findUnique' - | 'findUniqueOrThrow' - | 'findMany' - | 'findFirst' - | 'findFirstOrThrow' - | 'create' - | 'createMany' - | 'createManyAndReturn' - | 'update' - | 'updateMany' - | 'updateManyAndReturn' - | 'upsert' - | 'delete' - | 'deleteMany' - | 'executeRaw' - | 'queryRaw' - | 'aggregate' - | 'count' - | 'runCommandRaw' - | 'findRaw' - | 'groupBy' - -/** - * `PrismaClient` proxy available in interactive transactions. - */ -export type TransactionClient = Omit - diff --git a/app/generated/prisma/internal/prismaNamespaceBrowser.ts b/app/generated/prisma/internal/prismaNamespaceBrowser.ts deleted file mode 100644 index 0c3b63d..0000000 --- a/app/generated/prisma/internal/prismaNamespaceBrowser.ts +++ /dev/null @@ -1,320 +0,0 @@ - -/* !!! This is code generated by Prisma. Do not edit directly. !!! */ -/* eslint-disable */ -// biome-ignore-all lint: generated file -// @ts-nocheck -/* - * WARNING: This is an internal file that is subject to change! - * - * 🛑 Under no circumstances should you import this file directly! 🛑 - * - * All exports from this file are wrapped under a `Prisma` namespace object in the browser.ts file. - * While this enables partial backward compatibility, it is not part of the stable public API. - * - * If you are looking for your Models, Enums, and Input Types, please import them from the respective - * model files in the `model` directory! - */ - -import * as runtime from "@prisma/client/runtime/index-browser" - -export type * from '../models' -export type * from './prismaNamespace' - -export const Decimal = runtime.Decimal - - -export const NullTypes = { - DbNull: runtime.NullTypes.DbNull as (new (secret: never) => typeof runtime.DbNull), - JsonNull: runtime.NullTypes.JsonNull as (new (secret: never) => typeof runtime.JsonNull), - AnyNull: runtime.NullTypes.AnyNull as (new (secret: never) => typeof runtime.AnyNull), -} -/** - * Helper for filtering JSON entries that have `null` on the database (empty on the db) - * - * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field - */ -export const DbNull = runtime.DbNull - -/** - * Helper for filtering JSON entries that have JSON `null` values (not empty on the db) - * - * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field - */ -export const JsonNull = runtime.JsonNull - -/** - * Helper for filtering JSON entries that are `Prisma.DbNull` or `Prisma.JsonNull` - * - * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field - */ -export const AnyNull = runtime.AnyNull - - -export const ModelName = { - User: 'User', - UserProfile: 'UserProfile', - Account: 'Account', - OrganizerVerification: 'OrganizerVerification', - Trip: 'Trip', - TripReview: 'TripReview', - TripImage: 'TripImage', - TripParticipant: 'TripParticipant', - Booking: 'Booking', - Payment: 'Payment', - Refund: 'Refund' -} as const - -export type ModelName = (typeof ModelName)[keyof typeof ModelName] - -/* - * Enums - */ - -export const TransactionIsolationLevel = runtime.makeStrictEnum({ - ReadUncommitted: 'ReadUncommitted', - ReadCommitted: 'ReadCommitted', - RepeatableRead: 'RepeatableRead', - Serializable: 'Serializable' -} as const) - -export type TransactionIsolationLevel = (typeof TransactionIsolationLevel)[keyof typeof TransactionIsolationLevel] - - -export const UserScalarFieldEnum = { - id: 'id', - name: 'name', - email: 'email', - password: 'password', - image: 'image', - emailVerified: 'emailVerified', - acceptedTermsAndPrivacy: 'acceptedTermsAndPrivacy', - acceptedAt: 'acceptedAt', - createdAt: 'createdAt', - updatedAt: 'updatedAt' -} as const - -export type UserScalarFieldEnum = (typeof UserScalarFieldEnum)[keyof typeof UserScalarFieldEnum] - - -export const UserProfileScalarFieldEnum = { - id: 'id', - userId: 'userId', - bio: 'bio', - city: 'city', - interests: 'interests', - instagram: 'instagram', - vibe: 'vibe', - createdAt: 'createdAt', - updatedAt: 'updatedAt' -} as const - -export type UserProfileScalarFieldEnum = (typeof UserProfileScalarFieldEnum)[keyof typeof UserProfileScalarFieldEnum] - - -export const AccountScalarFieldEnum = { - id: 'id', - userId: 'userId', - type: 'type', - provider: 'provider', - providerAccountId: 'providerAccountId', - refresh_token: 'refresh_token', - access_token: 'access_token', - expires_at: 'expires_at', - token_type: 'token_type', - scope: 'scope', - id_token: 'id_token', - session_state: 'session_state' -} as const - -export type AccountScalarFieldEnum = (typeof AccountScalarFieldEnum)[keyof typeof AccountScalarFieldEnum] - - -export const OrganizerVerificationScalarFieldEnum = { - id: 'id', - userId: 'userId', - fullName: 'fullName', - nikEncrypted: 'nikEncrypted', - nikHash: 'nikHash', - birthDate: 'birthDate', - address: 'address', - ktpImageKey: 'ktpImageKey', - livenessKey: 'livenessKey', - bankName: 'bankName', - bankAccountNumber: 'bankAccountNumber', - bankAccountName: 'bankAccountName', - status: 'status', - rejectionReason: 'rejectionReason', - reviewedAt: 'reviewedAt', - reviewedById: 'reviewedById', - verifiedAt: 'verifiedAt', - createdAt: 'createdAt', - updatedAt: 'updatedAt' -} as const - -export type OrganizerVerificationScalarFieldEnum = (typeof OrganizerVerificationScalarFieldEnum)[keyof typeof OrganizerVerificationScalarFieldEnum] - - -export const TripScalarFieldEnum = { - id: 'id', - title: 'title', - description: 'description', - category: 'category', - destination: 'destination', - location: 'location', - meetingPoint: 'meetingPoint', - itinerary: 'itinerary', - whatsIncluded: 'whatsIncluded', - whatsExcluded: 'whatsExcluded', - date: 'date', - endDate: 'endDate', - maxParticipants: 'maxParticipants', - price: 'price', - vibe: 'vibe', - status: 'status', - createdAt: 'createdAt', - updatedAt: 'updatedAt', - organizerId: 'organizerId' -} as const - -export type TripScalarFieldEnum = (typeof TripScalarFieldEnum)[keyof typeof TripScalarFieldEnum] - - -export const TripReviewScalarFieldEnum = { - id: 'id', - rating: 'rating', - comment: 'comment', - createdAt: 'createdAt', - updatedAt: 'updatedAt', - tripId: 'tripId', - userId: 'userId' -} as const - -export type TripReviewScalarFieldEnum = (typeof TripReviewScalarFieldEnum)[keyof typeof TripReviewScalarFieldEnum] - - -export const TripImageScalarFieldEnum = { - id: 'id', - url: 'url', - caption: 'caption', - order: 'order', - tripId: 'tripId' -} as const - -export type TripImageScalarFieldEnum = (typeof TripImageScalarFieldEnum)[keyof typeof TripImageScalarFieldEnum] - - -export const TripParticipantScalarFieldEnum = { - id: 'id', - status: 'status', - createdAt: 'createdAt', - markedPaidAt: 'markedPaidAt', - paymentConfirmedAt: 'paymentConfirmedAt', - tripId: 'tripId', - userId: 'userId' -} as const - -export type TripParticipantScalarFieldEnum = (typeof TripParticipantScalarFieldEnum)[keyof typeof TripParticipantScalarFieldEnum] - - -export const BookingScalarFieldEnum = { - id: 'id', - tripId: 'tripId', - userId: 'userId', - participantId: 'participantId', - amount: 'amount', - currency: 'currency', - status: 'status', - createdAt: 'createdAt', - updatedAt: 'updatedAt' -} as const - -export type BookingScalarFieldEnum = (typeof BookingScalarFieldEnum)[keyof typeof BookingScalarFieldEnum] - - -export const PaymentScalarFieldEnum = { - id: 'id', - bookingId: 'bookingId', - provider: 'provider', - externalOrderId: 'externalOrderId', - externalTxId: 'externalTxId', - method: 'method', - amount: 'amount', - status: 'status', - rawCallback: 'rawCallback', - snapToken: 'snapToken', - expiresAt: 'expiresAt', - paidAt: 'paidAt', - failedAt: 'failedAt', - rejectionReason: 'rejectionReason', - createdAt: 'createdAt', - updatedAt: 'updatedAt' -} as const - -export type PaymentScalarFieldEnum = (typeof PaymentScalarFieldEnum)[keyof typeof PaymentScalarFieldEnum] - - -export const RefundScalarFieldEnum = { - id: 'id', - bookingId: 'bookingId', - paymentId: 'paymentId', - amount: 'amount', - currency: 'currency', - reason: 'reason', - reportedBy: 'reportedBy', - reportNote: 'reportNote', - initiatedBy: 'initiatedBy', - status: 'status', - idempotencyKey: 'idempotencyKey', - adminNote: 'adminNote', - reviewedById: 'reviewedById', - reviewedAt: 'reviewedAt', - succeededAt: 'succeededAt', - failedAt: 'failedAt', - externalRefundId: 'externalRefundId', - createdAt: 'createdAt', - updatedAt: 'updatedAt' -} as const - -export type RefundScalarFieldEnum = (typeof RefundScalarFieldEnum)[keyof typeof RefundScalarFieldEnum] - - -export const SortOrder = { - asc: 'asc', - desc: 'desc' -} as const - -export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder] - - -export const NullableJsonNullValueInput = { - DbNull: DbNull, - JsonNull: JsonNull -} as const - -export type NullableJsonNullValueInput = (typeof NullableJsonNullValueInput)[keyof typeof NullableJsonNullValueInput] - - -export const QueryMode = { - default: 'default', - insensitive: 'insensitive' -} as const - -export type QueryMode = (typeof QueryMode)[keyof typeof QueryMode] - - -export const NullsOrder = { - first: 'first', - last: 'last' -} as const - -export type NullsOrder = (typeof NullsOrder)[keyof typeof NullsOrder] - - -export const JsonNullValueFilter = { - DbNull: DbNull, - JsonNull: JsonNull, - AnyNull: AnyNull -} as const - -export type JsonNullValueFilter = (typeof JsonNullValueFilter)[keyof typeof JsonNullValueFilter] - diff --git a/app/generated/prisma/models.ts b/app/generated/prisma/models.ts deleted file mode 100644 index 43d18c1..0000000 --- a/app/generated/prisma/models.ts +++ /dev/null @@ -1,22 +0,0 @@ - -/* !!! This is code generated by Prisma. Do not edit directly. !!! */ -/* eslint-disable */ -// biome-ignore-all lint: generated file -// @ts-nocheck -/* - * This is a barrel export file for all models and their related types. - * - * 🟢 You can import this file directly. - */ -export type * from './models/User' -export type * from './models/UserProfile' -export type * from './models/Account' -export type * from './models/OrganizerVerification' -export type * from './models/Trip' -export type * from './models/TripReview' -export type * from './models/TripImage' -export type * from './models/TripParticipant' -export type * from './models/Booking' -export type * from './models/Payment' -export type * from './models/Refund' -export type * from './commonInputTypes' \ No newline at end of file diff --git a/app/generated/prisma/models/Account.ts b/app/generated/prisma/models/Account.ts deleted file mode 100644 index 3c7938a..0000000 --- a/app/generated/prisma/models/Account.ts +++ /dev/null @@ -1,1649 +0,0 @@ - -/* !!! This is code generated by Prisma. Do not edit directly. !!! */ -/* eslint-disable */ -// biome-ignore-all lint: generated file -// @ts-nocheck -/* - * This file exports the `Account` 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 Account - * Tabel link akun OAuth pihak ketiga (Google, dst). Diisi oleh PrismaAdapter NextAuth. - * Session tidak pakai DB — kita pakai JWT, jadi Session/VerificationToken tidak perlu. - */ -export type AccountModel = runtime.Types.Result.DefaultSelection - -export type AggregateAccount = { - _count: AccountCountAggregateOutputType | null - _avg: AccountAvgAggregateOutputType | null - _sum: AccountSumAggregateOutputType | null - _min: AccountMinAggregateOutputType | null - _max: AccountMaxAggregateOutputType | null -} - -export type AccountAvgAggregateOutputType = { - expires_at: number | null -} - -export type AccountSumAggregateOutputType = { - expires_at: number | null -} - -export type AccountMinAggregateOutputType = { - id: string | null - userId: string | null - type: string | null - provider: string | null - providerAccountId: string | null - refresh_token: string | null - access_token: string | null - expires_at: number | null - token_type: string | null - scope: string | null - id_token: string | null - session_state: string | null -} - -export type AccountMaxAggregateOutputType = { - id: string | null - userId: string | null - type: string | null - provider: string | null - providerAccountId: string | null - refresh_token: string | null - access_token: string | null - expires_at: number | null - token_type: string | null - scope: string | null - id_token: string | null - session_state: string | null -} - -export type AccountCountAggregateOutputType = { - id: number - userId: number - type: number - provider: number - providerAccountId: number - refresh_token: number - access_token: number - expires_at: number - token_type: number - scope: number - id_token: number - session_state: number - _all: number -} - - -export type AccountAvgAggregateInputType = { - expires_at?: true -} - -export type AccountSumAggregateInputType = { - expires_at?: true -} - -export type AccountMinAggregateInputType = { - id?: true - userId?: true - type?: true - provider?: true - providerAccountId?: true - refresh_token?: true - access_token?: true - expires_at?: true - token_type?: true - scope?: true - id_token?: true - session_state?: true -} - -export type AccountMaxAggregateInputType = { - id?: true - userId?: true - type?: true - provider?: true - providerAccountId?: true - refresh_token?: true - access_token?: true - expires_at?: true - token_type?: true - scope?: true - id_token?: true - session_state?: true -} - -export type AccountCountAggregateInputType = { - id?: true - userId?: true - type?: true - provider?: true - providerAccountId?: true - refresh_token?: true - access_token?: true - expires_at?: true - token_type?: true - scope?: true - id_token?: true - session_state?: true - _all?: true -} - -export type AccountAggregateArgs = { - /** - * Filter which Account to aggregate. - */ - where?: Prisma.AccountWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Accounts to fetch. - */ - orderBy?: Prisma.AccountOrderByWithRelationInput | Prisma.AccountOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the start position - */ - cursor?: Prisma.AccountWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Accounts 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` Accounts. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Count returned Accounts - **/ - _count?: true | AccountCountAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to average - **/ - _avg?: AccountAvgAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to sum - **/ - _sum?: AccountSumAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the minimum value - **/ - _min?: AccountMinAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the maximum value - **/ - _max?: AccountMaxAggregateInputType -} - -export type GetAccountAggregateType = { - [P in keyof T & keyof AggregateAccount]: P extends '_count' | 'count' - ? T[P] extends true - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType -} - - - - -export type AccountGroupByArgs = { - where?: Prisma.AccountWhereInput - orderBy?: Prisma.AccountOrderByWithAggregationInput | Prisma.AccountOrderByWithAggregationInput[] - by: Prisma.AccountScalarFieldEnum[] | Prisma.AccountScalarFieldEnum - having?: Prisma.AccountScalarWhereWithAggregatesInput - take?: number - skip?: number - _count?: AccountCountAggregateInputType | true - _avg?: AccountAvgAggregateInputType - _sum?: AccountSumAggregateInputType - _min?: AccountMinAggregateInputType - _max?: AccountMaxAggregateInputType -} - -export type AccountGroupByOutputType = { - id: string - userId: string - type: string - provider: string - providerAccountId: string - refresh_token: string | null - access_token: string | null - expires_at: number | null - token_type: string | null - scope: string | null - id_token: string | null - session_state: string | null - _count: AccountCountAggregateOutputType | null - _avg: AccountAvgAggregateOutputType | null - _sum: AccountSumAggregateOutputType | null - _min: AccountMinAggregateOutputType | null - _max: AccountMaxAggregateOutputType | null -} - -export type GetAccountGroupByPayload = Prisma.PrismaPromise< - Array< - Prisma.PickEnumerable & - { - [P in ((keyof T) & (keyof AccountGroupByOutputType))]: P extends '_count' - ? T[P] extends boolean - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType - } - > - > - - - -export type AccountWhereInput = { - AND?: Prisma.AccountWhereInput | Prisma.AccountWhereInput[] - OR?: Prisma.AccountWhereInput[] - NOT?: Prisma.AccountWhereInput | Prisma.AccountWhereInput[] - id?: Prisma.StringFilter<"Account"> | string - userId?: Prisma.StringFilter<"Account"> | string - type?: Prisma.StringFilter<"Account"> | string - provider?: Prisma.StringFilter<"Account"> | string - providerAccountId?: Prisma.StringFilter<"Account"> | string - refresh_token?: Prisma.StringNullableFilter<"Account"> | string | null - access_token?: Prisma.StringNullableFilter<"Account"> | string | null - expires_at?: Prisma.IntNullableFilter<"Account"> | number | null - token_type?: Prisma.StringNullableFilter<"Account"> | string | null - scope?: Prisma.StringNullableFilter<"Account"> | string | null - id_token?: Prisma.StringNullableFilter<"Account"> | string | null - session_state?: Prisma.StringNullableFilter<"Account"> | string | null - user?: Prisma.XOR -} - -export type AccountOrderByWithRelationInput = { - id?: Prisma.SortOrder - userId?: Prisma.SortOrder - type?: Prisma.SortOrder - provider?: Prisma.SortOrder - providerAccountId?: Prisma.SortOrder - refresh_token?: Prisma.SortOrderInput | Prisma.SortOrder - access_token?: Prisma.SortOrderInput | Prisma.SortOrder - expires_at?: Prisma.SortOrderInput | Prisma.SortOrder - token_type?: Prisma.SortOrderInput | Prisma.SortOrder - scope?: Prisma.SortOrderInput | Prisma.SortOrder - id_token?: Prisma.SortOrderInput | Prisma.SortOrder - session_state?: Prisma.SortOrderInput | Prisma.SortOrder - user?: Prisma.UserOrderByWithRelationInput -} - -export type AccountWhereUniqueInput = Prisma.AtLeast<{ - id?: string - provider_providerAccountId?: Prisma.AccountProviderProviderAccountIdCompoundUniqueInput - AND?: Prisma.AccountWhereInput | Prisma.AccountWhereInput[] - OR?: Prisma.AccountWhereInput[] - NOT?: Prisma.AccountWhereInput | Prisma.AccountWhereInput[] - userId?: Prisma.StringFilter<"Account"> | string - type?: Prisma.StringFilter<"Account"> | string - provider?: Prisma.StringFilter<"Account"> | string - providerAccountId?: Prisma.StringFilter<"Account"> | string - refresh_token?: Prisma.StringNullableFilter<"Account"> | string | null - access_token?: Prisma.StringNullableFilter<"Account"> | string | null - expires_at?: Prisma.IntNullableFilter<"Account"> | number | null - token_type?: Prisma.StringNullableFilter<"Account"> | string | null - scope?: Prisma.StringNullableFilter<"Account"> | string | null - id_token?: Prisma.StringNullableFilter<"Account"> | string | null - session_state?: Prisma.StringNullableFilter<"Account"> | string | null - user?: Prisma.XOR -}, "id" | "provider_providerAccountId"> - -export type AccountOrderByWithAggregationInput = { - id?: Prisma.SortOrder - userId?: Prisma.SortOrder - type?: Prisma.SortOrder - provider?: Prisma.SortOrder - providerAccountId?: Prisma.SortOrder - refresh_token?: Prisma.SortOrderInput | Prisma.SortOrder - access_token?: Prisma.SortOrderInput | Prisma.SortOrder - expires_at?: Prisma.SortOrderInput | Prisma.SortOrder - token_type?: Prisma.SortOrderInput | Prisma.SortOrder - scope?: Prisma.SortOrderInput | Prisma.SortOrder - id_token?: Prisma.SortOrderInput | Prisma.SortOrder - session_state?: Prisma.SortOrderInput | Prisma.SortOrder - _count?: Prisma.AccountCountOrderByAggregateInput - _avg?: Prisma.AccountAvgOrderByAggregateInput - _max?: Prisma.AccountMaxOrderByAggregateInput - _min?: Prisma.AccountMinOrderByAggregateInput - _sum?: Prisma.AccountSumOrderByAggregateInput -} - -export type AccountScalarWhereWithAggregatesInput = { - AND?: Prisma.AccountScalarWhereWithAggregatesInput | Prisma.AccountScalarWhereWithAggregatesInput[] - OR?: Prisma.AccountScalarWhereWithAggregatesInput[] - NOT?: Prisma.AccountScalarWhereWithAggregatesInput | Prisma.AccountScalarWhereWithAggregatesInput[] - id?: Prisma.StringWithAggregatesFilter<"Account"> | string - userId?: Prisma.StringWithAggregatesFilter<"Account"> | string - type?: Prisma.StringWithAggregatesFilter<"Account"> | string - provider?: Prisma.StringWithAggregatesFilter<"Account"> | string - providerAccountId?: Prisma.StringWithAggregatesFilter<"Account"> | string - refresh_token?: Prisma.StringNullableWithAggregatesFilter<"Account"> | string | null - access_token?: Prisma.StringNullableWithAggregatesFilter<"Account"> | string | null - expires_at?: Prisma.IntNullableWithAggregatesFilter<"Account"> | number | null - token_type?: Prisma.StringNullableWithAggregatesFilter<"Account"> | string | null - scope?: Prisma.StringNullableWithAggregatesFilter<"Account"> | string | null - id_token?: Prisma.StringNullableWithAggregatesFilter<"Account"> | string | null - session_state?: Prisma.StringNullableWithAggregatesFilter<"Account"> | string | null -} - -export type AccountCreateInput = { - id?: string - type: string - provider: string - providerAccountId: string - refresh_token?: string | null - access_token?: string | null - expires_at?: number | null - token_type?: string | null - scope?: string | null - id_token?: string | null - session_state?: string | null - user: Prisma.UserCreateNestedOneWithoutAccountsInput -} - -export type AccountUncheckedCreateInput = { - id?: string - userId: string - type: string - provider: string - providerAccountId: string - refresh_token?: string | null - access_token?: string | null - expires_at?: number | null - token_type?: string | null - scope?: string | null - id_token?: string | null - session_state?: string | null -} - -export type AccountUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.StringFieldUpdateOperationsInput | string - provider?: Prisma.StringFieldUpdateOperationsInput | string - providerAccountId?: Prisma.StringFieldUpdateOperationsInput | string - refresh_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - expires_at?: Prisma.NullableIntFieldUpdateOperationsInput | number | null - token_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - scope?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - id_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - session_state?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - user?: Prisma.UserUpdateOneRequiredWithoutAccountsNestedInput -} - -export type AccountUncheckedUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - userId?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.StringFieldUpdateOperationsInput | string - provider?: Prisma.StringFieldUpdateOperationsInput | string - providerAccountId?: Prisma.StringFieldUpdateOperationsInput | string - refresh_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - expires_at?: Prisma.NullableIntFieldUpdateOperationsInput | number | null - token_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - scope?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - id_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - session_state?: Prisma.NullableStringFieldUpdateOperationsInput | string | null -} - -export type AccountCreateManyInput = { - id?: string - userId: string - type: string - provider: string - providerAccountId: string - refresh_token?: string | null - access_token?: string | null - expires_at?: number | null - token_type?: string | null - scope?: string | null - id_token?: string | null - session_state?: string | null -} - -export type AccountUpdateManyMutationInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.StringFieldUpdateOperationsInput | string - provider?: Prisma.StringFieldUpdateOperationsInput | string - providerAccountId?: Prisma.StringFieldUpdateOperationsInput | string - refresh_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - expires_at?: Prisma.NullableIntFieldUpdateOperationsInput | number | null - token_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - scope?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - id_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - session_state?: Prisma.NullableStringFieldUpdateOperationsInput | string | null -} - -export type AccountUncheckedUpdateManyInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - userId?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.StringFieldUpdateOperationsInput | string - provider?: Prisma.StringFieldUpdateOperationsInput | string - providerAccountId?: Prisma.StringFieldUpdateOperationsInput | string - refresh_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - expires_at?: Prisma.NullableIntFieldUpdateOperationsInput | number | null - token_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - scope?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - id_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - session_state?: Prisma.NullableStringFieldUpdateOperationsInput | string | null -} - -export type AccountListRelationFilter = { - every?: Prisma.AccountWhereInput - some?: Prisma.AccountWhereInput - none?: Prisma.AccountWhereInput -} - -export type AccountOrderByRelationAggregateInput = { - _count?: Prisma.SortOrder -} - -export type AccountProviderProviderAccountIdCompoundUniqueInput = { - provider: string - providerAccountId: string -} - -export type AccountCountOrderByAggregateInput = { - id?: Prisma.SortOrder - userId?: Prisma.SortOrder - type?: Prisma.SortOrder - provider?: Prisma.SortOrder - providerAccountId?: Prisma.SortOrder - refresh_token?: Prisma.SortOrder - access_token?: Prisma.SortOrder - expires_at?: Prisma.SortOrder - token_type?: Prisma.SortOrder - scope?: Prisma.SortOrder - id_token?: Prisma.SortOrder - session_state?: Prisma.SortOrder -} - -export type AccountAvgOrderByAggregateInput = { - expires_at?: Prisma.SortOrder -} - -export type AccountMaxOrderByAggregateInput = { - id?: Prisma.SortOrder - userId?: Prisma.SortOrder - type?: Prisma.SortOrder - provider?: Prisma.SortOrder - providerAccountId?: Prisma.SortOrder - refresh_token?: Prisma.SortOrder - access_token?: Prisma.SortOrder - expires_at?: Prisma.SortOrder - token_type?: Prisma.SortOrder - scope?: Prisma.SortOrder - id_token?: Prisma.SortOrder - session_state?: Prisma.SortOrder -} - -export type AccountMinOrderByAggregateInput = { - id?: Prisma.SortOrder - userId?: Prisma.SortOrder - type?: Prisma.SortOrder - provider?: Prisma.SortOrder - providerAccountId?: Prisma.SortOrder - refresh_token?: Prisma.SortOrder - access_token?: Prisma.SortOrder - expires_at?: Prisma.SortOrder - token_type?: Prisma.SortOrder - scope?: Prisma.SortOrder - id_token?: Prisma.SortOrder - session_state?: Prisma.SortOrder -} - -export type AccountSumOrderByAggregateInput = { - expires_at?: Prisma.SortOrder -} - -export type AccountCreateNestedManyWithoutUserInput = { - create?: Prisma.XOR | Prisma.AccountCreateWithoutUserInput[] | Prisma.AccountUncheckedCreateWithoutUserInput[] - connectOrCreate?: Prisma.AccountCreateOrConnectWithoutUserInput | Prisma.AccountCreateOrConnectWithoutUserInput[] - createMany?: Prisma.AccountCreateManyUserInputEnvelope - connect?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[] -} - -export type AccountUncheckedCreateNestedManyWithoutUserInput = { - create?: Prisma.XOR | Prisma.AccountCreateWithoutUserInput[] | Prisma.AccountUncheckedCreateWithoutUserInput[] - connectOrCreate?: Prisma.AccountCreateOrConnectWithoutUserInput | Prisma.AccountCreateOrConnectWithoutUserInput[] - createMany?: Prisma.AccountCreateManyUserInputEnvelope - connect?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[] -} - -export type AccountUpdateManyWithoutUserNestedInput = { - create?: Prisma.XOR | Prisma.AccountCreateWithoutUserInput[] | Prisma.AccountUncheckedCreateWithoutUserInput[] - connectOrCreate?: Prisma.AccountCreateOrConnectWithoutUserInput | Prisma.AccountCreateOrConnectWithoutUserInput[] - upsert?: Prisma.AccountUpsertWithWhereUniqueWithoutUserInput | Prisma.AccountUpsertWithWhereUniqueWithoutUserInput[] - createMany?: Prisma.AccountCreateManyUserInputEnvelope - set?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[] - disconnect?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[] - delete?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[] - connect?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[] - update?: Prisma.AccountUpdateWithWhereUniqueWithoutUserInput | Prisma.AccountUpdateWithWhereUniqueWithoutUserInput[] - updateMany?: Prisma.AccountUpdateManyWithWhereWithoutUserInput | Prisma.AccountUpdateManyWithWhereWithoutUserInput[] - deleteMany?: Prisma.AccountScalarWhereInput | Prisma.AccountScalarWhereInput[] -} - -export type AccountUncheckedUpdateManyWithoutUserNestedInput = { - create?: Prisma.XOR | Prisma.AccountCreateWithoutUserInput[] | Prisma.AccountUncheckedCreateWithoutUserInput[] - connectOrCreate?: Prisma.AccountCreateOrConnectWithoutUserInput | Prisma.AccountCreateOrConnectWithoutUserInput[] - upsert?: Prisma.AccountUpsertWithWhereUniqueWithoutUserInput | Prisma.AccountUpsertWithWhereUniqueWithoutUserInput[] - createMany?: Prisma.AccountCreateManyUserInputEnvelope - set?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[] - disconnect?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[] - delete?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[] - connect?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[] - update?: Prisma.AccountUpdateWithWhereUniqueWithoutUserInput | Prisma.AccountUpdateWithWhereUniqueWithoutUserInput[] - updateMany?: Prisma.AccountUpdateManyWithWhereWithoutUserInput | Prisma.AccountUpdateManyWithWhereWithoutUserInput[] - deleteMany?: Prisma.AccountScalarWhereInput | Prisma.AccountScalarWhereInput[] -} - -export type NullableIntFieldUpdateOperationsInput = { - set?: number | null - increment?: number - decrement?: number - multiply?: number - divide?: number -} - -export type AccountCreateWithoutUserInput = { - id?: string - type: string - provider: string - providerAccountId: string - refresh_token?: string | null - access_token?: string | null - expires_at?: number | null - token_type?: string | null - scope?: string | null - id_token?: string | null - session_state?: string | null -} - -export type AccountUncheckedCreateWithoutUserInput = { - id?: string - type: string - provider: string - providerAccountId: string - refresh_token?: string | null - access_token?: string | null - expires_at?: number | null - token_type?: string | null - scope?: string | null - id_token?: string | null - session_state?: string | null -} - -export type AccountCreateOrConnectWithoutUserInput = { - where: Prisma.AccountWhereUniqueInput - create: Prisma.XOR -} - -export type AccountCreateManyUserInputEnvelope = { - data: Prisma.AccountCreateManyUserInput | Prisma.AccountCreateManyUserInput[] - skipDuplicates?: boolean -} - -export type AccountUpsertWithWhereUniqueWithoutUserInput = { - where: Prisma.AccountWhereUniqueInput - update: Prisma.XOR - create: Prisma.XOR -} - -export type AccountUpdateWithWhereUniqueWithoutUserInput = { - where: Prisma.AccountWhereUniqueInput - data: Prisma.XOR -} - -export type AccountUpdateManyWithWhereWithoutUserInput = { - where: Prisma.AccountScalarWhereInput - data: Prisma.XOR -} - -export type AccountScalarWhereInput = { - AND?: Prisma.AccountScalarWhereInput | Prisma.AccountScalarWhereInput[] - OR?: Prisma.AccountScalarWhereInput[] - NOT?: Prisma.AccountScalarWhereInput | Prisma.AccountScalarWhereInput[] - id?: Prisma.StringFilter<"Account"> | string - userId?: Prisma.StringFilter<"Account"> | string - type?: Prisma.StringFilter<"Account"> | string - provider?: Prisma.StringFilter<"Account"> | string - providerAccountId?: Prisma.StringFilter<"Account"> | string - refresh_token?: Prisma.StringNullableFilter<"Account"> | string | null - access_token?: Prisma.StringNullableFilter<"Account"> | string | null - expires_at?: Prisma.IntNullableFilter<"Account"> | number | null - token_type?: Prisma.StringNullableFilter<"Account"> | string | null - scope?: Prisma.StringNullableFilter<"Account"> | string | null - id_token?: Prisma.StringNullableFilter<"Account"> | string | null - session_state?: Prisma.StringNullableFilter<"Account"> | string | null -} - -export type AccountCreateManyUserInput = { - id?: string - type: string - provider: string - providerAccountId: string - refresh_token?: string | null - access_token?: string | null - expires_at?: number | null - token_type?: string | null - scope?: string | null - id_token?: string | null - session_state?: string | null -} - -export type AccountUpdateWithoutUserInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.StringFieldUpdateOperationsInput | string - provider?: Prisma.StringFieldUpdateOperationsInput | string - providerAccountId?: Prisma.StringFieldUpdateOperationsInput | string - refresh_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - expires_at?: Prisma.NullableIntFieldUpdateOperationsInput | number | null - token_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - scope?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - id_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - session_state?: Prisma.NullableStringFieldUpdateOperationsInput | string | null -} - -export type AccountUncheckedUpdateWithoutUserInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.StringFieldUpdateOperationsInput | string - provider?: Prisma.StringFieldUpdateOperationsInput | string - providerAccountId?: Prisma.StringFieldUpdateOperationsInput | string - refresh_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - expires_at?: Prisma.NullableIntFieldUpdateOperationsInput | number | null - token_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - scope?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - id_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - session_state?: Prisma.NullableStringFieldUpdateOperationsInput | string | null -} - -export type AccountUncheckedUpdateManyWithoutUserInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.StringFieldUpdateOperationsInput | string - provider?: Prisma.StringFieldUpdateOperationsInput | string - providerAccountId?: Prisma.StringFieldUpdateOperationsInput | string - refresh_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - expires_at?: Prisma.NullableIntFieldUpdateOperationsInput | number | null - token_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - scope?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - id_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - session_state?: Prisma.NullableStringFieldUpdateOperationsInput | string | null -} - - - -export type AccountSelect = runtime.Types.Extensions.GetSelect<{ - id?: boolean - userId?: boolean - type?: boolean - provider?: boolean - providerAccountId?: boolean - refresh_token?: boolean - access_token?: boolean - expires_at?: boolean - token_type?: boolean - scope?: boolean - id_token?: boolean - session_state?: boolean - user?: boolean | Prisma.UserDefaultArgs -}, ExtArgs["result"]["account"]> - -export type AccountSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - userId?: boolean - type?: boolean - provider?: boolean - providerAccountId?: boolean - refresh_token?: boolean - access_token?: boolean - expires_at?: boolean - token_type?: boolean - scope?: boolean - id_token?: boolean - session_state?: boolean - user?: boolean | Prisma.UserDefaultArgs -}, ExtArgs["result"]["account"]> - -export type AccountSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - userId?: boolean - type?: boolean - provider?: boolean - providerAccountId?: boolean - refresh_token?: boolean - access_token?: boolean - expires_at?: boolean - token_type?: boolean - scope?: boolean - id_token?: boolean - session_state?: boolean - user?: boolean | Prisma.UserDefaultArgs -}, ExtArgs["result"]["account"]> - -export type AccountSelectScalar = { - id?: boolean - userId?: boolean - type?: boolean - provider?: boolean - providerAccountId?: boolean - refresh_token?: boolean - access_token?: boolean - expires_at?: boolean - token_type?: boolean - scope?: boolean - id_token?: boolean - session_state?: boolean -} - -export type AccountOmit = runtime.Types.Extensions.GetOmit<"id" | "userId" | "type" | "provider" | "providerAccountId" | "refresh_token" | "access_token" | "expires_at" | "token_type" | "scope" | "id_token" | "session_state", ExtArgs["result"]["account"]> -export type AccountInclude = { - user?: boolean | Prisma.UserDefaultArgs -} -export type AccountIncludeCreateManyAndReturn = { - user?: boolean | Prisma.UserDefaultArgs -} -export type AccountIncludeUpdateManyAndReturn = { - user?: boolean | Prisma.UserDefaultArgs -} - -export type $AccountPayload = { - name: "Account" - objects: { - user: Prisma.$UserPayload - } - scalars: runtime.Types.Extensions.GetPayloadResult<{ - id: string - userId: string - type: string - provider: string - providerAccountId: string - refresh_token: string | null - access_token: string | null - expires_at: number | null - token_type: string | null - scope: string | null - id_token: string | null - session_state: string | null - }, ExtArgs["result"]["account"]> - composites: {} -} - -export type AccountGetPayload = runtime.Types.Result.GetResult - -export type AccountCountArgs = - Omit & { - select?: AccountCountAggregateInputType | true - } - -export interface AccountDelegate { - [K: symbol]: { types: Prisma.TypeMap['model']['Account'], meta: { name: 'Account' } } - /** - * Find zero or one Account that matches the filter. - * @param {AccountFindUniqueArgs} args - Arguments to find a Account - * @example - * // Get one Account - * const account = await prisma.account.findUnique({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__AccountClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find one Account that matches the filter or throw an error with `error.code='P2025'` - * if no matches were found. - * @param {AccountFindUniqueOrThrowArgs} args - Arguments to find a Account - * @example - * // Get one Account - * const account = await prisma.account.findUniqueOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__AccountClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find the first Account 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 {AccountFindFirstArgs} args - Arguments to find a Account - * @example - * // Get one Account - * const account = await prisma.account.findFirst({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__AccountClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find the first Account 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 {AccountFindFirstOrThrowArgs} args - Arguments to find a Account - * @example - * // Get one Account - * const account = await prisma.account.findFirstOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__AccountClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find zero or more Accounts 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 {AccountFindManyArgs} args - Arguments to filter and select certain fields only. - * @example - * // Get all Accounts - * const accounts = await prisma.account.findMany() - * - * // Get first 10 Accounts - * const accounts = await prisma.account.findMany({ take: 10 }) - * - * // Only select the `id` - * const accountWithIdOnly = await prisma.account.findMany({ select: { id: true } }) - * - */ - findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> - - /** - * Create a Account. - * @param {AccountCreateArgs} args - Arguments to create a Account. - * @example - * // Create one Account - * const Account = await prisma.account.create({ - * data: { - * // ... data to create a Account - * } - * }) - * - */ - create(args: Prisma.SelectSubset>): Prisma.Prisma__AccountClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Create many Accounts. - * @param {AccountCreateManyArgs} args - Arguments to create many Accounts. - * @example - * // Create many Accounts - * const account = await prisma.account.createMany({ - * data: [ - * // ... provide data here - * ] - * }) - * - */ - createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Create many Accounts and returns the data saved in the database. - * @param {AccountCreateManyAndReturnArgs} args - Arguments to create many Accounts. - * @example - * // Create many Accounts - * const account = await prisma.account.createManyAndReturn({ - * data: [ - * // ... provide data here - * ] - * }) - * - * // Create many Accounts and only return the `id` - * const accountWithIdOnly = await prisma.account.createManyAndReturn({ - * select: { id: true }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> - - /** - * Delete a Account. - * @param {AccountDeleteArgs} args - Arguments to delete one Account. - * @example - * // Delete one Account - * const Account = await prisma.account.delete({ - * where: { - * // ... filter to delete one Account - * } - * }) - * - */ - delete(args: Prisma.SelectSubset>): Prisma.Prisma__AccountClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Update one Account. - * @param {AccountUpdateArgs} args - Arguments to update one Account. - * @example - * // Update one Account - * const account = await prisma.account.update({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - update(args: Prisma.SelectSubset>): Prisma.Prisma__AccountClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Delete zero or more Accounts. - * @param {AccountDeleteManyArgs} args - Arguments to filter Accounts to delete. - * @example - * // Delete a few Accounts - * const { count } = await prisma.account.deleteMany({ - * where: { - * // ... provide filter here - * } - * }) - * - */ - deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more Accounts. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AccountUpdateManyArgs} args - Arguments to update one or more rows. - * @example - * // Update many Accounts - * const account = await prisma.account.updateMany({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more Accounts and returns the data updated in the database. - * @param {AccountUpdateManyAndReturnArgs} args - Arguments to update many Accounts. - * @example - * // Update many Accounts - * const account = await prisma.account.updateManyAndReturn({ - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * - * // Update zero or more Accounts and only return the `id` - * const accountWithIdOnly = await prisma.account.updateManyAndReturn({ - * select: { id: true }, - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> - - /** - * Create or update one Account. - * @param {AccountUpsertArgs} args - Arguments to update or create a Account. - * @example - * // Update or create a Account - * const account = await prisma.account.upsert({ - * create: { - * // ... data to create a Account - * }, - * update: { - * // ... in case it already exists, update - * }, - * where: { - * // ... the filter for the Account we want to update - * } - * }) - */ - upsert(args: Prisma.SelectSubset>): Prisma.Prisma__AccountClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - - /** - * Count the number of Accounts. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AccountCountArgs} args - Arguments to filter Accounts to count. - * @example - * // Count the number of Accounts - * const count = await prisma.account.count({ - * where: { - * // ... the filter for the Accounts we want to count - * } - * }) - **/ - count( - args?: Prisma.Subset, - ): Prisma.PrismaPromise< - T extends runtime.Types.Utils.Record<'select', any> - ? T['select'] extends true - ? number - : Prisma.GetScalarType - : number - > - - /** - * Allows you to perform aggregations operations on a Account. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AccountAggregateArgs} args - Select which aggregations you would like to apply and on what fields. - * @example - * // Ordered by age ascending - * // Where email contains prisma.io - * // Limited to the 10 users - * const aggregations = await prisma.user.aggregate({ - * _avg: { - * age: true, - * }, - * where: { - * email: { - * contains: "prisma.io", - * }, - * }, - * orderBy: { - * age: "asc", - * }, - * take: 10, - * }) - **/ - aggregate(args: Prisma.Subset): Prisma.PrismaPromise> - - /** - * Group by Account. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AccountGroupByArgs} 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 AccountGroupByArgs, - HasSelectOrTake extends Prisma.Or< - Prisma.Extends<'skip', Prisma.Keys>, - Prisma.Extends<'take', Prisma.Keys> - >, - OrderByArg extends Prisma.True extends HasSelectOrTake - ? { orderBy: AccountGroupByArgs['orderBy'] } - : { orderBy?: AccountGroupByArgs['orderBy'] }, - OrderFields extends Prisma.ExcludeUnderscoreKeys>>, - ByFields extends Prisma.MaybeTupleToUnion, - ByValid extends Prisma.Has, - HavingFields extends Prisma.GetHavingFields, - HavingValid extends Prisma.Has, - ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, - InputErrors extends ByEmpty extends Prisma.True - ? `Error: "by" must not be empty.` - : HavingValid extends Prisma.False - ? { - [P in HavingFields]: P extends ByFields - ? never - : P extends string - ? `Error: Field "${P}" used in "having" needs to be provided in "by".` - : [ - Error, - 'Field ', - P, - ` in "having" needs to be provided in "by"`, - ] - }[HavingFields] - : 'take' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "take", you also need to provide "orderBy"' - : 'skip' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "skip", you also need to provide "orderBy"' - : ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetAccountGroupByPayload : Prisma.PrismaPromise -/** - * Fields of the Account model - */ -readonly fields: AccountFieldRefs; -} - -/** - * The delegate class that acts as a "Promise-like" for Account. - * 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__AccountClient extends Prisma.PrismaPromise { - readonly [Symbol.toStringTag]: "PrismaPromise" - user = {}>(args?: Prisma.Subset>): Prisma.Prisma__UserClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> - /** - * Attaches callbacks for the resolution and/or rejection of the Promise. - * @param onfulfilled The callback to execute when the Promise is resolved. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of which ever callback is executed. - */ - then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback for only the rejection of the Promise. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of the callback. - */ - catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The - * resolved value cannot be modified from the callback. - * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). - * @returns A Promise for the completion of the callback. - */ - finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise -} - - - - -/** - * Fields of the Account model - */ -export interface AccountFieldRefs { - readonly id: Prisma.FieldRef<"Account", 'String'> - readonly userId: Prisma.FieldRef<"Account", 'String'> - readonly type: Prisma.FieldRef<"Account", 'String'> - readonly provider: Prisma.FieldRef<"Account", 'String'> - readonly providerAccountId: Prisma.FieldRef<"Account", 'String'> - readonly refresh_token: Prisma.FieldRef<"Account", 'String'> - readonly access_token: Prisma.FieldRef<"Account", 'String'> - readonly expires_at: Prisma.FieldRef<"Account", 'Int'> - readonly token_type: Prisma.FieldRef<"Account", 'String'> - readonly scope: Prisma.FieldRef<"Account", 'String'> - readonly id_token: Prisma.FieldRef<"Account", 'String'> - readonly session_state: Prisma.FieldRef<"Account", 'String'> -} - - -// Custom InputTypes -/** - * Account findUnique - */ -export type AccountFindUniqueArgs = { - /** - * Select specific fields to fetch from the Account - */ - select?: Prisma.AccountSelect | null - /** - * Omit specific fields from the Account - */ - omit?: Prisma.AccountOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AccountInclude | null - /** - * Filter, which Account to fetch. - */ - where: Prisma.AccountWhereUniqueInput -} - -/** - * Account findUniqueOrThrow - */ -export type AccountFindUniqueOrThrowArgs = { - /** - * Select specific fields to fetch from the Account - */ - select?: Prisma.AccountSelect | null - /** - * Omit specific fields from the Account - */ - omit?: Prisma.AccountOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AccountInclude | null - /** - * Filter, which Account to fetch. - */ - where: Prisma.AccountWhereUniqueInput -} - -/** - * Account findFirst - */ -export type AccountFindFirstArgs = { - /** - * Select specific fields to fetch from the Account - */ - select?: Prisma.AccountSelect | null - /** - * Omit specific fields from the Account - */ - omit?: Prisma.AccountOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AccountInclude | null - /** - * Filter, which Account to fetch. - */ - where?: Prisma.AccountWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Accounts to fetch. - */ - orderBy?: Prisma.AccountOrderByWithRelationInput | Prisma.AccountOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for Accounts. - */ - cursor?: Prisma.AccountWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Accounts 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` Accounts. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Accounts. - */ - distinct?: Prisma.AccountScalarFieldEnum | Prisma.AccountScalarFieldEnum[] -} - -/** - * Account findFirstOrThrow - */ -export type AccountFindFirstOrThrowArgs = { - /** - * Select specific fields to fetch from the Account - */ - select?: Prisma.AccountSelect | null - /** - * Omit specific fields from the Account - */ - omit?: Prisma.AccountOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AccountInclude | null - /** - * Filter, which Account to fetch. - */ - where?: Prisma.AccountWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Accounts to fetch. - */ - orderBy?: Prisma.AccountOrderByWithRelationInput | Prisma.AccountOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for Accounts. - */ - cursor?: Prisma.AccountWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Accounts 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` Accounts. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Accounts. - */ - distinct?: Prisma.AccountScalarFieldEnum | Prisma.AccountScalarFieldEnum[] -} - -/** - * Account findMany - */ -export type AccountFindManyArgs = { - /** - * Select specific fields to fetch from the Account - */ - select?: Prisma.AccountSelect | null - /** - * Omit specific fields from the Account - */ - omit?: Prisma.AccountOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AccountInclude | null - /** - * Filter, which Accounts to fetch. - */ - where?: Prisma.AccountWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Accounts to fetch. - */ - orderBy?: Prisma.AccountOrderByWithRelationInput | Prisma.AccountOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for listing Accounts. - */ - cursor?: Prisma.AccountWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Accounts 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` Accounts. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Accounts. - */ - distinct?: Prisma.AccountScalarFieldEnum | Prisma.AccountScalarFieldEnum[] -} - -/** - * Account create - */ -export type AccountCreateArgs = { - /** - * Select specific fields to fetch from the Account - */ - select?: Prisma.AccountSelect | null - /** - * Omit specific fields from the Account - */ - omit?: Prisma.AccountOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AccountInclude | null - /** - * The data needed to create a Account. - */ - data: Prisma.XOR -} - -/** - * Account createMany - */ -export type AccountCreateManyArgs = { - /** - * The data used to create many Accounts. - */ - data: Prisma.AccountCreateManyInput | Prisma.AccountCreateManyInput[] - skipDuplicates?: boolean -} - -/** - * Account createManyAndReturn - */ -export type AccountCreateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the Account - */ - select?: Prisma.AccountSelectCreateManyAndReturn | null - /** - * Omit specific fields from the Account - */ - omit?: Prisma.AccountOmit | null - /** - * The data used to create many Accounts. - */ - data: Prisma.AccountCreateManyInput | Prisma.AccountCreateManyInput[] - skipDuplicates?: boolean - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AccountIncludeCreateManyAndReturn | null -} - -/** - * Account update - */ -export type AccountUpdateArgs = { - /** - * Select specific fields to fetch from the Account - */ - select?: Prisma.AccountSelect | null - /** - * Omit specific fields from the Account - */ - omit?: Prisma.AccountOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AccountInclude | null - /** - * The data needed to update a Account. - */ - data: Prisma.XOR - /** - * Choose, which Account to update. - */ - where: Prisma.AccountWhereUniqueInput -} - -/** - * Account updateMany - */ -export type AccountUpdateManyArgs = { - /** - * The data used to update Accounts. - */ - data: Prisma.XOR - /** - * Filter which Accounts to update - */ - where?: Prisma.AccountWhereInput - /** - * Limit how many Accounts to update. - */ - limit?: number -} - -/** - * Account updateManyAndReturn - */ -export type AccountUpdateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the Account - */ - select?: Prisma.AccountSelectUpdateManyAndReturn | null - /** - * Omit specific fields from the Account - */ - omit?: Prisma.AccountOmit | null - /** - * The data used to update Accounts. - */ - data: Prisma.XOR - /** - * Filter which Accounts to update - */ - where?: Prisma.AccountWhereInput - /** - * Limit how many Accounts to update. - */ - limit?: number - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AccountIncludeUpdateManyAndReturn | null -} - -/** - * Account upsert - */ -export type AccountUpsertArgs = { - /** - * Select specific fields to fetch from the Account - */ - select?: Prisma.AccountSelect | null - /** - * Omit specific fields from the Account - */ - omit?: Prisma.AccountOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AccountInclude | null - /** - * The filter to search for the Account to update in case it exists. - */ - where: Prisma.AccountWhereUniqueInput - /** - * In case the Account found by the `where` argument doesn't exist, create a new Account with this data. - */ - create: Prisma.XOR - /** - * In case the Account was found with the provided `where` argument, update it with this data. - */ - update: Prisma.XOR -} - -/** - * Account delete - */ -export type AccountDeleteArgs = { - /** - * Select specific fields to fetch from the Account - */ - select?: Prisma.AccountSelect | null - /** - * Omit specific fields from the Account - */ - omit?: Prisma.AccountOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AccountInclude | null - /** - * Filter which Account to delete. - */ - where: Prisma.AccountWhereUniqueInput -} - -/** - * Account deleteMany - */ -export type AccountDeleteManyArgs = { - /** - * Filter which Accounts to delete - */ - where?: Prisma.AccountWhereInput - /** - * Limit how many Accounts to delete. - */ - limit?: number -} - -/** - * Account without action - */ -export type AccountDefaultArgs = { - /** - * Select specific fields to fetch from the Account - */ - select?: Prisma.AccountSelect | null - /** - * Omit specific fields from the Account - */ - omit?: Prisma.AccountOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AccountInclude | null -} diff --git a/app/generated/prisma/models/Booking.ts b/app/generated/prisma/models/Booking.ts deleted file mode 100644 index 07ab345..0000000 --- a/app/generated/prisma/models/Booking.ts +++ /dev/null @@ -1,2098 +0,0 @@ - -/* !!! This is code generated by Prisma. Do not edit directly. !!! */ -/* eslint-disable */ -// biome-ignore-all lint: generated file -// @ts-nocheck -/* - * This file exports the `Booking` 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 Booking - * Booking 1-1 ke TripParticipant. Lifecycle ikut peserta: - * - join → Booking PENDING (menunggu approve organizer) - * - organizer confirm → AWAITING_PAY (paid trip) atau PAID (free trip) - * - peserta + organizer rampungkan pembayaran → PAID - * - cancel/reject → CANCELLED - * `amount` adalah snapshot harga saat booking dibuat — protect dari perubahan trip.price. - */ -export type BookingModel = runtime.Types.Result.DefaultSelection - -export type AggregateBooking = { - _count: BookingCountAggregateOutputType | null - _avg: BookingAvgAggregateOutputType | null - _sum: BookingSumAggregateOutputType | null - _min: BookingMinAggregateOutputType | null - _max: BookingMaxAggregateOutputType | null -} - -export type BookingAvgAggregateOutputType = { - amount: number | null -} - -export type BookingSumAggregateOutputType = { - amount: number | null -} - -export type BookingMinAggregateOutputType = { - id: string | null - tripId: string | null - userId: string | null - participantId: string | null - amount: number | null - currency: string | null - status: $Enums.BookingStatus | null - createdAt: Date | null - updatedAt: Date | null -} - -export type BookingMaxAggregateOutputType = { - id: string | null - tripId: string | null - userId: string | null - participantId: string | null - amount: number | null - currency: string | null - status: $Enums.BookingStatus | null - createdAt: Date | null - updatedAt: Date | null -} - -export type BookingCountAggregateOutputType = { - id: number - tripId: number - userId: number - participantId: number - amount: number - currency: number - status: number - createdAt: number - updatedAt: number - _all: number -} - - -export type BookingAvgAggregateInputType = { - amount?: true -} - -export type BookingSumAggregateInputType = { - amount?: true -} - -export type BookingMinAggregateInputType = { - id?: true - tripId?: true - userId?: true - participantId?: true - amount?: true - currency?: true - status?: true - createdAt?: true - updatedAt?: true -} - -export type BookingMaxAggregateInputType = { - id?: true - tripId?: true - userId?: true - participantId?: true - amount?: true - currency?: true - status?: true - createdAt?: true - updatedAt?: true -} - -export type BookingCountAggregateInputType = { - id?: true - tripId?: true - userId?: true - participantId?: true - amount?: true - currency?: true - status?: true - createdAt?: true - updatedAt?: true - _all?: true -} - -export type BookingAggregateArgs = { - /** - * Filter which Booking to aggregate. - */ - where?: Prisma.BookingWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Bookings to fetch. - */ - orderBy?: Prisma.BookingOrderByWithRelationInput | Prisma.BookingOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the start position - */ - cursor?: Prisma.BookingWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Bookings 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` Bookings. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Count returned Bookings - **/ - _count?: true | BookingCountAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to average - **/ - _avg?: BookingAvgAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to sum - **/ - _sum?: BookingSumAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the minimum value - **/ - _min?: BookingMinAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the maximum value - **/ - _max?: BookingMaxAggregateInputType -} - -export type GetBookingAggregateType = { - [P in keyof T & keyof AggregateBooking]: P extends '_count' | 'count' - ? T[P] extends true - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType -} - - - - -export type BookingGroupByArgs = { - where?: Prisma.BookingWhereInput - orderBy?: Prisma.BookingOrderByWithAggregationInput | Prisma.BookingOrderByWithAggregationInput[] - by: Prisma.BookingScalarFieldEnum[] | Prisma.BookingScalarFieldEnum - having?: Prisma.BookingScalarWhereWithAggregatesInput - take?: number - skip?: number - _count?: BookingCountAggregateInputType | true - _avg?: BookingAvgAggregateInputType - _sum?: BookingSumAggregateInputType - _min?: BookingMinAggregateInputType - _max?: BookingMaxAggregateInputType -} - -export type BookingGroupByOutputType = { - id: string - tripId: string - userId: string - participantId: string - amount: number - currency: string - status: $Enums.BookingStatus - createdAt: Date - updatedAt: Date - _count: BookingCountAggregateOutputType | null - _avg: BookingAvgAggregateOutputType | null - _sum: BookingSumAggregateOutputType | null - _min: BookingMinAggregateOutputType | null - _max: BookingMaxAggregateOutputType | null -} - -export type GetBookingGroupByPayload = Prisma.PrismaPromise< - Array< - Prisma.PickEnumerable & - { - [P in ((keyof T) & (keyof BookingGroupByOutputType))]: P extends '_count' - ? T[P] extends boolean - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType - } - > - > - - - -export type BookingWhereInput = { - AND?: Prisma.BookingWhereInput | Prisma.BookingWhereInput[] - OR?: Prisma.BookingWhereInput[] - NOT?: Prisma.BookingWhereInput | Prisma.BookingWhereInput[] - id?: Prisma.StringFilter<"Booking"> | string - tripId?: Prisma.StringFilter<"Booking"> | string - userId?: Prisma.StringFilter<"Booking"> | string - participantId?: Prisma.StringFilter<"Booking"> | string - amount?: Prisma.IntFilter<"Booking"> | number - currency?: Prisma.StringFilter<"Booking"> | string - status?: Prisma.EnumBookingStatusFilter<"Booking"> | $Enums.BookingStatus - createdAt?: Prisma.DateTimeFilter<"Booking"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"Booking"> | Date | string - trip?: Prisma.XOR - user?: Prisma.XOR - participant?: Prisma.XOR - payments?: Prisma.PaymentListRelationFilter - refunds?: Prisma.RefundListRelationFilter -} - -export type BookingOrderByWithRelationInput = { - id?: Prisma.SortOrder - tripId?: Prisma.SortOrder - userId?: Prisma.SortOrder - participantId?: Prisma.SortOrder - amount?: Prisma.SortOrder - currency?: Prisma.SortOrder - status?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - trip?: Prisma.TripOrderByWithRelationInput - user?: Prisma.UserOrderByWithRelationInput - participant?: Prisma.TripParticipantOrderByWithRelationInput - payments?: Prisma.PaymentOrderByRelationAggregateInput - refunds?: Prisma.RefundOrderByRelationAggregateInput -} - -export type BookingWhereUniqueInput = Prisma.AtLeast<{ - id?: string - participantId?: string - tripId_userId?: Prisma.BookingTripIdUserIdCompoundUniqueInput - AND?: Prisma.BookingWhereInput | Prisma.BookingWhereInput[] - OR?: Prisma.BookingWhereInput[] - NOT?: Prisma.BookingWhereInput | Prisma.BookingWhereInput[] - tripId?: Prisma.StringFilter<"Booking"> | string - userId?: Prisma.StringFilter<"Booking"> | string - amount?: Prisma.IntFilter<"Booking"> | number - currency?: Prisma.StringFilter<"Booking"> | string - status?: Prisma.EnumBookingStatusFilter<"Booking"> | $Enums.BookingStatus - createdAt?: Prisma.DateTimeFilter<"Booking"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"Booking"> | Date | string - trip?: Prisma.XOR - user?: Prisma.XOR - participant?: Prisma.XOR - payments?: Prisma.PaymentListRelationFilter - refunds?: Prisma.RefundListRelationFilter -}, "id" | "participantId" | "tripId_userId"> - -export type BookingOrderByWithAggregationInput = { - id?: Prisma.SortOrder - tripId?: Prisma.SortOrder - userId?: Prisma.SortOrder - participantId?: Prisma.SortOrder - amount?: Prisma.SortOrder - currency?: Prisma.SortOrder - status?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - _count?: Prisma.BookingCountOrderByAggregateInput - _avg?: Prisma.BookingAvgOrderByAggregateInput - _max?: Prisma.BookingMaxOrderByAggregateInput - _min?: Prisma.BookingMinOrderByAggregateInput - _sum?: Prisma.BookingSumOrderByAggregateInput -} - -export type BookingScalarWhereWithAggregatesInput = { - AND?: Prisma.BookingScalarWhereWithAggregatesInput | Prisma.BookingScalarWhereWithAggregatesInput[] - OR?: Prisma.BookingScalarWhereWithAggregatesInput[] - NOT?: Prisma.BookingScalarWhereWithAggregatesInput | Prisma.BookingScalarWhereWithAggregatesInput[] - id?: Prisma.StringWithAggregatesFilter<"Booking"> | string - tripId?: Prisma.StringWithAggregatesFilter<"Booking"> | string - userId?: Prisma.StringWithAggregatesFilter<"Booking"> | string - participantId?: Prisma.StringWithAggregatesFilter<"Booking"> | string - amount?: Prisma.IntWithAggregatesFilter<"Booking"> | number - currency?: Prisma.StringWithAggregatesFilter<"Booking"> | string - status?: Prisma.EnumBookingStatusWithAggregatesFilter<"Booking"> | $Enums.BookingStatus - createdAt?: Prisma.DateTimeWithAggregatesFilter<"Booking"> | Date | string - updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Booking"> | Date | string -} - -export type BookingCreateInput = { - id?: string - amount: number - currency?: string - status?: $Enums.BookingStatus - createdAt?: Date | string - updatedAt?: Date | string - trip: Prisma.TripCreateNestedOneWithoutBookingsInput - user: Prisma.UserCreateNestedOneWithoutBookingsInput - participant: Prisma.TripParticipantCreateNestedOneWithoutBookingInput - payments?: Prisma.PaymentCreateNestedManyWithoutBookingInput - refunds?: Prisma.RefundCreateNestedManyWithoutBookingInput -} - -export type BookingUncheckedCreateInput = { - id?: string - tripId: string - userId: string - participantId: string - amount: number - currency?: string - status?: $Enums.BookingStatus - createdAt?: Date | string - updatedAt?: Date | string - payments?: Prisma.PaymentUncheckedCreateNestedManyWithoutBookingInput - refunds?: Prisma.RefundUncheckedCreateNestedManyWithoutBookingInput -} - -export type BookingUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - amount?: Prisma.IntFieldUpdateOperationsInput | number - currency?: Prisma.StringFieldUpdateOperationsInput | string - status?: Prisma.EnumBookingStatusFieldUpdateOperationsInput | $Enums.BookingStatus - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - trip?: Prisma.TripUpdateOneRequiredWithoutBookingsNestedInput - user?: Prisma.UserUpdateOneRequiredWithoutBookingsNestedInput - participant?: Prisma.TripParticipantUpdateOneRequiredWithoutBookingNestedInput - payments?: Prisma.PaymentUpdateManyWithoutBookingNestedInput - refunds?: Prisma.RefundUpdateManyWithoutBookingNestedInput -} - -export type BookingUncheckedUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - tripId?: Prisma.StringFieldUpdateOperationsInput | string - userId?: Prisma.StringFieldUpdateOperationsInput | string - participantId?: Prisma.StringFieldUpdateOperationsInput | string - amount?: Prisma.IntFieldUpdateOperationsInput | number - currency?: Prisma.StringFieldUpdateOperationsInput | string - status?: Prisma.EnumBookingStatusFieldUpdateOperationsInput | $Enums.BookingStatus - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - payments?: Prisma.PaymentUncheckedUpdateManyWithoutBookingNestedInput - refunds?: Prisma.RefundUncheckedUpdateManyWithoutBookingNestedInput -} - -export type BookingCreateManyInput = { - id?: string - tripId: string - userId: string - participantId: string - amount: number - currency?: string - status?: $Enums.BookingStatus - createdAt?: Date | string - updatedAt?: Date | string -} - -export type BookingUpdateManyMutationInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - amount?: Prisma.IntFieldUpdateOperationsInput | number - currency?: Prisma.StringFieldUpdateOperationsInput | string - status?: Prisma.EnumBookingStatusFieldUpdateOperationsInput | $Enums.BookingStatus - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - -export type BookingUncheckedUpdateManyInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - tripId?: Prisma.StringFieldUpdateOperationsInput | string - userId?: Prisma.StringFieldUpdateOperationsInput | string - participantId?: Prisma.StringFieldUpdateOperationsInput | string - amount?: Prisma.IntFieldUpdateOperationsInput | number - currency?: Prisma.StringFieldUpdateOperationsInput | string - status?: Prisma.EnumBookingStatusFieldUpdateOperationsInput | $Enums.BookingStatus - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - -export type BookingListRelationFilter = { - every?: Prisma.BookingWhereInput - some?: Prisma.BookingWhereInput - none?: Prisma.BookingWhereInput -} - -export type BookingOrderByRelationAggregateInput = { - _count?: Prisma.SortOrder -} - -export type BookingNullableScalarRelationFilter = { - is?: Prisma.BookingWhereInput | null - isNot?: Prisma.BookingWhereInput | null -} - -export type BookingTripIdUserIdCompoundUniqueInput = { - tripId: string - userId: string -} - -export type BookingCountOrderByAggregateInput = { - id?: Prisma.SortOrder - tripId?: Prisma.SortOrder - userId?: Prisma.SortOrder - participantId?: Prisma.SortOrder - amount?: Prisma.SortOrder - currency?: Prisma.SortOrder - status?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder -} - -export type BookingAvgOrderByAggregateInput = { - amount?: Prisma.SortOrder -} - -export type BookingMaxOrderByAggregateInput = { - id?: Prisma.SortOrder - tripId?: Prisma.SortOrder - userId?: Prisma.SortOrder - participantId?: Prisma.SortOrder - amount?: Prisma.SortOrder - currency?: Prisma.SortOrder - status?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder -} - -export type BookingMinOrderByAggregateInput = { - id?: Prisma.SortOrder - tripId?: Prisma.SortOrder - userId?: Prisma.SortOrder - participantId?: Prisma.SortOrder - amount?: Prisma.SortOrder - currency?: Prisma.SortOrder - status?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder -} - -export type BookingSumOrderByAggregateInput = { - amount?: Prisma.SortOrder -} - -export type BookingScalarRelationFilter = { - is?: Prisma.BookingWhereInput - isNot?: Prisma.BookingWhereInput -} - -export type BookingCreateNestedManyWithoutUserInput = { - create?: Prisma.XOR | Prisma.BookingCreateWithoutUserInput[] | Prisma.BookingUncheckedCreateWithoutUserInput[] - connectOrCreate?: Prisma.BookingCreateOrConnectWithoutUserInput | Prisma.BookingCreateOrConnectWithoutUserInput[] - createMany?: Prisma.BookingCreateManyUserInputEnvelope - connect?: Prisma.BookingWhereUniqueInput | Prisma.BookingWhereUniqueInput[] -} - -export type BookingUncheckedCreateNestedManyWithoutUserInput = { - create?: Prisma.XOR | Prisma.BookingCreateWithoutUserInput[] | Prisma.BookingUncheckedCreateWithoutUserInput[] - connectOrCreate?: Prisma.BookingCreateOrConnectWithoutUserInput | Prisma.BookingCreateOrConnectWithoutUserInput[] - createMany?: Prisma.BookingCreateManyUserInputEnvelope - connect?: Prisma.BookingWhereUniqueInput | Prisma.BookingWhereUniqueInput[] -} - -export type BookingUpdateManyWithoutUserNestedInput = { - create?: Prisma.XOR | Prisma.BookingCreateWithoutUserInput[] | Prisma.BookingUncheckedCreateWithoutUserInput[] - connectOrCreate?: Prisma.BookingCreateOrConnectWithoutUserInput | Prisma.BookingCreateOrConnectWithoutUserInput[] - upsert?: Prisma.BookingUpsertWithWhereUniqueWithoutUserInput | Prisma.BookingUpsertWithWhereUniqueWithoutUserInput[] - createMany?: Prisma.BookingCreateManyUserInputEnvelope - set?: Prisma.BookingWhereUniqueInput | Prisma.BookingWhereUniqueInput[] - disconnect?: Prisma.BookingWhereUniqueInput | Prisma.BookingWhereUniqueInput[] - delete?: Prisma.BookingWhereUniqueInput | Prisma.BookingWhereUniqueInput[] - connect?: Prisma.BookingWhereUniqueInput | Prisma.BookingWhereUniqueInput[] - update?: Prisma.BookingUpdateWithWhereUniqueWithoutUserInput | Prisma.BookingUpdateWithWhereUniqueWithoutUserInput[] - updateMany?: Prisma.BookingUpdateManyWithWhereWithoutUserInput | Prisma.BookingUpdateManyWithWhereWithoutUserInput[] - deleteMany?: Prisma.BookingScalarWhereInput | Prisma.BookingScalarWhereInput[] -} - -export type BookingUncheckedUpdateManyWithoutUserNestedInput = { - create?: Prisma.XOR | Prisma.BookingCreateWithoutUserInput[] | Prisma.BookingUncheckedCreateWithoutUserInput[] - connectOrCreate?: Prisma.BookingCreateOrConnectWithoutUserInput | Prisma.BookingCreateOrConnectWithoutUserInput[] - upsert?: Prisma.BookingUpsertWithWhereUniqueWithoutUserInput | Prisma.BookingUpsertWithWhereUniqueWithoutUserInput[] - createMany?: Prisma.BookingCreateManyUserInputEnvelope - set?: Prisma.BookingWhereUniqueInput | Prisma.BookingWhereUniqueInput[] - disconnect?: Prisma.BookingWhereUniqueInput | Prisma.BookingWhereUniqueInput[] - delete?: Prisma.BookingWhereUniqueInput | Prisma.BookingWhereUniqueInput[] - connect?: Prisma.BookingWhereUniqueInput | Prisma.BookingWhereUniqueInput[] - update?: Prisma.BookingUpdateWithWhereUniqueWithoutUserInput | Prisma.BookingUpdateWithWhereUniqueWithoutUserInput[] - updateMany?: Prisma.BookingUpdateManyWithWhereWithoutUserInput | Prisma.BookingUpdateManyWithWhereWithoutUserInput[] - deleteMany?: Prisma.BookingScalarWhereInput | Prisma.BookingScalarWhereInput[] -} - -export type BookingCreateNestedManyWithoutTripInput = { - create?: Prisma.XOR | Prisma.BookingCreateWithoutTripInput[] | Prisma.BookingUncheckedCreateWithoutTripInput[] - connectOrCreate?: Prisma.BookingCreateOrConnectWithoutTripInput | Prisma.BookingCreateOrConnectWithoutTripInput[] - createMany?: Prisma.BookingCreateManyTripInputEnvelope - connect?: Prisma.BookingWhereUniqueInput | Prisma.BookingWhereUniqueInput[] -} - -export type BookingUncheckedCreateNestedManyWithoutTripInput = { - create?: Prisma.XOR | Prisma.BookingCreateWithoutTripInput[] | Prisma.BookingUncheckedCreateWithoutTripInput[] - connectOrCreate?: Prisma.BookingCreateOrConnectWithoutTripInput | Prisma.BookingCreateOrConnectWithoutTripInput[] - createMany?: Prisma.BookingCreateManyTripInputEnvelope - connect?: Prisma.BookingWhereUniqueInput | Prisma.BookingWhereUniqueInput[] -} - -export type BookingUpdateManyWithoutTripNestedInput = { - create?: Prisma.XOR | Prisma.BookingCreateWithoutTripInput[] | Prisma.BookingUncheckedCreateWithoutTripInput[] - connectOrCreate?: Prisma.BookingCreateOrConnectWithoutTripInput | Prisma.BookingCreateOrConnectWithoutTripInput[] - upsert?: Prisma.BookingUpsertWithWhereUniqueWithoutTripInput | Prisma.BookingUpsertWithWhereUniqueWithoutTripInput[] - createMany?: Prisma.BookingCreateManyTripInputEnvelope - set?: Prisma.BookingWhereUniqueInput | Prisma.BookingWhereUniqueInput[] - disconnect?: Prisma.BookingWhereUniqueInput | Prisma.BookingWhereUniqueInput[] - delete?: Prisma.BookingWhereUniqueInput | Prisma.BookingWhereUniqueInput[] - connect?: Prisma.BookingWhereUniqueInput | Prisma.BookingWhereUniqueInput[] - update?: Prisma.BookingUpdateWithWhereUniqueWithoutTripInput | Prisma.BookingUpdateWithWhereUniqueWithoutTripInput[] - updateMany?: Prisma.BookingUpdateManyWithWhereWithoutTripInput | Prisma.BookingUpdateManyWithWhereWithoutTripInput[] - deleteMany?: Prisma.BookingScalarWhereInput | Prisma.BookingScalarWhereInput[] -} - -export type BookingUncheckedUpdateManyWithoutTripNestedInput = { - create?: Prisma.XOR | Prisma.BookingCreateWithoutTripInput[] | Prisma.BookingUncheckedCreateWithoutTripInput[] - connectOrCreate?: Prisma.BookingCreateOrConnectWithoutTripInput | Prisma.BookingCreateOrConnectWithoutTripInput[] - upsert?: Prisma.BookingUpsertWithWhereUniqueWithoutTripInput | Prisma.BookingUpsertWithWhereUniqueWithoutTripInput[] - createMany?: Prisma.BookingCreateManyTripInputEnvelope - set?: Prisma.BookingWhereUniqueInput | Prisma.BookingWhereUniqueInput[] - disconnect?: Prisma.BookingWhereUniqueInput | Prisma.BookingWhereUniqueInput[] - delete?: Prisma.BookingWhereUniqueInput | Prisma.BookingWhereUniqueInput[] - connect?: Prisma.BookingWhereUniqueInput | Prisma.BookingWhereUniqueInput[] - update?: Prisma.BookingUpdateWithWhereUniqueWithoutTripInput | Prisma.BookingUpdateWithWhereUniqueWithoutTripInput[] - updateMany?: Prisma.BookingUpdateManyWithWhereWithoutTripInput | Prisma.BookingUpdateManyWithWhereWithoutTripInput[] - deleteMany?: Prisma.BookingScalarWhereInput | Prisma.BookingScalarWhereInput[] -} - -export type BookingCreateNestedOneWithoutParticipantInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.BookingCreateOrConnectWithoutParticipantInput - connect?: Prisma.BookingWhereUniqueInput -} - -export type BookingUncheckedCreateNestedOneWithoutParticipantInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.BookingCreateOrConnectWithoutParticipantInput - connect?: Prisma.BookingWhereUniqueInput -} - -export type BookingUpdateOneWithoutParticipantNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.BookingCreateOrConnectWithoutParticipantInput - upsert?: Prisma.BookingUpsertWithoutParticipantInput - disconnect?: Prisma.BookingWhereInput | boolean - delete?: Prisma.BookingWhereInput | boolean - connect?: Prisma.BookingWhereUniqueInput - update?: Prisma.XOR, Prisma.BookingUncheckedUpdateWithoutParticipantInput> -} - -export type BookingUncheckedUpdateOneWithoutParticipantNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.BookingCreateOrConnectWithoutParticipantInput - upsert?: Prisma.BookingUpsertWithoutParticipantInput - disconnect?: Prisma.BookingWhereInput | boolean - delete?: Prisma.BookingWhereInput | boolean - connect?: Prisma.BookingWhereUniqueInput - update?: Prisma.XOR, Prisma.BookingUncheckedUpdateWithoutParticipantInput> -} - -export type EnumBookingStatusFieldUpdateOperationsInput = { - set?: $Enums.BookingStatus -} - -export type BookingCreateNestedOneWithoutPaymentsInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.BookingCreateOrConnectWithoutPaymentsInput - connect?: Prisma.BookingWhereUniqueInput -} - -export type BookingUpdateOneRequiredWithoutPaymentsNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.BookingCreateOrConnectWithoutPaymentsInput - upsert?: Prisma.BookingUpsertWithoutPaymentsInput - connect?: Prisma.BookingWhereUniqueInput - update?: Prisma.XOR, Prisma.BookingUncheckedUpdateWithoutPaymentsInput> -} - -export type BookingCreateNestedOneWithoutRefundsInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.BookingCreateOrConnectWithoutRefundsInput - connect?: Prisma.BookingWhereUniqueInput -} - -export type BookingUpdateOneRequiredWithoutRefundsNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.BookingCreateOrConnectWithoutRefundsInput - upsert?: Prisma.BookingUpsertWithoutRefundsInput - connect?: Prisma.BookingWhereUniqueInput - update?: Prisma.XOR, Prisma.BookingUncheckedUpdateWithoutRefundsInput> -} - -export type BookingCreateWithoutUserInput = { - id?: string - amount: number - currency?: string - status?: $Enums.BookingStatus - createdAt?: Date | string - updatedAt?: Date | string - trip: Prisma.TripCreateNestedOneWithoutBookingsInput - participant: Prisma.TripParticipantCreateNestedOneWithoutBookingInput - payments?: Prisma.PaymentCreateNestedManyWithoutBookingInput - refunds?: Prisma.RefundCreateNestedManyWithoutBookingInput -} - -export type BookingUncheckedCreateWithoutUserInput = { - id?: string - tripId: string - participantId: string - amount: number - currency?: string - status?: $Enums.BookingStatus - createdAt?: Date | string - updatedAt?: Date | string - payments?: Prisma.PaymentUncheckedCreateNestedManyWithoutBookingInput - refunds?: Prisma.RefundUncheckedCreateNestedManyWithoutBookingInput -} - -export type BookingCreateOrConnectWithoutUserInput = { - where: Prisma.BookingWhereUniqueInput - create: Prisma.XOR -} - -export type BookingCreateManyUserInputEnvelope = { - data: Prisma.BookingCreateManyUserInput | Prisma.BookingCreateManyUserInput[] - skipDuplicates?: boolean -} - -export type BookingUpsertWithWhereUniqueWithoutUserInput = { - where: Prisma.BookingWhereUniqueInput - update: Prisma.XOR - create: Prisma.XOR -} - -export type BookingUpdateWithWhereUniqueWithoutUserInput = { - where: Prisma.BookingWhereUniqueInput - data: Prisma.XOR -} - -export type BookingUpdateManyWithWhereWithoutUserInput = { - where: Prisma.BookingScalarWhereInput - data: Prisma.XOR -} - -export type BookingScalarWhereInput = { - AND?: Prisma.BookingScalarWhereInput | Prisma.BookingScalarWhereInput[] - OR?: Prisma.BookingScalarWhereInput[] - NOT?: Prisma.BookingScalarWhereInput | Prisma.BookingScalarWhereInput[] - id?: Prisma.StringFilter<"Booking"> | string - tripId?: Prisma.StringFilter<"Booking"> | string - userId?: Prisma.StringFilter<"Booking"> | string - participantId?: Prisma.StringFilter<"Booking"> | string - amount?: Prisma.IntFilter<"Booking"> | number - currency?: Prisma.StringFilter<"Booking"> | string - status?: Prisma.EnumBookingStatusFilter<"Booking"> | $Enums.BookingStatus - createdAt?: Prisma.DateTimeFilter<"Booking"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"Booking"> | Date | string -} - -export type BookingCreateWithoutTripInput = { - id?: string - amount: number - currency?: string - status?: $Enums.BookingStatus - createdAt?: Date | string - updatedAt?: Date | string - user: Prisma.UserCreateNestedOneWithoutBookingsInput - participant: Prisma.TripParticipantCreateNestedOneWithoutBookingInput - payments?: Prisma.PaymentCreateNestedManyWithoutBookingInput - refunds?: Prisma.RefundCreateNestedManyWithoutBookingInput -} - -export type BookingUncheckedCreateWithoutTripInput = { - id?: string - userId: string - participantId: string - amount: number - currency?: string - status?: $Enums.BookingStatus - createdAt?: Date | string - updatedAt?: Date | string - payments?: Prisma.PaymentUncheckedCreateNestedManyWithoutBookingInput - refunds?: Prisma.RefundUncheckedCreateNestedManyWithoutBookingInput -} - -export type BookingCreateOrConnectWithoutTripInput = { - where: Prisma.BookingWhereUniqueInput - create: Prisma.XOR -} - -export type BookingCreateManyTripInputEnvelope = { - data: Prisma.BookingCreateManyTripInput | Prisma.BookingCreateManyTripInput[] - skipDuplicates?: boolean -} - -export type BookingUpsertWithWhereUniqueWithoutTripInput = { - where: Prisma.BookingWhereUniqueInput - update: Prisma.XOR - create: Prisma.XOR -} - -export type BookingUpdateWithWhereUniqueWithoutTripInput = { - where: Prisma.BookingWhereUniqueInput - data: Prisma.XOR -} - -export type BookingUpdateManyWithWhereWithoutTripInput = { - where: Prisma.BookingScalarWhereInput - data: Prisma.XOR -} - -export type BookingCreateWithoutParticipantInput = { - id?: string - amount: number - currency?: string - status?: $Enums.BookingStatus - createdAt?: Date | string - updatedAt?: Date | string - trip: Prisma.TripCreateNestedOneWithoutBookingsInput - user: Prisma.UserCreateNestedOneWithoutBookingsInput - payments?: Prisma.PaymentCreateNestedManyWithoutBookingInput - refunds?: Prisma.RefundCreateNestedManyWithoutBookingInput -} - -export type BookingUncheckedCreateWithoutParticipantInput = { - id?: string - tripId: string - userId: string - amount: number - currency?: string - status?: $Enums.BookingStatus - createdAt?: Date | string - updatedAt?: Date | string - payments?: Prisma.PaymentUncheckedCreateNestedManyWithoutBookingInput - refunds?: Prisma.RefundUncheckedCreateNestedManyWithoutBookingInput -} - -export type BookingCreateOrConnectWithoutParticipantInput = { - where: Prisma.BookingWhereUniqueInput - create: Prisma.XOR -} - -export type BookingUpsertWithoutParticipantInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.BookingWhereInput -} - -export type BookingUpdateToOneWithWhereWithoutParticipantInput = { - where?: Prisma.BookingWhereInput - data: Prisma.XOR -} - -export type BookingUpdateWithoutParticipantInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - amount?: Prisma.IntFieldUpdateOperationsInput | number - currency?: Prisma.StringFieldUpdateOperationsInput | string - status?: Prisma.EnumBookingStatusFieldUpdateOperationsInput | $Enums.BookingStatus - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - trip?: Prisma.TripUpdateOneRequiredWithoutBookingsNestedInput - user?: Prisma.UserUpdateOneRequiredWithoutBookingsNestedInput - payments?: Prisma.PaymentUpdateManyWithoutBookingNestedInput - refunds?: Prisma.RefundUpdateManyWithoutBookingNestedInput -} - -export type BookingUncheckedUpdateWithoutParticipantInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - tripId?: Prisma.StringFieldUpdateOperationsInput | string - userId?: Prisma.StringFieldUpdateOperationsInput | string - amount?: Prisma.IntFieldUpdateOperationsInput | number - currency?: Prisma.StringFieldUpdateOperationsInput | string - status?: Prisma.EnumBookingStatusFieldUpdateOperationsInput | $Enums.BookingStatus - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - payments?: Prisma.PaymentUncheckedUpdateManyWithoutBookingNestedInput - refunds?: Prisma.RefundUncheckedUpdateManyWithoutBookingNestedInput -} - -export type BookingCreateWithoutPaymentsInput = { - id?: string - amount: number - currency?: string - status?: $Enums.BookingStatus - createdAt?: Date | string - updatedAt?: Date | string - trip: Prisma.TripCreateNestedOneWithoutBookingsInput - user: Prisma.UserCreateNestedOneWithoutBookingsInput - participant: Prisma.TripParticipantCreateNestedOneWithoutBookingInput - refunds?: Prisma.RefundCreateNestedManyWithoutBookingInput -} - -export type BookingUncheckedCreateWithoutPaymentsInput = { - id?: string - tripId: string - userId: string - participantId: string - amount: number - currency?: string - status?: $Enums.BookingStatus - createdAt?: Date | string - updatedAt?: Date | string - refunds?: Prisma.RefundUncheckedCreateNestedManyWithoutBookingInput -} - -export type BookingCreateOrConnectWithoutPaymentsInput = { - where: Prisma.BookingWhereUniqueInput - create: Prisma.XOR -} - -export type BookingUpsertWithoutPaymentsInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.BookingWhereInput -} - -export type BookingUpdateToOneWithWhereWithoutPaymentsInput = { - where?: Prisma.BookingWhereInput - data: Prisma.XOR -} - -export type BookingUpdateWithoutPaymentsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - amount?: Prisma.IntFieldUpdateOperationsInput | number - currency?: Prisma.StringFieldUpdateOperationsInput | string - status?: Prisma.EnumBookingStatusFieldUpdateOperationsInput | $Enums.BookingStatus - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - trip?: Prisma.TripUpdateOneRequiredWithoutBookingsNestedInput - user?: Prisma.UserUpdateOneRequiredWithoutBookingsNestedInput - participant?: Prisma.TripParticipantUpdateOneRequiredWithoutBookingNestedInput - refunds?: Prisma.RefundUpdateManyWithoutBookingNestedInput -} - -export type BookingUncheckedUpdateWithoutPaymentsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - tripId?: Prisma.StringFieldUpdateOperationsInput | string - userId?: Prisma.StringFieldUpdateOperationsInput | string - participantId?: Prisma.StringFieldUpdateOperationsInput | string - amount?: Prisma.IntFieldUpdateOperationsInput | number - currency?: Prisma.StringFieldUpdateOperationsInput | string - status?: Prisma.EnumBookingStatusFieldUpdateOperationsInput | $Enums.BookingStatus - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - refunds?: Prisma.RefundUncheckedUpdateManyWithoutBookingNestedInput -} - -export type BookingCreateWithoutRefundsInput = { - id?: string - amount: number - currency?: string - status?: $Enums.BookingStatus - createdAt?: Date | string - updatedAt?: Date | string - trip: Prisma.TripCreateNestedOneWithoutBookingsInput - user: Prisma.UserCreateNestedOneWithoutBookingsInput - participant: Prisma.TripParticipantCreateNestedOneWithoutBookingInput - payments?: Prisma.PaymentCreateNestedManyWithoutBookingInput -} - -export type BookingUncheckedCreateWithoutRefundsInput = { - id?: string - tripId: string - userId: string - participantId: string - amount: number - currency?: string - status?: $Enums.BookingStatus - createdAt?: Date | string - updatedAt?: Date | string - payments?: Prisma.PaymentUncheckedCreateNestedManyWithoutBookingInput -} - -export type BookingCreateOrConnectWithoutRefundsInput = { - where: Prisma.BookingWhereUniqueInput - create: Prisma.XOR -} - -export type BookingUpsertWithoutRefundsInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.BookingWhereInput -} - -export type BookingUpdateToOneWithWhereWithoutRefundsInput = { - where?: Prisma.BookingWhereInput - data: Prisma.XOR -} - -export type BookingUpdateWithoutRefundsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - amount?: Prisma.IntFieldUpdateOperationsInput | number - currency?: Prisma.StringFieldUpdateOperationsInput | string - status?: Prisma.EnumBookingStatusFieldUpdateOperationsInput | $Enums.BookingStatus - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - trip?: Prisma.TripUpdateOneRequiredWithoutBookingsNestedInput - user?: Prisma.UserUpdateOneRequiredWithoutBookingsNestedInput - participant?: Prisma.TripParticipantUpdateOneRequiredWithoutBookingNestedInput - payments?: Prisma.PaymentUpdateManyWithoutBookingNestedInput -} - -export type BookingUncheckedUpdateWithoutRefundsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - tripId?: Prisma.StringFieldUpdateOperationsInput | string - userId?: Prisma.StringFieldUpdateOperationsInput | string - participantId?: Prisma.StringFieldUpdateOperationsInput | string - amount?: Prisma.IntFieldUpdateOperationsInput | number - currency?: Prisma.StringFieldUpdateOperationsInput | string - status?: Prisma.EnumBookingStatusFieldUpdateOperationsInput | $Enums.BookingStatus - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - payments?: Prisma.PaymentUncheckedUpdateManyWithoutBookingNestedInput -} - -export type BookingCreateManyUserInput = { - id?: string - tripId: string - participantId: string - amount: number - currency?: string - status?: $Enums.BookingStatus - createdAt?: Date | string - updatedAt?: Date | string -} - -export type BookingUpdateWithoutUserInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - amount?: Prisma.IntFieldUpdateOperationsInput | number - currency?: Prisma.StringFieldUpdateOperationsInput | string - status?: Prisma.EnumBookingStatusFieldUpdateOperationsInput | $Enums.BookingStatus - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - trip?: Prisma.TripUpdateOneRequiredWithoutBookingsNestedInput - participant?: Prisma.TripParticipantUpdateOneRequiredWithoutBookingNestedInput - payments?: Prisma.PaymentUpdateManyWithoutBookingNestedInput - refunds?: Prisma.RefundUpdateManyWithoutBookingNestedInput -} - -export type BookingUncheckedUpdateWithoutUserInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - tripId?: Prisma.StringFieldUpdateOperationsInput | string - participantId?: Prisma.StringFieldUpdateOperationsInput | string - amount?: Prisma.IntFieldUpdateOperationsInput | number - currency?: Prisma.StringFieldUpdateOperationsInput | string - status?: Prisma.EnumBookingStatusFieldUpdateOperationsInput | $Enums.BookingStatus - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - payments?: Prisma.PaymentUncheckedUpdateManyWithoutBookingNestedInput - refunds?: Prisma.RefundUncheckedUpdateManyWithoutBookingNestedInput -} - -export type BookingUncheckedUpdateManyWithoutUserInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - tripId?: Prisma.StringFieldUpdateOperationsInput | string - participantId?: Prisma.StringFieldUpdateOperationsInput | string - amount?: Prisma.IntFieldUpdateOperationsInput | number - currency?: Prisma.StringFieldUpdateOperationsInput | string - status?: Prisma.EnumBookingStatusFieldUpdateOperationsInput | $Enums.BookingStatus - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - -export type BookingCreateManyTripInput = { - id?: string - userId: string - participantId: string - amount: number - currency?: string - status?: $Enums.BookingStatus - createdAt?: Date | string - updatedAt?: Date | string -} - -export type BookingUpdateWithoutTripInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - amount?: Prisma.IntFieldUpdateOperationsInput | number - currency?: Prisma.StringFieldUpdateOperationsInput | string - status?: Prisma.EnumBookingStatusFieldUpdateOperationsInput | $Enums.BookingStatus - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - user?: Prisma.UserUpdateOneRequiredWithoutBookingsNestedInput - participant?: Prisma.TripParticipantUpdateOneRequiredWithoutBookingNestedInput - payments?: Prisma.PaymentUpdateManyWithoutBookingNestedInput - refunds?: Prisma.RefundUpdateManyWithoutBookingNestedInput -} - -export type BookingUncheckedUpdateWithoutTripInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - userId?: Prisma.StringFieldUpdateOperationsInput | string - participantId?: Prisma.StringFieldUpdateOperationsInput | string - amount?: Prisma.IntFieldUpdateOperationsInput | number - currency?: Prisma.StringFieldUpdateOperationsInput | string - status?: Prisma.EnumBookingStatusFieldUpdateOperationsInput | $Enums.BookingStatus - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - payments?: Prisma.PaymentUncheckedUpdateManyWithoutBookingNestedInput - refunds?: Prisma.RefundUncheckedUpdateManyWithoutBookingNestedInput -} - -export type BookingUncheckedUpdateManyWithoutTripInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - userId?: Prisma.StringFieldUpdateOperationsInput | string - participantId?: Prisma.StringFieldUpdateOperationsInput | string - amount?: Prisma.IntFieldUpdateOperationsInput | number - currency?: Prisma.StringFieldUpdateOperationsInput | string - status?: Prisma.EnumBookingStatusFieldUpdateOperationsInput | $Enums.BookingStatus - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - - -/** - * Count Type BookingCountOutputType - */ - -export type BookingCountOutputType = { - payments: number - refunds: number -} - -export type BookingCountOutputTypeSelect = { - payments?: boolean | BookingCountOutputTypeCountPaymentsArgs - refunds?: boolean | BookingCountOutputTypeCountRefundsArgs -} - -/** - * BookingCountOutputType without action - */ -export type BookingCountOutputTypeDefaultArgs = { - /** - * Select specific fields to fetch from the BookingCountOutputType - */ - select?: Prisma.BookingCountOutputTypeSelect | null -} - -/** - * BookingCountOutputType without action - */ -export type BookingCountOutputTypeCountPaymentsArgs = { - where?: Prisma.PaymentWhereInput -} - -/** - * BookingCountOutputType without action - */ -export type BookingCountOutputTypeCountRefundsArgs = { - where?: Prisma.RefundWhereInput -} - - -export type BookingSelect = runtime.Types.Extensions.GetSelect<{ - id?: boolean - tripId?: boolean - userId?: boolean - participantId?: boolean - amount?: boolean - currency?: boolean - status?: boolean - createdAt?: boolean - updatedAt?: boolean - trip?: boolean | Prisma.TripDefaultArgs - user?: boolean | Prisma.UserDefaultArgs - participant?: boolean | Prisma.TripParticipantDefaultArgs - payments?: boolean | Prisma.Booking$paymentsArgs - refunds?: boolean | Prisma.Booking$refundsArgs - _count?: boolean | Prisma.BookingCountOutputTypeDefaultArgs -}, ExtArgs["result"]["booking"]> - -export type BookingSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - tripId?: boolean - userId?: boolean - participantId?: boolean - amount?: boolean - currency?: boolean - status?: boolean - createdAt?: boolean - updatedAt?: boolean - trip?: boolean | Prisma.TripDefaultArgs - user?: boolean | Prisma.UserDefaultArgs - participant?: boolean | Prisma.TripParticipantDefaultArgs -}, ExtArgs["result"]["booking"]> - -export type BookingSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - tripId?: boolean - userId?: boolean - participantId?: boolean - amount?: boolean - currency?: boolean - status?: boolean - createdAt?: boolean - updatedAt?: boolean - trip?: boolean | Prisma.TripDefaultArgs - user?: boolean | Prisma.UserDefaultArgs - participant?: boolean | Prisma.TripParticipantDefaultArgs -}, ExtArgs["result"]["booking"]> - -export type BookingSelectScalar = { - id?: boolean - tripId?: boolean - userId?: boolean - participantId?: boolean - amount?: boolean - currency?: boolean - status?: boolean - createdAt?: boolean - updatedAt?: boolean -} - -export type BookingOmit = runtime.Types.Extensions.GetOmit<"id" | "tripId" | "userId" | "participantId" | "amount" | "currency" | "status" | "createdAt" | "updatedAt", ExtArgs["result"]["booking"]> -export type BookingInclude = { - trip?: boolean | Prisma.TripDefaultArgs - user?: boolean | Prisma.UserDefaultArgs - participant?: boolean | Prisma.TripParticipantDefaultArgs - payments?: boolean | Prisma.Booking$paymentsArgs - refunds?: boolean | Prisma.Booking$refundsArgs - _count?: boolean | Prisma.BookingCountOutputTypeDefaultArgs -} -export type BookingIncludeCreateManyAndReturn = { - trip?: boolean | Prisma.TripDefaultArgs - user?: boolean | Prisma.UserDefaultArgs - participant?: boolean | Prisma.TripParticipantDefaultArgs -} -export type BookingIncludeUpdateManyAndReturn = { - trip?: boolean | Prisma.TripDefaultArgs - user?: boolean | Prisma.UserDefaultArgs - participant?: boolean | Prisma.TripParticipantDefaultArgs -} - -export type $BookingPayload = { - name: "Booking" - objects: { - trip: Prisma.$TripPayload - user: Prisma.$UserPayload - participant: Prisma.$TripParticipantPayload - payments: Prisma.$PaymentPayload[] - refunds: Prisma.$RefundPayload[] - } - scalars: runtime.Types.Extensions.GetPayloadResult<{ - id: string - tripId: string - userId: string - participantId: string - amount: number - currency: string - status: $Enums.BookingStatus - createdAt: Date - updatedAt: Date - }, ExtArgs["result"]["booking"]> - composites: {} -} - -export type BookingGetPayload = runtime.Types.Result.GetResult - -export type BookingCountArgs = - Omit & { - select?: BookingCountAggregateInputType | true - } - -export interface BookingDelegate { - [K: symbol]: { types: Prisma.TypeMap['model']['Booking'], meta: { name: 'Booking' } } - /** - * Find zero or one Booking that matches the filter. - * @param {BookingFindUniqueArgs} args - Arguments to find a Booking - * @example - * // Get one Booking - * const booking = await prisma.booking.findUnique({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__BookingClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find one Booking that matches the filter or throw an error with `error.code='P2025'` - * if no matches were found. - * @param {BookingFindUniqueOrThrowArgs} args - Arguments to find a Booking - * @example - * // Get one Booking - * const booking = await prisma.booking.findUniqueOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__BookingClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find the first Booking 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 {BookingFindFirstArgs} args - Arguments to find a Booking - * @example - * // Get one Booking - * const booking = await prisma.booking.findFirst({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__BookingClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find the first Booking 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 {BookingFindFirstOrThrowArgs} args - Arguments to find a Booking - * @example - * // Get one Booking - * const booking = await prisma.booking.findFirstOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__BookingClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find zero or more Bookings 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 {BookingFindManyArgs} args - Arguments to filter and select certain fields only. - * @example - * // Get all Bookings - * const bookings = await prisma.booking.findMany() - * - * // Get first 10 Bookings - * const bookings = await prisma.booking.findMany({ take: 10 }) - * - * // Only select the `id` - * const bookingWithIdOnly = await prisma.booking.findMany({ select: { id: true } }) - * - */ - findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> - - /** - * Create a Booking. - * @param {BookingCreateArgs} args - Arguments to create a Booking. - * @example - * // Create one Booking - * const Booking = await prisma.booking.create({ - * data: { - * // ... data to create a Booking - * } - * }) - * - */ - create(args: Prisma.SelectSubset>): Prisma.Prisma__BookingClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Create many Bookings. - * @param {BookingCreateManyArgs} args - Arguments to create many Bookings. - * @example - * // Create many Bookings - * const booking = await prisma.booking.createMany({ - * data: [ - * // ... provide data here - * ] - * }) - * - */ - createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Create many Bookings and returns the data saved in the database. - * @param {BookingCreateManyAndReturnArgs} args - Arguments to create many Bookings. - * @example - * // Create many Bookings - * const booking = await prisma.booking.createManyAndReturn({ - * data: [ - * // ... provide data here - * ] - * }) - * - * // Create many Bookings and only return the `id` - * const bookingWithIdOnly = await prisma.booking.createManyAndReturn({ - * select: { id: true }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> - - /** - * Delete a Booking. - * @param {BookingDeleteArgs} args - Arguments to delete one Booking. - * @example - * // Delete one Booking - * const Booking = await prisma.booking.delete({ - * where: { - * // ... filter to delete one Booking - * } - * }) - * - */ - delete(args: Prisma.SelectSubset>): Prisma.Prisma__BookingClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Update one Booking. - * @param {BookingUpdateArgs} args - Arguments to update one Booking. - * @example - * // Update one Booking - * const booking = await prisma.booking.update({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - update(args: Prisma.SelectSubset>): Prisma.Prisma__BookingClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Delete zero or more Bookings. - * @param {BookingDeleteManyArgs} args - Arguments to filter Bookings to delete. - * @example - * // Delete a few Bookings - * const { count } = await prisma.booking.deleteMany({ - * where: { - * // ... provide filter here - * } - * }) - * - */ - deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more Bookings. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {BookingUpdateManyArgs} args - Arguments to update one or more rows. - * @example - * // Update many Bookings - * const booking = await prisma.booking.updateMany({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more Bookings and returns the data updated in the database. - * @param {BookingUpdateManyAndReturnArgs} args - Arguments to update many Bookings. - * @example - * // Update many Bookings - * const booking = await prisma.booking.updateManyAndReturn({ - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * - * // Update zero or more Bookings and only return the `id` - * const bookingWithIdOnly = await prisma.booking.updateManyAndReturn({ - * select: { id: true }, - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> - - /** - * Create or update one Booking. - * @param {BookingUpsertArgs} args - Arguments to update or create a Booking. - * @example - * // Update or create a Booking - * const booking = await prisma.booking.upsert({ - * create: { - * // ... data to create a Booking - * }, - * update: { - * // ... in case it already exists, update - * }, - * where: { - * // ... the filter for the Booking we want to update - * } - * }) - */ - upsert(args: Prisma.SelectSubset>): Prisma.Prisma__BookingClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - - /** - * Count the number of Bookings. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {BookingCountArgs} args - Arguments to filter Bookings to count. - * @example - * // Count the number of Bookings - * const count = await prisma.booking.count({ - * where: { - * // ... the filter for the Bookings we want to count - * } - * }) - **/ - count( - args?: Prisma.Subset, - ): Prisma.PrismaPromise< - T extends runtime.Types.Utils.Record<'select', any> - ? T['select'] extends true - ? number - : Prisma.GetScalarType - : number - > - - /** - * Allows you to perform aggregations operations on a Booking. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {BookingAggregateArgs} args - Select which aggregations you would like to apply and on what fields. - * @example - * // Ordered by age ascending - * // Where email contains prisma.io - * // Limited to the 10 users - * const aggregations = await prisma.user.aggregate({ - * _avg: { - * age: true, - * }, - * where: { - * email: { - * contains: "prisma.io", - * }, - * }, - * orderBy: { - * age: "asc", - * }, - * take: 10, - * }) - **/ - aggregate(args: Prisma.Subset): Prisma.PrismaPromise> - - /** - * Group by Booking. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {BookingGroupByArgs} 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 BookingGroupByArgs, - HasSelectOrTake extends Prisma.Or< - Prisma.Extends<'skip', Prisma.Keys>, - Prisma.Extends<'take', Prisma.Keys> - >, - OrderByArg extends Prisma.True extends HasSelectOrTake - ? { orderBy: BookingGroupByArgs['orderBy'] } - : { orderBy?: BookingGroupByArgs['orderBy'] }, - OrderFields extends Prisma.ExcludeUnderscoreKeys>>, - ByFields extends Prisma.MaybeTupleToUnion, - ByValid extends Prisma.Has, - HavingFields extends Prisma.GetHavingFields, - HavingValid extends Prisma.Has, - ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, - InputErrors extends ByEmpty extends Prisma.True - ? `Error: "by" must not be empty.` - : HavingValid extends Prisma.False - ? { - [P in HavingFields]: P extends ByFields - ? never - : P extends string - ? `Error: Field "${P}" used in "having" needs to be provided in "by".` - : [ - Error, - 'Field ', - P, - ` in "having" needs to be provided in "by"`, - ] - }[HavingFields] - : 'take' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "take", you also need to provide "orderBy"' - : 'skip' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "skip", you also need to provide "orderBy"' - : ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetBookingGroupByPayload : Prisma.PrismaPromise -/** - * Fields of the Booking model - */ -readonly fields: BookingFieldRefs; -} - -/** - * The delegate class that acts as a "Promise-like" for Booking. - * 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__BookingClient extends Prisma.PrismaPromise { - readonly [Symbol.toStringTag]: "PrismaPromise" - trip = {}>(args?: Prisma.Subset>): Prisma.Prisma__TripClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> - user = {}>(args?: Prisma.Subset>): Prisma.Prisma__UserClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> - participant = {}>(args?: Prisma.Subset>): Prisma.Prisma__TripParticipantClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> - payments = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> - refunds = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> - /** - * Attaches callbacks for the resolution and/or rejection of the Promise. - * @param onfulfilled The callback to execute when the Promise is resolved. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of which ever callback is executed. - */ - then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback for only the rejection of the Promise. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of the callback. - */ - catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The - * resolved value cannot be modified from the callback. - * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). - * @returns A Promise for the completion of the callback. - */ - finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise -} - - - - -/** - * Fields of the Booking model - */ -export interface BookingFieldRefs { - readonly id: Prisma.FieldRef<"Booking", 'String'> - readonly tripId: Prisma.FieldRef<"Booking", 'String'> - readonly userId: Prisma.FieldRef<"Booking", 'String'> - readonly participantId: Prisma.FieldRef<"Booking", 'String'> - readonly amount: Prisma.FieldRef<"Booking", 'Int'> - readonly currency: Prisma.FieldRef<"Booking", 'String'> - readonly status: Prisma.FieldRef<"Booking", 'BookingStatus'> - readonly createdAt: Prisma.FieldRef<"Booking", 'DateTime'> - readonly updatedAt: Prisma.FieldRef<"Booking", 'DateTime'> -} - - -// Custom InputTypes -/** - * Booking findUnique - */ -export type BookingFindUniqueArgs = { - /** - * Select specific fields to fetch from the Booking - */ - select?: Prisma.BookingSelect | null - /** - * Omit specific fields from the Booking - */ - omit?: Prisma.BookingOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.BookingInclude | null - /** - * Filter, which Booking to fetch. - */ - where: Prisma.BookingWhereUniqueInput -} - -/** - * Booking findUniqueOrThrow - */ -export type BookingFindUniqueOrThrowArgs = { - /** - * Select specific fields to fetch from the Booking - */ - select?: Prisma.BookingSelect | null - /** - * Omit specific fields from the Booking - */ - omit?: Prisma.BookingOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.BookingInclude | null - /** - * Filter, which Booking to fetch. - */ - where: Prisma.BookingWhereUniqueInput -} - -/** - * Booking findFirst - */ -export type BookingFindFirstArgs = { - /** - * Select specific fields to fetch from the Booking - */ - select?: Prisma.BookingSelect | null - /** - * Omit specific fields from the Booking - */ - omit?: Prisma.BookingOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.BookingInclude | null - /** - * Filter, which Booking to fetch. - */ - where?: Prisma.BookingWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Bookings to fetch. - */ - orderBy?: Prisma.BookingOrderByWithRelationInput | Prisma.BookingOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for Bookings. - */ - cursor?: Prisma.BookingWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Bookings 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` Bookings. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Bookings. - */ - distinct?: Prisma.BookingScalarFieldEnum | Prisma.BookingScalarFieldEnum[] -} - -/** - * Booking findFirstOrThrow - */ -export type BookingFindFirstOrThrowArgs = { - /** - * Select specific fields to fetch from the Booking - */ - select?: Prisma.BookingSelect | null - /** - * Omit specific fields from the Booking - */ - omit?: Prisma.BookingOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.BookingInclude | null - /** - * Filter, which Booking to fetch. - */ - where?: Prisma.BookingWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Bookings to fetch. - */ - orderBy?: Prisma.BookingOrderByWithRelationInput | Prisma.BookingOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for Bookings. - */ - cursor?: Prisma.BookingWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Bookings 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` Bookings. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Bookings. - */ - distinct?: Prisma.BookingScalarFieldEnum | Prisma.BookingScalarFieldEnum[] -} - -/** - * Booking findMany - */ -export type BookingFindManyArgs = { - /** - * Select specific fields to fetch from the Booking - */ - select?: Prisma.BookingSelect | null - /** - * Omit specific fields from the Booking - */ - omit?: Prisma.BookingOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.BookingInclude | null - /** - * Filter, which Bookings to fetch. - */ - where?: Prisma.BookingWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Bookings to fetch. - */ - orderBy?: Prisma.BookingOrderByWithRelationInput | Prisma.BookingOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for listing Bookings. - */ - cursor?: Prisma.BookingWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Bookings 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` Bookings. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Bookings. - */ - distinct?: Prisma.BookingScalarFieldEnum | Prisma.BookingScalarFieldEnum[] -} - -/** - * Booking create - */ -export type BookingCreateArgs = { - /** - * Select specific fields to fetch from the Booking - */ - select?: Prisma.BookingSelect | null - /** - * Omit specific fields from the Booking - */ - omit?: Prisma.BookingOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.BookingInclude | null - /** - * The data needed to create a Booking. - */ - data: Prisma.XOR -} - -/** - * Booking createMany - */ -export type BookingCreateManyArgs = { - /** - * The data used to create many Bookings. - */ - data: Prisma.BookingCreateManyInput | Prisma.BookingCreateManyInput[] - skipDuplicates?: boolean -} - -/** - * Booking createManyAndReturn - */ -export type BookingCreateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the Booking - */ - select?: Prisma.BookingSelectCreateManyAndReturn | null - /** - * Omit specific fields from the Booking - */ - omit?: Prisma.BookingOmit | null - /** - * The data used to create many Bookings. - */ - data: Prisma.BookingCreateManyInput | Prisma.BookingCreateManyInput[] - skipDuplicates?: boolean - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.BookingIncludeCreateManyAndReturn | null -} - -/** - * Booking update - */ -export type BookingUpdateArgs = { - /** - * Select specific fields to fetch from the Booking - */ - select?: Prisma.BookingSelect | null - /** - * Omit specific fields from the Booking - */ - omit?: Prisma.BookingOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.BookingInclude | null - /** - * The data needed to update a Booking. - */ - data: Prisma.XOR - /** - * Choose, which Booking to update. - */ - where: Prisma.BookingWhereUniqueInput -} - -/** - * Booking updateMany - */ -export type BookingUpdateManyArgs = { - /** - * The data used to update Bookings. - */ - data: Prisma.XOR - /** - * Filter which Bookings to update - */ - where?: Prisma.BookingWhereInput - /** - * Limit how many Bookings to update. - */ - limit?: number -} - -/** - * Booking updateManyAndReturn - */ -export type BookingUpdateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the Booking - */ - select?: Prisma.BookingSelectUpdateManyAndReturn | null - /** - * Omit specific fields from the Booking - */ - omit?: Prisma.BookingOmit | null - /** - * The data used to update Bookings. - */ - data: Prisma.XOR - /** - * Filter which Bookings to update - */ - where?: Prisma.BookingWhereInput - /** - * Limit how many Bookings to update. - */ - limit?: number - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.BookingIncludeUpdateManyAndReturn | null -} - -/** - * Booking upsert - */ -export type BookingUpsertArgs = { - /** - * Select specific fields to fetch from the Booking - */ - select?: Prisma.BookingSelect | null - /** - * Omit specific fields from the Booking - */ - omit?: Prisma.BookingOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.BookingInclude | null - /** - * The filter to search for the Booking to update in case it exists. - */ - where: Prisma.BookingWhereUniqueInput - /** - * In case the Booking found by the `where` argument doesn't exist, create a new Booking with this data. - */ - create: Prisma.XOR - /** - * In case the Booking was found with the provided `where` argument, update it with this data. - */ - update: Prisma.XOR -} - -/** - * Booking delete - */ -export type BookingDeleteArgs = { - /** - * Select specific fields to fetch from the Booking - */ - select?: Prisma.BookingSelect | null - /** - * Omit specific fields from the Booking - */ - omit?: Prisma.BookingOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.BookingInclude | null - /** - * Filter which Booking to delete. - */ - where: Prisma.BookingWhereUniqueInput -} - -/** - * Booking deleteMany - */ -export type BookingDeleteManyArgs = { - /** - * Filter which Bookings to delete - */ - where?: Prisma.BookingWhereInput - /** - * Limit how many Bookings to delete. - */ - limit?: number -} - -/** - * Booking.payments - */ -export type Booking$paymentsArgs = { - /** - * Select specific fields to fetch from the Payment - */ - select?: Prisma.PaymentSelect | null - /** - * Omit specific fields from the Payment - */ - omit?: Prisma.PaymentOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.PaymentInclude | null - where?: Prisma.PaymentWhereInput - orderBy?: Prisma.PaymentOrderByWithRelationInput | Prisma.PaymentOrderByWithRelationInput[] - cursor?: Prisma.PaymentWhereUniqueInput - take?: number - skip?: number - distinct?: Prisma.PaymentScalarFieldEnum | Prisma.PaymentScalarFieldEnum[] -} - -/** - * Booking.refunds - */ -export type Booking$refundsArgs = { - /** - * Select specific fields to fetch from the Refund - */ - select?: Prisma.RefundSelect | null - /** - * Omit specific fields from the Refund - */ - omit?: Prisma.RefundOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.RefundInclude | null - where?: Prisma.RefundWhereInput - orderBy?: Prisma.RefundOrderByWithRelationInput | Prisma.RefundOrderByWithRelationInput[] - cursor?: Prisma.RefundWhereUniqueInput - take?: number - skip?: number - distinct?: Prisma.RefundScalarFieldEnum | Prisma.RefundScalarFieldEnum[] -} - -/** - * Booking without action - */ -export type BookingDefaultArgs = { - /** - * Select specific fields to fetch from the Booking - */ - select?: Prisma.BookingSelect | null - /** - * Omit specific fields from the Booking - */ - omit?: Prisma.BookingOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.BookingInclude | null -} diff --git a/app/generated/prisma/models/OrganizerVerification.ts b/app/generated/prisma/models/OrganizerVerification.ts deleted file mode 100644 index 7d8d65c..0000000 --- a/app/generated/prisma/models/OrganizerVerification.ts +++ /dev/null @@ -1,2021 +0,0 @@ - -/* !!! This is code generated by Prisma. Do not edit directly. !!! */ -/* eslint-disable */ -// biome-ignore-all lint: generated file -// @ts-nocheck -/* - * This file exports the `OrganizerVerification` 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 OrganizerVerification - * - */ -export type OrganizerVerificationModel = runtime.Types.Result.DefaultSelection - -export type AggregateOrganizerVerification = { - _count: OrganizerVerificationCountAggregateOutputType | null - _min: OrganizerVerificationMinAggregateOutputType | null - _max: OrganizerVerificationMaxAggregateOutputType | null -} - -export type OrganizerVerificationMinAggregateOutputType = { - id: string | null - userId: string | null - fullName: string | null - nikEncrypted: string | null - nikHash: string | null - birthDate: Date | null - address: string | null - ktpImageKey: string | null - livenessKey: string | null - bankName: string | null - bankAccountNumber: string | null - bankAccountName: string | null - status: $Enums.VerificationStatus | null - rejectionReason: string | null - reviewedAt: Date | null - reviewedById: string | null - verifiedAt: Date | null - createdAt: Date | null - updatedAt: Date | null -} - -export type OrganizerVerificationMaxAggregateOutputType = { - id: string | null - userId: string | null - fullName: string | null - nikEncrypted: string | null - nikHash: string | null - birthDate: Date | null - address: string | null - ktpImageKey: string | null - livenessKey: string | null - bankName: string | null - bankAccountNumber: string | null - bankAccountName: string | null - status: $Enums.VerificationStatus | null - rejectionReason: string | null - reviewedAt: Date | null - reviewedById: string | null - verifiedAt: Date | null - createdAt: Date | null - updatedAt: Date | null -} - -export type OrganizerVerificationCountAggregateOutputType = { - id: number - userId: number - fullName: number - nikEncrypted: number - nikHash: number - birthDate: number - address: number - ktpImageKey: number - livenessKey: number - bankName: number - bankAccountNumber: number - bankAccountName: number - status: number - rejectionReason: number - reviewedAt: number - reviewedById: number - verifiedAt: number - createdAt: number - updatedAt: number - _all: number -} - - -export type OrganizerVerificationMinAggregateInputType = { - id?: true - userId?: true - fullName?: true - nikEncrypted?: true - nikHash?: true - birthDate?: true - address?: true - ktpImageKey?: true - livenessKey?: true - bankName?: true - bankAccountNumber?: true - bankAccountName?: true - status?: true - rejectionReason?: true - reviewedAt?: true - reviewedById?: true - verifiedAt?: true - createdAt?: true - updatedAt?: true -} - -export type OrganizerVerificationMaxAggregateInputType = { - id?: true - userId?: true - fullName?: true - nikEncrypted?: true - nikHash?: true - birthDate?: true - address?: true - ktpImageKey?: true - livenessKey?: true - bankName?: true - bankAccountNumber?: true - bankAccountName?: true - status?: true - rejectionReason?: true - reviewedAt?: true - reviewedById?: true - verifiedAt?: true - createdAt?: true - updatedAt?: true -} - -export type OrganizerVerificationCountAggregateInputType = { - id?: true - userId?: true - fullName?: true - nikEncrypted?: true - nikHash?: true - birthDate?: true - address?: true - ktpImageKey?: true - livenessKey?: true - bankName?: true - bankAccountNumber?: true - bankAccountName?: true - status?: true - rejectionReason?: true - reviewedAt?: true - reviewedById?: true - verifiedAt?: true - createdAt?: true - updatedAt?: true - _all?: true -} - -export type OrganizerVerificationAggregateArgs = { - /** - * Filter which OrganizerVerification to aggregate. - */ - where?: Prisma.OrganizerVerificationWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of OrganizerVerifications to fetch. - */ - orderBy?: Prisma.OrganizerVerificationOrderByWithRelationInput | Prisma.OrganizerVerificationOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the start position - */ - cursor?: Prisma.OrganizerVerificationWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` OrganizerVerifications 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` OrganizerVerifications. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Count returned OrganizerVerifications - **/ - _count?: true | OrganizerVerificationCountAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the minimum value - **/ - _min?: OrganizerVerificationMinAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the maximum value - **/ - _max?: OrganizerVerificationMaxAggregateInputType -} - -export type GetOrganizerVerificationAggregateType = { - [P in keyof T & keyof AggregateOrganizerVerification]: P extends '_count' | 'count' - ? T[P] extends true - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType -} - - - - -export type OrganizerVerificationGroupByArgs = { - where?: Prisma.OrganizerVerificationWhereInput - orderBy?: Prisma.OrganizerVerificationOrderByWithAggregationInput | Prisma.OrganizerVerificationOrderByWithAggregationInput[] - by: Prisma.OrganizerVerificationScalarFieldEnum[] | Prisma.OrganizerVerificationScalarFieldEnum - having?: Prisma.OrganizerVerificationScalarWhereWithAggregatesInput - take?: number - skip?: number - _count?: OrganizerVerificationCountAggregateInputType | true - _min?: OrganizerVerificationMinAggregateInputType - _max?: OrganizerVerificationMaxAggregateInputType -} - -export type OrganizerVerificationGroupByOutputType = { - id: string - userId: string - fullName: string - nikEncrypted: string - nikHash: string - birthDate: Date - address: string - ktpImageKey: string - livenessKey: string - bankName: string - bankAccountNumber: string - bankAccountName: string - status: $Enums.VerificationStatus - rejectionReason: string | null - reviewedAt: Date | null - reviewedById: string | null - verifiedAt: Date | null - createdAt: Date - updatedAt: Date - _count: OrganizerVerificationCountAggregateOutputType | null - _min: OrganizerVerificationMinAggregateOutputType | null - _max: OrganizerVerificationMaxAggregateOutputType | null -} - -export type GetOrganizerVerificationGroupByPayload = Prisma.PrismaPromise< - Array< - Prisma.PickEnumerable & - { - [P in ((keyof T) & (keyof OrganizerVerificationGroupByOutputType))]: P extends '_count' - ? T[P] extends boolean - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType - } - > - > - - - -export type OrganizerVerificationWhereInput = { - AND?: Prisma.OrganizerVerificationWhereInput | Prisma.OrganizerVerificationWhereInput[] - OR?: Prisma.OrganizerVerificationWhereInput[] - NOT?: Prisma.OrganizerVerificationWhereInput | Prisma.OrganizerVerificationWhereInput[] - id?: Prisma.StringFilter<"OrganizerVerification"> | string - userId?: Prisma.StringFilter<"OrganizerVerification"> | string - fullName?: Prisma.StringFilter<"OrganizerVerification"> | string - nikEncrypted?: Prisma.StringFilter<"OrganizerVerification"> | string - nikHash?: Prisma.StringFilter<"OrganizerVerification"> | string - birthDate?: Prisma.DateTimeFilter<"OrganizerVerification"> | Date | string - address?: Prisma.StringFilter<"OrganizerVerification"> | string - ktpImageKey?: Prisma.StringFilter<"OrganizerVerification"> | string - livenessKey?: Prisma.StringFilter<"OrganizerVerification"> | string - bankName?: Prisma.StringFilter<"OrganizerVerification"> | string - bankAccountNumber?: Prisma.StringFilter<"OrganizerVerification"> | string - bankAccountName?: Prisma.StringFilter<"OrganizerVerification"> | string - status?: Prisma.EnumVerificationStatusFilter<"OrganizerVerification"> | $Enums.VerificationStatus - rejectionReason?: Prisma.StringNullableFilter<"OrganizerVerification"> | string | null - reviewedAt?: Prisma.DateTimeNullableFilter<"OrganizerVerification"> | Date | string | null - reviewedById?: Prisma.StringNullableFilter<"OrganizerVerification"> | string | null - verifiedAt?: Prisma.DateTimeNullableFilter<"OrganizerVerification"> | Date | string | null - createdAt?: Prisma.DateTimeFilter<"OrganizerVerification"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"OrganizerVerification"> | Date | string - user?: Prisma.XOR - reviewedBy?: Prisma.XOR | null -} - -export type OrganizerVerificationOrderByWithRelationInput = { - id?: Prisma.SortOrder - userId?: Prisma.SortOrder - fullName?: Prisma.SortOrder - nikEncrypted?: Prisma.SortOrder - nikHash?: Prisma.SortOrder - birthDate?: Prisma.SortOrder - address?: Prisma.SortOrder - ktpImageKey?: Prisma.SortOrder - livenessKey?: Prisma.SortOrder - bankName?: Prisma.SortOrder - bankAccountNumber?: Prisma.SortOrder - bankAccountName?: Prisma.SortOrder - status?: Prisma.SortOrder - rejectionReason?: Prisma.SortOrderInput | Prisma.SortOrder - reviewedAt?: Prisma.SortOrderInput | Prisma.SortOrder - reviewedById?: Prisma.SortOrderInput | Prisma.SortOrder - verifiedAt?: Prisma.SortOrderInput | Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - user?: Prisma.UserOrderByWithRelationInput - reviewedBy?: Prisma.UserOrderByWithRelationInput -} - -export type OrganizerVerificationWhereUniqueInput = Prisma.AtLeast<{ - id?: string - userId?: string - nikHash?: string - AND?: Prisma.OrganizerVerificationWhereInput | Prisma.OrganizerVerificationWhereInput[] - OR?: Prisma.OrganizerVerificationWhereInput[] - NOT?: Prisma.OrganizerVerificationWhereInput | Prisma.OrganizerVerificationWhereInput[] - fullName?: Prisma.StringFilter<"OrganizerVerification"> | string - nikEncrypted?: Prisma.StringFilter<"OrganizerVerification"> | string - birthDate?: Prisma.DateTimeFilter<"OrganizerVerification"> | Date | string - address?: Prisma.StringFilter<"OrganizerVerification"> | string - ktpImageKey?: Prisma.StringFilter<"OrganizerVerification"> | string - livenessKey?: Prisma.StringFilter<"OrganizerVerification"> | string - bankName?: Prisma.StringFilter<"OrganizerVerification"> | string - bankAccountNumber?: Prisma.StringFilter<"OrganizerVerification"> | string - bankAccountName?: Prisma.StringFilter<"OrganizerVerification"> | string - status?: Prisma.EnumVerificationStatusFilter<"OrganizerVerification"> | $Enums.VerificationStatus - rejectionReason?: Prisma.StringNullableFilter<"OrganizerVerification"> | string | null - reviewedAt?: Prisma.DateTimeNullableFilter<"OrganizerVerification"> | Date | string | null - reviewedById?: Prisma.StringNullableFilter<"OrganizerVerification"> | string | null - verifiedAt?: Prisma.DateTimeNullableFilter<"OrganizerVerification"> | Date | string | null - createdAt?: Prisma.DateTimeFilter<"OrganizerVerification"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"OrganizerVerification"> | Date | string - user?: Prisma.XOR - reviewedBy?: Prisma.XOR | null -}, "id" | "userId" | "nikHash"> - -export type OrganizerVerificationOrderByWithAggregationInput = { - id?: Prisma.SortOrder - userId?: Prisma.SortOrder - fullName?: Prisma.SortOrder - nikEncrypted?: Prisma.SortOrder - nikHash?: Prisma.SortOrder - birthDate?: Prisma.SortOrder - address?: Prisma.SortOrder - ktpImageKey?: Prisma.SortOrder - livenessKey?: Prisma.SortOrder - bankName?: Prisma.SortOrder - bankAccountNumber?: Prisma.SortOrder - bankAccountName?: Prisma.SortOrder - status?: Prisma.SortOrder - rejectionReason?: Prisma.SortOrderInput | Prisma.SortOrder - reviewedAt?: Prisma.SortOrderInput | Prisma.SortOrder - reviewedById?: Prisma.SortOrderInput | Prisma.SortOrder - verifiedAt?: Prisma.SortOrderInput | Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - _count?: Prisma.OrganizerVerificationCountOrderByAggregateInput - _max?: Prisma.OrganizerVerificationMaxOrderByAggregateInput - _min?: Prisma.OrganizerVerificationMinOrderByAggregateInput -} - -export type OrganizerVerificationScalarWhereWithAggregatesInput = { - AND?: Prisma.OrganizerVerificationScalarWhereWithAggregatesInput | Prisma.OrganizerVerificationScalarWhereWithAggregatesInput[] - OR?: Prisma.OrganizerVerificationScalarWhereWithAggregatesInput[] - NOT?: Prisma.OrganizerVerificationScalarWhereWithAggregatesInput | Prisma.OrganizerVerificationScalarWhereWithAggregatesInput[] - id?: Prisma.StringWithAggregatesFilter<"OrganizerVerification"> | string - userId?: Prisma.StringWithAggregatesFilter<"OrganizerVerification"> | string - fullName?: Prisma.StringWithAggregatesFilter<"OrganizerVerification"> | string - nikEncrypted?: Prisma.StringWithAggregatesFilter<"OrganizerVerification"> | string - nikHash?: Prisma.StringWithAggregatesFilter<"OrganizerVerification"> | string - birthDate?: Prisma.DateTimeWithAggregatesFilter<"OrganizerVerification"> | Date | string - address?: Prisma.StringWithAggregatesFilter<"OrganizerVerification"> | string - ktpImageKey?: Prisma.StringWithAggregatesFilter<"OrganizerVerification"> | string - livenessKey?: Prisma.StringWithAggregatesFilter<"OrganizerVerification"> | string - bankName?: Prisma.StringWithAggregatesFilter<"OrganizerVerification"> | string - bankAccountNumber?: Prisma.StringWithAggregatesFilter<"OrganizerVerification"> | string - bankAccountName?: Prisma.StringWithAggregatesFilter<"OrganizerVerification"> | string - status?: Prisma.EnumVerificationStatusWithAggregatesFilter<"OrganizerVerification"> | $Enums.VerificationStatus - rejectionReason?: Prisma.StringNullableWithAggregatesFilter<"OrganizerVerification"> | string | null - reviewedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"OrganizerVerification"> | Date | string | null - reviewedById?: Prisma.StringNullableWithAggregatesFilter<"OrganizerVerification"> | string | null - verifiedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"OrganizerVerification"> | Date | string | null - createdAt?: Prisma.DateTimeWithAggregatesFilter<"OrganizerVerification"> | Date | string - updatedAt?: Prisma.DateTimeWithAggregatesFilter<"OrganizerVerification"> | Date | string -} - -export type OrganizerVerificationCreateInput = { - id?: string - fullName: string - nikEncrypted: string - nikHash: string - birthDate: Date | string - address: string - ktpImageKey: string - livenessKey: string - bankName: string - bankAccountNumber: string - bankAccountName: string - status?: $Enums.VerificationStatus - rejectionReason?: string | null - reviewedAt?: Date | string | null - verifiedAt?: Date | string | null - createdAt?: Date | string - updatedAt?: Date | string - user: Prisma.UserCreateNestedOneWithoutOrganizerVerificationInput - reviewedBy?: Prisma.UserCreateNestedOneWithoutReviewedVerificationsInput -} - -export type OrganizerVerificationUncheckedCreateInput = { - id?: string - userId: string - fullName: string - nikEncrypted: string - nikHash: string - birthDate: Date | string - address: string - ktpImageKey: string - livenessKey: string - bankName: string - bankAccountNumber: string - bankAccountName: string - status?: $Enums.VerificationStatus - rejectionReason?: string | null - reviewedAt?: Date | string | null - reviewedById?: string | null - verifiedAt?: Date | string | null - createdAt?: Date | string - updatedAt?: Date | string -} - -export type OrganizerVerificationUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - fullName?: Prisma.StringFieldUpdateOperationsInput | string - nikEncrypted?: Prisma.StringFieldUpdateOperationsInput | string - nikHash?: Prisma.StringFieldUpdateOperationsInput | string - birthDate?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - address?: Prisma.StringFieldUpdateOperationsInput | string - ktpImageKey?: Prisma.StringFieldUpdateOperationsInput | string - livenessKey?: Prisma.StringFieldUpdateOperationsInput | string - bankName?: Prisma.StringFieldUpdateOperationsInput | string - bankAccountNumber?: Prisma.StringFieldUpdateOperationsInput | string - bankAccountName?: Prisma.StringFieldUpdateOperationsInput | string - status?: Prisma.EnumVerificationStatusFieldUpdateOperationsInput | $Enums.VerificationStatus - rejectionReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - reviewedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - verifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - user?: Prisma.UserUpdateOneRequiredWithoutOrganizerVerificationNestedInput - reviewedBy?: Prisma.UserUpdateOneWithoutReviewedVerificationsNestedInput -} - -export type OrganizerVerificationUncheckedUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - userId?: Prisma.StringFieldUpdateOperationsInput | string - fullName?: Prisma.StringFieldUpdateOperationsInput | string - nikEncrypted?: Prisma.StringFieldUpdateOperationsInput | string - nikHash?: Prisma.StringFieldUpdateOperationsInput | string - birthDate?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - address?: Prisma.StringFieldUpdateOperationsInput | string - ktpImageKey?: Prisma.StringFieldUpdateOperationsInput | string - livenessKey?: Prisma.StringFieldUpdateOperationsInput | string - bankName?: Prisma.StringFieldUpdateOperationsInput | string - bankAccountNumber?: Prisma.StringFieldUpdateOperationsInput | string - bankAccountName?: Prisma.StringFieldUpdateOperationsInput | string - status?: Prisma.EnumVerificationStatusFieldUpdateOperationsInput | $Enums.VerificationStatus - rejectionReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - reviewedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - reviewedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - verifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - -export type OrganizerVerificationCreateManyInput = { - id?: string - userId: string - fullName: string - nikEncrypted: string - nikHash: string - birthDate: Date | string - address: string - ktpImageKey: string - livenessKey: string - bankName: string - bankAccountNumber: string - bankAccountName: string - status?: $Enums.VerificationStatus - rejectionReason?: string | null - reviewedAt?: Date | string | null - reviewedById?: string | null - verifiedAt?: Date | string | null - createdAt?: Date | string - updatedAt?: Date | string -} - -export type OrganizerVerificationUpdateManyMutationInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - fullName?: Prisma.StringFieldUpdateOperationsInput | string - nikEncrypted?: Prisma.StringFieldUpdateOperationsInput | string - nikHash?: Prisma.StringFieldUpdateOperationsInput | string - birthDate?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - address?: Prisma.StringFieldUpdateOperationsInput | string - ktpImageKey?: Prisma.StringFieldUpdateOperationsInput | string - livenessKey?: Prisma.StringFieldUpdateOperationsInput | string - bankName?: Prisma.StringFieldUpdateOperationsInput | string - bankAccountNumber?: Prisma.StringFieldUpdateOperationsInput | string - bankAccountName?: Prisma.StringFieldUpdateOperationsInput | string - status?: Prisma.EnumVerificationStatusFieldUpdateOperationsInput | $Enums.VerificationStatus - rejectionReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - reviewedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - verifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - -export type OrganizerVerificationUncheckedUpdateManyInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - userId?: Prisma.StringFieldUpdateOperationsInput | string - fullName?: Prisma.StringFieldUpdateOperationsInput | string - nikEncrypted?: Prisma.StringFieldUpdateOperationsInput | string - nikHash?: Prisma.StringFieldUpdateOperationsInput | string - birthDate?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - address?: Prisma.StringFieldUpdateOperationsInput | string - ktpImageKey?: Prisma.StringFieldUpdateOperationsInput | string - livenessKey?: Prisma.StringFieldUpdateOperationsInput | string - bankName?: Prisma.StringFieldUpdateOperationsInput | string - bankAccountNumber?: Prisma.StringFieldUpdateOperationsInput | string - bankAccountName?: Prisma.StringFieldUpdateOperationsInput | string - status?: Prisma.EnumVerificationStatusFieldUpdateOperationsInput | $Enums.VerificationStatus - rejectionReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - reviewedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - reviewedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - verifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - -export type OrganizerVerificationNullableScalarRelationFilter = { - is?: Prisma.OrganizerVerificationWhereInput | null - isNot?: Prisma.OrganizerVerificationWhereInput | null -} - -export type OrganizerVerificationListRelationFilter = { - every?: Prisma.OrganizerVerificationWhereInput - some?: Prisma.OrganizerVerificationWhereInput - none?: Prisma.OrganizerVerificationWhereInput -} - -export type OrganizerVerificationOrderByRelationAggregateInput = { - _count?: Prisma.SortOrder -} - -export type OrganizerVerificationCountOrderByAggregateInput = { - id?: Prisma.SortOrder - userId?: Prisma.SortOrder - fullName?: Prisma.SortOrder - nikEncrypted?: Prisma.SortOrder - nikHash?: Prisma.SortOrder - birthDate?: Prisma.SortOrder - address?: Prisma.SortOrder - ktpImageKey?: Prisma.SortOrder - livenessKey?: Prisma.SortOrder - bankName?: Prisma.SortOrder - bankAccountNumber?: Prisma.SortOrder - bankAccountName?: Prisma.SortOrder - status?: Prisma.SortOrder - rejectionReason?: Prisma.SortOrder - reviewedAt?: Prisma.SortOrder - reviewedById?: Prisma.SortOrder - verifiedAt?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder -} - -export type OrganizerVerificationMaxOrderByAggregateInput = { - id?: Prisma.SortOrder - userId?: Prisma.SortOrder - fullName?: Prisma.SortOrder - nikEncrypted?: Prisma.SortOrder - nikHash?: Prisma.SortOrder - birthDate?: Prisma.SortOrder - address?: Prisma.SortOrder - ktpImageKey?: Prisma.SortOrder - livenessKey?: Prisma.SortOrder - bankName?: Prisma.SortOrder - bankAccountNumber?: Prisma.SortOrder - bankAccountName?: Prisma.SortOrder - status?: Prisma.SortOrder - rejectionReason?: Prisma.SortOrder - reviewedAt?: Prisma.SortOrder - reviewedById?: Prisma.SortOrder - verifiedAt?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder -} - -export type OrganizerVerificationMinOrderByAggregateInput = { - id?: Prisma.SortOrder - userId?: Prisma.SortOrder - fullName?: Prisma.SortOrder - nikEncrypted?: Prisma.SortOrder - nikHash?: Prisma.SortOrder - birthDate?: Prisma.SortOrder - address?: Prisma.SortOrder - ktpImageKey?: Prisma.SortOrder - livenessKey?: Prisma.SortOrder - bankName?: Prisma.SortOrder - bankAccountNumber?: Prisma.SortOrder - bankAccountName?: Prisma.SortOrder - status?: Prisma.SortOrder - rejectionReason?: Prisma.SortOrder - reviewedAt?: Prisma.SortOrder - reviewedById?: Prisma.SortOrder - verifiedAt?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder -} - -export type OrganizerVerificationCreateNestedOneWithoutUserInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.OrganizerVerificationCreateOrConnectWithoutUserInput - connect?: Prisma.OrganizerVerificationWhereUniqueInput -} - -export type OrganizerVerificationCreateNestedManyWithoutReviewedByInput = { - create?: Prisma.XOR | Prisma.OrganizerVerificationCreateWithoutReviewedByInput[] | Prisma.OrganizerVerificationUncheckedCreateWithoutReviewedByInput[] - connectOrCreate?: Prisma.OrganizerVerificationCreateOrConnectWithoutReviewedByInput | Prisma.OrganizerVerificationCreateOrConnectWithoutReviewedByInput[] - createMany?: Prisma.OrganizerVerificationCreateManyReviewedByInputEnvelope - connect?: Prisma.OrganizerVerificationWhereUniqueInput | Prisma.OrganizerVerificationWhereUniqueInput[] -} - -export type OrganizerVerificationUncheckedCreateNestedOneWithoutUserInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.OrganizerVerificationCreateOrConnectWithoutUserInput - connect?: Prisma.OrganizerVerificationWhereUniqueInput -} - -export type OrganizerVerificationUncheckedCreateNestedManyWithoutReviewedByInput = { - create?: Prisma.XOR | Prisma.OrganizerVerificationCreateWithoutReviewedByInput[] | Prisma.OrganizerVerificationUncheckedCreateWithoutReviewedByInput[] - connectOrCreate?: Prisma.OrganizerVerificationCreateOrConnectWithoutReviewedByInput | Prisma.OrganizerVerificationCreateOrConnectWithoutReviewedByInput[] - createMany?: Prisma.OrganizerVerificationCreateManyReviewedByInputEnvelope - connect?: Prisma.OrganizerVerificationWhereUniqueInput | Prisma.OrganizerVerificationWhereUniqueInput[] -} - -export type OrganizerVerificationUpdateOneWithoutUserNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.OrganizerVerificationCreateOrConnectWithoutUserInput - upsert?: Prisma.OrganizerVerificationUpsertWithoutUserInput - disconnect?: Prisma.OrganizerVerificationWhereInput | boolean - delete?: Prisma.OrganizerVerificationWhereInput | boolean - connect?: Prisma.OrganizerVerificationWhereUniqueInput - update?: Prisma.XOR, Prisma.OrganizerVerificationUncheckedUpdateWithoutUserInput> -} - -export type OrganizerVerificationUpdateManyWithoutReviewedByNestedInput = { - create?: Prisma.XOR | Prisma.OrganizerVerificationCreateWithoutReviewedByInput[] | Prisma.OrganizerVerificationUncheckedCreateWithoutReviewedByInput[] - connectOrCreate?: Prisma.OrganizerVerificationCreateOrConnectWithoutReviewedByInput | Prisma.OrganizerVerificationCreateOrConnectWithoutReviewedByInput[] - upsert?: Prisma.OrganizerVerificationUpsertWithWhereUniqueWithoutReviewedByInput | Prisma.OrganizerVerificationUpsertWithWhereUniqueWithoutReviewedByInput[] - createMany?: Prisma.OrganizerVerificationCreateManyReviewedByInputEnvelope - set?: Prisma.OrganizerVerificationWhereUniqueInput | Prisma.OrganizerVerificationWhereUniqueInput[] - disconnect?: Prisma.OrganizerVerificationWhereUniqueInput | Prisma.OrganizerVerificationWhereUniqueInput[] - delete?: Prisma.OrganizerVerificationWhereUniqueInput | Prisma.OrganizerVerificationWhereUniqueInput[] - connect?: Prisma.OrganizerVerificationWhereUniqueInput | Prisma.OrganizerVerificationWhereUniqueInput[] - update?: Prisma.OrganizerVerificationUpdateWithWhereUniqueWithoutReviewedByInput | Prisma.OrganizerVerificationUpdateWithWhereUniqueWithoutReviewedByInput[] - updateMany?: Prisma.OrganizerVerificationUpdateManyWithWhereWithoutReviewedByInput | Prisma.OrganizerVerificationUpdateManyWithWhereWithoutReviewedByInput[] - deleteMany?: Prisma.OrganizerVerificationScalarWhereInput | Prisma.OrganizerVerificationScalarWhereInput[] -} - -export type OrganizerVerificationUncheckedUpdateOneWithoutUserNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.OrganizerVerificationCreateOrConnectWithoutUserInput - upsert?: Prisma.OrganizerVerificationUpsertWithoutUserInput - disconnect?: Prisma.OrganizerVerificationWhereInput | boolean - delete?: Prisma.OrganizerVerificationWhereInput | boolean - connect?: Prisma.OrganizerVerificationWhereUniqueInput - update?: Prisma.XOR, Prisma.OrganizerVerificationUncheckedUpdateWithoutUserInput> -} - -export type OrganizerVerificationUncheckedUpdateManyWithoutReviewedByNestedInput = { - create?: Prisma.XOR | Prisma.OrganizerVerificationCreateWithoutReviewedByInput[] | Prisma.OrganizerVerificationUncheckedCreateWithoutReviewedByInput[] - connectOrCreate?: Prisma.OrganizerVerificationCreateOrConnectWithoutReviewedByInput | Prisma.OrganizerVerificationCreateOrConnectWithoutReviewedByInput[] - upsert?: Prisma.OrganizerVerificationUpsertWithWhereUniqueWithoutReviewedByInput | Prisma.OrganizerVerificationUpsertWithWhereUniqueWithoutReviewedByInput[] - createMany?: Prisma.OrganizerVerificationCreateManyReviewedByInputEnvelope - set?: Prisma.OrganizerVerificationWhereUniqueInput | Prisma.OrganizerVerificationWhereUniqueInput[] - disconnect?: Prisma.OrganizerVerificationWhereUniqueInput | Prisma.OrganizerVerificationWhereUniqueInput[] - delete?: Prisma.OrganizerVerificationWhereUniqueInput | Prisma.OrganizerVerificationWhereUniqueInput[] - connect?: Prisma.OrganizerVerificationWhereUniqueInput | Prisma.OrganizerVerificationWhereUniqueInput[] - update?: Prisma.OrganizerVerificationUpdateWithWhereUniqueWithoutReviewedByInput | Prisma.OrganizerVerificationUpdateWithWhereUniqueWithoutReviewedByInput[] - updateMany?: Prisma.OrganizerVerificationUpdateManyWithWhereWithoutReviewedByInput | Prisma.OrganizerVerificationUpdateManyWithWhereWithoutReviewedByInput[] - deleteMany?: Prisma.OrganizerVerificationScalarWhereInput | Prisma.OrganizerVerificationScalarWhereInput[] -} - -export type EnumVerificationStatusFieldUpdateOperationsInput = { - set?: $Enums.VerificationStatus -} - -export type OrganizerVerificationCreateWithoutUserInput = { - id?: string - fullName: string - nikEncrypted: string - nikHash: string - birthDate: Date | string - address: string - ktpImageKey: string - livenessKey: string - bankName: string - bankAccountNumber: string - bankAccountName: string - status?: $Enums.VerificationStatus - rejectionReason?: string | null - reviewedAt?: Date | string | null - verifiedAt?: Date | string | null - createdAt?: Date | string - updatedAt?: Date | string - reviewedBy?: Prisma.UserCreateNestedOneWithoutReviewedVerificationsInput -} - -export type OrganizerVerificationUncheckedCreateWithoutUserInput = { - id?: string - fullName: string - nikEncrypted: string - nikHash: string - birthDate: Date | string - address: string - ktpImageKey: string - livenessKey: string - bankName: string - bankAccountNumber: string - bankAccountName: string - status?: $Enums.VerificationStatus - rejectionReason?: string | null - reviewedAt?: Date | string | null - reviewedById?: string | null - verifiedAt?: Date | string | null - createdAt?: Date | string - updatedAt?: Date | string -} - -export type OrganizerVerificationCreateOrConnectWithoutUserInput = { - where: Prisma.OrganizerVerificationWhereUniqueInput - create: Prisma.XOR -} - -export type OrganizerVerificationCreateWithoutReviewedByInput = { - id?: string - fullName: string - nikEncrypted: string - nikHash: string - birthDate: Date | string - address: string - ktpImageKey: string - livenessKey: string - bankName: string - bankAccountNumber: string - bankAccountName: string - status?: $Enums.VerificationStatus - rejectionReason?: string | null - reviewedAt?: Date | string | null - verifiedAt?: Date | string | null - createdAt?: Date | string - updatedAt?: Date | string - user: Prisma.UserCreateNestedOneWithoutOrganizerVerificationInput -} - -export type OrganizerVerificationUncheckedCreateWithoutReviewedByInput = { - id?: string - userId: string - fullName: string - nikEncrypted: string - nikHash: string - birthDate: Date | string - address: string - ktpImageKey: string - livenessKey: string - bankName: string - bankAccountNumber: string - bankAccountName: string - status?: $Enums.VerificationStatus - rejectionReason?: string | null - reviewedAt?: Date | string | null - verifiedAt?: Date | string | null - createdAt?: Date | string - updatedAt?: Date | string -} - -export type OrganizerVerificationCreateOrConnectWithoutReviewedByInput = { - where: Prisma.OrganizerVerificationWhereUniqueInput - create: Prisma.XOR -} - -export type OrganizerVerificationCreateManyReviewedByInputEnvelope = { - data: Prisma.OrganizerVerificationCreateManyReviewedByInput | Prisma.OrganizerVerificationCreateManyReviewedByInput[] - skipDuplicates?: boolean -} - -export type OrganizerVerificationUpsertWithoutUserInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.OrganizerVerificationWhereInput -} - -export type OrganizerVerificationUpdateToOneWithWhereWithoutUserInput = { - where?: Prisma.OrganizerVerificationWhereInput - data: Prisma.XOR -} - -export type OrganizerVerificationUpdateWithoutUserInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - fullName?: Prisma.StringFieldUpdateOperationsInput | string - nikEncrypted?: Prisma.StringFieldUpdateOperationsInput | string - nikHash?: Prisma.StringFieldUpdateOperationsInput | string - birthDate?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - address?: Prisma.StringFieldUpdateOperationsInput | string - ktpImageKey?: Prisma.StringFieldUpdateOperationsInput | string - livenessKey?: Prisma.StringFieldUpdateOperationsInput | string - bankName?: Prisma.StringFieldUpdateOperationsInput | string - bankAccountNumber?: Prisma.StringFieldUpdateOperationsInput | string - bankAccountName?: Prisma.StringFieldUpdateOperationsInput | string - status?: Prisma.EnumVerificationStatusFieldUpdateOperationsInput | $Enums.VerificationStatus - rejectionReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - reviewedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - verifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - reviewedBy?: Prisma.UserUpdateOneWithoutReviewedVerificationsNestedInput -} - -export type OrganizerVerificationUncheckedUpdateWithoutUserInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - fullName?: Prisma.StringFieldUpdateOperationsInput | string - nikEncrypted?: Prisma.StringFieldUpdateOperationsInput | string - nikHash?: Prisma.StringFieldUpdateOperationsInput | string - birthDate?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - address?: Prisma.StringFieldUpdateOperationsInput | string - ktpImageKey?: Prisma.StringFieldUpdateOperationsInput | string - livenessKey?: Prisma.StringFieldUpdateOperationsInput | string - bankName?: Prisma.StringFieldUpdateOperationsInput | string - bankAccountNumber?: Prisma.StringFieldUpdateOperationsInput | string - bankAccountName?: Prisma.StringFieldUpdateOperationsInput | string - status?: Prisma.EnumVerificationStatusFieldUpdateOperationsInput | $Enums.VerificationStatus - rejectionReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - reviewedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - reviewedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - verifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - -export type OrganizerVerificationUpsertWithWhereUniqueWithoutReviewedByInput = { - where: Prisma.OrganizerVerificationWhereUniqueInput - update: Prisma.XOR - create: Prisma.XOR -} - -export type OrganizerVerificationUpdateWithWhereUniqueWithoutReviewedByInput = { - where: Prisma.OrganizerVerificationWhereUniqueInput - data: Prisma.XOR -} - -export type OrganizerVerificationUpdateManyWithWhereWithoutReviewedByInput = { - where: Prisma.OrganizerVerificationScalarWhereInput - data: Prisma.XOR -} - -export type OrganizerVerificationScalarWhereInput = { - AND?: Prisma.OrganizerVerificationScalarWhereInput | Prisma.OrganizerVerificationScalarWhereInput[] - OR?: Prisma.OrganizerVerificationScalarWhereInput[] - NOT?: Prisma.OrganizerVerificationScalarWhereInput | Prisma.OrganizerVerificationScalarWhereInput[] - id?: Prisma.StringFilter<"OrganizerVerification"> | string - userId?: Prisma.StringFilter<"OrganizerVerification"> | string - fullName?: Prisma.StringFilter<"OrganizerVerification"> | string - nikEncrypted?: Prisma.StringFilter<"OrganizerVerification"> | string - nikHash?: Prisma.StringFilter<"OrganizerVerification"> | string - birthDate?: Prisma.DateTimeFilter<"OrganizerVerification"> | Date | string - address?: Prisma.StringFilter<"OrganizerVerification"> | string - ktpImageKey?: Prisma.StringFilter<"OrganizerVerification"> | string - livenessKey?: Prisma.StringFilter<"OrganizerVerification"> | string - bankName?: Prisma.StringFilter<"OrganizerVerification"> | string - bankAccountNumber?: Prisma.StringFilter<"OrganizerVerification"> | string - bankAccountName?: Prisma.StringFilter<"OrganizerVerification"> | string - status?: Prisma.EnumVerificationStatusFilter<"OrganizerVerification"> | $Enums.VerificationStatus - rejectionReason?: Prisma.StringNullableFilter<"OrganizerVerification"> | string | null - reviewedAt?: Prisma.DateTimeNullableFilter<"OrganizerVerification"> | Date | string | null - reviewedById?: Prisma.StringNullableFilter<"OrganizerVerification"> | string | null - verifiedAt?: Prisma.DateTimeNullableFilter<"OrganizerVerification"> | Date | string | null - createdAt?: Prisma.DateTimeFilter<"OrganizerVerification"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"OrganizerVerification"> | Date | string -} - -export type OrganizerVerificationCreateManyReviewedByInput = { - id?: string - userId: string - fullName: string - nikEncrypted: string - nikHash: string - birthDate: Date | string - address: string - ktpImageKey: string - livenessKey: string - bankName: string - bankAccountNumber: string - bankAccountName: string - status?: $Enums.VerificationStatus - rejectionReason?: string | null - reviewedAt?: Date | string | null - verifiedAt?: Date | string | null - createdAt?: Date | string - updatedAt?: Date | string -} - -export type OrganizerVerificationUpdateWithoutReviewedByInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - fullName?: Prisma.StringFieldUpdateOperationsInput | string - nikEncrypted?: Prisma.StringFieldUpdateOperationsInput | string - nikHash?: Prisma.StringFieldUpdateOperationsInput | string - birthDate?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - address?: Prisma.StringFieldUpdateOperationsInput | string - ktpImageKey?: Prisma.StringFieldUpdateOperationsInput | string - livenessKey?: Prisma.StringFieldUpdateOperationsInput | string - bankName?: Prisma.StringFieldUpdateOperationsInput | string - bankAccountNumber?: Prisma.StringFieldUpdateOperationsInput | string - bankAccountName?: Prisma.StringFieldUpdateOperationsInput | string - status?: Prisma.EnumVerificationStatusFieldUpdateOperationsInput | $Enums.VerificationStatus - rejectionReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - reviewedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - verifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - user?: Prisma.UserUpdateOneRequiredWithoutOrganizerVerificationNestedInput -} - -export type OrganizerVerificationUncheckedUpdateWithoutReviewedByInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - userId?: Prisma.StringFieldUpdateOperationsInput | string - fullName?: Prisma.StringFieldUpdateOperationsInput | string - nikEncrypted?: Prisma.StringFieldUpdateOperationsInput | string - nikHash?: Prisma.StringFieldUpdateOperationsInput | string - birthDate?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - address?: Prisma.StringFieldUpdateOperationsInput | string - ktpImageKey?: Prisma.StringFieldUpdateOperationsInput | string - livenessKey?: Prisma.StringFieldUpdateOperationsInput | string - bankName?: Prisma.StringFieldUpdateOperationsInput | string - bankAccountNumber?: Prisma.StringFieldUpdateOperationsInput | string - bankAccountName?: Prisma.StringFieldUpdateOperationsInput | string - status?: Prisma.EnumVerificationStatusFieldUpdateOperationsInput | $Enums.VerificationStatus - rejectionReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - reviewedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - verifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - -export type OrganizerVerificationUncheckedUpdateManyWithoutReviewedByInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - userId?: Prisma.StringFieldUpdateOperationsInput | string - fullName?: Prisma.StringFieldUpdateOperationsInput | string - nikEncrypted?: Prisma.StringFieldUpdateOperationsInput | string - nikHash?: Prisma.StringFieldUpdateOperationsInput | string - birthDate?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - address?: Prisma.StringFieldUpdateOperationsInput | string - ktpImageKey?: Prisma.StringFieldUpdateOperationsInput | string - livenessKey?: Prisma.StringFieldUpdateOperationsInput | string - bankName?: Prisma.StringFieldUpdateOperationsInput | string - bankAccountNumber?: Prisma.StringFieldUpdateOperationsInput | string - bankAccountName?: Prisma.StringFieldUpdateOperationsInput | string - status?: Prisma.EnumVerificationStatusFieldUpdateOperationsInput | $Enums.VerificationStatus - rejectionReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - reviewedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - verifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - - - -export type OrganizerVerificationSelect = runtime.Types.Extensions.GetSelect<{ - id?: boolean - userId?: boolean - fullName?: boolean - nikEncrypted?: boolean - nikHash?: boolean - birthDate?: boolean - address?: boolean - ktpImageKey?: boolean - livenessKey?: boolean - bankName?: boolean - bankAccountNumber?: boolean - bankAccountName?: boolean - status?: boolean - rejectionReason?: boolean - reviewedAt?: boolean - reviewedById?: boolean - verifiedAt?: boolean - createdAt?: boolean - updatedAt?: boolean - user?: boolean | Prisma.UserDefaultArgs - reviewedBy?: boolean | Prisma.OrganizerVerification$reviewedByArgs -}, ExtArgs["result"]["organizerVerification"]> - -export type OrganizerVerificationSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - userId?: boolean - fullName?: boolean - nikEncrypted?: boolean - nikHash?: boolean - birthDate?: boolean - address?: boolean - ktpImageKey?: boolean - livenessKey?: boolean - bankName?: boolean - bankAccountNumber?: boolean - bankAccountName?: boolean - status?: boolean - rejectionReason?: boolean - reviewedAt?: boolean - reviewedById?: boolean - verifiedAt?: boolean - createdAt?: boolean - updatedAt?: boolean - user?: boolean | Prisma.UserDefaultArgs - reviewedBy?: boolean | Prisma.OrganizerVerification$reviewedByArgs -}, ExtArgs["result"]["organizerVerification"]> - -export type OrganizerVerificationSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - userId?: boolean - fullName?: boolean - nikEncrypted?: boolean - nikHash?: boolean - birthDate?: boolean - address?: boolean - ktpImageKey?: boolean - livenessKey?: boolean - bankName?: boolean - bankAccountNumber?: boolean - bankAccountName?: boolean - status?: boolean - rejectionReason?: boolean - reviewedAt?: boolean - reviewedById?: boolean - verifiedAt?: boolean - createdAt?: boolean - updatedAt?: boolean - user?: boolean | Prisma.UserDefaultArgs - reviewedBy?: boolean | Prisma.OrganizerVerification$reviewedByArgs -}, ExtArgs["result"]["organizerVerification"]> - -export type OrganizerVerificationSelectScalar = { - id?: boolean - userId?: boolean - fullName?: boolean - nikEncrypted?: boolean - nikHash?: boolean - birthDate?: boolean - address?: boolean - ktpImageKey?: boolean - livenessKey?: boolean - bankName?: boolean - bankAccountNumber?: boolean - bankAccountName?: boolean - status?: boolean - rejectionReason?: boolean - reviewedAt?: boolean - reviewedById?: boolean - verifiedAt?: boolean - createdAt?: boolean - updatedAt?: boolean -} - -export type OrganizerVerificationOmit = runtime.Types.Extensions.GetOmit<"id" | "userId" | "fullName" | "nikEncrypted" | "nikHash" | "birthDate" | "address" | "ktpImageKey" | "livenessKey" | "bankName" | "bankAccountNumber" | "bankAccountName" | "status" | "rejectionReason" | "reviewedAt" | "reviewedById" | "verifiedAt" | "createdAt" | "updatedAt", ExtArgs["result"]["organizerVerification"]> -export type OrganizerVerificationInclude = { - user?: boolean | Prisma.UserDefaultArgs - reviewedBy?: boolean | Prisma.OrganizerVerification$reviewedByArgs -} -export type OrganizerVerificationIncludeCreateManyAndReturn = { - user?: boolean | Prisma.UserDefaultArgs - reviewedBy?: boolean | Prisma.OrganizerVerification$reviewedByArgs -} -export type OrganizerVerificationIncludeUpdateManyAndReturn = { - user?: boolean | Prisma.UserDefaultArgs - reviewedBy?: boolean | Prisma.OrganizerVerification$reviewedByArgs -} - -export type $OrganizerVerificationPayload = { - name: "OrganizerVerification" - objects: { - user: Prisma.$UserPayload - reviewedBy: Prisma.$UserPayload | null - } - scalars: runtime.Types.Extensions.GetPayloadResult<{ - id: string - userId: string - /** - * Nama lengkap sesuai KTP - */ - fullName: string - /** - * NIK terenkripsi (AES-256-GCM, base64). Plaintext tidak disimpan. - */ - nikEncrypted: string - /** - * HMAC-SHA256(NIK + pepper) untuk uniqueness lookup tanpa membuka plaintext. - */ - nikHash: string - birthDate: Date - address: string - /** - * Storage key foto KTP (mis. `ktp/.jpg`). File disimpan terenkripsi di luar /public. - */ - ktpImageKey: string - /** - * Storage key foto liveness — user memegang kertas bertuliskan "SETRIP". - * (Sebelumnya: selfie memegang KTP. Diganti supaya user tidak perlu memajang KTP dua kali.) - */ - livenessKey: string - bankName: string - bankAccountNumber: string - bankAccountName: string - status: $Enums.VerificationStatus - rejectionReason: string | null - reviewedAt: Date | null - reviewedById: string | null - verifiedAt: Date | null - createdAt: Date - updatedAt: Date - }, ExtArgs["result"]["organizerVerification"]> - composites: {} -} - -export type OrganizerVerificationGetPayload = runtime.Types.Result.GetResult - -export type OrganizerVerificationCountArgs = - Omit & { - select?: OrganizerVerificationCountAggregateInputType | true - } - -export interface OrganizerVerificationDelegate { - [K: symbol]: { types: Prisma.TypeMap['model']['OrganizerVerification'], meta: { name: 'OrganizerVerification' } } - /** - * Find zero or one OrganizerVerification that matches the filter. - * @param {OrganizerVerificationFindUniqueArgs} args - Arguments to find a OrganizerVerification - * @example - * // Get one OrganizerVerification - * const organizerVerification = await prisma.organizerVerification.findUnique({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__OrganizerVerificationClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find one OrganizerVerification that matches the filter or throw an error with `error.code='P2025'` - * if no matches were found. - * @param {OrganizerVerificationFindUniqueOrThrowArgs} args - Arguments to find a OrganizerVerification - * @example - * // Get one OrganizerVerification - * const organizerVerification = await prisma.organizerVerification.findUniqueOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__OrganizerVerificationClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find the first OrganizerVerification 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 {OrganizerVerificationFindFirstArgs} args - Arguments to find a OrganizerVerification - * @example - * // Get one OrganizerVerification - * const organizerVerification = await prisma.organizerVerification.findFirst({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__OrganizerVerificationClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find the first OrganizerVerification 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 {OrganizerVerificationFindFirstOrThrowArgs} args - Arguments to find a OrganizerVerification - * @example - * // Get one OrganizerVerification - * const organizerVerification = await prisma.organizerVerification.findFirstOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__OrganizerVerificationClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find zero or more OrganizerVerifications 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 {OrganizerVerificationFindManyArgs} args - Arguments to filter and select certain fields only. - * @example - * // Get all OrganizerVerifications - * const organizerVerifications = await prisma.organizerVerification.findMany() - * - * // Get first 10 OrganizerVerifications - * const organizerVerifications = await prisma.organizerVerification.findMany({ take: 10 }) - * - * // Only select the `id` - * const organizerVerificationWithIdOnly = await prisma.organizerVerification.findMany({ select: { id: true } }) - * - */ - findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> - - /** - * Create a OrganizerVerification. - * @param {OrganizerVerificationCreateArgs} args - Arguments to create a OrganizerVerification. - * @example - * // Create one OrganizerVerification - * const OrganizerVerification = await prisma.organizerVerification.create({ - * data: { - * // ... data to create a OrganizerVerification - * } - * }) - * - */ - create(args: Prisma.SelectSubset>): Prisma.Prisma__OrganizerVerificationClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Create many OrganizerVerifications. - * @param {OrganizerVerificationCreateManyArgs} args - Arguments to create many OrganizerVerifications. - * @example - * // Create many OrganizerVerifications - * const organizerVerification = await prisma.organizerVerification.createMany({ - * data: [ - * // ... provide data here - * ] - * }) - * - */ - createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Create many OrganizerVerifications and returns the data saved in the database. - * @param {OrganizerVerificationCreateManyAndReturnArgs} args - Arguments to create many OrganizerVerifications. - * @example - * // Create many OrganizerVerifications - * const organizerVerification = await prisma.organizerVerification.createManyAndReturn({ - * data: [ - * // ... provide data here - * ] - * }) - * - * // Create many OrganizerVerifications and only return the `id` - * const organizerVerificationWithIdOnly = await prisma.organizerVerification.createManyAndReturn({ - * select: { id: true }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> - - /** - * Delete a OrganizerVerification. - * @param {OrganizerVerificationDeleteArgs} args - Arguments to delete one OrganizerVerification. - * @example - * // Delete one OrganizerVerification - * const OrganizerVerification = await prisma.organizerVerification.delete({ - * where: { - * // ... filter to delete one OrganizerVerification - * } - * }) - * - */ - delete(args: Prisma.SelectSubset>): Prisma.Prisma__OrganizerVerificationClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Update one OrganizerVerification. - * @param {OrganizerVerificationUpdateArgs} args - Arguments to update one OrganizerVerification. - * @example - * // Update one OrganizerVerification - * const organizerVerification = await prisma.organizerVerification.update({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - update(args: Prisma.SelectSubset>): Prisma.Prisma__OrganizerVerificationClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Delete zero or more OrganizerVerifications. - * @param {OrganizerVerificationDeleteManyArgs} args - Arguments to filter OrganizerVerifications to delete. - * @example - * // Delete a few OrganizerVerifications - * const { count } = await prisma.organizerVerification.deleteMany({ - * where: { - * // ... provide filter here - * } - * }) - * - */ - deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more OrganizerVerifications. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {OrganizerVerificationUpdateManyArgs} args - Arguments to update one or more rows. - * @example - * // Update many OrganizerVerifications - * const organizerVerification = await prisma.organizerVerification.updateMany({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more OrganizerVerifications and returns the data updated in the database. - * @param {OrganizerVerificationUpdateManyAndReturnArgs} args - Arguments to update many OrganizerVerifications. - * @example - * // Update many OrganizerVerifications - * const organizerVerification = await prisma.organizerVerification.updateManyAndReturn({ - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * - * // Update zero or more OrganizerVerifications and only return the `id` - * const organizerVerificationWithIdOnly = await prisma.organizerVerification.updateManyAndReturn({ - * select: { id: true }, - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> - - /** - * Create or update one OrganizerVerification. - * @param {OrganizerVerificationUpsertArgs} args - Arguments to update or create a OrganizerVerification. - * @example - * // Update or create a OrganizerVerification - * const organizerVerification = await prisma.organizerVerification.upsert({ - * create: { - * // ... data to create a OrganizerVerification - * }, - * update: { - * // ... in case it already exists, update - * }, - * where: { - * // ... the filter for the OrganizerVerification we want to update - * } - * }) - */ - upsert(args: Prisma.SelectSubset>): Prisma.Prisma__OrganizerVerificationClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - - /** - * Count the number of OrganizerVerifications. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {OrganizerVerificationCountArgs} args - Arguments to filter OrganizerVerifications to count. - * @example - * // Count the number of OrganizerVerifications - * const count = await prisma.organizerVerification.count({ - * where: { - * // ... the filter for the OrganizerVerifications we want to count - * } - * }) - **/ - count( - args?: Prisma.Subset, - ): Prisma.PrismaPromise< - T extends runtime.Types.Utils.Record<'select', any> - ? T['select'] extends true - ? number - : Prisma.GetScalarType - : number - > - - /** - * Allows you to perform aggregations operations on a OrganizerVerification. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {OrganizerVerificationAggregateArgs} args - Select which aggregations you would like to apply and on what fields. - * @example - * // Ordered by age ascending - * // Where email contains prisma.io - * // Limited to the 10 users - * const aggregations = await prisma.user.aggregate({ - * _avg: { - * age: true, - * }, - * where: { - * email: { - * contains: "prisma.io", - * }, - * }, - * orderBy: { - * age: "asc", - * }, - * take: 10, - * }) - **/ - aggregate(args: Prisma.Subset): Prisma.PrismaPromise> - - /** - * Group by OrganizerVerification. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {OrganizerVerificationGroupByArgs} 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 OrganizerVerificationGroupByArgs, - HasSelectOrTake extends Prisma.Or< - Prisma.Extends<'skip', Prisma.Keys>, - Prisma.Extends<'take', Prisma.Keys> - >, - OrderByArg extends Prisma.True extends HasSelectOrTake - ? { orderBy: OrganizerVerificationGroupByArgs['orderBy'] } - : { orderBy?: OrganizerVerificationGroupByArgs['orderBy'] }, - OrderFields extends Prisma.ExcludeUnderscoreKeys>>, - ByFields extends Prisma.MaybeTupleToUnion, - ByValid extends Prisma.Has, - HavingFields extends Prisma.GetHavingFields, - HavingValid extends Prisma.Has, - ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, - InputErrors extends ByEmpty extends Prisma.True - ? `Error: "by" must not be empty.` - : HavingValid extends Prisma.False - ? { - [P in HavingFields]: P extends ByFields - ? never - : P extends string - ? `Error: Field "${P}" used in "having" needs to be provided in "by".` - : [ - Error, - 'Field ', - P, - ` in "having" needs to be provided in "by"`, - ] - }[HavingFields] - : 'take' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "take", you also need to provide "orderBy"' - : 'skip' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "skip", you also need to provide "orderBy"' - : ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetOrganizerVerificationGroupByPayload : Prisma.PrismaPromise -/** - * Fields of the OrganizerVerification model - */ -readonly fields: OrganizerVerificationFieldRefs; -} - -/** - * The delegate class that acts as a "Promise-like" for OrganizerVerification. - * 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__OrganizerVerificationClient extends Prisma.PrismaPromise { - readonly [Symbol.toStringTag]: "PrismaPromise" - user = {}>(args?: Prisma.Subset>): Prisma.Prisma__UserClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> - reviewedBy = {}>(args?: Prisma.Subset>): Prisma.Prisma__UserClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - /** - * Attaches callbacks for the resolution and/or rejection of the Promise. - * @param onfulfilled The callback to execute when the Promise is resolved. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of which ever callback is executed. - */ - then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback for only the rejection of the Promise. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of the callback. - */ - catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The - * resolved value cannot be modified from the callback. - * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). - * @returns A Promise for the completion of the callback. - */ - finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise -} - - - - -/** - * Fields of the OrganizerVerification model - */ -export interface OrganizerVerificationFieldRefs { - readonly id: Prisma.FieldRef<"OrganizerVerification", 'String'> - readonly userId: Prisma.FieldRef<"OrganizerVerification", 'String'> - readonly fullName: Prisma.FieldRef<"OrganizerVerification", 'String'> - readonly nikEncrypted: Prisma.FieldRef<"OrganizerVerification", 'String'> - readonly nikHash: Prisma.FieldRef<"OrganizerVerification", 'String'> - readonly birthDate: Prisma.FieldRef<"OrganizerVerification", 'DateTime'> - readonly address: Prisma.FieldRef<"OrganizerVerification", 'String'> - readonly ktpImageKey: Prisma.FieldRef<"OrganizerVerification", 'String'> - readonly livenessKey: Prisma.FieldRef<"OrganizerVerification", 'String'> - readonly bankName: Prisma.FieldRef<"OrganizerVerification", 'String'> - readonly bankAccountNumber: Prisma.FieldRef<"OrganizerVerification", 'String'> - readonly bankAccountName: Prisma.FieldRef<"OrganizerVerification", 'String'> - readonly status: Prisma.FieldRef<"OrganizerVerification", 'VerificationStatus'> - readonly rejectionReason: Prisma.FieldRef<"OrganizerVerification", 'String'> - readonly reviewedAt: Prisma.FieldRef<"OrganizerVerification", 'DateTime'> - readonly reviewedById: Prisma.FieldRef<"OrganizerVerification", 'String'> - readonly verifiedAt: Prisma.FieldRef<"OrganizerVerification", 'DateTime'> - readonly createdAt: Prisma.FieldRef<"OrganizerVerification", 'DateTime'> - readonly updatedAt: Prisma.FieldRef<"OrganizerVerification", 'DateTime'> -} - - -// Custom InputTypes -/** - * OrganizerVerification findUnique - */ -export type OrganizerVerificationFindUniqueArgs = { - /** - * Select specific fields to fetch from the OrganizerVerification - */ - select?: Prisma.OrganizerVerificationSelect | null - /** - * Omit specific fields from the OrganizerVerification - */ - omit?: Prisma.OrganizerVerificationOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.OrganizerVerificationInclude | null - /** - * Filter, which OrganizerVerification to fetch. - */ - where: Prisma.OrganizerVerificationWhereUniqueInput -} - -/** - * OrganizerVerification findUniqueOrThrow - */ -export type OrganizerVerificationFindUniqueOrThrowArgs = { - /** - * Select specific fields to fetch from the OrganizerVerification - */ - select?: Prisma.OrganizerVerificationSelect | null - /** - * Omit specific fields from the OrganizerVerification - */ - omit?: Prisma.OrganizerVerificationOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.OrganizerVerificationInclude | null - /** - * Filter, which OrganizerVerification to fetch. - */ - where: Prisma.OrganizerVerificationWhereUniqueInput -} - -/** - * OrganizerVerification findFirst - */ -export type OrganizerVerificationFindFirstArgs = { - /** - * Select specific fields to fetch from the OrganizerVerification - */ - select?: Prisma.OrganizerVerificationSelect | null - /** - * Omit specific fields from the OrganizerVerification - */ - omit?: Prisma.OrganizerVerificationOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.OrganizerVerificationInclude | null - /** - * Filter, which OrganizerVerification to fetch. - */ - where?: Prisma.OrganizerVerificationWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of OrganizerVerifications to fetch. - */ - orderBy?: Prisma.OrganizerVerificationOrderByWithRelationInput | Prisma.OrganizerVerificationOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for OrganizerVerifications. - */ - cursor?: Prisma.OrganizerVerificationWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` OrganizerVerifications 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` OrganizerVerifications. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of OrganizerVerifications. - */ - distinct?: Prisma.OrganizerVerificationScalarFieldEnum | Prisma.OrganizerVerificationScalarFieldEnum[] -} - -/** - * OrganizerVerification findFirstOrThrow - */ -export type OrganizerVerificationFindFirstOrThrowArgs = { - /** - * Select specific fields to fetch from the OrganizerVerification - */ - select?: Prisma.OrganizerVerificationSelect | null - /** - * Omit specific fields from the OrganizerVerification - */ - omit?: Prisma.OrganizerVerificationOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.OrganizerVerificationInclude | null - /** - * Filter, which OrganizerVerification to fetch. - */ - where?: Prisma.OrganizerVerificationWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of OrganizerVerifications to fetch. - */ - orderBy?: Prisma.OrganizerVerificationOrderByWithRelationInput | Prisma.OrganizerVerificationOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for OrganizerVerifications. - */ - cursor?: Prisma.OrganizerVerificationWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` OrganizerVerifications 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` OrganizerVerifications. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of OrganizerVerifications. - */ - distinct?: Prisma.OrganizerVerificationScalarFieldEnum | Prisma.OrganizerVerificationScalarFieldEnum[] -} - -/** - * OrganizerVerification findMany - */ -export type OrganizerVerificationFindManyArgs = { - /** - * Select specific fields to fetch from the OrganizerVerification - */ - select?: Prisma.OrganizerVerificationSelect | null - /** - * Omit specific fields from the OrganizerVerification - */ - omit?: Prisma.OrganizerVerificationOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.OrganizerVerificationInclude | null - /** - * Filter, which OrganizerVerifications to fetch. - */ - where?: Prisma.OrganizerVerificationWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of OrganizerVerifications to fetch. - */ - orderBy?: Prisma.OrganizerVerificationOrderByWithRelationInput | Prisma.OrganizerVerificationOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for listing OrganizerVerifications. - */ - cursor?: Prisma.OrganizerVerificationWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` OrganizerVerifications 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` OrganizerVerifications. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of OrganizerVerifications. - */ - distinct?: Prisma.OrganizerVerificationScalarFieldEnum | Prisma.OrganizerVerificationScalarFieldEnum[] -} - -/** - * OrganizerVerification create - */ -export type OrganizerVerificationCreateArgs = { - /** - * Select specific fields to fetch from the OrganizerVerification - */ - select?: Prisma.OrganizerVerificationSelect | null - /** - * Omit specific fields from the OrganizerVerification - */ - omit?: Prisma.OrganizerVerificationOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.OrganizerVerificationInclude | null - /** - * The data needed to create a OrganizerVerification. - */ - data: Prisma.XOR -} - -/** - * OrganizerVerification createMany - */ -export type OrganizerVerificationCreateManyArgs = { - /** - * The data used to create many OrganizerVerifications. - */ - data: Prisma.OrganizerVerificationCreateManyInput | Prisma.OrganizerVerificationCreateManyInput[] - skipDuplicates?: boolean -} - -/** - * OrganizerVerification createManyAndReturn - */ -export type OrganizerVerificationCreateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the OrganizerVerification - */ - select?: Prisma.OrganizerVerificationSelectCreateManyAndReturn | null - /** - * Omit specific fields from the OrganizerVerification - */ - omit?: Prisma.OrganizerVerificationOmit | null - /** - * The data used to create many OrganizerVerifications. - */ - data: Prisma.OrganizerVerificationCreateManyInput | Prisma.OrganizerVerificationCreateManyInput[] - skipDuplicates?: boolean - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.OrganizerVerificationIncludeCreateManyAndReturn | null -} - -/** - * OrganizerVerification update - */ -export type OrganizerVerificationUpdateArgs = { - /** - * Select specific fields to fetch from the OrganizerVerification - */ - select?: Prisma.OrganizerVerificationSelect | null - /** - * Omit specific fields from the OrganizerVerification - */ - omit?: Prisma.OrganizerVerificationOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.OrganizerVerificationInclude | null - /** - * The data needed to update a OrganizerVerification. - */ - data: Prisma.XOR - /** - * Choose, which OrganizerVerification to update. - */ - where: Prisma.OrganizerVerificationWhereUniqueInput -} - -/** - * OrganizerVerification updateMany - */ -export type OrganizerVerificationUpdateManyArgs = { - /** - * The data used to update OrganizerVerifications. - */ - data: Prisma.XOR - /** - * Filter which OrganizerVerifications to update - */ - where?: Prisma.OrganizerVerificationWhereInput - /** - * Limit how many OrganizerVerifications to update. - */ - limit?: number -} - -/** - * OrganizerVerification updateManyAndReturn - */ -export type OrganizerVerificationUpdateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the OrganizerVerification - */ - select?: Prisma.OrganizerVerificationSelectUpdateManyAndReturn | null - /** - * Omit specific fields from the OrganizerVerification - */ - omit?: Prisma.OrganizerVerificationOmit | null - /** - * The data used to update OrganizerVerifications. - */ - data: Prisma.XOR - /** - * Filter which OrganizerVerifications to update - */ - where?: Prisma.OrganizerVerificationWhereInput - /** - * Limit how many OrganizerVerifications to update. - */ - limit?: number - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.OrganizerVerificationIncludeUpdateManyAndReturn | null -} - -/** - * OrganizerVerification upsert - */ -export type OrganizerVerificationUpsertArgs = { - /** - * Select specific fields to fetch from the OrganizerVerification - */ - select?: Prisma.OrganizerVerificationSelect | null - /** - * Omit specific fields from the OrganizerVerification - */ - omit?: Prisma.OrganizerVerificationOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.OrganizerVerificationInclude | null - /** - * The filter to search for the OrganizerVerification to update in case it exists. - */ - where: Prisma.OrganizerVerificationWhereUniqueInput - /** - * In case the OrganizerVerification found by the `where` argument doesn't exist, create a new OrganizerVerification with this data. - */ - create: Prisma.XOR - /** - * In case the OrganizerVerification was found with the provided `where` argument, update it with this data. - */ - update: Prisma.XOR -} - -/** - * OrganizerVerification delete - */ -export type OrganizerVerificationDeleteArgs = { - /** - * Select specific fields to fetch from the OrganizerVerification - */ - select?: Prisma.OrganizerVerificationSelect | null - /** - * Omit specific fields from the OrganizerVerification - */ - omit?: Prisma.OrganizerVerificationOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.OrganizerVerificationInclude | null - /** - * Filter which OrganizerVerification to delete. - */ - where: Prisma.OrganizerVerificationWhereUniqueInput -} - -/** - * OrganizerVerification deleteMany - */ -export type OrganizerVerificationDeleteManyArgs = { - /** - * Filter which OrganizerVerifications to delete - */ - where?: Prisma.OrganizerVerificationWhereInput - /** - * Limit how many OrganizerVerifications to delete. - */ - limit?: number -} - -/** - * OrganizerVerification.reviewedBy - */ -export type OrganizerVerification$reviewedByArgs = { - /** - * Select specific fields to fetch from the User - */ - select?: Prisma.UserSelect | null - /** - * Omit specific fields from the User - */ - omit?: Prisma.UserOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserInclude | null - where?: Prisma.UserWhereInput -} - -/** - * OrganizerVerification without action - */ -export type OrganizerVerificationDefaultArgs = { - /** - * Select specific fields to fetch from the OrganizerVerification - */ - select?: Prisma.OrganizerVerificationSelect | null - /** - * Omit specific fields from the OrganizerVerification - */ - omit?: Prisma.OrganizerVerificationOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.OrganizerVerificationInclude | null -} diff --git a/app/generated/prisma/models/Payment.ts b/app/generated/prisma/models/Payment.ts deleted file mode 100644 index 6ef9ac1..0000000 --- a/app/generated/prisma/models/Payment.ts +++ /dev/null @@ -1,1979 +0,0 @@ - -/* !!! This is code generated by Prisma. Do not edit directly. !!! */ -/* eslint-disable */ -// biome-ignore-all lint: generated file -// @ts-nocheck -/* - * This file exports the `Payment` 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 Payment - * Satu attempt pembayaran. Satu Booking bisa punya banyak Payment kalau retry - * (di Phase MIDTRANS nanti). Untuk MANUAL biasanya cukup 1 Payment. - */ -export type PaymentModel = runtime.Types.Result.DefaultSelection - -export type AggregatePayment = { - _count: PaymentCountAggregateOutputType | null - _avg: PaymentAvgAggregateOutputType | null - _sum: PaymentSumAggregateOutputType | null - _min: PaymentMinAggregateOutputType | null - _max: PaymentMaxAggregateOutputType | null -} - -export type PaymentAvgAggregateOutputType = { - amount: number | null -} - -export type PaymentSumAggregateOutputType = { - amount: number | null -} - -export type PaymentMinAggregateOutputType = { - id: string | null - bookingId: string | null - provider: $Enums.PaymentProvider | null - externalOrderId: string | null - externalTxId: string | null - method: string | null - amount: number | null - status: $Enums.PaymentStatus | null - snapToken: string | null - expiresAt: Date | null - paidAt: Date | null - failedAt: Date | null - rejectionReason: string | null - createdAt: Date | null - updatedAt: Date | null -} - -export type PaymentMaxAggregateOutputType = { - id: string | null - bookingId: string | null - provider: $Enums.PaymentProvider | null - externalOrderId: string | null - externalTxId: string | null - method: string | null - amount: number | null - status: $Enums.PaymentStatus | null - snapToken: string | null - expiresAt: Date | null - paidAt: Date | null - failedAt: Date | null - rejectionReason: string | null - createdAt: Date | null - updatedAt: Date | null -} - -export type PaymentCountAggregateOutputType = { - id: number - bookingId: number - provider: number - externalOrderId: number - externalTxId: number - method: number - amount: number - status: number - rawCallback: number - snapToken: number - expiresAt: number - paidAt: number - failedAt: number - rejectionReason: number - createdAt: number - updatedAt: number - _all: number -} - - -export type PaymentAvgAggregateInputType = { - amount?: true -} - -export type PaymentSumAggregateInputType = { - amount?: true -} - -export type PaymentMinAggregateInputType = { - id?: true - bookingId?: true - provider?: true - externalOrderId?: true - externalTxId?: true - method?: true - amount?: true - status?: true - snapToken?: true - expiresAt?: true - paidAt?: true - failedAt?: true - rejectionReason?: true - createdAt?: true - updatedAt?: true -} - -export type PaymentMaxAggregateInputType = { - id?: true - bookingId?: true - provider?: true - externalOrderId?: true - externalTxId?: true - method?: true - amount?: true - status?: true - snapToken?: true - expiresAt?: true - paidAt?: true - failedAt?: true - rejectionReason?: true - createdAt?: true - updatedAt?: true -} - -export type PaymentCountAggregateInputType = { - id?: true - bookingId?: true - provider?: true - externalOrderId?: true - externalTxId?: true - method?: true - amount?: true - status?: true - rawCallback?: true - snapToken?: true - expiresAt?: true - paidAt?: true - failedAt?: true - rejectionReason?: true - createdAt?: true - updatedAt?: true - _all?: true -} - -export type PaymentAggregateArgs = { - /** - * Filter which Payment to aggregate. - */ - where?: Prisma.PaymentWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Payments to fetch. - */ - orderBy?: Prisma.PaymentOrderByWithRelationInput | Prisma.PaymentOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the start position - */ - cursor?: Prisma.PaymentWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Payments 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` Payments. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Count returned Payments - **/ - _count?: true | PaymentCountAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to average - **/ - _avg?: PaymentAvgAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to sum - **/ - _sum?: PaymentSumAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the minimum value - **/ - _min?: PaymentMinAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the maximum value - **/ - _max?: PaymentMaxAggregateInputType -} - -export type GetPaymentAggregateType = { - [P in keyof T & keyof AggregatePayment]: P extends '_count' | 'count' - ? T[P] extends true - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType -} - - - - -export type PaymentGroupByArgs = { - where?: Prisma.PaymentWhereInput - orderBy?: Prisma.PaymentOrderByWithAggregationInput | Prisma.PaymentOrderByWithAggregationInput[] - by: Prisma.PaymentScalarFieldEnum[] | Prisma.PaymentScalarFieldEnum - having?: Prisma.PaymentScalarWhereWithAggregatesInput - take?: number - skip?: number - _count?: PaymentCountAggregateInputType | true - _avg?: PaymentAvgAggregateInputType - _sum?: PaymentSumAggregateInputType - _min?: PaymentMinAggregateInputType - _max?: PaymentMaxAggregateInputType -} - -export type PaymentGroupByOutputType = { - id: string - bookingId: string - provider: $Enums.PaymentProvider - externalOrderId: string - externalTxId: string | null - method: string | null - amount: number - status: $Enums.PaymentStatus - rawCallback: runtime.JsonValue | null - snapToken: string | null - expiresAt: Date | null - paidAt: Date | null - failedAt: Date | null - rejectionReason: string | null - createdAt: Date - updatedAt: Date - _count: PaymentCountAggregateOutputType | null - _avg: PaymentAvgAggregateOutputType | null - _sum: PaymentSumAggregateOutputType | null - _min: PaymentMinAggregateOutputType | null - _max: PaymentMaxAggregateOutputType | null -} - -export type GetPaymentGroupByPayload = Prisma.PrismaPromise< - Array< - Prisma.PickEnumerable & - { - [P in ((keyof T) & (keyof PaymentGroupByOutputType))]: P extends '_count' - ? T[P] extends boolean - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType - } - > - > - - - -export type PaymentWhereInput = { - AND?: Prisma.PaymentWhereInput | Prisma.PaymentWhereInput[] - OR?: Prisma.PaymentWhereInput[] - NOT?: Prisma.PaymentWhereInput | Prisma.PaymentWhereInput[] - id?: Prisma.StringFilter<"Payment"> | string - bookingId?: Prisma.StringFilter<"Payment"> | string - provider?: Prisma.EnumPaymentProviderFilter<"Payment"> | $Enums.PaymentProvider - externalOrderId?: Prisma.StringFilter<"Payment"> | string - externalTxId?: Prisma.StringNullableFilter<"Payment"> | string | null - method?: Prisma.StringNullableFilter<"Payment"> | string | null - amount?: Prisma.IntFilter<"Payment"> | number - status?: Prisma.EnumPaymentStatusFilter<"Payment"> | $Enums.PaymentStatus - rawCallback?: Prisma.JsonNullableFilter<"Payment"> - snapToken?: Prisma.StringNullableFilter<"Payment"> | string | null - expiresAt?: Prisma.DateTimeNullableFilter<"Payment"> | Date | string | null - paidAt?: Prisma.DateTimeNullableFilter<"Payment"> | Date | string | null - failedAt?: Prisma.DateTimeNullableFilter<"Payment"> | Date | string | null - rejectionReason?: Prisma.StringNullableFilter<"Payment"> | string | null - createdAt?: Prisma.DateTimeFilter<"Payment"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"Payment"> | Date | string - booking?: Prisma.XOR - refunds?: Prisma.RefundListRelationFilter -} - -export type PaymentOrderByWithRelationInput = { - id?: Prisma.SortOrder - bookingId?: Prisma.SortOrder - provider?: Prisma.SortOrder - externalOrderId?: Prisma.SortOrder - externalTxId?: Prisma.SortOrderInput | Prisma.SortOrder - method?: Prisma.SortOrderInput | Prisma.SortOrder - amount?: Prisma.SortOrder - status?: Prisma.SortOrder - rawCallback?: Prisma.SortOrderInput | Prisma.SortOrder - snapToken?: Prisma.SortOrderInput | Prisma.SortOrder - expiresAt?: Prisma.SortOrderInput | Prisma.SortOrder - paidAt?: Prisma.SortOrderInput | Prisma.SortOrder - failedAt?: Prisma.SortOrderInput | Prisma.SortOrder - rejectionReason?: Prisma.SortOrderInput | Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - booking?: Prisma.BookingOrderByWithRelationInput - refunds?: Prisma.RefundOrderByRelationAggregateInput -} - -export type PaymentWhereUniqueInput = Prisma.AtLeast<{ - id?: string - externalOrderId?: string - AND?: Prisma.PaymentWhereInput | Prisma.PaymentWhereInput[] - OR?: Prisma.PaymentWhereInput[] - NOT?: Prisma.PaymentWhereInput | Prisma.PaymentWhereInput[] - bookingId?: Prisma.StringFilter<"Payment"> | string - provider?: Prisma.EnumPaymentProviderFilter<"Payment"> | $Enums.PaymentProvider - externalTxId?: Prisma.StringNullableFilter<"Payment"> | string | null - method?: Prisma.StringNullableFilter<"Payment"> | string | null - amount?: Prisma.IntFilter<"Payment"> | number - status?: Prisma.EnumPaymentStatusFilter<"Payment"> | $Enums.PaymentStatus - rawCallback?: Prisma.JsonNullableFilter<"Payment"> - snapToken?: Prisma.StringNullableFilter<"Payment"> | string | null - expiresAt?: Prisma.DateTimeNullableFilter<"Payment"> | Date | string | null - paidAt?: Prisma.DateTimeNullableFilter<"Payment"> | Date | string | null - failedAt?: Prisma.DateTimeNullableFilter<"Payment"> | Date | string | null - rejectionReason?: Prisma.StringNullableFilter<"Payment"> | string | null - createdAt?: Prisma.DateTimeFilter<"Payment"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"Payment"> | Date | string - booking?: Prisma.XOR - refunds?: Prisma.RefundListRelationFilter -}, "id" | "externalOrderId"> - -export type PaymentOrderByWithAggregationInput = { - id?: Prisma.SortOrder - bookingId?: Prisma.SortOrder - provider?: Prisma.SortOrder - externalOrderId?: Prisma.SortOrder - externalTxId?: Prisma.SortOrderInput | Prisma.SortOrder - method?: Prisma.SortOrderInput | Prisma.SortOrder - amount?: Prisma.SortOrder - status?: Prisma.SortOrder - rawCallback?: Prisma.SortOrderInput | Prisma.SortOrder - snapToken?: Prisma.SortOrderInput | Prisma.SortOrder - expiresAt?: Prisma.SortOrderInput | Prisma.SortOrder - paidAt?: Prisma.SortOrderInput | Prisma.SortOrder - failedAt?: Prisma.SortOrderInput | Prisma.SortOrder - rejectionReason?: Prisma.SortOrderInput | Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - _count?: Prisma.PaymentCountOrderByAggregateInput - _avg?: Prisma.PaymentAvgOrderByAggregateInput - _max?: Prisma.PaymentMaxOrderByAggregateInput - _min?: Prisma.PaymentMinOrderByAggregateInput - _sum?: Prisma.PaymentSumOrderByAggregateInput -} - -export type PaymentScalarWhereWithAggregatesInput = { - AND?: Prisma.PaymentScalarWhereWithAggregatesInput | Prisma.PaymentScalarWhereWithAggregatesInput[] - OR?: Prisma.PaymentScalarWhereWithAggregatesInput[] - NOT?: Prisma.PaymentScalarWhereWithAggregatesInput | Prisma.PaymentScalarWhereWithAggregatesInput[] - id?: Prisma.StringWithAggregatesFilter<"Payment"> | string - bookingId?: Prisma.StringWithAggregatesFilter<"Payment"> | string - provider?: Prisma.EnumPaymentProviderWithAggregatesFilter<"Payment"> | $Enums.PaymentProvider - externalOrderId?: Prisma.StringWithAggregatesFilter<"Payment"> | string - externalTxId?: Prisma.StringNullableWithAggregatesFilter<"Payment"> | string | null - method?: Prisma.StringNullableWithAggregatesFilter<"Payment"> | string | null - amount?: Prisma.IntWithAggregatesFilter<"Payment"> | number - status?: Prisma.EnumPaymentStatusWithAggregatesFilter<"Payment"> | $Enums.PaymentStatus - rawCallback?: Prisma.JsonNullableWithAggregatesFilter<"Payment"> - snapToken?: Prisma.StringNullableWithAggregatesFilter<"Payment"> | string | null - expiresAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Payment"> | Date | string | null - paidAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Payment"> | Date | string | null - failedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Payment"> | Date | string | null - rejectionReason?: Prisma.StringNullableWithAggregatesFilter<"Payment"> | string | null - createdAt?: Prisma.DateTimeWithAggregatesFilter<"Payment"> | Date | string - updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Payment"> | Date | string -} - -export type PaymentCreateInput = { - id?: string - provider: $Enums.PaymentProvider - externalOrderId: string - externalTxId?: string | null - method?: string | null - amount: number - status?: $Enums.PaymentStatus - rawCallback?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue - snapToken?: string | null - expiresAt?: Date | string | null - paidAt?: Date | string | null - failedAt?: Date | string | null - rejectionReason?: string | null - createdAt?: Date | string - updatedAt?: Date | string - booking: Prisma.BookingCreateNestedOneWithoutPaymentsInput - refunds?: Prisma.RefundCreateNestedManyWithoutPaymentInput -} - -export type PaymentUncheckedCreateInput = { - id?: string - bookingId: string - provider: $Enums.PaymentProvider - externalOrderId: string - externalTxId?: string | null - method?: string | null - amount: number - status?: $Enums.PaymentStatus - rawCallback?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue - snapToken?: string | null - expiresAt?: Date | string | null - paidAt?: Date | string | null - failedAt?: Date | string | null - rejectionReason?: string | null - createdAt?: Date | string - updatedAt?: Date | string - refunds?: Prisma.RefundUncheckedCreateNestedManyWithoutPaymentInput -} - -export type PaymentUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - provider?: Prisma.EnumPaymentProviderFieldUpdateOperationsInput | $Enums.PaymentProvider - externalOrderId?: Prisma.StringFieldUpdateOperationsInput | string - externalTxId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - method?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - amount?: Prisma.IntFieldUpdateOperationsInput | number - status?: Prisma.EnumPaymentStatusFieldUpdateOperationsInput | $Enums.PaymentStatus - rawCallback?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue - snapToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - expiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - paidAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - failedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - rejectionReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - booking?: Prisma.BookingUpdateOneRequiredWithoutPaymentsNestedInput - refunds?: Prisma.RefundUpdateManyWithoutPaymentNestedInput -} - -export type PaymentUncheckedUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - bookingId?: Prisma.StringFieldUpdateOperationsInput | string - provider?: Prisma.EnumPaymentProviderFieldUpdateOperationsInput | $Enums.PaymentProvider - externalOrderId?: Prisma.StringFieldUpdateOperationsInput | string - externalTxId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - method?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - amount?: Prisma.IntFieldUpdateOperationsInput | number - status?: Prisma.EnumPaymentStatusFieldUpdateOperationsInput | $Enums.PaymentStatus - rawCallback?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue - snapToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - expiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - paidAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - failedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - rejectionReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - refunds?: Prisma.RefundUncheckedUpdateManyWithoutPaymentNestedInput -} - -export type PaymentCreateManyInput = { - id?: string - bookingId: string - provider: $Enums.PaymentProvider - externalOrderId: string - externalTxId?: string | null - method?: string | null - amount: number - status?: $Enums.PaymentStatus - rawCallback?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue - snapToken?: string | null - expiresAt?: Date | string | null - paidAt?: Date | string | null - failedAt?: Date | string | null - rejectionReason?: string | null - createdAt?: Date | string - updatedAt?: Date | string -} - -export type PaymentUpdateManyMutationInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - provider?: Prisma.EnumPaymentProviderFieldUpdateOperationsInput | $Enums.PaymentProvider - externalOrderId?: Prisma.StringFieldUpdateOperationsInput | string - externalTxId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - method?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - amount?: Prisma.IntFieldUpdateOperationsInput | number - status?: Prisma.EnumPaymentStatusFieldUpdateOperationsInput | $Enums.PaymentStatus - rawCallback?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue - snapToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - expiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - paidAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - failedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - rejectionReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - -export type PaymentUncheckedUpdateManyInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - bookingId?: Prisma.StringFieldUpdateOperationsInput | string - provider?: Prisma.EnumPaymentProviderFieldUpdateOperationsInput | $Enums.PaymentProvider - externalOrderId?: Prisma.StringFieldUpdateOperationsInput | string - externalTxId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - method?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - amount?: Prisma.IntFieldUpdateOperationsInput | number - status?: Prisma.EnumPaymentStatusFieldUpdateOperationsInput | $Enums.PaymentStatus - rawCallback?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue - snapToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - expiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - paidAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - failedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - rejectionReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - -export type PaymentListRelationFilter = { - every?: Prisma.PaymentWhereInput - some?: Prisma.PaymentWhereInput - none?: Prisma.PaymentWhereInput -} - -export type PaymentOrderByRelationAggregateInput = { - _count?: Prisma.SortOrder -} - -export type PaymentCountOrderByAggregateInput = { - id?: Prisma.SortOrder - bookingId?: Prisma.SortOrder - provider?: Prisma.SortOrder - externalOrderId?: Prisma.SortOrder - externalTxId?: Prisma.SortOrder - method?: Prisma.SortOrder - amount?: Prisma.SortOrder - status?: Prisma.SortOrder - rawCallback?: Prisma.SortOrder - snapToken?: Prisma.SortOrder - expiresAt?: Prisma.SortOrder - paidAt?: Prisma.SortOrder - failedAt?: Prisma.SortOrder - rejectionReason?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder -} - -export type PaymentAvgOrderByAggregateInput = { - amount?: Prisma.SortOrder -} - -export type PaymentMaxOrderByAggregateInput = { - id?: Prisma.SortOrder - bookingId?: Prisma.SortOrder - provider?: Prisma.SortOrder - externalOrderId?: Prisma.SortOrder - externalTxId?: Prisma.SortOrder - method?: Prisma.SortOrder - amount?: Prisma.SortOrder - status?: Prisma.SortOrder - snapToken?: Prisma.SortOrder - expiresAt?: Prisma.SortOrder - paidAt?: Prisma.SortOrder - failedAt?: Prisma.SortOrder - rejectionReason?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder -} - -export type PaymentMinOrderByAggregateInput = { - id?: Prisma.SortOrder - bookingId?: Prisma.SortOrder - provider?: Prisma.SortOrder - externalOrderId?: Prisma.SortOrder - externalTxId?: Prisma.SortOrder - method?: Prisma.SortOrder - amount?: Prisma.SortOrder - status?: Prisma.SortOrder - snapToken?: Prisma.SortOrder - expiresAt?: Prisma.SortOrder - paidAt?: Prisma.SortOrder - failedAt?: Prisma.SortOrder - rejectionReason?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder -} - -export type PaymentSumOrderByAggregateInput = { - amount?: Prisma.SortOrder -} - -export type PaymentNullableScalarRelationFilter = { - is?: Prisma.PaymentWhereInput | null - isNot?: Prisma.PaymentWhereInput | null -} - -export type PaymentCreateNestedManyWithoutBookingInput = { - create?: Prisma.XOR | Prisma.PaymentCreateWithoutBookingInput[] | Prisma.PaymentUncheckedCreateWithoutBookingInput[] - connectOrCreate?: Prisma.PaymentCreateOrConnectWithoutBookingInput | Prisma.PaymentCreateOrConnectWithoutBookingInput[] - createMany?: Prisma.PaymentCreateManyBookingInputEnvelope - connect?: Prisma.PaymentWhereUniqueInput | Prisma.PaymentWhereUniqueInput[] -} - -export type PaymentUncheckedCreateNestedManyWithoutBookingInput = { - create?: Prisma.XOR | Prisma.PaymentCreateWithoutBookingInput[] | Prisma.PaymentUncheckedCreateWithoutBookingInput[] - connectOrCreate?: Prisma.PaymentCreateOrConnectWithoutBookingInput | Prisma.PaymentCreateOrConnectWithoutBookingInput[] - createMany?: Prisma.PaymentCreateManyBookingInputEnvelope - connect?: Prisma.PaymentWhereUniqueInput | Prisma.PaymentWhereUniqueInput[] -} - -export type PaymentUpdateManyWithoutBookingNestedInput = { - create?: Prisma.XOR | Prisma.PaymentCreateWithoutBookingInput[] | Prisma.PaymentUncheckedCreateWithoutBookingInput[] - connectOrCreate?: Prisma.PaymentCreateOrConnectWithoutBookingInput | Prisma.PaymentCreateOrConnectWithoutBookingInput[] - upsert?: Prisma.PaymentUpsertWithWhereUniqueWithoutBookingInput | Prisma.PaymentUpsertWithWhereUniqueWithoutBookingInput[] - createMany?: Prisma.PaymentCreateManyBookingInputEnvelope - set?: Prisma.PaymentWhereUniqueInput | Prisma.PaymentWhereUniqueInput[] - disconnect?: Prisma.PaymentWhereUniqueInput | Prisma.PaymentWhereUniqueInput[] - delete?: Prisma.PaymentWhereUniqueInput | Prisma.PaymentWhereUniqueInput[] - connect?: Prisma.PaymentWhereUniqueInput | Prisma.PaymentWhereUniqueInput[] - update?: Prisma.PaymentUpdateWithWhereUniqueWithoutBookingInput | Prisma.PaymentUpdateWithWhereUniqueWithoutBookingInput[] - updateMany?: Prisma.PaymentUpdateManyWithWhereWithoutBookingInput | Prisma.PaymentUpdateManyWithWhereWithoutBookingInput[] - deleteMany?: Prisma.PaymentScalarWhereInput | Prisma.PaymentScalarWhereInput[] -} - -export type PaymentUncheckedUpdateManyWithoutBookingNestedInput = { - create?: Prisma.XOR | Prisma.PaymentCreateWithoutBookingInput[] | Prisma.PaymentUncheckedCreateWithoutBookingInput[] - connectOrCreate?: Prisma.PaymentCreateOrConnectWithoutBookingInput | Prisma.PaymentCreateOrConnectWithoutBookingInput[] - upsert?: Prisma.PaymentUpsertWithWhereUniqueWithoutBookingInput | Prisma.PaymentUpsertWithWhereUniqueWithoutBookingInput[] - createMany?: Prisma.PaymentCreateManyBookingInputEnvelope - set?: Prisma.PaymentWhereUniqueInput | Prisma.PaymentWhereUniqueInput[] - disconnect?: Prisma.PaymentWhereUniqueInput | Prisma.PaymentWhereUniqueInput[] - delete?: Prisma.PaymentWhereUniqueInput | Prisma.PaymentWhereUniqueInput[] - connect?: Prisma.PaymentWhereUniqueInput | Prisma.PaymentWhereUniqueInput[] - update?: Prisma.PaymentUpdateWithWhereUniqueWithoutBookingInput | Prisma.PaymentUpdateWithWhereUniqueWithoutBookingInput[] - updateMany?: Prisma.PaymentUpdateManyWithWhereWithoutBookingInput | Prisma.PaymentUpdateManyWithWhereWithoutBookingInput[] - deleteMany?: Prisma.PaymentScalarWhereInput | Prisma.PaymentScalarWhereInput[] -} - -export type EnumPaymentProviderFieldUpdateOperationsInput = { - set?: $Enums.PaymentProvider -} - -export type EnumPaymentStatusFieldUpdateOperationsInput = { - set?: $Enums.PaymentStatus -} - -export type PaymentCreateNestedOneWithoutRefundsInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.PaymentCreateOrConnectWithoutRefundsInput - connect?: Prisma.PaymentWhereUniqueInput -} - -export type PaymentUpdateOneWithoutRefundsNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.PaymentCreateOrConnectWithoutRefundsInput - upsert?: Prisma.PaymentUpsertWithoutRefundsInput - disconnect?: Prisma.PaymentWhereInput | boolean - delete?: Prisma.PaymentWhereInput | boolean - connect?: Prisma.PaymentWhereUniqueInput - update?: Prisma.XOR, Prisma.PaymentUncheckedUpdateWithoutRefundsInput> -} - -export type PaymentCreateWithoutBookingInput = { - id?: string - provider: $Enums.PaymentProvider - externalOrderId: string - externalTxId?: string | null - method?: string | null - amount: number - status?: $Enums.PaymentStatus - rawCallback?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue - snapToken?: string | null - expiresAt?: Date | string | null - paidAt?: Date | string | null - failedAt?: Date | string | null - rejectionReason?: string | null - createdAt?: Date | string - updatedAt?: Date | string - refunds?: Prisma.RefundCreateNestedManyWithoutPaymentInput -} - -export type PaymentUncheckedCreateWithoutBookingInput = { - id?: string - provider: $Enums.PaymentProvider - externalOrderId: string - externalTxId?: string | null - method?: string | null - amount: number - status?: $Enums.PaymentStatus - rawCallback?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue - snapToken?: string | null - expiresAt?: Date | string | null - paidAt?: Date | string | null - failedAt?: Date | string | null - rejectionReason?: string | null - createdAt?: Date | string - updatedAt?: Date | string - refunds?: Prisma.RefundUncheckedCreateNestedManyWithoutPaymentInput -} - -export type PaymentCreateOrConnectWithoutBookingInput = { - where: Prisma.PaymentWhereUniqueInput - create: Prisma.XOR -} - -export type PaymentCreateManyBookingInputEnvelope = { - data: Prisma.PaymentCreateManyBookingInput | Prisma.PaymentCreateManyBookingInput[] - skipDuplicates?: boolean -} - -export type PaymentUpsertWithWhereUniqueWithoutBookingInput = { - where: Prisma.PaymentWhereUniqueInput - update: Prisma.XOR - create: Prisma.XOR -} - -export type PaymentUpdateWithWhereUniqueWithoutBookingInput = { - where: Prisma.PaymentWhereUniqueInput - data: Prisma.XOR -} - -export type PaymentUpdateManyWithWhereWithoutBookingInput = { - where: Prisma.PaymentScalarWhereInput - data: Prisma.XOR -} - -export type PaymentScalarWhereInput = { - AND?: Prisma.PaymentScalarWhereInput | Prisma.PaymentScalarWhereInput[] - OR?: Prisma.PaymentScalarWhereInput[] - NOT?: Prisma.PaymentScalarWhereInput | Prisma.PaymentScalarWhereInput[] - id?: Prisma.StringFilter<"Payment"> | string - bookingId?: Prisma.StringFilter<"Payment"> | string - provider?: Prisma.EnumPaymentProviderFilter<"Payment"> | $Enums.PaymentProvider - externalOrderId?: Prisma.StringFilter<"Payment"> | string - externalTxId?: Prisma.StringNullableFilter<"Payment"> | string | null - method?: Prisma.StringNullableFilter<"Payment"> | string | null - amount?: Prisma.IntFilter<"Payment"> | number - status?: Prisma.EnumPaymentStatusFilter<"Payment"> | $Enums.PaymentStatus - rawCallback?: Prisma.JsonNullableFilter<"Payment"> - snapToken?: Prisma.StringNullableFilter<"Payment"> | string | null - expiresAt?: Prisma.DateTimeNullableFilter<"Payment"> | Date | string | null - paidAt?: Prisma.DateTimeNullableFilter<"Payment"> | Date | string | null - failedAt?: Prisma.DateTimeNullableFilter<"Payment"> | Date | string | null - rejectionReason?: Prisma.StringNullableFilter<"Payment"> | string | null - createdAt?: Prisma.DateTimeFilter<"Payment"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"Payment"> | Date | string -} - -export type PaymentCreateWithoutRefundsInput = { - id?: string - provider: $Enums.PaymentProvider - externalOrderId: string - externalTxId?: string | null - method?: string | null - amount: number - status?: $Enums.PaymentStatus - rawCallback?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue - snapToken?: string | null - expiresAt?: Date | string | null - paidAt?: Date | string | null - failedAt?: Date | string | null - rejectionReason?: string | null - createdAt?: Date | string - updatedAt?: Date | string - booking: Prisma.BookingCreateNestedOneWithoutPaymentsInput -} - -export type PaymentUncheckedCreateWithoutRefundsInput = { - id?: string - bookingId: string - provider: $Enums.PaymentProvider - externalOrderId: string - externalTxId?: string | null - method?: string | null - amount: number - status?: $Enums.PaymentStatus - rawCallback?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue - snapToken?: string | null - expiresAt?: Date | string | null - paidAt?: Date | string | null - failedAt?: Date | string | null - rejectionReason?: string | null - createdAt?: Date | string - updatedAt?: Date | string -} - -export type PaymentCreateOrConnectWithoutRefundsInput = { - where: Prisma.PaymentWhereUniqueInput - create: Prisma.XOR -} - -export type PaymentUpsertWithoutRefundsInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.PaymentWhereInput -} - -export type PaymentUpdateToOneWithWhereWithoutRefundsInput = { - where?: Prisma.PaymentWhereInput - data: Prisma.XOR -} - -export type PaymentUpdateWithoutRefundsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - provider?: Prisma.EnumPaymentProviderFieldUpdateOperationsInput | $Enums.PaymentProvider - externalOrderId?: Prisma.StringFieldUpdateOperationsInput | string - externalTxId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - method?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - amount?: Prisma.IntFieldUpdateOperationsInput | number - status?: Prisma.EnumPaymentStatusFieldUpdateOperationsInput | $Enums.PaymentStatus - rawCallback?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue - snapToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - expiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - paidAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - failedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - rejectionReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - booking?: Prisma.BookingUpdateOneRequiredWithoutPaymentsNestedInput -} - -export type PaymentUncheckedUpdateWithoutRefundsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - bookingId?: Prisma.StringFieldUpdateOperationsInput | string - provider?: Prisma.EnumPaymentProviderFieldUpdateOperationsInput | $Enums.PaymentProvider - externalOrderId?: Prisma.StringFieldUpdateOperationsInput | string - externalTxId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - method?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - amount?: Prisma.IntFieldUpdateOperationsInput | number - status?: Prisma.EnumPaymentStatusFieldUpdateOperationsInput | $Enums.PaymentStatus - rawCallback?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue - snapToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - expiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - paidAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - failedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - rejectionReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - -export type PaymentCreateManyBookingInput = { - id?: string - provider: $Enums.PaymentProvider - externalOrderId: string - externalTxId?: string | null - method?: string | null - amount: number - status?: $Enums.PaymentStatus - rawCallback?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue - snapToken?: string | null - expiresAt?: Date | string | null - paidAt?: Date | string | null - failedAt?: Date | string | null - rejectionReason?: string | null - createdAt?: Date | string - updatedAt?: Date | string -} - -export type PaymentUpdateWithoutBookingInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - provider?: Prisma.EnumPaymentProviderFieldUpdateOperationsInput | $Enums.PaymentProvider - externalOrderId?: Prisma.StringFieldUpdateOperationsInput | string - externalTxId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - method?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - amount?: Prisma.IntFieldUpdateOperationsInput | number - status?: Prisma.EnumPaymentStatusFieldUpdateOperationsInput | $Enums.PaymentStatus - rawCallback?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue - snapToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - expiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - paidAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - failedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - rejectionReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - refunds?: Prisma.RefundUpdateManyWithoutPaymentNestedInput -} - -export type PaymentUncheckedUpdateWithoutBookingInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - provider?: Prisma.EnumPaymentProviderFieldUpdateOperationsInput | $Enums.PaymentProvider - externalOrderId?: Prisma.StringFieldUpdateOperationsInput | string - externalTxId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - method?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - amount?: Prisma.IntFieldUpdateOperationsInput | number - status?: Prisma.EnumPaymentStatusFieldUpdateOperationsInput | $Enums.PaymentStatus - rawCallback?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue - snapToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - expiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - paidAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - failedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - rejectionReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - refunds?: Prisma.RefundUncheckedUpdateManyWithoutPaymentNestedInput -} - -export type PaymentUncheckedUpdateManyWithoutBookingInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - provider?: Prisma.EnumPaymentProviderFieldUpdateOperationsInput | $Enums.PaymentProvider - externalOrderId?: Prisma.StringFieldUpdateOperationsInput | string - externalTxId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - method?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - amount?: Prisma.IntFieldUpdateOperationsInput | number - status?: Prisma.EnumPaymentStatusFieldUpdateOperationsInput | $Enums.PaymentStatus - rawCallback?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue - snapToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - expiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - paidAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - failedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - rejectionReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - - -/** - * Count Type PaymentCountOutputType - */ - -export type PaymentCountOutputType = { - refunds: number -} - -export type PaymentCountOutputTypeSelect = { - refunds?: boolean | PaymentCountOutputTypeCountRefundsArgs -} - -/** - * PaymentCountOutputType without action - */ -export type PaymentCountOutputTypeDefaultArgs = { - /** - * Select specific fields to fetch from the PaymentCountOutputType - */ - select?: Prisma.PaymentCountOutputTypeSelect | null -} - -/** - * PaymentCountOutputType without action - */ -export type PaymentCountOutputTypeCountRefundsArgs = { - where?: Prisma.RefundWhereInput -} - - -export type PaymentSelect = runtime.Types.Extensions.GetSelect<{ - id?: boolean - bookingId?: boolean - provider?: boolean - externalOrderId?: boolean - externalTxId?: boolean - method?: boolean - amount?: boolean - status?: boolean - rawCallback?: boolean - snapToken?: boolean - expiresAt?: boolean - paidAt?: boolean - failedAt?: boolean - rejectionReason?: boolean - createdAt?: boolean - updatedAt?: boolean - booking?: boolean | Prisma.BookingDefaultArgs - refunds?: boolean | Prisma.Payment$refundsArgs - _count?: boolean | Prisma.PaymentCountOutputTypeDefaultArgs -}, ExtArgs["result"]["payment"]> - -export type PaymentSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - bookingId?: boolean - provider?: boolean - externalOrderId?: boolean - externalTxId?: boolean - method?: boolean - amount?: boolean - status?: boolean - rawCallback?: boolean - snapToken?: boolean - expiresAt?: boolean - paidAt?: boolean - failedAt?: boolean - rejectionReason?: boolean - createdAt?: boolean - updatedAt?: boolean - booking?: boolean | Prisma.BookingDefaultArgs -}, ExtArgs["result"]["payment"]> - -export type PaymentSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - bookingId?: boolean - provider?: boolean - externalOrderId?: boolean - externalTxId?: boolean - method?: boolean - amount?: boolean - status?: boolean - rawCallback?: boolean - snapToken?: boolean - expiresAt?: boolean - paidAt?: boolean - failedAt?: boolean - rejectionReason?: boolean - createdAt?: boolean - updatedAt?: boolean - booking?: boolean | Prisma.BookingDefaultArgs -}, ExtArgs["result"]["payment"]> - -export type PaymentSelectScalar = { - id?: boolean - bookingId?: boolean - provider?: boolean - externalOrderId?: boolean - externalTxId?: boolean - method?: boolean - amount?: boolean - status?: boolean - rawCallback?: boolean - snapToken?: boolean - expiresAt?: boolean - paidAt?: boolean - failedAt?: boolean - rejectionReason?: boolean - createdAt?: boolean - updatedAt?: boolean -} - -export type PaymentOmit = runtime.Types.Extensions.GetOmit<"id" | "bookingId" | "provider" | "externalOrderId" | "externalTxId" | "method" | "amount" | "status" | "rawCallback" | "snapToken" | "expiresAt" | "paidAt" | "failedAt" | "rejectionReason" | "createdAt" | "updatedAt", ExtArgs["result"]["payment"]> -export type PaymentInclude = { - booking?: boolean | Prisma.BookingDefaultArgs - refunds?: boolean | Prisma.Payment$refundsArgs - _count?: boolean | Prisma.PaymentCountOutputTypeDefaultArgs -} -export type PaymentIncludeCreateManyAndReturn = { - booking?: boolean | Prisma.BookingDefaultArgs -} -export type PaymentIncludeUpdateManyAndReturn = { - booking?: boolean | Prisma.BookingDefaultArgs -} - -export type $PaymentPayload = { - name: "Payment" - objects: { - booking: Prisma.$BookingPayload - refunds: Prisma.$RefundPayload[] - } - scalars: runtime.Types.Extensions.GetPayloadResult<{ - id: string - bookingId: string - provider: $Enums.PaymentProvider - /** - * order_id eksternal (unik per attempt). Format MANUAL: `manual-`. - * Format MIDTRANS nanti: `midtrans--`. - */ - externalOrderId: string - /** - * transaction_id dari gateway. Kosong untuk MANUAL atau sebelum first callback. - */ - externalTxId: string | null - /** - * Metode konkret: bca_va, gopay, qris, manual_transfer, dst. - */ - method: string | null - amount: number - status: $Enums.PaymentStatus - /** - * Snapshot mentah callback gateway (untuk audit & dispute). - */ - rawCallback: runtime.JsonValue | null - /** - * Snap token Midtrans / redirect URL. - */ - snapToken: string | null - /** - * Kapan attempt ini kadaluarsa (Midtrans default 24 jam). - */ - expiresAt: Date | null - paidAt: Date | null - failedAt: Date | null - rejectionReason: string | null - createdAt: Date - updatedAt: Date - }, ExtArgs["result"]["payment"]> - composites: {} -} - -export type PaymentGetPayload = runtime.Types.Result.GetResult - -export type PaymentCountArgs = - Omit & { - select?: PaymentCountAggregateInputType | true - } - -export interface PaymentDelegate { - [K: symbol]: { types: Prisma.TypeMap['model']['Payment'], meta: { name: 'Payment' } } - /** - * Find zero or one Payment that matches the filter. - * @param {PaymentFindUniqueArgs} args - Arguments to find a Payment - * @example - * // Get one Payment - * const payment = await prisma.payment.findUnique({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__PaymentClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find one Payment that matches the filter or throw an error with `error.code='P2025'` - * if no matches were found. - * @param {PaymentFindUniqueOrThrowArgs} args - Arguments to find a Payment - * @example - * // Get one Payment - * const payment = await prisma.payment.findUniqueOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__PaymentClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find the first Payment 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 {PaymentFindFirstArgs} args - Arguments to find a Payment - * @example - * // Get one Payment - * const payment = await prisma.payment.findFirst({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__PaymentClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find the first Payment 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 {PaymentFindFirstOrThrowArgs} args - Arguments to find a Payment - * @example - * // Get one Payment - * const payment = await prisma.payment.findFirstOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__PaymentClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find zero or more Payments 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 {PaymentFindManyArgs} args - Arguments to filter and select certain fields only. - * @example - * // Get all Payments - * const payments = await prisma.payment.findMany() - * - * // Get first 10 Payments - * const payments = await prisma.payment.findMany({ take: 10 }) - * - * // Only select the `id` - * const paymentWithIdOnly = await prisma.payment.findMany({ select: { id: true } }) - * - */ - findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> - - /** - * Create a Payment. - * @param {PaymentCreateArgs} args - Arguments to create a Payment. - * @example - * // Create one Payment - * const Payment = await prisma.payment.create({ - * data: { - * // ... data to create a Payment - * } - * }) - * - */ - create(args: Prisma.SelectSubset>): Prisma.Prisma__PaymentClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Create many Payments. - * @param {PaymentCreateManyArgs} args - Arguments to create many Payments. - * @example - * // Create many Payments - * const payment = await prisma.payment.createMany({ - * data: [ - * // ... provide data here - * ] - * }) - * - */ - createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Create many Payments and returns the data saved in the database. - * @param {PaymentCreateManyAndReturnArgs} args - Arguments to create many Payments. - * @example - * // Create many Payments - * const payment = await prisma.payment.createManyAndReturn({ - * data: [ - * // ... provide data here - * ] - * }) - * - * // Create many Payments and only return the `id` - * const paymentWithIdOnly = await prisma.payment.createManyAndReturn({ - * select: { id: true }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> - - /** - * Delete a Payment. - * @param {PaymentDeleteArgs} args - Arguments to delete one Payment. - * @example - * // Delete one Payment - * const Payment = await prisma.payment.delete({ - * where: { - * // ... filter to delete one Payment - * } - * }) - * - */ - delete(args: Prisma.SelectSubset>): Prisma.Prisma__PaymentClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Update one Payment. - * @param {PaymentUpdateArgs} args - Arguments to update one Payment. - * @example - * // Update one Payment - * const payment = await prisma.payment.update({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - update(args: Prisma.SelectSubset>): Prisma.Prisma__PaymentClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Delete zero or more Payments. - * @param {PaymentDeleteManyArgs} args - Arguments to filter Payments to delete. - * @example - * // Delete a few Payments - * const { count } = await prisma.payment.deleteMany({ - * where: { - * // ... provide filter here - * } - * }) - * - */ - deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more Payments. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {PaymentUpdateManyArgs} args - Arguments to update one or more rows. - * @example - * // Update many Payments - * const payment = await prisma.payment.updateMany({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more Payments and returns the data updated in the database. - * @param {PaymentUpdateManyAndReturnArgs} args - Arguments to update many Payments. - * @example - * // Update many Payments - * const payment = await prisma.payment.updateManyAndReturn({ - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * - * // Update zero or more Payments and only return the `id` - * const paymentWithIdOnly = await prisma.payment.updateManyAndReturn({ - * select: { id: true }, - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> - - /** - * Create or update one Payment. - * @param {PaymentUpsertArgs} args - Arguments to update or create a Payment. - * @example - * // Update or create a Payment - * const payment = await prisma.payment.upsert({ - * create: { - * // ... data to create a Payment - * }, - * update: { - * // ... in case it already exists, update - * }, - * where: { - * // ... the filter for the Payment we want to update - * } - * }) - */ - upsert(args: Prisma.SelectSubset>): Prisma.Prisma__PaymentClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - - /** - * Count the number of Payments. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {PaymentCountArgs} args - Arguments to filter Payments to count. - * @example - * // Count the number of Payments - * const count = await prisma.payment.count({ - * where: { - * // ... the filter for the Payments we want to count - * } - * }) - **/ - count( - args?: Prisma.Subset, - ): Prisma.PrismaPromise< - T extends runtime.Types.Utils.Record<'select', any> - ? T['select'] extends true - ? number - : Prisma.GetScalarType - : number - > - - /** - * Allows you to perform aggregations operations on a Payment. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {PaymentAggregateArgs} args - Select which aggregations you would like to apply and on what fields. - * @example - * // Ordered by age ascending - * // Where email contains prisma.io - * // Limited to the 10 users - * const aggregations = await prisma.user.aggregate({ - * _avg: { - * age: true, - * }, - * where: { - * email: { - * contains: "prisma.io", - * }, - * }, - * orderBy: { - * age: "asc", - * }, - * take: 10, - * }) - **/ - aggregate(args: Prisma.Subset): Prisma.PrismaPromise> - - /** - * Group by Payment. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {PaymentGroupByArgs} 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 PaymentGroupByArgs, - HasSelectOrTake extends Prisma.Or< - Prisma.Extends<'skip', Prisma.Keys>, - Prisma.Extends<'take', Prisma.Keys> - >, - OrderByArg extends Prisma.True extends HasSelectOrTake - ? { orderBy: PaymentGroupByArgs['orderBy'] } - : { orderBy?: PaymentGroupByArgs['orderBy'] }, - OrderFields extends Prisma.ExcludeUnderscoreKeys>>, - ByFields extends Prisma.MaybeTupleToUnion, - ByValid extends Prisma.Has, - HavingFields extends Prisma.GetHavingFields, - HavingValid extends Prisma.Has, - ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, - InputErrors extends ByEmpty extends Prisma.True - ? `Error: "by" must not be empty.` - : HavingValid extends Prisma.False - ? { - [P in HavingFields]: P extends ByFields - ? never - : P extends string - ? `Error: Field "${P}" used in "having" needs to be provided in "by".` - : [ - Error, - 'Field ', - P, - ` in "having" needs to be provided in "by"`, - ] - }[HavingFields] - : 'take' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "take", you also need to provide "orderBy"' - : 'skip' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "skip", you also need to provide "orderBy"' - : ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetPaymentGroupByPayload : Prisma.PrismaPromise -/** - * Fields of the Payment model - */ -readonly fields: PaymentFieldRefs; -} - -/** - * The delegate class that acts as a "Promise-like" for Payment. - * 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__PaymentClient extends Prisma.PrismaPromise { - readonly [Symbol.toStringTag]: "PrismaPromise" - booking = {}>(args?: Prisma.Subset>): Prisma.Prisma__BookingClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> - refunds = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> - /** - * Attaches callbacks for the resolution and/or rejection of the Promise. - * @param onfulfilled The callback to execute when the Promise is resolved. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of which ever callback is executed. - */ - then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback for only the rejection of the Promise. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of the callback. - */ - catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The - * resolved value cannot be modified from the callback. - * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). - * @returns A Promise for the completion of the callback. - */ - finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise -} - - - - -/** - * Fields of the Payment model - */ -export interface PaymentFieldRefs { - readonly id: Prisma.FieldRef<"Payment", 'String'> - readonly bookingId: Prisma.FieldRef<"Payment", 'String'> - readonly provider: Prisma.FieldRef<"Payment", 'PaymentProvider'> - readonly externalOrderId: Prisma.FieldRef<"Payment", 'String'> - readonly externalTxId: Prisma.FieldRef<"Payment", 'String'> - readonly method: Prisma.FieldRef<"Payment", 'String'> - readonly amount: Prisma.FieldRef<"Payment", 'Int'> - readonly status: Prisma.FieldRef<"Payment", 'PaymentStatus'> - readonly rawCallback: Prisma.FieldRef<"Payment", 'Json'> - readonly snapToken: Prisma.FieldRef<"Payment", 'String'> - readonly expiresAt: Prisma.FieldRef<"Payment", 'DateTime'> - readonly paidAt: Prisma.FieldRef<"Payment", 'DateTime'> - readonly failedAt: Prisma.FieldRef<"Payment", 'DateTime'> - readonly rejectionReason: Prisma.FieldRef<"Payment", 'String'> - readonly createdAt: Prisma.FieldRef<"Payment", 'DateTime'> - readonly updatedAt: Prisma.FieldRef<"Payment", 'DateTime'> -} - - -// Custom InputTypes -/** - * Payment findUnique - */ -export type PaymentFindUniqueArgs = { - /** - * Select specific fields to fetch from the Payment - */ - select?: Prisma.PaymentSelect | null - /** - * Omit specific fields from the Payment - */ - omit?: Prisma.PaymentOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.PaymentInclude | null - /** - * Filter, which Payment to fetch. - */ - where: Prisma.PaymentWhereUniqueInput -} - -/** - * Payment findUniqueOrThrow - */ -export type PaymentFindUniqueOrThrowArgs = { - /** - * Select specific fields to fetch from the Payment - */ - select?: Prisma.PaymentSelect | null - /** - * Omit specific fields from the Payment - */ - omit?: Prisma.PaymentOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.PaymentInclude | null - /** - * Filter, which Payment to fetch. - */ - where: Prisma.PaymentWhereUniqueInput -} - -/** - * Payment findFirst - */ -export type PaymentFindFirstArgs = { - /** - * Select specific fields to fetch from the Payment - */ - select?: Prisma.PaymentSelect | null - /** - * Omit specific fields from the Payment - */ - omit?: Prisma.PaymentOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.PaymentInclude | null - /** - * Filter, which Payment to fetch. - */ - where?: Prisma.PaymentWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Payments to fetch. - */ - orderBy?: Prisma.PaymentOrderByWithRelationInput | Prisma.PaymentOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for Payments. - */ - cursor?: Prisma.PaymentWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Payments 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` Payments. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Payments. - */ - distinct?: Prisma.PaymentScalarFieldEnum | Prisma.PaymentScalarFieldEnum[] -} - -/** - * Payment findFirstOrThrow - */ -export type PaymentFindFirstOrThrowArgs = { - /** - * Select specific fields to fetch from the Payment - */ - select?: Prisma.PaymentSelect | null - /** - * Omit specific fields from the Payment - */ - omit?: Prisma.PaymentOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.PaymentInclude | null - /** - * Filter, which Payment to fetch. - */ - where?: Prisma.PaymentWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Payments to fetch. - */ - orderBy?: Prisma.PaymentOrderByWithRelationInput | Prisma.PaymentOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for Payments. - */ - cursor?: Prisma.PaymentWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Payments 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` Payments. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Payments. - */ - distinct?: Prisma.PaymentScalarFieldEnum | Prisma.PaymentScalarFieldEnum[] -} - -/** - * Payment findMany - */ -export type PaymentFindManyArgs = { - /** - * Select specific fields to fetch from the Payment - */ - select?: Prisma.PaymentSelect | null - /** - * Omit specific fields from the Payment - */ - omit?: Prisma.PaymentOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.PaymentInclude | null - /** - * Filter, which Payments to fetch. - */ - where?: Prisma.PaymentWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Payments to fetch. - */ - orderBy?: Prisma.PaymentOrderByWithRelationInput | Prisma.PaymentOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for listing Payments. - */ - cursor?: Prisma.PaymentWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Payments 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` Payments. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Payments. - */ - distinct?: Prisma.PaymentScalarFieldEnum | Prisma.PaymentScalarFieldEnum[] -} - -/** - * Payment create - */ -export type PaymentCreateArgs = { - /** - * Select specific fields to fetch from the Payment - */ - select?: Prisma.PaymentSelect | null - /** - * Omit specific fields from the Payment - */ - omit?: Prisma.PaymentOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.PaymentInclude | null - /** - * The data needed to create a Payment. - */ - data: Prisma.XOR -} - -/** - * Payment createMany - */ -export type PaymentCreateManyArgs = { - /** - * The data used to create many Payments. - */ - data: Prisma.PaymentCreateManyInput | Prisma.PaymentCreateManyInput[] - skipDuplicates?: boolean -} - -/** - * Payment createManyAndReturn - */ -export type PaymentCreateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the Payment - */ - select?: Prisma.PaymentSelectCreateManyAndReturn | null - /** - * Omit specific fields from the Payment - */ - omit?: Prisma.PaymentOmit | null - /** - * The data used to create many Payments. - */ - data: Prisma.PaymentCreateManyInput | Prisma.PaymentCreateManyInput[] - skipDuplicates?: boolean - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.PaymentIncludeCreateManyAndReturn | null -} - -/** - * Payment update - */ -export type PaymentUpdateArgs = { - /** - * Select specific fields to fetch from the Payment - */ - select?: Prisma.PaymentSelect | null - /** - * Omit specific fields from the Payment - */ - omit?: Prisma.PaymentOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.PaymentInclude | null - /** - * The data needed to update a Payment. - */ - data: Prisma.XOR - /** - * Choose, which Payment to update. - */ - where: Prisma.PaymentWhereUniqueInput -} - -/** - * Payment updateMany - */ -export type PaymentUpdateManyArgs = { - /** - * The data used to update Payments. - */ - data: Prisma.XOR - /** - * Filter which Payments to update - */ - where?: Prisma.PaymentWhereInput - /** - * Limit how many Payments to update. - */ - limit?: number -} - -/** - * Payment updateManyAndReturn - */ -export type PaymentUpdateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the Payment - */ - select?: Prisma.PaymentSelectUpdateManyAndReturn | null - /** - * Omit specific fields from the Payment - */ - omit?: Prisma.PaymentOmit | null - /** - * The data used to update Payments. - */ - data: Prisma.XOR - /** - * Filter which Payments to update - */ - where?: Prisma.PaymentWhereInput - /** - * Limit how many Payments to update. - */ - limit?: number - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.PaymentIncludeUpdateManyAndReturn | null -} - -/** - * Payment upsert - */ -export type PaymentUpsertArgs = { - /** - * Select specific fields to fetch from the Payment - */ - select?: Prisma.PaymentSelect | null - /** - * Omit specific fields from the Payment - */ - omit?: Prisma.PaymentOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.PaymentInclude | null - /** - * The filter to search for the Payment to update in case it exists. - */ - where: Prisma.PaymentWhereUniqueInput - /** - * In case the Payment found by the `where` argument doesn't exist, create a new Payment with this data. - */ - create: Prisma.XOR - /** - * In case the Payment was found with the provided `where` argument, update it with this data. - */ - update: Prisma.XOR -} - -/** - * Payment delete - */ -export type PaymentDeleteArgs = { - /** - * Select specific fields to fetch from the Payment - */ - select?: Prisma.PaymentSelect | null - /** - * Omit specific fields from the Payment - */ - omit?: Prisma.PaymentOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.PaymentInclude | null - /** - * Filter which Payment to delete. - */ - where: Prisma.PaymentWhereUniqueInput -} - -/** - * Payment deleteMany - */ -export type PaymentDeleteManyArgs = { - /** - * Filter which Payments to delete - */ - where?: Prisma.PaymentWhereInput - /** - * Limit how many Payments to delete. - */ - limit?: number -} - -/** - * Payment.refunds - */ -export type Payment$refundsArgs = { - /** - * Select specific fields to fetch from the Refund - */ - select?: Prisma.RefundSelect | null - /** - * Omit specific fields from the Refund - */ - omit?: Prisma.RefundOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.RefundInclude | null - where?: Prisma.RefundWhereInput - orderBy?: Prisma.RefundOrderByWithRelationInput | Prisma.RefundOrderByWithRelationInput[] - cursor?: Prisma.RefundWhereUniqueInput - take?: number - skip?: number - distinct?: Prisma.RefundScalarFieldEnum | Prisma.RefundScalarFieldEnum[] -} - -/** - * Payment without action - */ -export type PaymentDefaultArgs = { - /** - * Select specific fields to fetch from the Payment - */ - select?: Prisma.PaymentSelect | null - /** - * Omit specific fields from the Payment - */ - omit?: Prisma.PaymentOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.PaymentInclude | null -} diff --git a/app/generated/prisma/models/Refund.ts b/app/generated/prisma/models/Refund.ts deleted file mode 100644 index ac33894..0000000 --- a/app/generated/prisma/models/Refund.ts +++ /dev/null @@ -1,2379 +0,0 @@ - -/* !!! This is code generated by Prisma. Do not edit directly. !!! */ -/* eslint-disable */ -// biome-ignore-all lint: generated file -// @ts-nocheck -/* - * This file exports the `Refund` 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 Refund - * Refund = financial event terpisah dari Booking. Satu Booking bisa punya - * banyak Refund (partial, multi-tahap). Setiap row auditable: kapan dibuat, - * siapa melaporkan, siapa approve, kapan SUCCEEDED. Never delete — kalau - * gagal, set status=FAILED + alasan. - * - * Di MVP refund dimasukkan admin secara manual berdasarkan laporan dari - * peserta atau organizer (via WhatsApp/email). Phase berikutnya akan - * menambah self-service flow dari user dan organizer. - */ -export type RefundModel = runtime.Types.Result.DefaultSelection - -export type AggregateRefund = { - _count: RefundCountAggregateOutputType | null - _avg: RefundAvgAggregateOutputType | null - _sum: RefundSumAggregateOutputType | null - _min: RefundMinAggregateOutputType | null - _max: RefundMaxAggregateOutputType | null -} - -export type RefundAvgAggregateOutputType = { - amount: number | null -} - -export type RefundSumAggregateOutputType = { - amount: number | null -} - -export type RefundMinAggregateOutputType = { - id: string | null - bookingId: string | null - paymentId: string | null - amount: number | null - currency: string | null - reason: $Enums.RefundReason | null - reportedBy: $Enums.RefundReporter | null - reportNote: string | null - initiatedBy: $Enums.RefundInitiator | null - status: $Enums.RefundStatus | null - idempotencyKey: string | null - adminNote: string | null - reviewedById: string | null - reviewedAt: Date | null - succeededAt: Date | null - failedAt: Date | null - externalRefundId: string | null - createdAt: Date | null - updatedAt: Date | null -} - -export type RefundMaxAggregateOutputType = { - id: string | null - bookingId: string | null - paymentId: string | null - amount: number | null - currency: string | null - reason: $Enums.RefundReason | null - reportedBy: $Enums.RefundReporter | null - reportNote: string | null - initiatedBy: $Enums.RefundInitiator | null - status: $Enums.RefundStatus | null - idempotencyKey: string | null - adminNote: string | null - reviewedById: string | null - reviewedAt: Date | null - succeededAt: Date | null - failedAt: Date | null - externalRefundId: string | null - createdAt: Date | null - updatedAt: Date | null -} - -export type RefundCountAggregateOutputType = { - id: number - bookingId: number - paymentId: number - amount: number - currency: number - reason: number - reportedBy: number - reportNote: number - initiatedBy: number - status: number - idempotencyKey: number - adminNote: number - reviewedById: number - reviewedAt: number - succeededAt: number - failedAt: number - externalRefundId: number - createdAt: number - updatedAt: number - _all: number -} - - -export type RefundAvgAggregateInputType = { - amount?: true -} - -export type RefundSumAggregateInputType = { - amount?: true -} - -export type RefundMinAggregateInputType = { - id?: true - bookingId?: true - paymentId?: true - amount?: true - currency?: true - reason?: true - reportedBy?: true - reportNote?: true - initiatedBy?: true - status?: true - idempotencyKey?: true - adminNote?: true - reviewedById?: true - reviewedAt?: true - succeededAt?: true - failedAt?: true - externalRefundId?: true - createdAt?: true - updatedAt?: true -} - -export type RefundMaxAggregateInputType = { - id?: true - bookingId?: true - paymentId?: true - amount?: true - currency?: true - reason?: true - reportedBy?: true - reportNote?: true - initiatedBy?: true - status?: true - idempotencyKey?: true - adminNote?: true - reviewedById?: true - reviewedAt?: true - succeededAt?: true - failedAt?: true - externalRefundId?: true - createdAt?: true - updatedAt?: true -} - -export type RefundCountAggregateInputType = { - id?: true - bookingId?: true - paymentId?: true - amount?: true - currency?: true - reason?: true - reportedBy?: true - reportNote?: true - initiatedBy?: true - status?: true - idempotencyKey?: true - adminNote?: true - reviewedById?: true - reviewedAt?: true - succeededAt?: true - failedAt?: true - externalRefundId?: true - createdAt?: true - updatedAt?: true - _all?: true -} - -export type RefundAggregateArgs = { - /** - * Filter which Refund to aggregate. - */ - where?: Prisma.RefundWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Refunds to fetch. - */ - orderBy?: Prisma.RefundOrderByWithRelationInput | Prisma.RefundOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the start position - */ - cursor?: Prisma.RefundWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Refunds 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` Refunds. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Count returned Refunds - **/ - _count?: true | RefundCountAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to average - **/ - _avg?: RefundAvgAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to sum - **/ - _sum?: RefundSumAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the minimum value - **/ - _min?: RefundMinAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the maximum value - **/ - _max?: RefundMaxAggregateInputType -} - -export type GetRefundAggregateType = { - [P in keyof T & keyof AggregateRefund]: P extends '_count' | 'count' - ? T[P] extends true - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType -} - - - - -export type RefundGroupByArgs = { - where?: Prisma.RefundWhereInput - orderBy?: Prisma.RefundOrderByWithAggregationInput | Prisma.RefundOrderByWithAggregationInput[] - by: Prisma.RefundScalarFieldEnum[] | Prisma.RefundScalarFieldEnum - having?: Prisma.RefundScalarWhereWithAggregatesInput - take?: number - skip?: number - _count?: RefundCountAggregateInputType | true - _avg?: RefundAvgAggregateInputType - _sum?: RefundSumAggregateInputType - _min?: RefundMinAggregateInputType - _max?: RefundMaxAggregateInputType -} - -export type RefundGroupByOutputType = { - id: string - bookingId: string - paymentId: string | null - amount: number - currency: string - reason: $Enums.RefundReason - reportedBy: $Enums.RefundReporter - reportNote: string - initiatedBy: $Enums.RefundInitiator - status: $Enums.RefundStatus - idempotencyKey: string - adminNote: string | null - reviewedById: string | null - reviewedAt: Date | null - succeededAt: Date | null - failedAt: Date | null - externalRefundId: string | null - createdAt: Date - updatedAt: Date - _count: RefundCountAggregateOutputType | null - _avg: RefundAvgAggregateOutputType | null - _sum: RefundSumAggregateOutputType | null - _min: RefundMinAggregateOutputType | null - _max: RefundMaxAggregateOutputType | null -} - -export type GetRefundGroupByPayload = Prisma.PrismaPromise< - Array< - Prisma.PickEnumerable & - { - [P in ((keyof T) & (keyof RefundGroupByOutputType))]: P extends '_count' - ? T[P] extends boolean - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType - } - > - > - - - -export type RefundWhereInput = { - AND?: Prisma.RefundWhereInput | Prisma.RefundWhereInput[] - OR?: Prisma.RefundWhereInput[] - NOT?: Prisma.RefundWhereInput | Prisma.RefundWhereInput[] - id?: Prisma.StringFilter<"Refund"> | string - bookingId?: Prisma.StringFilter<"Refund"> | string - paymentId?: Prisma.StringNullableFilter<"Refund"> | string | null - amount?: Prisma.IntFilter<"Refund"> | number - currency?: Prisma.StringFilter<"Refund"> | string - reason?: Prisma.EnumRefundReasonFilter<"Refund"> | $Enums.RefundReason - reportedBy?: Prisma.EnumRefundReporterFilter<"Refund"> | $Enums.RefundReporter - reportNote?: Prisma.StringFilter<"Refund"> | string - initiatedBy?: Prisma.EnumRefundInitiatorFilter<"Refund"> | $Enums.RefundInitiator - status?: Prisma.EnumRefundStatusFilter<"Refund"> | $Enums.RefundStatus - idempotencyKey?: Prisma.StringFilter<"Refund"> | string - adminNote?: Prisma.StringNullableFilter<"Refund"> | string | null - reviewedById?: Prisma.StringNullableFilter<"Refund"> | string | null - reviewedAt?: Prisma.DateTimeNullableFilter<"Refund"> | Date | string | null - succeededAt?: Prisma.DateTimeNullableFilter<"Refund"> | Date | string | null - failedAt?: Prisma.DateTimeNullableFilter<"Refund"> | Date | string | null - externalRefundId?: Prisma.StringNullableFilter<"Refund"> | string | null - createdAt?: Prisma.DateTimeFilter<"Refund"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"Refund"> | Date | string - booking?: Prisma.XOR - payment?: Prisma.XOR | null - reviewedBy?: Prisma.XOR | null -} - -export type RefundOrderByWithRelationInput = { - id?: Prisma.SortOrder - bookingId?: Prisma.SortOrder - paymentId?: Prisma.SortOrderInput | Prisma.SortOrder - amount?: Prisma.SortOrder - currency?: Prisma.SortOrder - reason?: Prisma.SortOrder - reportedBy?: Prisma.SortOrder - reportNote?: Prisma.SortOrder - initiatedBy?: Prisma.SortOrder - status?: Prisma.SortOrder - idempotencyKey?: Prisma.SortOrder - adminNote?: Prisma.SortOrderInput | Prisma.SortOrder - reviewedById?: Prisma.SortOrderInput | Prisma.SortOrder - reviewedAt?: Prisma.SortOrderInput | Prisma.SortOrder - succeededAt?: Prisma.SortOrderInput | Prisma.SortOrder - failedAt?: Prisma.SortOrderInput | Prisma.SortOrder - externalRefundId?: Prisma.SortOrderInput | Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - booking?: Prisma.BookingOrderByWithRelationInput - payment?: Prisma.PaymentOrderByWithRelationInput - reviewedBy?: Prisma.UserOrderByWithRelationInput -} - -export type RefundWhereUniqueInput = Prisma.AtLeast<{ - id?: string - idempotencyKey?: string - AND?: Prisma.RefundWhereInput | Prisma.RefundWhereInput[] - OR?: Prisma.RefundWhereInput[] - NOT?: Prisma.RefundWhereInput | Prisma.RefundWhereInput[] - bookingId?: Prisma.StringFilter<"Refund"> | string - paymentId?: Prisma.StringNullableFilter<"Refund"> | string | null - amount?: Prisma.IntFilter<"Refund"> | number - currency?: Prisma.StringFilter<"Refund"> | string - reason?: Prisma.EnumRefundReasonFilter<"Refund"> | $Enums.RefundReason - reportedBy?: Prisma.EnumRefundReporterFilter<"Refund"> | $Enums.RefundReporter - reportNote?: Prisma.StringFilter<"Refund"> | string - initiatedBy?: Prisma.EnumRefundInitiatorFilter<"Refund"> | $Enums.RefundInitiator - status?: Prisma.EnumRefundStatusFilter<"Refund"> | $Enums.RefundStatus - adminNote?: Prisma.StringNullableFilter<"Refund"> | string | null - reviewedById?: Prisma.StringNullableFilter<"Refund"> | string | null - reviewedAt?: Prisma.DateTimeNullableFilter<"Refund"> | Date | string | null - succeededAt?: Prisma.DateTimeNullableFilter<"Refund"> | Date | string | null - failedAt?: Prisma.DateTimeNullableFilter<"Refund"> | Date | string | null - externalRefundId?: Prisma.StringNullableFilter<"Refund"> | string | null - createdAt?: Prisma.DateTimeFilter<"Refund"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"Refund"> | Date | string - booking?: Prisma.XOR - payment?: Prisma.XOR | null - reviewedBy?: Prisma.XOR | null -}, "id" | "idempotencyKey"> - -export type RefundOrderByWithAggregationInput = { - id?: Prisma.SortOrder - bookingId?: Prisma.SortOrder - paymentId?: Prisma.SortOrderInput | Prisma.SortOrder - amount?: Prisma.SortOrder - currency?: Prisma.SortOrder - reason?: Prisma.SortOrder - reportedBy?: Prisma.SortOrder - reportNote?: Prisma.SortOrder - initiatedBy?: Prisma.SortOrder - status?: Prisma.SortOrder - idempotencyKey?: Prisma.SortOrder - adminNote?: Prisma.SortOrderInput | Prisma.SortOrder - reviewedById?: Prisma.SortOrderInput | Prisma.SortOrder - reviewedAt?: Prisma.SortOrderInput | Prisma.SortOrder - succeededAt?: Prisma.SortOrderInput | Prisma.SortOrder - failedAt?: Prisma.SortOrderInput | Prisma.SortOrder - externalRefundId?: Prisma.SortOrderInput | Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - _count?: Prisma.RefundCountOrderByAggregateInput - _avg?: Prisma.RefundAvgOrderByAggregateInput - _max?: Prisma.RefundMaxOrderByAggregateInput - _min?: Prisma.RefundMinOrderByAggregateInput - _sum?: Prisma.RefundSumOrderByAggregateInput -} - -export type RefundScalarWhereWithAggregatesInput = { - AND?: Prisma.RefundScalarWhereWithAggregatesInput | Prisma.RefundScalarWhereWithAggregatesInput[] - OR?: Prisma.RefundScalarWhereWithAggregatesInput[] - NOT?: Prisma.RefundScalarWhereWithAggregatesInput | Prisma.RefundScalarWhereWithAggregatesInput[] - id?: Prisma.StringWithAggregatesFilter<"Refund"> | string - bookingId?: Prisma.StringWithAggregatesFilter<"Refund"> | string - paymentId?: Prisma.StringNullableWithAggregatesFilter<"Refund"> | string | null - amount?: Prisma.IntWithAggregatesFilter<"Refund"> | number - currency?: Prisma.StringWithAggregatesFilter<"Refund"> | string - reason?: Prisma.EnumRefundReasonWithAggregatesFilter<"Refund"> | $Enums.RefundReason - reportedBy?: Prisma.EnumRefundReporterWithAggregatesFilter<"Refund"> | $Enums.RefundReporter - reportNote?: Prisma.StringWithAggregatesFilter<"Refund"> | string - initiatedBy?: Prisma.EnumRefundInitiatorWithAggregatesFilter<"Refund"> | $Enums.RefundInitiator - status?: Prisma.EnumRefundStatusWithAggregatesFilter<"Refund"> | $Enums.RefundStatus - idempotencyKey?: Prisma.StringWithAggregatesFilter<"Refund"> | string - adminNote?: Prisma.StringNullableWithAggregatesFilter<"Refund"> | string | null - reviewedById?: Prisma.StringNullableWithAggregatesFilter<"Refund"> | string | null - reviewedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Refund"> | Date | string | null - succeededAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Refund"> | Date | string | null - failedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Refund"> | Date | string | null - externalRefundId?: Prisma.StringNullableWithAggregatesFilter<"Refund"> | string | null - createdAt?: Prisma.DateTimeWithAggregatesFilter<"Refund"> | Date | string - updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Refund"> | Date | string -} - -export type RefundCreateInput = { - id?: string - amount: number - currency?: string - reason: $Enums.RefundReason - reportedBy: $Enums.RefundReporter - reportNote: string - initiatedBy?: $Enums.RefundInitiator - status?: $Enums.RefundStatus - idempotencyKey: string - adminNote?: string | null - reviewedAt?: Date | string | null - succeededAt?: Date | string | null - failedAt?: Date | string | null - externalRefundId?: string | null - createdAt?: Date | string - updatedAt?: Date | string - booking: Prisma.BookingCreateNestedOneWithoutRefundsInput - payment?: Prisma.PaymentCreateNestedOneWithoutRefundsInput - reviewedBy?: Prisma.UserCreateNestedOneWithoutReviewedRefundsInput -} - -export type RefundUncheckedCreateInput = { - id?: string - bookingId: string - paymentId?: string | null - amount: number - currency?: string - reason: $Enums.RefundReason - reportedBy: $Enums.RefundReporter - reportNote: string - initiatedBy?: $Enums.RefundInitiator - status?: $Enums.RefundStatus - idempotencyKey: string - adminNote?: string | null - reviewedById?: string | null - reviewedAt?: Date | string | null - succeededAt?: Date | string | null - failedAt?: Date | string | null - externalRefundId?: string | null - createdAt?: Date | string - updatedAt?: Date | string -} - -export type RefundUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - amount?: Prisma.IntFieldUpdateOperationsInput | number - currency?: Prisma.StringFieldUpdateOperationsInput | string - reason?: Prisma.EnumRefundReasonFieldUpdateOperationsInput | $Enums.RefundReason - reportedBy?: Prisma.EnumRefundReporterFieldUpdateOperationsInput | $Enums.RefundReporter - reportNote?: Prisma.StringFieldUpdateOperationsInput | string - initiatedBy?: Prisma.EnumRefundInitiatorFieldUpdateOperationsInput | $Enums.RefundInitiator - status?: Prisma.EnumRefundStatusFieldUpdateOperationsInput | $Enums.RefundStatus - idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string - adminNote?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - reviewedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - succeededAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - failedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - externalRefundId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - booking?: Prisma.BookingUpdateOneRequiredWithoutRefundsNestedInput - payment?: Prisma.PaymentUpdateOneWithoutRefundsNestedInput - reviewedBy?: Prisma.UserUpdateOneWithoutReviewedRefundsNestedInput -} - -export type RefundUncheckedUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - bookingId?: Prisma.StringFieldUpdateOperationsInput | string - paymentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - amount?: Prisma.IntFieldUpdateOperationsInput | number - currency?: Prisma.StringFieldUpdateOperationsInput | string - reason?: Prisma.EnumRefundReasonFieldUpdateOperationsInput | $Enums.RefundReason - reportedBy?: Prisma.EnumRefundReporterFieldUpdateOperationsInput | $Enums.RefundReporter - reportNote?: Prisma.StringFieldUpdateOperationsInput | string - initiatedBy?: Prisma.EnumRefundInitiatorFieldUpdateOperationsInput | $Enums.RefundInitiator - status?: Prisma.EnumRefundStatusFieldUpdateOperationsInput | $Enums.RefundStatus - idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string - adminNote?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - reviewedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - reviewedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - succeededAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - failedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - externalRefundId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - -export type RefundCreateManyInput = { - id?: string - bookingId: string - paymentId?: string | null - amount: number - currency?: string - reason: $Enums.RefundReason - reportedBy: $Enums.RefundReporter - reportNote: string - initiatedBy?: $Enums.RefundInitiator - status?: $Enums.RefundStatus - idempotencyKey: string - adminNote?: string | null - reviewedById?: string | null - reviewedAt?: Date | string | null - succeededAt?: Date | string | null - failedAt?: Date | string | null - externalRefundId?: string | null - createdAt?: Date | string - updatedAt?: Date | string -} - -export type RefundUpdateManyMutationInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - amount?: Prisma.IntFieldUpdateOperationsInput | number - currency?: Prisma.StringFieldUpdateOperationsInput | string - reason?: Prisma.EnumRefundReasonFieldUpdateOperationsInput | $Enums.RefundReason - reportedBy?: Prisma.EnumRefundReporterFieldUpdateOperationsInput | $Enums.RefundReporter - reportNote?: Prisma.StringFieldUpdateOperationsInput | string - initiatedBy?: Prisma.EnumRefundInitiatorFieldUpdateOperationsInput | $Enums.RefundInitiator - status?: Prisma.EnumRefundStatusFieldUpdateOperationsInput | $Enums.RefundStatus - idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string - adminNote?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - reviewedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - succeededAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - failedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - externalRefundId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - -export type RefundUncheckedUpdateManyInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - bookingId?: Prisma.StringFieldUpdateOperationsInput | string - paymentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - amount?: Prisma.IntFieldUpdateOperationsInput | number - currency?: Prisma.StringFieldUpdateOperationsInput | string - reason?: Prisma.EnumRefundReasonFieldUpdateOperationsInput | $Enums.RefundReason - reportedBy?: Prisma.EnumRefundReporterFieldUpdateOperationsInput | $Enums.RefundReporter - reportNote?: Prisma.StringFieldUpdateOperationsInput | string - initiatedBy?: Prisma.EnumRefundInitiatorFieldUpdateOperationsInput | $Enums.RefundInitiator - status?: Prisma.EnumRefundStatusFieldUpdateOperationsInput | $Enums.RefundStatus - idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string - adminNote?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - reviewedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - reviewedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - succeededAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - failedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - externalRefundId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - -export type RefundListRelationFilter = { - every?: Prisma.RefundWhereInput - some?: Prisma.RefundWhereInput - none?: Prisma.RefundWhereInput -} - -export type RefundOrderByRelationAggregateInput = { - _count?: Prisma.SortOrder -} - -export type RefundCountOrderByAggregateInput = { - id?: Prisma.SortOrder - bookingId?: Prisma.SortOrder - paymentId?: Prisma.SortOrder - amount?: Prisma.SortOrder - currency?: Prisma.SortOrder - reason?: Prisma.SortOrder - reportedBy?: Prisma.SortOrder - reportNote?: Prisma.SortOrder - initiatedBy?: Prisma.SortOrder - status?: Prisma.SortOrder - idempotencyKey?: Prisma.SortOrder - adminNote?: Prisma.SortOrder - reviewedById?: Prisma.SortOrder - reviewedAt?: Prisma.SortOrder - succeededAt?: Prisma.SortOrder - failedAt?: Prisma.SortOrder - externalRefundId?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder -} - -export type RefundAvgOrderByAggregateInput = { - amount?: Prisma.SortOrder -} - -export type RefundMaxOrderByAggregateInput = { - id?: Prisma.SortOrder - bookingId?: Prisma.SortOrder - paymentId?: Prisma.SortOrder - amount?: Prisma.SortOrder - currency?: Prisma.SortOrder - reason?: Prisma.SortOrder - reportedBy?: Prisma.SortOrder - reportNote?: Prisma.SortOrder - initiatedBy?: Prisma.SortOrder - status?: Prisma.SortOrder - idempotencyKey?: Prisma.SortOrder - adminNote?: Prisma.SortOrder - reviewedById?: Prisma.SortOrder - reviewedAt?: Prisma.SortOrder - succeededAt?: Prisma.SortOrder - failedAt?: Prisma.SortOrder - externalRefundId?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder -} - -export type RefundMinOrderByAggregateInput = { - id?: Prisma.SortOrder - bookingId?: Prisma.SortOrder - paymentId?: Prisma.SortOrder - amount?: Prisma.SortOrder - currency?: Prisma.SortOrder - reason?: Prisma.SortOrder - reportedBy?: Prisma.SortOrder - reportNote?: Prisma.SortOrder - initiatedBy?: Prisma.SortOrder - status?: Prisma.SortOrder - idempotencyKey?: Prisma.SortOrder - adminNote?: Prisma.SortOrder - reviewedById?: Prisma.SortOrder - reviewedAt?: Prisma.SortOrder - succeededAt?: Prisma.SortOrder - failedAt?: Prisma.SortOrder - externalRefundId?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder -} - -export type RefundSumOrderByAggregateInput = { - amount?: Prisma.SortOrder -} - -export type RefundCreateNestedManyWithoutReviewedByInput = { - create?: Prisma.XOR | Prisma.RefundCreateWithoutReviewedByInput[] | Prisma.RefundUncheckedCreateWithoutReviewedByInput[] - connectOrCreate?: Prisma.RefundCreateOrConnectWithoutReviewedByInput | Prisma.RefundCreateOrConnectWithoutReviewedByInput[] - createMany?: Prisma.RefundCreateManyReviewedByInputEnvelope - connect?: Prisma.RefundWhereUniqueInput | Prisma.RefundWhereUniqueInput[] -} - -export type RefundUncheckedCreateNestedManyWithoutReviewedByInput = { - create?: Prisma.XOR | Prisma.RefundCreateWithoutReviewedByInput[] | Prisma.RefundUncheckedCreateWithoutReviewedByInput[] - connectOrCreate?: Prisma.RefundCreateOrConnectWithoutReviewedByInput | Prisma.RefundCreateOrConnectWithoutReviewedByInput[] - createMany?: Prisma.RefundCreateManyReviewedByInputEnvelope - connect?: Prisma.RefundWhereUniqueInput | Prisma.RefundWhereUniqueInput[] -} - -export type RefundUpdateManyWithoutReviewedByNestedInput = { - create?: Prisma.XOR | Prisma.RefundCreateWithoutReviewedByInput[] | Prisma.RefundUncheckedCreateWithoutReviewedByInput[] - connectOrCreate?: Prisma.RefundCreateOrConnectWithoutReviewedByInput | Prisma.RefundCreateOrConnectWithoutReviewedByInput[] - upsert?: Prisma.RefundUpsertWithWhereUniqueWithoutReviewedByInput | Prisma.RefundUpsertWithWhereUniqueWithoutReviewedByInput[] - createMany?: Prisma.RefundCreateManyReviewedByInputEnvelope - set?: Prisma.RefundWhereUniqueInput | Prisma.RefundWhereUniqueInput[] - disconnect?: Prisma.RefundWhereUniqueInput | Prisma.RefundWhereUniqueInput[] - delete?: Prisma.RefundWhereUniqueInput | Prisma.RefundWhereUniqueInput[] - connect?: Prisma.RefundWhereUniqueInput | Prisma.RefundWhereUniqueInput[] - update?: Prisma.RefundUpdateWithWhereUniqueWithoutReviewedByInput | Prisma.RefundUpdateWithWhereUniqueWithoutReviewedByInput[] - updateMany?: Prisma.RefundUpdateManyWithWhereWithoutReviewedByInput | Prisma.RefundUpdateManyWithWhereWithoutReviewedByInput[] - deleteMany?: Prisma.RefundScalarWhereInput | Prisma.RefundScalarWhereInput[] -} - -export type RefundUncheckedUpdateManyWithoutReviewedByNestedInput = { - create?: Prisma.XOR | Prisma.RefundCreateWithoutReviewedByInput[] | Prisma.RefundUncheckedCreateWithoutReviewedByInput[] - connectOrCreate?: Prisma.RefundCreateOrConnectWithoutReviewedByInput | Prisma.RefundCreateOrConnectWithoutReviewedByInput[] - upsert?: Prisma.RefundUpsertWithWhereUniqueWithoutReviewedByInput | Prisma.RefundUpsertWithWhereUniqueWithoutReviewedByInput[] - createMany?: Prisma.RefundCreateManyReviewedByInputEnvelope - set?: Prisma.RefundWhereUniqueInput | Prisma.RefundWhereUniqueInput[] - disconnect?: Prisma.RefundWhereUniqueInput | Prisma.RefundWhereUniqueInput[] - delete?: Prisma.RefundWhereUniqueInput | Prisma.RefundWhereUniqueInput[] - connect?: Prisma.RefundWhereUniqueInput | Prisma.RefundWhereUniqueInput[] - update?: Prisma.RefundUpdateWithWhereUniqueWithoutReviewedByInput | Prisma.RefundUpdateWithWhereUniqueWithoutReviewedByInput[] - updateMany?: Prisma.RefundUpdateManyWithWhereWithoutReviewedByInput | Prisma.RefundUpdateManyWithWhereWithoutReviewedByInput[] - deleteMany?: Prisma.RefundScalarWhereInput | Prisma.RefundScalarWhereInput[] -} - -export type RefundCreateNestedManyWithoutBookingInput = { - create?: Prisma.XOR | Prisma.RefundCreateWithoutBookingInput[] | Prisma.RefundUncheckedCreateWithoutBookingInput[] - connectOrCreate?: Prisma.RefundCreateOrConnectWithoutBookingInput | Prisma.RefundCreateOrConnectWithoutBookingInput[] - createMany?: Prisma.RefundCreateManyBookingInputEnvelope - connect?: Prisma.RefundWhereUniqueInput | Prisma.RefundWhereUniqueInput[] -} - -export type RefundUncheckedCreateNestedManyWithoutBookingInput = { - create?: Prisma.XOR | Prisma.RefundCreateWithoutBookingInput[] | Prisma.RefundUncheckedCreateWithoutBookingInput[] - connectOrCreate?: Prisma.RefundCreateOrConnectWithoutBookingInput | Prisma.RefundCreateOrConnectWithoutBookingInput[] - createMany?: Prisma.RefundCreateManyBookingInputEnvelope - connect?: Prisma.RefundWhereUniqueInput | Prisma.RefundWhereUniqueInput[] -} - -export type RefundUpdateManyWithoutBookingNestedInput = { - create?: Prisma.XOR | Prisma.RefundCreateWithoutBookingInput[] | Prisma.RefundUncheckedCreateWithoutBookingInput[] - connectOrCreate?: Prisma.RefundCreateOrConnectWithoutBookingInput | Prisma.RefundCreateOrConnectWithoutBookingInput[] - upsert?: Prisma.RefundUpsertWithWhereUniqueWithoutBookingInput | Prisma.RefundUpsertWithWhereUniqueWithoutBookingInput[] - createMany?: Prisma.RefundCreateManyBookingInputEnvelope - set?: Prisma.RefundWhereUniqueInput | Prisma.RefundWhereUniqueInput[] - disconnect?: Prisma.RefundWhereUniqueInput | Prisma.RefundWhereUniqueInput[] - delete?: Prisma.RefundWhereUniqueInput | Prisma.RefundWhereUniqueInput[] - connect?: Prisma.RefundWhereUniqueInput | Prisma.RefundWhereUniqueInput[] - update?: Prisma.RefundUpdateWithWhereUniqueWithoutBookingInput | Prisma.RefundUpdateWithWhereUniqueWithoutBookingInput[] - updateMany?: Prisma.RefundUpdateManyWithWhereWithoutBookingInput | Prisma.RefundUpdateManyWithWhereWithoutBookingInput[] - deleteMany?: Prisma.RefundScalarWhereInput | Prisma.RefundScalarWhereInput[] -} - -export type RefundUncheckedUpdateManyWithoutBookingNestedInput = { - create?: Prisma.XOR | Prisma.RefundCreateWithoutBookingInput[] | Prisma.RefundUncheckedCreateWithoutBookingInput[] - connectOrCreate?: Prisma.RefundCreateOrConnectWithoutBookingInput | Prisma.RefundCreateOrConnectWithoutBookingInput[] - upsert?: Prisma.RefundUpsertWithWhereUniqueWithoutBookingInput | Prisma.RefundUpsertWithWhereUniqueWithoutBookingInput[] - createMany?: Prisma.RefundCreateManyBookingInputEnvelope - set?: Prisma.RefundWhereUniqueInput | Prisma.RefundWhereUniqueInput[] - disconnect?: Prisma.RefundWhereUniqueInput | Prisma.RefundWhereUniqueInput[] - delete?: Prisma.RefundWhereUniqueInput | Prisma.RefundWhereUniqueInput[] - connect?: Prisma.RefundWhereUniqueInput | Prisma.RefundWhereUniqueInput[] - update?: Prisma.RefundUpdateWithWhereUniqueWithoutBookingInput | Prisma.RefundUpdateWithWhereUniqueWithoutBookingInput[] - updateMany?: Prisma.RefundUpdateManyWithWhereWithoutBookingInput | Prisma.RefundUpdateManyWithWhereWithoutBookingInput[] - deleteMany?: Prisma.RefundScalarWhereInput | Prisma.RefundScalarWhereInput[] -} - -export type RefundCreateNestedManyWithoutPaymentInput = { - create?: Prisma.XOR | Prisma.RefundCreateWithoutPaymentInput[] | Prisma.RefundUncheckedCreateWithoutPaymentInput[] - connectOrCreate?: Prisma.RefundCreateOrConnectWithoutPaymentInput | Prisma.RefundCreateOrConnectWithoutPaymentInput[] - createMany?: Prisma.RefundCreateManyPaymentInputEnvelope - connect?: Prisma.RefundWhereUniqueInput | Prisma.RefundWhereUniqueInput[] -} - -export type RefundUncheckedCreateNestedManyWithoutPaymentInput = { - create?: Prisma.XOR | Prisma.RefundCreateWithoutPaymentInput[] | Prisma.RefundUncheckedCreateWithoutPaymentInput[] - connectOrCreate?: Prisma.RefundCreateOrConnectWithoutPaymentInput | Prisma.RefundCreateOrConnectWithoutPaymentInput[] - createMany?: Prisma.RefundCreateManyPaymentInputEnvelope - connect?: Prisma.RefundWhereUniqueInput | Prisma.RefundWhereUniqueInput[] -} - -export type RefundUpdateManyWithoutPaymentNestedInput = { - create?: Prisma.XOR | Prisma.RefundCreateWithoutPaymentInput[] | Prisma.RefundUncheckedCreateWithoutPaymentInput[] - connectOrCreate?: Prisma.RefundCreateOrConnectWithoutPaymentInput | Prisma.RefundCreateOrConnectWithoutPaymentInput[] - upsert?: Prisma.RefundUpsertWithWhereUniqueWithoutPaymentInput | Prisma.RefundUpsertWithWhereUniqueWithoutPaymentInput[] - createMany?: Prisma.RefundCreateManyPaymentInputEnvelope - set?: Prisma.RefundWhereUniqueInput | Prisma.RefundWhereUniqueInput[] - disconnect?: Prisma.RefundWhereUniqueInput | Prisma.RefundWhereUniqueInput[] - delete?: Prisma.RefundWhereUniqueInput | Prisma.RefundWhereUniqueInput[] - connect?: Prisma.RefundWhereUniqueInput | Prisma.RefundWhereUniqueInput[] - update?: Prisma.RefundUpdateWithWhereUniqueWithoutPaymentInput | Prisma.RefundUpdateWithWhereUniqueWithoutPaymentInput[] - updateMany?: Prisma.RefundUpdateManyWithWhereWithoutPaymentInput | Prisma.RefundUpdateManyWithWhereWithoutPaymentInput[] - deleteMany?: Prisma.RefundScalarWhereInput | Prisma.RefundScalarWhereInput[] -} - -export type RefundUncheckedUpdateManyWithoutPaymentNestedInput = { - create?: Prisma.XOR | Prisma.RefundCreateWithoutPaymentInput[] | Prisma.RefundUncheckedCreateWithoutPaymentInput[] - connectOrCreate?: Prisma.RefundCreateOrConnectWithoutPaymentInput | Prisma.RefundCreateOrConnectWithoutPaymentInput[] - upsert?: Prisma.RefundUpsertWithWhereUniqueWithoutPaymentInput | Prisma.RefundUpsertWithWhereUniqueWithoutPaymentInput[] - createMany?: Prisma.RefundCreateManyPaymentInputEnvelope - set?: Prisma.RefundWhereUniqueInput | Prisma.RefundWhereUniqueInput[] - disconnect?: Prisma.RefundWhereUniqueInput | Prisma.RefundWhereUniqueInput[] - delete?: Prisma.RefundWhereUniqueInput | Prisma.RefundWhereUniqueInput[] - connect?: Prisma.RefundWhereUniqueInput | Prisma.RefundWhereUniqueInput[] - update?: Prisma.RefundUpdateWithWhereUniqueWithoutPaymentInput | Prisma.RefundUpdateWithWhereUniqueWithoutPaymentInput[] - updateMany?: Prisma.RefundUpdateManyWithWhereWithoutPaymentInput | Prisma.RefundUpdateManyWithWhereWithoutPaymentInput[] - deleteMany?: Prisma.RefundScalarWhereInput | Prisma.RefundScalarWhereInput[] -} - -export type EnumRefundReasonFieldUpdateOperationsInput = { - set?: $Enums.RefundReason -} - -export type EnumRefundReporterFieldUpdateOperationsInput = { - set?: $Enums.RefundReporter -} - -export type EnumRefundInitiatorFieldUpdateOperationsInput = { - set?: $Enums.RefundInitiator -} - -export type EnumRefundStatusFieldUpdateOperationsInput = { - set?: $Enums.RefundStatus -} - -export type RefundCreateWithoutReviewedByInput = { - id?: string - amount: number - currency?: string - reason: $Enums.RefundReason - reportedBy: $Enums.RefundReporter - reportNote: string - initiatedBy?: $Enums.RefundInitiator - status?: $Enums.RefundStatus - idempotencyKey: string - adminNote?: string | null - reviewedAt?: Date | string | null - succeededAt?: Date | string | null - failedAt?: Date | string | null - externalRefundId?: string | null - createdAt?: Date | string - updatedAt?: Date | string - booking: Prisma.BookingCreateNestedOneWithoutRefundsInput - payment?: Prisma.PaymentCreateNestedOneWithoutRefundsInput -} - -export type RefundUncheckedCreateWithoutReviewedByInput = { - id?: string - bookingId: string - paymentId?: string | null - amount: number - currency?: string - reason: $Enums.RefundReason - reportedBy: $Enums.RefundReporter - reportNote: string - initiatedBy?: $Enums.RefundInitiator - status?: $Enums.RefundStatus - idempotencyKey: string - adminNote?: string | null - reviewedAt?: Date | string | null - succeededAt?: Date | string | null - failedAt?: Date | string | null - externalRefundId?: string | null - createdAt?: Date | string - updatedAt?: Date | string -} - -export type RefundCreateOrConnectWithoutReviewedByInput = { - where: Prisma.RefundWhereUniqueInput - create: Prisma.XOR -} - -export type RefundCreateManyReviewedByInputEnvelope = { - data: Prisma.RefundCreateManyReviewedByInput | Prisma.RefundCreateManyReviewedByInput[] - skipDuplicates?: boolean -} - -export type RefundUpsertWithWhereUniqueWithoutReviewedByInput = { - where: Prisma.RefundWhereUniqueInput - update: Prisma.XOR - create: Prisma.XOR -} - -export type RefundUpdateWithWhereUniqueWithoutReviewedByInput = { - where: Prisma.RefundWhereUniqueInput - data: Prisma.XOR -} - -export type RefundUpdateManyWithWhereWithoutReviewedByInput = { - where: Prisma.RefundScalarWhereInput - data: Prisma.XOR -} - -export type RefundScalarWhereInput = { - AND?: Prisma.RefundScalarWhereInput | Prisma.RefundScalarWhereInput[] - OR?: Prisma.RefundScalarWhereInput[] - NOT?: Prisma.RefundScalarWhereInput | Prisma.RefundScalarWhereInput[] - id?: Prisma.StringFilter<"Refund"> | string - bookingId?: Prisma.StringFilter<"Refund"> | string - paymentId?: Prisma.StringNullableFilter<"Refund"> | string | null - amount?: Prisma.IntFilter<"Refund"> | number - currency?: Prisma.StringFilter<"Refund"> | string - reason?: Prisma.EnumRefundReasonFilter<"Refund"> | $Enums.RefundReason - reportedBy?: Prisma.EnumRefundReporterFilter<"Refund"> | $Enums.RefundReporter - reportNote?: Prisma.StringFilter<"Refund"> | string - initiatedBy?: Prisma.EnumRefundInitiatorFilter<"Refund"> | $Enums.RefundInitiator - status?: Prisma.EnumRefundStatusFilter<"Refund"> | $Enums.RefundStatus - idempotencyKey?: Prisma.StringFilter<"Refund"> | string - adminNote?: Prisma.StringNullableFilter<"Refund"> | string | null - reviewedById?: Prisma.StringNullableFilter<"Refund"> | string | null - reviewedAt?: Prisma.DateTimeNullableFilter<"Refund"> | Date | string | null - succeededAt?: Prisma.DateTimeNullableFilter<"Refund"> | Date | string | null - failedAt?: Prisma.DateTimeNullableFilter<"Refund"> | Date | string | null - externalRefundId?: Prisma.StringNullableFilter<"Refund"> | string | null - createdAt?: Prisma.DateTimeFilter<"Refund"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"Refund"> | Date | string -} - -export type RefundCreateWithoutBookingInput = { - id?: string - amount: number - currency?: string - reason: $Enums.RefundReason - reportedBy: $Enums.RefundReporter - reportNote: string - initiatedBy?: $Enums.RefundInitiator - status?: $Enums.RefundStatus - idempotencyKey: string - adminNote?: string | null - reviewedAt?: Date | string | null - succeededAt?: Date | string | null - failedAt?: Date | string | null - externalRefundId?: string | null - createdAt?: Date | string - updatedAt?: Date | string - payment?: Prisma.PaymentCreateNestedOneWithoutRefundsInput - reviewedBy?: Prisma.UserCreateNestedOneWithoutReviewedRefundsInput -} - -export type RefundUncheckedCreateWithoutBookingInput = { - id?: string - paymentId?: string | null - amount: number - currency?: string - reason: $Enums.RefundReason - reportedBy: $Enums.RefundReporter - reportNote: string - initiatedBy?: $Enums.RefundInitiator - status?: $Enums.RefundStatus - idempotencyKey: string - adminNote?: string | null - reviewedById?: string | null - reviewedAt?: Date | string | null - succeededAt?: Date | string | null - failedAt?: Date | string | null - externalRefundId?: string | null - createdAt?: Date | string - updatedAt?: Date | string -} - -export type RefundCreateOrConnectWithoutBookingInput = { - where: Prisma.RefundWhereUniqueInput - create: Prisma.XOR -} - -export type RefundCreateManyBookingInputEnvelope = { - data: Prisma.RefundCreateManyBookingInput | Prisma.RefundCreateManyBookingInput[] - skipDuplicates?: boolean -} - -export type RefundUpsertWithWhereUniqueWithoutBookingInput = { - where: Prisma.RefundWhereUniqueInput - update: Prisma.XOR - create: Prisma.XOR -} - -export type RefundUpdateWithWhereUniqueWithoutBookingInput = { - where: Prisma.RefundWhereUniqueInput - data: Prisma.XOR -} - -export type RefundUpdateManyWithWhereWithoutBookingInput = { - where: Prisma.RefundScalarWhereInput - data: Prisma.XOR -} - -export type RefundCreateWithoutPaymentInput = { - id?: string - amount: number - currency?: string - reason: $Enums.RefundReason - reportedBy: $Enums.RefundReporter - reportNote: string - initiatedBy?: $Enums.RefundInitiator - status?: $Enums.RefundStatus - idempotencyKey: string - adminNote?: string | null - reviewedAt?: Date | string | null - succeededAt?: Date | string | null - failedAt?: Date | string | null - externalRefundId?: string | null - createdAt?: Date | string - updatedAt?: Date | string - booking: Prisma.BookingCreateNestedOneWithoutRefundsInput - reviewedBy?: Prisma.UserCreateNestedOneWithoutReviewedRefundsInput -} - -export type RefundUncheckedCreateWithoutPaymentInput = { - id?: string - bookingId: string - amount: number - currency?: string - reason: $Enums.RefundReason - reportedBy: $Enums.RefundReporter - reportNote: string - initiatedBy?: $Enums.RefundInitiator - status?: $Enums.RefundStatus - idempotencyKey: string - adminNote?: string | null - reviewedById?: string | null - reviewedAt?: Date | string | null - succeededAt?: Date | string | null - failedAt?: Date | string | null - externalRefundId?: string | null - createdAt?: Date | string - updatedAt?: Date | string -} - -export type RefundCreateOrConnectWithoutPaymentInput = { - where: Prisma.RefundWhereUniqueInput - create: Prisma.XOR -} - -export type RefundCreateManyPaymentInputEnvelope = { - data: Prisma.RefundCreateManyPaymentInput | Prisma.RefundCreateManyPaymentInput[] - skipDuplicates?: boolean -} - -export type RefundUpsertWithWhereUniqueWithoutPaymentInput = { - where: Prisma.RefundWhereUniqueInput - update: Prisma.XOR - create: Prisma.XOR -} - -export type RefundUpdateWithWhereUniqueWithoutPaymentInput = { - where: Prisma.RefundWhereUniqueInput - data: Prisma.XOR -} - -export type RefundUpdateManyWithWhereWithoutPaymentInput = { - where: Prisma.RefundScalarWhereInput - data: Prisma.XOR -} - -export type RefundCreateManyReviewedByInput = { - id?: string - bookingId: string - paymentId?: string | null - amount: number - currency?: string - reason: $Enums.RefundReason - reportedBy: $Enums.RefundReporter - reportNote: string - initiatedBy?: $Enums.RefundInitiator - status?: $Enums.RefundStatus - idempotencyKey: string - adminNote?: string | null - reviewedAt?: Date | string | null - succeededAt?: Date | string | null - failedAt?: Date | string | null - externalRefundId?: string | null - createdAt?: Date | string - updatedAt?: Date | string -} - -export type RefundUpdateWithoutReviewedByInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - amount?: Prisma.IntFieldUpdateOperationsInput | number - currency?: Prisma.StringFieldUpdateOperationsInput | string - reason?: Prisma.EnumRefundReasonFieldUpdateOperationsInput | $Enums.RefundReason - reportedBy?: Prisma.EnumRefundReporterFieldUpdateOperationsInput | $Enums.RefundReporter - reportNote?: Prisma.StringFieldUpdateOperationsInput | string - initiatedBy?: Prisma.EnumRefundInitiatorFieldUpdateOperationsInput | $Enums.RefundInitiator - status?: Prisma.EnumRefundStatusFieldUpdateOperationsInput | $Enums.RefundStatus - idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string - adminNote?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - reviewedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - succeededAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - failedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - externalRefundId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - booking?: Prisma.BookingUpdateOneRequiredWithoutRefundsNestedInput - payment?: Prisma.PaymentUpdateOneWithoutRefundsNestedInput -} - -export type RefundUncheckedUpdateWithoutReviewedByInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - bookingId?: Prisma.StringFieldUpdateOperationsInput | string - paymentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - amount?: Prisma.IntFieldUpdateOperationsInput | number - currency?: Prisma.StringFieldUpdateOperationsInput | string - reason?: Prisma.EnumRefundReasonFieldUpdateOperationsInput | $Enums.RefundReason - reportedBy?: Prisma.EnumRefundReporterFieldUpdateOperationsInput | $Enums.RefundReporter - reportNote?: Prisma.StringFieldUpdateOperationsInput | string - initiatedBy?: Prisma.EnumRefundInitiatorFieldUpdateOperationsInput | $Enums.RefundInitiator - status?: Prisma.EnumRefundStatusFieldUpdateOperationsInput | $Enums.RefundStatus - idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string - adminNote?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - reviewedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - succeededAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - failedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - externalRefundId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - -export type RefundUncheckedUpdateManyWithoutReviewedByInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - bookingId?: Prisma.StringFieldUpdateOperationsInput | string - paymentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - amount?: Prisma.IntFieldUpdateOperationsInput | number - currency?: Prisma.StringFieldUpdateOperationsInput | string - reason?: Prisma.EnumRefundReasonFieldUpdateOperationsInput | $Enums.RefundReason - reportedBy?: Prisma.EnumRefundReporterFieldUpdateOperationsInput | $Enums.RefundReporter - reportNote?: Prisma.StringFieldUpdateOperationsInput | string - initiatedBy?: Prisma.EnumRefundInitiatorFieldUpdateOperationsInput | $Enums.RefundInitiator - status?: Prisma.EnumRefundStatusFieldUpdateOperationsInput | $Enums.RefundStatus - idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string - adminNote?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - reviewedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - succeededAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - failedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - externalRefundId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - -export type RefundCreateManyBookingInput = { - id?: string - paymentId?: string | null - amount: number - currency?: string - reason: $Enums.RefundReason - reportedBy: $Enums.RefundReporter - reportNote: string - initiatedBy?: $Enums.RefundInitiator - status?: $Enums.RefundStatus - idempotencyKey: string - adminNote?: string | null - reviewedById?: string | null - reviewedAt?: Date | string | null - succeededAt?: Date | string | null - failedAt?: Date | string | null - externalRefundId?: string | null - createdAt?: Date | string - updatedAt?: Date | string -} - -export type RefundUpdateWithoutBookingInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - amount?: Prisma.IntFieldUpdateOperationsInput | number - currency?: Prisma.StringFieldUpdateOperationsInput | string - reason?: Prisma.EnumRefundReasonFieldUpdateOperationsInput | $Enums.RefundReason - reportedBy?: Prisma.EnumRefundReporterFieldUpdateOperationsInput | $Enums.RefundReporter - reportNote?: Prisma.StringFieldUpdateOperationsInput | string - initiatedBy?: Prisma.EnumRefundInitiatorFieldUpdateOperationsInput | $Enums.RefundInitiator - status?: Prisma.EnumRefundStatusFieldUpdateOperationsInput | $Enums.RefundStatus - idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string - adminNote?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - reviewedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - succeededAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - failedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - externalRefundId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - payment?: Prisma.PaymentUpdateOneWithoutRefundsNestedInput - reviewedBy?: Prisma.UserUpdateOneWithoutReviewedRefundsNestedInput -} - -export type RefundUncheckedUpdateWithoutBookingInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - paymentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - amount?: Prisma.IntFieldUpdateOperationsInput | number - currency?: Prisma.StringFieldUpdateOperationsInput | string - reason?: Prisma.EnumRefundReasonFieldUpdateOperationsInput | $Enums.RefundReason - reportedBy?: Prisma.EnumRefundReporterFieldUpdateOperationsInput | $Enums.RefundReporter - reportNote?: Prisma.StringFieldUpdateOperationsInput | string - initiatedBy?: Prisma.EnumRefundInitiatorFieldUpdateOperationsInput | $Enums.RefundInitiator - status?: Prisma.EnumRefundStatusFieldUpdateOperationsInput | $Enums.RefundStatus - idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string - adminNote?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - reviewedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - reviewedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - succeededAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - failedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - externalRefundId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - -export type RefundUncheckedUpdateManyWithoutBookingInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - paymentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - amount?: Prisma.IntFieldUpdateOperationsInput | number - currency?: Prisma.StringFieldUpdateOperationsInput | string - reason?: Prisma.EnumRefundReasonFieldUpdateOperationsInput | $Enums.RefundReason - reportedBy?: Prisma.EnumRefundReporterFieldUpdateOperationsInput | $Enums.RefundReporter - reportNote?: Prisma.StringFieldUpdateOperationsInput | string - initiatedBy?: Prisma.EnumRefundInitiatorFieldUpdateOperationsInput | $Enums.RefundInitiator - status?: Prisma.EnumRefundStatusFieldUpdateOperationsInput | $Enums.RefundStatus - idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string - adminNote?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - reviewedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - reviewedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - succeededAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - failedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - externalRefundId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - -export type RefundCreateManyPaymentInput = { - id?: string - bookingId: string - amount: number - currency?: string - reason: $Enums.RefundReason - reportedBy: $Enums.RefundReporter - reportNote: string - initiatedBy?: $Enums.RefundInitiator - status?: $Enums.RefundStatus - idempotencyKey: string - adminNote?: string | null - reviewedById?: string | null - reviewedAt?: Date | string | null - succeededAt?: Date | string | null - failedAt?: Date | string | null - externalRefundId?: string | null - createdAt?: Date | string - updatedAt?: Date | string -} - -export type RefundUpdateWithoutPaymentInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - amount?: Prisma.IntFieldUpdateOperationsInput | number - currency?: Prisma.StringFieldUpdateOperationsInput | string - reason?: Prisma.EnumRefundReasonFieldUpdateOperationsInput | $Enums.RefundReason - reportedBy?: Prisma.EnumRefundReporterFieldUpdateOperationsInput | $Enums.RefundReporter - reportNote?: Prisma.StringFieldUpdateOperationsInput | string - initiatedBy?: Prisma.EnumRefundInitiatorFieldUpdateOperationsInput | $Enums.RefundInitiator - status?: Prisma.EnumRefundStatusFieldUpdateOperationsInput | $Enums.RefundStatus - idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string - adminNote?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - reviewedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - succeededAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - failedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - externalRefundId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - booking?: Prisma.BookingUpdateOneRequiredWithoutRefundsNestedInput - reviewedBy?: Prisma.UserUpdateOneWithoutReviewedRefundsNestedInput -} - -export type RefundUncheckedUpdateWithoutPaymentInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - bookingId?: Prisma.StringFieldUpdateOperationsInput | string - amount?: Prisma.IntFieldUpdateOperationsInput | number - currency?: Prisma.StringFieldUpdateOperationsInput | string - reason?: Prisma.EnumRefundReasonFieldUpdateOperationsInput | $Enums.RefundReason - reportedBy?: Prisma.EnumRefundReporterFieldUpdateOperationsInput | $Enums.RefundReporter - reportNote?: Prisma.StringFieldUpdateOperationsInput | string - initiatedBy?: Prisma.EnumRefundInitiatorFieldUpdateOperationsInput | $Enums.RefundInitiator - status?: Prisma.EnumRefundStatusFieldUpdateOperationsInput | $Enums.RefundStatus - idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string - adminNote?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - reviewedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - reviewedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - succeededAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - failedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - externalRefundId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - -export type RefundUncheckedUpdateManyWithoutPaymentInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - bookingId?: Prisma.StringFieldUpdateOperationsInput | string - amount?: Prisma.IntFieldUpdateOperationsInput | number - currency?: Prisma.StringFieldUpdateOperationsInput | string - reason?: Prisma.EnumRefundReasonFieldUpdateOperationsInput | $Enums.RefundReason - reportedBy?: Prisma.EnumRefundReporterFieldUpdateOperationsInput | $Enums.RefundReporter - reportNote?: Prisma.StringFieldUpdateOperationsInput | string - initiatedBy?: Prisma.EnumRefundInitiatorFieldUpdateOperationsInput | $Enums.RefundInitiator - status?: Prisma.EnumRefundStatusFieldUpdateOperationsInput | $Enums.RefundStatus - idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string - adminNote?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - reviewedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - reviewedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - succeededAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - failedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - externalRefundId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - - - -export type RefundSelect = runtime.Types.Extensions.GetSelect<{ - id?: boolean - bookingId?: boolean - paymentId?: boolean - amount?: boolean - currency?: boolean - reason?: boolean - reportedBy?: boolean - reportNote?: boolean - initiatedBy?: boolean - status?: boolean - idempotencyKey?: boolean - adminNote?: boolean - reviewedById?: boolean - reviewedAt?: boolean - succeededAt?: boolean - failedAt?: boolean - externalRefundId?: boolean - createdAt?: boolean - updatedAt?: boolean - booking?: boolean | Prisma.BookingDefaultArgs - payment?: boolean | Prisma.Refund$paymentArgs - reviewedBy?: boolean | Prisma.Refund$reviewedByArgs -}, ExtArgs["result"]["refund"]> - -export type RefundSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - bookingId?: boolean - paymentId?: boolean - amount?: boolean - currency?: boolean - reason?: boolean - reportedBy?: boolean - reportNote?: boolean - initiatedBy?: boolean - status?: boolean - idempotencyKey?: boolean - adminNote?: boolean - reviewedById?: boolean - reviewedAt?: boolean - succeededAt?: boolean - failedAt?: boolean - externalRefundId?: boolean - createdAt?: boolean - updatedAt?: boolean - booking?: boolean | Prisma.BookingDefaultArgs - payment?: boolean | Prisma.Refund$paymentArgs - reviewedBy?: boolean | Prisma.Refund$reviewedByArgs -}, ExtArgs["result"]["refund"]> - -export type RefundSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - bookingId?: boolean - paymentId?: boolean - amount?: boolean - currency?: boolean - reason?: boolean - reportedBy?: boolean - reportNote?: boolean - initiatedBy?: boolean - status?: boolean - idempotencyKey?: boolean - adminNote?: boolean - reviewedById?: boolean - reviewedAt?: boolean - succeededAt?: boolean - failedAt?: boolean - externalRefundId?: boolean - createdAt?: boolean - updatedAt?: boolean - booking?: boolean | Prisma.BookingDefaultArgs - payment?: boolean | Prisma.Refund$paymentArgs - reviewedBy?: boolean | Prisma.Refund$reviewedByArgs -}, ExtArgs["result"]["refund"]> - -export type RefundSelectScalar = { - id?: boolean - bookingId?: boolean - paymentId?: boolean - amount?: boolean - currency?: boolean - reason?: boolean - reportedBy?: boolean - reportNote?: boolean - initiatedBy?: boolean - status?: boolean - idempotencyKey?: boolean - adminNote?: boolean - reviewedById?: boolean - reviewedAt?: boolean - succeededAt?: boolean - failedAt?: boolean - externalRefundId?: boolean - createdAt?: boolean - updatedAt?: boolean -} - -export type RefundOmit = runtime.Types.Extensions.GetOmit<"id" | "bookingId" | "paymentId" | "amount" | "currency" | "reason" | "reportedBy" | "reportNote" | "initiatedBy" | "status" | "idempotencyKey" | "adminNote" | "reviewedById" | "reviewedAt" | "succeededAt" | "failedAt" | "externalRefundId" | "createdAt" | "updatedAt", ExtArgs["result"]["refund"]> -export type RefundInclude = { - booking?: boolean | Prisma.BookingDefaultArgs - payment?: boolean | Prisma.Refund$paymentArgs - reviewedBy?: boolean | Prisma.Refund$reviewedByArgs -} -export type RefundIncludeCreateManyAndReturn = { - booking?: boolean | Prisma.BookingDefaultArgs - payment?: boolean | Prisma.Refund$paymentArgs - reviewedBy?: boolean | Prisma.Refund$reviewedByArgs -} -export type RefundIncludeUpdateManyAndReturn = { - booking?: boolean | Prisma.BookingDefaultArgs - payment?: boolean | Prisma.Refund$paymentArgs - reviewedBy?: boolean | Prisma.Refund$reviewedByArgs -} - -export type $RefundPayload = { - name: "Refund" - objects: { - booking: Prisma.$BookingPayload - payment: Prisma.$PaymentPayload | null - reviewedBy: Prisma.$UserPayload | null - } - scalars: runtime.Types.Extensions.GetPayloadResult<{ - id: string - bookingId: string - /** - * Payment yang di-refund. Opsional di MVP (manual transfer bisa tidak - * terikat ke Payment row tertentu); wajib saat integrasi Midtrans (R-4). - */ - paymentId: string | null - /** - * Nominal refund dalam satuan terkecil (IDR rupiah, integer). Boleh < total - * payment untuk partial. Service layer enforce SUM(SUCCEEDED) <= payment.amount. - */ - amount: number - currency: string - reason: $Enums.RefundReason - /** - * Siapa yang melaporkan kebutuhan refund ini ke admin. - */ - reportedBy: $Enums.RefundReporter - /** - * Isi laporan dari peserta/organizer yang admin terima (mis. WA, email). - */ - reportNote: string - /** - * Pihak yang membuat record di sistem. Di MVP selalu ADMIN; saat self-service - * nanti USER/ORGANIZER, dan SYSTEM untuk auto-trigger dari trip dibatalkan. - */ - initiatedBy: $Enums.RefundInitiator - status: $Enums.RefundStatus - /** - * Idempotency key, dipakai saat panggil Midtrans Refund API di R-4. Generate - * sekali saat create supaya retry gateway tidak double-refund. - */ - idempotencyKey: string - /** - * Catatan admin: alasan tolak, referensi transfer manual, dst. Bebas teks. - */ - adminNote: string | null - /** - * Admin yang terakhir mengubah status (approve/reject/mark-succeeded/failed). - */ - reviewedById: string | null - reviewedAt: Date | null - succeededAt: Date | null - failedAt: Date | null - /** - * ID refund di gateway (mis. Midtrans refund_id). Kosong untuk manual transfer. - */ - externalRefundId: string | null - createdAt: Date - updatedAt: Date - }, ExtArgs["result"]["refund"]> - composites: {} -} - -export type RefundGetPayload = runtime.Types.Result.GetResult - -export type RefundCountArgs = - Omit & { - select?: RefundCountAggregateInputType | true - } - -export interface RefundDelegate { - [K: symbol]: { types: Prisma.TypeMap['model']['Refund'], meta: { name: 'Refund' } } - /** - * Find zero or one Refund that matches the filter. - * @param {RefundFindUniqueArgs} args - Arguments to find a Refund - * @example - * // Get one Refund - * const refund = await prisma.refund.findUnique({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__RefundClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find one Refund that matches the filter or throw an error with `error.code='P2025'` - * if no matches were found. - * @param {RefundFindUniqueOrThrowArgs} args - Arguments to find a Refund - * @example - * // Get one Refund - * const refund = await prisma.refund.findUniqueOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__RefundClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find the first Refund 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 {RefundFindFirstArgs} args - Arguments to find a Refund - * @example - * // Get one Refund - * const refund = await prisma.refund.findFirst({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__RefundClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find the first Refund 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 {RefundFindFirstOrThrowArgs} args - Arguments to find a Refund - * @example - * // Get one Refund - * const refund = await prisma.refund.findFirstOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__RefundClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find zero or more Refunds 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 {RefundFindManyArgs} args - Arguments to filter and select certain fields only. - * @example - * // Get all Refunds - * const refunds = await prisma.refund.findMany() - * - * // Get first 10 Refunds - * const refunds = await prisma.refund.findMany({ take: 10 }) - * - * // Only select the `id` - * const refundWithIdOnly = await prisma.refund.findMany({ select: { id: true } }) - * - */ - findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> - - /** - * Create a Refund. - * @param {RefundCreateArgs} args - Arguments to create a Refund. - * @example - * // Create one Refund - * const Refund = await prisma.refund.create({ - * data: { - * // ... data to create a Refund - * } - * }) - * - */ - create(args: Prisma.SelectSubset>): Prisma.Prisma__RefundClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Create many Refunds. - * @param {RefundCreateManyArgs} args - Arguments to create many Refunds. - * @example - * // Create many Refunds - * const refund = await prisma.refund.createMany({ - * data: [ - * // ... provide data here - * ] - * }) - * - */ - createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Create many Refunds and returns the data saved in the database. - * @param {RefundCreateManyAndReturnArgs} args - Arguments to create many Refunds. - * @example - * // Create many Refunds - * const refund = await prisma.refund.createManyAndReturn({ - * data: [ - * // ... provide data here - * ] - * }) - * - * // Create many Refunds and only return the `id` - * const refundWithIdOnly = await prisma.refund.createManyAndReturn({ - * select: { id: true }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> - - /** - * Delete a Refund. - * @param {RefundDeleteArgs} args - Arguments to delete one Refund. - * @example - * // Delete one Refund - * const Refund = await prisma.refund.delete({ - * where: { - * // ... filter to delete one Refund - * } - * }) - * - */ - delete(args: Prisma.SelectSubset>): Prisma.Prisma__RefundClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Update one Refund. - * @param {RefundUpdateArgs} args - Arguments to update one Refund. - * @example - * // Update one Refund - * const refund = await prisma.refund.update({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - update(args: Prisma.SelectSubset>): Prisma.Prisma__RefundClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Delete zero or more Refunds. - * @param {RefundDeleteManyArgs} args - Arguments to filter Refunds to delete. - * @example - * // Delete a few Refunds - * const { count } = await prisma.refund.deleteMany({ - * where: { - * // ... provide filter here - * } - * }) - * - */ - deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more Refunds. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {RefundUpdateManyArgs} args - Arguments to update one or more rows. - * @example - * // Update many Refunds - * const refund = await prisma.refund.updateMany({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more Refunds and returns the data updated in the database. - * @param {RefundUpdateManyAndReturnArgs} args - Arguments to update many Refunds. - * @example - * // Update many Refunds - * const refund = await prisma.refund.updateManyAndReturn({ - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * - * // Update zero or more Refunds and only return the `id` - * const refundWithIdOnly = await prisma.refund.updateManyAndReturn({ - * select: { id: true }, - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> - - /** - * Create or update one Refund. - * @param {RefundUpsertArgs} args - Arguments to update or create a Refund. - * @example - * // Update or create a Refund - * const refund = await prisma.refund.upsert({ - * create: { - * // ... data to create a Refund - * }, - * update: { - * // ... in case it already exists, update - * }, - * where: { - * // ... the filter for the Refund we want to update - * } - * }) - */ - upsert(args: Prisma.SelectSubset>): Prisma.Prisma__RefundClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - - /** - * Count the number of Refunds. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {RefundCountArgs} args - Arguments to filter Refunds to count. - * @example - * // Count the number of Refunds - * const count = await prisma.refund.count({ - * where: { - * // ... the filter for the Refunds we want to count - * } - * }) - **/ - count( - args?: Prisma.Subset, - ): Prisma.PrismaPromise< - T extends runtime.Types.Utils.Record<'select', any> - ? T['select'] extends true - ? number - : Prisma.GetScalarType - : number - > - - /** - * Allows you to perform aggregations operations on a Refund. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {RefundAggregateArgs} args - Select which aggregations you would like to apply and on what fields. - * @example - * // Ordered by age ascending - * // Where email contains prisma.io - * // Limited to the 10 users - * const aggregations = await prisma.user.aggregate({ - * _avg: { - * age: true, - * }, - * where: { - * email: { - * contains: "prisma.io", - * }, - * }, - * orderBy: { - * age: "asc", - * }, - * take: 10, - * }) - **/ - aggregate(args: Prisma.Subset): Prisma.PrismaPromise> - - /** - * Group by Refund. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {RefundGroupByArgs} 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 RefundGroupByArgs, - HasSelectOrTake extends Prisma.Or< - Prisma.Extends<'skip', Prisma.Keys>, - Prisma.Extends<'take', Prisma.Keys> - >, - OrderByArg extends Prisma.True extends HasSelectOrTake - ? { orderBy: RefundGroupByArgs['orderBy'] } - : { orderBy?: RefundGroupByArgs['orderBy'] }, - OrderFields extends Prisma.ExcludeUnderscoreKeys>>, - ByFields extends Prisma.MaybeTupleToUnion, - ByValid extends Prisma.Has, - HavingFields extends Prisma.GetHavingFields, - HavingValid extends Prisma.Has, - ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, - InputErrors extends ByEmpty extends Prisma.True - ? `Error: "by" must not be empty.` - : HavingValid extends Prisma.False - ? { - [P in HavingFields]: P extends ByFields - ? never - : P extends string - ? `Error: Field "${P}" used in "having" needs to be provided in "by".` - : [ - Error, - 'Field ', - P, - ` in "having" needs to be provided in "by"`, - ] - }[HavingFields] - : 'take' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "take", you also need to provide "orderBy"' - : 'skip' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "skip", you also need to provide "orderBy"' - : ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetRefundGroupByPayload : Prisma.PrismaPromise -/** - * Fields of the Refund model - */ -readonly fields: RefundFieldRefs; -} - -/** - * The delegate class that acts as a "Promise-like" for Refund. - * 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__RefundClient extends Prisma.PrismaPromise { - readonly [Symbol.toStringTag]: "PrismaPromise" - booking = {}>(args?: Prisma.Subset>): Prisma.Prisma__BookingClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> - payment = {}>(args?: Prisma.Subset>): Prisma.Prisma__PaymentClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - reviewedBy = {}>(args?: Prisma.Subset>): Prisma.Prisma__UserClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - /** - * Attaches callbacks for the resolution and/or rejection of the Promise. - * @param onfulfilled The callback to execute when the Promise is resolved. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of which ever callback is executed. - */ - then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback for only the rejection of the Promise. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of the callback. - */ - catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The - * resolved value cannot be modified from the callback. - * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). - * @returns A Promise for the completion of the callback. - */ - finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise -} - - - - -/** - * Fields of the Refund model - */ -export interface RefundFieldRefs { - readonly id: Prisma.FieldRef<"Refund", 'String'> - readonly bookingId: Prisma.FieldRef<"Refund", 'String'> - readonly paymentId: Prisma.FieldRef<"Refund", 'String'> - readonly amount: Prisma.FieldRef<"Refund", 'Int'> - readonly currency: Prisma.FieldRef<"Refund", 'String'> - readonly reason: Prisma.FieldRef<"Refund", 'RefundReason'> - readonly reportedBy: Prisma.FieldRef<"Refund", 'RefundReporter'> - readonly reportNote: Prisma.FieldRef<"Refund", 'String'> - readonly initiatedBy: Prisma.FieldRef<"Refund", 'RefundInitiator'> - readonly status: Prisma.FieldRef<"Refund", 'RefundStatus'> - readonly idempotencyKey: Prisma.FieldRef<"Refund", 'String'> - readonly adminNote: Prisma.FieldRef<"Refund", 'String'> - readonly reviewedById: Prisma.FieldRef<"Refund", 'String'> - readonly reviewedAt: Prisma.FieldRef<"Refund", 'DateTime'> - readonly succeededAt: Prisma.FieldRef<"Refund", 'DateTime'> - readonly failedAt: Prisma.FieldRef<"Refund", 'DateTime'> - readonly externalRefundId: Prisma.FieldRef<"Refund", 'String'> - readonly createdAt: Prisma.FieldRef<"Refund", 'DateTime'> - readonly updatedAt: Prisma.FieldRef<"Refund", 'DateTime'> -} - - -// Custom InputTypes -/** - * Refund findUnique - */ -export type RefundFindUniqueArgs = { - /** - * Select specific fields to fetch from the Refund - */ - select?: Prisma.RefundSelect | null - /** - * Omit specific fields from the Refund - */ - omit?: Prisma.RefundOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.RefundInclude | null - /** - * Filter, which Refund to fetch. - */ - where: Prisma.RefundWhereUniqueInput -} - -/** - * Refund findUniqueOrThrow - */ -export type RefundFindUniqueOrThrowArgs = { - /** - * Select specific fields to fetch from the Refund - */ - select?: Prisma.RefundSelect | null - /** - * Omit specific fields from the Refund - */ - omit?: Prisma.RefundOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.RefundInclude | null - /** - * Filter, which Refund to fetch. - */ - where: Prisma.RefundWhereUniqueInput -} - -/** - * Refund findFirst - */ -export type RefundFindFirstArgs = { - /** - * Select specific fields to fetch from the Refund - */ - select?: Prisma.RefundSelect | null - /** - * Omit specific fields from the Refund - */ - omit?: Prisma.RefundOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.RefundInclude | null - /** - * Filter, which Refund to fetch. - */ - where?: Prisma.RefundWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Refunds to fetch. - */ - orderBy?: Prisma.RefundOrderByWithRelationInput | Prisma.RefundOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for Refunds. - */ - cursor?: Prisma.RefundWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Refunds 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` Refunds. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Refunds. - */ - distinct?: Prisma.RefundScalarFieldEnum | Prisma.RefundScalarFieldEnum[] -} - -/** - * Refund findFirstOrThrow - */ -export type RefundFindFirstOrThrowArgs = { - /** - * Select specific fields to fetch from the Refund - */ - select?: Prisma.RefundSelect | null - /** - * Omit specific fields from the Refund - */ - omit?: Prisma.RefundOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.RefundInclude | null - /** - * Filter, which Refund to fetch. - */ - where?: Prisma.RefundWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Refunds to fetch. - */ - orderBy?: Prisma.RefundOrderByWithRelationInput | Prisma.RefundOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for Refunds. - */ - cursor?: Prisma.RefundWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Refunds 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` Refunds. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Refunds. - */ - distinct?: Prisma.RefundScalarFieldEnum | Prisma.RefundScalarFieldEnum[] -} - -/** - * Refund findMany - */ -export type RefundFindManyArgs = { - /** - * Select specific fields to fetch from the Refund - */ - select?: Prisma.RefundSelect | null - /** - * Omit specific fields from the Refund - */ - omit?: Prisma.RefundOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.RefundInclude | null - /** - * Filter, which Refunds to fetch. - */ - where?: Prisma.RefundWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Refunds to fetch. - */ - orderBy?: Prisma.RefundOrderByWithRelationInput | Prisma.RefundOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for listing Refunds. - */ - cursor?: Prisma.RefundWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Refunds 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` Refunds. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Refunds. - */ - distinct?: Prisma.RefundScalarFieldEnum | Prisma.RefundScalarFieldEnum[] -} - -/** - * Refund create - */ -export type RefundCreateArgs = { - /** - * Select specific fields to fetch from the Refund - */ - select?: Prisma.RefundSelect | null - /** - * Omit specific fields from the Refund - */ - omit?: Prisma.RefundOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.RefundInclude | null - /** - * The data needed to create a Refund. - */ - data: Prisma.XOR -} - -/** - * Refund createMany - */ -export type RefundCreateManyArgs = { - /** - * The data used to create many Refunds. - */ - data: Prisma.RefundCreateManyInput | Prisma.RefundCreateManyInput[] - skipDuplicates?: boolean -} - -/** - * Refund createManyAndReturn - */ -export type RefundCreateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the Refund - */ - select?: Prisma.RefundSelectCreateManyAndReturn | null - /** - * Omit specific fields from the Refund - */ - omit?: Prisma.RefundOmit | null - /** - * The data used to create many Refunds. - */ - data: Prisma.RefundCreateManyInput | Prisma.RefundCreateManyInput[] - skipDuplicates?: boolean - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.RefundIncludeCreateManyAndReturn | null -} - -/** - * Refund update - */ -export type RefundUpdateArgs = { - /** - * Select specific fields to fetch from the Refund - */ - select?: Prisma.RefundSelect | null - /** - * Omit specific fields from the Refund - */ - omit?: Prisma.RefundOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.RefundInclude | null - /** - * The data needed to update a Refund. - */ - data: Prisma.XOR - /** - * Choose, which Refund to update. - */ - where: Prisma.RefundWhereUniqueInput -} - -/** - * Refund updateMany - */ -export type RefundUpdateManyArgs = { - /** - * The data used to update Refunds. - */ - data: Prisma.XOR - /** - * Filter which Refunds to update - */ - where?: Prisma.RefundWhereInput - /** - * Limit how many Refunds to update. - */ - limit?: number -} - -/** - * Refund updateManyAndReturn - */ -export type RefundUpdateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the Refund - */ - select?: Prisma.RefundSelectUpdateManyAndReturn | null - /** - * Omit specific fields from the Refund - */ - omit?: Prisma.RefundOmit | null - /** - * The data used to update Refunds. - */ - data: Prisma.XOR - /** - * Filter which Refunds to update - */ - where?: Prisma.RefundWhereInput - /** - * Limit how many Refunds to update. - */ - limit?: number - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.RefundIncludeUpdateManyAndReturn | null -} - -/** - * Refund upsert - */ -export type RefundUpsertArgs = { - /** - * Select specific fields to fetch from the Refund - */ - select?: Prisma.RefundSelect | null - /** - * Omit specific fields from the Refund - */ - omit?: Prisma.RefundOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.RefundInclude | null - /** - * The filter to search for the Refund to update in case it exists. - */ - where: Prisma.RefundWhereUniqueInput - /** - * In case the Refund found by the `where` argument doesn't exist, create a new Refund with this data. - */ - create: Prisma.XOR - /** - * In case the Refund was found with the provided `where` argument, update it with this data. - */ - update: Prisma.XOR -} - -/** - * Refund delete - */ -export type RefundDeleteArgs = { - /** - * Select specific fields to fetch from the Refund - */ - select?: Prisma.RefundSelect | null - /** - * Omit specific fields from the Refund - */ - omit?: Prisma.RefundOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.RefundInclude | null - /** - * Filter which Refund to delete. - */ - where: Prisma.RefundWhereUniqueInput -} - -/** - * Refund deleteMany - */ -export type RefundDeleteManyArgs = { - /** - * Filter which Refunds to delete - */ - where?: Prisma.RefundWhereInput - /** - * Limit how many Refunds to delete. - */ - limit?: number -} - -/** - * Refund.payment - */ -export type Refund$paymentArgs = { - /** - * Select specific fields to fetch from the Payment - */ - select?: Prisma.PaymentSelect | null - /** - * Omit specific fields from the Payment - */ - omit?: Prisma.PaymentOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.PaymentInclude | null - where?: Prisma.PaymentWhereInput -} - -/** - * Refund.reviewedBy - */ -export type Refund$reviewedByArgs = { - /** - * Select specific fields to fetch from the User - */ - select?: Prisma.UserSelect | null - /** - * Omit specific fields from the User - */ - omit?: Prisma.UserOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserInclude | null - where?: Prisma.UserWhereInput -} - -/** - * Refund without action - */ -export type RefundDefaultArgs = { - /** - * Select specific fields to fetch from the Refund - */ - select?: Prisma.RefundSelect | null - /** - * Omit specific fields from the Refund - */ - omit?: Prisma.RefundOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.RefundInclude | null -} diff --git a/app/generated/prisma/models/Trip.ts b/app/generated/prisma/models/Trip.ts deleted file mode 100644 index 8c377d1..0000000 --- a/app/generated/prisma/models/Trip.ts +++ /dev/null @@ -1,2661 +0,0 @@ - -/* !!! 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 - -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 = { - /** - * 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 = { - [P in keyof T & keyof AggregateTrip]: P extends '_count' | 'count' - ? T[P] extends true - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType -} - - - - -export type TripGroupByArgs = { - 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 = Prisma.PrismaPromise< - Array< - Prisma.PickEnumerable & - { - [P in ((keyof T) & (keyof TripGroupByOutputType))]: P extends '_count' - ? T[P] extends boolean - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType - } - > - > - - - -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 - 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 - 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[] - connectOrCreate?: Prisma.TripCreateOrConnectWithoutOrganizerInput | Prisma.TripCreateOrConnectWithoutOrganizerInput[] - createMany?: Prisma.TripCreateManyOrganizerInputEnvelope - connect?: Prisma.TripWhereUniqueInput | Prisma.TripWhereUniqueInput[] -} - -export type TripUncheckedCreateNestedManyWithoutOrganizerInput = { - create?: Prisma.XOR | 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[] - 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[] - 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 - connectOrCreate?: Prisma.TripCreateOrConnectWithoutReviewsInput - connect?: Prisma.TripWhereUniqueInput -} - -export type TripUpdateOneRequiredWithoutReviewsNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.TripCreateOrConnectWithoutReviewsInput - upsert?: Prisma.TripUpsertWithoutReviewsInput - connect?: Prisma.TripWhereUniqueInput - update?: Prisma.XOR, Prisma.TripUncheckedUpdateWithoutReviewsInput> -} - -export type TripCreateNestedOneWithoutImagesInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.TripCreateOrConnectWithoutImagesInput - connect?: Prisma.TripWhereUniqueInput -} - -export type TripUpdateOneRequiredWithoutImagesNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.TripCreateOrConnectWithoutImagesInput - upsert?: Prisma.TripUpsertWithoutImagesInput - connect?: Prisma.TripWhereUniqueInput - update?: Prisma.XOR, Prisma.TripUncheckedUpdateWithoutImagesInput> -} - -export type TripCreateNestedOneWithoutParticipantsInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.TripCreateOrConnectWithoutParticipantsInput - connect?: Prisma.TripWhereUniqueInput -} - -export type TripUpdateOneRequiredWithoutParticipantsNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.TripCreateOrConnectWithoutParticipantsInput - upsert?: Prisma.TripUpsertWithoutParticipantsInput - connect?: Prisma.TripWhereUniqueInput - update?: Prisma.XOR, Prisma.TripUncheckedUpdateWithoutParticipantsInput> -} - -export type TripCreateNestedOneWithoutBookingsInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.TripCreateOrConnectWithoutBookingsInput - connect?: Prisma.TripWhereUniqueInput -} - -export type TripUpdateOneRequiredWithoutBookingsNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.TripCreateOrConnectWithoutBookingsInput - upsert?: Prisma.TripUpsertWithoutBookingsInput - connect?: Prisma.TripWhereUniqueInput - update?: Prisma.XOR, 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 -} - -export type TripCreateManyOrganizerInputEnvelope = { - data: Prisma.TripCreateManyOrganizerInput | Prisma.TripCreateManyOrganizerInput[] - skipDuplicates?: boolean -} - -export type TripUpsertWithWhereUniqueWithoutOrganizerInput = { - where: Prisma.TripWhereUniqueInput - update: Prisma.XOR - create: Prisma.XOR -} - -export type TripUpdateWithWhereUniqueWithoutOrganizerInput = { - where: Prisma.TripWhereUniqueInput - data: Prisma.XOR -} - -export type TripUpdateManyWithWhereWithoutOrganizerInput = { - where: Prisma.TripScalarWhereInput - data: Prisma.XOR -} - -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 -} - -export type TripUpsertWithoutReviewsInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.TripWhereInput -} - -export type TripUpdateToOneWithWhereWithoutReviewsInput = { - where?: Prisma.TripWhereInput - data: Prisma.XOR -} - -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 -} - -export type TripUpsertWithoutImagesInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.TripWhereInput -} - -export type TripUpdateToOneWithWhereWithoutImagesInput = { - where?: Prisma.TripWhereInput - data: Prisma.XOR -} - -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 -} - -export type TripUpsertWithoutParticipantsInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.TripWhereInput -} - -export type TripUpdateToOneWithWhereWithoutParticipantsInput = { - where?: Prisma.TripWhereInput - data: Prisma.XOR -} - -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 -} - -export type TripUpsertWithoutBookingsInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.TripWhereInput -} - -export type TripUpdateToOneWithWhereWithoutBookingsInput = { - where?: Prisma.TripWhereInput - data: Prisma.XOR -} - -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 = { - participants?: boolean | TripCountOutputTypeCountParticipantsArgs - images?: boolean | TripCountOutputTypeCountImagesArgs - reviews?: boolean | TripCountOutputTypeCountReviewsArgs - bookings?: boolean | TripCountOutputTypeCountBookingsArgs -} - -/** - * TripCountOutputType without action - */ -export type TripCountOutputTypeDefaultArgs = { - /** - * Select specific fields to fetch from the TripCountOutputType - */ - select?: Prisma.TripCountOutputTypeSelect | null -} - -/** - * TripCountOutputType without action - */ -export type TripCountOutputTypeCountParticipantsArgs = { - where?: Prisma.TripParticipantWhereInput -} - -/** - * TripCountOutputType without action - */ -export type TripCountOutputTypeCountImagesArgs = { - where?: Prisma.TripImageWhereInput -} - -/** - * TripCountOutputType without action - */ -export type TripCountOutputTypeCountReviewsArgs = { - where?: Prisma.TripReviewWhereInput -} - -/** - * TripCountOutputType without action - */ -export type TripCountOutputTypeCountBookingsArgs = { - where?: Prisma.BookingWhereInput -} - - -export type TripSelect = 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 - participants?: boolean | Prisma.Trip$participantsArgs - images?: boolean | Prisma.Trip$imagesArgs - reviews?: boolean | Prisma.Trip$reviewsArgs - bookings?: boolean | Prisma.Trip$bookingsArgs - _count?: boolean | Prisma.TripCountOutputTypeDefaultArgs -}, ExtArgs["result"]["trip"]> - -export type TripSelectCreateManyAndReturn = 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["result"]["trip"]> - -export type TripSelectUpdateManyAndReturn = 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["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 = 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 = { - organizer?: boolean | Prisma.UserDefaultArgs - participants?: boolean | Prisma.Trip$participantsArgs - images?: boolean | Prisma.Trip$imagesArgs - reviews?: boolean | Prisma.Trip$reviewsArgs - bookings?: boolean | Prisma.Trip$bookingsArgs - _count?: boolean | Prisma.TripCountOutputTypeDefaultArgs -} -export type TripIncludeCreateManyAndReturn = { - organizer?: boolean | Prisma.UserDefaultArgs -} -export type TripIncludeUpdateManyAndReturn = { - organizer?: boolean | Prisma.UserDefaultArgs -} - -export type $TripPayload = { - name: "Trip" - objects: { - organizer: Prisma.$UserPayload - participants: Prisma.$TripParticipantPayload[] - images: Prisma.$TripImagePayload[] - reviews: Prisma.$TripReviewPayload[] - bookings: Prisma.$BookingPayload[] - } - 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 = runtime.Types.Result.GetResult - -export type TripCountArgs = - Omit & { - select?: TripCountAggregateInputType | true - } - -export interface TripDelegate { - [K: symbol]: { types: Prisma.TypeMap['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(args: Prisma.SelectSubset>): Prisma.Prisma__TripClient, 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(args: Prisma.SelectSubset>): Prisma.Prisma__TripClient, 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(args?: Prisma.SelectSubset>): Prisma.Prisma__TripClient, 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(args?: Prisma.SelectSubset>): Prisma.Prisma__TripClient, 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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, 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(args: Prisma.SelectSubset>): Prisma.Prisma__TripClient, 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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * 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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, 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(args: Prisma.SelectSubset>): Prisma.Prisma__TripClient, 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(args: Prisma.SelectSubset>): Prisma.Prisma__TripClient, 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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * 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(args: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * 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(args: Prisma.SelectSubset>): Prisma.PrismaPromise, 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(args: Prisma.SelectSubset>): Prisma.Prisma__TripClient, 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( - args?: Prisma.Subset, - ): Prisma.PrismaPromise< - T extends runtime.Types.Utils.Record<'select', any> - ? T['select'] extends true - ? number - : Prisma.GetScalarType - : number - > - - /** - * Allows you to perform aggregations operations on a 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(args: Prisma.Subset): Prisma.PrismaPromise> - - /** - * 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>, - Prisma.Extends<'take', Prisma.Keys> - >, - OrderByArg extends Prisma.True extends HasSelectOrTake - ? { orderBy: TripGroupByArgs['orderBy'] } - : { orderBy?: TripGroupByArgs['orderBy'] }, - OrderFields extends Prisma.ExcludeUnderscoreKeys>>, - ByFields extends Prisma.MaybeTupleToUnion, - ByValid extends Prisma.Has, - HavingFields extends Prisma.GetHavingFields, - HavingValid extends Prisma.Has, - ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, - InputErrors extends ByEmpty extends Prisma.True - ? `Error: "by" must not be empty.` - : HavingValid extends Prisma.False - ? { - [P in HavingFields]: P extends ByFields - ? never - : P extends string - ? `Error: Field "${P}" used in "having" needs to be provided in "by".` - : [ - Error, - 'Field ', - P, - ` in "having" needs to be provided in "by"`, - ] - }[HavingFields] - : 'take' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "take", you also need to provide "orderBy"' - : 'skip' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "skip", you also need to provide "orderBy"' - : ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetTripGroupByPayload : Prisma.PrismaPromise -/** - * 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 extends Prisma.PrismaPromise { - readonly [Symbol.toStringTag]: "PrismaPromise" - organizer = {}>(args?: Prisma.Subset>): Prisma.Prisma__UserClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> - participants = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> - images = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> - reviews = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> - bookings = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> - /** - * Attaches callbacks for the resolution and/or rejection of the Promise. - * @param onfulfilled The callback to execute when the Promise is resolved. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of which ever callback is executed. - */ - then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback for only the rejection of the Promise. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of the callback. - */ - catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The - * resolved value cannot be modified from the callback. - * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). - * @returns A Promise for the completion of the callback. - */ - finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise -} - - - - -/** - * Fields of the 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 = { - /** - * Select specific fields to fetch from the Trip - */ - select?: Prisma.TripSelect | null - /** - * Omit specific fields from the Trip - */ - omit?: Prisma.TripOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TripInclude | null - /** - * Filter, which Trip to fetch. - */ - where: Prisma.TripWhereUniqueInput -} - -/** - * Trip findUniqueOrThrow - */ -export type TripFindUniqueOrThrowArgs = { - /** - * Select specific fields to fetch from the Trip - */ - select?: Prisma.TripSelect | null - /** - * Omit specific fields from the Trip - */ - omit?: Prisma.TripOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TripInclude | null - /** - * Filter, which Trip to fetch. - */ - where: Prisma.TripWhereUniqueInput -} - -/** - * Trip findFirst - */ -export type TripFindFirstArgs = { - /** - * Select specific fields to fetch from the Trip - */ - select?: Prisma.TripSelect | null - /** - * Omit specific fields from the Trip - */ - omit?: Prisma.TripOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TripInclude | 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 = { - /** - * Select specific fields to fetch from the Trip - */ - select?: Prisma.TripSelect | null - /** - * Omit specific fields from the Trip - */ - omit?: Prisma.TripOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TripInclude | 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 = { - /** - * Select specific fields to fetch from the Trip - */ - select?: Prisma.TripSelect | null - /** - * Omit specific fields from the Trip - */ - omit?: Prisma.TripOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TripInclude | 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 = { - /** - * Select specific fields to fetch from the Trip - */ - select?: Prisma.TripSelect | null - /** - * Omit specific fields from the Trip - */ - omit?: Prisma.TripOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TripInclude | null - /** - * The data needed to create a Trip. - */ - data: Prisma.XOR -} - -/** - * Trip createMany - */ -export type TripCreateManyArgs = { - /** - * The data used to create many Trips. - */ - data: Prisma.TripCreateManyInput | Prisma.TripCreateManyInput[] - skipDuplicates?: boolean -} - -/** - * Trip createManyAndReturn - */ -export type TripCreateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the Trip - */ - select?: Prisma.TripSelectCreateManyAndReturn | null - /** - * Omit specific fields from the Trip - */ - omit?: Prisma.TripOmit | 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 | null -} - -/** - * Trip update - */ -export type TripUpdateArgs = { - /** - * Select specific fields to fetch from the Trip - */ - select?: Prisma.TripSelect | null - /** - * Omit specific fields from the Trip - */ - omit?: Prisma.TripOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TripInclude | null - /** - * The data needed to update a Trip. - */ - data: Prisma.XOR - /** - * Choose, which Trip to update. - */ - where: Prisma.TripWhereUniqueInput -} - -/** - * Trip updateMany - */ -export type TripUpdateManyArgs = { - /** - * The data used to update Trips. - */ - data: Prisma.XOR - /** - * Filter which Trips to update - */ - where?: Prisma.TripWhereInput - /** - * Limit how many Trips to update. - */ - limit?: number -} - -/** - * Trip updateManyAndReturn - */ -export type TripUpdateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the Trip - */ - select?: Prisma.TripSelectUpdateManyAndReturn | null - /** - * Omit specific fields from the Trip - */ - omit?: Prisma.TripOmit | null - /** - * The data used to update Trips. - */ - data: Prisma.XOR - /** - * 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 | null -} - -/** - * Trip upsert - */ -export type TripUpsertArgs = { - /** - * Select specific fields to fetch from the Trip - */ - select?: Prisma.TripSelect | null - /** - * Omit specific fields from the Trip - */ - omit?: Prisma.TripOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TripInclude | 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 - /** - * In case the Trip was found with the provided `where` argument, update it with this data. - */ - update: Prisma.XOR -} - -/** - * Trip delete - */ -export type TripDeleteArgs = { - /** - * Select specific fields to fetch from the Trip - */ - select?: Prisma.TripSelect | null - /** - * Omit specific fields from the Trip - */ - omit?: Prisma.TripOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TripInclude | null - /** - * Filter which Trip to delete. - */ - where: Prisma.TripWhereUniqueInput -} - -/** - * Trip deleteMany - */ -export type TripDeleteManyArgs = { - /** - * Filter which Trips to delete - */ - where?: Prisma.TripWhereInput - /** - * Limit how many Trips to delete. - */ - limit?: number -} - -/** - * Trip.participants - */ -export type Trip$participantsArgs = { - /** - * Select specific fields to fetch from the TripParticipant - */ - select?: Prisma.TripParticipantSelect | null - /** - * Omit specific fields from the TripParticipant - */ - omit?: Prisma.TripParticipantOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TripParticipantInclude | null - 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 = { - /** - * Select specific fields to fetch from the TripImage - */ - select?: Prisma.TripImageSelect | null - /** - * Omit specific fields from the TripImage - */ - omit?: Prisma.TripImageOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TripImageInclude | 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 = { - /** - * Select specific fields to fetch from the TripReview - */ - select?: Prisma.TripReviewSelect | null - /** - * Omit specific fields from the TripReview - */ - omit?: Prisma.TripReviewOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TripReviewInclude | 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 = { - /** - * Select specific fields to fetch from the Booking - */ - select?: Prisma.BookingSelect | null - /** - * Omit specific fields from the Booking - */ - omit?: Prisma.BookingOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.BookingInclude | 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 = { - /** - * Select specific fields to fetch from the Trip - */ - select?: Prisma.TripSelect | null - /** - * Omit specific fields from the Trip - */ - omit?: Prisma.TripOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TripInclude | null -} diff --git a/app/generated/prisma/models/TripImage.ts b/app/generated/prisma/models/TripImage.ts deleted file mode 100644 index c5eae7d..0000000 --- a/app/generated/prisma/models/TripImage.ts +++ /dev/null @@ -1,1389 +0,0 @@ - -/* !!! This is code generated by Prisma. Do not edit directly. !!! */ -/* eslint-disable */ -// biome-ignore-all lint: generated file -// @ts-nocheck -/* - * This file exports the `TripImage` 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 TripImage - * - */ -export type TripImageModel = runtime.Types.Result.DefaultSelection - -export type AggregateTripImage = { - _count: TripImageCountAggregateOutputType | null - _avg: TripImageAvgAggregateOutputType | null - _sum: TripImageSumAggregateOutputType | null - _min: TripImageMinAggregateOutputType | null - _max: TripImageMaxAggregateOutputType | null -} - -export type TripImageAvgAggregateOutputType = { - order: number | null -} - -export type TripImageSumAggregateOutputType = { - order: number | null -} - -export type TripImageMinAggregateOutputType = { - id: string | null - url: string | null - caption: string | null - order: number | null - tripId: string | null -} - -export type TripImageMaxAggregateOutputType = { - id: string | null - url: string | null - caption: string | null - order: number | null - tripId: string | null -} - -export type TripImageCountAggregateOutputType = { - id: number - url: number - caption: number - order: number - tripId: number - _all: number -} - - -export type TripImageAvgAggregateInputType = { - order?: true -} - -export type TripImageSumAggregateInputType = { - order?: true -} - -export type TripImageMinAggregateInputType = { - id?: true - url?: true - caption?: true - order?: true - tripId?: true -} - -export type TripImageMaxAggregateInputType = { - id?: true - url?: true - caption?: true - order?: true - tripId?: true -} - -export type TripImageCountAggregateInputType = { - id?: true - url?: true - caption?: true - order?: true - tripId?: true - _all?: true -} - -export type TripImageAggregateArgs = { - /** - * Filter which TripImage to aggregate. - */ - where?: Prisma.TripImageWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of TripImages to fetch. - */ - orderBy?: Prisma.TripImageOrderByWithRelationInput | Prisma.TripImageOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the start position - */ - cursor?: Prisma.TripImageWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` TripImages 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` TripImages. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Count returned TripImages - **/ - _count?: true | TripImageCountAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to average - **/ - _avg?: TripImageAvgAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to sum - **/ - _sum?: TripImageSumAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the minimum value - **/ - _min?: TripImageMinAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the maximum value - **/ - _max?: TripImageMaxAggregateInputType -} - -export type GetTripImageAggregateType = { - [P in keyof T & keyof AggregateTripImage]: P extends '_count' | 'count' - ? T[P] extends true - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType -} - - - - -export type TripImageGroupByArgs = { - where?: Prisma.TripImageWhereInput - orderBy?: Prisma.TripImageOrderByWithAggregationInput | Prisma.TripImageOrderByWithAggregationInput[] - by: Prisma.TripImageScalarFieldEnum[] | Prisma.TripImageScalarFieldEnum - having?: Prisma.TripImageScalarWhereWithAggregatesInput - take?: number - skip?: number - _count?: TripImageCountAggregateInputType | true - _avg?: TripImageAvgAggregateInputType - _sum?: TripImageSumAggregateInputType - _min?: TripImageMinAggregateInputType - _max?: TripImageMaxAggregateInputType -} - -export type TripImageGroupByOutputType = { - id: string - url: string - caption: string | null - order: number - tripId: string - _count: TripImageCountAggregateOutputType | null - _avg: TripImageAvgAggregateOutputType | null - _sum: TripImageSumAggregateOutputType | null - _min: TripImageMinAggregateOutputType | null - _max: TripImageMaxAggregateOutputType | null -} - -export type GetTripImageGroupByPayload = Prisma.PrismaPromise< - Array< - Prisma.PickEnumerable & - { - [P in ((keyof T) & (keyof TripImageGroupByOutputType))]: P extends '_count' - ? T[P] extends boolean - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType - } - > - > - - - -export type TripImageWhereInput = { - AND?: Prisma.TripImageWhereInput | Prisma.TripImageWhereInput[] - OR?: Prisma.TripImageWhereInput[] - NOT?: Prisma.TripImageWhereInput | Prisma.TripImageWhereInput[] - id?: Prisma.StringFilter<"TripImage"> | string - url?: Prisma.StringFilter<"TripImage"> | string - caption?: Prisma.StringNullableFilter<"TripImage"> | string | null - order?: Prisma.IntFilter<"TripImage"> | number - tripId?: Prisma.StringFilter<"TripImage"> | string - trip?: Prisma.XOR -} - -export type TripImageOrderByWithRelationInput = { - id?: Prisma.SortOrder - url?: Prisma.SortOrder - caption?: Prisma.SortOrderInput | Prisma.SortOrder - order?: Prisma.SortOrder - tripId?: Prisma.SortOrder - trip?: Prisma.TripOrderByWithRelationInput -} - -export type TripImageWhereUniqueInput = Prisma.AtLeast<{ - id?: string - AND?: Prisma.TripImageWhereInput | Prisma.TripImageWhereInput[] - OR?: Prisma.TripImageWhereInput[] - NOT?: Prisma.TripImageWhereInput | Prisma.TripImageWhereInput[] - url?: Prisma.StringFilter<"TripImage"> | string - caption?: Prisma.StringNullableFilter<"TripImage"> | string | null - order?: Prisma.IntFilter<"TripImage"> | number - tripId?: Prisma.StringFilter<"TripImage"> | string - trip?: Prisma.XOR -}, "id"> - -export type TripImageOrderByWithAggregationInput = { - id?: Prisma.SortOrder - url?: Prisma.SortOrder - caption?: Prisma.SortOrderInput | Prisma.SortOrder - order?: Prisma.SortOrder - tripId?: Prisma.SortOrder - _count?: Prisma.TripImageCountOrderByAggregateInput - _avg?: Prisma.TripImageAvgOrderByAggregateInput - _max?: Prisma.TripImageMaxOrderByAggregateInput - _min?: Prisma.TripImageMinOrderByAggregateInput - _sum?: Prisma.TripImageSumOrderByAggregateInput -} - -export type TripImageScalarWhereWithAggregatesInput = { - AND?: Prisma.TripImageScalarWhereWithAggregatesInput | Prisma.TripImageScalarWhereWithAggregatesInput[] - OR?: Prisma.TripImageScalarWhereWithAggregatesInput[] - NOT?: Prisma.TripImageScalarWhereWithAggregatesInput | Prisma.TripImageScalarWhereWithAggregatesInput[] - id?: Prisma.StringWithAggregatesFilter<"TripImage"> | string - url?: Prisma.StringWithAggregatesFilter<"TripImage"> | string - caption?: Prisma.StringNullableWithAggregatesFilter<"TripImage"> | string | null - order?: Prisma.IntWithAggregatesFilter<"TripImage"> | number - tripId?: Prisma.StringWithAggregatesFilter<"TripImage"> | string -} - -export type TripImageCreateInput = { - id?: string - url: string - caption?: string | null - order?: number - trip: Prisma.TripCreateNestedOneWithoutImagesInput -} - -export type TripImageUncheckedCreateInput = { - id?: string - url: string - caption?: string | null - order?: number - tripId: string -} - -export type TripImageUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - url?: Prisma.StringFieldUpdateOperationsInput | string - caption?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - order?: Prisma.IntFieldUpdateOperationsInput | number - trip?: Prisma.TripUpdateOneRequiredWithoutImagesNestedInput -} - -export type TripImageUncheckedUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - url?: Prisma.StringFieldUpdateOperationsInput | string - caption?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - order?: Prisma.IntFieldUpdateOperationsInput | number - tripId?: Prisma.StringFieldUpdateOperationsInput | string -} - -export type TripImageCreateManyInput = { - id?: string - url: string - caption?: string | null - order?: number - tripId: string -} - -export type TripImageUpdateManyMutationInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - url?: Prisma.StringFieldUpdateOperationsInput | string - caption?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - order?: Prisma.IntFieldUpdateOperationsInput | number -} - -export type TripImageUncheckedUpdateManyInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - url?: Prisma.StringFieldUpdateOperationsInput | string - caption?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - order?: Prisma.IntFieldUpdateOperationsInput | number - tripId?: Prisma.StringFieldUpdateOperationsInput | string -} - -export type TripImageListRelationFilter = { - every?: Prisma.TripImageWhereInput - some?: Prisma.TripImageWhereInput - none?: Prisma.TripImageWhereInput -} - -export type TripImageOrderByRelationAggregateInput = { - _count?: Prisma.SortOrder -} - -export type TripImageCountOrderByAggregateInput = { - id?: Prisma.SortOrder - url?: Prisma.SortOrder - caption?: Prisma.SortOrder - order?: Prisma.SortOrder - tripId?: Prisma.SortOrder -} - -export type TripImageAvgOrderByAggregateInput = { - order?: Prisma.SortOrder -} - -export type TripImageMaxOrderByAggregateInput = { - id?: Prisma.SortOrder - url?: Prisma.SortOrder - caption?: Prisma.SortOrder - order?: Prisma.SortOrder - tripId?: Prisma.SortOrder -} - -export type TripImageMinOrderByAggregateInput = { - id?: Prisma.SortOrder - url?: Prisma.SortOrder - caption?: Prisma.SortOrder - order?: Prisma.SortOrder - tripId?: Prisma.SortOrder -} - -export type TripImageSumOrderByAggregateInput = { - order?: Prisma.SortOrder -} - -export type TripImageCreateNestedManyWithoutTripInput = { - create?: Prisma.XOR | Prisma.TripImageCreateWithoutTripInput[] | Prisma.TripImageUncheckedCreateWithoutTripInput[] - connectOrCreate?: Prisma.TripImageCreateOrConnectWithoutTripInput | Prisma.TripImageCreateOrConnectWithoutTripInput[] - createMany?: Prisma.TripImageCreateManyTripInputEnvelope - connect?: Prisma.TripImageWhereUniqueInput | Prisma.TripImageWhereUniqueInput[] -} - -export type TripImageUncheckedCreateNestedManyWithoutTripInput = { - create?: Prisma.XOR | Prisma.TripImageCreateWithoutTripInput[] | Prisma.TripImageUncheckedCreateWithoutTripInput[] - connectOrCreate?: Prisma.TripImageCreateOrConnectWithoutTripInput | Prisma.TripImageCreateOrConnectWithoutTripInput[] - createMany?: Prisma.TripImageCreateManyTripInputEnvelope - connect?: Prisma.TripImageWhereUniqueInput | Prisma.TripImageWhereUniqueInput[] -} - -export type TripImageUpdateManyWithoutTripNestedInput = { - create?: Prisma.XOR | Prisma.TripImageCreateWithoutTripInput[] | Prisma.TripImageUncheckedCreateWithoutTripInput[] - connectOrCreate?: Prisma.TripImageCreateOrConnectWithoutTripInput | Prisma.TripImageCreateOrConnectWithoutTripInput[] - upsert?: Prisma.TripImageUpsertWithWhereUniqueWithoutTripInput | Prisma.TripImageUpsertWithWhereUniqueWithoutTripInput[] - createMany?: Prisma.TripImageCreateManyTripInputEnvelope - set?: Prisma.TripImageWhereUniqueInput | Prisma.TripImageWhereUniqueInput[] - disconnect?: Prisma.TripImageWhereUniqueInput | Prisma.TripImageWhereUniqueInput[] - delete?: Prisma.TripImageWhereUniqueInput | Prisma.TripImageWhereUniqueInput[] - connect?: Prisma.TripImageWhereUniqueInput | Prisma.TripImageWhereUniqueInput[] - update?: Prisma.TripImageUpdateWithWhereUniqueWithoutTripInput | Prisma.TripImageUpdateWithWhereUniqueWithoutTripInput[] - updateMany?: Prisma.TripImageUpdateManyWithWhereWithoutTripInput | Prisma.TripImageUpdateManyWithWhereWithoutTripInput[] - deleteMany?: Prisma.TripImageScalarWhereInput | Prisma.TripImageScalarWhereInput[] -} - -export type TripImageUncheckedUpdateManyWithoutTripNestedInput = { - create?: Prisma.XOR | Prisma.TripImageCreateWithoutTripInput[] | Prisma.TripImageUncheckedCreateWithoutTripInput[] - connectOrCreate?: Prisma.TripImageCreateOrConnectWithoutTripInput | Prisma.TripImageCreateOrConnectWithoutTripInput[] - upsert?: Prisma.TripImageUpsertWithWhereUniqueWithoutTripInput | Prisma.TripImageUpsertWithWhereUniqueWithoutTripInput[] - createMany?: Prisma.TripImageCreateManyTripInputEnvelope - set?: Prisma.TripImageWhereUniqueInput | Prisma.TripImageWhereUniqueInput[] - disconnect?: Prisma.TripImageWhereUniqueInput | Prisma.TripImageWhereUniqueInput[] - delete?: Prisma.TripImageWhereUniqueInput | Prisma.TripImageWhereUniqueInput[] - connect?: Prisma.TripImageWhereUniqueInput | Prisma.TripImageWhereUniqueInput[] - update?: Prisma.TripImageUpdateWithWhereUniqueWithoutTripInput | Prisma.TripImageUpdateWithWhereUniqueWithoutTripInput[] - updateMany?: Prisma.TripImageUpdateManyWithWhereWithoutTripInput | Prisma.TripImageUpdateManyWithWhereWithoutTripInput[] - deleteMany?: Prisma.TripImageScalarWhereInput | Prisma.TripImageScalarWhereInput[] -} - -export type TripImageCreateWithoutTripInput = { - id?: string - url: string - caption?: string | null - order?: number -} - -export type TripImageUncheckedCreateWithoutTripInput = { - id?: string - url: string - caption?: string | null - order?: number -} - -export type TripImageCreateOrConnectWithoutTripInput = { - where: Prisma.TripImageWhereUniqueInput - create: Prisma.XOR -} - -export type TripImageCreateManyTripInputEnvelope = { - data: Prisma.TripImageCreateManyTripInput | Prisma.TripImageCreateManyTripInput[] - skipDuplicates?: boolean -} - -export type TripImageUpsertWithWhereUniqueWithoutTripInput = { - where: Prisma.TripImageWhereUniqueInput - update: Prisma.XOR - create: Prisma.XOR -} - -export type TripImageUpdateWithWhereUniqueWithoutTripInput = { - where: Prisma.TripImageWhereUniqueInput - data: Prisma.XOR -} - -export type TripImageUpdateManyWithWhereWithoutTripInput = { - where: Prisma.TripImageScalarWhereInput - data: Prisma.XOR -} - -export type TripImageScalarWhereInput = { - AND?: Prisma.TripImageScalarWhereInput | Prisma.TripImageScalarWhereInput[] - OR?: Prisma.TripImageScalarWhereInput[] - NOT?: Prisma.TripImageScalarWhereInput | Prisma.TripImageScalarWhereInput[] - id?: Prisma.StringFilter<"TripImage"> | string - url?: Prisma.StringFilter<"TripImage"> | string - caption?: Prisma.StringNullableFilter<"TripImage"> | string | null - order?: Prisma.IntFilter<"TripImage"> | number - tripId?: Prisma.StringFilter<"TripImage"> | string -} - -export type TripImageCreateManyTripInput = { - id?: string - url: string - caption?: string | null - order?: number -} - -export type TripImageUpdateWithoutTripInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - url?: Prisma.StringFieldUpdateOperationsInput | string - caption?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - order?: Prisma.IntFieldUpdateOperationsInput | number -} - -export type TripImageUncheckedUpdateWithoutTripInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - url?: Prisma.StringFieldUpdateOperationsInput | string - caption?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - order?: Prisma.IntFieldUpdateOperationsInput | number -} - -export type TripImageUncheckedUpdateManyWithoutTripInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - url?: Prisma.StringFieldUpdateOperationsInput | string - caption?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - order?: Prisma.IntFieldUpdateOperationsInput | number -} - - - -export type TripImageSelect = runtime.Types.Extensions.GetSelect<{ - id?: boolean - url?: boolean - caption?: boolean - order?: boolean - tripId?: boolean - trip?: boolean | Prisma.TripDefaultArgs -}, ExtArgs["result"]["tripImage"]> - -export type TripImageSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - url?: boolean - caption?: boolean - order?: boolean - tripId?: boolean - trip?: boolean | Prisma.TripDefaultArgs -}, ExtArgs["result"]["tripImage"]> - -export type TripImageSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - url?: boolean - caption?: boolean - order?: boolean - tripId?: boolean - trip?: boolean | Prisma.TripDefaultArgs -}, ExtArgs["result"]["tripImage"]> - -export type TripImageSelectScalar = { - id?: boolean - url?: boolean - caption?: boolean - order?: boolean - tripId?: boolean -} - -export type TripImageOmit = runtime.Types.Extensions.GetOmit<"id" | "url" | "caption" | "order" | "tripId", ExtArgs["result"]["tripImage"]> -export type TripImageInclude = { - trip?: boolean | Prisma.TripDefaultArgs -} -export type TripImageIncludeCreateManyAndReturn = { - trip?: boolean | Prisma.TripDefaultArgs -} -export type TripImageIncludeUpdateManyAndReturn = { - trip?: boolean | Prisma.TripDefaultArgs -} - -export type $TripImagePayload = { - name: "TripImage" - objects: { - trip: Prisma.$TripPayload - } - scalars: runtime.Types.Extensions.GetPayloadResult<{ - id: string - url: string - caption: string | null - order: number - tripId: string - }, ExtArgs["result"]["tripImage"]> - composites: {} -} - -export type TripImageGetPayload = runtime.Types.Result.GetResult - -export type TripImageCountArgs = - Omit & { - select?: TripImageCountAggregateInputType | true - } - -export interface TripImageDelegate { - [K: symbol]: { types: Prisma.TypeMap['model']['TripImage'], meta: { name: 'TripImage' } } - /** - * Find zero or one TripImage that matches the filter. - * @param {TripImageFindUniqueArgs} args - Arguments to find a TripImage - * @example - * // Get one TripImage - * const tripImage = await prisma.tripImage.findUnique({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__TripImageClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find one TripImage that matches the filter or throw an error with `error.code='P2025'` - * if no matches were found. - * @param {TripImageFindUniqueOrThrowArgs} args - Arguments to find a TripImage - * @example - * // Get one TripImage - * const tripImage = await prisma.tripImage.findUniqueOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__TripImageClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find the first TripImage 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 {TripImageFindFirstArgs} args - Arguments to find a TripImage - * @example - * // Get one TripImage - * const tripImage = await prisma.tripImage.findFirst({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__TripImageClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find the first TripImage 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 {TripImageFindFirstOrThrowArgs} args - Arguments to find a TripImage - * @example - * // Get one TripImage - * const tripImage = await prisma.tripImage.findFirstOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__TripImageClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find zero or more TripImages 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 {TripImageFindManyArgs} args - Arguments to filter and select certain fields only. - * @example - * // Get all TripImages - * const tripImages = await prisma.tripImage.findMany() - * - * // Get first 10 TripImages - * const tripImages = await prisma.tripImage.findMany({ take: 10 }) - * - * // Only select the `id` - * const tripImageWithIdOnly = await prisma.tripImage.findMany({ select: { id: true } }) - * - */ - findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> - - /** - * Create a TripImage. - * @param {TripImageCreateArgs} args - Arguments to create a TripImage. - * @example - * // Create one TripImage - * const TripImage = await prisma.tripImage.create({ - * data: { - * // ... data to create a TripImage - * } - * }) - * - */ - create(args: Prisma.SelectSubset>): Prisma.Prisma__TripImageClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Create many TripImages. - * @param {TripImageCreateManyArgs} args - Arguments to create many TripImages. - * @example - * // Create many TripImages - * const tripImage = await prisma.tripImage.createMany({ - * data: [ - * // ... provide data here - * ] - * }) - * - */ - createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Create many TripImages and returns the data saved in the database. - * @param {TripImageCreateManyAndReturnArgs} args - Arguments to create many TripImages. - * @example - * // Create many TripImages - * const tripImage = await prisma.tripImage.createManyAndReturn({ - * data: [ - * // ... provide data here - * ] - * }) - * - * // Create many TripImages and only return the `id` - * const tripImageWithIdOnly = await prisma.tripImage.createManyAndReturn({ - * select: { id: true }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> - - /** - * Delete a TripImage. - * @param {TripImageDeleteArgs} args - Arguments to delete one TripImage. - * @example - * // Delete one TripImage - * const TripImage = await prisma.tripImage.delete({ - * where: { - * // ... filter to delete one TripImage - * } - * }) - * - */ - delete(args: Prisma.SelectSubset>): Prisma.Prisma__TripImageClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Update one TripImage. - * @param {TripImageUpdateArgs} args - Arguments to update one TripImage. - * @example - * // Update one TripImage - * const tripImage = await prisma.tripImage.update({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - update(args: Prisma.SelectSubset>): Prisma.Prisma__TripImageClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Delete zero or more TripImages. - * @param {TripImageDeleteManyArgs} args - Arguments to filter TripImages to delete. - * @example - * // Delete a few TripImages - * const { count } = await prisma.tripImage.deleteMany({ - * where: { - * // ... provide filter here - * } - * }) - * - */ - deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more TripImages. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {TripImageUpdateManyArgs} args - Arguments to update one or more rows. - * @example - * // Update many TripImages - * const tripImage = await prisma.tripImage.updateMany({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more TripImages and returns the data updated in the database. - * @param {TripImageUpdateManyAndReturnArgs} args - Arguments to update many TripImages. - * @example - * // Update many TripImages - * const tripImage = await prisma.tripImage.updateManyAndReturn({ - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * - * // Update zero or more TripImages and only return the `id` - * const tripImageWithIdOnly = await prisma.tripImage.updateManyAndReturn({ - * select: { id: true }, - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> - - /** - * Create or update one TripImage. - * @param {TripImageUpsertArgs} args - Arguments to update or create a TripImage. - * @example - * // Update or create a TripImage - * const tripImage = await prisma.tripImage.upsert({ - * create: { - * // ... data to create a TripImage - * }, - * update: { - * // ... in case it already exists, update - * }, - * where: { - * // ... the filter for the TripImage we want to update - * } - * }) - */ - upsert(args: Prisma.SelectSubset>): Prisma.Prisma__TripImageClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - - /** - * Count the number of TripImages. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {TripImageCountArgs} args - Arguments to filter TripImages to count. - * @example - * // Count the number of TripImages - * const count = await prisma.tripImage.count({ - * where: { - * // ... the filter for the TripImages we want to count - * } - * }) - **/ - count( - args?: Prisma.Subset, - ): Prisma.PrismaPromise< - T extends runtime.Types.Utils.Record<'select', any> - ? T['select'] extends true - ? number - : Prisma.GetScalarType - : number - > - - /** - * Allows you to perform aggregations operations on a TripImage. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {TripImageAggregateArgs} args - Select which aggregations you would like to apply and on what fields. - * @example - * // Ordered by age ascending - * // Where email contains prisma.io - * // Limited to the 10 users - * const aggregations = await prisma.user.aggregate({ - * _avg: { - * age: true, - * }, - * where: { - * email: { - * contains: "prisma.io", - * }, - * }, - * orderBy: { - * age: "asc", - * }, - * take: 10, - * }) - **/ - aggregate(args: Prisma.Subset): Prisma.PrismaPromise> - - /** - * Group by TripImage. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {TripImageGroupByArgs} 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 TripImageGroupByArgs, - HasSelectOrTake extends Prisma.Or< - Prisma.Extends<'skip', Prisma.Keys>, - Prisma.Extends<'take', Prisma.Keys> - >, - OrderByArg extends Prisma.True extends HasSelectOrTake - ? { orderBy: TripImageGroupByArgs['orderBy'] } - : { orderBy?: TripImageGroupByArgs['orderBy'] }, - OrderFields extends Prisma.ExcludeUnderscoreKeys>>, - ByFields extends Prisma.MaybeTupleToUnion, - ByValid extends Prisma.Has, - HavingFields extends Prisma.GetHavingFields, - HavingValid extends Prisma.Has, - ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, - InputErrors extends ByEmpty extends Prisma.True - ? `Error: "by" must not be empty.` - : HavingValid extends Prisma.False - ? { - [P in HavingFields]: P extends ByFields - ? never - : P extends string - ? `Error: Field "${P}" used in "having" needs to be provided in "by".` - : [ - Error, - 'Field ', - P, - ` in "having" needs to be provided in "by"`, - ] - }[HavingFields] - : 'take' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "take", you also need to provide "orderBy"' - : 'skip' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "skip", you also need to provide "orderBy"' - : ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetTripImageGroupByPayload : Prisma.PrismaPromise -/** - * Fields of the TripImage model - */ -readonly fields: TripImageFieldRefs; -} - -/** - * The delegate class that acts as a "Promise-like" for TripImage. - * 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__TripImageClient extends Prisma.PrismaPromise { - readonly [Symbol.toStringTag]: "PrismaPromise" - trip = {}>(args?: Prisma.Subset>): Prisma.Prisma__TripClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> - /** - * Attaches callbacks for the resolution and/or rejection of the Promise. - * @param onfulfilled The callback to execute when the Promise is resolved. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of which ever callback is executed. - */ - then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback for only the rejection of the Promise. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of the callback. - */ - catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The - * resolved value cannot be modified from the callback. - * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). - * @returns A Promise for the completion of the callback. - */ - finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise -} - - - - -/** - * Fields of the TripImage model - */ -export interface TripImageFieldRefs { - readonly id: Prisma.FieldRef<"TripImage", 'String'> - readonly url: Prisma.FieldRef<"TripImage", 'String'> - readonly caption: Prisma.FieldRef<"TripImage", 'String'> - readonly order: Prisma.FieldRef<"TripImage", 'Int'> - readonly tripId: Prisma.FieldRef<"TripImage", 'String'> -} - - -// Custom InputTypes -/** - * TripImage findUnique - */ -export type TripImageFindUniqueArgs = { - /** - * Select specific fields to fetch from the TripImage - */ - select?: Prisma.TripImageSelect | null - /** - * Omit specific fields from the TripImage - */ - omit?: Prisma.TripImageOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TripImageInclude | null - /** - * Filter, which TripImage to fetch. - */ - where: Prisma.TripImageWhereUniqueInput -} - -/** - * TripImage findUniqueOrThrow - */ -export type TripImageFindUniqueOrThrowArgs = { - /** - * Select specific fields to fetch from the TripImage - */ - select?: Prisma.TripImageSelect | null - /** - * Omit specific fields from the TripImage - */ - omit?: Prisma.TripImageOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TripImageInclude | null - /** - * Filter, which TripImage to fetch. - */ - where: Prisma.TripImageWhereUniqueInput -} - -/** - * TripImage findFirst - */ -export type TripImageFindFirstArgs = { - /** - * Select specific fields to fetch from the TripImage - */ - select?: Prisma.TripImageSelect | null - /** - * Omit specific fields from the TripImage - */ - omit?: Prisma.TripImageOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TripImageInclude | null - /** - * Filter, which TripImage to fetch. - */ - where?: Prisma.TripImageWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of TripImages to fetch. - */ - orderBy?: Prisma.TripImageOrderByWithRelationInput | Prisma.TripImageOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for TripImages. - */ - cursor?: Prisma.TripImageWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` TripImages 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` TripImages. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of TripImages. - */ - distinct?: Prisma.TripImageScalarFieldEnum | Prisma.TripImageScalarFieldEnum[] -} - -/** - * TripImage findFirstOrThrow - */ -export type TripImageFindFirstOrThrowArgs = { - /** - * Select specific fields to fetch from the TripImage - */ - select?: Prisma.TripImageSelect | null - /** - * Omit specific fields from the TripImage - */ - omit?: Prisma.TripImageOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TripImageInclude | null - /** - * Filter, which TripImage to fetch. - */ - where?: Prisma.TripImageWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of TripImages to fetch. - */ - orderBy?: Prisma.TripImageOrderByWithRelationInput | Prisma.TripImageOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for TripImages. - */ - cursor?: Prisma.TripImageWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` TripImages 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` TripImages. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of TripImages. - */ - distinct?: Prisma.TripImageScalarFieldEnum | Prisma.TripImageScalarFieldEnum[] -} - -/** - * TripImage findMany - */ -export type TripImageFindManyArgs = { - /** - * Select specific fields to fetch from the TripImage - */ - select?: Prisma.TripImageSelect | null - /** - * Omit specific fields from the TripImage - */ - omit?: Prisma.TripImageOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TripImageInclude | null - /** - * Filter, which TripImages to fetch. - */ - where?: Prisma.TripImageWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of TripImages to fetch. - */ - orderBy?: Prisma.TripImageOrderByWithRelationInput | Prisma.TripImageOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for listing TripImages. - */ - cursor?: Prisma.TripImageWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` TripImages 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` TripImages. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of TripImages. - */ - distinct?: Prisma.TripImageScalarFieldEnum | Prisma.TripImageScalarFieldEnum[] -} - -/** - * TripImage create - */ -export type TripImageCreateArgs = { - /** - * Select specific fields to fetch from the TripImage - */ - select?: Prisma.TripImageSelect | null - /** - * Omit specific fields from the TripImage - */ - omit?: Prisma.TripImageOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TripImageInclude | null - /** - * The data needed to create a TripImage. - */ - data: Prisma.XOR -} - -/** - * TripImage createMany - */ -export type TripImageCreateManyArgs = { - /** - * The data used to create many TripImages. - */ - data: Prisma.TripImageCreateManyInput | Prisma.TripImageCreateManyInput[] - skipDuplicates?: boolean -} - -/** - * TripImage createManyAndReturn - */ -export type TripImageCreateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the TripImage - */ - select?: Prisma.TripImageSelectCreateManyAndReturn | null - /** - * Omit specific fields from the TripImage - */ - omit?: Prisma.TripImageOmit | null - /** - * The data used to create many TripImages. - */ - data: Prisma.TripImageCreateManyInput | Prisma.TripImageCreateManyInput[] - skipDuplicates?: boolean - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TripImageIncludeCreateManyAndReturn | null -} - -/** - * TripImage update - */ -export type TripImageUpdateArgs = { - /** - * Select specific fields to fetch from the TripImage - */ - select?: Prisma.TripImageSelect | null - /** - * Omit specific fields from the TripImage - */ - omit?: Prisma.TripImageOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TripImageInclude | null - /** - * The data needed to update a TripImage. - */ - data: Prisma.XOR - /** - * Choose, which TripImage to update. - */ - where: Prisma.TripImageWhereUniqueInput -} - -/** - * TripImage updateMany - */ -export type TripImageUpdateManyArgs = { - /** - * The data used to update TripImages. - */ - data: Prisma.XOR - /** - * Filter which TripImages to update - */ - where?: Prisma.TripImageWhereInput - /** - * Limit how many TripImages to update. - */ - limit?: number -} - -/** - * TripImage updateManyAndReturn - */ -export type TripImageUpdateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the TripImage - */ - select?: Prisma.TripImageSelectUpdateManyAndReturn | null - /** - * Omit specific fields from the TripImage - */ - omit?: Prisma.TripImageOmit | null - /** - * The data used to update TripImages. - */ - data: Prisma.XOR - /** - * Filter which TripImages to update - */ - where?: Prisma.TripImageWhereInput - /** - * Limit how many TripImages to update. - */ - limit?: number - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TripImageIncludeUpdateManyAndReturn | null -} - -/** - * TripImage upsert - */ -export type TripImageUpsertArgs = { - /** - * Select specific fields to fetch from the TripImage - */ - select?: Prisma.TripImageSelect | null - /** - * Omit specific fields from the TripImage - */ - omit?: Prisma.TripImageOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TripImageInclude | null - /** - * The filter to search for the TripImage to update in case it exists. - */ - where: Prisma.TripImageWhereUniqueInput - /** - * In case the TripImage found by the `where` argument doesn't exist, create a new TripImage with this data. - */ - create: Prisma.XOR - /** - * In case the TripImage was found with the provided `where` argument, update it with this data. - */ - update: Prisma.XOR -} - -/** - * TripImage delete - */ -export type TripImageDeleteArgs = { - /** - * Select specific fields to fetch from the TripImage - */ - select?: Prisma.TripImageSelect | null - /** - * Omit specific fields from the TripImage - */ - omit?: Prisma.TripImageOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TripImageInclude | null - /** - * Filter which TripImage to delete. - */ - where: Prisma.TripImageWhereUniqueInput -} - -/** - * TripImage deleteMany - */ -export type TripImageDeleteManyArgs = { - /** - * Filter which TripImages to delete - */ - where?: Prisma.TripImageWhereInput - /** - * Limit how many TripImages to delete. - */ - limit?: number -} - -/** - * TripImage without action - */ -export type TripImageDefaultArgs = { - /** - * Select specific fields to fetch from the TripImage - */ - select?: Prisma.TripImageSelect | null - /** - * Omit specific fields from the TripImage - */ - omit?: Prisma.TripImageOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TripImageInclude | null -} diff --git a/app/generated/prisma/models/TripParticipant.ts b/app/generated/prisma/models/TripParticipant.ts deleted file mode 100644 index 4f8f58c..0000000 --- a/app/generated/prisma/models/TripParticipant.ts +++ /dev/null @@ -1,1678 +0,0 @@ - -/* !!! This is code generated by Prisma. Do not edit directly. !!! */ -/* eslint-disable */ -// biome-ignore-all lint: generated file -// @ts-nocheck -/* - * This file exports the `TripParticipant` model and its related types. - * - * 🟢 You can import this file directly. - */ -import type * as runtime from "@prisma/client/runtime/client" -import type * as $Enums from "../enums" -import type * as Prisma from "../internal/prismaNamespace" - -/** - * Model TripParticipant - * - */ -export type TripParticipantModel = runtime.Types.Result.DefaultSelection - -export type AggregateTripParticipant = { - _count: TripParticipantCountAggregateOutputType | null - _min: TripParticipantMinAggregateOutputType | null - _max: TripParticipantMaxAggregateOutputType | null -} - -export type TripParticipantMinAggregateOutputType = { - id: string | null - status: $Enums.ParticipantStatus | null - createdAt: Date | null - markedPaidAt: Date | null - paymentConfirmedAt: Date | null - tripId: string | null - userId: string | null -} - -export type TripParticipantMaxAggregateOutputType = { - id: string | null - status: $Enums.ParticipantStatus | null - createdAt: Date | null - markedPaidAt: Date | null - paymentConfirmedAt: Date | null - tripId: string | null - userId: string | null -} - -export type TripParticipantCountAggregateOutputType = { - id: number - status: number - createdAt: number - markedPaidAt: number - paymentConfirmedAt: number - tripId: number - userId: number - _all: number -} - - -export type TripParticipantMinAggregateInputType = { - id?: true - status?: true - createdAt?: true - markedPaidAt?: true - paymentConfirmedAt?: true - tripId?: true - userId?: true -} - -export type TripParticipantMaxAggregateInputType = { - id?: true - status?: true - createdAt?: true - markedPaidAt?: true - paymentConfirmedAt?: true - tripId?: true - userId?: true -} - -export type TripParticipantCountAggregateInputType = { - id?: true - status?: true - createdAt?: true - markedPaidAt?: true - paymentConfirmedAt?: true - tripId?: true - userId?: true - _all?: true -} - -export type TripParticipantAggregateArgs = { - /** - * Filter which TripParticipant to aggregate. - */ - where?: Prisma.TripParticipantWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of TripParticipants to fetch. - */ - orderBy?: Prisma.TripParticipantOrderByWithRelationInput | Prisma.TripParticipantOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the start position - */ - cursor?: Prisma.TripParticipantWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` TripParticipants from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` TripParticipants. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Count returned TripParticipants - **/ - _count?: true | TripParticipantCountAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the minimum value - **/ - _min?: TripParticipantMinAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the maximum value - **/ - _max?: TripParticipantMaxAggregateInputType -} - -export type GetTripParticipantAggregateType = { - [P in keyof T & keyof AggregateTripParticipant]: P extends '_count' | 'count' - ? T[P] extends true - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType -} - - - - -export type TripParticipantGroupByArgs = { - where?: Prisma.TripParticipantWhereInput - orderBy?: Prisma.TripParticipantOrderByWithAggregationInput | Prisma.TripParticipantOrderByWithAggregationInput[] - by: Prisma.TripParticipantScalarFieldEnum[] | Prisma.TripParticipantScalarFieldEnum - having?: Prisma.TripParticipantScalarWhereWithAggregatesInput - take?: number - skip?: number - _count?: TripParticipantCountAggregateInputType | true - _min?: TripParticipantMinAggregateInputType - _max?: TripParticipantMaxAggregateInputType -} - -export type TripParticipantGroupByOutputType = { - id: string - status: $Enums.ParticipantStatus - createdAt: Date - markedPaidAt: Date | null - paymentConfirmedAt: Date | null - tripId: string - userId: string - _count: TripParticipantCountAggregateOutputType | null - _min: TripParticipantMinAggregateOutputType | null - _max: TripParticipantMaxAggregateOutputType | null -} - -export type GetTripParticipantGroupByPayload = Prisma.PrismaPromise< - Array< - Prisma.PickEnumerable & - { - [P in ((keyof T) & (keyof TripParticipantGroupByOutputType))]: P extends '_count' - ? T[P] extends boolean - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType - } - > - > - - - -export type TripParticipantWhereInput = { - AND?: Prisma.TripParticipantWhereInput | Prisma.TripParticipantWhereInput[] - OR?: Prisma.TripParticipantWhereInput[] - NOT?: Prisma.TripParticipantWhereInput | Prisma.TripParticipantWhereInput[] - id?: Prisma.StringFilter<"TripParticipant"> | string - status?: Prisma.EnumParticipantStatusFilter<"TripParticipant"> | $Enums.ParticipantStatus - createdAt?: Prisma.DateTimeFilter<"TripParticipant"> | Date | string - markedPaidAt?: Prisma.DateTimeNullableFilter<"TripParticipant"> | Date | string | null - paymentConfirmedAt?: Prisma.DateTimeNullableFilter<"TripParticipant"> | Date | string | null - tripId?: Prisma.StringFilter<"TripParticipant"> | string - userId?: Prisma.StringFilter<"TripParticipant"> | string - trip?: Prisma.XOR - user?: Prisma.XOR - booking?: Prisma.XOR | null -} - -export type TripParticipantOrderByWithRelationInput = { - id?: Prisma.SortOrder - status?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - markedPaidAt?: Prisma.SortOrderInput | Prisma.SortOrder - paymentConfirmedAt?: Prisma.SortOrderInput | Prisma.SortOrder - tripId?: Prisma.SortOrder - userId?: Prisma.SortOrder - trip?: Prisma.TripOrderByWithRelationInput - user?: Prisma.UserOrderByWithRelationInput - booking?: Prisma.BookingOrderByWithRelationInput -} - -export type TripParticipantWhereUniqueInput = Prisma.AtLeast<{ - id?: string - tripId_userId?: Prisma.TripParticipantTripIdUserIdCompoundUniqueInput - AND?: Prisma.TripParticipantWhereInput | Prisma.TripParticipantWhereInput[] - OR?: Prisma.TripParticipantWhereInput[] - NOT?: Prisma.TripParticipantWhereInput | Prisma.TripParticipantWhereInput[] - status?: Prisma.EnumParticipantStatusFilter<"TripParticipant"> | $Enums.ParticipantStatus - createdAt?: Prisma.DateTimeFilter<"TripParticipant"> | Date | string - markedPaidAt?: Prisma.DateTimeNullableFilter<"TripParticipant"> | Date | string | null - paymentConfirmedAt?: Prisma.DateTimeNullableFilter<"TripParticipant"> | Date | string | null - tripId?: Prisma.StringFilter<"TripParticipant"> | string - userId?: Prisma.StringFilter<"TripParticipant"> | string - trip?: Prisma.XOR - user?: Prisma.XOR - booking?: Prisma.XOR | null -}, "id" | "tripId_userId"> - -export type TripParticipantOrderByWithAggregationInput = { - id?: Prisma.SortOrder - status?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - markedPaidAt?: Prisma.SortOrderInput | Prisma.SortOrder - paymentConfirmedAt?: Prisma.SortOrderInput | Prisma.SortOrder - tripId?: Prisma.SortOrder - userId?: Prisma.SortOrder - _count?: Prisma.TripParticipantCountOrderByAggregateInput - _max?: Prisma.TripParticipantMaxOrderByAggregateInput - _min?: Prisma.TripParticipantMinOrderByAggregateInput -} - -export type TripParticipantScalarWhereWithAggregatesInput = { - AND?: Prisma.TripParticipantScalarWhereWithAggregatesInput | Prisma.TripParticipantScalarWhereWithAggregatesInput[] - OR?: Prisma.TripParticipantScalarWhereWithAggregatesInput[] - NOT?: Prisma.TripParticipantScalarWhereWithAggregatesInput | Prisma.TripParticipantScalarWhereWithAggregatesInput[] - id?: Prisma.StringWithAggregatesFilter<"TripParticipant"> | string - status?: Prisma.EnumParticipantStatusWithAggregatesFilter<"TripParticipant"> | $Enums.ParticipantStatus - createdAt?: Prisma.DateTimeWithAggregatesFilter<"TripParticipant"> | Date | string - markedPaidAt?: Prisma.DateTimeNullableWithAggregatesFilter<"TripParticipant"> | Date | string | null - paymentConfirmedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"TripParticipant"> | Date | string | null - tripId?: Prisma.StringWithAggregatesFilter<"TripParticipant"> | string - userId?: Prisma.StringWithAggregatesFilter<"TripParticipant"> | string -} - -export type TripParticipantCreateInput = { - id?: string - status?: $Enums.ParticipantStatus - createdAt?: Date | string - markedPaidAt?: Date | string | null - paymentConfirmedAt?: Date | string | null - trip: Prisma.TripCreateNestedOneWithoutParticipantsInput - user: Prisma.UserCreateNestedOneWithoutParticipationsInput - booking?: Prisma.BookingCreateNestedOneWithoutParticipantInput -} - -export type TripParticipantUncheckedCreateInput = { - id?: string - status?: $Enums.ParticipantStatus - createdAt?: Date | string - markedPaidAt?: Date | string | null - paymentConfirmedAt?: Date | string | null - tripId: string - userId: string - booking?: Prisma.BookingUncheckedCreateNestedOneWithoutParticipantInput -} - -export type TripParticipantUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - status?: Prisma.EnumParticipantStatusFieldUpdateOperationsInput | $Enums.ParticipantStatus - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - markedPaidAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - paymentConfirmedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - trip?: Prisma.TripUpdateOneRequiredWithoutParticipantsNestedInput - user?: Prisma.UserUpdateOneRequiredWithoutParticipationsNestedInput - booking?: Prisma.BookingUpdateOneWithoutParticipantNestedInput -} - -export type TripParticipantUncheckedUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - status?: Prisma.EnumParticipantStatusFieldUpdateOperationsInput | $Enums.ParticipantStatus - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - markedPaidAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - paymentConfirmedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - tripId?: Prisma.StringFieldUpdateOperationsInput | string - userId?: Prisma.StringFieldUpdateOperationsInput | string - booking?: Prisma.BookingUncheckedUpdateOneWithoutParticipantNestedInput -} - -export type TripParticipantCreateManyInput = { - id?: string - status?: $Enums.ParticipantStatus - createdAt?: Date | string - markedPaidAt?: Date | string | null - paymentConfirmedAt?: Date | string | null - tripId: string - userId: string -} - -export type TripParticipantUpdateManyMutationInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - status?: Prisma.EnumParticipantStatusFieldUpdateOperationsInput | $Enums.ParticipantStatus - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - markedPaidAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - paymentConfirmedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null -} - -export type TripParticipantUncheckedUpdateManyInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - status?: Prisma.EnumParticipantStatusFieldUpdateOperationsInput | $Enums.ParticipantStatus - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - markedPaidAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - paymentConfirmedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - tripId?: Prisma.StringFieldUpdateOperationsInput | string - userId?: Prisma.StringFieldUpdateOperationsInput | string -} - -export type TripParticipantListRelationFilter = { - every?: Prisma.TripParticipantWhereInput - some?: Prisma.TripParticipantWhereInput - none?: Prisma.TripParticipantWhereInput -} - -export type TripParticipantOrderByRelationAggregateInput = { - _count?: Prisma.SortOrder -} - -export type TripParticipantTripIdUserIdCompoundUniqueInput = { - tripId: string - userId: string -} - -export type TripParticipantCountOrderByAggregateInput = { - id?: Prisma.SortOrder - status?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - markedPaidAt?: Prisma.SortOrder - paymentConfirmedAt?: Prisma.SortOrder - tripId?: Prisma.SortOrder - userId?: Prisma.SortOrder -} - -export type TripParticipantMaxOrderByAggregateInput = { - id?: Prisma.SortOrder - status?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - markedPaidAt?: Prisma.SortOrder - paymentConfirmedAt?: Prisma.SortOrder - tripId?: Prisma.SortOrder - userId?: Prisma.SortOrder -} - -export type TripParticipantMinOrderByAggregateInput = { - id?: Prisma.SortOrder - status?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - markedPaidAt?: Prisma.SortOrder - paymentConfirmedAt?: Prisma.SortOrder - tripId?: Prisma.SortOrder - userId?: Prisma.SortOrder -} - -export type TripParticipantScalarRelationFilter = { - is?: Prisma.TripParticipantWhereInput - isNot?: Prisma.TripParticipantWhereInput -} - -export type TripParticipantCreateNestedManyWithoutUserInput = { - create?: Prisma.XOR | Prisma.TripParticipantCreateWithoutUserInput[] | Prisma.TripParticipantUncheckedCreateWithoutUserInput[] - connectOrCreate?: Prisma.TripParticipantCreateOrConnectWithoutUserInput | Prisma.TripParticipantCreateOrConnectWithoutUserInput[] - createMany?: Prisma.TripParticipantCreateManyUserInputEnvelope - connect?: Prisma.TripParticipantWhereUniqueInput | Prisma.TripParticipantWhereUniqueInput[] -} - -export type TripParticipantUncheckedCreateNestedManyWithoutUserInput = { - create?: Prisma.XOR | Prisma.TripParticipantCreateWithoutUserInput[] | Prisma.TripParticipantUncheckedCreateWithoutUserInput[] - connectOrCreate?: Prisma.TripParticipantCreateOrConnectWithoutUserInput | Prisma.TripParticipantCreateOrConnectWithoutUserInput[] - createMany?: Prisma.TripParticipantCreateManyUserInputEnvelope - connect?: Prisma.TripParticipantWhereUniqueInput | Prisma.TripParticipantWhereUniqueInput[] -} - -export type TripParticipantUpdateManyWithoutUserNestedInput = { - create?: Prisma.XOR | Prisma.TripParticipantCreateWithoutUserInput[] | Prisma.TripParticipantUncheckedCreateWithoutUserInput[] - connectOrCreate?: Prisma.TripParticipantCreateOrConnectWithoutUserInput | Prisma.TripParticipantCreateOrConnectWithoutUserInput[] - upsert?: Prisma.TripParticipantUpsertWithWhereUniqueWithoutUserInput | Prisma.TripParticipantUpsertWithWhereUniqueWithoutUserInput[] - createMany?: Prisma.TripParticipantCreateManyUserInputEnvelope - set?: Prisma.TripParticipantWhereUniqueInput | Prisma.TripParticipantWhereUniqueInput[] - disconnect?: Prisma.TripParticipantWhereUniqueInput | Prisma.TripParticipantWhereUniqueInput[] - delete?: Prisma.TripParticipantWhereUniqueInput | Prisma.TripParticipantWhereUniqueInput[] - connect?: Prisma.TripParticipantWhereUniqueInput | Prisma.TripParticipantWhereUniqueInput[] - update?: Prisma.TripParticipantUpdateWithWhereUniqueWithoutUserInput | Prisma.TripParticipantUpdateWithWhereUniqueWithoutUserInput[] - updateMany?: Prisma.TripParticipantUpdateManyWithWhereWithoutUserInput | Prisma.TripParticipantUpdateManyWithWhereWithoutUserInput[] - deleteMany?: Prisma.TripParticipantScalarWhereInput | Prisma.TripParticipantScalarWhereInput[] -} - -export type TripParticipantUncheckedUpdateManyWithoutUserNestedInput = { - create?: Prisma.XOR | Prisma.TripParticipantCreateWithoutUserInput[] | Prisma.TripParticipantUncheckedCreateWithoutUserInput[] - connectOrCreate?: Prisma.TripParticipantCreateOrConnectWithoutUserInput | Prisma.TripParticipantCreateOrConnectWithoutUserInput[] - upsert?: Prisma.TripParticipantUpsertWithWhereUniqueWithoutUserInput | Prisma.TripParticipantUpsertWithWhereUniqueWithoutUserInput[] - createMany?: Prisma.TripParticipantCreateManyUserInputEnvelope - set?: Prisma.TripParticipantWhereUniqueInput | Prisma.TripParticipantWhereUniqueInput[] - disconnect?: Prisma.TripParticipantWhereUniqueInput | Prisma.TripParticipantWhereUniqueInput[] - delete?: Prisma.TripParticipantWhereUniqueInput | Prisma.TripParticipantWhereUniqueInput[] - connect?: Prisma.TripParticipantWhereUniqueInput | Prisma.TripParticipantWhereUniqueInput[] - update?: Prisma.TripParticipantUpdateWithWhereUniqueWithoutUserInput | Prisma.TripParticipantUpdateWithWhereUniqueWithoutUserInput[] - updateMany?: Prisma.TripParticipantUpdateManyWithWhereWithoutUserInput | Prisma.TripParticipantUpdateManyWithWhereWithoutUserInput[] - deleteMany?: Prisma.TripParticipantScalarWhereInput | Prisma.TripParticipantScalarWhereInput[] -} - -export type TripParticipantCreateNestedManyWithoutTripInput = { - create?: Prisma.XOR | Prisma.TripParticipantCreateWithoutTripInput[] | Prisma.TripParticipantUncheckedCreateWithoutTripInput[] - connectOrCreate?: Prisma.TripParticipantCreateOrConnectWithoutTripInput | Prisma.TripParticipantCreateOrConnectWithoutTripInput[] - createMany?: Prisma.TripParticipantCreateManyTripInputEnvelope - connect?: Prisma.TripParticipantWhereUniqueInput | Prisma.TripParticipantWhereUniqueInput[] -} - -export type TripParticipantUncheckedCreateNestedManyWithoutTripInput = { - create?: Prisma.XOR | Prisma.TripParticipantCreateWithoutTripInput[] | Prisma.TripParticipantUncheckedCreateWithoutTripInput[] - connectOrCreate?: Prisma.TripParticipantCreateOrConnectWithoutTripInput | Prisma.TripParticipantCreateOrConnectWithoutTripInput[] - createMany?: Prisma.TripParticipantCreateManyTripInputEnvelope - connect?: Prisma.TripParticipantWhereUniqueInput | Prisma.TripParticipantWhereUniqueInput[] -} - -export type TripParticipantUpdateManyWithoutTripNestedInput = { - create?: Prisma.XOR | Prisma.TripParticipantCreateWithoutTripInput[] | Prisma.TripParticipantUncheckedCreateWithoutTripInput[] - connectOrCreate?: Prisma.TripParticipantCreateOrConnectWithoutTripInput | Prisma.TripParticipantCreateOrConnectWithoutTripInput[] - upsert?: Prisma.TripParticipantUpsertWithWhereUniqueWithoutTripInput | Prisma.TripParticipantUpsertWithWhereUniqueWithoutTripInput[] - createMany?: Prisma.TripParticipantCreateManyTripInputEnvelope - set?: Prisma.TripParticipantWhereUniqueInput | Prisma.TripParticipantWhereUniqueInput[] - disconnect?: Prisma.TripParticipantWhereUniqueInput | Prisma.TripParticipantWhereUniqueInput[] - delete?: Prisma.TripParticipantWhereUniqueInput | Prisma.TripParticipantWhereUniqueInput[] - connect?: Prisma.TripParticipantWhereUniqueInput | Prisma.TripParticipantWhereUniqueInput[] - update?: Prisma.TripParticipantUpdateWithWhereUniqueWithoutTripInput | Prisma.TripParticipantUpdateWithWhereUniqueWithoutTripInput[] - updateMany?: Prisma.TripParticipantUpdateManyWithWhereWithoutTripInput | Prisma.TripParticipantUpdateManyWithWhereWithoutTripInput[] - deleteMany?: Prisma.TripParticipantScalarWhereInput | Prisma.TripParticipantScalarWhereInput[] -} - -export type TripParticipantUncheckedUpdateManyWithoutTripNestedInput = { - create?: Prisma.XOR | Prisma.TripParticipantCreateWithoutTripInput[] | Prisma.TripParticipantUncheckedCreateWithoutTripInput[] - connectOrCreate?: Prisma.TripParticipantCreateOrConnectWithoutTripInput | Prisma.TripParticipantCreateOrConnectWithoutTripInput[] - upsert?: Prisma.TripParticipantUpsertWithWhereUniqueWithoutTripInput | Prisma.TripParticipantUpsertWithWhereUniqueWithoutTripInput[] - createMany?: Prisma.TripParticipantCreateManyTripInputEnvelope - set?: Prisma.TripParticipantWhereUniqueInput | Prisma.TripParticipantWhereUniqueInput[] - disconnect?: Prisma.TripParticipantWhereUniqueInput | Prisma.TripParticipantWhereUniqueInput[] - delete?: Prisma.TripParticipantWhereUniqueInput | Prisma.TripParticipantWhereUniqueInput[] - connect?: Prisma.TripParticipantWhereUniqueInput | Prisma.TripParticipantWhereUniqueInput[] - update?: Prisma.TripParticipantUpdateWithWhereUniqueWithoutTripInput | Prisma.TripParticipantUpdateWithWhereUniqueWithoutTripInput[] - updateMany?: Prisma.TripParticipantUpdateManyWithWhereWithoutTripInput | Prisma.TripParticipantUpdateManyWithWhereWithoutTripInput[] - deleteMany?: Prisma.TripParticipantScalarWhereInput | Prisma.TripParticipantScalarWhereInput[] -} - -export type EnumParticipantStatusFieldUpdateOperationsInput = { - set?: $Enums.ParticipantStatus -} - -export type TripParticipantCreateNestedOneWithoutBookingInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.TripParticipantCreateOrConnectWithoutBookingInput - connect?: Prisma.TripParticipantWhereUniqueInput -} - -export type TripParticipantUpdateOneRequiredWithoutBookingNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.TripParticipantCreateOrConnectWithoutBookingInput - upsert?: Prisma.TripParticipantUpsertWithoutBookingInput - connect?: Prisma.TripParticipantWhereUniqueInput - update?: Prisma.XOR, Prisma.TripParticipantUncheckedUpdateWithoutBookingInput> -} - -export type TripParticipantCreateWithoutUserInput = { - id?: string - status?: $Enums.ParticipantStatus - createdAt?: Date | string - markedPaidAt?: Date | string | null - paymentConfirmedAt?: Date | string | null - trip: Prisma.TripCreateNestedOneWithoutParticipantsInput - booking?: Prisma.BookingCreateNestedOneWithoutParticipantInput -} - -export type TripParticipantUncheckedCreateWithoutUserInput = { - id?: string - status?: $Enums.ParticipantStatus - createdAt?: Date | string - markedPaidAt?: Date | string | null - paymentConfirmedAt?: Date | string | null - tripId: string - booking?: Prisma.BookingUncheckedCreateNestedOneWithoutParticipantInput -} - -export type TripParticipantCreateOrConnectWithoutUserInput = { - where: Prisma.TripParticipantWhereUniqueInput - create: Prisma.XOR -} - -export type TripParticipantCreateManyUserInputEnvelope = { - data: Prisma.TripParticipantCreateManyUserInput | Prisma.TripParticipantCreateManyUserInput[] - skipDuplicates?: boolean -} - -export type TripParticipantUpsertWithWhereUniqueWithoutUserInput = { - where: Prisma.TripParticipantWhereUniqueInput - update: Prisma.XOR - create: Prisma.XOR -} - -export type TripParticipantUpdateWithWhereUniqueWithoutUserInput = { - where: Prisma.TripParticipantWhereUniqueInput - data: Prisma.XOR -} - -export type TripParticipantUpdateManyWithWhereWithoutUserInput = { - where: Prisma.TripParticipantScalarWhereInput - data: Prisma.XOR -} - -export type TripParticipantScalarWhereInput = { - AND?: Prisma.TripParticipantScalarWhereInput | Prisma.TripParticipantScalarWhereInput[] - OR?: Prisma.TripParticipantScalarWhereInput[] - NOT?: Prisma.TripParticipantScalarWhereInput | Prisma.TripParticipantScalarWhereInput[] - id?: Prisma.StringFilter<"TripParticipant"> | string - status?: Prisma.EnumParticipantStatusFilter<"TripParticipant"> | $Enums.ParticipantStatus - createdAt?: Prisma.DateTimeFilter<"TripParticipant"> | Date | string - markedPaidAt?: Prisma.DateTimeNullableFilter<"TripParticipant"> | Date | string | null - paymentConfirmedAt?: Prisma.DateTimeNullableFilter<"TripParticipant"> | Date | string | null - tripId?: Prisma.StringFilter<"TripParticipant"> | string - userId?: Prisma.StringFilter<"TripParticipant"> | string -} - -export type TripParticipantCreateWithoutTripInput = { - id?: string - status?: $Enums.ParticipantStatus - createdAt?: Date | string - markedPaidAt?: Date | string | null - paymentConfirmedAt?: Date | string | null - user: Prisma.UserCreateNestedOneWithoutParticipationsInput - booking?: Prisma.BookingCreateNestedOneWithoutParticipantInput -} - -export type TripParticipantUncheckedCreateWithoutTripInput = { - id?: string - status?: $Enums.ParticipantStatus - createdAt?: Date | string - markedPaidAt?: Date | string | null - paymentConfirmedAt?: Date | string | null - userId: string - booking?: Prisma.BookingUncheckedCreateNestedOneWithoutParticipantInput -} - -export type TripParticipantCreateOrConnectWithoutTripInput = { - where: Prisma.TripParticipantWhereUniqueInput - create: Prisma.XOR -} - -export type TripParticipantCreateManyTripInputEnvelope = { - data: Prisma.TripParticipantCreateManyTripInput | Prisma.TripParticipantCreateManyTripInput[] - skipDuplicates?: boolean -} - -export type TripParticipantUpsertWithWhereUniqueWithoutTripInput = { - where: Prisma.TripParticipantWhereUniqueInput - update: Prisma.XOR - create: Prisma.XOR -} - -export type TripParticipantUpdateWithWhereUniqueWithoutTripInput = { - where: Prisma.TripParticipantWhereUniqueInput - data: Prisma.XOR -} - -export type TripParticipantUpdateManyWithWhereWithoutTripInput = { - where: Prisma.TripParticipantScalarWhereInput - data: Prisma.XOR -} - -export type TripParticipantCreateWithoutBookingInput = { - id?: string - status?: $Enums.ParticipantStatus - createdAt?: Date | string - markedPaidAt?: Date | string | null - paymentConfirmedAt?: Date | string | null - trip: Prisma.TripCreateNestedOneWithoutParticipantsInput - user: Prisma.UserCreateNestedOneWithoutParticipationsInput -} - -export type TripParticipantUncheckedCreateWithoutBookingInput = { - id?: string - status?: $Enums.ParticipantStatus - createdAt?: Date | string - markedPaidAt?: Date | string | null - paymentConfirmedAt?: Date | string | null - tripId: string - userId: string -} - -export type TripParticipantCreateOrConnectWithoutBookingInput = { - where: Prisma.TripParticipantWhereUniqueInput - create: Prisma.XOR -} - -export type TripParticipantUpsertWithoutBookingInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.TripParticipantWhereInput -} - -export type TripParticipantUpdateToOneWithWhereWithoutBookingInput = { - where?: Prisma.TripParticipantWhereInput - data: Prisma.XOR -} - -export type TripParticipantUpdateWithoutBookingInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - status?: Prisma.EnumParticipantStatusFieldUpdateOperationsInput | $Enums.ParticipantStatus - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - markedPaidAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - paymentConfirmedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - trip?: Prisma.TripUpdateOneRequiredWithoutParticipantsNestedInput - user?: Prisma.UserUpdateOneRequiredWithoutParticipationsNestedInput -} - -export type TripParticipantUncheckedUpdateWithoutBookingInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - status?: Prisma.EnumParticipantStatusFieldUpdateOperationsInput | $Enums.ParticipantStatus - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - markedPaidAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - paymentConfirmedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - tripId?: Prisma.StringFieldUpdateOperationsInput | string - userId?: Prisma.StringFieldUpdateOperationsInput | string -} - -export type TripParticipantCreateManyUserInput = { - id?: string - status?: $Enums.ParticipantStatus - createdAt?: Date | string - markedPaidAt?: Date | string | null - paymentConfirmedAt?: Date | string | null - tripId: string -} - -export type TripParticipantUpdateWithoutUserInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - status?: Prisma.EnumParticipantStatusFieldUpdateOperationsInput | $Enums.ParticipantStatus - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - markedPaidAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - paymentConfirmedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - trip?: Prisma.TripUpdateOneRequiredWithoutParticipantsNestedInput - booking?: Prisma.BookingUpdateOneWithoutParticipantNestedInput -} - -export type TripParticipantUncheckedUpdateWithoutUserInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - status?: Prisma.EnumParticipantStatusFieldUpdateOperationsInput | $Enums.ParticipantStatus - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - markedPaidAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - paymentConfirmedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - tripId?: Prisma.StringFieldUpdateOperationsInput | string - booking?: Prisma.BookingUncheckedUpdateOneWithoutParticipantNestedInput -} - -export type TripParticipantUncheckedUpdateManyWithoutUserInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - status?: Prisma.EnumParticipantStatusFieldUpdateOperationsInput | $Enums.ParticipantStatus - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - markedPaidAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - paymentConfirmedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - tripId?: Prisma.StringFieldUpdateOperationsInput | string -} - -export type TripParticipantCreateManyTripInput = { - id?: string - status?: $Enums.ParticipantStatus - createdAt?: Date | string - markedPaidAt?: Date | string | null - paymentConfirmedAt?: Date | string | null - userId: string -} - -export type TripParticipantUpdateWithoutTripInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - status?: Prisma.EnumParticipantStatusFieldUpdateOperationsInput | $Enums.ParticipantStatus - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - markedPaidAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - paymentConfirmedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - user?: Prisma.UserUpdateOneRequiredWithoutParticipationsNestedInput - booking?: Prisma.BookingUpdateOneWithoutParticipantNestedInput -} - -export type TripParticipantUncheckedUpdateWithoutTripInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - status?: Prisma.EnumParticipantStatusFieldUpdateOperationsInput | $Enums.ParticipantStatus - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - markedPaidAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - paymentConfirmedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - userId?: Prisma.StringFieldUpdateOperationsInput | string - booking?: Prisma.BookingUncheckedUpdateOneWithoutParticipantNestedInput -} - -export type TripParticipantUncheckedUpdateManyWithoutTripInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - status?: Prisma.EnumParticipantStatusFieldUpdateOperationsInput | $Enums.ParticipantStatus - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - markedPaidAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - paymentConfirmedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - userId?: Prisma.StringFieldUpdateOperationsInput | string -} - - - -export type TripParticipantSelect = runtime.Types.Extensions.GetSelect<{ - id?: boolean - status?: boolean - createdAt?: boolean - markedPaidAt?: boolean - paymentConfirmedAt?: boolean - tripId?: boolean - userId?: boolean - trip?: boolean | Prisma.TripDefaultArgs - user?: boolean | Prisma.UserDefaultArgs - booking?: boolean | Prisma.TripParticipant$bookingArgs -}, ExtArgs["result"]["tripParticipant"]> - -export type TripParticipantSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - status?: boolean - createdAt?: boolean - markedPaidAt?: boolean - paymentConfirmedAt?: boolean - tripId?: boolean - userId?: boolean - trip?: boolean | Prisma.TripDefaultArgs - user?: boolean | Prisma.UserDefaultArgs -}, ExtArgs["result"]["tripParticipant"]> - -export type TripParticipantSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - status?: boolean - createdAt?: boolean - markedPaidAt?: boolean - paymentConfirmedAt?: boolean - tripId?: boolean - userId?: boolean - trip?: boolean | Prisma.TripDefaultArgs - user?: boolean | Prisma.UserDefaultArgs -}, ExtArgs["result"]["tripParticipant"]> - -export type TripParticipantSelectScalar = { - id?: boolean - status?: boolean - createdAt?: boolean - markedPaidAt?: boolean - paymentConfirmedAt?: boolean - tripId?: boolean - userId?: boolean -} - -export type TripParticipantOmit = runtime.Types.Extensions.GetOmit<"id" | "status" | "createdAt" | "markedPaidAt" | "paymentConfirmedAt" | "tripId" | "userId", ExtArgs["result"]["tripParticipant"]> -export type TripParticipantInclude = { - trip?: boolean | Prisma.TripDefaultArgs - user?: boolean | Prisma.UserDefaultArgs - booking?: boolean | Prisma.TripParticipant$bookingArgs -} -export type TripParticipantIncludeCreateManyAndReturn = { - trip?: boolean | Prisma.TripDefaultArgs - user?: boolean | Prisma.UserDefaultArgs -} -export type TripParticipantIncludeUpdateManyAndReturn = { - trip?: boolean | Prisma.TripDefaultArgs - user?: boolean | Prisma.UserDefaultArgs -} - -export type $TripParticipantPayload = { - name: "TripParticipant" - objects: { - trip: Prisma.$TripPayload - user: Prisma.$UserPayload - booking: Prisma.$BookingPayload | null - } - scalars: runtime.Types.Extensions.GetPayloadResult<{ - id: string - status: $Enums.ParticipantStatus - createdAt: Date - /** - * @deprecated — sumber kebenaran pindah ke Booking/Payment. Tetap di-update - * untuk backward-compat selama transisi UI lama. Akan dihapus PR berikutnya. - */ - markedPaidAt: Date | null - /** - * @deprecated — sumber kebenaran pindah ke Booking/Payment. Tetap di-update - * untuk backward-compat selama transisi UI lama. Akan dihapus PR berikutnya. - */ - paymentConfirmedAt: Date | null - tripId: string - userId: string - }, ExtArgs["result"]["tripParticipant"]> - composites: {} -} - -export type TripParticipantGetPayload = runtime.Types.Result.GetResult - -export type TripParticipantCountArgs = - Omit & { - select?: TripParticipantCountAggregateInputType | true - } - -export interface TripParticipantDelegate { - [K: symbol]: { types: Prisma.TypeMap['model']['TripParticipant'], meta: { name: 'TripParticipant' } } - /** - * Find zero or one TripParticipant that matches the filter. - * @param {TripParticipantFindUniqueArgs} args - Arguments to find a TripParticipant - * @example - * // Get one TripParticipant - * const tripParticipant = await prisma.tripParticipant.findUnique({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__TripParticipantClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find one TripParticipant that matches the filter or throw an error with `error.code='P2025'` - * if no matches were found. - * @param {TripParticipantFindUniqueOrThrowArgs} args - Arguments to find a TripParticipant - * @example - * // Get one TripParticipant - * const tripParticipant = await prisma.tripParticipant.findUniqueOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__TripParticipantClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find the first TripParticipant that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {TripParticipantFindFirstArgs} args - Arguments to find a TripParticipant - * @example - * // Get one TripParticipant - * const tripParticipant = await prisma.tripParticipant.findFirst({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__TripParticipantClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find the first TripParticipant that matches the filter or - * throw `PrismaKnownClientError` with `P2025` code if no matches were found. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {TripParticipantFindFirstOrThrowArgs} args - Arguments to find a TripParticipant - * @example - * // Get one TripParticipant - * const tripParticipant = await prisma.tripParticipant.findFirstOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__TripParticipantClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find zero or more TripParticipants that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {TripParticipantFindManyArgs} args - Arguments to filter and select certain fields only. - * @example - * // Get all TripParticipants - * const tripParticipants = await prisma.tripParticipant.findMany() - * - * // Get first 10 TripParticipants - * const tripParticipants = await prisma.tripParticipant.findMany({ take: 10 }) - * - * // Only select the `id` - * const tripParticipantWithIdOnly = await prisma.tripParticipant.findMany({ select: { id: true } }) - * - */ - findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> - - /** - * Create a TripParticipant. - * @param {TripParticipantCreateArgs} args - Arguments to create a TripParticipant. - * @example - * // Create one TripParticipant - * const TripParticipant = await prisma.tripParticipant.create({ - * data: { - * // ... data to create a TripParticipant - * } - * }) - * - */ - create(args: Prisma.SelectSubset>): Prisma.Prisma__TripParticipantClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Create many TripParticipants. - * @param {TripParticipantCreateManyArgs} args - Arguments to create many TripParticipants. - * @example - * // Create many TripParticipants - * const tripParticipant = await prisma.tripParticipant.createMany({ - * data: [ - * // ... provide data here - * ] - * }) - * - */ - createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Create many TripParticipants and returns the data saved in the database. - * @param {TripParticipantCreateManyAndReturnArgs} args - Arguments to create many TripParticipants. - * @example - * // Create many TripParticipants - * const tripParticipant = await prisma.tripParticipant.createManyAndReturn({ - * data: [ - * // ... provide data here - * ] - * }) - * - * // Create many TripParticipants and only return the `id` - * const tripParticipantWithIdOnly = await prisma.tripParticipant.createManyAndReturn({ - * select: { id: true }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> - - /** - * Delete a TripParticipant. - * @param {TripParticipantDeleteArgs} args - Arguments to delete one TripParticipant. - * @example - * // Delete one TripParticipant - * const TripParticipant = await prisma.tripParticipant.delete({ - * where: { - * // ... filter to delete one TripParticipant - * } - * }) - * - */ - delete(args: Prisma.SelectSubset>): Prisma.Prisma__TripParticipantClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Update one TripParticipant. - * @param {TripParticipantUpdateArgs} args - Arguments to update one TripParticipant. - * @example - * // Update one TripParticipant - * const tripParticipant = await prisma.tripParticipant.update({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - update(args: Prisma.SelectSubset>): Prisma.Prisma__TripParticipantClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Delete zero or more TripParticipants. - * @param {TripParticipantDeleteManyArgs} args - Arguments to filter TripParticipants to delete. - * @example - * // Delete a few TripParticipants - * const { count } = await prisma.tripParticipant.deleteMany({ - * where: { - * // ... provide filter here - * } - * }) - * - */ - deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more TripParticipants. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {TripParticipantUpdateManyArgs} args - Arguments to update one or more rows. - * @example - * // Update many TripParticipants - * const tripParticipant = await prisma.tripParticipant.updateMany({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more TripParticipants and returns the data updated in the database. - * @param {TripParticipantUpdateManyAndReturnArgs} args - Arguments to update many TripParticipants. - * @example - * // Update many TripParticipants - * const tripParticipant = await prisma.tripParticipant.updateManyAndReturn({ - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * - * // Update zero or more TripParticipants and only return the `id` - * const tripParticipantWithIdOnly = await prisma.tripParticipant.updateManyAndReturn({ - * select: { id: true }, - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> - - /** - * Create or update one TripParticipant. - * @param {TripParticipantUpsertArgs} args - Arguments to update or create a TripParticipant. - * @example - * // Update or create a TripParticipant - * const tripParticipant = await prisma.tripParticipant.upsert({ - * create: { - * // ... data to create a TripParticipant - * }, - * update: { - * // ... in case it already exists, update - * }, - * where: { - * // ... the filter for the TripParticipant we want to update - * } - * }) - */ - upsert(args: Prisma.SelectSubset>): Prisma.Prisma__TripParticipantClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - - /** - * Count the number of TripParticipants. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {TripParticipantCountArgs} args - Arguments to filter TripParticipants to count. - * @example - * // Count the number of TripParticipants - * const count = await prisma.tripParticipant.count({ - * where: { - * // ... the filter for the TripParticipants we want to count - * } - * }) - **/ - count( - args?: Prisma.Subset, - ): Prisma.PrismaPromise< - T extends runtime.Types.Utils.Record<'select', any> - ? T['select'] extends true - ? number - : Prisma.GetScalarType - : number - > - - /** - * Allows you to perform aggregations operations on a TripParticipant. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {TripParticipantAggregateArgs} args - Select which aggregations you would like to apply and on what fields. - * @example - * // Ordered by age ascending - * // Where email contains prisma.io - * // Limited to the 10 users - * const aggregations = await prisma.user.aggregate({ - * _avg: { - * age: true, - * }, - * where: { - * email: { - * contains: "prisma.io", - * }, - * }, - * orderBy: { - * age: "asc", - * }, - * take: 10, - * }) - **/ - aggregate(args: Prisma.Subset): Prisma.PrismaPromise> - - /** - * Group by TripParticipant. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {TripParticipantGroupByArgs} args - Group by arguments. - * @example - * // Group by city, order by createdAt, get count - * const result = await prisma.user.groupBy({ - * by: ['city', 'createdAt'], - * orderBy: { - * createdAt: true - * }, - * _count: { - * _all: true - * }, - * }) - * - **/ - groupBy< - T extends TripParticipantGroupByArgs, - HasSelectOrTake extends Prisma.Or< - Prisma.Extends<'skip', Prisma.Keys>, - Prisma.Extends<'take', Prisma.Keys> - >, - OrderByArg extends Prisma.True extends HasSelectOrTake - ? { orderBy: TripParticipantGroupByArgs['orderBy'] } - : { orderBy?: TripParticipantGroupByArgs['orderBy'] }, - OrderFields extends Prisma.ExcludeUnderscoreKeys>>, - ByFields extends Prisma.MaybeTupleToUnion, - ByValid extends Prisma.Has, - HavingFields extends Prisma.GetHavingFields, - HavingValid extends Prisma.Has, - ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, - InputErrors extends ByEmpty extends Prisma.True - ? `Error: "by" must not be empty.` - : HavingValid extends Prisma.False - ? { - [P in HavingFields]: P extends ByFields - ? never - : P extends string - ? `Error: Field "${P}" used in "having" needs to be provided in "by".` - : [ - Error, - 'Field ', - P, - ` in "having" needs to be provided in "by"`, - ] - }[HavingFields] - : 'take' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "take", you also need to provide "orderBy"' - : 'skip' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "skip", you also need to provide "orderBy"' - : ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetTripParticipantGroupByPayload : Prisma.PrismaPromise -/** - * Fields of the TripParticipant model - */ -readonly fields: TripParticipantFieldRefs; -} - -/** - * The delegate class that acts as a "Promise-like" for TripParticipant. - * Why is this prefixed with `Prisma__`? - * Because we want to prevent naming conflicts as mentioned in - * https://github.com/prisma/prisma-client-js/issues/707 - */ -export interface Prisma__TripParticipantClient extends Prisma.PrismaPromise { - readonly [Symbol.toStringTag]: "PrismaPromise" - trip = {}>(args?: Prisma.Subset>): Prisma.Prisma__TripClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> - user = {}>(args?: Prisma.Subset>): Prisma.Prisma__UserClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> - booking = {}>(args?: Prisma.Subset>): Prisma.Prisma__BookingClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - /** - * Attaches callbacks for the resolution and/or rejection of the Promise. - * @param onfulfilled The callback to execute when the Promise is resolved. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of which ever callback is executed. - */ - then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback for only the rejection of the Promise. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of the callback. - */ - catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The - * resolved value cannot be modified from the callback. - * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). - * @returns A Promise for the completion of the callback. - */ - finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise -} - - - - -/** - * Fields of the TripParticipant model - */ -export interface TripParticipantFieldRefs { - readonly id: Prisma.FieldRef<"TripParticipant", 'String'> - readonly status: Prisma.FieldRef<"TripParticipant", 'ParticipantStatus'> - readonly createdAt: Prisma.FieldRef<"TripParticipant", 'DateTime'> - readonly markedPaidAt: Prisma.FieldRef<"TripParticipant", 'DateTime'> - readonly paymentConfirmedAt: Prisma.FieldRef<"TripParticipant", 'DateTime'> - readonly tripId: Prisma.FieldRef<"TripParticipant", 'String'> - readonly userId: Prisma.FieldRef<"TripParticipant", 'String'> -} - - -// Custom InputTypes -/** - * TripParticipant findUnique - */ -export type TripParticipantFindUniqueArgs = { - /** - * Select specific fields to fetch from the TripParticipant - */ - select?: Prisma.TripParticipantSelect | null - /** - * Omit specific fields from the TripParticipant - */ - omit?: Prisma.TripParticipantOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TripParticipantInclude | null - /** - * Filter, which TripParticipant to fetch. - */ - where: Prisma.TripParticipantWhereUniqueInput -} - -/** - * TripParticipant findUniqueOrThrow - */ -export type TripParticipantFindUniqueOrThrowArgs = { - /** - * Select specific fields to fetch from the TripParticipant - */ - select?: Prisma.TripParticipantSelect | null - /** - * Omit specific fields from the TripParticipant - */ - omit?: Prisma.TripParticipantOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TripParticipantInclude | null - /** - * Filter, which TripParticipant to fetch. - */ - where: Prisma.TripParticipantWhereUniqueInput -} - -/** - * TripParticipant findFirst - */ -export type TripParticipantFindFirstArgs = { - /** - * Select specific fields to fetch from the TripParticipant - */ - select?: Prisma.TripParticipantSelect | null - /** - * Omit specific fields from the TripParticipant - */ - omit?: Prisma.TripParticipantOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TripParticipantInclude | null - /** - * Filter, which TripParticipant to fetch. - */ - where?: Prisma.TripParticipantWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of TripParticipants to fetch. - */ - orderBy?: Prisma.TripParticipantOrderByWithRelationInput | Prisma.TripParticipantOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for TripParticipants. - */ - cursor?: Prisma.TripParticipantWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` TripParticipants from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` TripParticipants. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of TripParticipants. - */ - distinct?: Prisma.TripParticipantScalarFieldEnum | Prisma.TripParticipantScalarFieldEnum[] -} - -/** - * TripParticipant findFirstOrThrow - */ -export type TripParticipantFindFirstOrThrowArgs = { - /** - * Select specific fields to fetch from the TripParticipant - */ - select?: Prisma.TripParticipantSelect | null - /** - * Omit specific fields from the TripParticipant - */ - omit?: Prisma.TripParticipantOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TripParticipantInclude | null - /** - * Filter, which TripParticipant to fetch. - */ - where?: Prisma.TripParticipantWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of TripParticipants to fetch. - */ - orderBy?: Prisma.TripParticipantOrderByWithRelationInput | Prisma.TripParticipantOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for TripParticipants. - */ - cursor?: Prisma.TripParticipantWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` TripParticipants from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` TripParticipants. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of TripParticipants. - */ - distinct?: Prisma.TripParticipantScalarFieldEnum | Prisma.TripParticipantScalarFieldEnum[] -} - -/** - * TripParticipant findMany - */ -export type TripParticipantFindManyArgs = { - /** - * Select specific fields to fetch from the TripParticipant - */ - select?: Prisma.TripParticipantSelect | null - /** - * Omit specific fields from the TripParticipant - */ - omit?: Prisma.TripParticipantOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TripParticipantInclude | null - /** - * Filter, which TripParticipants to fetch. - */ - where?: Prisma.TripParticipantWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of TripParticipants to fetch. - */ - orderBy?: Prisma.TripParticipantOrderByWithRelationInput | Prisma.TripParticipantOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for listing TripParticipants. - */ - cursor?: Prisma.TripParticipantWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` TripParticipants from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` TripParticipants. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of TripParticipants. - */ - distinct?: Prisma.TripParticipantScalarFieldEnum | Prisma.TripParticipantScalarFieldEnum[] -} - -/** - * TripParticipant create - */ -export type TripParticipantCreateArgs = { - /** - * Select specific fields to fetch from the TripParticipant - */ - select?: Prisma.TripParticipantSelect | null - /** - * Omit specific fields from the TripParticipant - */ - omit?: Prisma.TripParticipantOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TripParticipantInclude | null - /** - * The data needed to create a TripParticipant. - */ - data: Prisma.XOR -} - -/** - * TripParticipant createMany - */ -export type TripParticipantCreateManyArgs = { - /** - * The data used to create many TripParticipants. - */ - data: Prisma.TripParticipantCreateManyInput | Prisma.TripParticipantCreateManyInput[] - skipDuplicates?: boolean -} - -/** - * TripParticipant createManyAndReturn - */ -export type TripParticipantCreateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the TripParticipant - */ - select?: Prisma.TripParticipantSelectCreateManyAndReturn | null - /** - * Omit specific fields from the TripParticipant - */ - omit?: Prisma.TripParticipantOmit | null - /** - * The data used to create many TripParticipants. - */ - data: Prisma.TripParticipantCreateManyInput | Prisma.TripParticipantCreateManyInput[] - skipDuplicates?: boolean - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TripParticipantIncludeCreateManyAndReturn | null -} - -/** - * TripParticipant update - */ -export type TripParticipantUpdateArgs = { - /** - * Select specific fields to fetch from the TripParticipant - */ - select?: Prisma.TripParticipantSelect | null - /** - * Omit specific fields from the TripParticipant - */ - omit?: Prisma.TripParticipantOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TripParticipantInclude | null - /** - * The data needed to update a TripParticipant. - */ - data: Prisma.XOR - /** - * Choose, which TripParticipant to update. - */ - where: Prisma.TripParticipantWhereUniqueInput -} - -/** - * TripParticipant updateMany - */ -export type TripParticipantUpdateManyArgs = { - /** - * The data used to update TripParticipants. - */ - data: Prisma.XOR - /** - * Filter which TripParticipants to update - */ - where?: Prisma.TripParticipantWhereInput - /** - * Limit how many TripParticipants to update. - */ - limit?: number -} - -/** - * TripParticipant updateManyAndReturn - */ -export type TripParticipantUpdateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the TripParticipant - */ - select?: Prisma.TripParticipantSelectUpdateManyAndReturn | null - /** - * Omit specific fields from the TripParticipant - */ - omit?: Prisma.TripParticipantOmit | null - /** - * The data used to update TripParticipants. - */ - data: Prisma.XOR - /** - * Filter which TripParticipants to update - */ - where?: Prisma.TripParticipantWhereInput - /** - * Limit how many TripParticipants to update. - */ - limit?: number - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TripParticipantIncludeUpdateManyAndReturn | null -} - -/** - * TripParticipant upsert - */ -export type TripParticipantUpsertArgs = { - /** - * Select specific fields to fetch from the TripParticipant - */ - select?: Prisma.TripParticipantSelect | null - /** - * Omit specific fields from the TripParticipant - */ - omit?: Prisma.TripParticipantOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TripParticipantInclude | null - /** - * The filter to search for the TripParticipant to update in case it exists. - */ - where: Prisma.TripParticipantWhereUniqueInput - /** - * In case the TripParticipant found by the `where` argument doesn't exist, create a new TripParticipant with this data. - */ - create: Prisma.XOR - /** - * In case the TripParticipant was found with the provided `where` argument, update it with this data. - */ - update: Prisma.XOR -} - -/** - * TripParticipant delete - */ -export type TripParticipantDeleteArgs = { - /** - * Select specific fields to fetch from the TripParticipant - */ - select?: Prisma.TripParticipantSelect | null - /** - * Omit specific fields from the TripParticipant - */ - omit?: Prisma.TripParticipantOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TripParticipantInclude | null - /** - * Filter which TripParticipant to delete. - */ - where: Prisma.TripParticipantWhereUniqueInput -} - -/** - * TripParticipant deleteMany - */ -export type TripParticipantDeleteManyArgs = { - /** - * Filter which TripParticipants to delete - */ - where?: Prisma.TripParticipantWhereInput - /** - * Limit how many TripParticipants to delete. - */ - limit?: number -} - -/** - * TripParticipant.booking - */ -export type TripParticipant$bookingArgs = { - /** - * Select specific fields to fetch from the Booking - */ - select?: Prisma.BookingSelect | null - /** - * Omit specific fields from the Booking - */ - omit?: Prisma.BookingOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.BookingInclude | null - where?: Prisma.BookingWhereInput -} - -/** - * TripParticipant without action - */ -export type TripParticipantDefaultArgs = { - /** - * Select specific fields to fetch from the TripParticipant - */ - select?: Prisma.TripParticipantSelect | null - /** - * Omit specific fields from the TripParticipant - */ - omit?: Prisma.TripParticipantOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TripParticipantInclude | null -} diff --git a/app/generated/prisma/models/TripReview.ts b/app/generated/prisma/models/TripReview.ts deleted file mode 100644 index 0d48a43..0000000 --- a/app/generated/prisma/models/TripReview.ts +++ /dev/null @@ -1,1597 +0,0 @@ - -/* !!! This is code generated by Prisma. Do not edit directly. !!! */ -/* eslint-disable */ -// biome-ignore-all lint: generated file -// @ts-nocheck -/* - * This file exports the `TripReview` 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 TripReview - * - */ -export type TripReviewModel = runtime.Types.Result.DefaultSelection - -export type AggregateTripReview = { - _count: TripReviewCountAggregateOutputType | null - _avg: TripReviewAvgAggregateOutputType | null - _sum: TripReviewSumAggregateOutputType | null - _min: TripReviewMinAggregateOutputType | null - _max: TripReviewMaxAggregateOutputType | null -} - -export type TripReviewAvgAggregateOutputType = { - rating: number | null -} - -export type TripReviewSumAggregateOutputType = { - rating: number | null -} - -export type TripReviewMinAggregateOutputType = { - id: string | null - rating: number | null - comment: string | null - createdAt: Date | null - updatedAt: Date | null - tripId: string | null - userId: string | null -} - -export type TripReviewMaxAggregateOutputType = { - id: string | null - rating: number | null - comment: string | null - createdAt: Date | null - updatedAt: Date | null - tripId: string | null - userId: string | null -} - -export type TripReviewCountAggregateOutputType = { - id: number - rating: number - comment: number - createdAt: number - updatedAt: number - tripId: number - userId: number - _all: number -} - - -export type TripReviewAvgAggregateInputType = { - rating?: true -} - -export type TripReviewSumAggregateInputType = { - rating?: true -} - -export type TripReviewMinAggregateInputType = { - id?: true - rating?: true - comment?: true - createdAt?: true - updatedAt?: true - tripId?: true - userId?: true -} - -export type TripReviewMaxAggregateInputType = { - id?: true - rating?: true - comment?: true - createdAt?: true - updatedAt?: true - tripId?: true - userId?: true -} - -export type TripReviewCountAggregateInputType = { - id?: true - rating?: true - comment?: true - createdAt?: true - updatedAt?: true - tripId?: true - userId?: true - _all?: true -} - -export type TripReviewAggregateArgs = { - /** - * Filter which TripReview to aggregate. - */ - where?: Prisma.TripReviewWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of TripReviews to fetch. - */ - orderBy?: Prisma.TripReviewOrderByWithRelationInput | Prisma.TripReviewOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the start position - */ - cursor?: Prisma.TripReviewWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` TripReviews 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` TripReviews. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Count returned TripReviews - **/ - _count?: true | TripReviewCountAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to average - **/ - _avg?: TripReviewAvgAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to sum - **/ - _sum?: TripReviewSumAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the minimum value - **/ - _min?: TripReviewMinAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the maximum value - **/ - _max?: TripReviewMaxAggregateInputType -} - -export type GetTripReviewAggregateType = { - [P in keyof T & keyof AggregateTripReview]: P extends '_count' | 'count' - ? T[P] extends true - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType -} - - - - -export type TripReviewGroupByArgs = { - where?: Prisma.TripReviewWhereInput - orderBy?: Prisma.TripReviewOrderByWithAggregationInput | Prisma.TripReviewOrderByWithAggregationInput[] - by: Prisma.TripReviewScalarFieldEnum[] | Prisma.TripReviewScalarFieldEnum - having?: Prisma.TripReviewScalarWhereWithAggregatesInput - take?: number - skip?: number - _count?: TripReviewCountAggregateInputType | true - _avg?: TripReviewAvgAggregateInputType - _sum?: TripReviewSumAggregateInputType - _min?: TripReviewMinAggregateInputType - _max?: TripReviewMaxAggregateInputType -} - -export type TripReviewGroupByOutputType = { - id: string - rating: number - comment: string | null - createdAt: Date - updatedAt: Date - tripId: string - userId: string - _count: TripReviewCountAggregateOutputType | null - _avg: TripReviewAvgAggregateOutputType | null - _sum: TripReviewSumAggregateOutputType | null - _min: TripReviewMinAggregateOutputType | null - _max: TripReviewMaxAggregateOutputType | null -} - -export type GetTripReviewGroupByPayload = Prisma.PrismaPromise< - Array< - Prisma.PickEnumerable & - { - [P in ((keyof T) & (keyof TripReviewGroupByOutputType))]: P extends '_count' - ? T[P] extends boolean - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType - } - > - > - - - -export type TripReviewWhereInput = { - AND?: Prisma.TripReviewWhereInput | Prisma.TripReviewWhereInput[] - OR?: Prisma.TripReviewWhereInput[] - NOT?: Prisma.TripReviewWhereInput | Prisma.TripReviewWhereInput[] - id?: Prisma.StringFilter<"TripReview"> | string - rating?: Prisma.IntFilter<"TripReview"> | number - comment?: Prisma.StringNullableFilter<"TripReview"> | string | null - createdAt?: Prisma.DateTimeFilter<"TripReview"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"TripReview"> | Date | string - tripId?: Prisma.StringFilter<"TripReview"> | string - userId?: Prisma.StringFilter<"TripReview"> | string - trip?: Prisma.XOR - user?: Prisma.XOR -} - -export type TripReviewOrderByWithRelationInput = { - id?: Prisma.SortOrder - rating?: Prisma.SortOrder - comment?: Prisma.SortOrderInput | Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - tripId?: Prisma.SortOrder - userId?: Prisma.SortOrder - trip?: Prisma.TripOrderByWithRelationInput - user?: Prisma.UserOrderByWithRelationInput -} - -export type TripReviewWhereUniqueInput = Prisma.AtLeast<{ - id?: string - tripId_userId?: Prisma.TripReviewTripIdUserIdCompoundUniqueInput - AND?: Prisma.TripReviewWhereInput | Prisma.TripReviewWhereInput[] - OR?: Prisma.TripReviewWhereInput[] - NOT?: Prisma.TripReviewWhereInput | Prisma.TripReviewWhereInput[] - rating?: Prisma.IntFilter<"TripReview"> | number - comment?: Prisma.StringNullableFilter<"TripReview"> | string | null - createdAt?: Prisma.DateTimeFilter<"TripReview"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"TripReview"> | Date | string - tripId?: Prisma.StringFilter<"TripReview"> | string - userId?: Prisma.StringFilter<"TripReview"> | string - trip?: Prisma.XOR - user?: Prisma.XOR -}, "id" | "tripId_userId"> - -export type TripReviewOrderByWithAggregationInput = { - id?: Prisma.SortOrder - rating?: Prisma.SortOrder - comment?: Prisma.SortOrderInput | Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - tripId?: Prisma.SortOrder - userId?: Prisma.SortOrder - _count?: Prisma.TripReviewCountOrderByAggregateInput - _avg?: Prisma.TripReviewAvgOrderByAggregateInput - _max?: Prisma.TripReviewMaxOrderByAggregateInput - _min?: Prisma.TripReviewMinOrderByAggregateInput - _sum?: Prisma.TripReviewSumOrderByAggregateInput -} - -export type TripReviewScalarWhereWithAggregatesInput = { - AND?: Prisma.TripReviewScalarWhereWithAggregatesInput | Prisma.TripReviewScalarWhereWithAggregatesInput[] - OR?: Prisma.TripReviewScalarWhereWithAggregatesInput[] - NOT?: Prisma.TripReviewScalarWhereWithAggregatesInput | Prisma.TripReviewScalarWhereWithAggregatesInput[] - id?: Prisma.StringWithAggregatesFilter<"TripReview"> | string - rating?: Prisma.IntWithAggregatesFilter<"TripReview"> | number - comment?: Prisma.StringNullableWithAggregatesFilter<"TripReview"> | string | null - createdAt?: Prisma.DateTimeWithAggregatesFilter<"TripReview"> | Date | string - updatedAt?: Prisma.DateTimeWithAggregatesFilter<"TripReview"> | Date | string - tripId?: Prisma.StringWithAggregatesFilter<"TripReview"> | string - userId?: Prisma.StringWithAggregatesFilter<"TripReview"> | string -} - -export type TripReviewCreateInput = { - id?: string - rating: number - comment?: string | null - createdAt?: Date | string - updatedAt?: Date | string - trip: Prisma.TripCreateNestedOneWithoutReviewsInput - user: Prisma.UserCreateNestedOneWithoutTripReviewsInput -} - -export type TripReviewUncheckedCreateInput = { - id?: string - rating: number - comment?: string | null - createdAt?: Date | string - updatedAt?: Date | string - tripId: string - userId: string -} - -export type TripReviewUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - rating?: Prisma.IntFieldUpdateOperationsInput | number - comment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - trip?: Prisma.TripUpdateOneRequiredWithoutReviewsNestedInput - user?: Prisma.UserUpdateOneRequiredWithoutTripReviewsNestedInput -} - -export type TripReviewUncheckedUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - rating?: Prisma.IntFieldUpdateOperationsInput | number - comment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - tripId?: Prisma.StringFieldUpdateOperationsInput | string - userId?: Prisma.StringFieldUpdateOperationsInput | string -} - -export type TripReviewCreateManyInput = { - id?: string - rating: number - comment?: string | null - createdAt?: Date | string - updatedAt?: Date | string - tripId: string - userId: string -} - -export type TripReviewUpdateManyMutationInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - rating?: Prisma.IntFieldUpdateOperationsInput | number - comment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - -export type TripReviewUncheckedUpdateManyInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - rating?: Prisma.IntFieldUpdateOperationsInput | number - comment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - tripId?: Prisma.StringFieldUpdateOperationsInput | string - userId?: Prisma.StringFieldUpdateOperationsInput | string -} - -export type TripReviewListRelationFilter = { - every?: Prisma.TripReviewWhereInput - some?: Prisma.TripReviewWhereInput - none?: Prisma.TripReviewWhereInput -} - -export type TripReviewOrderByRelationAggregateInput = { - _count?: Prisma.SortOrder -} - -export type TripReviewTripIdUserIdCompoundUniqueInput = { - tripId: string - userId: string -} - -export type TripReviewCountOrderByAggregateInput = { - id?: Prisma.SortOrder - rating?: Prisma.SortOrder - comment?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - tripId?: Prisma.SortOrder - userId?: Prisma.SortOrder -} - -export type TripReviewAvgOrderByAggregateInput = { - rating?: Prisma.SortOrder -} - -export type TripReviewMaxOrderByAggregateInput = { - id?: Prisma.SortOrder - rating?: Prisma.SortOrder - comment?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - tripId?: Prisma.SortOrder - userId?: Prisma.SortOrder -} - -export type TripReviewMinOrderByAggregateInput = { - id?: Prisma.SortOrder - rating?: Prisma.SortOrder - comment?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - tripId?: Prisma.SortOrder - userId?: Prisma.SortOrder -} - -export type TripReviewSumOrderByAggregateInput = { - rating?: Prisma.SortOrder -} - -export type TripReviewCreateNestedManyWithoutUserInput = { - create?: Prisma.XOR | Prisma.TripReviewCreateWithoutUserInput[] | Prisma.TripReviewUncheckedCreateWithoutUserInput[] - connectOrCreate?: Prisma.TripReviewCreateOrConnectWithoutUserInput | Prisma.TripReviewCreateOrConnectWithoutUserInput[] - createMany?: Prisma.TripReviewCreateManyUserInputEnvelope - connect?: Prisma.TripReviewWhereUniqueInput | Prisma.TripReviewWhereUniqueInput[] -} - -export type TripReviewUncheckedCreateNestedManyWithoutUserInput = { - create?: Prisma.XOR | Prisma.TripReviewCreateWithoutUserInput[] | Prisma.TripReviewUncheckedCreateWithoutUserInput[] - connectOrCreate?: Prisma.TripReviewCreateOrConnectWithoutUserInput | Prisma.TripReviewCreateOrConnectWithoutUserInput[] - createMany?: Prisma.TripReviewCreateManyUserInputEnvelope - connect?: Prisma.TripReviewWhereUniqueInput | Prisma.TripReviewWhereUniqueInput[] -} - -export type TripReviewUpdateManyWithoutUserNestedInput = { - create?: Prisma.XOR | Prisma.TripReviewCreateWithoutUserInput[] | Prisma.TripReviewUncheckedCreateWithoutUserInput[] - connectOrCreate?: Prisma.TripReviewCreateOrConnectWithoutUserInput | Prisma.TripReviewCreateOrConnectWithoutUserInput[] - upsert?: Prisma.TripReviewUpsertWithWhereUniqueWithoutUserInput | Prisma.TripReviewUpsertWithWhereUniqueWithoutUserInput[] - createMany?: Prisma.TripReviewCreateManyUserInputEnvelope - set?: Prisma.TripReviewWhereUniqueInput | Prisma.TripReviewWhereUniqueInput[] - disconnect?: Prisma.TripReviewWhereUniqueInput | Prisma.TripReviewWhereUniqueInput[] - delete?: Prisma.TripReviewWhereUniqueInput | Prisma.TripReviewWhereUniqueInput[] - connect?: Prisma.TripReviewWhereUniqueInput | Prisma.TripReviewWhereUniqueInput[] - update?: Prisma.TripReviewUpdateWithWhereUniqueWithoutUserInput | Prisma.TripReviewUpdateWithWhereUniqueWithoutUserInput[] - updateMany?: Prisma.TripReviewUpdateManyWithWhereWithoutUserInput | Prisma.TripReviewUpdateManyWithWhereWithoutUserInput[] - deleteMany?: Prisma.TripReviewScalarWhereInput | Prisma.TripReviewScalarWhereInput[] -} - -export type TripReviewUncheckedUpdateManyWithoutUserNestedInput = { - create?: Prisma.XOR | Prisma.TripReviewCreateWithoutUserInput[] | Prisma.TripReviewUncheckedCreateWithoutUserInput[] - connectOrCreate?: Prisma.TripReviewCreateOrConnectWithoutUserInput | Prisma.TripReviewCreateOrConnectWithoutUserInput[] - upsert?: Prisma.TripReviewUpsertWithWhereUniqueWithoutUserInput | Prisma.TripReviewUpsertWithWhereUniqueWithoutUserInput[] - createMany?: Prisma.TripReviewCreateManyUserInputEnvelope - set?: Prisma.TripReviewWhereUniqueInput | Prisma.TripReviewWhereUniqueInput[] - disconnect?: Prisma.TripReviewWhereUniqueInput | Prisma.TripReviewWhereUniqueInput[] - delete?: Prisma.TripReviewWhereUniqueInput | Prisma.TripReviewWhereUniqueInput[] - connect?: Prisma.TripReviewWhereUniqueInput | Prisma.TripReviewWhereUniqueInput[] - update?: Prisma.TripReviewUpdateWithWhereUniqueWithoutUserInput | Prisma.TripReviewUpdateWithWhereUniqueWithoutUserInput[] - updateMany?: Prisma.TripReviewUpdateManyWithWhereWithoutUserInput | Prisma.TripReviewUpdateManyWithWhereWithoutUserInput[] - deleteMany?: Prisma.TripReviewScalarWhereInput | Prisma.TripReviewScalarWhereInput[] -} - -export type TripReviewCreateNestedManyWithoutTripInput = { - create?: Prisma.XOR | Prisma.TripReviewCreateWithoutTripInput[] | Prisma.TripReviewUncheckedCreateWithoutTripInput[] - connectOrCreate?: Prisma.TripReviewCreateOrConnectWithoutTripInput | Prisma.TripReviewCreateOrConnectWithoutTripInput[] - createMany?: Prisma.TripReviewCreateManyTripInputEnvelope - connect?: Prisma.TripReviewWhereUniqueInput | Prisma.TripReviewWhereUniqueInput[] -} - -export type TripReviewUncheckedCreateNestedManyWithoutTripInput = { - create?: Prisma.XOR | Prisma.TripReviewCreateWithoutTripInput[] | Prisma.TripReviewUncheckedCreateWithoutTripInput[] - connectOrCreate?: Prisma.TripReviewCreateOrConnectWithoutTripInput | Prisma.TripReviewCreateOrConnectWithoutTripInput[] - createMany?: Prisma.TripReviewCreateManyTripInputEnvelope - connect?: Prisma.TripReviewWhereUniqueInput | Prisma.TripReviewWhereUniqueInput[] -} - -export type TripReviewUpdateManyWithoutTripNestedInput = { - create?: Prisma.XOR | Prisma.TripReviewCreateWithoutTripInput[] | Prisma.TripReviewUncheckedCreateWithoutTripInput[] - connectOrCreate?: Prisma.TripReviewCreateOrConnectWithoutTripInput | Prisma.TripReviewCreateOrConnectWithoutTripInput[] - upsert?: Prisma.TripReviewUpsertWithWhereUniqueWithoutTripInput | Prisma.TripReviewUpsertWithWhereUniqueWithoutTripInput[] - createMany?: Prisma.TripReviewCreateManyTripInputEnvelope - set?: Prisma.TripReviewWhereUniqueInput | Prisma.TripReviewWhereUniqueInput[] - disconnect?: Prisma.TripReviewWhereUniqueInput | Prisma.TripReviewWhereUniqueInput[] - delete?: Prisma.TripReviewWhereUniqueInput | Prisma.TripReviewWhereUniqueInput[] - connect?: Prisma.TripReviewWhereUniqueInput | Prisma.TripReviewWhereUniqueInput[] - update?: Prisma.TripReviewUpdateWithWhereUniqueWithoutTripInput | Prisma.TripReviewUpdateWithWhereUniqueWithoutTripInput[] - updateMany?: Prisma.TripReviewUpdateManyWithWhereWithoutTripInput | Prisma.TripReviewUpdateManyWithWhereWithoutTripInput[] - deleteMany?: Prisma.TripReviewScalarWhereInput | Prisma.TripReviewScalarWhereInput[] -} - -export type TripReviewUncheckedUpdateManyWithoutTripNestedInput = { - create?: Prisma.XOR | Prisma.TripReviewCreateWithoutTripInput[] | Prisma.TripReviewUncheckedCreateWithoutTripInput[] - connectOrCreate?: Prisma.TripReviewCreateOrConnectWithoutTripInput | Prisma.TripReviewCreateOrConnectWithoutTripInput[] - upsert?: Prisma.TripReviewUpsertWithWhereUniqueWithoutTripInput | Prisma.TripReviewUpsertWithWhereUniqueWithoutTripInput[] - createMany?: Prisma.TripReviewCreateManyTripInputEnvelope - set?: Prisma.TripReviewWhereUniqueInput | Prisma.TripReviewWhereUniqueInput[] - disconnect?: Prisma.TripReviewWhereUniqueInput | Prisma.TripReviewWhereUniqueInput[] - delete?: Prisma.TripReviewWhereUniqueInput | Prisma.TripReviewWhereUniqueInput[] - connect?: Prisma.TripReviewWhereUniqueInput | Prisma.TripReviewWhereUniqueInput[] - update?: Prisma.TripReviewUpdateWithWhereUniqueWithoutTripInput | Prisma.TripReviewUpdateWithWhereUniqueWithoutTripInput[] - updateMany?: Prisma.TripReviewUpdateManyWithWhereWithoutTripInput | Prisma.TripReviewUpdateManyWithWhereWithoutTripInput[] - deleteMany?: Prisma.TripReviewScalarWhereInput | Prisma.TripReviewScalarWhereInput[] -} - -export type TripReviewCreateWithoutUserInput = { - id?: string - rating: number - comment?: string | null - createdAt?: Date | string - updatedAt?: Date | string - trip: Prisma.TripCreateNestedOneWithoutReviewsInput -} - -export type TripReviewUncheckedCreateWithoutUserInput = { - id?: string - rating: number - comment?: string | null - createdAt?: Date | string - updatedAt?: Date | string - tripId: string -} - -export type TripReviewCreateOrConnectWithoutUserInput = { - where: Prisma.TripReviewWhereUniqueInput - create: Prisma.XOR -} - -export type TripReviewCreateManyUserInputEnvelope = { - data: Prisma.TripReviewCreateManyUserInput | Prisma.TripReviewCreateManyUserInput[] - skipDuplicates?: boolean -} - -export type TripReviewUpsertWithWhereUniqueWithoutUserInput = { - where: Prisma.TripReviewWhereUniqueInput - update: Prisma.XOR - create: Prisma.XOR -} - -export type TripReviewUpdateWithWhereUniqueWithoutUserInput = { - where: Prisma.TripReviewWhereUniqueInput - data: Prisma.XOR -} - -export type TripReviewUpdateManyWithWhereWithoutUserInput = { - where: Prisma.TripReviewScalarWhereInput - data: Prisma.XOR -} - -export type TripReviewScalarWhereInput = { - AND?: Prisma.TripReviewScalarWhereInput | Prisma.TripReviewScalarWhereInput[] - OR?: Prisma.TripReviewScalarWhereInput[] - NOT?: Prisma.TripReviewScalarWhereInput | Prisma.TripReviewScalarWhereInput[] - id?: Prisma.StringFilter<"TripReview"> | string - rating?: Prisma.IntFilter<"TripReview"> | number - comment?: Prisma.StringNullableFilter<"TripReview"> | string | null - createdAt?: Prisma.DateTimeFilter<"TripReview"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"TripReview"> | Date | string - tripId?: Prisma.StringFilter<"TripReview"> | string - userId?: Prisma.StringFilter<"TripReview"> | string -} - -export type TripReviewCreateWithoutTripInput = { - id?: string - rating: number - comment?: string | null - createdAt?: Date | string - updatedAt?: Date | string - user: Prisma.UserCreateNestedOneWithoutTripReviewsInput -} - -export type TripReviewUncheckedCreateWithoutTripInput = { - id?: string - rating: number - comment?: string | null - createdAt?: Date | string - updatedAt?: Date | string - userId: string -} - -export type TripReviewCreateOrConnectWithoutTripInput = { - where: Prisma.TripReviewWhereUniqueInput - create: Prisma.XOR -} - -export type TripReviewCreateManyTripInputEnvelope = { - data: Prisma.TripReviewCreateManyTripInput | Prisma.TripReviewCreateManyTripInput[] - skipDuplicates?: boolean -} - -export type TripReviewUpsertWithWhereUniqueWithoutTripInput = { - where: Prisma.TripReviewWhereUniqueInput - update: Prisma.XOR - create: Prisma.XOR -} - -export type TripReviewUpdateWithWhereUniqueWithoutTripInput = { - where: Prisma.TripReviewWhereUniqueInput - data: Prisma.XOR -} - -export type TripReviewUpdateManyWithWhereWithoutTripInput = { - where: Prisma.TripReviewScalarWhereInput - data: Prisma.XOR -} - -export type TripReviewCreateManyUserInput = { - id?: string - rating: number - comment?: string | null - createdAt?: Date | string - updatedAt?: Date | string - tripId: string -} - -export type TripReviewUpdateWithoutUserInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - rating?: Prisma.IntFieldUpdateOperationsInput | number - comment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - trip?: Prisma.TripUpdateOneRequiredWithoutReviewsNestedInput -} - -export type TripReviewUncheckedUpdateWithoutUserInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - rating?: Prisma.IntFieldUpdateOperationsInput | number - comment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - tripId?: Prisma.StringFieldUpdateOperationsInput | string -} - -export type TripReviewUncheckedUpdateManyWithoutUserInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - rating?: Prisma.IntFieldUpdateOperationsInput | number - comment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - tripId?: Prisma.StringFieldUpdateOperationsInput | string -} - -export type TripReviewCreateManyTripInput = { - id?: string - rating: number - comment?: string | null - createdAt?: Date | string - updatedAt?: Date | string - userId: string -} - -export type TripReviewUpdateWithoutTripInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - rating?: Prisma.IntFieldUpdateOperationsInput | number - comment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - user?: Prisma.UserUpdateOneRequiredWithoutTripReviewsNestedInput -} - -export type TripReviewUncheckedUpdateWithoutTripInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - rating?: Prisma.IntFieldUpdateOperationsInput | number - comment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - userId?: Prisma.StringFieldUpdateOperationsInput | string -} - -export type TripReviewUncheckedUpdateManyWithoutTripInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - rating?: Prisma.IntFieldUpdateOperationsInput | number - comment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - userId?: Prisma.StringFieldUpdateOperationsInput | string -} - - - -export type TripReviewSelect = runtime.Types.Extensions.GetSelect<{ - id?: boolean - rating?: boolean - comment?: boolean - createdAt?: boolean - updatedAt?: boolean - tripId?: boolean - userId?: boolean - trip?: boolean | Prisma.TripDefaultArgs - user?: boolean | Prisma.UserDefaultArgs -}, ExtArgs["result"]["tripReview"]> - -export type TripReviewSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - rating?: boolean - comment?: boolean - createdAt?: boolean - updatedAt?: boolean - tripId?: boolean - userId?: boolean - trip?: boolean | Prisma.TripDefaultArgs - user?: boolean | Prisma.UserDefaultArgs -}, ExtArgs["result"]["tripReview"]> - -export type TripReviewSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - rating?: boolean - comment?: boolean - createdAt?: boolean - updatedAt?: boolean - tripId?: boolean - userId?: boolean - trip?: boolean | Prisma.TripDefaultArgs - user?: boolean | Prisma.UserDefaultArgs -}, ExtArgs["result"]["tripReview"]> - -export type TripReviewSelectScalar = { - id?: boolean - rating?: boolean - comment?: boolean - createdAt?: boolean - updatedAt?: boolean - tripId?: boolean - userId?: boolean -} - -export type TripReviewOmit = runtime.Types.Extensions.GetOmit<"id" | "rating" | "comment" | "createdAt" | "updatedAt" | "tripId" | "userId", ExtArgs["result"]["tripReview"]> -export type TripReviewInclude = { - trip?: boolean | Prisma.TripDefaultArgs - user?: boolean | Prisma.UserDefaultArgs -} -export type TripReviewIncludeCreateManyAndReturn = { - trip?: boolean | Prisma.TripDefaultArgs - user?: boolean | Prisma.UserDefaultArgs -} -export type TripReviewIncludeUpdateManyAndReturn = { - trip?: boolean | Prisma.TripDefaultArgs - user?: boolean | Prisma.UserDefaultArgs -} - -export type $TripReviewPayload = { - name: "TripReview" - objects: { - trip: Prisma.$TripPayload - user: Prisma.$UserPayload - } - scalars: runtime.Types.Extensions.GetPayloadResult<{ - id: string - rating: number - comment: string | null - createdAt: Date - updatedAt: Date - tripId: string - userId: string - }, ExtArgs["result"]["tripReview"]> - composites: {} -} - -export type TripReviewGetPayload = runtime.Types.Result.GetResult - -export type TripReviewCountArgs = - Omit & { - select?: TripReviewCountAggregateInputType | true - } - -export interface TripReviewDelegate { - [K: symbol]: { types: Prisma.TypeMap['model']['TripReview'], meta: { name: 'TripReview' } } - /** - * Find zero or one TripReview that matches the filter. - * @param {TripReviewFindUniqueArgs} args - Arguments to find a TripReview - * @example - * // Get one TripReview - * const tripReview = await prisma.tripReview.findUnique({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__TripReviewClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find one TripReview that matches the filter or throw an error with `error.code='P2025'` - * if no matches were found. - * @param {TripReviewFindUniqueOrThrowArgs} args - Arguments to find a TripReview - * @example - * // Get one TripReview - * const tripReview = await prisma.tripReview.findUniqueOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__TripReviewClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find the first TripReview 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 {TripReviewFindFirstArgs} args - Arguments to find a TripReview - * @example - * // Get one TripReview - * const tripReview = await prisma.tripReview.findFirst({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__TripReviewClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find the first TripReview 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 {TripReviewFindFirstOrThrowArgs} args - Arguments to find a TripReview - * @example - * // Get one TripReview - * const tripReview = await prisma.tripReview.findFirstOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__TripReviewClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find zero or more TripReviews 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 {TripReviewFindManyArgs} args - Arguments to filter and select certain fields only. - * @example - * // Get all TripReviews - * const tripReviews = await prisma.tripReview.findMany() - * - * // Get first 10 TripReviews - * const tripReviews = await prisma.tripReview.findMany({ take: 10 }) - * - * // Only select the `id` - * const tripReviewWithIdOnly = await prisma.tripReview.findMany({ select: { id: true } }) - * - */ - findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> - - /** - * Create a TripReview. - * @param {TripReviewCreateArgs} args - Arguments to create a TripReview. - * @example - * // Create one TripReview - * const TripReview = await prisma.tripReview.create({ - * data: { - * // ... data to create a TripReview - * } - * }) - * - */ - create(args: Prisma.SelectSubset>): Prisma.Prisma__TripReviewClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Create many TripReviews. - * @param {TripReviewCreateManyArgs} args - Arguments to create many TripReviews. - * @example - * // Create many TripReviews - * const tripReview = await prisma.tripReview.createMany({ - * data: [ - * // ... provide data here - * ] - * }) - * - */ - createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Create many TripReviews and returns the data saved in the database. - * @param {TripReviewCreateManyAndReturnArgs} args - Arguments to create many TripReviews. - * @example - * // Create many TripReviews - * const tripReview = await prisma.tripReview.createManyAndReturn({ - * data: [ - * // ... provide data here - * ] - * }) - * - * // Create many TripReviews and only return the `id` - * const tripReviewWithIdOnly = await prisma.tripReview.createManyAndReturn({ - * select: { id: true }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> - - /** - * Delete a TripReview. - * @param {TripReviewDeleteArgs} args - Arguments to delete one TripReview. - * @example - * // Delete one TripReview - * const TripReview = await prisma.tripReview.delete({ - * where: { - * // ... filter to delete one TripReview - * } - * }) - * - */ - delete(args: Prisma.SelectSubset>): Prisma.Prisma__TripReviewClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Update one TripReview. - * @param {TripReviewUpdateArgs} args - Arguments to update one TripReview. - * @example - * // Update one TripReview - * const tripReview = await prisma.tripReview.update({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - update(args: Prisma.SelectSubset>): Prisma.Prisma__TripReviewClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Delete zero or more TripReviews. - * @param {TripReviewDeleteManyArgs} args - Arguments to filter TripReviews to delete. - * @example - * // Delete a few TripReviews - * const { count } = await prisma.tripReview.deleteMany({ - * where: { - * // ... provide filter here - * } - * }) - * - */ - deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more TripReviews. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {TripReviewUpdateManyArgs} args - Arguments to update one or more rows. - * @example - * // Update many TripReviews - * const tripReview = await prisma.tripReview.updateMany({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more TripReviews and returns the data updated in the database. - * @param {TripReviewUpdateManyAndReturnArgs} args - Arguments to update many TripReviews. - * @example - * // Update many TripReviews - * const tripReview = await prisma.tripReview.updateManyAndReturn({ - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * - * // Update zero or more TripReviews and only return the `id` - * const tripReviewWithIdOnly = await prisma.tripReview.updateManyAndReturn({ - * select: { id: true }, - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> - - /** - * Create or update one TripReview. - * @param {TripReviewUpsertArgs} args - Arguments to update or create a TripReview. - * @example - * // Update or create a TripReview - * const tripReview = await prisma.tripReview.upsert({ - * create: { - * // ... data to create a TripReview - * }, - * update: { - * // ... in case it already exists, update - * }, - * where: { - * // ... the filter for the TripReview we want to update - * } - * }) - */ - upsert(args: Prisma.SelectSubset>): Prisma.Prisma__TripReviewClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - - /** - * Count the number of TripReviews. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {TripReviewCountArgs} args - Arguments to filter TripReviews to count. - * @example - * // Count the number of TripReviews - * const count = await prisma.tripReview.count({ - * where: { - * // ... the filter for the TripReviews we want to count - * } - * }) - **/ - count( - args?: Prisma.Subset, - ): Prisma.PrismaPromise< - T extends runtime.Types.Utils.Record<'select', any> - ? T['select'] extends true - ? number - : Prisma.GetScalarType - : number - > - - /** - * Allows you to perform aggregations operations on a TripReview. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {TripReviewAggregateArgs} args - Select which aggregations you would like to apply and on what fields. - * @example - * // Ordered by age ascending - * // Where email contains prisma.io - * // Limited to the 10 users - * const aggregations = await prisma.user.aggregate({ - * _avg: { - * age: true, - * }, - * where: { - * email: { - * contains: "prisma.io", - * }, - * }, - * orderBy: { - * age: "asc", - * }, - * take: 10, - * }) - **/ - aggregate(args: Prisma.Subset): Prisma.PrismaPromise> - - /** - * Group by TripReview. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {TripReviewGroupByArgs} 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 TripReviewGroupByArgs, - HasSelectOrTake extends Prisma.Or< - Prisma.Extends<'skip', Prisma.Keys>, - Prisma.Extends<'take', Prisma.Keys> - >, - OrderByArg extends Prisma.True extends HasSelectOrTake - ? { orderBy: TripReviewGroupByArgs['orderBy'] } - : { orderBy?: TripReviewGroupByArgs['orderBy'] }, - OrderFields extends Prisma.ExcludeUnderscoreKeys>>, - ByFields extends Prisma.MaybeTupleToUnion, - ByValid extends Prisma.Has, - HavingFields extends Prisma.GetHavingFields, - HavingValid extends Prisma.Has, - ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, - InputErrors extends ByEmpty extends Prisma.True - ? `Error: "by" must not be empty.` - : HavingValid extends Prisma.False - ? { - [P in HavingFields]: P extends ByFields - ? never - : P extends string - ? `Error: Field "${P}" used in "having" needs to be provided in "by".` - : [ - Error, - 'Field ', - P, - ` in "having" needs to be provided in "by"`, - ] - }[HavingFields] - : 'take' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "take", you also need to provide "orderBy"' - : 'skip' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "skip", you also need to provide "orderBy"' - : ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetTripReviewGroupByPayload : Prisma.PrismaPromise -/** - * Fields of the TripReview model - */ -readonly fields: TripReviewFieldRefs; -} - -/** - * The delegate class that acts as a "Promise-like" for TripReview. - * 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__TripReviewClient extends Prisma.PrismaPromise { - readonly [Symbol.toStringTag]: "PrismaPromise" - trip = {}>(args?: Prisma.Subset>): Prisma.Prisma__TripClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> - user = {}>(args?: Prisma.Subset>): Prisma.Prisma__UserClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> - /** - * Attaches callbacks for the resolution and/or rejection of the Promise. - * @param onfulfilled The callback to execute when the Promise is resolved. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of which ever callback is executed. - */ - then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback for only the rejection of the Promise. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of the callback. - */ - catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The - * resolved value cannot be modified from the callback. - * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). - * @returns A Promise for the completion of the callback. - */ - finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise -} - - - - -/** - * Fields of the TripReview model - */ -export interface TripReviewFieldRefs { - readonly id: Prisma.FieldRef<"TripReview", 'String'> - readonly rating: Prisma.FieldRef<"TripReview", 'Int'> - readonly comment: Prisma.FieldRef<"TripReview", 'String'> - readonly createdAt: Prisma.FieldRef<"TripReview", 'DateTime'> - readonly updatedAt: Prisma.FieldRef<"TripReview", 'DateTime'> - readonly tripId: Prisma.FieldRef<"TripReview", 'String'> - readonly userId: Prisma.FieldRef<"TripReview", 'String'> -} - - -// Custom InputTypes -/** - * TripReview findUnique - */ -export type TripReviewFindUniqueArgs = { - /** - * Select specific fields to fetch from the TripReview - */ - select?: Prisma.TripReviewSelect | null - /** - * Omit specific fields from the TripReview - */ - omit?: Prisma.TripReviewOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TripReviewInclude | null - /** - * Filter, which TripReview to fetch. - */ - where: Prisma.TripReviewWhereUniqueInput -} - -/** - * TripReview findUniqueOrThrow - */ -export type TripReviewFindUniqueOrThrowArgs = { - /** - * Select specific fields to fetch from the TripReview - */ - select?: Prisma.TripReviewSelect | null - /** - * Omit specific fields from the TripReview - */ - omit?: Prisma.TripReviewOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TripReviewInclude | null - /** - * Filter, which TripReview to fetch. - */ - where: Prisma.TripReviewWhereUniqueInput -} - -/** - * TripReview findFirst - */ -export type TripReviewFindFirstArgs = { - /** - * Select specific fields to fetch from the TripReview - */ - select?: Prisma.TripReviewSelect | null - /** - * Omit specific fields from the TripReview - */ - omit?: Prisma.TripReviewOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TripReviewInclude | null - /** - * Filter, which TripReview to fetch. - */ - where?: Prisma.TripReviewWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of TripReviews to fetch. - */ - orderBy?: Prisma.TripReviewOrderByWithRelationInput | Prisma.TripReviewOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for TripReviews. - */ - cursor?: Prisma.TripReviewWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` TripReviews 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` TripReviews. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of TripReviews. - */ - distinct?: Prisma.TripReviewScalarFieldEnum | Prisma.TripReviewScalarFieldEnum[] -} - -/** - * TripReview findFirstOrThrow - */ -export type TripReviewFindFirstOrThrowArgs = { - /** - * Select specific fields to fetch from the TripReview - */ - select?: Prisma.TripReviewSelect | null - /** - * Omit specific fields from the TripReview - */ - omit?: Prisma.TripReviewOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TripReviewInclude | null - /** - * Filter, which TripReview to fetch. - */ - where?: Prisma.TripReviewWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of TripReviews to fetch. - */ - orderBy?: Prisma.TripReviewOrderByWithRelationInput | Prisma.TripReviewOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for TripReviews. - */ - cursor?: Prisma.TripReviewWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` TripReviews 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` TripReviews. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of TripReviews. - */ - distinct?: Prisma.TripReviewScalarFieldEnum | Prisma.TripReviewScalarFieldEnum[] -} - -/** - * TripReview findMany - */ -export type TripReviewFindManyArgs = { - /** - * Select specific fields to fetch from the TripReview - */ - select?: Prisma.TripReviewSelect | null - /** - * Omit specific fields from the TripReview - */ - omit?: Prisma.TripReviewOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TripReviewInclude | null - /** - * Filter, which TripReviews to fetch. - */ - where?: Prisma.TripReviewWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of TripReviews to fetch. - */ - orderBy?: Prisma.TripReviewOrderByWithRelationInput | Prisma.TripReviewOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for listing TripReviews. - */ - cursor?: Prisma.TripReviewWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` TripReviews 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` TripReviews. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of TripReviews. - */ - distinct?: Prisma.TripReviewScalarFieldEnum | Prisma.TripReviewScalarFieldEnum[] -} - -/** - * TripReview create - */ -export type TripReviewCreateArgs = { - /** - * Select specific fields to fetch from the TripReview - */ - select?: Prisma.TripReviewSelect | null - /** - * Omit specific fields from the TripReview - */ - omit?: Prisma.TripReviewOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TripReviewInclude | null - /** - * The data needed to create a TripReview. - */ - data: Prisma.XOR -} - -/** - * TripReview createMany - */ -export type TripReviewCreateManyArgs = { - /** - * The data used to create many TripReviews. - */ - data: Prisma.TripReviewCreateManyInput | Prisma.TripReviewCreateManyInput[] - skipDuplicates?: boolean -} - -/** - * TripReview createManyAndReturn - */ -export type TripReviewCreateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the TripReview - */ - select?: Prisma.TripReviewSelectCreateManyAndReturn | null - /** - * Omit specific fields from the TripReview - */ - omit?: Prisma.TripReviewOmit | null - /** - * The data used to create many TripReviews. - */ - data: Prisma.TripReviewCreateManyInput | Prisma.TripReviewCreateManyInput[] - skipDuplicates?: boolean - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TripReviewIncludeCreateManyAndReturn | null -} - -/** - * TripReview update - */ -export type TripReviewUpdateArgs = { - /** - * Select specific fields to fetch from the TripReview - */ - select?: Prisma.TripReviewSelect | null - /** - * Omit specific fields from the TripReview - */ - omit?: Prisma.TripReviewOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TripReviewInclude | null - /** - * The data needed to update a TripReview. - */ - data: Prisma.XOR - /** - * Choose, which TripReview to update. - */ - where: Prisma.TripReviewWhereUniqueInput -} - -/** - * TripReview updateMany - */ -export type TripReviewUpdateManyArgs = { - /** - * The data used to update TripReviews. - */ - data: Prisma.XOR - /** - * Filter which TripReviews to update - */ - where?: Prisma.TripReviewWhereInput - /** - * Limit how many TripReviews to update. - */ - limit?: number -} - -/** - * TripReview updateManyAndReturn - */ -export type TripReviewUpdateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the TripReview - */ - select?: Prisma.TripReviewSelectUpdateManyAndReturn | null - /** - * Omit specific fields from the TripReview - */ - omit?: Prisma.TripReviewOmit | null - /** - * The data used to update TripReviews. - */ - data: Prisma.XOR - /** - * Filter which TripReviews to update - */ - where?: Prisma.TripReviewWhereInput - /** - * Limit how many TripReviews to update. - */ - limit?: number - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TripReviewIncludeUpdateManyAndReturn | null -} - -/** - * TripReview upsert - */ -export type TripReviewUpsertArgs = { - /** - * Select specific fields to fetch from the TripReview - */ - select?: Prisma.TripReviewSelect | null - /** - * Omit specific fields from the TripReview - */ - omit?: Prisma.TripReviewOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TripReviewInclude | null - /** - * The filter to search for the TripReview to update in case it exists. - */ - where: Prisma.TripReviewWhereUniqueInput - /** - * In case the TripReview found by the `where` argument doesn't exist, create a new TripReview with this data. - */ - create: Prisma.XOR - /** - * In case the TripReview was found with the provided `where` argument, update it with this data. - */ - update: Prisma.XOR -} - -/** - * TripReview delete - */ -export type TripReviewDeleteArgs = { - /** - * Select specific fields to fetch from the TripReview - */ - select?: Prisma.TripReviewSelect | null - /** - * Omit specific fields from the TripReview - */ - omit?: Prisma.TripReviewOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TripReviewInclude | null - /** - * Filter which TripReview to delete. - */ - where: Prisma.TripReviewWhereUniqueInput -} - -/** - * TripReview deleteMany - */ -export type TripReviewDeleteManyArgs = { - /** - * Filter which TripReviews to delete - */ - where?: Prisma.TripReviewWhereInput - /** - * Limit how many TripReviews to delete. - */ - limit?: number -} - -/** - * TripReview without action - */ -export type TripReviewDefaultArgs = { - /** - * Select specific fields to fetch from the TripReview - */ - select?: Prisma.TripReviewSelect | null - /** - * Omit specific fields from the TripReview - */ - omit?: Prisma.TripReviewOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TripReviewInclude | null -} diff --git a/app/generated/prisma/models/User.ts b/app/generated/prisma/models/User.ts deleted file mode 100644 index 3eccb2e..0000000 --- a/app/generated/prisma/models/User.ts +++ /dev/null @@ -1,2796 +0,0 @@ - -/* !!! This is code generated by Prisma. Do not edit directly. !!! */ -/* eslint-disable */ -// biome-ignore-all lint: generated file -// @ts-nocheck -/* - * This file exports the `User` 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 User - * - */ -export type UserModel = runtime.Types.Result.DefaultSelection - -export type AggregateUser = { - _count: UserCountAggregateOutputType | null - _min: UserMinAggregateOutputType | null - _max: UserMaxAggregateOutputType | null -} - -export type UserMinAggregateOutputType = { - id: string | null - name: string | null - email: string | null - password: string | null - image: string | null - emailVerified: Date | null - acceptedTermsAndPrivacy: boolean | null - acceptedAt: Date | null - createdAt: Date | null - updatedAt: Date | null -} - -export type UserMaxAggregateOutputType = { - id: string | null - name: string | null - email: string | null - password: string | null - image: string | null - emailVerified: Date | null - acceptedTermsAndPrivacy: boolean | null - acceptedAt: Date | null - createdAt: Date | null - updatedAt: Date | null -} - -export type UserCountAggregateOutputType = { - id: number - name: number - email: number - password: number - image: number - emailVerified: number - acceptedTermsAndPrivacy: number - acceptedAt: number - createdAt: number - updatedAt: number - _all: number -} - - -export type UserMinAggregateInputType = { - id?: true - name?: true - email?: true - password?: true - image?: true - emailVerified?: true - acceptedTermsAndPrivacy?: true - acceptedAt?: true - createdAt?: true - updatedAt?: true -} - -export type UserMaxAggregateInputType = { - id?: true - name?: true - email?: true - password?: true - image?: true - emailVerified?: true - acceptedTermsAndPrivacy?: true - acceptedAt?: true - createdAt?: true - updatedAt?: true -} - -export type UserCountAggregateInputType = { - id?: true - name?: true - email?: true - password?: true - image?: true - emailVerified?: true - acceptedTermsAndPrivacy?: true - acceptedAt?: true - createdAt?: true - updatedAt?: true - _all?: true -} - -export type UserAggregateArgs = { - /** - * Filter which User to aggregate. - */ - where?: Prisma.UserWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Users to fetch. - */ - orderBy?: Prisma.UserOrderByWithRelationInput | Prisma.UserOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the start position - */ - cursor?: Prisma.UserWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Users 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` Users. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Count returned Users - **/ - _count?: true | UserCountAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the minimum value - **/ - _min?: UserMinAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the maximum value - **/ - _max?: UserMaxAggregateInputType -} - -export type GetUserAggregateType = { - [P in keyof T & keyof AggregateUser]: P extends '_count' | 'count' - ? T[P] extends true - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType -} - - - - -export type UserGroupByArgs = { - where?: Prisma.UserWhereInput - orderBy?: Prisma.UserOrderByWithAggregationInput | Prisma.UserOrderByWithAggregationInput[] - by: Prisma.UserScalarFieldEnum[] | Prisma.UserScalarFieldEnum - having?: Prisma.UserScalarWhereWithAggregatesInput - take?: number - skip?: number - _count?: UserCountAggregateInputType | true - _min?: UserMinAggregateInputType - _max?: UserMaxAggregateInputType -} - -export type UserGroupByOutputType = { - id: string - name: string - email: string - password: string | null - image: string | null - emailVerified: Date | null - acceptedTermsAndPrivacy: boolean - acceptedAt: Date | null - createdAt: Date - updatedAt: Date - _count: UserCountAggregateOutputType | null - _min: UserMinAggregateOutputType | null - _max: UserMaxAggregateOutputType | null -} - -export type GetUserGroupByPayload = Prisma.PrismaPromise< - Array< - Prisma.PickEnumerable & - { - [P in ((keyof T) & (keyof UserGroupByOutputType))]: P extends '_count' - ? T[P] extends boolean - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType - } - > - > - - - -export type UserWhereInput = { - AND?: Prisma.UserWhereInput | Prisma.UserWhereInput[] - OR?: Prisma.UserWhereInput[] - NOT?: Prisma.UserWhereInput | Prisma.UserWhereInput[] - id?: Prisma.StringFilter<"User"> | string - name?: Prisma.StringFilter<"User"> | string - email?: Prisma.StringFilter<"User"> | string - password?: Prisma.StringNullableFilter<"User"> | string | null - image?: Prisma.StringNullableFilter<"User"> | string | null - emailVerified?: Prisma.DateTimeNullableFilter<"User"> | Date | string | null - acceptedTermsAndPrivacy?: Prisma.BoolFilter<"User"> | boolean - acceptedAt?: Prisma.DateTimeNullableFilter<"User"> | Date | string | null - createdAt?: Prisma.DateTimeFilter<"User"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"User"> | Date | string - accounts?: Prisma.AccountListRelationFilter - trips?: Prisma.TripListRelationFilter - participations?: Prisma.TripParticipantListRelationFilter - tripReviews?: Prisma.TripReviewListRelationFilter - bookings?: Prisma.BookingListRelationFilter - organizerVerification?: Prisma.XOR | null - reviewedVerifications?: Prisma.OrganizerVerificationListRelationFilter - reviewedRefunds?: Prisma.RefundListRelationFilter - profile?: Prisma.XOR | null -} - -export type UserOrderByWithRelationInput = { - id?: Prisma.SortOrder - name?: Prisma.SortOrder - email?: Prisma.SortOrder - password?: Prisma.SortOrderInput | Prisma.SortOrder - image?: Prisma.SortOrderInput | Prisma.SortOrder - emailVerified?: Prisma.SortOrderInput | Prisma.SortOrder - acceptedTermsAndPrivacy?: Prisma.SortOrder - acceptedAt?: Prisma.SortOrderInput | Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - accounts?: Prisma.AccountOrderByRelationAggregateInput - trips?: Prisma.TripOrderByRelationAggregateInput - participations?: Prisma.TripParticipantOrderByRelationAggregateInput - tripReviews?: Prisma.TripReviewOrderByRelationAggregateInput - bookings?: Prisma.BookingOrderByRelationAggregateInput - organizerVerification?: Prisma.OrganizerVerificationOrderByWithRelationInput - reviewedVerifications?: Prisma.OrganizerVerificationOrderByRelationAggregateInput - reviewedRefunds?: Prisma.RefundOrderByRelationAggregateInput - profile?: Prisma.UserProfileOrderByWithRelationInput -} - -export type UserWhereUniqueInput = Prisma.AtLeast<{ - id?: string - email?: string - AND?: Prisma.UserWhereInput | Prisma.UserWhereInput[] - OR?: Prisma.UserWhereInput[] - NOT?: Prisma.UserWhereInput | Prisma.UserWhereInput[] - name?: Prisma.StringFilter<"User"> | string - password?: Prisma.StringNullableFilter<"User"> | string | null - image?: Prisma.StringNullableFilter<"User"> | string | null - emailVerified?: Prisma.DateTimeNullableFilter<"User"> | Date | string | null - acceptedTermsAndPrivacy?: Prisma.BoolFilter<"User"> | boolean - acceptedAt?: Prisma.DateTimeNullableFilter<"User"> | Date | string | null - createdAt?: Prisma.DateTimeFilter<"User"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"User"> | Date | string - accounts?: Prisma.AccountListRelationFilter - trips?: Prisma.TripListRelationFilter - participations?: Prisma.TripParticipantListRelationFilter - tripReviews?: Prisma.TripReviewListRelationFilter - bookings?: Prisma.BookingListRelationFilter - organizerVerification?: Prisma.XOR | null - reviewedVerifications?: Prisma.OrganizerVerificationListRelationFilter - reviewedRefunds?: Prisma.RefundListRelationFilter - profile?: Prisma.XOR | null -}, "id" | "email"> - -export type UserOrderByWithAggregationInput = { - id?: Prisma.SortOrder - name?: Prisma.SortOrder - email?: Prisma.SortOrder - password?: Prisma.SortOrderInput | Prisma.SortOrder - image?: Prisma.SortOrderInput | Prisma.SortOrder - emailVerified?: Prisma.SortOrderInput | Prisma.SortOrder - acceptedTermsAndPrivacy?: Prisma.SortOrder - acceptedAt?: Prisma.SortOrderInput | Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - _count?: Prisma.UserCountOrderByAggregateInput - _max?: Prisma.UserMaxOrderByAggregateInput - _min?: Prisma.UserMinOrderByAggregateInput -} - -export type UserScalarWhereWithAggregatesInput = { - AND?: Prisma.UserScalarWhereWithAggregatesInput | Prisma.UserScalarWhereWithAggregatesInput[] - OR?: Prisma.UserScalarWhereWithAggregatesInput[] - NOT?: Prisma.UserScalarWhereWithAggregatesInput | Prisma.UserScalarWhereWithAggregatesInput[] - id?: Prisma.StringWithAggregatesFilter<"User"> | string - name?: Prisma.StringWithAggregatesFilter<"User"> | string - email?: Prisma.StringWithAggregatesFilter<"User"> | string - password?: Prisma.StringNullableWithAggregatesFilter<"User"> | string | null - image?: Prisma.StringNullableWithAggregatesFilter<"User"> | string | null - emailVerified?: Prisma.DateTimeNullableWithAggregatesFilter<"User"> | Date | string | null - acceptedTermsAndPrivacy?: Prisma.BoolWithAggregatesFilter<"User"> | boolean - acceptedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"User"> | Date | string | null - createdAt?: Prisma.DateTimeWithAggregatesFilter<"User"> | Date | string - updatedAt?: Prisma.DateTimeWithAggregatesFilter<"User"> | Date | string -} - -export type UserCreateInput = { - id?: string - name: string - email: string - password?: string | null - image?: string | null - emailVerified?: Date | string | null - acceptedTermsAndPrivacy?: boolean - acceptedAt?: Date | string | null - createdAt?: Date | string - updatedAt?: Date | string - accounts?: Prisma.AccountCreateNestedManyWithoutUserInput - trips?: Prisma.TripCreateNestedManyWithoutOrganizerInput - participations?: Prisma.TripParticipantCreateNestedManyWithoutUserInput - tripReviews?: Prisma.TripReviewCreateNestedManyWithoutUserInput - bookings?: Prisma.BookingCreateNestedManyWithoutUserInput - organizerVerification?: Prisma.OrganizerVerificationCreateNestedOneWithoutUserInput - reviewedVerifications?: Prisma.OrganizerVerificationCreateNestedManyWithoutReviewedByInput - reviewedRefunds?: Prisma.RefundCreateNestedManyWithoutReviewedByInput - profile?: Prisma.UserProfileCreateNestedOneWithoutUserInput -} - -export type UserUncheckedCreateInput = { - id?: string - name: string - email: string - password?: string | null - image?: string | null - emailVerified?: Date | string | null - acceptedTermsAndPrivacy?: boolean - acceptedAt?: Date | string | null - createdAt?: Date | string - updatedAt?: Date | string - accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutUserInput - trips?: Prisma.TripUncheckedCreateNestedManyWithoutOrganizerInput - participations?: Prisma.TripParticipantUncheckedCreateNestedManyWithoutUserInput - tripReviews?: Prisma.TripReviewUncheckedCreateNestedManyWithoutUserInput - bookings?: Prisma.BookingUncheckedCreateNestedManyWithoutUserInput - organizerVerification?: Prisma.OrganizerVerificationUncheckedCreateNestedOneWithoutUserInput - reviewedVerifications?: Prisma.OrganizerVerificationUncheckedCreateNestedManyWithoutReviewedByInput - reviewedRefunds?: Prisma.RefundUncheckedCreateNestedManyWithoutReviewedByInput - profile?: Prisma.UserProfileUncheckedCreateNestedOneWithoutUserInput -} - -export type UserUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - email?: Prisma.StringFieldUpdateOperationsInput | string - password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - emailVerified?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - acceptedTermsAndPrivacy?: Prisma.BoolFieldUpdateOperationsInput | boolean - acceptedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - accounts?: Prisma.AccountUpdateManyWithoutUserNestedInput - trips?: Prisma.TripUpdateManyWithoutOrganizerNestedInput - participations?: Prisma.TripParticipantUpdateManyWithoutUserNestedInput - tripReviews?: Prisma.TripReviewUpdateManyWithoutUserNestedInput - bookings?: Prisma.BookingUpdateManyWithoutUserNestedInput - organizerVerification?: Prisma.OrganizerVerificationUpdateOneWithoutUserNestedInput - reviewedVerifications?: Prisma.OrganizerVerificationUpdateManyWithoutReviewedByNestedInput - reviewedRefunds?: Prisma.RefundUpdateManyWithoutReviewedByNestedInput - profile?: Prisma.UserProfileUpdateOneWithoutUserNestedInput -} - -export type UserUncheckedUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - email?: Prisma.StringFieldUpdateOperationsInput | string - password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - emailVerified?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - acceptedTermsAndPrivacy?: Prisma.BoolFieldUpdateOperationsInput | boolean - acceptedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - accounts?: Prisma.AccountUncheckedUpdateManyWithoutUserNestedInput - trips?: Prisma.TripUncheckedUpdateManyWithoutOrganizerNestedInput - participations?: Prisma.TripParticipantUncheckedUpdateManyWithoutUserNestedInput - tripReviews?: Prisma.TripReviewUncheckedUpdateManyWithoutUserNestedInput - bookings?: Prisma.BookingUncheckedUpdateManyWithoutUserNestedInput - organizerVerification?: Prisma.OrganizerVerificationUncheckedUpdateOneWithoutUserNestedInput - reviewedVerifications?: Prisma.OrganizerVerificationUncheckedUpdateManyWithoutReviewedByNestedInput - reviewedRefunds?: Prisma.RefundUncheckedUpdateManyWithoutReviewedByNestedInput - profile?: Prisma.UserProfileUncheckedUpdateOneWithoutUserNestedInput -} - -export type UserCreateManyInput = { - id?: string - name: string - email: string - password?: string | null - image?: string | null - emailVerified?: Date | string | null - acceptedTermsAndPrivacy?: boolean - acceptedAt?: Date | string | null - createdAt?: Date | string - updatedAt?: Date | string -} - -export type UserUpdateManyMutationInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - email?: Prisma.StringFieldUpdateOperationsInput | string - password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - emailVerified?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - acceptedTermsAndPrivacy?: Prisma.BoolFieldUpdateOperationsInput | boolean - acceptedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - -export type UserUncheckedUpdateManyInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - email?: Prisma.StringFieldUpdateOperationsInput | string - password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - emailVerified?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - acceptedTermsAndPrivacy?: Prisma.BoolFieldUpdateOperationsInput | boolean - acceptedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - -export type UserCountOrderByAggregateInput = { - id?: Prisma.SortOrder - name?: Prisma.SortOrder - email?: Prisma.SortOrder - password?: Prisma.SortOrder - image?: Prisma.SortOrder - emailVerified?: Prisma.SortOrder - acceptedTermsAndPrivacy?: Prisma.SortOrder - acceptedAt?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder -} - -export type UserMaxOrderByAggregateInput = { - id?: Prisma.SortOrder - name?: Prisma.SortOrder - email?: Prisma.SortOrder - password?: Prisma.SortOrder - image?: Prisma.SortOrder - emailVerified?: Prisma.SortOrder - acceptedTermsAndPrivacy?: Prisma.SortOrder - acceptedAt?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder -} - -export type UserMinOrderByAggregateInput = { - id?: Prisma.SortOrder - name?: Prisma.SortOrder - email?: Prisma.SortOrder - password?: Prisma.SortOrder - image?: Prisma.SortOrder - emailVerified?: Prisma.SortOrder - acceptedTermsAndPrivacy?: Prisma.SortOrder - acceptedAt?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder -} - -export type UserScalarRelationFilter = { - is?: Prisma.UserWhereInput - isNot?: Prisma.UserWhereInput -} - -export type UserNullableScalarRelationFilter = { - is?: Prisma.UserWhereInput | null - isNot?: Prisma.UserWhereInput | null -} - -export type StringFieldUpdateOperationsInput = { - set?: string -} - -export type NullableStringFieldUpdateOperationsInput = { - set?: string | null -} - -export type NullableDateTimeFieldUpdateOperationsInput = { - set?: Date | string | null -} - -export type BoolFieldUpdateOperationsInput = { - set?: boolean -} - -export type DateTimeFieldUpdateOperationsInput = { - set?: Date | string -} - -export type UserCreateNestedOneWithoutProfileInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.UserCreateOrConnectWithoutProfileInput - connect?: Prisma.UserWhereUniqueInput -} - -export type UserUpdateOneRequiredWithoutProfileNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.UserCreateOrConnectWithoutProfileInput - upsert?: Prisma.UserUpsertWithoutProfileInput - connect?: Prisma.UserWhereUniqueInput - update?: Prisma.XOR, Prisma.UserUncheckedUpdateWithoutProfileInput> -} - -export type UserCreateNestedOneWithoutAccountsInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.UserCreateOrConnectWithoutAccountsInput - connect?: Prisma.UserWhereUniqueInput -} - -export type UserUpdateOneRequiredWithoutAccountsNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.UserCreateOrConnectWithoutAccountsInput - upsert?: Prisma.UserUpsertWithoutAccountsInput - connect?: Prisma.UserWhereUniqueInput - update?: Prisma.XOR, Prisma.UserUncheckedUpdateWithoutAccountsInput> -} - -export type UserCreateNestedOneWithoutOrganizerVerificationInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.UserCreateOrConnectWithoutOrganizerVerificationInput - connect?: Prisma.UserWhereUniqueInput -} - -export type UserCreateNestedOneWithoutReviewedVerificationsInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.UserCreateOrConnectWithoutReviewedVerificationsInput - connect?: Prisma.UserWhereUniqueInput -} - -export type UserUpdateOneRequiredWithoutOrganizerVerificationNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.UserCreateOrConnectWithoutOrganizerVerificationInput - upsert?: Prisma.UserUpsertWithoutOrganizerVerificationInput - connect?: Prisma.UserWhereUniqueInput - update?: Prisma.XOR, Prisma.UserUncheckedUpdateWithoutOrganizerVerificationInput> -} - -export type UserUpdateOneWithoutReviewedVerificationsNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.UserCreateOrConnectWithoutReviewedVerificationsInput - upsert?: Prisma.UserUpsertWithoutReviewedVerificationsInput - disconnect?: Prisma.UserWhereInput | boolean - delete?: Prisma.UserWhereInput | boolean - connect?: Prisma.UserWhereUniqueInput - update?: Prisma.XOR, Prisma.UserUncheckedUpdateWithoutReviewedVerificationsInput> -} - -export type UserCreateNestedOneWithoutTripsInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.UserCreateOrConnectWithoutTripsInput - connect?: Prisma.UserWhereUniqueInput -} - -export type UserUpdateOneRequiredWithoutTripsNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.UserCreateOrConnectWithoutTripsInput - upsert?: Prisma.UserUpsertWithoutTripsInput - connect?: Prisma.UserWhereUniqueInput - update?: Prisma.XOR, Prisma.UserUncheckedUpdateWithoutTripsInput> -} - -export type UserCreateNestedOneWithoutTripReviewsInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.UserCreateOrConnectWithoutTripReviewsInput - connect?: Prisma.UserWhereUniqueInput -} - -export type UserUpdateOneRequiredWithoutTripReviewsNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.UserCreateOrConnectWithoutTripReviewsInput - upsert?: Prisma.UserUpsertWithoutTripReviewsInput - connect?: Prisma.UserWhereUniqueInput - update?: Prisma.XOR, Prisma.UserUncheckedUpdateWithoutTripReviewsInput> -} - -export type UserCreateNestedOneWithoutParticipationsInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.UserCreateOrConnectWithoutParticipationsInput - connect?: Prisma.UserWhereUniqueInput -} - -export type UserUpdateOneRequiredWithoutParticipationsNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.UserCreateOrConnectWithoutParticipationsInput - upsert?: Prisma.UserUpsertWithoutParticipationsInput - connect?: Prisma.UserWhereUniqueInput - update?: Prisma.XOR, Prisma.UserUncheckedUpdateWithoutParticipationsInput> -} - -export type UserCreateNestedOneWithoutBookingsInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.UserCreateOrConnectWithoutBookingsInput - connect?: Prisma.UserWhereUniqueInput -} - -export type UserUpdateOneRequiredWithoutBookingsNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.UserCreateOrConnectWithoutBookingsInput - upsert?: Prisma.UserUpsertWithoutBookingsInput - connect?: Prisma.UserWhereUniqueInput - update?: Prisma.XOR, Prisma.UserUncheckedUpdateWithoutBookingsInput> -} - -export type UserCreateNestedOneWithoutReviewedRefundsInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.UserCreateOrConnectWithoutReviewedRefundsInput - connect?: Prisma.UserWhereUniqueInput -} - -export type UserUpdateOneWithoutReviewedRefundsNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.UserCreateOrConnectWithoutReviewedRefundsInput - upsert?: Prisma.UserUpsertWithoutReviewedRefundsInput - disconnect?: Prisma.UserWhereInput | boolean - delete?: Prisma.UserWhereInput | boolean - connect?: Prisma.UserWhereUniqueInput - update?: Prisma.XOR, Prisma.UserUncheckedUpdateWithoutReviewedRefundsInput> -} - -export type UserCreateWithoutProfileInput = { - id?: string - name: string - email: string - password?: string | null - image?: string | null - emailVerified?: Date | string | null - acceptedTermsAndPrivacy?: boolean - acceptedAt?: Date | string | null - createdAt?: Date | string - updatedAt?: Date | string - accounts?: Prisma.AccountCreateNestedManyWithoutUserInput - trips?: Prisma.TripCreateNestedManyWithoutOrganizerInput - participations?: Prisma.TripParticipantCreateNestedManyWithoutUserInput - tripReviews?: Prisma.TripReviewCreateNestedManyWithoutUserInput - bookings?: Prisma.BookingCreateNestedManyWithoutUserInput - organizerVerification?: Prisma.OrganizerVerificationCreateNestedOneWithoutUserInput - reviewedVerifications?: Prisma.OrganizerVerificationCreateNestedManyWithoutReviewedByInput - reviewedRefunds?: Prisma.RefundCreateNestedManyWithoutReviewedByInput -} - -export type UserUncheckedCreateWithoutProfileInput = { - id?: string - name: string - email: string - password?: string | null - image?: string | null - emailVerified?: Date | string | null - acceptedTermsAndPrivacy?: boolean - acceptedAt?: Date | string | null - createdAt?: Date | string - updatedAt?: Date | string - accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutUserInput - trips?: Prisma.TripUncheckedCreateNestedManyWithoutOrganizerInput - participations?: Prisma.TripParticipantUncheckedCreateNestedManyWithoutUserInput - tripReviews?: Prisma.TripReviewUncheckedCreateNestedManyWithoutUserInput - bookings?: Prisma.BookingUncheckedCreateNestedManyWithoutUserInput - organizerVerification?: Prisma.OrganizerVerificationUncheckedCreateNestedOneWithoutUserInput - reviewedVerifications?: Prisma.OrganizerVerificationUncheckedCreateNestedManyWithoutReviewedByInput - reviewedRefunds?: Prisma.RefundUncheckedCreateNestedManyWithoutReviewedByInput -} - -export type UserCreateOrConnectWithoutProfileInput = { - where: Prisma.UserWhereUniqueInput - create: Prisma.XOR -} - -export type UserUpsertWithoutProfileInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.UserWhereInput -} - -export type UserUpdateToOneWithWhereWithoutProfileInput = { - where?: Prisma.UserWhereInput - data: Prisma.XOR -} - -export type UserUpdateWithoutProfileInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - email?: Prisma.StringFieldUpdateOperationsInput | string - password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - emailVerified?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - acceptedTermsAndPrivacy?: Prisma.BoolFieldUpdateOperationsInput | boolean - acceptedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - accounts?: Prisma.AccountUpdateManyWithoutUserNestedInput - trips?: Prisma.TripUpdateManyWithoutOrganizerNestedInput - participations?: Prisma.TripParticipantUpdateManyWithoutUserNestedInput - tripReviews?: Prisma.TripReviewUpdateManyWithoutUserNestedInput - bookings?: Prisma.BookingUpdateManyWithoutUserNestedInput - organizerVerification?: Prisma.OrganizerVerificationUpdateOneWithoutUserNestedInput - reviewedVerifications?: Prisma.OrganizerVerificationUpdateManyWithoutReviewedByNestedInput - reviewedRefunds?: Prisma.RefundUpdateManyWithoutReviewedByNestedInput -} - -export type UserUncheckedUpdateWithoutProfileInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - email?: Prisma.StringFieldUpdateOperationsInput | string - password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - emailVerified?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - acceptedTermsAndPrivacy?: Prisma.BoolFieldUpdateOperationsInput | boolean - acceptedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - accounts?: Prisma.AccountUncheckedUpdateManyWithoutUserNestedInput - trips?: Prisma.TripUncheckedUpdateManyWithoutOrganizerNestedInput - participations?: Prisma.TripParticipantUncheckedUpdateManyWithoutUserNestedInput - tripReviews?: Prisma.TripReviewUncheckedUpdateManyWithoutUserNestedInput - bookings?: Prisma.BookingUncheckedUpdateManyWithoutUserNestedInput - organizerVerification?: Prisma.OrganizerVerificationUncheckedUpdateOneWithoutUserNestedInput - reviewedVerifications?: Prisma.OrganizerVerificationUncheckedUpdateManyWithoutReviewedByNestedInput - reviewedRefunds?: Prisma.RefundUncheckedUpdateManyWithoutReviewedByNestedInput -} - -export type UserCreateWithoutAccountsInput = { - id?: string - name: string - email: string - password?: string | null - image?: string | null - emailVerified?: Date | string | null - acceptedTermsAndPrivacy?: boolean - acceptedAt?: Date | string | null - createdAt?: Date | string - updatedAt?: Date | string - trips?: Prisma.TripCreateNestedManyWithoutOrganizerInput - participations?: Prisma.TripParticipantCreateNestedManyWithoutUserInput - tripReviews?: Prisma.TripReviewCreateNestedManyWithoutUserInput - bookings?: Prisma.BookingCreateNestedManyWithoutUserInput - organizerVerification?: Prisma.OrganizerVerificationCreateNestedOneWithoutUserInput - reviewedVerifications?: Prisma.OrganizerVerificationCreateNestedManyWithoutReviewedByInput - reviewedRefunds?: Prisma.RefundCreateNestedManyWithoutReviewedByInput - profile?: Prisma.UserProfileCreateNestedOneWithoutUserInput -} - -export type UserUncheckedCreateWithoutAccountsInput = { - id?: string - name: string - email: string - password?: string | null - image?: string | null - emailVerified?: Date | string | null - acceptedTermsAndPrivacy?: boolean - acceptedAt?: Date | string | null - createdAt?: Date | string - updatedAt?: Date | string - trips?: Prisma.TripUncheckedCreateNestedManyWithoutOrganizerInput - participations?: Prisma.TripParticipantUncheckedCreateNestedManyWithoutUserInput - tripReviews?: Prisma.TripReviewUncheckedCreateNestedManyWithoutUserInput - bookings?: Prisma.BookingUncheckedCreateNestedManyWithoutUserInput - organizerVerification?: Prisma.OrganizerVerificationUncheckedCreateNestedOneWithoutUserInput - reviewedVerifications?: Prisma.OrganizerVerificationUncheckedCreateNestedManyWithoutReviewedByInput - reviewedRefunds?: Prisma.RefundUncheckedCreateNestedManyWithoutReviewedByInput - profile?: Prisma.UserProfileUncheckedCreateNestedOneWithoutUserInput -} - -export type UserCreateOrConnectWithoutAccountsInput = { - where: Prisma.UserWhereUniqueInput - create: Prisma.XOR -} - -export type UserUpsertWithoutAccountsInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.UserWhereInput -} - -export type UserUpdateToOneWithWhereWithoutAccountsInput = { - where?: Prisma.UserWhereInput - data: Prisma.XOR -} - -export type UserUpdateWithoutAccountsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - email?: Prisma.StringFieldUpdateOperationsInput | string - password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - emailVerified?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - acceptedTermsAndPrivacy?: Prisma.BoolFieldUpdateOperationsInput | boolean - acceptedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - trips?: Prisma.TripUpdateManyWithoutOrganizerNestedInput - participations?: Prisma.TripParticipantUpdateManyWithoutUserNestedInput - tripReviews?: Prisma.TripReviewUpdateManyWithoutUserNestedInput - bookings?: Prisma.BookingUpdateManyWithoutUserNestedInput - organizerVerification?: Prisma.OrganizerVerificationUpdateOneWithoutUserNestedInput - reviewedVerifications?: Prisma.OrganizerVerificationUpdateManyWithoutReviewedByNestedInput - reviewedRefunds?: Prisma.RefundUpdateManyWithoutReviewedByNestedInput - profile?: Prisma.UserProfileUpdateOneWithoutUserNestedInput -} - -export type UserUncheckedUpdateWithoutAccountsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - email?: Prisma.StringFieldUpdateOperationsInput | string - password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - emailVerified?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - acceptedTermsAndPrivacy?: Prisma.BoolFieldUpdateOperationsInput | boolean - acceptedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - trips?: Prisma.TripUncheckedUpdateManyWithoutOrganizerNestedInput - participations?: Prisma.TripParticipantUncheckedUpdateManyWithoutUserNestedInput - tripReviews?: Prisma.TripReviewUncheckedUpdateManyWithoutUserNestedInput - bookings?: Prisma.BookingUncheckedUpdateManyWithoutUserNestedInput - organizerVerification?: Prisma.OrganizerVerificationUncheckedUpdateOneWithoutUserNestedInput - reviewedVerifications?: Prisma.OrganizerVerificationUncheckedUpdateManyWithoutReviewedByNestedInput - reviewedRefunds?: Prisma.RefundUncheckedUpdateManyWithoutReviewedByNestedInput - profile?: Prisma.UserProfileUncheckedUpdateOneWithoutUserNestedInput -} - -export type UserCreateWithoutOrganizerVerificationInput = { - id?: string - name: string - email: string - password?: string | null - image?: string | null - emailVerified?: Date | string | null - acceptedTermsAndPrivacy?: boolean - acceptedAt?: Date | string | null - createdAt?: Date | string - updatedAt?: Date | string - accounts?: Prisma.AccountCreateNestedManyWithoutUserInput - trips?: Prisma.TripCreateNestedManyWithoutOrganizerInput - participations?: Prisma.TripParticipantCreateNestedManyWithoutUserInput - tripReviews?: Prisma.TripReviewCreateNestedManyWithoutUserInput - bookings?: Prisma.BookingCreateNestedManyWithoutUserInput - reviewedVerifications?: Prisma.OrganizerVerificationCreateNestedManyWithoutReviewedByInput - reviewedRefunds?: Prisma.RefundCreateNestedManyWithoutReviewedByInput - profile?: Prisma.UserProfileCreateNestedOneWithoutUserInput -} - -export type UserUncheckedCreateWithoutOrganizerVerificationInput = { - id?: string - name: string - email: string - password?: string | null - image?: string | null - emailVerified?: Date | string | null - acceptedTermsAndPrivacy?: boolean - acceptedAt?: Date | string | null - createdAt?: Date | string - updatedAt?: Date | string - accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutUserInput - trips?: Prisma.TripUncheckedCreateNestedManyWithoutOrganizerInput - participations?: Prisma.TripParticipantUncheckedCreateNestedManyWithoutUserInput - tripReviews?: Prisma.TripReviewUncheckedCreateNestedManyWithoutUserInput - bookings?: Prisma.BookingUncheckedCreateNestedManyWithoutUserInput - reviewedVerifications?: Prisma.OrganizerVerificationUncheckedCreateNestedManyWithoutReviewedByInput - reviewedRefunds?: Prisma.RefundUncheckedCreateNestedManyWithoutReviewedByInput - profile?: Prisma.UserProfileUncheckedCreateNestedOneWithoutUserInput -} - -export type UserCreateOrConnectWithoutOrganizerVerificationInput = { - where: Prisma.UserWhereUniqueInput - create: Prisma.XOR -} - -export type UserCreateWithoutReviewedVerificationsInput = { - id?: string - name: string - email: string - password?: string | null - image?: string | null - emailVerified?: Date | string | null - acceptedTermsAndPrivacy?: boolean - acceptedAt?: Date | string | null - createdAt?: Date | string - updatedAt?: Date | string - accounts?: Prisma.AccountCreateNestedManyWithoutUserInput - trips?: Prisma.TripCreateNestedManyWithoutOrganizerInput - participations?: Prisma.TripParticipantCreateNestedManyWithoutUserInput - tripReviews?: Prisma.TripReviewCreateNestedManyWithoutUserInput - bookings?: Prisma.BookingCreateNestedManyWithoutUserInput - organizerVerification?: Prisma.OrganizerVerificationCreateNestedOneWithoutUserInput - reviewedRefunds?: Prisma.RefundCreateNestedManyWithoutReviewedByInput - profile?: Prisma.UserProfileCreateNestedOneWithoutUserInput -} - -export type UserUncheckedCreateWithoutReviewedVerificationsInput = { - id?: string - name: string - email: string - password?: string | null - image?: string | null - emailVerified?: Date | string | null - acceptedTermsAndPrivacy?: boolean - acceptedAt?: Date | string | null - createdAt?: Date | string - updatedAt?: Date | string - accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutUserInput - trips?: Prisma.TripUncheckedCreateNestedManyWithoutOrganizerInput - participations?: Prisma.TripParticipantUncheckedCreateNestedManyWithoutUserInput - tripReviews?: Prisma.TripReviewUncheckedCreateNestedManyWithoutUserInput - bookings?: Prisma.BookingUncheckedCreateNestedManyWithoutUserInput - organizerVerification?: Prisma.OrganizerVerificationUncheckedCreateNestedOneWithoutUserInput - reviewedRefunds?: Prisma.RefundUncheckedCreateNestedManyWithoutReviewedByInput - profile?: Prisma.UserProfileUncheckedCreateNestedOneWithoutUserInput -} - -export type UserCreateOrConnectWithoutReviewedVerificationsInput = { - where: Prisma.UserWhereUniqueInput - create: Prisma.XOR -} - -export type UserUpsertWithoutOrganizerVerificationInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.UserWhereInput -} - -export type UserUpdateToOneWithWhereWithoutOrganizerVerificationInput = { - where?: Prisma.UserWhereInput - data: Prisma.XOR -} - -export type UserUpdateWithoutOrganizerVerificationInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - email?: Prisma.StringFieldUpdateOperationsInput | string - password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - emailVerified?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - acceptedTermsAndPrivacy?: Prisma.BoolFieldUpdateOperationsInput | boolean - acceptedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - accounts?: Prisma.AccountUpdateManyWithoutUserNestedInput - trips?: Prisma.TripUpdateManyWithoutOrganizerNestedInput - participations?: Prisma.TripParticipantUpdateManyWithoutUserNestedInput - tripReviews?: Prisma.TripReviewUpdateManyWithoutUserNestedInput - bookings?: Prisma.BookingUpdateManyWithoutUserNestedInput - reviewedVerifications?: Prisma.OrganizerVerificationUpdateManyWithoutReviewedByNestedInput - reviewedRefunds?: Prisma.RefundUpdateManyWithoutReviewedByNestedInput - profile?: Prisma.UserProfileUpdateOneWithoutUserNestedInput -} - -export type UserUncheckedUpdateWithoutOrganizerVerificationInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - email?: Prisma.StringFieldUpdateOperationsInput | string - password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - emailVerified?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - acceptedTermsAndPrivacy?: Prisma.BoolFieldUpdateOperationsInput | boolean - acceptedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - accounts?: Prisma.AccountUncheckedUpdateManyWithoutUserNestedInput - trips?: Prisma.TripUncheckedUpdateManyWithoutOrganizerNestedInput - participations?: Prisma.TripParticipantUncheckedUpdateManyWithoutUserNestedInput - tripReviews?: Prisma.TripReviewUncheckedUpdateManyWithoutUserNestedInput - bookings?: Prisma.BookingUncheckedUpdateManyWithoutUserNestedInput - reviewedVerifications?: Prisma.OrganizerVerificationUncheckedUpdateManyWithoutReviewedByNestedInput - reviewedRefunds?: Prisma.RefundUncheckedUpdateManyWithoutReviewedByNestedInput - profile?: Prisma.UserProfileUncheckedUpdateOneWithoutUserNestedInput -} - -export type UserUpsertWithoutReviewedVerificationsInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.UserWhereInput -} - -export type UserUpdateToOneWithWhereWithoutReviewedVerificationsInput = { - where?: Prisma.UserWhereInput - data: Prisma.XOR -} - -export type UserUpdateWithoutReviewedVerificationsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - email?: Prisma.StringFieldUpdateOperationsInput | string - password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - emailVerified?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - acceptedTermsAndPrivacy?: Prisma.BoolFieldUpdateOperationsInput | boolean - acceptedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - accounts?: Prisma.AccountUpdateManyWithoutUserNestedInput - trips?: Prisma.TripUpdateManyWithoutOrganizerNestedInput - participations?: Prisma.TripParticipantUpdateManyWithoutUserNestedInput - tripReviews?: Prisma.TripReviewUpdateManyWithoutUserNestedInput - bookings?: Prisma.BookingUpdateManyWithoutUserNestedInput - organizerVerification?: Prisma.OrganizerVerificationUpdateOneWithoutUserNestedInput - reviewedRefunds?: Prisma.RefundUpdateManyWithoutReviewedByNestedInput - profile?: Prisma.UserProfileUpdateOneWithoutUserNestedInput -} - -export type UserUncheckedUpdateWithoutReviewedVerificationsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - email?: Prisma.StringFieldUpdateOperationsInput | string - password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - emailVerified?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - acceptedTermsAndPrivacy?: Prisma.BoolFieldUpdateOperationsInput | boolean - acceptedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - accounts?: Prisma.AccountUncheckedUpdateManyWithoutUserNestedInput - trips?: Prisma.TripUncheckedUpdateManyWithoutOrganizerNestedInput - participations?: Prisma.TripParticipantUncheckedUpdateManyWithoutUserNestedInput - tripReviews?: Prisma.TripReviewUncheckedUpdateManyWithoutUserNestedInput - bookings?: Prisma.BookingUncheckedUpdateManyWithoutUserNestedInput - organizerVerification?: Prisma.OrganizerVerificationUncheckedUpdateOneWithoutUserNestedInput - reviewedRefunds?: Prisma.RefundUncheckedUpdateManyWithoutReviewedByNestedInput - profile?: Prisma.UserProfileUncheckedUpdateOneWithoutUserNestedInput -} - -export type UserCreateWithoutTripsInput = { - id?: string - name: string - email: string - password?: string | null - image?: string | null - emailVerified?: Date | string | null - acceptedTermsAndPrivacy?: boolean - acceptedAt?: Date | string | null - createdAt?: Date | string - updatedAt?: Date | string - accounts?: Prisma.AccountCreateNestedManyWithoutUserInput - participations?: Prisma.TripParticipantCreateNestedManyWithoutUserInput - tripReviews?: Prisma.TripReviewCreateNestedManyWithoutUserInput - bookings?: Prisma.BookingCreateNestedManyWithoutUserInput - organizerVerification?: Prisma.OrganizerVerificationCreateNestedOneWithoutUserInput - reviewedVerifications?: Prisma.OrganizerVerificationCreateNestedManyWithoutReviewedByInput - reviewedRefunds?: Prisma.RefundCreateNestedManyWithoutReviewedByInput - profile?: Prisma.UserProfileCreateNestedOneWithoutUserInput -} - -export type UserUncheckedCreateWithoutTripsInput = { - id?: string - name: string - email: string - password?: string | null - image?: string | null - emailVerified?: Date | string | null - acceptedTermsAndPrivacy?: boolean - acceptedAt?: Date | string | null - createdAt?: Date | string - updatedAt?: Date | string - accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutUserInput - participations?: Prisma.TripParticipantUncheckedCreateNestedManyWithoutUserInput - tripReviews?: Prisma.TripReviewUncheckedCreateNestedManyWithoutUserInput - bookings?: Prisma.BookingUncheckedCreateNestedManyWithoutUserInput - organizerVerification?: Prisma.OrganizerVerificationUncheckedCreateNestedOneWithoutUserInput - reviewedVerifications?: Prisma.OrganizerVerificationUncheckedCreateNestedManyWithoutReviewedByInput - reviewedRefunds?: Prisma.RefundUncheckedCreateNestedManyWithoutReviewedByInput - profile?: Prisma.UserProfileUncheckedCreateNestedOneWithoutUserInput -} - -export type UserCreateOrConnectWithoutTripsInput = { - where: Prisma.UserWhereUniqueInput - create: Prisma.XOR -} - -export type UserUpsertWithoutTripsInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.UserWhereInput -} - -export type UserUpdateToOneWithWhereWithoutTripsInput = { - where?: Prisma.UserWhereInput - data: Prisma.XOR -} - -export type UserUpdateWithoutTripsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - email?: Prisma.StringFieldUpdateOperationsInput | string - password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - emailVerified?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - acceptedTermsAndPrivacy?: Prisma.BoolFieldUpdateOperationsInput | boolean - acceptedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - accounts?: Prisma.AccountUpdateManyWithoutUserNestedInput - participations?: Prisma.TripParticipantUpdateManyWithoutUserNestedInput - tripReviews?: Prisma.TripReviewUpdateManyWithoutUserNestedInput - bookings?: Prisma.BookingUpdateManyWithoutUserNestedInput - organizerVerification?: Prisma.OrganizerVerificationUpdateOneWithoutUserNestedInput - reviewedVerifications?: Prisma.OrganizerVerificationUpdateManyWithoutReviewedByNestedInput - reviewedRefunds?: Prisma.RefundUpdateManyWithoutReviewedByNestedInput - profile?: Prisma.UserProfileUpdateOneWithoutUserNestedInput -} - -export type UserUncheckedUpdateWithoutTripsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - email?: Prisma.StringFieldUpdateOperationsInput | string - password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - emailVerified?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - acceptedTermsAndPrivacy?: Prisma.BoolFieldUpdateOperationsInput | boolean - acceptedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - accounts?: Prisma.AccountUncheckedUpdateManyWithoutUserNestedInput - participations?: Prisma.TripParticipantUncheckedUpdateManyWithoutUserNestedInput - tripReviews?: Prisma.TripReviewUncheckedUpdateManyWithoutUserNestedInput - bookings?: Prisma.BookingUncheckedUpdateManyWithoutUserNestedInput - organizerVerification?: Prisma.OrganizerVerificationUncheckedUpdateOneWithoutUserNestedInput - reviewedVerifications?: Prisma.OrganizerVerificationUncheckedUpdateManyWithoutReviewedByNestedInput - reviewedRefunds?: Prisma.RefundUncheckedUpdateManyWithoutReviewedByNestedInput - profile?: Prisma.UserProfileUncheckedUpdateOneWithoutUserNestedInput -} - -export type UserCreateWithoutTripReviewsInput = { - id?: string - name: string - email: string - password?: string | null - image?: string | null - emailVerified?: Date | string | null - acceptedTermsAndPrivacy?: boolean - acceptedAt?: Date | string | null - createdAt?: Date | string - updatedAt?: Date | string - accounts?: Prisma.AccountCreateNestedManyWithoutUserInput - trips?: Prisma.TripCreateNestedManyWithoutOrganizerInput - participations?: Prisma.TripParticipantCreateNestedManyWithoutUserInput - bookings?: Prisma.BookingCreateNestedManyWithoutUserInput - organizerVerification?: Prisma.OrganizerVerificationCreateNestedOneWithoutUserInput - reviewedVerifications?: Prisma.OrganizerVerificationCreateNestedManyWithoutReviewedByInput - reviewedRefunds?: Prisma.RefundCreateNestedManyWithoutReviewedByInput - profile?: Prisma.UserProfileCreateNestedOneWithoutUserInput -} - -export type UserUncheckedCreateWithoutTripReviewsInput = { - id?: string - name: string - email: string - password?: string | null - image?: string | null - emailVerified?: Date | string | null - acceptedTermsAndPrivacy?: boolean - acceptedAt?: Date | string | null - createdAt?: Date | string - updatedAt?: Date | string - accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutUserInput - trips?: Prisma.TripUncheckedCreateNestedManyWithoutOrganizerInput - participations?: Prisma.TripParticipantUncheckedCreateNestedManyWithoutUserInput - bookings?: Prisma.BookingUncheckedCreateNestedManyWithoutUserInput - organizerVerification?: Prisma.OrganizerVerificationUncheckedCreateNestedOneWithoutUserInput - reviewedVerifications?: Prisma.OrganizerVerificationUncheckedCreateNestedManyWithoutReviewedByInput - reviewedRefunds?: Prisma.RefundUncheckedCreateNestedManyWithoutReviewedByInput - profile?: Prisma.UserProfileUncheckedCreateNestedOneWithoutUserInput -} - -export type UserCreateOrConnectWithoutTripReviewsInput = { - where: Prisma.UserWhereUniqueInput - create: Prisma.XOR -} - -export type UserUpsertWithoutTripReviewsInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.UserWhereInput -} - -export type UserUpdateToOneWithWhereWithoutTripReviewsInput = { - where?: Prisma.UserWhereInput - data: Prisma.XOR -} - -export type UserUpdateWithoutTripReviewsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - email?: Prisma.StringFieldUpdateOperationsInput | string - password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - emailVerified?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - acceptedTermsAndPrivacy?: Prisma.BoolFieldUpdateOperationsInput | boolean - acceptedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - accounts?: Prisma.AccountUpdateManyWithoutUserNestedInput - trips?: Prisma.TripUpdateManyWithoutOrganizerNestedInput - participations?: Prisma.TripParticipantUpdateManyWithoutUserNestedInput - bookings?: Prisma.BookingUpdateManyWithoutUserNestedInput - organizerVerification?: Prisma.OrganizerVerificationUpdateOneWithoutUserNestedInput - reviewedVerifications?: Prisma.OrganizerVerificationUpdateManyWithoutReviewedByNestedInput - reviewedRefunds?: Prisma.RefundUpdateManyWithoutReviewedByNestedInput - profile?: Prisma.UserProfileUpdateOneWithoutUserNestedInput -} - -export type UserUncheckedUpdateWithoutTripReviewsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - email?: Prisma.StringFieldUpdateOperationsInput | string - password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - emailVerified?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - acceptedTermsAndPrivacy?: Prisma.BoolFieldUpdateOperationsInput | boolean - acceptedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - accounts?: Prisma.AccountUncheckedUpdateManyWithoutUserNestedInput - trips?: Prisma.TripUncheckedUpdateManyWithoutOrganizerNestedInput - participations?: Prisma.TripParticipantUncheckedUpdateManyWithoutUserNestedInput - bookings?: Prisma.BookingUncheckedUpdateManyWithoutUserNestedInput - organizerVerification?: Prisma.OrganizerVerificationUncheckedUpdateOneWithoutUserNestedInput - reviewedVerifications?: Prisma.OrganizerVerificationUncheckedUpdateManyWithoutReviewedByNestedInput - reviewedRefunds?: Prisma.RefundUncheckedUpdateManyWithoutReviewedByNestedInput - profile?: Prisma.UserProfileUncheckedUpdateOneWithoutUserNestedInput -} - -export type UserCreateWithoutParticipationsInput = { - id?: string - name: string - email: string - password?: string | null - image?: string | null - emailVerified?: Date | string | null - acceptedTermsAndPrivacy?: boolean - acceptedAt?: Date | string | null - createdAt?: Date | string - updatedAt?: Date | string - accounts?: Prisma.AccountCreateNestedManyWithoutUserInput - trips?: Prisma.TripCreateNestedManyWithoutOrganizerInput - tripReviews?: Prisma.TripReviewCreateNestedManyWithoutUserInput - bookings?: Prisma.BookingCreateNestedManyWithoutUserInput - organizerVerification?: Prisma.OrganizerVerificationCreateNestedOneWithoutUserInput - reviewedVerifications?: Prisma.OrganizerVerificationCreateNestedManyWithoutReviewedByInput - reviewedRefunds?: Prisma.RefundCreateNestedManyWithoutReviewedByInput - profile?: Prisma.UserProfileCreateNestedOneWithoutUserInput -} - -export type UserUncheckedCreateWithoutParticipationsInput = { - id?: string - name: string - email: string - password?: string | null - image?: string | null - emailVerified?: Date | string | null - acceptedTermsAndPrivacy?: boolean - acceptedAt?: Date | string | null - createdAt?: Date | string - updatedAt?: Date | string - accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutUserInput - trips?: Prisma.TripUncheckedCreateNestedManyWithoutOrganizerInput - tripReviews?: Prisma.TripReviewUncheckedCreateNestedManyWithoutUserInput - bookings?: Prisma.BookingUncheckedCreateNestedManyWithoutUserInput - organizerVerification?: Prisma.OrganizerVerificationUncheckedCreateNestedOneWithoutUserInput - reviewedVerifications?: Prisma.OrganizerVerificationUncheckedCreateNestedManyWithoutReviewedByInput - reviewedRefunds?: Prisma.RefundUncheckedCreateNestedManyWithoutReviewedByInput - profile?: Prisma.UserProfileUncheckedCreateNestedOneWithoutUserInput -} - -export type UserCreateOrConnectWithoutParticipationsInput = { - where: Prisma.UserWhereUniqueInput - create: Prisma.XOR -} - -export type UserUpsertWithoutParticipationsInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.UserWhereInput -} - -export type UserUpdateToOneWithWhereWithoutParticipationsInput = { - where?: Prisma.UserWhereInput - data: Prisma.XOR -} - -export type UserUpdateWithoutParticipationsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - email?: Prisma.StringFieldUpdateOperationsInput | string - password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - emailVerified?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - acceptedTermsAndPrivacy?: Prisma.BoolFieldUpdateOperationsInput | boolean - acceptedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - accounts?: Prisma.AccountUpdateManyWithoutUserNestedInput - trips?: Prisma.TripUpdateManyWithoutOrganizerNestedInput - tripReviews?: Prisma.TripReviewUpdateManyWithoutUserNestedInput - bookings?: Prisma.BookingUpdateManyWithoutUserNestedInput - organizerVerification?: Prisma.OrganizerVerificationUpdateOneWithoutUserNestedInput - reviewedVerifications?: Prisma.OrganizerVerificationUpdateManyWithoutReviewedByNestedInput - reviewedRefunds?: Prisma.RefundUpdateManyWithoutReviewedByNestedInput - profile?: Prisma.UserProfileUpdateOneWithoutUserNestedInput -} - -export type UserUncheckedUpdateWithoutParticipationsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - email?: Prisma.StringFieldUpdateOperationsInput | string - password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - emailVerified?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - acceptedTermsAndPrivacy?: Prisma.BoolFieldUpdateOperationsInput | boolean - acceptedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - accounts?: Prisma.AccountUncheckedUpdateManyWithoutUserNestedInput - trips?: Prisma.TripUncheckedUpdateManyWithoutOrganizerNestedInput - tripReviews?: Prisma.TripReviewUncheckedUpdateManyWithoutUserNestedInput - bookings?: Prisma.BookingUncheckedUpdateManyWithoutUserNestedInput - organizerVerification?: Prisma.OrganizerVerificationUncheckedUpdateOneWithoutUserNestedInput - reviewedVerifications?: Prisma.OrganizerVerificationUncheckedUpdateManyWithoutReviewedByNestedInput - reviewedRefunds?: Prisma.RefundUncheckedUpdateManyWithoutReviewedByNestedInput - profile?: Prisma.UserProfileUncheckedUpdateOneWithoutUserNestedInput -} - -export type UserCreateWithoutBookingsInput = { - id?: string - name: string - email: string - password?: string | null - image?: string | null - emailVerified?: Date | string | null - acceptedTermsAndPrivacy?: boolean - acceptedAt?: Date | string | null - createdAt?: Date | string - updatedAt?: Date | string - accounts?: Prisma.AccountCreateNestedManyWithoutUserInput - trips?: Prisma.TripCreateNestedManyWithoutOrganizerInput - participations?: Prisma.TripParticipantCreateNestedManyWithoutUserInput - tripReviews?: Prisma.TripReviewCreateNestedManyWithoutUserInput - organizerVerification?: Prisma.OrganizerVerificationCreateNestedOneWithoutUserInput - reviewedVerifications?: Prisma.OrganizerVerificationCreateNestedManyWithoutReviewedByInput - reviewedRefunds?: Prisma.RefundCreateNestedManyWithoutReviewedByInput - profile?: Prisma.UserProfileCreateNestedOneWithoutUserInput -} - -export type UserUncheckedCreateWithoutBookingsInput = { - id?: string - name: string - email: string - password?: string | null - image?: string | null - emailVerified?: Date | string | null - acceptedTermsAndPrivacy?: boolean - acceptedAt?: Date | string | null - createdAt?: Date | string - updatedAt?: Date | string - accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutUserInput - trips?: Prisma.TripUncheckedCreateNestedManyWithoutOrganizerInput - participations?: Prisma.TripParticipantUncheckedCreateNestedManyWithoutUserInput - tripReviews?: Prisma.TripReviewUncheckedCreateNestedManyWithoutUserInput - organizerVerification?: Prisma.OrganizerVerificationUncheckedCreateNestedOneWithoutUserInput - reviewedVerifications?: Prisma.OrganizerVerificationUncheckedCreateNestedManyWithoutReviewedByInput - reviewedRefunds?: Prisma.RefundUncheckedCreateNestedManyWithoutReviewedByInput - profile?: Prisma.UserProfileUncheckedCreateNestedOneWithoutUserInput -} - -export type UserCreateOrConnectWithoutBookingsInput = { - where: Prisma.UserWhereUniqueInput - create: Prisma.XOR -} - -export type UserUpsertWithoutBookingsInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.UserWhereInput -} - -export type UserUpdateToOneWithWhereWithoutBookingsInput = { - where?: Prisma.UserWhereInput - data: Prisma.XOR -} - -export type UserUpdateWithoutBookingsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - email?: Prisma.StringFieldUpdateOperationsInput | string - password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - emailVerified?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - acceptedTermsAndPrivacy?: Prisma.BoolFieldUpdateOperationsInput | boolean - acceptedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - accounts?: Prisma.AccountUpdateManyWithoutUserNestedInput - trips?: Prisma.TripUpdateManyWithoutOrganizerNestedInput - participations?: Prisma.TripParticipantUpdateManyWithoutUserNestedInput - tripReviews?: Prisma.TripReviewUpdateManyWithoutUserNestedInput - organizerVerification?: Prisma.OrganizerVerificationUpdateOneWithoutUserNestedInput - reviewedVerifications?: Prisma.OrganizerVerificationUpdateManyWithoutReviewedByNestedInput - reviewedRefunds?: Prisma.RefundUpdateManyWithoutReviewedByNestedInput - profile?: Prisma.UserProfileUpdateOneWithoutUserNestedInput -} - -export type UserUncheckedUpdateWithoutBookingsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - email?: Prisma.StringFieldUpdateOperationsInput | string - password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - emailVerified?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - acceptedTermsAndPrivacy?: Prisma.BoolFieldUpdateOperationsInput | boolean - acceptedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - accounts?: Prisma.AccountUncheckedUpdateManyWithoutUserNestedInput - trips?: Prisma.TripUncheckedUpdateManyWithoutOrganizerNestedInput - participations?: Prisma.TripParticipantUncheckedUpdateManyWithoutUserNestedInput - tripReviews?: Prisma.TripReviewUncheckedUpdateManyWithoutUserNestedInput - organizerVerification?: Prisma.OrganizerVerificationUncheckedUpdateOneWithoutUserNestedInput - reviewedVerifications?: Prisma.OrganizerVerificationUncheckedUpdateManyWithoutReviewedByNestedInput - reviewedRefunds?: Prisma.RefundUncheckedUpdateManyWithoutReviewedByNestedInput - profile?: Prisma.UserProfileUncheckedUpdateOneWithoutUserNestedInput -} - -export type UserCreateWithoutReviewedRefundsInput = { - id?: string - name: string - email: string - password?: string | null - image?: string | null - emailVerified?: Date | string | null - acceptedTermsAndPrivacy?: boolean - acceptedAt?: Date | string | null - createdAt?: Date | string - updatedAt?: Date | string - accounts?: Prisma.AccountCreateNestedManyWithoutUserInput - trips?: Prisma.TripCreateNestedManyWithoutOrganizerInput - participations?: Prisma.TripParticipantCreateNestedManyWithoutUserInput - tripReviews?: Prisma.TripReviewCreateNestedManyWithoutUserInput - bookings?: Prisma.BookingCreateNestedManyWithoutUserInput - organizerVerification?: Prisma.OrganizerVerificationCreateNestedOneWithoutUserInput - reviewedVerifications?: Prisma.OrganizerVerificationCreateNestedManyWithoutReviewedByInput - profile?: Prisma.UserProfileCreateNestedOneWithoutUserInput -} - -export type UserUncheckedCreateWithoutReviewedRefundsInput = { - id?: string - name: string - email: string - password?: string | null - image?: string | null - emailVerified?: Date | string | null - acceptedTermsAndPrivacy?: boolean - acceptedAt?: Date | string | null - createdAt?: Date | string - updatedAt?: Date | string - accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutUserInput - trips?: Prisma.TripUncheckedCreateNestedManyWithoutOrganizerInput - participations?: Prisma.TripParticipantUncheckedCreateNestedManyWithoutUserInput - tripReviews?: Prisma.TripReviewUncheckedCreateNestedManyWithoutUserInput - bookings?: Prisma.BookingUncheckedCreateNestedManyWithoutUserInput - organizerVerification?: Prisma.OrganizerVerificationUncheckedCreateNestedOneWithoutUserInput - reviewedVerifications?: Prisma.OrganizerVerificationUncheckedCreateNestedManyWithoutReviewedByInput - profile?: Prisma.UserProfileUncheckedCreateNestedOneWithoutUserInput -} - -export type UserCreateOrConnectWithoutReviewedRefundsInput = { - where: Prisma.UserWhereUniqueInput - create: Prisma.XOR -} - -export type UserUpsertWithoutReviewedRefundsInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.UserWhereInput -} - -export type UserUpdateToOneWithWhereWithoutReviewedRefundsInput = { - where?: Prisma.UserWhereInput - data: Prisma.XOR -} - -export type UserUpdateWithoutReviewedRefundsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - email?: Prisma.StringFieldUpdateOperationsInput | string - password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - emailVerified?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - acceptedTermsAndPrivacy?: Prisma.BoolFieldUpdateOperationsInput | boolean - acceptedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - accounts?: Prisma.AccountUpdateManyWithoutUserNestedInput - trips?: Prisma.TripUpdateManyWithoutOrganizerNestedInput - participations?: Prisma.TripParticipantUpdateManyWithoutUserNestedInput - tripReviews?: Prisma.TripReviewUpdateManyWithoutUserNestedInput - bookings?: Prisma.BookingUpdateManyWithoutUserNestedInput - organizerVerification?: Prisma.OrganizerVerificationUpdateOneWithoutUserNestedInput - reviewedVerifications?: Prisma.OrganizerVerificationUpdateManyWithoutReviewedByNestedInput - profile?: Prisma.UserProfileUpdateOneWithoutUserNestedInput -} - -export type UserUncheckedUpdateWithoutReviewedRefundsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - email?: Prisma.StringFieldUpdateOperationsInput | string - password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - emailVerified?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - acceptedTermsAndPrivacy?: Prisma.BoolFieldUpdateOperationsInput | boolean - acceptedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - accounts?: Prisma.AccountUncheckedUpdateManyWithoutUserNestedInput - trips?: Prisma.TripUncheckedUpdateManyWithoutOrganizerNestedInput - participations?: Prisma.TripParticipantUncheckedUpdateManyWithoutUserNestedInput - tripReviews?: Prisma.TripReviewUncheckedUpdateManyWithoutUserNestedInput - bookings?: Prisma.BookingUncheckedUpdateManyWithoutUserNestedInput - organizerVerification?: Prisma.OrganizerVerificationUncheckedUpdateOneWithoutUserNestedInput - reviewedVerifications?: Prisma.OrganizerVerificationUncheckedUpdateManyWithoutReviewedByNestedInput - profile?: Prisma.UserProfileUncheckedUpdateOneWithoutUserNestedInput -} - - -/** - * Count Type UserCountOutputType - */ - -export type UserCountOutputType = { - accounts: number - trips: number - participations: number - tripReviews: number - bookings: number - reviewedVerifications: number - reviewedRefunds: number -} - -export type UserCountOutputTypeSelect = { - accounts?: boolean | UserCountOutputTypeCountAccountsArgs - trips?: boolean | UserCountOutputTypeCountTripsArgs - participations?: boolean | UserCountOutputTypeCountParticipationsArgs - tripReviews?: boolean | UserCountOutputTypeCountTripReviewsArgs - bookings?: boolean | UserCountOutputTypeCountBookingsArgs - reviewedVerifications?: boolean | UserCountOutputTypeCountReviewedVerificationsArgs - reviewedRefunds?: boolean | UserCountOutputTypeCountReviewedRefundsArgs -} - -/** - * UserCountOutputType without action - */ -export type UserCountOutputTypeDefaultArgs = { - /** - * Select specific fields to fetch from the UserCountOutputType - */ - select?: Prisma.UserCountOutputTypeSelect | null -} - -/** - * UserCountOutputType without action - */ -export type UserCountOutputTypeCountAccountsArgs = { - where?: Prisma.AccountWhereInput -} - -/** - * UserCountOutputType without action - */ -export type UserCountOutputTypeCountTripsArgs = { - where?: Prisma.TripWhereInput -} - -/** - * UserCountOutputType without action - */ -export type UserCountOutputTypeCountParticipationsArgs = { - where?: Prisma.TripParticipantWhereInput -} - -/** - * UserCountOutputType without action - */ -export type UserCountOutputTypeCountTripReviewsArgs = { - where?: Prisma.TripReviewWhereInput -} - -/** - * UserCountOutputType without action - */ -export type UserCountOutputTypeCountBookingsArgs = { - where?: Prisma.BookingWhereInput -} - -/** - * UserCountOutputType without action - */ -export type UserCountOutputTypeCountReviewedVerificationsArgs = { - where?: Prisma.OrganizerVerificationWhereInput -} - -/** - * UserCountOutputType without action - */ -export type UserCountOutputTypeCountReviewedRefundsArgs = { - where?: Prisma.RefundWhereInput -} - - -export type UserSelect = runtime.Types.Extensions.GetSelect<{ - id?: boolean - name?: boolean - email?: boolean - password?: boolean - image?: boolean - emailVerified?: boolean - acceptedTermsAndPrivacy?: boolean - acceptedAt?: boolean - createdAt?: boolean - updatedAt?: boolean - accounts?: boolean | Prisma.User$accountsArgs - trips?: boolean | Prisma.User$tripsArgs - participations?: boolean | Prisma.User$participationsArgs - tripReviews?: boolean | Prisma.User$tripReviewsArgs - bookings?: boolean | Prisma.User$bookingsArgs - organizerVerification?: boolean | Prisma.User$organizerVerificationArgs - reviewedVerifications?: boolean | Prisma.User$reviewedVerificationsArgs - reviewedRefunds?: boolean | Prisma.User$reviewedRefundsArgs - profile?: boolean | Prisma.User$profileArgs - _count?: boolean | Prisma.UserCountOutputTypeDefaultArgs -}, ExtArgs["result"]["user"]> - -export type UserSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - name?: boolean - email?: boolean - password?: boolean - image?: boolean - emailVerified?: boolean - acceptedTermsAndPrivacy?: boolean - acceptedAt?: boolean - createdAt?: boolean - updatedAt?: boolean -}, ExtArgs["result"]["user"]> - -export type UserSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - name?: boolean - email?: boolean - password?: boolean - image?: boolean - emailVerified?: boolean - acceptedTermsAndPrivacy?: boolean - acceptedAt?: boolean - createdAt?: boolean - updatedAt?: boolean -}, ExtArgs["result"]["user"]> - -export type UserSelectScalar = { - id?: boolean - name?: boolean - email?: boolean - password?: boolean - image?: boolean - emailVerified?: boolean - acceptedTermsAndPrivacy?: boolean - acceptedAt?: boolean - createdAt?: boolean - updatedAt?: boolean -} - -export type UserOmit = runtime.Types.Extensions.GetOmit<"id" | "name" | "email" | "password" | "image" | "emailVerified" | "acceptedTermsAndPrivacy" | "acceptedAt" | "createdAt" | "updatedAt", ExtArgs["result"]["user"]> -export type UserInclude = { - accounts?: boolean | Prisma.User$accountsArgs - trips?: boolean | Prisma.User$tripsArgs - participations?: boolean | Prisma.User$participationsArgs - tripReviews?: boolean | Prisma.User$tripReviewsArgs - bookings?: boolean | Prisma.User$bookingsArgs - organizerVerification?: boolean | Prisma.User$organizerVerificationArgs - reviewedVerifications?: boolean | Prisma.User$reviewedVerificationsArgs - reviewedRefunds?: boolean | Prisma.User$reviewedRefundsArgs - profile?: boolean | Prisma.User$profileArgs - _count?: boolean | Prisma.UserCountOutputTypeDefaultArgs -} -export type UserIncludeCreateManyAndReturn = {} -export type UserIncludeUpdateManyAndReturn = {} - -export type $UserPayload = { - name: "User" - objects: { - accounts: Prisma.$AccountPayload[] - trips: Prisma.$TripPayload[] - participations: Prisma.$TripParticipantPayload[] - tripReviews: Prisma.$TripReviewPayload[] - bookings: Prisma.$BookingPayload[] - organizerVerification: Prisma.$OrganizerVerificationPayload | null - reviewedVerifications: Prisma.$OrganizerVerificationPayload[] - reviewedRefunds: Prisma.$RefundPayload[] - profile: Prisma.$UserProfilePayload | null - } - scalars: runtime.Types.Extensions.GetPayloadResult<{ - id: string - name: string - email: string - /** - * Hash bcrypt. Null untuk user yang sign-in via OAuth (mis. Google). - */ - password: string | null - image: string | null - /** - * Diisi PrismaAdapter NextAuth saat email diverifikasi provider OAuth (Google selalu sudah verified). - */ - emailVerified: Date | null - /** - * Apakah user telah menyetujui Syarat & Ketentuan dan Kebijakan Privasi - */ - acceptedTermsAndPrivacy: boolean - /** - * Waktu user menyetujui Syarat & Ketentuan dan Kebijakan Privasi - */ - acceptedAt: Date | null - createdAt: Date - updatedAt: Date - }, ExtArgs["result"]["user"]> - composites: {} -} - -export type UserGetPayload = runtime.Types.Result.GetResult - -export type UserCountArgs = - Omit & { - select?: UserCountAggregateInputType | true - } - -export interface UserDelegate { - [K: symbol]: { types: Prisma.TypeMap['model']['User'], meta: { name: 'User' } } - /** - * Find zero or one User that matches the filter. - * @param {UserFindUniqueArgs} args - Arguments to find a User - * @example - * // Get one User - * const user = await prisma.user.findUnique({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__UserClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find one User that matches the filter or throw an error with `error.code='P2025'` - * if no matches were found. - * @param {UserFindUniqueOrThrowArgs} args - Arguments to find a User - * @example - * // Get one User - * const user = await prisma.user.findUniqueOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__UserClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find the first User 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 {UserFindFirstArgs} args - Arguments to find a User - * @example - * // Get one User - * const user = await prisma.user.findFirst({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__UserClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find the first User 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 {UserFindFirstOrThrowArgs} args - Arguments to find a User - * @example - * // Get one User - * const user = await prisma.user.findFirstOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__UserClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find zero or more Users 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 {UserFindManyArgs} args - Arguments to filter and select certain fields only. - * @example - * // Get all Users - * const users = await prisma.user.findMany() - * - * // Get first 10 Users - * const users = await prisma.user.findMany({ take: 10 }) - * - * // Only select the `id` - * const userWithIdOnly = await prisma.user.findMany({ select: { id: true } }) - * - */ - findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> - - /** - * Create a User. - * @param {UserCreateArgs} args - Arguments to create a User. - * @example - * // Create one User - * const User = await prisma.user.create({ - * data: { - * // ... data to create a User - * } - * }) - * - */ - create(args: Prisma.SelectSubset>): Prisma.Prisma__UserClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Create many Users. - * @param {UserCreateManyArgs} args - Arguments to create many Users. - * @example - * // Create many Users - * const user = await prisma.user.createMany({ - * data: [ - * // ... provide data here - * ] - * }) - * - */ - createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Create many Users and returns the data saved in the database. - * @param {UserCreateManyAndReturnArgs} args - Arguments to create many Users. - * @example - * // Create many Users - * const user = await prisma.user.createManyAndReturn({ - * data: [ - * // ... provide data here - * ] - * }) - * - * // Create many Users and only return the `id` - * const userWithIdOnly = await prisma.user.createManyAndReturn({ - * select: { id: true }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> - - /** - * Delete a User. - * @param {UserDeleteArgs} args - Arguments to delete one User. - * @example - * // Delete one User - * const User = await prisma.user.delete({ - * where: { - * // ... filter to delete one User - * } - * }) - * - */ - delete(args: Prisma.SelectSubset>): Prisma.Prisma__UserClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Update one User. - * @param {UserUpdateArgs} args - Arguments to update one User. - * @example - * // Update one User - * const user = await prisma.user.update({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - update(args: Prisma.SelectSubset>): Prisma.Prisma__UserClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Delete zero or more Users. - * @param {UserDeleteManyArgs} args - Arguments to filter Users to delete. - * @example - * // Delete a few Users - * const { count } = await prisma.user.deleteMany({ - * where: { - * // ... provide filter here - * } - * }) - * - */ - deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more Users. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {UserUpdateManyArgs} args - Arguments to update one or more rows. - * @example - * // Update many Users - * const user = await prisma.user.updateMany({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more Users and returns the data updated in the database. - * @param {UserUpdateManyAndReturnArgs} args - Arguments to update many Users. - * @example - * // Update many Users - * const user = await prisma.user.updateManyAndReturn({ - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * - * // Update zero or more Users and only return the `id` - * const userWithIdOnly = await prisma.user.updateManyAndReturn({ - * select: { id: true }, - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> - - /** - * Create or update one User. - * @param {UserUpsertArgs} args - Arguments to update or create a User. - * @example - * // Update or create a User - * const user = await prisma.user.upsert({ - * create: { - * // ... data to create a User - * }, - * update: { - * // ... in case it already exists, update - * }, - * where: { - * // ... the filter for the User we want to update - * } - * }) - */ - upsert(args: Prisma.SelectSubset>): Prisma.Prisma__UserClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - - /** - * Count the number of Users. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {UserCountArgs} args - Arguments to filter Users to count. - * @example - * // Count the number of Users - * const count = await prisma.user.count({ - * where: { - * // ... the filter for the Users we want to count - * } - * }) - **/ - count( - args?: Prisma.Subset, - ): Prisma.PrismaPromise< - T extends runtime.Types.Utils.Record<'select', any> - ? T['select'] extends true - ? number - : Prisma.GetScalarType - : number - > - - /** - * Allows you to perform aggregations operations on a User. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {UserAggregateArgs} args - Select which aggregations you would like to apply and on what fields. - * @example - * // Ordered by age ascending - * // Where email contains prisma.io - * // Limited to the 10 users - * const aggregations = await prisma.user.aggregate({ - * _avg: { - * age: true, - * }, - * where: { - * email: { - * contains: "prisma.io", - * }, - * }, - * orderBy: { - * age: "asc", - * }, - * take: 10, - * }) - **/ - aggregate(args: Prisma.Subset): Prisma.PrismaPromise> - - /** - * Group by User. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {UserGroupByArgs} 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 UserGroupByArgs, - HasSelectOrTake extends Prisma.Or< - Prisma.Extends<'skip', Prisma.Keys>, - Prisma.Extends<'take', Prisma.Keys> - >, - OrderByArg extends Prisma.True extends HasSelectOrTake - ? { orderBy: UserGroupByArgs['orderBy'] } - : { orderBy?: UserGroupByArgs['orderBy'] }, - OrderFields extends Prisma.ExcludeUnderscoreKeys>>, - ByFields extends Prisma.MaybeTupleToUnion, - ByValid extends Prisma.Has, - HavingFields extends Prisma.GetHavingFields, - HavingValid extends Prisma.Has, - ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, - InputErrors extends ByEmpty extends Prisma.True - ? `Error: "by" must not be empty.` - : HavingValid extends Prisma.False - ? { - [P in HavingFields]: P extends ByFields - ? never - : P extends string - ? `Error: Field "${P}" used in "having" needs to be provided in "by".` - : [ - Error, - 'Field ', - P, - ` in "having" needs to be provided in "by"`, - ] - }[HavingFields] - : 'take' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "take", you also need to provide "orderBy"' - : 'skip' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "skip", you also need to provide "orderBy"' - : ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetUserGroupByPayload : Prisma.PrismaPromise -/** - * Fields of the User model - */ -readonly fields: UserFieldRefs; -} - -/** - * The delegate class that acts as a "Promise-like" for User. - * 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__UserClient extends Prisma.PrismaPromise { - readonly [Symbol.toStringTag]: "PrismaPromise" - accounts = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> - trips = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> - participations = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> - tripReviews = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> - bookings = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> - organizerVerification = {}>(args?: Prisma.Subset>): Prisma.Prisma__OrganizerVerificationClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - reviewedVerifications = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> - reviewedRefunds = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> - profile = {}>(args?: Prisma.Subset>): Prisma.Prisma__UserProfileClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - /** - * Attaches callbacks for the resolution and/or rejection of the Promise. - * @param onfulfilled The callback to execute when the Promise is resolved. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of which ever callback is executed. - */ - then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback for only the rejection of the Promise. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of the callback. - */ - catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The - * resolved value cannot be modified from the callback. - * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). - * @returns A Promise for the completion of the callback. - */ - finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise -} - - - - -/** - * Fields of the User model - */ -export interface UserFieldRefs { - readonly id: Prisma.FieldRef<"User", 'String'> - readonly name: Prisma.FieldRef<"User", 'String'> - readonly email: Prisma.FieldRef<"User", 'String'> - readonly password: Prisma.FieldRef<"User", 'String'> - readonly image: Prisma.FieldRef<"User", 'String'> - readonly emailVerified: Prisma.FieldRef<"User", 'DateTime'> - readonly acceptedTermsAndPrivacy: Prisma.FieldRef<"User", 'Boolean'> - readonly acceptedAt: Prisma.FieldRef<"User", 'DateTime'> - readonly createdAt: Prisma.FieldRef<"User", 'DateTime'> - readonly updatedAt: Prisma.FieldRef<"User", 'DateTime'> -} - - -// Custom InputTypes -/** - * User findUnique - */ -export type UserFindUniqueArgs = { - /** - * Select specific fields to fetch from the User - */ - select?: Prisma.UserSelect | null - /** - * Omit specific fields from the User - */ - omit?: Prisma.UserOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserInclude | null - /** - * Filter, which User to fetch. - */ - where: Prisma.UserWhereUniqueInput -} - -/** - * User findUniqueOrThrow - */ -export type UserFindUniqueOrThrowArgs = { - /** - * Select specific fields to fetch from the User - */ - select?: Prisma.UserSelect | null - /** - * Omit specific fields from the User - */ - omit?: Prisma.UserOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserInclude | null - /** - * Filter, which User to fetch. - */ - where: Prisma.UserWhereUniqueInput -} - -/** - * User findFirst - */ -export type UserFindFirstArgs = { - /** - * Select specific fields to fetch from the User - */ - select?: Prisma.UserSelect | null - /** - * Omit specific fields from the User - */ - omit?: Prisma.UserOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserInclude | null - /** - * Filter, which User to fetch. - */ - where?: Prisma.UserWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Users to fetch. - */ - orderBy?: Prisma.UserOrderByWithRelationInput | Prisma.UserOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for Users. - */ - cursor?: Prisma.UserWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Users 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` Users. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Users. - */ - distinct?: Prisma.UserScalarFieldEnum | Prisma.UserScalarFieldEnum[] -} - -/** - * User findFirstOrThrow - */ -export type UserFindFirstOrThrowArgs = { - /** - * Select specific fields to fetch from the User - */ - select?: Prisma.UserSelect | null - /** - * Omit specific fields from the User - */ - omit?: Prisma.UserOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserInclude | null - /** - * Filter, which User to fetch. - */ - where?: Prisma.UserWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Users to fetch. - */ - orderBy?: Prisma.UserOrderByWithRelationInput | Prisma.UserOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for Users. - */ - cursor?: Prisma.UserWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Users 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` Users. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Users. - */ - distinct?: Prisma.UserScalarFieldEnum | Prisma.UserScalarFieldEnum[] -} - -/** - * User findMany - */ -export type UserFindManyArgs = { - /** - * Select specific fields to fetch from the User - */ - select?: Prisma.UserSelect | null - /** - * Omit specific fields from the User - */ - omit?: Prisma.UserOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserInclude | null - /** - * Filter, which Users to fetch. - */ - where?: Prisma.UserWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Users to fetch. - */ - orderBy?: Prisma.UserOrderByWithRelationInput | Prisma.UserOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for listing Users. - */ - cursor?: Prisma.UserWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Users 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` Users. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Users. - */ - distinct?: Prisma.UserScalarFieldEnum | Prisma.UserScalarFieldEnum[] -} - -/** - * User create - */ -export type UserCreateArgs = { - /** - * Select specific fields to fetch from the User - */ - select?: Prisma.UserSelect | null - /** - * Omit specific fields from the User - */ - omit?: Prisma.UserOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserInclude | null - /** - * The data needed to create a User. - */ - data: Prisma.XOR -} - -/** - * User createMany - */ -export type UserCreateManyArgs = { - /** - * The data used to create many Users. - */ - data: Prisma.UserCreateManyInput | Prisma.UserCreateManyInput[] - skipDuplicates?: boolean -} - -/** - * User createManyAndReturn - */ -export type UserCreateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the User - */ - select?: Prisma.UserSelectCreateManyAndReturn | null - /** - * Omit specific fields from the User - */ - omit?: Prisma.UserOmit | null - /** - * The data used to create many Users. - */ - data: Prisma.UserCreateManyInput | Prisma.UserCreateManyInput[] - skipDuplicates?: boolean -} - -/** - * User update - */ -export type UserUpdateArgs = { - /** - * Select specific fields to fetch from the User - */ - select?: Prisma.UserSelect | null - /** - * Omit specific fields from the User - */ - omit?: Prisma.UserOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserInclude | null - /** - * The data needed to update a User. - */ - data: Prisma.XOR - /** - * Choose, which User to update. - */ - where: Prisma.UserWhereUniqueInput -} - -/** - * User updateMany - */ -export type UserUpdateManyArgs = { - /** - * The data used to update Users. - */ - data: Prisma.XOR - /** - * Filter which Users to update - */ - where?: Prisma.UserWhereInput - /** - * Limit how many Users to update. - */ - limit?: number -} - -/** - * User updateManyAndReturn - */ -export type UserUpdateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the User - */ - select?: Prisma.UserSelectUpdateManyAndReturn | null - /** - * Omit specific fields from the User - */ - omit?: Prisma.UserOmit | null - /** - * The data used to update Users. - */ - data: Prisma.XOR - /** - * Filter which Users to update - */ - where?: Prisma.UserWhereInput - /** - * Limit how many Users to update. - */ - limit?: number -} - -/** - * User upsert - */ -export type UserUpsertArgs = { - /** - * Select specific fields to fetch from the User - */ - select?: Prisma.UserSelect | null - /** - * Omit specific fields from the User - */ - omit?: Prisma.UserOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserInclude | null - /** - * The filter to search for the User to update in case it exists. - */ - where: Prisma.UserWhereUniqueInput - /** - * In case the User found by the `where` argument doesn't exist, create a new User with this data. - */ - create: Prisma.XOR - /** - * In case the User was found with the provided `where` argument, update it with this data. - */ - update: Prisma.XOR -} - -/** - * User delete - */ -export type UserDeleteArgs = { - /** - * Select specific fields to fetch from the User - */ - select?: Prisma.UserSelect | null - /** - * Omit specific fields from the User - */ - omit?: Prisma.UserOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserInclude | null - /** - * Filter which User to delete. - */ - where: Prisma.UserWhereUniqueInput -} - -/** - * User deleteMany - */ -export type UserDeleteManyArgs = { - /** - * Filter which Users to delete - */ - where?: Prisma.UserWhereInput - /** - * Limit how many Users to delete. - */ - limit?: number -} - -/** - * User.accounts - */ -export type User$accountsArgs = { - /** - * Select specific fields to fetch from the Account - */ - select?: Prisma.AccountSelect | null - /** - * Omit specific fields from the Account - */ - omit?: Prisma.AccountOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AccountInclude | null - where?: Prisma.AccountWhereInput - orderBy?: Prisma.AccountOrderByWithRelationInput | Prisma.AccountOrderByWithRelationInput[] - cursor?: Prisma.AccountWhereUniqueInput - take?: number - skip?: number - distinct?: Prisma.AccountScalarFieldEnum | Prisma.AccountScalarFieldEnum[] -} - -/** - * User.trips - */ -export type User$tripsArgs = { - /** - * Select specific fields to fetch from the Trip - */ - select?: Prisma.TripSelect | null - /** - * Omit specific fields from the Trip - */ - omit?: Prisma.TripOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TripInclude | null - where?: Prisma.TripWhereInput - orderBy?: Prisma.TripOrderByWithRelationInput | Prisma.TripOrderByWithRelationInput[] - cursor?: Prisma.TripWhereUniqueInput - take?: number - skip?: number - distinct?: Prisma.TripScalarFieldEnum | Prisma.TripScalarFieldEnum[] -} - -/** - * User.participations - */ -export type User$participationsArgs = { - /** - * Select specific fields to fetch from the TripParticipant - */ - select?: Prisma.TripParticipantSelect | null - /** - * Omit specific fields from the TripParticipant - */ - omit?: Prisma.TripParticipantOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TripParticipantInclude | null - where?: Prisma.TripParticipantWhereInput - orderBy?: Prisma.TripParticipantOrderByWithRelationInput | Prisma.TripParticipantOrderByWithRelationInput[] - cursor?: Prisma.TripParticipantWhereUniqueInput - take?: number - skip?: number - distinct?: Prisma.TripParticipantScalarFieldEnum | Prisma.TripParticipantScalarFieldEnum[] -} - -/** - * User.tripReviews - */ -export type User$tripReviewsArgs = { - /** - * Select specific fields to fetch from the TripReview - */ - select?: Prisma.TripReviewSelect | null - /** - * Omit specific fields from the TripReview - */ - omit?: Prisma.TripReviewOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TripReviewInclude | null - where?: Prisma.TripReviewWhereInput - orderBy?: Prisma.TripReviewOrderByWithRelationInput | Prisma.TripReviewOrderByWithRelationInput[] - cursor?: Prisma.TripReviewWhereUniqueInput - take?: number - skip?: number - distinct?: Prisma.TripReviewScalarFieldEnum | Prisma.TripReviewScalarFieldEnum[] -} - -/** - * User.bookings - */ -export type User$bookingsArgs = { - /** - * Select specific fields to fetch from the Booking - */ - select?: Prisma.BookingSelect | null - /** - * Omit specific fields from the Booking - */ - omit?: Prisma.BookingOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.BookingInclude | null - where?: Prisma.BookingWhereInput - orderBy?: Prisma.BookingOrderByWithRelationInput | Prisma.BookingOrderByWithRelationInput[] - cursor?: Prisma.BookingWhereUniqueInput - take?: number - skip?: number - distinct?: Prisma.BookingScalarFieldEnum | Prisma.BookingScalarFieldEnum[] -} - -/** - * User.organizerVerification - */ -export type User$organizerVerificationArgs = { - /** - * Select specific fields to fetch from the OrganizerVerification - */ - select?: Prisma.OrganizerVerificationSelect | null - /** - * Omit specific fields from the OrganizerVerification - */ - omit?: Prisma.OrganizerVerificationOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.OrganizerVerificationInclude | null - where?: Prisma.OrganizerVerificationWhereInput -} - -/** - * User.reviewedVerifications - */ -export type User$reviewedVerificationsArgs = { - /** - * Select specific fields to fetch from the OrganizerVerification - */ - select?: Prisma.OrganizerVerificationSelect | null - /** - * Omit specific fields from the OrganizerVerification - */ - omit?: Prisma.OrganizerVerificationOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.OrganizerVerificationInclude | null - where?: Prisma.OrganizerVerificationWhereInput - orderBy?: Prisma.OrganizerVerificationOrderByWithRelationInput | Prisma.OrganizerVerificationOrderByWithRelationInput[] - cursor?: Prisma.OrganizerVerificationWhereUniqueInput - take?: number - skip?: number - distinct?: Prisma.OrganizerVerificationScalarFieldEnum | Prisma.OrganizerVerificationScalarFieldEnum[] -} - -/** - * User.reviewedRefunds - */ -export type User$reviewedRefundsArgs = { - /** - * Select specific fields to fetch from the Refund - */ - select?: Prisma.RefundSelect | null - /** - * Omit specific fields from the Refund - */ - omit?: Prisma.RefundOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.RefundInclude | null - where?: Prisma.RefundWhereInput - orderBy?: Prisma.RefundOrderByWithRelationInput | Prisma.RefundOrderByWithRelationInput[] - cursor?: Prisma.RefundWhereUniqueInput - take?: number - skip?: number - distinct?: Prisma.RefundScalarFieldEnum | Prisma.RefundScalarFieldEnum[] -} - -/** - * User.profile - */ -export type User$profileArgs = { - /** - * Select specific fields to fetch from the UserProfile - */ - select?: Prisma.UserProfileSelect | null - /** - * Omit specific fields from the UserProfile - */ - omit?: Prisma.UserProfileOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserProfileInclude | null - where?: Prisma.UserProfileWhereInput -} - -/** - * User without action - */ -export type UserDefaultArgs = { - /** - * Select specific fields to fetch from the User - */ - select?: Prisma.UserSelect | null - /** - * Omit specific fields from the User - */ - omit?: Prisma.UserOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserInclude | null -} diff --git a/app/generated/prisma/models/UserProfile.ts b/app/generated/prisma/models/UserProfile.ts deleted file mode 100644 index eb2e12f..0000000 --- a/app/generated/prisma/models/UserProfile.ts +++ /dev/null @@ -1,1454 +0,0 @@ - -/* !!! This is code generated by Prisma. Do not edit directly. !!! */ -/* eslint-disable */ -// biome-ignore-all lint: generated file -// @ts-nocheck -/* - * This file exports the `UserProfile` 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 UserProfile - * Profil sosial publik. Berisi info yang user pilih untuk dibagikan ke peserta lain - * (bio, kota, minat, vibe). Tidak menyimpan data sensitif — KYC tetap di OrganizerVerification. - */ -export type UserProfileModel = runtime.Types.Result.DefaultSelection - -export type AggregateUserProfile = { - _count: UserProfileCountAggregateOutputType | null - _min: UserProfileMinAggregateOutputType | null - _max: UserProfileMaxAggregateOutputType | null -} - -export type UserProfileMinAggregateOutputType = { - id: string | null - userId: string | null - bio: string | null - city: string | null - instagram: string | null - vibe: $Enums.Vibe | null - createdAt: Date | null - updatedAt: Date | null -} - -export type UserProfileMaxAggregateOutputType = { - id: string | null - userId: string | null - bio: string | null - city: string | null - instagram: string | null - vibe: $Enums.Vibe | null - createdAt: Date | null - updatedAt: Date | null -} - -export type UserProfileCountAggregateOutputType = { - id: number - userId: number - bio: number - city: number - interests: number - instagram: number - vibe: number - createdAt: number - updatedAt: number - _all: number -} - - -export type UserProfileMinAggregateInputType = { - id?: true - userId?: true - bio?: true - city?: true - instagram?: true - vibe?: true - createdAt?: true - updatedAt?: true -} - -export type UserProfileMaxAggregateInputType = { - id?: true - userId?: true - bio?: true - city?: true - instagram?: true - vibe?: true - createdAt?: true - updatedAt?: true -} - -export type UserProfileCountAggregateInputType = { - id?: true - userId?: true - bio?: true - city?: true - interests?: true - instagram?: true - vibe?: true - createdAt?: true - updatedAt?: true - _all?: true -} - -export type UserProfileAggregateArgs = { - /** - * Filter which UserProfile to aggregate. - */ - where?: Prisma.UserProfileWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of UserProfiles to fetch. - */ - orderBy?: Prisma.UserProfileOrderByWithRelationInput | Prisma.UserProfileOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the start position - */ - cursor?: Prisma.UserProfileWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` UserProfiles 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` UserProfiles. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Count returned UserProfiles - **/ - _count?: true | UserProfileCountAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the minimum value - **/ - _min?: UserProfileMinAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the maximum value - **/ - _max?: UserProfileMaxAggregateInputType -} - -export type GetUserProfileAggregateType = { - [P in keyof T & keyof AggregateUserProfile]: P extends '_count' | 'count' - ? T[P] extends true - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType -} - - - - -export type UserProfileGroupByArgs = { - where?: Prisma.UserProfileWhereInput - orderBy?: Prisma.UserProfileOrderByWithAggregationInput | Prisma.UserProfileOrderByWithAggregationInput[] - by: Prisma.UserProfileScalarFieldEnum[] | Prisma.UserProfileScalarFieldEnum - having?: Prisma.UserProfileScalarWhereWithAggregatesInput - take?: number - skip?: number - _count?: UserProfileCountAggregateInputType | true - _min?: UserProfileMinAggregateInputType - _max?: UserProfileMaxAggregateInputType -} - -export type UserProfileGroupByOutputType = { - id: string - userId: string - bio: string | null - city: string | null - interests: string[] - instagram: string | null - vibe: $Enums.Vibe | null - createdAt: Date - updatedAt: Date - _count: UserProfileCountAggregateOutputType | null - _min: UserProfileMinAggregateOutputType | null - _max: UserProfileMaxAggregateOutputType | null -} - -export type GetUserProfileGroupByPayload = Prisma.PrismaPromise< - Array< - Prisma.PickEnumerable & - { - [P in ((keyof T) & (keyof UserProfileGroupByOutputType))]: P extends '_count' - ? T[P] extends boolean - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType - } - > - > - - - -export type UserProfileWhereInput = { - AND?: Prisma.UserProfileWhereInput | Prisma.UserProfileWhereInput[] - OR?: Prisma.UserProfileWhereInput[] - NOT?: Prisma.UserProfileWhereInput | Prisma.UserProfileWhereInput[] - id?: Prisma.StringFilter<"UserProfile"> | string - userId?: Prisma.StringFilter<"UserProfile"> | string - bio?: Prisma.StringNullableFilter<"UserProfile"> | string | null - city?: Prisma.StringNullableFilter<"UserProfile"> | string | null - interests?: Prisma.StringNullableListFilter<"UserProfile"> - instagram?: Prisma.StringNullableFilter<"UserProfile"> | string | null - vibe?: Prisma.EnumVibeNullableFilter<"UserProfile"> | $Enums.Vibe | null - createdAt?: Prisma.DateTimeFilter<"UserProfile"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"UserProfile"> | Date | string - user?: Prisma.XOR -} - -export type UserProfileOrderByWithRelationInput = { - id?: Prisma.SortOrder - userId?: Prisma.SortOrder - bio?: Prisma.SortOrderInput | Prisma.SortOrder - city?: Prisma.SortOrderInput | Prisma.SortOrder - interests?: Prisma.SortOrder - instagram?: Prisma.SortOrderInput | Prisma.SortOrder - vibe?: Prisma.SortOrderInput | Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - user?: Prisma.UserOrderByWithRelationInput -} - -export type UserProfileWhereUniqueInput = Prisma.AtLeast<{ - id?: string - userId?: string - AND?: Prisma.UserProfileWhereInput | Prisma.UserProfileWhereInput[] - OR?: Prisma.UserProfileWhereInput[] - NOT?: Prisma.UserProfileWhereInput | Prisma.UserProfileWhereInput[] - bio?: Prisma.StringNullableFilter<"UserProfile"> | string | null - city?: Prisma.StringNullableFilter<"UserProfile"> | string | null - interests?: Prisma.StringNullableListFilter<"UserProfile"> - instagram?: Prisma.StringNullableFilter<"UserProfile"> | string | null - vibe?: Prisma.EnumVibeNullableFilter<"UserProfile"> | $Enums.Vibe | null - createdAt?: Prisma.DateTimeFilter<"UserProfile"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"UserProfile"> | Date | string - user?: Prisma.XOR -}, "id" | "userId"> - -export type UserProfileOrderByWithAggregationInput = { - id?: Prisma.SortOrder - userId?: Prisma.SortOrder - bio?: Prisma.SortOrderInput | Prisma.SortOrder - city?: Prisma.SortOrderInput | Prisma.SortOrder - interests?: Prisma.SortOrder - instagram?: Prisma.SortOrderInput | Prisma.SortOrder - vibe?: Prisma.SortOrderInput | Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - _count?: Prisma.UserProfileCountOrderByAggregateInput - _max?: Prisma.UserProfileMaxOrderByAggregateInput - _min?: Prisma.UserProfileMinOrderByAggregateInput -} - -export type UserProfileScalarWhereWithAggregatesInput = { - AND?: Prisma.UserProfileScalarWhereWithAggregatesInput | Prisma.UserProfileScalarWhereWithAggregatesInput[] - OR?: Prisma.UserProfileScalarWhereWithAggregatesInput[] - NOT?: Prisma.UserProfileScalarWhereWithAggregatesInput | Prisma.UserProfileScalarWhereWithAggregatesInput[] - id?: Prisma.StringWithAggregatesFilter<"UserProfile"> | string - userId?: Prisma.StringWithAggregatesFilter<"UserProfile"> | string - bio?: Prisma.StringNullableWithAggregatesFilter<"UserProfile"> | string | null - city?: Prisma.StringNullableWithAggregatesFilter<"UserProfile"> | string | null - interests?: Prisma.StringNullableListFilter<"UserProfile"> - instagram?: Prisma.StringNullableWithAggregatesFilter<"UserProfile"> | string | null - vibe?: Prisma.EnumVibeNullableWithAggregatesFilter<"UserProfile"> | $Enums.Vibe | null - createdAt?: Prisma.DateTimeWithAggregatesFilter<"UserProfile"> | Date | string - updatedAt?: Prisma.DateTimeWithAggregatesFilter<"UserProfile"> | Date | string -} - -export type UserProfileCreateInput = { - id?: string - bio?: string | null - city?: string | null - interests?: Prisma.UserProfileCreateinterestsInput | string[] - instagram?: string | null - vibe?: $Enums.Vibe | null - createdAt?: Date | string - updatedAt?: Date | string - user: Prisma.UserCreateNestedOneWithoutProfileInput -} - -export type UserProfileUncheckedCreateInput = { - id?: string - userId: string - bio?: string | null - city?: string | null - interests?: Prisma.UserProfileCreateinterestsInput | string[] - instagram?: string | null - vibe?: $Enums.Vibe | null - createdAt?: Date | string - updatedAt?: Date | string -} - -export type UserProfileUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - bio?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - city?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - interests?: Prisma.UserProfileUpdateinterestsInput | string[] - instagram?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - vibe?: Prisma.NullableEnumVibeFieldUpdateOperationsInput | $Enums.Vibe | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - user?: Prisma.UserUpdateOneRequiredWithoutProfileNestedInput -} - -export type UserProfileUncheckedUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - userId?: Prisma.StringFieldUpdateOperationsInput | string - bio?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - city?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - interests?: Prisma.UserProfileUpdateinterestsInput | string[] - instagram?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - vibe?: Prisma.NullableEnumVibeFieldUpdateOperationsInput | $Enums.Vibe | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - -export type UserProfileCreateManyInput = { - id?: string - userId: string - bio?: string | null - city?: string | null - interests?: Prisma.UserProfileCreateinterestsInput | string[] - instagram?: string | null - vibe?: $Enums.Vibe | null - createdAt?: Date | string - updatedAt?: Date | string -} - -export type UserProfileUpdateManyMutationInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - bio?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - city?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - interests?: Prisma.UserProfileUpdateinterestsInput | string[] - instagram?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - vibe?: Prisma.NullableEnumVibeFieldUpdateOperationsInput | $Enums.Vibe | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - -export type UserProfileUncheckedUpdateManyInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - userId?: Prisma.StringFieldUpdateOperationsInput | string - bio?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - city?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - interests?: Prisma.UserProfileUpdateinterestsInput | string[] - instagram?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - vibe?: Prisma.NullableEnumVibeFieldUpdateOperationsInput | $Enums.Vibe | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - -export type UserProfileNullableScalarRelationFilter = { - is?: Prisma.UserProfileWhereInput | null - isNot?: Prisma.UserProfileWhereInput | null -} - -export type StringNullableListFilter<$PrismaModel = never> = { - equals?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null - has?: string | Prisma.StringFieldRefInput<$PrismaModel> | null - hasEvery?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> - hasSome?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> - isEmpty?: boolean -} - -export type UserProfileCountOrderByAggregateInput = { - id?: Prisma.SortOrder - userId?: Prisma.SortOrder - bio?: Prisma.SortOrder - city?: Prisma.SortOrder - interests?: Prisma.SortOrder - instagram?: Prisma.SortOrder - vibe?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder -} - -export type UserProfileMaxOrderByAggregateInput = { - id?: Prisma.SortOrder - userId?: Prisma.SortOrder - bio?: Prisma.SortOrder - city?: Prisma.SortOrder - instagram?: Prisma.SortOrder - vibe?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder -} - -export type UserProfileMinOrderByAggregateInput = { - id?: Prisma.SortOrder - userId?: Prisma.SortOrder - bio?: Prisma.SortOrder - city?: Prisma.SortOrder - instagram?: Prisma.SortOrder - vibe?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder -} - -export type UserProfileCreateNestedOneWithoutUserInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.UserProfileCreateOrConnectWithoutUserInput - connect?: Prisma.UserProfileWhereUniqueInput -} - -export type UserProfileUncheckedCreateNestedOneWithoutUserInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.UserProfileCreateOrConnectWithoutUserInput - connect?: Prisma.UserProfileWhereUniqueInput -} - -export type UserProfileUpdateOneWithoutUserNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.UserProfileCreateOrConnectWithoutUserInput - upsert?: Prisma.UserProfileUpsertWithoutUserInput - disconnect?: Prisma.UserProfileWhereInput | boolean - delete?: Prisma.UserProfileWhereInput | boolean - connect?: Prisma.UserProfileWhereUniqueInput - update?: Prisma.XOR, Prisma.UserProfileUncheckedUpdateWithoutUserInput> -} - -export type UserProfileUncheckedUpdateOneWithoutUserNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.UserProfileCreateOrConnectWithoutUserInput - upsert?: Prisma.UserProfileUpsertWithoutUserInput - disconnect?: Prisma.UserProfileWhereInput | boolean - delete?: Prisma.UserProfileWhereInput | boolean - connect?: Prisma.UserProfileWhereUniqueInput - update?: Prisma.XOR, Prisma.UserProfileUncheckedUpdateWithoutUserInput> -} - -export type UserProfileCreateinterestsInput = { - set: string[] -} - -export type UserProfileUpdateinterestsInput = { - set?: string[] - push?: string | string[] -} - -export type NullableEnumVibeFieldUpdateOperationsInput = { - set?: $Enums.Vibe | null -} - -export type UserProfileCreateWithoutUserInput = { - id?: string - bio?: string | null - city?: string | null - interests?: Prisma.UserProfileCreateinterestsInput | string[] - instagram?: string | null - vibe?: $Enums.Vibe | null - createdAt?: Date | string - updatedAt?: Date | string -} - -export type UserProfileUncheckedCreateWithoutUserInput = { - id?: string - bio?: string | null - city?: string | null - interests?: Prisma.UserProfileCreateinterestsInput | string[] - instagram?: string | null - vibe?: $Enums.Vibe | null - createdAt?: Date | string - updatedAt?: Date | string -} - -export type UserProfileCreateOrConnectWithoutUserInput = { - where: Prisma.UserProfileWhereUniqueInput - create: Prisma.XOR -} - -export type UserProfileUpsertWithoutUserInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.UserProfileWhereInput -} - -export type UserProfileUpdateToOneWithWhereWithoutUserInput = { - where?: Prisma.UserProfileWhereInput - data: Prisma.XOR -} - -export type UserProfileUpdateWithoutUserInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - bio?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - city?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - interests?: Prisma.UserProfileUpdateinterestsInput | string[] - instagram?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - vibe?: Prisma.NullableEnumVibeFieldUpdateOperationsInput | $Enums.Vibe | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - -export type UserProfileUncheckedUpdateWithoutUserInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - bio?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - city?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - interests?: Prisma.UserProfileUpdateinterestsInput | string[] - instagram?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - vibe?: Prisma.NullableEnumVibeFieldUpdateOperationsInput | $Enums.Vibe | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - - - -export type UserProfileSelect = runtime.Types.Extensions.GetSelect<{ - id?: boolean - userId?: boolean - bio?: boolean - city?: boolean - interests?: boolean - instagram?: boolean - vibe?: boolean - createdAt?: boolean - updatedAt?: boolean - user?: boolean | Prisma.UserDefaultArgs -}, ExtArgs["result"]["userProfile"]> - -export type UserProfileSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - userId?: boolean - bio?: boolean - city?: boolean - interests?: boolean - instagram?: boolean - vibe?: boolean - createdAt?: boolean - updatedAt?: boolean - user?: boolean | Prisma.UserDefaultArgs -}, ExtArgs["result"]["userProfile"]> - -export type UserProfileSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - userId?: boolean - bio?: boolean - city?: boolean - interests?: boolean - instagram?: boolean - vibe?: boolean - createdAt?: boolean - updatedAt?: boolean - user?: boolean | Prisma.UserDefaultArgs -}, ExtArgs["result"]["userProfile"]> - -export type UserProfileSelectScalar = { - id?: boolean - userId?: boolean - bio?: boolean - city?: boolean - interests?: boolean - instagram?: boolean - vibe?: boolean - createdAt?: boolean - updatedAt?: boolean -} - -export type UserProfileOmit = runtime.Types.Extensions.GetOmit<"id" | "userId" | "bio" | "city" | "interests" | "instagram" | "vibe" | "createdAt" | "updatedAt", ExtArgs["result"]["userProfile"]> -export type UserProfileInclude = { - user?: boolean | Prisma.UserDefaultArgs -} -export type UserProfileIncludeCreateManyAndReturn = { - user?: boolean | Prisma.UserDefaultArgs -} -export type UserProfileIncludeUpdateManyAndReturn = { - user?: boolean | Prisma.UserDefaultArgs -} - -export type $UserProfilePayload = { - name: "UserProfile" - objects: { - user: Prisma.$UserPayload - } - scalars: runtime.Types.Extensions.GetPayloadResult<{ - id: string - userId: string - /** - * Bio singkat, teks bebas - */ - bio: string | null - /** - * Kota domisili (teks bebas, mis. "Bandung", "Jakarta Selatan") - */ - city: string | null - /** - * Tag minat aktivitas (mis. ["hiking", "fotografi", "yoga"]) - */ - interests: string[] - /** - * Username Instagram (tanpa @, opsional) - */ - instagram: string | null - /** - * Gaya jalan / energi user — dipakai untuk matching teman dengan ritme serupa. - */ - vibe: $Enums.Vibe | null - createdAt: Date - updatedAt: Date - }, ExtArgs["result"]["userProfile"]> - composites: {} -} - -export type UserProfileGetPayload = runtime.Types.Result.GetResult - -export type UserProfileCountArgs = - Omit & { - select?: UserProfileCountAggregateInputType | true - } - -export interface UserProfileDelegate { - [K: symbol]: { types: Prisma.TypeMap['model']['UserProfile'], meta: { name: 'UserProfile' } } - /** - * Find zero or one UserProfile that matches the filter. - * @param {UserProfileFindUniqueArgs} args - Arguments to find a UserProfile - * @example - * // Get one UserProfile - * const userProfile = await prisma.userProfile.findUnique({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__UserProfileClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find one UserProfile that matches the filter or throw an error with `error.code='P2025'` - * if no matches were found. - * @param {UserProfileFindUniqueOrThrowArgs} args - Arguments to find a UserProfile - * @example - * // Get one UserProfile - * const userProfile = await prisma.userProfile.findUniqueOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__UserProfileClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find the first UserProfile 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 {UserProfileFindFirstArgs} args - Arguments to find a UserProfile - * @example - * // Get one UserProfile - * const userProfile = await prisma.userProfile.findFirst({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__UserProfileClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find the first UserProfile 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 {UserProfileFindFirstOrThrowArgs} args - Arguments to find a UserProfile - * @example - * // Get one UserProfile - * const userProfile = await prisma.userProfile.findFirstOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__UserProfileClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find zero or more UserProfiles 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 {UserProfileFindManyArgs} args - Arguments to filter and select certain fields only. - * @example - * // Get all UserProfiles - * const userProfiles = await prisma.userProfile.findMany() - * - * // Get first 10 UserProfiles - * const userProfiles = await prisma.userProfile.findMany({ take: 10 }) - * - * // Only select the `id` - * const userProfileWithIdOnly = await prisma.userProfile.findMany({ select: { id: true } }) - * - */ - findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> - - /** - * Create a UserProfile. - * @param {UserProfileCreateArgs} args - Arguments to create a UserProfile. - * @example - * // Create one UserProfile - * const UserProfile = await prisma.userProfile.create({ - * data: { - * // ... data to create a UserProfile - * } - * }) - * - */ - create(args: Prisma.SelectSubset>): Prisma.Prisma__UserProfileClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Create many UserProfiles. - * @param {UserProfileCreateManyArgs} args - Arguments to create many UserProfiles. - * @example - * // Create many UserProfiles - * const userProfile = await prisma.userProfile.createMany({ - * data: [ - * // ... provide data here - * ] - * }) - * - */ - createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Create many UserProfiles and returns the data saved in the database. - * @param {UserProfileCreateManyAndReturnArgs} args - Arguments to create many UserProfiles. - * @example - * // Create many UserProfiles - * const userProfile = await prisma.userProfile.createManyAndReturn({ - * data: [ - * // ... provide data here - * ] - * }) - * - * // Create many UserProfiles and only return the `id` - * const userProfileWithIdOnly = await prisma.userProfile.createManyAndReturn({ - * select: { id: true }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> - - /** - * Delete a UserProfile. - * @param {UserProfileDeleteArgs} args - Arguments to delete one UserProfile. - * @example - * // Delete one UserProfile - * const UserProfile = await prisma.userProfile.delete({ - * where: { - * // ... filter to delete one UserProfile - * } - * }) - * - */ - delete(args: Prisma.SelectSubset>): Prisma.Prisma__UserProfileClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Update one UserProfile. - * @param {UserProfileUpdateArgs} args - Arguments to update one UserProfile. - * @example - * // Update one UserProfile - * const userProfile = await prisma.userProfile.update({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - update(args: Prisma.SelectSubset>): Prisma.Prisma__UserProfileClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Delete zero or more UserProfiles. - * @param {UserProfileDeleteManyArgs} args - Arguments to filter UserProfiles to delete. - * @example - * // Delete a few UserProfiles - * const { count } = await prisma.userProfile.deleteMany({ - * where: { - * // ... provide filter here - * } - * }) - * - */ - deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more UserProfiles. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {UserProfileUpdateManyArgs} args - Arguments to update one or more rows. - * @example - * // Update many UserProfiles - * const userProfile = await prisma.userProfile.updateMany({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more UserProfiles and returns the data updated in the database. - * @param {UserProfileUpdateManyAndReturnArgs} args - Arguments to update many UserProfiles. - * @example - * // Update many UserProfiles - * const userProfile = await prisma.userProfile.updateManyAndReturn({ - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * - * // Update zero or more UserProfiles and only return the `id` - * const userProfileWithIdOnly = await prisma.userProfile.updateManyAndReturn({ - * select: { id: true }, - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> - - /** - * Create or update one UserProfile. - * @param {UserProfileUpsertArgs} args - Arguments to update or create a UserProfile. - * @example - * // Update or create a UserProfile - * const userProfile = await prisma.userProfile.upsert({ - * create: { - * // ... data to create a UserProfile - * }, - * update: { - * // ... in case it already exists, update - * }, - * where: { - * // ... the filter for the UserProfile we want to update - * } - * }) - */ - upsert(args: Prisma.SelectSubset>): Prisma.Prisma__UserProfileClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - - /** - * Count the number of UserProfiles. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {UserProfileCountArgs} args - Arguments to filter UserProfiles to count. - * @example - * // Count the number of UserProfiles - * const count = await prisma.userProfile.count({ - * where: { - * // ... the filter for the UserProfiles we want to count - * } - * }) - **/ - count( - args?: Prisma.Subset, - ): Prisma.PrismaPromise< - T extends runtime.Types.Utils.Record<'select', any> - ? T['select'] extends true - ? number - : Prisma.GetScalarType - : number - > - - /** - * Allows you to perform aggregations operations on a UserProfile. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {UserProfileAggregateArgs} args - Select which aggregations you would like to apply and on what fields. - * @example - * // Ordered by age ascending - * // Where email contains prisma.io - * // Limited to the 10 users - * const aggregations = await prisma.user.aggregate({ - * _avg: { - * age: true, - * }, - * where: { - * email: { - * contains: "prisma.io", - * }, - * }, - * orderBy: { - * age: "asc", - * }, - * take: 10, - * }) - **/ - aggregate(args: Prisma.Subset): Prisma.PrismaPromise> - - /** - * Group by UserProfile. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {UserProfileGroupByArgs} 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 UserProfileGroupByArgs, - HasSelectOrTake extends Prisma.Or< - Prisma.Extends<'skip', Prisma.Keys>, - Prisma.Extends<'take', Prisma.Keys> - >, - OrderByArg extends Prisma.True extends HasSelectOrTake - ? { orderBy: UserProfileGroupByArgs['orderBy'] } - : { orderBy?: UserProfileGroupByArgs['orderBy'] }, - OrderFields extends Prisma.ExcludeUnderscoreKeys>>, - ByFields extends Prisma.MaybeTupleToUnion, - ByValid extends Prisma.Has, - HavingFields extends Prisma.GetHavingFields, - HavingValid extends Prisma.Has, - ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, - InputErrors extends ByEmpty extends Prisma.True - ? `Error: "by" must not be empty.` - : HavingValid extends Prisma.False - ? { - [P in HavingFields]: P extends ByFields - ? never - : P extends string - ? `Error: Field "${P}" used in "having" needs to be provided in "by".` - : [ - Error, - 'Field ', - P, - ` in "having" needs to be provided in "by"`, - ] - }[HavingFields] - : 'take' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "take", you also need to provide "orderBy"' - : 'skip' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "skip", you also need to provide "orderBy"' - : ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetUserProfileGroupByPayload : Prisma.PrismaPromise -/** - * Fields of the UserProfile model - */ -readonly fields: UserProfileFieldRefs; -} - -/** - * The delegate class that acts as a "Promise-like" for UserProfile. - * 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__UserProfileClient extends Prisma.PrismaPromise { - readonly [Symbol.toStringTag]: "PrismaPromise" - user = {}>(args?: Prisma.Subset>): Prisma.Prisma__UserClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> - /** - * Attaches callbacks for the resolution and/or rejection of the Promise. - * @param onfulfilled The callback to execute when the Promise is resolved. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of which ever callback is executed. - */ - then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback for only the rejection of the Promise. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of the callback. - */ - catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The - * resolved value cannot be modified from the callback. - * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). - * @returns A Promise for the completion of the callback. - */ - finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise -} - - - - -/** - * Fields of the UserProfile model - */ -export interface UserProfileFieldRefs { - readonly id: Prisma.FieldRef<"UserProfile", 'String'> - readonly userId: Prisma.FieldRef<"UserProfile", 'String'> - readonly bio: Prisma.FieldRef<"UserProfile", 'String'> - readonly city: Prisma.FieldRef<"UserProfile", 'String'> - readonly interests: Prisma.FieldRef<"UserProfile", 'String[]'> - readonly instagram: Prisma.FieldRef<"UserProfile", 'String'> - readonly vibe: Prisma.FieldRef<"UserProfile", 'Vibe'> - readonly createdAt: Prisma.FieldRef<"UserProfile", 'DateTime'> - readonly updatedAt: Prisma.FieldRef<"UserProfile", 'DateTime'> -} - - -// Custom InputTypes -/** - * UserProfile findUnique - */ -export type UserProfileFindUniqueArgs = { - /** - * Select specific fields to fetch from the UserProfile - */ - select?: Prisma.UserProfileSelect | null - /** - * Omit specific fields from the UserProfile - */ - omit?: Prisma.UserProfileOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserProfileInclude | null - /** - * Filter, which UserProfile to fetch. - */ - where: Prisma.UserProfileWhereUniqueInput -} - -/** - * UserProfile findUniqueOrThrow - */ -export type UserProfileFindUniqueOrThrowArgs = { - /** - * Select specific fields to fetch from the UserProfile - */ - select?: Prisma.UserProfileSelect | null - /** - * Omit specific fields from the UserProfile - */ - omit?: Prisma.UserProfileOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserProfileInclude | null - /** - * Filter, which UserProfile to fetch. - */ - where: Prisma.UserProfileWhereUniqueInput -} - -/** - * UserProfile findFirst - */ -export type UserProfileFindFirstArgs = { - /** - * Select specific fields to fetch from the UserProfile - */ - select?: Prisma.UserProfileSelect | null - /** - * Omit specific fields from the UserProfile - */ - omit?: Prisma.UserProfileOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserProfileInclude | null - /** - * Filter, which UserProfile to fetch. - */ - where?: Prisma.UserProfileWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of UserProfiles to fetch. - */ - orderBy?: Prisma.UserProfileOrderByWithRelationInput | Prisma.UserProfileOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for UserProfiles. - */ - cursor?: Prisma.UserProfileWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` UserProfiles 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` UserProfiles. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of UserProfiles. - */ - distinct?: Prisma.UserProfileScalarFieldEnum | Prisma.UserProfileScalarFieldEnum[] -} - -/** - * UserProfile findFirstOrThrow - */ -export type UserProfileFindFirstOrThrowArgs = { - /** - * Select specific fields to fetch from the UserProfile - */ - select?: Prisma.UserProfileSelect | null - /** - * Omit specific fields from the UserProfile - */ - omit?: Prisma.UserProfileOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserProfileInclude | null - /** - * Filter, which UserProfile to fetch. - */ - where?: Prisma.UserProfileWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of UserProfiles to fetch. - */ - orderBy?: Prisma.UserProfileOrderByWithRelationInput | Prisma.UserProfileOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for UserProfiles. - */ - cursor?: Prisma.UserProfileWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` UserProfiles 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` UserProfiles. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of UserProfiles. - */ - distinct?: Prisma.UserProfileScalarFieldEnum | Prisma.UserProfileScalarFieldEnum[] -} - -/** - * UserProfile findMany - */ -export type UserProfileFindManyArgs = { - /** - * Select specific fields to fetch from the UserProfile - */ - select?: Prisma.UserProfileSelect | null - /** - * Omit specific fields from the UserProfile - */ - omit?: Prisma.UserProfileOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserProfileInclude | null - /** - * Filter, which UserProfiles to fetch. - */ - where?: Prisma.UserProfileWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of UserProfiles to fetch. - */ - orderBy?: Prisma.UserProfileOrderByWithRelationInput | Prisma.UserProfileOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for listing UserProfiles. - */ - cursor?: Prisma.UserProfileWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` UserProfiles 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` UserProfiles. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of UserProfiles. - */ - distinct?: Prisma.UserProfileScalarFieldEnum | Prisma.UserProfileScalarFieldEnum[] -} - -/** - * UserProfile create - */ -export type UserProfileCreateArgs = { - /** - * Select specific fields to fetch from the UserProfile - */ - select?: Prisma.UserProfileSelect | null - /** - * Omit specific fields from the UserProfile - */ - omit?: Prisma.UserProfileOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserProfileInclude | null - /** - * The data needed to create a UserProfile. - */ - data: Prisma.XOR -} - -/** - * UserProfile createMany - */ -export type UserProfileCreateManyArgs = { - /** - * The data used to create many UserProfiles. - */ - data: Prisma.UserProfileCreateManyInput | Prisma.UserProfileCreateManyInput[] - skipDuplicates?: boolean -} - -/** - * UserProfile createManyAndReturn - */ -export type UserProfileCreateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the UserProfile - */ - select?: Prisma.UserProfileSelectCreateManyAndReturn | null - /** - * Omit specific fields from the UserProfile - */ - omit?: Prisma.UserProfileOmit | null - /** - * The data used to create many UserProfiles. - */ - data: Prisma.UserProfileCreateManyInput | Prisma.UserProfileCreateManyInput[] - skipDuplicates?: boolean - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserProfileIncludeCreateManyAndReturn | null -} - -/** - * UserProfile update - */ -export type UserProfileUpdateArgs = { - /** - * Select specific fields to fetch from the UserProfile - */ - select?: Prisma.UserProfileSelect | null - /** - * Omit specific fields from the UserProfile - */ - omit?: Prisma.UserProfileOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserProfileInclude | null - /** - * The data needed to update a UserProfile. - */ - data: Prisma.XOR - /** - * Choose, which UserProfile to update. - */ - where: Prisma.UserProfileWhereUniqueInput -} - -/** - * UserProfile updateMany - */ -export type UserProfileUpdateManyArgs = { - /** - * The data used to update UserProfiles. - */ - data: Prisma.XOR - /** - * Filter which UserProfiles to update - */ - where?: Prisma.UserProfileWhereInput - /** - * Limit how many UserProfiles to update. - */ - limit?: number -} - -/** - * UserProfile updateManyAndReturn - */ -export type UserProfileUpdateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the UserProfile - */ - select?: Prisma.UserProfileSelectUpdateManyAndReturn | null - /** - * Omit specific fields from the UserProfile - */ - omit?: Prisma.UserProfileOmit | null - /** - * The data used to update UserProfiles. - */ - data: Prisma.XOR - /** - * Filter which UserProfiles to update - */ - where?: Prisma.UserProfileWhereInput - /** - * Limit how many UserProfiles to update. - */ - limit?: number - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserProfileIncludeUpdateManyAndReturn | null -} - -/** - * UserProfile upsert - */ -export type UserProfileUpsertArgs = { - /** - * Select specific fields to fetch from the UserProfile - */ - select?: Prisma.UserProfileSelect | null - /** - * Omit specific fields from the UserProfile - */ - omit?: Prisma.UserProfileOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserProfileInclude | null - /** - * The filter to search for the UserProfile to update in case it exists. - */ - where: Prisma.UserProfileWhereUniqueInput - /** - * In case the UserProfile found by the `where` argument doesn't exist, create a new UserProfile with this data. - */ - create: Prisma.XOR - /** - * In case the UserProfile was found with the provided `where` argument, update it with this data. - */ - update: Prisma.XOR -} - -/** - * UserProfile delete - */ -export type UserProfileDeleteArgs = { - /** - * Select specific fields to fetch from the UserProfile - */ - select?: Prisma.UserProfileSelect | null - /** - * Omit specific fields from the UserProfile - */ - omit?: Prisma.UserProfileOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserProfileInclude | null - /** - * Filter which UserProfile to delete. - */ - where: Prisma.UserProfileWhereUniqueInput -} - -/** - * UserProfile deleteMany - */ -export type UserProfileDeleteManyArgs = { - /** - * Filter which UserProfiles to delete - */ - where?: Prisma.UserProfileWhereInput - /** - * Limit how many UserProfiles to delete. - */ - limit?: number -} - -/** - * UserProfile without action - */ -export type UserProfileDefaultArgs = { - /** - * Select specific fields to fetch from the UserProfile - */ - select?: Prisma.UserProfileSelect | null - /** - * Omit specific fields from the UserProfile - */ - omit?: Prisma.UserProfileOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserProfileInclude | null -}