Files
HiveGrid-Wireframes/03 Quellen und Referenzen/hivegrid-cloud/packages/db/generated/prisma/client/models/TelephonyUserBinding.ts
T

1572 lines
67 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 `TelephonyUserBinding` 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 TelephonyUserBinding
* Mapping between a HiveGrid TenantUser and a provider user (Aircall in v1).
*/
export type TelephonyUserBindingModel = runtime.Types.Result.DefaultSelection<Prisma.$TelephonyUserBindingPayload>
export type AggregateTelephonyUserBinding = {
_count: TelephonyUserBindingCountAggregateOutputType | null
_min: TelephonyUserBindingMinAggregateOutputType | null
_max: TelephonyUserBindingMaxAggregateOutputType | null
}
export type TelephonyUserBindingMinAggregateOutputType = {
id: string | null
createdAt: Date | null
updatedAt: Date | null
tenantId: string | null
connectionId: string | null
tenantUserId: string | null
providerUserId: string | null
providerEmail: string | null
providerDisplayName: string | null
defaultProviderNumberId: string | null
source: $Enums.TelephonyBindingSource | null
}
export type TelephonyUserBindingMaxAggregateOutputType = {
id: string | null
createdAt: Date | null
updatedAt: Date | null
tenantId: string | null
connectionId: string | null
tenantUserId: string | null
providerUserId: string | null
providerEmail: string | null
providerDisplayName: string | null
defaultProviderNumberId: string | null
source: $Enums.TelephonyBindingSource | null
}
export type TelephonyUserBindingCountAggregateOutputType = {
id: number
createdAt: number
updatedAt: number
tenantId: number
connectionId: number
tenantUserId: number
providerUserId: number
providerEmail: number
providerDisplayName: number
defaultProviderNumberId: number
source: number
_all: number
}
export type TelephonyUserBindingMinAggregateInputType = {
id?: true
createdAt?: true
updatedAt?: true
tenantId?: true
connectionId?: true
tenantUserId?: true
providerUserId?: true
providerEmail?: true
providerDisplayName?: true
defaultProviderNumberId?: true
source?: true
}
export type TelephonyUserBindingMaxAggregateInputType = {
id?: true
createdAt?: true
updatedAt?: true
tenantId?: true
connectionId?: true
tenantUserId?: true
providerUserId?: true
providerEmail?: true
providerDisplayName?: true
defaultProviderNumberId?: true
source?: true
}
export type TelephonyUserBindingCountAggregateInputType = {
id?: true
createdAt?: true
updatedAt?: true
tenantId?: true
connectionId?: true
tenantUserId?: true
providerUserId?: true
providerEmail?: true
providerDisplayName?: true
defaultProviderNumberId?: true
source?: true
_all?: true
}
export type TelephonyUserBindingAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which TelephonyUserBinding to aggregate.
*/
where?: Prisma.TelephonyUserBindingWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of TelephonyUserBindings to fetch.
*/
orderBy?: Prisma.TelephonyUserBindingOrderByWithRelationInput | Prisma.TelephonyUserBindingOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the start position
*/
cursor?: Prisma.TelephonyUserBindingWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` TelephonyUserBindings 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` TelephonyUserBindings.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Count returned TelephonyUserBindings
**/
_count?: true | TelephonyUserBindingCountAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the minimum value
**/
_min?: TelephonyUserBindingMinAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the maximum value
**/
_max?: TelephonyUserBindingMaxAggregateInputType
}
export type GetTelephonyUserBindingAggregateType<T extends TelephonyUserBindingAggregateArgs> = {
[P in keyof T & keyof AggregateTelephonyUserBinding]: P extends '_count' | 'count'
? T[P] extends true
? number
: Prisma.GetScalarType<T[P], AggregateTelephonyUserBinding[P]>
: Prisma.GetScalarType<T[P], AggregateTelephonyUserBinding[P]>
}
export type TelephonyUserBindingGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.TelephonyUserBindingWhereInput
orderBy?: Prisma.TelephonyUserBindingOrderByWithAggregationInput | Prisma.TelephonyUserBindingOrderByWithAggregationInput[]
by: Prisma.TelephonyUserBindingScalarFieldEnum[] | Prisma.TelephonyUserBindingScalarFieldEnum
having?: Prisma.TelephonyUserBindingScalarWhereWithAggregatesInput
take?: number
skip?: number
_count?: TelephonyUserBindingCountAggregateInputType | true
_min?: TelephonyUserBindingMinAggregateInputType
_max?: TelephonyUserBindingMaxAggregateInputType
}
export type TelephonyUserBindingGroupByOutputType = {
id: string
createdAt: Date
updatedAt: Date
tenantId: string
connectionId: string
tenantUserId: string
providerUserId: string
providerEmail: string | null
providerDisplayName: string | null
defaultProviderNumberId: string | null
source: $Enums.TelephonyBindingSource
_count: TelephonyUserBindingCountAggregateOutputType | null
_min: TelephonyUserBindingMinAggregateOutputType | null
_max: TelephonyUserBindingMaxAggregateOutputType | null
}
export type GetTelephonyUserBindingGroupByPayload<T extends TelephonyUserBindingGroupByArgs> = Prisma.PrismaPromise<
Array<
Prisma.PickEnumerable<TelephonyUserBindingGroupByOutputType, T['by']> &
{
[P in ((keyof T) & (keyof TelephonyUserBindingGroupByOutputType))]: P extends '_count'
? T[P] extends boolean
? number
: Prisma.GetScalarType<T[P], TelephonyUserBindingGroupByOutputType[P]>
: Prisma.GetScalarType<T[P], TelephonyUserBindingGroupByOutputType[P]>
}
>
>
export type TelephonyUserBindingWhereInput = {
AND?: Prisma.TelephonyUserBindingWhereInput | Prisma.TelephonyUserBindingWhereInput[]
OR?: Prisma.TelephonyUserBindingWhereInput[]
NOT?: Prisma.TelephonyUserBindingWhereInput | Prisma.TelephonyUserBindingWhereInput[]
id?: Prisma.StringFilter<"TelephonyUserBinding"> | string
createdAt?: Prisma.DateTimeFilter<"TelephonyUserBinding"> | Date | string
updatedAt?: Prisma.DateTimeFilter<"TelephonyUserBinding"> | Date | string
tenantId?: Prisma.StringFilter<"TelephonyUserBinding"> | string
connectionId?: Prisma.StringFilter<"TelephonyUserBinding"> | string
tenantUserId?: Prisma.StringFilter<"TelephonyUserBinding"> | string
providerUserId?: Prisma.StringFilter<"TelephonyUserBinding"> | string
providerEmail?: Prisma.StringNullableFilter<"TelephonyUserBinding"> | string | null
providerDisplayName?: Prisma.StringNullableFilter<"TelephonyUserBinding"> | string | null
defaultProviderNumberId?: Prisma.StringNullableFilter<"TelephonyUserBinding"> | string | null
source?: Prisma.EnumTelephonyBindingSourceFilter<"TelephonyUserBinding"> | $Enums.TelephonyBindingSource
connection?: Prisma.XOR<Prisma.TelephonyConnectionScalarRelationFilter, Prisma.TelephonyConnectionWhereInput>
}
export type TelephonyUserBindingOrderByWithRelationInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
connectionId?: Prisma.SortOrder
tenantUserId?: Prisma.SortOrder
providerUserId?: Prisma.SortOrder
providerEmail?: Prisma.SortOrderInput | Prisma.SortOrder
providerDisplayName?: Prisma.SortOrderInput | Prisma.SortOrder
defaultProviderNumberId?: Prisma.SortOrderInput | Prisma.SortOrder
source?: Prisma.SortOrder
connection?: Prisma.TelephonyConnectionOrderByWithRelationInput
}
export type TelephonyUserBindingWhereUniqueInput = Prisma.AtLeast<{
id?: string
connectionId_tenantUserId?: Prisma.TelephonyUserBindingConnectionIdTenantUserIdCompoundUniqueInput
connectionId_providerUserId?: Prisma.TelephonyUserBindingConnectionIdProviderUserIdCompoundUniqueInput
AND?: Prisma.TelephonyUserBindingWhereInput | Prisma.TelephonyUserBindingWhereInput[]
OR?: Prisma.TelephonyUserBindingWhereInput[]
NOT?: Prisma.TelephonyUserBindingWhereInput | Prisma.TelephonyUserBindingWhereInput[]
createdAt?: Prisma.DateTimeFilter<"TelephonyUserBinding"> | Date | string
updatedAt?: Prisma.DateTimeFilter<"TelephonyUserBinding"> | Date | string
tenantId?: Prisma.StringFilter<"TelephonyUserBinding"> | string
connectionId?: Prisma.StringFilter<"TelephonyUserBinding"> | string
tenantUserId?: Prisma.StringFilter<"TelephonyUserBinding"> | string
providerUserId?: Prisma.StringFilter<"TelephonyUserBinding"> | string
providerEmail?: Prisma.StringNullableFilter<"TelephonyUserBinding"> | string | null
providerDisplayName?: Prisma.StringNullableFilter<"TelephonyUserBinding"> | string | null
defaultProviderNumberId?: Prisma.StringNullableFilter<"TelephonyUserBinding"> | string | null
source?: Prisma.EnumTelephonyBindingSourceFilter<"TelephonyUserBinding"> | $Enums.TelephonyBindingSource
connection?: Prisma.XOR<Prisma.TelephonyConnectionScalarRelationFilter, Prisma.TelephonyConnectionWhereInput>
}, "id" | "connectionId_tenantUserId" | "connectionId_providerUserId">
export type TelephonyUserBindingOrderByWithAggregationInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
connectionId?: Prisma.SortOrder
tenantUserId?: Prisma.SortOrder
providerUserId?: Prisma.SortOrder
providerEmail?: Prisma.SortOrderInput | Prisma.SortOrder
providerDisplayName?: Prisma.SortOrderInput | Prisma.SortOrder
defaultProviderNumberId?: Prisma.SortOrderInput | Prisma.SortOrder
source?: Prisma.SortOrder
_count?: Prisma.TelephonyUserBindingCountOrderByAggregateInput
_max?: Prisma.TelephonyUserBindingMaxOrderByAggregateInput
_min?: Prisma.TelephonyUserBindingMinOrderByAggregateInput
}
export type TelephonyUserBindingScalarWhereWithAggregatesInput = {
AND?: Prisma.TelephonyUserBindingScalarWhereWithAggregatesInput | Prisma.TelephonyUserBindingScalarWhereWithAggregatesInput[]
OR?: Prisma.TelephonyUserBindingScalarWhereWithAggregatesInput[]
NOT?: Prisma.TelephonyUserBindingScalarWhereWithAggregatesInput | Prisma.TelephonyUserBindingScalarWhereWithAggregatesInput[]
id?: Prisma.StringWithAggregatesFilter<"TelephonyUserBinding"> | string
createdAt?: Prisma.DateTimeWithAggregatesFilter<"TelephonyUserBinding"> | Date | string
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"TelephonyUserBinding"> | Date | string
tenantId?: Prisma.StringWithAggregatesFilter<"TelephonyUserBinding"> | string
connectionId?: Prisma.StringWithAggregatesFilter<"TelephonyUserBinding"> | string
tenantUserId?: Prisma.StringWithAggregatesFilter<"TelephonyUserBinding"> | string
providerUserId?: Prisma.StringWithAggregatesFilter<"TelephonyUserBinding"> | string
providerEmail?: Prisma.StringNullableWithAggregatesFilter<"TelephonyUserBinding"> | string | null
providerDisplayName?: Prisma.StringNullableWithAggregatesFilter<"TelephonyUserBinding"> | string | null
defaultProviderNumberId?: Prisma.StringNullableWithAggregatesFilter<"TelephonyUserBinding"> | string | null
source?: Prisma.EnumTelephonyBindingSourceWithAggregatesFilter<"TelephonyUserBinding"> | $Enums.TelephonyBindingSource
}
export type TelephonyUserBindingCreateInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
tenantId: string
tenantUserId: string
providerUserId: string
providerEmail?: string | null
providerDisplayName?: string | null
defaultProviderNumberId?: string | null
source?: $Enums.TelephonyBindingSource
connection: Prisma.TelephonyConnectionCreateNestedOneWithoutUserBindingsInput
}
export type TelephonyUserBindingUncheckedCreateInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
tenantId: string
connectionId: string
tenantUserId: string
providerUserId: string
providerEmail?: string | null
providerDisplayName?: string | null
defaultProviderNumberId?: string | null
source?: $Enums.TelephonyBindingSource
}
export type TelephonyUserBindingUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
tenantUserId?: Prisma.StringFieldUpdateOperationsInput | string
providerUserId?: Prisma.StringFieldUpdateOperationsInput | string
providerEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
providerDisplayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
defaultProviderNumberId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
source?: Prisma.EnumTelephonyBindingSourceFieldUpdateOperationsInput | $Enums.TelephonyBindingSource
connection?: Prisma.TelephonyConnectionUpdateOneRequiredWithoutUserBindingsNestedInput
}
export type TelephonyUserBindingUncheckedUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
connectionId?: Prisma.StringFieldUpdateOperationsInput | string
tenantUserId?: Prisma.StringFieldUpdateOperationsInput | string
providerUserId?: Prisma.StringFieldUpdateOperationsInput | string
providerEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
providerDisplayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
defaultProviderNumberId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
source?: Prisma.EnumTelephonyBindingSourceFieldUpdateOperationsInput | $Enums.TelephonyBindingSource
}
export type TelephonyUserBindingCreateManyInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
tenantId: string
connectionId: string
tenantUserId: string
providerUserId: string
providerEmail?: string | null
providerDisplayName?: string | null
defaultProviderNumberId?: string | null
source?: $Enums.TelephonyBindingSource
}
export type TelephonyUserBindingUpdateManyMutationInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
tenantUserId?: Prisma.StringFieldUpdateOperationsInput | string
providerUserId?: Prisma.StringFieldUpdateOperationsInput | string
providerEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
providerDisplayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
defaultProviderNumberId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
source?: Prisma.EnumTelephonyBindingSourceFieldUpdateOperationsInput | $Enums.TelephonyBindingSource
}
export type TelephonyUserBindingUncheckedUpdateManyInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
connectionId?: Prisma.StringFieldUpdateOperationsInput | string
tenantUserId?: Prisma.StringFieldUpdateOperationsInput | string
providerUserId?: Prisma.StringFieldUpdateOperationsInput | string
providerEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
providerDisplayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
defaultProviderNumberId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
source?: Prisma.EnumTelephonyBindingSourceFieldUpdateOperationsInput | $Enums.TelephonyBindingSource
}
export type TelephonyUserBindingListRelationFilter = {
every?: Prisma.TelephonyUserBindingWhereInput
some?: Prisma.TelephonyUserBindingWhereInput
none?: Prisma.TelephonyUserBindingWhereInput
}
export type TelephonyUserBindingOrderByRelationAggregateInput = {
_count?: Prisma.SortOrder
}
export type TelephonyUserBindingConnectionIdTenantUserIdCompoundUniqueInput = {
connectionId: string
tenantUserId: string
}
export type TelephonyUserBindingConnectionIdProviderUserIdCompoundUniqueInput = {
connectionId: string
providerUserId: string
}
export type TelephonyUserBindingCountOrderByAggregateInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
connectionId?: Prisma.SortOrder
tenantUserId?: Prisma.SortOrder
providerUserId?: Prisma.SortOrder
providerEmail?: Prisma.SortOrder
providerDisplayName?: Prisma.SortOrder
defaultProviderNumberId?: Prisma.SortOrder
source?: Prisma.SortOrder
}
export type TelephonyUserBindingMaxOrderByAggregateInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
connectionId?: Prisma.SortOrder
tenantUserId?: Prisma.SortOrder
providerUserId?: Prisma.SortOrder
providerEmail?: Prisma.SortOrder
providerDisplayName?: Prisma.SortOrder
defaultProviderNumberId?: Prisma.SortOrder
source?: Prisma.SortOrder
}
export type TelephonyUserBindingMinOrderByAggregateInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
connectionId?: Prisma.SortOrder
tenantUserId?: Prisma.SortOrder
providerUserId?: Prisma.SortOrder
providerEmail?: Prisma.SortOrder
providerDisplayName?: Prisma.SortOrder
defaultProviderNumberId?: Prisma.SortOrder
source?: Prisma.SortOrder
}
export type TelephonyUserBindingCreateNestedManyWithoutConnectionInput = {
create?: Prisma.XOR<Prisma.TelephonyUserBindingCreateWithoutConnectionInput, Prisma.TelephonyUserBindingUncheckedCreateWithoutConnectionInput> | Prisma.TelephonyUserBindingCreateWithoutConnectionInput[] | Prisma.TelephonyUserBindingUncheckedCreateWithoutConnectionInput[]
connectOrCreate?: Prisma.TelephonyUserBindingCreateOrConnectWithoutConnectionInput | Prisma.TelephonyUserBindingCreateOrConnectWithoutConnectionInput[]
createMany?: Prisma.TelephonyUserBindingCreateManyConnectionInputEnvelope
connect?: Prisma.TelephonyUserBindingWhereUniqueInput | Prisma.TelephonyUserBindingWhereUniqueInput[]
}
export type TelephonyUserBindingUncheckedCreateNestedManyWithoutConnectionInput = {
create?: Prisma.XOR<Prisma.TelephonyUserBindingCreateWithoutConnectionInput, Prisma.TelephonyUserBindingUncheckedCreateWithoutConnectionInput> | Prisma.TelephonyUserBindingCreateWithoutConnectionInput[] | Prisma.TelephonyUserBindingUncheckedCreateWithoutConnectionInput[]
connectOrCreate?: Prisma.TelephonyUserBindingCreateOrConnectWithoutConnectionInput | Prisma.TelephonyUserBindingCreateOrConnectWithoutConnectionInput[]
createMany?: Prisma.TelephonyUserBindingCreateManyConnectionInputEnvelope
connect?: Prisma.TelephonyUserBindingWhereUniqueInput | Prisma.TelephonyUserBindingWhereUniqueInput[]
}
export type TelephonyUserBindingUpdateManyWithoutConnectionNestedInput = {
create?: Prisma.XOR<Prisma.TelephonyUserBindingCreateWithoutConnectionInput, Prisma.TelephonyUserBindingUncheckedCreateWithoutConnectionInput> | Prisma.TelephonyUserBindingCreateWithoutConnectionInput[] | Prisma.TelephonyUserBindingUncheckedCreateWithoutConnectionInput[]
connectOrCreate?: Prisma.TelephonyUserBindingCreateOrConnectWithoutConnectionInput | Prisma.TelephonyUserBindingCreateOrConnectWithoutConnectionInput[]
upsert?: Prisma.TelephonyUserBindingUpsertWithWhereUniqueWithoutConnectionInput | Prisma.TelephonyUserBindingUpsertWithWhereUniqueWithoutConnectionInput[]
createMany?: Prisma.TelephonyUserBindingCreateManyConnectionInputEnvelope
set?: Prisma.TelephonyUserBindingWhereUniqueInput | Prisma.TelephonyUserBindingWhereUniqueInput[]
disconnect?: Prisma.TelephonyUserBindingWhereUniqueInput | Prisma.TelephonyUserBindingWhereUniqueInput[]
delete?: Prisma.TelephonyUserBindingWhereUniqueInput | Prisma.TelephonyUserBindingWhereUniqueInput[]
connect?: Prisma.TelephonyUserBindingWhereUniqueInput | Prisma.TelephonyUserBindingWhereUniqueInput[]
update?: Prisma.TelephonyUserBindingUpdateWithWhereUniqueWithoutConnectionInput | Prisma.TelephonyUserBindingUpdateWithWhereUniqueWithoutConnectionInput[]
updateMany?: Prisma.TelephonyUserBindingUpdateManyWithWhereWithoutConnectionInput | Prisma.TelephonyUserBindingUpdateManyWithWhereWithoutConnectionInput[]
deleteMany?: Prisma.TelephonyUserBindingScalarWhereInput | Prisma.TelephonyUserBindingScalarWhereInput[]
}
export type TelephonyUserBindingUncheckedUpdateManyWithoutConnectionNestedInput = {
create?: Prisma.XOR<Prisma.TelephonyUserBindingCreateWithoutConnectionInput, Prisma.TelephonyUserBindingUncheckedCreateWithoutConnectionInput> | Prisma.TelephonyUserBindingCreateWithoutConnectionInput[] | Prisma.TelephonyUserBindingUncheckedCreateWithoutConnectionInput[]
connectOrCreate?: Prisma.TelephonyUserBindingCreateOrConnectWithoutConnectionInput | Prisma.TelephonyUserBindingCreateOrConnectWithoutConnectionInput[]
upsert?: Prisma.TelephonyUserBindingUpsertWithWhereUniqueWithoutConnectionInput | Prisma.TelephonyUserBindingUpsertWithWhereUniqueWithoutConnectionInput[]
createMany?: Prisma.TelephonyUserBindingCreateManyConnectionInputEnvelope
set?: Prisma.TelephonyUserBindingWhereUniqueInput | Prisma.TelephonyUserBindingWhereUniqueInput[]
disconnect?: Prisma.TelephonyUserBindingWhereUniqueInput | Prisma.TelephonyUserBindingWhereUniqueInput[]
delete?: Prisma.TelephonyUserBindingWhereUniqueInput | Prisma.TelephonyUserBindingWhereUniqueInput[]
connect?: Prisma.TelephonyUserBindingWhereUniqueInput | Prisma.TelephonyUserBindingWhereUniqueInput[]
update?: Prisma.TelephonyUserBindingUpdateWithWhereUniqueWithoutConnectionInput | Prisma.TelephonyUserBindingUpdateWithWhereUniqueWithoutConnectionInput[]
updateMany?: Prisma.TelephonyUserBindingUpdateManyWithWhereWithoutConnectionInput | Prisma.TelephonyUserBindingUpdateManyWithWhereWithoutConnectionInput[]
deleteMany?: Prisma.TelephonyUserBindingScalarWhereInput | Prisma.TelephonyUserBindingScalarWhereInput[]
}
export type EnumTelephonyBindingSourceFieldUpdateOperationsInput = {
set?: $Enums.TelephonyBindingSource
}
export type TelephonyUserBindingCreateWithoutConnectionInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
tenantId: string
tenantUserId: string
providerUserId: string
providerEmail?: string | null
providerDisplayName?: string | null
defaultProviderNumberId?: string | null
source?: $Enums.TelephonyBindingSource
}
export type TelephonyUserBindingUncheckedCreateWithoutConnectionInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
tenantId: string
tenantUserId: string
providerUserId: string
providerEmail?: string | null
providerDisplayName?: string | null
defaultProviderNumberId?: string | null
source?: $Enums.TelephonyBindingSource
}
export type TelephonyUserBindingCreateOrConnectWithoutConnectionInput = {
where: Prisma.TelephonyUserBindingWhereUniqueInput
create: Prisma.XOR<Prisma.TelephonyUserBindingCreateWithoutConnectionInput, Prisma.TelephonyUserBindingUncheckedCreateWithoutConnectionInput>
}
export type TelephonyUserBindingCreateManyConnectionInputEnvelope = {
data: Prisma.TelephonyUserBindingCreateManyConnectionInput | Prisma.TelephonyUserBindingCreateManyConnectionInput[]
skipDuplicates?: boolean
}
export type TelephonyUserBindingUpsertWithWhereUniqueWithoutConnectionInput = {
where: Prisma.TelephonyUserBindingWhereUniqueInput
update: Prisma.XOR<Prisma.TelephonyUserBindingUpdateWithoutConnectionInput, Prisma.TelephonyUserBindingUncheckedUpdateWithoutConnectionInput>
create: Prisma.XOR<Prisma.TelephonyUserBindingCreateWithoutConnectionInput, Prisma.TelephonyUserBindingUncheckedCreateWithoutConnectionInput>
}
export type TelephonyUserBindingUpdateWithWhereUniqueWithoutConnectionInput = {
where: Prisma.TelephonyUserBindingWhereUniqueInput
data: Prisma.XOR<Prisma.TelephonyUserBindingUpdateWithoutConnectionInput, Prisma.TelephonyUserBindingUncheckedUpdateWithoutConnectionInput>
}
export type TelephonyUserBindingUpdateManyWithWhereWithoutConnectionInput = {
where: Prisma.TelephonyUserBindingScalarWhereInput
data: Prisma.XOR<Prisma.TelephonyUserBindingUpdateManyMutationInput, Prisma.TelephonyUserBindingUncheckedUpdateManyWithoutConnectionInput>
}
export type TelephonyUserBindingScalarWhereInput = {
AND?: Prisma.TelephonyUserBindingScalarWhereInput | Prisma.TelephonyUserBindingScalarWhereInput[]
OR?: Prisma.TelephonyUserBindingScalarWhereInput[]
NOT?: Prisma.TelephonyUserBindingScalarWhereInput | Prisma.TelephonyUserBindingScalarWhereInput[]
id?: Prisma.StringFilter<"TelephonyUserBinding"> | string
createdAt?: Prisma.DateTimeFilter<"TelephonyUserBinding"> | Date | string
updatedAt?: Prisma.DateTimeFilter<"TelephonyUserBinding"> | Date | string
tenantId?: Prisma.StringFilter<"TelephonyUserBinding"> | string
connectionId?: Prisma.StringFilter<"TelephonyUserBinding"> | string
tenantUserId?: Prisma.StringFilter<"TelephonyUserBinding"> | string
providerUserId?: Prisma.StringFilter<"TelephonyUserBinding"> | string
providerEmail?: Prisma.StringNullableFilter<"TelephonyUserBinding"> | string | null
providerDisplayName?: Prisma.StringNullableFilter<"TelephonyUserBinding"> | string | null
defaultProviderNumberId?: Prisma.StringNullableFilter<"TelephonyUserBinding"> | string | null
source?: Prisma.EnumTelephonyBindingSourceFilter<"TelephonyUserBinding"> | $Enums.TelephonyBindingSource
}
export type TelephonyUserBindingCreateManyConnectionInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
tenantId: string
tenantUserId: string
providerUserId: string
providerEmail?: string | null
providerDisplayName?: string | null
defaultProviderNumberId?: string | null
source?: $Enums.TelephonyBindingSource
}
export type TelephonyUserBindingUpdateWithoutConnectionInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
tenantUserId?: Prisma.StringFieldUpdateOperationsInput | string
providerUserId?: Prisma.StringFieldUpdateOperationsInput | string
providerEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
providerDisplayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
defaultProviderNumberId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
source?: Prisma.EnumTelephonyBindingSourceFieldUpdateOperationsInput | $Enums.TelephonyBindingSource
}
export type TelephonyUserBindingUncheckedUpdateWithoutConnectionInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
tenantUserId?: Prisma.StringFieldUpdateOperationsInput | string
providerUserId?: Prisma.StringFieldUpdateOperationsInput | string
providerEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
providerDisplayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
defaultProviderNumberId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
source?: Prisma.EnumTelephonyBindingSourceFieldUpdateOperationsInput | $Enums.TelephonyBindingSource
}
export type TelephonyUserBindingUncheckedUpdateManyWithoutConnectionInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
tenantUserId?: Prisma.StringFieldUpdateOperationsInput | string
providerUserId?: Prisma.StringFieldUpdateOperationsInput | string
providerEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
providerDisplayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
defaultProviderNumberId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
source?: Prisma.EnumTelephonyBindingSourceFieldUpdateOperationsInput | $Enums.TelephonyBindingSource
}
export type TelephonyUserBindingSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
createdAt?: boolean
updatedAt?: boolean
tenantId?: boolean
connectionId?: boolean
tenantUserId?: boolean
providerUserId?: boolean
providerEmail?: boolean
providerDisplayName?: boolean
defaultProviderNumberId?: boolean
source?: boolean
connection?: boolean | Prisma.TelephonyConnectionDefaultArgs<ExtArgs>
}, ExtArgs["result"]["telephonyUserBinding"]>
export type TelephonyUserBindingSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
createdAt?: boolean
updatedAt?: boolean
tenantId?: boolean
connectionId?: boolean
tenantUserId?: boolean
providerUserId?: boolean
providerEmail?: boolean
providerDisplayName?: boolean
defaultProviderNumberId?: boolean
source?: boolean
connection?: boolean | Prisma.TelephonyConnectionDefaultArgs<ExtArgs>
}, ExtArgs["result"]["telephonyUserBinding"]>
export type TelephonyUserBindingSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
createdAt?: boolean
updatedAt?: boolean
tenantId?: boolean
connectionId?: boolean
tenantUserId?: boolean
providerUserId?: boolean
providerEmail?: boolean
providerDisplayName?: boolean
defaultProviderNumberId?: boolean
source?: boolean
connection?: boolean | Prisma.TelephonyConnectionDefaultArgs<ExtArgs>
}, ExtArgs["result"]["telephonyUserBinding"]>
export type TelephonyUserBindingSelectScalar = {
id?: boolean
createdAt?: boolean
updatedAt?: boolean
tenantId?: boolean
connectionId?: boolean
tenantUserId?: boolean
providerUserId?: boolean
providerEmail?: boolean
providerDisplayName?: boolean
defaultProviderNumberId?: boolean
source?: boolean
}
export type TelephonyUserBindingOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "tenantId" | "connectionId" | "tenantUserId" | "providerUserId" | "providerEmail" | "providerDisplayName" | "defaultProviderNumberId" | "source", ExtArgs["result"]["telephonyUserBinding"]>
export type TelephonyUserBindingInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
connection?: boolean | Prisma.TelephonyConnectionDefaultArgs<ExtArgs>
}
export type TelephonyUserBindingIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
connection?: boolean | Prisma.TelephonyConnectionDefaultArgs<ExtArgs>
}
export type TelephonyUserBindingIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
connection?: boolean | Prisma.TelephonyConnectionDefaultArgs<ExtArgs>
}
export type $TelephonyUserBindingPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
name: "TelephonyUserBinding"
objects: {
connection: Prisma.$TelephonyConnectionPayload<ExtArgs>
}
scalars: runtime.Types.Extensions.GetPayloadResult<{
id: string
createdAt: Date
updatedAt: Date
tenantId: string
connectionId: string
tenantUserId: string
providerUserId: string
providerEmail: string | null
providerDisplayName: string | null
defaultProviderNumberId: string | null
source: $Enums.TelephonyBindingSource
}, ExtArgs["result"]["telephonyUserBinding"]>
composites: {}
}
export type TelephonyUserBindingGetPayload<S extends boolean | null | undefined | TelephonyUserBindingDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$TelephonyUserBindingPayload, S>
export type TelephonyUserBindingCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
Omit<TelephonyUserBindingFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
select?: TelephonyUserBindingCountAggregateInputType | true
}
export interface TelephonyUserBindingDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['TelephonyUserBinding'], meta: { name: 'TelephonyUserBinding' } }
/**
* Find zero or one TelephonyUserBinding that matches the filter.
* @param {TelephonyUserBindingFindUniqueArgs} args - Arguments to find a TelephonyUserBinding
* @example
* // Get one TelephonyUserBinding
* const telephonyUserBinding = await prisma.telephonyUserBinding.findUnique({
* where: {
* // ... provide filter here
* }
* })
*/
findUnique<T extends TelephonyUserBindingFindUniqueArgs>(args: Prisma.SelectSubset<T, TelephonyUserBindingFindUniqueArgs<ExtArgs>>): Prisma.Prisma__TelephonyUserBindingClient<runtime.Types.Result.GetResult<Prisma.$TelephonyUserBindingPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find one TelephonyUserBinding that matches the filter or throw an error with `error.code='P2025'`
* if no matches were found.
* @param {TelephonyUserBindingFindUniqueOrThrowArgs} args - Arguments to find a TelephonyUserBinding
* @example
* // Get one TelephonyUserBinding
* const telephonyUserBinding = await prisma.telephonyUserBinding.findUniqueOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findUniqueOrThrow<T extends TelephonyUserBindingFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, TelephonyUserBindingFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__TelephonyUserBindingClient<runtime.Types.Result.GetResult<Prisma.$TelephonyUserBindingPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find the first TelephonyUserBinding 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 {TelephonyUserBindingFindFirstArgs} args - Arguments to find a TelephonyUserBinding
* @example
* // Get one TelephonyUserBinding
* const telephonyUserBinding = await prisma.telephonyUserBinding.findFirst({
* where: {
* // ... provide filter here
* }
* })
*/
findFirst<T extends TelephonyUserBindingFindFirstArgs>(args?: Prisma.SelectSubset<T, TelephonyUserBindingFindFirstArgs<ExtArgs>>): Prisma.Prisma__TelephonyUserBindingClient<runtime.Types.Result.GetResult<Prisma.$TelephonyUserBindingPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find the first TelephonyUserBinding 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 {TelephonyUserBindingFindFirstOrThrowArgs} args - Arguments to find a TelephonyUserBinding
* @example
* // Get one TelephonyUserBinding
* const telephonyUserBinding = await prisma.telephonyUserBinding.findFirstOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findFirstOrThrow<T extends TelephonyUserBindingFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, TelephonyUserBindingFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__TelephonyUserBindingClient<runtime.Types.Result.GetResult<Prisma.$TelephonyUserBindingPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find zero or more TelephonyUserBindings 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 {TelephonyUserBindingFindManyArgs} args - Arguments to filter and select certain fields only.
* @example
* // Get all TelephonyUserBindings
* const telephonyUserBindings = await prisma.telephonyUserBinding.findMany()
*
* // Get first 10 TelephonyUserBindings
* const telephonyUserBindings = await prisma.telephonyUserBinding.findMany({ take: 10 })
*
* // Only select the `id`
* const telephonyUserBindingWithIdOnly = await prisma.telephonyUserBinding.findMany({ select: { id: true } })
*
*/
findMany<T extends TelephonyUserBindingFindManyArgs>(args?: Prisma.SelectSubset<T, TelephonyUserBindingFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TelephonyUserBindingPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
/**
* Create a TelephonyUserBinding.
* @param {TelephonyUserBindingCreateArgs} args - Arguments to create a TelephonyUserBinding.
* @example
* // Create one TelephonyUserBinding
* const TelephonyUserBinding = await prisma.telephonyUserBinding.create({
* data: {
* // ... data to create a TelephonyUserBinding
* }
* })
*
*/
create<T extends TelephonyUserBindingCreateArgs>(args: Prisma.SelectSubset<T, TelephonyUserBindingCreateArgs<ExtArgs>>): Prisma.Prisma__TelephonyUserBindingClient<runtime.Types.Result.GetResult<Prisma.$TelephonyUserBindingPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Create many TelephonyUserBindings.
* @param {TelephonyUserBindingCreateManyArgs} args - Arguments to create many TelephonyUserBindings.
* @example
* // Create many TelephonyUserBindings
* const telephonyUserBinding = await prisma.telephonyUserBinding.createMany({
* data: [
* // ... provide data here
* ]
* })
*
*/
createMany<T extends TelephonyUserBindingCreateManyArgs>(args?: Prisma.SelectSubset<T, TelephonyUserBindingCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Create many TelephonyUserBindings and returns the data saved in the database.
* @param {TelephonyUserBindingCreateManyAndReturnArgs} args - Arguments to create many TelephonyUserBindings.
* @example
* // Create many TelephonyUserBindings
* const telephonyUserBinding = await prisma.telephonyUserBinding.createManyAndReturn({
* data: [
* // ... provide data here
* ]
* })
*
* // Create many TelephonyUserBindings and only return the `id`
* const telephonyUserBindingWithIdOnly = await prisma.telephonyUserBinding.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<T extends TelephonyUserBindingCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, TelephonyUserBindingCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TelephonyUserBindingPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
/**
* Delete a TelephonyUserBinding.
* @param {TelephonyUserBindingDeleteArgs} args - Arguments to delete one TelephonyUserBinding.
* @example
* // Delete one TelephonyUserBinding
* const TelephonyUserBinding = await prisma.telephonyUserBinding.delete({
* where: {
* // ... filter to delete one TelephonyUserBinding
* }
* })
*
*/
delete<T extends TelephonyUserBindingDeleteArgs>(args: Prisma.SelectSubset<T, TelephonyUserBindingDeleteArgs<ExtArgs>>): Prisma.Prisma__TelephonyUserBindingClient<runtime.Types.Result.GetResult<Prisma.$TelephonyUserBindingPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Update one TelephonyUserBinding.
* @param {TelephonyUserBindingUpdateArgs} args - Arguments to update one TelephonyUserBinding.
* @example
* // Update one TelephonyUserBinding
* const telephonyUserBinding = await prisma.telephonyUserBinding.update({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
update<T extends TelephonyUserBindingUpdateArgs>(args: Prisma.SelectSubset<T, TelephonyUserBindingUpdateArgs<ExtArgs>>): Prisma.Prisma__TelephonyUserBindingClient<runtime.Types.Result.GetResult<Prisma.$TelephonyUserBindingPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Delete zero or more TelephonyUserBindings.
* @param {TelephonyUserBindingDeleteManyArgs} args - Arguments to filter TelephonyUserBindings to delete.
* @example
* // Delete a few TelephonyUserBindings
* const { count } = await prisma.telephonyUserBinding.deleteMany({
* where: {
* // ... provide filter here
* }
* })
*
*/
deleteMany<T extends TelephonyUserBindingDeleteManyArgs>(args?: Prisma.SelectSubset<T, TelephonyUserBindingDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more TelephonyUserBindings.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {TelephonyUserBindingUpdateManyArgs} args - Arguments to update one or more rows.
* @example
* // Update many TelephonyUserBindings
* const telephonyUserBinding = await prisma.telephonyUserBinding.updateMany({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
updateMany<T extends TelephonyUserBindingUpdateManyArgs>(args: Prisma.SelectSubset<T, TelephonyUserBindingUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more TelephonyUserBindings and returns the data updated in the database.
* @param {TelephonyUserBindingUpdateManyAndReturnArgs} args - Arguments to update many TelephonyUserBindings.
* @example
* // Update many TelephonyUserBindings
* const telephonyUserBinding = await prisma.telephonyUserBinding.updateManyAndReturn({
* where: {
* // ... provide filter here
* },
* data: [
* // ... provide data here
* ]
* })
*
* // Update zero or more TelephonyUserBindings and only return the `id`
* const telephonyUserBindingWithIdOnly = await prisma.telephonyUserBinding.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<T extends TelephonyUserBindingUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, TelephonyUserBindingUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TelephonyUserBindingPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
/**
* Create or update one TelephonyUserBinding.
* @param {TelephonyUserBindingUpsertArgs} args - Arguments to update or create a TelephonyUserBinding.
* @example
* // Update or create a TelephonyUserBinding
* const telephonyUserBinding = await prisma.telephonyUserBinding.upsert({
* create: {
* // ... data to create a TelephonyUserBinding
* },
* update: {
* // ... in case it already exists, update
* },
* where: {
* // ... the filter for the TelephonyUserBinding we want to update
* }
* })
*/
upsert<T extends TelephonyUserBindingUpsertArgs>(args: Prisma.SelectSubset<T, TelephonyUserBindingUpsertArgs<ExtArgs>>): Prisma.Prisma__TelephonyUserBindingClient<runtime.Types.Result.GetResult<Prisma.$TelephonyUserBindingPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Count the number of TelephonyUserBindings.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {TelephonyUserBindingCountArgs} args - Arguments to filter TelephonyUserBindings to count.
* @example
* // Count the number of TelephonyUserBindings
* const count = await prisma.telephonyUserBinding.count({
* where: {
* // ... the filter for the TelephonyUserBindings we want to count
* }
* })
**/
count<T extends TelephonyUserBindingCountArgs>(
args?: Prisma.Subset<T, TelephonyUserBindingCountArgs>,
): Prisma.PrismaPromise<
T extends runtime.Types.Utils.Record<'select', any>
? T['select'] extends true
? number
: Prisma.GetScalarType<T['select'], TelephonyUserBindingCountAggregateOutputType>
: number
>
/**
* Allows you to perform aggregations operations on a TelephonyUserBinding.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {TelephonyUserBindingAggregateArgs} 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 TelephonyUserBindingAggregateArgs>(args: Prisma.Subset<T, TelephonyUserBindingAggregateArgs>): Prisma.PrismaPromise<GetTelephonyUserBindingAggregateType<T>>
/**
* Group by TelephonyUserBinding.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {TelephonyUserBindingGroupByArgs} 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 TelephonyUserBindingGroupByArgs,
HasSelectOrTake extends Prisma.Or<
Prisma.Extends<'skip', Prisma.Keys<T>>,
Prisma.Extends<'take', Prisma.Keys<T>>
>,
OrderByArg extends Prisma.True extends HasSelectOrTake
? { orderBy: TelephonyUserBindingGroupByArgs['orderBy'] }
: { orderBy?: TelephonyUserBindingGroupByArgs['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, TelephonyUserBindingGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetTelephonyUserBindingGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* Fields of the TelephonyUserBinding model
*/
readonly fields: TelephonyUserBindingFieldRefs;
}
/**
* The delegate class that acts as a "Promise-like" for TelephonyUserBinding.
* 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__TelephonyUserBindingClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
readonly [Symbol.toStringTag]: "PrismaPromise"
connection<T extends Prisma.TelephonyConnectionDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.TelephonyConnectionDefaultArgs<ExtArgs>>): Prisma.Prisma__TelephonyConnectionClient<runtime.Types.Result.GetResult<Prisma.$TelephonyConnectionPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
/**
* Attaches callbacks for the resolution and/or rejection of the Promise.
* @param onfulfilled The callback to execute when the Promise is resolved.
* @param onrejected The callback to execute when the Promise is rejected.
* @returns A Promise for the completion of which ever callback is executed.
*/
then<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 TelephonyUserBinding model
*/
export interface TelephonyUserBindingFieldRefs {
readonly id: Prisma.FieldRef<"TelephonyUserBinding", 'String'>
readonly createdAt: Prisma.FieldRef<"TelephonyUserBinding", 'DateTime'>
readonly updatedAt: Prisma.FieldRef<"TelephonyUserBinding", 'DateTime'>
readonly tenantId: Prisma.FieldRef<"TelephonyUserBinding", 'String'>
readonly connectionId: Prisma.FieldRef<"TelephonyUserBinding", 'String'>
readonly tenantUserId: Prisma.FieldRef<"TelephonyUserBinding", 'String'>
readonly providerUserId: Prisma.FieldRef<"TelephonyUserBinding", 'String'>
readonly providerEmail: Prisma.FieldRef<"TelephonyUserBinding", 'String'>
readonly providerDisplayName: Prisma.FieldRef<"TelephonyUserBinding", 'String'>
readonly defaultProviderNumberId: Prisma.FieldRef<"TelephonyUserBinding", 'String'>
readonly source: Prisma.FieldRef<"TelephonyUserBinding", 'TelephonyBindingSource'>
}
// Custom InputTypes
/**
* TelephonyUserBinding findUnique
*/
export type TelephonyUserBindingFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the TelephonyUserBinding
*/
select?: Prisma.TelephonyUserBindingSelect<ExtArgs> | null
/**
* Omit specific fields from the TelephonyUserBinding
*/
omit?: Prisma.TelephonyUserBindingOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.TelephonyUserBindingInclude<ExtArgs> | null
/**
* Filter, which TelephonyUserBinding to fetch.
*/
where: Prisma.TelephonyUserBindingWhereUniqueInput
}
/**
* TelephonyUserBinding findUniqueOrThrow
*/
export type TelephonyUserBindingFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the TelephonyUserBinding
*/
select?: Prisma.TelephonyUserBindingSelect<ExtArgs> | null
/**
* Omit specific fields from the TelephonyUserBinding
*/
omit?: Prisma.TelephonyUserBindingOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.TelephonyUserBindingInclude<ExtArgs> | null
/**
* Filter, which TelephonyUserBinding to fetch.
*/
where: Prisma.TelephonyUserBindingWhereUniqueInput
}
/**
* TelephonyUserBinding findFirst
*/
export type TelephonyUserBindingFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the TelephonyUserBinding
*/
select?: Prisma.TelephonyUserBindingSelect<ExtArgs> | null
/**
* Omit specific fields from the TelephonyUserBinding
*/
omit?: Prisma.TelephonyUserBindingOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.TelephonyUserBindingInclude<ExtArgs> | null
/**
* Filter, which TelephonyUserBinding to fetch.
*/
where?: Prisma.TelephonyUserBindingWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of TelephonyUserBindings to fetch.
*/
orderBy?: Prisma.TelephonyUserBindingOrderByWithRelationInput | Prisma.TelephonyUserBindingOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for TelephonyUserBindings.
*/
cursor?: Prisma.TelephonyUserBindingWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` TelephonyUserBindings 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` TelephonyUserBindings.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of TelephonyUserBindings.
*/
distinct?: Prisma.TelephonyUserBindingScalarFieldEnum | Prisma.TelephonyUserBindingScalarFieldEnum[]
}
/**
* TelephonyUserBinding findFirstOrThrow
*/
export type TelephonyUserBindingFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the TelephonyUserBinding
*/
select?: Prisma.TelephonyUserBindingSelect<ExtArgs> | null
/**
* Omit specific fields from the TelephonyUserBinding
*/
omit?: Prisma.TelephonyUserBindingOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.TelephonyUserBindingInclude<ExtArgs> | null
/**
* Filter, which TelephonyUserBinding to fetch.
*/
where?: Prisma.TelephonyUserBindingWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of TelephonyUserBindings to fetch.
*/
orderBy?: Prisma.TelephonyUserBindingOrderByWithRelationInput | Prisma.TelephonyUserBindingOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for TelephonyUserBindings.
*/
cursor?: Prisma.TelephonyUserBindingWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` TelephonyUserBindings 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` TelephonyUserBindings.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of TelephonyUserBindings.
*/
distinct?: Prisma.TelephonyUserBindingScalarFieldEnum | Prisma.TelephonyUserBindingScalarFieldEnum[]
}
/**
* TelephonyUserBinding findMany
*/
export type TelephonyUserBindingFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the TelephonyUserBinding
*/
select?: Prisma.TelephonyUserBindingSelect<ExtArgs> | null
/**
* Omit specific fields from the TelephonyUserBinding
*/
omit?: Prisma.TelephonyUserBindingOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.TelephonyUserBindingInclude<ExtArgs> | null
/**
* Filter, which TelephonyUserBindings to fetch.
*/
where?: Prisma.TelephonyUserBindingWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of TelephonyUserBindings to fetch.
*/
orderBy?: Prisma.TelephonyUserBindingOrderByWithRelationInput | Prisma.TelephonyUserBindingOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for listing TelephonyUserBindings.
*/
cursor?: Prisma.TelephonyUserBindingWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` TelephonyUserBindings 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` TelephonyUserBindings.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of TelephonyUserBindings.
*/
distinct?: Prisma.TelephonyUserBindingScalarFieldEnum | Prisma.TelephonyUserBindingScalarFieldEnum[]
}
/**
* TelephonyUserBinding create
*/
export type TelephonyUserBindingCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the TelephonyUserBinding
*/
select?: Prisma.TelephonyUserBindingSelect<ExtArgs> | null
/**
* Omit specific fields from the TelephonyUserBinding
*/
omit?: Prisma.TelephonyUserBindingOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.TelephonyUserBindingInclude<ExtArgs> | null
/**
* The data needed to create a TelephonyUserBinding.
*/
data: Prisma.XOR<Prisma.TelephonyUserBindingCreateInput, Prisma.TelephonyUserBindingUncheckedCreateInput>
}
/**
* TelephonyUserBinding createMany
*/
export type TelephonyUserBindingCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to create many TelephonyUserBindings.
*/
data: Prisma.TelephonyUserBindingCreateManyInput | Prisma.TelephonyUserBindingCreateManyInput[]
skipDuplicates?: boolean
}
/**
* TelephonyUserBinding createManyAndReturn
*/
export type TelephonyUserBindingCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the TelephonyUserBinding
*/
select?: Prisma.TelephonyUserBindingSelectCreateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the TelephonyUserBinding
*/
omit?: Prisma.TelephonyUserBindingOmit<ExtArgs> | null
/**
* The data used to create many TelephonyUserBindings.
*/
data: Prisma.TelephonyUserBindingCreateManyInput | Prisma.TelephonyUserBindingCreateManyInput[]
skipDuplicates?: boolean
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.TelephonyUserBindingIncludeCreateManyAndReturn<ExtArgs> | null
}
/**
* TelephonyUserBinding update
*/
export type TelephonyUserBindingUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the TelephonyUserBinding
*/
select?: Prisma.TelephonyUserBindingSelect<ExtArgs> | null
/**
* Omit specific fields from the TelephonyUserBinding
*/
omit?: Prisma.TelephonyUserBindingOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.TelephonyUserBindingInclude<ExtArgs> | null
/**
* The data needed to update a TelephonyUserBinding.
*/
data: Prisma.XOR<Prisma.TelephonyUserBindingUpdateInput, Prisma.TelephonyUserBindingUncheckedUpdateInput>
/**
* Choose, which TelephonyUserBinding to update.
*/
where: Prisma.TelephonyUserBindingWhereUniqueInput
}
/**
* TelephonyUserBinding updateMany
*/
export type TelephonyUserBindingUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to update TelephonyUserBindings.
*/
data: Prisma.XOR<Prisma.TelephonyUserBindingUpdateManyMutationInput, Prisma.TelephonyUserBindingUncheckedUpdateManyInput>
/**
* Filter which TelephonyUserBindings to update
*/
where?: Prisma.TelephonyUserBindingWhereInput
/**
* Limit how many TelephonyUserBindings to update.
*/
limit?: number
}
/**
* TelephonyUserBinding updateManyAndReturn
*/
export type TelephonyUserBindingUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the TelephonyUserBinding
*/
select?: Prisma.TelephonyUserBindingSelectUpdateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the TelephonyUserBinding
*/
omit?: Prisma.TelephonyUserBindingOmit<ExtArgs> | null
/**
* The data used to update TelephonyUserBindings.
*/
data: Prisma.XOR<Prisma.TelephonyUserBindingUpdateManyMutationInput, Prisma.TelephonyUserBindingUncheckedUpdateManyInput>
/**
* Filter which TelephonyUserBindings to update
*/
where?: Prisma.TelephonyUserBindingWhereInput
/**
* Limit how many TelephonyUserBindings to update.
*/
limit?: number
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.TelephonyUserBindingIncludeUpdateManyAndReturn<ExtArgs> | null
}
/**
* TelephonyUserBinding upsert
*/
export type TelephonyUserBindingUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the TelephonyUserBinding
*/
select?: Prisma.TelephonyUserBindingSelect<ExtArgs> | null
/**
* Omit specific fields from the TelephonyUserBinding
*/
omit?: Prisma.TelephonyUserBindingOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.TelephonyUserBindingInclude<ExtArgs> | null
/**
* The filter to search for the TelephonyUserBinding to update in case it exists.
*/
where: Prisma.TelephonyUserBindingWhereUniqueInput
/**
* In case the TelephonyUserBinding found by the `where` argument doesn't exist, create a new TelephonyUserBinding with this data.
*/
create: Prisma.XOR<Prisma.TelephonyUserBindingCreateInput, Prisma.TelephonyUserBindingUncheckedCreateInput>
/**
* In case the TelephonyUserBinding was found with the provided `where` argument, update it with this data.
*/
update: Prisma.XOR<Prisma.TelephonyUserBindingUpdateInput, Prisma.TelephonyUserBindingUncheckedUpdateInput>
}
/**
* TelephonyUserBinding delete
*/
export type TelephonyUserBindingDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the TelephonyUserBinding
*/
select?: Prisma.TelephonyUserBindingSelect<ExtArgs> | null
/**
* Omit specific fields from the TelephonyUserBinding
*/
omit?: Prisma.TelephonyUserBindingOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.TelephonyUserBindingInclude<ExtArgs> | null
/**
* Filter which TelephonyUserBinding to delete.
*/
where: Prisma.TelephonyUserBindingWhereUniqueInput
}
/**
* TelephonyUserBinding deleteMany
*/
export type TelephonyUserBindingDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which TelephonyUserBindings to delete
*/
where?: Prisma.TelephonyUserBindingWhereInput
/**
* Limit how many TelephonyUserBindings to delete.
*/
limit?: number
}
/**
* TelephonyUserBinding without action
*/
export type TelephonyUserBindingDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the TelephonyUserBinding
*/
select?: Prisma.TelephonyUserBindingSelect<ExtArgs> | null
/**
* Omit specific fields from the TelephonyUserBinding
*/
omit?: Prisma.TelephonyUserBindingOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.TelephonyUserBindingInclude<ExtArgs> | null
}