/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `phone_addr` 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" import type * as Prisma from "../internal/prismaNamespace" /** * Model phone_addr * */ export type phone_addrModel = runtime.Types.Result.DefaultSelection export type AggregatePhone_addr = { _count: Phone_addrCountAggregateOutputType | null _avg: Phone_addrAvgAggregateOutputType | null _sum: Phone_addrSumAggregateOutputType | null _min: Phone_addrMinAggregateOutputType | null _max: Phone_addrMaxAggregateOutputType | null } export type Phone_addrAvgAggregateOutputType = { id: number | null account_id: number | null } export type Phone_addrSumAggregateOutputType = { id: number | null account_id: number | null } export type Phone_addrMinAggregateOutputType = { id: number | null account_id: number | null phone: string | null street_number: string | null apt: string | null street_name: string | null city: string | null state: string | null zip: string | null first_name: string | null last_name: string | null info: string | null enhanced_capable: $Enums.phone_addr_enhanced_capable | null code_cauca: string | null class_service: string | null } export type Phone_addrMaxAggregateOutputType = { id: number | null account_id: number | null phone: string | null street_number: string | null apt: string | null street_name: string | null city: string | null state: string | null zip: string | null first_name: string | null last_name: string | null info: string | null enhanced_capable: $Enums.phone_addr_enhanced_capable | null code_cauca: string | null class_service: string | null } export type Phone_addrCountAggregateOutputType = { id: number account_id: number phone: number street_number: number apt: number street_name: number city: number state: number zip: number first_name: number last_name: number info: number enhanced_capable: number code_cauca: number class_service: number _all: number } export type Phone_addrAvgAggregateInputType = { id?: true account_id?: true } export type Phone_addrSumAggregateInputType = { id?: true account_id?: true } export type Phone_addrMinAggregateInputType = { id?: true account_id?: true phone?: true street_number?: true apt?: true street_name?: true city?: true state?: true zip?: true first_name?: true last_name?: true info?: true enhanced_capable?: true code_cauca?: true class_service?: true } export type Phone_addrMaxAggregateInputType = { id?: true account_id?: true phone?: true street_number?: true apt?: true street_name?: true city?: true state?: true zip?: true first_name?: true last_name?: true info?: true enhanced_capable?: true code_cauca?: true class_service?: true } export type Phone_addrCountAggregateInputType = { id?: true account_id?: true phone?: true street_number?: true apt?: true street_name?: true city?: true state?: true zip?: true first_name?: true last_name?: true info?: true enhanced_capable?: true code_cauca?: true class_service?: true _all?: true } export type Phone_addrAggregateArgs = { /** * Filter which phone_addr to aggregate. */ where?: Prisma.phone_addrWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of phone_addrs to fetch. */ orderBy?: Prisma.phone_addrOrderByWithRelationInput | Prisma.phone_addrOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.phone_addrWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` phone_addrs 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` phone_addrs. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned phone_addrs **/ _count?: true | Phone_addrCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: Phone_addrAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: Phone_addrSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: Phone_addrMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: Phone_addrMaxAggregateInputType } export type GetPhone_addrAggregateType = { [P in keyof T & keyof AggregatePhone_addr]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type phone_addrGroupByArgs = { where?: Prisma.phone_addrWhereInput orderBy?: Prisma.phone_addrOrderByWithAggregationInput | Prisma.phone_addrOrderByWithAggregationInput[] by: Prisma.Phone_addrScalarFieldEnum[] | Prisma.Phone_addrScalarFieldEnum having?: Prisma.phone_addrScalarWhereWithAggregatesInput take?: number skip?: number _count?: Phone_addrCountAggregateInputType | true _avg?: Phone_addrAvgAggregateInputType _sum?: Phone_addrSumAggregateInputType _min?: Phone_addrMinAggregateInputType _max?: Phone_addrMaxAggregateInputType } export type Phone_addrGroupByOutputType = { id: number account_id: number phone: string street_number: string apt: string street_name: string city: string state: string zip: string first_name: string last_name: string info: string enhanced_capable: $Enums.phone_addr_enhanced_capable code_cauca: string | null class_service: string _count: Phone_addrCountAggregateOutputType | null _avg: Phone_addrAvgAggregateOutputType | null _sum: Phone_addrSumAggregateOutputType | null _min: Phone_addrMinAggregateOutputType | null _max: Phone_addrMaxAggregateOutputType | null } type GetPhone_addrGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof Phone_addrGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type phone_addrWhereInput = { AND?: Prisma.phone_addrWhereInput | Prisma.phone_addrWhereInput[] OR?: Prisma.phone_addrWhereInput[] NOT?: Prisma.phone_addrWhereInput | Prisma.phone_addrWhereInput[] id?: Prisma.IntFilter<"phone_addr"> | number account_id?: Prisma.IntFilter<"phone_addr"> | number phone?: Prisma.StringFilter<"phone_addr"> | string street_number?: Prisma.StringFilter<"phone_addr"> | string apt?: Prisma.StringFilter<"phone_addr"> | string street_name?: Prisma.StringFilter<"phone_addr"> | string city?: Prisma.StringFilter<"phone_addr"> | string state?: Prisma.StringFilter<"phone_addr"> | string zip?: Prisma.StringFilter<"phone_addr"> | string first_name?: Prisma.StringFilter<"phone_addr"> | string last_name?: Prisma.StringFilter<"phone_addr"> | string info?: Prisma.StringFilter<"phone_addr"> | string enhanced_capable?: Prisma.Enumphone_addr_enhanced_capableFilter<"phone_addr"> | $Enums.phone_addr_enhanced_capable code_cauca?: Prisma.StringNullableFilter<"phone_addr"> | string | null class_service?: Prisma.StringFilter<"phone_addr"> | string } export type phone_addrOrderByWithRelationInput = { id?: Prisma.SortOrder account_id?: Prisma.SortOrder phone?: Prisma.SortOrder street_number?: Prisma.SortOrder apt?: Prisma.SortOrder street_name?: Prisma.SortOrder city?: Prisma.SortOrder state?: Prisma.SortOrder zip?: Prisma.SortOrder first_name?: Prisma.SortOrder last_name?: Prisma.SortOrder info?: Prisma.SortOrder enhanced_capable?: Prisma.SortOrder code_cauca?: Prisma.SortOrderInput | Prisma.SortOrder class_service?: Prisma.SortOrder _relevance?: Prisma.phone_addrOrderByRelevanceInput } export type phone_addrWhereUniqueInput = Prisma.AtLeast<{ id?: number AND?: Prisma.phone_addrWhereInput | Prisma.phone_addrWhereInput[] OR?: Prisma.phone_addrWhereInput[] NOT?: Prisma.phone_addrWhereInput | Prisma.phone_addrWhereInput[] account_id?: Prisma.IntFilter<"phone_addr"> | number phone?: Prisma.StringFilter<"phone_addr"> | string street_number?: Prisma.StringFilter<"phone_addr"> | string apt?: Prisma.StringFilter<"phone_addr"> | string street_name?: Prisma.StringFilter<"phone_addr"> | string city?: Prisma.StringFilter<"phone_addr"> | string state?: Prisma.StringFilter<"phone_addr"> | string zip?: Prisma.StringFilter<"phone_addr"> | string first_name?: Prisma.StringFilter<"phone_addr"> | string last_name?: Prisma.StringFilter<"phone_addr"> | string info?: Prisma.StringFilter<"phone_addr"> | string enhanced_capable?: Prisma.Enumphone_addr_enhanced_capableFilter<"phone_addr"> | $Enums.phone_addr_enhanced_capable code_cauca?: Prisma.StringNullableFilter<"phone_addr"> | string | null class_service?: Prisma.StringFilter<"phone_addr"> | string }, "id"> export type phone_addrOrderByWithAggregationInput = { id?: Prisma.SortOrder account_id?: Prisma.SortOrder phone?: Prisma.SortOrder street_number?: Prisma.SortOrder apt?: Prisma.SortOrder street_name?: Prisma.SortOrder city?: Prisma.SortOrder state?: Prisma.SortOrder zip?: Prisma.SortOrder first_name?: Prisma.SortOrder last_name?: Prisma.SortOrder info?: Prisma.SortOrder enhanced_capable?: Prisma.SortOrder code_cauca?: Prisma.SortOrderInput | Prisma.SortOrder class_service?: Prisma.SortOrder _count?: Prisma.phone_addrCountOrderByAggregateInput _avg?: Prisma.phone_addrAvgOrderByAggregateInput _max?: Prisma.phone_addrMaxOrderByAggregateInput _min?: Prisma.phone_addrMinOrderByAggregateInput _sum?: Prisma.phone_addrSumOrderByAggregateInput } export type phone_addrScalarWhereWithAggregatesInput = { AND?: Prisma.phone_addrScalarWhereWithAggregatesInput | Prisma.phone_addrScalarWhereWithAggregatesInput[] OR?: Prisma.phone_addrScalarWhereWithAggregatesInput[] NOT?: Prisma.phone_addrScalarWhereWithAggregatesInput | Prisma.phone_addrScalarWhereWithAggregatesInput[] id?: Prisma.IntWithAggregatesFilter<"phone_addr"> | number account_id?: Prisma.IntWithAggregatesFilter<"phone_addr"> | number phone?: Prisma.StringWithAggregatesFilter<"phone_addr"> | string street_number?: Prisma.StringWithAggregatesFilter<"phone_addr"> | string apt?: Prisma.StringWithAggregatesFilter<"phone_addr"> | string street_name?: Prisma.StringWithAggregatesFilter<"phone_addr"> | string city?: Prisma.StringWithAggregatesFilter<"phone_addr"> | string state?: Prisma.StringWithAggregatesFilter<"phone_addr"> | string zip?: Prisma.StringWithAggregatesFilter<"phone_addr"> | string first_name?: Prisma.StringWithAggregatesFilter<"phone_addr"> | string last_name?: Prisma.StringWithAggregatesFilter<"phone_addr"> | string info?: Prisma.StringWithAggregatesFilter<"phone_addr"> | string enhanced_capable?: Prisma.Enumphone_addr_enhanced_capableWithAggregatesFilter<"phone_addr"> | $Enums.phone_addr_enhanced_capable code_cauca?: Prisma.StringNullableWithAggregatesFilter<"phone_addr"> | string | null class_service?: Prisma.StringWithAggregatesFilter<"phone_addr"> | string } export type phone_addrCreateInput = { account_id: number phone: string street_number: string apt: string street_name: string city: string state: string zip: string first_name: string last_name: string info: string enhanced_capable?: $Enums.phone_addr_enhanced_capable code_cauca?: string | null class_service?: string } export type phone_addrUncheckedCreateInput = { id?: number account_id: number phone: string street_number: string apt: string street_name: string city: string state: string zip: string first_name: string last_name: string info: string enhanced_capable?: $Enums.phone_addr_enhanced_capable code_cauca?: string | null class_service?: string } export type phone_addrUpdateInput = { account_id?: Prisma.IntFieldUpdateOperationsInput | number phone?: Prisma.StringFieldUpdateOperationsInput | string street_number?: Prisma.StringFieldUpdateOperationsInput | string apt?: Prisma.StringFieldUpdateOperationsInput | string street_name?: Prisma.StringFieldUpdateOperationsInput | string city?: Prisma.StringFieldUpdateOperationsInput | string state?: Prisma.StringFieldUpdateOperationsInput | string zip?: Prisma.StringFieldUpdateOperationsInput | string first_name?: Prisma.StringFieldUpdateOperationsInput | string last_name?: Prisma.StringFieldUpdateOperationsInput | string info?: Prisma.StringFieldUpdateOperationsInput | string enhanced_capable?: Prisma.Enumphone_addr_enhanced_capableFieldUpdateOperationsInput | $Enums.phone_addr_enhanced_capable code_cauca?: Prisma.NullableStringFieldUpdateOperationsInput | string | null class_service?: Prisma.StringFieldUpdateOperationsInput | string } export type phone_addrUncheckedUpdateInput = { id?: Prisma.IntFieldUpdateOperationsInput | number account_id?: Prisma.IntFieldUpdateOperationsInput | number phone?: Prisma.StringFieldUpdateOperationsInput | string street_number?: Prisma.StringFieldUpdateOperationsInput | string apt?: Prisma.StringFieldUpdateOperationsInput | string street_name?: Prisma.StringFieldUpdateOperationsInput | string city?: Prisma.StringFieldUpdateOperationsInput | string state?: Prisma.StringFieldUpdateOperationsInput | string zip?: Prisma.StringFieldUpdateOperationsInput | string first_name?: Prisma.StringFieldUpdateOperationsInput | string last_name?: Prisma.StringFieldUpdateOperationsInput | string info?: Prisma.StringFieldUpdateOperationsInput | string enhanced_capable?: Prisma.Enumphone_addr_enhanced_capableFieldUpdateOperationsInput | $Enums.phone_addr_enhanced_capable code_cauca?: Prisma.NullableStringFieldUpdateOperationsInput | string | null class_service?: Prisma.StringFieldUpdateOperationsInput | string } export type phone_addrCreateManyInput = { id?: number account_id: number phone: string street_number: string apt: string street_name: string city: string state: string zip: string first_name: string last_name: string info: string enhanced_capable?: $Enums.phone_addr_enhanced_capable code_cauca?: string | null class_service?: string } export type phone_addrUpdateManyMutationInput = { account_id?: Prisma.IntFieldUpdateOperationsInput | number phone?: Prisma.StringFieldUpdateOperationsInput | string street_number?: Prisma.StringFieldUpdateOperationsInput | string apt?: Prisma.StringFieldUpdateOperationsInput | string street_name?: Prisma.StringFieldUpdateOperationsInput | string city?: Prisma.StringFieldUpdateOperationsInput | string state?: Prisma.StringFieldUpdateOperationsInput | string zip?: Prisma.StringFieldUpdateOperationsInput | string first_name?: Prisma.StringFieldUpdateOperationsInput | string last_name?: Prisma.StringFieldUpdateOperationsInput | string info?: Prisma.StringFieldUpdateOperationsInput | string enhanced_capable?: Prisma.Enumphone_addr_enhanced_capableFieldUpdateOperationsInput | $Enums.phone_addr_enhanced_capable code_cauca?: Prisma.NullableStringFieldUpdateOperationsInput | string | null class_service?: Prisma.StringFieldUpdateOperationsInput | string } export type phone_addrUncheckedUpdateManyInput = { id?: Prisma.IntFieldUpdateOperationsInput | number account_id?: Prisma.IntFieldUpdateOperationsInput | number phone?: Prisma.StringFieldUpdateOperationsInput | string street_number?: Prisma.StringFieldUpdateOperationsInput | string apt?: Prisma.StringFieldUpdateOperationsInput | string street_name?: Prisma.StringFieldUpdateOperationsInput | string city?: Prisma.StringFieldUpdateOperationsInput | string state?: Prisma.StringFieldUpdateOperationsInput | string zip?: Prisma.StringFieldUpdateOperationsInput | string first_name?: Prisma.StringFieldUpdateOperationsInput | string last_name?: Prisma.StringFieldUpdateOperationsInput | string info?: Prisma.StringFieldUpdateOperationsInput | string enhanced_capable?: Prisma.Enumphone_addr_enhanced_capableFieldUpdateOperationsInput | $Enums.phone_addr_enhanced_capable code_cauca?: Prisma.NullableStringFieldUpdateOperationsInput | string | null class_service?: Prisma.StringFieldUpdateOperationsInput | string } export type phone_addrOrderByRelevanceInput = { fields: Prisma.phone_addrOrderByRelevanceFieldEnum | Prisma.phone_addrOrderByRelevanceFieldEnum[] sort: Prisma.SortOrder search: string } export type phone_addrCountOrderByAggregateInput = { id?: Prisma.SortOrder account_id?: Prisma.SortOrder phone?: Prisma.SortOrder street_number?: Prisma.SortOrder apt?: Prisma.SortOrder street_name?: Prisma.SortOrder city?: Prisma.SortOrder state?: Prisma.SortOrder zip?: Prisma.SortOrder first_name?: Prisma.SortOrder last_name?: Prisma.SortOrder info?: Prisma.SortOrder enhanced_capable?: Prisma.SortOrder code_cauca?: Prisma.SortOrder class_service?: Prisma.SortOrder } export type phone_addrAvgOrderByAggregateInput = { id?: Prisma.SortOrder account_id?: Prisma.SortOrder } export type phone_addrMaxOrderByAggregateInput = { id?: Prisma.SortOrder account_id?: Prisma.SortOrder phone?: Prisma.SortOrder street_number?: Prisma.SortOrder apt?: Prisma.SortOrder street_name?: Prisma.SortOrder city?: Prisma.SortOrder state?: Prisma.SortOrder zip?: Prisma.SortOrder first_name?: Prisma.SortOrder last_name?: Prisma.SortOrder info?: Prisma.SortOrder enhanced_capable?: Prisma.SortOrder code_cauca?: Prisma.SortOrder class_service?: Prisma.SortOrder } export type phone_addrMinOrderByAggregateInput = { id?: Prisma.SortOrder account_id?: Prisma.SortOrder phone?: Prisma.SortOrder street_number?: Prisma.SortOrder apt?: Prisma.SortOrder street_name?: Prisma.SortOrder city?: Prisma.SortOrder state?: Prisma.SortOrder zip?: Prisma.SortOrder first_name?: Prisma.SortOrder last_name?: Prisma.SortOrder info?: Prisma.SortOrder enhanced_capable?: Prisma.SortOrder code_cauca?: Prisma.SortOrder class_service?: Prisma.SortOrder } export type phone_addrSumOrderByAggregateInput = { id?: Prisma.SortOrder account_id?: Prisma.SortOrder } export type Enumphone_addr_enhanced_capableFieldUpdateOperationsInput = { set?: $Enums.phone_addr_enhanced_capable } export type phone_addrSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean account_id?: boolean phone?: boolean street_number?: boolean apt?: boolean street_name?: boolean city?: boolean state?: boolean zip?: boolean first_name?: boolean last_name?: boolean info?: boolean enhanced_capable?: boolean code_cauca?: boolean class_service?: boolean }, ExtArgs["result"]["phone_addr"]> export type phone_addrSelectScalar = { id?: boolean account_id?: boolean phone?: boolean street_number?: boolean apt?: boolean street_name?: boolean city?: boolean state?: boolean zip?: boolean first_name?: boolean last_name?: boolean info?: boolean enhanced_capable?: boolean code_cauca?: boolean class_service?: boolean } export type phone_addrOmit = runtime.Types.Extensions.GetOmit<"id" | "account_id" | "phone" | "street_number" | "apt" | "street_name" | "city" | "state" | "zip" | "first_name" | "last_name" | "info" | "enhanced_capable" | "code_cauca" | "class_service", ExtArgs["result"]["phone_addr"]> export type $phone_addrPayload = { name: "phone_addr" objects: {} scalars: runtime.Types.Extensions.GetPayloadResult<{ id: number account_id: number phone: string street_number: string apt: string street_name: string city: string state: string zip: string first_name: string last_name: string info: string enhanced_capable: $Enums.phone_addr_enhanced_capable code_cauca: string | null class_service: string }, ExtArgs["result"]["phone_addr"]> composites: {} } export type phone_addrGetPayload = runtime.Types.Result.GetResult export type phone_addrCountArgs = Omit & { select?: Phone_addrCountAggregateInputType | true } export interface phone_addrDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['phone_addr'], meta: { name: 'phone_addr' } } /** * Find zero or one Phone_addr that matches the filter. * @param {phone_addrFindUniqueArgs} args - Arguments to find a Phone_addr * @example * // Get one Phone_addr * const phone_addr = await prisma.phone_addr.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__phone_addrClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Phone_addr that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {phone_addrFindUniqueOrThrowArgs} args - Arguments to find a Phone_addr * @example * // Get one Phone_addr * const phone_addr = await prisma.phone_addr.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__phone_addrClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Phone_addr 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 {phone_addrFindFirstArgs} args - Arguments to find a Phone_addr * @example * // Get one Phone_addr * const phone_addr = await prisma.phone_addr.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__phone_addrClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Phone_addr 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 {phone_addrFindFirstOrThrowArgs} args - Arguments to find a Phone_addr * @example * // Get one Phone_addr * const phone_addr = await prisma.phone_addr.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__phone_addrClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Phone_addrs 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 {phone_addrFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Phone_addrs * const phone_addrs = await prisma.phone_addr.findMany() * * // Get first 10 Phone_addrs * const phone_addrs = await prisma.phone_addr.findMany({ take: 10 }) * * // Only select the `id` * const phone_addrWithIdOnly = await prisma.phone_addr.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a Phone_addr. * @param {phone_addrCreateArgs} args - Arguments to create a Phone_addr. * @example * // Create one Phone_addr * const Phone_addr = await prisma.phone_addr.create({ * data: { * // ... data to create a Phone_addr * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__phone_addrClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Phone_addrs. * @param {phone_addrCreateManyArgs} args - Arguments to create many Phone_addrs. * @example * // Create many Phone_addrs * const phone_addr = await prisma.phone_addr.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Delete a Phone_addr. * @param {phone_addrDeleteArgs} args - Arguments to delete one Phone_addr. * @example * // Delete one Phone_addr * const Phone_addr = await prisma.phone_addr.delete({ * where: { * // ... filter to delete one Phone_addr * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__phone_addrClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Phone_addr. * @param {phone_addrUpdateArgs} args - Arguments to update one Phone_addr. * @example * // Update one Phone_addr * const phone_addr = await prisma.phone_addr.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__phone_addrClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Phone_addrs. * @param {phone_addrDeleteManyArgs} args - Arguments to filter Phone_addrs to delete. * @example * // Delete a few Phone_addrs * const { count } = await prisma.phone_addr.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Phone_addrs. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {phone_addrUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Phone_addrs * const phone_addr = await prisma.phone_addr.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create or update one Phone_addr. * @param {phone_addrUpsertArgs} args - Arguments to update or create a Phone_addr. * @example * // Update or create a Phone_addr * const phone_addr = await prisma.phone_addr.upsert({ * create: { * // ... data to create a Phone_addr * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Phone_addr we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__phone_addrClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Phone_addrs. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {phone_addrCountArgs} args - Arguments to filter Phone_addrs to count. * @example * // Count the number of Phone_addrs * const count = await prisma.phone_addr.count({ * where: { * // ... the filter for the Phone_addrs 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 Phone_addr. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {Phone_addrAggregateArgs} 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 Phone_addr. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {phone_addrGroupByArgs} 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 phone_addrGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: phone_addrGroupByArgs['orderBy'] } : { orderBy?: phone_addrGroupByArgs['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 ? GetPhone_addrGroupByPayload : Prisma.PrismaPromise /** * Fields of the phone_addr model */ readonly fields: phone_addrFieldRefs; } /** * The delegate class that acts as a "Promise-like" for phone_addr. * 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__phone_addrClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * Attaches a callback for only the rejection of the Promise. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of the callback. */ catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The * resolved value cannot be modified from the callback. * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). * @returns A Promise for the completion of the callback. */ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise } /** * Fields of the phone_addr model */ export interface phone_addrFieldRefs { readonly id: Prisma.FieldRef<"phone_addr", 'Int'> readonly account_id: Prisma.FieldRef<"phone_addr", 'Int'> readonly phone: Prisma.FieldRef<"phone_addr", 'String'> readonly street_number: Prisma.FieldRef<"phone_addr", 'String'> readonly apt: Prisma.FieldRef<"phone_addr", 'String'> readonly street_name: Prisma.FieldRef<"phone_addr", 'String'> readonly city: Prisma.FieldRef<"phone_addr", 'String'> readonly state: Prisma.FieldRef<"phone_addr", 'String'> readonly zip: Prisma.FieldRef<"phone_addr", 'String'> readonly first_name: Prisma.FieldRef<"phone_addr", 'String'> readonly last_name: Prisma.FieldRef<"phone_addr", 'String'> readonly info: Prisma.FieldRef<"phone_addr", 'String'> readonly enhanced_capable: Prisma.FieldRef<"phone_addr", 'phone_addr_enhanced_capable'> readonly code_cauca: Prisma.FieldRef<"phone_addr", 'String'> readonly class_service: Prisma.FieldRef<"phone_addr", 'String'> } // Custom InputTypes /** * phone_addr findUnique */ export type phone_addrFindUniqueArgs = { /** * Select specific fields to fetch from the phone_addr */ select?: Prisma.phone_addrSelect | null /** * Omit specific fields from the phone_addr */ omit?: Prisma.phone_addrOmit | null /** * Filter, which phone_addr to fetch. */ where: Prisma.phone_addrWhereUniqueInput } /** * phone_addr findUniqueOrThrow */ export type phone_addrFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the phone_addr */ select?: Prisma.phone_addrSelect | null /** * Omit specific fields from the phone_addr */ omit?: Prisma.phone_addrOmit | null /** * Filter, which phone_addr to fetch. */ where: Prisma.phone_addrWhereUniqueInput } /** * phone_addr findFirst */ export type phone_addrFindFirstArgs = { /** * Select specific fields to fetch from the phone_addr */ select?: Prisma.phone_addrSelect | null /** * Omit specific fields from the phone_addr */ omit?: Prisma.phone_addrOmit | null /** * Filter, which phone_addr to fetch. */ where?: Prisma.phone_addrWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of phone_addrs to fetch. */ orderBy?: Prisma.phone_addrOrderByWithRelationInput | Prisma.phone_addrOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for phone_addrs. */ cursor?: Prisma.phone_addrWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` phone_addrs 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` phone_addrs. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of phone_addrs. */ distinct?: Prisma.Phone_addrScalarFieldEnum | Prisma.Phone_addrScalarFieldEnum[] } /** * phone_addr findFirstOrThrow */ export type phone_addrFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the phone_addr */ select?: Prisma.phone_addrSelect | null /** * Omit specific fields from the phone_addr */ omit?: Prisma.phone_addrOmit | null /** * Filter, which phone_addr to fetch. */ where?: Prisma.phone_addrWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of phone_addrs to fetch. */ orderBy?: Prisma.phone_addrOrderByWithRelationInput | Prisma.phone_addrOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for phone_addrs. */ cursor?: Prisma.phone_addrWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` phone_addrs 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` phone_addrs. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of phone_addrs. */ distinct?: Prisma.Phone_addrScalarFieldEnum | Prisma.Phone_addrScalarFieldEnum[] } /** * phone_addr findMany */ export type phone_addrFindManyArgs = { /** * Select specific fields to fetch from the phone_addr */ select?: Prisma.phone_addrSelect | null /** * Omit specific fields from the phone_addr */ omit?: Prisma.phone_addrOmit | null /** * Filter, which phone_addrs to fetch. */ where?: Prisma.phone_addrWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of phone_addrs to fetch. */ orderBy?: Prisma.phone_addrOrderByWithRelationInput | Prisma.phone_addrOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing phone_addrs. */ cursor?: Prisma.phone_addrWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` phone_addrs 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` phone_addrs. */ skip?: number distinct?: Prisma.Phone_addrScalarFieldEnum | Prisma.Phone_addrScalarFieldEnum[] } /** * phone_addr create */ export type phone_addrCreateArgs = { /** * Select specific fields to fetch from the phone_addr */ select?: Prisma.phone_addrSelect | null /** * Omit specific fields from the phone_addr */ omit?: Prisma.phone_addrOmit | null /** * The data needed to create a phone_addr. */ data: Prisma.XOR } /** * phone_addr createMany */ export type phone_addrCreateManyArgs = { /** * The data used to create many phone_addrs. */ data: Prisma.phone_addrCreateManyInput | Prisma.phone_addrCreateManyInput[] skipDuplicates?: boolean } /** * phone_addr update */ export type phone_addrUpdateArgs = { /** * Select specific fields to fetch from the phone_addr */ select?: Prisma.phone_addrSelect | null /** * Omit specific fields from the phone_addr */ omit?: Prisma.phone_addrOmit | null /** * The data needed to update a phone_addr. */ data: Prisma.XOR /** * Choose, which phone_addr to update. */ where: Prisma.phone_addrWhereUniqueInput } /** * phone_addr updateMany */ export type phone_addrUpdateManyArgs = { /** * The data used to update phone_addrs. */ data: Prisma.XOR /** * Filter which phone_addrs to update */ where?: Prisma.phone_addrWhereInput /** * Limit how many phone_addrs to update. */ limit?: number } /** * phone_addr upsert */ export type phone_addrUpsertArgs = { /** * Select specific fields to fetch from the phone_addr */ select?: Prisma.phone_addrSelect | null /** * Omit specific fields from the phone_addr */ omit?: Prisma.phone_addrOmit | null /** * The filter to search for the phone_addr to update in case it exists. */ where: Prisma.phone_addrWhereUniqueInput /** * In case the phone_addr found by the `where` argument doesn't exist, create a new phone_addr with this data. */ create: Prisma.XOR /** * In case the phone_addr was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * phone_addr delete */ export type phone_addrDeleteArgs = { /** * Select specific fields to fetch from the phone_addr */ select?: Prisma.phone_addrSelect | null /** * Omit specific fields from the phone_addr */ omit?: Prisma.phone_addrOmit | null /** * Filter which phone_addr to delete. */ where: Prisma.phone_addrWhereUniqueInput } /** * phone_addr deleteMany */ export type phone_addrDeleteManyArgs = { /** * Filter which phone_addrs to delete */ where?: Prisma.phone_addrWhereInput /** * Limit how many phone_addrs to delete. */ limit?: number } /** * phone_addr without action */ export type phone_addrDefaultArgs = { /** * Select specific fields to fetch from the phone_addr */ select?: Prisma.phone_addrSelect | null /** * Omit specific fields from the phone_addr */ omit?: Prisma.phone_addrOmit | null }