/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `AdminTenantNote` 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 AdminTenantNote * AdminTenantNote — free-form operator notes pinned to a tenant. * ENTITY-MODEL Domäne 11: markdown note_text, category, pinned. * Written from the admin tenant-detail screen; every write also emits * an admin AuditEvent (tenantId=null, actorType="admin"). */ export type AdminTenantNoteModel = runtime.Types.Result.DefaultSelection export type AggregateAdminTenantNote = { _count: AdminTenantNoteCountAggregateOutputType | null _min: AdminTenantNoteMinAggregateOutputType | null _max: AdminTenantNoteMaxAggregateOutputType | null } export type AdminTenantNoteMinAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null tenantId: string | null authorUserId: string | null noteText: string | null category: string | null pinned: boolean | null } export type AdminTenantNoteMaxAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null tenantId: string | null authorUserId: string | null noteText: string | null category: string | null pinned: boolean | null } export type AdminTenantNoteCountAggregateOutputType = { id: number createdAt: number updatedAt: number tenantId: number authorUserId: number noteText: number category: number pinned: number _all: number } export type AdminTenantNoteMinAggregateInputType = { id?: true createdAt?: true updatedAt?: true tenantId?: true authorUserId?: true noteText?: true category?: true pinned?: true } export type AdminTenantNoteMaxAggregateInputType = { id?: true createdAt?: true updatedAt?: true tenantId?: true authorUserId?: true noteText?: true category?: true pinned?: true } export type AdminTenantNoteCountAggregateInputType = { id?: true createdAt?: true updatedAt?: true tenantId?: true authorUserId?: true noteText?: true category?: true pinned?: true _all?: true } export type AdminTenantNoteAggregateArgs = { /** * Filter which AdminTenantNote to aggregate. */ where?: Prisma.AdminTenantNoteWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AdminTenantNotes to fetch. */ orderBy?: Prisma.AdminTenantNoteOrderByWithRelationInput | Prisma.AdminTenantNoteOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.AdminTenantNoteWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AdminTenantNotes 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` AdminTenantNotes. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned AdminTenantNotes **/ _count?: true | AdminTenantNoteCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: AdminTenantNoteMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: AdminTenantNoteMaxAggregateInputType } export type GetAdminTenantNoteAggregateType = { [P in keyof T & keyof AggregateAdminTenantNote]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type AdminTenantNoteGroupByArgs = { where?: Prisma.AdminTenantNoteWhereInput orderBy?: Prisma.AdminTenantNoteOrderByWithAggregationInput | Prisma.AdminTenantNoteOrderByWithAggregationInput[] by: Prisma.AdminTenantNoteScalarFieldEnum[] | Prisma.AdminTenantNoteScalarFieldEnum having?: Prisma.AdminTenantNoteScalarWhereWithAggregatesInput take?: number skip?: number _count?: AdminTenantNoteCountAggregateInputType | true _min?: AdminTenantNoteMinAggregateInputType _max?: AdminTenantNoteMaxAggregateInputType } export type AdminTenantNoteGroupByOutputType = { id: string createdAt: Date updatedAt: Date tenantId: string authorUserId: string | null noteText: string category: string pinned: boolean _count: AdminTenantNoteCountAggregateOutputType | null _min: AdminTenantNoteMinAggregateOutputType | null _max: AdminTenantNoteMaxAggregateOutputType | null } export type GetAdminTenantNoteGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof AdminTenantNoteGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type AdminTenantNoteWhereInput = { AND?: Prisma.AdminTenantNoteWhereInput | Prisma.AdminTenantNoteWhereInput[] OR?: Prisma.AdminTenantNoteWhereInput[] NOT?: Prisma.AdminTenantNoteWhereInput | Prisma.AdminTenantNoteWhereInput[] id?: Prisma.StringFilter<"AdminTenantNote"> | string createdAt?: Prisma.DateTimeFilter<"AdminTenantNote"> | Date | string updatedAt?: Prisma.DateTimeFilter<"AdminTenantNote"> | Date | string tenantId?: Prisma.StringFilter<"AdminTenantNote"> | string authorUserId?: Prisma.StringNullableFilter<"AdminTenantNote"> | string | null noteText?: Prisma.StringFilter<"AdminTenantNote"> | string category?: Prisma.StringFilter<"AdminTenantNote"> | string pinned?: Prisma.BoolFilter<"AdminTenantNote"> | boolean tenant?: Prisma.XOR author?: Prisma.XOR | null } export type AdminTenantNoteOrderByWithRelationInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder tenantId?: Prisma.SortOrder authorUserId?: Prisma.SortOrderInput | Prisma.SortOrder noteText?: Prisma.SortOrder category?: Prisma.SortOrder pinned?: Prisma.SortOrder tenant?: Prisma.TenantOrderByWithRelationInput author?: Prisma.AdminUserOrderByWithRelationInput } export type AdminTenantNoteWhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: Prisma.AdminTenantNoteWhereInput | Prisma.AdminTenantNoteWhereInput[] OR?: Prisma.AdminTenantNoteWhereInput[] NOT?: Prisma.AdminTenantNoteWhereInput | Prisma.AdminTenantNoteWhereInput[] createdAt?: Prisma.DateTimeFilter<"AdminTenantNote"> | Date | string updatedAt?: Prisma.DateTimeFilter<"AdminTenantNote"> | Date | string tenantId?: Prisma.StringFilter<"AdminTenantNote"> | string authorUserId?: Prisma.StringNullableFilter<"AdminTenantNote"> | string | null noteText?: Prisma.StringFilter<"AdminTenantNote"> | string category?: Prisma.StringFilter<"AdminTenantNote"> | string pinned?: Prisma.BoolFilter<"AdminTenantNote"> | boolean tenant?: Prisma.XOR author?: Prisma.XOR | null }, "id"> export type AdminTenantNoteOrderByWithAggregationInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder tenantId?: Prisma.SortOrder authorUserId?: Prisma.SortOrderInput | Prisma.SortOrder noteText?: Prisma.SortOrder category?: Prisma.SortOrder pinned?: Prisma.SortOrder _count?: Prisma.AdminTenantNoteCountOrderByAggregateInput _max?: Prisma.AdminTenantNoteMaxOrderByAggregateInput _min?: Prisma.AdminTenantNoteMinOrderByAggregateInput } export type AdminTenantNoteScalarWhereWithAggregatesInput = { AND?: Prisma.AdminTenantNoteScalarWhereWithAggregatesInput | Prisma.AdminTenantNoteScalarWhereWithAggregatesInput[] OR?: Prisma.AdminTenantNoteScalarWhereWithAggregatesInput[] NOT?: Prisma.AdminTenantNoteScalarWhereWithAggregatesInput | Prisma.AdminTenantNoteScalarWhereWithAggregatesInput[] id?: Prisma.StringWithAggregatesFilter<"AdminTenantNote"> | string createdAt?: Prisma.DateTimeWithAggregatesFilter<"AdminTenantNote"> | Date | string updatedAt?: Prisma.DateTimeWithAggregatesFilter<"AdminTenantNote"> | Date | string tenantId?: Prisma.StringWithAggregatesFilter<"AdminTenantNote"> | string authorUserId?: Prisma.StringNullableWithAggregatesFilter<"AdminTenantNote"> | string | null noteText?: Prisma.StringWithAggregatesFilter<"AdminTenantNote"> | string category?: Prisma.StringWithAggregatesFilter<"AdminTenantNote"> | string pinned?: Prisma.BoolWithAggregatesFilter<"AdminTenantNote"> | boolean } export type AdminTenantNoteCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string noteText: string category?: string pinned?: boolean tenant: Prisma.TenantCreateNestedOneWithoutAdminTenantNotesInput author?: Prisma.AdminUserCreateNestedOneWithoutAdminTenantNotesAuthoredInput } export type AdminTenantNoteUncheckedCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string tenantId: string authorUserId?: string | null noteText: string category?: string pinned?: boolean } export type AdminTenantNoteUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string noteText?: Prisma.StringFieldUpdateOperationsInput | string category?: Prisma.StringFieldUpdateOperationsInput | string pinned?: Prisma.BoolFieldUpdateOperationsInput | boolean tenant?: Prisma.TenantUpdateOneRequiredWithoutAdminTenantNotesNestedInput author?: Prisma.AdminUserUpdateOneWithoutAdminTenantNotesAuthoredNestedInput } export type AdminTenantNoteUncheckedUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string authorUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null noteText?: Prisma.StringFieldUpdateOperationsInput | string category?: Prisma.StringFieldUpdateOperationsInput | string pinned?: Prisma.BoolFieldUpdateOperationsInput | boolean } export type AdminTenantNoteCreateManyInput = { id?: string createdAt?: Date | string updatedAt?: Date | string tenantId: string authorUserId?: string | null noteText: string category?: string pinned?: boolean } export type AdminTenantNoteUpdateManyMutationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string noteText?: Prisma.StringFieldUpdateOperationsInput | string category?: Prisma.StringFieldUpdateOperationsInput | string pinned?: Prisma.BoolFieldUpdateOperationsInput | boolean } export type AdminTenantNoteUncheckedUpdateManyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string authorUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null noteText?: Prisma.StringFieldUpdateOperationsInput | string category?: Prisma.StringFieldUpdateOperationsInput | string pinned?: Prisma.BoolFieldUpdateOperationsInput | boolean } export type AdminTenantNoteListRelationFilter = { every?: Prisma.AdminTenantNoteWhereInput some?: Prisma.AdminTenantNoteWhereInput none?: Prisma.AdminTenantNoteWhereInput } export type AdminTenantNoteOrderByRelationAggregateInput = { _count?: Prisma.SortOrder } export type AdminTenantNoteCountOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder tenantId?: Prisma.SortOrder authorUserId?: Prisma.SortOrder noteText?: Prisma.SortOrder category?: Prisma.SortOrder pinned?: Prisma.SortOrder } export type AdminTenantNoteMaxOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder tenantId?: Prisma.SortOrder authorUserId?: Prisma.SortOrder noteText?: Prisma.SortOrder category?: Prisma.SortOrder pinned?: Prisma.SortOrder } export type AdminTenantNoteMinOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder tenantId?: Prisma.SortOrder authorUserId?: Prisma.SortOrder noteText?: Prisma.SortOrder category?: Prisma.SortOrder pinned?: Prisma.SortOrder } export type AdminTenantNoteCreateNestedManyWithoutTenantInput = { create?: Prisma.XOR | Prisma.AdminTenantNoteCreateWithoutTenantInput[] | Prisma.AdminTenantNoteUncheckedCreateWithoutTenantInput[] connectOrCreate?: Prisma.AdminTenantNoteCreateOrConnectWithoutTenantInput | Prisma.AdminTenantNoteCreateOrConnectWithoutTenantInput[] createMany?: Prisma.AdminTenantNoteCreateManyTenantInputEnvelope connect?: Prisma.AdminTenantNoteWhereUniqueInput | Prisma.AdminTenantNoteWhereUniqueInput[] } export type AdminTenantNoteUncheckedCreateNestedManyWithoutTenantInput = { create?: Prisma.XOR | Prisma.AdminTenantNoteCreateWithoutTenantInput[] | Prisma.AdminTenantNoteUncheckedCreateWithoutTenantInput[] connectOrCreate?: Prisma.AdminTenantNoteCreateOrConnectWithoutTenantInput | Prisma.AdminTenantNoteCreateOrConnectWithoutTenantInput[] createMany?: Prisma.AdminTenantNoteCreateManyTenantInputEnvelope connect?: Prisma.AdminTenantNoteWhereUniqueInput | Prisma.AdminTenantNoteWhereUniqueInput[] } export type AdminTenantNoteUpdateManyWithoutTenantNestedInput = { create?: Prisma.XOR | Prisma.AdminTenantNoteCreateWithoutTenantInput[] | Prisma.AdminTenantNoteUncheckedCreateWithoutTenantInput[] connectOrCreate?: Prisma.AdminTenantNoteCreateOrConnectWithoutTenantInput | Prisma.AdminTenantNoteCreateOrConnectWithoutTenantInput[] upsert?: Prisma.AdminTenantNoteUpsertWithWhereUniqueWithoutTenantInput | Prisma.AdminTenantNoteUpsertWithWhereUniqueWithoutTenantInput[] createMany?: Prisma.AdminTenantNoteCreateManyTenantInputEnvelope set?: Prisma.AdminTenantNoteWhereUniqueInput | Prisma.AdminTenantNoteWhereUniqueInput[] disconnect?: Prisma.AdminTenantNoteWhereUniqueInput | Prisma.AdminTenantNoteWhereUniqueInput[] delete?: Prisma.AdminTenantNoteWhereUniqueInput | Prisma.AdminTenantNoteWhereUniqueInput[] connect?: Prisma.AdminTenantNoteWhereUniqueInput | Prisma.AdminTenantNoteWhereUniqueInput[] update?: Prisma.AdminTenantNoteUpdateWithWhereUniqueWithoutTenantInput | Prisma.AdminTenantNoteUpdateWithWhereUniqueWithoutTenantInput[] updateMany?: Prisma.AdminTenantNoteUpdateManyWithWhereWithoutTenantInput | Prisma.AdminTenantNoteUpdateManyWithWhereWithoutTenantInput[] deleteMany?: Prisma.AdminTenantNoteScalarWhereInput | Prisma.AdminTenantNoteScalarWhereInput[] } export type AdminTenantNoteUncheckedUpdateManyWithoutTenantNestedInput = { create?: Prisma.XOR | Prisma.AdminTenantNoteCreateWithoutTenantInput[] | Prisma.AdminTenantNoteUncheckedCreateWithoutTenantInput[] connectOrCreate?: Prisma.AdminTenantNoteCreateOrConnectWithoutTenantInput | Prisma.AdminTenantNoteCreateOrConnectWithoutTenantInput[] upsert?: Prisma.AdminTenantNoteUpsertWithWhereUniqueWithoutTenantInput | Prisma.AdminTenantNoteUpsertWithWhereUniqueWithoutTenantInput[] createMany?: Prisma.AdminTenantNoteCreateManyTenantInputEnvelope set?: Prisma.AdminTenantNoteWhereUniqueInput | Prisma.AdminTenantNoteWhereUniqueInput[] disconnect?: Prisma.AdminTenantNoteWhereUniqueInput | Prisma.AdminTenantNoteWhereUniqueInput[] delete?: Prisma.AdminTenantNoteWhereUniqueInput | Prisma.AdminTenantNoteWhereUniqueInput[] connect?: Prisma.AdminTenantNoteWhereUniqueInput | Prisma.AdminTenantNoteWhereUniqueInput[] update?: Prisma.AdminTenantNoteUpdateWithWhereUniqueWithoutTenantInput | Prisma.AdminTenantNoteUpdateWithWhereUniqueWithoutTenantInput[] updateMany?: Prisma.AdminTenantNoteUpdateManyWithWhereWithoutTenantInput | Prisma.AdminTenantNoteUpdateManyWithWhereWithoutTenantInput[] deleteMany?: Prisma.AdminTenantNoteScalarWhereInput | Prisma.AdminTenantNoteScalarWhereInput[] } export type AdminTenantNoteCreateNestedManyWithoutAuthorInput = { create?: Prisma.XOR | Prisma.AdminTenantNoteCreateWithoutAuthorInput[] | Prisma.AdminTenantNoteUncheckedCreateWithoutAuthorInput[] connectOrCreate?: Prisma.AdminTenantNoteCreateOrConnectWithoutAuthorInput | Prisma.AdminTenantNoteCreateOrConnectWithoutAuthorInput[] createMany?: Prisma.AdminTenantNoteCreateManyAuthorInputEnvelope connect?: Prisma.AdminTenantNoteWhereUniqueInput | Prisma.AdminTenantNoteWhereUniqueInput[] } export type AdminTenantNoteUncheckedCreateNestedManyWithoutAuthorInput = { create?: Prisma.XOR | Prisma.AdminTenantNoteCreateWithoutAuthorInput[] | Prisma.AdminTenantNoteUncheckedCreateWithoutAuthorInput[] connectOrCreate?: Prisma.AdminTenantNoteCreateOrConnectWithoutAuthorInput | Prisma.AdminTenantNoteCreateOrConnectWithoutAuthorInput[] createMany?: Prisma.AdminTenantNoteCreateManyAuthorInputEnvelope connect?: Prisma.AdminTenantNoteWhereUniqueInput | Prisma.AdminTenantNoteWhereUniqueInput[] } export type AdminTenantNoteUpdateManyWithoutAuthorNestedInput = { create?: Prisma.XOR | Prisma.AdminTenantNoteCreateWithoutAuthorInput[] | Prisma.AdminTenantNoteUncheckedCreateWithoutAuthorInput[] connectOrCreate?: Prisma.AdminTenantNoteCreateOrConnectWithoutAuthorInput | Prisma.AdminTenantNoteCreateOrConnectWithoutAuthorInput[] upsert?: Prisma.AdminTenantNoteUpsertWithWhereUniqueWithoutAuthorInput | Prisma.AdminTenantNoteUpsertWithWhereUniqueWithoutAuthorInput[] createMany?: Prisma.AdminTenantNoteCreateManyAuthorInputEnvelope set?: Prisma.AdminTenantNoteWhereUniqueInput | Prisma.AdminTenantNoteWhereUniqueInput[] disconnect?: Prisma.AdminTenantNoteWhereUniqueInput | Prisma.AdminTenantNoteWhereUniqueInput[] delete?: Prisma.AdminTenantNoteWhereUniqueInput | Prisma.AdminTenantNoteWhereUniqueInput[] connect?: Prisma.AdminTenantNoteWhereUniqueInput | Prisma.AdminTenantNoteWhereUniqueInput[] update?: Prisma.AdminTenantNoteUpdateWithWhereUniqueWithoutAuthorInput | Prisma.AdminTenantNoteUpdateWithWhereUniqueWithoutAuthorInput[] updateMany?: Prisma.AdminTenantNoteUpdateManyWithWhereWithoutAuthorInput | Prisma.AdminTenantNoteUpdateManyWithWhereWithoutAuthorInput[] deleteMany?: Prisma.AdminTenantNoteScalarWhereInput | Prisma.AdminTenantNoteScalarWhereInput[] } export type AdminTenantNoteUncheckedUpdateManyWithoutAuthorNestedInput = { create?: Prisma.XOR | Prisma.AdminTenantNoteCreateWithoutAuthorInput[] | Prisma.AdminTenantNoteUncheckedCreateWithoutAuthorInput[] connectOrCreate?: Prisma.AdminTenantNoteCreateOrConnectWithoutAuthorInput | Prisma.AdminTenantNoteCreateOrConnectWithoutAuthorInput[] upsert?: Prisma.AdminTenantNoteUpsertWithWhereUniqueWithoutAuthorInput | Prisma.AdminTenantNoteUpsertWithWhereUniqueWithoutAuthorInput[] createMany?: Prisma.AdminTenantNoteCreateManyAuthorInputEnvelope set?: Prisma.AdminTenantNoteWhereUniqueInput | Prisma.AdminTenantNoteWhereUniqueInput[] disconnect?: Prisma.AdminTenantNoteWhereUniqueInput | Prisma.AdminTenantNoteWhereUniqueInput[] delete?: Prisma.AdminTenantNoteWhereUniqueInput | Prisma.AdminTenantNoteWhereUniqueInput[] connect?: Prisma.AdminTenantNoteWhereUniqueInput | Prisma.AdminTenantNoteWhereUniqueInput[] update?: Prisma.AdminTenantNoteUpdateWithWhereUniqueWithoutAuthorInput | Prisma.AdminTenantNoteUpdateWithWhereUniqueWithoutAuthorInput[] updateMany?: Prisma.AdminTenantNoteUpdateManyWithWhereWithoutAuthorInput | Prisma.AdminTenantNoteUpdateManyWithWhereWithoutAuthorInput[] deleteMany?: Prisma.AdminTenantNoteScalarWhereInput | Prisma.AdminTenantNoteScalarWhereInput[] } export type AdminTenantNoteCreateWithoutTenantInput = { id?: string createdAt?: Date | string updatedAt?: Date | string noteText: string category?: string pinned?: boolean author?: Prisma.AdminUserCreateNestedOneWithoutAdminTenantNotesAuthoredInput } export type AdminTenantNoteUncheckedCreateWithoutTenantInput = { id?: string createdAt?: Date | string updatedAt?: Date | string authorUserId?: string | null noteText: string category?: string pinned?: boolean } export type AdminTenantNoteCreateOrConnectWithoutTenantInput = { where: Prisma.AdminTenantNoteWhereUniqueInput create: Prisma.XOR } export type AdminTenantNoteCreateManyTenantInputEnvelope = { data: Prisma.AdminTenantNoteCreateManyTenantInput | Prisma.AdminTenantNoteCreateManyTenantInput[] skipDuplicates?: boolean } export type AdminTenantNoteUpsertWithWhereUniqueWithoutTenantInput = { where: Prisma.AdminTenantNoteWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type AdminTenantNoteUpdateWithWhereUniqueWithoutTenantInput = { where: Prisma.AdminTenantNoteWhereUniqueInput data: Prisma.XOR } export type AdminTenantNoteUpdateManyWithWhereWithoutTenantInput = { where: Prisma.AdminTenantNoteScalarWhereInput data: Prisma.XOR } export type AdminTenantNoteScalarWhereInput = { AND?: Prisma.AdminTenantNoteScalarWhereInput | Prisma.AdminTenantNoteScalarWhereInput[] OR?: Prisma.AdminTenantNoteScalarWhereInput[] NOT?: Prisma.AdminTenantNoteScalarWhereInput | Prisma.AdminTenantNoteScalarWhereInput[] id?: Prisma.StringFilter<"AdminTenantNote"> | string createdAt?: Prisma.DateTimeFilter<"AdminTenantNote"> | Date | string updatedAt?: Prisma.DateTimeFilter<"AdminTenantNote"> | Date | string tenantId?: Prisma.StringFilter<"AdminTenantNote"> | string authorUserId?: Prisma.StringNullableFilter<"AdminTenantNote"> | string | null noteText?: Prisma.StringFilter<"AdminTenantNote"> | string category?: Prisma.StringFilter<"AdminTenantNote"> | string pinned?: Prisma.BoolFilter<"AdminTenantNote"> | boolean } export type AdminTenantNoteCreateWithoutAuthorInput = { id?: string createdAt?: Date | string updatedAt?: Date | string noteText: string category?: string pinned?: boolean tenant: Prisma.TenantCreateNestedOneWithoutAdminTenantNotesInput } export type AdminTenantNoteUncheckedCreateWithoutAuthorInput = { id?: string createdAt?: Date | string updatedAt?: Date | string tenantId: string noteText: string category?: string pinned?: boolean } export type AdminTenantNoteCreateOrConnectWithoutAuthorInput = { where: Prisma.AdminTenantNoteWhereUniqueInput create: Prisma.XOR } export type AdminTenantNoteCreateManyAuthorInputEnvelope = { data: Prisma.AdminTenantNoteCreateManyAuthorInput | Prisma.AdminTenantNoteCreateManyAuthorInput[] skipDuplicates?: boolean } export type AdminTenantNoteUpsertWithWhereUniqueWithoutAuthorInput = { where: Prisma.AdminTenantNoteWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type AdminTenantNoteUpdateWithWhereUniqueWithoutAuthorInput = { where: Prisma.AdminTenantNoteWhereUniqueInput data: Prisma.XOR } export type AdminTenantNoteUpdateManyWithWhereWithoutAuthorInput = { where: Prisma.AdminTenantNoteScalarWhereInput data: Prisma.XOR } export type AdminTenantNoteCreateManyTenantInput = { id?: string createdAt?: Date | string updatedAt?: Date | string authorUserId?: string | null noteText: string category?: string pinned?: boolean } export type AdminTenantNoteUpdateWithoutTenantInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string noteText?: Prisma.StringFieldUpdateOperationsInput | string category?: Prisma.StringFieldUpdateOperationsInput | string pinned?: Prisma.BoolFieldUpdateOperationsInput | boolean author?: Prisma.AdminUserUpdateOneWithoutAdminTenantNotesAuthoredNestedInput } export type AdminTenantNoteUncheckedUpdateWithoutTenantInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string authorUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null noteText?: Prisma.StringFieldUpdateOperationsInput | string category?: Prisma.StringFieldUpdateOperationsInput | string pinned?: Prisma.BoolFieldUpdateOperationsInput | boolean } export type AdminTenantNoteUncheckedUpdateManyWithoutTenantInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string authorUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null noteText?: Prisma.StringFieldUpdateOperationsInput | string category?: Prisma.StringFieldUpdateOperationsInput | string pinned?: Prisma.BoolFieldUpdateOperationsInput | boolean } export type AdminTenantNoteCreateManyAuthorInput = { id?: string createdAt?: Date | string updatedAt?: Date | string tenantId: string noteText: string category?: string pinned?: boolean } export type AdminTenantNoteUpdateWithoutAuthorInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string noteText?: Prisma.StringFieldUpdateOperationsInput | string category?: Prisma.StringFieldUpdateOperationsInput | string pinned?: Prisma.BoolFieldUpdateOperationsInput | boolean tenant?: Prisma.TenantUpdateOneRequiredWithoutAdminTenantNotesNestedInput } export type AdminTenantNoteUncheckedUpdateWithoutAuthorInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string noteText?: Prisma.StringFieldUpdateOperationsInput | string category?: Prisma.StringFieldUpdateOperationsInput | string pinned?: Prisma.BoolFieldUpdateOperationsInput | boolean } export type AdminTenantNoteUncheckedUpdateManyWithoutAuthorInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string noteText?: Prisma.StringFieldUpdateOperationsInput | string category?: Prisma.StringFieldUpdateOperationsInput | string pinned?: Prisma.BoolFieldUpdateOperationsInput | boolean } export type AdminTenantNoteSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean tenantId?: boolean authorUserId?: boolean noteText?: boolean category?: boolean pinned?: boolean tenant?: boolean | Prisma.TenantDefaultArgs author?: boolean | Prisma.AdminTenantNote$authorArgs }, ExtArgs["result"]["adminTenantNote"]> export type AdminTenantNoteSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean tenantId?: boolean authorUserId?: boolean noteText?: boolean category?: boolean pinned?: boolean tenant?: boolean | Prisma.TenantDefaultArgs author?: boolean | Prisma.AdminTenantNote$authorArgs }, ExtArgs["result"]["adminTenantNote"]> export type AdminTenantNoteSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean tenantId?: boolean authorUserId?: boolean noteText?: boolean category?: boolean pinned?: boolean tenant?: boolean | Prisma.TenantDefaultArgs author?: boolean | Prisma.AdminTenantNote$authorArgs }, ExtArgs["result"]["adminTenantNote"]> export type AdminTenantNoteSelectScalar = { id?: boolean createdAt?: boolean updatedAt?: boolean tenantId?: boolean authorUserId?: boolean noteText?: boolean category?: boolean pinned?: boolean } export type AdminTenantNoteOmit = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "tenantId" | "authorUserId" | "noteText" | "category" | "pinned", ExtArgs["result"]["adminTenantNote"]> export type AdminTenantNoteInclude = { tenant?: boolean | Prisma.TenantDefaultArgs author?: boolean | Prisma.AdminTenantNote$authorArgs } export type AdminTenantNoteIncludeCreateManyAndReturn = { tenant?: boolean | Prisma.TenantDefaultArgs author?: boolean | Prisma.AdminTenantNote$authorArgs } export type AdminTenantNoteIncludeUpdateManyAndReturn = { tenant?: boolean | Prisma.TenantDefaultArgs author?: boolean | Prisma.AdminTenantNote$authorArgs } export type $AdminTenantNotePayload = { name: "AdminTenantNote" objects: { tenant: Prisma.$TenantPayload author: Prisma.$AdminUserPayload | null } scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string createdAt: Date updatedAt: Date tenantId: string authorUserId: string | null noteText: string category: string pinned: boolean }, ExtArgs["result"]["adminTenantNote"]> composites: {} } export type AdminTenantNoteGetPayload = runtime.Types.Result.GetResult export type AdminTenantNoteCountArgs = Omit & { select?: AdminTenantNoteCountAggregateInputType | true } export interface AdminTenantNoteDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['AdminTenantNote'], meta: { name: 'AdminTenantNote' } } /** * Find zero or one AdminTenantNote that matches the filter. * @param {AdminTenantNoteFindUniqueArgs} args - Arguments to find a AdminTenantNote * @example * // Get one AdminTenantNote * const adminTenantNote = await prisma.adminTenantNote.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__AdminTenantNoteClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one AdminTenantNote that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {AdminTenantNoteFindUniqueOrThrowArgs} args - Arguments to find a AdminTenantNote * @example * // Get one AdminTenantNote * const adminTenantNote = await prisma.adminTenantNote.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__AdminTenantNoteClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first AdminTenantNote 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 {AdminTenantNoteFindFirstArgs} args - Arguments to find a AdminTenantNote * @example * // Get one AdminTenantNote * const adminTenantNote = await prisma.adminTenantNote.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__AdminTenantNoteClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first AdminTenantNote 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 {AdminTenantNoteFindFirstOrThrowArgs} args - Arguments to find a AdminTenantNote * @example * // Get one AdminTenantNote * const adminTenantNote = await prisma.adminTenantNote.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__AdminTenantNoteClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more AdminTenantNotes 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 {AdminTenantNoteFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all AdminTenantNotes * const adminTenantNotes = await prisma.adminTenantNote.findMany() * * // Get first 10 AdminTenantNotes * const adminTenantNotes = await prisma.adminTenantNote.findMany({ take: 10 }) * * // Only select the `id` * const adminTenantNoteWithIdOnly = await prisma.adminTenantNote.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a AdminTenantNote. * @param {AdminTenantNoteCreateArgs} args - Arguments to create a AdminTenantNote. * @example * // Create one AdminTenantNote * const AdminTenantNote = await prisma.adminTenantNote.create({ * data: { * // ... data to create a AdminTenantNote * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__AdminTenantNoteClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many AdminTenantNotes. * @param {AdminTenantNoteCreateManyArgs} args - Arguments to create many AdminTenantNotes. * @example * // Create many AdminTenantNotes * const adminTenantNote = await prisma.adminTenantNote.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many AdminTenantNotes and returns the data saved in the database. * @param {AdminTenantNoteCreateManyAndReturnArgs} args - Arguments to create many AdminTenantNotes. * @example * // Create many AdminTenantNotes * const adminTenantNote = await prisma.adminTenantNote.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many AdminTenantNotes and only return the `id` * const adminTenantNoteWithIdOnly = await prisma.adminTenantNote.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 AdminTenantNote. * @param {AdminTenantNoteDeleteArgs} args - Arguments to delete one AdminTenantNote. * @example * // Delete one AdminTenantNote * const AdminTenantNote = await prisma.adminTenantNote.delete({ * where: { * // ... filter to delete one AdminTenantNote * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__AdminTenantNoteClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one AdminTenantNote. * @param {AdminTenantNoteUpdateArgs} args - Arguments to update one AdminTenantNote. * @example * // Update one AdminTenantNote * const adminTenantNote = await prisma.adminTenantNote.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__AdminTenantNoteClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more AdminTenantNotes. * @param {AdminTenantNoteDeleteManyArgs} args - Arguments to filter AdminTenantNotes to delete. * @example * // Delete a few AdminTenantNotes * const { count } = await prisma.adminTenantNote.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more AdminTenantNotes. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AdminTenantNoteUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many AdminTenantNotes * const adminTenantNote = await prisma.adminTenantNote.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more AdminTenantNotes and returns the data updated in the database. * @param {AdminTenantNoteUpdateManyAndReturnArgs} args - Arguments to update many AdminTenantNotes. * @example * // Update many AdminTenantNotes * const adminTenantNote = await prisma.adminTenantNote.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more AdminTenantNotes and only return the `id` * const adminTenantNoteWithIdOnly = await prisma.adminTenantNote.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 AdminTenantNote. * @param {AdminTenantNoteUpsertArgs} args - Arguments to update or create a AdminTenantNote. * @example * // Update or create a AdminTenantNote * const adminTenantNote = await prisma.adminTenantNote.upsert({ * create: { * // ... data to create a AdminTenantNote * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the AdminTenantNote we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__AdminTenantNoteClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of AdminTenantNotes. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AdminTenantNoteCountArgs} args - Arguments to filter AdminTenantNotes to count. * @example * // Count the number of AdminTenantNotes * const count = await prisma.adminTenantNote.count({ * where: { * // ... the filter for the AdminTenantNotes 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 AdminTenantNote. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AdminTenantNoteAggregateArgs} 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 AdminTenantNote. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AdminTenantNoteGroupByArgs} 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 AdminTenantNoteGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: AdminTenantNoteGroupByArgs['orderBy'] } : { orderBy?: AdminTenantNoteGroupByArgs['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 ? GetAdminTenantNoteGroupByPayload : Prisma.PrismaPromise /** * Fields of the AdminTenantNote model */ readonly fields: AdminTenantNoteFieldRefs; } /** * The delegate class that acts as a "Promise-like" for AdminTenantNote. * 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__AdminTenantNoteClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" tenant = {}>(args?: Prisma.Subset>): Prisma.Prisma__TenantClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> author = {}>(args?: Prisma.Subset>): Prisma.Prisma__AdminUserClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(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 AdminTenantNote model */ export interface AdminTenantNoteFieldRefs { readonly id: Prisma.FieldRef<"AdminTenantNote", 'String'> readonly createdAt: Prisma.FieldRef<"AdminTenantNote", 'DateTime'> readonly updatedAt: Prisma.FieldRef<"AdminTenantNote", 'DateTime'> readonly tenantId: Prisma.FieldRef<"AdminTenantNote", 'String'> readonly authorUserId: Prisma.FieldRef<"AdminTenantNote", 'String'> readonly noteText: Prisma.FieldRef<"AdminTenantNote", 'String'> readonly category: Prisma.FieldRef<"AdminTenantNote", 'String'> readonly pinned: Prisma.FieldRef<"AdminTenantNote", 'Boolean'> } // Custom InputTypes /** * AdminTenantNote findUnique */ export type AdminTenantNoteFindUniqueArgs = { /** * Select specific fields to fetch from the AdminTenantNote */ select?: Prisma.AdminTenantNoteSelect | null /** * Omit specific fields from the AdminTenantNote */ omit?: Prisma.AdminTenantNoteOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminTenantNoteInclude | null /** * Filter, which AdminTenantNote to fetch. */ where: Prisma.AdminTenantNoteWhereUniqueInput } /** * AdminTenantNote findUniqueOrThrow */ export type AdminTenantNoteFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the AdminTenantNote */ select?: Prisma.AdminTenantNoteSelect | null /** * Omit specific fields from the AdminTenantNote */ omit?: Prisma.AdminTenantNoteOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminTenantNoteInclude | null /** * Filter, which AdminTenantNote to fetch. */ where: Prisma.AdminTenantNoteWhereUniqueInput } /** * AdminTenantNote findFirst */ export type AdminTenantNoteFindFirstArgs = { /** * Select specific fields to fetch from the AdminTenantNote */ select?: Prisma.AdminTenantNoteSelect | null /** * Omit specific fields from the AdminTenantNote */ omit?: Prisma.AdminTenantNoteOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminTenantNoteInclude | null /** * Filter, which AdminTenantNote to fetch. */ where?: Prisma.AdminTenantNoteWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AdminTenantNotes to fetch. */ orderBy?: Prisma.AdminTenantNoteOrderByWithRelationInput | Prisma.AdminTenantNoteOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for AdminTenantNotes. */ cursor?: Prisma.AdminTenantNoteWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AdminTenantNotes 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` AdminTenantNotes. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of AdminTenantNotes. */ distinct?: Prisma.AdminTenantNoteScalarFieldEnum | Prisma.AdminTenantNoteScalarFieldEnum[] } /** * AdminTenantNote findFirstOrThrow */ export type AdminTenantNoteFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the AdminTenantNote */ select?: Prisma.AdminTenantNoteSelect | null /** * Omit specific fields from the AdminTenantNote */ omit?: Prisma.AdminTenantNoteOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminTenantNoteInclude | null /** * Filter, which AdminTenantNote to fetch. */ where?: Prisma.AdminTenantNoteWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AdminTenantNotes to fetch. */ orderBy?: Prisma.AdminTenantNoteOrderByWithRelationInput | Prisma.AdminTenantNoteOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for AdminTenantNotes. */ cursor?: Prisma.AdminTenantNoteWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AdminTenantNotes 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` AdminTenantNotes. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of AdminTenantNotes. */ distinct?: Prisma.AdminTenantNoteScalarFieldEnum | Prisma.AdminTenantNoteScalarFieldEnum[] } /** * AdminTenantNote findMany */ export type AdminTenantNoteFindManyArgs = { /** * Select specific fields to fetch from the AdminTenantNote */ select?: Prisma.AdminTenantNoteSelect | null /** * Omit specific fields from the AdminTenantNote */ omit?: Prisma.AdminTenantNoteOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminTenantNoteInclude | null /** * Filter, which AdminTenantNotes to fetch. */ where?: Prisma.AdminTenantNoteWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AdminTenantNotes to fetch. */ orderBy?: Prisma.AdminTenantNoteOrderByWithRelationInput | Prisma.AdminTenantNoteOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing AdminTenantNotes. */ cursor?: Prisma.AdminTenantNoteWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AdminTenantNotes 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` AdminTenantNotes. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of AdminTenantNotes. */ distinct?: Prisma.AdminTenantNoteScalarFieldEnum | Prisma.AdminTenantNoteScalarFieldEnum[] } /** * AdminTenantNote create */ export type AdminTenantNoteCreateArgs = { /** * Select specific fields to fetch from the AdminTenantNote */ select?: Prisma.AdminTenantNoteSelect | null /** * Omit specific fields from the AdminTenantNote */ omit?: Prisma.AdminTenantNoteOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminTenantNoteInclude | null /** * The data needed to create a AdminTenantNote. */ data: Prisma.XOR } /** * AdminTenantNote createMany */ export type AdminTenantNoteCreateManyArgs = { /** * The data used to create many AdminTenantNotes. */ data: Prisma.AdminTenantNoteCreateManyInput | Prisma.AdminTenantNoteCreateManyInput[] skipDuplicates?: boolean } /** * AdminTenantNote createManyAndReturn */ export type AdminTenantNoteCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the AdminTenantNote */ select?: Prisma.AdminTenantNoteSelectCreateManyAndReturn | null /** * Omit specific fields from the AdminTenantNote */ omit?: Prisma.AdminTenantNoteOmit | null /** * The data used to create many AdminTenantNotes. */ data: Prisma.AdminTenantNoteCreateManyInput | Prisma.AdminTenantNoteCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminTenantNoteIncludeCreateManyAndReturn | null } /** * AdminTenantNote update */ export type AdminTenantNoteUpdateArgs = { /** * Select specific fields to fetch from the AdminTenantNote */ select?: Prisma.AdminTenantNoteSelect | null /** * Omit specific fields from the AdminTenantNote */ omit?: Prisma.AdminTenantNoteOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminTenantNoteInclude | null /** * The data needed to update a AdminTenantNote. */ data: Prisma.XOR /** * Choose, which AdminTenantNote to update. */ where: Prisma.AdminTenantNoteWhereUniqueInput } /** * AdminTenantNote updateMany */ export type AdminTenantNoteUpdateManyArgs = { /** * The data used to update AdminTenantNotes. */ data: Prisma.XOR /** * Filter which AdminTenantNotes to update */ where?: Prisma.AdminTenantNoteWhereInput /** * Limit how many AdminTenantNotes to update. */ limit?: number } /** * AdminTenantNote updateManyAndReturn */ export type AdminTenantNoteUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the AdminTenantNote */ select?: Prisma.AdminTenantNoteSelectUpdateManyAndReturn | null /** * Omit specific fields from the AdminTenantNote */ omit?: Prisma.AdminTenantNoteOmit | null /** * The data used to update AdminTenantNotes. */ data: Prisma.XOR /** * Filter which AdminTenantNotes to update */ where?: Prisma.AdminTenantNoteWhereInput /** * Limit how many AdminTenantNotes to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminTenantNoteIncludeUpdateManyAndReturn | null } /** * AdminTenantNote upsert */ export type AdminTenantNoteUpsertArgs = { /** * Select specific fields to fetch from the AdminTenantNote */ select?: Prisma.AdminTenantNoteSelect | null /** * Omit specific fields from the AdminTenantNote */ omit?: Prisma.AdminTenantNoteOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminTenantNoteInclude | null /** * The filter to search for the AdminTenantNote to update in case it exists. */ where: Prisma.AdminTenantNoteWhereUniqueInput /** * In case the AdminTenantNote found by the `where` argument doesn't exist, create a new AdminTenantNote with this data. */ create: Prisma.XOR /** * In case the AdminTenantNote was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * AdminTenantNote delete */ export type AdminTenantNoteDeleteArgs = { /** * Select specific fields to fetch from the AdminTenantNote */ select?: Prisma.AdminTenantNoteSelect | null /** * Omit specific fields from the AdminTenantNote */ omit?: Prisma.AdminTenantNoteOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminTenantNoteInclude | null /** * Filter which AdminTenantNote to delete. */ where: Prisma.AdminTenantNoteWhereUniqueInput } /** * AdminTenantNote deleteMany */ export type AdminTenantNoteDeleteManyArgs = { /** * Filter which AdminTenantNotes to delete */ where?: Prisma.AdminTenantNoteWhereInput /** * Limit how many AdminTenantNotes to delete. */ limit?: number } /** * AdminTenantNote.author */ export type AdminTenantNote$authorArgs = { /** * Select specific fields to fetch from the AdminUser */ select?: Prisma.AdminUserSelect | null /** * Omit specific fields from the AdminUser */ omit?: Prisma.AdminUserOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminUserInclude | null where?: Prisma.AdminUserWhereInput } /** * AdminTenantNote without action */ export type AdminTenantNoteDefaultArgs = { /** * Select specific fields to fetch from the AdminTenantNote */ select?: Prisma.AdminTenantNoteSelect | null /** * Omit specific fields from the AdminTenantNote */ omit?: Prisma.AdminTenantNoteOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminTenantNoteInclude | null }