/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `AdminDealContact` 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 AdminDealContact * */ export type AdminDealContactModel = runtime.Types.Result.DefaultSelection export type AggregateAdminDealContact = { _count: AdminDealContactCountAggregateOutputType | null _min: AdminDealContactMinAggregateOutputType | null _max: AdminDealContactMaxAggregateOutputType | null } export type AdminDealContactMinAggregateOutputType = { dealId: string | null contactId: string | null createdAt: Date | null role: string | null isPrimary: boolean | null } export type AdminDealContactMaxAggregateOutputType = { dealId: string | null contactId: string | null createdAt: Date | null role: string | null isPrimary: boolean | null } export type AdminDealContactCountAggregateOutputType = { dealId: number contactId: number createdAt: number role: number isPrimary: number _all: number } export type AdminDealContactMinAggregateInputType = { dealId?: true contactId?: true createdAt?: true role?: true isPrimary?: true } export type AdminDealContactMaxAggregateInputType = { dealId?: true contactId?: true createdAt?: true role?: true isPrimary?: true } export type AdminDealContactCountAggregateInputType = { dealId?: true contactId?: true createdAt?: true role?: true isPrimary?: true _all?: true } export type AdminDealContactAggregateArgs = { /** * Filter which AdminDealContact to aggregate. */ where?: Prisma.AdminDealContactWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AdminDealContacts to fetch. */ orderBy?: Prisma.AdminDealContactOrderByWithRelationInput | Prisma.AdminDealContactOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.AdminDealContactWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AdminDealContacts 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` AdminDealContacts. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned AdminDealContacts **/ _count?: true | AdminDealContactCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: AdminDealContactMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: AdminDealContactMaxAggregateInputType } export type GetAdminDealContactAggregateType = { [P in keyof T & keyof AggregateAdminDealContact]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type AdminDealContactGroupByArgs = { where?: Prisma.AdminDealContactWhereInput orderBy?: Prisma.AdminDealContactOrderByWithAggregationInput | Prisma.AdminDealContactOrderByWithAggregationInput[] by: Prisma.AdminDealContactScalarFieldEnum[] | Prisma.AdminDealContactScalarFieldEnum having?: Prisma.AdminDealContactScalarWhereWithAggregatesInput take?: number skip?: number _count?: AdminDealContactCountAggregateInputType | true _min?: AdminDealContactMinAggregateInputType _max?: AdminDealContactMaxAggregateInputType } export type AdminDealContactGroupByOutputType = { dealId: string contactId: string createdAt: Date role: string | null isPrimary: boolean _count: AdminDealContactCountAggregateOutputType | null _min: AdminDealContactMinAggregateOutputType | null _max: AdminDealContactMaxAggregateOutputType | null } export type GetAdminDealContactGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof AdminDealContactGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type AdminDealContactWhereInput = { AND?: Prisma.AdminDealContactWhereInput | Prisma.AdminDealContactWhereInput[] OR?: Prisma.AdminDealContactWhereInput[] NOT?: Prisma.AdminDealContactWhereInput | Prisma.AdminDealContactWhereInput[] dealId?: Prisma.StringFilter<"AdminDealContact"> | string contactId?: Prisma.StringFilter<"AdminDealContact"> | string createdAt?: Prisma.DateTimeFilter<"AdminDealContact"> | Date | string role?: Prisma.StringNullableFilter<"AdminDealContact"> | string | null isPrimary?: Prisma.BoolFilter<"AdminDealContact"> | boolean deal?: Prisma.XOR contact?: Prisma.XOR } export type AdminDealContactOrderByWithRelationInput = { dealId?: Prisma.SortOrder contactId?: Prisma.SortOrder createdAt?: Prisma.SortOrder role?: Prisma.SortOrderInput | Prisma.SortOrder isPrimary?: Prisma.SortOrder deal?: Prisma.AdminDealOrderByWithRelationInput contact?: Prisma.AdminContactOrderByWithRelationInput } export type AdminDealContactWhereUniqueInput = Prisma.AtLeast<{ dealId_contactId?: Prisma.AdminDealContactDealIdContactIdCompoundUniqueInput AND?: Prisma.AdminDealContactWhereInput | Prisma.AdminDealContactWhereInput[] OR?: Prisma.AdminDealContactWhereInput[] NOT?: Prisma.AdminDealContactWhereInput | Prisma.AdminDealContactWhereInput[] dealId?: Prisma.StringFilter<"AdminDealContact"> | string contactId?: Prisma.StringFilter<"AdminDealContact"> | string createdAt?: Prisma.DateTimeFilter<"AdminDealContact"> | Date | string role?: Prisma.StringNullableFilter<"AdminDealContact"> | string | null isPrimary?: Prisma.BoolFilter<"AdminDealContact"> | boolean deal?: Prisma.XOR contact?: Prisma.XOR }, "dealId_contactId"> export type AdminDealContactOrderByWithAggregationInput = { dealId?: Prisma.SortOrder contactId?: Prisma.SortOrder createdAt?: Prisma.SortOrder role?: Prisma.SortOrderInput | Prisma.SortOrder isPrimary?: Prisma.SortOrder _count?: Prisma.AdminDealContactCountOrderByAggregateInput _max?: Prisma.AdminDealContactMaxOrderByAggregateInput _min?: Prisma.AdminDealContactMinOrderByAggregateInput } export type AdminDealContactScalarWhereWithAggregatesInput = { AND?: Prisma.AdminDealContactScalarWhereWithAggregatesInput | Prisma.AdminDealContactScalarWhereWithAggregatesInput[] OR?: Prisma.AdminDealContactScalarWhereWithAggregatesInput[] NOT?: Prisma.AdminDealContactScalarWhereWithAggregatesInput | Prisma.AdminDealContactScalarWhereWithAggregatesInput[] dealId?: Prisma.StringWithAggregatesFilter<"AdminDealContact"> | string contactId?: Prisma.StringWithAggregatesFilter<"AdminDealContact"> | string createdAt?: Prisma.DateTimeWithAggregatesFilter<"AdminDealContact"> | Date | string role?: Prisma.StringNullableWithAggregatesFilter<"AdminDealContact"> | string | null isPrimary?: Prisma.BoolWithAggregatesFilter<"AdminDealContact"> | boolean } export type AdminDealContactCreateInput = { createdAt?: Date | string role?: string | null isPrimary?: boolean deal: Prisma.AdminDealCreateNestedOneWithoutContactsInput contact: Prisma.AdminContactCreateNestedOneWithoutDealsInput } export type AdminDealContactUncheckedCreateInput = { dealId: string contactId: string createdAt?: Date | string role?: string | null isPrimary?: boolean } export type AdminDealContactUpdateInput = { createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string role?: Prisma.NullableStringFieldUpdateOperationsInput | string | null isPrimary?: Prisma.BoolFieldUpdateOperationsInput | boolean deal?: Prisma.AdminDealUpdateOneRequiredWithoutContactsNestedInput contact?: Prisma.AdminContactUpdateOneRequiredWithoutDealsNestedInput } export type AdminDealContactUncheckedUpdateInput = { dealId?: Prisma.StringFieldUpdateOperationsInput | string contactId?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string role?: Prisma.NullableStringFieldUpdateOperationsInput | string | null isPrimary?: Prisma.BoolFieldUpdateOperationsInput | boolean } export type AdminDealContactCreateManyInput = { dealId: string contactId: string createdAt?: Date | string role?: string | null isPrimary?: boolean } export type AdminDealContactUpdateManyMutationInput = { createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string role?: Prisma.NullableStringFieldUpdateOperationsInput | string | null isPrimary?: Prisma.BoolFieldUpdateOperationsInput | boolean } export type AdminDealContactUncheckedUpdateManyInput = { dealId?: Prisma.StringFieldUpdateOperationsInput | string contactId?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string role?: Prisma.NullableStringFieldUpdateOperationsInput | string | null isPrimary?: Prisma.BoolFieldUpdateOperationsInput | boolean } export type AdminDealContactListRelationFilter = { every?: Prisma.AdminDealContactWhereInput some?: Prisma.AdminDealContactWhereInput none?: Prisma.AdminDealContactWhereInput } export type AdminDealContactOrderByRelationAggregateInput = { _count?: Prisma.SortOrder } export type AdminDealContactDealIdContactIdCompoundUniqueInput = { dealId: string contactId: string } export type AdminDealContactCountOrderByAggregateInput = { dealId?: Prisma.SortOrder contactId?: Prisma.SortOrder createdAt?: Prisma.SortOrder role?: Prisma.SortOrder isPrimary?: Prisma.SortOrder } export type AdminDealContactMaxOrderByAggregateInput = { dealId?: Prisma.SortOrder contactId?: Prisma.SortOrder createdAt?: Prisma.SortOrder role?: Prisma.SortOrder isPrimary?: Prisma.SortOrder } export type AdminDealContactMinOrderByAggregateInput = { dealId?: Prisma.SortOrder contactId?: Prisma.SortOrder createdAt?: Prisma.SortOrder role?: Prisma.SortOrder isPrimary?: Prisma.SortOrder } export type AdminDealContactCreateNestedManyWithoutContactInput = { create?: Prisma.XOR | Prisma.AdminDealContactCreateWithoutContactInput[] | Prisma.AdminDealContactUncheckedCreateWithoutContactInput[] connectOrCreate?: Prisma.AdminDealContactCreateOrConnectWithoutContactInput | Prisma.AdminDealContactCreateOrConnectWithoutContactInput[] createMany?: Prisma.AdminDealContactCreateManyContactInputEnvelope connect?: Prisma.AdminDealContactWhereUniqueInput | Prisma.AdminDealContactWhereUniqueInput[] } export type AdminDealContactUncheckedCreateNestedManyWithoutContactInput = { create?: Prisma.XOR | Prisma.AdminDealContactCreateWithoutContactInput[] | Prisma.AdminDealContactUncheckedCreateWithoutContactInput[] connectOrCreate?: Prisma.AdminDealContactCreateOrConnectWithoutContactInput | Prisma.AdminDealContactCreateOrConnectWithoutContactInput[] createMany?: Prisma.AdminDealContactCreateManyContactInputEnvelope connect?: Prisma.AdminDealContactWhereUniqueInput | Prisma.AdminDealContactWhereUniqueInput[] } export type AdminDealContactUpdateManyWithoutContactNestedInput = { create?: Prisma.XOR | Prisma.AdminDealContactCreateWithoutContactInput[] | Prisma.AdminDealContactUncheckedCreateWithoutContactInput[] connectOrCreate?: Prisma.AdminDealContactCreateOrConnectWithoutContactInput | Prisma.AdminDealContactCreateOrConnectWithoutContactInput[] upsert?: Prisma.AdminDealContactUpsertWithWhereUniqueWithoutContactInput | Prisma.AdminDealContactUpsertWithWhereUniqueWithoutContactInput[] createMany?: Prisma.AdminDealContactCreateManyContactInputEnvelope set?: Prisma.AdminDealContactWhereUniqueInput | Prisma.AdminDealContactWhereUniqueInput[] disconnect?: Prisma.AdminDealContactWhereUniqueInput | Prisma.AdminDealContactWhereUniqueInput[] delete?: Prisma.AdminDealContactWhereUniqueInput | Prisma.AdminDealContactWhereUniqueInput[] connect?: Prisma.AdminDealContactWhereUniqueInput | Prisma.AdminDealContactWhereUniqueInput[] update?: Prisma.AdminDealContactUpdateWithWhereUniqueWithoutContactInput | Prisma.AdminDealContactUpdateWithWhereUniqueWithoutContactInput[] updateMany?: Prisma.AdminDealContactUpdateManyWithWhereWithoutContactInput | Prisma.AdminDealContactUpdateManyWithWhereWithoutContactInput[] deleteMany?: Prisma.AdminDealContactScalarWhereInput | Prisma.AdminDealContactScalarWhereInput[] } export type AdminDealContactUncheckedUpdateManyWithoutContactNestedInput = { create?: Prisma.XOR | Prisma.AdminDealContactCreateWithoutContactInput[] | Prisma.AdminDealContactUncheckedCreateWithoutContactInput[] connectOrCreate?: Prisma.AdminDealContactCreateOrConnectWithoutContactInput | Prisma.AdminDealContactCreateOrConnectWithoutContactInput[] upsert?: Prisma.AdminDealContactUpsertWithWhereUniqueWithoutContactInput | Prisma.AdminDealContactUpsertWithWhereUniqueWithoutContactInput[] createMany?: Prisma.AdminDealContactCreateManyContactInputEnvelope set?: Prisma.AdminDealContactWhereUniqueInput | Prisma.AdminDealContactWhereUniqueInput[] disconnect?: Prisma.AdminDealContactWhereUniqueInput | Prisma.AdminDealContactWhereUniqueInput[] delete?: Prisma.AdminDealContactWhereUniqueInput | Prisma.AdminDealContactWhereUniqueInput[] connect?: Prisma.AdminDealContactWhereUniqueInput | Prisma.AdminDealContactWhereUniqueInput[] update?: Prisma.AdminDealContactUpdateWithWhereUniqueWithoutContactInput | Prisma.AdminDealContactUpdateWithWhereUniqueWithoutContactInput[] updateMany?: Prisma.AdminDealContactUpdateManyWithWhereWithoutContactInput | Prisma.AdminDealContactUpdateManyWithWhereWithoutContactInput[] deleteMany?: Prisma.AdminDealContactScalarWhereInput | Prisma.AdminDealContactScalarWhereInput[] } export type AdminDealContactCreateNestedManyWithoutDealInput = { create?: Prisma.XOR | Prisma.AdminDealContactCreateWithoutDealInput[] | Prisma.AdminDealContactUncheckedCreateWithoutDealInput[] connectOrCreate?: Prisma.AdminDealContactCreateOrConnectWithoutDealInput | Prisma.AdminDealContactCreateOrConnectWithoutDealInput[] createMany?: Prisma.AdminDealContactCreateManyDealInputEnvelope connect?: Prisma.AdminDealContactWhereUniqueInput | Prisma.AdminDealContactWhereUniqueInput[] } export type AdminDealContactUncheckedCreateNestedManyWithoutDealInput = { create?: Prisma.XOR | Prisma.AdminDealContactCreateWithoutDealInput[] | Prisma.AdminDealContactUncheckedCreateWithoutDealInput[] connectOrCreate?: Prisma.AdminDealContactCreateOrConnectWithoutDealInput | Prisma.AdminDealContactCreateOrConnectWithoutDealInput[] createMany?: Prisma.AdminDealContactCreateManyDealInputEnvelope connect?: Prisma.AdminDealContactWhereUniqueInput | Prisma.AdminDealContactWhereUniqueInput[] } export type AdminDealContactUpdateManyWithoutDealNestedInput = { create?: Prisma.XOR | Prisma.AdminDealContactCreateWithoutDealInput[] | Prisma.AdminDealContactUncheckedCreateWithoutDealInput[] connectOrCreate?: Prisma.AdminDealContactCreateOrConnectWithoutDealInput | Prisma.AdminDealContactCreateOrConnectWithoutDealInput[] upsert?: Prisma.AdminDealContactUpsertWithWhereUniqueWithoutDealInput | Prisma.AdminDealContactUpsertWithWhereUniqueWithoutDealInput[] createMany?: Prisma.AdminDealContactCreateManyDealInputEnvelope set?: Prisma.AdminDealContactWhereUniqueInput | Prisma.AdminDealContactWhereUniqueInput[] disconnect?: Prisma.AdminDealContactWhereUniqueInput | Prisma.AdminDealContactWhereUniqueInput[] delete?: Prisma.AdminDealContactWhereUniqueInput | Prisma.AdminDealContactWhereUniqueInput[] connect?: Prisma.AdminDealContactWhereUniqueInput | Prisma.AdminDealContactWhereUniqueInput[] update?: Prisma.AdminDealContactUpdateWithWhereUniqueWithoutDealInput | Prisma.AdminDealContactUpdateWithWhereUniqueWithoutDealInput[] updateMany?: Prisma.AdminDealContactUpdateManyWithWhereWithoutDealInput | Prisma.AdminDealContactUpdateManyWithWhereWithoutDealInput[] deleteMany?: Prisma.AdminDealContactScalarWhereInput | Prisma.AdminDealContactScalarWhereInput[] } export type AdminDealContactUncheckedUpdateManyWithoutDealNestedInput = { create?: Prisma.XOR | Prisma.AdminDealContactCreateWithoutDealInput[] | Prisma.AdminDealContactUncheckedCreateWithoutDealInput[] connectOrCreate?: Prisma.AdminDealContactCreateOrConnectWithoutDealInput | Prisma.AdminDealContactCreateOrConnectWithoutDealInput[] upsert?: Prisma.AdminDealContactUpsertWithWhereUniqueWithoutDealInput | Prisma.AdminDealContactUpsertWithWhereUniqueWithoutDealInput[] createMany?: Prisma.AdminDealContactCreateManyDealInputEnvelope set?: Prisma.AdminDealContactWhereUniqueInput | Prisma.AdminDealContactWhereUniqueInput[] disconnect?: Prisma.AdminDealContactWhereUniqueInput | Prisma.AdminDealContactWhereUniqueInput[] delete?: Prisma.AdminDealContactWhereUniqueInput | Prisma.AdminDealContactWhereUniqueInput[] connect?: Prisma.AdminDealContactWhereUniqueInput | Prisma.AdminDealContactWhereUniqueInput[] update?: Prisma.AdminDealContactUpdateWithWhereUniqueWithoutDealInput | Prisma.AdminDealContactUpdateWithWhereUniqueWithoutDealInput[] updateMany?: Prisma.AdminDealContactUpdateManyWithWhereWithoutDealInput | Prisma.AdminDealContactUpdateManyWithWhereWithoutDealInput[] deleteMany?: Prisma.AdminDealContactScalarWhereInput | Prisma.AdminDealContactScalarWhereInput[] } export type AdminDealContactCreateWithoutContactInput = { createdAt?: Date | string role?: string | null isPrimary?: boolean deal: Prisma.AdminDealCreateNestedOneWithoutContactsInput } export type AdminDealContactUncheckedCreateWithoutContactInput = { dealId: string createdAt?: Date | string role?: string | null isPrimary?: boolean } export type AdminDealContactCreateOrConnectWithoutContactInput = { where: Prisma.AdminDealContactWhereUniqueInput create: Prisma.XOR } export type AdminDealContactCreateManyContactInputEnvelope = { data: Prisma.AdminDealContactCreateManyContactInput | Prisma.AdminDealContactCreateManyContactInput[] skipDuplicates?: boolean } export type AdminDealContactUpsertWithWhereUniqueWithoutContactInput = { where: Prisma.AdminDealContactWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type AdminDealContactUpdateWithWhereUniqueWithoutContactInput = { where: Prisma.AdminDealContactWhereUniqueInput data: Prisma.XOR } export type AdminDealContactUpdateManyWithWhereWithoutContactInput = { where: Prisma.AdminDealContactScalarWhereInput data: Prisma.XOR } export type AdminDealContactScalarWhereInput = { AND?: Prisma.AdminDealContactScalarWhereInput | Prisma.AdminDealContactScalarWhereInput[] OR?: Prisma.AdminDealContactScalarWhereInput[] NOT?: Prisma.AdminDealContactScalarWhereInput | Prisma.AdminDealContactScalarWhereInput[] dealId?: Prisma.StringFilter<"AdminDealContact"> | string contactId?: Prisma.StringFilter<"AdminDealContact"> | string createdAt?: Prisma.DateTimeFilter<"AdminDealContact"> | Date | string role?: Prisma.StringNullableFilter<"AdminDealContact"> | string | null isPrimary?: Prisma.BoolFilter<"AdminDealContact"> | boolean } export type AdminDealContactCreateWithoutDealInput = { createdAt?: Date | string role?: string | null isPrimary?: boolean contact: Prisma.AdminContactCreateNestedOneWithoutDealsInput } export type AdminDealContactUncheckedCreateWithoutDealInput = { contactId: string createdAt?: Date | string role?: string | null isPrimary?: boolean } export type AdminDealContactCreateOrConnectWithoutDealInput = { where: Prisma.AdminDealContactWhereUniqueInput create: Prisma.XOR } export type AdminDealContactCreateManyDealInputEnvelope = { data: Prisma.AdminDealContactCreateManyDealInput | Prisma.AdminDealContactCreateManyDealInput[] skipDuplicates?: boolean } export type AdminDealContactUpsertWithWhereUniqueWithoutDealInput = { where: Prisma.AdminDealContactWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type AdminDealContactUpdateWithWhereUniqueWithoutDealInput = { where: Prisma.AdminDealContactWhereUniqueInput data: Prisma.XOR } export type AdminDealContactUpdateManyWithWhereWithoutDealInput = { where: Prisma.AdminDealContactScalarWhereInput data: Prisma.XOR } export type AdminDealContactCreateManyContactInput = { dealId: string createdAt?: Date | string role?: string | null isPrimary?: boolean } export type AdminDealContactUpdateWithoutContactInput = { createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string role?: Prisma.NullableStringFieldUpdateOperationsInput | string | null isPrimary?: Prisma.BoolFieldUpdateOperationsInput | boolean deal?: Prisma.AdminDealUpdateOneRequiredWithoutContactsNestedInput } export type AdminDealContactUncheckedUpdateWithoutContactInput = { dealId?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string role?: Prisma.NullableStringFieldUpdateOperationsInput | string | null isPrimary?: Prisma.BoolFieldUpdateOperationsInput | boolean } export type AdminDealContactUncheckedUpdateManyWithoutContactInput = { dealId?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string role?: Prisma.NullableStringFieldUpdateOperationsInput | string | null isPrimary?: Prisma.BoolFieldUpdateOperationsInput | boolean } export type AdminDealContactCreateManyDealInput = { contactId: string createdAt?: Date | string role?: string | null isPrimary?: boolean } export type AdminDealContactUpdateWithoutDealInput = { createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string role?: Prisma.NullableStringFieldUpdateOperationsInput | string | null isPrimary?: Prisma.BoolFieldUpdateOperationsInput | boolean contact?: Prisma.AdminContactUpdateOneRequiredWithoutDealsNestedInput } export type AdminDealContactUncheckedUpdateWithoutDealInput = { contactId?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string role?: Prisma.NullableStringFieldUpdateOperationsInput | string | null isPrimary?: Prisma.BoolFieldUpdateOperationsInput | boolean } export type AdminDealContactUncheckedUpdateManyWithoutDealInput = { contactId?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string role?: Prisma.NullableStringFieldUpdateOperationsInput | string | null isPrimary?: Prisma.BoolFieldUpdateOperationsInput | boolean } export type AdminDealContactSelect = runtime.Types.Extensions.GetSelect<{ dealId?: boolean contactId?: boolean createdAt?: boolean role?: boolean isPrimary?: boolean deal?: boolean | Prisma.AdminDealDefaultArgs contact?: boolean | Prisma.AdminContactDefaultArgs }, ExtArgs["result"]["adminDealContact"]> export type AdminDealContactSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ dealId?: boolean contactId?: boolean createdAt?: boolean role?: boolean isPrimary?: boolean deal?: boolean | Prisma.AdminDealDefaultArgs contact?: boolean | Prisma.AdminContactDefaultArgs }, ExtArgs["result"]["adminDealContact"]> export type AdminDealContactSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ dealId?: boolean contactId?: boolean createdAt?: boolean role?: boolean isPrimary?: boolean deal?: boolean | Prisma.AdminDealDefaultArgs contact?: boolean | Prisma.AdminContactDefaultArgs }, ExtArgs["result"]["adminDealContact"]> export type AdminDealContactSelectScalar = { dealId?: boolean contactId?: boolean createdAt?: boolean role?: boolean isPrimary?: boolean } export type AdminDealContactOmit = runtime.Types.Extensions.GetOmit<"dealId" | "contactId" | "createdAt" | "role" | "isPrimary", ExtArgs["result"]["adminDealContact"]> export type AdminDealContactInclude = { deal?: boolean | Prisma.AdminDealDefaultArgs contact?: boolean | Prisma.AdminContactDefaultArgs } export type AdminDealContactIncludeCreateManyAndReturn = { deal?: boolean | Prisma.AdminDealDefaultArgs contact?: boolean | Prisma.AdminContactDefaultArgs } export type AdminDealContactIncludeUpdateManyAndReturn = { deal?: boolean | Prisma.AdminDealDefaultArgs contact?: boolean | Prisma.AdminContactDefaultArgs } export type $AdminDealContactPayload = { name: "AdminDealContact" objects: { deal: Prisma.$AdminDealPayload contact: Prisma.$AdminContactPayload } scalars: runtime.Types.Extensions.GetPayloadResult<{ dealId: string contactId: string createdAt: Date role: string | null isPrimary: boolean }, ExtArgs["result"]["adminDealContact"]> composites: {} } export type AdminDealContactGetPayload = runtime.Types.Result.GetResult export type AdminDealContactCountArgs = Omit & { select?: AdminDealContactCountAggregateInputType | true } export interface AdminDealContactDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['AdminDealContact'], meta: { name: 'AdminDealContact' } } /** * Find zero or one AdminDealContact that matches the filter. * @param {AdminDealContactFindUniqueArgs} args - Arguments to find a AdminDealContact * @example * // Get one AdminDealContact * const adminDealContact = await prisma.adminDealContact.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__AdminDealContactClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one AdminDealContact that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {AdminDealContactFindUniqueOrThrowArgs} args - Arguments to find a AdminDealContact * @example * // Get one AdminDealContact * const adminDealContact = await prisma.adminDealContact.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__AdminDealContactClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first AdminDealContact 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 {AdminDealContactFindFirstArgs} args - Arguments to find a AdminDealContact * @example * // Get one AdminDealContact * const adminDealContact = await prisma.adminDealContact.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__AdminDealContactClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first AdminDealContact 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 {AdminDealContactFindFirstOrThrowArgs} args - Arguments to find a AdminDealContact * @example * // Get one AdminDealContact * const adminDealContact = await prisma.adminDealContact.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__AdminDealContactClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more AdminDealContacts 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 {AdminDealContactFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all AdminDealContacts * const adminDealContacts = await prisma.adminDealContact.findMany() * * // Get first 10 AdminDealContacts * const adminDealContacts = await prisma.adminDealContact.findMany({ take: 10 }) * * // Only select the `dealId` * const adminDealContactWithDealIdOnly = await prisma.adminDealContact.findMany({ select: { dealId: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a AdminDealContact. * @param {AdminDealContactCreateArgs} args - Arguments to create a AdminDealContact. * @example * // Create one AdminDealContact * const AdminDealContact = await prisma.adminDealContact.create({ * data: { * // ... data to create a AdminDealContact * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__AdminDealContactClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many AdminDealContacts. * @param {AdminDealContactCreateManyArgs} args - Arguments to create many AdminDealContacts. * @example * // Create many AdminDealContacts * const adminDealContact = await prisma.adminDealContact.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many AdminDealContacts and returns the data saved in the database. * @param {AdminDealContactCreateManyAndReturnArgs} args - Arguments to create many AdminDealContacts. * @example * // Create many AdminDealContacts * const adminDealContact = await prisma.adminDealContact.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many AdminDealContacts and only return the `dealId` * const adminDealContactWithDealIdOnly = await prisma.adminDealContact.createManyAndReturn({ * select: { dealId: 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 AdminDealContact. * @param {AdminDealContactDeleteArgs} args - Arguments to delete one AdminDealContact. * @example * // Delete one AdminDealContact * const AdminDealContact = await prisma.adminDealContact.delete({ * where: { * // ... filter to delete one AdminDealContact * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__AdminDealContactClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one AdminDealContact. * @param {AdminDealContactUpdateArgs} args - Arguments to update one AdminDealContact. * @example * // Update one AdminDealContact * const adminDealContact = await prisma.adminDealContact.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__AdminDealContactClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more AdminDealContacts. * @param {AdminDealContactDeleteManyArgs} args - Arguments to filter AdminDealContacts to delete. * @example * // Delete a few AdminDealContacts * const { count } = await prisma.adminDealContact.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more AdminDealContacts. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AdminDealContactUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many AdminDealContacts * const adminDealContact = await prisma.adminDealContact.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more AdminDealContacts and returns the data updated in the database. * @param {AdminDealContactUpdateManyAndReturnArgs} args - Arguments to update many AdminDealContacts. * @example * // Update many AdminDealContacts * const adminDealContact = await prisma.adminDealContact.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more AdminDealContacts and only return the `dealId` * const adminDealContactWithDealIdOnly = await prisma.adminDealContact.updateManyAndReturn({ * select: { dealId: 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 AdminDealContact. * @param {AdminDealContactUpsertArgs} args - Arguments to update or create a AdminDealContact. * @example * // Update or create a AdminDealContact * const adminDealContact = await prisma.adminDealContact.upsert({ * create: { * // ... data to create a AdminDealContact * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the AdminDealContact we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__AdminDealContactClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of AdminDealContacts. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AdminDealContactCountArgs} args - Arguments to filter AdminDealContacts to count. * @example * // Count the number of AdminDealContacts * const count = await prisma.adminDealContact.count({ * where: { * // ... the filter for the AdminDealContacts 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 AdminDealContact. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AdminDealContactAggregateArgs} 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 AdminDealContact. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AdminDealContactGroupByArgs} 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 AdminDealContactGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: AdminDealContactGroupByArgs['orderBy'] } : { orderBy?: AdminDealContactGroupByArgs['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 ? GetAdminDealContactGroupByPayload : Prisma.PrismaPromise /** * Fields of the AdminDealContact model */ readonly fields: AdminDealContactFieldRefs; } /** * The delegate class that acts as a "Promise-like" for AdminDealContact. * 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__AdminDealContactClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" deal = {}>(args?: Prisma.Subset>): Prisma.Prisma__AdminDealClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> contact = {}>(args?: Prisma.Subset>): Prisma.Prisma__AdminContactClient, 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 AdminDealContact model */ export interface AdminDealContactFieldRefs { readonly dealId: Prisma.FieldRef<"AdminDealContact", 'String'> readonly contactId: Prisma.FieldRef<"AdminDealContact", 'String'> readonly createdAt: Prisma.FieldRef<"AdminDealContact", 'DateTime'> readonly role: Prisma.FieldRef<"AdminDealContact", 'String'> readonly isPrimary: Prisma.FieldRef<"AdminDealContact", 'Boolean'> } // Custom InputTypes /** * AdminDealContact findUnique */ export type AdminDealContactFindUniqueArgs = { /** * Select specific fields to fetch from the AdminDealContact */ select?: Prisma.AdminDealContactSelect | null /** * Omit specific fields from the AdminDealContact */ omit?: Prisma.AdminDealContactOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminDealContactInclude | null /** * Filter, which AdminDealContact to fetch. */ where: Prisma.AdminDealContactWhereUniqueInput } /** * AdminDealContact findUniqueOrThrow */ export type AdminDealContactFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the AdminDealContact */ select?: Prisma.AdminDealContactSelect | null /** * Omit specific fields from the AdminDealContact */ omit?: Prisma.AdminDealContactOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminDealContactInclude | null /** * Filter, which AdminDealContact to fetch. */ where: Prisma.AdminDealContactWhereUniqueInput } /** * AdminDealContact findFirst */ export type AdminDealContactFindFirstArgs = { /** * Select specific fields to fetch from the AdminDealContact */ select?: Prisma.AdminDealContactSelect | null /** * Omit specific fields from the AdminDealContact */ omit?: Prisma.AdminDealContactOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminDealContactInclude | null /** * Filter, which AdminDealContact to fetch. */ where?: Prisma.AdminDealContactWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AdminDealContacts to fetch. */ orderBy?: Prisma.AdminDealContactOrderByWithRelationInput | Prisma.AdminDealContactOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for AdminDealContacts. */ cursor?: Prisma.AdminDealContactWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AdminDealContacts 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` AdminDealContacts. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of AdminDealContacts. */ distinct?: Prisma.AdminDealContactScalarFieldEnum | Prisma.AdminDealContactScalarFieldEnum[] } /** * AdminDealContact findFirstOrThrow */ export type AdminDealContactFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the AdminDealContact */ select?: Prisma.AdminDealContactSelect | null /** * Omit specific fields from the AdminDealContact */ omit?: Prisma.AdminDealContactOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminDealContactInclude | null /** * Filter, which AdminDealContact to fetch. */ where?: Prisma.AdminDealContactWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AdminDealContacts to fetch. */ orderBy?: Prisma.AdminDealContactOrderByWithRelationInput | Prisma.AdminDealContactOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for AdminDealContacts. */ cursor?: Prisma.AdminDealContactWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AdminDealContacts 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` AdminDealContacts. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of AdminDealContacts. */ distinct?: Prisma.AdminDealContactScalarFieldEnum | Prisma.AdminDealContactScalarFieldEnum[] } /** * AdminDealContact findMany */ export type AdminDealContactFindManyArgs = { /** * Select specific fields to fetch from the AdminDealContact */ select?: Prisma.AdminDealContactSelect | null /** * Omit specific fields from the AdminDealContact */ omit?: Prisma.AdminDealContactOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminDealContactInclude | null /** * Filter, which AdminDealContacts to fetch. */ where?: Prisma.AdminDealContactWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AdminDealContacts to fetch. */ orderBy?: Prisma.AdminDealContactOrderByWithRelationInput | Prisma.AdminDealContactOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing AdminDealContacts. */ cursor?: Prisma.AdminDealContactWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AdminDealContacts 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` AdminDealContacts. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of AdminDealContacts. */ distinct?: Prisma.AdminDealContactScalarFieldEnum | Prisma.AdminDealContactScalarFieldEnum[] } /** * AdminDealContact create */ export type AdminDealContactCreateArgs = { /** * Select specific fields to fetch from the AdminDealContact */ select?: Prisma.AdminDealContactSelect | null /** * Omit specific fields from the AdminDealContact */ omit?: Prisma.AdminDealContactOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminDealContactInclude | null /** * The data needed to create a AdminDealContact. */ data: Prisma.XOR } /** * AdminDealContact createMany */ export type AdminDealContactCreateManyArgs = { /** * The data used to create many AdminDealContacts. */ data: Prisma.AdminDealContactCreateManyInput | Prisma.AdminDealContactCreateManyInput[] skipDuplicates?: boolean } /** * AdminDealContact createManyAndReturn */ export type AdminDealContactCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the AdminDealContact */ select?: Prisma.AdminDealContactSelectCreateManyAndReturn | null /** * Omit specific fields from the AdminDealContact */ omit?: Prisma.AdminDealContactOmit | null /** * The data used to create many AdminDealContacts. */ data: Prisma.AdminDealContactCreateManyInput | Prisma.AdminDealContactCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminDealContactIncludeCreateManyAndReturn | null } /** * AdminDealContact update */ export type AdminDealContactUpdateArgs = { /** * Select specific fields to fetch from the AdminDealContact */ select?: Prisma.AdminDealContactSelect | null /** * Omit specific fields from the AdminDealContact */ omit?: Prisma.AdminDealContactOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminDealContactInclude | null /** * The data needed to update a AdminDealContact. */ data: Prisma.XOR /** * Choose, which AdminDealContact to update. */ where: Prisma.AdminDealContactWhereUniqueInput } /** * AdminDealContact updateMany */ export type AdminDealContactUpdateManyArgs = { /** * The data used to update AdminDealContacts. */ data: Prisma.XOR /** * Filter which AdminDealContacts to update */ where?: Prisma.AdminDealContactWhereInput /** * Limit how many AdminDealContacts to update. */ limit?: number } /** * AdminDealContact updateManyAndReturn */ export type AdminDealContactUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the AdminDealContact */ select?: Prisma.AdminDealContactSelectUpdateManyAndReturn | null /** * Omit specific fields from the AdminDealContact */ omit?: Prisma.AdminDealContactOmit | null /** * The data used to update AdminDealContacts. */ data: Prisma.XOR /** * Filter which AdminDealContacts to update */ where?: Prisma.AdminDealContactWhereInput /** * Limit how many AdminDealContacts to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminDealContactIncludeUpdateManyAndReturn | null } /** * AdminDealContact upsert */ export type AdminDealContactUpsertArgs = { /** * Select specific fields to fetch from the AdminDealContact */ select?: Prisma.AdminDealContactSelect | null /** * Omit specific fields from the AdminDealContact */ omit?: Prisma.AdminDealContactOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminDealContactInclude | null /** * The filter to search for the AdminDealContact to update in case it exists. */ where: Prisma.AdminDealContactWhereUniqueInput /** * In case the AdminDealContact found by the `where` argument doesn't exist, create a new AdminDealContact with this data. */ create: Prisma.XOR /** * In case the AdminDealContact was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * AdminDealContact delete */ export type AdminDealContactDeleteArgs = { /** * Select specific fields to fetch from the AdminDealContact */ select?: Prisma.AdminDealContactSelect | null /** * Omit specific fields from the AdminDealContact */ omit?: Prisma.AdminDealContactOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminDealContactInclude | null /** * Filter which AdminDealContact to delete. */ where: Prisma.AdminDealContactWhereUniqueInput } /** * AdminDealContact deleteMany */ export type AdminDealContactDeleteManyArgs = { /** * Filter which AdminDealContacts to delete */ where?: Prisma.AdminDealContactWhereInput /** * Limit how many AdminDealContacts to delete. */ limit?: number } /** * AdminDealContact without action */ export type AdminDealContactDefaultArgs = { /** * Select specific fields to fetch from the AdminDealContact */ select?: Prisma.AdminDealContactSelect | null /** * Omit specific fields from the AdminDealContact */ omit?: Prisma.AdminDealContactOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminDealContactInclude | null }