/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `EmployeeUploadReminderDispatch` 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 EmployeeUploadReminderDispatch * One reminder dispatched to one employee for one due date. Idempotent per * (reminder, employee, dueAt) so the cadence worker never double-sends. */ export type EmployeeUploadReminderDispatchModel = runtime.Types.Result.DefaultSelection export type AggregateEmployeeUploadReminderDispatch = { _count: EmployeeUploadReminderDispatchCountAggregateOutputType | null _min: EmployeeUploadReminderDispatchMinAggregateOutputType | null _max: EmployeeUploadReminderDispatchMaxAggregateOutputType | null } export type EmployeeUploadReminderDispatchMinAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null tenantId: string | null reminderId: string | null employeeUserId: string | null dueAt: Date | null status: $Enums.HrReminderDispatchStatus | null sentAt: Date | null acknowledgedAt: Date | null escalatedAt: Date | null } export type EmployeeUploadReminderDispatchMaxAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null tenantId: string | null reminderId: string | null employeeUserId: string | null dueAt: Date | null status: $Enums.HrReminderDispatchStatus | null sentAt: Date | null acknowledgedAt: Date | null escalatedAt: Date | null } export type EmployeeUploadReminderDispatchCountAggregateOutputType = { id: number createdAt: number updatedAt: number tenantId: number reminderId: number employeeUserId: number dueAt: number status: number sentAt: number acknowledgedAt: number escalatedAt: number _all: number } export type EmployeeUploadReminderDispatchMinAggregateInputType = { id?: true createdAt?: true updatedAt?: true tenantId?: true reminderId?: true employeeUserId?: true dueAt?: true status?: true sentAt?: true acknowledgedAt?: true escalatedAt?: true } export type EmployeeUploadReminderDispatchMaxAggregateInputType = { id?: true createdAt?: true updatedAt?: true tenantId?: true reminderId?: true employeeUserId?: true dueAt?: true status?: true sentAt?: true acknowledgedAt?: true escalatedAt?: true } export type EmployeeUploadReminderDispatchCountAggregateInputType = { id?: true createdAt?: true updatedAt?: true tenantId?: true reminderId?: true employeeUserId?: true dueAt?: true status?: true sentAt?: true acknowledgedAt?: true escalatedAt?: true _all?: true } export type EmployeeUploadReminderDispatchAggregateArgs = { /** * Filter which EmployeeUploadReminderDispatch to aggregate. */ where?: Prisma.EmployeeUploadReminderDispatchWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of EmployeeUploadReminderDispatches to fetch. */ orderBy?: Prisma.EmployeeUploadReminderDispatchOrderByWithRelationInput | Prisma.EmployeeUploadReminderDispatchOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.EmployeeUploadReminderDispatchWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` EmployeeUploadReminderDispatches 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` EmployeeUploadReminderDispatches. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned EmployeeUploadReminderDispatches **/ _count?: true | EmployeeUploadReminderDispatchCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: EmployeeUploadReminderDispatchMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: EmployeeUploadReminderDispatchMaxAggregateInputType } export type GetEmployeeUploadReminderDispatchAggregateType = { [P in keyof T & keyof AggregateEmployeeUploadReminderDispatch]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type EmployeeUploadReminderDispatchGroupByArgs = { where?: Prisma.EmployeeUploadReminderDispatchWhereInput orderBy?: Prisma.EmployeeUploadReminderDispatchOrderByWithAggregationInput | Prisma.EmployeeUploadReminderDispatchOrderByWithAggregationInput[] by: Prisma.EmployeeUploadReminderDispatchScalarFieldEnum[] | Prisma.EmployeeUploadReminderDispatchScalarFieldEnum having?: Prisma.EmployeeUploadReminderDispatchScalarWhereWithAggregatesInput take?: number skip?: number _count?: EmployeeUploadReminderDispatchCountAggregateInputType | true _min?: EmployeeUploadReminderDispatchMinAggregateInputType _max?: EmployeeUploadReminderDispatchMaxAggregateInputType } export type EmployeeUploadReminderDispatchGroupByOutputType = { id: string createdAt: Date updatedAt: Date tenantId: string reminderId: string employeeUserId: string dueAt: Date status: $Enums.HrReminderDispatchStatus sentAt: Date | null acknowledgedAt: Date | null escalatedAt: Date | null _count: EmployeeUploadReminderDispatchCountAggregateOutputType | null _min: EmployeeUploadReminderDispatchMinAggregateOutputType | null _max: EmployeeUploadReminderDispatchMaxAggregateOutputType | null } export type GetEmployeeUploadReminderDispatchGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof EmployeeUploadReminderDispatchGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type EmployeeUploadReminderDispatchWhereInput = { AND?: Prisma.EmployeeUploadReminderDispatchWhereInput | Prisma.EmployeeUploadReminderDispatchWhereInput[] OR?: Prisma.EmployeeUploadReminderDispatchWhereInput[] NOT?: Prisma.EmployeeUploadReminderDispatchWhereInput | Prisma.EmployeeUploadReminderDispatchWhereInput[] id?: Prisma.StringFilter<"EmployeeUploadReminderDispatch"> | string createdAt?: Prisma.DateTimeFilter<"EmployeeUploadReminderDispatch"> | Date | string updatedAt?: Prisma.DateTimeFilter<"EmployeeUploadReminderDispatch"> | Date | string tenantId?: Prisma.StringFilter<"EmployeeUploadReminderDispatch"> | string reminderId?: Prisma.StringFilter<"EmployeeUploadReminderDispatch"> | string employeeUserId?: Prisma.StringFilter<"EmployeeUploadReminderDispatch"> | string dueAt?: Prisma.DateTimeFilter<"EmployeeUploadReminderDispatch"> | Date | string status?: Prisma.EnumHrReminderDispatchStatusFilter<"EmployeeUploadReminderDispatch"> | $Enums.HrReminderDispatchStatus sentAt?: Prisma.DateTimeNullableFilter<"EmployeeUploadReminderDispatch"> | Date | string | null acknowledgedAt?: Prisma.DateTimeNullableFilter<"EmployeeUploadReminderDispatch"> | Date | string | null escalatedAt?: Prisma.DateTimeNullableFilter<"EmployeeUploadReminderDispatch"> | Date | string | null reminder?: Prisma.XOR } export type EmployeeUploadReminderDispatchOrderByWithRelationInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder tenantId?: Prisma.SortOrder reminderId?: Prisma.SortOrder employeeUserId?: Prisma.SortOrder dueAt?: Prisma.SortOrder status?: Prisma.SortOrder sentAt?: Prisma.SortOrderInput | Prisma.SortOrder acknowledgedAt?: Prisma.SortOrderInput | Prisma.SortOrder escalatedAt?: Prisma.SortOrderInput | Prisma.SortOrder reminder?: Prisma.EmployeeUploadReminderOrderByWithRelationInput } export type EmployeeUploadReminderDispatchWhereUniqueInput = Prisma.AtLeast<{ id?: string reminderId_employeeUserId_dueAt?: Prisma.EmployeeUploadReminderDispatchReminderIdEmployeeUserIdDueAtCompoundUniqueInput AND?: Prisma.EmployeeUploadReminderDispatchWhereInput | Prisma.EmployeeUploadReminderDispatchWhereInput[] OR?: Prisma.EmployeeUploadReminderDispatchWhereInput[] NOT?: Prisma.EmployeeUploadReminderDispatchWhereInput | Prisma.EmployeeUploadReminderDispatchWhereInput[] createdAt?: Prisma.DateTimeFilter<"EmployeeUploadReminderDispatch"> | Date | string updatedAt?: Prisma.DateTimeFilter<"EmployeeUploadReminderDispatch"> | Date | string tenantId?: Prisma.StringFilter<"EmployeeUploadReminderDispatch"> | string reminderId?: Prisma.StringFilter<"EmployeeUploadReminderDispatch"> | string employeeUserId?: Prisma.StringFilter<"EmployeeUploadReminderDispatch"> | string dueAt?: Prisma.DateTimeFilter<"EmployeeUploadReminderDispatch"> | Date | string status?: Prisma.EnumHrReminderDispatchStatusFilter<"EmployeeUploadReminderDispatch"> | $Enums.HrReminderDispatchStatus sentAt?: Prisma.DateTimeNullableFilter<"EmployeeUploadReminderDispatch"> | Date | string | null acknowledgedAt?: Prisma.DateTimeNullableFilter<"EmployeeUploadReminderDispatch"> | Date | string | null escalatedAt?: Prisma.DateTimeNullableFilter<"EmployeeUploadReminderDispatch"> | Date | string | null reminder?: Prisma.XOR }, "id" | "reminderId_employeeUserId_dueAt"> export type EmployeeUploadReminderDispatchOrderByWithAggregationInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder tenantId?: Prisma.SortOrder reminderId?: Prisma.SortOrder employeeUserId?: Prisma.SortOrder dueAt?: Prisma.SortOrder status?: Prisma.SortOrder sentAt?: Prisma.SortOrderInput | Prisma.SortOrder acknowledgedAt?: Prisma.SortOrderInput | Prisma.SortOrder escalatedAt?: Prisma.SortOrderInput | Prisma.SortOrder _count?: Prisma.EmployeeUploadReminderDispatchCountOrderByAggregateInput _max?: Prisma.EmployeeUploadReminderDispatchMaxOrderByAggregateInput _min?: Prisma.EmployeeUploadReminderDispatchMinOrderByAggregateInput } export type EmployeeUploadReminderDispatchScalarWhereWithAggregatesInput = { AND?: Prisma.EmployeeUploadReminderDispatchScalarWhereWithAggregatesInput | Prisma.EmployeeUploadReminderDispatchScalarWhereWithAggregatesInput[] OR?: Prisma.EmployeeUploadReminderDispatchScalarWhereWithAggregatesInput[] NOT?: Prisma.EmployeeUploadReminderDispatchScalarWhereWithAggregatesInput | Prisma.EmployeeUploadReminderDispatchScalarWhereWithAggregatesInput[] id?: Prisma.StringWithAggregatesFilter<"EmployeeUploadReminderDispatch"> | string createdAt?: Prisma.DateTimeWithAggregatesFilter<"EmployeeUploadReminderDispatch"> | Date | string updatedAt?: Prisma.DateTimeWithAggregatesFilter<"EmployeeUploadReminderDispatch"> | Date | string tenantId?: Prisma.StringWithAggregatesFilter<"EmployeeUploadReminderDispatch"> | string reminderId?: Prisma.StringWithAggregatesFilter<"EmployeeUploadReminderDispatch"> | string employeeUserId?: Prisma.StringWithAggregatesFilter<"EmployeeUploadReminderDispatch"> | string dueAt?: Prisma.DateTimeWithAggregatesFilter<"EmployeeUploadReminderDispatch"> | Date | string status?: Prisma.EnumHrReminderDispatchStatusWithAggregatesFilter<"EmployeeUploadReminderDispatch"> | $Enums.HrReminderDispatchStatus sentAt?: Prisma.DateTimeNullableWithAggregatesFilter<"EmployeeUploadReminderDispatch"> | Date | string | null acknowledgedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"EmployeeUploadReminderDispatch"> | Date | string | null escalatedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"EmployeeUploadReminderDispatch"> | Date | string | null } export type EmployeeUploadReminderDispatchCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string tenantId: string employeeUserId: string dueAt: Date | string status?: $Enums.HrReminderDispatchStatus sentAt?: Date | string | null acknowledgedAt?: Date | string | null escalatedAt?: Date | string | null reminder: Prisma.EmployeeUploadReminderCreateNestedOneWithoutDispatchesInput } export type EmployeeUploadReminderDispatchUncheckedCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string tenantId: string reminderId: string employeeUserId: string dueAt: Date | string status?: $Enums.HrReminderDispatchStatus sentAt?: Date | string | null acknowledgedAt?: Date | string | null escalatedAt?: Date | string | null } export type EmployeeUploadReminderDispatchUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string employeeUserId?: Prisma.StringFieldUpdateOperationsInput | string dueAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string status?: Prisma.EnumHrReminderDispatchStatusFieldUpdateOperationsInput | $Enums.HrReminderDispatchStatus sentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null acknowledgedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null escalatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null reminder?: Prisma.EmployeeUploadReminderUpdateOneRequiredWithoutDispatchesNestedInput } export type EmployeeUploadReminderDispatchUncheckedUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string reminderId?: Prisma.StringFieldUpdateOperationsInput | string employeeUserId?: Prisma.StringFieldUpdateOperationsInput | string dueAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string status?: Prisma.EnumHrReminderDispatchStatusFieldUpdateOperationsInput | $Enums.HrReminderDispatchStatus sentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null acknowledgedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null escalatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type EmployeeUploadReminderDispatchCreateManyInput = { id?: string createdAt?: Date | string updatedAt?: Date | string tenantId: string reminderId: string employeeUserId: string dueAt: Date | string status?: $Enums.HrReminderDispatchStatus sentAt?: Date | string | null acknowledgedAt?: Date | string | null escalatedAt?: Date | string | null } export type EmployeeUploadReminderDispatchUpdateManyMutationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string employeeUserId?: Prisma.StringFieldUpdateOperationsInput | string dueAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string status?: Prisma.EnumHrReminderDispatchStatusFieldUpdateOperationsInput | $Enums.HrReminderDispatchStatus sentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null acknowledgedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null escalatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type EmployeeUploadReminderDispatchUncheckedUpdateManyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string reminderId?: Prisma.StringFieldUpdateOperationsInput | string employeeUserId?: Prisma.StringFieldUpdateOperationsInput | string dueAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string status?: Prisma.EnumHrReminderDispatchStatusFieldUpdateOperationsInput | $Enums.HrReminderDispatchStatus sentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null acknowledgedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null escalatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type EmployeeUploadReminderDispatchListRelationFilter = { every?: Prisma.EmployeeUploadReminderDispatchWhereInput some?: Prisma.EmployeeUploadReminderDispatchWhereInput none?: Prisma.EmployeeUploadReminderDispatchWhereInput } export type EmployeeUploadReminderDispatchOrderByRelationAggregateInput = { _count?: Prisma.SortOrder } export type EmployeeUploadReminderDispatchReminderIdEmployeeUserIdDueAtCompoundUniqueInput = { reminderId: string employeeUserId: string dueAt: Date | string } export type EmployeeUploadReminderDispatchCountOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder tenantId?: Prisma.SortOrder reminderId?: Prisma.SortOrder employeeUserId?: Prisma.SortOrder dueAt?: Prisma.SortOrder status?: Prisma.SortOrder sentAt?: Prisma.SortOrder acknowledgedAt?: Prisma.SortOrder escalatedAt?: Prisma.SortOrder } export type EmployeeUploadReminderDispatchMaxOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder tenantId?: Prisma.SortOrder reminderId?: Prisma.SortOrder employeeUserId?: Prisma.SortOrder dueAt?: Prisma.SortOrder status?: Prisma.SortOrder sentAt?: Prisma.SortOrder acknowledgedAt?: Prisma.SortOrder escalatedAt?: Prisma.SortOrder } export type EmployeeUploadReminderDispatchMinOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder tenantId?: Prisma.SortOrder reminderId?: Prisma.SortOrder employeeUserId?: Prisma.SortOrder dueAt?: Prisma.SortOrder status?: Prisma.SortOrder sentAt?: Prisma.SortOrder acknowledgedAt?: Prisma.SortOrder escalatedAt?: Prisma.SortOrder } export type EmployeeUploadReminderDispatchCreateNestedManyWithoutReminderInput = { create?: Prisma.XOR | Prisma.EmployeeUploadReminderDispatchCreateWithoutReminderInput[] | Prisma.EmployeeUploadReminderDispatchUncheckedCreateWithoutReminderInput[] connectOrCreate?: Prisma.EmployeeUploadReminderDispatchCreateOrConnectWithoutReminderInput | Prisma.EmployeeUploadReminderDispatchCreateOrConnectWithoutReminderInput[] createMany?: Prisma.EmployeeUploadReminderDispatchCreateManyReminderInputEnvelope connect?: Prisma.EmployeeUploadReminderDispatchWhereUniqueInput | Prisma.EmployeeUploadReminderDispatchWhereUniqueInput[] } export type EmployeeUploadReminderDispatchUncheckedCreateNestedManyWithoutReminderInput = { create?: Prisma.XOR | Prisma.EmployeeUploadReminderDispatchCreateWithoutReminderInput[] | Prisma.EmployeeUploadReminderDispatchUncheckedCreateWithoutReminderInput[] connectOrCreate?: Prisma.EmployeeUploadReminderDispatchCreateOrConnectWithoutReminderInput | Prisma.EmployeeUploadReminderDispatchCreateOrConnectWithoutReminderInput[] createMany?: Prisma.EmployeeUploadReminderDispatchCreateManyReminderInputEnvelope connect?: Prisma.EmployeeUploadReminderDispatchWhereUniqueInput | Prisma.EmployeeUploadReminderDispatchWhereUniqueInput[] } export type EmployeeUploadReminderDispatchUpdateManyWithoutReminderNestedInput = { create?: Prisma.XOR | Prisma.EmployeeUploadReminderDispatchCreateWithoutReminderInput[] | Prisma.EmployeeUploadReminderDispatchUncheckedCreateWithoutReminderInput[] connectOrCreate?: Prisma.EmployeeUploadReminderDispatchCreateOrConnectWithoutReminderInput | Prisma.EmployeeUploadReminderDispatchCreateOrConnectWithoutReminderInput[] upsert?: Prisma.EmployeeUploadReminderDispatchUpsertWithWhereUniqueWithoutReminderInput | Prisma.EmployeeUploadReminderDispatchUpsertWithWhereUniqueWithoutReminderInput[] createMany?: Prisma.EmployeeUploadReminderDispatchCreateManyReminderInputEnvelope set?: Prisma.EmployeeUploadReminderDispatchWhereUniqueInput | Prisma.EmployeeUploadReminderDispatchWhereUniqueInput[] disconnect?: Prisma.EmployeeUploadReminderDispatchWhereUniqueInput | Prisma.EmployeeUploadReminderDispatchWhereUniqueInput[] delete?: Prisma.EmployeeUploadReminderDispatchWhereUniqueInput | Prisma.EmployeeUploadReminderDispatchWhereUniqueInput[] connect?: Prisma.EmployeeUploadReminderDispatchWhereUniqueInput | Prisma.EmployeeUploadReminderDispatchWhereUniqueInput[] update?: Prisma.EmployeeUploadReminderDispatchUpdateWithWhereUniqueWithoutReminderInput | Prisma.EmployeeUploadReminderDispatchUpdateWithWhereUniqueWithoutReminderInput[] updateMany?: Prisma.EmployeeUploadReminderDispatchUpdateManyWithWhereWithoutReminderInput | Prisma.EmployeeUploadReminderDispatchUpdateManyWithWhereWithoutReminderInput[] deleteMany?: Prisma.EmployeeUploadReminderDispatchScalarWhereInput | Prisma.EmployeeUploadReminderDispatchScalarWhereInput[] } export type EmployeeUploadReminderDispatchUncheckedUpdateManyWithoutReminderNestedInput = { create?: Prisma.XOR | Prisma.EmployeeUploadReminderDispatchCreateWithoutReminderInput[] | Prisma.EmployeeUploadReminderDispatchUncheckedCreateWithoutReminderInput[] connectOrCreate?: Prisma.EmployeeUploadReminderDispatchCreateOrConnectWithoutReminderInput | Prisma.EmployeeUploadReminderDispatchCreateOrConnectWithoutReminderInput[] upsert?: Prisma.EmployeeUploadReminderDispatchUpsertWithWhereUniqueWithoutReminderInput | Prisma.EmployeeUploadReminderDispatchUpsertWithWhereUniqueWithoutReminderInput[] createMany?: Prisma.EmployeeUploadReminderDispatchCreateManyReminderInputEnvelope set?: Prisma.EmployeeUploadReminderDispatchWhereUniqueInput | Prisma.EmployeeUploadReminderDispatchWhereUniqueInput[] disconnect?: Prisma.EmployeeUploadReminderDispatchWhereUniqueInput | Prisma.EmployeeUploadReminderDispatchWhereUniqueInput[] delete?: Prisma.EmployeeUploadReminderDispatchWhereUniqueInput | Prisma.EmployeeUploadReminderDispatchWhereUniqueInput[] connect?: Prisma.EmployeeUploadReminderDispatchWhereUniqueInput | Prisma.EmployeeUploadReminderDispatchWhereUniqueInput[] update?: Prisma.EmployeeUploadReminderDispatchUpdateWithWhereUniqueWithoutReminderInput | Prisma.EmployeeUploadReminderDispatchUpdateWithWhereUniqueWithoutReminderInput[] updateMany?: Prisma.EmployeeUploadReminderDispatchUpdateManyWithWhereWithoutReminderInput | Prisma.EmployeeUploadReminderDispatchUpdateManyWithWhereWithoutReminderInput[] deleteMany?: Prisma.EmployeeUploadReminderDispatchScalarWhereInput | Prisma.EmployeeUploadReminderDispatchScalarWhereInput[] } export type EnumHrReminderDispatchStatusFieldUpdateOperationsInput = { set?: $Enums.HrReminderDispatchStatus } export type EmployeeUploadReminderDispatchCreateWithoutReminderInput = { id?: string createdAt?: Date | string updatedAt?: Date | string tenantId: string employeeUserId: string dueAt: Date | string status?: $Enums.HrReminderDispatchStatus sentAt?: Date | string | null acknowledgedAt?: Date | string | null escalatedAt?: Date | string | null } export type EmployeeUploadReminderDispatchUncheckedCreateWithoutReminderInput = { id?: string createdAt?: Date | string updatedAt?: Date | string tenantId: string employeeUserId: string dueAt: Date | string status?: $Enums.HrReminderDispatchStatus sentAt?: Date | string | null acknowledgedAt?: Date | string | null escalatedAt?: Date | string | null } export type EmployeeUploadReminderDispatchCreateOrConnectWithoutReminderInput = { where: Prisma.EmployeeUploadReminderDispatchWhereUniqueInput create: Prisma.XOR } export type EmployeeUploadReminderDispatchCreateManyReminderInputEnvelope = { data: Prisma.EmployeeUploadReminderDispatchCreateManyReminderInput | Prisma.EmployeeUploadReminderDispatchCreateManyReminderInput[] skipDuplicates?: boolean } export type EmployeeUploadReminderDispatchUpsertWithWhereUniqueWithoutReminderInput = { where: Prisma.EmployeeUploadReminderDispatchWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type EmployeeUploadReminderDispatchUpdateWithWhereUniqueWithoutReminderInput = { where: Prisma.EmployeeUploadReminderDispatchWhereUniqueInput data: Prisma.XOR } export type EmployeeUploadReminderDispatchUpdateManyWithWhereWithoutReminderInput = { where: Prisma.EmployeeUploadReminderDispatchScalarWhereInput data: Prisma.XOR } export type EmployeeUploadReminderDispatchScalarWhereInput = { AND?: Prisma.EmployeeUploadReminderDispatchScalarWhereInput | Prisma.EmployeeUploadReminderDispatchScalarWhereInput[] OR?: Prisma.EmployeeUploadReminderDispatchScalarWhereInput[] NOT?: Prisma.EmployeeUploadReminderDispatchScalarWhereInput | Prisma.EmployeeUploadReminderDispatchScalarWhereInput[] id?: Prisma.StringFilter<"EmployeeUploadReminderDispatch"> | string createdAt?: Prisma.DateTimeFilter<"EmployeeUploadReminderDispatch"> | Date | string updatedAt?: Prisma.DateTimeFilter<"EmployeeUploadReminderDispatch"> | Date | string tenantId?: Prisma.StringFilter<"EmployeeUploadReminderDispatch"> | string reminderId?: Prisma.StringFilter<"EmployeeUploadReminderDispatch"> | string employeeUserId?: Prisma.StringFilter<"EmployeeUploadReminderDispatch"> | string dueAt?: Prisma.DateTimeFilter<"EmployeeUploadReminderDispatch"> | Date | string status?: Prisma.EnumHrReminderDispatchStatusFilter<"EmployeeUploadReminderDispatch"> | $Enums.HrReminderDispatchStatus sentAt?: Prisma.DateTimeNullableFilter<"EmployeeUploadReminderDispatch"> | Date | string | null acknowledgedAt?: Prisma.DateTimeNullableFilter<"EmployeeUploadReminderDispatch"> | Date | string | null escalatedAt?: Prisma.DateTimeNullableFilter<"EmployeeUploadReminderDispatch"> | Date | string | null } export type EmployeeUploadReminderDispatchCreateManyReminderInput = { id?: string createdAt?: Date | string updatedAt?: Date | string tenantId: string employeeUserId: string dueAt: Date | string status?: $Enums.HrReminderDispatchStatus sentAt?: Date | string | null acknowledgedAt?: Date | string | null escalatedAt?: Date | string | null } export type EmployeeUploadReminderDispatchUpdateWithoutReminderInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string employeeUserId?: Prisma.StringFieldUpdateOperationsInput | string dueAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string status?: Prisma.EnumHrReminderDispatchStatusFieldUpdateOperationsInput | $Enums.HrReminderDispatchStatus sentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null acknowledgedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null escalatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type EmployeeUploadReminderDispatchUncheckedUpdateWithoutReminderInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string employeeUserId?: Prisma.StringFieldUpdateOperationsInput | string dueAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string status?: Prisma.EnumHrReminderDispatchStatusFieldUpdateOperationsInput | $Enums.HrReminderDispatchStatus sentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null acknowledgedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null escalatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type EmployeeUploadReminderDispatchUncheckedUpdateManyWithoutReminderInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string employeeUserId?: Prisma.StringFieldUpdateOperationsInput | string dueAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string status?: Prisma.EnumHrReminderDispatchStatusFieldUpdateOperationsInput | $Enums.HrReminderDispatchStatus sentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null acknowledgedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null escalatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type EmployeeUploadReminderDispatchSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean tenantId?: boolean reminderId?: boolean employeeUserId?: boolean dueAt?: boolean status?: boolean sentAt?: boolean acknowledgedAt?: boolean escalatedAt?: boolean reminder?: boolean | Prisma.EmployeeUploadReminderDefaultArgs }, ExtArgs["result"]["employeeUploadReminderDispatch"]> export type EmployeeUploadReminderDispatchSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean tenantId?: boolean reminderId?: boolean employeeUserId?: boolean dueAt?: boolean status?: boolean sentAt?: boolean acknowledgedAt?: boolean escalatedAt?: boolean reminder?: boolean | Prisma.EmployeeUploadReminderDefaultArgs }, ExtArgs["result"]["employeeUploadReminderDispatch"]> export type EmployeeUploadReminderDispatchSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean tenantId?: boolean reminderId?: boolean employeeUserId?: boolean dueAt?: boolean status?: boolean sentAt?: boolean acknowledgedAt?: boolean escalatedAt?: boolean reminder?: boolean | Prisma.EmployeeUploadReminderDefaultArgs }, ExtArgs["result"]["employeeUploadReminderDispatch"]> export type EmployeeUploadReminderDispatchSelectScalar = { id?: boolean createdAt?: boolean updatedAt?: boolean tenantId?: boolean reminderId?: boolean employeeUserId?: boolean dueAt?: boolean status?: boolean sentAt?: boolean acknowledgedAt?: boolean escalatedAt?: boolean } export type EmployeeUploadReminderDispatchOmit = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "tenantId" | "reminderId" | "employeeUserId" | "dueAt" | "status" | "sentAt" | "acknowledgedAt" | "escalatedAt", ExtArgs["result"]["employeeUploadReminderDispatch"]> export type EmployeeUploadReminderDispatchInclude = { reminder?: boolean | Prisma.EmployeeUploadReminderDefaultArgs } export type EmployeeUploadReminderDispatchIncludeCreateManyAndReturn = { reminder?: boolean | Prisma.EmployeeUploadReminderDefaultArgs } export type EmployeeUploadReminderDispatchIncludeUpdateManyAndReturn = { reminder?: boolean | Prisma.EmployeeUploadReminderDefaultArgs } export type $EmployeeUploadReminderDispatchPayload = { name: "EmployeeUploadReminderDispatch" objects: { reminder: Prisma.$EmployeeUploadReminderPayload } scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string createdAt: Date updatedAt: Date tenantId: string reminderId: string employeeUserId: string dueAt: Date status: $Enums.HrReminderDispatchStatus sentAt: Date | null acknowledgedAt: Date | null escalatedAt: Date | null }, ExtArgs["result"]["employeeUploadReminderDispatch"]> composites: {} } export type EmployeeUploadReminderDispatchGetPayload = runtime.Types.Result.GetResult export type EmployeeUploadReminderDispatchCountArgs = Omit & { select?: EmployeeUploadReminderDispatchCountAggregateInputType | true } export interface EmployeeUploadReminderDispatchDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['EmployeeUploadReminderDispatch'], meta: { name: 'EmployeeUploadReminderDispatch' } } /** * Find zero or one EmployeeUploadReminderDispatch that matches the filter. * @param {EmployeeUploadReminderDispatchFindUniqueArgs} args - Arguments to find a EmployeeUploadReminderDispatch * @example * // Get one EmployeeUploadReminderDispatch * const employeeUploadReminderDispatch = await prisma.employeeUploadReminderDispatch.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__EmployeeUploadReminderDispatchClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one EmployeeUploadReminderDispatch that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {EmployeeUploadReminderDispatchFindUniqueOrThrowArgs} args - Arguments to find a EmployeeUploadReminderDispatch * @example * // Get one EmployeeUploadReminderDispatch * const employeeUploadReminderDispatch = await prisma.employeeUploadReminderDispatch.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__EmployeeUploadReminderDispatchClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first EmployeeUploadReminderDispatch 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 {EmployeeUploadReminderDispatchFindFirstArgs} args - Arguments to find a EmployeeUploadReminderDispatch * @example * // Get one EmployeeUploadReminderDispatch * const employeeUploadReminderDispatch = await prisma.employeeUploadReminderDispatch.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__EmployeeUploadReminderDispatchClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first EmployeeUploadReminderDispatch 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 {EmployeeUploadReminderDispatchFindFirstOrThrowArgs} args - Arguments to find a EmployeeUploadReminderDispatch * @example * // Get one EmployeeUploadReminderDispatch * const employeeUploadReminderDispatch = await prisma.employeeUploadReminderDispatch.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__EmployeeUploadReminderDispatchClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more EmployeeUploadReminderDispatches 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 {EmployeeUploadReminderDispatchFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all EmployeeUploadReminderDispatches * const employeeUploadReminderDispatches = await prisma.employeeUploadReminderDispatch.findMany() * * // Get first 10 EmployeeUploadReminderDispatches * const employeeUploadReminderDispatches = await prisma.employeeUploadReminderDispatch.findMany({ take: 10 }) * * // Only select the `id` * const employeeUploadReminderDispatchWithIdOnly = await prisma.employeeUploadReminderDispatch.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a EmployeeUploadReminderDispatch. * @param {EmployeeUploadReminderDispatchCreateArgs} args - Arguments to create a EmployeeUploadReminderDispatch. * @example * // Create one EmployeeUploadReminderDispatch * const EmployeeUploadReminderDispatch = await prisma.employeeUploadReminderDispatch.create({ * data: { * // ... data to create a EmployeeUploadReminderDispatch * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__EmployeeUploadReminderDispatchClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many EmployeeUploadReminderDispatches. * @param {EmployeeUploadReminderDispatchCreateManyArgs} args - Arguments to create many EmployeeUploadReminderDispatches. * @example * // Create many EmployeeUploadReminderDispatches * const employeeUploadReminderDispatch = await prisma.employeeUploadReminderDispatch.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many EmployeeUploadReminderDispatches and returns the data saved in the database. * @param {EmployeeUploadReminderDispatchCreateManyAndReturnArgs} args - Arguments to create many EmployeeUploadReminderDispatches. * @example * // Create many EmployeeUploadReminderDispatches * const employeeUploadReminderDispatch = await prisma.employeeUploadReminderDispatch.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many EmployeeUploadReminderDispatches and only return the `id` * const employeeUploadReminderDispatchWithIdOnly = await prisma.employeeUploadReminderDispatch.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 EmployeeUploadReminderDispatch. * @param {EmployeeUploadReminderDispatchDeleteArgs} args - Arguments to delete one EmployeeUploadReminderDispatch. * @example * // Delete one EmployeeUploadReminderDispatch * const EmployeeUploadReminderDispatch = await prisma.employeeUploadReminderDispatch.delete({ * where: { * // ... filter to delete one EmployeeUploadReminderDispatch * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__EmployeeUploadReminderDispatchClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one EmployeeUploadReminderDispatch. * @param {EmployeeUploadReminderDispatchUpdateArgs} args - Arguments to update one EmployeeUploadReminderDispatch. * @example * // Update one EmployeeUploadReminderDispatch * const employeeUploadReminderDispatch = await prisma.employeeUploadReminderDispatch.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__EmployeeUploadReminderDispatchClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more EmployeeUploadReminderDispatches. * @param {EmployeeUploadReminderDispatchDeleteManyArgs} args - Arguments to filter EmployeeUploadReminderDispatches to delete. * @example * // Delete a few EmployeeUploadReminderDispatches * const { count } = await prisma.employeeUploadReminderDispatch.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more EmployeeUploadReminderDispatches. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {EmployeeUploadReminderDispatchUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many EmployeeUploadReminderDispatches * const employeeUploadReminderDispatch = await prisma.employeeUploadReminderDispatch.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more EmployeeUploadReminderDispatches and returns the data updated in the database. * @param {EmployeeUploadReminderDispatchUpdateManyAndReturnArgs} args - Arguments to update many EmployeeUploadReminderDispatches. * @example * // Update many EmployeeUploadReminderDispatches * const employeeUploadReminderDispatch = await prisma.employeeUploadReminderDispatch.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more EmployeeUploadReminderDispatches and only return the `id` * const employeeUploadReminderDispatchWithIdOnly = await prisma.employeeUploadReminderDispatch.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 EmployeeUploadReminderDispatch. * @param {EmployeeUploadReminderDispatchUpsertArgs} args - Arguments to update or create a EmployeeUploadReminderDispatch. * @example * // Update or create a EmployeeUploadReminderDispatch * const employeeUploadReminderDispatch = await prisma.employeeUploadReminderDispatch.upsert({ * create: { * // ... data to create a EmployeeUploadReminderDispatch * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the EmployeeUploadReminderDispatch we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__EmployeeUploadReminderDispatchClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of EmployeeUploadReminderDispatches. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {EmployeeUploadReminderDispatchCountArgs} args - Arguments to filter EmployeeUploadReminderDispatches to count. * @example * // Count the number of EmployeeUploadReminderDispatches * const count = await prisma.employeeUploadReminderDispatch.count({ * where: { * // ... the filter for the EmployeeUploadReminderDispatches 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 EmployeeUploadReminderDispatch. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {EmployeeUploadReminderDispatchAggregateArgs} 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 EmployeeUploadReminderDispatch. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {EmployeeUploadReminderDispatchGroupByArgs} 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 EmployeeUploadReminderDispatchGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: EmployeeUploadReminderDispatchGroupByArgs['orderBy'] } : { orderBy?: EmployeeUploadReminderDispatchGroupByArgs['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 ? GetEmployeeUploadReminderDispatchGroupByPayload : Prisma.PrismaPromise /** * Fields of the EmployeeUploadReminderDispatch model */ readonly fields: EmployeeUploadReminderDispatchFieldRefs; } /** * The delegate class that acts as a "Promise-like" for EmployeeUploadReminderDispatch. * 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__EmployeeUploadReminderDispatchClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" reminder = {}>(args?: Prisma.Subset>): Prisma.Prisma__EmployeeUploadReminderClient, 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 EmployeeUploadReminderDispatch model */ export interface EmployeeUploadReminderDispatchFieldRefs { readonly id: Prisma.FieldRef<"EmployeeUploadReminderDispatch", 'String'> readonly createdAt: Prisma.FieldRef<"EmployeeUploadReminderDispatch", 'DateTime'> readonly updatedAt: Prisma.FieldRef<"EmployeeUploadReminderDispatch", 'DateTime'> readonly tenantId: Prisma.FieldRef<"EmployeeUploadReminderDispatch", 'String'> readonly reminderId: Prisma.FieldRef<"EmployeeUploadReminderDispatch", 'String'> readonly employeeUserId: Prisma.FieldRef<"EmployeeUploadReminderDispatch", 'String'> readonly dueAt: Prisma.FieldRef<"EmployeeUploadReminderDispatch", 'DateTime'> readonly status: Prisma.FieldRef<"EmployeeUploadReminderDispatch", 'HrReminderDispatchStatus'> readonly sentAt: Prisma.FieldRef<"EmployeeUploadReminderDispatch", 'DateTime'> readonly acknowledgedAt: Prisma.FieldRef<"EmployeeUploadReminderDispatch", 'DateTime'> readonly escalatedAt: Prisma.FieldRef<"EmployeeUploadReminderDispatch", 'DateTime'> } // Custom InputTypes /** * EmployeeUploadReminderDispatch findUnique */ export type EmployeeUploadReminderDispatchFindUniqueArgs = { /** * Select specific fields to fetch from the EmployeeUploadReminderDispatch */ select?: Prisma.EmployeeUploadReminderDispatchSelect | null /** * Omit specific fields from the EmployeeUploadReminderDispatch */ omit?: Prisma.EmployeeUploadReminderDispatchOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.EmployeeUploadReminderDispatchInclude | null /** * Filter, which EmployeeUploadReminderDispatch to fetch. */ where: Prisma.EmployeeUploadReminderDispatchWhereUniqueInput } /** * EmployeeUploadReminderDispatch findUniqueOrThrow */ export type EmployeeUploadReminderDispatchFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the EmployeeUploadReminderDispatch */ select?: Prisma.EmployeeUploadReminderDispatchSelect | null /** * Omit specific fields from the EmployeeUploadReminderDispatch */ omit?: Prisma.EmployeeUploadReminderDispatchOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.EmployeeUploadReminderDispatchInclude | null /** * Filter, which EmployeeUploadReminderDispatch to fetch. */ where: Prisma.EmployeeUploadReminderDispatchWhereUniqueInput } /** * EmployeeUploadReminderDispatch findFirst */ export type EmployeeUploadReminderDispatchFindFirstArgs = { /** * Select specific fields to fetch from the EmployeeUploadReminderDispatch */ select?: Prisma.EmployeeUploadReminderDispatchSelect | null /** * Omit specific fields from the EmployeeUploadReminderDispatch */ omit?: Prisma.EmployeeUploadReminderDispatchOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.EmployeeUploadReminderDispatchInclude | null /** * Filter, which EmployeeUploadReminderDispatch to fetch. */ where?: Prisma.EmployeeUploadReminderDispatchWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of EmployeeUploadReminderDispatches to fetch. */ orderBy?: Prisma.EmployeeUploadReminderDispatchOrderByWithRelationInput | Prisma.EmployeeUploadReminderDispatchOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for EmployeeUploadReminderDispatches. */ cursor?: Prisma.EmployeeUploadReminderDispatchWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` EmployeeUploadReminderDispatches 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` EmployeeUploadReminderDispatches. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of EmployeeUploadReminderDispatches. */ distinct?: Prisma.EmployeeUploadReminderDispatchScalarFieldEnum | Prisma.EmployeeUploadReminderDispatchScalarFieldEnum[] } /** * EmployeeUploadReminderDispatch findFirstOrThrow */ export type EmployeeUploadReminderDispatchFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the EmployeeUploadReminderDispatch */ select?: Prisma.EmployeeUploadReminderDispatchSelect | null /** * Omit specific fields from the EmployeeUploadReminderDispatch */ omit?: Prisma.EmployeeUploadReminderDispatchOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.EmployeeUploadReminderDispatchInclude | null /** * Filter, which EmployeeUploadReminderDispatch to fetch. */ where?: Prisma.EmployeeUploadReminderDispatchWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of EmployeeUploadReminderDispatches to fetch. */ orderBy?: Prisma.EmployeeUploadReminderDispatchOrderByWithRelationInput | Prisma.EmployeeUploadReminderDispatchOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for EmployeeUploadReminderDispatches. */ cursor?: Prisma.EmployeeUploadReminderDispatchWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` EmployeeUploadReminderDispatches 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` EmployeeUploadReminderDispatches. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of EmployeeUploadReminderDispatches. */ distinct?: Prisma.EmployeeUploadReminderDispatchScalarFieldEnum | Prisma.EmployeeUploadReminderDispatchScalarFieldEnum[] } /** * EmployeeUploadReminderDispatch findMany */ export type EmployeeUploadReminderDispatchFindManyArgs = { /** * Select specific fields to fetch from the EmployeeUploadReminderDispatch */ select?: Prisma.EmployeeUploadReminderDispatchSelect | null /** * Omit specific fields from the EmployeeUploadReminderDispatch */ omit?: Prisma.EmployeeUploadReminderDispatchOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.EmployeeUploadReminderDispatchInclude | null /** * Filter, which EmployeeUploadReminderDispatches to fetch. */ where?: Prisma.EmployeeUploadReminderDispatchWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of EmployeeUploadReminderDispatches to fetch. */ orderBy?: Prisma.EmployeeUploadReminderDispatchOrderByWithRelationInput | Prisma.EmployeeUploadReminderDispatchOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing EmployeeUploadReminderDispatches. */ cursor?: Prisma.EmployeeUploadReminderDispatchWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` EmployeeUploadReminderDispatches 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` EmployeeUploadReminderDispatches. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of EmployeeUploadReminderDispatches. */ distinct?: Prisma.EmployeeUploadReminderDispatchScalarFieldEnum | Prisma.EmployeeUploadReminderDispatchScalarFieldEnum[] } /** * EmployeeUploadReminderDispatch create */ export type EmployeeUploadReminderDispatchCreateArgs = { /** * Select specific fields to fetch from the EmployeeUploadReminderDispatch */ select?: Prisma.EmployeeUploadReminderDispatchSelect | null /** * Omit specific fields from the EmployeeUploadReminderDispatch */ omit?: Prisma.EmployeeUploadReminderDispatchOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.EmployeeUploadReminderDispatchInclude | null /** * The data needed to create a EmployeeUploadReminderDispatch. */ data: Prisma.XOR } /** * EmployeeUploadReminderDispatch createMany */ export type EmployeeUploadReminderDispatchCreateManyArgs = { /** * The data used to create many EmployeeUploadReminderDispatches. */ data: Prisma.EmployeeUploadReminderDispatchCreateManyInput | Prisma.EmployeeUploadReminderDispatchCreateManyInput[] skipDuplicates?: boolean } /** * EmployeeUploadReminderDispatch createManyAndReturn */ export type EmployeeUploadReminderDispatchCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the EmployeeUploadReminderDispatch */ select?: Prisma.EmployeeUploadReminderDispatchSelectCreateManyAndReturn | null /** * Omit specific fields from the EmployeeUploadReminderDispatch */ omit?: Prisma.EmployeeUploadReminderDispatchOmit | null /** * The data used to create many EmployeeUploadReminderDispatches. */ data: Prisma.EmployeeUploadReminderDispatchCreateManyInput | Prisma.EmployeeUploadReminderDispatchCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: Prisma.EmployeeUploadReminderDispatchIncludeCreateManyAndReturn | null } /** * EmployeeUploadReminderDispatch update */ export type EmployeeUploadReminderDispatchUpdateArgs = { /** * Select specific fields to fetch from the EmployeeUploadReminderDispatch */ select?: Prisma.EmployeeUploadReminderDispatchSelect | null /** * Omit specific fields from the EmployeeUploadReminderDispatch */ omit?: Prisma.EmployeeUploadReminderDispatchOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.EmployeeUploadReminderDispatchInclude | null /** * The data needed to update a EmployeeUploadReminderDispatch. */ data: Prisma.XOR /** * Choose, which EmployeeUploadReminderDispatch to update. */ where: Prisma.EmployeeUploadReminderDispatchWhereUniqueInput } /** * EmployeeUploadReminderDispatch updateMany */ export type EmployeeUploadReminderDispatchUpdateManyArgs = { /** * The data used to update EmployeeUploadReminderDispatches. */ data: Prisma.XOR /** * Filter which EmployeeUploadReminderDispatches to update */ where?: Prisma.EmployeeUploadReminderDispatchWhereInput /** * Limit how many EmployeeUploadReminderDispatches to update. */ limit?: number } /** * EmployeeUploadReminderDispatch updateManyAndReturn */ export type EmployeeUploadReminderDispatchUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the EmployeeUploadReminderDispatch */ select?: Prisma.EmployeeUploadReminderDispatchSelectUpdateManyAndReturn | null /** * Omit specific fields from the EmployeeUploadReminderDispatch */ omit?: Prisma.EmployeeUploadReminderDispatchOmit | null /** * The data used to update EmployeeUploadReminderDispatches. */ data: Prisma.XOR /** * Filter which EmployeeUploadReminderDispatches to update */ where?: Prisma.EmployeeUploadReminderDispatchWhereInput /** * Limit how many EmployeeUploadReminderDispatches to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: Prisma.EmployeeUploadReminderDispatchIncludeUpdateManyAndReturn | null } /** * EmployeeUploadReminderDispatch upsert */ export type EmployeeUploadReminderDispatchUpsertArgs = { /** * Select specific fields to fetch from the EmployeeUploadReminderDispatch */ select?: Prisma.EmployeeUploadReminderDispatchSelect | null /** * Omit specific fields from the EmployeeUploadReminderDispatch */ omit?: Prisma.EmployeeUploadReminderDispatchOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.EmployeeUploadReminderDispatchInclude | null /** * The filter to search for the EmployeeUploadReminderDispatch to update in case it exists. */ where: Prisma.EmployeeUploadReminderDispatchWhereUniqueInput /** * In case the EmployeeUploadReminderDispatch found by the `where` argument doesn't exist, create a new EmployeeUploadReminderDispatch with this data. */ create: Prisma.XOR /** * In case the EmployeeUploadReminderDispatch was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * EmployeeUploadReminderDispatch delete */ export type EmployeeUploadReminderDispatchDeleteArgs = { /** * Select specific fields to fetch from the EmployeeUploadReminderDispatch */ select?: Prisma.EmployeeUploadReminderDispatchSelect | null /** * Omit specific fields from the EmployeeUploadReminderDispatch */ omit?: Prisma.EmployeeUploadReminderDispatchOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.EmployeeUploadReminderDispatchInclude | null /** * Filter which EmployeeUploadReminderDispatch to delete. */ where: Prisma.EmployeeUploadReminderDispatchWhereUniqueInput } /** * EmployeeUploadReminderDispatch deleteMany */ export type EmployeeUploadReminderDispatchDeleteManyArgs = { /** * Filter which EmployeeUploadReminderDispatches to delete */ where?: Prisma.EmployeeUploadReminderDispatchWhereInput /** * Limit how many EmployeeUploadReminderDispatches to delete. */ limit?: number } /** * EmployeeUploadReminderDispatch without action */ export type EmployeeUploadReminderDispatchDefaultArgs = { /** * Select specific fields to fetch from the EmployeeUploadReminderDispatch */ select?: Prisma.EmployeeUploadReminderDispatchSelect | null /** * Omit specific fields from the EmployeeUploadReminderDispatch */ omit?: Prisma.EmployeeUploadReminderDispatchOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.EmployeeUploadReminderDispatchInclude | null }