1568 lines
72 KiB
TypeScript
1568 lines
72 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 `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<Prisma.$EmployeeUploadReminderDispatchPayload>
|
|
|
|
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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* 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<T extends EmployeeUploadReminderDispatchAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateEmployeeUploadReminderDispatch]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateEmployeeUploadReminderDispatch[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateEmployeeUploadReminderDispatch[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type EmployeeUploadReminderDispatchGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
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<T extends EmployeeUploadReminderDispatchGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<EmployeeUploadReminderDispatchGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof EmployeeUploadReminderDispatchGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], EmployeeUploadReminderDispatchGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], EmployeeUploadReminderDispatchGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
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<Prisma.EmployeeUploadReminderScalarRelationFilter, Prisma.EmployeeUploadReminderWhereInput>
|
|
}
|
|
|
|
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<Prisma.EmployeeUploadReminderScalarRelationFilter, Prisma.EmployeeUploadReminderWhereInput>
|
|
}, "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> | 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> | 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> | 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> | 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<Prisma.EmployeeUploadReminderDispatchCreateWithoutReminderInput, Prisma.EmployeeUploadReminderDispatchUncheckedCreateWithoutReminderInput>
|
|
}
|
|
|
|
export type EmployeeUploadReminderDispatchCreateManyReminderInputEnvelope = {
|
|
data: Prisma.EmployeeUploadReminderDispatchCreateManyReminderInput | Prisma.EmployeeUploadReminderDispatchCreateManyReminderInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type EmployeeUploadReminderDispatchUpsertWithWhereUniqueWithoutReminderInput = {
|
|
where: Prisma.EmployeeUploadReminderDispatchWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.EmployeeUploadReminderDispatchUpdateWithoutReminderInput, Prisma.EmployeeUploadReminderDispatchUncheckedUpdateWithoutReminderInput>
|
|
create: Prisma.XOR<Prisma.EmployeeUploadReminderDispatchCreateWithoutReminderInput, Prisma.EmployeeUploadReminderDispatchUncheckedCreateWithoutReminderInput>
|
|
}
|
|
|
|
export type EmployeeUploadReminderDispatchUpdateWithWhereUniqueWithoutReminderInput = {
|
|
where: Prisma.EmployeeUploadReminderDispatchWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.EmployeeUploadReminderDispatchUpdateWithoutReminderInput, Prisma.EmployeeUploadReminderDispatchUncheckedUpdateWithoutReminderInput>
|
|
}
|
|
|
|
export type EmployeeUploadReminderDispatchUpdateManyWithWhereWithoutReminderInput = {
|
|
where: Prisma.EmployeeUploadReminderDispatchScalarWhereInput
|
|
data: Prisma.XOR<Prisma.EmployeeUploadReminderDispatchUpdateManyMutationInput, Prisma.EmployeeUploadReminderDispatchUncheckedUpdateManyWithoutReminderInput>
|
|
}
|
|
|
|
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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = 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>
|
|
}, ExtArgs["result"]["employeeUploadReminderDispatch"]>
|
|
|
|
export type EmployeeUploadReminderDispatchSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = 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>
|
|
}, ExtArgs["result"]["employeeUploadReminderDispatch"]>
|
|
|
|
export type EmployeeUploadReminderDispatchSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = 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>
|
|
}, 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "tenantId" | "reminderId" | "employeeUserId" | "dueAt" | "status" | "sentAt" | "acknowledgedAt" | "escalatedAt", ExtArgs["result"]["employeeUploadReminderDispatch"]>
|
|
export type EmployeeUploadReminderDispatchInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
reminder?: boolean | Prisma.EmployeeUploadReminderDefaultArgs<ExtArgs>
|
|
}
|
|
export type EmployeeUploadReminderDispatchIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
reminder?: boolean | Prisma.EmployeeUploadReminderDefaultArgs<ExtArgs>
|
|
}
|
|
export type EmployeeUploadReminderDispatchIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
reminder?: boolean | Prisma.EmployeeUploadReminderDefaultArgs<ExtArgs>
|
|
}
|
|
|
|
export type $EmployeeUploadReminderDispatchPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "EmployeeUploadReminderDispatch"
|
|
objects: {
|
|
reminder: Prisma.$EmployeeUploadReminderPayload<ExtArgs>
|
|
}
|
|
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<S extends boolean | null | undefined | EmployeeUploadReminderDispatchDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$EmployeeUploadReminderDispatchPayload, S>
|
|
|
|
export type EmployeeUploadReminderDispatchCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<EmployeeUploadReminderDispatchFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: EmployeeUploadReminderDispatchCountAggregateInputType | true
|
|
}
|
|
|
|
export interface EmployeeUploadReminderDispatchDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['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<T extends EmployeeUploadReminderDispatchFindUniqueArgs>(args: Prisma.SelectSubset<T, EmployeeUploadReminderDispatchFindUniqueArgs<ExtArgs>>): Prisma.Prisma__EmployeeUploadReminderDispatchClient<runtime.Types.Result.GetResult<Prisma.$EmployeeUploadReminderDispatchPayload<ExtArgs>, 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<T extends EmployeeUploadReminderDispatchFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, EmployeeUploadReminderDispatchFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__EmployeeUploadReminderDispatchClient<runtime.Types.Result.GetResult<Prisma.$EmployeeUploadReminderDispatchPayload<ExtArgs>, 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<T extends EmployeeUploadReminderDispatchFindFirstArgs>(args?: Prisma.SelectSubset<T, EmployeeUploadReminderDispatchFindFirstArgs<ExtArgs>>): Prisma.Prisma__EmployeeUploadReminderDispatchClient<runtime.Types.Result.GetResult<Prisma.$EmployeeUploadReminderDispatchPayload<ExtArgs>, 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<T extends EmployeeUploadReminderDispatchFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, EmployeeUploadReminderDispatchFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__EmployeeUploadReminderDispatchClient<runtime.Types.Result.GetResult<Prisma.$EmployeeUploadReminderDispatchPayload<ExtArgs>, 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<T extends EmployeeUploadReminderDispatchFindManyArgs>(args?: Prisma.SelectSubset<T, EmployeeUploadReminderDispatchFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EmployeeUploadReminderDispatchPayload<ExtArgs>, 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<T extends EmployeeUploadReminderDispatchCreateArgs>(args: Prisma.SelectSubset<T, EmployeeUploadReminderDispatchCreateArgs<ExtArgs>>): Prisma.Prisma__EmployeeUploadReminderDispatchClient<runtime.Types.Result.GetResult<Prisma.$EmployeeUploadReminderDispatchPayload<ExtArgs>, 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<T extends EmployeeUploadReminderDispatchCreateManyArgs>(args?: Prisma.SelectSubset<T, EmployeeUploadReminderDispatchCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends EmployeeUploadReminderDispatchCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, EmployeeUploadReminderDispatchCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EmployeeUploadReminderDispatchPayload<ExtArgs>, 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<T extends EmployeeUploadReminderDispatchDeleteArgs>(args: Prisma.SelectSubset<T, EmployeeUploadReminderDispatchDeleteArgs<ExtArgs>>): Prisma.Prisma__EmployeeUploadReminderDispatchClient<runtime.Types.Result.GetResult<Prisma.$EmployeeUploadReminderDispatchPayload<ExtArgs>, 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<T extends EmployeeUploadReminderDispatchUpdateArgs>(args: Prisma.SelectSubset<T, EmployeeUploadReminderDispatchUpdateArgs<ExtArgs>>): Prisma.Prisma__EmployeeUploadReminderDispatchClient<runtime.Types.Result.GetResult<Prisma.$EmployeeUploadReminderDispatchPayload<ExtArgs>, 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<T extends EmployeeUploadReminderDispatchDeleteManyArgs>(args?: Prisma.SelectSubset<T, EmployeeUploadReminderDispatchDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends EmployeeUploadReminderDispatchUpdateManyArgs>(args: Prisma.SelectSubset<T, EmployeeUploadReminderDispatchUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends EmployeeUploadReminderDispatchUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, EmployeeUploadReminderDispatchUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EmployeeUploadReminderDispatchPayload<ExtArgs>, 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<T extends EmployeeUploadReminderDispatchUpsertArgs>(args: Prisma.SelectSubset<T, EmployeeUploadReminderDispatchUpsertArgs<ExtArgs>>): Prisma.Prisma__EmployeeUploadReminderDispatchClient<runtime.Types.Result.GetResult<Prisma.$EmployeeUploadReminderDispatchPayload<ExtArgs>, 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<T extends EmployeeUploadReminderDispatchCountArgs>(
|
|
args?: Prisma.Subset<T, EmployeeUploadReminderDispatchCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], EmployeeUploadReminderDispatchCountAggregateOutputType>
|
|
: 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<T extends EmployeeUploadReminderDispatchAggregateArgs>(args: Prisma.Subset<T, EmployeeUploadReminderDispatchAggregateArgs>): Prisma.PrismaPromise<GetEmployeeUploadReminderDispatchAggregateType<T>>
|
|
|
|
/**
|
|
* 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<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: EmployeeUploadReminderDispatchGroupByArgs['orderBy'] }
|
|
: { orderBy?: EmployeeUploadReminderDispatchGroupByArgs['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, EmployeeUploadReminderDispatchGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetEmployeeUploadReminderDispatchGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* 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<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
reminder<T extends Prisma.EmployeeUploadReminderDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.EmployeeUploadReminderDefaultArgs<ExtArgs>>): Prisma.Prisma__EmployeeUploadReminderClient<runtime.Types.Result.GetResult<Prisma.$EmployeeUploadReminderPayload<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 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EmployeeUploadReminderDispatch
|
|
*/
|
|
select?: Prisma.EmployeeUploadReminderDispatchSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EmployeeUploadReminderDispatch
|
|
*/
|
|
omit?: Prisma.EmployeeUploadReminderDispatchOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EmployeeUploadReminderDispatchInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which EmployeeUploadReminderDispatch to fetch.
|
|
*/
|
|
where: Prisma.EmployeeUploadReminderDispatchWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* EmployeeUploadReminderDispatch findUniqueOrThrow
|
|
*/
|
|
export type EmployeeUploadReminderDispatchFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EmployeeUploadReminderDispatch
|
|
*/
|
|
select?: Prisma.EmployeeUploadReminderDispatchSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EmployeeUploadReminderDispatch
|
|
*/
|
|
omit?: Prisma.EmployeeUploadReminderDispatchOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EmployeeUploadReminderDispatchInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which EmployeeUploadReminderDispatch to fetch.
|
|
*/
|
|
where: Prisma.EmployeeUploadReminderDispatchWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* EmployeeUploadReminderDispatch findFirst
|
|
*/
|
|
export type EmployeeUploadReminderDispatchFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EmployeeUploadReminderDispatch
|
|
*/
|
|
select?: Prisma.EmployeeUploadReminderDispatchSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EmployeeUploadReminderDispatch
|
|
*/
|
|
omit?: Prisma.EmployeeUploadReminderDispatchOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EmployeeUploadReminderDispatchInclude<ExtArgs> | 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EmployeeUploadReminderDispatch
|
|
*/
|
|
select?: Prisma.EmployeeUploadReminderDispatchSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EmployeeUploadReminderDispatch
|
|
*/
|
|
omit?: Prisma.EmployeeUploadReminderDispatchOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EmployeeUploadReminderDispatchInclude<ExtArgs> | 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EmployeeUploadReminderDispatch
|
|
*/
|
|
select?: Prisma.EmployeeUploadReminderDispatchSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EmployeeUploadReminderDispatch
|
|
*/
|
|
omit?: Prisma.EmployeeUploadReminderDispatchOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EmployeeUploadReminderDispatchInclude<ExtArgs> | 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EmployeeUploadReminderDispatch
|
|
*/
|
|
select?: Prisma.EmployeeUploadReminderDispatchSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EmployeeUploadReminderDispatch
|
|
*/
|
|
omit?: Prisma.EmployeeUploadReminderDispatchOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EmployeeUploadReminderDispatchInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a EmployeeUploadReminderDispatch.
|
|
*/
|
|
data: Prisma.XOR<Prisma.EmployeeUploadReminderDispatchCreateInput, Prisma.EmployeeUploadReminderDispatchUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* EmployeeUploadReminderDispatch createMany
|
|
*/
|
|
export type EmployeeUploadReminderDispatchCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many EmployeeUploadReminderDispatches.
|
|
*/
|
|
data: Prisma.EmployeeUploadReminderDispatchCreateManyInput | Prisma.EmployeeUploadReminderDispatchCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* EmployeeUploadReminderDispatch createManyAndReturn
|
|
*/
|
|
export type EmployeeUploadReminderDispatchCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EmployeeUploadReminderDispatch
|
|
*/
|
|
select?: Prisma.EmployeeUploadReminderDispatchSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EmployeeUploadReminderDispatch
|
|
*/
|
|
omit?: Prisma.EmployeeUploadReminderDispatchOmit<ExtArgs> | 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<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* EmployeeUploadReminderDispatch update
|
|
*/
|
|
export type EmployeeUploadReminderDispatchUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EmployeeUploadReminderDispatch
|
|
*/
|
|
select?: Prisma.EmployeeUploadReminderDispatchSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EmployeeUploadReminderDispatch
|
|
*/
|
|
omit?: Prisma.EmployeeUploadReminderDispatchOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EmployeeUploadReminderDispatchInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a EmployeeUploadReminderDispatch.
|
|
*/
|
|
data: Prisma.XOR<Prisma.EmployeeUploadReminderDispatchUpdateInput, Prisma.EmployeeUploadReminderDispatchUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which EmployeeUploadReminderDispatch to update.
|
|
*/
|
|
where: Prisma.EmployeeUploadReminderDispatchWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* EmployeeUploadReminderDispatch updateMany
|
|
*/
|
|
export type EmployeeUploadReminderDispatchUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update EmployeeUploadReminderDispatches.
|
|
*/
|
|
data: Prisma.XOR<Prisma.EmployeeUploadReminderDispatchUpdateManyMutationInput, Prisma.EmployeeUploadReminderDispatchUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which EmployeeUploadReminderDispatches to update
|
|
*/
|
|
where?: Prisma.EmployeeUploadReminderDispatchWhereInput
|
|
/**
|
|
* Limit how many EmployeeUploadReminderDispatches to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* EmployeeUploadReminderDispatch updateManyAndReturn
|
|
*/
|
|
export type EmployeeUploadReminderDispatchUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EmployeeUploadReminderDispatch
|
|
*/
|
|
select?: Prisma.EmployeeUploadReminderDispatchSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EmployeeUploadReminderDispatch
|
|
*/
|
|
omit?: Prisma.EmployeeUploadReminderDispatchOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update EmployeeUploadReminderDispatches.
|
|
*/
|
|
data: Prisma.XOR<Prisma.EmployeeUploadReminderDispatchUpdateManyMutationInput, Prisma.EmployeeUploadReminderDispatchUncheckedUpdateManyInput>
|
|
/**
|
|
* 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<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* EmployeeUploadReminderDispatch upsert
|
|
*/
|
|
export type EmployeeUploadReminderDispatchUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EmployeeUploadReminderDispatch
|
|
*/
|
|
select?: Prisma.EmployeeUploadReminderDispatchSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EmployeeUploadReminderDispatch
|
|
*/
|
|
omit?: Prisma.EmployeeUploadReminderDispatchOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EmployeeUploadReminderDispatchInclude<ExtArgs> | 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<Prisma.EmployeeUploadReminderDispatchCreateInput, Prisma.EmployeeUploadReminderDispatchUncheckedCreateInput>
|
|
/**
|
|
* In case the EmployeeUploadReminderDispatch was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.EmployeeUploadReminderDispatchUpdateInput, Prisma.EmployeeUploadReminderDispatchUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* EmployeeUploadReminderDispatch delete
|
|
*/
|
|
export type EmployeeUploadReminderDispatchDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EmployeeUploadReminderDispatch
|
|
*/
|
|
select?: Prisma.EmployeeUploadReminderDispatchSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EmployeeUploadReminderDispatch
|
|
*/
|
|
omit?: Prisma.EmployeeUploadReminderDispatchOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EmployeeUploadReminderDispatchInclude<ExtArgs> | null
|
|
/**
|
|
* Filter which EmployeeUploadReminderDispatch to delete.
|
|
*/
|
|
where: Prisma.EmployeeUploadReminderDispatchWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* EmployeeUploadReminderDispatch deleteMany
|
|
*/
|
|
export type EmployeeUploadReminderDispatchDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which EmployeeUploadReminderDispatches to delete
|
|
*/
|
|
where?: Prisma.EmployeeUploadReminderDispatchWhereInput
|
|
/**
|
|
* Limit how many EmployeeUploadReminderDispatches to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* EmployeeUploadReminderDispatch without action
|
|
*/
|
|
export type EmployeeUploadReminderDispatchDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EmployeeUploadReminderDispatch
|
|
*/
|
|
select?: Prisma.EmployeeUploadReminderDispatchSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EmployeeUploadReminderDispatch
|
|
*/
|
|
omit?: Prisma.EmployeeUploadReminderDispatchOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EmployeeUploadReminderDispatchInclude<ExtArgs> | null
|
|
}
|