/* !!! 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 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 = { /** * 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 = { [P in keyof T & keyof AggregateAdminBookingReminder]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type AdminBookingReminderGroupByArgs = { 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 = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof AdminBookingReminderGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > 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 } 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 }, "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[] connectOrCreate?: Prisma.AdminBookingReminderCreateOrConnectWithoutBookingInput | Prisma.AdminBookingReminderCreateOrConnectWithoutBookingInput[] createMany?: Prisma.AdminBookingReminderCreateManyBookingInputEnvelope connect?: Prisma.AdminBookingReminderWhereUniqueInput | Prisma.AdminBookingReminderWhereUniqueInput[] } export type AdminBookingReminderUncheckedCreateNestedManyWithoutBookingInput = { create?: Prisma.XOR | 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[] 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[] 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 } export type AdminBookingReminderCreateManyBookingInputEnvelope = { data: Prisma.AdminBookingReminderCreateManyBookingInput | Prisma.AdminBookingReminderCreateManyBookingInput[] skipDuplicates?: boolean } export type AdminBookingReminderUpsertWithWhereUniqueWithoutBookingInput = { where: Prisma.AdminBookingReminderWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type AdminBookingReminderUpdateWithWhereUniqueWithoutBookingInput = { where: Prisma.AdminBookingReminderWhereUniqueInput data: Prisma.XOR } export type AdminBookingReminderUpdateManyWithWhereWithoutBookingInput = { where: Prisma.AdminBookingReminderScalarWhereInput data: Prisma.XOR } 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 = 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["result"]["adminBookingReminder"]> export type AdminBookingReminderSelectCreateManyAndReturn = 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["result"]["adminBookingReminder"]> export type AdminBookingReminderSelectUpdateManyAndReturn = 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["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 = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "adminUserId" | "bookingId" | "offsetMinutes" | "scheduledFor" | "status" | "idempotencyKey" | "attemptCount" | "sentAt" | "lastErrorCode", ExtArgs["result"]["adminBookingReminder"]> export type AdminBookingReminderInclude = { booking?: boolean | Prisma.AdminBookingDefaultArgs } export type AdminBookingReminderIncludeCreateManyAndReturn = { booking?: boolean | Prisma.AdminBookingDefaultArgs } export type AdminBookingReminderIncludeUpdateManyAndReturn = { booking?: boolean | Prisma.AdminBookingDefaultArgs } export type $AdminBookingReminderPayload = { name: "AdminBookingReminder" objects: { booking: Prisma.$AdminBookingPayload } 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 = runtime.Types.Result.GetResult export type AdminBookingReminderCountArgs = Omit & { select?: AdminBookingReminderCountAggregateInputType | true } export interface AdminBookingReminderDelegate { [K: symbol]: { types: Prisma.TypeMap['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(args: Prisma.SelectSubset>): Prisma.Prisma__AdminBookingReminderClient, 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(args: Prisma.SelectSubset>): Prisma.Prisma__AdminBookingReminderClient, 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(args?: Prisma.SelectSubset>): Prisma.Prisma__AdminBookingReminderClient, 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(args?: Prisma.SelectSubset>): Prisma.Prisma__AdminBookingReminderClient, 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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, 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(args: Prisma.SelectSubset>): Prisma.Prisma__AdminBookingReminderClient, 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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * 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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, 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(args: Prisma.SelectSubset>): Prisma.Prisma__AdminBookingReminderClient, 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(args: Prisma.SelectSubset>): Prisma.Prisma__AdminBookingReminderClient, 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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * 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(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * 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(args: Prisma.SelectSubset>): Prisma.PrismaPromise, 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(args: Prisma.SelectSubset>): Prisma.Prisma__AdminBookingReminderClient, 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( args?: Prisma.Subset, ): Prisma.PrismaPromise< T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType : 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(args: Prisma.Subset): Prisma.PrismaPromise> /** * 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>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: AdminBookingReminderGroupByArgs['orderBy'] } : { orderBy?: AdminBookingReminderGroupByArgs['orderBy'] }, OrderFields extends Prisma.ExcludeUnderscoreKeys>>, ByFields extends Prisma.MaybeTupleToUnion, ByValid extends Prisma.Has, HavingFields extends Prisma.GetHavingFields, HavingValid extends Prisma.Has, 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 ? 'orderBy' extends Prisma.Keys ? 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 ? 'orderBy' extends Prisma.Keys ? 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 & InputErrors): {} extends InputErrors ? GetAdminBookingReminderGroupByPayload : Prisma.PrismaPromise /** * 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 extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" booking = {}>(args?: Prisma.Subset>): Prisma.Prisma__AdminBookingClient, 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(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * 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(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * 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 } /** * 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 = { /** * Select specific fields to fetch from the AdminBookingReminder */ select?: Prisma.AdminBookingReminderSelect | null /** * Omit specific fields from the AdminBookingReminder */ omit?: Prisma.AdminBookingReminderOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminBookingReminderInclude | null /** * Filter, which AdminBookingReminder to fetch. */ where: Prisma.AdminBookingReminderWhereUniqueInput } /** * AdminBookingReminder findUniqueOrThrow */ export type AdminBookingReminderFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the AdminBookingReminder */ select?: Prisma.AdminBookingReminderSelect | null /** * Omit specific fields from the AdminBookingReminder */ omit?: Prisma.AdminBookingReminderOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminBookingReminderInclude | null /** * Filter, which AdminBookingReminder to fetch. */ where: Prisma.AdminBookingReminderWhereUniqueInput } /** * AdminBookingReminder findFirst */ export type AdminBookingReminderFindFirstArgs = { /** * Select specific fields to fetch from the AdminBookingReminder */ select?: Prisma.AdminBookingReminderSelect | null /** * Omit specific fields from the AdminBookingReminder */ omit?: Prisma.AdminBookingReminderOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminBookingReminderInclude | 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 = { /** * Select specific fields to fetch from the AdminBookingReminder */ select?: Prisma.AdminBookingReminderSelect | null /** * Omit specific fields from the AdminBookingReminder */ omit?: Prisma.AdminBookingReminderOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminBookingReminderInclude | 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 = { /** * Select specific fields to fetch from the AdminBookingReminder */ select?: Prisma.AdminBookingReminderSelect | null /** * Omit specific fields from the AdminBookingReminder */ omit?: Prisma.AdminBookingReminderOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminBookingReminderInclude | 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 = { /** * Select specific fields to fetch from the AdminBookingReminder */ select?: Prisma.AdminBookingReminderSelect | null /** * Omit specific fields from the AdminBookingReminder */ omit?: Prisma.AdminBookingReminderOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminBookingReminderInclude | null /** * The data needed to create a AdminBookingReminder. */ data: Prisma.XOR } /** * AdminBookingReminder createMany */ export type AdminBookingReminderCreateManyArgs = { /** * The data used to create many AdminBookingReminders. */ data: Prisma.AdminBookingReminderCreateManyInput | Prisma.AdminBookingReminderCreateManyInput[] skipDuplicates?: boolean } /** * AdminBookingReminder createManyAndReturn */ export type AdminBookingReminderCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the AdminBookingReminder */ select?: Prisma.AdminBookingReminderSelectCreateManyAndReturn | null /** * Omit specific fields from the AdminBookingReminder */ omit?: Prisma.AdminBookingReminderOmit | 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 | null } /** * AdminBookingReminder update */ export type AdminBookingReminderUpdateArgs = { /** * Select specific fields to fetch from the AdminBookingReminder */ select?: Prisma.AdminBookingReminderSelect | null /** * Omit specific fields from the AdminBookingReminder */ omit?: Prisma.AdminBookingReminderOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminBookingReminderInclude | null /** * The data needed to update a AdminBookingReminder. */ data: Prisma.XOR /** * Choose, which AdminBookingReminder to update. */ where: Prisma.AdminBookingReminderWhereUniqueInput } /** * AdminBookingReminder updateMany */ export type AdminBookingReminderUpdateManyArgs = { /** * The data used to update AdminBookingReminders. */ data: Prisma.XOR /** * Filter which AdminBookingReminders to update */ where?: Prisma.AdminBookingReminderWhereInput /** * Limit how many AdminBookingReminders to update. */ limit?: number } /** * AdminBookingReminder updateManyAndReturn */ export type AdminBookingReminderUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the AdminBookingReminder */ select?: Prisma.AdminBookingReminderSelectUpdateManyAndReturn | null /** * Omit specific fields from the AdminBookingReminder */ omit?: Prisma.AdminBookingReminderOmit | null /** * The data used to update AdminBookingReminders. */ data: Prisma.XOR /** * 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 | null } /** * AdminBookingReminder upsert */ export type AdminBookingReminderUpsertArgs = { /** * Select specific fields to fetch from the AdminBookingReminder */ select?: Prisma.AdminBookingReminderSelect | null /** * Omit specific fields from the AdminBookingReminder */ omit?: Prisma.AdminBookingReminderOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminBookingReminderInclude | 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 /** * In case the AdminBookingReminder was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * AdminBookingReminder delete */ export type AdminBookingReminderDeleteArgs = { /** * Select specific fields to fetch from the AdminBookingReminder */ select?: Prisma.AdminBookingReminderSelect | null /** * Omit specific fields from the AdminBookingReminder */ omit?: Prisma.AdminBookingReminderOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminBookingReminderInclude | null /** * Filter which AdminBookingReminder to delete. */ where: Prisma.AdminBookingReminderWhereUniqueInput } /** * AdminBookingReminder deleteMany */ export type AdminBookingReminderDeleteManyArgs = { /** * Filter which AdminBookingReminders to delete */ where?: Prisma.AdminBookingReminderWhereInput /** * Limit how many AdminBookingReminders to delete. */ limit?: number } /** * AdminBookingReminder without action */ export type AdminBookingReminderDefaultArgs = { /** * Select specific fields to fetch from the AdminBookingReminder */ select?: Prisma.AdminBookingReminderSelect | null /** * Omit specific fields from the AdminBookingReminder */ omit?: Prisma.AdminBookingReminderOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminBookingReminderInclude | null }