2437 lines
119 KiB
TypeScript
2437 lines
119 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 `AdminPhoneConnection` 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 AdminPhoneConnection
|
|
*
|
|
*/
|
|
export type AdminPhoneConnectionModel = runtime.Types.Result.DefaultSelection<Prisma.$AdminPhoneConnectionPayload>
|
|
|
|
export type AggregateAdminPhoneConnection = {
|
|
_count: AdminPhoneConnectionCountAggregateOutputType | null
|
|
_min: AdminPhoneConnectionMinAggregateOutputType | null
|
|
_max: AdminPhoneConnectionMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type AdminPhoneConnectionMinAggregateOutputType = {
|
|
id: string | null
|
|
createdAt: Date | null
|
|
updatedAt: Date | null
|
|
archivedAt: Date | null
|
|
adminUserId: string | null
|
|
connectionId: string | null
|
|
providerCompanyId: string | null
|
|
providerUserId: string | null
|
|
providerUserEmail: string | null
|
|
defaultPhoneNumberId: string | null
|
|
webhookTokenHash: string | null
|
|
webhookVerifiedAt: Date | null
|
|
lastEventAt: Date | null
|
|
}
|
|
|
|
export type AdminPhoneConnectionMaxAggregateOutputType = {
|
|
id: string | null
|
|
createdAt: Date | null
|
|
updatedAt: Date | null
|
|
archivedAt: Date | null
|
|
adminUserId: string | null
|
|
connectionId: string | null
|
|
providerCompanyId: string | null
|
|
providerUserId: string | null
|
|
providerUserEmail: string | null
|
|
defaultPhoneNumberId: string | null
|
|
webhookTokenHash: string | null
|
|
webhookVerifiedAt: Date | null
|
|
lastEventAt: Date | null
|
|
}
|
|
|
|
export type AdminPhoneConnectionCountAggregateOutputType = {
|
|
id: number
|
|
createdAt: number
|
|
updatedAt: number
|
|
archivedAt: number
|
|
adminUserId: number
|
|
connectionId: number
|
|
providerCompanyId: number
|
|
providerUserId: number
|
|
providerUserEmail: number
|
|
defaultPhoneNumberId: number
|
|
webhookTokenHash: number
|
|
webhookVerifiedAt: number
|
|
lastEventAt: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type AdminPhoneConnectionMinAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
archivedAt?: true
|
|
adminUserId?: true
|
|
connectionId?: true
|
|
providerCompanyId?: true
|
|
providerUserId?: true
|
|
providerUserEmail?: true
|
|
defaultPhoneNumberId?: true
|
|
webhookTokenHash?: true
|
|
webhookVerifiedAt?: true
|
|
lastEventAt?: true
|
|
}
|
|
|
|
export type AdminPhoneConnectionMaxAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
archivedAt?: true
|
|
adminUserId?: true
|
|
connectionId?: true
|
|
providerCompanyId?: true
|
|
providerUserId?: true
|
|
providerUserEmail?: true
|
|
defaultPhoneNumberId?: true
|
|
webhookTokenHash?: true
|
|
webhookVerifiedAt?: true
|
|
lastEventAt?: true
|
|
}
|
|
|
|
export type AdminPhoneConnectionCountAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
archivedAt?: true
|
|
adminUserId?: true
|
|
connectionId?: true
|
|
providerCompanyId?: true
|
|
providerUserId?: true
|
|
providerUserEmail?: true
|
|
defaultPhoneNumberId?: true
|
|
webhookTokenHash?: true
|
|
webhookVerifiedAt?: true
|
|
lastEventAt?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type AdminPhoneConnectionAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which AdminPhoneConnection to aggregate.
|
|
*/
|
|
where?: Prisma.AdminPhoneConnectionWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of AdminPhoneConnections to fetch.
|
|
*/
|
|
orderBy?: Prisma.AdminPhoneConnectionOrderByWithRelationInput | Prisma.AdminPhoneConnectionOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.AdminPhoneConnectionWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` AdminPhoneConnections 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` AdminPhoneConnections.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned AdminPhoneConnections
|
|
**/
|
|
_count?: true | AdminPhoneConnectionCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: AdminPhoneConnectionMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: AdminPhoneConnectionMaxAggregateInputType
|
|
}
|
|
|
|
export type GetAdminPhoneConnectionAggregateType<T extends AdminPhoneConnectionAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateAdminPhoneConnection]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateAdminPhoneConnection[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateAdminPhoneConnection[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AdminPhoneConnectionGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.AdminPhoneConnectionWhereInput
|
|
orderBy?: Prisma.AdminPhoneConnectionOrderByWithAggregationInput | Prisma.AdminPhoneConnectionOrderByWithAggregationInput[]
|
|
by: Prisma.AdminPhoneConnectionScalarFieldEnum[] | Prisma.AdminPhoneConnectionScalarFieldEnum
|
|
having?: Prisma.AdminPhoneConnectionScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: AdminPhoneConnectionCountAggregateInputType | true
|
|
_min?: AdminPhoneConnectionMinAggregateInputType
|
|
_max?: AdminPhoneConnectionMaxAggregateInputType
|
|
}
|
|
|
|
export type AdminPhoneConnectionGroupByOutputType = {
|
|
id: string
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
archivedAt: Date | null
|
|
adminUserId: string
|
|
connectionId: string
|
|
providerCompanyId: string | null
|
|
providerUserId: string | null
|
|
providerUserEmail: string | null
|
|
defaultPhoneNumberId: string | null
|
|
webhookTokenHash: string | null
|
|
webhookVerifiedAt: Date | null
|
|
lastEventAt: Date | null
|
|
_count: AdminPhoneConnectionCountAggregateOutputType | null
|
|
_min: AdminPhoneConnectionMinAggregateOutputType | null
|
|
_max: AdminPhoneConnectionMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type GetAdminPhoneConnectionGroupByPayload<T extends AdminPhoneConnectionGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<AdminPhoneConnectionGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof AdminPhoneConnectionGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AdminPhoneConnectionGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], AdminPhoneConnectionGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type AdminPhoneConnectionWhereInput = {
|
|
AND?: Prisma.AdminPhoneConnectionWhereInput | Prisma.AdminPhoneConnectionWhereInput[]
|
|
OR?: Prisma.AdminPhoneConnectionWhereInput[]
|
|
NOT?: Prisma.AdminPhoneConnectionWhereInput | Prisma.AdminPhoneConnectionWhereInput[]
|
|
id?: Prisma.StringFilter<"AdminPhoneConnection"> | string
|
|
createdAt?: Prisma.DateTimeFilter<"AdminPhoneConnection"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"AdminPhoneConnection"> | Date | string
|
|
archivedAt?: Prisma.DateTimeNullableFilter<"AdminPhoneConnection"> | Date | string | null
|
|
adminUserId?: Prisma.StringFilter<"AdminPhoneConnection"> | string
|
|
connectionId?: Prisma.StringFilter<"AdminPhoneConnection"> | string
|
|
providerCompanyId?: Prisma.StringNullableFilter<"AdminPhoneConnection"> | string | null
|
|
providerUserId?: Prisma.StringNullableFilter<"AdminPhoneConnection"> | string | null
|
|
providerUserEmail?: Prisma.StringNullableFilter<"AdminPhoneConnection"> | string | null
|
|
defaultPhoneNumberId?: Prisma.StringNullableFilter<"AdminPhoneConnection"> | string | null
|
|
webhookTokenHash?: Prisma.StringNullableFilter<"AdminPhoneConnection"> | string | null
|
|
webhookVerifiedAt?: Prisma.DateTimeNullableFilter<"AdminPhoneConnection"> | Date | string | null
|
|
lastEventAt?: Prisma.DateTimeNullableFilter<"AdminPhoneConnection"> | Date | string | null
|
|
adminUser?: Prisma.XOR<Prisma.AdminUserScalarRelationFilter, Prisma.AdminUserWhereInput>
|
|
connection?: Prisma.XOR<Prisma.AdminDataConnectionScalarRelationFilter, Prisma.AdminDataConnectionWhereInput>
|
|
defaultPhoneNumber?: Prisma.XOR<Prisma.AdminPhoneNumberNullableScalarRelationFilter, Prisma.AdminPhoneNumberWhereInput> | null
|
|
phoneNumbers?: Prisma.AdminPhoneNumberListRelationFilter
|
|
calls?: Prisma.AdminCallSessionListRelationFilter
|
|
outboundRequests?: Prisma.AdminOutboundCallRequestListRelationFilter
|
|
}
|
|
|
|
export type AdminPhoneConnectionOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
archivedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
adminUserId?: Prisma.SortOrder
|
|
connectionId?: Prisma.SortOrder
|
|
providerCompanyId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
providerUserId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
providerUserEmail?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
defaultPhoneNumberId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
webhookTokenHash?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
webhookVerifiedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
lastEventAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
adminUser?: Prisma.AdminUserOrderByWithRelationInput
|
|
connection?: Prisma.AdminDataConnectionOrderByWithRelationInput
|
|
defaultPhoneNumber?: Prisma.AdminPhoneNumberOrderByWithRelationInput
|
|
phoneNumbers?: Prisma.AdminPhoneNumberOrderByRelationAggregateInput
|
|
calls?: Prisma.AdminCallSessionOrderByRelationAggregateInput
|
|
outboundRequests?: Prisma.AdminOutboundCallRequestOrderByRelationAggregateInput
|
|
}
|
|
|
|
export type AdminPhoneConnectionWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: string
|
|
connectionId?: string
|
|
webhookTokenHash?: string
|
|
AND?: Prisma.AdminPhoneConnectionWhereInput | Prisma.AdminPhoneConnectionWhereInput[]
|
|
OR?: Prisma.AdminPhoneConnectionWhereInput[]
|
|
NOT?: Prisma.AdminPhoneConnectionWhereInput | Prisma.AdminPhoneConnectionWhereInput[]
|
|
createdAt?: Prisma.DateTimeFilter<"AdminPhoneConnection"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"AdminPhoneConnection"> | Date | string
|
|
archivedAt?: Prisma.DateTimeNullableFilter<"AdminPhoneConnection"> | Date | string | null
|
|
adminUserId?: Prisma.StringFilter<"AdminPhoneConnection"> | string
|
|
providerCompanyId?: Prisma.StringNullableFilter<"AdminPhoneConnection"> | string | null
|
|
providerUserId?: Prisma.StringNullableFilter<"AdminPhoneConnection"> | string | null
|
|
providerUserEmail?: Prisma.StringNullableFilter<"AdminPhoneConnection"> | string | null
|
|
defaultPhoneNumberId?: Prisma.StringNullableFilter<"AdminPhoneConnection"> | string | null
|
|
webhookVerifiedAt?: Prisma.DateTimeNullableFilter<"AdminPhoneConnection"> | Date | string | null
|
|
lastEventAt?: Prisma.DateTimeNullableFilter<"AdminPhoneConnection"> | Date | string | null
|
|
adminUser?: Prisma.XOR<Prisma.AdminUserScalarRelationFilter, Prisma.AdminUserWhereInput>
|
|
connection?: Prisma.XOR<Prisma.AdminDataConnectionScalarRelationFilter, Prisma.AdminDataConnectionWhereInput>
|
|
defaultPhoneNumber?: Prisma.XOR<Prisma.AdminPhoneNumberNullableScalarRelationFilter, Prisma.AdminPhoneNumberWhereInput> | null
|
|
phoneNumbers?: Prisma.AdminPhoneNumberListRelationFilter
|
|
calls?: Prisma.AdminCallSessionListRelationFilter
|
|
outboundRequests?: Prisma.AdminOutboundCallRequestListRelationFilter
|
|
}, "id" | "connectionId" | "webhookTokenHash">
|
|
|
|
export type AdminPhoneConnectionOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
archivedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
adminUserId?: Prisma.SortOrder
|
|
connectionId?: Prisma.SortOrder
|
|
providerCompanyId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
providerUserId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
providerUserEmail?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
defaultPhoneNumberId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
webhookTokenHash?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
webhookVerifiedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
lastEventAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
_count?: Prisma.AdminPhoneConnectionCountOrderByAggregateInput
|
|
_max?: Prisma.AdminPhoneConnectionMaxOrderByAggregateInput
|
|
_min?: Prisma.AdminPhoneConnectionMinOrderByAggregateInput
|
|
}
|
|
|
|
export type AdminPhoneConnectionScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.AdminPhoneConnectionScalarWhereWithAggregatesInput | Prisma.AdminPhoneConnectionScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.AdminPhoneConnectionScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.AdminPhoneConnectionScalarWhereWithAggregatesInput | Prisma.AdminPhoneConnectionScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.StringWithAggregatesFilter<"AdminPhoneConnection"> | string
|
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"AdminPhoneConnection"> | Date | string
|
|
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"AdminPhoneConnection"> | Date | string
|
|
archivedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"AdminPhoneConnection"> | Date | string | null
|
|
adminUserId?: Prisma.StringWithAggregatesFilter<"AdminPhoneConnection"> | string
|
|
connectionId?: Prisma.StringWithAggregatesFilter<"AdminPhoneConnection"> | string
|
|
providerCompanyId?: Prisma.StringNullableWithAggregatesFilter<"AdminPhoneConnection"> | string | null
|
|
providerUserId?: Prisma.StringNullableWithAggregatesFilter<"AdminPhoneConnection"> | string | null
|
|
providerUserEmail?: Prisma.StringNullableWithAggregatesFilter<"AdminPhoneConnection"> | string | null
|
|
defaultPhoneNumberId?: Prisma.StringNullableWithAggregatesFilter<"AdminPhoneConnection"> | string | null
|
|
webhookTokenHash?: Prisma.StringNullableWithAggregatesFilter<"AdminPhoneConnection"> | string | null
|
|
webhookVerifiedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"AdminPhoneConnection"> | Date | string | null
|
|
lastEventAt?: Prisma.DateTimeNullableWithAggregatesFilter<"AdminPhoneConnection"> | Date | string | null
|
|
}
|
|
|
|
export type AdminPhoneConnectionCreateInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
archivedAt?: Date | string | null
|
|
providerCompanyId?: string | null
|
|
providerUserId?: string | null
|
|
providerUserEmail?: string | null
|
|
webhookTokenHash?: string | null
|
|
webhookVerifiedAt?: Date | string | null
|
|
lastEventAt?: Date | string | null
|
|
adminUser: Prisma.AdminUserCreateNestedOneWithoutPhoneConnectionsInput
|
|
connection: Prisma.AdminDataConnectionCreateNestedOneWithoutPhoneConnectionInput
|
|
defaultPhoneNumber?: Prisma.AdminPhoneNumberCreateNestedOneWithoutDefaultForInput
|
|
phoneNumbers?: Prisma.AdminPhoneNumberCreateNestedManyWithoutPhoneConnectionInput
|
|
calls?: Prisma.AdminCallSessionCreateNestedManyWithoutPhoneConnectionInput
|
|
outboundRequests?: Prisma.AdminOutboundCallRequestCreateNestedManyWithoutPhoneConnectionInput
|
|
}
|
|
|
|
export type AdminPhoneConnectionUncheckedCreateInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
archivedAt?: Date | string | null
|
|
adminUserId: string
|
|
connectionId: string
|
|
providerCompanyId?: string | null
|
|
providerUserId?: string | null
|
|
providerUserEmail?: string | null
|
|
defaultPhoneNumberId?: string | null
|
|
webhookTokenHash?: string | null
|
|
webhookVerifiedAt?: Date | string | null
|
|
lastEventAt?: Date | string | null
|
|
phoneNumbers?: Prisma.AdminPhoneNumberUncheckedCreateNestedManyWithoutPhoneConnectionInput
|
|
calls?: Prisma.AdminCallSessionUncheckedCreateNestedManyWithoutPhoneConnectionInput
|
|
outboundRequests?: Prisma.AdminOutboundCallRequestUncheckedCreateNestedManyWithoutPhoneConnectionInput
|
|
}
|
|
|
|
export type AdminPhoneConnectionUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
providerCompanyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
providerUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
providerUserEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
webhookTokenHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
webhookVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
lastEventAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
adminUser?: Prisma.AdminUserUpdateOneRequiredWithoutPhoneConnectionsNestedInput
|
|
connection?: Prisma.AdminDataConnectionUpdateOneRequiredWithoutPhoneConnectionNestedInput
|
|
defaultPhoneNumber?: Prisma.AdminPhoneNumberUpdateOneWithoutDefaultForNestedInput
|
|
phoneNumbers?: Prisma.AdminPhoneNumberUpdateManyWithoutPhoneConnectionNestedInput
|
|
calls?: Prisma.AdminCallSessionUpdateManyWithoutPhoneConnectionNestedInput
|
|
outboundRequests?: Prisma.AdminOutboundCallRequestUpdateManyWithoutPhoneConnectionNestedInput
|
|
}
|
|
|
|
export type AdminPhoneConnectionUncheckedUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
connectionId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
providerCompanyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
providerUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
providerUserEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
defaultPhoneNumberId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
webhookTokenHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
webhookVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
lastEventAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
phoneNumbers?: Prisma.AdminPhoneNumberUncheckedUpdateManyWithoutPhoneConnectionNestedInput
|
|
calls?: Prisma.AdminCallSessionUncheckedUpdateManyWithoutPhoneConnectionNestedInput
|
|
outboundRequests?: Prisma.AdminOutboundCallRequestUncheckedUpdateManyWithoutPhoneConnectionNestedInput
|
|
}
|
|
|
|
export type AdminPhoneConnectionCreateManyInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
archivedAt?: Date | string | null
|
|
adminUserId: string
|
|
connectionId: string
|
|
providerCompanyId?: string | null
|
|
providerUserId?: string | null
|
|
providerUserEmail?: string | null
|
|
defaultPhoneNumberId?: string | null
|
|
webhookTokenHash?: string | null
|
|
webhookVerifiedAt?: Date | string | null
|
|
lastEventAt?: Date | string | null
|
|
}
|
|
|
|
export type AdminPhoneConnectionUpdateManyMutationInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
providerCompanyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
providerUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
providerUserEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
webhookTokenHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
webhookVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
lastEventAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
}
|
|
|
|
export type AdminPhoneConnectionUncheckedUpdateManyInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
connectionId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
providerCompanyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
providerUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
providerUserEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
defaultPhoneNumberId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
webhookTokenHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
webhookVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
lastEventAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
}
|
|
|
|
export type AdminPhoneConnectionNullableScalarRelationFilter = {
|
|
is?: Prisma.AdminPhoneConnectionWhereInput | null
|
|
isNot?: Prisma.AdminPhoneConnectionWhereInput | null
|
|
}
|
|
|
|
export type AdminPhoneConnectionListRelationFilter = {
|
|
every?: Prisma.AdminPhoneConnectionWhereInput
|
|
some?: Prisma.AdminPhoneConnectionWhereInput
|
|
none?: Prisma.AdminPhoneConnectionWhereInput
|
|
}
|
|
|
|
export type AdminPhoneConnectionOrderByRelationAggregateInput = {
|
|
_count?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AdminPhoneConnectionCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
archivedAt?: Prisma.SortOrder
|
|
adminUserId?: Prisma.SortOrder
|
|
connectionId?: Prisma.SortOrder
|
|
providerCompanyId?: Prisma.SortOrder
|
|
providerUserId?: Prisma.SortOrder
|
|
providerUserEmail?: Prisma.SortOrder
|
|
defaultPhoneNumberId?: Prisma.SortOrder
|
|
webhookTokenHash?: Prisma.SortOrder
|
|
webhookVerifiedAt?: Prisma.SortOrder
|
|
lastEventAt?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AdminPhoneConnectionMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
archivedAt?: Prisma.SortOrder
|
|
adminUserId?: Prisma.SortOrder
|
|
connectionId?: Prisma.SortOrder
|
|
providerCompanyId?: Prisma.SortOrder
|
|
providerUserId?: Prisma.SortOrder
|
|
providerUserEmail?: Prisma.SortOrder
|
|
defaultPhoneNumberId?: Prisma.SortOrder
|
|
webhookTokenHash?: Prisma.SortOrder
|
|
webhookVerifiedAt?: Prisma.SortOrder
|
|
lastEventAt?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AdminPhoneConnectionMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
archivedAt?: Prisma.SortOrder
|
|
adminUserId?: Prisma.SortOrder
|
|
connectionId?: Prisma.SortOrder
|
|
providerCompanyId?: Prisma.SortOrder
|
|
providerUserId?: Prisma.SortOrder
|
|
providerUserEmail?: Prisma.SortOrder
|
|
defaultPhoneNumberId?: Prisma.SortOrder
|
|
webhookTokenHash?: Prisma.SortOrder
|
|
webhookVerifiedAt?: Prisma.SortOrder
|
|
lastEventAt?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AdminPhoneConnectionScalarRelationFilter = {
|
|
is?: Prisma.AdminPhoneConnectionWhereInput
|
|
isNot?: Prisma.AdminPhoneConnectionWhereInput
|
|
}
|
|
|
|
export type AdminPhoneConnectionCreateNestedOneWithoutConnectionInput = {
|
|
create?: Prisma.XOR<Prisma.AdminPhoneConnectionCreateWithoutConnectionInput, Prisma.AdminPhoneConnectionUncheckedCreateWithoutConnectionInput>
|
|
connectOrCreate?: Prisma.AdminPhoneConnectionCreateOrConnectWithoutConnectionInput
|
|
connect?: Prisma.AdminPhoneConnectionWhereUniqueInput
|
|
}
|
|
|
|
export type AdminPhoneConnectionUncheckedCreateNestedOneWithoutConnectionInput = {
|
|
create?: Prisma.XOR<Prisma.AdminPhoneConnectionCreateWithoutConnectionInput, Prisma.AdminPhoneConnectionUncheckedCreateWithoutConnectionInput>
|
|
connectOrCreate?: Prisma.AdminPhoneConnectionCreateOrConnectWithoutConnectionInput
|
|
connect?: Prisma.AdminPhoneConnectionWhereUniqueInput
|
|
}
|
|
|
|
export type AdminPhoneConnectionUpdateOneWithoutConnectionNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AdminPhoneConnectionCreateWithoutConnectionInput, Prisma.AdminPhoneConnectionUncheckedCreateWithoutConnectionInput>
|
|
connectOrCreate?: Prisma.AdminPhoneConnectionCreateOrConnectWithoutConnectionInput
|
|
upsert?: Prisma.AdminPhoneConnectionUpsertWithoutConnectionInput
|
|
disconnect?: Prisma.AdminPhoneConnectionWhereInput | boolean
|
|
delete?: Prisma.AdminPhoneConnectionWhereInput | boolean
|
|
connect?: Prisma.AdminPhoneConnectionWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.AdminPhoneConnectionUpdateToOneWithWhereWithoutConnectionInput, Prisma.AdminPhoneConnectionUpdateWithoutConnectionInput>, Prisma.AdminPhoneConnectionUncheckedUpdateWithoutConnectionInput>
|
|
}
|
|
|
|
export type AdminPhoneConnectionUncheckedUpdateOneWithoutConnectionNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AdminPhoneConnectionCreateWithoutConnectionInput, Prisma.AdminPhoneConnectionUncheckedCreateWithoutConnectionInput>
|
|
connectOrCreate?: Prisma.AdminPhoneConnectionCreateOrConnectWithoutConnectionInput
|
|
upsert?: Prisma.AdminPhoneConnectionUpsertWithoutConnectionInput
|
|
disconnect?: Prisma.AdminPhoneConnectionWhereInput | boolean
|
|
delete?: Prisma.AdminPhoneConnectionWhereInput | boolean
|
|
connect?: Prisma.AdminPhoneConnectionWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.AdminPhoneConnectionUpdateToOneWithWhereWithoutConnectionInput, Prisma.AdminPhoneConnectionUpdateWithoutConnectionInput>, Prisma.AdminPhoneConnectionUncheckedUpdateWithoutConnectionInput>
|
|
}
|
|
|
|
export type AdminPhoneConnectionCreateNestedManyWithoutAdminUserInput = {
|
|
create?: Prisma.XOR<Prisma.AdminPhoneConnectionCreateWithoutAdminUserInput, Prisma.AdminPhoneConnectionUncheckedCreateWithoutAdminUserInput> | Prisma.AdminPhoneConnectionCreateWithoutAdminUserInput[] | Prisma.AdminPhoneConnectionUncheckedCreateWithoutAdminUserInput[]
|
|
connectOrCreate?: Prisma.AdminPhoneConnectionCreateOrConnectWithoutAdminUserInput | Prisma.AdminPhoneConnectionCreateOrConnectWithoutAdminUserInput[]
|
|
createMany?: Prisma.AdminPhoneConnectionCreateManyAdminUserInputEnvelope
|
|
connect?: Prisma.AdminPhoneConnectionWhereUniqueInput | Prisma.AdminPhoneConnectionWhereUniqueInput[]
|
|
}
|
|
|
|
export type AdminPhoneConnectionUncheckedCreateNestedManyWithoutAdminUserInput = {
|
|
create?: Prisma.XOR<Prisma.AdminPhoneConnectionCreateWithoutAdminUserInput, Prisma.AdminPhoneConnectionUncheckedCreateWithoutAdminUserInput> | Prisma.AdminPhoneConnectionCreateWithoutAdminUserInput[] | Prisma.AdminPhoneConnectionUncheckedCreateWithoutAdminUserInput[]
|
|
connectOrCreate?: Prisma.AdminPhoneConnectionCreateOrConnectWithoutAdminUserInput | Prisma.AdminPhoneConnectionCreateOrConnectWithoutAdminUserInput[]
|
|
createMany?: Prisma.AdminPhoneConnectionCreateManyAdminUserInputEnvelope
|
|
connect?: Prisma.AdminPhoneConnectionWhereUniqueInput | Prisma.AdminPhoneConnectionWhereUniqueInput[]
|
|
}
|
|
|
|
export type AdminPhoneConnectionUpdateManyWithoutAdminUserNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AdminPhoneConnectionCreateWithoutAdminUserInput, Prisma.AdminPhoneConnectionUncheckedCreateWithoutAdminUserInput> | Prisma.AdminPhoneConnectionCreateWithoutAdminUserInput[] | Prisma.AdminPhoneConnectionUncheckedCreateWithoutAdminUserInput[]
|
|
connectOrCreate?: Prisma.AdminPhoneConnectionCreateOrConnectWithoutAdminUserInput | Prisma.AdminPhoneConnectionCreateOrConnectWithoutAdminUserInput[]
|
|
upsert?: Prisma.AdminPhoneConnectionUpsertWithWhereUniqueWithoutAdminUserInput | Prisma.AdminPhoneConnectionUpsertWithWhereUniqueWithoutAdminUserInput[]
|
|
createMany?: Prisma.AdminPhoneConnectionCreateManyAdminUserInputEnvelope
|
|
set?: Prisma.AdminPhoneConnectionWhereUniqueInput | Prisma.AdminPhoneConnectionWhereUniqueInput[]
|
|
disconnect?: Prisma.AdminPhoneConnectionWhereUniqueInput | Prisma.AdminPhoneConnectionWhereUniqueInput[]
|
|
delete?: Prisma.AdminPhoneConnectionWhereUniqueInput | Prisma.AdminPhoneConnectionWhereUniqueInput[]
|
|
connect?: Prisma.AdminPhoneConnectionWhereUniqueInput | Prisma.AdminPhoneConnectionWhereUniqueInput[]
|
|
update?: Prisma.AdminPhoneConnectionUpdateWithWhereUniqueWithoutAdminUserInput | Prisma.AdminPhoneConnectionUpdateWithWhereUniqueWithoutAdminUserInput[]
|
|
updateMany?: Prisma.AdminPhoneConnectionUpdateManyWithWhereWithoutAdminUserInput | Prisma.AdminPhoneConnectionUpdateManyWithWhereWithoutAdminUserInput[]
|
|
deleteMany?: Prisma.AdminPhoneConnectionScalarWhereInput | Prisma.AdminPhoneConnectionScalarWhereInput[]
|
|
}
|
|
|
|
export type AdminPhoneConnectionUncheckedUpdateManyWithoutAdminUserNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AdminPhoneConnectionCreateWithoutAdminUserInput, Prisma.AdminPhoneConnectionUncheckedCreateWithoutAdminUserInput> | Prisma.AdminPhoneConnectionCreateWithoutAdminUserInput[] | Prisma.AdminPhoneConnectionUncheckedCreateWithoutAdminUserInput[]
|
|
connectOrCreate?: Prisma.AdminPhoneConnectionCreateOrConnectWithoutAdminUserInput | Prisma.AdminPhoneConnectionCreateOrConnectWithoutAdminUserInput[]
|
|
upsert?: Prisma.AdminPhoneConnectionUpsertWithWhereUniqueWithoutAdminUserInput | Prisma.AdminPhoneConnectionUpsertWithWhereUniqueWithoutAdminUserInput[]
|
|
createMany?: Prisma.AdminPhoneConnectionCreateManyAdminUserInputEnvelope
|
|
set?: Prisma.AdminPhoneConnectionWhereUniqueInput | Prisma.AdminPhoneConnectionWhereUniqueInput[]
|
|
disconnect?: Prisma.AdminPhoneConnectionWhereUniqueInput | Prisma.AdminPhoneConnectionWhereUniqueInput[]
|
|
delete?: Prisma.AdminPhoneConnectionWhereUniqueInput | Prisma.AdminPhoneConnectionWhereUniqueInput[]
|
|
connect?: Prisma.AdminPhoneConnectionWhereUniqueInput | Prisma.AdminPhoneConnectionWhereUniqueInput[]
|
|
update?: Prisma.AdminPhoneConnectionUpdateWithWhereUniqueWithoutAdminUserInput | Prisma.AdminPhoneConnectionUpdateWithWhereUniqueWithoutAdminUserInput[]
|
|
updateMany?: Prisma.AdminPhoneConnectionUpdateManyWithWhereWithoutAdminUserInput | Prisma.AdminPhoneConnectionUpdateManyWithWhereWithoutAdminUserInput[]
|
|
deleteMany?: Prisma.AdminPhoneConnectionScalarWhereInput | Prisma.AdminPhoneConnectionScalarWhereInput[]
|
|
}
|
|
|
|
export type AdminPhoneConnectionCreateNestedOneWithoutPhoneNumbersInput = {
|
|
create?: Prisma.XOR<Prisma.AdminPhoneConnectionCreateWithoutPhoneNumbersInput, Prisma.AdminPhoneConnectionUncheckedCreateWithoutPhoneNumbersInput>
|
|
connectOrCreate?: Prisma.AdminPhoneConnectionCreateOrConnectWithoutPhoneNumbersInput
|
|
connect?: Prisma.AdminPhoneConnectionWhereUniqueInput
|
|
}
|
|
|
|
export type AdminPhoneConnectionCreateNestedManyWithoutDefaultPhoneNumberInput = {
|
|
create?: Prisma.XOR<Prisma.AdminPhoneConnectionCreateWithoutDefaultPhoneNumberInput, Prisma.AdminPhoneConnectionUncheckedCreateWithoutDefaultPhoneNumberInput> | Prisma.AdminPhoneConnectionCreateWithoutDefaultPhoneNumberInput[] | Prisma.AdminPhoneConnectionUncheckedCreateWithoutDefaultPhoneNumberInput[]
|
|
connectOrCreate?: Prisma.AdminPhoneConnectionCreateOrConnectWithoutDefaultPhoneNumberInput | Prisma.AdminPhoneConnectionCreateOrConnectWithoutDefaultPhoneNumberInput[]
|
|
createMany?: Prisma.AdminPhoneConnectionCreateManyDefaultPhoneNumberInputEnvelope
|
|
connect?: Prisma.AdminPhoneConnectionWhereUniqueInput | Prisma.AdminPhoneConnectionWhereUniqueInput[]
|
|
}
|
|
|
|
export type AdminPhoneConnectionUncheckedCreateNestedManyWithoutDefaultPhoneNumberInput = {
|
|
create?: Prisma.XOR<Prisma.AdminPhoneConnectionCreateWithoutDefaultPhoneNumberInput, Prisma.AdminPhoneConnectionUncheckedCreateWithoutDefaultPhoneNumberInput> | Prisma.AdminPhoneConnectionCreateWithoutDefaultPhoneNumberInput[] | Prisma.AdminPhoneConnectionUncheckedCreateWithoutDefaultPhoneNumberInput[]
|
|
connectOrCreate?: Prisma.AdminPhoneConnectionCreateOrConnectWithoutDefaultPhoneNumberInput | Prisma.AdminPhoneConnectionCreateOrConnectWithoutDefaultPhoneNumberInput[]
|
|
createMany?: Prisma.AdminPhoneConnectionCreateManyDefaultPhoneNumberInputEnvelope
|
|
connect?: Prisma.AdminPhoneConnectionWhereUniqueInput | Prisma.AdminPhoneConnectionWhereUniqueInput[]
|
|
}
|
|
|
|
export type AdminPhoneConnectionUpdateOneRequiredWithoutPhoneNumbersNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AdminPhoneConnectionCreateWithoutPhoneNumbersInput, Prisma.AdminPhoneConnectionUncheckedCreateWithoutPhoneNumbersInput>
|
|
connectOrCreate?: Prisma.AdminPhoneConnectionCreateOrConnectWithoutPhoneNumbersInput
|
|
upsert?: Prisma.AdminPhoneConnectionUpsertWithoutPhoneNumbersInput
|
|
connect?: Prisma.AdminPhoneConnectionWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.AdminPhoneConnectionUpdateToOneWithWhereWithoutPhoneNumbersInput, Prisma.AdminPhoneConnectionUpdateWithoutPhoneNumbersInput>, Prisma.AdminPhoneConnectionUncheckedUpdateWithoutPhoneNumbersInput>
|
|
}
|
|
|
|
export type AdminPhoneConnectionUpdateManyWithoutDefaultPhoneNumberNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AdminPhoneConnectionCreateWithoutDefaultPhoneNumberInput, Prisma.AdminPhoneConnectionUncheckedCreateWithoutDefaultPhoneNumberInput> | Prisma.AdminPhoneConnectionCreateWithoutDefaultPhoneNumberInput[] | Prisma.AdminPhoneConnectionUncheckedCreateWithoutDefaultPhoneNumberInput[]
|
|
connectOrCreate?: Prisma.AdminPhoneConnectionCreateOrConnectWithoutDefaultPhoneNumberInput | Prisma.AdminPhoneConnectionCreateOrConnectWithoutDefaultPhoneNumberInput[]
|
|
upsert?: Prisma.AdminPhoneConnectionUpsertWithWhereUniqueWithoutDefaultPhoneNumberInput | Prisma.AdminPhoneConnectionUpsertWithWhereUniqueWithoutDefaultPhoneNumberInput[]
|
|
createMany?: Prisma.AdminPhoneConnectionCreateManyDefaultPhoneNumberInputEnvelope
|
|
set?: Prisma.AdminPhoneConnectionWhereUniqueInput | Prisma.AdminPhoneConnectionWhereUniqueInput[]
|
|
disconnect?: Prisma.AdminPhoneConnectionWhereUniqueInput | Prisma.AdminPhoneConnectionWhereUniqueInput[]
|
|
delete?: Prisma.AdminPhoneConnectionWhereUniqueInput | Prisma.AdminPhoneConnectionWhereUniqueInput[]
|
|
connect?: Prisma.AdminPhoneConnectionWhereUniqueInput | Prisma.AdminPhoneConnectionWhereUniqueInput[]
|
|
update?: Prisma.AdminPhoneConnectionUpdateWithWhereUniqueWithoutDefaultPhoneNumberInput | Prisma.AdminPhoneConnectionUpdateWithWhereUniqueWithoutDefaultPhoneNumberInput[]
|
|
updateMany?: Prisma.AdminPhoneConnectionUpdateManyWithWhereWithoutDefaultPhoneNumberInput | Prisma.AdminPhoneConnectionUpdateManyWithWhereWithoutDefaultPhoneNumberInput[]
|
|
deleteMany?: Prisma.AdminPhoneConnectionScalarWhereInput | Prisma.AdminPhoneConnectionScalarWhereInput[]
|
|
}
|
|
|
|
export type AdminPhoneConnectionUncheckedUpdateManyWithoutDefaultPhoneNumberNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AdminPhoneConnectionCreateWithoutDefaultPhoneNumberInput, Prisma.AdminPhoneConnectionUncheckedCreateWithoutDefaultPhoneNumberInput> | Prisma.AdminPhoneConnectionCreateWithoutDefaultPhoneNumberInput[] | Prisma.AdminPhoneConnectionUncheckedCreateWithoutDefaultPhoneNumberInput[]
|
|
connectOrCreate?: Prisma.AdminPhoneConnectionCreateOrConnectWithoutDefaultPhoneNumberInput | Prisma.AdminPhoneConnectionCreateOrConnectWithoutDefaultPhoneNumberInput[]
|
|
upsert?: Prisma.AdminPhoneConnectionUpsertWithWhereUniqueWithoutDefaultPhoneNumberInput | Prisma.AdminPhoneConnectionUpsertWithWhereUniqueWithoutDefaultPhoneNumberInput[]
|
|
createMany?: Prisma.AdminPhoneConnectionCreateManyDefaultPhoneNumberInputEnvelope
|
|
set?: Prisma.AdminPhoneConnectionWhereUniqueInput | Prisma.AdminPhoneConnectionWhereUniqueInput[]
|
|
disconnect?: Prisma.AdminPhoneConnectionWhereUniqueInput | Prisma.AdminPhoneConnectionWhereUniqueInput[]
|
|
delete?: Prisma.AdminPhoneConnectionWhereUniqueInput | Prisma.AdminPhoneConnectionWhereUniqueInput[]
|
|
connect?: Prisma.AdminPhoneConnectionWhereUniqueInput | Prisma.AdminPhoneConnectionWhereUniqueInput[]
|
|
update?: Prisma.AdminPhoneConnectionUpdateWithWhereUniqueWithoutDefaultPhoneNumberInput | Prisma.AdminPhoneConnectionUpdateWithWhereUniqueWithoutDefaultPhoneNumberInput[]
|
|
updateMany?: Prisma.AdminPhoneConnectionUpdateManyWithWhereWithoutDefaultPhoneNumberInput | Prisma.AdminPhoneConnectionUpdateManyWithWhereWithoutDefaultPhoneNumberInput[]
|
|
deleteMany?: Prisma.AdminPhoneConnectionScalarWhereInput | Prisma.AdminPhoneConnectionScalarWhereInput[]
|
|
}
|
|
|
|
export type AdminPhoneConnectionCreateNestedOneWithoutCallsInput = {
|
|
create?: Prisma.XOR<Prisma.AdminPhoneConnectionCreateWithoutCallsInput, Prisma.AdminPhoneConnectionUncheckedCreateWithoutCallsInput>
|
|
connectOrCreate?: Prisma.AdminPhoneConnectionCreateOrConnectWithoutCallsInput
|
|
connect?: Prisma.AdminPhoneConnectionWhereUniqueInput
|
|
}
|
|
|
|
export type AdminPhoneConnectionUpdateOneRequiredWithoutCallsNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AdminPhoneConnectionCreateWithoutCallsInput, Prisma.AdminPhoneConnectionUncheckedCreateWithoutCallsInput>
|
|
connectOrCreate?: Prisma.AdminPhoneConnectionCreateOrConnectWithoutCallsInput
|
|
upsert?: Prisma.AdminPhoneConnectionUpsertWithoutCallsInput
|
|
connect?: Prisma.AdminPhoneConnectionWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.AdminPhoneConnectionUpdateToOneWithWhereWithoutCallsInput, Prisma.AdminPhoneConnectionUpdateWithoutCallsInput>, Prisma.AdminPhoneConnectionUncheckedUpdateWithoutCallsInput>
|
|
}
|
|
|
|
export type AdminPhoneConnectionCreateNestedOneWithoutOutboundRequestsInput = {
|
|
create?: Prisma.XOR<Prisma.AdminPhoneConnectionCreateWithoutOutboundRequestsInput, Prisma.AdminPhoneConnectionUncheckedCreateWithoutOutboundRequestsInput>
|
|
connectOrCreate?: Prisma.AdminPhoneConnectionCreateOrConnectWithoutOutboundRequestsInput
|
|
connect?: Prisma.AdminPhoneConnectionWhereUniqueInput
|
|
}
|
|
|
|
export type AdminPhoneConnectionUpdateOneRequiredWithoutOutboundRequestsNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AdminPhoneConnectionCreateWithoutOutboundRequestsInput, Prisma.AdminPhoneConnectionUncheckedCreateWithoutOutboundRequestsInput>
|
|
connectOrCreate?: Prisma.AdminPhoneConnectionCreateOrConnectWithoutOutboundRequestsInput
|
|
upsert?: Prisma.AdminPhoneConnectionUpsertWithoutOutboundRequestsInput
|
|
connect?: Prisma.AdminPhoneConnectionWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.AdminPhoneConnectionUpdateToOneWithWhereWithoutOutboundRequestsInput, Prisma.AdminPhoneConnectionUpdateWithoutOutboundRequestsInput>, Prisma.AdminPhoneConnectionUncheckedUpdateWithoutOutboundRequestsInput>
|
|
}
|
|
|
|
export type AdminPhoneConnectionCreateWithoutConnectionInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
archivedAt?: Date | string | null
|
|
providerCompanyId?: string | null
|
|
providerUserId?: string | null
|
|
providerUserEmail?: string | null
|
|
webhookTokenHash?: string | null
|
|
webhookVerifiedAt?: Date | string | null
|
|
lastEventAt?: Date | string | null
|
|
adminUser: Prisma.AdminUserCreateNestedOneWithoutPhoneConnectionsInput
|
|
defaultPhoneNumber?: Prisma.AdminPhoneNumberCreateNestedOneWithoutDefaultForInput
|
|
phoneNumbers?: Prisma.AdminPhoneNumberCreateNestedManyWithoutPhoneConnectionInput
|
|
calls?: Prisma.AdminCallSessionCreateNestedManyWithoutPhoneConnectionInput
|
|
outboundRequests?: Prisma.AdminOutboundCallRequestCreateNestedManyWithoutPhoneConnectionInput
|
|
}
|
|
|
|
export type AdminPhoneConnectionUncheckedCreateWithoutConnectionInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
archivedAt?: Date | string | null
|
|
adminUserId: string
|
|
providerCompanyId?: string | null
|
|
providerUserId?: string | null
|
|
providerUserEmail?: string | null
|
|
defaultPhoneNumberId?: string | null
|
|
webhookTokenHash?: string | null
|
|
webhookVerifiedAt?: Date | string | null
|
|
lastEventAt?: Date | string | null
|
|
phoneNumbers?: Prisma.AdminPhoneNumberUncheckedCreateNestedManyWithoutPhoneConnectionInput
|
|
calls?: Prisma.AdminCallSessionUncheckedCreateNestedManyWithoutPhoneConnectionInput
|
|
outboundRequests?: Prisma.AdminOutboundCallRequestUncheckedCreateNestedManyWithoutPhoneConnectionInput
|
|
}
|
|
|
|
export type AdminPhoneConnectionCreateOrConnectWithoutConnectionInput = {
|
|
where: Prisma.AdminPhoneConnectionWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.AdminPhoneConnectionCreateWithoutConnectionInput, Prisma.AdminPhoneConnectionUncheckedCreateWithoutConnectionInput>
|
|
}
|
|
|
|
export type AdminPhoneConnectionUpsertWithoutConnectionInput = {
|
|
update: Prisma.XOR<Prisma.AdminPhoneConnectionUpdateWithoutConnectionInput, Prisma.AdminPhoneConnectionUncheckedUpdateWithoutConnectionInput>
|
|
create: Prisma.XOR<Prisma.AdminPhoneConnectionCreateWithoutConnectionInput, Prisma.AdminPhoneConnectionUncheckedCreateWithoutConnectionInput>
|
|
where?: Prisma.AdminPhoneConnectionWhereInput
|
|
}
|
|
|
|
export type AdminPhoneConnectionUpdateToOneWithWhereWithoutConnectionInput = {
|
|
where?: Prisma.AdminPhoneConnectionWhereInput
|
|
data: Prisma.XOR<Prisma.AdminPhoneConnectionUpdateWithoutConnectionInput, Prisma.AdminPhoneConnectionUncheckedUpdateWithoutConnectionInput>
|
|
}
|
|
|
|
export type AdminPhoneConnectionUpdateWithoutConnectionInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
providerCompanyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
providerUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
providerUserEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
webhookTokenHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
webhookVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
lastEventAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
adminUser?: Prisma.AdminUserUpdateOneRequiredWithoutPhoneConnectionsNestedInput
|
|
defaultPhoneNumber?: Prisma.AdminPhoneNumberUpdateOneWithoutDefaultForNestedInput
|
|
phoneNumbers?: Prisma.AdminPhoneNumberUpdateManyWithoutPhoneConnectionNestedInput
|
|
calls?: Prisma.AdminCallSessionUpdateManyWithoutPhoneConnectionNestedInput
|
|
outboundRequests?: Prisma.AdminOutboundCallRequestUpdateManyWithoutPhoneConnectionNestedInput
|
|
}
|
|
|
|
export type AdminPhoneConnectionUncheckedUpdateWithoutConnectionInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
providerCompanyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
providerUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
providerUserEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
defaultPhoneNumberId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
webhookTokenHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
webhookVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
lastEventAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
phoneNumbers?: Prisma.AdminPhoneNumberUncheckedUpdateManyWithoutPhoneConnectionNestedInput
|
|
calls?: Prisma.AdminCallSessionUncheckedUpdateManyWithoutPhoneConnectionNestedInput
|
|
outboundRequests?: Prisma.AdminOutboundCallRequestUncheckedUpdateManyWithoutPhoneConnectionNestedInput
|
|
}
|
|
|
|
export type AdminPhoneConnectionCreateWithoutAdminUserInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
archivedAt?: Date | string | null
|
|
providerCompanyId?: string | null
|
|
providerUserId?: string | null
|
|
providerUserEmail?: string | null
|
|
webhookTokenHash?: string | null
|
|
webhookVerifiedAt?: Date | string | null
|
|
lastEventAt?: Date | string | null
|
|
connection: Prisma.AdminDataConnectionCreateNestedOneWithoutPhoneConnectionInput
|
|
defaultPhoneNumber?: Prisma.AdminPhoneNumberCreateNestedOneWithoutDefaultForInput
|
|
phoneNumbers?: Prisma.AdminPhoneNumberCreateNestedManyWithoutPhoneConnectionInput
|
|
calls?: Prisma.AdminCallSessionCreateNestedManyWithoutPhoneConnectionInput
|
|
outboundRequests?: Prisma.AdminOutboundCallRequestCreateNestedManyWithoutPhoneConnectionInput
|
|
}
|
|
|
|
export type AdminPhoneConnectionUncheckedCreateWithoutAdminUserInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
archivedAt?: Date | string | null
|
|
connectionId: string
|
|
providerCompanyId?: string | null
|
|
providerUserId?: string | null
|
|
providerUserEmail?: string | null
|
|
defaultPhoneNumberId?: string | null
|
|
webhookTokenHash?: string | null
|
|
webhookVerifiedAt?: Date | string | null
|
|
lastEventAt?: Date | string | null
|
|
phoneNumbers?: Prisma.AdminPhoneNumberUncheckedCreateNestedManyWithoutPhoneConnectionInput
|
|
calls?: Prisma.AdminCallSessionUncheckedCreateNestedManyWithoutPhoneConnectionInput
|
|
outboundRequests?: Prisma.AdminOutboundCallRequestUncheckedCreateNestedManyWithoutPhoneConnectionInput
|
|
}
|
|
|
|
export type AdminPhoneConnectionCreateOrConnectWithoutAdminUserInput = {
|
|
where: Prisma.AdminPhoneConnectionWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.AdminPhoneConnectionCreateWithoutAdminUserInput, Prisma.AdminPhoneConnectionUncheckedCreateWithoutAdminUserInput>
|
|
}
|
|
|
|
export type AdminPhoneConnectionCreateManyAdminUserInputEnvelope = {
|
|
data: Prisma.AdminPhoneConnectionCreateManyAdminUserInput | Prisma.AdminPhoneConnectionCreateManyAdminUserInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type AdminPhoneConnectionUpsertWithWhereUniqueWithoutAdminUserInput = {
|
|
where: Prisma.AdminPhoneConnectionWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.AdminPhoneConnectionUpdateWithoutAdminUserInput, Prisma.AdminPhoneConnectionUncheckedUpdateWithoutAdminUserInput>
|
|
create: Prisma.XOR<Prisma.AdminPhoneConnectionCreateWithoutAdminUserInput, Prisma.AdminPhoneConnectionUncheckedCreateWithoutAdminUserInput>
|
|
}
|
|
|
|
export type AdminPhoneConnectionUpdateWithWhereUniqueWithoutAdminUserInput = {
|
|
where: Prisma.AdminPhoneConnectionWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.AdminPhoneConnectionUpdateWithoutAdminUserInput, Prisma.AdminPhoneConnectionUncheckedUpdateWithoutAdminUserInput>
|
|
}
|
|
|
|
export type AdminPhoneConnectionUpdateManyWithWhereWithoutAdminUserInput = {
|
|
where: Prisma.AdminPhoneConnectionScalarWhereInput
|
|
data: Prisma.XOR<Prisma.AdminPhoneConnectionUpdateManyMutationInput, Prisma.AdminPhoneConnectionUncheckedUpdateManyWithoutAdminUserInput>
|
|
}
|
|
|
|
export type AdminPhoneConnectionScalarWhereInput = {
|
|
AND?: Prisma.AdminPhoneConnectionScalarWhereInput | Prisma.AdminPhoneConnectionScalarWhereInput[]
|
|
OR?: Prisma.AdminPhoneConnectionScalarWhereInput[]
|
|
NOT?: Prisma.AdminPhoneConnectionScalarWhereInput | Prisma.AdminPhoneConnectionScalarWhereInput[]
|
|
id?: Prisma.StringFilter<"AdminPhoneConnection"> | string
|
|
createdAt?: Prisma.DateTimeFilter<"AdminPhoneConnection"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"AdminPhoneConnection"> | Date | string
|
|
archivedAt?: Prisma.DateTimeNullableFilter<"AdminPhoneConnection"> | Date | string | null
|
|
adminUserId?: Prisma.StringFilter<"AdminPhoneConnection"> | string
|
|
connectionId?: Prisma.StringFilter<"AdminPhoneConnection"> | string
|
|
providerCompanyId?: Prisma.StringNullableFilter<"AdminPhoneConnection"> | string | null
|
|
providerUserId?: Prisma.StringNullableFilter<"AdminPhoneConnection"> | string | null
|
|
providerUserEmail?: Prisma.StringNullableFilter<"AdminPhoneConnection"> | string | null
|
|
defaultPhoneNumberId?: Prisma.StringNullableFilter<"AdminPhoneConnection"> | string | null
|
|
webhookTokenHash?: Prisma.StringNullableFilter<"AdminPhoneConnection"> | string | null
|
|
webhookVerifiedAt?: Prisma.DateTimeNullableFilter<"AdminPhoneConnection"> | Date | string | null
|
|
lastEventAt?: Prisma.DateTimeNullableFilter<"AdminPhoneConnection"> | Date | string | null
|
|
}
|
|
|
|
export type AdminPhoneConnectionCreateWithoutPhoneNumbersInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
archivedAt?: Date | string | null
|
|
providerCompanyId?: string | null
|
|
providerUserId?: string | null
|
|
providerUserEmail?: string | null
|
|
webhookTokenHash?: string | null
|
|
webhookVerifiedAt?: Date | string | null
|
|
lastEventAt?: Date | string | null
|
|
adminUser: Prisma.AdminUserCreateNestedOneWithoutPhoneConnectionsInput
|
|
connection: Prisma.AdminDataConnectionCreateNestedOneWithoutPhoneConnectionInput
|
|
defaultPhoneNumber?: Prisma.AdminPhoneNumberCreateNestedOneWithoutDefaultForInput
|
|
calls?: Prisma.AdminCallSessionCreateNestedManyWithoutPhoneConnectionInput
|
|
outboundRequests?: Prisma.AdminOutboundCallRequestCreateNestedManyWithoutPhoneConnectionInput
|
|
}
|
|
|
|
export type AdminPhoneConnectionUncheckedCreateWithoutPhoneNumbersInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
archivedAt?: Date | string | null
|
|
adminUserId: string
|
|
connectionId: string
|
|
providerCompanyId?: string | null
|
|
providerUserId?: string | null
|
|
providerUserEmail?: string | null
|
|
defaultPhoneNumberId?: string | null
|
|
webhookTokenHash?: string | null
|
|
webhookVerifiedAt?: Date | string | null
|
|
lastEventAt?: Date | string | null
|
|
calls?: Prisma.AdminCallSessionUncheckedCreateNestedManyWithoutPhoneConnectionInput
|
|
outboundRequests?: Prisma.AdminOutboundCallRequestUncheckedCreateNestedManyWithoutPhoneConnectionInput
|
|
}
|
|
|
|
export type AdminPhoneConnectionCreateOrConnectWithoutPhoneNumbersInput = {
|
|
where: Prisma.AdminPhoneConnectionWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.AdminPhoneConnectionCreateWithoutPhoneNumbersInput, Prisma.AdminPhoneConnectionUncheckedCreateWithoutPhoneNumbersInput>
|
|
}
|
|
|
|
export type AdminPhoneConnectionCreateWithoutDefaultPhoneNumberInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
archivedAt?: Date | string | null
|
|
providerCompanyId?: string | null
|
|
providerUserId?: string | null
|
|
providerUserEmail?: string | null
|
|
webhookTokenHash?: string | null
|
|
webhookVerifiedAt?: Date | string | null
|
|
lastEventAt?: Date | string | null
|
|
adminUser: Prisma.AdminUserCreateNestedOneWithoutPhoneConnectionsInput
|
|
connection: Prisma.AdminDataConnectionCreateNestedOneWithoutPhoneConnectionInput
|
|
phoneNumbers?: Prisma.AdminPhoneNumberCreateNestedManyWithoutPhoneConnectionInput
|
|
calls?: Prisma.AdminCallSessionCreateNestedManyWithoutPhoneConnectionInput
|
|
outboundRequests?: Prisma.AdminOutboundCallRequestCreateNestedManyWithoutPhoneConnectionInput
|
|
}
|
|
|
|
export type AdminPhoneConnectionUncheckedCreateWithoutDefaultPhoneNumberInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
archivedAt?: Date | string | null
|
|
adminUserId: string
|
|
connectionId: string
|
|
providerCompanyId?: string | null
|
|
providerUserId?: string | null
|
|
providerUserEmail?: string | null
|
|
webhookTokenHash?: string | null
|
|
webhookVerifiedAt?: Date | string | null
|
|
lastEventAt?: Date | string | null
|
|
phoneNumbers?: Prisma.AdminPhoneNumberUncheckedCreateNestedManyWithoutPhoneConnectionInput
|
|
calls?: Prisma.AdminCallSessionUncheckedCreateNestedManyWithoutPhoneConnectionInput
|
|
outboundRequests?: Prisma.AdminOutboundCallRequestUncheckedCreateNestedManyWithoutPhoneConnectionInput
|
|
}
|
|
|
|
export type AdminPhoneConnectionCreateOrConnectWithoutDefaultPhoneNumberInput = {
|
|
where: Prisma.AdminPhoneConnectionWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.AdminPhoneConnectionCreateWithoutDefaultPhoneNumberInput, Prisma.AdminPhoneConnectionUncheckedCreateWithoutDefaultPhoneNumberInput>
|
|
}
|
|
|
|
export type AdminPhoneConnectionCreateManyDefaultPhoneNumberInputEnvelope = {
|
|
data: Prisma.AdminPhoneConnectionCreateManyDefaultPhoneNumberInput | Prisma.AdminPhoneConnectionCreateManyDefaultPhoneNumberInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type AdminPhoneConnectionUpsertWithoutPhoneNumbersInput = {
|
|
update: Prisma.XOR<Prisma.AdminPhoneConnectionUpdateWithoutPhoneNumbersInput, Prisma.AdminPhoneConnectionUncheckedUpdateWithoutPhoneNumbersInput>
|
|
create: Prisma.XOR<Prisma.AdminPhoneConnectionCreateWithoutPhoneNumbersInput, Prisma.AdminPhoneConnectionUncheckedCreateWithoutPhoneNumbersInput>
|
|
where?: Prisma.AdminPhoneConnectionWhereInput
|
|
}
|
|
|
|
export type AdminPhoneConnectionUpdateToOneWithWhereWithoutPhoneNumbersInput = {
|
|
where?: Prisma.AdminPhoneConnectionWhereInput
|
|
data: Prisma.XOR<Prisma.AdminPhoneConnectionUpdateWithoutPhoneNumbersInput, Prisma.AdminPhoneConnectionUncheckedUpdateWithoutPhoneNumbersInput>
|
|
}
|
|
|
|
export type AdminPhoneConnectionUpdateWithoutPhoneNumbersInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
providerCompanyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
providerUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
providerUserEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
webhookTokenHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
webhookVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
lastEventAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
adminUser?: Prisma.AdminUserUpdateOneRequiredWithoutPhoneConnectionsNestedInput
|
|
connection?: Prisma.AdminDataConnectionUpdateOneRequiredWithoutPhoneConnectionNestedInput
|
|
defaultPhoneNumber?: Prisma.AdminPhoneNumberUpdateOneWithoutDefaultForNestedInput
|
|
calls?: Prisma.AdminCallSessionUpdateManyWithoutPhoneConnectionNestedInput
|
|
outboundRequests?: Prisma.AdminOutboundCallRequestUpdateManyWithoutPhoneConnectionNestedInput
|
|
}
|
|
|
|
export type AdminPhoneConnectionUncheckedUpdateWithoutPhoneNumbersInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
connectionId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
providerCompanyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
providerUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
providerUserEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
defaultPhoneNumberId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
webhookTokenHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
webhookVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
lastEventAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
calls?: Prisma.AdminCallSessionUncheckedUpdateManyWithoutPhoneConnectionNestedInput
|
|
outboundRequests?: Prisma.AdminOutboundCallRequestUncheckedUpdateManyWithoutPhoneConnectionNestedInput
|
|
}
|
|
|
|
export type AdminPhoneConnectionUpsertWithWhereUniqueWithoutDefaultPhoneNumberInput = {
|
|
where: Prisma.AdminPhoneConnectionWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.AdminPhoneConnectionUpdateWithoutDefaultPhoneNumberInput, Prisma.AdminPhoneConnectionUncheckedUpdateWithoutDefaultPhoneNumberInput>
|
|
create: Prisma.XOR<Prisma.AdminPhoneConnectionCreateWithoutDefaultPhoneNumberInput, Prisma.AdminPhoneConnectionUncheckedCreateWithoutDefaultPhoneNumberInput>
|
|
}
|
|
|
|
export type AdminPhoneConnectionUpdateWithWhereUniqueWithoutDefaultPhoneNumberInput = {
|
|
where: Prisma.AdminPhoneConnectionWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.AdminPhoneConnectionUpdateWithoutDefaultPhoneNumberInput, Prisma.AdminPhoneConnectionUncheckedUpdateWithoutDefaultPhoneNumberInput>
|
|
}
|
|
|
|
export type AdminPhoneConnectionUpdateManyWithWhereWithoutDefaultPhoneNumberInput = {
|
|
where: Prisma.AdminPhoneConnectionScalarWhereInput
|
|
data: Prisma.XOR<Prisma.AdminPhoneConnectionUpdateManyMutationInput, Prisma.AdminPhoneConnectionUncheckedUpdateManyWithoutDefaultPhoneNumberInput>
|
|
}
|
|
|
|
export type AdminPhoneConnectionCreateWithoutCallsInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
archivedAt?: Date | string | null
|
|
providerCompanyId?: string | null
|
|
providerUserId?: string | null
|
|
providerUserEmail?: string | null
|
|
webhookTokenHash?: string | null
|
|
webhookVerifiedAt?: Date | string | null
|
|
lastEventAt?: Date | string | null
|
|
adminUser: Prisma.AdminUserCreateNestedOneWithoutPhoneConnectionsInput
|
|
connection: Prisma.AdminDataConnectionCreateNestedOneWithoutPhoneConnectionInput
|
|
defaultPhoneNumber?: Prisma.AdminPhoneNumberCreateNestedOneWithoutDefaultForInput
|
|
phoneNumbers?: Prisma.AdminPhoneNumberCreateNestedManyWithoutPhoneConnectionInput
|
|
outboundRequests?: Prisma.AdminOutboundCallRequestCreateNestedManyWithoutPhoneConnectionInput
|
|
}
|
|
|
|
export type AdminPhoneConnectionUncheckedCreateWithoutCallsInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
archivedAt?: Date | string | null
|
|
adminUserId: string
|
|
connectionId: string
|
|
providerCompanyId?: string | null
|
|
providerUserId?: string | null
|
|
providerUserEmail?: string | null
|
|
defaultPhoneNumberId?: string | null
|
|
webhookTokenHash?: string | null
|
|
webhookVerifiedAt?: Date | string | null
|
|
lastEventAt?: Date | string | null
|
|
phoneNumbers?: Prisma.AdminPhoneNumberUncheckedCreateNestedManyWithoutPhoneConnectionInput
|
|
outboundRequests?: Prisma.AdminOutboundCallRequestUncheckedCreateNestedManyWithoutPhoneConnectionInput
|
|
}
|
|
|
|
export type AdminPhoneConnectionCreateOrConnectWithoutCallsInput = {
|
|
where: Prisma.AdminPhoneConnectionWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.AdminPhoneConnectionCreateWithoutCallsInput, Prisma.AdminPhoneConnectionUncheckedCreateWithoutCallsInput>
|
|
}
|
|
|
|
export type AdminPhoneConnectionUpsertWithoutCallsInput = {
|
|
update: Prisma.XOR<Prisma.AdminPhoneConnectionUpdateWithoutCallsInput, Prisma.AdminPhoneConnectionUncheckedUpdateWithoutCallsInput>
|
|
create: Prisma.XOR<Prisma.AdminPhoneConnectionCreateWithoutCallsInput, Prisma.AdminPhoneConnectionUncheckedCreateWithoutCallsInput>
|
|
where?: Prisma.AdminPhoneConnectionWhereInput
|
|
}
|
|
|
|
export type AdminPhoneConnectionUpdateToOneWithWhereWithoutCallsInput = {
|
|
where?: Prisma.AdminPhoneConnectionWhereInput
|
|
data: Prisma.XOR<Prisma.AdminPhoneConnectionUpdateWithoutCallsInput, Prisma.AdminPhoneConnectionUncheckedUpdateWithoutCallsInput>
|
|
}
|
|
|
|
export type AdminPhoneConnectionUpdateWithoutCallsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
providerCompanyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
providerUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
providerUserEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
webhookTokenHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
webhookVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
lastEventAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
adminUser?: Prisma.AdminUserUpdateOneRequiredWithoutPhoneConnectionsNestedInput
|
|
connection?: Prisma.AdminDataConnectionUpdateOneRequiredWithoutPhoneConnectionNestedInput
|
|
defaultPhoneNumber?: Prisma.AdminPhoneNumberUpdateOneWithoutDefaultForNestedInput
|
|
phoneNumbers?: Prisma.AdminPhoneNumberUpdateManyWithoutPhoneConnectionNestedInput
|
|
outboundRequests?: Prisma.AdminOutboundCallRequestUpdateManyWithoutPhoneConnectionNestedInput
|
|
}
|
|
|
|
export type AdminPhoneConnectionUncheckedUpdateWithoutCallsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
connectionId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
providerCompanyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
providerUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
providerUserEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
defaultPhoneNumberId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
webhookTokenHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
webhookVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
lastEventAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
phoneNumbers?: Prisma.AdminPhoneNumberUncheckedUpdateManyWithoutPhoneConnectionNestedInput
|
|
outboundRequests?: Prisma.AdminOutboundCallRequestUncheckedUpdateManyWithoutPhoneConnectionNestedInput
|
|
}
|
|
|
|
export type AdminPhoneConnectionCreateWithoutOutboundRequestsInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
archivedAt?: Date | string | null
|
|
providerCompanyId?: string | null
|
|
providerUserId?: string | null
|
|
providerUserEmail?: string | null
|
|
webhookTokenHash?: string | null
|
|
webhookVerifiedAt?: Date | string | null
|
|
lastEventAt?: Date | string | null
|
|
adminUser: Prisma.AdminUserCreateNestedOneWithoutPhoneConnectionsInput
|
|
connection: Prisma.AdminDataConnectionCreateNestedOneWithoutPhoneConnectionInput
|
|
defaultPhoneNumber?: Prisma.AdminPhoneNumberCreateNestedOneWithoutDefaultForInput
|
|
phoneNumbers?: Prisma.AdminPhoneNumberCreateNestedManyWithoutPhoneConnectionInput
|
|
calls?: Prisma.AdminCallSessionCreateNestedManyWithoutPhoneConnectionInput
|
|
}
|
|
|
|
export type AdminPhoneConnectionUncheckedCreateWithoutOutboundRequestsInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
archivedAt?: Date | string | null
|
|
adminUserId: string
|
|
connectionId: string
|
|
providerCompanyId?: string | null
|
|
providerUserId?: string | null
|
|
providerUserEmail?: string | null
|
|
defaultPhoneNumberId?: string | null
|
|
webhookTokenHash?: string | null
|
|
webhookVerifiedAt?: Date | string | null
|
|
lastEventAt?: Date | string | null
|
|
phoneNumbers?: Prisma.AdminPhoneNumberUncheckedCreateNestedManyWithoutPhoneConnectionInput
|
|
calls?: Prisma.AdminCallSessionUncheckedCreateNestedManyWithoutPhoneConnectionInput
|
|
}
|
|
|
|
export type AdminPhoneConnectionCreateOrConnectWithoutOutboundRequestsInput = {
|
|
where: Prisma.AdminPhoneConnectionWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.AdminPhoneConnectionCreateWithoutOutboundRequestsInput, Prisma.AdminPhoneConnectionUncheckedCreateWithoutOutboundRequestsInput>
|
|
}
|
|
|
|
export type AdminPhoneConnectionUpsertWithoutOutboundRequestsInput = {
|
|
update: Prisma.XOR<Prisma.AdminPhoneConnectionUpdateWithoutOutboundRequestsInput, Prisma.AdminPhoneConnectionUncheckedUpdateWithoutOutboundRequestsInput>
|
|
create: Prisma.XOR<Prisma.AdminPhoneConnectionCreateWithoutOutboundRequestsInput, Prisma.AdminPhoneConnectionUncheckedCreateWithoutOutboundRequestsInput>
|
|
where?: Prisma.AdminPhoneConnectionWhereInput
|
|
}
|
|
|
|
export type AdminPhoneConnectionUpdateToOneWithWhereWithoutOutboundRequestsInput = {
|
|
where?: Prisma.AdminPhoneConnectionWhereInput
|
|
data: Prisma.XOR<Prisma.AdminPhoneConnectionUpdateWithoutOutboundRequestsInput, Prisma.AdminPhoneConnectionUncheckedUpdateWithoutOutboundRequestsInput>
|
|
}
|
|
|
|
export type AdminPhoneConnectionUpdateWithoutOutboundRequestsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
providerCompanyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
providerUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
providerUserEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
webhookTokenHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
webhookVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
lastEventAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
adminUser?: Prisma.AdminUserUpdateOneRequiredWithoutPhoneConnectionsNestedInput
|
|
connection?: Prisma.AdminDataConnectionUpdateOneRequiredWithoutPhoneConnectionNestedInput
|
|
defaultPhoneNumber?: Prisma.AdminPhoneNumberUpdateOneWithoutDefaultForNestedInput
|
|
phoneNumbers?: Prisma.AdminPhoneNumberUpdateManyWithoutPhoneConnectionNestedInput
|
|
calls?: Prisma.AdminCallSessionUpdateManyWithoutPhoneConnectionNestedInput
|
|
}
|
|
|
|
export type AdminPhoneConnectionUncheckedUpdateWithoutOutboundRequestsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
connectionId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
providerCompanyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
providerUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
providerUserEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
defaultPhoneNumberId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
webhookTokenHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
webhookVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
lastEventAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
phoneNumbers?: Prisma.AdminPhoneNumberUncheckedUpdateManyWithoutPhoneConnectionNestedInput
|
|
calls?: Prisma.AdminCallSessionUncheckedUpdateManyWithoutPhoneConnectionNestedInput
|
|
}
|
|
|
|
export type AdminPhoneConnectionCreateManyAdminUserInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
archivedAt?: Date | string | null
|
|
connectionId: string
|
|
providerCompanyId?: string | null
|
|
providerUserId?: string | null
|
|
providerUserEmail?: string | null
|
|
defaultPhoneNumberId?: string | null
|
|
webhookTokenHash?: string | null
|
|
webhookVerifiedAt?: Date | string | null
|
|
lastEventAt?: Date | string | null
|
|
}
|
|
|
|
export type AdminPhoneConnectionUpdateWithoutAdminUserInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
providerCompanyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
providerUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
providerUserEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
webhookTokenHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
webhookVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
lastEventAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
connection?: Prisma.AdminDataConnectionUpdateOneRequiredWithoutPhoneConnectionNestedInput
|
|
defaultPhoneNumber?: Prisma.AdminPhoneNumberUpdateOneWithoutDefaultForNestedInput
|
|
phoneNumbers?: Prisma.AdminPhoneNumberUpdateManyWithoutPhoneConnectionNestedInput
|
|
calls?: Prisma.AdminCallSessionUpdateManyWithoutPhoneConnectionNestedInput
|
|
outboundRequests?: Prisma.AdminOutboundCallRequestUpdateManyWithoutPhoneConnectionNestedInput
|
|
}
|
|
|
|
export type AdminPhoneConnectionUncheckedUpdateWithoutAdminUserInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
connectionId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
providerCompanyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
providerUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
providerUserEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
defaultPhoneNumberId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
webhookTokenHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
webhookVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
lastEventAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
phoneNumbers?: Prisma.AdminPhoneNumberUncheckedUpdateManyWithoutPhoneConnectionNestedInput
|
|
calls?: Prisma.AdminCallSessionUncheckedUpdateManyWithoutPhoneConnectionNestedInput
|
|
outboundRequests?: Prisma.AdminOutboundCallRequestUncheckedUpdateManyWithoutPhoneConnectionNestedInput
|
|
}
|
|
|
|
export type AdminPhoneConnectionUncheckedUpdateManyWithoutAdminUserInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
connectionId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
providerCompanyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
providerUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
providerUserEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
defaultPhoneNumberId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
webhookTokenHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
webhookVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
lastEventAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
}
|
|
|
|
export type AdminPhoneConnectionCreateManyDefaultPhoneNumberInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
archivedAt?: Date | string | null
|
|
adminUserId: string
|
|
connectionId: string
|
|
providerCompanyId?: string | null
|
|
providerUserId?: string | null
|
|
providerUserEmail?: string | null
|
|
webhookTokenHash?: string | null
|
|
webhookVerifiedAt?: Date | string | null
|
|
lastEventAt?: Date | string | null
|
|
}
|
|
|
|
export type AdminPhoneConnectionUpdateWithoutDefaultPhoneNumberInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
providerCompanyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
providerUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
providerUserEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
webhookTokenHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
webhookVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
lastEventAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
adminUser?: Prisma.AdminUserUpdateOneRequiredWithoutPhoneConnectionsNestedInput
|
|
connection?: Prisma.AdminDataConnectionUpdateOneRequiredWithoutPhoneConnectionNestedInput
|
|
phoneNumbers?: Prisma.AdminPhoneNumberUpdateManyWithoutPhoneConnectionNestedInput
|
|
calls?: Prisma.AdminCallSessionUpdateManyWithoutPhoneConnectionNestedInput
|
|
outboundRequests?: Prisma.AdminOutboundCallRequestUpdateManyWithoutPhoneConnectionNestedInput
|
|
}
|
|
|
|
export type AdminPhoneConnectionUncheckedUpdateWithoutDefaultPhoneNumberInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
connectionId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
providerCompanyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
providerUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
providerUserEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
webhookTokenHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
webhookVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
lastEventAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
phoneNumbers?: Prisma.AdminPhoneNumberUncheckedUpdateManyWithoutPhoneConnectionNestedInput
|
|
calls?: Prisma.AdminCallSessionUncheckedUpdateManyWithoutPhoneConnectionNestedInput
|
|
outboundRequests?: Prisma.AdminOutboundCallRequestUncheckedUpdateManyWithoutPhoneConnectionNestedInput
|
|
}
|
|
|
|
export type AdminPhoneConnectionUncheckedUpdateManyWithoutDefaultPhoneNumberInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
connectionId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
providerCompanyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
providerUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
providerUserEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
webhookTokenHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
webhookVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
lastEventAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
}
|
|
|
|
|
|
/**
|
|
* Count Type AdminPhoneConnectionCountOutputType
|
|
*/
|
|
|
|
export type AdminPhoneConnectionCountOutputType = {
|
|
phoneNumbers: number
|
|
calls: number
|
|
outboundRequests: number
|
|
}
|
|
|
|
export type AdminPhoneConnectionCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
phoneNumbers?: boolean | AdminPhoneConnectionCountOutputTypeCountPhoneNumbersArgs
|
|
calls?: boolean | AdminPhoneConnectionCountOutputTypeCountCallsArgs
|
|
outboundRequests?: boolean | AdminPhoneConnectionCountOutputTypeCountOutboundRequestsArgs
|
|
}
|
|
|
|
/**
|
|
* AdminPhoneConnectionCountOutputType without action
|
|
*/
|
|
export type AdminPhoneConnectionCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminPhoneConnectionCountOutputType
|
|
*/
|
|
select?: Prisma.AdminPhoneConnectionCountOutputTypeSelect<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* AdminPhoneConnectionCountOutputType without action
|
|
*/
|
|
export type AdminPhoneConnectionCountOutputTypeCountPhoneNumbersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.AdminPhoneNumberWhereInput
|
|
}
|
|
|
|
/**
|
|
* AdminPhoneConnectionCountOutputType without action
|
|
*/
|
|
export type AdminPhoneConnectionCountOutputTypeCountCallsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.AdminCallSessionWhereInput
|
|
}
|
|
|
|
/**
|
|
* AdminPhoneConnectionCountOutputType without action
|
|
*/
|
|
export type AdminPhoneConnectionCountOutputTypeCountOutboundRequestsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.AdminOutboundCallRequestWhereInput
|
|
}
|
|
|
|
|
|
export type AdminPhoneConnectionSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
archivedAt?: boolean
|
|
adminUserId?: boolean
|
|
connectionId?: boolean
|
|
providerCompanyId?: boolean
|
|
providerUserId?: boolean
|
|
providerUserEmail?: boolean
|
|
defaultPhoneNumberId?: boolean
|
|
webhookTokenHash?: boolean
|
|
webhookVerifiedAt?: boolean
|
|
lastEventAt?: boolean
|
|
adminUser?: boolean | Prisma.AdminUserDefaultArgs<ExtArgs>
|
|
connection?: boolean | Prisma.AdminDataConnectionDefaultArgs<ExtArgs>
|
|
defaultPhoneNumber?: boolean | Prisma.AdminPhoneConnection$defaultPhoneNumberArgs<ExtArgs>
|
|
phoneNumbers?: boolean | Prisma.AdminPhoneConnection$phoneNumbersArgs<ExtArgs>
|
|
calls?: boolean | Prisma.AdminPhoneConnection$callsArgs<ExtArgs>
|
|
outboundRequests?: boolean | Prisma.AdminPhoneConnection$outboundRequestsArgs<ExtArgs>
|
|
_count?: boolean | Prisma.AdminPhoneConnectionCountOutputTypeDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["adminPhoneConnection"]>
|
|
|
|
export type AdminPhoneConnectionSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
archivedAt?: boolean
|
|
adminUserId?: boolean
|
|
connectionId?: boolean
|
|
providerCompanyId?: boolean
|
|
providerUserId?: boolean
|
|
providerUserEmail?: boolean
|
|
defaultPhoneNumberId?: boolean
|
|
webhookTokenHash?: boolean
|
|
webhookVerifiedAt?: boolean
|
|
lastEventAt?: boolean
|
|
adminUser?: boolean | Prisma.AdminUserDefaultArgs<ExtArgs>
|
|
connection?: boolean | Prisma.AdminDataConnectionDefaultArgs<ExtArgs>
|
|
defaultPhoneNumber?: boolean | Prisma.AdminPhoneConnection$defaultPhoneNumberArgs<ExtArgs>
|
|
}, ExtArgs["result"]["adminPhoneConnection"]>
|
|
|
|
export type AdminPhoneConnectionSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
archivedAt?: boolean
|
|
adminUserId?: boolean
|
|
connectionId?: boolean
|
|
providerCompanyId?: boolean
|
|
providerUserId?: boolean
|
|
providerUserEmail?: boolean
|
|
defaultPhoneNumberId?: boolean
|
|
webhookTokenHash?: boolean
|
|
webhookVerifiedAt?: boolean
|
|
lastEventAt?: boolean
|
|
adminUser?: boolean | Prisma.AdminUserDefaultArgs<ExtArgs>
|
|
connection?: boolean | Prisma.AdminDataConnectionDefaultArgs<ExtArgs>
|
|
defaultPhoneNumber?: boolean | Prisma.AdminPhoneConnection$defaultPhoneNumberArgs<ExtArgs>
|
|
}, ExtArgs["result"]["adminPhoneConnection"]>
|
|
|
|
export type AdminPhoneConnectionSelectScalar = {
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
archivedAt?: boolean
|
|
adminUserId?: boolean
|
|
connectionId?: boolean
|
|
providerCompanyId?: boolean
|
|
providerUserId?: boolean
|
|
providerUserEmail?: boolean
|
|
defaultPhoneNumberId?: boolean
|
|
webhookTokenHash?: boolean
|
|
webhookVerifiedAt?: boolean
|
|
lastEventAt?: boolean
|
|
}
|
|
|
|
export type AdminPhoneConnectionOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "archivedAt" | "adminUserId" | "connectionId" | "providerCompanyId" | "providerUserId" | "providerUserEmail" | "defaultPhoneNumberId" | "webhookTokenHash" | "webhookVerifiedAt" | "lastEventAt", ExtArgs["result"]["adminPhoneConnection"]>
|
|
export type AdminPhoneConnectionInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
adminUser?: boolean | Prisma.AdminUserDefaultArgs<ExtArgs>
|
|
connection?: boolean | Prisma.AdminDataConnectionDefaultArgs<ExtArgs>
|
|
defaultPhoneNumber?: boolean | Prisma.AdminPhoneConnection$defaultPhoneNumberArgs<ExtArgs>
|
|
phoneNumbers?: boolean | Prisma.AdminPhoneConnection$phoneNumbersArgs<ExtArgs>
|
|
calls?: boolean | Prisma.AdminPhoneConnection$callsArgs<ExtArgs>
|
|
outboundRequests?: boolean | Prisma.AdminPhoneConnection$outboundRequestsArgs<ExtArgs>
|
|
_count?: boolean | Prisma.AdminPhoneConnectionCountOutputTypeDefaultArgs<ExtArgs>
|
|
}
|
|
export type AdminPhoneConnectionIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
adminUser?: boolean | Prisma.AdminUserDefaultArgs<ExtArgs>
|
|
connection?: boolean | Prisma.AdminDataConnectionDefaultArgs<ExtArgs>
|
|
defaultPhoneNumber?: boolean | Prisma.AdminPhoneConnection$defaultPhoneNumberArgs<ExtArgs>
|
|
}
|
|
export type AdminPhoneConnectionIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
adminUser?: boolean | Prisma.AdminUserDefaultArgs<ExtArgs>
|
|
connection?: boolean | Prisma.AdminDataConnectionDefaultArgs<ExtArgs>
|
|
defaultPhoneNumber?: boolean | Prisma.AdminPhoneConnection$defaultPhoneNumberArgs<ExtArgs>
|
|
}
|
|
|
|
export type $AdminPhoneConnectionPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "AdminPhoneConnection"
|
|
objects: {
|
|
adminUser: Prisma.$AdminUserPayload<ExtArgs>
|
|
connection: Prisma.$AdminDataConnectionPayload<ExtArgs>
|
|
defaultPhoneNumber: Prisma.$AdminPhoneNumberPayload<ExtArgs> | null
|
|
phoneNumbers: Prisma.$AdminPhoneNumberPayload<ExtArgs>[]
|
|
calls: Prisma.$AdminCallSessionPayload<ExtArgs>[]
|
|
outboundRequests: Prisma.$AdminOutboundCallRequestPayload<ExtArgs>[]
|
|
}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: string
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
archivedAt: Date | null
|
|
adminUserId: string
|
|
connectionId: string
|
|
providerCompanyId: string | null
|
|
providerUserId: string | null
|
|
providerUserEmail: string | null
|
|
defaultPhoneNumberId: string | null
|
|
webhookTokenHash: string | null
|
|
webhookVerifiedAt: Date | null
|
|
lastEventAt: Date | null
|
|
}, ExtArgs["result"]["adminPhoneConnection"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type AdminPhoneConnectionGetPayload<S extends boolean | null | undefined | AdminPhoneConnectionDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$AdminPhoneConnectionPayload, S>
|
|
|
|
export type AdminPhoneConnectionCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<AdminPhoneConnectionFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: AdminPhoneConnectionCountAggregateInputType | true
|
|
}
|
|
|
|
export interface AdminPhoneConnectionDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['AdminPhoneConnection'], meta: { name: 'AdminPhoneConnection' } }
|
|
/**
|
|
* Find zero or one AdminPhoneConnection that matches the filter.
|
|
* @param {AdminPhoneConnectionFindUniqueArgs} args - Arguments to find a AdminPhoneConnection
|
|
* @example
|
|
* // Get one AdminPhoneConnection
|
|
* const adminPhoneConnection = await prisma.adminPhoneConnection.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends AdminPhoneConnectionFindUniqueArgs>(args: Prisma.SelectSubset<T, AdminPhoneConnectionFindUniqueArgs<ExtArgs>>): Prisma.Prisma__AdminPhoneConnectionClient<runtime.Types.Result.GetResult<Prisma.$AdminPhoneConnectionPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one AdminPhoneConnection that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {AdminPhoneConnectionFindUniqueOrThrowArgs} args - Arguments to find a AdminPhoneConnection
|
|
* @example
|
|
* // Get one AdminPhoneConnection
|
|
* const adminPhoneConnection = await prisma.adminPhoneConnection.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends AdminPhoneConnectionFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, AdminPhoneConnectionFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__AdminPhoneConnectionClient<runtime.Types.Result.GetResult<Prisma.$AdminPhoneConnectionPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first AdminPhoneConnection 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 {AdminPhoneConnectionFindFirstArgs} args - Arguments to find a AdminPhoneConnection
|
|
* @example
|
|
* // Get one AdminPhoneConnection
|
|
* const adminPhoneConnection = await prisma.adminPhoneConnection.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends AdminPhoneConnectionFindFirstArgs>(args?: Prisma.SelectSubset<T, AdminPhoneConnectionFindFirstArgs<ExtArgs>>): Prisma.Prisma__AdminPhoneConnectionClient<runtime.Types.Result.GetResult<Prisma.$AdminPhoneConnectionPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first AdminPhoneConnection 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 {AdminPhoneConnectionFindFirstOrThrowArgs} args - Arguments to find a AdminPhoneConnection
|
|
* @example
|
|
* // Get one AdminPhoneConnection
|
|
* const adminPhoneConnection = await prisma.adminPhoneConnection.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends AdminPhoneConnectionFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, AdminPhoneConnectionFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__AdminPhoneConnectionClient<runtime.Types.Result.GetResult<Prisma.$AdminPhoneConnectionPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more AdminPhoneConnections 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 {AdminPhoneConnectionFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all AdminPhoneConnections
|
|
* const adminPhoneConnections = await prisma.adminPhoneConnection.findMany()
|
|
*
|
|
* // Get first 10 AdminPhoneConnections
|
|
* const adminPhoneConnections = await prisma.adminPhoneConnection.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const adminPhoneConnectionWithIdOnly = await prisma.adminPhoneConnection.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends AdminPhoneConnectionFindManyArgs>(args?: Prisma.SelectSubset<T, AdminPhoneConnectionFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdminPhoneConnectionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a AdminPhoneConnection.
|
|
* @param {AdminPhoneConnectionCreateArgs} args - Arguments to create a AdminPhoneConnection.
|
|
* @example
|
|
* // Create one AdminPhoneConnection
|
|
* const AdminPhoneConnection = await prisma.adminPhoneConnection.create({
|
|
* data: {
|
|
* // ... data to create a AdminPhoneConnection
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends AdminPhoneConnectionCreateArgs>(args: Prisma.SelectSubset<T, AdminPhoneConnectionCreateArgs<ExtArgs>>): Prisma.Prisma__AdminPhoneConnectionClient<runtime.Types.Result.GetResult<Prisma.$AdminPhoneConnectionPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many AdminPhoneConnections.
|
|
* @param {AdminPhoneConnectionCreateManyArgs} args - Arguments to create many AdminPhoneConnections.
|
|
* @example
|
|
* // Create many AdminPhoneConnections
|
|
* const adminPhoneConnection = await prisma.adminPhoneConnection.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends AdminPhoneConnectionCreateManyArgs>(args?: Prisma.SelectSubset<T, AdminPhoneConnectionCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create many AdminPhoneConnections and returns the data saved in the database.
|
|
* @param {AdminPhoneConnectionCreateManyAndReturnArgs} args - Arguments to create many AdminPhoneConnections.
|
|
* @example
|
|
* // Create many AdminPhoneConnections
|
|
* const adminPhoneConnection = await prisma.adminPhoneConnection.createManyAndReturn({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Create many AdminPhoneConnections and only return the `id`
|
|
* const adminPhoneConnectionWithIdOnly = await prisma.adminPhoneConnection.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 AdminPhoneConnectionCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, AdminPhoneConnectionCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdminPhoneConnectionPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Delete a AdminPhoneConnection.
|
|
* @param {AdminPhoneConnectionDeleteArgs} args - Arguments to delete one AdminPhoneConnection.
|
|
* @example
|
|
* // Delete one AdminPhoneConnection
|
|
* const AdminPhoneConnection = await prisma.adminPhoneConnection.delete({
|
|
* where: {
|
|
* // ... filter to delete one AdminPhoneConnection
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends AdminPhoneConnectionDeleteArgs>(args: Prisma.SelectSubset<T, AdminPhoneConnectionDeleteArgs<ExtArgs>>): Prisma.Prisma__AdminPhoneConnectionClient<runtime.Types.Result.GetResult<Prisma.$AdminPhoneConnectionPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one AdminPhoneConnection.
|
|
* @param {AdminPhoneConnectionUpdateArgs} args - Arguments to update one AdminPhoneConnection.
|
|
* @example
|
|
* // Update one AdminPhoneConnection
|
|
* const adminPhoneConnection = await prisma.adminPhoneConnection.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends AdminPhoneConnectionUpdateArgs>(args: Prisma.SelectSubset<T, AdminPhoneConnectionUpdateArgs<ExtArgs>>): Prisma.Prisma__AdminPhoneConnectionClient<runtime.Types.Result.GetResult<Prisma.$AdminPhoneConnectionPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more AdminPhoneConnections.
|
|
* @param {AdminPhoneConnectionDeleteManyArgs} args - Arguments to filter AdminPhoneConnections to delete.
|
|
* @example
|
|
* // Delete a few AdminPhoneConnections
|
|
* const { count } = await prisma.adminPhoneConnection.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends AdminPhoneConnectionDeleteManyArgs>(args?: Prisma.SelectSubset<T, AdminPhoneConnectionDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more AdminPhoneConnections.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {AdminPhoneConnectionUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many AdminPhoneConnections
|
|
* const adminPhoneConnection = await prisma.adminPhoneConnection.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends AdminPhoneConnectionUpdateManyArgs>(args: Prisma.SelectSubset<T, AdminPhoneConnectionUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more AdminPhoneConnections and returns the data updated in the database.
|
|
* @param {AdminPhoneConnectionUpdateManyAndReturnArgs} args - Arguments to update many AdminPhoneConnections.
|
|
* @example
|
|
* // Update many AdminPhoneConnections
|
|
* const adminPhoneConnection = await prisma.adminPhoneConnection.updateManyAndReturn({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Update zero or more AdminPhoneConnections and only return the `id`
|
|
* const adminPhoneConnectionWithIdOnly = await prisma.adminPhoneConnection.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 AdminPhoneConnectionUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, AdminPhoneConnectionUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdminPhoneConnectionPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create or update one AdminPhoneConnection.
|
|
* @param {AdminPhoneConnectionUpsertArgs} args - Arguments to update or create a AdminPhoneConnection.
|
|
* @example
|
|
* // Update or create a AdminPhoneConnection
|
|
* const adminPhoneConnection = await prisma.adminPhoneConnection.upsert({
|
|
* create: {
|
|
* // ... data to create a AdminPhoneConnection
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the AdminPhoneConnection we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends AdminPhoneConnectionUpsertArgs>(args: Prisma.SelectSubset<T, AdminPhoneConnectionUpsertArgs<ExtArgs>>): Prisma.Prisma__AdminPhoneConnectionClient<runtime.Types.Result.GetResult<Prisma.$AdminPhoneConnectionPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of AdminPhoneConnections.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {AdminPhoneConnectionCountArgs} args - Arguments to filter AdminPhoneConnections to count.
|
|
* @example
|
|
* // Count the number of AdminPhoneConnections
|
|
* const count = await prisma.adminPhoneConnection.count({
|
|
* where: {
|
|
* // ... the filter for the AdminPhoneConnections we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends AdminPhoneConnectionCountArgs>(
|
|
args?: Prisma.Subset<T, AdminPhoneConnectionCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], AdminPhoneConnectionCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a AdminPhoneConnection.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {AdminPhoneConnectionAggregateArgs} 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 AdminPhoneConnectionAggregateArgs>(args: Prisma.Subset<T, AdminPhoneConnectionAggregateArgs>): Prisma.PrismaPromise<GetAdminPhoneConnectionAggregateType<T>>
|
|
|
|
/**
|
|
* Group by AdminPhoneConnection.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {AdminPhoneConnectionGroupByArgs} 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 AdminPhoneConnectionGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: AdminPhoneConnectionGroupByArgs['orderBy'] }
|
|
: { orderBy?: AdminPhoneConnectionGroupByArgs['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, AdminPhoneConnectionGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAdminPhoneConnectionGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the AdminPhoneConnection model
|
|
*/
|
|
readonly fields: AdminPhoneConnectionFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for AdminPhoneConnection.
|
|
* 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__AdminPhoneConnectionClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
adminUser<T extends Prisma.AdminUserDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AdminUserDefaultArgs<ExtArgs>>): Prisma.Prisma__AdminUserClient<runtime.Types.Result.GetResult<Prisma.$AdminUserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
connection<T extends Prisma.AdminDataConnectionDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AdminDataConnectionDefaultArgs<ExtArgs>>): Prisma.Prisma__AdminDataConnectionClient<runtime.Types.Result.GetResult<Prisma.$AdminDataConnectionPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
defaultPhoneNumber<T extends Prisma.AdminPhoneConnection$defaultPhoneNumberArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AdminPhoneConnection$defaultPhoneNumberArgs<ExtArgs>>): Prisma.Prisma__AdminPhoneNumberClient<runtime.Types.Result.GetResult<Prisma.$AdminPhoneNumberPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
phoneNumbers<T extends Prisma.AdminPhoneConnection$phoneNumbersArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AdminPhoneConnection$phoneNumbersArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdminPhoneNumberPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
calls<T extends Prisma.AdminPhoneConnection$callsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AdminPhoneConnection$callsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdminCallSessionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
outboundRequests<T extends Prisma.AdminPhoneConnection$outboundRequestsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AdminPhoneConnection$outboundRequestsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdminOutboundCallRequestPayload<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 AdminPhoneConnection model
|
|
*/
|
|
export interface AdminPhoneConnectionFieldRefs {
|
|
readonly id: Prisma.FieldRef<"AdminPhoneConnection", 'String'>
|
|
readonly createdAt: Prisma.FieldRef<"AdminPhoneConnection", 'DateTime'>
|
|
readonly updatedAt: Prisma.FieldRef<"AdminPhoneConnection", 'DateTime'>
|
|
readonly archivedAt: Prisma.FieldRef<"AdminPhoneConnection", 'DateTime'>
|
|
readonly adminUserId: Prisma.FieldRef<"AdminPhoneConnection", 'String'>
|
|
readonly connectionId: Prisma.FieldRef<"AdminPhoneConnection", 'String'>
|
|
readonly providerCompanyId: Prisma.FieldRef<"AdminPhoneConnection", 'String'>
|
|
readonly providerUserId: Prisma.FieldRef<"AdminPhoneConnection", 'String'>
|
|
readonly providerUserEmail: Prisma.FieldRef<"AdminPhoneConnection", 'String'>
|
|
readonly defaultPhoneNumberId: Prisma.FieldRef<"AdminPhoneConnection", 'String'>
|
|
readonly webhookTokenHash: Prisma.FieldRef<"AdminPhoneConnection", 'String'>
|
|
readonly webhookVerifiedAt: Prisma.FieldRef<"AdminPhoneConnection", 'DateTime'>
|
|
readonly lastEventAt: Prisma.FieldRef<"AdminPhoneConnection", 'DateTime'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* AdminPhoneConnection findUnique
|
|
*/
|
|
export type AdminPhoneConnectionFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminPhoneConnection
|
|
*/
|
|
select?: Prisma.AdminPhoneConnectionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminPhoneConnection
|
|
*/
|
|
omit?: Prisma.AdminPhoneConnectionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminPhoneConnectionInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which AdminPhoneConnection to fetch.
|
|
*/
|
|
where: Prisma.AdminPhoneConnectionWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AdminPhoneConnection findUniqueOrThrow
|
|
*/
|
|
export type AdminPhoneConnectionFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminPhoneConnection
|
|
*/
|
|
select?: Prisma.AdminPhoneConnectionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminPhoneConnection
|
|
*/
|
|
omit?: Prisma.AdminPhoneConnectionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminPhoneConnectionInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which AdminPhoneConnection to fetch.
|
|
*/
|
|
where: Prisma.AdminPhoneConnectionWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AdminPhoneConnection findFirst
|
|
*/
|
|
export type AdminPhoneConnectionFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminPhoneConnection
|
|
*/
|
|
select?: Prisma.AdminPhoneConnectionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminPhoneConnection
|
|
*/
|
|
omit?: Prisma.AdminPhoneConnectionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminPhoneConnectionInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which AdminPhoneConnection to fetch.
|
|
*/
|
|
where?: Prisma.AdminPhoneConnectionWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of AdminPhoneConnections to fetch.
|
|
*/
|
|
orderBy?: Prisma.AdminPhoneConnectionOrderByWithRelationInput | Prisma.AdminPhoneConnectionOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for AdminPhoneConnections.
|
|
*/
|
|
cursor?: Prisma.AdminPhoneConnectionWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` AdminPhoneConnections 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` AdminPhoneConnections.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of AdminPhoneConnections.
|
|
*/
|
|
distinct?: Prisma.AdminPhoneConnectionScalarFieldEnum | Prisma.AdminPhoneConnectionScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AdminPhoneConnection findFirstOrThrow
|
|
*/
|
|
export type AdminPhoneConnectionFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminPhoneConnection
|
|
*/
|
|
select?: Prisma.AdminPhoneConnectionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminPhoneConnection
|
|
*/
|
|
omit?: Prisma.AdminPhoneConnectionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminPhoneConnectionInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which AdminPhoneConnection to fetch.
|
|
*/
|
|
where?: Prisma.AdminPhoneConnectionWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of AdminPhoneConnections to fetch.
|
|
*/
|
|
orderBy?: Prisma.AdminPhoneConnectionOrderByWithRelationInput | Prisma.AdminPhoneConnectionOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for AdminPhoneConnections.
|
|
*/
|
|
cursor?: Prisma.AdminPhoneConnectionWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` AdminPhoneConnections 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` AdminPhoneConnections.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of AdminPhoneConnections.
|
|
*/
|
|
distinct?: Prisma.AdminPhoneConnectionScalarFieldEnum | Prisma.AdminPhoneConnectionScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AdminPhoneConnection findMany
|
|
*/
|
|
export type AdminPhoneConnectionFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminPhoneConnection
|
|
*/
|
|
select?: Prisma.AdminPhoneConnectionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminPhoneConnection
|
|
*/
|
|
omit?: Prisma.AdminPhoneConnectionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminPhoneConnectionInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which AdminPhoneConnections to fetch.
|
|
*/
|
|
where?: Prisma.AdminPhoneConnectionWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of AdminPhoneConnections to fetch.
|
|
*/
|
|
orderBy?: Prisma.AdminPhoneConnectionOrderByWithRelationInput | Prisma.AdminPhoneConnectionOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing AdminPhoneConnections.
|
|
*/
|
|
cursor?: Prisma.AdminPhoneConnectionWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` AdminPhoneConnections 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` AdminPhoneConnections.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of AdminPhoneConnections.
|
|
*/
|
|
distinct?: Prisma.AdminPhoneConnectionScalarFieldEnum | Prisma.AdminPhoneConnectionScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AdminPhoneConnection create
|
|
*/
|
|
export type AdminPhoneConnectionCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminPhoneConnection
|
|
*/
|
|
select?: Prisma.AdminPhoneConnectionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminPhoneConnection
|
|
*/
|
|
omit?: Prisma.AdminPhoneConnectionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminPhoneConnectionInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a AdminPhoneConnection.
|
|
*/
|
|
data: Prisma.XOR<Prisma.AdminPhoneConnectionCreateInput, Prisma.AdminPhoneConnectionUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* AdminPhoneConnection createMany
|
|
*/
|
|
export type AdminPhoneConnectionCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many AdminPhoneConnections.
|
|
*/
|
|
data: Prisma.AdminPhoneConnectionCreateManyInput | Prisma.AdminPhoneConnectionCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* AdminPhoneConnection createManyAndReturn
|
|
*/
|
|
export type AdminPhoneConnectionCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminPhoneConnection
|
|
*/
|
|
select?: Prisma.AdminPhoneConnectionSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminPhoneConnection
|
|
*/
|
|
omit?: Prisma.AdminPhoneConnectionOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to create many AdminPhoneConnections.
|
|
*/
|
|
data: Prisma.AdminPhoneConnectionCreateManyInput | Prisma.AdminPhoneConnectionCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminPhoneConnectionIncludeCreateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* AdminPhoneConnection update
|
|
*/
|
|
export type AdminPhoneConnectionUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminPhoneConnection
|
|
*/
|
|
select?: Prisma.AdminPhoneConnectionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminPhoneConnection
|
|
*/
|
|
omit?: Prisma.AdminPhoneConnectionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminPhoneConnectionInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a AdminPhoneConnection.
|
|
*/
|
|
data: Prisma.XOR<Prisma.AdminPhoneConnectionUpdateInput, Prisma.AdminPhoneConnectionUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which AdminPhoneConnection to update.
|
|
*/
|
|
where: Prisma.AdminPhoneConnectionWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AdminPhoneConnection updateMany
|
|
*/
|
|
export type AdminPhoneConnectionUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update AdminPhoneConnections.
|
|
*/
|
|
data: Prisma.XOR<Prisma.AdminPhoneConnectionUpdateManyMutationInput, Prisma.AdminPhoneConnectionUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which AdminPhoneConnections to update
|
|
*/
|
|
where?: Prisma.AdminPhoneConnectionWhereInput
|
|
/**
|
|
* Limit how many AdminPhoneConnections to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* AdminPhoneConnection updateManyAndReturn
|
|
*/
|
|
export type AdminPhoneConnectionUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminPhoneConnection
|
|
*/
|
|
select?: Prisma.AdminPhoneConnectionSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminPhoneConnection
|
|
*/
|
|
omit?: Prisma.AdminPhoneConnectionOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update AdminPhoneConnections.
|
|
*/
|
|
data: Prisma.XOR<Prisma.AdminPhoneConnectionUpdateManyMutationInput, Prisma.AdminPhoneConnectionUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which AdminPhoneConnections to update
|
|
*/
|
|
where?: Prisma.AdminPhoneConnectionWhereInput
|
|
/**
|
|
* Limit how many AdminPhoneConnections to update.
|
|
*/
|
|
limit?: number
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminPhoneConnectionIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* AdminPhoneConnection upsert
|
|
*/
|
|
export type AdminPhoneConnectionUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminPhoneConnection
|
|
*/
|
|
select?: Prisma.AdminPhoneConnectionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminPhoneConnection
|
|
*/
|
|
omit?: Prisma.AdminPhoneConnectionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminPhoneConnectionInclude<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the AdminPhoneConnection to update in case it exists.
|
|
*/
|
|
where: Prisma.AdminPhoneConnectionWhereUniqueInput
|
|
/**
|
|
* In case the AdminPhoneConnection found by the `where` argument doesn't exist, create a new AdminPhoneConnection with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.AdminPhoneConnectionCreateInput, Prisma.AdminPhoneConnectionUncheckedCreateInput>
|
|
/**
|
|
* In case the AdminPhoneConnection was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.AdminPhoneConnectionUpdateInput, Prisma.AdminPhoneConnectionUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* AdminPhoneConnection delete
|
|
*/
|
|
export type AdminPhoneConnectionDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminPhoneConnection
|
|
*/
|
|
select?: Prisma.AdminPhoneConnectionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminPhoneConnection
|
|
*/
|
|
omit?: Prisma.AdminPhoneConnectionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminPhoneConnectionInclude<ExtArgs> | null
|
|
/**
|
|
* Filter which AdminPhoneConnection to delete.
|
|
*/
|
|
where: Prisma.AdminPhoneConnectionWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AdminPhoneConnection deleteMany
|
|
*/
|
|
export type AdminPhoneConnectionDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which AdminPhoneConnections to delete
|
|
*/
|
|
where?: Prisma.AdminPhoneConnectionWhereInput
|
|
/**
|
|
* Limit how many AdminPhoneConnections to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* AdminPhoneConnection.defaultPhoneNumber
|
|
*/
|
|
export type AdminPhoneConnection$defaultPhoneNumberArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminPhoneNumber
|
|
*/
|
|
select?: Prisma.AdminPhoneNumberSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminPhoneNumber
|
|
*/
|
|
omit?: Prisma.AdminPhoneNumberOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminPhoneNumberInclude<ExtArgs> | null
|
|
where?: Prisma.AdminPhoneNumberWhereInput
|
|
}
|
|
|
|
/**
|
|
* AdminPhoneConnection.phoneNumbers
|
|
*/
|
|
export type AdminPhoneConnection$phoneNumbersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminPhoneNumber
|
|
*/
|
|
select?: Prisma.AdminPhoneNumberSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminPhoneNumber
|
|
*/
|
|
omit?: Prisma.AdminPhoneNumberOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminPhoneNumberInclude<ExtArgs> | null
|
|
where?: Prisma.AdminPhoneNumberWhereInput
|
|
orderBy?: Prisma.AdminPhoneNumberOrderByWithRelationInput | Prisma.AdminPhoneNumberOrderByWithRelationInput[]
|
|
cursor?: Prisma.AdminPhoneNumberWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.AdminPhoneNumberScalarFieldEnum | Prisma.AdminPhoneNumberScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AdminPhoneConnection.calls
|
|
*/
|
|
export type AdminPhoneConnection$callsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminCallSession
|
|
*/
|
|
select?: Prisma.AdminCallSessionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminCallSession
|
|
*/
|
|
omit?: Prisma.AdminCallSessionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminCallSessionInclude<ExtArgs> | null
|
|
where?: Prisma.AdminCallSessionWhereInput
|
|
orderBy?: Prisma.AdminCallSessionOrderByWithRelationInput | Prisma.AdminCallSessionOrderByWithRelationInput[]
|
|
cursor?: Prisma.AdminCallSessionWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.AdminCallSessionScalarFieldEnum | Prisma.AdminCallSessionScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AdminPhoneConnection.outboundRequests
|
|
*/
|
|
export type AdminPhoneConnection$outboundRequestsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminOutboundCallRequest
|
|
*/
|
|
select?: Prisma.AdminOutboundCallRequestSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminOutboundCallRequest
|
|
*/
|
|
omit?: Prisma.AdminOutboundCallRequestOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminOutboundCallRequestInclude<ExtArgs> | null
|
|
where?: Prisma.AdminOutboundCallRequestWhereInput
|
|
orderBy?: Prisma.AdminOutboundCallRequestOrderByWithRelationInput | Prisma.AdminOutboundCallRequestOrderByWithRelationInput[]
|
|
cursor?: Prisma.AdminOutboundCallRequestWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.AdminOutboundCallRequestScalarFieldEnum | Prisma.AdminOutboundCallRequestScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AdminPhoneConnection without action
|
|
*/
|
|
export type AdminPhoneConnectionDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminPhoneConnection
|
|
*/
|
|
select?: Prisma.AdminPhoneConnectionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminPhoneConnection
|
|
*/
|
|
omit?: Prisma.AdminPhoneConnectionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminPhoneConnectionInclude<ExtArgs> | null
|
|
}
|