1526 lines
62 KiB
TypeScript
1526 lines
62 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 `CalendarConflict` 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 CalendarConflict
|
|
* A resolved sync conflict (DoD 4). The connection-detail view shows the latest
|
|
* 50 with a Klartext description + how it was resolved (Last-Write-Wins).
|
|
*/
|
|
export type CalendarConflictModel = runtime.Types.Result.DefaultSelection<Prisma.$CalendarConflictPayload>
|
|
|
|
export type AggregateCalendarConflict = {
|
|
_count: CalendarConflictCountAggregateOutputType | null
|
|
_min: CalendarConflictMinAggregateOutputType | null
|
|
_max: CalendarConflictMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type CalendarConflictMinAggregateOutputType = {
|
|
id: string | null
|
|
createdAt: Date | null
|
|
tenantId: string | null
|
|
connectionId: string | null
|
|
userId: string | null
|
|
internalEventId: string | null
|
|
externalEventId: string | null
|
|
resolution: $Enums.CalendarConflictResolution | null
|
|
descriptionText: string | null
|
|
isDemoData: boolean | null
|
|
}
|
|
|
|
export type CalendarConflictMaxAggregateOutputType = {
|
|
id: string | null
|
|
createdAt: Date | null
|
|
tenantId: string | null
|
|
connectionId: string | null
|
|
userId: string | null
|
|
internalEventId: string | null
|
|
externalEventId: string | null
|
|
resolution: $Enums.CalendarConflictResolution | null
|
|
descriptionText: string | null
|
|
isDemoData: boolean | null
|
|
}
|
|
|
|
export type CalendarConflictCountAggregateOutputType = {
|
|
id: number
|
|
createdAt: number
|
|
tenantId: number
|
|
connectionId: number
|
|
userId: number
|
|
internalEventId: number
|
|
externalEventId: number
|
|
resolution: number
|
|
descriptionText: number
|
|
isDemoData: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type CalendarConflictMinAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
tenantId?: true
|
|
connectionId?: true
|
|
userId?: true
|
|
internalEventId?: true
|
|
externalEventId?: true
|
|
resolution?: true
|
|
descriptionText?: true
|
|
isDemoData?: true
|
|
}
|
|
|
|
export type CalendarConflictMaxAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
tenantId?: true
|
|
connectionId?: true
|
|
userId?: true
|
|
internalEventId?: true
|
|
externalEventId?: true
|
|
resolution?: true
|
|
descriptionText?: true
|
|
isDemoData?: true
|
|
}
|
|
|
|
export type CalendarConflictCountAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
tenantId?: true
|
|
connectionId?: true
|
|
userId?: true
|
|
internalEventId?: true
|
|
externalEventId?: true
|
|
resolution?: true
|
|
descriptionText?: true
|
|
isDemoData?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type CalendarConflictAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which CalendarConflict to aggregate.
|
|
*/
|
|
where?: Prisma.CalendarConflictWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of CalendarConflicts to fetch.
|
|
*/
|
|
orderBy?: Prisma.CalendarConflictOrderByWithRelationInput | Prisma.CalendarConflictOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.CalendarConflictWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` CalendarConflicts 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` CalendarConflicts.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned CalendarConflicts
|
|
**/
|
|
_count?: true | CalendarConflictCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: CalendarConflictMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: CalendarConflictMaxAggregateInputType
|
|
}
|
|
|
|
export type GetCalendarConflictAggregateType<T extends CalendarConflictAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateCalendarConflict]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateCalendarConflict[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateCalendarConflict[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type CalendarConflictGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.CalendarConflictWhereInput
|
|
orderBy?: Prisma.CalendarConflictOrderByWithAggregationInput | Prisma.CalendarConflictOrderByWithAggregationInput[]
|
|
by: Prisma.CalendarConflictScalarFieldEnum[] | Prisma.CalendarConflictScalarFieldEnum
|
|
having?: Prisma.CalendarConflictScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: CalendarConflictCountAggregateInputType | true
|
|
_min?: CalendarConflictMinAggregateInputType
|
|
_max?: CalendarConflictMaxAggregateInputType
|
|
}
|
|
|
|
export type CalendarConflictGroupByOutputType = {
|
|
id: string
|
|
createdAt: Date
|
|
tenantId: string
|
|
connectionId: string
|
|
userId: string
|
|
internalEventId: string | null
|
|
externalEventId: string | null
|
|
resolution: $Enums.CalendarConflictResolution
|
|
descriptionText: string
|
|
isDemoData: boolean
|
|
_count: CalendarConflictCountAggregateOutputType | null
|
|
_min: CalendarConflictMinAggregateOutputType | null
|
|
_max: CalendarConflictMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type GetCalendarConflictGroupByPayload<T extends CalendarConflictGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<CalendarConflictGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof CalendarConflictGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], CalendarConflictGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], CalendarConflictGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type CalendarConflictWhereInput = {
|
|
AND?: Prisma.CalendarConflictWhereInput | Prisma.CalendarConflictWhereInput[]
|
|
OR?: Prisma.CalendarConflictWhereInput[]
|
|
NOT?: Prisma.CalendarConflictWhereInput | Prisma.CalendarConflictWhereInput[]
|
|
id?: Prisma.StringFilter<"CalendarConflict"> | string
|
|
createdAt?: Prisma.DateTimeFilter<"CalendarConflict"> | Date | string
|
|
tenantId?: Prisma.StringFilter<"CalendarConflict"> | string
|
|
connectionId?: Prisma.StringFilter<"CalendarConflict"> | string
|
|
userId?: Prisma.StringFilter<"CalendarConflict"> | string
|
|
internalEventId?: Prisma.StringNullableFilter<"CalendarConflict"> | string | null
|
|
externalEventId?: Prisma.StringNullableFilter<"CalendarConflict"> | string | null
|
|
resolution?: Prisma.EnumCalendarConflictResolutionFilter<"CalendarConflict"> | $Enums.CalendarConflictResolution
|
|
descriptionText?: Prisma.StringFilter<"CalendarConflict"> | string
|
|
isDemoData?: Prisma.BoolFilter<"CalendarConflict"> | boolean
|
|
connection?: Prisma.XOR<Prisma.CalendarConnectionScalarRelationFilter, Prisma.CalendarConnectionWhereInput>
|
|
}
|
|
|
|
export type CalendarConflictOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
connectionId?: Prisma.SortOrder
|
|
userId?: Prisma.SortOrder
|
|
internalEventId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
externalEventId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
resolution?: Prisma.SortOrder
|
|
descriptionText?: Prisma.SortOrder
|
|
isDemoData?: Prisma.SortOrder
|
|
connection?: Prisma.CalendarConnectionOrderByWithRelationInput
|
|
}
|
|
|
|
export type CalendarConflictWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: string
|
|
AND?: Prisma.CalendarConflictWhereInput | Prisma.CalendarConflictWhereInput[]
|
|
OR?: Prisma.CalendarConflictWhereInput[]
|
|
NOT?: Prisma.CalendarConflictWhereInput | Prisma.CalendarConflictWhereInput[]
|
|
createdAt?: Prisma.DateTimeFilter<"CalendarConflict"> | Date | string
|
|
tenantId?: Prisma.StringFilter<"CalendarConflict"> | string
|
|
connectionId?: Prisma.StringFilter<"CalendarConflict"> | string
|
|
userId?: Prisma.StringFilter<"CalendarConflict"> | string
|
|
internalEventId?: Prisma.StringNullableFilter<"CalendarConflict"> | string | null
|
|
externalEventId?: Prisma.StringNullableFilter<"CalendarConflict"> | string | null
|
|
resolution?: Prisma.EnumCalendarConflictResolutionFilter<"CalendarConflict"> | $Enums.CalendarConflictResolution
|
|
descriptionText?: Prisma.StringFilter<"CalendarConflict"> | string
|
|
isDemoData?: Prisma.BoolFilter<"CalendarConflict"> | boolean
|
|
connection?: Prisma.XOR<Prisma.CalendarConnectionScalarRelationFilter, Prisma.CalendarConnectionWhereInput>
|
|
}, "id">
|
|
|
|
export type CalendarConflictOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
connectionId?: Prisma.SortOrder
|
|
userId?: Prisma.SortOrder
|
|
internalEventId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
externalEventId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
resolution?: Prisma.SortOrder
|
|
descriptionText?: Prisma.SortOrder
|
|
isDemoData?: Prisma.SortOrder
|
|
_count?: Prisma.CalendarConflictCountOrderByAggregateInput
|
|
_max?: Prisma.CalendarConflictMaxOrderByAggregateInput
|
|
_min?: Prisma.CalendarConflictMinOrderByAggregateInput
|
|
}
|
|
|
|
export type CalendarConflictScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.CalendarConflictScalarWhereWithAggregatesInput | Prisma.CalendarConflictScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.CalendarConflictScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.CalendarConflictScalarWhereWithAggregatesInput | Prisma.CalendarConflictScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.StringWithAggregatesFilter<"CalendarConflict"> | string
|
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"CalendarConflict"> | Date | string
|
|
tenantId?: Prisma.StringWithAggregatesFilter<"CalendarConflict"> | string
|
|
connectionId?: Prisma.StringWithAggregatesFilter<"CalendarConflict"> | string
|
|
userId?: Prisma.StringWithAggregatesFilter<"CalendarConflict"> | string
|
|
internalEventId?: Prisma.StringNullableWithAggregatesFilter<"CalendarConflict"> | string | null
|
|
externalEventId?: Prisma.StringNullableWithAggregatesFilter<"CalendarConflict"> | string | null
|
|
resolution?: Prisma.EnumCalendarConflictResolutionWithAggregatesFilter<"CalendarConflict"> | $Enums.CalendarConflictResolution
|
|
descriptionText?: Prisma.StringWithAggregatesFilter<"CalendarConflict"> | string
|
|
isDemoData?: Prisma.BoolWithAggregatesFilter<"CalendarConflict"> | boolean
|
|
}
|
|
|
|
export type CalendarConflictCreateInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
tenantId: string
|
|
userId: string
|
|
internalEventId?: string | null
|
|
externalEventId?: string | null
|
|
resolution: $Enums.CalendarConflictResolution
|
|
descriptionText: string
|
|
isDemoData?: boolean
|
|
connection: Prisma.CalendarConnectionCreateNestedOneWithoutConflictsInput
|
|
}
|
|
|
|
export type CalendarConflictUncheckedCreateInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
tenantId: string
|
|
connectionId: string
|
|
userId: string
|
|
internalEventId?: string | null
|
|
externalEventId?: string | null
|
|
resolution: $Enums.CalendarConflictResolution
|
|
descriptionText: string
|
|
isDemoData?: boolean
|
|
}
|
|
|
|
export type CalendarConflictUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
internalEventId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
externalEventId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
resolution?: Prisma.EnumCalendarConflictResolutionFieldUpdateOperationsInput | $Enums.CalendarConflictResolution
|
|
descriptionText?: Prisma.StringFieldUpdateOperationsInput | string
|
|
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
connection?: Prisma.CalendarConnectionUpdateOneRequiredWithoutConflictsNestedInput
|
|
}
|
|
|
|
export type CalendarConflictUncheckedUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
connectionId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
internalEventId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
externalEventId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
resolution?: Prisma.EnumCalendarConflictResolutionFieldUpdateOperationsInput | $Enums.CalendarConflictResolution
|
|
descriptionText?: Prisma.StringFieldUpdateOperationsInput | string
|
|
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
}
|
|
|
|
export type CalendarConflictCreateManyInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
tenantId: string
|
|
connectionId: string
|
|
userId: string
|
|
internalEventId?: string | null
|
|
externalEventId?: string | null
|
|
resolution: $Enums.CalendarConflictResolution
|
|
descriptionText: string
|
|
isDemoData?: boolean
|
|
}
|
|
|
|
export type CalendarConflictUpdateManyMutationInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
internalEventId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
externalEventId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
resolution?: Prisma.EnumCalendarConflictResolutionFieldUpdateOperationsInput | $Enums.CalendarConflictResolution
|
|
descriptionText?: Prisma.StringFieldUpdateOperationsInput | string
|
|
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
}
|
|
|
|
export type CalendarConflictUncheckedUpdateManyInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
connectionId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
internalEventId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
externalEventId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
resolution?: Prisma.EnumCalendarConflictResolutionFieldUpdateOperationsInput | $Enums.CalendarConflictResolution
|
|
descriptionText?: Prisma.StringFieldUpdateOperationsInput | string
|
|
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
}
|
|
|
|
export type CalendarConflictListRelationFilter = {
|
|
every?: Prisma.CalendarConflictWhereInput
|
|
some?: Prisma.CalendarConflictWhereInput
|
|
none?: Prisma.CalendarConflictWhereInput
|
|
}
|
|
|
|
export type CalendarConflictOrderByRelationAggregateInput = {
|
|
_count?: Prisma.SortOrder
|
|
}
|
|
|
|
export type CalendarConflictCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
connectionId?: Prisma.SortOrder
|
|
userId?: Prisma.SortOrder
|
|
internalEventId?: Prisma.SortOrder
|
|
externalEventId?: Prisma.SortOrder
|
|
resolution?: Prisma.SortOrder
|
|
descriptionText?: Prisma.SortOrder
|
|
isDemoData?: Prisma.SortOrder
|
|
}
|
|
|
|
export type CalendarConflictMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
connectionId?: Prisma.SortOrder
|
|
userId?: Prisma.SortOrder
|
|
internalEventId?: Prisma.SortOrder
|
|
externalEventId?: Prisma.SortOrder
|
|
resolution?: Prisma.SortOrder
|
|
descriptionText?: Prisma.SortOrder
|
|
isDemoData?: Prisma.SortOrder
|
|
}
|
|
|
|
export type CalendarConflictMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
connectionId?: Prisma.SortOrder
|
|
userId?: Prisma.SortOrder
|
|
internalEventId?: Prisma.SortOrder
|
|
externalEventId?: Prisma.SortOrder
|
|
resolution?: Prisma.SortOrder
|
|
descriptionText?: Prisma.SortOrder
|
|
isDemoData?: Prisma.SortOrder
|
|
}
|
|
|
|
export type CalendarConflictCreateNestedManyWithoutConnectionInput = {
|
|
create?: Prisma.XOR<Prisma.CalendarConflictCreateWithoutConnectionInput, Prisma.CalendarConflictUncheckedCreateWithoutConnectionInput> | Prisma.CalendarConflictCreateWithoutConnectionInput[] | Prisma.CalendarConflictUncheckedCreateWithoutConnectionInput[]
|
|
connectOrCreate?: Prisma.CalendarConflictCreateOrConnectWithoutConnectionInput | Prisma.CalendarConflictCreateOrConnectWithoutConnectionInput[]
|
|
createMany?: Prisma.CalendarConflictCreateManyConnectionInputEnvelope
|
|
connect?: Prisma.CalendarConflictWhereUniqueInput | Prisma.CalendarConflictWhereUniqueInput[]
|
|
}
|
|
|
|
export type CalendarConflictUncheckedCreateNestedManyWithoutConnectionInput = {
|
|
create?: Prisma.XOR<Prisma.CalendarConflictCreateWithoutConnectionInput, Prisma.CalendarConflictUncheckedCreateWithoutConnectionInput> | Prisma.CalendarConflictCreateWithoutConnectionInput[] | Prisma.CalendarConflictUncheckedCreateWithoutConnectionInput[]
|
|
connectOrCreate?: Prisma.CalendarConflictCreateOrConnectWithoutConnectionInput | Prisma.CalendarConflictCreateOrConnectWithoutConnectionInput[]
|
|
createMany?: Prisma.CalendarConflictCreateManyConnectionInputEnvelope
|
|
connect?: Prisma.CalendarConflictWhereUniqueInput | Prisma.CalendarConflictWhereUniqueInput[]
|
|
}
|
|
|
|
export type CalendarConflictUpdateManyWithoutConnectionNestedInput = {
|
|
create?: Prisma.XOR<Prisma.CalendarConflictCreateWithoutConnectionInput, Prisma.CalendarConflictUncheckedCreateWithoutConnectionInput> | Prisma.CalendarConflictCreateWithoutConnectionInput[] | Prisma.CalendarConflictUncheckedCreateWithoutConnectionInput[]
|
|
connectOrCreate?: Prisma.CalendarConflictCreateOrConnectWithoutConnectionInput | Prisma.CalendarConflictCreateOrConnectWithoutConnectionInput[]
|
|
upsert?: Prisma.CalendarConflictUpsertWithWhereUniqueWithoutConnectionInput | Prisma.CalendarConflictUpsertWithWhereUniqueWithoutConnectionInput[]
|
|
createMany?: Prisma.CalendarConflictCreateManyConnectionInputEnvelope
|
|
set?: Prisma.CalendarConflictWhereUniqueInput | Prisma.CalendarConflictWhereUniqueInput[]
|
|
disconnect?: Prisma.CalendarConflictWhereUniqueInput | Prisma.CalendarConflictWhereUniqueInput[]
|
|
delete?: Prisma.CalendarConflictWhereUniqueInput | Prisma.CalendarConflictWhereUniqueInput[]
|
|
connect?: Prisma.CalendarConflictWhereUniqueInput | Prisma.CalendarConflictWhereUniqueInput[]
|
|
update?: Prisma.CalendarConflictUpdateWithWhereUniqueWithoutConnectionInput | Prisma.CalendarConflictUpdateWithWhereUniqueWithoutConnectionInput[]
|
|
updateMany?: Prisma.CalendarConflictUpdateManyWithWhereWithoutConnectionInput | Prisma.CalendarConflictUpdateManyWithWhereWithoutConnectionInput[]
|
|
deleteMany?: Prisma.CalendarConflictScalarWhereInput | Prisma.CalendarConflictScalarWhereInput[]
|
|
}
|
|
|
|
export type CalendarConflictUncheckedUpdateManyWithoutConnectionNestedInput = {
|
|
create?: Prisma.XOR<Prisma.CalendarConflictCreateWithoutConnectionInput, Prisma.CalendarConflictUncheckedCreateWithoutConnectionInput> | Prisma.CalendarConflictCreateWithoutConnectionInput[] | Prisma.CalendarConflictUncheckedCreateWithoutConnectionInput[]
|
|
connectOrCreate?: Prisma.CalendarConflictCreateOrConnectWithoutConnectionInput | Prisma.CalendarConflictCreateOrConnectWithoutConnectionInput[]
|
|
upsert?: Prisma.CalendarConflictUpsertWithWhereUniqueWithoutConnectionInput | Prisma.CalendarConflictUpsertWithWhereUniqueWithoutConnectionInput[]
|
|
createMany?: Prisma.CalendarConflictCreateManyConnectionInputEnvelope
|
|
set?: Prisma.CalendarConflictWhereUniqueInput | Prisma.CalendarConflictWhereUniqueInput[]
|
|
disconnect?: Prisma.CalendarConflictWhereUniqueInput | Prisma.CalendarConflictWhereUniqueInput[]
|
|
delete?: Prisma.CalendarConflictWhereUniqueInput | Prisma.CalendarConflictWhereUniqueInput[]
|
|
connect?: Prisma.CalendarConflictWhereUniqueInput | Prisma.CalendarConflictWhereUniqueInput[]
|
|
update?: Prisma.CalendarConflictUpdateWithWhereUniqueWithoutConnectionInput | Prisma.CalendarConflictUpdateWithWhereUniqueWithoutConnectionInput[]
|
|
updateMany?: Prisma.CalendarConflictUpdateManyWithWhereWithoutConnectionInput | Prisma.CalendarConflictUpdateManyWithWhereWithoutConnectionInput[]
|
|
deleteMany?: Prisma.CalendarConflictScalarWhereInput | Prisma.CalendarConflictScalarWhereInput[]
|
|
}
|
|
|
|
export type EnumCalendarConflictResolutionFieldUpdateOperationsInput = {
|
|
set?: $Enums.CalendarConflictResolution
|
|
}
|
|
|
|
export type CalendarConflictCreateWithoutConnectionInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
tenantId: string
|
|
userId: string
|
|
internalEventId?: string | null
|
|
externalEventId?: string | null
|
|
resolution: $Enums.CalendarConflictResolution
|
|
descriptionText: string
|
|
isDemoData?: boolean
|
|
}
|
|
|
|
export type CalendarConflictUncheckedCreateWithoutConnectionInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
tenantId: string
|
|
userId: string
|
|
internalEventId?: string | null
|
|
externalEventId?: string | null
|
|
resolution: $Enums.CalendarConflictResolution
|
|
descriptionText: string
|
|
isDemoData?: boolean
|
|
}
|
|
|
|
export type CalendarConflictCreateOrConnectWithoutConnectionInput = {
|
|
where: Prisma.CalendarConflictWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.CalendarConflictCreateWithoutConnectionInput, Prisma.CalendarConflictUncheckedCreateWithoutConnectionInput>
|
|
}
|
|
|
|
export type CalendarConflictCreateManyConnectionInputEnvelope = {
|
|
data: Prisma.CalendarConflictCreateManyConnectionInput | Prisma.CalendarConflictCreateManyConnectionInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type CalendarConflictUpsertWithWhereUniqueWithoutConnectionInput = {
|
|
where: Prisma.CalendarConflictWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.CalendarConflictUpdateWithoutConnectionInput, Prisma.CalendarConflictUncheckedUpdateWithoutConnectionInput>
|
|
create: Prisma.XOR<Prisma.CalendarConflictCreateWithoutConnectionInput, Prisma.CalendarConflictUncheckedCreateWithoutConnectionInput>
|
|
}
|
|
|
|
export type CalendarConflictUpdateWithWhereUniqueWithoutConnectionInput = {
|
|
where: Prisma.CalendarConflictWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.CalendarConflictUpdateWithoutConnectionInput, Prisma.CalendarConflictUncheckedUpdateWithoutConnectionInput>
|
|
}
|
|
|
|
export type CalendarConflictUpdateManyWithWhereWithoutConnectionInput = {
|
|
where: Prisma.CalendarConflictScalarWhereInput
|
|
data: Prisma.XOR<Prisma.CalendarConflictUpdateManyMutationInput, Prisma.CalendarConflictUncheckedUpdateManyWithoutConnectionInput>
|
|
}
|
|
|
|
export type CalendarConflictScalarWhereInput = {
|
|
AND?: Prisma.CalendarConflictScalarWhereInput | Prisma.CalendarConflictScalarWhereInput[]
|
|
OR?: Prisma.CalendarConflictScalarWhereInput[]
|
|
NOT?: Prisma.CalendarConflictScalarWhereInput | Prisma.CalendarConflictScalarWhereInput[]
|
|
id?: Prisma.StringFilter<"CalendarConflict"> | string
|
|
createdAt?: Prisma.DateTimeFilter<"CalendarConflict"> | Date | string
|
|
tenantId?: Prisma.StringFilter<"CalendarConflict"> | string
|
|
connectionId?: Prisma.StringFilter<"CalendarConflict"> | string
|
|
userId?: Prisma.StringFilter<"CalendarConflict"> | string
|
|
internalEventId?: Prisma.StringNullableFilter<"CalendarConflict"> | string | null
|
|
externalEventId?: Prisma.StringNullableFilter<"CalendarConflict"> | string | null
|
|
resolution?: Prisma.EnumCalendarConflictResolutionFilter<"CalendarConflict"> | $Enums.CalendarConflictResolution
|
|
descriptionText?: Prisma.StringFilter<"CalendarConflict"> | string
|
|
isDemoData?: Prisma.BoolFilter<"CalendarConflict"> | boolean
|
|
}
|
|
|
|
export type CalendarConflictCreateManyConnectionInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
tenantId: string
|
|
userId: string
|
|
internalEventId?: string | null
|
|
externalEventId?: string | null
|
|
resolution: $Enums.CalendarConflictResolution
|
|
descriptionText: string
|
|
isDemoData?: boolean
|
|
}
|
|
|
|
export type CalendarConflictUpdateWithoutConnectionInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
internalEventId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
externalEventId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
resolution?: Prisma.EnumCalendarConflictResolutionFieldUpdateOperationsInput | $Enums.CalendarConflictResolution
|
|
descriptionText?: Prisma.StringFieldUpdateOperationsInput | string
|
|
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
}
|
|
|
|
export type CalendarConflictUncheckedUpdateWithoutConnectionInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
internalEventId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
externalEventId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
resolution?: Prisma.EnumCalendarConflictResolutionFieldUpdateOperationsInput | $Enums.CalendarConflictResolution
|
|
descriptionText?: Prisma.StringFieldUpdateOperationsInput | string
|
|
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
}
|
|
|
|
export type CalendarConflictUncheckedUpdateManyWithoutConnectionInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
internalEventId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
externalEventId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
resolution?: Prisma.EnumCalendarConflictResolutionFieldUpdateOperationsInput | $Enums.CalendarConflictResolution
|
|
descriptionText?: Prisma.StringFieldUpdateOperationsInput | string
|
|
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
}
|
|
|
|
|
|
|
|
export type CalendarConflictSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
tenantId?: boolean
|
|
connectionId?: boolean
|
|
userId?: boolean
|
|
internalEventId?: boolean
|
|
externalEventId?: boolean
|
|
resolution?: boolean
|
|
descriptionText?: boolean
|
|
isDemoData?: boolean
|
|
connection?: boolean | Prisma.CalendarConnectionDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["calendarConflict"]>
|
|
|
|
export type CalendarConflictSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
tenantId?: boolean
|
|
connectionId?: boolean
|
|
userId?: boolean
|
|
internalEventId?: boolean
|
|
externalEventId?: boolean
|
|
resolution?: boolean
|
|
descriptionText?: boolean
|
|
isDemoData?: boolean
|
|
connection?: boolean | Prisma.CalendarConnectionDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["calendarConflict"]>
|
|
|
|
export type CalendarConflictSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
tenantId?: boolean
|
|
connectionId?: boolean
|
|
userId?: boolean
|
|
internalEventId?: boolean
|
|
externalEventId?: boolean
|
|
resolution?: boolean
|
|
descriptionText?: boolean
|
|
isDemoData?: boolean
|
|
connection?: boolean | Prisma.CalendarConnectionDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["calendarConflict"]>
|
|
|
|
export type CalendarConflictSelectScalar = {
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
tenantId?: boolean
|
|
connectionId?: boolean
|
|
userId?: boolean
|
|
internalEventId?: boolean
|
|
externalEventId?: boolean
|
|
resolution?: boolean
|
|
descriptionText?: boolean
|
|
isDemoData?: boolean
|
|
}
|
|
|
|
export type CalendarConflictOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "tenantId" | "connectionId" | "userId" | "internalEventId" | "externalEventId" | "resolution" | "descriptionText" | "isDemoData", ExtArgs["result"]["calendarConflict"]>
|
|
export type CalendarConflictInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
connection?: boolean | Prisma.CalendarConnectionDefaultArgs<ExtArgs>
|
|
}
|
|
export type CalendarConflictIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
connection?: boolean | Prisma.CalendarConnectionDefaultArgs<ExtArgs>
|
|
}
|
|
export type CalendarConflictIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
connection?: boolean | Prisma.CalendarConnectionDefaultArgs<ExtArgs>
|
|
}
|
|
|
|
export type $CalendarConflictPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "CalendarConflict"
|
|
objects: {
|
|
connection: Prisma.$CalendarConnectionPayload<ExtArgs>
|
|
}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: string
|
|
createdAt: Date
|
|
tenantId: string
|
|
connectionId: string
|
|
userId: string
|
|
internalEventId: string | null
|
|
externalEventId: string | null
|
|
resolution: $Enums.CalendarConflictResolution
|
|
descriptionText: string
|
|
isDemoData: boolean
|
|
}, ExtArgs["result"]["calendarConflict"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type CalendarConflictGetPayload<S extends boolean | null | undefined | CalendarConflictDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$CalendarConflictPayload, S>
|
|
|
|
export type CalendarConflictCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<CalendarConflictFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: CalendarConflictCountAggregateInputType | true
|
|
}
|
|
|
|
export interface CalendarConflictDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['CalendarConflict'], meta: { name: 'CalendarConflict' } }
|
|
/**
|
|
* Find zero or one CalendarConflict that matches the filter.
|
|
* @param {CalendarConflictFindUniqueArgs} args - Arguments to find a CalendarConflict
|
|
* @example
|
|
* // Get one CalendarConflict
|
|
* const calendarConflict = await prisma.calendarConflict.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends CalendarConflictFindUniqueArgs>(args: Prisma.SelectSubset<T, CalendarConflictFindUniqueArgs<ExtArgs>>): Prisma.Prisma__CalendarConflictClient<runtime.Types.Result.GetResult<Prisma.$CalendarConflictPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one CalendarConflict that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {CalendarConflictFindUniqueOrThrowArgs} args - Arguments to find a CalendarConflict
|
|
* @example
|
|
* // Get one CalendarConflict
|
|
* const calendarConflict = await prisma.calendarConflict.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends CalendarConflictFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, CalendarConflictFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__CalendarConflictClient<runtime.Types.Result.GetResult<Prisma.$CalendarConflictPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first CalendarConflict 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 {CalendarConflictFindFirstArgs} args - Arguments to find a CalendarConflict
|
|
* @example
|
|
* // Get one CalendarConflict
|
|
* const calendarConflict = await prisma.calendarConflict.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends CalendarConflictFindFirstArgs>(args?: Prisma.SelectSubset<T, CalendarConflictFindFirstArgs<ExtArgs>>): Prisma.Prisma__CalendarConflictClient<runtime.Types.Result.GetResult<Prisma.$CalendarConflictPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first CalendarConflict 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 {CalendarConflictFindFirstOrThrowArgs} args - Arguments to find a CalendarConflict
|
|
* @example
|
|
* // Get one CalendarConflict
|
|
* const calendarConflict = await prisma.calendarConflict.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends CalendarConflictFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, CalendarConflictFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__CalendarConflictClient<runtime.Types.Result.GetResult<Prisma.$CalendarConflictPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more CalendarConflicts 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 {CalendarConflictFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all CalendarConflicts
|
|
* const calendarConflicts = await prisma.calendarConflict.findMany()
|
|
*
|
|
* // Get first 10 CalendarConflicts
|
|
* const calendarConflicts = await prisma.calendarConflict.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const calendarConflictWithIdOnly = await prisma.calendarConflict.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends CalendarConflictFindManyArgs>(args?: Prisma.SelectSubset<T, CalendarConflictFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CalendarConflictPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a CalendarConflict.
|
|
* @param {CalendarConflictCreateArgs} args - Arguments to create a CalendarConflict.
|
|
* @example
|
|
* // Create one CalendarConflict
|
|
* const CalendarConflict = await prisma.calendarConflict.create({
|
|
* data: {
|
|
* // ... data to create a CalendarConflict
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends CalendarConflictCreateArgs>(args: Prisma.SelectSubset<T, CalendarConflictCreateArgs<ExtArgs>>): Prisma.Prisma__CalendarConflictClient<runtime.Types.Result.GetResult<Prisma.$CalendarConflictPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many CalendarConflicts.
|
|
* @param {CalendarConflictCreateManyArgs} args - Arguments to create many CalendarConflicts.
|
|
* @example
|
|
* // Create many CalendarConflicts
|
|
* const calendarConflict = await prisma.calendarConflict.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends CalendarConflictCreateManyArgs>(args?: Prisma.SelectSubset<T, CalendarConflictCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create many CalendarConflicts and returns the data saved in the database.
|
|
* @param {CalendarConflictCreateManyAndReturnArgs} args - Arguments to create many CalendarConflicts.
|
|
* @example
|
|
* // Create many CalendarConflicts
|
|
* const calendarConflict = await prisma.calendarConflict.createManyAndReturn({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Create many CalendarConflicts and only return the `id`
|
|
* const calendarConflictWithIdOnly = await prisma.calendarConflict.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 CalendarConflictCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, CalendarConflictCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CalendarConflictPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Delete a CalendarConflict.
|
|
* @param {CalendarConflictDeleteArgs} args - Arguments to delete one CalendarConflict.
|
|
* @example
|
|
* // Delete one CalendarConflict
|
|
* const CalendarConflict = await prisma.calendarConflict.delete({
|
|
* where: {
|
|
* // ... filter to delete one CalendarConflict
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends CalendarConflictDeleteArgs>(args: Prisma.SelectSubset<T, CalendarConflictDeleteArgs<ExtArgs>>): Prisma.Prisma__CalendarConflictClient<runtime.Types.Result.GetResult<Prisma.$CalendarConflictPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one CalendarConflict.
|
|
* @param {CalendarConflictUpdateArgs} args - Arguments to update one CalendarConflict.
|
|
* @example
|
|
* // Update one CalendarConflict
|
|
* const calendarConflict = await prisma.calendarConflict.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends CalendarConflictUpdateArgs>(args: Prisma.SelectSubset<T, CalendarConflictUpdateArgs<ExtArgs>>): Prisma.Prisma__CalendarConflictClient<runtime.Types.Result.GetResult<Prisma.$CalendarConflictPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more CalendarConflicts.
|
|
* @param {CalendarConflictDeleteManyArgs} args - Arguments to filter CalendarConflicts to delete.
|
|
* @example
|
|
* // Delete a few CalendarConflicts
|
|
* const { count } = await prisma.calendarConflict.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends CalendarConflictDeleteManyArgs>(args?: Prisma.SelectSubset<T, CalendarConflictDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more CalendarConflicts.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {CalendarConflictUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many CalendarConflicts
|
|
* const calendarConflict = await prisma.calendarConflict.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends CalendarConflictUpdateManyArgs>(args: Prisma.SelectSubset<T, CalendarConflictUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more CalendarConflicts and returns the data updated in the database.
|
|
* @param {CalendarConflictUpdateManyAndReturnArgs} args - Arguments to update many CalendarConflicts.
|
|
* @example
|
|
* // Update many CalendarConflicts
|
|
* const calendarConflict = await prisma.calendarConflict.updateManyAndReturn({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Update zero or more CalendarConflicts and only return the `id`
|
|
* const calendarConflictWithIdOnly = await prisma.calendarConflict.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 CalendarConflictUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, CalendarConflictUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CalendarConflictPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create or update one CalendarConflict.
|
|
* @param {CalendarConflictUpsertArgs} args - Arguments to update or create a CalendarConflict.
|
|
* @example
|
|
* // Update or create a CalendarConflict
|
|
* const calendarConflict = await prisma.calendarConflict.upsert({
|
|
* create: {
|
|
* // ... data to create a CalendarConflict
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the CalendarConflict we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends CalendarConflictUpsertArgs>(args: Prisma.SelectSubset<T, CalendarConflictUpsertArgs<ExtArgs>>): Prisma.Prisma__CalendarConflictClient<runtime.Types.Result.GetResult<Prisma.$CalendarConflictPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of CalendarConflicts.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {CalendarConflictCountArgs} args - Arguments to filter CalendarConflicts to count.
|
|
* @example
|
|
* // Count the number of CalendarConflicts
|
|
* const count = await prisma.calendarConflict.count({
|
|
* where: {
|
|
* // ... the filter for the CalendarConflicts we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends CalendarConflictCountArgs>(
|
|
args?: Prisma.Subset<T, CalendarConflictCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], CalendarConflictCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a CalendarConflict.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {CalendarConflictAggregateArgs} 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 CalendarConflictAggregateArgs>(args: Prisma.Subset<T, CalendarConflictAggregateArgs>): Prisma.PrismaPromise<GetCalendarConflictAggregateType<T>>
|
|
|
|
/**
|
|
* Group by CalendarConflict.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {CalendarConflictGroupByArgs} 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 CalendarConflictGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: CalendarConflictGroupByArgs['orderBy'] }
|
|
: { orderBy?: CalendarConflictGroupByArgs['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, CalendarConflictGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetCalendarConflictGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the CalendarConflict model
|
|
*/
|
|
readonly fields: CalendarConflictFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for CalendarConflict.
|
|
* 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__CalendarConflictClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
connection<T extends Prisma.CalendarConnectionDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.CalendarConnectionDefaultArgs<ExtArgs>>): Prisma.Prisma__CalendarConnectionClient<runtime.Types.Result.GetResult<Prisma.$CalendarConnectionPayload<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 CalendarConflict model
|
|
*/
|
|
export interface CalendarConflictFieldRefs {
|
|
readonly id: Prisma.FieldRef<"CalendarConflict", 'String'>
|
|
readonly createdAt: Prisma.FieldRef<"CalendarConflict", 'DateTime'>
|
|
readonly tenantId: Prisma.FieldRef<"CalendarConflict", 'String'>
|
|
readonly connectionId: Prisma.FieldRef<"CalendarConflict", 'String'>
|
|
readonly userId: Prisma.FieldRef<"CalendarConflict", 'String'>
|
|
readonly internalEventId: Prisma.FieldRef<"CalendarConflict", 'String'>
|
|
readonly externalEventId: Prisma.FieldRef<"CalendarConflict", 'String'>
|
|
readonly resolution: Prisma.FieldRef<"CalendarConflict", 'CalendarConflictResolution'>
|
|
readonly descriptionText: Prisma.FieldRef<"CalendarConflict", 'String'>
|
|
readonly isDemoData: Prisma.FieldRef<"CalendarConflict", 'Boolean'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* CalendarConflict findUnique
|
|
*/
|
|
export type CalendarConflictFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the CalendarConflict
|
|
*/
|
|
select?: Prisma.CalendarConflictSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the CalendarConflict
|
|
*/
|
|
omit?: Prisma.CalendarConflictOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.CalendarConflictInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which CalendarConflict to fetch.
|
|
*/
|
|
where: Prisma.CalendarConflictWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* CalendarConflict findUniqueOrThrow
|
|
*/
|
|
export type CalendarConflictFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the CalendarConflict
|
|
*/
|
|
select?: Prisma.CalendarConflictSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the CalendarConflict
|
|
*/
|
|
omit?: Prisma.CalendarConflictOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.CalendarConflictInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which CalendarConflict to fetch.
|
|
*/
|
|
where: Prisma.CalendarConflictWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* CalendarConflict findFirst
|
|
*/
|
|
export type CalendarConflictFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the CalendarConflict
|
|
*/
|
|
select?: Prisma.CalendarConflictSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the CalendarConflict
|
|
*/
|
|
omit?: Prisma.CalendarConflictOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.CalendarConflictInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which CalendarConflict to fetch.
|
|
*/
|
|
where?: Prisma.CalendarConflictWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of CalendarConflicts to fetch.
|
|
*/
|
|
orderBy?: Prisma.CalendarConflictOrderByWithRelationInput | Prisma.CalendarConflictOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for CalendarConflicts.
|
|
*/
|
|
cursor?: Prisma.CalendarConflictWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` CalendarConflicts 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` CalendarConflicts.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of CalendarConflicts.
|
|
*/
|
|
distinct?: Prisma.CalendarConflictScalarFieldEnum | Prisma.CalendarConflictScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* CalendarConflict findFirstOrThrow
|
|
*/
|
|
export type CalendarConflictFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the CalendarConflict
|
|
*/
|
|
select?: Prisma.CalendarConflictSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the CalendarConflict
|
|
*/
|
|
omit?: Prisma.CalendarConflictOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.CalendarConflictInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which CalendarConflict to fetch.
|
|
*/
|
|
where?: Prisma.CalendarConflictWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of CalendarConflicts to fetch.
|
|
*/
|
|
orderBy?: Prisma.CalendarConflictOrderByWithRelationInput | Prisma.CalendarConflictOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for CalendarConflicts.
|
|
*/
|
|
cursor?: Prisma.CalendarConflictWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` CalendarConflicts 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` CalendarConflicts.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of CalendarConflicts.
|
|
*/
|
|
distinct?: Prisma.CalendarConflictScalarFieldEnum | Prisma.CalendarConflictScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* CalendarConflict findMany
|
|
*/
|
|
export type CalendarConflictFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the CalendarConflict
|
|
*/
|
|
select?: Prisma.CalendarConflictSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the CalendarConflict
|
|
*/
|
|
omit?: Prisma.CalendarConflictOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.CalendarConflictInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which CalendarConflicts to fetch.
|
|
*/
|
|
where?: Prisma.CalendarConflictWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of CalendarConflicts to fetch.
|
|
*/
|
|
orderBy?: Prisma.CalendarConflictOrderByWithRelationInput | Prisma.CalendarConflictOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing CalendarConflicts.
|
|
*/
|
|
cursor?: Prisma.CalendarConflictWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` CalendarConflicts 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` CalendarConflicts.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of CalendarConflicts.
|
|
*/
|
|
distinct?: Prisma.CalendarConflictScalarFieldEnum | Prisma.CalendarConflictScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* CalendarConflict create
|
|
*/
|
|
export type CalendarConflictCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the CalendarConflict
|
|
*/
|
|
select?: Prisma.CalendarConflictSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the CalendarConflict
|
|
*/
|
|
omit?: Prisma.CalendarConflictOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.CalendarConflictInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a CalendarConflict.
|
|
*/
|
|
data: Prisma.XOR<Prisma.CalendarConflictCreateInput, Prisma.CalendarConflictUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* CalendarConflict createMany
|
|
*/
|
|
export type CalendarConflictCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many CalendarConflicts.
|
|
*/
|
|
data: Prisma.CalendarConflictCreateManyInput | Prisma.CalendarConflictCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* CalendarConflict createManyAndReturn
|
|
*/
|
|
export type CalendarConflictCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the CalendarConflict
|
|
*/
|
|
select?: Prisma.CalendarConflictSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the CalendarConflict
|
|
*/
|
|
omit?: Prisma.CalendarConflictOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to create many CalendarConflicts.
|
|
*/
|
|
data: Prisma.CalendarConflictCreateManyInput | Prisma.CalendarConflictCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.CalendarConflictIncludeCreateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* CalendarConflict update
|
|
*/
|
|
export type CalendarConflictUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the CalendarConflict
|
|
*/
|
|
select?: Prisma.CalendarConflictSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the CalendarConflict
|
|
*/
|
|
omit?: Prisma.CalendarConflictOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.CalendarConflictInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a CalendarConflict.
|
|
*/
|
|
data: Prisma.XOR<Prisma.CalendarConflictUpdateInput, Prisma.CalendarConflictUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which CalendarConflict to update.
|
|
*/
|
|
where: Prisma.CalendarConflictWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* CalendarConflict updateMany
|
|
*/
|
|
export type CalendarConflictUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update CalendarConflicts.
|
|
*/
|
|
data: Prisma.XOR<Prisma.CalendarConflictUpdateManyMutationInput, Prisma.CalendarConflictUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which CalendarConflicts to update
|
|
*/
|
|
where?: Prisma.CalendarConflictWhereInput
|
|
/**
|
|
* Limit how many CalendarConflicts to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* CalendarConflict updateManyAndReturn
|
|
*/
|
|
export type CalendarConflictUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the CalendarConflict
|
|
*/
|
|
select?: Prisma.CalendarConflictSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the CalendarConflict
|
|
*/
|
|
omit?: Prisma.CalendarConflictOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update CalendarConflicts.
|
|
*/
|
|
data: Prisma.XOR<Prisma.CalendarConflictUpdateManyMutationInput, Prisma.CalendarConflictUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which CalendarConflicts to update
|
|
*/
|
|
where?: Prisma.CalendarConflictWhereInput
|
|
/**
|
|
* Limit how many CalendarConflicts to update.
|
|
*/
|
|
limit?: number
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.CalendarConflictIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* CalendarConflict upsert
|
|
*/
|
|
export type CalendarConflictUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the CalendarConflict
|
|
*/
|
|
select?: Prisma.CalendarConflictSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the CalendarConflict
|
|
*/
|
|
omit?: Prisma.CalendarConflictOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.CalendarConflictInclude<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the CalendarConflict to update in case it exists.
|
|
*/
|
|
where: Prisma.CalendarConflictWhereUniqueInput
|
|
/**
|
|
* In case the CalendarConflict found by the `where` argument doesn't exist, create a new CalendarConflict with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.CalendarConflictCreateInput, Prisma.CalendarConflictUncheckedCreateInput>
|
|
/**
|
|
* In case the CalendarConflict was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.CalendarConflictUpdateInput, Prisma.CalendarConflictUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* CalendarConflict delete
|
|
*/
|
|
export type CalendarConflictDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the CalendarConflict
|
|
*/
|
|
select?: Prisma.CalendarConflictSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the CalendarConflict
|
|
*/
|
|
omit?: Prisma.CalendarConflictOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.CalendarConflictInclude<ExtArgs> | null
|
|
/**
|
|
* Filter which CalendarConflict to delete.
|
|
*/
|
|
where: Prisma.CalendarConflictWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* CalendarConflict deleteMany
|
|
*/
|
|
export type CalendarConflictDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which CalendarConflicts to delete
|
|
*/
|
|
where?: Prisma.CalendarConflictWhereInput
|
|
/**
|
|
* Limit how many CalendarConflicts to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* CalendarConflict without action
|
|
*/
|
|
export type CalendarConflictDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the CalendarConflict
|
|
*/
|
|
select?: Prisma.CalendarConflictSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the CalendarConflict
|
|
*/
|
|
omit?: Prisma.CalendarConflictOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.CalendarConflictInclude<ExtArgs> | null
|
|
}
|