Files
HiveGrid-Wireframes/03 Quellen und Referenzen/hivegrid-cloud/packages/db/generated/prisma/client/models/AdminBookingParticipant.ts
T

1492 lines
63 KiB
TypeScript

/* !!! This is code generated by Prisma. Do not edit directly. !!! */
/* eslint-disable */
// biome-ignore-all lint: generated file
// @ts-nocheck
/*
* This file exports the `AdminBookingParticipant` 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.ts"
import type * as Prisma from "../internal/prismaNamespace.ts"
/**
* Model AdminBookingParticipant
*
*/
export type AdminBookingParticipantModel = runtime.Types.Result.DefaultSelection<Prisma.$AdminBookingParticipantPayload>
export type AggregateAdminBookingParticipant = {
_count: AdminBookingParticipantCountAggregateOutputType | null
_min: AdminBookingParticipantMinAggregateOutputType | null
_max: AdminBookingParticipantMaxAggregateOutputType | null
}
export type AdminBookingParticipantMinAggregateOutputType = {
id: string | null
createdAt: Date | null
adminUserId: string | null
bookingId: string | null
email: string | null
name: string | null
locale: string | null
timeZone: string | null
isOrganizer: boolean | null
}
export type AdminBookingParticipantMaxAggregateOutputType = {
id: string | null
createdAt: Date | null
adminUserId: string | null
bookingId: string | null
email: string | null
name: string | null
locale: string | null
timeZone: string | null
isOrganizer: boolean | null
}
export type AdminBookingParticipantCountAggregateOutputType = {
id: number
createdAt: number
adminUserId: number
bookingId: number
email: number
name: number
locale: number
timeZone: number
isOrganizer: number
_all: number
}
export type AdminBookingParticipantMinAggregateInputType = {
id?: true
createdAt?: true
adminUserId?: true
bookingId?: true
email?: true
name?: true
locale?: true
timeZone?: true
isOrganizer?: true
}
export type AdminBookingParticipantMaxAggregateInputType = {
id?: true
createdAt?: true
adminUserId?: true
bookingId?: true
email?: true
name?: true
locale?: true
timeZone?: true
isOrganizer?: true
}
export type AdminBookingParticipantCountAggregateInputType = {
id?: true
createdAt?: true
adminUserId?: true
bookingId?: true
email?: true
name?: true
locale?: true
timeZone?: true
isOrganizer?: true
_all?: true
}
export type AdminBookingParticipantAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which AdminBookingParticipant to aggregate.
*/
where?: Prisma.AdminBookingParticipantWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of AdminBookingParticipants to fetch.
*/
orderBy?: Prisma.AdminBookingParticipantOrderByWithRelationInput | Prisma.AdminBookingParticipantOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the start position
*/
cursor?: Prisma.AdminBookingParticipantWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` AdminBookingParticipants 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` AdminBookingParticipants.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Count returned AdminBookingParticipants
**/
_count?: true | AdminBookingParticipantCountAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the minimum value
**/
_min?: AdminBookingParticipantMinAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the maximum value
**/
_max?: AdminBookingParticipantMaxAggregateInputType
}
export type GetAdminBookingParticipantAggregateType<T extends AdminBookingParticipantAggregateArgs> = {
[P in keyof T & keyof AggregateAdminBookingParticipant]: P extends '_count' | 'count'
? T[P] extends true
? number
: Prisma.GetScalarType<T[P], AggregateAdminBookingParticipant[P]>
: Prisma.GetScalarType<T[P], AggregateAdminBookingParticipant[P]>
}
export type AdminBookingParticipantGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.AdminBookingParticipantWhereInput
orderBy?: Prisma.AdminBookingParticipantOrderByWithAggregationInput | Prisma.AdminBookingParticipantOrderByWithAggregationInput[]
by: Prisma.AdminBookingParticipantScalarFieldEnum[] | Prisma.AdminBookingParticipantScalarFieldEnum
having?: Prisma.AdminBookingParticipantScalarWhereWithAggregatesInput
take?: number
skip?: number
_count?: AdminBookingParticipantCountAggregateInputType | true
_min?: AdminBookingParticipantMinAggregateInputType
_max?: AdminBookingParticipantMaxAggregateInputType
}
export type AdminBookingParticipantGroupByOutputType = {
id: string
createdAt: Date
adminUserId: string
bookingId: string
email: string
name: string
locale: string | null
timeZone: string | null
isOrganizer: boolean
_count: AdminBookingParticipantCountAggregateOutputType | null
_min: AdminBookingParticipantMinAggregateOutputType | null
_max: AdminBookingParticipantMaxAggregateOutputType | null
}
export type GetAdminBookingParticipantGroupByPayload<T extends AdminBookingParticipantGroupByArgs> = Prisma.PrismaPromise<
Array<
Prisma.PickEnumerable<AdminBookingParticipantGroupByOutputType, T['by']> &
{
[P in ((keyof T) & (keyof AdminBookingParticipantGroupByOutputType))]: P extends '_count'
? T[P] extends boolean
? number
: Prisma.GetScalarType<T[P], AdminBookingParticipantGroupByOutputType[P]>
: Prisma.GetScalarType<T[P], AdminBookingParticipantGroupByOutputType[P]>
}
>
>
export type AdminBookingParticipantWhereInput = {
AND?: Prisma.AdminBookingParticipantWhereInput | Prisma.AdminBookingParticipantWhereInput[]
OR?: Prisma.AdminBookingParticipantWhereInput[]
NOT?: Prisma.AdminBookingParticipantWhereInput | Prisma.AdminBookingParticipantWhereInput[]
id?: Prisma.StringFilter<"AdminBookingParticipant"> | string
createdAt?: Prisma.DateTimeFilter<"AdminBookingParticipant"> | Date | string
adminUserId?: Prisma.StringFilter<"AdminBookingParticipant"> | string
bookingId?: Prisma.StringFilter<"AdminBookingParticipant"> | string
email?: Prisma.StringFilter<"AdminBookingParticipant"> | string
name?: Prisma.StringFilter<"AdminBookingParticipant"> | string
locale?: Prisma.StringNullableFilter<"AdminBookingParticipant"> | string | null
timeZone?: Prisma.StringNullableFilter<"AdminBookingParticipant"> | string | null
isOrganizer?: Prisma.BoolFilter<"AdminBookingParticipant"> | boolean
booking?: Prisma.XOR<Prisma.AdminBookingScalarRelationFilter, Prisma.AdminBookingWhereInput>
}
export type AdminBookingParticipantOrderByWithRelationInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
adminUserId?: Prisma.SortOrder
bookingId?: Prisma.SortOrder
email?: Prisma.SortOrder
name?: Prisma.SortOrder
locale?: Prisma.SortOrderInput | Prisma.SortOrder
timeZone?: Prisma.SortOrderInput | Prisma.SortOrder
isOrganizer?: Prisma.SortOrder
booking?: Prisma.AdminBookingOrderByWithRelationInput
}
export type AdminBookingParticipantWhereUniqueInput = Prisma.AtLeast<{
id?: string
admin_booking_participant_email_key?: Prisma.AdminBookingParticipantAdmin_booking_participant_email_keyCompoundUniqueInput
AND?: Prisma.AdminBookingParticipantWhereInput | Prisma.AdminBookingParticipantWhereInput[]
OR?: Prisma.AdminBookingParticipantWhereInput[]
NOT?: Prisma.AdminBookingParticipantWhereInput | Prisma.AdminBookingParticipantWhereInput[]
createdAt?: Prisma.DateTimeFilter<"AdminBookingParticipant"> | Date | string
adminUserId?: Prisma.StringFilter<"AdminBookingParticipant"> | string
bookingId?: Prisma.StringFilter<"AdminBookingParticipant"> | string
email?: Prisma.StringFilter<"AdminBookingParticipant"> | string
name?: Prisma.StringFilter<"AdminBookingParticipant"> | string
locale?: Prisma.StringNullableFilter<"AdminBookingParticipant"> | string | null
timeZone?: Prisma.StringNullableFilter<"AdminBookingParticipant"> | string | null
isOrganizer?: Prisma.BoolFilter<"AdminBookingParticipant"> | boolean
booking?: Prisma.XOR<Prisma.AdminBookingScalarRelationFilter, Prisma.AdminBookingWhereInput>
}, "id" | "admin_booking_participant_email_key">
export type AdminBookingParticipantOrderByWithAggregationInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
adminUserId?: Prisma.SortOrder
bookingId?: Prisma.SortOrder
email?: Prisma.SortOrder
name?: Prisma.SortOrder
locale?: Prisma.SortOrderInput | Prisma.SortOrder
timeZone?: Prisma.SortOrderInput | Prisma.SortOrder
isOrganizer?: Prisma.SortOrder
_count?: Prisma.AdminBookingParticipantCountOrderByAggregateInput
_max?: Prisma.AdminBookingParticipantMaxOrderByAggregateInput
_min?: Prisma.AdminBookingParticipantMinOrderByAggregateInput
}
export type AdminBookingParticipantScalarWhereWithAggregatesInput = {
AND?: Prisma.AdminBookingParticipantScalarWhereWithAggregatesInput | Prisma.AdminBookingParticipantScalarWhereWithAggregatesInput[]
OR?: Prisma.AdminBookingParticipantScalarWhereWithAggregatesInput[]
NOT?: Prisma.AdminBookingParticipantScalarWhereWithAggregatesInput | Prisma.AdminBookingParticipantScalarWhereWithAggregatesInput[]
id?: Prisma.StringWithAggregatesFilter<"AdminBookingParticipant"> | string
createdAt?: Prisma.DateTimeWithAggregatesFilter<"AdminBookingParticipant"> | Date | string
adminUserId?: Prisma.StringWithAggregatesFilter<"AdminBookingParticipant"> | string
bookingId?: Prisma.StringWithAggregatesFilter<"AdminBookingParticipant"> | string
email?: Prisma.StringWithAggregatesFilter<"AdminBookingParticipant"> | string
name?: Prisma.StringWithAggregatesFilter<"AdminBookingParticipant"> | string
locale?: Prisma.StringNullableWithAggregatesFilter<"AdminBookingParticipant"> | string | null
timeZone?: Prisma.StringNullableWithAggregatesFilter<"AdminBookingParticipant"> | string | null
isOrganizer?: Prisma.BoolWithAggregatesFilter<"AdminBookingParticipant"> | boolean
}
export type AdminBookingParticipantCreateInput = {
id?: string
createdAt?: Date | string
adminUserId: string
email: string
name: string
locale?: string | null
timeZone?: string | null
isOrganizer?: boolean
booking: Prisma.AdminBookingCreateNestedOneWithoutParticipantsInput
}
export type AdminBookingParticipantUncheckedCreateInput = {
id?: string
createdAt?: Date | string
adminUserId: string
bookingId: string
email: string
name: string
locale?: string | null
timeZone?: string | null
isOrganizer?: boolean
}
export type AdminBookingParticipantUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
email?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
locale?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
timeZone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isOrganizer?: Prisma.BoolFieldUpdateOperationsInput | boolean
booking?: Prisma.AdminBookingUpdateOneRequiredWithoutParticipantsNestedInput
}
export type AdminBookingParticipantUncheckedUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
bookingId?: Prisma.StringFieldUpdateOperationsInput | string
email?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
locale?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
timeZone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isOrganizer?: Prisma.BoolFieldUpdateOperationsInput | boolean
}
export type AdminBookingParticipantCreateManyInput = {
id?: string
createdAt?: Date | string
adminUserId: string
bookingId: string
email: string
name: string
locale?: string | null
timeZone?: string | null
isOrganizer?: boolean
}
export type AdminBookingParticipantUpdateManyMutationInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
email?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
locale?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
timeZone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isOrganizer?: Prisma.BoolFieldUpdateOperationsInput | boolean
}
export type AdminBookingParticipantUncheckedUpdateManyInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
bookingId?: Prisma.StringFieldUpdateOperationsInput | string
email?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
locale?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
timeZone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isOrganizer?: Prisma.BoolFieldUpdateOperationsInput | boolean
}
export type AdminBookingParticipantListRelationFilter = {
every?: Prisma.AdminBookingParticipantWhereInput
some?: Prisma.AdminBookingParticipantWhereInput
none?: Prisma.AdminBookingParticipantWhereInput
}
export type AdminBookingParticipantOrderByRelationAggregateInput = {
_count?: Prisma.SortOrder
}
export type AdminBookingParticipantAdmin_booking_participant_email_keyCompoundUniqueInput = {
bookingId: string
email: string
}
export type AdminBookingParticipantCountOrderByAggregateInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
adminUserId?: Prisma.SortOrder
bookingId?: Prisma.SortOrder
email?: Prisma.SortOrder
name?: Prisma.SortOrder
locale?: Prisma.SortOrder
timeZone?: Prisma.SortOrder
isOrganizer?: Prisma.SortOrder
}
export type AdminBookingParticipantMaxOrderByAggregateInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
adminUserId?: Prisma.SortOrder
bookingId?: Prisma.SortOrder
email?: Prisma.SortOrder
name?: Prisma.SortOrder
locale?: Prisma.SortOrder
timeZone?: Prisma.SortOrder
isOrganizer?: Prisma.SortOrder
}
export type AdminBookingParticipantMinOrderByAggregateInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
adminUserId?: Prisma.SortOrder
bookingId?: Prisma.SortOrder
email?: Prisma.SortOrder
name?: Prisma.SortOrder
locale?: Prisma.SortOrder
timeZone?: Prisma.SortOrder
isOrganizer?: Prisma.SortOrder
}
export type AdminBookingParticipantCreateNestedManyWithoutBookingInput = {
create?: Prisma.XOR<Prisma.AdminBookingParticipantCreateWithoutBookingInput, Prisma.AdminBookingParticipantUncheckedCreateWithoutBookingInput> | Prisma.AdminBookingParticipantCreateWithoutBookingInput[] | Prisma.AdminBookingParticipantUncheckedCreateWithoutBookingInput[]
connectOrCreate?: Prisma.AdminBookingParticipantCreateOrConnectWithoutBookingInput | Prisma.AdminBookingParticipantCreateOrConnectWithoutBookingInput[]
createMany?: Prisma.AdminBookingParticipantCreateManyBookingInputEnvelope
connect?: Prisma.AdminBookingParticipantWhereUniqueInput | Prisma.AdminBookingParticipantWhereUniqueInput[]
}
export type AdminBookingParticipantUncheckedCreateNestedManyWithoutBookingInput = {
create?: Prisma.XOR<Prisma.AdminBookingParticipantCreateWithoutBookingInput, Prisma.AdminBookingParticipantUncheckedCreateWithoutBookingInput> | Prisma.AdminBookingParticipantCreateWithoutBookingInput[] | Prisma.AdminBookingParticipantUncheckedCreateWithoutBookingInput[]
connectOrCreate?: Prisma.AdminBookingParticipantCreateOrConnectWithoutBookingInput | Prisma.AdminBookingParticipantCreateOrConnectWithoutBookingInput[]
createMany?: Prisma.AdminBookingParticipantCreateManyBookingInputEnvelope
connect?: Prisma.AdminBookingParticipantWhereUniqueInput | Prisma.AdminBookingParticipantWhereUniqueInput[]
}
export type AdminBookingParticipantUpdateManyWithoutBookingNestedInput = {
create?: Prisma.XOR<Prisma.AdminBookingParticipantCreateWithoutBookingInput, Prisma.AdminBookingParticipantUncheckedCreateWithoutBookingInput> | Prisma.AdminBookingParticipantCreateWithoutBookingInput[] | Prisma.AdminBookingParticipantUncheckedCreateWithoutBookingInput[]
connectOrCreate?: Prisma.AdminBookingParticipantCreateOrConnectWithoutBookingInput | Prisma.AdminBookingParticipantCreateOrConnectWithoutBookingInput[]
upsert?: Prisma.AdminBookingParticipantUpsertWithWhereUniqueWithoutBookingInput | Prisma.AdminBookingParticipantUpsertWithWhereUniqueWithoutBookingInput[]
createMany?: Prisma.AdminBookingParticipantCreateManyBookingInputEnvelope
set?: Prisma.AdminBookingParticipantWhereUniqueInput | Prisma.AdminBookingParticipantWhereUniqueInput[]
disconnect?: Prisma.AdminBookingParticipantWhereUniqueInput | Prisma.AdminBookingParticipantWhereUniqueInput[]
delete?: Prisma.AdminBookingParticipantWhereUniqueInput | Prisma.AdminBookingParticipantWhereUniqueInput[]
connect?: Prisma.AdminBookingParticipantWhereUniqueInput | Prisma.AdminBookingParticipantWhereUniqueInput[]
update?: Prisma.AdminBookingParticipantUpdateWithWhereUniqueWithoutBookingInput | Prisma.AdminBookingParticipantUpdateWithWhereUniqueWithoutBookingInput[]
updateMany?: Prisma.AdminBookingParticipantUpdateManyWithWhereWithoutBookingInput | Prisma.AdminBookingParticipantUpdateManyWithWhereWithoutBookingInput[]
deleteMany?: Prisma.AdminBookingParticipantScalarWhereInput | Prisma.AdminBookingParticipantScalarWhereInput[]
}
export type AdminBookingParticipantUncheckedUpdateManyWithoutBookingNestedInput = {
create?: Prisma.XOR<Prisma.AdminBookingParticipantCreateWithoutBookingInput, Prisma.AdminBookingParticipantUncheckedCreateWithoutBookingInput> | Prisma.AdminBookingParticipantCreateWithoutBookingInput[] | Prisma.AdminBookingParticipantUncheckedCreateWithoutBookingInput[]
connectOrCreate?: Prisma.AdminBookingParticipantCreateOrConnectWithoutBookingInput | Prisma.AdminBookingParticipantCreateOrConnectWithoutBookingInput[]
upsert?: Prisma.AdminBookingParticipantUpsertWithWhereUniqueWithoutBookingInput | Prisma.AdminBookingParticipantUpsertWithWhereUniqueWithoutBookingInput[]
createMany?: Prisma.AdminBookingParticipantCreateManyBookingInputEnvelope
set?: Prisma.AdminBookingParticipantWhereUniqueInput | Prisma.AdminBookingParticipantWhereUniqueInput[]
disconnect?: Prisma.AdminBookingParticipantWhereUniqueInput | Prisma.AdminBookingParticipantWhereUniqueInput[]
delete?: Prisma.AdminBookingParticipantWhereUniqueInput | Prisma.AdminBookingParticipantWhereUniqueInput[]
connect?: Prisma.AdminBookingParticipantWhereUniqueInput | Prisma.AdminBookingParticipantWhereUniqueInput[]
update?: Prisma.AdminBookingParticipantUpdateWithWhereUniqueWithoutBookingInput | Prisma.AdminBookingParticipantUpdateWithWhereUniqueWithoutBookingInput[]
updateMany?: Prisma.AdminBookingParticipantUpdateManyWithWhereWithoutBookingInput | Prisma.AdminBookingParticipantUpdateManyWithWhereWithoutBookingInput[]
deleteMany?: Prisma.AdminBookingParticipantScalarWhereInput | Prisma.AdminBookingParticipantScalarWhereInput[]
}
export type AdminBookingParticipantCreateWithoutBookingInput = {
id?: string
createdAt?: Date | string
adminUserId: string
email: string
name: string
locale?: string | null
timeZone?: string | null
isOrganizer?: boolean
}
export type AdminBookingParticipantUncheckedCreateWithoutBookingInput = {
id?: string
createdAt?: Date | string
adminUserId: string
email: string
name: string
locale?: string | null
timeZone?: string | null
isOrganizer?: boolean
}
export type AdminBookingParticipantCreateOrConnectWithoutBookingInput = {
where: Prisma.AdminBookingParticipantWhereUniqueInput
create: Prisma.XOR<Prisma.AdminBookingParticipantCreateWithoutBookingInput, Prisma.AdminBookingParticipantUncheckedCreateWithoutBookingInput>
}
export type AdminBookingParticipantCreateManyBookingInputEnvelope = {
data: Prisma.AdminBookingParticipantCreateManyBookingInput | Prisma.AdminBookingParticipantCreateManyBookingInput[]
skipDuplicates?: boolean
}
export type AdminBookingParticipantUpsertWithWhereUniqueWithoutBookingInput = {
where: Prisma.AdminBookingParticipantWhereUniqueInput
update: Prisma.XOR<Prisma.AdminBookingParticipantUpdateWithoutBookingInput, Prisma.AdminBookingParticipantUncheckedUpdateWithoutBookingInput>
create: Prisma.XOR<Prisma.AdminBookingParticipantCreateWithoutBookingInput, Prisma.AdminBookingParticipantUncheckedCreateWithoutBookingInput>
}
export type AdminBookingParticipantUpdateWithWhereUniqueWithoutBookingInput = {
where: Prisma.AdminBookingParticipantWhereUniqueInput
data: Prisma.XOR<Prisma.AdminBookingParticipantUpdateWithoutBookingInput, Prisma.AdminBookingParticipantUncheckedUpdateWithoutBookingInput>
}
export type AdminBookingParticipantUpdateManyWithWhereWithoutBookingInput = {
where: Prisma.AdminBookingParticipantScalarWhereInput
data: Prisma.XOR<Prisma.AdminBookingParticipantUpdateManyMutationInput, Prisma.AdminBookingParticipantUncheckedUpdateManyWithoutBookingInput>
}
export type AdminBookingParticipantScalarWhereInput = {
AND?: Prisma.AdminBookingParticipantScalarWhereInput | Prisma.AdminBookingParticipantScalarWhereInput[]
OR?: Prisma.AdminBookingParticipantScalarWhereInput[]
NOT?: Prisma.AdminBookingParticipantScalarWhereInput | Prisma.AdminBookingParticipantScalarWhereInput[]
id?: Prisma.StringFilter<"AdminBookingParticipant"> | string
createdAt?: Prisma.DateTimeFilter<"AdminBookingParticipant"> | Date | string
adminUserId?: Prisma.StringFilter<"AdminBookingParticipant"> | string
bookingId?: Prisma.StringFilter<"AdminBookingParticipant"> | string
email?: Prisma.StringFilter<"AdminBookingParticipant"> | string
name?: Prisma.StringFilter<"AdminBookingParticipant"> | string
locale?: Prisma.StringNullableFilter<"AdminBookingParticipant"> | string | null
timeZone?: Prisma.StringNullableFilter<"AdminBookingParticipant"> | string | null
isOrganizer?: Prisma.BoolFilter<"AdminBookingParticipant"> | boolean
}
export type AdminBookingParticipantCreateManyBookingInput = {
id?: string
createdAt?: Date | string
adminUserId: string
email: string
name: string
locale?: string | null
timeZone?: string | null
isOrganizer?: boolean
}
export type AdminBookingParticipantUpdateWithoutBookingInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
email?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
locale?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
timeZone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isOrganizer?: Prisma.BoolFieldUpdateOperationsInput | boolean
}
export type AdminBookingParticipantUncheckedUpdateWithoutBookingInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
email?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
locale?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
timeZone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isOrganizer?: Prisma.BoolFieldUpdateOperationsInput | boolean
}
export type AdminBookingParticipantUncheckedUpdateManyWithoutBookingInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
email?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
locale?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
timeZone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isOrganizer?: Prisma.BoolFieldUpdateOperationsInput | boolean
}
export type AdminBookingParticipantSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
createdAt?: boolean
adminUserId?: boolean
bookingId?: boolean
email?: boolean
name?: boolean
locale?: boolean
timeZone?: boolean
isOrganizer?: boolean
booking?: boolean | Prisma.AdminBookingDefaultArgs<ExtArgs>
}, ExtArgs["result"]["adminBookingParticipant"]>
export type AdminBookingParticipantSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
createdAt?: boolean
adminUserId?: boolean
bookingId?: boolean
email?: boolean
name?: boolean
locale?: boolean
timeZone?: boolean
isOrganizer?: boolean
booking?: boolean | Prisma.AdminBookingDefaultArgs<ExtArgs>
}, ExtArgs["result"]["adminBookingParticipant"]>
export type AdminBookingParticipantSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
createdAt?: boolean
adminUserId?: boolean
bookingId?: boolean
email?: boolean
name?: boolean
locale?: boolean
timeZone?: boolean
isOrganizer?: boolean
booking?: boolean | Prisma.AdminBookingDefaultArgs<ExtArgs>
}, ExtArgs["result"]["adminBookingParticipant"]>
export type AdminBookingParticipantSelectScalar = {
id?: boolean
createdAt?: boolean
adminUserId?: boolean
bookingId?: boolean
email?: boolean
name?: boolean
locale?: boolean
timeZone?: boolean
isOrganizer?: boolean
}
export type AdminBookingParticipantOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "adminUserId" | "bookingId" | "email" | "name" | "locale" | "timeZone" | "isOrganizer", ExtArgs["result"]["adminBookingParticipant"]>
export type AdminBookingParticipantInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
booking?: boolean | Prisma.AdminBookingDefaultArgs<ExtArgs>
}
export type AdminBookingParticipantIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
booking?: boolean | Prisma.AdminBookingDefaultArgs<ExtArgs>
}
export type AdminBookingParticipantIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
booking?: boolean | Prisma.AdminBookingDefaultArgs<ExtArgs>
}
export type $AdminBookingParticipantPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
name: "AdminBookingParticipant"
objects: {
booking: Prisma.$AdminBookingPayload<ExtArgs>
}
scalars: runtime.Types.Extensions.GetPayloadResult<{
id: string
createdAt: Date
adminUserId: string
bookingId: string
email: string
name: string
locale: string | null
timeZone: string | null
isOrganizer: boolean
}, ExtArgs["result"]["adminBookingParticipant"]>
composites: {}
}
export type AdminBookingParticipantGetPayload<S extends boolean | null | undefined | AdminBookingParticipantDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$AdminBookingParticipantPayload, S>
export type AdminBookingParticipantCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
Omit<AdminBookingParticipantFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
select?: AdminBookingParticipantCountAggregateInputType | true
}
export interface AdminBookingParticipantDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['AdminBookingParticipant'], meta: { name: 'AdminBookingParticipant' } }
/**
* Find zero or one AdminBookingParticipant that matches the filter.
* @param {AdminBookingParticipantFindUniqueArgs} args - Arguments to find a AdminBookingParticipant
* @example
* // Get one AdminBookingParticipant
* const adminBookingParticipant = await prisma.adminBookingParticipant.findUnique({
* where: {
* // ... provide filter here
* }
* })
*/
findUnique<T extends AdminBookingParticipantFindUniqueArgs>(args: Prisma.SelectSubset<T, AdminBookingParticipantFindUniqueArgs<ExtArgs>>): Prisma.Prisma__AdminBookingParticipantClient<runtime.Types.Result.GetResult<Prisma.$AdminBookingParticipantPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find one AdminBookingParticipant that matches the filter or throw an error with `error.code='P2025'`
* if no matches were found.
* @param {AdminBookingParticipantFindUniqueOrThrowArgs} args - Arguments to find a AdminBookingParticipant
* @example
* // Get one AdminBookingParticipant
* const adminBookingParticipant = await prisma.adminBookingParticipant.findUniqueOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findUniqueOrThrow<T extends AdminBookingParticipantFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, AdminBookingParticipantFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__AdminBookingParticipantClient<runtime.Types.Result.GetResult<Prisma.$AdminBookingParticipantPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find the first AdminBookingParticipant 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 {AdminBookingParticipantFindFirstArgs} args - Arguments to find a AdminBookingParticipant
* @example
* // Get one AdminBookingParticipant
* const adminBookingParticipant = await prisma.adminBookingParticipant.findFirst({
* where: {
* // ... provide filter here
* }
* })
*/
findFirst<T extends AdminBookingParticipantFindFirstArgs>(args?: Prisma.SelectSubset<T, AdminBookingParticipantFindFirstArgs<ExtArgs>>): Prisma.Prisma__AdminBookingParticipantClient<runtime.Types.Result.GetResult<Prisma.$AdminBookingParticipantPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find the first AdminBookingParticipant 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 {AdminBookingParticipantFindFirstOrThrowArgs} args - Arguments to find a AdminBookingParticipant
* @example
* // Get one AdminBookingParticipant
* const adminBookingParticipant = await prisma.adminBookingParticipant.findFirstOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findFirstOrThrow<T extends AdminBookingParticipantFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, AdminBookingParticipantFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__AdminBookingParticipantClient<runtime.Types.Result.GetResult<Prisma.$AdminBookingParticipantPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find zero or more AdminBookingParticipants 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 {AdminBookingParticipantFindManyArgs} args - Arguments to filter and select certain fields only.
* @example
* // Get all AdminBookingParticipants
* const adminBookingParticipants = await prisma.adminBookingParticipant.findMany()
*
* // Get first 10 AdminBookingParticipants
* const adminBookingParticipants = await prisma.adminBookingParticipant.findMany({ take: 10 })
*
* // Only select the `id`
* const adminBookingParticipantWithIdOnly = await prisma.adminBookingParticipant.findMany({ select: { id: true } })
*
*/
findMany<T extends AdminBookingParticipantFindManyArgs>(args?: Prisma.SelectSubset<T, AdminBookingParticipantFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdminBookingParticipantPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
/**
* Create a AdminBookingParticipant.
* @param {AdminBookingParticipantCreateArgs} args - Arguments to create a AdminBookingParticipant.
* @example
* // Create one AdminBookingParticipant
* const AdminBookingParticipant = await prisma.adminBookingParticipant.create({
* data: {
* // ... data to create a AdminBookingParticipant
* }
* })
*
*/
create<T extends AdminBookingParticipantCreateArgs>(args: Prisma.SelectSubset<T, AdminBookingParticipantCreateArgs<ExtArgs>>): Prisma.Prisma__AdminBookingParticipantClient<runtime.Types.Result.GetResult<Prisma.$AdminBookingParticipantPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Create many AdminBookingParticipants.
* @param {AdminBookingParticipantCreateManyArgs} args - Arguments to create many AdminBookingParticipants.
* @example
* // Create many AdminBookingParticipants
* const adminBookingParticipant = await prisma.adminBookingParticipant.createMany({
* data: [
* // ... provide data here
* ]
* })
*
*/
createMany<T extends AdminBookingParticipantCreateManyArgs>(args?: Prisma.SelectSubset<T, AdminBookingParticipantCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Create many AdminBookingParticipants and returns the data saved in the database.
* @param {AdminBookingParticipantCreateManyAndReturnArgs} args - Arguments to create many AdminBookingParticipants.
* @example
* // Create many AdminBookingParticipants
* const adminBookingParticipant = await prisma.adminBookingParticipant.createManyAndReturn({
* data: [
* // ... provide data here
* ]
* })
*
* // Create many AdminBookingParticipants and only return the `id`
* const adminBookingParticipantWithIdOnly = await prisma.adminBookingParticipant.createManyAndReturn({
* select: { id: true },
* data: [
* // ... provide data here
* ]
* })
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
*
*/
createManyAndReturn<T extends AdminBookingParticipantCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, AdminBookingParticipantCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdminBookingParticipantPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
/**
* Delete a AdminBookingParticipant.
* @param {AdminBookingParticipantDeleteArgs} args - Arguments to delete one AdminBookingParticipant.
* @example
* // Delete one AdminBookingParticipant
* const AdminBookingParticipant = await prisma.adminBookingParticipant.delete({
* where: {
* // ... filter to delete one AdminBookingParticipant
* }
* })
*
*/
delete<T extends AdminBookingParticipantDeleteArgs>(args: Prisma.SelectSubset<T, AdminBookingParticipantDeleteArgs<ExtArgs>>): Prisma.Prisma__AdminBookingParticipantClient<runtime.Types.Result.GetResult<Prisma.$AdminBookingParticipantPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Update one AdminBookingParticipant.
* @param {AdminBookingParticipantUpdateArgs} args - Arguments to update one AdminBookingParticipant.
* @example
* // Update one AdminBookingParticipant
* const adminBookingParticipant = await prisma.adminBookingParticipant.update({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
update<T extends AdminBookingParticipantUpdateArgs>(args: Prisma.SelectSubset<T, AdminBookingParticipantUpdateArgs<ExtArgs>>): Prisma.Prisma__AdminBookingParticipantClient<runtime.Types.Result.GetResult<Prisma.$AdminBookingParticipantPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Delete zero or more AdminBookingParticipants.
* @param {AdminBookingParticipantDeleteManyArgs} args - Arguments to filter AdminBookingParticipants to delete.
* @example
* // Delete a few AdminBookingParticipants
* const { count } = await prisma.adminBookingParticipant.deleteMany({
* where: {
* // ... provide filter here
* }
* })
*
*/
deleteMany<T extends AdminBookingParticipantDeleteManyArgs>(args?: Prisma.SelectSubset<T, AdminBookingParticipantDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more AdminBookingParticipants.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {AdminBookingParticipantUpdateManyArgs} args - Arguments to update one or more rows.
* @example
* // Update many AdminBookingParticipants
* const adminBookingParticipant = await prisma.adminBookingParticipant.updateMany({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
updateMany<T extends AdminBookingParticipantUpdateManyArgs>(args: Prisma.SelectSubset<T, AdminBookingParticipantUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more AdminBookingParticipants and returns the data updated in the database.
* @param {AdminBookingParticipantUpdateManyAndReturnArgs} args - Arguments to update many AdminBookingParticipants.
* @example
* // Update many AdminBookingParticipants
* const adminBookingParticipant = await prisma.adminBookingParticipant.updateManyAndReturn({
* where: {
* // ... provide filter here
* },
* data: [
* // ... provide data here
* ]
* })
*
* // Update zero or more AdminBookingParticipants and only return the `id`
* const adminBookingParticipantWithIdOnly = await prisma.adminBookingParticipant.updateManyAndReturn({
* select: { id: true },
* where: {
* // ... provide filter here
* },
* data: [
* // ... provide data here
* ]
* })
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
*
*/
updateManyAndReturn<T extends AdminBookingParticipantUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, AdminBookingParticipantUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdminBookingParticipantPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
/**
* Create or update one AdminBookingParticipant.
* @param {AdminBookingParticipantUpsertArgs} args - Arguments to update or create a AdminBookingParticipant.
* @example
* // Update or create a AdminBookingParticipant
* const adminBookingParticipant = await prisma.adminBookingParticipant.upsert({
* create: {
* // ... data to create a AdminBookingParticipant
* },
* update: {
* // ... in case it already exists, update
* },
* where: {
* // ... the filter for the AdminBookingParticipant we want to update
* }
* })
*/
upsert<T extends AdminBookingParticipantUpsertArgs>(args: Prisma.SelectSubset<T, AdminBookingParticipantUpsertArgs<ExtArgs>>): Prisma.Prisma__AdminBookingParticipantClient<runtime.Types.Result.GetResult<Prisma.$AdminBookingParticipantPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Count the number of AdminBookingParticipants.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {AdminBookingParticipantCountArgs} args - Arguments to filter AdminBookingParticipants to count.
* @example
* // Count the number of AdminBookingParticipants
* const count = await prisma.adminBookingParticipant.count({
* where: {
* // ... the filter for the AdminBookingParticipants we want to count
* }
* })
**/
count<T extends AdminBookingParticipantCountArgs>(
args?: Prisma.Subset<T, AdminBookingParticipantCountArgs>,
): Prisma.PrismaPromise<
T extends runtime.Types.Utils.Record<'select', any>
? T['select'] extends true
? number
: Prisma.GetScalarType<T['select'], AdminBookingParticipantCountAggregateOutputType>
: number
>
/**
* Allows you to perform aggregations operations on a AdminBookingParticipant.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {AdminBookingParticipantAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
* @example
* // Ordered by age ascending
* // Where email contains prisma.io
* // Limited to the 10 users
* const aggregations = await prisma.user.aggregate({
* _avg: {
* age: true,
* },
* where: {
* email: {
* contains: "prisma.io",
* },
* },
* orderBy: {
* age: "asc",
* },
* take: 10,
* })
**/
aggregate<T extends AdminBookingParticipantAggregateArgs>(args: Prisma.Subset<T, AdminBookingParticipantAggregateArgs>): Prisma.PrismaPromise<GetAdminBookingParticipantAggregateType<T>>
/**
* Group by AdminBookingParticipant.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {AdminBookingParticipantGroupByArgs} 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 AdminBookingParticipantGroupByArgs,
HasSelectOrTake extends Prisma.Or<
Prisma.Extends<'skip', Prisma.Keys<T>>,
Prisma.Extends<'take', Prisma.Keys<T>>
>,
OrderByArg extends Prisma.True extends HasSelectOrTake
? { orderBy: AdminBookingParticipantGroupByArgs['orderBy'] }
: { orderBy?: AdminBookingParticipantGroupByArgs['orderBy'] },
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
ByValid extends Prisma.Has<ByFields, OrderFields>,
HavingFields extends Prisma.GetHavingFields<T['having']>,
HavingValid extends Prisma.Has<ByFields, HavingFields>,
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
InputErrors extends ByEmpty extends Prisma.True
? `Error: "by" must not be empty.`
: HavingValid extends Prisma.False
? {
[P in HavingFields]: P extends ByFields
? never
: P extends string
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
: [
Error,
'Field ',
P,
` in "having" needs to be provided in "by"`,
]
}[HavingFields]
: 'take' extends Prisma.Keys<T>
? 'orderBy' extends Prisma.Keys<T>
? ByValid extends Prisma.True
? {}
: {
[P in OrderFields]: P extends ByFields
? never
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
}[OrderFields]
: 'Error: If you provide "take", you also need to provide "orderBy"'
: 'skip' extends Prisma.Keys<T>
? 'orderBy' extends Prisma.Keys<T>
? ByValid extends Prisma.True
? {}
: {
[P in OrderFields]: P extends ByFields
? never
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
}[OrderFields]
: 'Error: If you provide "skip", you also need to provide "orderBy"'
: ByValid extends Prisma.True
? {}
: {
[P in OrderFields]: P extends ByFields
? never
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
}[OrderFields]
>(args: Prisma.SubsetIntersection<T, AdminBookingParticipantGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAdminBookingParticipantGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* Fields of the AdminBookingParticipant model
*/
readonly fields: AdminBookingParticipantFieldRefs;
}
/**
* The delegate class that acts as a "Promise-like" for AdminBookingParticipant.
* 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__AdminBookingParticipantClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
readonly [Symbol.toStringTag]: "PrismaPromise"
booking<T extends Prisma.AdminBookingDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AdminBookingDefaultArgs<ExtArgs>>): Prisma.Prisma__AdminBookingClient<runtime.Types.Result.GetResult<Prisma.$AdminBookingPayload<ExtArgs>, 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<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
/**
* Attaches a callback for only the rejection of the Promise.
* @param onrejected The callback to execute when the Promise is rejected.
* @returns A Promise for the completion of the callback.
*/
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
/**
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
* resolved value cannot be modified from the callback.
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
* @returns A Promise for the completion of the callback.
*/
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
}
/**
* Fields of the AdminBookingParticipant model
*/
export interface AdminBookingParticipantFieldRefs {
readonly id: Prisma.FieldRef<"AdminBookingParticipant", 'String'>
readonly createdAt: Prisma.FieldRef<"AdminBookingParticipant", 'DateTime'>
readonly adminUserId: Prisma.FieldRef<"AdminBookingParticipant", 'String'>
readonly bookingId: Prisma.FieldRef<"AdminBookingParticipant", 'String'>
readonly email: Prisma.FieldRef<"AdminBookingParticipant", 'String'>
readonly name: Prisma.FieldRef<"AdminBookingParticipant", 'String'>
readonly locale: Prisma.FieldRef<"AdminBookingParticipant", 'String'>
readonly timeZone: Prisma.FieldRef<"AdminBookingParticipant", 'String'>
readonly isOrganizer: Prisma.FieldRef<"AdminBookingParticipant", 'Boolean'>
}
// Custom InputTypes
/**
* AdminBookingParticipant findUnique
*/
export type AdminBookingParticipantFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AdminBookingParticipant
*/
select?: Prisma.AdminBookingParticipantSelect<ExtArgs> | null
/**
* Omit specific fields from the AdminBookingParticipant
*/
omit?: Prisma.AdminBookingParticipantOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdminBookingParticipantInclude<ExtArgs> | null
/**
* Filter, which AdminBookingParticipant to fetch.
*/
where: Prisma.AdminBookingParticipantWhereUniqueInput
}
/**
* AdminBookingParticipant findUniqueOrThrow
*/
export type AdminBookingParticipantFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AdminBookingParticipant
*/
select?: Prisma.AdminBookingParticipantSelect<ExtArgs> | null
/**
* Omit specific fields from the AdminBookingParticipant
*/
omit?: Prisma.AdminBookingParticipantOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdminBookingParticipantInclude<ExtArgs> | null
/**
* Filter, which AdminBookingParticipant to fetch.
*/
where: Prisma.AdminBookingParticipantWhereUniqueInput
}
/**
* AdminBookingParticipant findFirst
*/
export type AdminBookingParticipantFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AdminBookingParticipant
*/
select?: Prisma.AdminBookingParticipantSelect<ExtArgs> | null
/**
* Omit specific fields from the AdminBookingParticipant
*/
omit?: Prisma.AdminBookingParticipantOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdminBookingParticipantInclude<ExtArgs> | null
/**
* Filter, which AdminBookingParticipant to fetch.
*/
where?: Prisma.AdminBookingParticipantWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of AdminBookingParticipants to fetch.
*/
orderBy?: Prisma.AdminBookingParticipantOrderByWithRelationInput | Prisma.AdminBookingParticipantOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for AdminBookingParticipants.
*/
cursor?: Prisma.AdminBookingParticipantWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` AdminBookingParticipants 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` AdminBookingParticipants.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of AdminBookingParticipants.
*/
distinct?: Prisma.AdminBookingParticipantScalarFieldEnum | Prisma.AdminBookingParticipantScalarFieldEnum[]
}
/**
* AdminBookingParticipant findFirstOrThrow
*/
export type AdminBookingParticipantFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AdminBookingParticipant
*/
select?: Prisma.AdminBookingParticipantSelect<ExtArgs> | null
/**
* Omit specific fields from the AdminBookingParticipant
*/
omit?: Prisma.AdminBookingParticipantOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdminBookingParticipantInclude<ExtArgs> | null
/**
* Filter, which AdminBookingParticipant to fetch.
*/
where?: Prisma.AdminBookingParticipantWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of AdminBookingParticipants to fetch.
*/
orderBy?: Prisma.AdminBookingParticipantOrderByWithRelationInput | Prisma.AdminBookingParticipantOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for AdminBookingParticipants.
*/
cursor?: Prisma.AdminBookingParticipantWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` AdminBookingParticipants 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` AdminBookingParticipants.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of AdminBookingParticipants.
*/
distinct?: Prisma.AdminBookingParticipantScalarFieldEnum | Prisma.AdminBookingParticipantScalarFieldEnum[]
}
/**
* AdminBookingParticipant findMany
*/
export type AdminBookingParticipantFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AdminBookingParticipant
*/
select?: Prisma.AdminBookingParticipantSelect<ExtArgs> | null
/**
* Omit specific fields from the AdminBookingParticipant
*/
omit?: Prisma.AdminBookingParticipantOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdminBookingParticipantInclude<ExtArgs> | null
/**
* Filter, which AdminBookingParticipants to fetch.
*/
where?: Prisma.AdminBookingParticipantWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of AdminBookingParticipants to fetch.
*/
orderBy?: Prisma.AdminBookingParticipantOrderByWithRelationInput | Prisma.AdminBookingParticipantOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for listing AdminBookingParticipants.
*/
cursor?: Prisma.AdminBookingParticipantWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` AdminBookingParticipants 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` AdminBookingParticipants.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of AdminBookingParticipants.
*/
distinct?: Prisma.AdminBookingParticipantScalarFieldEnum | Prisma.AdminBookingParticipantScalarFieldEnum[]
}
/**
* AdminBookingParticipant create
*/
export type AdminBookingParticipantCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AdminBookingParticipant
*/
select?: Prisma.AdminBookingParticipantSelect<ExtArgs> | null
/**
* Omit specific fields from the AdminBookingParticipant
*/
omit?: Prisma.AdminBookingParticipantOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdminBookingParticipantInclude<ExtArgs> | null
/**
* The data needed to create a AdminBookingParticipant.
*/
data: Prisma.XOR<Prisma.AdminBookingParticipantCreateInput, Prisma.AdminBookingParticipantUncheckedCreateInput>
}
/**
* AdminBookingParticipant createMany
*/
export type AdminBookingParticipantCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to create many AdminBookingParticipants.
*/
data: Prisma.AdminBookingParticipantCreateManyInput | Prisma.AdminBookingParticipantCreateManyInput[]
skipDuplicates?: boolean
}
/**
* AdminBookingParticipant createManyAndReturn
*/
export type AdminBookingParticipantCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AdminBookingParticipant
*/
select?: Prisma.AdminBookingParticipantSelectCreateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the AdminBookingParticipant
*/
omit?: Prisma.AdminBookingParticipantOmit<ExtArgs> | null
/**
* The data used to create many AdminBookingParticipants.
*/
data: Prisma.AdminBookingParticipantCreateManyInput | Prisma.AdminBookingParticipantCreateManyInput[]
skipDuplicates?: boolean
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdminBookingParticipantIncludeCreateManyAndReturn<ExtArgs> | null
}
/**
* AdminBookingParticipant update
*/
export type AdminBookingParticipantUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AdminBookingParticipant
*/
select?: Prisma.AdminBookingParticipantSelect<ExtArgs> | null
/**
* Omit specific fields from the AdminBookingParticipant
*/
omit?: Prisma.AdminBookingParticipantOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdminBookingParticipantInclude<ExtArgs> | null
/**
* The data needed to update a AdminBookingParticipant.
*/
data: Prisma.XOR<Prisma.AdminBookingParticipantUpdateInput, Prisma.AdminBookingParticipantUncheckedUpdateInput>
/**
* Choose, which AdminBookingParticipant to update.
*/
where: Prisma.AdminBookingParticipantWhereUniqueInput
}
/**
* AdminBookingParticipant updateMany
*/
export type AdminBookingParticipantUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to update AdminBookingParticipants.
*/
data: Prisma.XOR<Prisma.AdminBookingParticipantUpdateManyMutationInput, Prisma.AdminBookingParticipantUncheckedUpdateManyInput>
/**
* Filter which AdminBookingParticipants to update
*/
where?: Prisma.AdminBookingParticipantWhereInput
/**
* Limit how many AdminBookingParticipants to update.
*/
limit?: number
}
/**
* AdminBookingParticipant updateManyAndReturn
*/
export type AdminBookingParticipantUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AdminBookingParticipant
*/
select?: Prisma.AdminBookingParticipantSelectUpdateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the AdminBookingParticipant
*/
omit?: Prisma.AdminBookingParticipantOmit<ExtArgs> | null
/**
* The data used to update AdminBookingParticipants.
*/
data: Prisma.XOR<Prisma.AdminBookingParticipantUpdateManyMutationInput, Prisma.AdminBookingParticipantUncheckedUpdateManyInput>
/**
* Filter which AdminBookingParticipants to update
*/
where?: Prisma.AdminBookingParticipantWhereInput
/**
* Limit how many AdminBookingParticipants to update.
*/
limit?: number
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdminBookingParticipantIncludeUpdateManyAndReturn<ExtArgs> | null
}
/**
* AdminBookingParticipant upsert
*/
export type AdminBookingParticipantUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AdminBookingParticipant
*/
select?: Prisma.AdminBookingParticipantSelect<ExtArgs> | null
/**
* Omit specific fields from the AdminBookingParticipant
*/
omit?: Prisma.AdminBookingParticipantOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdminBookingParticipantInclude<ExtArgs> | null
/**
* The filter to search for the AdminBookingParticipant to update in case it exists.
*/
where: Prisma.AdminBookingParticipantWhereUniqueInput
/**
* In case the AdminBookingParticipant found by the `where` argument doesn't exist, create a new AdminBookingParticipant with this data.
*/
create: Prisma.XOR<Prisma.AdminBookingParticipantCreateInput, Prisma.AdminBookingParticipantUncheckedCreateInput>
/**
* In case the AdminBookingParticipant was found with the provided `where` argument, update it with this data.
*/
update: Prisma.XOR<Prisma.AdminBookingParticipantUpdateInput, Prisma.AdminBookingParticipantUncheckedUpdateInput>
}
/**
* AdminBookingParticipant delete
*/
export type AdminBookingParticipantDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AdminBookingParticipant
*/
select?: Prisma.AdminBookingParticipantSelect<ExtArgs> | null
/**
* Omit specific fields from the AdminBookingParticipant
*/
omit?: Prisma.AdminBookingParticipantOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdminBookingParticipantInclude<ExtArgs> | null
/**
* Filter which AdminBookingParticipant to delete.
*/
where: Prisma.AdminBookingParticipantWhereUniqueInput
}
/**
* AdminBookingParticipant deleteMany
*/
export type AdminBookingParticipantDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which AdminBookingParticipants to delete
*/
where?: Prisma.AdminBookingParticipantWhereInput
/**
* Limit how many AdminBookingParticipants to delete.
*/
limit?: number
}
/**
* AdminBookingParticipant without action
*/
export type AdminBookingParticipantDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AdminBookingParticipant
*/
select?: Prisma.AdminBookingParticipantSelect<ExtArgs> | null
/**
* Omit specific fields from the AdminBookingParticipant
*/
omit?: Prisma.AdminBookingParticipantOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdminBookingParticipantInclude<ExtArgs> | null
}