2176 lines
86 KiB
TypeScript
2176 lines
86 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 `BookingPage` 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 BookingPage
|
|
* A public booking page (M06 A.1). Tenant-scoped, soft-deletable. `slug` is unique
|
|
* per tenant and powers the public URL `/b/{tenant}/{slug}`. `intakeFormId` is a
|
|
* bare reserved scalar for the AK-P16c Forms module (null = standard mini-form).
|
|
*/
|
|
export type BookingPageModel = runtime.Types.Result.DefaultSelection<Prisma.$BookingPagePayload>
|
|
|
|
export type AggregateBookingPage = {
|
|
_count: BookingPageCountAggregateOutputType | null
|
|
_avg: BookingPageAvgAggregateOutputType | null
|
|
_sum: BookingPageSumAggregateOutputType | null
|
|
_min: BookingPageMinAggregateOutputType | null
|
|
_max: BookingPageMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type BookingPageAvgAggregateOutputType = {
|
|
durationMinutes: number | null
|
|
bufferBeforeMinutes: number | null
|
|
bufferAfterMinutes: number | null
|
|
slotIncrementMinutes: number | null
|
|
minNoticeHours: number | null
|
|
maxAdvanceDays: number | null
|
|
}
|
|
|
|
export type BookingPageSumAggregateOutputType = {
|
|
durationMinutes: number | null
|
|
bufferBeforeMinutes: number | null
|
|
bufferAfterMinutes: number | null
|
|
slotIncrementMinutes: number | null
|
|
minNoticeHours: number | null
|
|
maxAdvanceDays: number | null
|
|
}
|
|
|
|
export type BookingPageMinAggregateOutputType = {
|
|
id: string | null
|
|
createdAt: Date | null
|
|
updatedAt: Date | null
|
|
tenantId: string | null
|
|
createdByUserId: string | null
|
|
slug: string | null
|
|
title: string | null
|
|
description: string | null
|
|
durationMinutes: number | null
|
|
bufferBeforeMinutes: number | null
|
|
bufferAfterMinutes: number | null
|
|
slotIncrementMinutes: number | null
|
|
minNoticeHours: number | null
|
|
maxAdvanceDays: number | null
|
|
assignmentStrategy: $Enums.BookingAssignmentStrategy | null
|
|
confirmationEmailSubject: string | null
|
|
confirmationEmailBody: string | null
|
|
internalEventTitleTemplate: string | null
|
|
redirectUrlAfterBooking: string | null
|
|
intakeFormId: string | null
|
|
isPublished: boolean | null
|
|
isDemoData: boolean | null
|
|
archivedAt: Date | null
|
|
}
|
|
|
|
export type BookingPageMaxAggregateOutputType = {
|
|
id: string | null
|
|
createdAt: Date | null
|
|
updatedAt: Date | null
|
|
tenantId: string | null
|
|
createdByUserId: string | null
|
|
slug: string | null
|
|
title: string | null
|
|
description: string | null
|
|
durationMinutes: number | null
|
|
bufferBeforeMinutes: number | null
|
|
bufferAfterMinutes: number | null
|
|
slotIncrementMinutes: number | null
|
|
minNoticeHours: number | null
|
|
maxAdvanceDays: number | null
|
|
assignmentStrategy: $Enums.BookingAssignmentStrategy | null
|
|
confirmationEmailSubject: string | null
|
|
confirmationEmailBody: string | null
|
|
internalEventTitleTemplate: string | null
|
|
redirectUrlAfterBooking: string | null
|
|
intakeFormId: string | null
|
|
isPublished: boolean | null
|
|
isDemoData: boolean | null
|
|
archivedAt: Date | null
|
|
}
|
|
|
|
export type BookingPageCountAggregateOutputType = {
|
|
id: number
|
|
createdAt: number
|
|
updatedAt: number
|
|
tenantId: number
|
|
createdByUserId: number
|
|
slug: number
|
|
title: number
|
|
description: number
|
|
durationMinutes: number
|
|
bufferBeforeMinutes: number
|
|
bufferAfterMinutes: number
|
|
slotIncrementMinutes: number
|
|
minNoticeHours: number
|
|
maxAdvanceDays: number
|
|
assignmentStrategy: number
|
|
confirmationEmailSubject: number
|
|
confirmationEmailBody: number
|
|
internalEventTitleTemplate: number
|
|
redirectUrlAfterBooking: number
|
|
intakeFormId: number
|
|
isPublished: number
|
|
isDemoData: number
|
|
archivedAt: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type BookingPageAvgAggregateInputType = {
|
|
durationMinutes?: true
|
|
bufferBeforeMinutes?: true
|
|
bufferAfterMinutes?: true
|
|
slotIncrementMinutes?: true
|
|
minNoticeHours?: true
|
|
maxAdvanceDays?: true
|
|
}
|
|
|
|
export type BookingPageSumAggregateInputType = {
|
|
durationMinutes?: true
|
|
bufferBeforeMinutes?: true
|
|
bufferAfterMinutes?: true
|
|
slotIncrementMinutes?: true
|
|
minNoticeHours?: true
|
|
maxAdvanceDays?: true
|
|
}
|
|
|
|
export type BookingPageMinAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
tenantId?: true
|
|
createdByUserId?: true
|
|
slug?: true
|
|
title?: true
|
|
description?: true
|
|
durationMinutes?: true
|
|
bufferBeforeMinutes?: true
|
|
bufferAfterMinutes?: true
|
|
slotIncrementMinutes?: true
|
|
minNoticeHours?: true
|
|
maxAdvanceDays?: true
|
|
assignmentStrategy?: true
|
|
confirmationEmailSubject?: true
|
|
confirmationEmailBody?: true
|
|
internalEventTitleTemplate?: true
|
|
redirectUrlAfterBooking?: true
|
|
intakeFormId?: true
|
|
isPublished?: true
|
|
isDemoData?: true
|
|
archivedAt?: true
|
|
}
|
|
|
|
export type BookingPageMaxAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
tenantId?: true
|
|
createdByUserId?: true
|
|
slug?: true
|
|
title?: true
|
|
description?: true
|
|
durationMinutes?: true
|
|
bufferBeforeMinutes?: true
|
|
bufferAfterMinutes?: true
|
|
slotIncrementMinutes?: true
|
|
minNoticeHours?: true
|
|
maxAdvanceDays?: true
|
|
assignmentStrategy?: true
|
|
confirmationEmailSubject?: true
|
|
confirmationEmailBody?: true
|
|
internalEventTitleTemplate?: true
|
|
redirectUrlAfterBooking?: true
|
|
intakeFormId?: true
|
|
isPublished?: true
|
|
isDemoData?: true
|
|
archivedAt?: true
|
|
}
|
|
|
|
export type BookingPageCountAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
tenantId?: true
|
|
createdByUserId?: true
|
|
slug?: true
|
|
title?: true
|
|
description?: true
|
|
durationMinutes?: true
|
|
bufferBeforeMinutes?: true
|
|
bufferAfterMinutes?: true
|
|
slotIncrementMinutes?: true
|
|
minNoticeHours?: true
|
|
maxAdvanceDays?: true
|
|
assignmentStrategy?: true
|
|
confirmationEmailSubject?: true
|
|
confirmationEmailBody?: true
|
|
internalEventTitleTemplate?: true
|
|
redirectUrlAfterBooking?: true
|
|
intakeFormId?: true
|
|
isPublished?: true
|
|
isDemoData?: true
|
|
archivedAt?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type BookingPageAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which BookingPage to aggregate.
|
|
*/
|
|
where?: Prisma.BookingPageWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of BookingPages to fetch.
|
|
*/
|
|
orderBy?: Prisma.BookingPageOrderByWithRelationInput | Prisma.BookingPageOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.BookingPageWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` BookingPages 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` BookingPages.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned BookingPages
|
|
**/
|
|
_count?: true | BookingPageCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to average
|
|
**/
|
|
_avg?: BookingPageAvgAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to sum
|
|
**/
|
|
_sum?: BookingPageSumAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: BookingPageMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: BookingPageMaxAggregateInputType
|
|
}
|
|
|
|
export type GetBookingPageAggregateType<T extends BookingPageAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateBookingPage]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateBookingPage[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateBookingPage[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type BookingPageGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.BookingPageWhereInput
|
|
orderBy?: Prisma.BookingPageOrderByWithAggregationInput | Prisma.BookingPageOrderByWithAggregationInput[]
|
|
by: Prisma.BookingPageScalarFieldEnum[] | Prisma.BookingPageScalarFieldEnum
|
|
having?: Prisma.BookingPageScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: BookingPageCountAggregateInputType | true
|
|
_avg?: BookingPageAvgAggregateInputType
|
|
_sum?: BookingPageSumAggregateInputType
|
|
_min?: BookingPageMinAggregateInputType
|
|
_max?: BookingPageMaxAggregateInputType
|
|
}
|
|
|
|
export type BookingPageGroupByOutputType = {
|
|
id: string
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
tenantId: string
|
|
createdByUserId: string | null
|
|
slug: string
|
|
title: string
|
|
description: string | null
|
|
durationMinutes: number
|
|
bufferBeforeMinutes: number
|
|
bufferAfterMinutes: number
|
|
slotIncrementMinutes: number
|
|
minNoticeHours: number
|
|
maxAdvanceDays: number
|
|
assignmentStrategy: $Enums.BookingAssignmentStrategy
|
|
confirmationEmailSubject: string
|
|
confirmationEmailBody: string
|
|
internalEventTitleTemplate: string | null
|
|
redirectUrlAfterBooking: string | null
|
|
intakeFormId: string | null
|
|
isPublished: boolean
|
|
isDemoData: boolean
|
|
archivedAt: Date | null
|
|
_count: BookingPageCountAggregateOutputType | null
|
|
_avg: BookingPageAvgAggregateOutputType | null
|
|
_sum: BookingPageSumAggregateOutputType | null
|
|
_min: BookingPageMinAggregateOutputType | null
|
|
_max: BookingPageMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type GetBookingPageGroupByPayload<T extends BookingPageGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<BookingPageGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof BookingPageGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], BookingPageGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], BookingPageGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type BookingPageWhereInput = {
|
|
AND?: Prisma.BookingPageWhereInput | Prisma.BookingPageWhereInput[]
|
|
OR?: Prisma.BookingPageWhereInput[]
|
|
NOT?: Prisma.BookingPageWhereInput | Prisma.BookingPageWhereInput[]
|
|
id?: Prisma.StringFilter<"BookingPage"> | string
|
|
createdAt?: Prisma.DateTimeFilter<"BookingPage"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"BookingPage"> | Date | string
|
|
tenantId?: Prisma.StringFilter<"BookingPage"> | string
|
|
createdByUserId?: Prisma.StringNullableFilter<"BookingPage"> | string | null
|
|
slug?: Prisma.StringFilter<"BookingPage"> | string
|
|
title?: Prisma.StringFilter<"BookingPage"> | string
|
|
description?: Prisma.StringNullableFilter<"BookingPage"> | string | null
|
|
durationMinutes?: Prisma.IntFilter<"BookingPage"> | number
|
|
bufferBeforeMinutes?: Prisma.IntFilter<"BookingPage"> | number
|
|
bufferAfterMinutes?: Prisma.IntFilter<"BookingPage"> | number
|
|
slotIncrementMinutes?: Prisma.IntFilter<"BookingPage"> | number
|
|
minNoticeHours?: Prisma.IntFilter<"BookingPage"> | number
|
|
maxAdvanceDays?: Prisma.IntFilter<"BookingPage"> | number
|
|
assignmentStrategy?: Prisma.EnumBookingAssignmentStrategyFilter<"BookingPage"> | $Enums.BookingAssignmentStrategy
|
|
confirmationEmailSubject?: Prisma.StringFilter<"BookingPage"> | string
|
|
confirmationEmailBody?: Prisma.StringFilter<"BookingPage"> | string
|
|
internalEventTitleTemplate?: Prisma.StringNullableFilter<"BookingPage"> | string | null
|
|
redirectUrlAfterBooking?: Prisma.StringNullableFilter<"BookingPage"> | string | null
|
|
intakeFormId?: Prisma.StringNullableFilter<"BookingPage"> | string | null
|
|
isPublished?: Prisma.BoolFilter<"BookingPage"> | boolean
|
|
isDemoData?: Prisma.BoolFilter<"BookingPage"> | boolean
|
|
archivedAt?: Prisma.DateTimeNullableFilter<"BookingPage"> | Date | string | null
|
|
providers?: Prisma.BookingPageProviderListRelationFilter
|
|
appointments?: Prisma.AppointmentListRelationFilter
|
|
}
|
|
|
|
export type BookingPageOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
createdByUserId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
slug?: Prisma.SortOrder
|
|
title?: Prisma.SortOrder
|
|
description?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
durationMinutes?: Prisma.SortOrder
|
|
bufferBeforeMinutes?: Prisma.SortOrder
|
|
bufferAfterMinutes?: Prisma.SortOrder
|
|
slotIncrementMinutes?: Prisma.SortOrder
|
|
minNoticeHours?: Prisma.SortOrder
|
|
maxAdvanceDays?: Prisma.SortOrder
|
|
assignmentStrategy?: Prisma.SortOrder
|
|
confirmationEmailSubject?: Prisma.SortOrder
|
|
confirmationEmailBody?: Prisma.SortOrder
|
|
internalEventTitleTemplate?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
redirectUrlAfterBooking?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
intakeFormId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
isPublished?: Prisma.SortOrder
|
|
isDemoData?: Prisma.SortOrder
|
|
archivedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
providers?: Prisma.BookingPageProviderOrderByRelationAggregateInput
|
|
appointments?: Prisma.AppointmentOrderByRelationAggregateInput
|
|
}
|
|
|
|
export type BookingPageWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: string
|
|
tenantId_slug?: Prisma.BookingPageTenantIdSlugCompoundUniqueInput
|
|
AND?: Prisma.BookingPageWhereInput | Prisma.BookingPageWhereInput[]
|
|
OR?: Prisma.BookingPageWhereInput[]
|
|
NOT?: Prisma.BookingPageWhereInput | Prisma.BookingPageWhereInput[]
|
|
createdAt?: Prisma.DateTimeFilter<"BookingPage"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"BookingPage"> | Date | string
|
|
tenantId?: Prisma.StringFilter<"BookingPage"> | string
|
|
createdByUserId?: Prisma.StringNullableFilter<"BookingPage"> | string | null
|
|
slug?: Prisma.StringFilter<"BookingPage"> | string
|
|
title?: Prisma.StringFilter<"BookingPage"> | string
|
|
description?: Prisma.StringNullableFilter<"BookingPage"> | string | null
|
|
durationMinutes?: Prisma.IntFilter<"BookingPage"> | number
|
|
bufferBeforeMinutes?: Prisma.IntFilter<"BookingPage"> | number
|
|
bufferAfterMinutes?: Prisma.IntFilter<"BookingPage"> | number
|
|
slotIncrementMinutes?: Prisma.IntFilter<"BookingPage"> | number
|
|
minNoticeHours?: Prisma.IntFilter<"BookingPage"> | number
|
|
maxAdvanceDays?: Prisma.IntFilter<"BookingPage"> | number
|
|
assignmentStrategy?: Prisma.EnumBookingAssignmentStrategyFilter<"BookingPage"> | $Enums.BookingAssignmentStrategy
|
|
confirmationEmailSubject?: Prisma.StringFilter<"BookingPage"> | string
|
|
confirmationEmailBody?: Prisma.StringFilter<"BookingPage"> | string
|
|
internalEventTitleTemplate?: Prisma.StringNullableFilter<"BookingPage"> | string | null
|
|
redirectUrlAfterBooking?: Prisma.StringNullableFilter<"BookingPage"> | string | null
|
|
intakeFormId?: Prisma.StringNullableFilter<"BookingPage"> | string | null
|
|
isPublished?: Prisma.BoolFilter<"BookingPage"> | boolean
|
|
isDemoData?: Prisma.BoolFilter<"BookingPage"> | boolean
|
|
archivedAt?: Prisma.DateTimeNullableFilter<"BookingPage"> | Date | string | null
|
|
providers?: Prisma.BookingPageProviderListRelationFilter
|
|
appointments?: Prisma.AppointmentListRelationFilter
|
|
}, "id" | "tenantId_slug">
|
|
|
|
export type BookingPageOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
createdByUserId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
slug?: Prisma.SortOrder
|
|
title?: Prisma.SortOrder
|
|
description?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
durationMinutes?: Prisma.SortOrder
|
|
bufferBeforeMinutes?: Prisma.SortOrder
|
|
bufferAfterMinutes?: Prisma.SortOrder
|
|
slotIncrementMinutes?: Prisma.SortOrder
|
|
minNoticeHours?: Prisma.SortOrder
|
|
maxAdvanceDays?: Prisma.SortOrder
|
|
assignmentStrategy?: Prisma.SortOrder
|
|
confirmationEmailSubject?: Prisma.SortOrder
|
|
confirmationEmailBody?: Prisma.SortOrder
|
|
internalEventTitleTemplate?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
redirectUrlAfterBooking?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
intakeFormId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
isPublished?: Prisma.SortOrder
|
|
isDemoData?: Prisma.SortOrder
|
|
archivedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
_count?: Prisma.BookingPageCountOrderByAggregateInput
|
|
_avg?: Prisma.BookingPageAvgOrderByAggregateInput
|
|
_max?: Prisma.BookingPageMaxOrderByAggregateInput
|
|
_min?: Prisma.BookingPageMinOrderByAggregateInput
|
|
_sum?: Prisma.BookingPageSumOrderByAggregateInput
|
|
}
|
|
|
|
export type BookingPageScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.BookingPageScalarWhereWithAggregatesInput | Prisma.BookingPageScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.BookingPageScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.BookingPageScalarWhereWithAggregatesInput | Prisma.BookingPageScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.StringWithAggregatesFilter<"BookingPage"> | string
|
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"BookingPage"> | Date | string
|
|
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"BookingPage"> | Date | string
|
|
tenantId?: Prisma.StringWithAggregatesFilter<"BookingPage"> | string
|
|
createdByUserId?: Prisma.StringNullableWithAggregatesFilter<"BookingPage"> | string | null
|
|
slug?: Prisma.StringWithAggregatesFilter<"BookingPage"> | string
|
|
title?: Prisma.StringWithAggregatesFilter<"BookingPage"> | string
|
|
description?: Prisma.StringNullableWithAggregatesFilter<"BookingPage"> | string | null
|
|
durationMinutes?: Prisma.IntWithAggregatesFilter<"BookingPage"> | number
|
|
bufferBeforeMinutes?: Prisma.IntWithAggregatesFilter<"BookingPage"> | number
|
|
bufferAfterMinutes?: Prisma.IntWithAggregatesFilter<"BookingPage"> | number
|
|
slotIncrementMinutes?: Prisma.IntWithAggregatesFilter<"BookingPage"> | number
|
|
minNoticeHours?: Prisma.IntWithAggregatesFilter<"BookingPage"> | number
|
|
maxAdvanceDays?: Prisma.IntWithAggregatesFilter<"BookingPage"> | number
|
|
assignmentStrategy?: Prisma.EnumBookingAssignmentStrategyWithAggregatesFilter<"BookingPage"> | $Enums.BookingAssignmentStrategy
|
|
confirmationEmailSubject?: Prisma.StringWithAggregatesFilter<"BookingPage"> | string
|
|
confirmationEmailBody?: Prisma.StringWithAggregatesFilter<"BookingPage"> | string
|
|
internalEventTitleTemplate?: Prisma.StringNullableWithAggregatesFilter<"BookingPage"> | string | null
|
|
redirectUrlAfterBooking?: Prisma.StringNullableWithAggregatesFilter<"BookingPage"> | string | null
|
|
intakeFormId?: Prisma.StringNullableWithAggregatesFilter<"BookingPage"> | string | null
|
|
isPublished?: Prisma.BoolWithAggregatesFilter<"BookingPage"> | boolean
|
|
isDemoData?: Prisma.BoolWithAggregatesFilter<"BookingPage"> | boolean
|
|
archivedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"BookingPage"> | Date | string | null
|
|
}
|
|
|
|
export type BookingPageCreateInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
tenantId: string
|
|
createdByUserId?: string | null
|
|
slug: string
|
|
title: string
|
|
description?: string | null
|
|
durationMinutes: number
|
|
bufferBeforeMinutes?: number
|
|
bufferAfterMinutes?: number
|
|
slotIncrementMinutes?: number
|
|
minNoticeHours?: number
|
|
maxAdvanceDays?: number
|
|
assignmentStrategy?: $Enums.BookingAssignmentStrategy
|
|
confirmationEmailSubject: string
|
|
confirmationEmailBody: string
|
|
internalEventTitleTemplate?: string | null
|
|
redirectUrlAfterBooking?: string | null
|
|
intakeFormId?: string | null
|
|
isPublished?: boolean
|
|
isDemoData?: boolean
|
|
archivedAt?: Date | string | null
|
|
providers?: Prisma.BookingPageProviderCreateNestedManyWithoutBookingPageInput
|
|
appointments?: Prisma.AppointmentCreateNestedManyWithoutBookingPageInput
|
|
}
|
|
|
|
export type BookingPageUncheckedCreateInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
tenantId: string
|
|
createdByUserId?: string | null
|
|
slug: string
|
|
title: string
|
|
description?: string | null
|
|
durationMinutes: number
|
|
bufferBeforeMinutes?: number
|
|
bufferAfterMinutes?: number
|
|
slotIncrementMinutes?: number
|
|
minNoticeHours?: number
|
|
maxAdvanceDays?: number
|
|
assignmentStrategy?: $Enums.BookingAssignmentStrategy
|
|
confirmationEmailSubject: string
|
|
confirmationEmailBody: string
|
|
internalEventTitleTemplate?: string | null
|
|
redirectUrlAfterBooking?: string | null
|
|
intakeFormId?: string | null
|
|
isPublished?: boolean
|
|
isDemoData?: boolean
|
|
archivedAt?: Date | string | null
|
|
providers?: Prisma.BookingPageProviderUncheckedCreateNestedManyWithoutBookingPageInput
|
|
appointments?: Prisma.AppointmentUncheckedCreateNestedManyWithoutBookingPageInput
|
|
}
|
|
|
|
export type BookingPageUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
slug?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
durationMinutes?: Prisma.IntFieldUpdateOperationsInput | number
|
|
bufferBeforeMinutes?: Prisma.IntFieldUpdateOperationsInput | number
|
|
bufferAfterMinutes?: Prisma.IntFieldUpdateOperationsInput | number
|
|
slotIncrementMinutes?: Prisma.IntFieldUpdateOperationsInput | number
|
|
minNoticeHours?: Prisma.IntFieldUpdateOperationsInput | number
|
|
maxAdvanceDays?: Prisma.IntFieldUpdateOperationsInput | number
|
|
assignmentStrategy?: Prisma.EnumBookingAssignmentStrategyFieldUpdateOperationsInput | $Enums.BookingAssignmentStrategy
|
|
confirmationEmailSubject?: Prisma.StringFieldUpdateOperationsInput | string
|
|
confirmationEmailBody?: Prisma.StringFieldUpdateOperationsInput | string
|
|
internalEventTitleTemplate?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
redirectUrlAfterBooking?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
intakeFormId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
isPublished?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
providers?: Prisma.BookingPageProviderUpdateManyWithoutBookingPageNestedInput
|
|
appointments?: Prisma.AppointmentUpdateManyWithoutBookingPageNestedInput
|
|
}
|
|
|
|
export type BookingPageUncheckedUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
slug?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
durationMinutes?: Prisma.IntFieldUpdateOperationsInput | number
|
|
bufferBeforeMinutes?: Prisma.IntFieldUpdateOperationsInput | number
|
|
bufferAfterMinutes?: Prisma.IntFieldUpdateOperationsInput | number
|
|
slotIncrementMinutes?: Prisma.IntFieldUpdateOperationsInput | number
|
|
minNoticeHours?: Prisma.IntFieldUpdateOperationsInput | number
|
|
maxAdvanceDays?: Prisma.IntFieldUpdateOperationsInput | number
|
|
assignmentStrategy?: Prisma.EnumBookingAssignmentStrategyFieldUpdateOperationsInput | $Enums.BookingAssignmentStrategy
|
|
confirmationEmailSubject?: Prisma.StringFieldUpdateOperationsInput | string
|
|
confirmationEmailBody?: Prisma.StringFieldUpdateOperationsInput | string
|
|
internalEventTitleTemplate?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
redirectUrlAfterBooking?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
intakeFormId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
isPublished?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
providers?: Prisma.BookingPageProviderUncheckedUpdateManyWithoutBookingPageNestedInput
|
|
appointments?: Prisma.AppointmentUncheckedUpdateManyWithoutBookingPageNestedInput
|
|
}
|
|
|
|
export type BookingPageCreateManyInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
tenantId: string
|
|
createdByUserId?: string | null
|
|
slug: string
|
|
title: string
|
|
description?: string | null
|
|
durationMinutes: number
|
|
bufferBeforeMinutes?: number
|
|
bufferAfterMinutes?: number
|
|
slotIncrementMinutes?: number
|
|
minNoticeHours?: number
|
|
maxAdvanceDays?: number
|
|
assignmentStrategy?: $Enums.BookingAssignmentStrategy
|
|
confirmationEmailSubject: string
|
|
confirmationEmailBody: string
|
|
internalEventTitleTemplate?: string | null
|
|
redirectUrlAfterBooking?: string | null
|
|
intakeFormId?: string | null
|
|
isPublished?: boolean
|
|
isDemoData?: boolean
|
|
archivedAt?: Date | string | null
|
|
}
|
|
|
|
export type BookingPageUpdateManyMutationInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
slug?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
durationMinutes?: Prisma.IntFieldUpdateOperationsInput | number
|
|
bufferBeforeMinutes?: Prisma.IntFieldUpdateOperationsInput | number
|
|
bufferAfterMinutes?: Prisma.IntFieldUpdateOperationsInput | number
|
|
slotIncrementMinutes?: Prisma.IntFieldUpdateOperationsInput | number
|
|
minNoticeHours?: Prisma.IntFieldUpdateOperationsInput | number
|
|
maxAdvanceDays?: Prisma.IntFieldUpdateOperationsInput | number
|
|
assignmentStrategy?: Prisma.EnumBookingAssignmentStrategyFieldUpdateOperationsInput | $Enums.BookingAssignmentStrategy
|
|
confirmationEmailSubject?: Prisma.StringFieldUpdateOperationsInput | string
|
|
confirmationEmailBody?: Prisma.StringFieldUpdateOperationsInput | string
|
|
internalEventTitleTemplate?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
redirectUrlAfterBooking?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
intakeFormId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
isPublished?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
}
|
|
|
|
export type BookingPageUncheckedUpdateManyInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
slug?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
durationMinutes?: Prisma.IntFieldUpdateOperationsInput | number
|
|
bufferBeforeMinutes?: Prisma.IntFieldUpdateOperationsInput | number
|
|
bufferAfterMinutes?: Prisma.IntFieldUpdateOperationsInput | number
|
|
slotIncrementMinutes?: Prisma.IntFieldUpdateOperationsInput | number
|
|
minNoticeHours?: Prisma.IntFieldUpdateOperationsInput | number
|
|
maxAdvanceDays?: Prisma.IntFieldUpdateOperationsInput | number
|
|
assignmentStrategy?: Prisma.EnumBookingAssignmentStrategyFieldUpdateOperationsInput | $Enums.BookingAssignmentStrategy
|
|
confirmationEmailSubject?: Prisma.StringFieldUpdateOperationsInput | string
|
|
confirmationEmailBody?: Prisma.StringFieldUpdateOperationsInput | string
|
|
internalEventTitleTemplate?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
redirectUrlAfterBooking?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
intakeFormId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
isPublished?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
}
|
|
|
|
export type BookingPageTenantIdSlugCompoundUniqueInput = {
|
|
tenantId: string
|
|
slug: string
|
|
}
|
|
|
|
export type BookingPageCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
createdByUserId?: Prisma.SortOrder
|
|
slug?: Prisma.SortOrder
|
|
title?: Prisma.SortOrder
|
|
description?: Prisma.SortOrder
|
|
durationMinutes?: Prisma.SortOrder
|
|
bufferBeforeMinutes?: Prisma.SortOrder
|
|
bufferAfterMinutes?: Prisma.SortOrder
|
|
slotIncrementMinutes?: Prisma.SortOrder
|
|
minNoticeHours?: Prisma.SortOrder
|
|
maxAdvanceDays?: Prisma.SortOrder
|
|
assignmentStrategy?: Prisma.SortOrder
|
|
confirmationEmailSubject?: Prisma.SortOrder
|
|
confirmationEmailBody?: Prisma.SortOrder
|
|
internalEventTitleTemplate?: Prisma.SortOrder
|
|
redirectUrlAfterBooking?: Prisma.SortOrder
|
|
intakeFormId?: Prisma.SortOrder
|
|
isPublished?: Prisma.SortOrder
|
|
isDemoData?: Prisma.SortOrder
|
|
archivedAt?: Prisma.SortOrder
|
|
}
|
|
|
|
export type BookingPageAvgOrderByAggregateInput = {
|
|
durationMinutes?: Prisma.SortOrder
|
|
bufferBeforeMinutes?: Prisma.SortOrder
|
|
bufferAfterMinutes?: Prisma.SortOrder
|
|
slotIncrementMinutes?: Prisma.SortOrder
|
|
minNoticeHours?: Prisma.SortOrder
|
|
maxAdvanceDays?: Prisma.SortOrder
|
|
}
|
|
|
|
export type BookingPageMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
createdByUserId?: Prisma.SortOrder
|
|
slug?: Prisma.SortOrder
|
|
title?: Prisma.SortOrder
|
|
description?: Prisma.SortOrder
|
|
durationMinutes?: Prisma.SortOrder
|
|
bufferBeforeMinutes?: Prisma.SortOrder
|
|
bufferAfterMinutes?: Prisma.SortOrder
|
|
slotIncrementMinutes?: Prisma.SortOrder
|
|
minNoticeHours?: Prisma.SortOrder
|
|
maxAdvanceDays?: Prisma.SortOrder
|
|
assignmentStrategy?: Prisma.SortOrder
|
|
confirmationEmailSubject?: Prisma.SortOrder
|
|
confirmationEmailBody?: Prisma.SortOrder
|
|
internalEventTitleTemplate?: Prisma.SortOrder
|
|
redirectUrlAfterBooking?: Prisma.SortOrder
|
|
intakeFormId?: Prisma.SortOrder
|
|
isPublished?: Prisma.SortOrder
|
|
isDemoData?: Prisma.SortOrder
|
|
archivedAt?: Prisma.SortOrder
|
|
}
|
|
|
|
export type BookingPageMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
createdByUserId?: Prisma.SortOrder
|
|
slug?: Prisma.SortOrder
|
|
title?: Prisma.SortOrder
|
|
description?: Prisma.SortOrder
|
|
durationMinutes?: Prisma.SortOrder
|
|
bufferBeforeMinutes?: Prisma.SortOrder
|
|
bufferAfterMinutes?: Prisma.SortOrder
|
|
slotIncrementMinutes?: Prisma.SortOrder
|
|
minNoticeHours?: Prisma.SortOrder
|
|
maxAdvanceDays?: Prisma.SortOrder
|
|
assignmentStrategy?: Prisma.SortOrder
|
|
confirmationEmailSubject?: Prisma.SortOrder
|
|
confirmationEmailBody?: Prisma.SortOrder
|
|
internalEventTitleTemplate?: Prisma.SortOrder
|
|
redirectUrlAfterBooking?: Prisma.SortOrder
|
|
intakeFormId?: Prisma.SortOrder
|
|
isPublished?: Prisma.SortOrder
|
|
isDemoData?: Prisma.SortOrder
|
|
archivedAt?: Prisma.SortOrder
|
|
}
|
|
|
|
export type BookingPageSumOrderByAggregateInput = {
|
|
durationMinutes?: Prisma.SortOrder
|
|
bufferBeforeMinutes?: Prisma.SortOrder
|
|
bufferAfterMinutes?: Prisma.SortOrder
|
|
slotIncrementMinutes?: Prisma.SortOrder
|
|
minNoticeHours?: Prisma.SortOrder
|
|
maxAdvanceDays?: Prisma.SortOrder
|
|
}
|
|
|
|
export type BookingPageScalarRelationFilter = {
|
|
is?: Prisma.BookingPageWhereInput
|
|
isNot?: Prisma.BookingPageWhereInput
|
|
}
|
|
|
|
export type EnumBookingAssignmentStrategyFieldUpdateOperationsInput = {
|
|
set?: $Enums.BookingAssignmentStrategy
|
|
}
|
|
|
|
export type BookingPageCreateNestedOneWithoutProvidersInput = {
|
|
create?: Prisma.XOR<Prisma.BookingPageCreateWithoutProvidersInput, Prisma.BookingPageUncheckedCreateWithoutProvidersInput>
|
|
connectOrCreate?: Prisma.BookingPageCreateOrConnectWithoutProvidersInput
|
|
connect?: Prisma.BookingPageWhereUniqueInput
|
|
}
|
|
|
|
export type BookingPageUpdateOneRequiredWithoutProvidersNestedInput = {
|
|
create?: Prisma.XOR<Prisma.BookingPageCreateWithoutProvidersInput, Prisma.BookingPageUncheckedCreateWithoutProvidersInput>
|
|
connectOrCreate?: Prisma.BookingPageCreateOrConnectWithoutProvidersInput
|
|
upsert?: Prisma.BookingPageUpsertWithoutProvidersInput
|
|
connect?: Prisma.BookingPageWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.BookingPageUpdateToOneWithWhereWithoutProvidersInput, Prisma.BookingPageUpdateWithoutProvidersInput>, Prisma.BookingPageUncheckedUpdateWithoutProvidersInput>
|
|
}
|
|
|
|
export type BookingPageCreateNestedOneWithoutAppointmentsInput = {
|
|
create?: Prisma.XOR<Prisma.BookingPageCreateWithoutAppointmentsInput, Prisma.BookingPageUncheckedCreateWithoutAppointmentsInput>
|
|
connectOrCreate?: Prisma.BookingPageCreateOrConnectWithoutAppointmentsInput
|
|
connect?: Prisma.BookingPageWhereUniqueInput
|
|
}
|
|
|
|
export type BookingPageUpdateOneRequiredWithoutAppointmentsNestedInput = {
|
|
create?: Prisma.XOR<Prisma.BookingPageCreateWithoutAppointmentsInput, Prisma.BookingPageUncheckedCreateWithoutAppointmentsInput>
|
|
connectOrCreate?: Prisma.BookingPageCreateOrConnectWithoutAppointmentsInput
|
|
upsert?: Prisma.BookingPageUpsertWithoutAppointmentsInput
|
|
connect?: Prisma.BookingPageWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.BookingPageUpdateToOneWithWhereWithoutAppointmentsInput, Prisma.BookingPageUpdateWithoutAppointmentsInput>, Prisma.BookingPageUncheckedUpdateWithoutAppointmentsInput>
|
|
}
|
|
|
|
export type BookingPageCreateWithoutProvidersInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
tenantId: string
|
|
createdByUserId?: string | null
|
|
slug: string
|
|
title: string
|
|
description?: string | null
|
|
durationMinutes: number
|
|
bufferBeforeMinutes?: number
|
|
bufferAfterMinutes?: number
|
|
slotIncrementMinutes?: number
|
|
minNoticeHours?: number
|
|
maxAdvanceDays?: number
|
|
assignmentStrategy?: $Enums.BookingAssignmentStrategy
|
|
confirmationEmailSubject: string
|
|
confirmationEmailBody: string
|
|
internalEventTitleTemplate?: string | null
|
|
redirectUrlAfterBooking?: string | null
|
|
intakeFormId?: string | null
|
|
isPublished?: boolean
|
|
isDemoData?: boolean
|
|
archivedAt?: Date | string | null
|
|
appointments?: Prisma.AppointmentCreateNestedManyWithoutBookingPageInput
|
|
}
|
|
|
|
export type BookingPageUncheckedCreateWithoutProvidersInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
tenantId: string
|
|
createdByUserId?: string | null
|
|
slug: string
|
|
title: string
|
|
description?: string | null
|
|
durationMinutes: number
|
|
bufferBeforeMinutes?: number
|
|
bufferAfterMinutes?: number
|
|
slotIncrementMinutes?: number
|
|
minNoticeHours?: number
|
|
maxAdvanceDays?: number
|
|
assignmentStrategy?: $Enums.BookingAssignmentStrategy
|
|
confirmationEmailSubject: string
|
|
confirmationEmailBody: string
|
|
internalEventTitleTemplate?: string | null
|
|
redirectUrlAfterBooking?: string | null
|
|
intakeFormId?: string | null
|
|
isPublished?: boolean
|
|
isDemoData?: boolean
|
|
archivedAt?: Date | string | null
|
|
appointments?: Prisma.AppointmentUncheckedCreateNestedManyWithoutBookingPageInput
|
|
}
|
|
|
|
export type BookingPageCreateOrConnectWithoutProvidersInput = {
|
|
where: Prisma.BookingPageWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.BookingPageCreateWithoutProvidersInput, Prisma.BookingPageUncheckedCreateWithoutProvidersInput>
|
|
}
|
|
|
|
export type BookingPageUpsertWithoutProvidersInput = {
|
|
update: Prisma.XOR<Prisma.BookingPageUpdateWithoutProvidersInput, Prisma.BookingPageUncheckedUpdateWithoutProvidersInput>
|
|
create: Prisma.XOR<Prisma.BookingPageCreateWithoutProvidersInput, Prisma.BookingPageUncheckedCreateWithoutProvidersInput>
|
|
where?: Prisma.BookingPageWhereInput
|
|
}
|
|
|
|
export type BookingPageUpdateToOneWithWhereWithoutProvidersInput = {
|
|
where?: Prisma.BookingPageWhereInput
|
|
data: Prisma.XOR<Prisma.BookingPageUpdateWithoutProvidersInput, Prisma.BookingPageUncheckedUpdateWithoutProvidersInput>
|
|
}
|
|
|
|
export type BookingPageUpdateWithoutProvidersInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
slug?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
durationMinutes?: Prisma.IntFieldUpdateOperationsInput | number
|
|
bufferBeforeMinutes?: Prisma.IntFieldUpdateOperationsInput | number
|
|
bufferAfterMinutes?: Prisma.IntFieldUpdateOperationsInput | number
|
|
slotIncrementMinutes?: Prisma.IntFieldUpdateOperationsInput | number
|
|
minNoticeHours?: Prisma.IntFieldUpdateOperationsInput | number
|
|
maxAdvanceDays?: Prisma.IntFieldUpdateOperationsInput | number
|
|
assignmentStrategy?: Prisma.EnumBookingAssignmentStrategyFieldUpdateOperationsInput | $Enums.BookingAssignmentStrategy
|
|
confirmationEmailSubject?: Prisma.StringFieldUpdateOperationsInput | string
|
|
confirmationEmailBody?: Prisma.StringFieldUpdateOperationsInput | string
|
|
internalEventTitleTemplate?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
redirectUrlAfterBooking?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
intakeFormId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
isPublished?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
appointments?: Prisma.AppointmentUpdateManyWithoutBookingPageNestedInput
|
|
}
|
|
|
|
export type BookingPageUncheckedUpdateWithoutProvidersInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
slug?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
durationMinutes?: Prisma.IntFieldUpdateOperationsInput | number
|
|
bufferBeforeMinutes?: Prisma.IntFieldUpdateOperationsInput | number
|
|
bufferAfterMinutes?: Prisma.IntFieldUpdateOperationsInput | number
|
|
slotIncrementMinutes?: Prisma.IntFieldUpdateOperationsInput | number
|
|
minNoticeHours?: Prisma.IntFieldUpdateOperationsInput | number
|
|
maxAdvanceDays?: Prisma.IntFieldUpdateOperationsInput | number
|
|
assignmentStrategy?: Prisma.EnumBookingAssignmentStrategyFieldUpdateOperationsInput | $Enums.BookingAssignmentStrategy
|
|
confirmationEmailSubject?: Prisma.StringFieldUpdateOperationsInput | string
|
|
confirmationEmailBody?: Prisma.StringFieldUpdateOperationsInput | string
|
|
internalEventTitleTemplate?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
redirectUrlAfterBooking?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
intakeFormId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
isPublished?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
appointments?: Prisma.AppointmentUncheckedUpdateManyWithoutBookingPageNestedInput
|
|
}
|
|
|
|
export type BookingPageCreateWithoutAppointmentsInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
tenantId: string
|
|
createdByUserId?: string | null
|
|
slug: string
|
|
title: string
|
|
description?: string | null
|
|
durationMinutes: number
|
|
bufferBeforeMinutes?: number
|
|
bufferAfterMinutes?: number
|
|
slotIncrementMinutes?: number
|
|
minNoticeHours?: number
|
|
maxAdvanceDays?: number
|
|
assignmentStrategy?: $Enums.BookingAssignmentStrategy
|
|
confirmationEmailSubject: string
|
|
confirmationEmailBody: string
|
|
internalEventTitleTemplate?: string | null
|
|
redirectUrlAfterBooking?: string | null
|
|
intakeFormId?: string | null
|
|
isPublished?: boolean
|
|
isDemoData?: boolean
|
|
archivedAt?: Date | string | null
|
|
providers?: Prisma.BookingPageProviderCreateNestedManyWithoutBookingPageInput
|
|
}
|
|
|
|
export type BookingPageUncheckedCreateWithoutAppointmentsInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
tenantId: string
|
|
createdByUserId?: string | null
|
|
slug: string
|
|
title: string
|
|
description?: string | null
|
|
durationMinutes: number
|
|
bufferBeforeMinutes?: number
|
|
bufferAfterMinutes?: number
|
|
slotIncrementMinutes?: number
|
|
minNoticeHours?: number
|
|
maxAdvanceDays?: number
|
|
assignmentStrategy?: $Enums.BookingAssignmentStrategy
|
|
confirmationEmailSubject: string
|
|
confirmationEmailBody: string
|
|
internalEventTitleTemplate?: string | null
|
|
redirectUrlAfterBooking?: string | null
|
|
intakeFormId?: string | null
|
|
isPublished?: boolean
|
|
isDemoData?: boolean
|
|
archivedAt?: Date | string | null
|
|
providers?: Prisma.BookingPageProviderUncheckedCreateNestedManyWithoutBookingPageInput
|
|
}
|
|
|
|
export type BookingPageCreateOrConnectWithoutAppointmentsInput = {
|
|
where: Prisma.BookingPageWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.BookingPageCreateWithoutAppointmentsInput, Prisma.BookingPageUncheckedCreateWithoutAppointmentsInput>
|
|
}
|
|
|
|
export type BookingPageUpsertWithoutAppointmentsInput = {
|
|
update: Prisma.XOR<Prisma.BookingPageUpdateWithoutAppointmentsInput, Prisma.BookingPageUncheckedUpdateWithoutAppointmentsInput>
|
|
create: Prisma.XOR<Prisma.BookingPageCreateWithoutAppointmentsInput, Prisma.BookingPageUncheckedCreateWithoutAppointmentsInput>
|
|
where?: Prisma.BookingPageWhereInput
|
|
}
|
|
|
|
export type BookingPageUpdateToOneWithWhereWithoutAppointmentsInput = {
|
|
where?: Prisma.BookingPageWhereInput
|
|
data: Prisma.XOR<Prisma.BookingPageUpdateWithoutAppointmentsInput, Prisma.BookingPageUncheckedUpdateWithoutAppointmentsInput>
|
|
}
|
|
|
|
export type BookingPageUpdateWithoutAppointmentsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
slug?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
durationMinutes?: Prisma.IntFieldUpdateOperationsInput | number
|
|
bufferBeforeMinutes?: Prisma.IntFieldUpdateOperationsInput | number
|
|
bufferAfterMinutes?: Prisma.IntFieldUpdateOperationsInput | number
|
|
slotIncrementMinutes?: Prisma.IntFieldUpdateOperationsInput | number
|
|
minNoticeHours?: Prisma.IntFieldUpdateOperationsInput | number
|
|
maxAdvanceDays?: Prisma.IntFieldUpdateOperationsInput | number
|
|
assignmentStrategy?: Prisma.EnumBookingAssignmentStrategyFieldUpdateOperationsInput | $Enums.BookingAssignmentStrategy
|
|
confirmationEmailSubject?: Prisma.StringFieldUpdateOperationsInput | string
|
|
confirmationEmailBody?: Prisma.StringFieldUpdateOperationsInput | string
|
|
internalEventTitleTemplate?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
redirectUrlAfterBooking?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
intakeFormId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
isPublished?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
providers?: Prisma.BookingPageProviderUpdateManyWithoutBookingPageNestedInput
|
|
}
|
|
|
|
export type BookingPageUncheckedUpdateWithoutAppointmentsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
slug?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
durationMinutes?: Prisma.IntFieldUpdateOperationsInput | number
|
|
bufferBeforeMinutes?: Prisma.IntFieldUpdateOperationsInput | number
|
|
bufferAfterMinutes?: Prisma.IntFieldUpdateOperationsInput | number
|
|
slotIncrementMinutes?: Prisma.IntFieldUpdateOperationsInput | number
|
|
minNoticeHours?: Prisma.IntFieldUpdateOperationsInput | number
|
|
maxAdvanceDays?: Prisma.IntFieldUpdateOperationsInput | number
|
|
assignmentStrategy?: Prisma.EnumBookingAssignmentStrategyFieldUpdateOperationsInput | $Enums.BookingAssignmentStrategy
|
|
confirmationEmailSubject?: Prisma.StringFieldUpdateOperationsInput | string
|
|
confirmationEmailBody?: Prisma.StringFieldUpdateOperationsInput | string
|
|
internalEventTitleTemplate?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
redirectUrlAfterBooking?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
intakeFormId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
isPublished?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
providers?: Prisma.BookingPageProviderUncheckedUpdateManyWithoutBookingPageNestedInput
|
|
}
|
|
|
|
|
|
/**
|
|
* Count Type BookingPageCountOutputType
|
|
*/
|
|
|
|
export type BookingPageCountOutputType = {
|
|
providers: number
|
|
appointments: number
|
|
}
|
|
|
|
export type BookingPageCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
providers?: boolean | BookingPageCountOutputTypeCountProvidersArgs
|
|
appointments?: boolean | BookingPageCountOutputTypeCountAppointmentsArgs
|
|
}
|
|
|
|
/**
|
|
* BookingPageCountOutputType without action
|
|
*/
|
|
export type BookingPageCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the BookingPageCountOutputType
|
|
*/
|
|
select?: Prisma.BookingPageCountOutputTypeSelect<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* BookingPageCountOutputType without action
|
|
*/
|
|
export type BookingPageCountOutputTypeCountProvidersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.BookingPageProviderWhereInput
|
|
}
|
|
|
|
/**
|
|
* BookingPageCountOutputType without action
|
|
*/
|
|
export type BookingPageCountOutputTypeCountAppointmentsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.AppointmentWhereInput
|
|
}
|
|
|
|
|
|
export type BookingPageSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
tenantId?: boolean
|
|
createdByUserId?: boolean
|
|
slug?: boolean
|
|
title?: boolean
|
|
description?: boolean
|
|
durationMinutes?: boolean
|
|
bufferBeforeMinutes?: boolean
|
|
bufferAfterMinutes?: boolean
|
|
slotIncrementMinutes?: boolean
|
|
minNoticeHours?: boolean
|
|
maxAdvanceDays?: boolean
|
|
assignmentStrategy?: boolean
|
|
confirmationEmailSubject?: boolean
|
|
confirmationEmailBody?: boolean
|
|
internalEventTitleTemplate?: boolean
|
|
redirectUrlAfterBooking?: boolean
|
|
intakeFormId?: boolean
|
|
isPublished?: boolean
|
|
isDemoData?: boolean
|
|
archivedAt?: boolean
|
|
providers?: boolean | Prisma.BookingPage$providersArgs<ExtArgs>
|
|
appointments?: boolean | Prisma.BookingPage$appointmentsArgs<ExtArgs>
|
|
_count?: boolean | Prisma.BookingPageCountOutputTypeDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["bookingPage"]>
|
|
|
|
export type BookingPageSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
tenantId?: boolean
|
|
createdByUserId?: boolean
|
|
slug?: boolean
|
|
title?: boolean
|
|
description?: boolean
|
|
durationMinutes?: boolean
|
|
bufferBeforeMinutes?: boolean
|
|
bufferAfterMinutes?: boolean
|
|
slotIncrementMinutes?: boolean
|
|
minNoticeHours?: boolean
|
|
maxAdvanceDays?: boolean
|
|
assignmentStrategy?: boolean
|
|
confirmationEmailSubject?: boolean
|
|
confirmationEmailBody?: boolean
|
|
internalEventTitleTemplate?: boolean
|
|
redirectUrlAfterBooking?: boolean
|
|
intakeFormId?: boolean
|
|
isPublished?: boolean
|
|
isDemoData?: boolean
|
|
archivedAt?: boolean
|
|
}, ExtArgs["result"]["bookingPage"]>
|
|
|
|
export type BookingPageSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
tenantId?: boolean
|
|
createdByUserId?: boolean
|
|
slug?: boolean
|
|
title?: boolean
|
|
description?: boolean
|
|
durationMinutes?: boolean
|
|
bufferBeforeMinutes?: boolean
|
|
bufferAfterMinutes?: boolean
|
|
slotIncrementMinutes?: boolean
|
|
minNoticeHours?: boolean
|
|
maxAdvanceDays?: boolean
|
|
assignmentStrategy?: boolean
|
|
confirmationEmailSubject?: boolean
|
|
confirmationEmailBody?: boolean
|
|
internalEventTitleTemplate?: boolean
|
|
redirectUrlAfterBooking?: boolean
|
|
intakeFormId?: boolean
|
|
isPublished?: boolean
|
|
isDemoData?: boolean
|
|
archivedAt?: boolean
|
|
}, ExtArgs["result"]["bookingPage"]>
|
|
|
|
export type BookingPageSelectScalar = {
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
tenantId?: boolean
|
|
createdByUserId?: boolean
|
|
slug?: boolean
|
|
title?: boolean
|
|
description?: boolean
|
|
durationMinutes?: boolean
|
|
bufferBeforeMinutes?: boolean
|
|
bufferAfterMinutes?: boolean
|
|
slotIncrementMinutes?: boolean
|
|
minNoticeHours?: boolean
|
|
maxAdvanceDays?: boolean
|
|
assignmentStrategy?: boolean
|
|
confirmationEmailSubject?: boolean
|
|
confirmationEmailBody?: boolean
|
|
internalEventTitleTemplate?: boolean
|
|
redirectUrlAfterBooking?: boolean
|
|
intakeFormId?: boolean
|
|
isPublished?: boolean
|
|
isDemoData?: boolean
|
|
archivedAt?: boolean
|
|
}
|
|
|
|
export type BookingPageOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "tenantId" | "createdByUserId" | "slug" | "title" | "description" | "durationMinutes" | "bufferBeforeMinutes" | "bufferAfterMinutes" | "slotIncrementMinutes" | "minNoticeHours" | "maxAdvanceDays" | "assignmentStrategy" | "confirmationEmailSubject" | "confirmationEmailBody" | "internalEventTitleTemplate" | "redirectUrlAfterBooking" | "intakeFormId" | "isPublished" | "isDemoData" | "archivedAt", ExtArgs["result"]["bookingPage"]>
|
|
export type BookingPageInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
providers?: boolean | Prisma.BookingPage$providersArgs<ExtArgs>
|
|
appointments?: boolean | Prisma.BookingPage$appointmentsArgs<ExtArgs>
|
|
_count?: boolean | Prisma.BookingPageCountOutputTypeDefaultArgs<ExtArgs>
|
|
}
|
|
export type BookingPageIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
|
|
export type BookingPageIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
|
|
|
|
export type $BookingPagePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "BookingPage"
|
|
objects: {
|
|
providers: Prisma.$BookingPageProviderPayload<ExtArgs>[]
|
|
appointments: Prisma.$AppointmentPayload<ExtArgs>[]
|
|
}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: string
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
tenantId: string
|
|
createdByUserId: string | null
|
|
slug: string
|
|
title: string
|
|
description: string | null
|
|
durationMinutes: number
|
|
bufferBeforeMinutes: number
|
|
bufferAfterMinutes: number
|
|
slotIncrementMinutes: number
|
|
minNoticeHours: number
|
|
maxAdvanceDays: number
|
|
assignmentStrategy: $Enums.BookingAssignmentStrategy
|
|
confirmationEmailSubject: string
|
|
confirmationEmailBody: string
|
|
internalEventTitleTemplate: string | null
|
|
redirectUrlAfterBooking: string | null
|
|
intakeFormId: string | null
|
|
isPublished: boolean
|
|
isDemoData: boolean
|
|
archivedAt: Date | null
|
|
}, ExtArgs["result"]["bookingPage"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type BookingPageGetPayload<S extends boolean | null | undefined | BookingPageDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$BookingPagePayload, S>
|
|
|
|
export type BookingPageCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<BookingPageFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: BookingPageCountAggregateInputType | true
|
|
}
|
|
|
|
export interface BookingPageDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['BookingPage'], meta: { name: 'BookingPage' } }
|
|
/**
|
|
* Find zero or one BookingPage that matches the filter.
|
|
* @param {BookingPageFindUniqueArgs} args - Arguments to find a BookingPage
|
|
* @example
|
|
* // Get one BookingPage
|
|
* const bookingPage = await prisma.bookingPage.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends BookingPageFindUniqueArgs>(args: Prisma.SelectSubset<T, BookingPageFindUniqueArgs<ExtArgs>>): Prisma.Prisma__BookingPageClient<runtime.Types.Result.GetResult<Prisma.$BookingPagePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one BookingPage that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {BookingPageFindUniqueOrThrowArgs} args - Arguments to find a BookingPage
|
|
* @example
|
|
* // Get one BookingPage
|
|
* const bookingPage = await prisma.bookingPage.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends BookingPageFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, BookingPageFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__BookingPageClient<runtime.Types.Result.GetResult<Prisma.$BookingPagePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first BookingPage 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 {BookingPageFindFirstArgs} args - Arguments to find a BookingPage
|
|
* @example
|
|
* // Get one BookingPage
|
|
* const bookingPage = await prisma.bookingPage.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends BookingPageFindFirstArgs>(args?: Prisma.SelectSubset<T, BookingPageFindFirstArgs<ExtArgs>>): Prisma.Prisma__BookingPageClient<runtime.Types.Result.GetResult<Prisma.$BookingPagePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first BookingPage 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 {BookingPageFindFirstOrThrowArgs} args - Arguments to find a BookingPage
|
|
* @example
|
|
* // Get one BookingPage
|
|
* const bookingPage = await prisma.bookingPage.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends BookingPageFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, BookingPageFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__BookingPageClient<runtime.Types.Result.GetResult<Prisma.$BookingPagePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more BookingPages 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 {BookingPageFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all BookingPages
|
|
* const bookingPages = await prisma.bookingPage.findMany()
|
|
*
|
|
* // Get first 10 BookingPages
|
|
* const bookingPages = await prisma.bookingPage.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const bookingPageWithIdOnly = await prisma.bookingPage.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends BookingPageFindManyArgs>(args?: Prisma.SelectSubset<T, BookingPageFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BookingPagePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a BookingPage.
|
|
* @param {BookingPageCreateArgs} args - Arguments to create a BookingPage.
|
|
* @example
|
|
* // Create one BookingPage
|
|
* const BookingPage = await prisma.bookingPage.create({
|
|
* data: {
|
|
* // ... data to create a BookingPage
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends BookingPageCreateArgs>(args: Prisma.SelectSubset<T, BookingPageCreateArgs<ExtArgs>>): Prisma.Prisma__BookingPageClient<runtime.Types.Result.GetResult<Prisma.$BookingPagePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many BookingPages.
|
|
* @param {BookingPageCreateManyArgs} args - Arguments to create many BookingPages.
|
|
* @example
|
|
* // Create many BookingPages
|
|
* const bookingPage = await prisma.bookingPage.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends BookingPageCreateManyArgs>(args?: Prisma.SelectSubset<T, BookingPageCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create many BookingPages and returns the data saved in the database.
|
|
* @param {BookingPageCreateManyAndReturnArgs} args - Arguments to create many BookingPages.
|
|
* @example
|
|
* // Create many BookingPages
|
|
* const bookingPage = await prisma.bookingPage.createManyAndReturn({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Create many BookingPages and only return the `id`
|
|
* const bookingPageWithIdOnly = await prisma.bookingPage.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 BookingPageCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, BookingPageCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BookingPagePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Delete a BookingPage.
|
|
* @param {BookingPageDeleteArgs} args - Arguments to delete one BookingPage.
|
|
* @example
|
|
* // Delete one BookingPage
|
|
* const BookingPage = await prisma.bookingPage.delete({
|
|
* where: {
|
|
* // ... filter to delete one BookingPage
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends BookingPageDeleteArgs>(args: Prisma.SelectSubset<T, BookingPageDeleteArgs<ExtArgs>>): Prisma.Prisma__BookingPageClient<runtime.Types.Result.GetResult<Prisma.$BookingPagePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one BookingPage.
|
|
* @param {BookingPageUpdateArgs} args - Arguments to update one BookingPage.
|
|
* @example
|
|
* // Update one BookingPage
|
|
* const bookingPage = await prisma.bookingPage.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends BookingPageUpdateArgs>(args: Prisma.SelectSubset<T, BookingPageUpdateArgs<ExtArgs>>): Prisma.Prisma__BookingPageClient<runtime.Types.Result.GetResult<Prisma.$BookingPagePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more BookingPages.
|
|
* @param {BookingPageDeleteManyArgs} args - Arguments to filter BookingPages to delete.
|
|
* @example
|
|
* // Delete a few BookingPages
|
|
* const { count } = await prisma.bookingPage.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends BookingPageDeleteManyArgs>(args?: Prisma.SelectSubset<T, BookingPageDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more BookingPages.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {BookingPageUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many BookingPages
|
|
* const bookingPage = await prisma.bookingPage.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends BookingPageUpdateManyArgs>(args: Prisma.SelectSubset<T, BookingPageUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more BookingPages and returns the data updated in the database.
|
|
* @param {BookingPageUpdateManyAndReturnArgs} args - Arguments to update many BookingPages.
|
|
* @example
|
|
* // Update many BookingPages
|
|
* const bookingPage = await prisma.bookingPage.updateManyAndReturn({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Update zero or more BookingPages and only return the `id`
|
|
* const bookingPageWithIdOnly = await prisma.bookingPage.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 BookingPageUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, BookingPageUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BookingPagePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create or update one BookingPage.
|
|
* @param {BookingPageUpsertArgs} args - Arguments to update or create a BookingPage.
|
|
* @example
|
|
* // Update or create a BookingPage
|
|
* const bookingPage = await prisma.bookingPage.upsert({
|
|
* create: {
|
|
* // ... data to create a BookingPage
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the BookingPage we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends BookingPageUpsertArgs>(args: Prisma.SelectSubset<T, BookingPageUpsertArgs<ExtArgs>>): Prisma.Prisma__BookingPageClient<runtime.Types.Result.GetResult<Prisma.$BookingPagePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of BookingPages.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {BookingPageCountArgs} args - Arguments to filter BookingPages to count.
|
|
* @example
|
|
* // Count the number of BookingPages
|
|
* const count = await prisma.bookingPage.count({
|
|
* where: {
|
|
* // ... the filter for the BookingPages we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends BookingPageCountArgs>(
|
|
args?: Prisma.Subset<T, BookingPageCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], BookingPageCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a BookingPage.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {BookingPageAggregateArgs} 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 BookingPageAggregateArgs>(args: Prisma.Subset<T, BookingPageAggregateArgs>): Prisma.PrismaPromise<GetBookingPageAggregateType<T>>
|
|
|
|
/**
|
|
* Group by BookingPage.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {BookingPageGroupByArgs} 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 BookingPageGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: BookingPageGroupByArgs['orderBy'] }
|
|
: { orderBy?: BookingPageGroupByArgs['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, BookingPageGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetBookingPageGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the BookingPage model
|
|
*/
|
|
readonly fields: BookingPageFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for BookingPage.
|
|
* 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__BookingPageClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
providers<T extends Prisma.BookingPage$providersArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.BookingPage$providersArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BookingPageProviderPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
appointments<T extends Prisma.BookingPage$appointmentsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.BookingPage$appointmentsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AppointmentPayload<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 BookingPage model
|
|
*/
|
|
export interface BookingPageFieldRefs {
|
|
readonly id: Prisma.FieldRef<"BookingPage", 'String'>
|
|
readonly createdAt: Prisma.FieldRef<"BookingPage", 'DateTime'>
|
|
readonly updatedAt: Prisma.FieldRef<"BookingPage", 'DateTime'>
|
|
readonly tenantId: Prisma.FieldRef<"BookingPage", 'String'>
|
|
readonly createdByUserId: Prisma.FieldRef<"BookingPage", 'String'>
|
|
readonly slug: Prisma.FieldRef<"BookingPage", 'String'>
|
|
readonly title: Prisma.FieldRef<"BookingPage", 'String'>
|
|
readonly description: Prisma.FieldRef<"BookingPage", 'String'>
|
|
readonly durationMinutes: Prisma.FieldRef<"BookingPage", 'Int'>
|
|
readonly bufferBeforeMinutes: Prisma.FieldRef<"BookingPage", 'Int'>
|
|
readonly bufferAfterMinutes: Prisma.FieldRef<"BookingPage", 'Int'>
|
|
readonly slotIncrementMinutes: Prisma.FieldRef<"BookingPage", 'Int'>
|
|
readonly minNoticeHours: Prisma.FieldRef<"BookingPage", 'Int'>
|
|
readonly maxAdvanceDays: Prisma.FieldRef<"BookingPage", 'Int'>
|
|
readonly assignmentStrategy: Prisma.FieldRef<"BookingPage", 'BookingAssignmentStrategy'>
|
|
readonly confirmationEmailSubject: Prisma.FieldRef<"BookingPage", 'String'>
|
|
readonly confirmationEmailBody: Prisma.FieldRef<"BookingPage", 'String'>
|
|
readonly internalEventTitleTemplate: Prisma.FieldRef<"BookingPage", 'String'>
|
|
readonly redirectUrlAfterBooking: Prisma.FieldRef<"BookingPage", 'String'>
|
|
readonly intakeFormId: Prisma.FieldRef<"BookingPage", 'String'>
|
|
readonly isPublished: Prisma.FieldRef<"BookingPage", 'Boolean'>
|
|
readonly isDemoData: Prisma.FieldRef<"BookingPage", 'Boolean'>
|
|
readonly archivedAt: Prisma.FieldRef<"BookingPage", 'DateTime'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* BookingPage findUnique
|
|
*/
|
|
export type BookingPageFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the BookingPage
|
|
*/
|
|
select?: Prisma.BookingPageSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the BookingPage
|
|
*/
|
|
omit?: Prisma.BookingPageOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.BookingPageInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which BookingPage to fetch.
|
|
*/
|
|
where: Prisma.BookingPageWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* BookingPage findUniqueOrThrow
|
|
*/
|
|
export type BookingPageFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the BookingPage
|
|
*/
|
|
select?: Prisma.BookingPageSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the BookingPage
|
|
*/
|
|
omit?: Prisma.BookingPageOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.BookingPageInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which BookingPage to fetch.
|
|
*/
|
|
where: Prisma.BookingPageWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* BookingPage findFirst
|
|
*/
|
|
export type BookingPageFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the BookingPage
|
|
*/
|
|
select?: Prisma.BookingPageSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the BookingPage
|
|
*/
|
|
omit?: Prisma.BookingPageOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.BookingPageInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which BookingPage to fetch.
|
|
*/
|
|
where?: Prisma.BookingPageWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of BookingPages to fetch.
|
|
*/
|
|
orderBy?: Prisma.BookingPageOrderByWithRelationInput | Prisma.BookingPageOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for BookingPages.
|
|
*/
|
|
cursor?: Prisma.BookingPageWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` BookingPages 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` BookingPages.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of BookingPages.
|
|
*/
|
|
distinct?: Prisma.BookingPageScalarFieldEnum | Prisma.BookingPageScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* BookingPage findFirstOrThrow
|
|
*/
|
|
export type BookingPageFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the BookingPage
|
|
*/
|
|
select?: Prisma.BookingPageSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the BookingPage
|
|
*/
|
|
omit?: Prisma.BookingPageOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.BookingPageInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which BookingPage to fetch.
|
|
*/
|
|
where?: Prisma.BookingPageWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of BookingPages to fetch.
|
|
*/
|
|
orderBy?: Prisma.BookingPageOrderByWithRelationInput | Prisma.BookingPageOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for BookingPages.
|
|
*/
|
|
cursor?: Prisma.BookingPageWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` BookingPages 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` BookingPages.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of BookingPages.
|
|
*/
|
|
distinct?: Prisma.BookingPageScalarFieldEnum | Prisma.BookingPageScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* BookingPage findMany
|
|
*/
|
|
export type BookingPageFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the BookingPage
|
|
*/
|
|
select?: Prisma.BookingPageSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the BookingPage
|
|
*/
|
|
omit?: Prisma.BookingPageOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.BookingPageInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which BookingPages to fetch.
|
|
*/
|
|
where?: Prisma.BookingPageWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of BookingPages to fetch.
|
|
*/
|
|
orderBy?: Prisma.BookingPageOrderByWithRelationInput | Prisma.BookingPageOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing BookingPages.
|
|
*/
|
|
cursor?: Prisma.BookingPageWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` BookingPages 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` BookingPages.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of BookingPages.
|
|
*/
|
|
distinct?: Prisma.BookingPageScalarFieldEnum | Prisma.BookingPageScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* BookingPage create
|
|
*/
|
|
export type BookingPageCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the BookingPage
|
|
*/
|
|
select?: Prisma.BookingPageSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the BookingPage
|
|
*/
|
|
omit?: Prisma.BookingPageOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.BookingPageInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a BookingPage.
|
|
*/
|
|
data: Prisma.XOR<Prisma.BookingPageCreateInput, Prisma.BookingPageUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* BookingPage createMany
|
|
*/
|
|
export type BookingPageCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many BookingPages.
|
|
*/
|
|
data: Prisma.BookingPageCreateManyInput | Prisma.BookingPageCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* BookingPage createManyAndReturn
|
|
*/
|
|
export type BookingPageCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the BookingPage
|
|
*/
|
|
select?: Prisma.BookingPageSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the BookingPage
|
|
*/
|
|
omit?: Prisma.BookingPageOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to create many BookingPages.
|
|
*/
|
|
data: Prisma.BookingPageCreateManyInput | Prisma.BookingPageCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* BookingPage update
|
|
*/
|
|
export type BookingPageUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the BookingPage
|
|
*/
|
|
select?: Prisma.BookingPageSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the BookingPage
|
|
*/
|
|
omit?: Prisma.BookingPageOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.BookingPageInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a BookingPage.
|
|
*/
|
|
data: Prisma.XOR<Prisma.BookingPageUpdateInput, Prisma.BookingPageUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which BookingPage to update.
|
|
*/
|
|
where: Prisma.BookingPageWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* BookingPage updateMany
|
|
*/
|
|
export type BookingPageUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update BookingPages.
|
|
*/
|
|
data: Prisma.XOR<Prisma.BookingPageUpdateManyMutationInput, Prisma.BookingPageUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which BookingPages to update
|
|
*/
|
|
where?: Prisma.BookingPageWhereInput
|
|
/**
|
|
* Limit how many BookingPages to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* BookingPage updateManyAndReturn
|
|
*/
|
|
export type BookingPageUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the BookingPage
|
|
*/
|
|
select?: Prisma.BookingPageSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the BookingPage
|
|
*/
|
|
omit?: Prisma.BookingPageOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update BookingPages.
|
|
*/
|
|
data: Prisma.XOR<Prisma.BookingPageUpdateManyMutationInput, Prisma.BookingPageUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which BookingPages to update
|
|
*/
|
|
where?: Prisma.BookingPageWhereInput
|
|
/**
|
|
* Limit how many BookingPages to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* BookingPage upsert
|
|
*/
|
|
export type BookingPageUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the BookingPage
|
|
*/
|
|
select?: Prisma.BookingPageSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the BookingPage
|
|
*/
|
|
omit?: Prisma.BookingPageOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.BookingPageInclude<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the BookingPage to update in case it exists.
|
|
*/
|
|
where: Prisma.BookingPageWhereUniqueInput
|
|
/**
|
|
* In case the BookingPage found by the `where` argument doesn't exist, create a new BookingPage with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.BookingPageCreateInput, Prisma.BookingPageUncheckedCreateInput>
|
|
/**
|
|
* In case the BookingPage was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.BookingPageUpdateInput, Prisma.BookingPageUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* BookingPage delete
|
|
*/
|
|
export type BookingPageDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the BookingPage
|
|
*/
|
|
select?: Prisma.BookingPageSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the BookingPage
|
|
*/
|
|
omit?: Prisma.BookingPageOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.BookingPageInclude<ExtArgs> | null
|
|
/**
|
|
* Filter which BookingPage to delete.
|
|
*/
|
|
where: Prisma.BookingPageWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* BookingPage deleteMany
|
|
*/
|
|
export type BookingPageDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which BookingPages to delete
|
|
*/
|
|
where?: Prisma.BookingPageWhereInput
|
|
/**
|
|
* Limit how many BookingPages to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* BookingPage.providers
|
|
*/
|
|
export type BookingPage$providersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the BookingPageProvider
|
|
*/
|
|
select?: Prisma.BookingPageProviderSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the BookingPageProvider
|
|
*/
|
|
omit?: Prisma.BookingPageProviderOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.BookingPageProviderInclude<ExtArgs> | null
|
|
where?: Prisma.BookingPageProviderWhereInput
|
|
orderBy?: Prisma.BookingPageProviderOrderByWithRelationInput | Prisma.BookingPageProviderOrderByWithRelationInput[]
|
|
cursor?: Prisma.BookingPageProviderWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.BookingPageProviderScalarFieldEnum | Prisma.BookingPageProviderScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* BookingPage.appointments
|
|
*/
|
|
export type BookingPage$appointmentsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Appointment
|
|
*/
|
|
select?: Prisma.AppointmentSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Appointment
|
|
*/
|
|
omit?: Prisma.AppointmentOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AppointmentInclude<ExtArgs> | null
|
|
where?: Prisma.AppointmentWhereInput
|
|
orderBy?: Prisma.AppointmentOrderByWithRelationInput | Prisma.AppointmentOrderByWithRelationInput[]
|
|
cursor?: Prisma.AppointmentWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.AppointmentScalarFieldEnum | Prisma.AppointmentScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* BookingPage without action
|
|
*/
|
|
export type BookingPageDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the BookingPage
|
|
*/
|
|
select?: Prisma.BookingPageSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the BookingPage
|
|
*/
|
|
omit?: Prisma.BookingPageOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.BookingPageInclude<ExtArgs> | null
|
|
}
|