/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `EmployeeUploadReminder` 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 EmployeeUploadReminder * An upload-reminder definition: ask a targeted audience to upload a document * of a given kind on a cadence, optionally mandatory and escalating to the * manager when overdue. `linkedFormId` (M05) stays null until AK-P16c. * Soft-delete via `archivedAt`. */ export type EmployeeUploadReminderModel = runtime.Types.Result.DefaultSelection export type AggregateEmployeeUploadReminder = { _count: EmployeeUploadReminderCountAggregateOutputType | null _avg: EmployeeUploadReminderAvgAggregateOutputType | null _sum: EmployeeUploadReminderSumAggregateOutputType | null _min: EmployeeUploadReminderMinAggregateOutputType | null _max: EmployeeUploadReminderMaxAggregateOutputType | null } export type EmployeeUploadReminderAvgAggregateOutputType = { intervalMonths: number | null } export type EmployeeUploadReminderSumAggregateOutputType = { intervalMonths: number | null } export type EmployeeUploadReminderMinAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null tenantId: string | null title: string | null documentKind: $Enums.HrDocumentKind | null cadenceKind: $Enums.HrReminderCadenceKind | null intervalMonths: number | null audienceKind: $Enums.HrAudienceKind | null audienceRef: string | null mandatory: boolean | null escalateToManager: boolean | null linkedFormId: string | null dueAt: Date | null status: $Enums.HrReminderStatus | null isDemoData: boolean | null archivedAt: Date | null } export type EmployeeUploadReminderMaxAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null tenantId: string | null title: string | null documentKind: $Enums.HrDocumentKind | null cadenceKind: $Enums.HrReminderCadenceKind | null intervalMonths: number | null audienceKind: $Enums.HrAudienceKind | null audienceRef: string | null mandatory: boolean | null escalateToManager: boolean | null linkedFormId: string | null dueAt: Date | null status: $Enums.HrReminderStatus | null isDemoData: boolean | null archivedAt: Date | null } export type EmployeeUploadReminderCountAggregateOutputType = { id: number createdAt: number updatedAt: number tenantId: number title: number documentKind: number cadenceKind: number intervalMonths: number audienceKind: number audienceRef: number mandatory: number escalateToManager: number linkedFormId: number dueAt: number status: number isDemoData: number archivedAt: number _all: number } export type EmployeeUploadReminderAvgAggregateInputType = { intervalMonths?: true } export type EmployeeUploadReminderSumAggregateInputType = { intervalMonths?: true } export type EmployeeUploadReminderMinAggregateInputType = { id?: true createdAt?: true updatedAt?: true tenantId?: true title?: true documentKind?: true cadenceKind?: true intervalMonths?: true audienceKind?: true audienceRef?: true mandatory?: true escalateToManager?: true linkedFormId?: true dueAt?: true status?: true isDemoData?: true archivedAt?: true } export type EmployeeUploadReminderMaxAggregateInputType = { id?: true createdAt?: true updatedAt?: true tenantId?: true title?: true documentKind?: true cadenceKind?: true intervalMonths?: true audienceKind?: true audienceRef?: true mandatory?: true escalateToManager?: true linkedFormId?: true dueAt?: true status?: true isDemoData?: true archivedAt?: true } export type EmployeeUploadReminderCountAggregateInputType = { id?: true createdAt?: true updatedAt?: true tenantId?: true title?: true documentKind?: true cadenceKind?: true intervalMonths?: true audienceKind?: true audienceRef?: true mandatory?: true escalateToManager?: true linkedFormId?: true dueAt?: true status?: true isDemoData?: true archivedAt?: true _all?: true } export type EmployeeUploadReminderAggregateArgs = { /** * Filter which EmployeeUploadReminder to aggregate. */ where?: Prisma.EmployeeUploadReminderWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of EmployeeUploadReminders to fetch. */ orderBy?: Prisma.EmployeeUploadReminderOrderByWithRelationInput | Prisma.EmployeeUploadReminderOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.EmployeeUploadReminderWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` EmployeeUploadReminders 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` EmployeeUploadReminders. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned EmployeeUploadReminders **/ _count?: true | EmployeeUploadReminderCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: EmployeeUploadReminderAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: EmployeeUploadReminderSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: EmployeeUploadReminderMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: EmployeeUploadReminderMaxAggregateInputType } export type GetEmployeeUploadReminderAggregateType = { [P in keyof T & keyof AggregateEmployeeUploadReminder]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type EmployeeUploadReminderGroupByArgs = { where?: Prisma.EmployeeUploadReminderWhereInput orderBy?: Prisma.EmployeeUploadReminderOrderByWithAggregationInput | Prisma.EmployeeUploadReminderOrderByWithAggregationInput[] by: Prisma.EmployeeUploadReminderScalarFieldEnum[] | Prisma.EmployeeUploadReminderScalarFieldEnum having?: Prisma.EmployeeUploadReminderScalarWhereWithAggregatesInput take?: number skip?: number _count?: EmployeeUploadReminderCountAggregateInputType | true _avg?: EmployeeUploadReminderAvgAggregateInputType _sum?: EmployeeUploadReminderSumAggregateInputType _min?: EmployeeUploadReminderMinAggregateInputType _max?: EmployeeUploadReminderMaxAggregateInputType } export type EmployeeUploadReminderGroupByOutputType = { id: string createdAt: Date updatedAt: Date tenantId: string title: string documentKind: $Enums.HrDocumentKind cadenceKind: $Enums.HrReminderCadenceKind intervalMonths: number | null audienceKind: $Enums.HrAudienceKind audienceRef: string | null mandatory: boolean escalateToManager: boolean linkedFormId: string | null dueAt: Date | null status: $Enums.HrReminderStatus isDemoData: boolean archivedAt: Date | null _count: EmployeeUploadReminderCountAggregateOutputType | null _avg: EmployeeUploadReminderAvgAggregateOutputType | null _sum: EmployeeUploadReminderSumAggregateOutputType | null _min: EmployeeUploadReminderMinAggregateOutputType | null _max: EmployeeUploadReminderMaxAggregateOutputType | null } export type GetEmployeeUploadReminderGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof EmployeeUploadReminderGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type EmployeeUploadReminderWhereInput = { AND?: Prisma.EmployeeUploadReminderWhereInput | Prisma.EmployeeUploadReminderWhereInput[] OR?: Prisma.EmployeeUploadReminderWhereInput[] NOT?: Prisma.EmployeeUploadReminderWhereInput | Prisma.EmployeeUploadReminderWhereInput[] id?: Prisma.StringFilter<"EmployeeUploadReminder"> | string createdAt?: Prisma.DateTimeFilter<"EmployeeUploadReminder"> | Date | string updatedAt?: Prisma.DateTimeFilter<"EmployeeUploadReminder"> | Date | string tenantId?: Prisma.StringFilter<"EmployeeUploadReminder"> | string title?: Prisma.StringFilter<"EmployeeUploadReminder"> | string documentKind?: Prisma.EnumHrDocumentKindFilter<"EmployeeUploadReminder"> | $Enums.HrDocumentKind cadenceKind?: Prisma.EnumHrReminderCadenceKindFilter<"EmployeeUploadReminder"> | $Enums.HrReminderCadenceKind intervalMonths?: Prisma.IntNullableFilter<"EmployeeUploadReminder"> | number | null audienceKind?: Prisma.EnumHrAudienceKindFilter<"EmployeeUploadReminder"> | $Enums.HrAudienceKind audienceRef?: Prisma.StringNullableFilter<"EmployeeUploadReminder"> | string | null mandatory?: Prisma.BoolFilter<"EmployeeUploadReminder"> | boolean escalateToManager?: Prisma.BoolFilter<"EmployeeUploadReminder"> | boolean linkedFormId?: Prisma.StringNullableFilter<"EmployeeUploadReminder"> | string | null dueAt?: Prisma.DateTimeNullableFilter<"EmployeeUploadReminder"> | Date | string | null status?: Prisma.EnumHrReminderStatusFilter<"EmployeeUploadReminder"> | $Enums.HrReminderStatus isDemoData?: Prisma.BoolFilter<"EmployeeUploadReminder"> | boolean archivedAt?: Prisma.DateTimeNullableFilter<"EmployeeUploadReminder"> | Date | string | null dispatches?: Prisma.EmployeeUploadReminderDispatchListRelationFilter } export type EmployeeUploadReminderOrderByWithRelationInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder tenantId?: Prisma.SortOrder title?: Prisma.SortOrder documentKind?: Prisma.SortOrder cadenceKind?: Prisma.SortOrder intervalMonths?: Prisma.SortOrderInput | Prisma.SortOrder audienceKind?: Prisma.SortOrder audienceRef?: Prisma.SortOrderInput | Prisma.SortOrder mandatory?: Prisma.SortOrder escalateToManager?: Prisma.SortOrder linkedFormId?: Prisma.SortOrderInput | Prisma.SortOrder dueAt?: Prisma.SortOrderInput | Prisma.SortOrder status?: Prisma.SortOrder isDemoData?: Prisma.SortOrder archivedAt?: Prisma.SortOrderInput | Prisma.SortOrder dispatches?: Prisma.EmployeeUploadReminderDispatchOrderByRelationAggregateInput } export type EmployeeUploadReminderWhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: Prisma.EmployeeUploadReminderWhereInput | Prisma.EmployeeUploadReminderWhereInput[] OR?: Prisma.EmployeeUploadReminderWhereInput[] NOT?: Prisma.EmployeeUploadReminderWhereInput | Prisma.EmployeeUploadReminderWhereInput[] createdAt?: Prisma.DateTimeFilter<"EmployeeUploadReminder"> | Date | string updatedAt?: Prisma.DateTimeFilter<"EmployeeUploadReminder"> | Date | string tenantId?: Prisma.StringFilter<"EmployeeUploadReminder"> | string title?: Prisma.StringFilter<"EmployeeUploadReminder"> | string documentKind?: Prisma.EnumHrDocumentKindFilter<"EmployeeUploadReminder"> | $Enums.HrDocumentKind cadenceKind?: Prisma.EnumHrReminderCadenceKindFilter<"EmployeeUploadReminder"> | $Enums.HrReminderCadenceKind intervalMonths?: Prisma.IntNullableFilter<"EmployeeUploadReminder"> | number | null audienceKind?: Prisma.EnumHrAudienceKindFilter<"EmployeeUploadReminder"> | $Enums.HrAudienceKind audienceRef?: Prisma.StringNullableFilter<"EmployeeUploadReminder"> | string | null mandatory?: Prisma.BoolFilter<"EmployeeUploadReminder"> | boolean escalateToManager?: Prisma.BoolFilter<"EmployeeUploadReminder"> | boolean linkedFormId?: Prisma.StringNullableFilter<"EmployeeUploadReminder"> | string | null dueAt?: Prisma.DateTimeNullableFilter<"EmployeeUploadReminder"> | Date | string | null status?: Prisma.EnumHrReminderStatusFilter<"EmployeeUploadReminder"> | $Enums.HrReminderStatus isDemoData?: Prisma.BoolFilter<"EmployeeUploadReminder"> | boolean archivedAt?: Prisma.DateTimeNullableFilter<"EmployeeUploadReminder"> | Date | string | null dispatches?: Prisma.EmployeeUploadReminderDispatchListRelationFilter }, "id"> export type EmployeeUploadReminderOrderByWithAggregationInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder tenantId?: Prisma.SortOrder title?: Prisma.SortOrder documentKind?: Prisma.SortOrder cadenceKind?: Prisma.SortOrder intervalMonths?: Prisma.SortOrderInput | Prisma.SortOrder audienceKind?: Prisma.SortOrder audienceRef?: Prisma.SortOrderInput | Prisma.SortOrder mandatory?: Prisma.SortOrder escalateToManager?: Prisma.SortOrder linkedFormId?: Prisma.SortOrderInput | Prisma.SortOrder dueAt?: Prisma.SortOrderInput | Prisma.SortOrder status?: Prisma.SortOrder isDemoData?: Prisma.SortOrder archivedAt?: Prisma.SortOrderInput | Prisma.SortOrder _count?: Prisma.EmployeeUploadReminderCountOrderByAggregateInput _avg?: Prisma.EmployeeUploadReminderAvgOrderByAggregateInput _max?: Prisma.EmployeeUploadReminderMaxOrderByAggregateInput _min?: Prisma.EmployeeUploadReminderMinOrderByAggregateInput _sum?: Prisma.EmployeeUploadReminderSumOrderByAggregateInput } export type EmployeeUploadReminderScalarWhereWithAggregatesInput = { AND?: Prisma.EmployeeUploadReminderScalarWhereWithAggregatesInput | Prisma.EmployeeUploadReminderScalarWhereWithAggregatesInput[] OR?: Prisma.EmployeeUploadReminderScalarWhereWithAggregatesInput[] NOT?: Prisma.EmployeeUploadReminderScalarWhereWithAggregatesInput | Prisma.EmployeeUploadReminderScalarWhereWithAggregatesInput[] id?: Prisma.StringWithAggregatesFilter<"EmployeeUploadReminder"> | string createdAt?: Prisma.DateTimeWithAggregatesFilter<"EmployeeUploadReminder"> | Date | string updatedAt?: Prisma.DateTimeWithAggregatesFilter<"EmployeeUploadReminder"> | Date | string tenantId?: Prisma.StringWithAggregatesFilter<"EmployeeUploadReminder"> | string title?: Prisma.StringWithAggregatesFilter<"EmployeeUploadReminder"> | string documentKind?: Prisma.EnumHrDocumentKindWithAggregatesFilter<"EmployeeUploadReminder"> | $Enums.HrDocumentKind cadenceKind?: Prisma.EnumHrReminderCadenceKindWithAggregatesFilter<"EmployeeUploadReminder"> | $Enums.HrReminderCadenceKind intervalMonths?: Prisma.IntNullableWithAggregatesFilter<"EmployeeUploadReminder"> | number | null audienceKind?: Prisma.EnumHrAudienceKindWithAggregatesFilter<"EmployeeUploadReminder"> | $Enums.HrAudienceKind audienceRef?: Prisma.StringNullableWithAggregatesFilter<"EmployeeUploadReminder"> | string | null mandatory?: Prisma.BoolWithAggregatesFilter<"EmployeeUploadReminder"> | boolean escalateToManager?: Prisma.BoolWithAggregatesFilter<"EmployeeUploadReminder"> | boolean linkedFormId?: Prisma.StringNullableWithAggregatesFilter<"EmployeeUploadReminder"> | string | null dueAt?: Prisma.DateTimeNullableWithAggregatesFilter<"EmployeeUploadReminder"> | Date | string | null status?: Prisma.EnumHrReminderStatusWithAggregatesFilter<"EmployeeUploadReminder"> | $Enums.HrReminderStatus isDemoData?: Prisma.BoolWithAggregatesFilter<"EmployeeUploadReminder"> | boolean archivedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"EmployeeUploadReminder"> | Date | string | null } export type EmployeeUploadReminderCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string tenantId: string title: string documentKind?: $Enums.HrDocumentKind cadenceKind?: $Enums.HrReminderCadenceKind intervalMonths?: number | null audienceKind?: $Enums.HrAudienceKind audienceRef?: string | null mandatory?: boolean escalateToManager?: boolean linkedFormId?: string | null dueAt?: Date | string | null status?: $Enums.HrReminderStatus isDemoData?: boolean archivedAt?: Date | string | null dispatches?: Prisma.EmployeeUploadReminderDispatchCreateNestedManyWithoutReminderInput } export type EmployeeUploadReminderUncheckedCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string tenantId: string title: string documentKind?: $Enums.HrDocumentKind cadenceKind?: $Enums.HrReminderCadenceKind intervalMonths?: number | null audienceKind?: $Enums.HrAudienceKind audienceRef?: string | null mandatory?: boolean escalateToManager?: boolean linkedFormId?: string | null dueAt?: Date | string | null status?: $Enums.HrReminderStatus isDemoData?: boolean archivedAt?: Date | string | null dispatches?: Prisma.EmployeeUploadReminderDispatchUncheckedCreateNestedManyWithoutReminderInput } export type EmployeeUploadReminderUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string title?: Prisma.StringFieldUpdateOperationsInput | string documentKind?: Prisma.EnumHrDocumentKindFieldUpdateOperationsInput | $Enums.HrDocumentKind cadenceKind?: Prisma.EnumHrReminderCadenceKindFieldUpdateOperationsInput | $Enums.HrReminderCadenceKind intervalMonths?: Prisma.NullableIntFieldUpdateOperationsInput | number | null audienceKind?: Prisma.EnumHrAudienceKindFieldUpdateOperationsInput | $Enums.HrAudienceKind audienceRef?: Prisma.NullableStringFieldUpdateOperationsInput | string | null mandatory?: Prisma.BoolFieldUpdateOperationsInput | boolean escalateToManager?: Prisma.BoolFieldUpdateOperationsInput | boolean linkedFormId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null dueAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null status?: Prisma.EnumHrReminderStatusFieldUpdateOperationsInput | $Enums.HrReminderStatus isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null dispatches?: Prisma.EmployeeUploadReminderDispatchUpdateManyWithoutReminderNestedInput } export type EmployeeUploadReminderUncheckedUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string title?: Prisma.StringFieldUpdateOperationsInput | string documentKind?: Prisma.EnumHrDocumentKindFieldUpdateOperationsInput | $Enums.HrDocumentKind cadenceKind?: Prisma.EnumHrReminderCadenceKindFieldUpdateOperationsInput | $Enums.HrReminderCadenceKind intervalMonths?: Prisma.NullableIntFieldUpdateOperationsInput | number | null audienceKind?: Prisma.EnumHrAudienceKindFieldUpdateOperationsInput | $Enums.HrAudienceKind audienceRef?: Prisma.NullableStringFieldUpdateOperationsInput | string | null mandatory?: Prisma.BoolFieldUpdateOperationsInput | boolean escalateToManager?: Prisma.BoolFieldUpdateOperationsInput | boolean linkedFormId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null dueAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null status?: Prisma.EnumHrReminderStatusFieldUpdateOperationsInput | $Enums.HrReminderStatus isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null dispatches?: Prisma.EmployeeUploadReminderDispatchUncheckedUpdateManyWithoutReminderNestedInput } export type EmployeeUploadReminderCreateManyInput = { id?: string createdAt?: Date | string updatedAt?: Date | string tenantId: string title: string documentKind?: $Enums.HrDocumentKind cadenceKind?: $Enums.HrReminderCadenceKind intervalMonths?: number | null audienceKind?: $Enums.HrAudienceKind audienceRef?: string | null mandatory?: boolean escalateToManager?: boolean linkedFormId?: string | null dueAt?: Date | string | null status?: $Enums.HrReminderStatus isDemoData?: boolean archivedAt?: Date | string | null } export type EmployeeUploadReminderUpdateManyMutationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string title?: Prisma.StringFieldUpdateOperationsInput | string documentKind?: Prisma.EnumHrDocumentKindFieldUpdateOperationsInput | $Enums.HrDocumentKind cadenceKind?: Prisma.EnumHrReminderCadenceKindFieldUpdateOperationsInput | $Enums.HrReminderCadenceKind intervalMonths?: Prisma.NullableIntFieldUpdateOperationsInput | number | null audienceKind?: Prisma.EnumHrAudienceKindFieldUpdateOperationsInput | $Enums.HrAudienceKind audienceRef?: Prisma.NullableStringFieldUpdateOperationsInput | string | null mandatory?: Prisma.BoolFieldUpdateOperationsInput | boolean escalateToManager?: Prisma.BoolFieldUpdateOperationsInput | boolean linkedFormId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null dueAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null status?: Prisma.EnumHrReminderStatusFieldUpdateOperationsInput | $Enums.HrReminderStatus isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type EmployeeUploadReminderUncheckedUpdateManyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string title?: Prisma.StringFieldUpdateOperationsInput | string documentKind?: Prisma.EnumHrDocumentKindFieldUpdateOperationsInput | $Enums.HrDocumentKind cadenceKind?: Prisma.EnumHrReminderCadenceKindFieldUpdateOperationsInput | $Enums.HrReminderCadenceKind intervalMonths?: Prisma.NullableIntFieldUpdateOperationsInput | number | null audienceKind?: Prisma.EnumHrAudienceKindFieldUpdateOperationsInput | $Enums.HrAudienceKind audienceRef?: Prisma.NullableStringFieldUpdateOperationsInput | string | null mandatory?: Prisma.BoolFieldUpdateOperationsInput | boolean escalateToManager?: Prisma.BoolFieldUpdateOperationsInput | boolean linkedFormId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null dueAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null status?: Prisma.EnumHrReminderStatusFieldUpdateOperationsInput | $Enums.HrReminderStatus isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type EmployeeUploadReminderCountOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder tenantId?: Prisma.SortOrder title?: Prisma.SortOrder documentKind?: Prisma.SortOrder cadenceKind?: Prisma.SortOrder intervalMonths?: Prisma.SortOrder audienceKind?: Prisma.SortOrder audienceRef?: Prisma.SortOrder mandatory?: Prisma.SortOrder escalateToManager?: Prisma.SortOrder linkedFormId?: Prisma.SortOrder dueAt?: Prisma.SortOrder status?: Prisma.SortOrder isDemoData?: Prisma.SortOrder archivedAt?: Prisma.SortOrder } export type EmployeeUploadReminderAvgOrderByAggregateInput = { intervalMonths?: Prisma.SortOrder } export type EmployeeUploadReminderMaxOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder tenantId?: Prisma.SortOrder title?: Prisma.SortOrder documentKind?: Prisma.SortOrder cadenceKind?: Prisma.SortOrder intervalMonths?: Prisma.SortOrder audienceKind?: Prisma.SortOrder audienceRef?: Prisma.SortOrder mandatory?: Prisma.SortOrder escalateToManager?: Prisma.SortOrder linkedFormId?: Prisma.SortOrder dueAt?: Prisma.SortOrder status?: Prisma.SortOrder isDemoData?: Prisma.SortOrder archivedAt?: Prisma.SortOrder } export type EmployeeUploadReminderMinOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder tenantId?: Prisma.SortOrder title?: Prisma.SortOrder documentKind?: Prisma.SortOrder cadenceKind?: Prisma.SortOrder intervalMonths?: Prisma.SortOrder audienceKind?: Prisma.SortOrder audienceRef?: Prisma.SortOrder mandatory?: Prisma.SortOrder escalateToManager?: Prisma.SortOrder linkedFormId?: Prisma.SortOrder dueAt?: Prisma.SortOrder status?: Prisma.SortOrder isDemoData?: Prisma.SortOrder archivedAt?: Prisma.SortOrder } export type EmployeeUploadReminderSumOrderByAggregateInput = { intervalMonths?: Prisma.SortOrder } export type EmployeeUploadReminderScalarRelationFilter = { is?: Prisma.EmployeeUploadReminderWhereInput isNot?: Prisma.EmployeeUploadReminderWhereInput } export type EnumHrReminderCadenceKindFieldUpdateOperationsInput = { set?: $Enums.HrReminderCadenceKind } export type EnumHrReminderStatusFieldUpdateOperationsInput = { set?: $Enums.HrReminderStatus } export type EmployeeUploadReminderCreateNestedOneWithoutDispatchesInput = { create?: Prisma.XOR connectOrCreate?: Prisma.EmployeeUploadReminderCreateOrConnectWithoutDispatchesInput connect?: Prisma.EmployeeUploadReminderWhereUniqueInput } export type EmployeeUploadReminderUpdateOneRequiredWithoutDispatchesNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.EmployeeUploadReminderCreateOrConnectWithoutDispatchesInput upsert?: Prisma.EmployeeUploadReminderUpsertWithoutDispatchesInput connect?: Prisma.EmployeeUploadReminderWhereUniqueInput update?: Prisma.XOR, Prisma.EmployeeUploadReminderUncheckedUpdateWithoutDispatchesInput> } export type EmployeeUploadReminderCreateWithoutDispatchesInput = { id?: string createdAt?: Date | string updatedAt?: Date | string tenantId: string title: string documentKind?: $Enums.HrDocumentKind cadenceKind?: $Enums.HrReminderCadenceKind intervalMonths?: number | null audienceKind?: $Enums.HrAudienceKind audienceRef?: string | null mandatory?: boolean escalateToManager?: boolean linkedFormId?: string | null dueAt?: Date | string | null status?: $Enums.HrReminderStatus isDemoData?: boolean archivedAt?: Date | string | null } export type EmployeeUploadReminderUncheckedCreateWithoutDispatchesInput = { id?: string createdAt?: Date | string updatedAt?: Date | string tenantId: string title: string documentKind?: $Enums.HrDocumentKind cadenceKind?: $Enums.HrReminderCadenceKind intervalMonths?: number | null audienceKind?: $Enums.HrAudienceKind audienceRef?: string | null mandatory?: boolean escalateToManager?: boolean linkedFormId?: string | null dueAt?: Date | string | null status?: $Enums.HrReminderStatus isDemoData?: boolean archivedAt?: Date | string | null } export type EmployeeUploadReminderCreateOrConnectWithoutDispatchesInput = { where: Prisma.EmployeeUploadReminderWhereUniqueInput create: Prisma.XOR } export type EmployeeUploadReminderUpsertWithoutDispatchesInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.EmployeeUploadReminderWhereInput } export type EmployeeUploadReminderUpdateToOneWithWhereWithoutDispatchesInput = { where?: Prisma.EmployeeUploadReminderWhereInput data: Prisma.XOR } export type EmployeeUploadReminderUpdateWithoutDispatchesInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string title?: Prisma.StringFieldUpdateOperationsInput | string documentKind?: Prisma.EnumHrDocumentKindFieldUpdateOperationsInput | $Enums.HrDocumentKind cadenceKind?: Prisma.EnumHrReminderCadenceKindFieldUpdateOperationsInput | $Enums.HrReminderCadenceKind intervalMonths?: Prisma.NullableIntFieldUpdateOperationsInput | number | null audienceKind?: Prisma.EnumHrAudienceKindFieldUpdateOperationsInput | $Enums.HrAudienceKind audienceRef?: Prisma.NullableStringFieldUpdateOperationsInput | string | null mandatory?: Prisma.BoolFieldUpdateOperationsInput | boolean escalateToManager?: Prisma.BoolFieldUpdateOperationsInput | boolean linkedFormId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null dueAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null status?: Prisma.EnumHrReminderStatusFieldUpdateOperationsInput | $Enums.HrReminderStatus isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type EmployeeUploadReminderUncheckedUpdateWithoutDispatchesInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string title?: Prisma.StringFieldUpdateOperationsInput | string documentKind?: Prisma.EnumHrDocumentKindFieldUpdateOperationsInput | $Enums.HrDocumentKind cadenceKind?: Prisma.EnumHrReminderCadenceKindFieldUpdateOperationsInput | $Enums.HrReminderCadenceKind intervalMonths?: Prisma.NullableIntFieldUpdateOperationsInput | number | null audienceKind?: Prisma.EnumHrAudienceKindFieldUpdateOperationsInput | $Enums.HrAudienceKind audienceRef?: Prisma.NullableStringFieldUpdateOperationsInput | string | null mandatory?: Prisma.BoolFieldUpdateOperationsInput | boolean escalateToManager?: Prisma.BoolFieldUpdateOperationsInput | boolean linkedFormId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null dueAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null status?: Prisma.EnumHrReminderStatusFieldUpdateOperationsInput | $Enums.HrReminderStatus isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null } /** * Count Type EmployeeUploadReminderCountOutputType */ export type EmployeeUploadReminderCountOutputType = { dispatches: number } export type EmployeeUploadReminderCountOutputTypeSelect = { dispatches?: boolean | EmployeeUploadReminderCountOutputTypeCountDispatchesArgs } /** * EmployeeUploadReminderCountOutputType without action */ export type EmployeeUploadReminderCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the EmployeeUploadReminderCountOutputType */ select?: Prisma.EmployeeUploadReminderCountOutputTypeSelect | null } /** * EmployeeUploadReminderCountOutputType without action */ export type EmployeeUploadReminderCountOutputTypeCountDispatchesArgs = { where?: Prisma.EmployeeUploadReminderDispatchWhereInput } export type EmployeeUploadReminderSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean tenantId?: boolean title?: boolean documentKind?: boolean cadenceKind?: boolean intervalMonths?: boolean audienceKind?: boolean audienceRef?: boolean mandatory?: boolean escalateToManager?: boolean linkedFormId?: boolean dueAt?: boolean status?: boolean isDemoData?: boolean archivedAt?: boolean dispatches?: boolean | Prisma.EmployeeUploadReminder$dispatchesArgs _count?: boolean | Prisma.EmployeeUploadReminderCountOutputTypeDefaultArgs }, ExtArgs["result"]["employeeUploadReminder"]> export type EmployeeUploadReminderSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean tenantId?: boolean title?: boolean documentKind?: boolean cadenceKind?: boolean intervalMonths?: boolean audienceKind?: boolean audienceRef?: boolean mandatory?: boolean escalateToManager?: boolean linkedFormId?: boolean dueAt?: boolean status?: boolean isDemoData?: boolean archivedAt?: boolean }, ExtArgs["result"]["employeeUploadReminder"]> export type EmployeeUploadReminderSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean tenantId?: boolean title?: boolean documentKind?: boolean cadenceKind?: boolean intervalMonths?: boolean audienceKind?: boolean audienceRef?: boolean mandatory?: boolean escalateToManager?: boolean linkedFormId?: boolean dueAt?: boolean status?: boolean isDemoData?: boolean archivedAt?: boolean }, ExtArgs["result"]["employeeUploadReminder"]> export type EmployeeUploadReminderSelectScalar = { id?: boolean createdAt?: boolean updatedAt?: boolean tenantId?: boolean title?: boolean documentKind?: boolean cadenceKind?: boolean intervalMonths?: boolean audienceKind?: boolean audienceRef?: boolean mandatory?: boolean escalateToManager?: boolean linkedFormId?: boolean dueAt?: boolean status?: boolean isDemoData?: boolean archivedAt?: boolean } export type EmployeeUploadReminderOmit = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "tenantId" | "title" | "documentKind" | "cadenceKind" | "intervalMonths" | "audienceKind" | "audienceRef" | "mandatory" | "escalateToManager" | "linkedFormId" | "dueAt" | "status" | "isDemoData" | "archivedAt", ExtArgs["result"]["employeeUploadReminder"]> export type EmployeeUploadReminderInclude = { dispatches?: boolean | Prisma.EmployeeUploadReminder$dispatchesArgs _count?: boolean | Prisma.EmployeeUploadReminderCountOutputTypeDefaultArgs } export type EmployeeUploadReminderIncludeCreateManyAndReturn = {} export type EmployeeUploadReminderIncludeUpdateManyAndReturn = {} export type $EmployeeUploadReminderPayload = { name: "EmployeeUploadReminder" objects: { dispatches: Prisma.$EmployeeUploadReminderDispatchPayload[] } scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string createdAt: Date updatedAt: Date tenantId: string title: string documentKind: $Enums.HrDocumentKind cadenceKind: $Enums.HrReminderCadenceKind intervalMonths: number | null audienceKind: $Enums.HrAudienceKind audienceRef: string | null mandatory: boolean escalateToManager: boolean linkedFormId: string | null dueAt: Date | null status: $Enums.HrReminderStatus isDemoData: boolean archivedAt: Date | null }, ExtArgs["result"]["employeeUploadReminder"]> composites: {} } export type EmployeeUploadReminderGetPayload = runtime.Types.Result.GetResult export type EmployeeUploadReminderCountArgs = Omit & { select?: EmployeeUploadReminderCountAggregateInputType | true } export interface EmployeeUploadReminderDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['EmployeeUploadReminder'], meta: { name: 'EmployeeUploadReminder' } } /** * Find zero or one EmployeeUploadReminder that matches the filter. * @param {EmployeeUploadReminderFindUniqueArgs} args - Arguments to find a EmployeeUploadReminder * @example * // Get one EmployeeUploadReminder * const employeeUploadReminder = await prisma.employeeUploadReminder.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__EmployeeUploadReminderClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one EmployeeUploadReminder that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {EmployeeUploadReminderFindUniqueOrThrowArgs} args - Arguments to find a EmployeeUploadReminder * @example * // Get one EmployeeUploadReminder * const employeeUploadReminder = await prisma.employeeUploadReminder.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__EmployeeUploadReminderClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first EmployeeUploadReminder 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 {EmployeeUploadReminderFindFirstArgs} args - Arguments to find a EmployeeUploadReminder * @example * // Get one EmployeeUploadReminder * const employeeUploadReminder = await prisma.employeeUploadReminder.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__EmployeeUploadReminderClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first EmployeeUploadReminder 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 {EmployeeUploadReminderFindFirstOrThrowArgs} args - Arguments to find a EmployeeUploadReminder * @example * // Get one EmployeeUploadReminder * const employeeUploadReminder = await prisma.employeeUploadReminder.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__EmployeeUploadReminderClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more EmployeeUploadReminders 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 {EmployeeUploadReminderFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all EmployeeUploadReminders * const employeeUploadReminders = await prisma.employeeUploadReminder.findMany() * * // Get first 10 EmployeeUploadReminders * const employeeUploadReminders = await prisma.employeeUploadReminder.findMany({ take: 10 }) * * // Only select the `id` * const employeeUploadReminderWithIdOnly = await prisma.employeeUploadReminder.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a EmployeeUploadReminder. * @param {EmployeeUploadReminderCreateArgs} args - Arguments to create a EmployeeUploadReminder. * @example * // Create one EmployeeUploadReminder * const EmployeeUploadReminder = await prisma.employeeUploadReminder.create({ * data: { * // ... data to create a EmployeeUploadReminder * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__EmployeeUploadReminderClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many EmployeeUploadReminders. * @param {EmployeeUploadReminderCreateManyArgs} args - Arguments to create many EmployeeUploadReminders. * @example * // Create many EmployeeUploadReminders * const employeeUploadReminder = await prisma.employeeUploadReminder.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many EmployeeUploadReminders and returns the data saved in the database. * @param {EmployeeUploadReminderCreateManyAndReturnArgs} args - Arguments to create many EmployeeUploadReminders. * @example * // Create many EmployeeUploadReminders * const employeeUploadReminder = await prisma.employeeUploadReminder.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many EmployeeUploadReminders and only return the `id` * const employeeUploadReminderWithIdOnly = await prisma.employeeUploadReminder.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 EmployeeUploadReminder. * @param {EmployeeUploadReminderDeleteArgs} args - Arguments to delete one EmployeeUploadReminder. * @example * // Delete one EmployeeUploadReminder * const EmployeeUploadReminder = await prisma.employeeUploadReminder.delete({ * where: { * // ... filter to delete one EmployeeUploadReminder * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__EmployeeUploadReminderClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one EmployeeUploadReminder. * @param {EmployeeUploadReminderUpdateArgs} args - Arguments to update one EmployeeUploadReminder. * @example * // Update one EmployeeUploadReminder * const employeeUploadReminder = await prisma.employeeUploadReminder.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__EmployeeUploadReminderClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more EmployeeUploadReminders. * @param {EmployeeUploadReminderDeleteManyArgs} args - Arguments to filter EmployeeUploadReminders to delete. * @example * // Delete a few EmployeeUploadReminders * const { count } = await prisma.employeeUploadReminder.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more EmployeeUploadReminders. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {EmployeeUploadReminderUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many EmployeeUploadReminders * const employeeUploadReminder = await prisma.employeeUploadReminder.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more EmployeeUploadReminders and returns the data updated in the database. * @param {EmployeeUploadReminderUpdateManyAndReturnArgs} args - Arguments to update many EmployeeUploadReminders. * @example * // Update many EmployeeUploadReminders * const employeeUploadReminder = await prisma.employeeUploadReminder.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more EmployeeUploadReminders and only return the `id` * const employeeUploadReminderWithIdOnly = await prisma.employeeUploadReminder.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 EmployeeUploadReminder. * @param {EmployeeUploadReminderUpsertArgs} args - Arguments to update or create a EmployeeUploadReminder. * @example * // Update or create a EmployeeUploadReminder * const employeeUploadReminder = await prisma.employeeUploadReminder.upsert({ * create: { * // ... data to create a EmployeeUploadReminder * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the EmployeeUploadReminder we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__EmployeeUploadReminderClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of EmployeeUploadReminders. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {EmployeeUploadReminderCountArgs} args - Arguments to filter EmployeeUploadReminders to count. * @example * // Count the number of EmployeeUploadReminders * const count = await prisma.employeeUploadReminder.count({ * where: { * // ... the filter for the EmployeeUploadReminders 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 EmployeeUploadReminder. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {EmployeeUploadReminderAggregateArgs} 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 EmployeeUploadReminder. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {EmployeeUploadReminderGroupByArgs} 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 EmployeeUploadReminderGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: EmployeeUploadReminderGroupByArgs['orderBy'] } : { orderBy?: EmployeeUploadReminderGroupByArgs['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 ? GetEmployeeUploadReminderGroupByPayload : Prisma.PrismaPromise /** * Fields of the EmployeeUploadReminder model */ readonly fields: EmployeeUploadReminderFieldRefs; } /** * The delegate class that acts as a "Promise-like" for EmployeeUploadReminder. * 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__EmployeeUploadReminderClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" dispatches = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> /** * 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 EmployeeUploadReminder model */ export interface EmployeeUploadReminderFieldRefs { readonly id: Prisma.FieldRef<"EmployeeUploadReminder", 'String'> readonly createdAt: Prisma.FieldRef<"EmployeeUploadReminder", 'DateTime'> readonly updatedAt: Prisma.FieldRef<"EmployeeUploadReminder", 'DateTime'> readonly tenantId: Prisma.FieldRef<"EmployeeUploadReminder", 'String'> readonly title: Prisma.FieldRef<"EmployeeUploadReminder", 'String'> readonly documentKind: Prisma.FieldRef<"EmployeeUploadReminder", 'HrDocumentKind'> readonly cadenceKind: Prisma.FieldRef<"EmployeeUploadReminder", 'HrReminderCadenceKind'> readonly intervalMonths: Prisma.FieldRef<"EmployeeUploadReminder", 'Int'> readonly audienceKind: Prisma.FieldRef<"EmployeeUploadReminder", 'HrAudienceKind'> readonly audienceRef: Prisma.FieldRef<"EmployeeUploadReminder", 'String'> readonly mandatory: Prisma.FieldRef<"EmployeeUploadReminder", 'Boolean'> readonly escalateToManager: Prisma.FieldRef<"EmployeeUploadReminder", 'Boolean'> readonly linkedFormId: Prisma.FieldRef<"EmployeeUploadReminder", 'String'> readonly dueAt: Prisma.FieldRef<"EmployeeUploadReminder", 'DateTime'> readonly status: Prisma.FieldRef<"EmployeeUploadReminder", 'HrReminderStatus'> readonly isDemoData: Prisma.FieldRef<"EmployeeUploadReminder", 'Boolean'> readonly archivedAt: Prisma.FieldRef<"EmployeeUploadReminder", 'DateTime'> } // Custom InputTypes /** * EmployeeUploadReminder findUnique */ export type EmployeeUploadReminderFindUniqueArgs = { /** * Select specific fields to fetch from the EmployeeUploadReminder */ select?: Prisma.EmployeeUploadReminderSelect | null /** * Omit specific fields from the EmployeeUploadReminder */ omit?: Prisma.EmployeeUploadReminderOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.EmployeeUploadReminderInclude | null /** * Filter, which EmployeeUploadReminder to fetch. */ where: Prisma.EmployeeUploadReminderWhereUniqueInput } /** * EmployeeUploadReminder findUniqueOrThrow */ export type EmployeeUploadReminderFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the EmployeeUploadReminder */ select?: Prisma.EmployeeUploadReminderSelect | null /** * Omit specific fields from the EmployeeUploadReminder */ omit?: Prisma.EmployeeUploadReminderOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.EmployeeUploadReminderInclude | null /** * Filter, which EmployeeUploadReminder to fetch. */ where: Prisma.EmployeeUploadReminderWhereUniqueInput } /** * EmployeeUploadReminder findFirst */ export type EmployeeUploadReminderFindFirstArgs = { /** * Select specific fields to fetch from the EmployeeUploadReminder */ select?: Prisma.EmployeeUploadReminderSelect | null /** * Omit specific fields from the EmployeeUploadReminder */ omit?: Prisma.EmployeeUploadReminderOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.EmployeeUploadReminderInclude | null /** * Filter, which EmployeeUploadReminder to fetch. */ where?: Prisma.EmployeeUploadReminderWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of EmployeeUploadReminders to fetch. */ orderBy?: Prisma.EmployeeUploadReminderOrderByWithRelationInput | Prisma.EmployeeUploadReminderOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for EmployeeUploadReminders. */ cursor?: Prisma.EmployeeUploadReminderWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` EmployeeUploadReminders 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` EmployeeUploadReminders. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of EmployeeUploadReminders. */ distinct?: Prisma.EmployeeUploadReminderScalarFieldEnum | Prisma.EmployeeUploadReminderScalarFieldEnum[] } /** * EmployeeUploadReminder findFirstOrThrow */ export type EmployeeUploadReminderFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the EmployeeUploadReminder */ select?: Prisma.EmployeeUploadReminderSelect | null /** * Omit specific fields from the EmployeeUploadReminder */ omit?: Prisma.EmployeeUploadReminderOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.EmployeeUploadReminderInclude | null /** * Filter, which EmployeeUploadReminder to fetch. */ where?: Prisma.EmployeeUploadReminderWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of EmployeeUploadReminders to fetch. */ orderBy?: Prisma.EmployeeUploadReminderOrderByWithRelationInput | Prisma.EmployeeUploadReminderOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for EmployeeUploadReminders. */ cursor?: Prisma.EmployeeUploadReminderWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` EmployeeUploadReminders 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` EmployeeUploadReminders. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of EmployeeUploadReminders. */ distinct?: Prisma.EmployeeUploadReminderScalarFieldEnum | Prisma.EmployeeUploadReminderScalarFieldEnum[] } /** * EmployeeUploadReminder findMany */ export type EmployeeUploadReminderFindManyArgs = { /** * Select specific fields to fetch from the EmployeeUploadReminder */ select?: Prisma.EmployeeUploadReminderSelect | null /** * Omit specific fields from the EmployeeUploadReminder */ omit?: Prisma.EmployeeUploadReminderOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.EmployeeUploadReminderInclude | null /** * Filter, which EmployeeUploadReminders to fetch. */ where?: Prisma.EmployeeUploadReminderWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of EmployeeUploadReminders to fetch. */ orderBy?: Prisma.EmployeeUploadReminderOrderByWithRelationInput | Prisma.EmployeeUploadReminderOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing EmployeeUploadReminders. */ cursor?: Prisma.EmployeeUploadReminderWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` EmployeeUploadReminders 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` EmployeeUploadReminders. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of EmployeeUploadReminders. */ distinct?: Prisma.EmployeeUploadReminderScalarFieldEnum | Prisma.EmployeeUploadReminderScalarFieldEnum[] } /** * EmployeeUploadReminder create */ export type EmployeeUploadReminderCreateArgs = { /** * Select specific fields to fetch from the EmployeeUploadReminder */ select?: Prisma.EmployeeUploadReminderSelect | null /** * Omit specific fields from the EmployeeUploadReminder */ omit?: Prisma.EmployeeUploadReminderOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.EmployeeUploadReminderInclude | null /** * The data needed to create a EmployeeUploadReminder. */ data: Prisma.XOR } /** * EmployeeUploadReminder createMany */ export type EmployeeUploadReminderCreateManyArgs = { /** * The data used to create many EmployeeUploadReminders. */ data: Prisma.EmployeeUploadReminderCreateManyInput | Prisma.EmployeeUploadReminderCreateManyInput[] skipDuplicates?: boolean } /** * EmployeeUploadReminder createManyAndReturn */ export type EmployeeUploadReminderCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the EmployeeUploadReminder */ select?: Prisma.EmployeeUploadReminderSelectCreateManyAndReturn | null /** * Omit specific fields from the EmployeeUploadReminder */ omit?: Prisma.EmployeeUploadReminderOmit | null /** * The data used to create many EmployeeUploadReminders. */ data: Prisma.EmployeeUploadReminderCreateManyInput | Prisma.EmployeeUploadReminderCreateManyInput[] skipDuplicates?: boolean } /** * EmployeeUploadReminder update */ export type EmployeeUploadReminderUpdateArgs = { /** * Select specific fields to fetch from the EmployeeUploadReminder */ select?: Prisma.EmployeeUploadReminderSelect | null /** * Omit specific fields from the EmployeeUploadReminder */ omit?: Prisma.EmployeeUploadReminderOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.EmployeeUploadReminderInclude | null /** * The data needed to update a EmployeeUploadReminder. */ data: Prisma.XOR /** * Choose, which EmployeeUploadReminder to update. */ where: Prisma.EmployeeUploadReminderWhereUniqueInput } /** * EmployeeUploadReminder updateMany */ export type EmployeeUploadReminderUpdateManyArgs = { /** * The data used to update EmployeeUploadReminders. */ data: Prisma.XOR /** * Filter which EmployeeUploadReminders to update */ where?: Prisma.EmployeeUploadReminderWhereInput /** * Limit how many EmployeeUploadReminders to update. */ limit?: number } /** * EmployeeUploadReminder updateManyAndReturn */ export type EmployeeUploadReminderUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the EmployeeUploadReminder */ select?: Prisma.EmployeeUploadReminderSelectUpdateManyAndReturn | null /** * Omit specific fields from the EmployeeUploadReminder */ omit?: Prisma.EmployeeUploadReminderOmit | null /** * The data used to update EmployeeUploadReminders. */ data: Prisma.XOR /** * Filter which EmployeeUploadReminders to update */ where?: Prisma.EmployeeUploadReminderWhereInput /** * Limit how many EmployeeUploadReminders to update. */ limit?: number } /** * EmployeeUploadReminder upsert */ export type EmployeeUploadReminderUpsertArgs = { /** * Select specific fields to fetch from the EmployeeUploadReminder */ select?: Prisma.EmployeeUploadReminderSelect | null /** * Omit specific fields from the EmployeeUploadReminder */ omit?: Prisma.EmployeeUploadReminderOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.EmployeeUploadReminderInclude | null /** * The filter to search for the EmployeeUploadReminder to update in case it exists. */ where: Prisma.EmployeeUploadReminderWhereUniqueInput /** * In case the EmployeeUploadReminder found by the `where` argument doesn't exist, create a new EmployeeUploadReminder with this data. */ create: Prisma.XOR /** * In case the EmployeeUploadReminder was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * EmployeeUploadReminder delete */ export type EmployeeUploadReminderDeleteArgs = { /** * Select specific fields to fetch from the EmployeeUploadReminder */ select?: Prisma.EmployeeUploadReminderSelect | null /** * Omit specific fields from the EmployeeUploadReminder */ omit?: Prisma.EmployeeUploadReminderOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.EmployeeUploadReminderInclude | null /** * Filter which EmployeeUploadReminder to delete. */ where: Prisma.EmployeeUploadReminderWhereUniqueInput } /** * EmployeeUploadReminder deleteMany */ export type EmployeeUploadReminderDeleteManyArgs = { /** * Filter which EmployeeUploadReminders to delete */ where?: Prisma.EmployeeUploadReminderWhereInput /** * Limit how many EmployeeUploadReminders to delete. */ limit?: number } /** * EmployeeUploadReminder.dispatches */ export type EmployeeUploadReminder$dispatchesArgs = { /** * 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 where?: Prisma.EmployeeUploadReminderDispatchWhereInput orderBy?: Prisma.EmployeeUploadReminderDispatchOrderByWithRelationInput | Prisma.EmployeeUploadReminderDispatchOrderByWithRelationInput[] cursor?: Prisma.EmployeeUploadReminderDispatchWhereUniqueInput take?: number skip?: number distinct?: Prisma.EmployeeUploadReminderDispatchScalarFieldEnum | Prisma.EmployeeUploadReminderDispatchScalarFieldEnum[] } /** * EmployeeUploadReminder without action */ export type EmployeeUploadReminderDefaultArgs = { /** * Select specific fields to fetch from the EmployeeUploadReminder */ select?: Prisma.EmployeeUploadReminderSelect | null /** * Omit specific fields from the EmployeeUploadReminder */ omit?: Prisma.EmployeeUploadReminderOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.EmployeeUploadReminderInclude | null }