1775 lines
76 KiB
TypeScript
1775 lines
76 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 `TelephonyConnection` 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 TelephonyConnection
|
|
* Tenant-specific provider extension of one Apps Engine DataConnection.
|
|
* Credentials and lifecycle status remain canonical on DataConnection.
|
|
*/
|
|
export type TelephonyConnectionModel = runtime.Types.Result.DefaultSelection<Prisma.$TelephonyConnectionPayload>
|
|
|
|
export type AggregateTelephonyConnection = {
|
|
_count: TelephonyConnectionCountAggregateOutputType | null
|
|
_min: TelephonyConnectionMinAggregateOutputType | null
|
|
_max: TelephonyConnectionMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type TelephonyConnectionMinAggregateOutputType = {
|
|
id: string | null
|
|
createdAt: Date | null
|
|
updatedAt: Date | null
|
|
tenantId: string | null
|
|
dataConnectionId: string | null
|
|
provider: $Enums.TelephonyProvider | null
|
|
providerAccountId: string | null
|
|
providerAccountName: string | null
|
|
webhookId: string | null
|
|
webhookTokenHash: string | null
|
|
}
|
|
|
|
export type TelephonyConnectionMaxAggregateOutputType = {
|
|
id: string | null
|
|
createdAt: Date | null
|
|
updatedAt: Date | null
|
|
tenantId: string | null
|
|
dataConnectionId: string | null
|
|
provider: $Enums.TelephonyProvider | null
|
|
providerAccountId: string | null
|
|
providerAccountName: string | null
|
|
webhookId: string | null
|
|
webhookTokenHash: string | null
|
|
}
|
|
|
|
export type TelephonyConnectionCountAggregateOutputType = {
|
|
id: number
|
|
createdAt: number
|
|
updatedAt: number
|
|
tenantId: number
|
|
dataConnectionId: number
|
|
provider: number
|
|
providerAccountId: number
|
|
providerAccountName: number
|
|
webhookId: number
|
|
webhookTokenHash: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type TelephonyConnectionMinAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
tenantId?: true
|
|
dataConnectionId?: true
|
|
provider?: true
|
|
providerAccountId?: true
|
|
providerAccountName?: true
|
|
webhookId?: true
|
|
webhookTokenHash?: true
|
|
}
|
|
|
|
export type TelephonyConnectionMaxAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
tenantId?: true
|
|
dataConnectionId?: true
|
|
provider?: true
|
|
providerAccountId?: true
|
|
providerAccountName?: true
|
|
webhookId?: true
|
|
webhookTokenHash?: true
|
|
}
|
|
|
|
export type TelephonyConnectionCountAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
tenantId?: true
|
|
dataConnectionId?: true
|
|
provider?: true
|
|
providerAccountId?: true
|
|
providerAccountName?: true
|
|
webhookId?: true
|
|
webhookTokenHash?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type TelephonyConnectionAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which TelephonyConnection to aggregate.
|
|
*/
|
|
where?: Prisma.TelephonyConnectionWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of TelephonyConnections to fetch.
|
|
*/
|
|
orderBy?: Prisma.TelephonyConnectionOrderByWithRelationInput | Prisma.TelephonyConnectionOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.TelephonyConnectionWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` TelephonyConnections 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` TelephonyConnections.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned TelephonyConnections
|
|
**/
|
|
_count?: true | TelephonyConnectionCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: TelephonyConnectionMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: TelephonyConnectionMaxAggregateInputType
|
|
}
|
|
|
|
export type GetTelephonyConnectionAggregateType<T extends TelephonyConnectionAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateTelephonyConnection]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateTelephonyConnection[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateTelephonyConnection[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type TelephonyConnectionGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.TelephonyConnectionWhereInput
|
|
orderBy?: Prisma.TelephonyConnectionOrderByWithAggregationInput | Prisma.TelephonyConnectionOrderByWithAggregationInput[]
|
|
by: Prisma.TelephonyConnectionScalarFieldEnum[] | Prisma.TelephonyConnectionScalarFieldEnum
|
|
having?: Prisma.TelephonyConnectionScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: TelephonyConnectionCountAggregateInputType | true
|
|
_min?: TelephonyConnectionMinAggregateInputType
|
|
_max?: TelephonyConnectionMaxAggregateInputType
|
|
}
|
|
|
|
export type TelephonyConnectionGroupByOutputType = {
|
|
id: string
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
tenantId: string
|
|
dataConnectionId: string
|
|
provider: $Enums.TelephonyProvider
|
|
providerAccountId: string | null
|
|
providerAccountName: string | null
|
|
webhookId: string | null
|
|
webhookTokenHash: string | null
|
|
_count: TelephonyConnectionCountAggregateOutputType | null
|
|
_min: TelephonyConnectionMinAggregateOutputType | null
|
|
_max: TelephonyConnectionMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type GetTelephonyConnectionGroupByPayload<T extends TelephonyConnectionGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<TelephonyConnectionGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof TelephonyConnectionGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], TelephonyConnectionGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], TelephonyConnectionGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type TelephonyConnectionWhereInput = {
|
|
AND?: Prisma.TelephonyConnectionWhereInput | Prisma.TelephonyConnectionWhereInput[]
|
|
OR?: Prisma.TelephonyConnectionWhereInput[]
|
|
NOT?: Prisma.TelephonyConnectionWhereInput | Prisma.TelephonyConnectionWhereInput[]
|
|
id?: Prisma.StringFilter<"TelephonyConnection"> | string
|
|
createdAt?: Prisma.DateTimeFilter<"TelephonyConnection"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"TelephonyConnection"> | Date | string
|
|
tenantId?: Prisma.StringFilter<"TelephonyConnection"> | string
|
|
dataConnectionId?: Prisma.StringFilter<"TelephonyConnection"> | string
|
|
provider?: Prisma.EnumTelephonyProviderFilter<"TelephonyConnection"> | $Enums.TelephonyProvider
|
|
providerAccountId?: Prisma.StringNullableFilter<"TelephonyConnection"> | string | null
|
|
providerAccountName?: Prisma.StringNullableFilter<"TelephonyConnection"> | string | null
|
|
webhookId?: Prisma.StringNullableFilter<"TelephonyConnection"> | string | null
|
|
webhookTokenHash?: Prisma.StringNullableFilter<"TelephonyConnection"> | string | null
|
|
userBindings?: Prisma.TelephonyUserBindingListRelationFilter
|
|
callSessions?: Prisma.TelephonyCallSessionListRelationFilter
|
|
webhookEvents?: Prisma.TelephonyWebhookEventListRelationFilter
|
|
}
|
|
|
|
export type TelephonyConnectionOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
dataConnectionId?: Prisma.SortOrder
|
|
provider?: Prisma.SortOrder
|
|
providerAccountId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
providerAccountName?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
webhookId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
webhookTokenHash?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
userBindings?: Prisma.TelephonyUserBindingOrderByRelationAggregateInput
|
|
callSessions?: Prisma.TelephonyCallSessionOrderByRelationAggregateInput
|
|
webhookEvents?: Prisma.TelephonyWebhookEventOrderByRelationAggregateInput
|
|
}
|
|
|
|
export type TelephonyConnectionWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: string
|
|
dataConnectionId?: string
|
|
webhookTokenHash?: string
|
|
tenantId_provider?: Prisma.TelephonyConnectionTenantIdProviderCompoundUniqueInput
|
|
AND?: Prisma.TelephonyConnectionWhereInput | Prisma.TelephonyConnectionWhereInput[]
|
|
OR?: Prisma.TelephonyConnectionWhereInput[]
|
|
NOT?: Prisma.TelephonyConnectionWhereInput | Prisma.TelephonyConnectionWhereInput[]
|
|
createdAt?: Prisma.DateTimeFilter<"TelephonyConnection"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"TelephonyConnection"> | Date | string
|
|
tenantId?: Prisma.StringFilter<"TelephonyConnection"> | string
|
|
provider?: Prisma.EnumTelephonyProviderFilter<"TelephonyConnection"> | $Enums.TelephonyProvider
|
|
providerAccountId?: Prisma.StringNullableFilter<"TelephonyConnection"> | string | null
|
|
providerAccountName?: Prisma.StringNullableFilter<"TelephonyConnection"> | string | null
|
|
webhookId?: Prisma.StringNullableFilter<"TelephonyConnection"> | string | null
|
|
userBindings?: Prisma.TelephonyUserBindingListRelationFilter
|
|
callSessions?: Prisma.TelephonyCallSessionListRelationFilter
|
|
webhookEvents?: Prisma.TelephonyWebhookEventListRelationFilter
|
|
}, "id" | "dataConnectionId" | "webhookTokenHash" | "tenantId_provider">
|
|
|
|
export type TelephonyConnectionOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
dataConnectionId?: Prisma.SortOrder
|
|
provider?: Prisma.SortOrder
|
|
providerAccountId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
providerAccountName?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
webhookId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
webhookTokenHash?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
_count?: Prisma.TelephonyConnectionCountOrderByAggregateInput
|
|
_max?: Prisma.TelephonyConnectionMaxOrderByAggregateInput
|
|
_min?: Prisma.TelephonyConnectionMinOrderByAggregateInput
|
|
}
|
|
|
|
export type TelephonyConnectionScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.TelephonyConnectionScalarWhereWithAggregatesInput | Prisma.TelephonyConnectionScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.TelephonyConnectionScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.TelephonyConnectionScalarWhereWithAggregatesInput | Prisma.TelephonyConnectionScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.StringWithAggregatesFilter<"TelephonyConnection"> | string
|
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"TelephonyConnection"> | Date | string
|
|
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"TelephonyConnection"> | Date | string
|
|
tenantId?: Prisma.StringWithAggregatesFilter<"TelephonyConnection"> | string
|
|
dataConnectionId?: Prisma.StringWithAggregatesFilter<"TelephonyConnection"> | string
|
|
provider?: Prisma.EnumTelephonyProviderWithAggregatesFilter<"TelephonyConnection"> | $Enums.TelephonyProvider
|
|
providerAccountId?: Prisma.StringNullableWithAggregatesFilter<"TelephonyConnection"> | string | null
|
|
providerAccountName?: Prisma.StringNullableWithAggregatesFilter<"TelephonyConnection"> | string | null
|
|
webhookId?: Prisma.StringNullableWithAggregatesFilter<"TelephonyConnection"> | string | null
|
|
webhookTokenHash?: Prisma.StringNullableWithAggregatesFilter<"TelephonyConnection"> | string | null
|
|
}
|
|
|
|
export type TelephonyConnectionCreateInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
tenantId: string
|
|
dataConnectionId: string
|
|
provider?: $Enums.TelephonyProvider
|
|
providerAccountId?: string | null
|
|
providerAccountName?: string | null
|
|
webhookId?: string | null
|
|
webhookTokenHash?: string | null
|
|
userBindings?: Prisma.TelephonyUserBindingCreateNestedManyWithoutConnectionInput
|
|
callSessions?: Prisma.TelephonyCallSessionCreateNestedManyWithoutConnectionInput
|
|
webhookEvents?: Prisma.TelephonyWebhookEventCreateNestedManyWithoutConnectionInput
|
|
}
|
|
|
|
export type TelephonyConnectionUncheckedCreateInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
tenantId: string
|
|
dataConnectionId: string
|
|
provider?: $Enums.TelephonyProvider
|
|
providerAccountId?: string | null
|
|
providerAccountName?: string | null
|
|
webhookId?: string | null
|
|
webhookTokenHash?: string | null
|
|
userBindings?: Prisma.TelephonyUserBindingUncheckedCreateNestedManyWithoutConnectionInput
|
|
callSessions?: Prisma.TelephonyCallSessionUncheckedCreateNestedManyWithoutConnectionInput
|
|
webhookEvents?: Prisma.TelephonyWebhookEventUncheckedCreateNestedManyWithoutConnectionInput
|
|
}
|
|
|
|
export type TelephonyConnectionUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
dataConnectionId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
provider?: Prisma.EnumTelephonyProviderFieldUpdateOperationsInput | $Enums.TelephonyProvider
|
|
providerAccountId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
providerAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
webhookId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
webhookTokenHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
userBindings?: Prisma.TelephonyUserBindingUpdateManyWithoutConnectionNestedInput
|
|
callSessions?: Prisma.TelephonyCallSessionUpdateManyWithoutConnectionNestedInput
|
|
webhookEvents?: Prisma.TelephonyWebhookEventUpdateManyWithoutConnectionNestedInput
|
|
}
|
|
|
|
export type TelephonyConnectionUncheckedUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
dataConnectionId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
provider?: Prisma.EnumTelephonyProviderFieldUpdateOperationsInput | $Enums.TelephonyProvider
|
|
providerAccountId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
providerAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
webhookId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
webhookTokenHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
userBindings?: Prisma.TelephonyUserBindingUncheckedUpdateManyWithoutConnectionNestedInput
|
|
callSessions?: Prisma.TelephonyCallSessionUncheckedUpdateManyWithoutConnectionNestedInput
|
|
webhookEvents?: Prisma.TelephonyWebhookEventUncheckedUpdateManyWithoutConnectionNestedInput
|
|
}
|
|
|
|
export type TelephonyConnectionCreateManyInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
tenantId: string
|
|
dataConnectionId: string
|
|
provider?: $Enums.TelephonyProvider
|
|
providerAccountId?: string | null
|
|
providerAccountName?: string | null
|
|
webhookId?: string | null
|
|
webhookTokenHash?: string | null
|
|
}
|
|
|
|
export type TelephonyConnectionUpdateManyMutationInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
dataConnectionId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
provider?: Prisma.EnumTelephonyProviderFieldUpdateOperationsInput | $Enums.TelephonyProvider
|
|
providerAccountId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
providerAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
webhookId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
webhookTokenHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
export type TelephonyConnectionUncheckedUpdateManyInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
dataConnectionId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
provider?: Prisma.EnumTelephonyProviderFieldUpdateOperationsInput | $Enums.TelephonyProvider
|
|
providerAccountId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
providerAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
webhookId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
webhookTokenHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
export type TelephonyConnectionTenantIdProviderCompoundUniqueInput = {
|
|
tenantId: string
|
|
provider: $Enums.TelephonyProvider
|
|
}
|
|
|
|
export type TelephonyConnectionCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
dataConnectionId?: Prisma.SortOrder
|
|
provider?: Prisma.SortOrder
|
|
providerAccountId?: Prisma.SortOrder
|
|
providerAccountName?: Prisma.SortOrder
|
|
webhookId?: Prisma.SortOrder
|
|
webhookTokenHash?: Prisma.SortOrder
|
|
}
|
|
|
|
export type TelephonyConnectionMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
dataConnectionId?: Prisma.SortOrder
|
|
provider?: Prisma.SortOrder
|
|
providerAccountId?: Prisma.SortOrder
|
|
providerAccountName?: Prisma.SortOrder
|
|
webhookId?: Prisma.SortOrder
|
|
webhookTokenHash?: Prisma.SortOrder
|
|
}
|
|
|
|
export type TelephonyConnectionMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
dataConnectionId?: Prisma.SortOrder
|
|
provider?: Prisma.SortOrder
|
|
providerAccountId?: Prisma.SortOrder
|
|
providerAccountName?: Prisma.SortOrder
|
|
webhookId?: Prisma.SortOrder
|
|
webhookTokenHash?: Prisma.SortOrder
|
|
}
|
|
|
|
export type TelephonyConnectionScalarRelationFilter = {
|
|
is?: Prisma.TelephonyConnectionWhereInput
|
|
isNot?: Prisma.TelephonyConnectionWhereInput
|
|
}
|
|
|
|
export type EnumTelephonyProviderFieldUpdateOperationsInput = {
|
|
set?: $Enums.TelephonyProvider
|
|
}
|
|
|
|
export type TelephonyConnectionCreateNestedOneWithoutUserBindingsInput = {
|
|
create?: Prisma.XOR<Prisma.TelephonyConnectionCreateWithoutUserBindingsInput, Prisma.TelephonyConnectionUncheckedCreateWithoutUserBindingsInput>
|
|
connectOrCreate?: Prisma.TelephonyConnectionCreateOrConnectWithoutUserBindingsInput
|
|
connect?: Prisma.TelephonyConnectionWhereUniqueInput
|
|
}
|
|
|
|
export type TelephonyConnectionUpdateOneRequiredWithoutUserBindingsNestedInput = {
|
|
create?: Prisma.XOR<Prisma.TelephonyConnectionCreateWithoutUserBindingsInput, Prisma.TelephonyConnectionUncheckedCreateWithoutUserBindingsInput>
|
|
connectOrCreate?: Prisma.TelephonyConnectionCreateOrConnectWithoutUserBindingsInput
|
|
upsert?: Prisma.TelephonyConnectionUpsertWithoutUserBindingsInput
|
|
connect?: Prisma.TelephonyConnectionWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.TelephonyConnectionUpdateToOneWithWhereWithoutUserBindingsInput, Prisma.TelephonyConnectionUpdateWithoutUserBindingsInput>, Prisma.TelephonyConnectionUncheckedUpdateWithoutUserBindingsInput>
|
|
}
|
|
|
|
export type TelephonyConnectionCreateNestedOneWithoutCallSessionsInput = {
|
|
create?: Prisma.XOR<Prisma.TelephonyConnectionCreateWithoutCallSessionsInput, Prisma.TelephonyConnectionUncheckedCreateWithoutCallSessionsInput>
|
|
connectOrCreate?: Prisma.TelephonyConnectionCreateOrConnectWithoutCallSessionsInput
|
|
connect?: Prisma.TelephonyConnectionWhereUniqueInput
|
|
}
|
|
|
|
export type TelephonyConnectionUpdateOneRequiredWithoutCallSessionsNestedInput = {
|
|
create?: Prisma.XOR<Prisma.TelephonyConnectionCreateWithoutCallSessionsInput, Prisma.TelephonyConnectionUncheckedCreateWithoutCallSessionsInput>
|
|
connectOrCreate?: Prisma.TelephonyConnectionCreateOrConnectWithoutCallSessionsInput
|
|
upsert?: Prisma.TelephonyConnectionUpsertWithoutCallSessionsInput
|
|
connect?: Prisma.TelephonyConnectionWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.TelephonyConnectionUpdateToOneWithWhereWithoutCallSessionsInput, Prisma.TelephonyConnectionUpdateWithoutCallSessionsInput>, Prisma.TelephonyConnectionUncheckedUpdateWithoutCallSessionsInput>
|
|
}
|
|
|
|
export type TelephonyConnectionCreateNestedOneWithoutWebhookEventsInput = {
|
|
create?: Prisma.XOR<Prisma.TelephonyConnectionCreateWithoutWebhookEventsInput, Prisma.TelephonyConnectionUncheckedCreateWithoutWebhookEventsInput>
|
|
connectOrCreate?: Prisma.TelephonyConnectionCreateOrConnectWithoutWebhookEventsInput
|
|
connect?: Prisma.TelephonyConnectionWhereUniqueInput
|
|
}
|
|
|
|
export type TelephonyConnectionUpdateOneRequiredWithoutWebhookEventsNestedInput = {
|
|
create?: Prisma.XOR<Prisma.TelephonyConnectionCreateWithoutWebhookEventsInput, Prisma.TelephonyConnectionUncheckedCreateWithoutWebhookEventsInput>
|
|
connectOrCreate?: Prisma.TelephonyConnectionCreateOrConnectWithoutWebhookEventsInput
|
|
upsert?: Prisma.TelephonyConnectionUpsertWithoutWebhookEventsInput
|
|
connect?: Prisma.TelephonyConnectionWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.TelephonyConnectionUpdateToOneWithWhereWithoutWebhookEventsInput, Prisma.TelephonyConnectionUpdateWithoutWebhookEventsInput>, Prisma.TelephonyConnectionUncheckedUpdateWithoutWebhookEventsInput>
|
|
}
|
|
|
|
export type TelephonyConnectionCreateWithoutUserBindingsInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
tenantId: string
|
|
dataConnectionId: string
|
|
provider?: $Enums.TelephonyProvider
|
|
providerAccountId?: string | null
|
|
providerAccountName?: string | null
|
|
webhookId?: string | null
|
|
webhookTokenHash?: string | null
|
|
callSessions?: Prisma.TelephonyCallSessionCreateNestedManyWithoutConnectionInput
|
|
webhookEvents?: Prisma.TelephonyWebhookEventCreateNestedManyWithoutConnectionInput
|
|
}
|
|
|
|
export type TelephonyConnectionUncheckedCreateWithoutUserBindingsInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
tenantId: string
|
|
dataConnectionId: string
|
|
provider?: $Enums.TelephonyProvider
|
|
providerAccountId?: string | null
|
|
providerAccountName?: string | null
|
|
webhookId?: string | null
|
|
webhookTokenHash?: string | null
|
|
callSessions?: Prisma.TelephonyCallSessionUncheckedCreateNestedManyWithoutConnectionInput
|
|
webhookEvents?: Prisma.TelephonyWebhookEventUncheckedCreateNestedManyWithoutConnectionInput
|
|
}
|
|
|
|
export type TelephonyConnectionCreateOrConnectWithoutUserBindingsInput = {
|
|
where: Prisma.TelephonyConnectionWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.TelephonyConnectionCreateWithoutUserBindingsInput, Prisma.TelephonyConnectionUncheckedCreateWithoutUserBindingsInput>
|
|
}
|
|
|
|
export type TelephonyConnectionUpsertWithoutUserBindingsInput = {
|
|
update: Prisma.XOR<Prisma.TelephonyConnectionUpdateWithoutUserBindingsInput, Prisma.TelephonyConnectionUncheckedUpdateWithoutUserBindingsInput>
|
|
create: Prisma.XOR<Prisma.TelephonyConnectionCreateWithoutUserBindingsInput, Prisma.TelephonyConnectionUncheckedCreateWithoutUserBindingsInput>
|
|
where?: Prisma.TelephonyConnectionWhereInput
|
|
}
|
|
|
|
export type TelephonyConnectionUpdateToOneWithWhereWithoutUserBindingsInput = {
|
|
where?: Prisma.TelephonyConnectionWhereInput
|
|
data: Prisma.XOR<Prisma.TelephonyConnectionUpdateWithoutUserBindingsInput, Prisma.TelephonyConnectionUncheckedUpdateWithoutUserBindingsInput>
|
|
}
|
|
|
|
export type TelephonyConnectionUpdateWithoutUserBindingsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
dataConnectionId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
provider?: Prisma.EnumTelephonyProviderFieldUpdateOperationsInput | $Enums.TelephonyProvider
|
|
providerAccountId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
providerAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
webhookId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
webhookTokenHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
callSessions?: Prisma.TelephonyCallSessionUpdateManyWithoutConnectionNestedInput
|
|
webhookEvents?: Prisma.TelephonyWebhookEventUpdateManyWithoutConnectionNestedInput
|
|
}
|
|
|
|
export type TelephonyConnectionUncheckedUpdateWithoutUserBindingsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
dataConnectionId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
provider?: Prisma.EnumTelephonyProviderFieldUpdateOperationsInput | $Enums.TelephonyProvider
|
|
providerAccountId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
providerAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
webhookId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
webhookTokenHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
callSessions?: Prisma.TelephonyCallSessionUncheckedUpdateManyWithoutConnectionNestedInput
|
|
webhookEvents?: Prisma.TelephonyWebhookEventUncheckedUpdateManyWithoutConnectionNestedInput
|
|
}
|
|
|
|
export type TelephonyConnectionCreateWithoutCallSessionsInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
tenantId: string
|
|
dataConnectionId: string
|
|
provider?: $Enums.TelephonyProvider
|
|
providerAccountId?: string | null
|
|
providerAccountName?: string | null
|
|
webhookId?: string | null
|
|
webhookTokenHash?: string | null
|
|
userBindings?: Prisma.TelephonyUserBindingCreateNestedManyWithoutConnectionInput
|
|
webhookEvents?: Prisma.TelephonyWebhookEventCreateNestedManyWithoutConnectionInput
|
|
}
|
|
|
|
export type TelephonyConnectionUncheckedCreateWithoutCallSessionsInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
tenantId: string
|
|
dataConnectionId: string
|
|
provider?: $Enums.TelephonyProvider
|
|
providerAccountId?: string | null
|
|
providerAccountName?: string | null
|
|
webhookId?: string | null
|
|
webhookTokenHash?: string | null
|
|
userBindings?: Prisma.TelephonyUserBindingUncheckedCreateNestedManyWithoutConnectionInput
|
|
webhookEvents?: Prisma.TelephonyWebhookEventUncheckedCreateNestedManyWithoutConnectionInput
|
|
}
|
|
|
|
export type TelephonyConnectionCreateOrConnectWithoutCallSessionsInput = {
|
|
where: Prisma.TelephonyConnectionWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.TelephonyConnectionCreateWithoutCallSessionsInput, Prisma.TelephonyConnectionUncheckedCreateWithoutCallSessionsInput>
|
|
}
|
|
|
|
export type TelephonyConnectionUpsertWithoutCallSessionsInput = {
|
|
update: Prisma.XOR<Prisma.TelephonyConnectionUpdateWithoutCallSessionsInput, Prisma.TelephonyConnectionUncheckedUpdateWithoutCallSessionsInput>
|
|
create: Prisma.XOR<Prisma.TelephonyConnectionCreateWithoutCallSessionsInput, Prisma.TelephonyConnectionUncheckedCreateWithoutCallSessionsInput>
|
|
where?: Prisma.TelephonyConnectionWhereInput
|
|
}
|
|
|
|
export type TelephonyConnectionUpdateToOneWithWhereWithoutCallSessionsInput = {
|
|
where?: Prisma.TelephonyConnectionWhereInput
|
|
data: Prisma.XOR<Prisma.TelephonyConnectionUpdateWithoutCallSessionsInput, Prisma.TelephonyConnectionUncheckedUpdateWithoutCallSessionsInput>
|
|
}
|
|
|
|
export type TelephonyConnectionUpdateWithoutCallSessionsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
dataConnectionId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
provider?: Prisma.EnumTelephonyProviderFieldUpdateOperationsInput | $Enums.TelephonyProvider
|
|
providerAccountId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
providerAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
webhookId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
webhookTokenHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
userBindings?: Prisma.TelephonyUserBindingUpdateManyWithoutConnectionNestedInput
|
|
webhookEvents?: Prisma.TelephonyWebhookEventUpdateManyWithoutConnectionNestedInput
|
|
}
|
|
|
|
export type TelephonyConnectionUncheckedUpdateWithoutCallSessionsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
dataConnectionId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
provider?: Prisma.EnumTelephonyProviderFieldUpdateOperationsInput | $Enums.TelephonyProvider
|
|
providerAccountId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
providerAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
webhookId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
webhookTokenHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
userBindings?: Prisma.TelephonyUserBindingUncheckedUpdateManyWithoutConnectionNestedInput
|
|
webhookEvents?: Prisma.TelephonyWebhookEventUncheckedUpdateManyWithoutConnectionNestedInput
|
|
}
|
|
|
|
export type TelephonyConnectionCreateWithoutWebhookEventsInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
tenantId: string
|
|
dataConnectionId: string
|
|
provider?: $Enums.TelephonyProvider
|
|
providerAccountId?: string | null
|
|
providerAccountName?: string | null
|
|
webhookId?: string | null
|
|
webhookTokenHash?: string | null
|
|
userBindings?: Prisma.TelephonyUserBindingCreateNestedManyWithoutConnectionInput
|
|
callSessions?: Prisma.TelephonyCallSessionCreateNestedManyWithoutConnectionInput
|
|
}
|
|
|
|
export type TelephonyConnectionUncheckedCreateWithoutWebhookEventsInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
tenantId: string
|
|
dataConnectionId: string
|
|
provider?: $Enums.TelephonyProvider
|
|
providerAccountId?: string | null
|
|
providerAccountName?: string | null
|
|
webhookId?: string | null
|
|
webhookTokenHash?: string | null
|
|
userBindings?: Prisma.TelephonyUserBindingUncheckedCreateNestedManyWithoutConnectionInput
|
|
callSessions?: Prisma.TelephonyCallSessionUncheckedCreateNestedManyWithoutConnectionInput
|
|
}
|
|
|
|
export type TelephonyConnectionCreateOrConnectWithoutWebhookEventsInput = {
|
|
where: Prisma.TelephonyConnectionWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.TelephonyConnectionCreateWithoutWebhookEventsInput, Prisma.TelephonyConnectionUncheckedCreateWithoutWebhookEventsInput>
|
|
}
|
|
|
|
export type TelephonyConnectionUpsertWithoutWebhookEventsInput = {
|
|
update: Prisma.XOR<Prisma.TelephonyConnectionUpdateWithoutWebhookEventsInput, Prisma.TelephonyConnectionUncheckedUpdateWithoutWebhookEventsInput>
|
|
create: Prisma.XOR<Prisma.TelephonyConnectionCreateWithoutWebhookEventsInput, Prisma.TelephonyConnectionUncheckedCreateWithoutWebhookEventsInput>
|
|
where?: Prisma.TelephonyConnectionWhereInput
|
|
}
|
|
|
|
export type TelephonyConnectionUpdateToOneWithWhereWithoutWebhookEventsInput = {
|
|
where?: Prisma.TelephonyConnectionWhereInput
|
|
data: Prisma.XOR<Prisma.TelephonyConnectionUpdateWithoutWebhookEventsInput, Prisma.TelephonyConnectionUncheckedUpdateWithoutWebhookEventsInput>
|
|
}
|
|
|
|
export type TelephonyConnectionUpdateWithoutWebhookEventsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
dataConnectionId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
provider?: Prisma.EnumTelephonyProviderFieldUpdateOperationsInput | $Enums.TelephonyProvider
|
|
providerAccountId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
providerAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
webhookId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
webhookTokenHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
userBindings?: Prisma.TelephonyUserBindingUpdateManyWithoutConnectionNestedInput
|
|
callSessions?: Prisma.TelephonyCallSessionUpdateManyWithoutConnectionNestedInput
|
|
}
|
|
|
|
export type TelephonyConnectionUncheckedUpdateWithoutWebhookEventsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
dataConnectionId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
provider?: Prisma.EnumTelephonyProviderFieldUpdateOperationsInput | $Enums.TelephonyProvider
|
|
providerAccountId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
providerAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
webhookId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
webhookTokenHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
userBindings?: Prisma.TelephonyUserBindingUncheckedUpdateManyWithoutConnectionNestedInput
|
|
callSessions?: Prisma.TelephonyCallSessionUncheckedUpdateManyWithoutConnectionNestedInput
|
|
}
|
|
|
|
|
|
/**
|
|
* Count Type TelephonyConnectionCountOutputType
|
|
*/
|
|
|
|
export type TelephonyConnectionCountOutputType = {
|
|
userBindings: number
|
|
callSessions: number
|
|
webhookEvents: number
|
|
}
|
|
|
|
export type TelephonyConnectionCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
userBindings?: boolean | TelephonyConnectionCountOutputTypeCountUserBindingsArgs
|
|
callSessions?: boolean | TelephonyConnectionCountOutputTypeCountCallSessionsArgs
|
|
webhookEvents?: boolean | TelephonyConnectionCountOutputTypeCountWebhookEventsArgs
|
|
}
|
|
|
|
/**
|
|
* TelephonyConnectionCountOutputType without action
|
|
*/
|
|
export type TelephonyConnectionCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the TelephonyConnectionCountOutputType
|
|
*/
|
|
select?: Prisma.TelephonyConnectionCountOutputTypeSelect<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* TelephonyConnectionCountOutputType without action
|
|
*/
|
|
export type TelephonyConnectionCountOutputTypeCountUserBindingsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.TelephonyUserBindingWhereInput
|
|
}
|
|
|
|
/**
|
|
* TelephonyConnectionCountOutputType without action
|
|
*/
|
|
export type TelephonyConnectionCountOutputTypeCountCallSessionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.TelephonyCallSessionWhereInput
|
|
}
|
|
|
|
/**
|
|
* TelephonyConnectionCountOutputType without action
|
|
*/
|
|
export type TelephonyConnectionCountOutputTypeCountWebhookEventsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.TelephonyWebhookEventWhereInput
|
|
}
|
|
|
|
|
|
export type TelephonyConnectionSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
tenantId?: boolean
|
|
dataConnectionId?: boolean
|
|
provider?: boolean
|
|
providerAccountId?: boolean
|
|
providerAccountName?: boolean
|
|
webhookId?: boolean
|
|
webhookTokenHash?: boolean
|
|
userBindings?: boolean | Prisma.TelephonyConnection$userBindingsArgs<ExtArgs>
|
|
callSessions?: boolean | Prisma.TelephonyConnection$callSessionsArgs<ExtArgs>
|
|
webhookEvents?: boolean | Prisma.TelephonyConnection$webhookEventsArgs<ExtArgs>
|
|
_count?: boolean | Prisma.TelephonyConnectionCountOutputTypeDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["telephonyConnection"]>
|
|
|
|
export type TelephonyConnectionSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
tenantId?: boolean
|
|
dataConnectionId?: boolean
|
|
provider?: boolean
|
|
providerAccountId?: boolean
|
|
providerAccountName?: boolean
|
|
webhookId?: boolean
|
|
webhookTokenHash?: boolean
|
|
}, ExtArgs["result"]["telephonyConnection"]>
|
|
|
|
export type TelephonyConnectionSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
tenantId?: boolean
|
|
dataConnectionId?: boolean
|
|
provider?: boolean
|
|
providerAccountId?: boolean
|
|
providerAccountName?: boolean
|
|
webhookId?: boolean
|
|
webhookTokenHash?: boolean
|
|
}, ExtArgs["result"]["telephonyConnection"]>
|
|
|
|
export type TelephonyConnectionSelectScalar = {
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
tenantId?: boolean
|
|
dataConnectionId?: boolean
|
|
provider?: boolean
|
|
providerAccountId?: boolean
|
|
providerAccountName?: boolean
|
|
webhookId?: boolean
|
|
webhookTokenHash?: boolean
|
|
}
|
|
|
|
export type TelephonyConnectionOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "tenantId" | "dataConnectionId" | "provider" | "providerAccountId" | "providerAccountName" | "webhookId" | "webhookTokenHash", ExtArgs["result"]["telephonyConnection"]>
|
|
export type TelephonyConnectionInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
userBindings?: boolean | Prisma.TelephonyConnection$userBindingsArgs<ExtArgs>
|
|
callSessions?: boolean | Prisma.TelephonyConnection$callSessionsArgs<ExtArgs>
|
|
webhookEvents?: boolean | Prisma.TelephonyConnection$webhookEventsArgs<ExtArgs>
|
|
_count?: boolean | Prisma.TelephonyConnectionCountOutputTypeDefaultArgs<ExtArgs>
|
|
}
|
|
export type TelephonyConnectionIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
|
|
export type TelephonyConnectionIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
|
|
|
|
export type $TelephonyConnectionPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "TelephonyConnection"
|
|
objects: {
|
|
userBindings: Prisma.$TelephonyUserBindingPayload<ExtArgs>[]
|
|
callSessions: Prisma.$TelephonyCallSessionPayload<ExtArgs>[]
|
|
webhookEvents: Prisma.$TelephonyWebhookEventPayload<ExtArgs>[]
|
|
}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: string
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
tenantId: string
|
|
dataConnectionId: string
|
|
provider: $Enums.TelephonyProvider
|
|
providerAccountId: string | null
|
|
providerAccountName: string | null
|
|
webhookId: string | null
|
|
webhookTokenHash: string | null
|
|
}, ExtArgs["result"]["telephonyConnection"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type TelephonyConnectionGetPayload<S extends boolean | null | undefined | TelephonyConnectionDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$TelephonyConnectionPayload, S>
|
|
|
|
export type TelephonyConnectionCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<TelephonyConnectionFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: TelephonyConnectionCountAggregateInputType | true
|
|
}
|
|
|
|
export interface TelephonyConnectionDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['TelephonyConnection'], meta: { name: 'TelephonyConnection' } }
|
|
/**
|
|
* Find zero or one TelephonyConnection that matches the filter.
|
|
* @param {TelephonyConnectionFindUniqueArgs} args - Arguments to find a TelephonyConnection
|
|
* @example
|
|
* // Get one TelephonyConnection
|
|
* const telephonyConnection = await prisma.telephonyConnection.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends TelephonyConnectionFindUniqueArgs>(args: Prisma.SelectSubset<T, TelephonyConnectionFindUniqueArgs<ExtArgs>>): Prisma.Prisma__TelephonyConnectionClient<runtime.Types.Result.GetResult<Prisma.$TelephonyConnectionPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one TelephonyConnection that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {TelephonyConnectionFindUniqueOrThrowArgs} args - Arguments to find a TelephonyConnection
|
|
* @example
|
|
* // Get one TelephonyConnection
|
|
* const telephonyConnection = await prisma.telephonyConnection.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends TelephonyConnectionFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, TelephonyConnectionFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__TelephonyConnectionClient<runtime.Types.Result.GetResult<Prisma.$TelephonyConnectionPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first TelephonyConnection 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 {TelephonyConnectionFindFirstArgs} args - Arguments to find a TelephonyConnection
|
|
* @example
|
|
* // Get one TelephonyConnection
|
|
* const telephonyConnection = await prisma.telephonyConnection.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends TelephonyConnectionFindFirstArgs>(args?: Prisma.SelectSubset<T, TelephonyConnectionFindFirstArgs<ExtArgs>>): Prisma.Prisma__TelephonyConnectionClient<runtime.Types.Result.GetResult<Prisma.$TelephonyConnectionPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first TelephonyConnection 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 {TelephonyConnectionFindFirstOrThrowArgs} args - Arguments to find a TelephonyConnection
|
|
* @example
|
|
* // Get one TelephonyConnection
|
|
* const telephonyConnection = await prisma.telephonyConnection.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends TelephonyConnectionFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, TelephonyConnectionFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__TelephonyConnectionClient<runtime.Types.Result.GetResult<Prisma.$TelephonyConnectionPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more TelephonyConnections 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 {TelephonyConnectionFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all TelephonyConnections
|
|
* const telephonyConnections = await prisma.telephonyConnection.findMany()
|
|
*
|
|
* // Get first 10 TelephonyConnections
|
|
* const telephonyConnections = await prisma.telephonyConnection.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const telephonyConnectionWithIdOnly = await prisma.telephonyConnection.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends TelephonyConnectionFindManyArgs>(args?: Prisma.SelectSubset<T, TelephonyConnectionFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TelephonyConnectionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a TelephonyConnection.
|
|
* @param {TelephonyConnectionCreateArgs} args - Arguments to create a TelephonyConnection.
|
|
* @example
|
|
* // Create one TelephonyConnection
|
|
* const TelephonyConnection = await prisma.telephonyConnection.create({
|
|
* data: {
|
|
* // ... data to create a TelephonyConnection
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends TelephonyConnectionCreateArgs>(args: Prisma.SelectSubset<T, TelephonyConnectionCreateArgs<ExtArgs>>): Prisma.Prisma__TelephonyConnectionClient<runtime.Types.Result.GetResult<Prisma.$TelephonyConnectionPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many TelephonyConnections.
|
|
* @param {TelephonyConnectionCreateManyArgs} args - Arguments to create many TelephonyConnections.
|
|
* @example
|
|
* // Create many TelephonyConnections
|
|
* const telephonyConnection = await prisma.telephonyConnection.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends TelephonyConnectionCreateManyArgs>(args?: Prisma.SelectSubset<T, TelephonyConnectionCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create many TelephonyConnections and returns the data saved in the database.
|
|
* @param {TelephonyConnectionCreateManyAndReturnArgs} args - Arguments to create many TelephonyConnections.
|
|
* @example
|
|
* // Create many TelephonyConnections
|
|
* const telephonyConnection = await prisma.telephonyConnection.createManyAndReturn({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Create many TelephonyConnections and only return the `id`
|
|
* const telephonyConnectionWithIdOnly = await prisma.telephonyConnection.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 TelephonyConnectionCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, TelephonyConnectionCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TelephonyConnectionPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Delete a TelephonyConnection.
|
|
* @param {TelephonyConnectionDeleteArgs} args - Arguments to delete one TelephonyConnection.
|
|
* @example
|
|
* // Delete one TelephonyConnection
|
|
* const TelephonyConnection = await prisma.telephonyConnection.delete({
|
|
* where: {
|
|
* // ... filter to delete one TelephonyConnection
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends TelephonyConnectionDeleteArgs>(args: Prisma.SelectSubset<T, TelephonyConnectionDeleteArgs<ExtArgs>>): Prisma.Prisma__TelephonyConnectionClient<runtime.Types.Result.GetResult<Prisma.$TelephonyConnectionPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one TelephonyConnection.
|
|
* @param {TelephonyConnectionUpdateArgs} args - Arguments to update one TelephonyConnection.
|
|
* @example
|
|
* // Update one TelephonyConnection
|
|
* const telephonyConnection = await prisma.telephonyConnection.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends TelephonyConnectionUpdateArgs>(args: Prisma.SelectSubset<T, TelephonyConnectionUpdateArgs<ExtArgs>>): Prisma.Prisma__TelephonyConnectionClient<runtime.Types.Result.GetResult<Prisma.$TelephonyConnectionPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more TelephonyConnections.
|
|
* @param {TelephonyConnectionDeleteManyArgs} args - Arguments to filter TelephonyConnections to delete.
|
|
* @example
|
|
* // Delete a few TelephonyConnections
|
|
* const { count } = await prisma.telephonyConnection.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends TelephonyConnectionDeleteManyArgs>(args?: Prisma.SelectSubset<T, TelephonyConnectionDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more TelephonyConnections.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {TelephonyConnectionUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many TelephonyConnections
|
|
* const telephonyConnection = await prisma.telephonyConnection.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends TelephonyConnectionUpdateManyArgs>(args: Prisma.SelectSubset<T, TelephonyConnectionUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more TelephonyConnections and returns the data updated in the database.
|
|
* @param {TelephonyConnectionUpdateManyAndReturnArgs} args - Arguments to update many TelephonyConnections.
|
|
* @example
|
|
* // Update many TelephonyConnections
|
|
* const telephonyConnection = await prisma.telephonyConnection.updateManyAndReturn({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Update zero or more TelephonyConnections and only return the `id`
|
|
* const telephonyConnectionWithIdOnly = await prisma.telephonyConnection.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 TelephonyConnectionUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, TelephonyConnectionUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TelephonyConnectionPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create or update one TelephonyConnection.
|
|
* @param {TelephonyConnectionUpsertArgs} args - Arguments to update or create a TelephonyConnection.
|
|
* @example
|
|
* // Update or create a TelephonyConnection
|
|
* const telephonyConnection = await prisma.telephonyConnection.upsert({
|
|
* create: {
|
|
* // ... data to create a TelephonyConnection
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the TelephonyConnection we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends TelephonyConnectionUpsertArgs>(args: Prisma.SelectSubset<T, TelephonyConnectionUpsertArgs<ExtArgs>>): Prisma.Prisma__TelephonyConnectionClient<runtime.Types.Result.GetResult<Prisma.$TelephonyConnectionPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of TelephonyConnections.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {TelephonyConnectionCountArgs} args - Arguments to filter TelephonyConnections to count.
|
|
* @example
|
|
* // Count the number of TelephonyConnections
|
|
* const count = await prisma.telephonyConnection.count({
|
|
* where: {
|
|
* // ... the filter for the TelephonyConnections we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends TelephonyConnectionCountArgs>(
|
|
args?: Prisma.Subset<T, TelephonyConnectionCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], TelephonyConnectionCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a TelephonyConnection.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {TelephonyConnectionAggregateArgs} 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 TelephonyConnectionAggregateArgs>(args: Prisma.Subset<T, TelephonyConnectionAggregateArgs>): Prisma.PrismaPromise<GetTelephonyConnectionAggregateType<T>>
|
|
|
|
/**
|
|
* Group by TelephonyConnection.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {TelephonyConnectionGroupByArgs} 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 TelephonyConnectionGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: TelephonyConnectionGroupByArgs['orderBy'] }
|
|
: { orderBy?: TelephonyConnectionGroupByArgs['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, TelephonyConnectionGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetTelephonyConnectionGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the TelephonyConnection model
|
|
*/
|
|
readonly fields: TelephonyConnectionFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for TelephonyConnection.
|
|
* 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__TelephonyConnectionClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
userBindings<T extends Prisma.TelephonyConnection$userBindingsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.TelephonyConnection$userBindingsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TelephonyUserBindingPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
callSessions<T extends Prisma.TelephonyConnection$callSessionsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.TelephonyConnection$callSessionsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TelephonyCallSessionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
webhookEvents<T extends Prisma.TelephonyConnection$webhookEventsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.TelephonyConnection$webhookEventsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TelephonyWebhookEventPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
/**
|
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
* @returns A Promise for the completion of which ever callback is executed.
|
|
*/
|
|
then<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 TelephonyConnection model
|
|
*/
|
|
export interface TelephonyConnectionFieldRefs {
|
|
readonly id: Prisma.FieldRef<"TelephonyConnection", 'String'>
|
|
readonly createdAt: Prisma.FieldRef<"TelephonyConnection", 'DateTime'>
|
|
readonly updatedAt: Prisma.FieldRef<"TelephonyConnection", 'DateTime'>
|
|
readonly tenantId: Prisma.FieldRef<"TelephonyConnection", 'String'>
|
|
readonly dataConnectionId: Prisma.FieldRef<"TelephonyConnection", 'String'>
|
|
readonly provider: Prisma.FieldRef<"TelephonyConnection", 'TelephonyProvider'>
|
|
readonly providerAccountId: Prisma.FieldRef<"TelephonyConnection", 'String'>
|
|
readonly providerAccountName: Prisma.FieldRef<"TelephonyConnection", 'String'>
|
|
readonly webhookId: Prisma.FieldRef<"TelephonyConnection", 'String'>
|
|
readonly webhookTokenHash: Prisma.FieldRef<"TelephonyConnection", 'String'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* TelephonyConnection findUnique
|
|
*/
|
|
export type TelephonyConnectionFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the TelephonyConnection
|
|
*/
|
|
select?: Prisma.TelephonyConnectionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the TelephonyConnection
|
|
*/
|
|
omit?: Prisma.TelephonyConnectionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.TelephonyConnectionInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which TelephonyConnection to fetch.
|
|
*/
|
|
where: Prisma.TelephonyConnectionWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* TelephonyConnection findUniqueOrThrow
|
|
*/
|
|
export type TelephonyConnectionFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the TelephonyConnection
|
|
*/
|
|
select?: Prisma.TelephonyConnectionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the TelephonyConnection
|
|
*/
|
|
omit?: Prisma.TelephonyConnectionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.TelephonyConnectionInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which TelephonyConnection to fetch.
|
|
*/
|
|
where: Prisma.TelephonyConnectionWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* TelephonyConnection findFirst
|
|
*/
|
|
export type TelephonyConnectionFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the TelephonyConnection
|
|
*/
|
|
select?: Prisma.TelephonyConnectionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the TelephonyConnection
|
|
*/
|
|
omit?: Prisma.TelephonyConnectionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.TelephonyConnectionInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which TelephonyConnection to fetch.
|
|
*/
|
|
where?: Prisma.TelephonyConnectionWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of TelephonyConnections to fetch.
|
|
*/
|
|
orderBy?: Prisma.TelephonyConnectionOrderByWithRelationInput | Prisma.TelephonyConnectionOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for TelephonyConnections.
|
|
*/
|
|
cursor?: Prisma.TelephonyConnectionWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` TelephonyConnections 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` TelephonyConnections.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of TelephonyConnections.
|
|
*/
|
|
distinct?: Prisma.TelephonyConnectionScalarFieldEnum | Prisma.TelephonyConnectionScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* TelephonyConnection findFirstOrThrow
|
|
*/
|
|
export type TelephonyConnectionFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the TelephonyConnection
|
|
*/
|
|
select?: Prisma.TelephonyConnectionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the TelephonyConnection
|
|
*/
|
|
omit?: Prisma.TelephonyConnectionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.TelephonyConnectionInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which TelephonyConnection to fetch.
|
|
*/
|
|
where?: Prisma.TelephonyConnectionWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of TelephonyConnections to fetch.
|
|
*/
|
|
orderBy?: Prisma.TelephonyConnectionOrderByWithRelationInput | Prisma.TelephonyConnectionOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for TelephonyConnections.
|
|
*/
|
|
cursor?: Prisma.TelephonyConnectionWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` TelephonyConnections 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` TelephonyConnections.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of TelephonyConnections.
|
|
*/
|
|
distinct?: Prisma.TelephonyConnectionScalarFieldEnum | Prisma.TelephonyConnectionScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* TelephonyConnection findMany
|
|
*/
|
|
export type TelephonyConnectionFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the TelephonyConnection
|
|
*/
|
|
select?: Prisma.TelephonyConnectionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the TelephonyConnection
|
|
*/
|
|
omit?: Prisma.TelephonyConnectionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.TelephonyConnectionInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which TelephonyConnections to fetch.
|
|
*/
|
|
where?: Prisma.TelephonyConnectionWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of TelephonyConnections to fetch.
|
|
*/
|
|
orderBy?: Prisma.TelephonyConnectionOrderByWithRelationInput | Prisma.TelephonyConnectionOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing TelephonyConnections.
|
|
*/
|
|
cursor?: Prisma.TelephonyConnectionWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` TelephonyConnections 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` TelephonyConnections.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of TelephonyConnections.
|
|
*/
|
|
distinct?: Prisma.TelephonyConnectionScalarFieldEnum | Prisma.TelephonyConnectionScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* TelephonyConnection create
|
|
*/
|
|
export type TelephonyConnectionCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the TelephonyConnection
|
|
*/
|
|
select?: Prisma.TelephonyConnectionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the TelephonyConnection
|
|
*/
|
|
omit?: Prisma.TelephonyConnectionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.TelephonyConnectionInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a TelephonyConnection.
|
|
*/
|
|
data: Prisma.XOR<Prisma.TelephonyConnectionCreateInput, Prisma.TelephonyConnectionUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* TelephonyConnection createMany
|
|
*/
|
|
export type TelephonyConnectionCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many TelephonyConnections.
|
|
*/
|
|
data: Prisma.TelephonyConnectionCreateManyInput | Prisma.TelephonyConnectionCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* TelephonyConnection createManyAndReturn
|
|
*/
|
|
export type TelephonyConnectionCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the TelephonyConnection
|
|
*/
|
|
select?: Prisma.TelephonyConnectionSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the TelephonyConnection
|
|
*/
|
|
omit?: Prisma.TelephonyConnectionOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to create many TelephonyConnections.
|
|
*/
|
|
data: Prisma.TelephonyConnectionCreateManyInput | Prisma.TelephonyConnectionCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* TelephonyConnection update
|
|
*/
|
|
export type TelephonyConnectionUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the TelephonyConnection
|
|
*/
|
|
select?: Prisma.TelephonyConnectionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the TelephonyConnection
|
|
*/
|
|
omit?: Prisma.TelephonyConnectionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.TelephonyConnectionInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a TelephonyConnection.
|
|
*/
|
|
data: Prisma.XOR<Prisma.TelephonyConnectionUpdateInput, Prisma.TelephonyConnectionUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which TelephonyConnection to update.
|
|
*/
|
|
where: Prisma.TelephonyConnectionWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* TelephonyConnection updateMany
|
|
*/
|
|
export type TelephonyConnectionUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update TelephonyConnections.
|
|
*/
|
|
data: Prisma.XOR<Prisma.TelephonyConnectionUpdateManyMutationInput, Prisma.TelephonyConnectionUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which TelephonyConnections to update
|
|
*/
|
|
where?: Prisma.TelephonyConnectionWhereInput
|
|
/**
|
|
* Limit how many TelephonyConnections to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* TelephonyConnection updateManyAndReturn
|
|
*/
|
|
export type TelephonyConnectionUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the TelephonyConnection
|
|
*/
|
|
select?: Prisma.TelephonyConnectionSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the TelephonyConnection
|
|
*/
|
|
omit?: Prisma.TelephonyConnectionOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update TelephonyConnections.
|
|
*/
|
|
data: Prisma.XOR<Prisma.TelephonyConnectionUpdateManyMutationInput, Prisma.TelephonyConnectionUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which TelephonyConnections to update
|
|
*/
|
|
where?: Prisma.TelephonyConnectionWhereInput
|
|
/**
|
|
* Limit how many TelephonyConnections to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* TelephonyConnection upsert
|
|
*/
|
|
export type TelephonyConnectionUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the TelephonyConnection
|
|
*/
|
|
select?: Prisma.TelephonyConnectionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the TelephonyConnection
|
|
*/
|
|
omit?: Prisma.TelephonyConnectionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.TelephonyConnectionInclude<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the TelephonyConnection to update in case it exists.
|
|
*/
|
|
where: Prisma.TelephonyConnectionWhereUniqueInput
|
|
/**
|
|
* In case the TelephonyConnection found by the `where` argument doesn't exist, create a new TelephonyConnection with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.TelephonyConnectionCreateInput, Prisma.TelephonyConnectionUncheckedCreateInput>
|
|
/**
|
|
* In case the TelephonyConnection was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.TelephonyConnectionUpdateInput, Prisma.TelephonyConnectionUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* TelephonyConnection delete
|
|
*/
|
|
export type TelephonyConnectionDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the TelephonyConnection
|
|
*/
|
|
select?: Prisma.TelephonyConnectionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the TelephonyConnection
|
|
*/
|
|
omit?: Prisma.TelephonyConnectionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.TelephonyConnectionInclude<ExtArgs> | null
|
|
/**
|
|
* Filter which TelephonyConnection to delete.
|
|
*/
|
|
where: Prisma.TelephonyConnectionWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* TelephonyConnection deleteMany
|
|
*/
|
|
export type TelephonyConnectionDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which TelephonyConnections to delete
|
|
*/
|
|
where?: Prisma.TelephonyConnectionWhereInput
|
|
/**
|
|
* Limit how many TelephonyConnections to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* TelephonyConnection.userBindings
|
|
*/
|
|
export type TelephonyConnection$userBindingsArgs<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
|
|
where?: Prisma.TelephonyUserBindingWhereInput
|
|
orderBy?: Prisma.TelephonyUserBindingOrderByWithRelationInput | Prisma.TelephonyUserBindingOrderByWithRelationInput[]
|
|
cursor?: Prisma.TelephonyUserBindingWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.TelephonyUserBindingScalarFieldEnum | Prisma.TelephonyUserBindingScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* TelephonyConnection.callSessions
|
|
*/
|
|
export type TelephonyConnection$callSessionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the TelephonyCallSession
|
|
*/
|
|
select?: Prisma.TelephonyCallSessionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the TelephonyCallSession
|
|
*/
|
|
omit?: Prisma.TelephonyCallSessionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.TelephonyCallSessionInclude<ExtArgs> | null
|
|
where?: Prisma.TelephonyCallSessionWhereInput
|
|
orderBy?: Prisma.TelephonyCallSessionOrderByWithRelationInput | Prisma.TelephonyCallSessionOrderByWithRelationInput[]
|
|
cursor?: Prisma.TelephonyCallSessionWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.TelephonyCallSessionScalarFieldEnum | Prisma.TelephonyCallSessionScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* TelephonyConnection.webhookEvents
|
|
*/
|
|
export type TelephonyConnection$webhookEventsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the TelephonyWebhookEvent
|
|
*/
|
|
select?: Prisma.TelephonyWebhookEventSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the TelephonyWebhookEvent
|
|
*/
|
|
omit?: Prisma.TelephonyWebhookEventOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.TelephonyWebhookEventInclude<ExtArgs> | null
|
|
where?: Prisma.TelephonyWebhookEventWhereInput
|
|
orderBy?: Prisma.TelephonyWebhookEventOrderByWithRelationInput | Prisma.TelephonyWebhookEventOrderByWithRelationInput[]
|
|
cursor?: Prisma.TelephonyWebhookEventWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.TelephonyWebhookEventScalarFieldEnum | Prisma.TelephonyWebhookEventScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* TelephonyConnection without action
|
|
*/
|
|
export type TelephonyConnectionDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the TelephonyConnection
|
|
*/
|
|
select?: Prisma.TelephonyConnectionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the TelephonyConnection
|
|
*/
|
|
omit?: Prisma.TelephonyConnectionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.TelephonyConnectionInclude<ExtArgs> | null
|
|
}
|