Files

1651 lines
68 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 `AdminBookingReminder` 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 AdminBookingReminder
*
*/
export type AdminBookingReminderModel = runtime.Types.Result.DefaultSelection<Prisma.$AdminBookingReminderPayload>
export type AggregateAdminBookingReminder = {
_count: AdminBookingReminderCountAggregateOutputType | null
_avg: AdminBookingReminderAvgAggregateOutputType | null
_sum: AdminBookingReminderSumAggregateOutputType | null
_min: AdminBookingReminderMinAggregateOutputType | null
_max: AdminBookingReminderMaxAggregateOutputType | null
}
export type AdminBookingReminderAvgAggregateOutputType = {
offsetMinutes: number | null
attemptCount: number | null
}
export type AdminBookingReminderSumAggregateOutputType = {
offsetMinutes: number | null
attemptCount: number | null
}
export type AdminBookingReminderMinAggregateOutputType = {
id: string | null
createdAt: Date | null
updatedAt: Date | null
adminUserId: string | null
bookingId: string | null
offsetMinutes: number | null
scheduledFor: Date | null
status: $Enums.AdminBookingReminderStatus | null
idempotencyKey: string | null
attemptCount: number | null
sentAt: Date | null
lastErrorCode: string | null
}
export type AdminBookingReminderMaxAggregateOutputType = {
id: string | null
createdAt: Date | null
updatedAt: Date | null
adminUserId: string | null
bookingId: string | null
offsetMinutes: number | null
scheduledFor: Date | null
status: $Enums.AdminBookingReminderStatus | null
idempotencyKey: string | null
attemptCount: number | null
sentAt: Date | null
lastErrorCode: string | null
}
export type AdminBookingReminderCountAggregateOutputType = {
id: number
createdAt: number
updatedAt: number
adminUserId: number
bookingId: number
offsetMinutes: number
scheduledFor: number
status: number
idempotencyKey: number
attemptCount: number
sentAt: number
lastErrorCode: number
_all: number
}
export type AdminBookingReminderAvgAggregateInputType = {
offsetMinutes?: true
attemptCount?: true
}
export type AdminBookingReminderSumAggregateInputType = {
offsetMinutes?: true
attemptCount?: true
}
export type AdminBookingReminderMinAggregateInputType = {
id?: true
createdAt?: true
updatedAt?: true
adminUserId?: true
bookingId?: true
offsetMinutes?: true
scheduledFor?: true
status?: true
idempotencyKey?: true
attemptCount?: true
sentAt?: true
lastErrorCode?: true
}
export type AdminBookingReminderMaxAggregateInputType = {
id?: true
createdAt?: true
updatedAt?: true
adminUserId?: true
bookingId?: true
offsetMinutes?: true
scheduledFor?: true
status?: true
idempotencyKey?: true
attemptCount?: true
sentAt?: true
lastErrorCode?: true
}
export type AdminBookingReminderCountAggregateInputType = {
id?: true
createdAt?: true
updatedAt?: true
adminUserId?: true
bookingId?: true
offsetMinutes?: true
scheduledFor?: true
status?: true
idempotencyKey?: true
attemptCount?: true
sentAt?: true
lastErrorCode?: true
_all?: true
}
export type AdminBookingReminderAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which AdminBookingReminder to aggregate.
*/
where?: Prisma.AdminBookingReminderWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of AdminBookingReminders to fetch.
*/
orderBy?: Prisma.AdminBookingReminderOrderByWithRelationInput | Prisma.AdminBookingReminderOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the start position
*/
cursor?: Prisma.AdminBookingReminderWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` AdminBookingReminders 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` AdminBookingReminders.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Count returned AdminBookingReminders
**/
_count?: true | AdminBookingReminderCountAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to average
**/
_avg?: AdminBookingReminderAvgAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to sum
**/
_sum?: AdminBookingReminderSumAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the minimum value
**/
_min?: AdminBookingReminderMinAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the maximum value
**/
_max?: AdminBookingReminderMaxAggregateInputType
}
export type GetAdminBookingReminderAggregateType<T extends AdminBookingReminderAggregateArgs> = {
[P in keyof T & keyof AggregateAdminBookingReminder]: P extends '_count' | 'count'
? T[P] extends true
? number
: Prisma.GetScalarType<T[P], AggregateAdminBookingReminder[P]>
: Prisma.GetScalarType<T[P], AggregateAdminBookingReminder[P]>
}
export type AdminBookingReminderGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.AdminBookingReminderWhereInput
orderBy?: Prisma.AdminBookingReminderOrderByWithAggregationInput | Prisma.AdminBookingReminderOrderByWithAggregationInput[]
by: Prisma.AdminBookingReminderScalarFieldEnum[] | Prisma.AdminBookingReminderScalarFieldEnum
having?: Prisma.AdminBookingReminderScalarWhereWithAggregatesInput
take?: number
skip?: number
_count?: AdminBookingReminderCountAggregateInputType | true
_avg?: AdminBookingReminderAvgAggregateInputType
_sum?: AdminBookingReminderSumAggregateInputType
_min?: AdminBookingReminderMinAggregateInputType
_max?: AdminBookingReminderMaxAggregateInputType
}
export type AdminBookingReminderGroupByOutputType = {
id: string
createdAt: Date
updatedAt: Date
adminUserId: string
bookingId: string
offsetMinutes: number
scheduledFor: Date
status: $Enums.AdminBookingReminderStatus
idempotencyKey: string
attemptCount: number
sentAt: Date | null
lastErrorCode: string | null
_count: AdminBookingReminderCountAggregateOutputType | null
_avg: AdminBookingReminderAvgAggregateOutputType | null
_sum: AdminBookingReminderSumAggregateOutputType | null
_min: AdminBookingReminderMinAggregateOutputType | null
_max: AdminBookingReminderMaxAggregateOutputType | null
}
export type GetAdminBookingReminderGroupByPayload<T extends AdminBookingReminderGroupByArgs> = Prisma.PrismaPromise<
Array<
Prisma.PickEnumerable<AdminBookingReminderGroupByOutputType, T['by']> &
{
[P in ((keyof T) & (keyof AdminBookingReminderGroupByOutputType))]: P extends '_count'
? T[P] extends boolean
? number
: Prisma.GetScalarType<T[P], AdminBookingReminderGroupByOutputType[P]>
: Prisma.GetScalarType<T[P], AdminBookingReminderGroupByOutputType[P]>
}
>
>
export type AdminBookingReminderWhereInput = {
AND?: Prisma.AdminBookingReminderWhereInput | Prisma.AdminBookingReminderWhereInput[]
OR?: Prisma.AdminBookingReminderWhereInput[]
NOT?: Prisma.AdminBookingReminderWhereInput | Prisma.AdminBookingReminderWhereInput[]
id?: Prisma.StringFilter<"AdminBookingReminder"> | string
createdAt?: Prisma.DateTimeFilter<"AdminBookingReminder"> | Date | string
updatedAt?: Prisma.DateTimeFilter<"AdminBookingReminder"> | Date | string
adminUserId?: Prisma.StringFilter<"AdminBookingReminder"> | string
bookingId?: Prisma.StringFilter<"AdminBookingReminder"> | string
offsetMinutes?: Prisma.IntFilter<"AdminBookingReminder"> | number
scheduledFor?: Prisma.DateTimeFilter<"AdminBookingReminder"> | Date | string
status?: Prisma.EnumAdminBookingReminderStatusFilter<"AdminBookingReminder"> | $Enums.AdminBookingReminderStatus
idempotencyKey?: Prisma.StringFilter<"AdminBookingReminder"> | string
attemptCount?: Prisma.IntFilter<"AdminBookingReminder"> | number
sentAt?: Prisma.DateTimeNullableFilter<"AdminBookingReminder"> | Date | string | null
lastErrorCode?: Prisma.StringNullableFilter<"AdminBookingReminder"> | string | null
booking?: Prisma.XOR<Prisma.AdminBookingScalarRelationFilter, Prisma.AdminBookingWhereInput>
}
export type AdminBookingReminderOrderByWithRelationInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
adminUserId?: Prisma.SortOrder
bookingId?: Prisma.SortOrder
offsetMinutes?: Prisma.SortOrder
scheduledFor?: Prisma.SortOrder
status?: Prisma.SortOrder
idempotencyKey?: Prisma.SortOrder
attemptCount?: Prisma.SortOrder
sentAt?: Prisma.SortOrderInput | Prisma.SortOrder
lastErrorCode?: Prisma.SortOrderInput | Prisma.SortOrder
booking?: Prisma.AdminBookingOrderByWithRelationInput
}
export type AdminBookingReminderWhereUniqueInput = Prisma.AtLeast<{
id?: string
idempotencyKey?: string
admin_booking_reminder_offset_key?: Prisma.AdminBookingReminderAdmin_booking_reminder_offset_keyCompoundUniqueInput
AND?: Prisma.AdminBookingReminderWhereInput | Prisma.AdminBookingReminderWhereInput[]
OR?: Prisma.AdminBookingReminderWhereInput[]
NOT?: Prisma.AdminBookingReminderWhereInput | Prisma.AdminBookingReminderWhereInput[]
createdAt?: Prisma.DateTimeFilter<"AdminBookingReminder"> | Date | string
updatedAt?: Prisma.DateTimeFilter<"AdminBookingReminder"> | Date | string
adminUserId?: Prisma.StringFilter<"AdminBookingReminder"> | string
bookingId?: Prisma.StringFilter<"AdminBookingReminder"> | string
offsetMinutes?: Prisma.IntFilter<"AdminBookingReminder"> | number
scheduledFor?: Prisma.DateTimeFilter<"AdminBookingReminder"> | Date | string
status?: Prisma.EnumAdminBookingReminderStatusFilter<"AdminBookingReminder"> | $Enums.AdminBookingReminderStatus
attemptCount?: Prisma.IntFilter<"AdminBookingReminder"> | number
sentAt?: Prisma.DateTimeNullableFilter<"AdminBookingReminder"> | Date | string | null
lastErrorCode?: Prisma.StringNullableFilter<"AdminBookingReminder"> | string | null
booking?: Prisma.XOR<Prisma.AdminBookingScalarRelationFilter, Prisma.AdminBookingWhereInput>
}, "id" | "idempotencyKey" | "admin_booking_reminder_offset_key">
export type AdminBookingReminderOrderByWithAggregationInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
adminUserId?: Prisma.SortOrder
bookingId?: Prisma.SortOrder
offsetMinutes?: Prisma.SortOrder
scheduledFor?: Prisma.SortOrder
status?: Prisma.SortOrder
idempotencyKey?: Prisma.SortOrder
attemptCount?: Prisma.SortOrder
sentAt?: Prisma.SortOrderInput | Prisma.SortOrder
lastErrorCode?: Prisma.SortOrderInput | Prisma.SortOrder
_count?: Prisma.AdminBookingReminderCountOrderByAggregateInput
_avg?: Prisma.AdminBookingReminderAvgOrderByAggregateInput
_max?: Prisma.AdminBookingReminderMaxOrderByAggregateInput
_min?: Prisma.AdminBookingReminderMinOrderByAggregateInput
_sum?: Prisma.AdminBookingReminderSumOrderByAggregateInput
}
export type AdminBookingReminderScalarWhereWithAggregatesInput = {
AND?: Prisma.AdminBookingReminderScalarWhereWithAggregatesInput | Prisma.AdminBookingReminderScalarWhereWithAggregatesInput[]
OR?: Prisma.AdminBookingReminderScalarWhereWithAggregatesInput[]
NOT?: Prisma.AdminBookingReminderScalarWhereWithAggregatesInput | Prisma.AdminBookingReminderScalarWhereWithAggregatesInput[]
id?: Prisma.StringWithAggregatesFilter<"AdminBookingReminder"> | string
createdAt?: Prisma.DateTimeWithAggregatesFilter<"AdminBookingReminder"> | Date | string
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"AdminBookingReminder"> | Date | string
adminUserId?: Prisma.StringWithAggregatesFilter<"AdminBookingReminder"> | string
bookingId?: Prisma.StringWithAggregatesFilter<"AdminBookingReminder"> | string
offsetMinutes?: Prisma.IntWithAggregatesFilter<"AdminBookingReminder"> | number
scheduledFor?: Prisma.DateTimeWithAggregatesFilter<"AdminBookingReminder"> | Date | string
status?: Prisma.EnumAdminBookingReminderStatusWithAggregatesFilter<"AdminBookingReminder"> | $Enums.AdminBookingReminderStatus
idempotencyKey?: Prisma.StringWithAggregatesFilter<"AdminBookingReminder"> | string
attemptCount?: Prisma.IntWithAggregatesFilter<"AdminBookingReminder"> | number
sentAt?: Prisma.DateTimeNullableWithAggregatesFilter<"AdminBookingReminder"> | Date | string | null
lastErrorCode?: Prisma.StringNullableWithAggregatesFilter<"AdminBookingReminder"> | string | null
}
export type AdminBookingReminderCreateInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
adminUserId: string
offsetMinutes: number
scheduledFor: Date | string
status?: $Enums.AdminBookingReminderStatus
idempotencyKey: string
attemptCount?: number
sentAt?: Date | string | null
lastErrorCode?: string | null
booking: Prisma.AdminBookingCreateNestedOneWithoutRemindersInput
}
export type AdminBookingReminderUncheckedCreateInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
adminUserId: string
bookingId: string
offsetMinutes: number
scheduledFor: Date | string
status?: $Enums.AdminBookingReminderStatus
idempotencyKey: string
attemptCount?: number
sentAt?: Date | string | null
lastErrorCode?: string | null
}
export type AdminBookingReminderUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
offsetMinutes?: Prisma.IntFieldUpdateOperationsInput | number
scheduledFor?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
status?: Prisma.EnumAdminBookingReminderStatusFieldUpdateOperationsInput | $Enums.AdminBookingReminderStatus
idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string
attemptCount?: Prisma.IntFieldUpdateOperationsInput | number
sentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
lastErrorCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
booking?: Prisma.AdminBookingUpdateOneRequiredWithoutRemindersNestedInput
}
export type AdminBookingReminderUncheckedUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
bookingId?: Prisma.StringFieldUpdateOperationsInput | string
offsetMinutes?: Prisma.IntFieldUpdateOperationsInput | number
scheduledFor?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
status?: Prisma.EnumAdminBookingReminderStatusFieldUpdateOperationsInput | $Enums.AdminBookingReminderStatus
idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string
attemptCount?: Prisma.IntFieldUpdateOperationsInput | number
sentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
lastErrorCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type AdminBookingReminderCreateManyInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
adminUserId: string
bookingId: string
offsetMinutes: number
scheduledFor: Date | string
status?: $Enums.AdminBookingReminderStatus
idempotencyKey: string
attemptCount?: number
sentAt?: Date | string | null
lastErrorCode?: string | null
}
export type AdminBookingReminderUpdateManyMutationInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
offsetMinutes?: Prisma.IntFieldUpdateOperationsInput | number
scheduledFor?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
status?: Prisma.EnumAdminBookingReminderStatusFieldUpdateOperationsInput | $Enums.AdminBookingReminderStatus
idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string
attemptCount?: Prisma.IntFieldUpdateOperationsInput | number
sentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
lastErrorCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type AdminBookingReminderUncheckedUpdateManyInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
bookingId?: Prisma.StringFieldUpdateOperationsInput | string
offsetMinutes?: Prisma.IntFieldUpdateOperationsInput | number
scheduledFor?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
status?: Prisma.EnumAdminBookingReminderStatusFieldUpdateOperationsInput | $Enums.AdminBookingReminderStatus
idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string
attemptCount?: Prisma.IntFieldUpdateOperationsInput | number
sentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
lastErrorCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type AdminBookingReminderListRelationFilter = {
every?: Prisma.AdminBookingReminderWhereInput
some?: Prisma.AdminBookingReminderWhereInput
none?: Prisma.AdminBookingReminderWhereInput
}
export type AdminBookingReminderOrderByRelationAggregateInput = {
_count?: Prisma.SortOrder
}
export type AdminBookingReminderAdmin_booking_reminder_offset_keyCompoundUniqueInput = {
bookingId: string
offsetMinutes: number
}
export type AdminBookingReminderCountOrderByAggregateInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
adminUserId?: Prisma.SortOrder
bookingId?: Prisma.SortOrder
offsetMinutes?: Prisma.SortOrder
scheduledFor?: Prisma.SortOrder
status?: Prisma.SortOrder
idempotencyKey?: Prisma.SortOrder
attemptCount?: Prisma.SortOrder
sentAt?: Prisma.SortOrder
lastErrorCode?: Prisma.SortOrder
}
export type AdminBookingReminderAvgOrderByAggregateInput = {
offsetMinutes?: Prisma.SortOrder
attemptCount?: Prisma.SortOrder
}
export type AdminBookingReminderMaxOrderByAggregateInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
adminUserId?: Prisma.SortOrder
bookingId?: Prisma.SortOrder
offsetMinutes?: Prisma.SortOrder
scheduledFor?: Prisma.SortOrder
status?: Prisma.SortOrder
idempotencyKey?: Prisma.SortOrder
attemptCount?: Prisma.SortOrder
sentAt?: Prisma.SortOrder
lastErrorCode?: Prisma.SortOrder
}
export type AdminBookingReminderMinOrderByAggregateInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
adminUserId?: Prisma.SortOrder
bookingId?: Prisma.SortOrder
offsetMinutes?: Prisma.SortOrder
scheduledFor?: Prisma.SortOrder
status?: Prisma.SortOrder
idempotencyKey?: Prisma.SortOrder
attemptCount?: Prisma.SortOrder
sentAt?: Prisma.SortOrder
lastErrorCode?: Prisma.SortOrder
}
export type AdminBookingReminderSumOrderByAggregateInput = {
offsetMinutes?: Prisma.SortOrder
attemptCount?: Prisma.SortOrder
}
export type AdminBookingReminderCreateNestedManyWithoutBookingInput = {
create?: Prisma.XOR<Prisma.AdminBookingReminderCreateWithoutBookingInput, Prisma.AdminBookingReminderUncheckedCreateWithoutBookingInput> | Prisma.AdminBookingReminderCreateWithoutBookingInput[] | Prisma.AdminBookingReminderUncheckedCreateWithoutBookingInput[]
connectOrCreate?: Prisma.AdminBookingReminderCreateOrConnectWithoutBookingInput | Prisma.AdminBookingReminderCreateOrConnectWithoutBookingInput[]
createMany?: Prisma.AdminBookingReminderCreateManyBookingInputEnvelope
connect?: Prisma.AdminBookingReminderWhereUniqueInput | Prisma.AdminBookingReminderWhereUniqueInput[]
}
export type AdminBookingReminderUncheckedCreateNestedManyWithoutBookingInput = {
create?: Prisma.XOR<Prisma.AdminBookingReminderCreateWithoutBookingInput, Prisma.AdminBookingReminderUncheckedCreateWithoutBookingInput> | Prisma.AdminBookingReminderCreateWithoutBookingInput[] | Prisma.AdminBookingReminderUncheckedCreateWithoutBookingInput[]
connectOrCreate?: Prisma.AdminBookingReminderCreateOrConnectWithoutBookingInput | Prisma.AdminBookingReminderCreateOrConnectWithoutBookingInput[]
createMany?: Prisma.AdminBookingReminderCreateManyBookingInputEnvelope
connect?: Prisma.AdminBookingReminderWhereUniqueInput | Prisma.AdminBookingReminderWhereUniqueInput[]
}
export type AdminBookingReminderUpdateManyWithoutBookingNestedInput = {
create?: Prisma.XOR<Prisma.AdminBookingReminderCreateWithoutBookingInput, Prisma.AdminBookingReminderUncheckedCreateWithoutBookingInput> | Prisma.AdminBookingReminderCreateWithoutBookingInput[] | Prisma.AdminBookingReminderUncheckedCreateWithoutBookingInput[]
connectOrCreate?: Prisma.AdminBookingReminderCreateOrConnectWithoutBookingInput | Prisma.AdminBookingReminderCreateOrConnectWithoutBookingInput[]
upsert?: Prisma.AdminBookingReminderUpsertWithWhereUniqueWithoutBookingInput | Prisma.AdminBookingReminderUpsertWithWhereUniqueWithoutBookingInput[]
createMany?: Prisma.AdminBookingReminderCreateManyBookingInputEnvelope
set?: Prisma.AdminBookingReminderWhereUniqueInput | Prisma.AdminBookingReminderWhereUniqueInput[]
disconnect?: Prisma.AdminBookingReminderWhereUniqueInput | Prisma.AdminBookingReminderWhereUniqueInput[]
delete?: Prisma.AdminBookingReminderWhereUniqueInput | Prisma.AdminBookingReminderWhereUniqueInput[]
connect?: Prisma.AdminBookingReminderWhereUniqueInput | Prisma.AdminBookingReminderWhereUniqueInput[]
update?: Prisma.AdminBookingReminderUpdateWithWhereUniqueWithoutBookingInput | Prisma.AdminBookingReminderUpdateWithWhereUniqueWithoutBookingInput[]
updateMany?: Prisma.AdminBookingReminderUpdateManyWithWhereWithoutBookingInput | Prisma.AdminBookingReminderUpdateManyWithWhereWithoutBookingInput[]
deleteMany?: Prisma.AdminBookingReminderScalarWhereInput | Prisma.AdminBookingReminderScalarWhereInput[]
}
export type AdminBookingReminderUncheckedUpdateManyWithoutBookingNestedInput = {
create?: Prisma.XOR<Prisma.AdminBookingReminderCreateWithoutBookingInput, Prisma.AdminBookingReminderUncheckedCreateWithoutBookingInput> | Prisma.AdminBookingReminderCreateWithoutBookingInput[] | Prisma.AdminBookingReminderUncheckedCreateWithoutBookingInput[]
connectOrCreate?: Prisma.AdminBookingReminderCreateOrConnectWithoutBookingInput | Prisma.AdminBookingReminderCreateOrConnectWithoutBookingInput[]
upsert?: Prisma.AdminBookingReminderUpsertWithWhereUniqueWithoutBookingInput | Prisma.AdminBookingReminderUpsertWithWhereUniqueWithoutBookingInput[]
createMany?: Prisma.AdminBookingReminderCreateManyBookingInputEnvelope
set?: Prisma.AdminBookingReminderWhereUniqueInput | Prisma.AdminBookingReminderWhereUniqueInput[]
disconnect?: Prisma.AdminBookingReminderWhereUniqueInput | Prisma.AdminBookingReminderWhereUniqueInput[]
delete?: Prisma.AdminBookingReminderWhereUniqueInput | Prisma.AdminBookingReminderWhereUniqueInput[]
connect?: Prisma.AdminBookingReminderWhereUniqueInput | Prisma.AdminBookingReminderWhereUniqueInput[]
update?: Prisma.AdminBookingReminderUpdateWithWhereUniqueWithoutBookingInput | Prisma.AdminBookingReminderUpdateWithWhereUniqueWithoutBookingInput[]
updateMany?: Prisma.AdminBookingReminderUpdateManyWithWhereWithoutBookingInput | Prisma.AdminBookingReminderUpdateManyWithWhereWithoutBookingInput[]
deleteMany?: Prisma.AdminBookingReminderScalarWhereInput | Prisma.AdminBookingReminderScalarWhereInput[]
}
export type EnumAdminBookingReminderStatusFieldUpdateOperationsInput = {
set?: $Enums.AdminBookingReminderStatus
}
export type AdminBookingReminderCreateWithoutBookingInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
adminUserId: string
offsetMinutes: number
scheduledFor: Date | string
status?: $Enums.AdminBookingReminderStatus
idempotencyKey: string
attemptCount?: number
sentAt?: Date | string | null
lastErrorCode?: string | null
}
export type AdminBookingReminderUncheckedCreateWithoutBookingInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
adminUserId: string
offsetMinutes: number
scheduledFor: Date | string
status?: $Enums.AdminBookingReminderStatus
idempotencyKey: string
attemptCount?: number
sentAt?: Date | string | null
lastErrorCode?: string | null
}
export type AdminBookingReminderCreateOrConnectWithoutBookingInput = {
where: Prisma.AdminBookingReminderWhereUniqueInput
create: Prisma.XOR<Prisma.AdminBookingReminderCreateWithoutBookingInput, Prisma.AdminBookingReminderUncheckedCreateWithoutBookingInput>
}
export type AdminBookingReminderCreateManyBookingInputEnvelope = {
data: Prisma.AdminBookingReminderCreateManyBookingInput | Prisma.AdminBookingReminderCreateManyBookingInput[]
skipDuplicates?: boolean
}
export type AdminBookingReminderUpsertWithWhereUniqueWithoutBookingInput = {
where: Prisma.AdminBookingReminderWhereUniqueInput
update: Prisma.XOR<Prisma.AdminBookingReminderUpdateWithoutBookingInput, Prisma.AdminBookingReminderUncheckedUpdateWithoutBookingInput>
create: Prisma.XOR<Prisma.AdminBookingReminderCreateWithoutBookingInput, Prisma.AdminBookingReminderUncheckedCreateWithoutBookingInput>
}
export type AdminBookingReminderUpdateWithWhereUniqueWithoutBookingInput = {
where: Prisma.AdminBookingReminderWhereUniqueInput
data: Prisma.XOR<Prisma.AdminBookingReminderUpdateWithoutBookingInput, Prisma.AdminBookingReminderUncheckedUpdateWithoutBookingInput>
}
export type AdminBookingReminderUpdateManyWithWhereWithoutBookingInput = {
where: Prisma.AdminBookingReminderScalarWhereInput
data: Prisma.XOR<Prisma.AdminBookingReminderUpdateManyMutationInput, Prisma.AdminBookingReminderUncheckedUpdateManyWithoutBookingInput>
}
export type AdminBookingReminderScalarWhereInput = {
AND?: Prisma.AdminBookingReminderScalarWhereInput | Prisma.AdminBookingReminderScalarWhereInput[]
OR?: Prisma.AdminBookingReminderScalarWhereInput[]
NOT?: Prisma.AdminBookingReminderScalarWhereInput | Prisma.AdminBookingReminderScalarWhereInput[]
id?: Prisma.StringFilter<"AdminBookingReminder"> | string
createdAt?: Prisma.DateTimeFilter<"AdminBookingReminder"> | Date | string
updatedAt?: Prisma.DateTimeFilter<"AdminBookingReminder"> | Date | string
adminUserId?: Prisma.StringFilter<"AdminBookingReminder"> | string
bookingId?: Prisma.StringFilter<"AdminBookingReminder"> | string
offsetMinutes?: Prisma.IntFilter<"AdminBookingReminder"> | number
scheduledFor?: Prisma.DateTimeFilter<"AdminBookingReminder"> | Date | string
status?: Prisma.EnumAdminBookingReminderStatusFilter<"AdminBookingReminder"> | $Enums.AdminBookingReminderStatus
idempotencyKey?: Prisma.StringFilter<"AdminBookingReminder"> | string
attemptCount?: Prisma.IntFilter<"AdminBookingReminder"> | number
sentAt?: Prisma.DateTimeNullableFilter<"AdminBookingReminder"> | Date | string | null
lastErrorCode?: Prisma.StringNullableFilter<"AdminBookingReminder"> | string | null
}
export type AdminBookingReminderCreateManyBookingInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
adminUserId: string
offsetMinutes: number
scheduledFor: Date | string
status?: $Enums.AdminBookingReminderStatus
idempotencyKey: string
attemptCount?: number
sentAt?: Date | string | null
lastErrorCode?: string | null
}
export type AdminBookingReminderUpdateWithoutBookingInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
offsetMinutes?: Prisma.IntFieldUpdateOperationsInput | number
scheduledFor?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
status?: Prisma.EnumAdminBookingReminderStatusFieldUpdateOperationsInput | $Enums.AdminBookingReminderStatus
idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string
attemptCount?: Prisma.IntFieldUpdateOperationsInput | number
sentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
lastErrorCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type AdminBookingReminderUncheckedUpdateWithoutBookingInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
offsetMinutes?: Prisma.IntFieldUpdateOperationsInput | number
scheduledFor?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
status?: Prisma.EnumAdminBookingReminderStatusFieldUpdateOperationsInput | $Enums.AdminBookingReminderStatus
idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string
attemptCount?: Prisma.IntFieldUpdateOperationsInput | number
sentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
lastErrorCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type AdminBookingReminderUncheckedUpdateManyWithoutBookingInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
offsetMinutes?: Prisma.IntFieldUpdateOperationsInput | number
scheduledFor?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
status?: Prisma.EnumAdminBookingReminderStatusFieldUpdateOperationsInput | $Enums.AdminBookingReminderStatus
idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string
attemptCount?: Prisma.IntFieldUpdateOperationsInput | number
sentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
lastErrorCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type AdminBookingReminderSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
createdAt?: boolean
updatedAt?: boolean
adminUserId?: boolean
bookingId?: boolean
offsetMinutes?: boolean
scheduledFor?: boolean
status?: boolean
idempotencyKey?: boolean
attemptCount?: boolean
sentAt?: boolean
lastErrorCode?: boolean
booking?: boolean | Prisma.AdminBookingDefaultArgs<ExtArgs>
}, ExtArgs["result"]["adminBookingReminder"]>
export type AdminBookingReminderSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
createdAt?: boolean
updatedAt?: boolean
adminUserId?: boolean
bookingId?: boolean
offsetMinutes?: boolean
scheduledFor?: boolean
status?: boolean
idempotencyKey?: boolean
attemptCount?: boolean
sentAt?: boolean
lastErrorCode?: boolean
booking?: boolean | Prisma.AdminBookingDefaultArgs<ExtArgs>
}, ExtArgs["result"]["adminBookingReminder"]>
export type AdminBookingReminderSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
createdAt?: boolean
updatedAt?: boolean
adminUserId?: boolean
bookingId?: boolean
offsetMinutes?: boolean
scheduledFor?: boolean
status?: boolean
idempotencyKey?: boolean
attemptCount?: boolean
sentAt?: boolean
lastErrorCode?: boolean
booking?: boolean | Prisma.AdminBookingDefaultArgs<ExtArgs>
}, ExtArgs["result"]["adminBookingReminder"]>
export type AdminBookingReminderSelectScalar = {
id?: boolean
createdAt?: boolean
updatedAt?: boolean
adminUserId?: boolean
bookingId?: boolean
offsetMinutes?: boolean
scheduledFor?: boolean
status?: boolean
idempotencyKey?: boolean
attemptCount?: boolean
sentAt?: boolean
lastErrorCode?: boolean
}
export type AdminBookingReminderOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "adminUserId" | "bookingId" | "offsetMinutes" | "scheduledFor" | "status" | "idempotencyKey" | "attemptCount" | "sentAt" | "lastErrorCode", ExtArgs["result"]["adminBookingReminder"]>
export type AdminBookingReminderInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
booking?: boolean | Prisma.AdminBookingDefaultArgs<ExtArgs>
}
export type AdminBookingReminderIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
booking?: boolean | Prisma.AdminBookingDefaultArgs<ExtArgs>
}
export type AdminBookingReminderIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
booking?: boolean | Prisma.AdminBookingDefaultArgs<ExtArgs>
}
export type $AdminBookingReminderPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
name: "AdminBookingReminder"
objects: {
booking: Prisma.$AdminBookingPayload<ExtArgs>
}
scalars: runtime.Types.Extensions.GetPayloadResult<{
id: string
createdAt: Date
updatedAt: Date
adminUserId: string
bookingId: string
offsetMinutes: number
scheduledFor: Date
status: $Enums.AdminBookingReminderStatus
idempotencyKey: string
attemptCount: number
sentAt: Date | null
lastErrorCode: string | null
}, ExtArgs["result"]["adminBookingReminder"]>
composites: {}
}
export type AdminBookingReminderGetPayload<S extends boolean | null | undefined | AdminBookingReminderDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$AdminBookingReminderPayload, S>
export type AdminBookingReminderCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
Omit<AdminBookingReminderFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
select?: AdminBookingReminderCountAggregateInputType | true
}
export interface AdminBookingReminderDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['AdminBookingReminder'], meta: { name: 'AdminBookingReminder' } }
/**
* Find zero or one AdminBookingReminder that matches the filter.
* @param {AdminBookingReminderFindUniqueArgs} args - Arguments to find a AdminBookingReminder
* @example
* // Get one AdminBookingReminder
* const adminBookingReminder = await prisma.adminBookingReminder.findUnique({
* where: {
* // ... provide filter here
* }
* })
*/
findUnique<T extends AdminBookingReminderFindUniqueArgs>(args: Prisma.SelectSubset<T, AdminBookingReminderFindUniqueArgs<ExtArgs>>): Prisma.Prisma__AdminBookingReminderClient<runtime.Types.Result.GetResult<Prisma.$AdminBookingReminderPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find one AdminBookingReminder that matches the filter or throw an error with `error.code='P2025'`
* if no matches were found.
* @param {AdminBookingReminderFindUniqueOrThrowArgs} args - Arguments to find a AdminBookingReminder
* @example
* // Get one AdminBookingReminder
* const adminBookingReminder = await prisma.adminBookingReminder.findUniqueOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findUniqueOrThrow<T extends AdminBookingReminderFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, AdminBookingReminderFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__AdminBookingReminderClient<runtime.Types.Result.GetResult<Prisma.$AdminBookingReminderPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find the first AdminBookingReminder 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 {AdminBookingReminderFindFirstArgs} args - Arguments to find a AdminBookingReminder
* @example
* // Get one AdminBookingReminder
* const adminBookingReminder = await prisma.adminBookingReminder.findFirst({
* where: {
* // ... provide filter here
* }
* })
*/
findFirst<T extends AdminBookingReminderFindFirstArgs>(args?: Prisma.SelectSubset<T, AdminBookingReminderFindFirstArgs<ExtArgs>>): Prisma.Prisma__AdminBookingReminderClient<runtime.Types.Result.GetResult<Prisma.$AdminBookingReminderPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find the first AdminBookingReminder 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 {AdminBookingReminderFindFirstOrThrowArgs} args - Arguments to find a AdminBookingReminder
* @example
* // Get one AdminBookingReminder
* const adminBookingReminder = await prisma.adminBookingReminder.findFirstOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findFirstOrThrow<T extends AdminBookingReminderFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, AdminBookingReminderFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__AdminBookingReminderClient<runtime.Types.Result.GetResult<Prisma.$AdminBookingReminderPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find zero or more AdminBookingReminders 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 {AdminBookingReminderFindManyArgs} args - Arguments to filter and select certain fields only.
* @example
* // Get all AdminBookingReminders
* const adminBookingReminders = await prisma.adminBookingReminder.findMany()
*
* // Get first 10 AdminBookingReminders
* const adminBookingReminders = await prisma.adminBookingReminder.findMany({ take: 10 })
*
* // Only select the `id`
* const adminBookingReminderWithIdOnly = await prisma.adminBookingReminder.findMany({ select: { id: true } })
*
*/
findMany<T extends AdminBookingReminderFindManyArgs>(args?: Prisma.SelectSubset<T, AdminBookingReminderFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdminBookingReminderPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
/**
* Create a AdminBookingReminder.
* @param {AdminBookingReminderCreateArgs} args - Arguments to create a AdminBookingReminder.
* @example
* // Create one AdminBookingReminder
* const AdminBookingReminder = await prisma.adminBookingReminder.create({
* data: {
* // ... data to create a AdminBookingReminder
* }
* })
*
*/
create<T extends AdminBookingReminderCreateArgs>(args: Prisma.SelectSubset<T, AdminBookingReminderCreateArgs<ExtArgs>>): Prisma.Prisma__AdminBookingReminderClient<runtime.Types.Result.GetResult<Prisma.$AdminBookingReminderPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Create many AdminBookingReminders.
* @param {AdminBookingReminderCreateManyArgs} args - Arguments to create many AdminBookingReminders.
* @example
* // Create many AdminBookingReminders
* const adminBookingReminder = await prisma.adminBookingReminder.createMany({
* data: [
* // ... provide data here
* ]
* })
*
*/
createMany<T extends AdminBookingReminderCreateManyArgs>(args?: Prisma.SelectSubset<T, AdminBookingReminderCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Create many AdminBookingReminders and returns the data saved in the database.
* @param {AdminBookingReminderCreateManyAndReturnArgs} args - Arguments to create many AdminBookingReminders.
* @example
* // Create many AdminBookingReminders
* const adminBookingReminder = await prisma.adminBookingReminder.createManyAndReturn({
* data: [
* // ... provide data here
* ]
* })
*
* // Create many AdminBookingReminders and only return the `id`
* const adminBookingReminderWithIdOnly = await prisma.adminBookingReminder.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 AdminBookingReminderCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, AdminBookingReminderCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdminBookingReminderPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
/**
* Delete a AdminBookingReminder.
* @param {AdminBookingReminderDeleteArgs} args - Arguments to delete one AdminBookingReminder.
* @example
* // Delete one AdminBookingReminder
* const AdminBookingReminder = await prisma.adminBookingReminder.delete({
* where: {
* // ... filter to delete one AdminBookingReminder
* }
* })
*
*/
delete<T extends AdminBookingReminderDeleteArgs>(args: Prisma.SelectSubset<T, AdminBookingReminderDeleteArgs<ExtArgs>>): Prisma.Prisma__AdminBookingReminderClient<runtime.Types.Result.GetResult<Prisma.$AdminBookingReminderPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Update one AdminBookingReminder.
* @param {AdminBookingReminderUpdateArgs} args - Arguments to update one AdminBookingReminder.
* @example
* // Update one AdminBookingReminder
* const adminBookingReminder = await prisma.adminBookingReminder.update({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
update<T extends AdminBookingReminderUpdateArgs>(args: Prisma.SelectSubset<T, AdminBookingReminderUpdateArgs<ExtArgs>>): Prisma.Prisma__AdminBookingReminderClient<runtime.Types.Result.GetResult<Prisma.$AdminBookingReminderPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Delete zero or more AdminBookingReminders.
* @param {AdminBookingReminderDeleteManyArgs} args - Arguments to filter AdminBookingReminders to delete.
* @example
* // Delete a few AdminBookingReminders
* const { count } = await prisma.adminBookingReminder.deleteMany({
* where: {
* // ... provide filter here
* }
* })
*
*/
deleteMany<T extends AdminBookingReminderDeleteManyArgs>(args?: Prisma.SelectSubset<T, AdminBookingReminderDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more AdminBookingReminders.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {AdminBookingReminderUpdateManyArgs} args - Arguments to update one or more rows.
* @example
* // Update many AdminBookingReminders
* const adminBookingReminder = await prisma.adminBookingReminder.updateMany({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
updateMany<T extends AdminBookingReminderUpdateManyArgs>(args: Prisma.SelectSubset<T, AdminBookingReminderUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more AdminBookingReminders and returns the data updated in the database.
* @param {AdminBookingReminderUpdateManyAndReturnArgs} args - Arguments to update many AdminBookingReminders.
* @example
* // Update many AdminBookingReminders
* const adminBookingReminder = await prisma.adminBookingReminder.updateManyAndReturn({
* where: {
* // ... provide filter here
* },
* data: [
* // ... provide data here
* ]
* })
*
* // Update zero or more AdminBookingReminders and only return the `id`
* const adminBookingReminderWithIdOnly = await prisma.adminBookingReminder.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 AdminBookingReminderUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, AdminBookingReminderUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdminBookingReminderPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
/**
* Create or update one AdminBookingReminder.
* @param {AdminBookingReminderUpsertArgs} args - Arguments to update or create a AdminBookingReminder.
* @example
* // Update or create a AdminBookingReminder
* const adminBookingReminder = await prisma.adminBookingReminder.upsert({
* create: {
* // ... data to create a AdminBookingReminder
* },
* update: {
* // ... in case it already exists, update
* },
* where: {
* // ... the filter for the AdminBookingReminder we want to update
* }
* })
*/
upsert<T extends AdminBookingReminderUpsertArgs>(args: Prisma.SelectSubset<T, AdminBookingReminderUpsertArgs<ExtArgs>>): Prisma.Prisma__AdminBookingReminderClient<runtime.Types.Result.GetResult<Prisma.$AdminBookingReminderPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Count the number of AdminBookingReminders.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {AdminBookingReminderCountArgs} args - Arguments to filter AdminBookingReminders to count.
* @example
* // Count the number of AdminBookingReminders
* const count = await prisma.adminBookingReminder.count({
* where: {
* // ... the filter for the AdminBookingReminders we want to count
* }
* })
**/
count<T extends AdminBookingReminderCountArgs>(
args?: Prisma.Subset<T, AdminBookingReminderCountArgs>,
): Prisma.PrismaPromise<
T extends runtime.Types.Utils.Record<'select', any>
? T['select'] extends true
? number
: Prisma.GetScalarType<T['select'], AdminBookingReminderCountAggregateOutputType>
: number
>
/**
* Allows you to perform aggregations operations on a AdminBookingReminder.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {AdminBookingReminderAggregateArgs} 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 AdminBookingReminderAggregateArgs>(args: Prisma.Subset<T, AdminBookingReminderAggregateArgs>): Prisma.PrismaPromise<GetAdminBookingReminderAggregateType<T>>
/**
* Group by AdminBookingReminder.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {AdminBookingReminderGroupByArgs} 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 AdminBookingReminderGroupByArgs,
HasSelectOrTake extends Prisma.Or<
Prisma.Extends<'skip', Prisma.Keys<T>>,
Prisma.Extends<'take', Prisma.Keys<T>>
>,
OrderByArg extends Prisma.True extends HasSelectOrTake
? { orderBy: AdminBookingReminderGroupByArgs['orderBy'] }
: { orderBy?: AdminBookingReminderGroupByArgs['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, AdminBookingReminderGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAdminBookingReminderGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* Fields of the AdminBookingReminder model
*/
readonly fields: AdminBookingReminderFieldRefs;
}
/**
* The delegate class that acts as a "Promise-like" for AdminBookingReminder.
* 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__AdminBookingReminderClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
readonly [Symbol.toStringTag]: "PrismaPromise"
booking<T extends Prisma.AdminBookingDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AdminBookingDefaultArgs<ExtArgs>>): Prisma.Prisma__AdminBookingClient<runtime.Types.Result.GetResult<Prisma.$AdminBookingPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
/**
* Attaches callbacks for the resolution and/or rejection of the Promise.
* @param onfulfilled The callback to execute when the Promise is resolved.
* @param onrejected The callback to execute when the Promise is rejected.
* @returns A Promise for the completion of which ever callback is executed.
*/
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
/**
* Attaches a callback for only the rejection of the Promise.
* @param onrejected The callback to execute when the Promise is rejected.
* @returns A Promise for the completion of the callback.
*/
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
/**
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
* resolved value cannot be modified from the callback.
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
* @returns A Promise for the completion of the callback.
*/
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
}
/**
* Fields of the AdminBookingReminder model
*/
export interface AdminBookingReminderFieldRefs {
readonly id: Prisma.FieldRef<"AdminBookingReminder", 'String'>
readonly createdAt: Prisma.FieldRef<"AdminBookingReminder", 'DateTime'>
readonly updatedAt: Prisma.FieldRef<"AdminBookingReminder", 'DateTime'>
readonly adminUserId: Prisma.FieldRef<"AdminBookingReminder", 'String'>
readonly bookingId: Prisma.FieldRef<"AdminBookingReminder", 'String'>
readonly offsetMinutes: Prisma.FieldRef<"AdminBookingReminder", 'Int'>
readonly scheduledFor: Prisma.FieldRef<"AdminBookingReminder", 'DateTime'>
readonly status: Prisma.FieldRef<"AdminBookingReminder", 'AdminBookingReminderStatus'>
readonly idempotencyKey: Prisma.FieldRef<"AdminBookingReminder", 'String'>
readonly attemptCount: Prisma.FieldRef<"AdminBookingReminder", 'Int'>
readonly sentAt: Prisma.FieldRef<"AdminBookingReminder", 'DateTime'>
readonly lastErrorCode: Prisma.FieldRef<"AdminBookingReminder", 'String'>
}
// Custom InputTypes
/**
* AdminBookingReminder findUnique
*/
export type AdminBookingReminderFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AdminBookingReminder
*/
select?: Prisma.AdminBookingReminderSelect<ExtArgs> | null
/**
* Omit specific fields from the AdminBookingReminder
*/
omit?: Prisma.AdminBookingReminderOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdminBookingReminderInclude<ExtArgs> | null
/**
* Filter, which AdminBookingReminder to fetch.
*/
where: Prisma.AdminBookingReminderWhereUniqueInput
}
/**
* AdminBookingReminder findUniqueOrThrow
*/
export type AdminBookingReminderFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AdminBookingReminder
*/
select?: Prisma.AdminBookingReminderSelect<ExtArgs> | null
/**
* Omit specific fields from the AdminBookingReminder
*/
omit?: Prisma.AdminBookingReminderOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdminBookingReminderInclude<ExtArgs> | null
/**
* Filter, which AdminBookingReminder to fetch.
*/
where: Prisma.AdminBookingReminderWhereUniqueInput
}
/**
* AdminBookingReminder findFirst
*/
export type AdminBookingReminderFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AdminBookingReminder
*/
select?: Prisma.AdminBookingReminderSelect<ExtArgs> | null
/**
* Omit specific fields from the AdminBookingReminder
*/
omit?: Prisma.AdminBookingReminderOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdminBookingReminderInclude<ExtArgs> | null
/**
* Filter, which AdminBookingReminder to fetch.
*/
where?: Prisma.AdminBookingReminderWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of AdminBookingReminders to fetch.
*/
orderBy?: Prisma.AdminBookingReminderOrderByWithRelationInput | Prisma.AdminBookingReminderOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for AdminBookingReminders.
*/
cursor?: Prisma.AdminBookingReminderWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` AdminBookingReminders 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` AdminBookingReminders.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of AdminBookingReminders.
*/
distinct?: Prisma.AdminBookingReminderScalarFieldEnum | Prisma.AdminBookingReminderScalarFieldEnum[]
}
/**
* AdminBookingReminder findFirstOrThrow
*/
export type AdminBookingReminderFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AdminBookingReminder
*/
select?: Prisma.AdminBookingReminderSelect<ExtArgs> | null
/**
* Omit specific fields from the AdminBookingReminder
*/
omit?: Prisma.AdminBookingReminderOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdminBookingReminderInclude<ExtArgs> | null
/**
* Filter, which AdminBookingReminder to fetch.
*/
where?: Prisma.AdminBookingReminderWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of AdminBookingReminders to fetch.
*/
orderBy?: Prisma.AdminBookingReminderOrderByWithRelationInput | Prisma.AdminBookingReminderOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for AdminBookingReminders.
*/
cursor?: Prisma.AdminBookingReminderWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` AdminBookingReminders 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` AdminBookingReminders.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of AdminBookingReminders.
*/
distinct?: Prisma.AdminBookingReminderScalarFieldEnum | Prisma.AdminBookingReminderScalarFieldEnum[]
}
/**
* AdminBookingReminder findMany
*/
export type AdminBookingReminderFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AdminBookingReminder
*/
select?: Prisma.AdminBookingReminderSelect<ExtArgs> | null
/**
* Omit specific fields from the AdminBookingReminder
*/
omit?: Prisma.AdminBookingReminderOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdminBookingReminderInclude<ExtArgs> | null
/**
* Filter, which AdminBookingReminders to fetch.
*/
where?: Prisma.AdminBookingReminderWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of AdminBookingReminders to fetch.
*/
orderBy?: Prisma.AdminBookingReminderOrderByWithRelationInput | Prisma.AdminBookingReminderOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for listing AdminBookingReminders.
*/
cursor?: Prisma.AdminBookingReminderWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` AdminBookingReminders 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` AdminBookingReminders.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of AdminBookingReminders.
*/
distinct?: Prisma.AdminBookingReminderScalarFieldEnum | Prisma.AdminBookingReminderScalarFieldEnum[]
}
/**
* AdminBookingReminder create
*/
export type AdminBookingReminderCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AdminBookingReminder
*/
select?: Prisma.AdminBookingReminderSelect<ExtArgs> | null
/**
* Omit specific fields from the AdminBookingReminder
*/
omit?: Prisma.AdminBookingReminderOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdminBookingReminderInclude<ExtArgs> | null
/**
* The data needed to create a AdminBookingReminder.
*/
data: Prisma.XOR<Prisma.AdminBookingReminderCreateInput, Prisma.AdminBookingReminderUncheckedCreateInput>
}
/**
* AdminBookingReminder createMany
*/
export type AdminBookingReminderCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to create many AdminBookingReminders.
*/
data: Prisma.AdminBookingReminderCreateManyInput | Prisma.AdminBookingReminderCreateManyInput[]
skipDuplicates?: boolean
}
/**
* AdminBookingReminder createManyAndReturn
*/
export type AdminBookingReminderCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AdminBookingReminder
*/
select?: Prisma.AdminBookingReminderSelectCreateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the AdminBookingReminder
*/
omit?: Prisma.AdminBookingReminderOmit<ExtArgs> | null
/**
* The data used to create many AdminBookingReminders.
*/
data: Prisma.AdminBookingReminderCreateManyInput | Prisma.AdminBookingReminderCreateManyInput[]
skipDuplicates?: boolean
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdminBookingReminderIncludeCreateManyAndReturn<ExtArgs> | null
}
/**
* AdminBookingReminder update
*/
export type AdminBookingReminderUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AdminBookingReminder
*/
select?: Prisma.AdminBookingReminderSelect<ExtArgs> | null
/**
* Omit specific fields from the AdminBookingReminder
*/
omit?: Prisma.AdminBookingReminderOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdminBookingReminderInclude<ExtArgs> | null
/**
* The data needed to update a AdminBookingReminder.
*/
data: Prisma.XOR<Prisma.AdminBookingReminderUpdateInput, Prisma.AdminBookingReminderUncheckedUpdateInput>
/**
* Choose, which AdminBookingReminder to update.
*/
where: Prisma.AdminBookingReminderWhereUniqueInput
}
/**
* AdminBookingReminder updateMany
*/
export type AdminBookingReminderUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to update AdminBookingReminders.
*/
data: Prisma.XOR<Prisma.AdminBookingReminderUpdateManyMutationInput, Prisma.AdminBookingReminderUncheckedUpdateManyInput>
/**
* Filter which AdminBookingReminders to update
*/
where?: Prisma.AdminBookingReminderWhereInput
/**
* Limit how many AdminBookingReminders to update.
*/
limit?: number
}
/**
* AdminBookingReminder updateManyAndReturn
*/
export type AdminBookingReminderUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AdminBookingReminder
*/
select?: Prisma.AdminBookingReminderSelectUpdateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the AdminBookingReminder
*/
omit?: Prisma.AdminBookingReminderOmit<ExtArgs> | null
/**
* The data used to update AdminBookingReminders.
*/
data: Prisma.XOR<Prisma.AdminBookingReminderUpdateManyMutationInput, Prisma.AdminBookingReminderUncheckedUpdateManyInput>
/**
* Filter which AdminBookingReminders to update
*/
where?: Prisma.AdminBookingReminderWhereInput
/**
* Limit how many AdminBookingReminders to update.
*/
limit?: number
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdminBookingReminderIncludeUpdateManyAndReturn<ExtArgs> | null
}
/**
* AdminBookingReminder upsert
*/
export type AdminBookingReminderUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AdminBookingReminder
*/
select?: Prisma.AdminBookingReminderSelect<ExtArgs> | null
/**
* Omit specific fields from the AdminBookingReminder
*/
omit?: Prisma.AdminBookingReminderOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdminBookingReminderInclude<ExtArgs> | null
/**
* The filter to search for the AdminBookingReminder to update in case it exists.
*/
where: Prisma.AdminBookingReminderWhereUniqueInput
/**
* In case the AdminBookingReminder found by the `where` argument doesn't exist, create a new AdminBookingReminder with this data.
*/
create: Prisma.XOR<Prisma.AdminBookingReminderCreateInput, Prisma.AdminBookingReminderUncheckedCreateInput>
/**
* In case the AdminBookingReminder was found with the provided `where` argument, update it with this data.
*/
update: Prisma.XOR<Prisma.AdminBookingReminderUpdateInput, Prisma.AdminBookingReminderUncheckedUpdateInput>
}
/**
* AdminBookingReminder delete
*/
export type AdminBookingReminderDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AdminBookingReminder
*/
select?: Prisma.AdminBookingReminderSelect<ExtArgs> | null
/**
* Omit specific fields from the AdminBookingReminder
*/
omit?: Prisma.AdminBookingReminderOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdminBookingReminderInclude<ExtArgs> | null
/**
* Filter which AdminBookingReminder to delete.
*/
where: Prisma.AdminBookingReminderWhereUniqueInput
}
/**
* AdminBookingReminder deleteMany
*/
export type AdminBookingReminderDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which AdminBookingReminders to delete
*/
where?: Prisma.AdminBookingReminderWhereInput
/**
* Limit how many AdminBookingReminders to delete.
*/
limit?: number
}
/**
* AdminBookingReminder without action
*/
export type AdminBookingReminderDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AdminBookingReminder
*/
select?: Prisma.AdminBookingReminderSelect<ExtArgs> | null
/**
* Omit specific fields from the AdminBookingReminder
*/
omit?: Prisma.AdminBookingReminderOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdminBookingReminderInclude<ExtArgs> | null
}