/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `TenantInboundAddress` 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 TenantInboundAddress * */ export type TenantInboundAddressModel = runtime.Types.Result.DefaultSelection export type AggregateTenantInboundAddress = { _count: TenantInboundAddressCountAggregateOutputType | null _min: TenantInboundAddressMinAggregateOutputType | null _max: TenantInboundAddressMaxAggregateOutputType | null } export type TenantInboundAddressMinAggregateOutputType = { id: string | null tenantId: string | null address: string | null } export type TenantInboundAddressMaxAggregateOutputType = { id: string | null tenantId: string | null address: string | null } export type TenantInboundAddressCountAggregateOutputType = { id: number tenantId: number address: number _all: number } export type TenantInboundAddressMinAggregateInputType = { id?: true tenantId?: true address?: true } export type TenantInboundAddressMaxAggregateInputType = { id?: true tenantId?: true address?: true } export type TenantInboundAddressCountAggregateInputType = { id?: true tenantId?: true address?: true _all?: true } export type TenantInboundAddressAggregateArgs = { /** * Filter which TenantInboundAddress to aggregate. */ where?: Prisma.TenantInboundAddressWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of TenantInboundAddresses to fetch. */ orderBy?: Prisma.TenantInboundAddressOrderByWithRelationInput | Prisma.TenantInboundAddressOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.TenantInboundAddressWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` TenantInboundAddresses 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` TenantInboundAddresses. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned TenantInboundAddresses **/ _count?: true | TenantInboundAddressCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: TenantInboundAddressMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: TenantInboundAddressMaxAggregateInputType } export type GetTenantInboundAddressAggregateType = { [P in keyof T & keyof AggregateTenantInboundAddress]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type TenantInboundAddressGroupByArgs = { where?: Prisma.TenantInboundAddressWhereInput orderBy?: Prisma.TenantInboundAddressOrderByWithAggregationInput | Prisma.TenantInboundAddressOrderByWithAggregationInput[] by: Prisma.TenantInboundAddressScalarFieldEnum[] | Prisma.TenantInboundAddressScalarFieldEnum having?: Prisma.TenantInboundAddressScalarWhereWithAggregatesInput take?: number skip?: number _count?: TenantInboundAddressCountAggregateInputType | true _min?: TenantInboundAddressMinAggregateInputType _max?: TenantInboundAddressMaxAggregateInputType } export type TenantInboundAddressGroupByOutputType = { id: string tenantId: string address: string _count: TenantInboundAddressCountAggregateOutputType | null _min: TenantInboundAddressMinAggregateOutputType | null _max: TenantInboundAddressMaxAggregateOutputType | null } export type GetTenantInboundAddressGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof TenantInboundAddressGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type TenantInboundAddressWhereInput = { AND?: Prisma.TenantInboundAddressWhereInput | Prisma.TenantInboundAddressWhereInput[] OR?: Prisma.TenantInboundAddressWhereInput[] NOT?: Prisma.TenantInboundAddressWhereInput | Prisma.TenantInboundAddressWhereInput[] id?: Prisma.StringFilter<"TenantInboundAddress"> | string tenantId?: Prisma.StringFilter<"TenantInboundAddress"> | string address?: Prisma.StringFilter<"TenantInboundAddress"> | string tenant?: Prisma.XOR email?: Prisma.EmailListRelationFilter } export type TenantInboundAddressOrderByWithRelationInput = { id?: Prisma.SortOrder tenantId?: Prisma.SortOrder address?: Prisma.SortOrder tenant?: Prisma.TenantOrderByWithRelationInput email?: Prisma.EmailOrderByRelationAggregateInput } export type TenantInboundAddressWhereUniqueInput = Prisma.AtLeast<{ id?: string address?: string AND?: Prisma.TenantInboundAddressWhereInput | Prisma.TenantInboundAddressWhereInput[] OR?: Prisma.TenantInboundAddressWhereInput[] NOT?: Prisma.TenantInboundAddressWhereInput | Prisma.TenantInboundAddressWhereInput[] tenantId?: Prisma.StringFilter<"TenantInboundAddress"> | string tenant?: Prisma.XOR email?: Prisma.EmailListRelationFilter }, "id" | "address"> export type TenantInboundAddressOrderByWithAggregationInput = { id?: Prisma.SortOrder tenantId?: Prisma.SortOrder address?: Prisma.SortOrder _count?: Prisma.TenantInboundAddressCountOrderByAggregateInput _max?: Prisma.TenantInboundAddressMaxOrderByAggregateInput _min?: Prisma.TenantInboundAddressMinOrderByAggregateInput } export type TenantInboundAddressScalarWhereWithAggregatesInput = { AND?: Prisma.TenantInboundAddressScalarWhereWithAggregatesInput | Prisma.TenantInboundAddressScalarWhereWithAggregatesInput[] OR?: Prisma.TenantInboundAddressScalarWhereWithAggregatesInput[] NOT?: Prisma.TenantInboundAddressScalarWhereWithAggregatesInput | Prisma.TenantInboundAddressScalarWhereWithAggregatesInput[] id?: Prisma.StringWithAggregatesFilter<"TenantInboundAddress"> | string tenantId?: Prisma.StringWithAggregatesFilter<"TenantInboundAddress"> | string address?: Prisma.StringWithAggregatesFilter<"TenantInboundAddress"> | string } export type TenantInboundAddressCreateInput = { id?: string address: string tenant: Prisma.TenantCreateNestedOneWithoutInboundAddressesInput email?: Prisma.EmailCreateNestedManyWithoutTenantInboundAddressInput } export type TenantInboundAddressUncheckedCreateInput = { id?: string tenantId: string address: string email?: Prisma.EmailUncheckedCreateNestedManyWithoutTenantInboundAddressInput } export type TenantInboundAddressUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string address?: Prisma.StringFieldUpdateOperationsInput | string tenant?: Prisma.TenantUpdateOneRequiredWithoutInboundAddressesNestedInput email?: Prisma.EmailUpdateManyWithoutTenantInboundAddressNestedInput } export type TenantInboundAddressUncheckedUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string address?: Prisma.StringFieldUpdateOperationsInput | string email?: Prisma.EmailUncheckedUpdateManyWithoutTenantInboundAddressNestedInput } export type TenantInboundAddressCreateManyInput = { id?: string tenantId: string address: string } export type TenantInboundAddressUpdateManyMutationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string address?: Prisma.StringFieldUpdateOperationsInput | string } export type TenantInboundAddressUncheckedUpdateManyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string address?: Prisma.StringFieldUpdateOperationsInput | string } export type TenantInboundAddressListRelationFilter = { every?: Prisma.TenantInboundAddressWhereInput some?: Prisma.TenantInboundAddressWhereInput none?: Prisma.TenantInboundAddressWhereInput } export type TenantInboundAddressOrderByRelationAggregateInput = { _count?: Prisma.SortOrder } export type TenantInboundAddressCountOrderByAggregateInput = { id?: Prisma.SortOrder tenantId?: Prisma.SortOrder address?: Prisma.SortOrder } export type TenantInboundAddressMaxOrderByAggregateInput = { id?: Prisma.SortOrder tenantId?: Prisma.SortOrder address?: Prisma.SortOrder } export type TenantInboundAddressMinOrderByAggregateInput = { id?: Prisma.SortOrder tenantId?: Prisma.SortOrder address?: Prisma.SortOrder } export type TenantInboundAddressNullableScalarRelationFilter = { is?: Prisma.TenantInboundAddressWhereInput | null isNot?: Prisma.TenantInboundAddressWhereInput | null } export type TenantInboundAddressCreateNestedManyWithoutTenantInput = { create?: Prisma.XOR | Prisma.TenantInboundAddressCreateWithoutTenantInput[] | Prisma.TenantInboundAddressUncheckedCreateWithoutTenantInput[] connectOrCreate?: Prisma.TenantInboundAddressCreateOrConnectWithoutTenantInput | Prisma.TenantInboundAddressCreateOrConnectWithoutTenantInput[] createMany?: Prisma.TenantInboundAddressCreateManyTenantInputEnvelope connect?: Prisma.TenantInboundAddressWhereUniqueInput | Prisma.TenantInboundAddressWhereUniqueInput[] } export type TenantInboundAddressUncheckedCreateNestedManyWithoutTenantInput = { create?: Prisma.XOR | Prisma.TenantInboundAddressCreateWithoutTenantInput[] | Prisma.TenantInboundAddressUncheckedCreateWithoutTenantInput[] connectOrCreate?: Prisma.TenantInboundAddressCreateOrConnectWithoutTenantInput | Prisma.TenantInboundAddressCreateOrConnectWithoutTenantInput[] createMany?: Prisma.TenantInboundAddressCreateManyTenantInputEnvelope connect?: Prisma.TenantInboundAddressWhereUniqueInput | Prisma.TenantInboundAddressWhereUniqueInput[] } export type TenantInboundAddressUpdateManyWithoutTenantNestedInput = { create?: Prisma.XOR | Prisma.TenantInboundAddressCreateWithoutTenantInput[] | Prisma.TenantInboundAddressUncheckedCreateWithoutTenantInput[] connectOrCreate?: Prisma.TenantInboundAddressCreateOrConnectWithoutTenantInput | Prisma.TenantInboundAddressCreateOrConnectWithoutTenantInput[] upsert?: Prisma.TenantInboundAddressUpsertWithWhereUniqueWithoutTenantInput | Prisma.TenantInboundAddressUpsertWithWhereUniqueWithoutTenantInput[] createMany?: Prisma.TenantInboundAddressCreateManyTenantInputEnvelope set?: Prisma.TenantInboundAddressWhereUniqueInput | Prisma.TenantInboundAddressWhereUniqueInput[] disconnect?: Prisma.TenantInboundAddressWhereUniqueInput | Prisma.TenantInboundAddressWhereUniqueInput[] delete?: Prisma.TenantInboundAddressWhereUniqueInput | Prisma.TenantInboundAddressWhereUniqueInput[] connect?: Prisma.TenantInboundAddressWhereUniqueInput | Prisma.TenantInboundAddressWhereUniqueInput[] update?: Prisma.TenantInboundAddressUpdateWithWhereUniqueWithoutTenantInput | Prisma.TenantInboundAddressUpdateWithWhereUniqueWithoutTenantInput[] updateMany?: Prisma.TenantInboundAddressUpdateManyWithWhereWithoutTenantInput | Prisma.TenantInboundAddressUpdateManyWithWhereWithoutTenantInput[] deleteMany?: Prisma.TenantInboundAddressScalarWhereInput | Prisma.TenantInboundAddressScalarWhereInput[] } export type TenantInboundAddressUncheckedUpdateManyWithoutTenantNestedInput = { create?: Prisma.XOR | Prisma.TenantInboundAddressCreateWithoutTenantInput[] | Prisma.TenantInboundAddressUncheckedCreateWithoutTenantInput[] connectOrCreate?: Prisma.TenantInboundAddressCreateOrConnectWithoutTenantInput | Prisma.TenantInboundAddressCreateOrConnectWithoutTenantInput[] upsert?: Prisma.TenantInboundAddressUpsertWithWhereUniqueWithoutTenantInput | Prisma.TenantInboundAddressUpsertWithWhereUniqueWithoutTenantInput[] createMany?: Prisma.TenantInboundAddressCreateManyTenantInputEnvelope set?: Prisma.TenantInboundAddressWhereUniqueInput | Prisma.TenantInboundAddressWhereUniqueInput[] disconnect?: Prisma.TenantInboundAddressWhereUniqueInput | Prisma.TenantInboundAddressWhereUniqueInput[] delete?: Prisma.TenantInboundAddressWhereUniqueInput | Prisma.TenantInboundAddressWhereUniqueInput[] connect?: Prisma.TenantInboundAddressWhereUniqueInput | Prisma.TenantInboundAddressWhereUniqueInput[] update?: Prisma.TenantInboundAddressUpdateWithWhereUniqueWithoutTenantInput | Prisma.TenantInboundAddressUpdateWithWhereUniqueWithoutTenantInput[] updateMany?: Prisma.TenantInboundAddressUpdateManyWithWhereWithoutTenantInput | Prisma.TenantInboundAddressUpdateManyWithWhereWithoutTenantInput[] deleteMany?: Prisma.TenantInboundAddressScalarWhereInput | Prisma.TenantInboundAddressScalarWhereInput[] } export type TenantInboundAddressCreateNestedOneWithoutEmailInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantInboundAddressCreateOrConnectWithoutEmailInput connect?: Prisma.TenantInboundAddressWhereUniqueInput } export type TenantInboundAddressUpdateOneWithoutEmailNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantInboundAddressCreateOrConnectWithoutEmailInput upsert?: Prisma.TenantInboundAddressUpsertWithoutEmailInput disconnect?: Prisma.TenantInboundAddressWhereInput | boolean delete?: Prisma.TenantInboundAddressWhereInput | boolean connect?: Prisma.TenantInboundAddressWhereUniqueInput update?: Prisma.XOR, Prisma.TenantInboundAddressUncheckedUpdateWithoutEmailInput> } export type TenantInboundAddressCreateWithoutTenantInput = { id?: string address: string email?: Prisma.EmailCreateNestedManyWithoutTenantInboundAddressInput } export type TenantInboundAddressUncheckedCreateWithoutTenantInput = { id?: string address: string email?: Prisma.EmailUncheckedCreateNestedManyWithoutTenantInboundAddressInput } export type TenantInboundAddressCreateOrConnectWithoutTenantInput = { where: Prisma.TenantInboundAddressWhereUniqueInput create: Prisma.XOR } export type TenantInboundAddressCreateManyTenantInputEnvelope = { data: Prisma.TenantInboundAddressCreateManyTenantInput | Prisma.TenantInboundAddressCreateManyTenantInput[] skipDuplicates?: boolean } export type TenantInboundAddressUpsertWithWhereUniqueWithoutTenantInput = { where: Prisma.TenantInboundAddressWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type TenantInboundAddressUpdateWithWhereUniqueWithoutTenantInput = { where: Prisma.TenantInboundAddressWhereUniqueInput data: Prisma.XOR } export type TenantInboundAddressUpdateManyWithWhereWithoutTenantInput = { where: Prisma.TenantInboundAddressScalarWhereInput data: Prisma.XOR } export type TenantInboundAddressScalarWhereInput = { AND?: Prisma.TenantInboundAddressScalarWhereInput | Prisma.TenantInboundAddressScalarWhereInput[] OR?: Prisma.TenantInboundAddressScalarWhereInput[] NOT?: Prisma.TenantInboundAddressScalarWhereInput | Prisma.TenantInboundAddressScalarWhereInput[] id?: Prisma.StringFilter<"TenantInboundAddress"> | string tenantId?: Prisma.StringFilter<"TenantInboundAddress"> | string address?: Prisma.StringFilter<"TenantInboundAddress"> | string } export type TenantInboundAddressCreateWithoutEmailInput = { id?: string address: string tenant: Prisma.TenantCreateNestedOneWithoutInboundAddressesInput } export type TenantInboundAddressUncheckedCreateWithoutEmailInput = { id?: string tenantId: string address: string } export type TenantInboundAddressCreateOrConnectWithoutEmailInput = { where: Prisma.TenantInboundAddressWhereUniqueInput create: Prisma.XOR } export type TenantInboundAddressUpsertWithoutEmailInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.TenantInboundAddressWhereInput } export type TenantInboundAddressUpdateToOneWithWhereWithoutEmailInput = { where?: Prisma.TenantInboundAddressWhereInput data: Prisma.XOR } export type TenantInboundAddressUpdateWithoutEmailInput = { id?: Prisma.StringFieldUpdateOperationsInput | string address?: Prisma.StringFieldUpdateOperationsInput | string tenant?: Prisma.TenantUpdateOneRequiredWithoutInboundAddressesNestedInput } export type TenantInboundAddressUncheckedUpdateWithoutEmailInput = { id?: Prisma.StringFieldUpdateOperationsInput | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string address?: Prisma.StringFieldUpdateOperationsInput | string } export type TenantInboundAddressCreateManyTenantInput = { id?: string address: string } export type TenantInboundAddressUpdateWithoutTenantInput = { id?: Prisma.StringFieldUpdateOperationsInput | string address?: Prisma.StringFieldUpdateOperationsInput | string email?: Prisma.EmailUpdateManyWithoutTenantInboundAddressNestedInput } export type TenantInboundAddressUncheckedUpdateWithoutTenantInput = { id?: Prisma.StringFieldUpdateOperationsInput | string address?: Prisma.StringFieldUpdateOperationsInput | string email?: Prisma.EmailUncheckedUpdateManyWithoutTenantInboundAddressNestedInput } export type TenantInboundAddressUncheckedUpdateManyWithoutTenantInput = { id?: Prisma.StringFieldUpdateOperationsInput | string address?: Prisma.StringFieldUpdateOperationsInput | string } /** * Count Type TenantInboundAddressCountOutputType */ export type TenantInboundAddressCountOutputType = { email: number } export type TenantInboundAddressCountOutputTypeSelect = { email?: boolean | TenantInboundAddressCountOutputTypeCountEmailArgs } /** * TenantInboundAddressCountOutputType without action */ export type TenantInboundAddressCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the TenantInboundAddressCountOutputType */ select?: Prisma.TenantInboundAddressCountOutputTypeSelect | null } /** * TenantInboundAddressCountOutputType without action */ export type TenantInboundAddressCountOutputTypeCountEmailArgs = { where?: Prisma.EmailWhereInput } export type TenantInboundAddressSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean tenantId?: boolean address?: boolean tenant?: boolean | Prisma.TenantDefaultArgs email?: boolean | Prisma.TenantInboundAddress$emailArgs _count?: boolean | Prisma.TenantInboundAddressCountOutputTypeDefaultArgs }, ExtArgs["result"]["tenantInboundAddress"]> export type TenantInboundAddressSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean tenantId?: boolean address?: boolean tenant?: boolean | Prisma.TenantDefaultArgs }, ExtArgs["result"]["tenantInboundAddress"]> export type TenantInboundAddressSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean tenantId?: boolean address?: boolean tenant?: boolean | Prisma.TenantDefaultArgs }, ExtArgs["result"]["tenantInboundAddress"]> export type TenantInboundAddressSelectScalar = { id?: boolean tenantId?: boolean address?: boolean } export type TenantInboundAddressOmit = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "address", ExtArgs["result"]["tenantInboundAddress"]> export type TenantInboundAddressInclude = { tenant?: boolean | Prisma.TenantDefaultArgs email?: boolean | Prisma.TenantInboundAddress$emailArgs _count?: boolean | Prisma.TenantInboundAddressCountOutputTypeDefaultArgs } export type TenantInboundAddressIncludeCreateManyAndReturn = { tenant?: boolean | Prisma.TenantDefaultArgs } export type TenantInboundAddressIncludeUpdateManyAndReturn = { tenant?: boolean | Prisma.TenantDefaultArgs } export type $TenantInboundAddressPayload = { name: "TenantInboundAddress" objects: { tenant: Prisma.$TenantPayload email: Prisma.$EmailPayload[] } scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string tenantId: string address: string }, ExtArgs["result"]["tenantInboundAddress"]> composites: {} } export type TenantInboundAddressGetPayload = runtime.Types.Result.GetResult export type TenantInboundAddressCountArgs = Omit & { select?: TenantInboundAddressCountAggregateInputType | true } export interface TenantInboundAddressDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['TenantInboundAddress'], meta: { name: 'TenantInboundAddress' } } /** * Find zero or one TenantInboundAddress that matches the filter. * @param {TenantInboundAddressFindUniqueArgs} args - Arguments to find a TenantInboundAddress * @example * // Get one TenantInboundAddress * const tenantInboundAddress = await prisma.tenantInboundAddress.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__TenantInboundAddressClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one TenantInboundAddress that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {TenantInboundAddressFindUniqueOrThrowArgs} args - Arguments to find a TenantInboundAddress * @example * // Get one TenantInboundAddress * const tenantInboundAddress = await prisma.tenantInboundAddress.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__TenantInboundAddressClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first TenantInboundAddress 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 {TenantInboundAddressFindFirstArgs} args - Arguments to find a TenantInboundAddress * @example * // Get one TenantInboundAddress * const tenantInboundAddress = await prisma.tenantInboundAddress.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__TenantInboundAddressClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first TenantInboundAddress 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 {TenantInboundAddressFindFirstOrThrowArgs} args - Arguments to find a TenantInboundAddress * @example * // Get one TenantInboundAddress * const tenantInboundAddress = await prisma.tenantInboundAddress.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__TenantInboundAddressClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more TenantInboundAddresses 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 {TenantInboundAddressFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all TenantInboundAddresses * const tenantInboundAddresses = await prisma.tenantInboundAddress.findMany() * * // Get first 10 TenantInboundAddresses * const tenantInboundAddresses = await prisma.tenantInboundAddress.findMany({ take: 10 }) * * // Only select the `id` * const tenantInboundAddressWithIdOnly = await prisma.tenantInboundAddress.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a TenantInboundAddress. * @param {TenantInboundAddressCreateArgs} args - Arguments to create a TenantInboundAddress. * @example * // Create one TenantInboundAddress * const TenantInboundAddress = await prisma.tenantInboundAddress.create({ * data: { * // ... data to create a TenantInboundAddress * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__TenantInboundAddressClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many TenantInboundAddresses. * @param {TenantInboundAddressCreateManyArgs} args - Arguments to create many TenantInboundAddresses. * @example * // Create many TenantInboundAddresses * const tenantInboundAddress = await prisma.tenantInboundAddress.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many TenantInboundAddresses and returns the data saved in the database. * @param {TenantInboundAddressCreateManyAndReturnArgs} args - Arguments to create many TenantInboundAddresses. * @example * // Create many TenantInboundAddresses * const tenantInboundAddress = await prisma.tenantInboundAddress.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many TenantInboundAddresses and only return the `id` * const tenantInboundAddressWithIdOnly = await prisma.tenantInboundAddress.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 TenantInboundAddress. * @param {TenantInboundAddressDeleteArgs} args - Arguments to delete one TenantInboundAddress. * @example * // Delete one TenantInboundAddress * const TenantInboundAddress = await prisma.tenantInboundAddress.delete({ * where: { * // ... filter to delete one TenantInboundAddress * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__TenantInboundAddressClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one TenantInboundAddress. * @param {TenantInboundAddressUpdateArgs} args - Arguments to update one TenantInboundAddress. * @example * // Update one TenantInboundAddress * const tenantInboundAddress = await prisma.tenantInboundAddress.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__TenantInboundAddressClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more TenantInboundAddresses. * @param {TenantInboundAddressDeleteManyArgs} args - Arguments to filter TenantInboundAddresses to delete. * @example * // Delete a few TenantInboundAddresses * const { count } = await prisma.tenantInboundAddress.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more TenantInboundAddresses. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TenantInboundAddressUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many TenantInboundAddresses * const tenantInboundAddress = await prisma.tenantInboundAddress.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more TenantInboundAddresses and returns the data updated in the database. * @param {TenantInboundAddressUpdateManyAndReturnArgs} args - Arguments to update many TenantInboundAddresses. * @example * // Update many TenantInboundAddresses * const tenantInboundAddress = await prisma.tenantInboundAddress.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more TenantInboundAddresses and only return the `id` * const tenantInboundAddressWithIdOnly = await prisma.tenantInboundAddress.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 TenantInboundAddress. * @param {TenantInboundAddressUpsertArgs} args - Arguments to update or create a TenantInboundAddress. * @example * // Update or create a TenantInboundAddress * const tenantInboundAddress = await prisma.tenantInboundAddress.upsert({ * create: { * // ... data to create a TenantInboundAddress * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the TenantInboundAddress we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__TenantInboundAddressClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of TenantInboundAddresses. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TenantInboundAddressCountArgs} args - Arguments to filter TenantInboundAddresses to count. * @example * // Count the number of TenantInboundAddresses * const count = await prisma.tenantInboundAddress.count({ * where: { * // ... the filter for the TenantInboundAddresses 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 TenantInboundAddress. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TenantInboundAddressAggregateArgs} 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 TenantInboundAddress. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TenantInboundAddressGroupByArgs} 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 TenantInboundAddressGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: TenantInboundAddressGroupByArgs['orderBy'] } : { orderBy?: TenantInboundAddressGroupByArgs['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 ? GetTenantInboundAddressGroupByPayload : Prisma.PrismaPromise /** * Fields of the TenantInboundAddress model */ readonly fields: TenantInboundAddressFieldRefs; } /** * The delegate class that acts as a "Promise-like" for TenantInboundAddress. * 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__TenantInboundAddressClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" tenant = {}>(args?: Prisma.Subset>): Prisma.Prisma__TenantClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> email = {}>(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 TenantInboundAddress model */ export interface TenantInboundAddressFieldRefs { readonly id: Prisma.FieldRef<"TenantInboundAddress", 'String'> readonly tenantId: Prisma.FieldRef<"TenantInboundAddress", 'String'> readonly address: Prisma.FieldRef<"TenantInboundAddress", 'String'> } // Custom InputTypes /** * TenantInboundAddress findUnique */ export type TenantInboundAddressFindUniqueArgs = { /** * Select specific fields to fetch from the TenantInboundAddress */ select?: Prisma.TenantInboundAddressSelect | null /** * Omit specific fields from the TenantInboundAddress */ omit?: Prisma.TenantInboundAddressOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TenantInboundAddressInclude | null /** * Filter, which TenantInboundAddress to fetch. */ where: Prisma.TenantInboundAddressWhereUniqueInput } /** * TenantInboundAddress findUniqueOrThrow */ export type TenantInboundAddressFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the TenantInboundAddress */ select?: Prisma.TenantInboundAddressSelect | null /** * Omit specific fields from the TenantInboundAddress */ omit?: Prisma.TenantInboundAddressOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TenantInboundAddressInclude | null /** * Filter, which TenantInboundAddress to fetch. */ where: Prisma.TenantInboundAddressWhereUniqueInput } /** * TenantInboundAddress findFirst */ export type TenantInboundAddressFindFirstArgs = { /** * Select specific fields to fetch from the TenantInboundAddress */ select?: Prisma.TenantInboundAddressSelect | null /** * Omit specific fields from the TenantInboundAddress */ omit?: Prisma.TenantInboundAddressOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TenantInboundAddressInclude | null /** * Filter, which TenantInboundAddress to fetch. */ where?: Prisma.TenantInboundAddressWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of TenantInboundAddresses to fetch. */ orderBy?: Prisma.TenantInboundAddressOrderByWithRelationInput | Prisma.TenantInboundAddressOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for TenantInboundAddresses. */ cursor?: Prisma.TenantInboundAddressWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` TenantInboundAddresses 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` TenantInboundAddresses. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of TenantInboundAddresses. */ distinct?: Prisma.TenantInboundAddressScalarFieldEnum | Prisma.TenantInboundAddressScalarFieldEnum[] } /** * TenantInboundAddress findFirstOrThrow */ export type TenantInboundAddressFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the TenantInboundAddress */ select?: Prisma.TenantInboundAddressSelect | null /** * Omit specific fields from the TenantInboundAddress */ omit?: Prisma.TenantInboundAddressOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TenantInboundAddressInclude | null /** * Filter, which TenantInboundAddress to fetch. */ where?: Prisma.TenantInboundAddressWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of TenantInboundAddresses to fetch. */ orderBy?: Prisma.TenantInboundAddressOrderByWithRelationInput | Prisma.TenantInboundAddressOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for TenantInboundAddresses. */ cursor?: Prisma.TenantInboundAddressWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` TenantInboundAddresses 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` TenantInboundAddresses. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of TenantInboundAddresses. */ distinct?: Prisma.TenantInboundAddressScalarFieldEnum | Prisma.TenantInboundAddressScalarFieldEnum[] } /** * TenantInboundAddress findMany */ export type TenantInboundAddressFindManyArgs = { /** * Select specific fields to fetch from the TenantInboundAddress */ select?: Prisma.TenantInboundAddressSelect | null /** * Omit specific fields from the TenantInboundAddress */ omit?: Prisma.TenantInboundAddressOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TenantInboundAddressInclude | null /** * Filter, which TenantInboundAddresses to fetch. */ where?: Prisma.TenantInboundAddressWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of TenantInboundAddresses to fetch. */ orderBy?: Prisma.TenantInboundAddressOrderByWithRelationInput | Prisma.TenantInboundAddressOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing TenantInboundAddresses. */ cursor?: Prisma.TenantInboundAddressWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` TenantInboundAddresses 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` TenantInboundAddresses. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of TenantInboundAddresses. */ distinct?: Prisma.TenantInboundAddressScalarFieldEnum | Prisma.TenantInboundAddressScalarFieldEnum[] } /** * TenantInboundAddress create */ export type TenantInboundAddressCreateArgs = { /** * Select specific fields to fetch from the TenantInboundAddress */ select?: Prisma.TenantInboundAddressSelect | null /** * Omit specific fields from the TenantInboundAddress */ omit?: Prisma.TenantInboundAddressOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TenantInboundAddressInclude | null /** * The data needed to create a TenantInboundAddress. */ data: Prisma.XOR } /** * TenantInboundAddress createMany */ export type TenantInboundAddressCreateManyArgs = { /** * The data used to create many TenantInboundAddresses. */ data: Prisma.TenantInboundAddressCreateManyInput | Prisma.TenantInboundAddressCreateManyInput[] skipDuplicates?: boolean } /** * TenantInboundAddress createManyAndReturn */ export type TenantInboundAddressCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the TenantInboundAddress */ select?: Prisma.TenantInboundAddressSelectCreateManyAndReturn | null /** * Omit specific fields from the TenantInboundAddress */ omit?: Prisma.TenantInboundAddressOmit | null /** * The data used to create many TenantInboundAddresses. */ data: Prisma.TenantInboundAddressCreateManyInput | Prisma.TenantInboundAddressCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: Prisma.TenantInboundAddressIncludeCreateManyAndReturn | null } /** * TenantInboundAddress update */ export type TenantInboundAddressUpdateArgs = { /** * Select specific fields to fetch from the TenantInboundAddress */ select?: Prisma.TenantInboundAddressSelect | null /** * Omit specific fields from the TenantInboundAddress */ omit?: Prisma.TenantInboundAddressOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TenantInboundAddressInclude | null /** * The data needed to update a TenantInboundAddress. */ data: Prisma.XOR /** * Choose, which TenantInboundAddress to update. */ where: Prisma.TenantInboundAddressWhereUniqueInput } /** * TenantInboundAddress updateMany */ export type TenantInboundAddressUpdateManyArgs = { /** * The data used to update TenantInboundAddresses. */ data: Prisma.XOR /** * Filter which TenantInboundAddresses to update */ where?: Prisma.TenantInboundAddressWhereInput /** * Limit how many TenantInboundAddresses to update. */ limit?: number } /** * TenantInboundAddress updateManyAndReturn */ export type TenantInboundAddressUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the TenantInboundAddress */ select?: Prisma.TenantInboundAddressSelectUpdateManyAndReturn | null /** * Omit specific fields from the TenantInboundAddress */ omit?: Prisma.TenantInboundAddressOmit | null /** * The data used to update TenantInboundAddresses. */ data: Prisma.XOR /** * Filter which TenantInboundAddresses to update */ where?: Prisma.TenantInboundAddressWhereInput /** * Limit how many TenantInboundAddresses to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: Prisma.TenantInboundAddressIncludeUpdateManyAndReturn | null } /** * TenantInboundAddress upsert */ export type TenantInboundAddressUpsertArgs = { /** * Select specific fields to fetch from the TenantInboundAddress */ select?: Prisma.TenantInboundAddressSelect | null /** * Omit specific fields from the TenantInboundAddress */ omit?: Prisma.TenantInboundAddressOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TenantInboundAddressInclude | null /** * The filter to search for the TenantInboundAddress to update in case it exists. */ where: Prisma.TenantInboundAddressWhereUniqueInput /** * In case the TenantInboundAddress found by the `where` argument doesn't exist, create a new TenantInboundAddress with this data. */ create: Prisma.XOR /** * In case the TenantInboundAddress was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * TenantInboundAddress delete */ export type TenantInboundAddressDeleteArgs = { /** * Select specific fields to fetch from the TenantInboundAddress */ select?: Prisma.TenantInboundAddressSelect | null /** * Omit specific fields from the TenantInboundAddress */ omit?: Prisma.TenantInboundAddressOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TenantInboundAddressInclude | null /** * Filter which TenantInboundAddress to delete. */ where: Prisma.TenantInboundAddressWhereUniqueInput } /** * TenantInboundAddress deleteMany */ export type TenantInboundAddressDeleteManyArgs = { /** * Filter which TenantInboundAddresses to delete */ where?: Prisma.TenantInboundAddressWhereInput /** * Limit how many TenantInboundAddresses to delete. */ limit?: number } /** * TenantInboundAddress.email */ export type TenantInboundAddress$emailArgs = { /** * Select specific fields to fetch from the Email */ select?: Prisma.EmailSelect | null /** * Omit specific fields from the Email */ omit?: Prisma.EmailOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.EmailInclude | null where?: Prisma.EmailWhereInput orderBy?: Prisma.EmailOrderByWithRelationInput | Prisma.EmailOrderByWithRelationInput[] cursor?: Prisma.EmailWhereUniqueInput take?: number skip?: number distinct?: Prisma.EmailScalarFieldEnum | Prisma.EmailScalarFieldEnum[] } /** * TenantInboundAddress without action */ export type TenantInboundAddressDefaultArgs = { /** * Select specific fields to fetch from the TenantInboundAddress */ select?: Prisma.TenantInboundAddressSelect | null /** * Omit specific fields from the TenantInboundAddress */ omit?: Prisma.TenantInboundAddressOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TenantInboundAddressInclude | null }