/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `ProjektTermin` 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 ProjektTermin * */ export type ProjektTerminModel = runtime.Types.Result.DefaultSelection export type AggregateProjektTermin = { _count: ProjektTerminCountAggregateOutputType | null _min: ProjektTerminMinAggregateOutputType | null _max: ProjektTerminMaxAggregateOutputType | null } export type ProjektTerminMinAggregateOutputType = { id: string | null tenantId: string | null projektId: string | null createdByUserId: string | null assignedToUserId: string | null assignedToGroupId: string | null titel: string | null beschreibung: string | null startAt: Date | null endAt: Date | null status: $Enums.ProjektTerminStatus | null isDemoData: boolean | null createdAt: Date | null updatedAt: Date | null archivedAt: Date | null } export type ProjektTerminMaxAggregateOutputType = { id: string | null tenantId: string | null projektId: string | null createdByUserId: string | null assignedToUserId: string | null assignedToGroupId: string | null titel: string | null beschreibung: string | null startAt: Date | null endAt: Date | null status: $Enums.ProjektTerminStatus | null isDemoData: boolean | null createdAt: Date | null updatedAt: Date | null archivedAt: Date | null } export type ProjektTerminCountAggregateOutputType = { id: number tenantId: number projektId: number createdByUserId: number assignedToUserId: number assignedToGroupId: number titel: number beschreibung: number startAt: number endAt: number status: number isDemoData: number createdAt: number updatedAt: number archivedAt: number _all: number } export type ProjektTerminMinAggregateInputType = { id?: true tenantId?: true projektId?: true createdByUserId?: true assignedToUserId?: true assignedToGroupId?: true titel?: true beschreibung?: true startAt?: true endAt?: true status?: true isDemoData?: true createdAt?: true updatedAt?: true archivedAt?: true } export type ProjektTerminMaxAggregateInputType = { id?: true tenantId?: true projektId?: true createdByUserId?: true assignedToUserId?: true assignedToGroupId?: true titel?: true beschreibung?: true startAt?: true endAt?: true status?: true isDemoData?: true createdAt?: true updatedAt?: true archivedAt?: true } export type ProjektTerminCountAggregateInputType = { id?: true tenantId?: true projektId?: true createdByUserId?: true assignedToUserId?: true assignedToGroupId?: true titel?: true beschreibung?: true startAt?: true endAt?: true status?: true isDemoData?: true createdAt?: true updatedAt?: true archivedAt?: true _all?: true } export type ProjektTerminAggregateArgs = { /** * Filter which ProjektTermin to aggregate. */ where?: Prisma.ProjektTerminWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ProjektTermins to fetch. */ orderBy?: Prisma.ProjektTerminOrderByWithRelationInput | Prisma.ProjektTerminOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.ProjektTerminWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ProjektTermins 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` ProjektTermins. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned ProjektTermins **/ _count?: true | ProjektTerminCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: ProjektTerminMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: ProjektTerminMaxAggregateInputType } export type GetProjektTerminAggregateType = { [P in keyof T & keyof AggregateProjektTermin]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type ProjektTerminGroupByArgs = { where?: Prisma.ProjektTerminWhereInput orderBy?: Prisma.ProjektTerminOrderByWithAggregationInput | Prisma.ProjektTerminOrderByWithAggregationInput[] by: Prisma.ProjektTerminScalarFieldEnum[] | Prisma.ProjektTerminScalarFieldEnum having?: Prisma.ProjektTerminScalarWhereWithAggregatesInput take?: number skip?: number _count?: ProjektTerminCountAggregateInputType | true _min?: ProjektTerminMinAggregateInputType _max?: ProjektTerminMaxAggregateInputType } export type ProjektTerminGroupByOutputType = { id: string tenantId: string projektId: string createdByUserId: string | null assignedToUserId: string | null assignedToGroupId: string | null titel: string beschreibung: string | null startAt: Date endAt: Date | null status: $Enums.ProjektTerminStatus isDemoData: boolean createdAt: Date updatedAt: Date archivedAt: Date | null _count: ProjektTerminCountAggregateOutputType | null _min: ProjektTerminMinAggregateOutputType | null _max: ProjektTerminMaxAggregateOutputType | null } export type GetProjektTerminGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof ProjektTerminGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type ProjektTerminWhereInput = { AND?: Prisma.ProjektTerminWhereInput | Prisma.ProjektTerminWhereInput[] OR?: Prisma.ProjektTerminWhereInput[] NOT?: Prisma.ProjektTerminWhereInput | Prisma.ProjektTerminWhereInput[] id?: Prisma.StringFilter<"ProjektTermin"> | string tenantId?: Prisma.StringFilter<"ProjektTermin"> | string projektId?: Prisma.StringFilter<"ProjektTermin"> | string createdByUserId?: Prisma.StringNullableFilter<"ProjektTermin"> | string | null assignedToUserId?: Prisma.StringNullableFilter<"ProjektTermin"> | string | null assignedToGroupId?: Prisma.StringNullableFilter<"ProjektTermin"> | string | null titel?: Prisma.StringFilter<"ProjektTermin"> | string beschreibung?: Prisma.StringNullableFilter<"ProjektTermin"> | string | null startAt?: Prisma.DateTimeFilter<"ProjektTermin"> | Date | string endAt?: Prisma.DateTimeNullableFilter<"ProjektTermin"> | Date | string | null status?: Prisma.EnumProjektTerminStatusFilter<"ProjektTermin"> | $Enums.ProjektTerminStatus isDemoData?: Prisma.BoolFilter<"ProjektTermin"> | boolean createdAt?: Prisma.DateTimeFilter<"ProjektTermin"> | Date | string updatedAt?: Prisma.DateTimeFilter<"ProjektTermin"> | Date | string archivedAt?: Prisma.DateTimeNullableFilter<"ProjektTermin"> | Date | string | null } export type ProjektTerminOrderByWithRelationInput = { id?: Prisma.SortOrder tenantId?: Prisma.SortOrder projektId?: Prisma.SortOrder createdByUserId?: Prisma.SortOrderInput | Prisma.SortOrder assignedToUserId?: Prisma.SortOrderInput | Prisma.SortOrder assignedToGroupId?: Prisma.SortOrderInput | Prisma.SortOrder titel?: Prisma.SortOrder beschreibung?: Prisma.SortOrderInput | Prisma.SortOrder startAt?: Prisma.SortOrder endAt?: Prisma.SortOrderInput | Prisma.SortOrder status?: Prisma.SortOrder isDemoData?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder archivedAt?: Prisma.SortOrderInput | Prisma.SortOrder } export type ProjektTerminWhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: Prisma.ProjektTerminWhereInput | Prisma.ProjektTerminWhereInput[] OR?: Prisma.ProjektTerminWhereInput[] NOT?: Prisma.ProjektTerminWhereInput | Prisma.ProjektTerminWhereInput[] tenantId?: Prisma.StringFilter<"ProjektTermin"> | string projektId?: Prisma.StringFilter<"ProjektTermin"> | string createdByUserId?: Prisma.StringNullableFilter<"ProjektTermin"> | string | null assignedToUserId?: Prisma.StringNullableFilter<"ProjektTermin"> | string | null assignedToGroupId?: Prisma.StringNullableFilter<"ProjektTermin"> | string | null titel?: Prisma.StringFilter<"ProjektTermin"> | string beschreibung?: Prisma.StringNullableFilter<"ProjektTermin"> | string | null startAt?: Prisma.DateTimeFilter<"ProjektTermin"> | Date | string endAt?: Prisma.DateTimeNullableFilter<"ProjektTermin"> | Date | string | null status?: Prisma.EnumProjektTerminStatusFilter<"ProjektTermin"> | $Enums.ProjektTerminStatus isDemoData?: Prisma.BoolFilter<"ProjektTermin"> | boolean createdAt?: Prisma.DateTimeFilter<"ProjektTermin"> | Date | string updatedAt?: Prisma.DateTimeFilter<"ProjektTermin"> | Date | string archivedAt?: Prisma.DateTimeNullableFilter<"ProjektTermin"> | Date | string | null }, "id"> export type ProjektTerminOrderByWithAggregationInput = { id?: Prisma.SortOrder tenantId?: Prisma.SortOrder projektId?: Prisma.SortOrder createdByUserId?: Prisma.SortOrderInput | Prisma.SortOrder assignedToUserId?: Prisma.SortOrderInput | Prisma.SortOrder assignedToGroupId?: Prisma.SortOrderInput | Prisma.SortOrder titel?: Prisma.SortOrder beschreibung?: Prisma.SortOrderInput | Prisma.SortOrder startAt?: Prisma.SortOrder endAt?: Prisma.SortOrderInput | Prisma.SortOrder status?: Prisma.SortOrder isDemoData?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder archivedAt?: Prisma.SortOrderInput | Prisma.SortOrder _count?: Prisma.ProjektTerminCountOrderByAggregateInput _max?: Prisma.ProjektTerminMaxOrderByAggregateInput _min?: Prisma.ProjektTerminMinOrderByAggregateInput } export type ProjektTerminScalarWhereWithAggregatesInput = { AND?: Prisma.ProjektTerminScalarWhereWithAggregatesInput | Prisma.ProjektTerminScalarWhereWithAggregatesInput[] OR?: Prisma.ProjektTerminScalarWhereWithAggregatesInput[] NOT?: Prisma.ProjektTerminScalarWhereWithAggregatesInput | Prisma.ProjektTerminScalarWhereWithAggregatesInput[] id?: Prisma.StringWithAggregatesFilter<"ProjektTermin"> | string tenantId?: Prisma.StringWithAggregatesFilter<"ProjektTermin"> | string projektId?: Prisma.StringWithAggregatesFilter<"ProjektTermin"> | string createdByUserId?: Prisma.StringNullableWithAggregatesFilter<"ProjektTermin"> | string | null assignedToUserId?: Prisma.StringNullableWithAggregatesFilter<"ProjektTermin"> | string | null assignedToGroupId?: Prisma.StringNullableWithAggregatesFilter<"ProjektTermin"> | string | null titel?: Prisma.StringWithAggregatesFilter<"ProjektTermin"> | string beschreibung?: Prisma.StringNullableWithAggregatesFilter<"ProjektTermin"> | string | null startAt?: Prisma.DateTimeWithAggregatesFilter<"ProjektTermin"> | Date | string endAt?: Prisma.DateTimeNullableWithAggregatesFilter<"ProjektTermin"> | Date | string | null status?: Prisma.EnumProjektTerminStatusWithAggregatesFilter<"ProjektTermin"> | $Enums.ProjektTerminStatus isDemoData?: Prisma.BoolWithAggregatesFilter<"ProjektTermin"> | boolean createdAt?: Prisma.DateTimeWithAggregatesFilter<"ProjektTermin"> | Date | string updatedAt?: Prisma.DateTimeWithAggregatesFilter<"ProjektTermin"> | Date | string archivedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"ProjektTermin"> | Date | string | null } export type ProjektTerminCreateInput = { id?: string tenantId: string projektId: string createdByUserId?: string | null assignedToUserId?: string | null assignedToGroupId?: string | null titel: string beschreibung?: string | null startAt: Date | string endAt?: Date | string | null status?: $Enums.ProjektTerminStatus isDemoData?: boolean createdAt?: Date | string updatedAt?: Date | string archivedAt?: Date | string | null } export type ProjektTerminUncheckedCreateInput = { id?: string tenantId: string projektId: string createdByUserId?: string | null assignedToUserId?: string | null assignedToGroupId?: string | null titel: string beschreibung?: string | null startAt: Date | string endAt?: Date | string | null status?: $Enums.ProjektTerminStatus isDemoData?: boolean createdAt?: Date | string updatedAt?: Date | string archivedAt?: Date | string | null } export type ProjektTerminUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string projektId?: Prisma.StringFieldUpdateOperationsInput | string createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null assignedToUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null assignedToGroupId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null titel?: Prisma.StringFieldUpdateOperationsInput | string beschreibung?: Prisma.NullableStringFieldUpdateOperationsInput | string | null startAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string endAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null status?: Prisma.EnumProjektTerminStatusFieldUpdateOperationsInput | $Enums.ProjektTerminStatus isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type ProjektTerminUncheckedUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string projektId?: Prisma.StringFieldUpdateOperationsInput | string createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null assignedToUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null assignedToGroupId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null titel?: Prisma.StringFieldUpdateOperationsInput | string beschreibung?: Prisma.NullableStringFieldUpdateOperationsInput | string | null startAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string endAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null status?: Prisma.EnumProjektTerminStatusFieldUpdateOperationsInput | $Enums.ProjektTerminStatus isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type ProjektTerminCreateManyInput = { id?: string tenantId: string projektId: string createdByUserId?: string | null assignedToUserId?: string | null assignedToGroupId?: string | null titel: string beschreibung?: string | null startAt: Date | string endAt?: Date | string | null status?: $Enums.ProjektTerminStatus isDemoData?: boolean createdAt?: Date | string updatedAt?: Date | string archivedAt?: Date | string | null } export type ProjektTerminUpdateManyMutationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string projektId?: Prisma.StringFieldUpdateOperationsInput | string createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null assignedToUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null assignedToGroupId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null titel?: Prisma.StringFieldUpdateOperationsInput | string beschreibung?: Prisma.NullableStringFieldUpdateOperationsInput | string | null startAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string endAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null status?: Prisma.EnumProjektTerminStatusFieldUpdateOperationsInput | $Enums.ProjektTerminStatus isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type ProjektTerminUncheckedUpdateManyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string projektId?: Prisma.StringFieldUpdateOperationsInput | string createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null assignedToUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null assignedToGroupId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null titel?: Prisma.StringFieldUpdateOperationsInput | string beschreibung?: Prisma.NullableStringFieldUpdateOperationsInput | string | null startAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string endAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null status?: Prisma.EnumProjektTerminStatusFieldUpdateOperationsInput | $Enums.ProjektTerminStatus isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type ProjektTerminCountOrderByAggregateInput = { id?: Prisma.SortOrder tenantId?: Prisma.SortOrder projektId?: Prisma.SortOrder createdByUserId?: Prisma.SortOrder assignedToUserId?: Prisma.SortOrder assignedToGroupId?: Prisma.SortOrder titel?: Prisma.SortOrder beschreibung?: Prisma.SortOrder startAt?: Prisma.SortOrder endAt?: Prisma.SortOrder status?: Prisma.SortOrder isDemoData?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder archivedAt?: Prisma.SortOrder } export type ProjektTerminMaxOrderByAggregateInput = { id?: Prisma.SortOrder tenantId?: Prisma.SortOrder projektId?: Prisma.SortOrder createdByUserId?: Prisma.SortOrder assignedToUserId?: Prisma.SortOrder assignedToGroupId?: Prisma.SortOrder titel?: Prisma.SortOrder beschreibung?: Prisma.SortOrder startAt?: Prisma.SortOrder endAt?: Prisma.SortOrder status?: Prisma.SortOrder isDemoData?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder archivedAt?: Prisma.SortOrder } export type ProjektTerminMinOrderByAggregateInput = { id?: Prisma.SortOrder tenantId?: Prisma.SortOrder projektId?: Prisma.SortOrder createdByUserId?: Prisma.SortOrder assignedToUserId?: Prisma.SortOrder assignedToGroupId?: Prisma.SortOrder titel?: Prisma.SortOrder beschreibung?: Prisma.SortOrder startAt?: Prisma.SortOrder endAt?: Prisma.SortOrder status?: Prisma.SortOrder isDemoData?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder archivedAt?: Prisma.SortOrder } export type EnumProjektTerminStatusFieldUpdateOperationsInput = { set?: $Enums.ProjektTerminStatus } export type ProjektTerminSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean tenantId?: boolean projektId?: boolean createdByUserId?: boolean assignedToUserId?: boolean assignedToGroupId?: boolean titel?: boolean beschreibung?: boolean startAt?: boolean endAt?: boolean status?: boolean isDemoData?: boolean createdAt?: boolean updatedAt?: boolean archivedAt?: boolean }, ExtArgs["result"]["projektTermin"]> export type ProjektTerminSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean tenantId?: boolean projektId?: boolean createdByUserId?: boolean assignedToUserId?: boolean assignedToGroupId?: boolean titel?: boolean beschreibung?: boolean startAt?: boolean endAt?: boolean status?: boolean isDemoData?: boolean createdAt?: boolean updatedAt?: boolean archivedAt?: boolean }, ExtArgs["result"]["projektTermin"]> export type ProjektTerminSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean tenantId?: boolean projektId?: boolean createdByUserId?: boolean assignedToUserId?: boolean assignedToGroupId?: boolean titel?: boolean beschreibung?: boolean startAt?: boolean endAt?: boolean status?: boolean isDemoData?: boolean createdAt?: boolean updatedAt?: boolean archivedAt?: boolean }, ExtArgs["result"]["projektTermin"]> export type ProjektTerminSelectScalar = { id?: boolean tenantId?: boolean projektId?: boolean createdByUserId?: boolean assignedToUserId?: boolean assignedToGroupId?: boolean titel?: boolean beschreibung?: boolean startAt?: boolean endAt?: boolean status?: boolean isDemoData?: boolean createdAt?: boolean updatedAt?: boolean archivedAt?: boolean } export type ProjektTerminOmit = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "projektId" | "createdByUserId" | "assignedToUserId" | "assignedToGroupId" | "titel" | "beschreibung" | "startAt" | "endAt" | "status" | "isDemoData" | "createdAt" | "updatedAt" | "archivedAt", ExtArgs["result"]["projektTermin"]> export type $ProjektTerminPayload = { name: "ProjektTermin" objects: {} scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string tenantId: string projektId: string createdByUserId: string | null assignedToUserId: string | null assignedToGroupId: string | null titel: string beschreibung: string | null startAt: Date endAt: Date | null status: $Enums.ProjektTerminStatus isDemoData: boolean createdAt: Date updatedAt: Date archivedAt: Date | null }, ExtArgs["result"]["projektTermin"]> composites: {} } export type ProjektTerminGetPayload = runtime.Types.Result.GetResult export type ProjektTerminCountArgs = Omit & { select?: ProjektTerminCountAggregateInputType | true } export interface ProjektTerminDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['ProjektTermin'], meta: { name: 'ProjektTermin' } } /** * Find zero or one ProjektTermin that matches the filter. * @param {ProjektTerminFindUniqueArgs} args - Arguments to find a ProjektTermin * @example * // Get one ProjektTermin * const projektTermin = await prisma.projektTermin.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__ProjektTerminClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one ProjektTermin that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {ProjektTerminFindUniqueOrThrowArgs} args - Arguments to find a ProjektTermin * @example * // Get one ProjektTermin * const projektTermin = await prisma.projektTermin.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__ProjektTerminClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first ProjektTermin 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 {ProjektTerminFindFirstArgs} args - Arguments to find a ProjektTermin * @example * // Get one ProjektTermin * const projektTermin = await prisma.projektTermin.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__ProjektTerminClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first ProjektTermin 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 {ProjektTerminFindFirstOrThrowArgs} args - Arguments to find a ProjektTermin * @example * // Get one ProjektTermin * const projektTermin = await prisma.projektTermin.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__ProjektTerminClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more ProjektTermins 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 {ProjektTerminFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all ProjektTermins * const projektTermins = await prisma.projektTermin.findMany() * * // Get first 10 ProjektTermins * const projektTermins = await prisma.projektTermin.findMany({ take: 10 }) * * // Only select the `id` * const projektTerminWithIdOnly = await prisma.projektTermin.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a ProjektTermin. * @param {ProjektTerminCreateArgs} args - Arguments to create a ProjektTermin. * @example * // Create one ProjektTermin * const ProjektTermin = await prisma.projektTermin.create({ * data: { * // ... data to create a ProjektTermin * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__ProjektTerminClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many ProjektTermins. * @param {ProjektTerminCreateManyArgs} args - Arguments to create many ProjektTermins. * @example * // Create many ProjektTermins * const projektTermin = await prisma.projektTermin.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many ProjektTermins and returns the data saved in the database. * @param {ProjektTerminCreateManyAndReturnArgs} args - Arguments to create many ProjektTermins. * @example * // Create many ProjektTermins * const projektTermin = await prisma.projektTermin.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many ProjektTermins and only return the `id` * const projektTerminWithIdOnly = await prisma.projektTermin.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 ProjektTermin. * @param {ProjektTerminDeleteArgs} args - Arguments to delete one ProjektTermin. * @example * // Delete one ProjektTermin * const ProjektTermin = await prisma.projektTermin.delete({ * where: { * // ... filter to delete one ProjektTermin * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__ProjektTerminClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one ProjektTermin. * @param {ProjektTerminUpdateArgs} args - Arguments to update one ProjektTermin. * @example * // Update one ProjektTermin * const projektTermin = await prisma.projektTermin.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__ProjektTerminClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more ProjektTermins. * @param {ProjektTerminDeleteManyArgs} args - Arguments to filter ProjektTermins to delete. * @example * // Delete a few ProjektTermins * const { count } = await prisma.projektTermin.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more ProjektTermins. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ProjektTerminUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many ProjektTermins * const projektTermin = await prisma.projektTermin.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more ProjektTermins and returns the data updated in the database. * @param {ProjektTerminUpdateManyAndReturnArgs} args - Arguments to update many ProjektTermins. * @example * // Update many ProjektTermins * const projektTermin = await prisma.projektTermin.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more ProjektTermins and only return the `id` * const projektTerminWithIdOnly = await prisma.projektTermin.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 ProjektTermin. * @param {ProjektTerminUpsertArgs} args - Arguments to update or create a ProjektTermin. * @example * // Update or create a ProjektTermin * const projektTermin = await prisma.projektTermin.upsert({ * create: { * // ... data to create a ProjektTermin * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the ProjektTermin we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__ProjektTerminClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of ProjektTermins. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ProjektTerminCountArgs} args - Arguments to filter ProjektTermins to count. * @example * // Count the number of ProjektTermins * const count = await prisma.projektTermin.count({ * where: { * // ... the filter for the ProjektTermins 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 ProjektTermin. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ProjektTerminAggregateArgs} 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 ProjektTermin. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ProjektTerminGroupByArgs} 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 ProjektTerminGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: ProjektTerminGroupByArgs['orderBy'] } : { orderBy?: ProjektTerminGroupByArgs['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 ? GetProjektTerminGroupByPayload : Prisma.PrismaPromise /** * Fields of the ProjektTermin model */ readonly fields: ProjektTerminFieldRefs; } /** * The delegate class that acts as a "Promise-like" for ProjektTermin. * 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__ProjektTerminClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" /** * 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 ProjektTermin model */ export interface ProjektTerminFieldRefs { readonly id: Prisma.FieldRef<"ProjektTermin", 'String'> readonly tenantId: Prisma.FieldRef<"ProjektTermin", 'String'> readonly projektId: Prisma.FieldRef<"ProjektTermin", 'String'> readonly createdByUserId: Prisma.FieldRef<"ProjektTermin", 'String'> readonly assignedToUserId: Prisma.FieldRef<"ProjektTermin", 'String'> readonly assignedToGroupId: Prisma.FieldRef<"ProjektTermin", 'String'> readonly titel: Prisma.FieldRef<"ProjektTermin", 'String'> readonly beschreibung: Prisma.FieldRef<"ProjektTermin", 'String'> readonly startAt: Prisma.FieldRef<"ProjektTermin", 'DateTime'> readonly endAt: Prisma.FieldRef<"ProjektTermin", 'DateTime'> readonly status: Prisma.FieldRef<"ProjektTermin", 'ProjektTerminStatus'> readonly isDemoData: Prisma.FieldRef<"ProjektTermin", 'Boolean'> readonly createdAt: Prisma.FieldRef<"ProjektTermin", 'DateTime'> readonly updatedAt: Prisma.FieldRef<"ProjektTermin", 'DateTime'> readonly archivedAt: Prisma.FieldRef<"ProjektTermin", 'DateTime'> } // Custom InputTypes /** * ProjektTermin findUnique */ export type ProjektTerminFindUniqueArgs = { /** * Select specific fields to fetch from the ProjektTermin */ select?: Prisma.ProjektTerminSelect | null /** * Omit specific fields from the ProjektTermin */ omit?: Prisma.ProjektTerminOmit | null /** * Filter, which ProjektTermin to fetch. */ where: Prisma.ProjektTerminWhereUniqueInput } /** * ProjektTermin findUniqueOrThrow */ export type ProjektTerminFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the ProjektTermin */ select?: Prisma.ProjektTerminSelect | null /** * Omit specific fields from the ProjektTermin */ omit?: Prisma.ProjektTerminOmit | null /** * Filter, which ProjektTermin to fetch. */ where: Prisma.ProjektTerminWhereUniqueInput } /** * ProjektTermin findFirst */ export type ProjektTerminFindFirstArgs = { /** * Select specific fields to fetch from the ProjektTermin */ select?: Prisma.ProjektTerminSelect | null /** * Omit specific fields from the ProjektTermin */ omit?: Prisma.ProjektTerminOmit | null /** * Filter, which ProjektTermin to fetch. */ where?: Prisma.ProjektTerminWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ProjektTermins to fetch. */ orderBy?: Prisma.ProjektTerminOrderByWithRelationInput | Prisma.ProjektTerminOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for ProjektTermins. */ cursor?: Prisma.ProjektTerminWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ProjektTermins 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` ProjektTermins. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of ProjektTermins. */ distinct?: Prisma.ProjektTerminScalarFieldEnum | Prisma.ProjektTerminScalarFieldEnum[] } /** * ProjektTermin findFirstOrThrow */ export type ProjektTerminFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the ProjektTermin */ select?: Prisma.ProjektTerminSelect | null /** * Omit specific fields from the ProjektTermin */ omit?: Prisma.ProjektTerminOmit | null /** * Filter, which ProjektTermin to fetch. */ where?: Prisma.ProjektTerminWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ProjektTermins to fetch. */ orderBy?: Prisma.ProjektTerminOrderByWithRelationInput | Prisma.ProjektTerminOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for ProjektTermins. */ cursor?: Prisma.ProjektTerminWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ProjektTermins 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` ProjektTermins. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of ProjektTermins. */ distinct?: Prisma.ProjektTerminScalarFieldEnum | Prisma.ProjektTerminScalarFieldEnum[] } /** * ProjektTermin findMany */ export type ProjektTerminFindManyArgs = { /** * Select specific fields to fetch from the ProjektTermin */ select?: Prisma.ProjektTerminSelect | null /** * Omit specific fields from the ProjektTermin */ omit?: Prisma.ProjektTerminOmit | null /** * Filter, which ProjektTermins to fetch. */ where?: Prisma.ProjektTerminWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ProjektTermins to fetch. */ orderBy?: Prisma.ProjektTerminOrderByWithRelationInput | Prisma.ProjektTerminOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing ProjektTermins. */ cursor?: Prisma.ProjektTerminWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ProjektTermins 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` ProjektTermins. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of ProjektTermins. */ distinct?: Prisma.ProjektTerminScalarFieldEnum | Prisma.ProjektTerminScalarFieldEnum[] } /** * ProjektTermin create */ export type ProjektTerminCreateArgs = { /** * Select specific fields to fetch from the ProjektTermin */ select?: Prisma.ProjektTerminSelect | null /** * Omit specific fields from the ProjektTermin */ omit?: Prisma.ProjektTerminOmit | null /** * The data needed to create a ProjektTermin. */ data: Prisma.XOR } /** * ProjektTermin createMany */ export type ProjektTerminCreateManyArgs = { /** * The data used to create many ProjektTermins. */ data: Prisma.ProjektTerminCreateManyInput | Prisma.ProjektTerminCreateManyInput[] skipDuplicates?: boolean } /** * ProjektTermin createManyAndReturn */ export type ProjektTerminCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the ProjektTermin */ select?: Prisma.ProjektTerminSelectCreateManyAndReturn | null /** * Omit specific fields from the ProjektTermin */ omit?: Prisma.ProjektTerminOmit | null /** * The data used to create many ProjektTermins. */ data: Prisma.ProjektTerminCreateManyInput | Prisma.ProjektTerminCreateManyInput[] skipDuplicates?: boolean } /** * ProjektTermin update */ export type ProjektTerminUpdateArgs = { /** * Select specific fields to fetch from the ProjektTermin */ select?: Prisma.ProjektTerminSelect | null /** * Omit specific fields from the ProjektTermin */ omit?: Prisma.ProjektTerminOmit | null /** * The data needed to update a ProjektTermin. */ data: Prisma.XOR /** * Choose, which ProjektTermin to update. */ where: Prisma.ProjektTerminWhereUniqueInput } /** * ProjektTermin updateMany */ export type ProjektTerminUpdateManyArgs = { /** * The data used to update ProjektTermins. */ data: Prisma.XOR /** * Filter which ProjektTermins to update */ where?: Prisma.ProjektTerminWhereInput /** * Limit how many ProjektTermins to update. */ limit?: number } /** * ProjektTermin updateManyAndReturn */ export type ProjektTerminUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the ProjektTermin */ select?: Prisma.ProjektTerminSelectUpdateManyAndReturn | null /** * Omit specific fields from the ProjektTermin */ omit?: Prisma.ProjektTerminOmit | null /** * The data used to update ProjektTermins. */ data: Prisma.XOR /** * Filter which ProjektTermins to update */ where?: Prisma.ProjektTerminWhereInput /** * Limit how many ProjektTermins to update. */ limit?: number } /** * ProjektTermin upsert */ export type ProjektTerminUpsertArgs = { /** * Select specific fields to fetch from the ProjektTermin */ select?: Prisma.ProjektTerminSelect | null /** * Omit specific fields from the ProjektTermin */ omit?: Prisma.ProjektTerminOmit | null /** * The filter to search for the ProjektTermin to update in case it exists. */ where: Prisma.ProjektTerminWhereUniqueInput /** * In case the ProjektTermin found by the `where` argument doesn't exist, create a new ProjektTermin with this data. */ create: Prisma.XOR /** * In case the ProjektTermin was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * ProjektTermin delete */ export type ProjektTerminDeleteArgs = { /** * Select specific fields to fetch from the ProjektTermin */ select?: Prisma.ProjektTerminSelect | null /** * Omit specific fields from the ProjektTermin */ omit?: Prisma.ProjektTerminOmit | null /** * Filter which ProjektTermin to delete. */ where: Prisma.ProjektTerminWhereUniqueInput } /** * ProjektTermin deleteMany */ export type ProjektTerminDeleteManyArgs = { /** * Filter which ProjektTermins to delete */ where?: Prisma.ProjektTerminWhereInput /** * Limit how many ProjektTermins to delete. */ limit?: number } /** * ProjektTermin without action */ export type ProjektTerminDefaultArgs = { /** * Select specific fields to fetch from the ProjektTermin */ select?: Prisma.ProjektTerminSelect | null /** * Omit specific fields from the ProjektTermin */ omit?: Prisma.ProjektTerminOmit | null }