1848 lines
75 KiB
TypeScript
1848 lines
75 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 `AdminBookingPage` 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 AdminBookingPage
|
|
*
|
|
*/
|
|
export type AdminBookingPageModel = runtime.Types.Result.DefaultSelection<Prisma.$AdminBookingPagePayload>
|
|
|
|
export type AggregateAdminBookingPage = {
|
|
_count: AdminBookingPageCountAggregateOutputType | null
|
|
_avg: AdminBookingPageAvgAggregateOutputType | null
|
|
_sum: AdminBookingPageSumAggregateOutputType | null
|
|
_min: AdminBookingPageMinAggregateOutputType | null
|
|
_max: AdminBookingPageMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type AdminBookingPageAvgAggregateOutputType = {
|
|
tokenVersion: number | null
|
|
maxBookingsPerEmailPerDay: number | null
|
|
}
|
|
|
|
export type AdminBookingPageSumAggregateOutputType = {
|
|
tokenVersion: number | null
|
|
maxBookingsPerEmailPerDay: number | null
|
|
}
|
|
|
|
export type AdminBookingPageMinAggregateOutputType = {
|
|
id: string | null
|
|
createdAt: Date | null
|
|
updatedAt: Date | null
|
|
archivedAt: Date | null
|
|
createdByAdminUserId: string | null
|
|
meetingTypeId: string | null
|
|
slug: string | null
|
|
title: string | null
|
|
description: string | null
|
|
published: boolean | null
|
|
tokenVersion: number | null
|
|
maxBookingsPerEmailPerDay: number | null
|
|
}
|
|
|
|
export type AdminBookingPageMaxAggregateOutputType = {
|
|
id: string | null
|
|
createdAt: Date | null
|
|
updatedAt: Date | null
|
|
archivedAt: Date | null
|
|
createdByAdminUserId: string | null
|
|
meetingTypeId: string | null
|
|
slug: string | null
|
|
title: string | null
|
|
description: string | null
|
|
published: boolean | null
|
|
tokenVersion: number | null
|
|
maxBookingsPerEmailPerDay: number | null
|
|
}
|
|
|
|
export type AdminBookingPageCountAggregateOutputType = {
|
|
id: number
|
|
createdAt: number
|
|
updatedAt: number
|
|
archivedAt: number
|
|
createdByAdminUserId: number
|
|
meetingTypeId: number
|
|
slug: number
|
|
title: number
|
|
description: number
|
|
published: number
|
|
tokenVersion: number
|
|
allowedEmailDomains: number
|
|
maxBookingsPerEmailPerDay: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type AdminBookingPageAvgAggregateInputType = {
|
|
tokenVersion?: true
|
|
maxBookingsPerEmailPerDay?: true
|
|
}
|
|
|
|
export type AdminBookingPageSumAggregateInputType = {
|
|
tokenVersion?: true
|
|
maxBookingsPerEmailPerDay?: true
|
|
}
|
|
|
|
export type AdminBookingPageMinAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
archivedAt?: true
|
|
createdByAdminUserId?: true
|
|
meetingTypeId?: true
|
|
slug?: true
|
|
title?: true
|
|
description?: true
|
|
published?: true
|
|
tokenVersion?: true
|
|
maxBookingsPerEmailPerDay?: true
|
|
}
|
|
|
|
export type AdminBookingPageMaxAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
archivedAt?: true
|
|
createdByAdminUserId?: true
|
|
meetingTypeId?: true
|
|
slug?: true
|
|
title?: true
|
|
description?: true
|
|
published?: true
|
|
tokenVersion?: true
|
|
maxBookingsPerEmailPerDay?: true
|
|
}
|
|
|
|
export type AdminBookingPageCountAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
archivedAt?: true
|
|
createdByAdminUserId?: true
|
|
meetingTypeId?: true
|
|
slug?: true
|
|
title?: true
|
|
description?: true
|
|
published?: true
|
|
tokenVersion?: true
|
|
allowedEmailDomains?: true
|
|
maxBookingsPerEmailPerDay?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type AdminBookingPageAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which AdminBookingPage to aggregate.
|
|
*/
|
|
where?: Prisma.AdminBookingPageWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of AdminBookingPages to fetch.
|
|
*/
|
|
orderBy?: Prisma.AdminBookingPageOrderByWithRelationInput | Prisma.AdminBookingPageOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.AdminBookingPageWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` AdminBookingPages 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` AdminBookingPages.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned AdminBookingPages
|
|
**/
|
|
_count?: true | AdminBookingPageCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to average
|
|
**/
|
|
_avg?: AdminBookingPageAvgAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to sum
|
|
**/
|
|
_sum?: AdminBookingPageSumAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: AdminBookingPageMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: AdminBookingPageMaxAggregateInputType
|
|
}
|
|
|
|
export type GetAdminBookingPageAggregateType<T extends AdminBookingPageAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateAdminBookingPage]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateAdminBookingPage[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateAdminBookingPage[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AdminBookingPageGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.AdminBookingPageWhereInput
|
|
orderBy?: Prisma.AdminBookingPageOrderByWithAggregationInput | Prisma.AdminBookingPageOrderByWithAggregationInput[]
|
|
by: Prisma.AdminBookingPageScalarFieldEnum[] | Prisma.AdminBookingPageScalarFieldEnum
|
|
having?: Prisma.AdminBookingPageScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: AdminBookingPageCountAggregateInputType | true
|
|
_avg?: AdminBookingPageAvgAggregateInputType
|
|
_sum?: AdminBookingPageSumAggregateInputType
|
|
_min?: AdminBookingPageMinAggregateInputType
|
|
_max?: AdminBookingPageMaxAggregateInputType
|
|
}
|
|
|
|
export type AdminBookingPageGroupByOutputType = {
|
|
id: string
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
archivedAt: Date | null
|
|
createdByAdminUserId: string
|
|
meetingTypeId: string
|
|
slug: string
|
|
title: string
|
|
description: string | null
|
|
published: boolean
|
|
tokenVersion: number
|
|
allowedEmailDomains: string[]
|
|
maxBookingsPerEmailPerDay: number
|
|
_count: AdminBookingPageCountAggregateOutputType | null
|
|
_avg: AdminBookingPageAvgAggregateOutputType | null
|
|
_sum: AdminBookingPageSumAggregateOutputType | null
|
|
_min: AdminBookingPageMinAggregateOutputType | null
|
|
_max: AdminBookingPageMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type GetAdminBookingPageGroupByPayload<T extends AdminBookingPageGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<AdminBookingPageGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof AdminBookingPageGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AdminBookingPageGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], AdminBookingPageGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type AdminBookingPageWhereInput = {
|
|
AND?: Prisma.AdminBookingPageWhereInput | Prisma.AdminBookingPageWhereInput[]
|
|
OR?: Prisma.AdminBookingPageWhereInput[]
|
|
NOT?: Prisma.AdminBookingPageWhereInput | Prisma.AdminBookingPageWhereInput[]
|
|
id?: Prisma.StringFilter<"AdminBookingPage"> | string
|
|
createdAt?: Prisma.DateTimeFilter<"AdminBookingPage"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"AdminBookingPage"> | Date | string
|
|
archivedAt?: Prisma.DateTimeNullableFilter<"AdminBookingPage"> | Date | string | null
|
|
createdByAdminUserId?: Prisma.StringFilter<"AdminBookingPage"> | string
|
|
meetingTypeId?: Prisma.StringFilter<"AdminBookingPage"> | string
|
|
slug?: Prisma.StringFilter<"AdminBookingPage"> | string
|
|
title?: Prisma.StringFilter<"AdminBookingPage"> | string
|
|
description?: Prisma.StringNullableFilter<"AdminBookingPage"> | string | null
|
|
published?: Prisma.BoolFilter<"AdminBookingPage"> | boolean
|
|
tokenVersion?: Prisma.IntFilter<"AdminBookingPage"> | number
|
|
allowedEmailDomains?: Prisma.StringNullableListFilter<"AdminBookingPage">
|
|
maxBookingsPerEmailPerDay?: Prisma.IntFilter<"AdminBookingPage"> | number
|
|
meetingType?: Prisma.XOR<Prisma.AdminMeetingTypeScalarRelationFilter, Prisma.AdminMeetingTypeWhereInput>
|
|
bookings?: Prisma.AdminBookingListRelationFilter
|
|
}
|
|
|
|
export type AdminBookingPageOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
archivedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
createdByAdminUserId?: Prisma.SortOrder
|
|
meetingTypeId?: Prisma.SortOrder
|
|
slug?: Prisma.SortOrder
|
|
title?: Prisma.SortOrder
|
|
description?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
published?: Prisma.SortOrder
|
|
tokenVersion?: Prisma.SortOrder
|
|
allowedEmailDomains?: Prisma.SortOrder
|
|
maxBookingsPerEmailPerDay?: Prisma.SortOrder
|
|
meetingType?: Prisma.AdminMeetingTypeOrderByWithRelationInput
|
|
bookings?: Prisma.AdminBookingOrderByRelationAggregateInput
|
|
}
|
|
|
|
export type AdminBookingPageWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: string
|
|
slug?: string
|
|
AND?: Prisma.AdminBookingPageWhereInput | Prisma.AdminBookingPageWhereInput[]
|
|
OR?: Prisma.AdminBookingPageWhereInput[]
|
|
NOT?: Prisma.AdminBookingPageWhereInput | Prisma.AdminBookingPageWhereInput[]
|
|
createdAt?: Prisma.DateTimeFilter<"AdminBookingPage"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"AdminBookingPage"> | Date | string
|
|
archivedAt?: Prisma.DateTimeNullableFilter<"AdminBookingPage"> | Date | string | null
|
|
createdByAdminUserId?: Prisma.StringFilter<"AdminBookingPage"> | string
|
|
meetingTypeId?: Prisma.StringFilter<"AdminBookingPage"> | string
|
|
title?: Prisma.StringFilter<"AdminBookingPage"> | string
|
|
description?: Prisma.StringNullableFilter<"AdminBookingPage"> | string | null
|
|
published?: Prisma.BoolFilter<"AdminBookingPage"> | boolean
|
|
tokenVersion?: Prisma.IntFilter<"AdminBookingPage"> | number
|
|
allowedEmailDomains?: Prisma.StringNullableListFilter<"AdminBookingPage">
|
|
maxBookingsPerEmailPerDay?: Prisma.IntFilter<"AdminBookingPage"> | number
|
|
meetingType?: Prisma.XOR<Prisma.AdminMeetingTypeScalarRelationFilter, Prisma.AdminMeetingTypeWhereInput>
|
|
bookings?: Prisma.AdminBookingListRelationFilter
|
|
}, "id" | "slug">
|
|
|
|
export type AdminBookingPageOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
archivedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
createdByAdminUserId?: Prisma.SortOrder
|
|
meetingTypeId?: Prisma.SortOrder
|
|
slug?: Prisma.SortOrder
|
|
title?: Prisma.SortOrder
|
|
description?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
published?: Prisma.SortOrder
|
|
tokenVersion?: Prisma.SortOrder
|
|
allowedEmailDomains?: Prisma.SortOrder
|
|
maxBookingsPerEmailPerDay?: Prisma.SortOrder
|
|
_count?: Prisma.AdminBookingPageCountOrderByAggregateInput
|
|
_avg?: Prisma.AdminBookingPageAvgOrderByAggregateInput
|
|
_max?: Prisma.AdminBookingPageMaxOrderByAggregateInput
|
|
_min?: Prisma.AdminBookingPageMinOrderByAggregateInput
|
|
_sum?: Prisma.AdminBookingPageSumOrderByAggregateInput
|
|
}
|
|
|
|
export type AdminBookingPageScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.AdminBookingPageScalarWhereWithAggregatesInput | Prisma.AdminBookingPageScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.AdminBookingPageScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.AdminBookingPageScalarWhereWithAggregatesInput | Prisma.AdminBookingPageScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.StringWithAggregatesFilter<"AdminBookingPage"> | string
|
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"AdminBookingPage"> | Date | string
|
|
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"AdminBookingPage"> | Date | string
|
|
archivedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"AdminBookingPage"> | Date | string | null
|
|
createdByAdminUserId?: Prisma.StringWithAggregatesFilter<"AdminBookingPage"> | string
|
|
meetingTypeId?: Prisma.StringWithAggregatesFilter<"AdminBookingPage"> | string
|
|
slug?: Prisma.StringWithAggregatesFilter<"AdminBookingPage"> | string
|
|
title?: Prisma.StringWithAggregatesFilter<"AdminBookingPage"> | string
|
|
description?: Prisma.StringNullableWithAggregatesFilter<"AdminBookingPage"> | string | null
|
|
published?: Prisma.BoolWithAggregatesFilter<"AdminBookingPage"> | boolean
|
|
tokenVersion?: Prisma.IntWithAggregatesFilter<"AdminBookingPage"> | number
|
|
allowedEmailDomains?: Prisma.StringNullableListFilter<"AdminBookingPage">
|
|
maxBookingsPerEmailPerDay?: Prisma.IntWithAggregatesFilter<"AdminBookingPage"> | number
|
|
}
|
|
|
|
export type AdminBookingPageCreateInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
archivedAt?: Date | string | null
|
|
createdByAdminUserId: string
|
|
slug: string
|
|
title: string
|
|
description?: string | null
|
|
published?: boolean
|
|
tokenVersion?: number
|
|
allowedEmailDomains?: Prisma.AdminBookingPageCreateallowedEmailDomainsInput | string[]
|
|
maxBookingsPerEmailPerDay?: number
|
|
meetingType: Prisma.AdminMeetingTypeCreateNestedOneWithoutPagesInput
|
|
bookings?: Prisma.AdminBookingCreateNestedManyWithoutBookingPageInput
|
|
}
|
|
|
|
export type AdminBookingPageUncheckedCreateInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
archivedAt?: Date | string | null
|
|
createdByAdminUserId: string
|
|
meetingTypeId: string
|
|
slug: string
|
|
title: string
|
|
description?: string | null
|
|
published?: boolean
|
|
tokenVersion?: number
|
|
allowedEmailDomains?: Prisma.AdminBookingPageCreateallowedEmailDomainsInput | string[]
|
|
maxBookingsPerEmailPerDay?: number
|
|
bookings?: Prisma.AdminBookingUncheckedCreateNestedManyWithoutBookingPageInput
|
|
}
|
|
|
|
export type AdminBookingPageUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
createdByAdminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
slug?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
published?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
tokenVersion?: Prisma.IntFieldUpdateOperationsInput | number
|
|
allowedEmailDomains?: Prisma.AdminBookingPageUpdateallowedEmailDomainsInput | string[]
|
|
maxBookingsPerEmailPerDay?: Prisma.IntFieldUpdateOperationsInput | number
|
|
meetingType?: Prisma.AdminMeetingTypeUpdateOneRequiredWithoutPagesNestedInput
|
|
bookings?: Prisma.AdminBookingUpdateManyWithoutBookingPageNestedInput
|
|
}
|
|
|
|
export type AdminBookingPageUncheckedUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
createdByAdminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
meetingTypeId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
slug?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
published?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
tokenVersion?: Prisma.IntFieldUpdateOperationsInput | number
|
|
allowedEmailDomains?: Prisma.AdminBookingPageUpdateallowedEmailDomainsInput | string[]
|
|
maxBookingsPerEmailPerDay?: Prisma.IntFieldUpdateOperationsInput | number
|
|
bookings?: Prisma.AdminBookingUncheckedUpdateManyWithoutBookingPageNestedInput
|
|
}
|
|
|
|
export type AdminBookingPageCreateManyInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
archivedAt?: Date | string | null
|
|
createdByAdminUserId: string
|
|
meetingTypeId: string
|
|
slug: string
|
|
title: string
|
|
description?: string | null
|
|
published?: boolean
|
|
tokenVersion?: number
|
|
allowedEmailDomains?: Prisma.AdminBookingPageCreateallowedEmailDomainsInput | string[]
|
|
maxBookingsPerEmailPerDay?: number
|
|
}
|
|
|
|
export type AdminBookingPageUpdateManyMutationInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
createdByAdminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
slug?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
published?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
tokenVersion?: Prisma.IntFieldUpdateOperationsInput | number
|
|
allowedEmailDomains?: Prisma.AdminBookingPageUpdateallowedEmailDomainsInput | string[]
|
|
maxBookingsPerEmailPerDay?: Prisma.IntFieldUpdateOperationsInput | number
|
|
}
|
|
|
|
export type AdminBookingPageUncheckedUpdateManyInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
createdByAdminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
meetingTypeId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
slug?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
published?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
tokenVersion?: Prisma.IntFieldUpdateOperationsInput | number
|
|
allowedEmailDomains?: Prisma.AdminBookingPageUpdateallowedEmailDomainsInput | string[]
|
|
maxBookingsPerEmailPerDay?: Prisma.IntFieldUpdateOperationsInput | number
|
|
}
|
|
|
|
export type AdminBookingPageListRelationFilter = {
|
|
every?: Prisma.AdminBookingPageWhereInput
|
|
some?: Prisma.AdminBookingPageWhereInput
|
|
none?: Prisma.AdminBookingPageWhereInput
|
|
}
|
|
|
|
export type AdminBookingPageOrderByRelationAggregateInput = {
|
|
_count?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AdminBookingPageCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
archivedAt?: Prisma.SortOrder
|
|
createdByAdminUserId?: Prisma.SortOrder
|
|
meetingTypeId?: Prisma.SortOrder
|
|
slug?: Prisma.SortOrder
|
|
title?: Prisma.SortOrder
|
|
description?: Prisma.SortOrder
|
|
published?: Prisma.SortOrder
|
|
tokenVersion?: Prisma.SortOrder
|
|
allowedEmailDomains?: Prisma.SortOrder
|
|
maxBookingsPerEmailPerDay?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AdminBookingPageAvgOrderByAggregateInput = {
|
|
tokenVersion?: Prisma.SortOrder
|
|
maxBookingsPerEmailPerDay?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AdminBookingPageMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
archivedAt?: Prisma.SortOrder
|
|
createdByAdminUserId?: Prisma.SortOrder
|
|
meetingTypeId?: Prisma.SortOrder
|
|
slug?: Prisma.SortOrder
|
|
title?: Prisma.SortOrder
|
|
description?: Prisma.SortOrder
|
|
published?: Prisma.SortOrder
|
|
tokenVersion?: Prisma.SortOrder
|
|
maxBookingsPerEmailPerDay?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AdminBookingPageMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
archivedAt?: Prisma.SortOrder
|
|
createdByAdminUserId?: Prisma.SortOrder
|
|
meetingTypeId?: Prisma.SortOrder
|
|
slug?: Prisma.SortOrder
|
|
title?: Prisma.SortOrder
|
|
description?: Prisma.SortOrder
|
|
published?: Prisma.SortOrder
|
|
tokenVersion?: Prisma.SortOrder
|
|
maxBookingsPerEmailPerDay?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AdminBookingPageSumOrderByAggregateInput = {
|
|
tokenVersion?: Prisma.SortOrder
|
|
maxBookingsPerEmailPerDay?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AdminBookingPageScalarRelationFilter = {
|
|
is?: Prisma.AdminBookingPageWhereInput
|
|
isNot?: Prisma.AdminBookingPageWhereInput
|
|
}
|
|
|
|
export type AdminBookingPageCreateNestedManyWithoutMeetingTypeInput = {
|
|
create?: Prisma.XOR<Prisma.AdminBookingPageCreateWithoutMeetingTypeInput, Prisma.AdminBookingPageUncheckedCreateWithoutMeetingTypeInput> | Prisma.AdminBookingPageCreateWithoutMeetingTypeInput[] | Prisma.AdminBookingPageUncheckedCreateWithoutMeetingTypeInput[]
|
|
connectOrCreate?: Prisma.AdminBookingPageCreateOrConnectWithoutMeetingTypeInput | Prisma.AdminBookingPageCreateOrConnectWithoutMeetingTypeInput[]
|
|
createMany?: Prisma.AdminBookingPageCreateManyMeetingTypeInputEnvelope
|
|
connect?: Prisma.AdminBookingPageWhereUniqueInput | Prisma.AdminBookingPageWhereUniqueInput[]
|
|
}
|
|
|
|
export type AdminBookingPageUncheckedCreateNestedManyWithoutMeetingTypeInput = {
|
|
create?: Prisma.XOR<Prisma.AdminBookingPageCreateWithoutMeetingTypeInput, Prisma.AdminBookingPageUncheckedCreateWithoutMeetingTypeInput> | Prisma.AdminBookingPageCreateWithoutMeetingTypeInput[] | Prisma.AdminBookingPageUncheckedCreateWithoutMeetingTypeInput[]
|
|
connectOrCreate?: Prisma.AdminBookingPageCreateOrConnectWithoutMeetingTypeInput | Prisma.AdminBookingPageCreateOrConnectWithoutMeetingTypeInput[]
|
|
createMany?: Prisma.AdminBookingPageCreateManyMeetingTypeInputEnvelope
|
|
connect?: Prisma.AdminBookingPageWhereUniqueInput | Prisma.AdminBookingPageWhereUniqueInput[]
|
|
}
|
|
|
|
export type AdminBookingPageUpdateManyWithoutMeetingTypeNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AdminBookingPageCreateWithoutMeetingTypeInput, Prisma.AdminBookingPageUncheckedCreateWithoutMeetingTypeInput> | Prisma.AdminBookingPageCreateWithoutMeetingTypeInput[] | Prisma.AdminBookingPageUncheckedCreateWithoutMeetingTypeInput[]
|
|
connectOrCreate?: Prisma.AdminBookingPageCreateOrConnectWithoutMeetingTypeInput | Prisma.AdminBookingPageCreateOrConnectWithoutMeetingTypeInput[]
|
|
upsert?: Prisma.AdminBookingPageUpsertWithWhereUniqueWithoutMeetingTypeInput | Prisma.AdminBookingPageUpsertWithWhereUniqueWithoutMeetingTypeInput[]
|
|
createMany?: Prisma.AdminBookingPageCreateManyMeetingTypeInputEnvelope
|
|
set?: Prisma.AdminBookingPageWhereUniqueInput | Prisma.AdminBookingPageWhereUniqueInput[]
|
|
disconnect?: Prisma.AdminBookingPageWhereUniqueInput | Prisma.AdminBookingPageWhereUniqueInput[]
|
|
delete?: Prisma.AdminBookingPageWhereUniqueInput | Prisma.AdminBookingPageWhereUniqueInput[]
|
|
connect?: Prisma.AdminBookingPageWhereUniqueInput | Prisma.AdminBookingPageWhereUniqueInput[]
|
|
update?: Prisma.AdminBookingPageUpdateWithWhereUniqueWithoutMeetingTypeInput | Prisma.AdminBookingPageUpdateWithWhereUniqueWithoutMeetingTypeInput[]
|
|
updateMany?: Prisma.AdminBookingPageUpdateManyWithWhereWithoutMeetingTypeInput | Prisma.AdminBookingPageUpdateManyWithWhereWithoutMeetingTypeInput[]
|
|
deleteMany?: Prisma.AdminBookingPageScalarWhereInput | Prisma.AdminBookingPageScalarWhereInput[]
|
|
}
|
|
|
|
export type AdminBookingPageUncheckedUpdateManyWithoutMeetingTypeNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AdminBookingPageCreateWithoutMeetingTypeInput, Prisma.AdminBookingPageUncheckedCreateWithoutMeetingTypeInput> | Prisma.AdminBookingPageCreateWithoutMeetingTypeInput[] | Prisma.AdminBookingPageUncheckedCreateWithoutMeetingTypeInput[]
|
|
connectOrCreate?: Prisma.AdminBookingPageCreateOrConnectWithoutMeetingTypeInput | Prisma.AdminBookingPageCreateOrConnectWithoutMeetingTypeInput[]
|
|
upsert?: Prisma.AdminBookingPageUpsertWithWhereUniqueWithoutMeetingTypeInput | Prisma.AdminBookingPageUpsertWithWhereUniqueWithoutMeetingTypeInput[]
|
|
createMany?: Prisma.AdminBookingPageCreateManyMeetingTypeInputEnvelope
|
|
set?: Prisma.AdminBookingPageWhereUniqueInput | Prisma.AdminBookingPageWhereUniqueInput[]
|
|
disconnect?: Prisma.AdminBookingPageWhereUniqueInput | Prisma.AdminBookingPageWhereUniqueInput[]
|
|
delete?: Prisma.AdminBookingPageWhereUniqueInput | Prisma.AdminBookingPageWhereUniqueInput[]
|
|
connect?: Prisma.AdminBookingPageWhereUniqueInput | Prisma.AdminBookingPageWhereUniqueInput[]
|
|
update?: Prisma.AdminBookingPageUpdateWithWhereUniqueWithoutMeetingTypeInput | Prisma.AdminBookingPageUpdateWithWhereUniqueWithoutMeetingTypeInput[]
|
|
updateMany?: Prisma.AdminBookingPageUpdateManyWithWhereWithoutMeetingTypeInput | Prisma.AdminBookingPageUpdateManyWithWhereWithoutMeetingTypeInput[]
|
|
deleteMany?: Prisma.AdminBookingPageScalarWhereInput | Prisma.AdminBookingPageScalarWhereInput[]
|
|
}
|
|
|
|
export type AdminBookingPageCreateallowedEmailDomainsInput = {
|
|
set: string[]
|
|
}
|
|
|
|
export type AdminBookingPageUpdateallowedEmailDomainsInput = {
|
|
set?: string[]
|
|
push?: string | string[]
|
|
}
|
|
|
|
export type AdminBookingPageCreateNestedOneWithoutBookingsInput = {
|
|
create?: Prisma.XOR<Prisma.AdminBookingPageCreateWithoutBookingsInput, Prisma.AdminBookingPageUncheckedCreateWithoutBookingsInput>
|
|
connectOrCreate?: Prisma.AdminBookingPageCreateOrConnectWithoutBookingsInput
|
|
connect?: Prisma.AdminBookingPageWhereUniqueInput
|
|
}
|
|
|
|
export type AdminBookingPageUpdateOneRequiredWithoutBookingsNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AdminBookingPageCreateWithoutBookingsInput, Prisma.AdminBookingPageUncheckedCreateWithoutBookingsInput>
|
|
connectOrCreate?: Prisma.AdminBookingPageCreateOrConnectWithoutBookingsInput
|
|
upsert?: Prisma.AdminBookingPageUpsertWithoutBookingsInput
|
|
connect?: Prisma.AdminBookingPageWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.AdminBookingPageUpdateToOneWithWhereWithoutBookingsInput, Prisma.AdminBookingPageUpdateWithoutBookingsInput>, Prisma.AdminBookingPageUncheckedUpdateWithoutBookingsInput>
|
|
}
|
|
|
|
export type AdminBookingPageCreateWithoutMeetingTypeInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
archivedAt?: Date | string | null
|
|
createdByAdminUserId: string
|
|
slug: string
|
|
title: string
|
|
description?: string | null
|
|
published?: boolean
|
|
tokenVersion?: number
|
|
allowedEmailDomains?: Prisma.AdminBookingPageCreateallowedEmailDomainsInput | string[]
|
|
maxBookingsPerEmailPerDay?: number
|
|
bookings?: Prisma.AdminBookingCreateNestedManyWithoutBookingPageInput
|
|
}
|
|
|
|
export type AdminBookingPageUncheckedCreateWithoutMeetingTypeInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
archivedAt?: Date | string | null
|
|
createdByAdminUserId: string
|
|
slug: string
|
|
title: string
|
|
description?: string | null
|
|
published?: boolean
|
|
tokenVersion?: number
|
|
allowedEmailDomains?: Prisma.AdminBookingPageCreateallowedEmailDomainsInput | string[]
|
|
maxBookingsPerEmailPerDay?: number
|
|
bookings?: Prisma.AdminBookingUncheckedCreateNestedManyWithoutBookingPageInput
|
|
}
|
|
|
|
export type AdminBookingPageCreateOrConnectWithoutMeetingTypeInput = {
|
|
where: Prisma.AdminBookingPageWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.AdminBookingPageCreateWithoutMeetingTypeInput, Prisma.AdminBookingPageUncheckedCreateWithoutMeetingTypeInput>
|
|
}
|
|
|
|
export type AdminBookingPageCreateManyMeetingTypeInputEnvelope = {
|
|
data: Prisma.AdminBookingPageCreateManyMeetingTypeInput | Prisma.AdminBookingPageCreateManyMeetingTypeInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type AdminBookingPageUpsertWithWhereUniqueWithoutMeetingTypeInput = {
|
|
where: Prisma.AdminBookingPageWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.AdminBookingPageUpdateWithoutMeetingTypeInput, Prisma.AdminBookingPageUncheckedUpdateWithoutMeetingTypeInput>
|
|
create: Prisma.XOR<Prisma.AdminBookingPageCreateWithoutMeetingTypeInput, Prisma.AdminBookingPageUncheckedCreateWithoutMeetingTypeInput>
|
|
}
|
|
|
|
export type AdminBookingPageUpdateWithWhereUniqueWithoutMeetingTypeInput = {
|
|
where: Prisma.AdminBookingPageWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.AdminBookingPageUpdateWithoutMeetingTypeInput, Prisma.AdminBookingPageUncheckedUpdateWithoutMeetingTypeInput>
|
|
}
|
|
|
|
export type AdminBookingPageUpdateManyWithWhereWithoutMeetingTypeInput = {
|
|
where: Prisma.AdminBookingPageScalarWhereInput
|
|
data: Prisma.XOR<Prisma.AdminBookingPageUpdateManyMutationInput, Prisma.AdminBookingPageUncheckedUpdateManyWithoutMeetingTypeInput>
|
|
}
|
|
|
|
export type AdminBookingPageScalarWhereInput = {
|
|
AND?: Prisma.AdminBookingPageScalarWhereInput | Prisma.AdminBookingPageScalarWhereInput[]
|
|
OR?: Prisma.AdminBookingPageScalarWhereInput[]
|
|
NOT?: Prisma.AdminBookingPageScalarWhereInput | Prisma.AdminBookingPageScalarWhereInput[]
|
|
id?: Prisma.StringFilter<"AdminBookingPage"> | string
|
|
createdAt?: Prisma.DateTimeFilter<"AdminBookingPage"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"AdminBookingPage"> | Date | string
|
|
archivedAt?: Prisma.DateTimeNullableFilter<"AdminBookingPage"> | Date | string | null
|
|
createdByAdminUserId?: Prisma.StringFilter<"AdminBookingPage"> | string
|
|
meetingTypeId?: Prisma.StringFilter<"AdminBookingPage"> | string
|
|
slug?: Prisma.StringFilter<"AdminBookingPage"> | string
|
|
title?: Prisma.StringFilter<"AdminBookingPage"> | string
|
|
description?: Prisma.StringNullableFilter<"AdminBookingPage"> | string | null
|
|
published?: Prisma.BoolFilter<"AdminBookingPage"> | boolean
|
|
tokenVersion?: Prisma.IntFilter<"AdminBookingPage"> | number
|
|
allowedEmailDomains?: Prisma.StringNullableListFilter<"AdminBookingPage">
|
|
maxBookingsPerEmailPerDay?: Prisma.IntFilter<"AdminBookingPage"> | number
|
|
}
|
|
|
|
export type AdminBookingPageCreateWithoutBookingsInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
archivedAt?: Date | string | null
|
|
createdByAdminUserId: string
|
|
slug: string
|
|
title: string
|
|
description?: string | null
|
|
published?: boolean
|
|
tokenVersion?: number
|
|
allowedEmailDomains?: Prisma.AdminBookingPageCreateallowedEmailDomainsInput | string[]
|
|
maxBookingsPerEmailPerDay?: number
|
|
meetingType: Prisma.AdminMeetingTypeCreateNestedOneWithoutPagesInput
|
|
}
|
|
|
|
export type AdminBookingPageUncheckedCreateWithoutBookingsInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
archivedAt?: Date | string | null
|
|
createdByAdminUserId: string
|
|
meetingTypeId: string
|
|
slug: string
|
|
title: string
|
|
description?: string | null
|
|
published?: boolean
|
|
tokenVersion?: number
|
|
allowedEmailDomains?: Prisma.AdminBookingPageCreateallowedEmailDomainsInput | string[]
|
|
maxBookingsPerEmailPerDay?: number
|
|
}
|
|
|
|
export type AdminBookingPageCreateOrConnectWithoutBookingsInput = {
|
|
where: Prisma.AdminBookingPageWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.AdminBookingPageCreateWithoutBookingsInput, Prisma.AdminBookingPageUncheckedCreateWithoutBookingsInput>
|
|
}
|
|
|
|
export type AdminBookingPageUpsertWithoutBookingsInput = {
|
|
update: Prisma.XOR<Prisma.AdminBookingPageUpdateWithoutBookingsInput, Prisma.AdminBookingPageUncheckedUpdateWithoutBookingsInput>
|
|
create: Prisma.XOR<Prisma.AdminBookingPageCreateWithoutBookingsInput, Prisma.AdminBookingPageUncheckedCreateWithoutBookingsInput>
|
|
where?: Prisma.AdminBookingPageWhereInput
|
|
}
|
|
|
|
export type AdminBookingPageUpdateToOneWithWhereWithoutBookingsInput = {
|
|
where?: Prisma.AdminBookingPageWhereInput
|
|
data: Prisma.XOR<Prisma.AdminBookingPageUpdateWithoutBookingsInput, Prisma.AdminBookingPageUncheckedUpdateWithoutBookingsInput>
|
|
}
|
|
|
|
export type AdminBookingPageUpdateWithoutBookingsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
createdByAdminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
slug?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
published?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
tokenVersion?: Prisma.IntFieldUpdateOperationsInput | number
|
|
allowedEmailDomains?: Prisma.AdminBookingPageUpdateallowedEmailDomainsInput | string[]
|
|
maxBookingsPerEmailPerDay?: Prisma.IntFieldUpdateOperationsInput | number
|
|
meetingType?: Prisma.AdminMeetingTypeUpdateOneRequiredWithoutPagesNestedInput
|
|
}
|
|
|
|
export type AdminBookingPageUncheckedUpdateWithoutBookingsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
createdByAdminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
meetingTypeId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
slug?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
published?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
tokenVersion?: Prisma.IntFieldUpdateOperationsInput | number
|
|
allowedEmailDomains?: Prisma.AdminBookingPageUpdateallowedEmailDomainsInput | string[]
|
|
maxBookingsPerEmailPerDay?: Prisma.IntFieldUpdateOperationsInput | number
|
|
}
|
|
|
|
export type AdminBookingPageCreateManyMeetingTypeInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
archivedAt?: Date | string | null
|
|
createdByAdminUserId: string
|
|
slug: string
|
|
title: string
|
|
description?: string | null
|
|
published?: boolean
|
|
tokenVersion?: number
|
|
allowedEmailDomains?: Prisma.AdminBookingPageCreateallowedEmailDomainsInput | string[]
|
|
maxBookingsPerEmailPerDay?: number
|
|
}
|
|
|
|
export type AdminBookingPageUpdateWithoutMeetingTypeInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
createdByAdminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
slug?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
published?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
tokenVersion?: Prisma.IntFieldUpdateOperationsInput | number
|
|
allowedEmailDomains?: Prisma.AdminBookingPageUpdateallowedEmailDomainsInput | string[]
|
|
maxBookingsPerEmailPerDay?: Prisma.IntFieldUpdateOperationsInput | number
|
|
bookings?: Prisma.AdminBookingUpdateManyWithoutBookingPageNestedInput
|
|
}
|
|
|
|
export type AdminBookingPageUncheckedUpdateWithoutMeetingTypeInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
createdByAdminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
slug?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
published?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
tokenVersion?: Prisma.IntFieldUpdateOperationsInput | number
|
|
allowedEmailDomains?: Prisma.AdminBookingPageUpdateallowedEmailDomainsInput | string[]
|
|
maxBookingsPerEmailPerDay?: Prisma.IntFieldUpdateOperationsInput | number
|
|
bookings?: Prisma.AdminBookingUncheckedUpdateManyWithoutBookingPageNestedInput
|
|
}
|
|
|
|
export type AdminBookingPageUncheckedUpdateManyWithoutMeetingTypeInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
createdByAdminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
slug?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
published?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
tokenVersion?: Prisma.IntFieldUpdateOperationsInput | number
|
|
allowedEmailDomains?: Prisma.AdminBookingPageUpdateallowedEmailDomainsInput | string[]
|
|
maxBookingsPerEmailPerDay?: Prisma.IntFieldUpdateOperationsInput | number
|
|
}
|
|
|
|
|
|
/**
|
|
* Count Type AdminBookingPageCountOutputType
|
|
*/
|
|
|
|
export type AdminBookingPageCountOutputType = {
|
|
bookings: number
|
|
}
|
|
|
|
export type AdminBookingPageCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
bookings?: boolean | AdminBookingPageCountOutputTypeCountBookingsArgs
|
|
}
|
|
|
|
/**
|
|
* AdminBookingPageCountOutputType without action
|
|
*/
|
|
export type AdminBookingPageCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminBookingPageCountOutputType
|
|
*/
|
|
select?: Prisma.AdminBookingPageCountOutputTypeSelect<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* AdminBookingPageCountOutputType without action
|
|
*/
|
|
export type AdminBookingPageCountOutputTypeCountBookingsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.AdminBookingWhereInput
|
|
}
|
|
|
|
|
|
export type AdminBookingPageSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
archivedAt?: boolean
|
|
createdByAdminUserId?: boolean
|
|
meetingTypeId?: boolean
|
|
slug?: boolean
|
|
title?: boolean
|
|
description?: boolean
|
|
published?: boolean
|
|
tokenVersion?: boolean
|
|
allowedEmailDomains?: boolean
|
|
maxBookingsPerEmailPerDay?: boolean
|
|
meetingType?: boolean | Prisma.AdminMeetingTypeDefaultArgs<ExtArgs>
|
|
bookings?: boolean | Prisma.AdminBookingPage$bookingsArgs<ExtArgs>
|
|
_count?: boolean | Prisma.AdminBookingPageCountOutputTypeDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["adminBookingPage"]>
|
|
|
|
export type AdminBookingPageSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
archivedAt?: boolean
|
|
createdByAdminUserId?: boolean
|
|
meetingTypeId?: boolean
|
|
slug?: boolean
|
|
title?: boolean
|
|
description?: boolean
|
|
published?: boolean
|
|
tokenVersion?: boolean
|
|
allowedEmailDomains?: boolean
|
|
maxBookingsPerEmailPerDay?: boolean
|
|
meetingType?: boolean | Prisma.AdminMeetingTypeDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["adminBookingPage"]>
|
|
|
|
export type AdminBookingPageSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
archivedAt?: boolean
|
|
createdByAdminUserId?: boolean
|
|
meetingTypeId?: boolean
|
|
slug?: boolean
|
|
title?: boolean
|
|
description?: boolean
|
|
published?: boolean
|
|
tokenVersion?: boolean
|
|
allowedEmailDomains?: boolean
|
|
maxBookingsPerEmailPerDay?: boolean
|
|
meetingType?: boolean | Prisma.AdminMeetingTypeDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["adminBookingPage"]>
|
|
|
|
export type AdminBookingPageSelectScalar = {
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
archivedAt?: boolean
|
|
createdByAdminUserId?: boolean
|
|
meetingTypeId?: boolean
|
|
slug?: boolean
|
|
title?: boolean
|
|
description?: boolean
|
|
published?: boolean
|
|
tokenVersion?: boolean
|
|
allowedEmailDomains?: boolean
|
|
maxBookingsPerEmailPerDay?: boolean
|
|
}
|
|
|
|
export type AdminBookingPageOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "archivedAt" | "createdByAdminUserId" | "meetingTypeId" | "slug" | "title" | "description" | "published" | "tokenVersion" | "allowedEmailDomains" | "maxBookingsPerEmailPerDay", ExtArgs["result"]["adminBookingPage"]>
|
|
export type AdminBookingPageInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
meetingType?: boolean | Prisma.AdminMeetingTypeDefaultArgs<ExtArgs>
|
|
bookings?: boolean | Prisma.AdminBookingPage$bookingsArgs<ExtArgs>
|
|
_count?: boolean | Prisma.AdminBookingPageCountOutputTypeDefaultArgs<ExtArgs>
|
|
}
|
|
export type AdminBookingPageIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
meetingType?: boolean | Prisma.AdminMeetingTypeDefaultArgs<ExtArgs>
|
|
}
|
|
export type AdminBookingPageIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
meetingType?: boolean | Prisma.AdminMeetingTypeDefaultArgs<ExtArgs>
|
|
}
|
|
|
|
export type $AdminBookingPagePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "AdminBookingPage"
|
|
objects: {
|
|
meetingType: Prisma.$AdminMeetingTypePayload<ExtArgs>
|
|
bookings: Prisma.$AdminBookingPayload<ExtArgs>[]
|
|
}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: string
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
archivedAt: Date | null
|
|
createdByAdminUserId: string
|
|
meetingTypeId: string
|
|
slug: string
|
|
title: string
|
|
description: string | null
|
|
published: boolean
|
|
tokenVersion: number
|
|
allowedEmailDomains: string[]
|
|
maxBookingsPerEmailPerDay: number
|
|
}, ExtArgs["result"]["adminBookingPage"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type AdminBookingPageGetPayload<S extends boolean | null | undefined | AdminBookingPageDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$AdminBookingPagePayload, S>
|
|
|
|
export type AdminBookingPageCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<AdminBookingPageFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: AdminBookingPageCountAggregateInputType | true
|
|
}
|
|
|
|
export interface AdminBookingPageDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['AdminBookingPage'], meta: { name: 'AdminBookingPage' } }
|
|
/**
|
|
* Find zero or one AdminBookingPage that matches the filter.
|
|
* @param {AdminBookingPageFindUniqueArgs} args - Arguments to find a AdminBookingPage
|
|
* @example
|
|
* // Get one AdminBookingPage
|
|
* const adminBookingPage = await prisma.adminBookingPage.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends AdminBookingPageFindUniqueArgs>(args: Prisma.SelectSubset<T, AdminBookingPageFindUniqueArgs<ExtArgs>>): Prisma.Prisma__AdminBookingPageClient<runtime.Types.Result.GetResult<Prisma.$AdminBookingPagePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one AdminBookingPage that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {AdminBookingPageFindUniqueOrThrowArgs} args - Arguments to find a AdminBookingPage
|
|
* @example
|
|
* // Get one AdminBookingPage
|
|
* const adminBookingPage = await prisma.adminBookingPage.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends AdminBookingPageFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, AdminBookingPageFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__AdminBookingPageClient<runtime.Types.Result.GetResult<Prisma.$AdminBookingPagePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first AdminBookingPage 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 {AdminBookingPageFindFirstArgs} args - Arguments to find a AdminBookingPage
|
|
* @example
|
|
* // Get one AdminBookingPage
|
|
* const adminBookingPage = await prisma.adminBookingPage.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends AdminBookingPageFindFirstArgs>(args?: Prisma.SelectSubset<T, AdminBookingPageFindFirstArgs<ExtArgs>>): Prisma.Prisma__AdminBookingPageClient<runtime.Types.Result.GetResult<Prisma.$AdminBookingPagePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first AdminBookingPage 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 {AdminBookingPageFindFirstOrThrowArgs} args - Arguments to find a AdminBookingPage
|
|
* @example
|
|
* // Get one AdminBookingPage
|
|
* const adminBookingPage = await prisma.adminBookingPage.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends AdminBookingPageFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, AdminBookingPageFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__AdminBookingPageClient<runtime.Types.Result.GetResult<Prisma.$AdminBookingPagePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more AdminBookingPages 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 {AdminBookingPageFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all AdminBookingPages
|
|
* const adminBookingPages = await prisma.adminBookingPage.findMany()
|
|
*
|
|
* // Get first 10 AdminBookingPages
|
|
* const adminBookingPages = await prisma.adminBookingPage.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const adminBookingPageWithIdOnly = await prisma.adminBookingPage.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends AdminBookingPageFindManyArgs>(args?: Prisma.SelectSubset<T, AdminBookingPageFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdminBookingPagePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a AdminBookingPage.
|
|
* @param {AdminBookingPageCreateArgs} args - Arguments to create a AdminBookingPage.
|
|
* @example
|
|
* // Create one AdminBookingPage
|
|
* const AdminBookingPage = await prisma.adminBookingPage.create({
|
|
* data: {
|
|
* // ... data to create a AdminBookingPage
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends AdminBookingPageCreateArgs>(args: Prisma.SelectSubset<T, AdminBookingPageCreateArgs<ExtArgs>>): Prisma.Prisma__AdminBookingPageClient<runtime.Types.Result.GetResult<Prisma.$AdminBookingPagePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many AdminBookingPages.
|
|
* @param {AdminBookingPageCreateManyArgs} args - Arguments to create many AdminBookingPages.
|
|
* @example
|
|
* // Create many AdminBookingPages
|
|
* const adminBookingPage = await prisma.adminBookingPage.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends AdminBookingPageCreateManyArgs>(args?: Prisma.SelectSubset<T, AdminBookingPageCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create many AdminBookingPages and returns the data saved in the database.
|
|
* @param {AdminBookingPageCreateManyAndReturnArgs} args - Arguments to create many AdminBookingPages.
|
|
* @example
|
|
* // Create many AdminBookingPages
|
|
* const adminBookingPage = await prisma.adminBookingPage.createManyAndReturn({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Create many AdminBookingPages and only return the `id`
|
|
* const adminBookingPageWithIdOnly = await prisma.adminBookingPage.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 AdminBookingPageCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, AdminBookingPageCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdminBookingPagePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Delete a AdminBookingPage.
|
|
* @param {AdminBookingPageDeleteArgs} args - Arguments to delete one AdminBookingPage.
|
|
* @example
|
|
* // Delete one AdminBookingPage
|
|
* const AdminBookingPage = await prisma.adminBookingPage.delete({
|
|
* where: {
|
|
* // ... filter to delete one AdminBookingPage
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends AdminBookingPageDeleteArgs>(args: Prisma.SelectSubset<T, AdminBookingPageDeleteArgs<ExtArgs>>): Prisma.Prisma__AdminBookingPageClient<runtime.Types.Result.GetResult<Prisma.$AdminBookingPagePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one AdminBookingPage.
|
|
* @param {AdminBookingPageUpdateArgs} args - Arguments to update one AdminBookingPage.
|
|
* @example
|
|
* // Update one AdminBookingPage
|
|
* const adminBookingPage = await prisma.adminBookingPage.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends AdminBookingPageUpdateArgs>(args: Prisma.SelectSubset<T, AdminBookingPageUpdateArgs<ExtArgs>>): Prisma.Prisma__AdminBookingPageClient<runtime.Types.Result.GetResult<Prisma.$AdminBookingPagePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more AdminBookingPages.
|
|
* @param {AdminBookingPageDeleteManyArgs} args - Arguments to filter AdminBookingPages to delete.
|
|
* @example
|
|
* // Delete a few AdminBookingPages
|
|
* const { count } = await prisma.adminBookingPage.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends AdminBookingPageDeleteManyArgs>(args?: Prisma.SelectSubset<T, AdminBookingPageDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more AdminBookingPages.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {AdminBookingPageUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many AdminBookingPages
|
|
* const adminBookingPage = await prisma.adminBookingPage.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends AdminBookingPageUpdateManyArgs>(args: Prisma.SelectSubset<T, AdminBookingPageUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more AdminBookingPages and returns the data updated in the database.
|
|
* @param {AdminBookingPageUpdateManyAndReturnArgs} args - Arguments to update many AdminBookingPages.
|
|
* @example
|
|
* // Update many AdminBookingPages
|
|
* const adminBookingPage = await prisma.adminBookingPage.updateManyAndReturn({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Update zero or more AdminBookingPages and only return the `id`
|
|
* const adminBookingPageWithIdOnly = await prisma.adminBookingPage.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 AdminBookingPageUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, AdminBookingPageUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdminBookingPagePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create or update one AdminBookingPage.
|
|
* @param {AdminBookingPageUpsertArgs} args - Arguments to update or create a AdminBookingPage.
|
|
* @example
|
|
* // Update or create a AdminBookingPage
|
|
* const adminBookingPage = await prisma.adminBookingPage.upsert({
|
|
* create: {
|
|
* // ... data to create a AdminBookingPage
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the AdminBookingPage we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends AdminBookingPageUpsertArgs>(args: Prisma.SelectSubset<T, AdminBookingPageUpsertArgs<ExtArgs>>): Prisma.Prisma__AdminBookingPageClient<runtime.Types.Result.GetResult<Prisma.$AdminBookingPagePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of AdminBookingPages.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {AdminBookingPageCountArgs} args - Arguments to filter AdminBookingPages to count.
|
|
* @example
|
|
* // Count the number of AdminBookingPages
|
|
* const count = await prisma.adminBookingPage.count({
|
|
* where: {
|
|
* // ... the filter for the AdminBookingPages we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends AdminBookingPageCountArgs>(
|
|
args?: Prisma.Subset<T, AdminBookingPageCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], AdminBookingPageCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a AdminBookingPage.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {AdminBookingPageAggregateArgs} 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 AdminBookingPageAggregateArgs>(args: Prisma.Subset<T, AdminBookingPageAggregateArgs>): Prisma.PrismaPromise<GetAdminBookingPageAggregateType<T>>
|
|
|
|
/**
|
|
* Group by AdminBookingPage.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {AdminBookingPageGroupByArgs} 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 AdminBookingPageGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: AdminBookingPageGroupByArgs['orderBy'] }
|
|
: { orderBy?: AdminBookingPageGroupByArgs['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, AdminBookingPageGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAdminBookingPageGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the AdminBookingPage model
|
|
*/
|
|
readonly fields: AdminBookingPageFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for AdminBookingPage.
|
|
* 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__AdminBookingPageClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
meetingType<T extends Prisma.AdminMeetingTypeDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AdminMeetingTypeDefaultArgs<ExtArgs>>): Prisma.Prisma__AdminMeetingTypeClient<runtime.Types.Result.GetResult<Prisma.$AdminMeetingTypePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
bookings<T extends Prisma.AdminBookingPage$bookingsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AdminBookingPage$bookingsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdminBookingPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
/**
|
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
* @returns A Promise for the completion of which ever callback is executed.
|
|
*/
|
|
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
|
|
/**
|
|
* Attaches a callback for only the rejection of the Promise.
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
/**
|
|
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
* resolved value cannot be modified from the callback.
|
|
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
* Fields of the AdminBookingPage model
|
|
*/
|
|
export interface AdminBookingPageFieldRefs {
|
|
readonly id: Prisma.FieldRef<"AdminBookingPage", 'String'>
|
|
readonly createdAt: Prisma.FieldRef<"AdminBookingPage", 'DateTime'>
|
|
readonly updatedAt: Prisma.FieldRef<"AdminBookingPage", 'DateTime'>
|
|
readonly archivedAt: Prisma.FieldRef<"AdminBookingPage", 'DateTime'>
|
|
readonly createdByAdminUserId: Prisma.FieldRef<"AdminBookingPage", 'String'>
|
|
readonly meetingTypeId: Prisma.FieldRef<"AdminBookingPage", 'String'>
|
|
readonly slug: Prisma.FieldRef<"AdminBookingPage", 'String'>
|
|
readonly title: Prisma.FieldRef<"AdminBookingPage", 'String'>
|
|
readonly description: Prisma.FieldRef<"AdminBookingPage", 'String'>
|
|
readonly published: Prisma.FieldRef<"AdminBookingPage", 'Boolean'>
|
|
readonly tokenVersion: Prisma.FieldRef<"AdminBookingPage", 'Int'>
|
|
readonly allowedEmailDomains: Prisma.FieldRef<"AdminBookingPage", 'String[]'>
|
|
readonly maxBookingsPerEmailPerDay: Prisma.FieldRef<"AdminBookingPage", 'Int'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* AdminBookingPage findUnique
|
|
*/
|
|
export type AdminBookingPageFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminBookingPage
|
|
*/
|
|
select?: Prisma.AdminBookingPageSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminBookingPage
|
|
*/
|
|
omit?: Prisma.AdminBookingPageOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminBookingPageInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which AdminBookingPage to fetch.
|
|
*/
|
|
where: Prisma.AdminBookingPageWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AdminBookingPage findUniqueOrThrow
|
|
*/
|
|
export type AdminBookingPageFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminBookingPage
|
|
*/
|
|
select?: Prisma.AdminBookingPageSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminBookingPage
|
|
*/
|
|
omit?: Prisma.AdminBookingPageOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminBookingPageInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which AdminBookingPage to fetch.
|
|
*/
|
|
where: Prisma.AdminBookingPageWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AdminBookingPage findFirst
|
|
*/
|
|
export type AdminBookingPageFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminBookingPage
|
|
*/
|
|
select?: Prisma.AdminBookingPageSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminBookingPage
|
|
*/
|
|
omit?: Prisma.AdminBookingPageOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminBookingPageInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which AdminBookingPage to fetch.
|
|
*/
|
|
where?: Prisma.AdminBookingPageWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of AdminBookingPages to fetch.
|
|
*/
|
|
orderBy?: Prisma.AdminBookingPageOrderByWithRelationInput | Prisma.AdminBookingPageOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for AdminBookingPages.
|
|
*/
|
|
cursor?: Prisma.AdminBookingPageWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` AdminBookingPages 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` AdminBookingPages.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of AdminBookingPages.
|
|
*/
|
|
distinct?: Prisma.AdminBookingPageScalarFieldEnum | Prisma.AdminBookingPageScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AdminBookingPage findFirstOrThrow
|
|
*/
|
|
export type AdminBookingPageFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminBookingPage
|
|
*/
|
|
select?: Prisma.AdminBookingPageSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminBookingPage
|
|
*/
|
|
omit?: Prisma.AdminBookingPageOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminBookingPageInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which AdminBookingPage to fetch.
|
|
*/
|
|
where?: Prisma.AdminBookingPageWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of AdminBookingPages to fetch.
|
|
*/
|
|
orderBy?: Prisma.AdminBookingPageOrderByWithRelationInput | Prisma.AdminBookingPageOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for AdminBookingPages.
|
|
*/
|
|
cursor?: Prisma.AdminBookingPageWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` AdminBookingPages 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` AdminBookingPages.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of AdminBookingPages.
|
|
*/
|
|
distinct?: Prisma.AdminBookingPageScalarFieldEnum | Prisma.AdminBookingPageScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AdminBookingPage findMany
|
|
*/
|
|
export type AdminBookingPageFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminBookingPage
|
|
*/
|
|
select?: Prisma.AdminBookingPageSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminBookingPage
|
|
*/
|
|
omit?: Prisma.AdminBookingPageOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminBookingPageInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which AdminBookingPages to fetch.
|
|
*/
|
|
where?: Prisma.AdminBookingPageWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of AdminBookingPages to fetch.
|
|
*/
|
|
orderBy?: Prisma.AdminBookingPageOrderByWithRelationInput | Prisma.AdminBookingPageOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing AdminBookingPages.
|
|
*/
|
|
cursor?: Prisma.AdminBookingPageWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` AdminBookingPages 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` AdminBookingPages.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of AdminBookingPages.
|
|
*/
|
|
distinct?: Prisma.AdminBookingPageScalarFieldEnum | Prisma.AdminBookingPageScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AdminBookingPage create
|
|
*/
|
|
export type AdminBookingPageCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminBookingPage
|
|
*/
|
|
select?: Prisma.AdminBookingPageSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminBookingPage
|
|
*/
|
|
omit?: Prisma.AdminBookingPageOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminBookingPageInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a AdminBookingPage.
|
|
*/
|
|
data: Prisma.XOR<Prisma.AdminBookingPageCreateInput, Prisma.AdminBookingPageUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* AdminBookingPage createMany
|
|
*/
|
|
export type AdminBookingPageCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many AdminBookingPages.
|
|
*/
|
|
data: Prisma.AdminBookingPageCreateManyInput | Prisma.AdminBookingPageCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* AdminBookingPage createManyAndReturn
|
|
*/
|
|
export type AdminBookingPageCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminBookingPage
|
|
*/
|
|
select?: Prisma.AdminBookingPageSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminBookingPage
|
|
*/
|
|
omit?: Prisma.AdminBookingPageOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to create many AdminBookingPages.
|
|
*/
|
|
data: Prisma.AdminBookingPageCreateManyInput | Prisma.AdminBookingPageCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminBookingPageIncludeCreateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* AdminBookingPage update
|
|
*/
|
|
export type AdminBookingPageUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminBookingPage
|
|
*/
|
|
select?: Prisma.AdminBookingPageSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminBookingPage
|
|
*/
|
|
omit?: Prisma.AdminBookingPageOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminBookingPageInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a AdminBookingPage.
|
|
*/
|
|
data: Prisma.XOR<Prisma.AdminBookingPageUpdateInput, Prisma.AdminBookingPageUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which AdminBookingPage to update.
|
|
*/
|
|
where: Prisma.AdminBookingPageWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AdminBookingPage updateMany
|
|
*/
|
|
export type AdminBookingPageUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update AdminBookingPages.
|
|
*/
|
|
data: Prisma.XOR<Prisma.AdminBookingPageUpdateManyMutationInput, Prisma.AdminBookingPageUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which AdminBookingPages to update
|
|
*/
|
|
where?: Prisma.AdminBookingPageWhereInput
|
|
/**
|
|
* Limit how many AdminBookingPages to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* AdminBookingPage updateManyAndReturn
|
|
*/
|
|
export type AdminBookingPageUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminBookingPage
|
|
*/
|
|
select?: Prisma.AdminBookingPageSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminBookingPage
|
|
*/
|
|
omit?: Prisma.AdminBookingPageOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update AdminBookingPages.
|
|
*/
|
|
data: Prisma.XOR<Prisma.AdminBookingPageUpdateManyMutationInput, Prisma.AdminBookingPageUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which AdminBookingPages to update
|
|
*/
|
|
where?: Prisma.AdminBookingPageWhereInput
|
|
/**
|
|
* Limit how many AdminBookingPages to update.
|
|
*/
|
|
limit?: number
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminBookingPageIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* AdminBookingPage upsert
|
|
*/
|
|
export type AdminBookingPageUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminBookingPage
|
|
*/
|
|
select?: Prisma.AdminBookingPageSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminBookingPage
|
|
*/
|
|
omit?: Prisma.AdminBookingPageOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminBookingPageInclude<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the AdminBookingPage to update in case it exists.
|
|
*/
|
|
where: Prisma.AdminBookingPageWhereUniqueInput
|
|
/**
|
|
* In case the AdminBookingPage found by the `where` argument doesn't exist, create a new AdminBookingPage with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.AdminBookingPageCreateInput, Prisma.AdminBookingPageUncheckedCreateInput>
|
|
/**
|
|
* In case the AdminBookingPage was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.AdminBookingPageUpdateInput, Prisma.AdminBookingPageUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* AdminBookingPage delete
|
|
*/
|
|
export type AdminBookingPageDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminBookingPage
|
|
*/
|
|
select?: Prisma.AdminBookingPageSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminBookingPage
|
|
*/
|
|
omit?: Prisma.AdminBookingPageOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminBookingPageInclude<ExtArgs> | null
|
|
/**
|
|
* Filter which AdminBookingPage to delete.
|
|
*/
|
|
where: Prisma.AdminBookingPageWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AdminBookingPage deleteMany
|
|
*/
|
|
export type AdminBookingPageDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which AdminBookingPages to delete
|
|
*/
|
|
where?: Prisma.AdminBookingPageWhereInput
|
|
/**
|
|
* Limit how many AdminBookingPages to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* AdminBookingPage.bookings
|
|
*/
|
|
export type AdminBookingPage$bookingsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminBooking
|
|
*/
|
|
select?: Prisma.AdminBookingSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminBooking
|
|
*/
|
|
omit?: Prisma.AdminBookingOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminBookingInclude<ExtArgs> | null
|
|
where?: Prisma.AdminBookingWhereInput
|
|
orderBy?: Prisma.AdminBookingOrderByWithRelationInput | Prisma.AdminBookingOrderByWithRelationInput[]
|
|
cursor?: Prisma.AdminBookingWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.AdminBookingScalarFieldEnum | Prisma.AdminBookingScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AdminBookingPage without action
|
|
*/
|
|
export type AdminBookingPageDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminBookingPage
|
|
*/
|
|
select?: Prisma.AdminBookingPageSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminBookingPage
|
|
*/
|
|
omit?: Prisma.AdminBookingPageOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminBookingPageInclude<ExtArgs> | null
|
|
}
|