/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `ScheduleEntry` 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 ScheduleEntry * */ export type ScheduleEntryModel = runtime.Types.Result.DefaultSelection export type AggregateScheduleEntry = { _count: ScheduleEntryCountAggregateOutputType | null _min: ScheduleEntryMinAggregateOutputType | null _max: ScheduleEntryMaxAggregateOutputType | null } export type ScheduleEntryMinAggregateOutputType = { id: string | null tenantId: string | null projektId: string | null assignedUserId: string | null createdByUserId: string | null title: string | null startAt: Date | null endAt: Date | null status: $Enums.ScheduleEntryStatus | null calendarEventId: string | null syncStatus: $Enums.ScheduleSyncStatus | null conflictOverrideReason: string | null clientMutationId: string | null isDemoData: boolean | null createdAt: Date | null updatedAt: Date | null archivedAt: Date | null } export type ScheduleEntryMaxAggregateOutputType = { id: string | null tenantId: string | null projektId: string | null assignedUserId: string | null createdByUserId: string | null title: string | null startAt: Date | null endAt: Date | null status: $Enums.ScheduleEntryStatus | null calendarEventId: string | null syncStatus: $Enums.ScheduleSyncStatus | null conflictOverrideReason: string | null clientMutationId: string | null isDemoData: boolean | null createdAt: Date | null updatedAt: Date | null archivedAt: Date | null } export type ScheduleEntryCountAggregateOutputType = { id: number tenantId: number projektId: number assignedUserId: number createdByUserId: number title: number startAt: number endAt: number status: number calendarEventId: number syncStatus: number conflictOverrideReason: number clientMutationId: number isDemoData: number createdAt: number updatedAt: number archivedAt: number _all: number } export type ScheduleEntryMinAggregateInputType = { id?: true tenantId?: true projektId?: true assignedUserId?: true createdByUserId?: true title?: true startAt?: true endAt?: true status?: true calendarEventId?: true syncStatus?: true conflictOverrideReason?: true clientMutationId?: true isDemoData?: true createdAt?: true updatedAt?: true archivedAt?: true } export type ScheduleEntryMaxAggregateInputType = { id?: true tenantId?: true projektId?: true assignedUserId?: true createdByUserId?: true title?: true startAt?: true endAt?: true status?: true calendarEventId?: true syncStatus?: true conflictOverrideReason?: true clientMutationId?: true isDemoData?: true createdAt?: true updatedAt?: true archivedAt?: true } export type ScheduleEntryCountAggregateInputType = { id?: true tenantId?: true projektId?: true assignedUserId?: true createdByUserId?: true title?: true startAt?: true endAt?: true status?: true calendarEventId?: true syncStatus?: true conflictOverrideReason?: true clientMutationId?: true isDemoData?: true createdAt?: true updatedAt?: true archivedAt?: true _all?: true } export type ScheduleEntryAggregateArgs = { /** * Filter which ScheduleEntry to aggregate. */ where?: Prisma.ScheduleEntryWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ScheduleEntries to fetch. */ orderBy?: Prisma.ScheduleEntryOrderByWithRelationInput | Prisma.ScheduleEntryOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.ScheduleEntryWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ScheduleEntries 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` ScheduleEntries. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned ScheduleEntries **/ _count?: true | ScheduleEntryCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: ScheduleEntryMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: ScheduleEntryMaxAggregateInputType } export type GetScheduleEntryAggregateType = { [P in keyof T & keyof AggregateScheduleEntry]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type ScheduleEntryGroupByArgs = { where?: Prisma.ScheduleEntryWhereInput orderBy?: Prisma.ScheduleEntryOrderByWithAggregationInput | Prisma.ScheduleEntryOrderByWithAggregationInput[] by: Prisma.ScheduleEntryScalarFieldEnum[] | Prisma.ScheduleEntryScalarFieldEnum having?: Prisma.ScheduleEntryScalarWhereWithAggregatesInput take?: number skip?: number _count?: ScheduleEntryCountAggregateInputType | true _min?: ScheduleEntryMinAggregateInputType _max?: ScheduleEntryMaxAggregateInputType } export type ScheduleEntryGroupByOutputType = { id: string tenantId: string projektId: string assignedUserId: string createdByUserId: string | null title: string startAt: Date endAt: Date status: $Enums.ScheduleEntryStatus calendarEventId: string | null syncStatus: $Enums.ScheduleSyncStatus conflictOverrideReason: string | null clientMutationId: string | null isDemoData: boolean createdAt: Date updatedAt: Date archivedAt: Date | null _count: ScheduleEntryCountAggregateOutputType | null _min: ScheduleEntryMinAggregateOutputType | null _max: ScheduleEntryMaxAggregateOutputType | null } export type GetScheduleEntryGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof ScheduleEntryGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type ScheduleEntryWhereInput = { AND?: Prisma.ScheduleEntryWhereInput | Prisma.ScheduleEntryWhereInput[] OR?: Prisma.ScheduleEntryWhereInput[] NOT?: Prisma.ScheduleEntryWhereInput | Prisma.ScheduleEntryWhereInput[] id?: Prisma.StringFilter<"ScheduleEntry"> | string tenantId?: Prisma.StringFilter<"ScheduleEntry"> | string projektId?: Prisma.StringFilter<"ScheduleEntry"> | string assignedUserId?: Prisma.StringFilter<"ScheduleEntry"> | string createdByUserId?: Prisma.StringNullableFilter<"ScheduleEntry"> | string | null title?: Prisma.StringFilter<"ScheduleEntry"> | string startAt?: Prisma.DateTimeFilter<"ScheduleEntry"> | Date | string endAt?: Prisma.DateTimeFilter<"ScheduleEntry"> | Date | string status?: Prisma.EnumScheduleEntryStatusFilter<"ScheduleEntry"> | $Enums.ScheduleEntryStatus calendarEventId?: Prisma.StringNullableFilter<"ScheduleEntry"> | string | null syncStatus?: Prisma.EnumScheduleSyncStatusFilter<"ScheduleEntry"> | $Enums.ScheduleSyncStatus conflictOverrideReason?: Prisma.StringNullableFilter<"ScheduleEntry"> | string | null clientMutationId?: Prisma.StringNullableFilter<"ScheduleEntry"> | string | null isDemoData?: Prisma.BoolFilter<"ScheduleEntry"> | boolean createdAt?: Prisma.DateTimeFilter<"ScheduleEntry"> | Date | string updatedAt?: Prisma.DateTimeFilter<"ScheduleEntry"> | Date | string archivedAt?: Prisma.DateTimeNullableFilter<"ScheduleEntry"> | Date | string | null conflicts?: Prisma.ScheduleConflictListRelationFilter } export type ScheduleEntryOrderByWithRelationInput = { id?: Prisma.SortOrder tenantId?: Prisma.SortOrder projektId?: Prisma.SortOrder assignedUserId?: Prisma.SortOrder createdByUserId?: Prisma.SortOrderInput | Prisma.SortOrder title?: Prisma.SortOrder startAt?: Prisma.SortOrder endAt?: Prisma.SortOrder status?: Prisma.SortOrder calendarEventId?: Prisma.SortOrderInput | Prisma.SortOrder syncStatus?: Prisma.SortOrder conflictOverrideReason?: Prisma.SortOrderInput | Prisma.SortOrder clientMutationId?: Prisma.SortOrderInput | Prisma.SortOrder isDemoData?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder archivedAt?: Prisma.SortOrderInput | Prisma.SortOrder conflicts?: Prisma.ScheduleConflictOrderByRelationAggregateInput } export type ScheduleEntryWhereUniqueInput = Prisma.AtLeast<{ id?: string tenantId_clientMutationId?: Prisma.ScheduleEntryTenantIdClientMutationIdCompoundUniqueInput AND?: Prisma.ScheduleEntryWhereInput | Prisma.ScheduleEntryWhereInput[] OR?: Prisma.ScheduleEntryWhereInput[] NOT?: Prisma.ScheduleEntryWhereInput | Prisma.ScheduleEntryWhereInput[] tenantId?: Prisma.StringFilter<"ScheduleEntry"> | string projektId?: Prisma.StringFilter<"ScheduleEntry"> | string assignedUserId?: Prisma.StringFilter<"ScheduleEntry"> | string createdByUserId?: Prisma.StringNullableFilter<"ScheduleEntry"> | string | null title?: Prisma.StringFilter<"ScheduleEntry"> | string startAt?: Prisma.DateTimeFilter<"ScheduleEntry"> | Date | string endAt?: Prisma.DateTimeFilter<"ScheduleEntry"> | Date | string status?: Prisma.EnumScheduleEntryStatusFilter<"ScheduleEntry"> | $Enums.ScheduleEntryStatus calendarEventId?: Prisma.StringNullableFilter<"ScheduleEntry"> | string | null syncStatus?: Prisma.EnumScheduleSyncStatusFilter<"ScheduleEntry"> | $Enums.ScheduleSyncStatus conflictOverrideReason?: Prisma.StringNullableFilter<"ScheduleEntry"> | string | null clientMutationId?: Prisma.StringNullableFilter<"ScheduleEntry"> | string | null isDemoData?: Prisma.BoolFilter<"ScheduleEntry"> | boolean createdAt?: Prisma.DateTimeFilter<"ScheduleEntry"> | Date | string updatedAt?: Prisma.DateTimeFilter<"ScheduleEntry"> | Date | string archivedAt?: Prisma.DateTimeNullableFilter<"ScheduleEntry"> | Date | string | null conflicts?: Prisma.ScheduleConflictListRelationFilter }, "id" | "tenantId_clientMutationId"> export type ScheduleEntryOrderByWithAggregationInput = { id?: Prisma.SortOrder tenantId?: Prisma.SortOrder projektId?: Prisma.SortOrder assignedUserId?: Prisma.SortOrder createdByUserId?: Prisma.SortOrderInput | Prisma.SortOrder title?: Prisma.SortOrder startAt?: Prisma.SortOrder endAt?: Prisma.SortOrder status?: Prisma.SortOrder calendarEventId?: Prisma.SortOrderInput | Prisma.SortOrder syncStatus?: Prisma.SortOrder conflictOverrideReason?: Prisma.SortOrderInput | Prisma.SortOrder clientMutationId?: Prisma.SortOrderInput | Prisma.SortOrder isDemoData?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder archivedAt?: Prisma.SortOrderInput | Prisma.SortOrder _count?: Prisma.ScheduleEntryCountOrderByAggregateInput _max?: Prisma.ScheduleEntryMaxOrderByAggregateInput _min?: Prisma.ScheduleEntryMinOrderByAggregateInput } export type ScheduleEntryScalarWhereWithAggregatesInput = { AND?: Prisma.ScheduleEntryScalarWhereWithAggregatesInput | Prisma.ScheduleEntryScalarWhereWithAggregatesInput[] OR?: Prisma.ScheduleEntryScalarWhereWithAggregatesInput[] NOT?: Prisma.ScheduleEntryScalarWhereWithAggregatesInput | Prisma.ScheduleEntryScalarWhereWithAggregatesInput[] id?: Prisma.StringWithAggregatesFilter<"ScheduleEntry"> | string tenantId?: Prisma.StringWithAggregatesFilter<"ScheduleEntry"> | string projektId?: Prisma.StringWithAggregatesFilter<"ScheduleEntry"> | string assignedUserId?: Prisma.StringWithAggregatesFilter<"ScheduleEntry"> | string createdByUserId?: Prisma.StringNullableWithAggregatesFilter<"ScheduleEntry"> | string | null title?: Prisma.StringWithAggregatesFilter<"ScheduleEntry"> | string startAt?: Prisma.DateTimeWithAggregatesFilter<"ScheduleEntry"> | Date | string endAt?: Prisma.DateTimeWithAggregatesFilter<"ScheduleEntry"> | Date | string status?: Prisma.EnumScheduleEntryStatusWithAggregatesFilter<"ScheduleEntry"> | $Enums.ScheduleEntryStatus calendarEventId?: Prisma.StringNullableWithAggregatesFilter<"ScheduleEntry"> | string | null syncStatus?: Prisma.EnumScheduleSyncStatusWithAggregatesFilter<"ScheduleEntry"> | $Enums.ScheduleSyncStatus conflictOverrideReason?: Prisma.StringNullableWithAggregatesFilter<"ScheduleEntry"> | string | null clientMutationId?: Prisma.StringNullableWithAggregatesFilter<"ScheduleEntry"> | string | null isDemoData?: Prisma.BoolWithAggregatesFilter<"ScheduleEntry"> | boolean createdAt?: Prisma.DateTimeWithAggregatesFilter<"ScheduleEntry"> | Date | string updatedAt?: Prisma.DateTimeWithAggregatesFilter<"ScheduleEntry"> | Date | string archivedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"ScheduleEntry"> | Date | string | null } export type ScheduleEntryCreateInput = { id?: string tenantId: string projektId: string assignedUserId: string createdByUserId?: string | null title: string startAt: Date | string endAt: Date | string status?: $Enums.ScheduleEntryStatus calendarEventId?: string | null syncStatus?: $Enums.ScheduleSyncStatus conflictOverrideReason?: string | null clientMutationId?: string | null isDemoData?: boolean createdAt?: Date | string updatedAt?: Date | string archivedAt?: Date | string | null conflicts?: Prisma.ScheduleConflictCreateNestedManyWithoutEntryInput } export type ScheduleEntryUncheckedCreateInput = { id?: string tenantId: string projektId: string assignedUserId: string createdByUserId?: string | null title: string startAt: Date | string endAt: Date | string status?: $Enums.ScheduleEntryStatus calendarEventId?: string | null syncStatus?: $Enums.ScheduleSyncStatus conflictOverrideReason?: string | null clientMutationId?: string | null isDemoData?: boolean createdAt?: Date | string updatedAt?: Date | string archivedAt?: Date | string | null conflicts?: Prisma.ScheduleConflictUncheckedCreateNestedManyWithoutEntryInput } export type ScheduleEntryUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string projektId?: Prisma.StringFieldUpdateOperationsInput | string assignedUserId?: Prisma.StringFieldUpdateOperationsInput | string createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null title?: Prisma.StringFieldUpdateOperationsInput | string startAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string endAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string status?: Prisma.EnumScheduleEntryStatusFieldUpdateOperationsInput | $Enums.ScheduleEntryStatus calendarEventId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null syncStatus?: Prisma.EnumScheduleSyncStatusFieldUpdateOperationsInput | $Enums.ScheduleSyncStatus conflictOverrideReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null clientMutationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null conflicts?: Prisma.ScheduleConflictUpdateManyWithoutEntryNestedInput } export type ScheduleEntryUncheckedUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string projektId?: Prisma.StringFieldUpdateOperationsInput | string assignedUserId?: Prisma.StringFieldUpdateOperationsInput | string createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null title?: Prisma.StringFieldUpdateOperationsInput | string startAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string endAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string status?: Prisma.EnumScheduleEntryStatusFieldUpdateOperationsInput | $Enums.ScheduleEntryStatus calendarEventId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null syncStatus?: Prisma.EnumScheduleSyncStatusFieldUpdateOperationsInput | $Enums.ScheduleSyncStatus conflictOverrideReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null clientMutationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null conflicts?: Prisma.ScheduleConflictUncheckedUpdateManyWithoutEntryNestedInput } export type ScheduleEntryCreateManyInput = { id?: string tenantId: string projektId: string assignedUserId: string createdByUserId?: string | null title: string startAt: Date | string endAt: Date | string status?: $Enums.ScheduleEntryStatus calendarEventId?: string | null syncStatus?: $Enums.ScheduleSyncStatus conflictOverrideReason?: string | null clientMutationId?: string | null isDemoData?: boolean createdAt?: Date | string updatedAt?: Date | string archivedAt?: Date | string | null } export type ScheduleEntryUpdateManyMutationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string projektId?: Prisma.StringFieldUpdateOperationsInput | string assignedUserId?: Prisma.StringFieldUpdateOperationsInput | string createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null title?: Prisma.StringFieldUpdateOperationsInput | string startAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string endAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string status?: Prisma.EnumScheduleEntryStatusFieldUpdateOperationsInput | $Enums.ScheduleEntryStatus calendarEventId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null syncStatus?: Prisma.EnumScheduleSyncStatusFieldUpdateOperationsInput | $Enums.ScheduleSyncStatus conflictOverrideReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null clientMutationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type ScheduleEntryUncheckedUpdateManyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string projektId?: Prisma.StringFieldUpdateOperationsInput | string assignedUserId?: Prisma.StringFieldUpdateOperationsInput | string createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null title?: Prisma.StringFieldUpdateOperationsInput | string startAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string endAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string status?: Prisma.EnumScheduleEntryStatusFieldUpdateOperationsInput | $Enums.ScheduleEntryStatus calendarEventId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null syncStatus?: Prisma.EnumScheduleSyncStatusFieldUpdateOperationsInput | $Enums.ScheduleSyncStatus conflictOverrideReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null clientMutationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type ScheduleEntryTenantIdClientMutationIdCompoundUniqueInput = { tenantId: string clientMutationId: string } export type ScheduleEntryCountOrderByAggregateInput = { id?: Prisma.SortOrder tenantId?: Prisma.SortOrder projektId?: Prisma.SortOrder assignedUserId?: Prisma.SortOrder createdByUserId?: Prisma.SortOrder title?: Prisma.SortOrder startAt?: Prisma.SortOrder endAt?: Prisma.SortOrder status?: Prisma.SortOrder calendarEventId?: Prisma.SortOrder syncStatus?: Prisma.SortOrder conflictOverrideReason?: Prisma.SortOrder clientMutationId?: Prisma.SortOrder isDemoData?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder archivedAt?: Prisma.SortOrder } export type ScheduleEntryMaxOrderByAggregateInput = { id?: Prisma.SortOrder tenantId?: Prisma.SortOrder projektId?: Prisma.SortOrder assignedUserId?: Prisma.SortOrder createdByUserId?: Prisma.SortOrder title?: Prisma.SortOrder startAt?: Prisma.SortOrder endAt?: Prisma.SortOrder status?: Prisma.SortOrder calendarEventId?: Prisma.SortOrder syncStatus?: Prisma.SortOrder conflictOverrideReason?: Prisma.SortOrder clientMutationId?: Prisma.SortOrder isDemoData?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder archivedAt?: Prisma.SortOrder } export type ScheduleEntryMinOrderByAggregateInput = { id?: Prisma.SortOrder tenantId?: Prisma.SortOrder projektId?: Prisma.SortOrder assignedUserId?: Prisma.SortOrder createdByUserId?: Prisma.SortOrder title?: Prisma.SortOrder startAt?: Prisma.SortOrder endAt?: Prisma.SortOrder status?: Prisma.SortOrder calendarEventId?: Prisma.SortOrder syncStatus?: Prisma.SortOrder conflictOverrideReason?: Prisma.SortOrder clientMutationId?: Prisma.SortOrder isDemoData?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder archivedAt?: Prisma.SortOrder } export type ScheduleEntryScalarRelationFilter = { is?: Prisma.ScheduleEntryWhereInput isNot?: Prisma.ScheduleEntryWhereInput } export type EnumScheduleEntryStatusFieldUpdateOperationsInput = { set?: $Enums.ScheduleEntryStatus } export type EnumScheduleSyncStatusFieldUpdateOperationsInput = { set?: $Enums.ScheduleSyncStatus } export type ScheduleEntryCreateNestedOneWithoutConflictsInput = { create?: Prisma.XOR connectOrCreate?: Prisma.ScheduleEntryCreateOrConnectWithoutConflictsInput connect?: Prisma.ScheduleEntryWhereUniqueInput } export type ScheduleEntryUpdateOneRequiredWithoutConflictsNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.ScheduleEntryCreateOrConnectWithoutConflictsInput upsert?: Prisma.ScheduleEntryUpsertWithoutConflictsInput connect?: Prisma.ScheduleEntryWhereUniqueInput update?: Prisma.XOR, Prisma.ScheduleEntryUncheckedUpdateWithoutConflictsInput> } export type ScheduleEntryCreateWithoutConflictsInput = { id?: string tenantId: string projektId: string assignedUserId: string createdByUserId?: string | null title: string startAt: Date | string endAt: Date | string status?: $Enums.ScheduleEntryStatus calendarEventId?: string | null syncStatus?: $Enums.ScheduleSyncStatus conflictOverrideReason?: string | null clientMutationId?: string | null isDemoData?: boolean createdAt?: Date | string updatedAt?: Date | string archivedAt?: Date | string | null } export type ScheduleEntryUncheckedCreateWithoutConflictsInput = { id?: string tenantId: string projektId: string assignedUserId: string createdByUserId?: string | null title: string startAt: Date | string endAt: Date | string status?: $Enums.ScheduleEntryStatus calendarEventId?: string | null syncStatus?: $Enums.ScheduleSyncStatus conflictOverrideReason?: string | null clientMutationId?: string | null isDemoData?: boolean createdAt?: Date | string updatedAt?: Date | string archivedAt?: Date | string | null } export type ScheduleEntryCreateOrConnectWithoutConflictsInput = { where: Prisma.ScheduleEntryWhereUniqueInput create: Prisma.XOR } export type ScheduleEntryUpsertWithoutConflictsInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.ScheduleEntryWhereInput } export type ScheduleEntryUpdateToOneWithWhereWithoutConflictsInput = { where?: Prisma.ScheduleEntryWhereInput data: Prisma.XOR } export type ScheduleEntryUpdateWithoutConflictsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string projektId?: Prisma.StringFieldUpdateOperationsInput | string assignedUserId?: Prisma.StringFieldUpdateOperationsInput | string createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null title?: Prisma.StringFieldUpdateOperationsInput | string startAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string endAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string status?: Prisma.EnumScheduleEntryStatusFieldUpdateOperationsInput | $Enums.ScheduleEntryStatus calendarEventId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null syncStatus?: Prisma.EnumScheduleSyncStatusFieldUpdateOperationsInput | $Enums.ScheduleSyncStatus conflictOverrideReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null clientMutationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type ScheduleEntryUncheckedUpdateWithoutConflictsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string projektId?: Prisma.StringFieldUpdateOperationsInput | string assignedUserId?: Prisma.StringFieldUpdateOperationsInput | string createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null title?: Prisma.StringFieldUpdateOperationsInput | string startAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string endAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string status?: Prisma.EnumScheduleEntryStatusFieldUpdateOperationsInput | $Enums.ScheduleEntryStatus calendarEventId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null syncStatus?: Prisma.EnumScheduleSyncStatusFieldUpdateOperationsInput | $Enums.ScheduleSyncStatus conflictOverrideReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null clientMutationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null } /** * Count Type ScheduleEntryCountOutputType */ export type ScheduleEntryCountOutputType = { conflicts: number } export type ScheduleEntryCountOutputTypeSelect = { conflicts?: boolean | ScheduleEntryCountOutputTypeCountConflictsArgs } /** * ScheduleEntryCountOutputType without action */ export type ScheduleEntryCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the ScheduleEntryCountOutputType */ select?: Prisma.ScheduleEntryCountOutputTypeSelect | null } /** * ScheduleEntryCountOutputType without action */ export type ScheduleEntryCountOutputTypeCountConflictsArgs = { where?: Prisma.ScheduleConflictWhereInput } export type ScheduleEntrySelect = runtime.Types.Extensions.GetSelect<{ id?: boolean tenantId?: boolean projektId?: boolean assignedUserId?: boolean createdByUserId?: boolean title?: boolean startAt?: boolean endAt?: boolean status?: boolean calendarEventId?: boolean syncStatus?: boolean conflictOverrideReason?: boolean clientMutationId?: boolean isDemoData?: boolean createdAt?: boolean updatedAt?: boolean archivedAt?: boolean conflicts?: boolean | Prisma.ScheduleEntry$conflictsArgs _count?: boolean | Prisma.ScheduleEntryCountOutputTypeDefaultArgs }, ExtArgs["result"]["scheduleEntry"]> export type ScheduleEntrySelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean tenantId?: boolean projektId?: boolean assignedUserId?: boolean createdByUserId?: boolean title?: boolean startAt?: boolean endAt?: boolean status?: boolean calendarEventId?: boolean syncStatus?: boolean conflictOverrideReason?: boolean clientMutationId?: boolean isDemoData?: boolean createdAt?: boolean updatedAt?: boolean archivedAt?: boolean }, ExtArgs["result"]["scheduleEntry"]> export type ScheduleEntrySelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean tenantId?: boolean projektId?: boolean assignedUserId?: boolean createdByUserId?: boolean title?: boolean startAt?: boolean endAt?: boolean status?: boolean calendarEventId?: boolean syncStatus?: boolean conflictOverrideReason?: boolean clientMutationId?: boolean isDemoData?: boolean createdAt?: boolean updatedAt?: boolean archivedAt?: boolean }, ExtArgs["result"]["scheduleEntry"]> export type ScheduleEntrySelectScalar = { id?: boolean tenantId?: boolean projektId?: boolean assignedUserId?: boolean createdByUserId?: boolean title?: boolean startAt?: boolean endAt?: boolean status?: boolean calendarEventId?: boolean syncStatus?: boolean conflictOverrideReason?: boolean clientMutationId?: boolean isDemoData?: boolean createdAt?: boolean updatedAt?: boolean archivedAt?: boolean } export type ScheduleEntryOmit = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "projektId" | "assignedUserId" | "createdByUserId" | "title" | "startAt" | "endAt" | "status" | "calendarEventId" | "syncStatus" | "conflictOverrideReason" | "clientMutationId" | "isDemoData" | "createdAt" | "updatedAt" | "archivedAt", ExtArgs["result"]["scheduleEntry"]> export type ScheduleEntryInclude = { conflicts?: boolean | Prisma.ScheduleEntry$conflictsArgs _count?: boolean | Prisma.ScheduleEntryCountOutputTypeDefaultArgs } export type ScheduleEntryIncludeCreateManyAndReturn = {} export type ScheduleEntryIncludeUpdateManyAndReturn = {} export type $ScheduleEntryPayload = { name: "ScheduleEntry" objects: { conflicts: Prisma.$ScheduleConflictPayload[] } scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string tenantId: string projektId: string assignedUserId: string createdByUserId: string | null title: string startAt: Date endAt: Date status: $Enums.ScheduleEntryStatus calendarEventId: string | null syncStatus: $Enums.ScheduleSyncStatus conflictOverrideReason: string | null clientMutationId: string | null isDemoData: boolean createdAt: Date updatedAt: Date archivedAt: Date | null }, ExtArgs["result"]["scheduleEntry"]> composites: {} } export type ScheduleEntryGetPayload = runtime.Types.Result.GetResult export type ScheduleEntryCountArgs = Omit & { select?: ScheduleEntryCountAggregateInputType | true } export interface ScheduleEntryDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['ScheduleEntry'], meta: { name: 'ScheduleEntry' } } /** * Find zero or one ScheduleEntry that matches the filter. * @param {ScheduleEntryFindUniqueArgs} args - Arguments to find a ScheduleEntry * @example * // Get one ScheduleEntry * const scheduleEntry = await prisma.scheduleEntry.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__ScheduleEntryClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one ScheduleEntry that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {ScheduleEntryFindUniqueOrThrowArgs} args - Arguments to find a ScheduleEntry * @example * // Get one ScheduleEntry * const scheduleEntry = await prisma.scheduleEntry.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__ScheduleEntryClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first ScheduleEntry 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 {ScheduleEntryFindFirstArgs} args - Arguments to find a ScheduleEntry * @example * // Get one ScheduleEntry * const scheduleEntry = await prisma.scheduleEntry.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__ScheduleEntryClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first ScheduleEntry 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 {ScheduleEntryFindFirstOrThrowArgs} args - Arguments to find a ScheduleEntry * @example * // Get one ScheduleEntry * const scheduleEntry = await prisma.scheduleEntry.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__ScheduleEntryClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more ScheduleEntries 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 {ScheduleEntryFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all ScheduleEntries * const scheduleEntries = await prisma.scheduleEntry.findMany() * * // Get first 10 ScheduleEntries * const scheduleEntries = await prisma.scheduleEntry.findMany({ take: 10 }) * * // Only select the `id` * const scheduleEntryWithIdOnly = await prisma.scheduleEntry.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a ScheduleEntry. * @param {ScheduleEntryCreateArgs} args - Arguments to create a ScheduleEntry. * @example * // Create one ScheduleEntry * const ScheduleEntry = await prisma.scheduleEntry.create({ * data: { * // ... data to create a ScheduleEntry * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__ScheduleEntryClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many ScheduleEntries. * @param {ScheduleEntryCreateManyArgs} args - Arguments to create many ScheduleEntries. * @example * // Create many ScheduleEntries * const scheduleEntry = await prisma.scheduleEntry.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many ScheduleEntries and returns the data saved in the database. * @param {ScheduleEntryCreateManyAndReturnArgs} args - Arguments to create many ScheduleEntries. * @example * // Create many ScheduleEntries * const scheduleEntry = await prisma.scheduleEntry.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many ScheduleEntries and only return the `id` * const scheduleEntryWithIdOnly = await prisma.scheduleEntry.createManyAndReturn({ * select: { id: true }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> /** * Delete a ScheduleEntry. * @param {ScheduleEntryDeleteArgs} args - Arguments to delete one ScheduleEntry. * @example * // Delete one ScheduleEntry * const ScheduleEntry = await prisma.scheduleEntry.delete({ * where: { * // ... filter to delete one ScheduleEntry * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__ScheduleEntryClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one ScheduleEntry. * @param {ScheduleEntryUpdateArgs} args - Arguments to update one ScheduleEntry. * @example * // Update one ScheduleEntry * const scheduleEntry = await prisma.scheduleEntry.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__ScheduleEntryClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more ScheduleEntries. * @param {ScheduleEntryDeleteManyArgs} args - Arguments to filter ScheduleEntries to delete. * @example * // Delete a few ScheduleEntries * const { count } = await prisma.scheduleEntry.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more ScheduleEntries. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ScheduleEntryUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many ScheduleEntries * const scheduleEntry = await prisma.scheduleEntry.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more ScheduleEntries and returns the data updated in the database. * @param {ScheduleEntryUpdateManyAndReturnArgs} args - Arguments to update many ScheduleEntries. * @example * // Update many ScheduleEntries * const scheduleEntry = await prisma.scheduleEntry.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more ScheduleEntries and only return the `id` * const scheduleEntryWithIdOnly = await prisma.scheduleEntry.updateManyAndReturn({ * select: { id: true }, * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> /** * Create or update one ScheduleEntry. * @param {ScheduleEntryUpsertArgs} args - Arguments to update or create a ScheduleEntry. * @example * // Update or create a ScheduleEntry * const scheduleEntry = await prisma.scheduleEntry.upsert({ * create: { * // ... data to create a ScheduleEntry * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the ScheduleEntry we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__ScheduleEntryClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of ScheduleEntries. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ScheduleEntryCountArgs} args - Arguments to filter ScheduleEntries to count. * @example * // Count the number of ScheduleEntries * const count = await prisma.scheduleEntry.count({ * where: { * // ... the filter for the ScheduleEntries we want to count * } * }) **/ count( args?: Prisma.Subset, ): Prisma.PrismaPromise< T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType : number > /** * Allows you to perform aggregations operations on a ScheduleEntry. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ScheduleEntryAggregateArgs} args - Select which aggregations you would like to apply and on what fields. * @example * // Ordered by age ascending * // Where email contains prisma.io * // Limited to the 10 users * const aggregations = await prisma.user.aggregate({ * _avg: { * age: true, * }, * where: { * email: { * contains: "prisma.io", * }, * }, * orderBy: { * age: "asc", * }, * take: 10, * }) **/ aggregate(args: Prisma.Subset): Prisma.PrismaPromise> /** * Group by ScheduleEntry. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ScheduleEntryGroupByArgs} 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 ScheduleEntryGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: ScheduleEntryGroupByArgs['orderBy'] } : { orderBy?: ScheduleEntryGroupByArgs['orderBy'] }, OrderFields extends Prisma.ExcludeUnderscoreKeys>>, ByFields extends Prisma.MaybeTupleToUnion, ByValid extends Prisma.Has, HavingFields extends Prisma.GetHavingFields, HavingValid extends Prisma.Has, ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True ? `Error: "by" must not be empty.` : HavingValid extends Prisma.False ? { [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [ Error, 'Field ', P, ` in "having" needs to be provided in "by"`, ] }[HavingFields] : 'take' extends Prisma.Keys ? 'orderBy' extends Prisma.Keys ? ByValid extends Prisma.True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Prisma.Keys ? 'orderBy' extends Prisma.Keys ? ByValid extends Prisma.True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetScheduleEntryGroupByPayload : Prisma.PrismaPromise /** * Fields of the ScheduleEntry model */ readonly fields: ScheduleEntryFieldRefs; } /** * The delegate class that acts as a "Promise-like" for ScheduleEntry. * 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__ScheduleEntryClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" conflicts = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * Attaches a callback for only the rejection of the Promise. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of the callback. */ catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The * resolved value cannot be modified from the callback. * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). * @returns A Promise for the completion of the callback. */ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise } /** * Fields of the ScheduleEntry model */ export interface ScheduleEntryFieldRefs { readonly id: Prisma.FieldRef<"ScheduleEntry", 'String'> readonly tenantId: Prisma.FieldRef<"ScheduleEntry", 'String'> readonly projektId: Prisma.FieldRef<"ScheduleEntry", 'String'> readonly assignedUserId: Prisma.FieldRef<"ScheduleEntry", 'String'> readonly createdByUserId: Prisma.FieldRef<"ScheduleEntry", 'String'> readonly title: Prisma.FieldRef<"ScheduleEntry", 'String'> readonly startAt: Prisma.FieldRef<"ScheduleEntry", 'DateTime'> readonly endAt: Prisma.FieldRef<"ScheduleEntry", 'DateTime'> readonly status: Prisma.FieldRef<"ScheduleEntry", 'ScheduleEntryStatus'> readonly calendarEventId: Prisma.FieldRef<"ScheduleEntry", 'String'> readonly syncStatus: Prisma.FieldRef<"ScheduleEntry", 'ScheduleSyncStatus'> readonly conflictOverrideReason: Prisma.FieldRef<"ScheduleEntry", 'String'> readonly clientMutationId: Prisma.FieldRef<"ScheduleEntry", 'String'> readonly isDemoData: Prisma.FieldRef<"ScheduleEntry", 'Boolean'> readonly createdAt: Prisma.FieldRef<"ScheduleEntry", 'DateTime'> readonly updatedAt: Prisma.FieldRef<"ScheduleEntry", 'DateTime'> readonly archivedAt: Prisma.FieldRef<"ScheduleEntry", 'DateTime'> } // Custom InputTypes /** * ScheduleEntry findUnique */ export type ScheduleEntryFindUniqueArgs = { /** * Select specific fields to fetch from the ScheduleEntry */ select?: Prisma.ScheduleEntrySelect | null /** * Omit specific fields from the ScheduleEntry */ omit?: Prisma.ScheduleEntryOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ScheduleEntryInclude | null /** * Filter, which ScheduleEntry to fetch. */ where: Prisma.ScheduleEntryWhereUniqueInput } /** * ScheduleEntry findUniqueOrThrow */ export type ScheduleEntryFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the ScheduleEntry */ select?: Prisma.ScheduleEntrySelect | null /** * Omit specific fields from the ScheduleEntry */ omit?: Prisma.ScheduleEntryOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ScheduleEntryInclude | null /** * Filter, which ScheduleEntry to fetch. */ where: Prisma.ScheduleEntryWhereUniqueInput } /** * ScheduleEntry findFirst */ export type ScheduleEntryFindFirstArgs = { /** * Select specific fields to fetch from the ScheduleEntry */ select?: Prisma.ScheduleEntrySelect | null /** * Omit specific fields from the ScheduleEntry */ omit?: Prisma.ScheduleEntryOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ScheduleEntryInclude | null /** * Filter, which ScheduleEntry to fetch. */ where?: Prisma.ScheduleEntryWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ScheduleEntries to fetch. */ orderBy?: Prisma.ScheduleEntryOrderByWithRelationInput | Prisma.ScheduleEntryOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for ScheduleEntries. */ cursor?: Prisma.ScheduleEntryWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ScheduleEntries 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` ScheduleEntries. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of ScheduleEntries. */ distinct?: Prisma.ScheduleEntryScalarFieldEnum | Prisma.ScheduleEntryScalarFieldEnum[] } /** * ScheduleEntry findFirstOrThrow */ export type ScheduleEntryFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the ScheduleEntry */ select?: Prisma.ScheduleEntrySelect | null /** * Omit specific fields from the ScheduleEntry */ omit?: Prisma.ScheduleEntryOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ScheduleEntryInclude | null /** * Filter, which ScheduleEntry to fetch. */ where?: Prisma.ScheduleEntryWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ScheduleEntries to fetch. */ orderBy?: Prisma.ScheduleEntryOrderByWithRelationInput | Prisma.ScheduleEntryOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for ScheduleEntries. */ cursor?: Prisma.ScheduleEntryWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ScheduleEntries 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` ScheduleEntries. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of ScheduleEntries. */ distinct?: Prisma.ScheduleEntryScalarFieldEnum | Prisma.ScheduleEntryScalarFieldEnum[] } /** * ScheduleEntry findMany */ export type ScheduleEntryFindManyArgs = { /** * Select specific fields to fetch from the ScheduleEntry */ select?: Prisma.ScheduleEntrySelect | null /** * Omit specific fields from the ScheduleEntry */ omit?: Prisma.ScheduleEntryOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ScheduleEntryInclude | null /** * Filter, which ScheduleEntries to fetch. */ where?: Prisma.ScheduleEntryWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ScheduleEntries to fetch. */ orderBy?: Prisma.ScheduleEntryOrderByWithRelationInput | Prisma.ScheduleEntryOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing ScheduleEntries. */ cursor?: Prisma.ScheduleEntryWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ScheduleEntries 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` ScheduleEntries. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of ScheduleEntries. */ distinct?: Prisma.ScheduleEntryScalarFieldEnum | Prisma.ScheduleEntryScalarFieldEnum[] } /** * ScheduleEntry create */ export type ScheduleEntryCreateArgs = { /** * Select specific fields to fetch from the ScheduleEntry */ select?: Prisma.ScheduleEntrySelect | null /** * Omit specific fields from the ScheduleEntry */ omit?: Prisma.ScheduleEntryOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ScheduleEntryInclude | null /** * The data needed to create a ScheduleEntry. */ data: Prisma.XOR } /** * ScheduleEntry createMany */ export type ScheduleEntryCreateManyArgs = { /** * The data used to create many ScheduleEntries. */ data: Prisma.ScheduleEntryCreateManyInput | Prisma.ScheduleEntryCreateManyInput[] skipDuplicates?: boolean } /** * ScheduleEntry createManyAndReturn */ export type ScheduleEntryCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the ScheduleEntry */ select?: Prisma.ScheduleEntrySelectCreateManyAndReturn | null /** * Omit specific fields from the ScheduleEntry */ omit?: Prisma.ScheduleEntryOmit | null /** * The data used to create many ScheduleEntries. */ data: Prisma.ScheduleEntryCreateManyInput | Prisma.ScheduleEntryCreateManyInput[] skipDuplicates?: boolean } /** * ScheduleEntry update */ export type ScheduleEntryUpdateArgs = { /** * Select specific fields to fetch from the ScheduleEntry */ select?: Prisma.ScheduleEntrySelect | null /** * Omit specific fields from the ScheduleEntry */ omit?: Prisma.ScheduleEntryOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ScheduleEntryInclude | null /** * The data needed to update a ScheduleEntry. */ data: Prisma.XOR /** * Choose, which ScheduleEntry to update. */ where: Prisma.ScheduleEntryWhereUniqueInput } /** * ScheduleEntry updateMany */ export type ScheduleEntryUpdateManyArgs = { /** * The data used to update ScheduleEntries. */ data: Prisma.XOR /** * Filter which ScheduleEntries to update */ where?: Prisma.ScheduleEntryWhereInput /** * Limit how many ScheduleEntries to update. */ limit?: number } /** * ScheduleEntry updateManyAndReturn */ export type ScheduleEntryUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the ScheduleEntry */ select?: Prisma.ScheduleEntrySelectUpdateManyAndReturn | null /** * Omit specific fields from the ScheduleEntry */ omit?: Prisma.ScheduleEntryOmit | null /** * The data used to update ScheduleEntries. */ data: Prisma.XOR /** * Filter which ScheduleEntries to update */ where?: Prisma.ScheduleEntryWhereInput /** * Limit how many ScheduleEntries to update. */ limit?: number } /** * ScheduleEntry upsert */ export type ScheduleEntryUpsertArgs = { /** * Select specific fields to fetch from the ScheduleEntry */ select?: Prisma.ScheduleEntrySelect | null /** * Omit specific fields from the ScheduleEntry */ omit?: Prisma.ScheduleEntryOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ScheduleEntryInclude | null /** * The filter to search for the ScheduleEntry to update in case it exists. */ where: Prisma.ScheduleEntryWhereUniqueInput /** * In case the ScheduleEntry found by the `where` argument doesn't exist, create a new ScheduleEntry with this data. */ create: Prisma.XOR /** * In case the ScheduleEntry was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * ScheduleEntry delete */ export type ScheduleEntryDeleteArgs = { /** * Select specific fields to fetch from the ScheduleEntry */ select?: Prisma.ScheduleEntrySelect | null /** * Omit specific fields from the ScheduleEntry */ omit?: Prisma.ScheduleEntryOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ScheduleEntryInclude | null /** * Filter which ScheduleEntry to delete. */ where: Prisma.ScheduleEntryWhereUniqueInput } /** * ScheduleEntry deleteMany */ export type ScheduleEntryDeleteManyArgs = { /** * Filter which ScheduleEntries to delete */ where?: Prisma.ScheduleEntryWhereInput /** * Limit how many ScheduleEntries to delete. */ limit?: number } /** * ScheduleEntry.conflicts */ export type ScheduleEntry$conflictsArgs = { /** * Select specific fields to fetch from the ScheduleConflict */ select?: Prisma.ScheduleConflictSelect | null /** * Omit specific fields from the ScheduleConflict */ omit?: Prisma.ScheduleConflictOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ScheduleConflictInclude | null where?: Prisma.ScheduleConflictWhereInput orderBy?: Prisma.ScheduleConflictOrderByWithRelationInput | Prisma.ScheduleConflictOrderByWithRelationInput[] cursor?: Prisma.ScheduleConflictWhereUniqueInput take?: number skip?: number distinct?: Prisma.ScheduleConflictScalarFieldEnum | Prisma.ScheduleConflictScalarFieldEnum[] } /** * ScheduleEntry without action */ export type ScheduleEntryDefaultArgs = { /** * Select specific fields to fetch from the ScheduleEntry */ select?: Prisma.ScheduleEntrySelect | null /** * Omit specific fields from the ScheduleEntry */ omit?: Prisma.ScheduleEntryOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ScheduleEntryInclude | null }