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

1490 lines
63 KiB
TypeScript

/* !!! This is code generated by Prisma. Do not edit directly. !!! */
/* eslint-disable */
// biome-ignore-all lint: generated file
// @ts-nocheck
/*
* This file exports the `AdminNoReplyReminder` 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 AdminNoReplyReminder
*
*/
export type AdminNoReplyReminderModel = runtime.Types.Result.DefaultSelection<Prisma.$AdminNoReplyReminderPayload>
export type AggregateAdminNoReplyReminder = {
_count: AdminNoReplyReminderCountAggregateOutputType | null
_min: AdminNoReplyReminderMinAggregateOutputType | null
_max: AdminNoReplyReminderMaxAggregateOutputType | null
}
export type AdminNoReplyReminderMinAggregateOutputType = {
id: string | null
createdAt: Date | null
updatedAt: Date | null
adminUserId: string | null
outboundMessageId: string | null
dueAt: Date | null
status: $Enums.AdminNoReplyReminderStatus | null
taskId: string | null
idempotencyKey: string | null
}
export type AdminNoReplyReminderMaxAggregateOutputType = {
id: string | null
createdAt: Date | null
updatedAt: Date | null
adminUserId: string | null
outboundMessageId: string | null
dueAt: Date | null
status: $Enums.AdminNoReplyReminderStatus | null
taskId: string | null
idempotencyKey: string | null
}
export type AdminNoReplyReminderCountAggregateOutputType = {
id: number
createdAt: number
updatedAt: number
adminUserId: number
outboundMessageId: number
dueAt: number
status: number
taskId: number
idempotencyKey: number
_all: number
}
export type AdminNoReplyReminderMinAggregateInputType = {
id?: true
createdAt?: true
updatedAt?: true
adminUserId?: true
outboundMessageId?: true
dueAt?: true
status?: true
taskId?: true
idempotencyKey?: true
}
export type AdminNoReplyReminderMaxAggregateInputType = {
id?: true
createdAt?: true
updatedAt?: true
adminUserId?: true
outboundMessageId?: true
dueAt?: true
status?: true
taskId?: true
idempotencyKey?: true
}
export type AdminNoReplyReminderCountAggregateInputType = {
id?: true
createdAt?: true
updatedAt?: true
adminUserId?: true
outboundMessageId?: true
dueAt?: true
status?: true
taskId?: true
idempotencyKey?: true
_all?: true
}
export type AdminNoReplyReminderAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which AdminNoReplyReminder to aggregate.
*/
where?: Prisma.AdminNoReplyReminderWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of AdminNoReplyReminders to fetch.
*/
orderBy?: Prisma.AdminNoReplyReminderOrderByWithRelationInput | Prisma.AdminNoReplyReminderOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the start position
*/
cursor?: Prisma.AdminNoReplyReminderWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` AdminNoReplyReminders 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` AdminNoReplyReminders.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Count returned AdminNoReplyReminders
**/
_count?: true | AdminNoReplyReminderCountAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the minimum value
**/
_min?: AdminNoReplyReminderMinAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the maximum value
**/
_max?: AdminNoReplyReminderMaxAggregateInputType
}
export type GetAdminNoReplyReminderAggregateType<T extends AdminNoReplyReminderAggregateArgs> = {
[P in keyof T & keyof AggregateAdminNoReplyReminder]: P extends '_count' | 'count'
? T[P] extends true
? number
: Prisma.GetScalarType<T[P], AggregateAdminNoReplyReminder[P]>
: Prisma.GetScalarType<T[P], AggregateAdminNoReplyReminder[P]>
}
export type AdminNoReplyReminderGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.AdminNoReplyReminderWhereInput
orderBy?: Prisma.AdminNoReplyReminderOrderByWithAggregationInput | Prisma.AdminNoReplyReminderOrderByWithAggregationInput[]
by: Prisma.AdminNoReplyReminderScalarFieldEnum[] | Prisma.AdminNoReplyReminderScalarFieldEnum
having?: Prisma.AdminNoReplyReminderScalarWhereWithAggregatesInput
take?: number
skip?: number
_count?: AdminNoReplyReminderCountAggregateInputType | true
_min?: AdminNoReplyReminderMinAggregateInputType
_max?: AdminNoReplyReminderMaxAggregateInputType
}
export type AdminNoReplyReminderGroupByOutputType = {
id: string
createdAt: Date
updatedAt: Date
adminUserId: string
outboundMessageId: string
dueAt: Date
status: $Enums.AdminNoReplyReminderStatus
taskId: string | null
idempotencyKey: string
_count: AdminNoReplyReminderCountAggregateOutputType | null
_min: AdminNoReplyReminderMinAggregateOutputType | null
_max: AdminNoReplyReminderMaxAggregateOutputType | null
}
export type GetAdminNoReplyReminderGroupByPayload<T extends AdminNoReplyReminderGroupByArgs> = Prisma.PrismaPromise<
Array<
Prisma.PickEnumerable<AdminNoReplyReminderGroupByOutputType, T['by']> &
{
[P in ((keyof T) & (keyof AdminNoReplyReminderGroupByOutputType))]: P extends '_count'
? T[P] extends boolean
? number
: Prisma.GetScalarType<T[P], AdminNoReplyReminderGroupByOutputType[P]>
: Prisma.GetScalarType<T[P], AdminNoReplyReminderGroupByOutputType[P]>
}
>
>
export type AdminNoReplyReminderWhereInput = {
AND?: Prisma.AdminNoReplyReminderWhereInput | Prisma.AdminNoReplyReminderWhereInput[]
OR?: Prisma.AdminNoReplyReminderWhereInput[]
NOT?: Prisma.AdminNoReplyReminderWhereInput | Prisma.AdminNoReplyReminderWhereInput[]
id?: Prisma.StringFilter<"AdminNoReplyReminder"> | string
createdAt?: Prisma.DateTimeFilter<"AdminNoReplyReminder"> | Date | string
updatedAt?: Prisma.DateTimeFilter<"AdminNoReplyReminder"> | Date | string
adminUserId?: Prisma.StringFilter<"AdminNoReplyReminder"> | string
outboundMessageId?: Prisma.StringFilter<"AdminNoReplyReminder"> | string
dueAt?: Prisma.DateTimeFilter<"AdminNoReplyReminder"> | Date | string
status?: Prisma.EnumAdminNoReplyReminderStatusFilter<"AdminNoReplyReminder"> | $Enums.AdminNoReplyReminderStatus
taskId?: Prisma.StringNullableFilter<"AdminNoReplyReminder"> | string | null
idempotencyKey?: Prisma.StringFilter<"AdminNoReplyReminder"> | string
outboundMessage?: Prisma.XOR<Prisma.AdminEmailMessageScalarRelationFilter, Prisma.AdminEmailMessageWhereInput>
}
export type AdminNoReplyReminderOrderByWithRelationInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
adminUserId?: Prisma.SortOrder
outboundMessageId?: Prisma.SortOrder
dueAt?: Prisma.SortOrder
status?: Prisma.SortOrder
taskId?: Prisma.SortOrderInput | Prisma.SortOrder
idempotencyKey?: Prisma.SortOrder
outboundMessage?: Prisma.AdminEmailMessageOrderByWithRelationInput
}
export type AdminNoReplyReminderWhereUniqueInput = Prisma.AtLeast<{
id?: string
idempotencyKey?: string
AND?: Prisma.AdminNoReplyReminderWhereInput | Prisma.AdminNoReplyReminderWhereInput[]
OR?: Prisma.AdminNoReplyReminderWhereInput[]
NOT?: Prisma.AdminNoReplyReminderWhereInput | Prisma.AdminNoReplyReminderWhereInput[]
createdAt?: Prisma.DateTimeFilter<"AdminNoReplyReminder"> | Date | string
updatedAt?: Prisma.DateTimeFilter<"AdminNoReplyReminder"> | Date | string
adminUserId?: Prisma.StringFilter<"AdminNoReplyReminder"> | string
outboundMessageId?: Prisma.StringFilter<"AdminNoReplyReminder"> | string
dueAt?: Prisma.DateTimeFilter<"AdminNoReplyReminder"> | Date | string
status?: Prisma.EnumAdminNoReplyReminderStatusFilter<"AdminNoReplyReminder"> | $Enums.AdminNoReplyReminderStatus
taskId?: Prisma.StringNullableFilter<"AdminNoReplyReminder"> | string | null
outboundMessage?: Prisma.XOR<Prisma.AdminEmailMessageScalarRelationFilter, Prisma.AdminEmailMessageWhereInput>
}, "id" | "idempotencyKey">
export type AdminNoReplyReminderOrderByWithAggregationInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
adminUserId?: Prisma.SortOrder
outboundMessageId?: Prisma.SortOrder
dueAt?: Prisma.SortOrder
status?: Prisma.SortOrder
taskId?: Prisma.SortOrderInput | Prisma.SortOrder
idempotencyKey?: Prisma.SortOrder
_count?: Prisma.AdminNoReplyReminderCountOrderByAggregateInput
_max?: Prisma.AdminNoReplyReminderMaxOrderByAggregateInput
_min?: Prisma.AdminNoReplyReminderMinOrderByAggregateInput
}
export type AdminNoReplyReminderScalarWhereWithAggregatesInput = {
AND?: Prisma.AdminNoReplyReminderScalarWhereWithAggregatesInput | Prisma.AdminNoReplyReminderScalarWhereWithAggregatesInput[]
OR?: Prisma.AdminNoReplyReminderScalarWhereWithAggregatesInput[]
NOT?: Prisma.AdminNoReplyReminderScalarWhereWithAggregatesInput | Prisma.AdminNoReplyReminderScalarWhereWithAggregatesInput[]
id?: Prisma.StringWithAggregatesFilter<"AdminNoReplyReminder"> | string
createdAt?: Prisma.DateTimeWithAggregatesFilter<"AdminNoReplyReminder"> | Date | string
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"AdminNoReplyReminder"> | Date | string
adminUserId?: Prisma.StringWithAggregatesFilter<"AdminNoReplyReminder"> | string
outboundMessageId?: Prisma.StringWithAggregatesFilter<"AdminNoReplyReminder"> | string
dueAt?: Prisma.DateTimeWithAggregatesFilter<"AdminNoReplyReminder"> | Date | string
status?: Prisma.EnumAdminNoReplyReminderStatusWithAggregatesFilter<"AdminNoReplyReminder"> | $Enums.AdminNoReplyReminderStatus
taskId?: Prisma.StringNullableWithAggregatesFilter<"AdminNoReplyReminder"> | string | null
idempotencyKey?: Prisma.StringWithAggregatesFilter<"AdminNoReplyReminder"> | string
}
export type AdminNoReplyReminderCreateInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
adminUserId: string
dueAt: Date | string
status?: $Enums.AdminNoReplyReminderStatus
taskId?: string | null
idempotencyKey: string
outboundMessage: Prisma.AdminEmailMessageCreateNestedOneWithoutRemindersInput
}
export type AdminNoReplyReminderUncheckedCreateInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
adminUserId: string
outboundMessageId: string
dueAt: Date | string
status?: $Enums.AdminNoReplyReminderStatus
taskId?: string | null
idempotencyKey: string
}
export type AdminNoReplyReminderUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
dueAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
status?: Prisma.EnumAdminNoReplyReminderStatusFieldUpdateOperationsInput | $Enums.AdminNoReplyReminderStatus
taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string
outboundMessage?: Prisma.AdminEmailMessageUpdateOneRequiredWithoutRemindersNestedInput
}
export type AdminNoReplyReminderUncheckedUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
outboundMessageId?: Prisma.StringFieldUpdateOperationsInput | string
dueAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
status?: Prisma.EnumAdminNoReplyReminderStatusFieldUpdateOperationsInput | $Enums.AdminNoReplyReminderStatus
taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string
}
export type AdminNoReplyReminderCreateManyInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
adminUserId: string
outboundMessageId: string
dueAt: Date | string
status?: $Enums.AdminNoReplyReminderStatus
taskId?: string | null
idempotencyKey: string
}
export type AdminNoReplyReminderUpdateManyMutationInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
dueAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
status?: Prisma.EnumAdminNoReplyReminderStatusFieldUpdateOperationsInput | $Enums.AdminNoReplyReminderStatus
taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string
}
export type AdminNoReplyReminderUncheckedUpdateManyInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
outboundMessageId?: Prisma.StringFieldUpdateOperationsInput | string
dueAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
status?: Prisma.EnumAdminNoReplyReminderStatusFieldUpdateOperationsInput | $Enums.AdminNoReplyReminderStatus
taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string
}
export type AdminNoReplyReminderListRelationFilter = {
every?: Prisma.AdminNoReplyReminderWhereInput
some?: Prisma.AdminNoReplyReminderWhereInput
none?: Prisma.AdminNoReplyReminderWhereInput
}
export type AdminNoReplyReminderOrderByRelationAggregateInput = {
_count?: Prisma.SortOrder
}
export type AdminNoReplyReminderCountOrderByAggregateInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
adminUserId?: Prisma.SortOrder
outboundMessageId?: Prisma.SortOrder
dueAt?: Prisma.SortOrder
status?: Prisma.SortOrder
taskId?: Prisma.SortOrder
idempotencyKey?: Prisma.SortOrder
}
export type AdminNoReplyReminderMaxOrderByAggregateInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
adminUserId?: Prisma.SortOrder
outboundMessageId?: Prisma.SortOrder
dueAt?: Prisma.SortOrder
status?: Prisma.SortOrder
taskId?: Prisma.SortOrder
idempotencyKey?: Prisma.SortOrder
}
export type AdminNoReplyReminderMinOrderByAggregateInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
adminUserId?: Prisma.SortOrder
outboundMessageId?: Prisma.SortOrder
dueAt?: Prisma.SortOrder
status?: Prisma.SortOrder
taskId?: Prisma.SortOrder
idempotencyKey?: Prisma.SortOrder
}
export type AdminNoReplyReminderCreateNestedManyWithoutOutboundMessageInput = {
create?: Prisma.XOR<Prisma.AdminNoReplyReminderCreateWithoutOutboundMessageInput, Prisma.AdminNoReplyReminderUncheckedCreateWithoutOutboundMessageInput> | Prisma.AdminNoReplyReminderCreateWithoutOutboundMessageInput[] | Prisma.AdminNoReplyReminderUncheckedCreateWithoutOutboundMessageInput[]
connectOrCreate?: Prisma.AdminNoReplyReminderCreateOrConnectWithoutOutboundMessageInput | Prisma.AdminNoReplyReminderCreateOrConnectWithoutOutboundMessageInput[]
createMany?: Prisma.AdminNoReplyReminderCreateManyOutboundMessageInputEnvelope
connect?: Prisma.AdminNoReplyReminderWhereUniqueInput | Prisma.AdminNoReplyReminderWhereUniqueInput[]
}
export type AdminNoReplyReminderUncheckedCreateNestedManyWithoutOutboundMessageInput = {
create?: Prisma.XOR<Prisma.AdminNoReplyReminderCreateWithoutOutboundMessageInput, Prisma.AdminNoReplyReminderUncheckedCreateWithoutOutboundMessageInput> | Prisma.AdminNoReplyReminderCreateWithoutOutboundMessageInput[] | Prisma.AdminNoReplyReminderUncheckedCreateWithoutOutboundMessageInput[]
connectOrCreate?: Prisma.AdminNoReplyReminderCreateOrConnectWithoutOutboundMessageInput | Prisma.AdminNoReplyReminderCreateOrConnectWithoutOutboundMessageInput[]
createMany?: Prisma.AdminNoReplyReminderCreateManyOutboundMessageInputEnvelope
connect?: Prisma.AdminNoReplyReminderWhereUniqueInput | Prisma.AdminNoReplyReminderWhereUniqueInput[]
}
export type AdminNoReplyReminderUpdateManyWithoutOutboundMessageNestedInput = {
create?: Prisma.XOR<Prisma.AdminNoReplyReminderCreateWithoutOutboundMessageInput, Prisma.AdminNoReplyReminderUncheckedCreateWithoutOutboundMessageInput> | Prisma.AdminNoReplyReminderCreateWithoutOutboundMessageInput[] | Prisma.AdminNoReplyReminderUncheckedCreateWithoutOutboundMessageInput[]
connectOrCreate?: Prisma.AdminNoReplyReminderCreateOrConnectWithoutOutboundMessageInput | Prisma.AdminNoReplyReminderCreateOrConnectWithoutOutboundMessageInput[]
upsert?: Prisma.AdminNoReplyReminderUpsertWithWhereUniqueWithoutOutboundMessageInput | Prisma.AdminNoReplyReminderUpsertWithWhereUniqueWithoutOutboundMessageInput[]
createMany?: Prisma.AdminNoReplyReminderCreateManyOutboundMessageInputEnvelope
set?: Prisma.AdminNoReplyReminderWhereUniqueInput | Prisma.AdminNoReplyReminderWhereUniqueInput[]
disconnect?: Prisma.AdminNoReplyReminderWhereUniqueInput | Prisma.AdminNoReplyReminderWhereUniqueInput[]
delete?: Prisma.AdminNoReplyReminderWhereUniqueInput | Prisma.AdminNoReplyReminderWhereUniqueInput[]
connect?: Prisma.AdminNoReplyReminderWhereUniqueInput | Prisma.AdminNoReplyReminderWhereUniqueInput[]
update?: Prisma.AdminNoReplyReminderUpdateWithWhereUniqueWithoutOutboundMessageInput | Prisma.AdminNoReplyReminderUpdateWithWhereUniqueWithoutOutboundMessageInput[]
updateMany?: Prisma.AdminNoReplyReminderUpdateManyWithWhereWithoutOutboundMessageInput | Prisma.AdminNoReplyReminderUpdateManyWithWhereWithoutOutboundMessageInput[]
deleteMany?: Prisma.AdminNoReplyReminderScalarWhereInput | Prisma.AdminNoReplyReminderScalarWhereInput[]
}
export type AdminNoReplyReminderUncheckedUpdateManyWithoutOutboundMessageNestedInput = {
create?: Prisma.XOR<Prisma.AdminNoReplyReminderCreateWithoutOutboundMessageInput, Prisma.AdminNoReplyReminderUncheckedCreateWithoutOutboundMessageInput> | Prisma.AdminNoReplyReminderCreateWithoutOutboundMessageInput[] | Prisma.AdminNoReplyReminderUncheckedCreateWithoutOutboundMessageInput[]
connectOrCreate?: Prisma.AdminNoReplyReminderCreateOrConnectWithoutOutboundMessageInput | Prisma.AdminNoReplyReminderCreateOrConnectWithoutOutboundMessageInput[]
upsert?: Prisma.AdminNoReplyReminderUpsertWithWhereUniqueWithoutOutboundMessageInput | Prisma.AdminNoReplyReminderUpsertWithWhereUniqueWithoutOutboundMessageInput[]
createMany?: Prisma.AdminNoReplyReminderCreateManyOutboundMessageInputEnvelope
set?: Prisma.AdminNoReplyReminderWhereUniqueInput | Prisma.AdminNoReplyReminderWhereUniqueInput[]
disconnect?: Prisma.AdminNoReplyReminderWhereUniqueInput | Prisma.AdminNoReplyReminderWhereUniqueInput[]
delete?: Prisma.AdminNoReplyReminderWhereUniqueInput | Prisma.AdminNoReplyReminderWhereUniqueInput[]
connect?: Prisma.AdminNoReplyReminderWhereUniqueInput | Prisma.AdminNoReplyReminderWhereUniqueInput[]
update?: Prisma.AdminNoReplyReminderUpdateWithWhereUniqueWithoutOutboundMessageInput | Prisma.AdminNoReplyReminderUpdateWithWhereUniqueWithoutOutboundMessageInput[]
updateMany?: Prisma.AdminNoReplyReminderUpdateManyWithWhereWithoutOutboundMessageInput | Prisma.AdminNoReplyReminderUpdateManyWithWhereWithoutOutboundMessageInput[]
deleteMany?: Prisma.AdminNoReplyReminderScalarWhereInput | Prisma.AdminNoReplyReminderScalarWhereInput[]
}
export type EnumAdminNoReplyReminderStatusFieldUpdateOperationsInput = {
set?: $Enums.AdminNoReplyReminderStatus
}
export type AdminNoReplyReminderCreateWithoutOutboundMessageInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
adminUserId: string
dueAt: Date | string
status?: $Enums.AdminNoReplyReminderStatus
taskId?: string | null
idempotencyKey: string
}
export type AdminNoReplyReminderUncheckedCreateWithoutOutboundMessageInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
adminUserId: string
dueAt: Date | string
status?: $Enums.AdminNoReplyReminderStatus
taskId?: string | null
idempotencyKey: string
}
export type AdminNoReplyReminderCreateOrConnectWithoutOutboundMessageInput = {
where: Prisma.AdminNoReplyReminderWhereUniqueInput
create: Prisma.XOR<Prisma.AdminNoReplyReminderCreateWithoutOutboundMessageInput, Prisma.AdminNoReplyReminderUncheckedCreateWithoutOutboundMessageInput>
}
export type AdminNoReplyReminderCreateManyOutboundMessageInputEnvelope = {
data: Prisma.AdminNoReplyReminderCreateManyOutboundMessageInput | Prisma.AdminNoReplyReminderCreateManyOutboundMessageInput[]
skipDuplicates?: boolean
}
export type AdminNoReplyReminderUpsertWithWhereUniqueWithoutOutboundMessageInput = {
where: Prisma.AdminNoReplyReminderWhereUniqueInput
update: Prisma.XOR<Prisma.AdminNoReplyReminderUpdateWithoutOutboundMessageInput, Prisma.AdminNoReplyReminderUncheckedUpdateWithoutOutboundMessageInput>
create: Prisma.XOR<Prisma.AdminNoReplyReminderCreateWithoutOutboundMessageInput, Prisma.AdminNoReplyReminderUncheckedCreateWithoutOutboundMessageInput>
}
export type AdminNoReplyReminderUpdateWithWhereUniqueWithoutOutboundMessageInput = {
where: Prisma.AdminNoReplyReminderWhereUniqueInput
data: Prisma.XOR<Prisma.AdminNoReplyReminderUpdateWithoutOutboundMessageInput, Prisma.AdminNoReplyReminderUncheckedUpdateWithoutOutboundMessageInput>
}
export type AdminNoReplyReminderUpdateManyWithWhereWithoutOutboundMessageInput = {
where: Prisma.AdminNoReplyReminderScalarWhereInput
data: Prisma.XOR<Prisma.AdminNoReplyReminderUpdateManyMutationInput, Prisma.AdminNoReplyReminderUncheckedUpdateManyWithoutOutboundMessageInput>
}
export type AdminNoReplyReminderScalarWhereInput = {
AND?: Prisma.AdminNoReplyReminderScalarWhereInput | Prisma.AdminNoReplyReminderScalarWhereInput[]
OR?: Prisma.AdminNoReplyReminderScalarWhereInput[]
NOT?: Prisma.AdminNoReplyReminderScalarWhereInput | Prisma.AdminNoReplyReminderScalarWhereInput[]
id?: Prisma.StringFilter<"AdminNoReplyReminder"> | string
createdAt?: Prisma.DateTimeFilter<"AdminNoReplyReminder"> | Date | string
updatedAt?: Prisma.DateTimeFilter<"AdminNoReplyReminder"> | Date | string
adminUserId?: Prisma.StringFilter<"AdminNoReplyReminder"> | string
outboundMessageId?: Prisma.StringFilter<"AdminNoReplyReminder"> | string
dueAt?: Prisma.DateTimeFilter<"AdminNoReplyReminder"> | Date | string
status?: Prisma.EnumAdminNoReplyReminderStatusFilter<"AdminNoReplyReminder"> | $Enums.AdminNoReplyReminderStatus
taskId?: Prisma.StringNullableFilter<"AdminNoReplyReminder"> | string | null
idempotencyKey?: Prisma.StringFilter<"AdminNoReplyReminder"> | string
}
export type AdminNoReplyReminderCreateManyOutboundMessageInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
adminUserId: string
dueAt: Date | string
status?: $Enums.AdminNoReplyReminderStatus
taskId?: string | null
idempotencyKey: string
}
export type AdminNoReplyReminderUpdateWithoutOutboundMessageInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
dueAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
status?: Prisma.EnumAdminNoReplyReminderStatusFieldUpdateOperationsInput | $Enums.AdminNoReplyReminderStatus
taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string
}
export type AdminNoReplyReminderUncheckedUpdateWithoutOutboundMessageInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
dueAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
status?: Prisma.EnumAdminNoReplyReminderStatusFieldUpdateOperationsInput | $Enums.AdminNoReplyReminderStatus
taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string
}
export type AdminNoReplyReminderUncheckedUpdateManyWithoutOutboundMessageInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
dueAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
status?: Prisma.EnumAdminNoReplyReminderStatusFieldUpdateOperationsInput | $Enums.AdminNoReplyReminderStatus
taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string
}
export type AdminNoReplyReminderSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
createdAt?: boolean
updatedAt?: boolean
adminUserId?: boolean
outboundMessageId?: boolean
dueAt?: boolean
status?: boolean
taskId?: boolean
idempotencyKey?: boolean
outboundMessage?: boolean | Prisma.AdminEmailMessageDefaultArgs<ExtArgs>
}, ExtArgs["result"]["adminNoReplyReminder"]>
export type AdminNoReplyReminderSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
createdAt?: boolean
updatedAt?: boolean
adminUserId?: boolean
outboundMessageId?: boolean
dueAt?: boolean
status?: boolean
taskId?: boolean
idempotencyKey?: boolean
outboundMessage?: boolean | Prisma.AdminEmailMessageDefaultArgs<ExtArgs>
}, ExtArgs["result"]["adminNoReplyReminder"]>
export type AdminNoReplyReminderSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
createdAt?: boolean
updatedAt?: boolean
adminUserId?: boolean
outboundMessageId?: boolean
dueAt?: boolean
status?: boolean
taskId?: boolean
idempotencyKey?: boolean
outboundMessage?: boolean | Prisma.AdminEmailMessageDefaultArgs<ExtArgs>
}, ExtArgs["result"]["adminNoReplyReminder"]>
export type AdminNoReplyReminderSelectScalar = {
id?: boolean
createdAt?: boolean
updatedAt?: boolean
adminUserId?: boolean
outboundMessageId?: boolean
dueAt?: boolean
status?: boolean
taskId?: boolean
idempotencyKey?: boolean
}
export type AdminNoReplyReminderOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "adminUserId" | "outboundMessageId" | "dueAt" | "status" | "taskId" | "idempotencyKey", ExtArgs["result"]["adminNoReplyReminder"]>
export type AdminNoReplyReminderInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
outboundMessage?: boolean | Prisma.AdminEmailMessageDefaultArgs<ExtArgs>
}
export type AdminNoReplyReminderIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
outboundMessage?: boolean | Prisma.AdminEmailMessageDefaultArgs<ExtArgs>
}
export type AdminNoReplyReminderIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
outboundMessage?: boolean | Prisma.AdminEmailMessageDefaultArgs<ExtArgs>
}
export type $AdminNoReplyReminderPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
name: "AdminNoReplyReminder"
objects: {
outboundMessage: Prisma.$AdminEmailMessagePayload<ExtArgs>
}
scalars: runtime.Types.Extensions.GetPayloadResult<{
id: string
createdAt: Date
updatedAt: Date
adminUserId: string
outboundMessageId: string
dueAt: Date
status: $Enums.AdminNoReplyReminderStatus
taskId: string | null
idempotencyKey: string
}, ExtArgs["result"]["adminNoReplyReminder"]>
composites: {}
}
export type AdminNoReplyReminderGetPayload<S extends boolean | null | undefined | AdminNoReplyReminderDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$AdminNoReplyReminderPayload, S>
export type AdminNoReplyReminderCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
Omit<AdminNoReplyReminderFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
select?: AdminNoReplyReminderCountAggregateInputType | true
}
export interface AdminNoReplyReminderDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['AdminNoReplyReminder'], meta: { name: 'AdminNoReplyReminder' } }
/**
* Find zero or one AdminNoReplyReminder that matches the filter.
* @param {AdminNoReplyReminderFindUniqueArgs} args - Arguments to find a AdminNoReplyReminder
* @example
* // Get one AdminNoReplyReminder
* const adminNoReplyReminder = await prisma.adminNoReplyReminder.findUnique({
* where: {
* // ... provide filter here
* }
* })
*/
findUnique<T extends AdminNoReplyReminderFindUniqueArgs>(args: Prisma.SelectSubset<T, AdminNoReplyReminderFindUniqueArgs<ExtArgs>>): Prisma.Prisma__AdminNoReplyReminderClient<runtime.Types.Result.GetResult<Prisma.$AdminNoReplyReminderPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find one AdminNoReplyReminder that matches the filter or throw an error with `error.code='P2025'`
* if no matches were found.
* @param {AdminNoReplyReminderFindUniqueOrThrowArgs} args - Arguments to find a AdminNoReplyReminder
* @example
* // Get one AdminNoReplyReminder
* const adminNoReplyReminder = await prisma.adminNoReplyReminder.findUniqueOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findUniqueOrThrow<T extends AdminNoReplyReminderFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, AdminNoReplyReminderFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__AdminNoReplyReminderClient<runtime.Types.Result.GetResult<Prisma.$AdminNoReplyReminderPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find the first AdminNoReplyReminder 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 {AdminNoReplyReminderFindFirstArgs} args - Arguments to find a AdminNoReplyReminder
* @example
* // Get one AdminNoReplyReminder
* const adminNoReplyReminder = await prisma.adminNoReplyReminder.findFirst({
* where: {
* // ... provide filter here
* }
* })
*/
findFirst<T extends AdminNoReplyReminderFindFirstArgs>(args?: Prisma.SelectSubset<T, AdminNoReplyReminderFindFirstArgs<ExtArgs>>): Prisma.Prisma__AdminNoReplyReminderClient<runtime.Types.Result.GetResult<Prisma.$AdminNoReplyReminderPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find the first AdminNoReplyReminder 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 {AdminNoReplyReminderFindFirstOrThrowArgs} args - Arguments to find a AdminNoReplyReminder
* @example
* // Get one AdminNoReplyReminder
* const adminNoReplyReminder = await prisma.adminNoReplyReminder.findFirstOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findFirstOrThrow<T extends AdminNoReplyReminderFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, AdminNoReplyReminderFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__AdminNoReplyReminderClient<runtime.Types.Result.GetResult<Prisma.$AdminNoReplyReminderPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find zero or more AdminNoReplyReminders 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 {AdminNoReplyReminderFindManyArgs} args - Arguments to filter and select certain fields only.
* @example
* // Get all AdminNoReplyReminders
* const adminNoReplyReminders = await prisma.adminNoReplyReminder.findMany()
*
* // Get first 10 AdminNoReplyReminders
* const adminNoReplyReminders = await prisma.adminNoReplyReminder.findMany({ take: 10 })
*
* // Only select the `id`
* const adminNoReplyReminderWithIdOnly = await prisma.adminNoReplyReminder.findMany({ select: { id: true } })
*
*/
findMany<T extends AdminNoReplyReminderFindManyArgs>(args?: Prisma.SelectSubset<T, AdminNoReplyReminderFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdminNoReplyReminderPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
/**
* Create a AdminNoReplyReminder.
* @param {AdminNoReplyReminderCreateArgs} args - Arguments to create a AdminNoReplyReminder.
* @example
* // Create one AdminNoReplyReminder
* const AdminNoReplyReminder = await prisma.adminNoReplyReminder.create({
* data: {
* // ... data to create a AdminNoReplyReminder
* }
* })
*
*/
create<T extends AdminNoReplyReminderCreateArgs>(args: Prisma.SelectSubset<T, AdminNoReplyReminderCreateArgs<ExtArgs>>): Prisma.Prisma__AdminNoReplyReminderClient<runtime.Types.Result.GetResult<Prisma.$AdminNoReplyReminderPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Create many AdminNoReplyReminders.
* @param {AdminNoReplyReminderCreateManyArgs} args - Arguments to create many AdminNoReplyReminders.
* @example
* // Create many AdminNoReplyReminders
* const adminNoReplyReminder = await prisma.adminNoReplyReminder.createMany({
* data: [
* // ... provide data here
* ]
* })
*
*/
createMany<T extends AdminNoReplyReminderCreateManyArgs>(args?: Prisma.SelectSubset<T, AdminNoReplyReminderCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Create many AdminNoReplyReminders and returns the data saved in the database.
* @param {AdminNoReplyReminderCreateManyAndReturnArgs} args - Arguments to create many AdminNoReplyReminders.
* @example
* // Create many AdminNoReplyReminders
* const adminNoReplyReminder = await prisma.adminNoReplyReminder.createManyAndReturn({
* data: [
* // ... provide data here
* ]
* })
*
* // Create many AdminNoReplyReminders and only return the `id`
* const adminNoReplyReminderWithIdOnly = await prisma.adminNoReplyReminder.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 AdminNoReplyReminderCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, AdminNoReplyReminderCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdminNoReplyReminderPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
/**
* Delete a AdminNoReplyReminder.
* @param {AdminNoReplyReminderDeleteArgs} args - Arguments to delete one AdminNoReplyReminder.
* @example
* // Delete one AdminNoReplyReminder
* const AdminNoReplyReminder = await prisma.adminNoReplyReminder.delete({
* where: {
* // ... filter to delete one AdminNoReplyReminder
* }
* })
*
*/
delete<T extends AdminNoReplyReminderDeleteArgs>(args: Prisma.SelectSubset<T, AdminNoReplyReminderDeleteArgs<ExtArgs>>): Prisma.Prisma__AdminNoReplyReminderClient<runtime.Types.Result.GetResult<Prisma.$AdminNoReplyReminderPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Update one AdminNoReplyReminder.
* @param {AdminNoReplyReminderUpdateArgs} args - Arguments to update one AdminNoReplyReminder.
* @example
* // Update one AdminNoReplyReminder
* const adminNoReplyReminder = await prisma.adminNoReplyReminder.update({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
update<T extends AdminNoReplyReminderUpdateArgs>(args: Prisma.SelectSubset<T, AdminNoReplyReminderUpdateArgs<ExtArgs>>): Prisma.Prisma__AdminNoReplyReminderClient<runtime.Types.Result.GetResult<Prisma.$AdminNoReplyReminderPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Delete zero or more AdminNoReplyReminders.
* @param {AdminNoReplyReminderDeleteManyArgs} args - Arguments to filter AdminNoReplyReminders to delete.
* @example
* // Delete a few AdminNoReplyReminders
* const { count } = await prisma.adminNoReplyReminder.deleteMany({
* where: {
* // ... provide filter here
* }
* })
*
*/
deleteMany<T extends AdminNoReplyReminderDeleteManyArgs>(args?: Prisma.SelectSubset<T, AdminNoReplyReminderDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more AdminNoReplyReminders.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {AdminNoReplyReminderUpdateManyArgs} args - Arguments to update one or more rows.
* @example
* // Update many AdminNoReplyReminders
* const adminNoReplyReminder = await prisma.adminNoReplyReminder.updateMany({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
updateMany<T extends AdminNoReplyReminderUpdateManyArgs>(args: Prisma.SelectSubset<T, AdminNoReplyReminderUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more AdminNoReplyReminders and returns the data updated in the database.
* @param {AdminNoReplyReminderUpdateManyAndReturnArgs} args - Arguments to update many AdminNoReplyReminders.
* @example
* // Update many AdminNoReplyReminders
* const adminNoReplyReminder = await prisma.adminNoReplyReminder.updateManyAndReturn({
* where: {
* // ... provide filter here
* },
* data: [
* // ... provide data here
* ]
* })
*
* // Update zero or more AdminNoReplyReminders and only return the `id`
* const adminNoReplyReminderWithIdOnly = await prisma.adminNoReplyReminder.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 AdminNoReplyReminderUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, AdminNoReplyReminderUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdminNoReplyReminderPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
/**
* Create or update one AdminNoReplyReminder.
* @param {AdminNoReplyReminderUpsertArgs} args - Arguments to update or create a AdminNoReplyReminder.
* @example
* // Update or create a AdminNoReplyReminder
* const adminNoReplyReminder = await prisma.adminNoReplyReminder.upsert({
* create: {
* // ... data to create a AdminNoReplyReminder
* },
* update: {
* // ... in case it already exists, update
* },
* where: {
* // ... the filter for the AdminNoReplyReminder we want to update
* }
* })
*/
upsert<T extends AdminNoReplyReminderUpsertArgs>(args: Prisma.SelectSubset<T, AdminNoReplyReminderUpsertArgs<ExtArgs>>): Prisma.Prisma__AdminNoReplyReminderClient<runtime.Types.Result.GetResult<Prisma.$AdminNoReplyReminderPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Count the number of AdminNoReplyReminders.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {AdminNoReplyReminderCountArgs} args - Arguments to filter AdminNoReplyReminders to count.
* @example
* // Count the number of AdminNoReplyReminders
* const count = await prisma.adminNoReplyReminder.count({
* where: {
* // ... the filter for the AdminNoReplyReminders we want to count
* }
* })
**/
count<T extends AdminNoReplyReminderCountArgs>(
args?: Prisma.Subset<T, AdminNoReplyReminderCountArgs>,
): Prisma.PrismaPromise<
T extends runtime.Types.Utils.Record<'select', any>
? T['select'] extends true
? number
: Prisma.GetScalarType<T['select'], AdminNoReplyReminderCountAggregateOutputType>
: number
>
/**
* Allows you to perform aggregations operations on a AdminNoReplyReminder.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {AdminNoReplyReminderAggregateArgs} 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 AdminNoReplyReminderAggregateArgs>(args: Prisma.Subset<T, AdminNoReplyReminderAggregateArgs>): Prisma.PrismaPromise<GetAdminNoReplyReminderAggregateType<T>>
/**
* Group by AdminNoReplyReminder.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {AdminNoReplyReminderGroupByArgs} 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 AdminNoReplyReminderGroupByArgs,
HasSelectOrTake extends Prisma.Or<
Prisma.Extends<'skip', Prisma.Keys<T>>,
Prisma.Extends<'take', Prisma.Keys<T>>
>,
OrderByArg extends Prisma.True extends HasSelectOrTake
? { orderBy: AdminNoReplyReminderGroupByArgs['orderBy'] }
: { orderBy?: AdminNoReplyReminderGroupByArgs['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, AdminNoReplyReminderGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAdminNoReplyReminderGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* Fields of the AdminNoReplyReminder model
*/
readonly fields: AdminNoReplyReminderFieldRefs;
}
/**
* The delegate class that acts as a "Promise-like" for AdminNoReplyReminder.
* 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__AdminNoReplyReminderClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
readonly [Symbol.toStringTag]: "PrismaPromise"
outboundMessage<T extends Prisma.AdminEmailMessageDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AdminEmailMessageDefaultArgs<ExtArgs>>): Prisma.Prisma__AdminEmailMessageClient<runtime.Types.Result.GetResult<Prisma.$AdminEmailMessagePayload<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 AdminNoReplyReminder model
*/
export interface AdminNoReplyReminderFieldRefs {
readonly id: Prisma.FieldRef<"AdminNoReplyReminder", 'String'>
readonly createdAt: Prisma.FieldRef<"AdminNoReplyReminder", 'DateTime'>
readonly updatedAt: Prisma.FieldRef<"AdminNoReplyReminder", 'DateTime'>
readonly adminUserId: Prisma.FieldRef<"AdminNoReplyReminder", 'String'>
readonly outboundMessageId: Prisma.FieldRef<"AdminNoReplyReminder", 'String'>
readonly dueAt: Prisma.FieldRef<"AdminNoReplyReminder", 'DateTime'>
readonly status: Prisma.FieldRef<"AdminNoReplyReminder", 'AdminNoReplyReminderStatus'>
readonly taskId: Prisma.FieldRef<"AdminNoReplyReminder", 'String'>
readonly idempotencyKey: Prisma.FieldRef<"AdminNoReplyReminder", 'String'>
}
// Custom InputTypes
/**
* AdminNoReplyReminder findUnique
*/
export type AdminNoReplyReminderFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AdminNoReplyReminder
*/
select?: Prisma.AdminNoReplyReminderSelect<ExtArgs> | null
/**
* Omit specific fields from the AdminNoReplyReminder
*/
omit?: Prisma.AdminNoReplyReminderOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdminNoReplyReminderInclude<ExtArgs> | null
/**
* Filter, which AdminNoReplyReminder to fetch.
*/
where: Prisma.AdminNoReplyReminderWhereUniqueInput
}
/**
* AdminNoReplyReminder findUniqueOrThrow
*/
export type AdminNoReplyReminderFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AdminNoReplyReminder
*/
select?: Prisma.AdminNoReplyReminderSelect<ExtArgs> | null
/**
* Omit specific fields from the AdminNoReplyReminder
*/
omit?: Prisma.AdminNoReplyReminderOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdminNoReplyReminderInclude<ExtArgs> | null
/**
* Filter, which AdminNoReplyReminder to fetch.
*/
where: Prisma.AdminNoReplyReminderWhereUniqueInput
}
/**
* AdminNoReplyReminder findFirst
*/
export type AdminNoReplyReminderFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AdminNoReplyReminder
*/
select?: Prisma.AdminNoReplyReminderSelect<ExtArgs> | null
/**
* Omit specific fields from the AdminNoReplyReminder
*/
omit?: Prisma.AdminNoReplyReminderOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdminNoReplyReminderInclude<ExtArgs> | null
/**
* Filter, which AdminNoReplyReminder to fetch.
*/
where?: Prisma.AdminNoReplyReminderWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of AdminNoReplyReminders to fetch.
*/
orderBy?: Prisma.AdminNoReplyReminderOrderByWithRelationInput | Prisma.AdminNoReplyReminderOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for AdminNoReplyReminders.
*/
cursor?: Prisma.AdminNoReplyReminderWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` AdminNoReplyReminders 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` AdminNoReplyReminders.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of AdminNoReplyReminders.
*/
distinct?: Prisma.AdminNoReplyReminderScalarFieldEnum | Prisma.AdminNoReplyReminderScalarFieldEnum[]
}
/**
* AdminNoReplyReminder findFirstOrThrow
*/
export type AdminNoReplyReminderFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AdminNoReplyReminder
*/
select?: Prisma.AdminNoReplyReminderSelect<ExtArgs> | null
/**
* Omit specific fields from the AdminNoReplyReminder
*/
omit?: Prisma.AdminNoReplyReminderOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdminNoReplyReminderInclude<ExtArgs> | null
/**
* Filter, which AdminNoReplyReminder to fetch.
*/
where?: Prisma.AdminNoReplyReminderWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of AdminNoReplyReminders to fetch.
*/
orderBy?: Prisma.AdminNoReplyReminderOrderByWithRelationInput | Prisma.AdminNoReplyReminderOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for AdminNoReplyReminders.
*/
cursor?: Prisma.AdminNoReplyReminderWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` AdminNoReplyReminders 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` AdminNoReplyReminders.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of AdminNoReplyReminders.
*/
distinct?: Prisma.AdminNoReplyReminderScalarFieldEnum | Prisma.AdminNoReplyReminderScalarFieldEnum[]
}
/**
* AdminNoReplyReminder findMany
*/
export type AdminNoReplyReminderFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AdminNoReplyReminder
*/
select?: Prisma.AdminNoReplyReminderSelect<ExtArgs> | null
/**
* Omit specific fields from the AdminNoReplyReminder
*/
omit?: Prisma.AdminNoReplyReminderOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdminNoReplyReminderInclude<ExtArgs> | null
/**
* Filter, which AdminNoReplyReminders to fetch.
*/
where?: Prisma.AdminNoReplyReminderWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of AdminNoReplyReminders to fetch.
*/
orderBy?: Prisma.AdminNoReplyReminderOrderByWithRelationInput | Prisma.AdminNoReplyReminderOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for listing AdminNoReplyReminders.
*/
cursor?: Prisma.AdminNoReplyReminderWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` AdminNoReplyReminders 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` AdminNoReplyReminders.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of AdminNoReplyReminders.
*/
distinct?: Prisma.AdminNoReplyReminderScalarFieldEnum | Prisma.AdminNoReplyReminderScalarFieldEnum[]
}
/**
* AdminNoReplyReminder create
*/
export type AdminNoReplyReminderCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AdminNoReplyReminder
*/
select?: Prisma.AdminNoReplyReminderSelect<ExtArgs> | null
/**
* Omit specific fields from the AdminNoReplyReminder
*/
omit?: Prisma.AdminNoReplyReminderOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdminNoReplyReminderInclude<ExtArgs> | null
/**
* The data needed to create a AdminNoReplyReminder.
*/
data: Prisma.XOR<Prisma.AdminNoReplyReminderCreateInput, Prisma.AdminNoReplyReminderUncheckedCreateInput>
}
/**
* AdminNoReplyReminder createMany
*/
export type AdminNoReplyReminderCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to create many AdminNoReplyReminders.
*/
data: Prisma.AdminNoReplyReminderCreateManyInput | Prisma.AdminNoReplyReminderCreateManyInput[]
skipDuplicates?: boolean
}
/**
* AdminNoReplyReminder createManyAndReturn
*/
export type AdminNoReplyReminderCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AdminNoReplyReminder
*/
select?: Prisma.AdminNoReplyReminderSelectCreateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the AdminNoReplyReminder
*/
omit?: Prisma.AdminNoReplyReminderOmit<ExtArgs> | null
/**
* The data used to create many AdminNoReplyReminders.
*/
data: Prisma.AdminNoReplyReminderCreateManyInput | Prisma.AdminNoReplyReminderCreateManyInput[]
skipDuplicates?: boolean
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdminNoReplyReminderIncludeCreateManyAndReturn<ExtArgs> | null
}
/**
* AdminNoReplyReminder update
*/
export type AdminNoReplyReminderUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AdminNoReplyReminder
*/
select?: Prisma.AdminNoReplyReminderSelect<ExtArgs> | null
/**
* Omit specific fields from the AdminNoReplyReminder
*/
omit?: Prisma.AdminNoReplyReminderOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdminNoReplyReminderInclude<ExtArgs> | null
/**
* The data needed to update a AdminNoReplyReminder.
*/
data: Prisma.XOR<Prisma.AdminNoReplyReminderUpdateInput, Prisma.AdminNoReplyReminderUncheckedUpdateInput>
/**
* Choose, which AdminNoReplyReminder to update.
*/
where: Prisma.AdminNoReplyReminderWhereUniqueInput
}
/**
* AdminNoReplyReminder updateMany
*/
export type AdminNoReplyReminderUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to update AdminNoReplyReminders.
*/
data: Prisma.XOR<Prisma.AdminNoReplyReminderUpdateManyMutationInput, Prisma.AdminNoReplyReminderUncheckedUpdateManyInput>
/**
* Filter which AdminNoReplyReminders to update
*/
where?: Prisma.AdminNoReplyReminderWhereInput
/**
* Limit how many AdminNoReplyReminders to update.
*/
limit?: number
}
/**
* AdminNoReplyReminder updateManyAndReturn
*/
export type AdminNoReplyReminderUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AdminNoReplyReminder
*/
select?: Prisma.AdminNoReplyReminderSelectUpdateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the AdminNoReplyReminder
*/
omit?: Prisma.AdminNoReplyReminderOmit<ExtArgs> | null
/**
* The data used to update AdminNoReplyReminders.
*/
data: Prisma.XOR<Prisma.AdminNoReplyReminderUpdateManyMutationInput, Prisma.AdminNoReplyReminderUncheckedUpdateManyInput>
/**
* Filter which AdminNoReplyReminders to update
*/
where?: Prisma.AdminNoReplyReminderWhereInput
/**
* Limit how many AdminNoReplyReminders to update.
*/
limit?: number
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdminNoReplyReminderIncludeUpdateManyAndReturn<ExtArgs> | null
}
/**
* AdminNoReplyReminder upsert
*/
export type AdminNoReplyReminderUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AdminNoReplyReminder
*/
select?: Prisma.AdminNoReplyReminderSelect<ExtArgs> | null
/**
* Omit specific fields from the AdminNoReplyReminder
*/
omit?: Prisma.AdminNoReplyReminderOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdminNoReplyReminderInclude<ExtArgs> | null
/**
* The filter to search for the AdminNoReplyReminder to update in case it exists.
*/
where: Prisma.AdminNoReplyReminderWhereUniqueInput
/**
* In case the AdminNoReplyReminder found by the `where` argument doesn't exist, create a new AdminNoReplyReminder with this data.
*/
create: Prisma.XOR<Prisma.AdminNoReplyReminderCreateInput, Prisma.AdminNoReplyReminderUncheckedCreateInput>
/**
* In case the AdminNoReplyReminder was found with the provided `where` argument, update it with this data.
*/
update: Prisma.XOR<Prisma.AdminNoReplyReminderUpdateInput, Prisma.AdminNoReplyReminderUncheckedUpdateInput>
}
/**
* AdminNoReplyReminder delete
*/
export type AdminNoReplyReminderDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AdminNoReplyReminder
*/
select?: Prisma.AdminNoReplyReminderSelect<ExtArgs> | null
/**
* Omit specific fields from the AdminNoReplyReminder
*/
omit?: Prisma.AdminNoReplyReminderOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdminNoReplyReminderInclude<ExtArgs> | null
/**
* Filter which AdminNoReplyReminder to delete.
*/
where: Prisma.AdminNoReplyReminderWhereUniqueInput
}
/**
* AdminNoReplyReminder deleteMany
*/
export type AdminNoReplyReminderDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which AdminNoReplyReminders to delete
*/
where?: Prisma.AdminNoReplyReminderWhereInput
/**
* Limit how many AdminNoReplyReminders to delete.
*/
limit?: number
}
/**
* AdminNoReplyReminder without action
*/
export type AdminNoReplyReminderDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AdminNoReplyReminder
*/
select?: Prisma.AdminNoReplyReminderSelect<ExtArgs> | null
/**
* Omit specific fields from the AdminNoReplyReminder
*/
omit?: Prisma.AdminNoReplyReminderOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdminNoReplyReminderInclude<ExtArgs> | null
}