/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `AdminContactNote` 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 AdminContactNote * */ export type AdminContactNoteModel = runtime.Types.Result.DefaultSelection export type AggregateAdminContactNote = { _count: AdminContactNoteCountAggregateOutputType | null _min: AdminContactNoteMinAggregateOutputType | null _max: AdminContactNoteMaxAggregateOutputType | null } export type AdminContactNoteMinAggregateOutputType = { id: string | null createdAt: Date | null contactId: string | null body: string | null createdByAdminUserId: string | null } export type AdminContactNoteMaxAggregateOutputType = { id: string | null createdAt: Date | null contactId: string | null body: string | null createdByAdminUserId: string | null } export type AdminContactNoteCountAggregateOutputType = { id: number createdAt: number contactId: number body: number createdByAdminUserId: number _all: number } export type AdminContactNoteMinAggregateInputType = { id?: true createdAt?: true contactId?: true body?: true createdByAdminUserId?: true } export type AdminContactNoteMaxAggregateInputType = { id?: true createdAt?: true contactId?: true body?: true createdByAdminUserId?: true } export type AdminContactNoteCountAggregateInputType = { id?: true createdAt?: true contactId?: true body?: true createdByAdminUserId?: true _all?: true } export type AdminContactNoteAggregateArgs = { /** * Filter which AdminContactNote to aggregate. */ where?: Prisma.AdminContactNoteWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AdminContactNotes to fetch. */ orderBy?: Prisma.AdminContactNoteOrderByWithRelationInput | Prisma.AdminContactNoteOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.AdminContactNoteWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AdminContactNotes 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` AdminContactNotes. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned AdminContactNotes **/ _count?: true | AdminContactNoteCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: AdminContactNoteMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: AdminContactNoteMaxAggregateInputType } export type GetAdminContactNoteAggregateType = { [P in keyof T & keyof AggregateAdminContactNote]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type AdminContactNoteGroupByArgs = { where?: Prisma.AdminContactNoteWhereInput orderBy?: Prisma.AdminContactNoteOrderByWithAggregationInput | Prisma.AdminContactNoteOrderByWithAggregationInput[] by: Prisma.AdminContactNoteScalarFieldEnum[] | Prisma.AdminContactNoteScalarFieldEnum having?: Prisma.AdminContactNoteScalarWhereWithAggregatesInput take?: number skip?: number _count?: AdminContactNoteCountAggregateInputType | true _min?: AdminContactNoteMinAggregateInputType _max?: AdminContactNoteMaxAggregateInputType } export type AdminContactNoteGroupByOutputType = { id: string createdAt: Date contactId: string body: string createdByAdminUserId: string _count: AdminContactNoteCountAggregateOutputType | null _min: AdminContactNoteMinAggregateOutputType | null _max: AdminContactNoteMaxAggregateOutputType | null } export type GetAdminContactNoteGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof AdminContactNoteGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type AdminContactNoteWhereInput = { AND?: Prisma.AdminContactNoteWhereInput | Prisma.AdminContactNoteWhereInput[] OR?: Prisma.AdminContactNoteWhereInput[] NOT?: Prisma.AdminContactNoteWhereInput | Prisma.AdminContactNoteWhereInput[] id?: Prisma.StringFilter<"AdminContactNote"> | string createdAt?: Prisma.DateTimeFilter<"AdminContactNote"> | Date | string contactId?: Prisma.StringFilter<"AdminContactNote"> | string body?: Prisma.StringFilter<"AdminContactNote"> | string createdByAdminUserId?: Prisma.StringFilter<"AdminContactNote"> | string contact?: Prisma.XOR activities?: Prisma.AdminActivityListRelationFilter } export type AdminContactNoteOrderByWithRelationInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder contactId?: Prisma.SortOrder body?: Prisma.SortOrder createdByAdminUserId?: Prisma.SortOrder contact?: Prisma.AdminContactOrderByWithRelationInput activities?: Prisma.AdminActivityOrderByRelationAggregateInput } export type AdminContactNoteWhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: Prisma.AdminContactNoteWhereInput | Prisma.AdminContactNoteWhereInput[] OR?: Prisma.AdminContactNoteWhereInput[] NOT?: Prisma.AdminContactNoteWhereInput | Prisma.AdminContactNoteWhereInput[] createdAt?: Prisma.DateTimeFilter<"AdminContactNote"> | Date | string contactId?: Prisma.StringFilter<"AdminContactNote"> | string body?: Prisma.StringFilter<"AdminContactNote"> | string createdByAdminUserId?: Prisma.StringFilter<"AdminContactNote"> | string contact?: Prisma.XOR activities?: Prisma.AdminActivityListRelationFilter }, "id"> export type AdminContactNoteOrderByWithAggregationInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder contactId?: Prisma.SortOrder body?: Prisma.SortOrder createdByAdminUserId?: Prisma.SortOrder _count?: Prisma.AdminContactNoteCountOrderByAggregateInput _max?: Prisma.AdminContactNoteMaxOrderByAggregateInput _min?: Prisma.AdminContactNoteMinOrderByAggregateInput } export type AdminContactNoteScalarWhereWithAggregatesInput = { AND?: Prisma.AdminContactNoteScalarWhereWithAggregatesInput | Prisma.AdminContactNoteScalarWhereWithAggregatesInput[] OR?: Prisma.AdminContactNoteScalarWhereWithAggregatesInput[] NOT?: Prisma.AdminContactNoteScalarWhereWithAggregatesInput | Prisma.AdminContactNoteScalarWhereWithAggregatesInput[] id?: Prisma.StringWithAggregatesFilter<"AdminContactNote"> | string createdAt?: Prisma.DateTimeWithAggregatesFilter<"AdminContactNote"> | Date | string contactId?: Prisma.StringWithAggregatesFilter<"AdminContactNote"> | string body?: Prisma.StringWithAggregatesFilter<"AdminContactNote"> | string createdByAdminUserId?: Prisma.StringWithAggregatesFilter<"AdminContactNote"> | string } export type AdminContactNoteCreateInput = { id?: string createdAt?: Date | string body: string createdByAdminUserId: string contact: Prisma.AdminContactCreateNestedOneWithoutNotesInput activities?: Prisma.AdminActivityCreateNestedManyWithoutNoteInput } export type AdminContactNoteUncheckedCreateInput = { id?: string createdAt?: Date | string contactId: string body: string createdByAdminUserId: string activities?: Prisma.AdminActivityUncheckedCreateNestedManyWithoutNoteInput } export type AdminContactNoteUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string body?: Prisma.StringFieldUpdateOperationsInput | string createdByAdminUserId?: Prisma.StringFieldUpdateOperationsInput | string contact?: Prisma.AdminContactUpdateOneRequiredWithoutNotesNestedInput activities?: Prisma.AdminActivityUpdateManyWithoutNoteNestedInput } export type AdminContactNoteUncheckedUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string contactId?: Prisma.StringFieldUpdateOperationsInput | string body?: Prisma.StringFieldUpdateOperationsInput | string createdByAdminUserId?: Prisma.StringFieldUpdateOperationsInput | string activities?: Prisma.AdminActivityUncheckedUpdateManyWithoutNoteNestedInput } export type AdminContactNoteCreateManyInput = { id?: string createdAt?: Date | string contactId: string body: string createdByAdminUserId: string } export type AdminContactNoteUpdateManyMutationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string body?: Prisma.StringFieldUpdateOperationsInput | string createdByAdminUserId?: Prisma.StringFieldUpdateOperationsInput | string } export type AdminContactNoteUncheckedUpdateManyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string contactId?: Prisma.StringFieldUpdateOperationsInput | string body?: Prisma.StringFieldUpdateOperationsInput | string createdByAdminUserId?: Prisma.StringFieldUpdateOperationsInput | string } export type AdminContactNoteListRelationFilter = { every?: Prisma.AdminContactNoteWhereInput some?: Prisma.AdminContactNoteWhereInput none?: Prisma.AdminContactNoteWhereInput } export type AdminContactNoteOrderByRelationAggregateInput = { _count?: Prisma.SortOrder } export type AdminContactNoteCountOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder contactId?: Prisma.SortOrder body?: Prisma.SortOrder createdByAdminUserId?: Prisma.SortOrder } export type AdminContactNoteMaxOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder contactId?: Prisma.SortOrder body?: Prisma.SortOrder createdByAdminUserId?: Prisma.SortOrder } export type AdminContactNoteMinOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder contactId?: Prisma.SortOrder body?: Prisma.SortOrder createdByAdminUserId?: Prisma.SortOrder } export type AdminContactNoteNullableScalarRelationFilter = { is?: Prisma.AdminContactNoteWhereInput | null isNot?: Prisma.AdminContactNoteWhereInput | null } export type AdminContactNoteCreateNestedManyWithoutContactInput = { create?: Prisma.XOR | Prisma.AdminContactNoteCreateWithoutContactInput[] | Prisma.AdminContactNoteUncheckedCreateWithoutContactInput[] connectOrCreate?: Prisma.AdminContactNoteCreateOrConnectWithoutContactInput | Prisma.AdminContactNoteCreateOrConnectWithoutContactInput[] createMany?: Prisma.AdminContactNoteCreateManyContactInputEnvelope connect?: Prisma.AdminContactNoteWhereUniqueInput | Prisma.AdminContactNoteWhereUniqueInput[] } export type AdminContactNoteUncheckedCreateNestedManyWithoutContactInput = { create?: Prisma.XOR | Prisma.AdminContactNoteCreateWithoutContactInput[] | Prisma.AdminContactNoteUncheckedCreateWithoutContactInput[] connectOrCreate?: Prisma.AdminContactNoteCreateOrConnectWithoutContactInput | Prisma.AdminContactNoteCreateOrConnectWithoutContactInput[] createMany?: Prisma.AdminContactNoteCreateManyContactInputEnvelope connect?: Prisma.AdminContactNoteWhereUniqueInput | Prisma.AdminContactNoteWhereUniqueInput[] } export type AdminContactNoteUpdateManyWithoutContactNestedInput = { create?: Prisma.XOR | Prisma.AdminContactNoteCreateWithoutContactInput[] | Prisma.AdminContactNoteUncheckedCreateWithoutContactInput[] connectOrCreate?: Prisma.AdminContactNoteCreateOrConnectWithoutContactInput | Prisma.AdminContactNoteCreateOrConnectWithoutContactInput[] upsert?: Prisma.AdminContactNoteUpsertWithWhereUniqueWithoutContactInput | Prisma.AdminContactNoteUpsertWithWhereUniqueWithoutContactInput[] createMany?: Prisma.AdminContactNoteCreateManyContactInputEnvelope set?: Prisma.AdminContactNoteWhereUniqueInput | Prisma.AdminContactNoteWhereUniqueInput[] disconnect?: Prisma.AdminContactNoteWhereUniqueInput | Prisma.AdminContactNoteWhereUniqueInput[] delete?: Prisma.AdminContactNoteWhereUniqueInput | Prisma.AdminContactNoteWhereUniqueInput[] connect?: Prisma.AdminContactNoteWhereUniqueInput | Prisma.AdminContactNoteWhereUniqueInput[] update?: Prisma.AdminContactNoteUpdateWithWhereUniqueWithoutContactInput | Prisma.AdminContactNoteUpdateWithWhereUniqueWithoutContactInput[] updateMany?: Prisma.AdminContactNoteUpdateManyWithWhereWithoutContactInput | Prisma.AdminContactNoteUpdateManyWithWhereWithoutContactInput[] deleteMany?: Prisma.AdminContactNoteScalarWhereInput | Prisma.AdminContactNoteScalarWhereInput[] } export type AdminContactNoteUncheckedUpdateManyWithoutContactNestedInput = { create?: Prisma.XOR | Prisma.AdminContactNoteCreateWithoutContactInput[] | Prisma.AdminContactNoteUncheckedCreateWithoutContactInput[] connectOrCreate?: Prisma.AdminContactNoteCreateOrConnectWithoutContactInput | Prisma.AdminContactNoteCreateOrConnectWithoutContactInput[] upsert?: Prisma.AdminContactNoteUpsertWithWhereUniqueWithoutContactInput | Prisma.AdminContactNoteUpsertWithWhereUniqueWithoutContactInput[] createMany?: Prisma.AdminContactNoteCreateManyContactInputEnvelope set?: Prisma.AdminContactNoteWhereUniqueInput | Prisma.AdminContactNoteWhereUniqueInput[] disconnect?: Prisma.AdminContactNoteWhereUniqueInput | Prisma.AdminContactNoteWhereUniqueInput[] delete?: Prisma.AdminContactNoteWhereUniqueInput | Prisma.AdminContactNoteWhereUniqueInput[] connect?: Prisma.AdminContactNoteWhereUniqueInput | Prisma.AdminContactNoteWhereUniqueInput[] update?: Prisma.AdminContactNoteUpdateWithWhereUniqueWithoutContactInput | Prisma.AdminContactNoteUpdateWithWhereUniqueWithoutContactInput[] updateMany?: Prisma.AdminContactNoteUpdateManyWithWhereWithoutContactInput | Prisma.AdminContactNoteUpdateManyWithWhereWithoutContactInput[] deleteMany?: Prisma.AdminContactNoteScalarWhereInput | Prisma.AdminContactNoteScalarWhereInput[] } export type AdminContactNoteCreateNestedOneWithoutActivitiesInput = { create?: Prisma.XOR connectOrCreate?: Prisma.AdminContactNoteCreateOrConnectWithoutActivitiesInput connect?: Prisma.AdminContactNoteWhereUniqueInput } export type AdminContactNoteUpdateOneWithoutActivitiesNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.AdminContactNoteCreateOrConnectWithoutActivitiesInput upsert?: Prisma.AdminContactNoteUpsertWithoutActivitiesInput disconnect?: Prisma.AdminContactNoteWhereInput | boolean delete?: Prisma.AdminContactNoteWhereInput | boolean connect?: Prisma.AdminContactNoteWhereUniqueInput update?: Prisma.XOR, Prisma.AdminContactNoteUncheckedUpdateWithoutActivitiesInput> } export type AdminContactNoteCreateWithoutContactInput = { id?: string createdAt?: Date | string body: string createdByAdminUserId: string activities?: Prisma.AdminActivityCreateNestedManyWithoutNoteInput } export type AdminContactNoteUncheckedCreateWithoutContactInput = { id?: string createdAt?: Date | string body: string createdByAdminUserId: string activities?: Prisma.AdminActivityUncheckedCreateNestedManyWithoutNoteInput } export type AdminContactNoteCreateOrConnectWithoutContactInput = { where: Prisma.AdminContactNoteWhereUniqueInput create: Prisma.XOR } export type AdminContactNoteCreateManyContactInputEnvelope = { data: Prisma.AdminContactNoteCreateManyContactInput | Prisma.AdminContactNoteCreateManyContactInput[] skipDuplicates?: boolean } export type AdminContactNoteUpsertWithWhereUniqueWithoutContactInput = { where: Prisma.AdminContactNoteWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type AdminContactNoteUpdateWithWhereUniqueWithoutContactInput = { where: Prisma.AdminContactNoteWhereUniqueInput data: Prisma.XOR } export type AdminContactNoteUpdateManyWithWhereWithoutContactInput = { where: Prisma.AdminContactNoteScalarWhereInput data: Prisma.XOR } export type AdminContactNoteScalarWhereInput = { AND?: Prisma.AdminContactNoteScalarWhereInput | Prisma.AdminContactNoteScalarWhereInput[] OR?: Prisma.AdminContactNoteScalarWhereInput[] NOT?: Prisma.AdminContactNoteScalarWhereInput | Prisma.AdminContactNoteScalarWhereInput[] id?: Prisma.StringFilter<"AdminContactNote"> | string createdAt?: Prisma.DateTimeFilter<"AdminContactNote"> | Date | string contactId?: Prisma.StringFilter<"AdminContactNote"> | string body?: Prisma.StringFilter<"AdminContactNote"> | string createdByAdminUserId?: Prisma.StringFilter<"AdminContactNote"> | string } export type AdminContactNoteCreateWithoutActivitiesInput = { id?: string createdAt?: Date | string body: string createdByAdminUserId: string contact: Prisma.AdminContactCreateNestedOneWithoutNotesInput } export type AdminContactNoteUncheckedCreateWithoutActivitiesInput = { id?: string createdAt?: Date | string contactId: string body: string createdByAdminUserId: string } export type AdminContactNoteCreateOrConnectWithoutActivitiesInput = { where: Prisma.AdminContactNoteWhereUniqueInput create: Prisma.XOR } export type AdminContactNoteUpsertWithoutActivitiesInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.AdminContactNoteWhereInput } export type AdminContactNoteUpdateToOneWithWhereWithoutActivitiesInput = { where?: Prisma.AdminContactNoteWhereInput data: Prisma.XOR } export type AdminContactNoteUpdateWithoutActivitiesInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string body?: Prisma.StringFieldUpdateOperationsInput | string createdByAdminUserId?: Prisma.StringFieldUpdateOperationsInput | string contact?: Prisma.AdminContactUpdateOneRequiredWithoutNotesNestedInput } export type AdminContactNoteUncheckedUpdateWithoutActivitiesInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string contactId?: Prisma.StringFieldUpdateOperationsInput | string body?: Prisma.StringFieldUpdateOperationsInput | string createdByAdminUserId?: Prisma.StringFieldUpdateOperationsInput | string } export type AdminContactNoteCreateManyContactInput = { id?: string createdAt?: Date | string body: string createdByAdminUserId: string } export type AdminContactNoteUpdateWithoutContactInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string body?: Prisma.StringFieldUpdateOperationsInput | string createdByAdminUserId?: Prisma.StringFieldUpdateOperationsInput | string activities?: Prisma.AdminActivityUpdateManyWithoutNoteNestedInput } export type AdminContactNoteUncheckedUpdateWithoutContactInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string body?: Prisma.StringFieldUpdateOperationsInput | string createdByAdminUserId?: Prisma.StringFieldUpdateOperationsInput | string activities?: Prisma.AdminActivityUncheckedUpdateManyWithoutNoteNestedInput } export type AdminContactNoteUncheckedUpdateManyWithoutContactInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string body?: Prisma.StringFieldUpdateOperationsInput | string createdByAdminUserId?: Prisma.StringFieldUpdateOperationsInput | string } /** * Count Type AdminContactNoteCountOutputType */ export type AdminContactNoteCountOutputType = { activities: number } export type AdminContactNoteCountOutputTypeSelect = { activities?: boolean | AdminContactNoteCountOutputTypeCountActivitiesArgs } /** * AdminContactNoteCountOutputType without action */ export type AdminContactNoteCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the AdminContactNoteCountOutputType */ select?: Prisma.AdminContactNoteCountOutputTypeSelect | null } /** * AdminContactNoteCountOutputType without action */ export type AdminContactNoteCountOutputTypeCountActivitiesArgs = { where?: Prisma.AdminActivityWhereInput } export type AdminContactNoteSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean contactId?: boolean body?: boolean createdByAdminUserId?: boolean contact?: boolean | Prisma.AdminContactDefaultArgs activities?: boolean | Prisma.AdminContactNote$activitiesArgs _count?: boolean | Prisma.AdminContactNoteCountOutputTypeDefaultArgs }, ExtArgs["result"]["adminContactNote"]> export type AdminContactNoteSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean contactId?: boolean body?: boolean createdByAdminUserId?: boolean contact?: boolean | Prisma.AdminContactDefaultArgs }, ExtArgs["result"]["adminContactNote"]> export type AdminContactNoteSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean contactId?: boolean body?: boolean createdByAdminUserId?: boolean contact?: boolean | Prisma.AdminContactDefaultArgs }, ExtArgs["result"]["adminContactNote"]> export type AdminContactNoteSelectScalar = { id?: boolean createdAt?: boolean contactId?: boolean body?: boolean createdByAdminUserId?: boolean } export type AdminContactNoteOmit = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "contactId" | "body" | "createdByAdminUserId", ExtArgs["result"]["adminContactNote"]> export type AdminContactNoteInclude = { contact?: boolean | Prisma.AdminContactDefaultArgs activities?: boolean | Prisma.AdminContactNote$activitiesArgs _count?: boolean | Prisma.AdminContactNoteCountOutputTypeDefaultArgs } export type AdminContactNoteIncludeCreateManyAndReturn = { contact?: boolean | Prisma.AdminContactDefaultArgs } export type AdminContactNoteIncludeUpdateManyAndReturn = { contact?: boolean | Prisma.AdminContactDefaultArgs } export type $AdminContactNotePayload = { name: "AdminContactNote" objects: { contact: Prisma.$AdminContactPayload activities: Prisma.$AdminActivityPayload[] } scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string createdAt: Date contactId: string body: string createdByAdminUserId: string }, ExtArgs["result"]["adminContactNote"]> composites: {} } export type AdminContactNoteGetPayload = runtime.Types.Result.GetResult export type AdminContactNoteCountArgs = Omit & { select?: AdminContactNoteCountAggregateInputType | true } export interface AdminContactNoteDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['AdminContactNote'], meta: { name: 'AdminContactNote' } } /** * Find zero or one AdminContactNote that matches the filter. * @param {AdminContactNoteFindUniqueArgs} args - Arguments to find a AdminContactNote * @example * // Get one AdminContactNote * const adminContactNote = await prisma.adminContactNote.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__AdminContactNoteClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one AdminContactNote that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {AdminContactNoteFindUniqueOrThrowArgs} args - Arguments to find a AdminContactNote * @example * // Get one AdminContactNote * const adminContactNote = await prisma.adminContactNote.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__AdminContactNoteClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first AdminContactNote 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 {AdminContactNoteFindFirstArgs} args - Arguments to find a AdminContactNote * @example * // Get one AdminContactNote * const adminContactNote = await prisma.adminContactNote.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__AdminContactNoteClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first AdminContactNote 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 {AdminContactNoteFindFirstOrThrowArgs} args - Arguments to find a AdminContactNote * @example * // Get one AdminContactNote * const adminContactNote = await prisma.adminContactNote.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__AdminContactNoteClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more AdminContactNotes 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 {AdminContactNoteFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all AdminContactNotes * const adminContactNotes = await prisma.adminContactNote.findMany() * * // Get first 10 AdminContactNotes * const adminContactNotes = await prisma.adminContactNote.findMany({ take: 10 }) * * // Only select the `id` * const adminContactNoteWithIdOnly = await prisma.adminContactNote.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a AdminContactNote. * @param {AdminContactNoteCreateArgs} args - Arguments to create a AdminContactNote. * @example * // Create one AdminContactNote * const AdminContactNote = await prisma.adminContactNote.create({ * data: { * // ... data to create a AdminContactNote * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__AdminContactNoteClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many AdminContactNotes. * @param {AdminContactNoteCreateManyArgs} args - Arguments to create many AdminContactNotes. * @example * // Create many AdminContactNotes * const adminContactNote = await prisma.adminContactNote.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many AdminContactNotes and returns the data saved in the database. * @param {AdminContactNoteCreateManyAndReturnArgs} args - Arguments to create many AdminContactNotes. * @example * // Create many AdminContactNotes * const adminContactNote = await prisma.adminContactNote.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many AdminContactNotes and only return the `id` * const adminContactNoteWithIdOnly = await prisma.adminContactNote.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 AdminContactNote. * @param {AdminContactNoteDeleteArgs} args - Arguments to delete one AdminContactNote. * @example * // Delete one AdminContactNote * const AdminContactNote = await prisma.adminContactNote.delete({ * where: { * // ... filter to delete one AdminContactNote * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__AdminContactNoteClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one AdminContactNote. * @param {AdminContactNoteUpdateArgs} args - Arguments to update one AdminContactNote. * @example * // Update one AdminContactNote * const adminContactNote = await prisma.adminContactNote.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__AdminContactNoteClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more AdminContactNotes. * @param {AdminContactNoteDeleteManyArgs} args - Arguments to filter AdminContactNotes to delete. * @example * // Delete a few AdminContactNotes * const { count } = await prisma.adminContactNote.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more AdminContactNotes. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AdminContactNoteUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many AdminContactNotes * const adminContactNote = await prisma.adminContactNote.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more AdminContactNotes and returns the data updated in the database. * @param {AdminContactNoteUpdateManyAndReturnArgs} args - Arguments to update many AdminContactNotes. * @example * // Update many AdminContactNotes * const adminContactNote = await prisma.adminContactNote.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more AdminContactNotes and only return the `id` * const adminContactNoteWithIdOnly = await prisma.adminContactNote.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 AdminContactNote. * @param {AdminContactNoteUpsertArgs} args - Arguments to update or create a AdminContactNote. * @example * // Update or create a AdminContactNote * const adminContactNote = await prisma.adminContactNote.upsert({ * create: { * // ... data to create a AdminContactNote * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the AdminContactNote we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__AdminContactNoteClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of AdminContactNotes. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AdminContactNoteCountArgs} args - Arguments to filter AdminContactNotes to count. * @example * // Count the number of AdminContactNotes * const count = await prisma.adminContactNote.count({ * where: { * // ... the filter for the AdminContactNotes 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 AdminContactNote. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AdminContactNoteAggregateArgs} 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 AdminContactNote. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AdminContactNoteGroupByArgs} 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 AdminContactNoteGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: AdminContactNoteGroupByArgs['orderBy'] } : { orderBy?: AdminContactNoteGroupByArgs['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 ? GetAdminContactNoteGroupByPayload : Prisma.PrismaPromise /** * Fields of the AdminContactNote model */ readonly fields: AdminContactNoteFieldRefs; } /** * The delegate class that acts as a "Promise-like" for AdminContactNote. * 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__AdminContactNoteClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" contact = {}>(args?: Prisma.Subset>): Prisma.Prisma__AdminContactClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> activities = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * Attaches a callback for only the rejection of the Promise. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of the callback. */ catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The * resolved value cannot be modified from the callback. * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). * @returns A Promise for the completion of the callback. */ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise } /** * Fields of the AdminContactNote model */ export interface AdminContactNoteFieldRefs { readonly id: Prisma.FieldRef<"AdminContactNote", 'String'> readonly createdAt: Prisma.FieldRef<"AdminContactNote", 'DateTime'> readonly contactId: Prisma.FieldRef<"AdminContactNote", 'String'> readonly body: Prisma.FieldRef<"AdminContactNote", 'String'> readonly createdByAdminUserId: Prisma.FieldRef<"AdminContactNote", 'String'> } // Custom InputTypes /** * AdminContactNote findUnique */ export type AdminContactNoteFindUniqueArgs = { /** * Select specific fields to fetch from the AdminContactNote */ select?: Prisma.AdminContactNoteSelect | null /** * Omit specific fields from the AdminContactNote */ omit?: Prisma.AdminContactNoteOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminContactNoteInclude | null /** * Filter, which AdminContactNote to fetch. */ where: Prisma.AdminContactNoteWhereUniqueInput } /** * AdminContactNote findUniqueOrThrow */ export type AdminContactNoteFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the AdminContactNote */ select?: Prisma.AdminContactNoteSelect | null /** * Omit specific fields from the AdminContactNote */ omit?: Prisma.AdminContactNoteOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminContactNoteInclude | null /** * Filter, which AdminContactNote to fetch. */ where: Prisma.AdminContactNoteWhereUniqueInput } /** * AdminContactNote findFirst */ export type AdminContactNoteFindFirstArgs = { /** * Select specific fields to fetch from the AdminContactNote */ select?: Prisma.AdminContactNoteSelect | null /** * Omit specific fields from the AdminContactNote */ omit?: Prisma.AdminContactNoteOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminContactNoteInclude | null /** * Filter, which AdminContactNote to fetch. */ where?: Prisma.AdminContactNoteWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AdminContactNotes to fetch. */ orderBy?: Prisma.AdminContactNoteOrderByWithRelationInput | Prisma.AdminContactNoteOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for AdminContactNotes. */ cursor?: Prisma.AdminContactNoteWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AdminContactNotes 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` AdminContactNotes. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of AdminContactNotes. */ distinct?: Prisma.AdminContactNoteScalarFieldEnum | Prisma.AdminContactNoteScalarFieldEnum[] } /** * AdminContactNote findFirstOrThrow */ export type AdminContactNoteFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the AdminContactNote */ select?: Prisma.AdminContactNoteSelect | null /** * Omit specific fields from the AdminContactNote */ omit?: Prisma.AdminContactNoteOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminContactNoteInclude | null /** * Filter, which AdminContactNote to fetch. */ where?: Prisma.AdminContactNoteWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AdminContactNotes to fetch. */ orderBy?: Prisma.AdminContactNoteOrderByWithRelationInput | Prisma.AdminContactNoteOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for AdminContactNotes. */ cursor?: Prisma.AdminContactNoteWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AdminContactNotes 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` AdminContactNotes. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of AdminContactNotes. */ distinct?: Prisma.AdminContactNoteScalarFieldEnum | Prisma.AdminContactNoteScalarFieldEnum[] } /** * AdminContactNote findMany */ export type AdminContactNoteFindManyArgs = { /** * Select specific fields to fetch from the AdminContactNote */ select?: Prisma.AdminContactNoteSelect | null /** * Omit specific fields from the AdminContactNote */ omit?: Prisma.AdminContactNoteOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminContactNoteInclude | null /** * Filter, which AdminContactNotes to fetch. */ where?: Prisma.AdminContactNoteWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AdminContactNotes to fetch. */ orderBy?: Prisma.AdminContactNoteOrderByWithRelationInput | Prisma.AdminContactNoteOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing AdminContactNotes. */ cursor?: Prisma.AdminContactNoteWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AdminContactNotes 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` AdminContactNotes. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of AdminContactNotes. */ distinct?: Prisma.AdminContactNoteScalarFieldEnum | Prisma.AdminContactNoteScalarFieldEnum[] } /** * AdminContactNote create */ export type AdminContactNoteCreateArgs = { /** * Select specific fields to fetch from the AdminContactNote */ select?: Prisma.AdminContactNoteSelect | null /** * Omit specific fields from the AdminContactNote */ omit?: Prisma.AdminContactNoteOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminContactNoteInclude | null /** * The data needed to create a AdminContactNote. */ data: Prisma.XOR } /** * AdminContactNote createMany */ export type AdminContactNoteCreateManyArgs = { /** * The data used to create many AdminContactNotes. */ data: Prisma.AdminContactNoteCreateManyInput | Prisma.AdminContactNoteCreateManyInput[] skipDuplicates?: boolean } /** * AdminContactNote createManyAndReturn */ export type AdminContactNoteCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the AdminContactNote */ select?: Prisma.AdminContactNoteSelectCreateManyAndReturn | null /** * Omit specific fields from the AdminContactNote */ omit?: Prisma.AdminContactNoteOmit | null /** * The data used to create many AdminContactNotes. */ data: Prisma.AdminContactNoteCreateManyInput | Prisma.AdminContactNoteCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminContactNoteIncludeCreateManyAndReturn | null } /** * AdminContactNote update */ export type AdminContactNoteUpdateArgs = { /** * Select specific fields to fetch from the AdminContactNote */ select?: Prisma.AdminContactNoteSelect | null /** * Omit specific fields from the AdminContactNote */ omit?: Prisma.AdminContactNoteOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminContactNoteInclude | null /** * The data needed to update a AdminContactNote. */ data: Prisma.XOR /** * Choose, which AdminContactNote to update. */ where: Prisma.AdminContactNoteWhereUniqueInput } /** * AdminContactNote updateMany */ export type AdminContactNoteUpdateManyArgs = { /** * The data used to update AdminContactNotes. */ data: Prisma.XOR /** * Filter which AdminContactNotes to update */ where?: Prisma.AdminContactNoteWhereInput /** * Limit how many AdminContactNotes to update. */ limit?: number } /** * AdminContactNote updateManyAndReturn */ export type AdminContactNoteUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the AdminContactNote */ select?: Prisma.AdminContactNoteSelectUpdateManyAndReturn | null /** * Omit specific fields from the AdminContactNote */ omit?: Prisma.AdminContactNoteOmit | null /** * The data used to update AdminContactNotes. */ data: Prisma.XOR /** * Filter which AdminContactNotes to update */ where?: Prisma.AdminContactNoteWhereInput /** * Limit how many AdminContactNotes to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminContactNoteIncludeUpdateManyAndReturn | null } /** * AdminContactNote upsert */ export type AdminContactNoteUpsertArgs = { /** * Select specific fields to fetch from the AdminContactNote */ select?: Prisma.AdminContactNoteSelect | null /** * Omit specific fields from the AdminContactNote */ omit?: Prisma.AdminContactNoteOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminContactNoteInclude | null /** * The filter to search for the AdminContactNote to update in case it exists. */ where: Prisma.AdminContactNoteWhereUniqueInput /** * In case the AdminContactNote found by the `where` argument doesn't exist, create a new AdminContactNote with this data. */ create: Prisma.XOR /** * In case the AdminContactNote was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * AdminContactNote delete */ export type AdminContactNoteDeleteArgs = { /** * Select specific fields to fetch from the AdminContactNote */ select?: Prisma.AdminContactNoteSelect | null /** * Omit specific fields from the AdminContactNote */ omit?: Prisma.AdminContactNoteOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminContactNoteInclude | null /** * Filter which AdminContactNote to delete. */ where: Prisma.AdminContactNoteWhereUniqueInput } /** * AdminContactNote deleteMany */ export type AdminContactNoteDeleteManyArgs = { /** * Filter which AdminContactNotes to delete */ where?: Prisma.AdminContactNoteWhereInput /** * Limit how many AdminContactNotes to delete. */ limit?: number } /** * AdminContactNote.activities */ export type AdminContactNote$activitiesArgs = { /** * Select specific fields to fetch from the AdminActivity */ select?: Prisma.AdminActivitySelect | null /** * Omit specific fields from the AdminActivity */ omit?: Prisma.AdminActivityOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminActivityInclude | null where?: Prisma.AdminActivityWhereInput orderBy?: Prisma.AdminActivityOrderByWithRelationInput | Prisma.AdminActivityOrderByWithRelationInput[] cursor?: Prisma.AdminActivityWhereUniqueInput take?: number skip?: number distinct?: Prisma.AdminActivityScalarFieldEnum | Prisma.AdminActivityScalarFieldEnum[] } /** * AdminContactNote without action */ export type AdminContactNoteDefaultArgs = { /** * Select specific fields to fetch from the AdminContactNote */ select?: Prisma.AdminContactNoteSelect | null /** * Omit specific fields from the AdminContactNote */ omit?: Prisma.AdminContactNoteOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminContactNoteInclude | null }