chore: remove generated prisma client from repository
This commit is contained in:
@@ -42,3 +42,6 @@ yarn-error.log*
|
|||||||
# typescript
|
# typescript
|
||||||
*.tsbuildinfo
|
*.tsbuildinfo
|
||||||
next-env.d.ts
|
next-env.d.ts
|
||||||
|
|
||||||
|
#prisma
|
||||||
|
**/generated/prisma
|
||||||
@@ -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
|
|
||||||
@@ -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<LogOpts extends Prisma.LogLevel = never, OmitOpts extends Prisma.PrismaClientOptions["omit"] = Prisma.PrismaClientOptions["omit"], ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = $Class.PrismaClient<LogOpts, OmitOpts, ExtArgs>
|
|
||||||
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
|
|
||||||
@@ -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<Required<JsonNullableFilterBase<$PrismaModel>>, Exclude<keyof Required<JsonNullableFilterBase<$PrismaModel>>, 'path'>>,
|
|
||||||
Required<JsonNullableFilterBase<$PrismaModel>>
|
|
||||||
>
|
|
||||||
| Prisma.OptionalFlat<Omit<Required<JsonNullableFilterBase<$PrismaModel>>, '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<Required<JsonNullableWithAggregatesFilterBase<$PrismaModel>>, Exclude<keyof Required<JsonNullableWithAggregatesFilterBase<$PrismaModel>>, 'path'>>,
|
|
||||||
Required<JsonNullableWithAggregatesFilterBase<$PrismaModel>>
|
|
||||||
>
|
|
||||||
| Prisma.OptionalFlat<Omit<Required<JsonNullableWithAggregatesFilterBase<$PrismaModel>>, '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<Required<NestedJsonNullableFilterBase<$PrismaModel>>, Exclude<keyof Required<NestedJsonNullableFilterBase<$PrismaModel>>, 'path'>>,
|
|
||||||
Required<NestedJsonNullableFilterBase<$PrismaModel>>
|
|
||||||
>
|
|
||||||
| Prisma.OptionalFlat<Omit<Required<NestedJsonNullableFilterBase<$PrismaModel>>, '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>
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
@@ -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]
|
|
||||||
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
@@ -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]
|
|
||||||
|
|
||||||
@@ -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'
|
|
||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user