1350 lines
47 KiB
TypeScript
1350 lines
47 KiB
TypeScript
|
|
/* !!! 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<Prisma.$phone_addrPayload>
|
|
|
|
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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* 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<T extends Phone_addrAggregateArgs> = {
|
|
[P in keyof T & keyof AggregatePhone_addr]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregatePhone_addr[P]>
|
|
: Prisma.GetScalarType<T[P], AggregatePhone_addr[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type phone_addrGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
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<T extends phone_addrGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<Phone_addrGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof Phone_addrGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], Phone_addrGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], Phone_addrGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
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<S extends boolean | null | undefined | phone_addrDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$phone_addrPayload, S>
|
|
|
|
export type phone_addrCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<phone_addrFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: Phone_addrCountAggregateInputType | true
|
|
}
|
|
|
|
export interface phone_addrDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['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<T extends phone_addrFindUniqueArgs>(args: Prisma.SelectSubset<T, phone_addrFindUniqueArgs<ExtArgs>>): Prisma.Prisma__phone_addrClient<runtime.Types.Result.GetResult<Prisma.$phone_addrPayload<ExtArgs>, 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<T extends phone_addrFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, phone_addrFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__phone_addrClient<runtime.Types.Result.GetResult<Prisma.$phone_addrPayload<ExtArgs>, 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<T extends phone_addrFindFirstArgs>(args?: Prisma.SelectSubset<T, phone_addrFindFirstArgs<ExtArgs>>): Prisma.Prisma__phone_addrClient<runtime.Types.Result.GetResult<Prisma.$phone_addrPayload<ExtArgs>, 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<T extends phone_addrFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, phone_addrFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__phone_addrClient<runtime.Types.Result.GetResult<Prisma.$phone_addrPayload<ExtArgs>, 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<T extends phone_addrFindManyArgs>(args?: Prisma.SelectSubset<T, phone_addrFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$phone_addrPayload<ExtArgs>, 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<T extends phone_addrCreateArgs>(args: Prisma.SelectSubset<T, phone_addrCreateArgs<ExtArgs>>): Prisma.Prisma__phone_addrClient<runtime.Types.Result.GetResult<Prisma.$phone_addrPayload<ExtArgs>, 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<T extends phone_addrCreateManyArgs>(args?: Prisma.SelectSubset<T, phone_addrCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends phone_addrDeleteArgs>(args: Prisma.SelectSubset<T, phone_addrDeleteArgs<ExtArgs>>): Prisma.Prisma__phone_addrClient<runtime.Types.Result.GetResult<Prisma.$phone_addrPayload<ExtArgs>, 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<T extends phone_addrUpdateArgs>(args: Prisma.SelectSubset<T, phone_addrUpdateArgs<ExtArgs>>): Prisma.Prisma__phone_addrClient<runtime.Types.Result.GetResult<Prisma.$phone_addrPayload<ExtArgs>, 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<T extends phone_addrDeleteManyArgs>(args?: Prisma.SelectSubset<T, phone_addrDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends phone_addrUpdateManyArgs>(args: Prisma.SelectSubset<T, phone_addrUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends phone_addrUpsertArgs>(args: Prisma.SelectSubset<T, phone_addrUpsertArgs<ExtArgs>>): Prisma.Prisma__phone_addrClient<runtime.Types.Result.GetResult<Prisma.$phone_addrPayload<ExtArgs>, 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<T extends phone_addrCountArgs>(
|
|
args?: Prisma.Subset<T, phone_addrCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], Phone_addrCountAggregateOutputType>
|
|
: 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<T extends Phone_addrAggregateArgs>(args: Prisma.Subset<T, Phone_addrAggregateArgs>): Prisma.PrismaPromise<GetPhone_addrAggregateType<T>>
|
|
|
|
/**
|
|
* 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<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: phone_addrGroupByArgs['orderBy'] }
|
|
: { orderBy?: phone_addrGroupByArgs['orderBy'] },
|
|
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
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<T>
|
|
? 'orderBy' extends Prisma.Keys<T>
|
|
? 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<T>
|
|
? 'orderBy' extends Prisma.Keys<T>
|
|
? 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<T, phone_addrGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetPhone_addrGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* 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<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
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<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
|
|
/**
|
|
* 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<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
/**
|
|
* 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<T>
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
* 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the phone_addr
|
|
*/
|
|
select?: Prisma.phone_addrSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the phone_addr
|
|
*/
|
|
omit?: Prisma.phone_addrOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which phone_addr to fetch.
|
|
*/
|
|
where: Prisma.phone_addrWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* phone_addr findUniqueOrThrow
|
|
*/
|
|
export type phone_addrFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the phone_addr
|
|
*/
|
|
select?: Prisma.phone_addrSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the phone_addr
|
|
*/
|
|
omit?: Prisma.phone_addrOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which phone_addr to fetch.
|
|
*/
|
|
where: Prisma.phone_addrWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* phone_addr findFirst
|
|
*/
|
|
export type phone_addrFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the phone_addr
|
|
*/
|
|
select?: Prisma.phone_addrSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the phone_addr
|
|
*/
|
|
omit?: Prisma.phone_addrOmit<ExtArgs> | 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the phone_addr
|
|
*/
|
|
select?: Prisma.phone_addrSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the phone_addr
|
|
*/
|
|
omit?: Prisma.phone_addrOmit<ExtArgs> | 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the phone_addr
|
|
*/
|
|
select?: Prisma.phone_addrSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the phone_addr
|
|
*/
|
|
omit?: Prisma.phone_addrOmit<ExtArgs> | 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the phone_addr
|
|
*/
|
|
select?: Prisma.phone_addrSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the phone_addr
|
|
*/
|
|
omit?: Prisma.phone_addrOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a phone_addr.
|
|
*/
|
|
data: Prisma.XOR<Prisma.phone_addrCreateInput, Prisma.phone_addrUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* phone_addr createMany
|
|
*/
|
|
export type phone_addrCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many phone_addrs.
|
|
*/
|
|
data: Prisma.phone_addrCreateManyInput | Prisma.phone_addrCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* phone_addr update
|
|
*/
|
|
export type phone_addrUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the phone_addr
|
|
*/
|
|
select?: Prisma.phone_addrSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the phone_addr
|
|
*/
|
|
omit?: Prisma.phone_addrOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a phone_addr.
|
|
*/
|
|
data: Prisma.XOR<Prisma.phone_addrUpdateInput, Prisma.phone_addrUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which phone_addr to update.
|
|
*/
|
|
where: Prisma.phone_addrWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* phone_addr updateMany
|
|
*/
|
|
export type phone_addrUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update phone_addrs.
|
|
*/
|
|
data: Prisma.XOR<Prisma.phone_addrUpdateManyMutationInput, Prisma.phone_addrUncheckedUpdateManyInput>
|
|
/**
|
|
* 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the phone_addr
|
|
*/
|
|
select?: Prisma.phone_addrSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the phone_addr
|
|
*/
|
|
omit?: Prisma.phone_addrOmit<ExtArgs> | 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<Prisma.phone_addrCreateInput, Prisma.phone_addrUncheckedCreateInput>
|
|
/**
|
|
* In case the phone_addr was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.phone_addrUpdateInput, Prisma.phone_addrUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* phone_addr delete
|
|
*/
|
|
export type phone_addrDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the phone_addr
|
|
*/
|
|
select?: Prisma.phone_addrSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the phone_addr
|
|
*/
|
|
omit?: Prisma.phone_addrOmit<ExtArgs> | null
|
|
/**
|
|
* Filter which phone_addr to delete.
|
|
*/
|
|
where: Prisma.phone_addrWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* phone_addr deleteMany
|
|
*/
|
|
export type phone_addrDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the phone_addr
|
|
*/
|
|
select?: Prisma.phone_addrSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the phone_addr
|
|
*/
|
|
omit?: Prisma.phone_addrOmit<ExtArgs> | null
|
|
}
|