Files
2026-07-08 16:15:37 +02:00

1564 lines
63 KiB
TypeScript

/* !!! This is code generated by Prisma. Do not edit directly. !!! */
/* eslint-disable */
// biome-ignore-all lint: generated file
// @ts-nocheck
/*
* This file exports the `ScheduleConflict` 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 ScheduleConflict
*
*/
export type ScheduleConflictModel = runtime.Types.Result.DefaultSelection<Prisma.$ScheduleConflictPayload>
export type AggregateScheduleConflict = {
_count: ScheduleConflictCountAggregateOutputType | null
_min: ScheduleConflictMinAggregateOutputType | null
_max: ScheduleConflictMaxAggregateOutputType | null
}
export type ScheduleConflictMinAggregateOutputType = {
id: string | null
tenantId: string | null
entryId: string | null
type: $Enums.ScheduleConflictType | null
severity: $Enums.ScheduleConflictSeverity | null
messageKey: string | null
sourceKind: string | null
sourceId: string | null
createdAt: Date | null
resolvedAt: Date | null
overriddenAt: Date | null
}
export type ScheduleConflictMaxAggregateOutputType = {
id: string | null
tenantId: string | null
entryId: string | null
type: $Enums.ScheduleConflictType | null
severity: $Enums.ScheduleConflictSeverity | null
messageKey: string | null
sourceKind: string | null
sourceId: string | null
createdAt: Date | null
resolvedAt: Date | null
overriddenAt: Date | null
}
export type ScheduleConflictCountAggregateOutputType = {
id: number
tenantId: number
entryId: number
type: number
severity: number
messageKey: number
sourceKind: number
sourceId: number
createdAt: number
resolvedAt: number
overriddenAt: number
_all: number
}
export type ScheduleConflictMinAggregateInputType = {
id?: true
tenantId?: true
entryId?: true
type?: true
severity?: true
messageKey?: true
sourceKind?: true
sourceId?: true
createdAt?: true
resolvedAt?: true
overriddenAt?: true
}
export type ScheduleConflictMaxAggregateInputType = {
id?: true
tenantId?: true
entryId?: true
type?: true
severity?: true
messageKey?: true
sourceKind?: true
sourceId?: true
createdAt?: true
resolvedAt?: true
overriddenAt?: true
}
export type ScheduleConflictCountAggregateInputType = {
id?: true
tenantId?: true
entryId?: true
type?: true
severity?: true
messageKey?: true
sourceKind?: true
sourceId?: true
createdAt?: true
resolvedAt?: true
overriddenAt?: true
_all?: true
}
export type ScheduleConflictAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which ScheduleConflict to aggregate.
*/
where?: Prisma.ScheduleConflictWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of ScheduleConflicts to fetch.
*/
orderBy?: Prisma.ScheduleConflictOrderByWithRelationInput | Prisma.ScheduleConflictOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the start position
*/
cursor?: Prisma.ScheduleConflictWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` ScheduleConflicts 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` ScheduleConflicts.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Count returned ScheduleConflicts
**/
_count?: true | ScheduleConflictCountAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the minimum value
**/
_min?: ScheduleConflictMinAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the maximum value
**/
_max?: ScheduleConflictMaxAggregateInputType
}
export type GetScheduleConflictAggregateType<T extends ScheduleConflictAggregateArgs> = {
[P in keyof T & keyof AggregateScheduleConflict]: P extends '_count' | 'count'
? T[P] extends true
? number
: Prisma.GetScalarType<T[P], AggregateScheduleConflict[P]>
: Prisma.GetScalarType<T[P], AggregateScheduleConflict[P]>
}
export type ScheduleConflictGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.ScheduleConflictWhereInput
orderBy?: Prisma.ScheduleConflictOrderByWithAggregationInput | Prisma.ScheduleConflictOrderByWithAggregationInput[]
by: Prisma.ScheduleConflictScalarFieldEnum[] | Prisma.ScheduleConflictScalarFieldEnum
having?: Prisma.ScheduleConflictScalarWhereWithAggregatesInput
take?: number
skip?: number
_count?: ScheduleConflictCountAggregateInputType | true
_min?: ScheduleConflictMinAggregateInputType
_max?: ScheduleConflictMaxAggregateInputType
}
export type ScheduleConflictGroupByOutputType = {
id: string
tenantId: string
entryId: string
type: $Enums.ScheduleConflictType
severity: $Enums.ScheduleConflictSeverity
messageKey: string
sourceKind: string | null
sourceId: string | null
createdAt: Date
resolvedAt: Date | null
overriddenAt: Date | null
_count: ScheduleConflictCountAggregateOutputType | null
_min: ScheduleConflictMinAggregateOutputType | null
_max: ScheduleConflictMaxAggregateOutputType | null
}
export type GetScheduleConflictGroupByPayload<T extends ScheduleConflictGroupByArgs> = Prisma.PrismaPromise<
Array<
Prisma.PickEnumerable<ScheduleConflictGroupByOutputType, T['by']> &
{
[P in ((keyof T) & (keyof ScheduleConflictGroupByOutputType))]: P extends '_count'
? T[P] extends boolean
? number
: Prisma.GetScalarType<T[P], ScheduleConflictGroupByOutputType[P]>
: Prisma.GetScalarType<T[P], ScheduleConflictGroupByOutputType[P]>
}
>
>
export type ScheduleConflictWhereInput = {
AND?: Prisma.ScheduleConflictWhereInput | Prisma.ScheduleConflictWhereInput[]
OR?: Prisma.ScheduleConflictWhereInput[]
NOT?: Prisma.ScheduleConflictWhereInput | Prisma.ScheduleConflictWhereInput[]
id?: Prisma.StringFilter<"ScheduleConflict"> | string
tenantId?: Prisma.StringFilter<"ScheduleConflict"> | string
entryId?: Prisma.StringFilter<"ScheduleConflict"> | string
type?: Prisma.EnumScheduleConflictTypeFilter<"ScheduleConflict"> | $Enums.ScheduleConflictType
severity?: Prisma.EnumScheduleConflictSeverityFilter<"ScheduleConflict"> | $Enums.ScheduleConflictSeverity
messageKey?: Prisma.StringFilter<"ScheduleConflict"> | string
sourceKind?: Prisma.StringNullableFilter<"ScheduleConflict"> | string | null
sourceId?: Prisma.StringNullableFilter<"ScheduleConflict"> | string | null
createdAt?: Prisma.DateTimeFilter<"ScheduleConflict"> | Date | string
resolvedAt?: Prisma.DateTimeNullableFilter<"ScheduleConflict"> | Date | string | null
overriddenAt?: Prisma.DateTimeNullableFilter<"ScheduleConflict"> | Date | string | null
entry?: Prisma.XOR<Prisma.ScheduleEntryScalarRelationFilter, Prisma.ScheduleEntryWhereInput>
}
export type ScheduleConflictOrderByWithRelationInput = {
id?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
entryId?: Prisma.SortOrder
type?: Prisma.SortOrder
severity?: Prisma.SortOrder
messageKey?: Prisma.SortOrder
sourceKind?: Prisma.SortOrderInput | Prisma.SortOrder
sourceId?: Prisma.SortOrderInput | Prisma.SortOrder
createdAt?: Prisma.SortOrder
resolvedAt?: Prisma.SortOrderInput | Prisma.SortOrder
overriddenAt?: Prisma.SortOrderInput | Prisma.SortOrder
entry?: Prisma.ScheduleEntryOrderByWithRelationInput
}
export type ScheduleConflictWhereUniqueInput = Prisma.AtLeast<{
id?: string
AND?: Prisma.ScheduleConflictWhereInput | Prisma.ScheduleConflictWhereInput[]
OR?: Prisma.ScheduleConflictWhereInput[]
NOT?: Prisma.ScheduleConflictWhereInput | Prisma.ScheduleConflictWhereInput[]
tenantId?: Prisma.StringFilter<"ScheduleConflict"> | string
entryId?: Prisma.StringFilter<"ScheduleConflict"> | string
type?: Prisma.EnumScheduleConflictTypeFilter<"ScheduleConflict"> | $Enums.ScheduleConflictType
severity?: Prisma.EnumScheduleConflictSeverityFilter<"ScheduleConflict"> | $Enums.ScheduleConflictSeverity
messageKey?: Prisma.StringFilter<"ScheduleConflict"> | string
sourceKind?: Prisma.StringNullableFilter<"ScheduleConflict"> | string | null
sourceId?: Prisma.StringNullableFilter<"ScheduleConflict"> | string | null
createdAt?: Prisma.DateTimeFilter<"ScheduleConflict"> | Date | string
resolvedAt?: Prisma.DateTimeNullableFilter<"ScheduleConflict"> | Date | string | null
overriddenAt?: Prisma.DateTimeNullableFilter<"ScheduleConflict"> | Date | string | null
entry?: Prisma.XOR<Prisma.ScheduleEntryScalarRelationFilter, Prisma.ScheduleEntryWhereInput>
}, "id">
export type ScheduleConflictOrderByWithAggregationInput = {
id?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
entryId?: Prisma.SortOrder
type?: Prisma.SortOrder
severity?: Prisma.SortOrder
messageKey?: Prisma.SortOrder
sourceKind?: Prisma.SortOrderInput | Prisma.SortOrder
sourceId?: Prisma.SortOrderInput | Prisma.SortOrder
createdAt?: Prisma.SortOrder
resolvedAt?: Prisma.SortOrderInput | Prisma.SortOrder
overriddenAt?: Prisma.SortOrderInput | Prisma.SortOrder
_count?: Prisma.ScheduleConflictCountOrderByAggregateInput
_max?: Prisma.ScheduleConflictMaxOrderByAggregateInput
_min?: Prisma.ScheduleConflictMinOrderByAggregateInput
}
export type ScheduleConflictScalarWhereWithAggregatesInput = {
AND?: Prisma.ScheduleConflictScalarWhereWithAggregatesInput | Prisma.ScheduleConflictScalarWhereWithAggregatesInput[]
OR?: Prisma.ScheduleConflictScalarWhereWithAggregatesInput[]
NOT?: Prisma.ScheduleConflictScalarWhereWithAggregatesInput | Prisma.ScheduleConflictScalarWhereWithAggregatesInput[]
id?: Prisma.StringWithAggregatesFilter<"ScheduleConflict"> | string
tenantId?: Prisma.StringWithAggregatesFilter<"ScheduleConflict"> | string
entryId?: Prisma.StringWithAggregatesFilter<"ScheduleConflict"> | string
type?: Prisma.EnumScheduleConflictTypeWithAggregatesFilter<"ScheduleConflict"> | $Enums.ScheduleConflictType
severity?: Prisma.EnumScheduleConflictSeverityWithAggregatesFilter<"ScheduleConflict"> | $Enums.ScheduleConflictSeverity
messageKey?: Prisma.StringWithAggregatesFilter<"ScheduleConflict"> | string
sourceKind?: Prisma.StringNullableWithAggregatesFilter<"ScheduleConflict"> | string | null
sourceId?: Prisma.StringNullableWithAggregatesFilter<"ScheduleConflict"> | string | null
createdAt?: Prisma.DateTimeWithAggregatesFilter<"ScheduleConflict"> | Date | string
resolvedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"ScheduleConflict"> | Date | string | null
overriddenAt?: Prisma.DateTimeNullableWithAggregatesFilter<"ScheduleConflict"> | Date | string | null
}
export type ScheduleConflictCreateInput = {
id?: string
tenantId: string
type: $Enums.ScheduleConflictType
severity?: $Enums.ScheduleConflictSeverity
messageKey: string
sourceKind?: string | null
sourceId?: string | null
createdAt?: Date | string
resolvedAt?: Date | string | null
overriddenAt?: Date | string | null
entry: Prisma.ScheduleEntryCreateNestedOneWithoutConflictsInput
}
export type ScheduleConflictUncheckedCreateInput = {
id?: string
tenantId: string
entryId: string
type: $Enums.ScheduleConflictType
severity?: $Enums.ScheduleConflictSeverity
messageKey: string
sourceKind?: string | null
sourceId?: string | null
createdAt?: Date | string
resolvedAt?: Date | string | null
overriddenAt?: Date | string | null
}
export type ScheduleConflictUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
type?: Prisma.EnumScheduleConflictTypeFieldUpdateOperationsInput | $Enums.ScheduleConflictType
severity?: Prisma.EnumScheduleConflictSeverityFieldUpdateOperationsInput | $Enums.ScheduleConflictSeverity
messageKey?: Prisma.StringFieldUpdateOperationsInput | string
sourceKind?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
sourceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
resolvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
overriddenAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
entry?: Prisma.ScheduleEntryUpdateOneRequiredWithoutConflictsNestedInput
}
export type ScheduleConflictUncheckedUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
entryId?: Prisma.StringFieldUpdateOperationsInput | string
type?: Prisma.EnumScheduleConflictTypeFieldUpdateOperationsInput | $Enums.ScheduleConflictType
severity?: Prisma.EnumScheduleConflictSeverityFieldUpdateOperationsInput | $Enums.ScheduleConflictSeverity
messageKey?: Prisma.StringFieldUpdateOperationsInput | string
sourceKind?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
sourceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
resolvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
overriddenAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}
export type ScheduleConflictCreateManyInput = {
id?: string
tenantId: string
entryId: string
type: $Enums.ScheduleConflictType
severity?: $Enums.ScheduleConflictSeverity
messageKey: string
sourceKind?: string | null
sourceId?: string | null
createdAt?: Date | string
resolvedAt?: Date | string | null
overriddenAt?: Date | string | null
}
export type ScheduleConflictUpdateManyMutationInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
type?: Prisma.EnumScheduleConflictTypeFieldUpdateOperationsInput | $Enums.ScheduleConflictType
severity?: Prisma.EnumScheduleConflictSeverityFieldUpdateOperationsInput | $Enums.ScheduleConflictSeverity
messageKey?: Prisma.StringFieldUpdateOperationsInput | string
sourceKind?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
sourceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
resolvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
overriddenAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}
export type ScheduleConflictUncheckedUpdateManyInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
entryId?: Prisma.StringFieldUpdateOperationsInput | string
type?: Prisma.EnumScheduleConflictTypeFieldUpdateOperationsInput | $Enums.ScheduleConflictType
severity?: Prisma.EnumScheduleConflictSeverityFieldUpdateOperationsInput | $Enums.ScheduleConflictSeverity
messageKey?: Prisma.StringFieldUpdateOperationsInput | string
sourceKind?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
sourceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
resolvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
overriddenAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}
export type ScheduleConflictListRelationFilter = {
every?: Prisma.ScheduleConflictWhereInput
some?: Prisma.ScheduleConflictWhereInput
none?: Prisma.ScheduleConflictWhereInput
}
export type ScheduleConflictOrderByRelationAggregateInput = {
_count?: Prisma.SortOrder
}
export type ScheduleConflictCountOrderByAggregateInput = {
id?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
entryId?: Prisma.SortOrder
type?: Prisma.SortOrder
severity?: Prisma.SortOrder
messageKey?: Prisma.SortOrder
sourceKind?: Prisma.SortOrder
sourceId?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
resolvedAt?: Prisma.SortOrder
overriddenAt?: Prisma.SortOrder
}
export type ScheduleConflictMaxOrderByAggregateInput = {
id?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
entryId?: Prisma.SortOrder
type?: Prisma.SortOrder
severity?: Prisma.SortOrder
messageKey?: Prisma.SortOrder
sourceKind?: Prisma.SortOrder
sourceId?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
resolvedAt?: Prisma.SortOrder
overriddenAt?: Prisma.SortOrder
}
export type ScheduleConflictMinOrderByAggregateInput = {
id?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
entryId?: Prisma.SortOrder
type?: Prisma.SortOrder
severity?: Prisma.SortOrder
messageKey?: Prisma.SortOrder
sourceKind?: Prisma.SortOrder
sourceId?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
resolvedAt?: Prisma.SortOrder
overriddenAt?: Prisma.SortOrder
}
export type ScheduleConflictCreateNestedManyWithoutEntryInput = {
create?: Prisma.XOR<Prisma.ScheduleConflictCreateWithoutEntryInput, Prisma.ScheduleConflictUncheckedCreateWithoutEntryInput> | Prisma.ScheduleConflictCreateWithoutEntryInput[] | Prisma.ScheduleConflictUncheckedCreateWithoutEntryInput[]
connectOrCreate?: Prisma.ScheduleConflictCreateOrConnectWithoutEntryInput | Prisma.ScheduleConflictCreateOrConnectWithoutEntryInput[]
createMany?: Prisma.ScheduleConflictCreateManyEntryInputEnvelope
connect?: Prisma.ScheduleConflictWhereUniqueInput | Prisma.ScheduleConflictWhereUniqueInput[]
}
export type ScheduleConflictUncheckedCreateNestedManyWithoutEntryInput = {
create?: Prisma.XOR<Prisma.ScheduleConflictCreateWithoutEntryInput, Prisma.ScheduleConflictUncheckedCreateWithoutEntryInput> | Prisma.ScheduleConflictCreateWithoutEntryInput[] | Prisma.ScheduleConflictUncheckedCreateWithoutEntryInput[]
connectOrCreate?: Prisma.ScheduleConflictCreateOrConnectWithoutEntryInput | Prisma.ScheduleConflictCreateOrConnectWithoutEntryInput[]
createMany?: Prisma.ScheduleConflictCreateManyEntryInputEnvelope
connect?: Prisma.ScheduleConflictWhereUniqueInput | Prisma.ScheduleConflictWhereUniqueInput[]
}
export type ScheduleConflictUpdateManyWithoutEntryNestedInput = {
create?: Prisma.XOR<Prisma.ScheduleConflictCreateWithoutEntryInput, Prisma.ScheduleConflictUncheckedCreateWithoutEntryInput> | Prisma.ScheduleConflictCreateWithoutEntryInput[] | Prisma.ScheduleConflictUncheckedCreateWithoutEntryInput[]
connectOrCreate?: Prisma.ScheduleConflictCreateOrConnectWithoutEntryInput | Prisma.ScheduleConflictCreateOrConnectWithoutEntryInput[]
upsert?: Prisma.ScheduleConflictUpsertWithWhereUniqueWithoutEntryInput | Prisma.ScheduleConflictUpsertWithWhereUniqueWithoutEntryInput[]
createMany?: Prisma.ScheduleConflictCreateManyEntryInputEnvelope
set?: Prisma.ScheduleConflictWhereUniqueInput | Prisma.ScheduleConflictWhereUniqueInput[]
disconnect?: Prisma.ScheduleConflictWhereUniqueInput | Prisma.ScheduleConflictWhereUniqueInput[]
delete?: Prisma.ScheduleConflictWhereUniqueInput | Prisma.ScheduleConflictWhereUniqueInput[]
connect?: Prisma.ScheduleConflictWhereUniqueInput | Prisma.ScheduleConflictWhereUniqueInput[]
update?: Prisma.ScheduleConflictUpdateWithWhereUniqueWithoutEntryInput | Prisma.ScheduleConflictUpdateWithWhereUniqueWithoutEntryInput[]
updateMany?: Prisma.ScheduleConflictUpdateManyWithWhereWithoutEntryInput | Prisma.ScheduleConflictUpdateManyWithWhereWithoutEntryInput[]
deleteMany?: Prisma.ScheduleConflictScalarWhereInput | Prisma.ScheduleConflictScalarWhereInput[]
}
export type ScheduleConflictUncheckedUpdateManyWithoutEntryNestedInput = {
create?: Prisma.XOR<Prisma.ScheduleConflictCreateWithoutEntryInput, Prisma.ScheduleConflictUncheckedCreateWithoutEntryInput> | Prisma.ScheduleConflictCreateWithoutEntryInput[] | Prisma.ScheduleConflictUncheckedCreateWithoutEntryInput[]
connectOrCreate?: Prisma.ScheduleConflictCreateOrConnectWithoutEntryInput | Prisma.ScheduleConflictCreateOrConnectWithoutEntryInput[]
upsert?: Prisma.ScheduleConflictUpsertWithWhereUniqueWithoutEntryInput | Prisma.ScheduleConflictUpsertWithWhereUniqueWithoutEntryInput[]
createMany?: Prisma.ScheduleConflictCreateManyEntryInputEnvelope
set?: Prisma.ScheduleConflictWhereUniqueInput | Prisma.ScheduleConflictWhereUniqueInput[]
disconnect?: Prisma.ScheduleConflictWhereUniqueInput | Prisma.ScheduleConflictWhereUniqueInput[]
delete?: Prisma.ScheduleConflictWhereUniqueInput | Prisma.ScheduleConflictWhereUniqueInput[]
connect?: Prisma.ScheduleConflictWhereUniqueInput | Prisma.ScheduleConflictWhereUniqueInput[]
update?: Prisma.ScheduleConflictUpdateWithWhereUniqueWithoutEntryInput | Prisma.ScheduleConflictUpdateWithWhereUniqueWithoutEntryInput[]
updateMany?: Prisma.ScheduleConflictUpdateManyWithWhereWithoutEntryInput | Prisma.ScheduleConflictUpdateManyWithWhereWithoutEntryInput[]
deleteMany?: Prisma.ScheduleConflictScalarWhereInput | Prisma.ScheduleConflictScalarWhereInput[]
}
export type EnumScheduleConflictTypeFieldUpdateOperationsInput = {
set?: $Enums.ScheduleConflictType
}
export type EnumScheduleConflictSeverityFieldUpdateOperationsInput = {
set?: $Enums.ScheduleConflictSeverity
}
export type ScheduleConflictCreateWithoutEntryInput = {
id?: string
tenantId: string
type: $Enums.ScheduleConflictType
severity?: $Enums.ScheduleConflictSeverity
messageKey: string
sourceKind?: string | null
sourceId?: string | null
createdAt?: Date | string
resolvedAt?: Date | string | null
overriddenAt?: Date | string | null
}
export type ScheduleConflictUncheckedCreateWithoutEntryInput = {
id?: string
tenantId: string
type: $Enums.ScheduleConflictType
severity?: $Enums.ScheduleConflictSeverity
messageKey: string
sourceKind?: string | null
sourceId?: string | null
createdAt?: Date | string
resolvedAt?: Date | string | null
overriddenAt?: Date | string | null
}
export type ScheduleConflictCreateOrConnectWithoutEntryInput = {
where: Prisma.ScheduleConflictWhereUniqueInput
create: Prisma.XOR<Prisma.ScheduleConflictCreateWithoutEntryInput, Prisma.ScheduleConflictUncheckedCreateWithoutEntryInput>
}
export type ScheduleConflictCreateManyEntryInputEnvelope = {
data: Prisma.ScheduleConflictCreateManyEntryInput | Prisma.ScheduleConflictCreateManyEntryInput[]
skipDuplicates?: boolean
}
export type ScheduleConflictUpsertWithWhereUniqueWithoutEntryInput = {
where: Prisma.ScheduleConflictWhereUniqueInput
update: Prisma.XOR<Prisma.ScheduleConflictUpdateWithoutEntryInput, Prisma.ScheduleConflictUncheckedUpdateWithoutEntryInput>
create: Prisma.XOR<Prisma.ScheduleConflictCreateWithoutEntryInput, Prisma.ScheduleConflictUncheckedCreateWithoutEntryInput>
}
export type ScheduleConflictUpdateWithWhereUniqueWithoutEntryInput = {
where: Prisma.ScheduleConflictWhereUniqueInput
data: Prisma.XOR<Prisma.ScheduleConflictUpdateWithoutEntryInput, Prisma.ScheduleConflictUncheckedUpdateWithoutEntryInput>
}
export type ScheduleConflictUpdateManyWithWhereWithoutEntryInput = {
where: Prisma.ScheduleConflictScalarWhereInput
data: Prisma.XOR<Prisma.ScheduleConflictUpdateManyMutationInput, Prisma.ScheduleConflictUncheckedUpdateManyWithoutEntryInput>
}
export type ScheduleConflictScalarWhereInput = {
AND?: Prisma.ScheduleConflictScalarWhereInput | Prisma.ScheduleConflictScalarWhereInput[]
OR?: Prisma.ScheduleConflictScalarWhereInput[]
NOT?: Prisma.ScheduleConflictScalarWhereInput | Prisma.ScheduleConflictScalarWhereInput[]
id?: Prisma.StringFilter<"ScheduleConflict"> | string
tenantId?: Prisma.StringFilter<"ScheduleConflict"> | string
entryId?: Prisma.StringFilter<"ScheduleConflict"> | string
type?: Prisma.EnumScheduleConflictTypeFilter<"ScheduleConflict"> | $Enums.ScheduleConflictType
severity?: Prisma.EnumScheduleConflictSeverityFilter<"ScheduleConflict"> | $Enums.ScheduleConflictSeverity
messageKey?: Prisma.StringFilter<"ScheduleConflict"> | string
sourceKind?: Prisma.StringNullableFilter<"ScheduleConflict"> | string | null
sourceId?: Prisma.StringNullableFilter<"ScheduleConflict"> | string | null
createdAt?: Prisma.DateTimeFilter<"ScheduleConflict"> | Date | string
resolvedAt?: Prisma.DateTimeNullableFilter<"ScheduleConflict"> | Date | string | null
overriddenAt?: Prisma.DateTimeNullableFilter<"ScheduleConflict"> | Date | string | null
}
export type ScheduleConflictCreateManyEntryInput = {
id?: string
tenantId: string
type: $Enums.ScheduleConflictType
severity?: $Enums.ScheduleConflictSeverity
messageKey: string
sourceKind?: string | null
sourceId?: string | null
createdAt?: Date | string
resolvedAt?: Date | string | null
overriddenAt?: Date | string | null
}
export type ScheduleConflictUpdateWithoutEntryInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
type?: Prisma.EnumScheduleConflictTypeFieldUpdateOperationsInput | $Enums.ScheduleConflictType
severity?: Prisma.EnumScheduleConflictSeverityFieldUpdateOperationsInput | $Enums.ScheduleConflictSeverity
messageKey?: Prisma.StringFieldUpdateOperationsInput | string
sourceKind?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
sourceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
resolvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
overriddenAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}
export type ScheduleConflictUncheckedUpdateWithoutEntryInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
type?: Prisma.EnumScheduleConflictTypeFieldUpdateOperationsInput | $Enums.ScheduleConflictType
severity?: Prisma.EnumScheduleConflictSeverityFieldUpdateOperationsInput | $Enums.ScheduleConflictSeverity
messageKey?: Prisma.StringFieldUpdateOperationsInput | string
sourceKind?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
sourceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
resolvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
overriddenAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}
export type ScheduleConflictUncheckedUpdateManyWithoutEntryInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
type?: Prisma.EnumScheduleConflictTypeFieldUpdateOperationsInput | $Enums.ScheduleConflictType
severity?: Prisma.EnumScheduleConflictSeverityFieldUpdateOperationsInput | $Enums.ScheduleConflictSeverity
messageKey?: Prisma.StringFieldUpdateOperationsInput | string
sourceKind?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
sourceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
resolvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
overriddenAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}
export type ScheduleConflictSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
tenantId?: boolean
entryId?: boolean
type?: boolean
severity?: boolean
messageKey?: boolean
sourceKind?: boolean
sourceId?: boolean
createdAt?: boolean
resolvedAt?: boolean
overriddenAt?: boolean
entry?: boolean | Prisma.ScheduleEntryDefaultArgs<ExtArgs>
}, ExtArgs["result"]["scheduleConflict"]>
export type ScheduleConflictSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
tenantId?: boolean
entryId?: boolean
type?: boolean
severity?: boolean
messageKey?: boolean
sourceKind?: boolean
sourceId?: boolean
createdAt?: boolean
resolvedAt?: boolean
overriddenAt?: boolean
entry?: boolean | Prisma.ScheduleEntryDefaultArgs<ExtArgs>
}, ExtArgs["result"]["scheduleConflict"]>
export type ScheduleConflictSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
tenantId?: boolean
entryId?: boolean
type?: boolean
severity?: boolean
messageKey?: boolean
sourceKind?: boolean
sourceId?: boolean
createdAt?: boolean
resolvedAt?: boolean
overriddenAt?: boolean
entry?: boolean | Prisma.ScheduleEntryDefaultArgs<ExtArgs>
}, ExtArgs["result"]["scheduleConflict"]>
export type ScheduleConflictSelectScalar = {
id?: boolean
tenantId?: boolean
entryId?: boolean
type?: boolean
severity?: boolean
messageKey?: boolean
sourceKind?: boolean
sourceId?: boolean
createdAt?: boolean
resolvedAt?: boolean
overriddenAt?: boolean
}
export type ScheduleConflictOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "entryId" | "type" | "severity" | "messageKey" | "sourceKind" | "sourceId" | "createdAt" | "resolvedAt" | "overriddenAt", ExtArgs["result"]["scheduleConflict"]>
export type ScheduleConflictInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
entry?: boolean | Prisma.ScheduleEntryDefaultArgs<ExtArgs>
}
export type ScheduleConflictIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
entry?: boolean | Prisma.ScheduleEntryDefaultArgs<ExtArgs>
}
export type ScheduleConflictIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
entry?: boolean | Prisma.ScheduleEntryDefaultArgs<ExtArgs>
}
export type $ScheduleConflictPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
name: "ScheduleConflict"
objects: {
entry: Prisma.$ScheduleEntryPayload<ExtArgs>
}
scalars: runtime.Types.Extensions.GetPayloadResult<{
id: string
tenantId: string
entryId: string
type: $Enums.ScheduleConflictType
severity: $Enums.ScheduleConflictSeverity
messageKey: string
sourceKind: string | null
sourceId: string | null
createdAt: Date
resolvedAt: Date | null
overriddenAt: Date | null
}, ExtArgs["result"]["scheduleConflict"]>
composites: {}
}
export type ScheduleConflictGetPayload<S extends boolean | null | undefined | ScheduleConflictDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ScheduleConflictPayload, S>
export type ScheduleConflictCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
Omit<ScheduleConflictFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
select?: ScheduleConflictCountAggregateInputType | true
}
export interface ScheduleConflictDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['ScheduleConflict'], meta: { name: 'ScheduleConflict' } }
/**
* Find zero or one ScheduleConflict that matches the filter.
* @param {ScheduleConflictFindUniqueArgs} args - Arguments to find a ScheduleConflict
* @example
* // Get one ScheduleConflict
* const scheduleConflict = await prisma.scheduleConflict.findUnique({
* where: {
* // ... provide filter here
* }
* })
*/
findUnique<T extends ScheduleConflictFindUniqueArgs>(args: Prisma.SelectSubset<T, ScheduleConflictFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ScheduleConflictClient<runtime.Types.Result.GetResult<Prisma.$ScheduleConflictPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find one ScheduleConflict that matches the filter or throw an error with `error.code='P2025'`
* if no matches were found.
* @param {ScheduleConflictFindUniqueOrThrowArgs} args - Arguments to find a ScheduleConflict
* @example
* // Get one ScheduleConflict
* const scheduleConflict = await prisma.scheduleConflict.findUniqueOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findUniqueOrThrow<T extends ScheduleConflictFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ScheduleConflictFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ScheduleConflictClient<runtime.Types.Result.GetResult<Prisma.$ScheduleConflictPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find the first ScheduleConflict 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 {ScheduleConflictFindFirstArgs} args - Arguments to find a ScheduleConflict
* @example
* // Get one ScheduleConflict
* const scheduleConflict = await prisma.scheduleConflict.findFirst({
* where: {
* // ... provide filter here
* }
* })
*/
findFirst<T extends ScheduleConflictFindFirstArgs>(args?: Prisma.SelectSubset<T, ScheduleConflictFindFirstArgs<ExtArgs>>): Prisma.Prisma__ScheduleConflictClient<runtime.Types.Result.GetResult<Prisma.$ScheduleConflictPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find the first ScheduleConflict 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 {ScheduleConflictFindFirstOrThrowArgs} args - Arguments to find a ScheduleConflict
* @example
* // Get one ScheduleConflict
* const scheduleConflict = await prisma.scheduleConflict.findFirstOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findFirstOrThrow<T extends ScheduleConflictFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ScheduleConflictFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ScheduleConflictClient<runtime.Types.Result.GetResult<Prisma.$ScheduleConflictPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find zero or more ScheduleConflicts 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 {ScheduleConflictFindManyArgs} args - Arguments to filter and select certain fields only.
* @example
* // Get all ScheduleConflicts
* const scheduleConflicts = await prisma.scheduleConflict.findMany()
*
* // Get first 10 ScheduleConflicts
* const scheduleConflicts = await prisma.scheduleConflict.findMany({ take: 10 })
*
* // Only select the `id`
* const scheduleConflictWithIdOnly = await prisma.scheduleConflict.findMany({ select: { id: true } })
*
*/
findMany<T extends ScheduleConflictFindManyArgs>(args?: Prisma.SelectSubset<T, ScheduleConflictFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ScheduleConflictPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
/**
* Create a ScheduleConflict.
* @param {ScheduleConflictCreateArgs} args - Arguments to create a ScheduleConflict.
* @example
* // Create one ScheduleConflict
* const ScheduleConflict = await prisma.scheduleConflict.create({
* data: {
* // ... data to create a ScheduleConflict
* }
* })
*
*/
create<T extends ScheduleConflictCreateArgs>(args: Prisma.SelectSubset<T, ScheduleConflictCreateArgs<ExtArgs>>): Prisma.Prisma__ScheduleConflictClient<runtime.Types.Result.GetResult<Prisma.$ScheduleConflictPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Create many ScheduleConflicts.
* @param {ScheduleConflictCreateManyArgs} args - Arguments to create many ScheduleConflicts.
* @example
* // Create many ScheduleConflicts
* const scheduleConflict = await prisma.scheduleConflict.createMany({
* data: [
* // ... provide data here
* ]
* })
*
*/
createMany<T extends ScheduleConflictCreateManyArgs>(args?: Prisma.SelectSubset<T, ScheduleConflictCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Create many ScheduleConflicts and returns the data saved in the database.
* @param {ScheduleConflictCreateManyAndReturnArgs} args - Arguments to create many ScheduleConflicts.
* @example
* // Create many ScheduleConflicts
* const scheduleConflict = await prisma.scheduleConflict.createManyAndReturn({
* data: [
* // ... provide data here
* ]
* })
*
* // Create many ScheduleConflicts and only return the `id`
* const scheduleConflictWithIdOnly = await prisma.scheduleConflict.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 ScheduleConflictCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ScheduleConflictCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ScheduleConflictPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
/**
* Delete a ScheduleConflict.
* @param {ScheduleConflictDeleteArgs} args - Arguments to delete one ScheduleConflict.
* @example
* // Delete one ScheduleConflict
* const ScheduleConflict = await prisma.scheduleConflict.delete({
* where: {
* // ... filter to delete one ScheduleConflict
* }
* })
*
*/
delete<T extends ScheduleConflictDeleteArgs>(args: Prisma.SelectSubset<T, ScheduleConflictDeleteArgs<ExtArgs>>): Prisma.Prisma__ScheduleConflictClient<runtime.Types.Result.GetResult<Prisma.$ScheduleConflictPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Update one ScheduleConflict.
* @param {ScheduleConflictUpdateArgs} args - Arguments to update one ScheduleConflict.
* @example
* // Update one ScheduleConflict
* const scheduleConflict = await prisma.scheduleConflict.update({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
update<T extends ScheduleConflictUpdateArgs>(args: Prisma.SelectSubset<T, ScheduleConflictUpdateArgs<ExtArgs>>): Prisma.Prisma__ScheduleConflictClient<runtime.Types.Result.GetResult<Prisma.$ScheduleConflictPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Delete zero or more ScheduleConflicts.
* @param {ScheduleConflictDeleteManyArgs} args - Arguments to filter ScheduleConflicts to delete.
* @example
* // Delete a few ScheduleConflicts
* const { count } = await prisma.scheduleConflict.deleteMany({
* where: {
* // ... provide filter here
* }
* })
*
*/
deleteMany<T extends ScheduleConflictDeleteManyArgs>(args?: Prisma.SelectSubset<T, ScheduleConflictDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more ScheduleConflicts.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {ScheduleConflictUpdateManyArgs} args - Arguments to update one or more rows.
* @example
* // Update many ScheduleConflicts
* const scheduleConflict = await prisma.scheduleConflict.updateMany({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
updateMany<T extends ScheduleConflictUpdateManyArgs>(args: Prisma.SelectSubset<T, ScheduleConflictUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more ScheduleConflicts and returns the data updated in the database.
* @param {ScheduleConflictUpdateManyAndReturnArgs} args - Arguments to update many ScheduleConflicts.
* @example
* // Update many ScheduleConflicts
* const scheduleConflict = await prisma.scheduleConflict.updateManyAndReturn({
* where: {
* // ... provide filter here
* },
* data: [
* // ... provide data here
* ]
* })
*
* // Update zero or more ScheduleConflicts and only return the `id`
* const scheduleConflictWithIdOnly = await prisma.scheduleConflict.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 ScheduleConflictUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ScheduleConflictUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ScheduleConflictPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
/**
* Create or update one ScheduleConflict.
* @param {ScheduleConflictUpsertArgs} args - Arguments to update or create a ScheduleConflict.
* @example
* // Update or create a ScheduleConflict
* const scheduleConflict = await prisma.scheduleConflict.upsert({
* create: {
* // ... data to create a ScheduleConflict
* },
* update: {
* // ... in case it already exists, update
* },
* where: {
* // ... the filter for the ScheduleConflict we want to update
* }
* })
*/
upsert<T extends ScheduleConflictUpsertArgs>(args: Prisma.SelectSubset<T, ScheduleConflictUpsertArgs<ExtArgs>>): Prisma.Prisma__ScheduleConflictClient<runtime.Types.Result.GetResult<Prisma.$ScheduleConflictPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Count the number of ScheduleConflicts.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {ScheduleConflictCountArgs} args - Arguments to filter ScheduleConflicts to count.
* @example
* // Count the number of ScheduleConflicts
* const count = await prisma.scheduleConflict.count({
* where: {
* // ... the filter for the ScheduleConflicts we want to count
* }
* })
**/
count<T extends ScheduleConflictCountArgs>(
args?: Prisma.Subset<T, ScheduleConflictCountArgs>,
): Prisma.PrismaPromise<
T extends runtime.Types.Utils.Record<'select', any>
? T['select'] extends true
? number
: Prisma.GetScalarType<T['select'], ScheduleConflictCountAggregateOutputType>
: number
>
/**
* Allows you to perform aggregations operations on a ScheduleConflict.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {ScheduleConflictAggregateArgs} 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 ScheduleConflictAggregateArgs>(args: Prisma.Subset<T, ScheduleConflictAggregateArgs>): Prisma.PrismaPromise<GetScheduleConflictAggregateType<T>>
/**
* Group by ScheduleConflict.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {ScheduleConflictGroupByArgs} 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 ScheduleConflictGroupByArgs,
HasSelectOrTake extends Prisma.Or<
Prisma.Extends<'skip', Prisma.Keys<T>>,
Prisma.Extends<'take', Prisma.Keys<T>>
>,
OrderByArg extends Prisma.True extends HasSelectOrTake
? { orderBy: ScheduleConflictGroupByArgs['orderBy'] }
: { orderBy?: ScheduleConflictGroupByArgs['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, ScheduleConflictGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetScheduleConflictGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* Fields of the ScheduleConflict model
*/
readonly fields: ScheduleConflictFieldRefs;
}
/**
* The delegate class that acts as a "Promise-like" for ScheduleConflict.
* 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__ScheduleConflictClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
readonly [Symbol.toStringTag]: "PrismaPromise"
entry<T extends Prisma.ScheduleEntryDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ScheduleEntryDefaultArgs<ExtArgs>>): Prisma.Prisma__ScheduleEntryClient<runtime.Types.Result.GetResult<Prisma.$ScheduleEntryPayload<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 ScheduleConflict model
*/
export interface ScheduleConflictFieldRefs {
readonly id: Prisma.FieldRef<"ScheduleConflict", 'String'>
readonly tenantId: Prisma.FieldRef<"ScheduleConflict", 'String'>
readonly entryId: Prisma.FieldRef<"ScheduleConflict", 'String'>
readonly type: Prisma.FieldRef<"ScheduleConflict", 'ScheduleConflictType'>
readonly severity: Prisma.FieldRef<"ScheduleConflict", 'ScheduleConflictSeverity'>
readonly messageKey: Prisma.FieldRef<"ScheduleConflict", 'String'>
readonly sourceKind: Prisma.FieldRef<"ScheduleConflict", 'String'>
readonly sourceId: Prisma.FieldRef<"ScheduleConflict", 'String'>
readonly createdAt: Prisma.FieldRef<"ScheduleConflict", 'DateTime'>
readonly resolvedAt: Prisma.FieldRef<"ScheduleConflict", 'DateTime'>
readonly overriddenAt: Prisma.FieldRef<"ScheduleConflict", 'DateTime'>
}
// Custom InputTypes
/**
* ScheduleConflict findUnique
*/
export type ScheduleConflictFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the ScheduleConflict
*/
select?: Prisma.ScheduleConflictSelect<ExtArgs> | null
/**
* Omit specific fields from the ScheduleConflict
*/
omit?: Prisma.ScheduleConflictOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.ScheduleConflictInclude<ExtArgs> | null
/**
* Filter, which ScheduleConflict to fetch.
*/
where: Prisma.ScheduleConflictWhereUniqueInput
}
/**
* ScheduleConflict findUniqueOrThrow
*/
export type ScheduleConflictFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the ScheduleConflict
*/
select?: Prisma.ScheduleConflictSelect<ExtArgs> | null
/**
* Omit specific fields from the ScheduleConflict
*/
omit?: Prisma.ScheduleConflictOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.ScheduleConflictInclude<ExtArgs> | null
/**
* Filter, which ScheduleConflict to fetch.
*/
where: Prisma.ScheduleConflictWhereUniqueInput
}
/**
* ScheduleConflict findFirst
*/
export type ScheduleConflictFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the ScheduleConflict
*/
select?: Prisma.ScheduleConflictSelect<ExtArgs> | null
/**
* Omit specific fields from the ScheduleConflict
*/
omit?: Prisma.ScheduleConflictOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.ScheduleConflictInclude<ExtArgs> | null
/**
* Filter, which ScheduleConflict to fetch.
*/
where?: Prisma.ScheduleConflictWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of ScheduleConflicts to fetch.
*/
orderBy?: Prisma.ScheduleConflictOrderByWithRelationInput | Prisma.ScheduleConflictOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for ScheduleConflicts.
*/
cursor?: Prisma.ScheduleConflictWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` ScheduleConflicts 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` ScheduleConflicts.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of ScheduleConflicts.
*/
distinct?: Prisma.ScheduleConflictScalarFieldEnum | Prisma.ScheduleConflictScalarFieldEnum[]
}
/**
* ScheduleConflict findFirstOrThrow
*/
export type ScheduleConflictFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the ScheduleConflict
*/
select?: Prisma.ScheduleConflictSelect<ExtArgs> | null
/**
* Omit specific fields from the ScheduleConflict
*/
omit?: Prisma.ScheduleConflictOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.ScheduleConflictInclude<ExtArgs> | null
/**
* Filter, which ScheduleConflict to fetch.
*/
where?: Prisma.ScheduleConflictWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of ScheduleConflicts to fetch.
*/
orderBy?: Prisma.ScheduleConflictOrderByWithRelationInput | Prisma.ScheduleConflictOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for ScheduleConflicts.
*/
cursor?: Prisma.ScheduleConflictWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` ScheduleConflicts 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` ScheduleConflicts.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of ScheduleConflicts.
*/
distinct?: Prisma.ScheduleConflictScalarFieldEnum | Prisma.ScheduleConflictScalarFieldEnum[]
}
/**
* ScheduleConflict findMany
*/
export type ScheduleConflictFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the ScheduleConflict
*/
select?: Prisma.ScheduleConflictSelect<ExtArgs> | null
/**
* Omit specific fields from the ScheduleConflict
*/
omit?: Prisma.ScheduleConflictOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.ScheduleConflictInclude<ExtArgs> | null
/**
* Filter, which ScheduleConflicts to fetch.
*/
where?: Prisma.ScheduleConflictWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of ScheduleConflicts to fetch.
*/
orderBy?: Prisma.ScheduleConflictOrderByWithRelationInput | Prisma.ScheduleConflictOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for listing ScheduleConflicts.
*/
cursor?: Prisma.ScheduleConflictWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` ScheduleConflicts 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` ScheduleConflicts.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of ScheduleConflicts.
*/
distinct?: Prisma.ScheduleConflictScalarFieldEnum | Prisma.ScheduleConflictScalarFieldEnum[]
}
/**
* ScheduleConflict create
*/
export type ScheduleConflictCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the ScheduleConflict
*/
select?: Prisma.ScheduleConflictSelect<ExtArgs> | null
/**
* Omit specific fields from the ScheduleConflict
*/
omit?: Prisma.ScheduleConflictOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.ScheduleConflictInclude<ExtArgs> | null
/**
* The data needed to create a ScheduleConflict.
*/
data: Prisma.XOR<Prisma.ScheduleConflictCreateInput, Prisma.ScheduleConflictUncheckedCreateInput>
}
/**
* ScheduleConflict createMany
*/
export type ScheduleConflictCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to create many ScheduleConflicts.
*/
data: Prisma.ScheduleConflictCreateManyInput | Prisma.ScheduleConflictCreateManyInput[]
skipDuplicates?: boolean
}
/**
* ScheduleConflict createManyAndReturn
*/
export type ScheduleConflictCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the ScheduleConflict
*/
select?: Prisma.ScheduleConflictSelectCreateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the ScheduleConflict
*/
omit?: Prisma.ScheduleConflictOmit<ExtArgs> | null
/**
* The data used to create many ScheduleConflicts.
*/
data: Prisma.ScheduleConflictCreateManyInput | Prisma.ScheduleConflictCreateManyInput[]
skipDuplicates?: boolean
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.ScheduleConflictIncludeCreateManyAndReturn<ExtArgs> | null
}
/**
* ScheduleConflict update
*/
export type ScheduleConflictUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the ScheduleConflict
*/
select?: Prisma.ScheduleConflictSelect<ExtArgs> | null
/**
* Omit specific fields from the ScheduleConflict
*/
omit?: Prisma.ScheduleConflictOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.ScheduleConflictInclude<ExtArgs> | null
/**
* The data needed to update a ScheduleConflict.
*/
data: Prisma.XOR<Prisma.ScheduleConflictUpdateInput, Prisma.ScheduleConflictUncheckedUpdateInput>
/**
* Choose, which ScheduleConflict to update.
*/
where: Prisma.ScheduleConflictWhereUniqueInput
}
/**
* ScheduleConflict updateMany
*/
export type ScheduleConflictUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to update ScheduleConflicts.
*/
data: Prisma.XOR<Prisma.ScheduleConflictUpdateManyMutationInput, Prisma.ScheduleConflictUncheckedUpdateManyInput>
/**
* Filter which ScheduleConflicts to update
*/
where?: Prisma.ScheduleConflictWhereInput
/**
* Limit how many ScheduleConflicts to update.
*/
limit?: number
}
/**
* ScheduleConflict updateManyAndReturn
*/
export type ScheduleConflictUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the ScheduleConflict
*/
select?: Prisma.ScheduleConflictSelectUpdateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the ScheduleConflict
*/
omit?: Prisma.ScheduleConflictOmit<ExtArgs> | null
/**
* The data used to update ScheduleConflicts.
*/
data: Prisma.XOR<Prisma.ScheduleConflictUpdateManyMutationInput, Prisma.ScheduleConflictUncheckedUpdateManyInput>
/**
* Filter which ScheduleConflicts to update
*/
where?: Prisma.ScheduleConflictWhereInput
/**
* Limit how many ScheduleConflicts to update.
*/
limit?: number
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.ScheduleConflictIncludeUpdateManyAndReturn<ExtArgs> | null
}
/**
* ScheduleConflict upsert
*/
export type ScheduleConflictUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the ScheduleConflict
*/
select?: Prisma.ScheduleConflictSelect<ExtArgs> | null
/**
* Omit specific fields from the ScheduleConflict
*/
omit?: Prisma.ScheduleConflictOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.ScheduleConflictInclude<ExtArgs> | null
/**
* The filter to search for the ScheduleConflict to update in case it exists.
*/
where: Prisma.ScheduleConflictWhereUniqueInput
/**
* In case the ScheduleConflict found by the `where` argument doesn't exist, create a new ScheduleConflict with this data.
*/
create: Prisma.XOR<Prisma.ScheduleConflictCreateInput, Prisma.ScheduleConflictUncheckedCreateInput>
/**
* In case the ScheduleConflict was found with the provided `where` argument, update it with this data.
*/
update: Prisma.XOR<Prisma.ScheduleConflictUpdateInput, Prisma.ScheduleConflictUncheckedUpdateInput>
}
/**
* ScheduleConflict delete
*/
export type ScheduleConflictDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the ScheduleConflict
*/
select?: Prisma.ScheduleConflictSelect<ExtArgs> | null
/**
* Omit specific fields from the ScheduleConflict
*/
omit?: Prisma.ScheduleConflictOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.ScheduleConflictInclude<ExtArgs> | null
/**
* Filter which ScheduleConflict to delete.
*/
where: Prisma.ScheduleConflictWhereUniqueInput
}
/**
* ScheduleConflict deleteMany
*/
export type ScheduleConflictDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which ScheduleConflicts to delete
*/
where?: Prisma.ScheduleConflictWhereInput
/**
* Limit how many ScheduleConflicts to delete.
*/
limit?: number
}
/**
* ScheduleConflict without action
*/
export type ScheduleConflictDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the ScheduleConflict
*/
select?: Prisma.ScheduleConflictSelect<ExtArgs> | null
/**
* Omit specific fields from the ScheduleConflict
*/
omit?: Prisma.ScheduleConflictOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.ScheduleConflictInclude<ExtArgs> | null
}