4984 lines
256 KiB
TypeScript
4984 lines
256 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 `AdminCallSession` 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 AdminCallSession
|
|
*
|
|
*/
|
|
export type AdminCallSessionModel = runtime.Types.Result.DefaultSelection<Prisma.$AdminCallSessionPayload>
|
|
|
|
export type AggregateAdminCallSession = {
|
|
_count: AdminCallSessionCountAggregateOutputType | null
|
|
_avg: AdminCallSessionAvgAggregateOutputType | null
|
|
_sum: AdminCallSessionSumAggregateOutputType | null
|
|
_min: AdminCallSessionMinAggregateOutputType | null
|
|
_max: AdminCallSessionMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type AdminCallSessionAvgAggregateOutputType = {
|
|
durationSeconds: number | null
|
|
matchConfidenceBasisPoints: number | null
|
|
}
|
|
|
|
export type AdminCallSessionSumAggregateOutputType = {
|
|
durationSeconds: number | null
|
|
matchConfidenceBasisPoints: number | null
|
|
}
|
|
|
|
export type AdminCallSessionMinAggregateOutputType = {
|
|
id: string | null
|
|
createdAt: Date | null
|
|
updatedAt: Date | null
|
|
adminUserId: string | null
|
|
phoneConnectionId: string | null
|
|
providerCallId: string | null
|
|
direction: $Enums.AdminCallDirection | null
|
|
status: $Enums.AdminCallStatus | null
|
|
providerUserId: string | null
|
|
fromNumber: string | null
|
|
toNumber: string | null
|
|
externalNumber: string | null
|
|
startedAt: Date | null
|
|
answeredAt: Date | null
|
|
endedAt: Date | null
|
|
durationSeconds: number | null
|
|
contactId: string | null
|
|
leadId: string | null
|
|
dealId: string | null
|
|
matchStatus: $Enums.AdminCallMatchStatus | null
|
|
matchConfidenceBasisPoints: number | null
|
|
note: string | null
|
|
dispositionId: string | null
|
|
dispositionCodeSnapshot: string | null
|
|
dispositionLabelSnapshot: string | null
|
|
callbackTaskId: string | null
|
|
recordingOffered: boolean | null
|
|
recordingConsentConfirmedAt: Date | null
|
|
}
|
|
|
|
export type AdminCallSessionMaxAggregateOutputType = {
|
|
id: string | null
|
|
createdAt: Date | null
|
|
updatedAt: Date | null
|
|
adminUserId: string | null
|
|
phoneConnectionId: string | null
|
|
providerCallId: string | null
|
|
direction: $Enums.AdminCallDirection | null
|
|
status: $Enums.AdminCallStatus | null
|
|
providerUserId: string | null
|
|
fromNumber: string | null
|
|
toNumber: string | null
|
|
externalNumber: string | null
|
|
startedAt: Date | null
|
|
answeredAt: Date | null
|
|
endedAt: Date | null
|
|
durationSeconds: number | null
|
|
contactId: string | null
|
|
leadId: string | null
|
|
dealId: string | null
|
|
matchStatus: $Enums.AdminCallMatchStatus | null
|
|
matchConfidenceBasisPoints: number | null
|
|
note: string | null
|
|
dispositionId: string | null
|
|
dispositionCodeSnapshot: string | null
|
|
dispositionLabelSnapshot: string | null
|
|
callbackTaskId: string | null
|
|
recordingOffered: boolean | null
|
|
recordingConsentConfirmedAt: Date | null
|
|
}
|
|
|
|
export type AdminCallSessionCountAggregateOutputType = {
|
|
id: number
|
|
createdAt: number
|
|
updatedAt: number
|
|
adminUserId: number
|
|
phoneConnectionId: number
|
|
providerCallId: number
|
|
direction: number
|
|
status: number
|
|
providerUserId: number
|
|
fromNumber: number
|
|
toNumber: number
|
|
externalNumber: number
|
|
startedAt: number
|
|
answeredAt: number
|
|
endedAt: number
|
|
durationSeconds: number
|
|
contactId: number
|
|
leadId: number
|
|
dealId: number
|
|
matchStatus: number
|
|
matchConfidenceBasisPoints: number
|
|
note: number
|
|
dispositionId: number
|
|
dispositionCodeSnapshot: number
|
|
dispositionLabelSnapshot: number
|
|
callbackTaskId: number
|
|
recordingOffered: number
|
|
recordingConsentConfirmedAt: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type AdminCallSessionAvgAggregateInputType = {
|
|
durationSeconds?: true
|
|
matchConfidenceBasisPoints?: true
|
|
}
|
|
|
|
export type AdminCallSessionSumAggregateInputType = {
|
|
durationSeconds?: true
|
|
matchConfidenceBasisPoints?: true
|
|
}
|
|
|
|
export type AdminCallSessionMinAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
adminUserId?: true
|
|
phoneConnectionId?: true
|
|
providerCallId?: true
|
|
direction?: true
|
|
status?: true
|
|
providerUserId?: true
|
|
fromNumber?: true
|
|
toNumber?: true
|
|
externalNumber?: true
|
|
startedAt?: true
|
|
answeredAt?: true
|
|
endedAt?: true
|
|
durationSeconds?: true
|
|
contactId?: true
|
|
leadId?: true
|
|
dealId?: true
|
|
matchStatus?: true
|
|
matchConfidenceBasisPoints?: true
|
|
note?: true
|
|
dispositionId?: true
|
|
dispositionCodeSnapshot?: true
|
|
dispositionLabelSnapshot?: true
|
|
callbackTaskId?: true
|
|
recordingOffered?: true
|
|
recordingConsentConfirmedAt?: true
|
|
}
|
|
|
|
export type AdminCallSessionMaxAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
adminUserId?: true
|
|
phoneConnectionId?: true
|
|
providerCallId?: true
|
|
direction?: true
|
|
status?: true
|
|
providerUserId?: true
|
|
fromNumber?: true
|
|
toNumber?: true
|
|
externalNumber?: true
|
|
startedAt?: true
|
|
answeredAt?: true
|
|
endedAt?: true
|
|
durationSeconds?: true
|
|
contactId?: true
|
|
leadId?: true
|
|
dealId?: true
|
|
matchStatus?: true
|
|
matchConfidenceBasisPoints?: true
|
|
note?: true
|
|
dispositionId?: true
|
|
dispositionCodeSnapshot?: true
|
|
dispositionLabelSnapshot?: true
|
|
callbackTaskId?: true
|
|
recordingOffered?: true
|
|
recordingConsentConfirmedAt?: true
|
|
}
|
|
|
|
export type AdminCallSessionCountAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
adminUserId?: true
|
|
phoneConnectionId?: true
|
|
providerCallId?: true
|
|
direction?: true
|
|
status?: true
|
|
providerUserId?: true
|
|
fromNumber?: true
|
|
toNumber?: true
|
|
externalNumber?: true
|
|
startedAt?: true
|
|
answeredAt?: true
|
|
endedAt?: true
|
|
durationSeconds?: true
|
|
contactId?: true
|
|
leadId?: true
|
|
dealId?: true
|
|
matchStatus?: true
|
|
matchConfidenceBasisPoints?: true
|
|
note?: true
|
|
dispositionId?: true
|
|
dispositionCodeSnapshot?: true
|
|
dispositionLabelSnapshot?: true
|
|
callbackTaskId?: true
|
|
recordingOffered?: true
|
|
recordingConsentConfirmedAt?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type AdminCallSessionAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which AdminCallSession to aggregate.
|
|
*/
|
|
where?: Prisma.AdminCallSessionWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of AdminCallSessions to fetch.
|
|
*/
|
|
orderBy?: Prisma.AdminCallSessionOrderByWithRelationInput | Prisma.AdminCallSessionOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.AdminCallSessionWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` AdminCallSessions 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` AdminCallSessions.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned AdminCallSessions
|
|
**/
|
|
_count?: true | AdminCallSessionCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to average
|
|
**/
|
|
_avg?: AdminCallSessionAvgAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to sum
|
|
**/
|
|
_sum?: AdminCallSessionSumAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: AdminCallSessionMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: AdminCallSessionMaxAggregateInputType
|
|
}
|
|
|
|
export type GetAdminCallSessionAggregateType<T extends AdminCallSessionAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateAdminCallSession]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateAdminCallSession[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateAdminCallSession[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AdminCallSessionGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.AdminCallSessionWhereInput
|
|
orderBy?: Prisma.AdminCallSessionOrderByWithAggregationInput | Prisma.AdminCallSessionOrderByWithAggregationInput[]
|
|
by: Prisma.AdminCallSessionScalarFieldEnum[] | Prisma.AdminCallSessionScalarFieldEnum
|
|
having?: Prisma.AdminCallSessionScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: AdminCallSessionCountAggregateInputType | true
|
|
_avg?: AdminCallSessionAvgAggregateInputType
|
|
_sum?: AdminCallSessionSumAggregateInputType
|
|
_min?: AdminCallSessionMinAggregateInputType
|
|
_max?: AdminCallSessionMaxAggregateInputType
|
|
}
|
|
|
|
export type AdminCallSessionGroupByOutputType = {
|
|
id: string
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
adminUserId: string
|
|
phoneConnectionId: string
|
|
providerCallId: string
|
|
direction: $Enums.AdminCallDirection
|
|
status: $Enums.AdminCallStatus
|
|
providerUserId: string | null
|
|
fromNumber: string
|
|
toNumber: string
|
|
externalNumber: string
|
|
startedAt: Date
|
|
answeredAt: Date | null
|
|
endedAt: Date | null
|
|
durationSeconds: number | null
|
|
contactId: string | null
|
|
leadId: string | null
|
|
dealId: string | null
|
|
matchStatus: $Enums.AdminCallMatchStatus
|
|
matchConfidenceBasisPoints: number | null
|
|
note: string | null
|
|
dispositionId: string | null
|
|
dispositionCodeSnapshot: string | null
|
|
dispositionLabelSnapshot: string | null
|
|
callbackTaskId: string | null
|
|
recordingOffered: boolean
|
|
recordingConsentConfirmedAt: Date | null
|
|
_count: AdminCallSessionCountAggregateOutputType | null
|
|
_avg: AdminCallSessionAvgAggregateOutputType | null
|
|
_sum: AdminCallSessionSumAggregateOutputType | null
|
|
_min: AdminCallSessionMinAggregateOutputType | null
|
|
_max: AdminCallSessionMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type GetAdminCallSessionGroupByPayload<T extends AdminCallSessionGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<AdminCallSessionGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof AdminCallSessionGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AdminCallSessionGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], AdminCallSessionGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type AdminCallSessionWhereInput = {
|
|
AND?: Prisma.AdminCallSessionWhereInput | Prisma.AdminCallSessionWhereInput[]
|
|
OR?: Prisma.AdminCallSessionWhereInput[]
|
|
NOT?: Prisma.AdminCallSessionWhereInput | Prisma.AdminCallSessionWhereInput[]
|
|
id?: Prisma.StringFilter<"AdminCallSession"> | string
|
|
createdAt?: Prisma.DateTimeFilter<"AdminCallSession"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"AdminCallSession"> | Date | string
|
|
adminUserId?: Prisma.StringFilter<"AdminCallSession"> | string
|
|
phoneConnectionId?: Prisma.StringFilter<"AdminCallSession"> | string
|
|
providerCallId?: Prisma.StringFilter<"AdminCallSession"> | string
|
|
direction?: Prisma.EnumAdminCallDirectionFilter<"AdminCallSession"> | $Enums.AdminCallDirection
|
|
status?: Prisma.EnumAdminCallStatusFilter<"AdminCallSession"> | $Enums.AdminCallStatus
|
|
providerUserId?: Prisma.StringNullableFilter<"AdminCallSession"> | string | null
|
|
fromNumber?: Prisma.StringFilter<"AdminCallSession"> | string
|
|
toNumber?: Prisma.StringFilter<"AdminCallSession"> | string
|
|
externalNumber?: Prisma.StringFilter<"AdminCallSession"> | string
|
|
startedAt?: Prisma.DateTimeFilter<"AdminCallSession"> | Date | string
|
|
answeredAt?: Prisma.DateTimeNullableFilter<"AdminCallSession"> | Date | string | null
|
|
endedAt?: Prisma.DateTimeNullableFilter<"AdminCallSession"> | Date | string | null
|
|
durationSeconds?: Prisma.IntNullableFilter<"AdminCallSession"> | number | null
|
|
contactId?: Prisma.StringNullableFilter<"AdminCallSession"> | string | null
|
|
leadId?: Prisma.StringNullableFilter<"AdminCallSession"> | string | null
|
|
dealId?: Prisma.StringNullableFilter<"AdminCallSession"> | string | null
|
|
matchStatus?: Prisma.EnumAdminCallMatchStatusFilter<"AdminCallSession"> | $Enums.AdminCallMatchStatus
|
|
matchConfidenceBasisPoints?: Prisma.IntNullableFilter<"AdminCallSession"> | number | null
|
|
note?: Prisma.StringNullableFilter<"AdminCallSession"> | string | null
|
|
dispositionId?: Prisma.StringNullableFilter<"AdminCallSession"> | string | null
|
|
dispositionCodeSnapshot?: Prisma.StringNullableFilter<"AdminCallSession"> | string | null
|
|
dispositionLabelSnapshot?: Prisma.StringNullableFilter<"AdminCallSession"> | string | null
|
|
callbackTaskId?: Prisma.StringNullableFilter<"AdminCallSession"> | string | null
|
|
recordingOffered?: Prisma.BoolFilter<"AdminCallSession"> | boolean
|
|
recordingConsentConfirmedAt?: Prisma.DateTimeNullableFilter<"AdminCallSession"> | Date | string | null
|
|
phoneConnection?: Prisma.XOR<Prisma.AdminPhoneConnectionScalarRelationFilter, Prisma.AdminPhoneConnectionWhereInput>
|
|
contact?: Prisma.XOR<Prisma.AdminContactNullableScalarRelationFilter, Prisma.AdminContactWhereInput> | null
|
|
lead?: Prisma.XOR<Prisma.AdminLeadNullableScalarRelationFilter, Prisma.AdminLeadWhereInput> | null
|
|
deal?: Prisma.XOR<Prisma.AdminDealNullableScalarRelationFilter, Prisma.AdminDealWhereInput> | null
|
|
disposition?: Prisma.XOR<Prisma.AdminCallDispositionNullableScalarRelationFilter, Prisma.AdminCallDispositionWhereInput> | null
|
|
callbackTask?: Prisma.XOR<Prisma.AdminTaskNullableScalarRelationFilter, Prisma.AdminTaskWhereInput> | null
|
|
participants?: Prisma.AdminCallParticipantListRelationFilter
|
|
events?: Prisma.AdminCallEventListRelationFilter
|
|
matchCandidates?: Prisma.AdminCallMatchCandidateListRelationFilter
|
|
recording?: Prisma.XOR<Prisma.AdminCallRecordingNullableScalarRelationFilter, Prisma.AdminCallRecordingWhereInput> | null
|
|
dialerEntry?: Prisma.XOR<Prisma.AdminDialerEntryNullableScalarRelationFilter, Prisma.AdminDialerEntryWhereInput> | null
|
|
activities?: Prisma.AdminActivityListRelationFilter
|
|
}
|
|
|
|
export type AdminCallSessionOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
adminUserId?: Prisma.SortOrder
|
|
phoneConnectionId?: Prisma.SortOrder
|
|
providerCallId?: Prisma.SortOrder
|
|
direction?: Prisma.SortOrder
|
|
status?: Prisma.SortOrder
|
|
providerUserId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
fromNumber?: Prisma.SortOrder
|
|
toNumber?: Prisma.SortOrder
|
|
externalNumber?: Prisma.SortOrder
|
|
startedAt?: Prisma.SortOrder
|
|
answeredAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
endedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
durationSeconds?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
contactId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
leadId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
dealId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
matchStatus?: Prisma.SortOrder
|
|
matchConfidenceBasisPoints?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
note?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
dispositionId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
dispositionCodeSnapshot?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
dispositionLabelSnapshot?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
callbackTaskId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
recordingOffered?: Prisma.SortOrder
|
|
recordingConsentConfirmedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
phoneConnection?: Prisma.AdminPhoneConnectionOrderByWithRelationInput
|
|
contact?: Prisma.AdminContactOrderByWithRelationInput
|
|
lead?: Prisma.AdminLeadOrderByWithRelationInput
|
|
deal?: Prisma.AdminDealOrderByWithRelationInput
|
|
disposition?: Prisma.AdminCallDispositionOrderByWithRelationInput
|
|
callbackTask?: Prisma.AdminTaskOrderByWithRelationInput
|
|
participants?: Prisma.AdminCallParticipantOrderByRelationAggregateInput
|
|
events?: Prisma.AdminCallEventOrderByRelationAggregateInput
|
|
matchCandidates?: Prisma.AdminCallMatchCandidateOrderByRelationAggregateInput
|
|
recording?: Prisma.AdminCallRecordingOrderByWithRelationInput
|
|
dialerEntry?: Prisma.AdminDialerEntryOrderByWithRelationInput
|
|
activities?: Prisma.AdminActivityOrderByRelationAggregateInput
|
|
}
|
|
|
|
export type AdminCallSessionWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: string
|
|
callbackTaskId?: string
|
|
admin_call_provider_key?: Prisma.AdminCallSessionAdmin_call_provider_keyCompoundUniqueInput
|
|
AND?: Prisma.AdminCallSessionWhereInput | Prisma.AdminCallSessionWhereInput[]
|
|
OR?: Prisma.AdminCallSessionWhereInput[]
|
|
NOT?: Prisma.AdminCallSessionWhereInput | Prisma.AdminCallSessionWhereInput[]
|
|
createdAt?: Prisma.DateTimeFilter<"AdminCallSession"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"AdminCallSession"> | Date | string
|
|
adminUserId?: Prisma.StringFilter<"AdminCallSession"> | string
|
|
phoneConnectionId?: Prisma.StringFilter<"AdminCallSession"> | string
|
|
providerCallId?: Prisma.StringFilter<"AdminCallSession"> | string
|
|
direction?: Prisma.EnumAdminCallDirectionFilter<"AdminCallSession"> | $Enums.AdminCallDirection
|
|
status?: Prisma.EnumAdminCallStatusFilter<"AdminCallSession"> | $Enums.AdminCallStatus
|
|
providerUserId?: Prisma.StringNullableFilter<"AdminCallSession"> | string | null
|
|
fromNumber?: Prisma.StringFilter<"AdminCallSession"> | string
|
|
toNumber?: Prisma.StringFilter<"AdminCallSession"> | string
|
|
externalNumber?: Prisma.StringFilter<"AdminCallSession"> | string
|
|
startedAt?: Prisma.DateTimeFilter<"AdminCallSession"> | Date | string
|
|
answeredAt?: Prisma.DateTimeNullableFilter<"AdminCallSession"> | Date | string | null
|
|
endedAt?: Prisma.DateTimeNullableFilter<"AdminCallSession"> | Date | string | null
|
|
durationSeconds?: Prisma.IntNullableFilter<"AdminCallSession"> | number | null
|
|
contactId?: Prisma.StringNullableFilter<"AdminCallSession"> | string | null
|
|
leadId?: Prisma.StringNullableFilter<"AdminCallSession"> | string | null
|
|
dealId?: Prisma.StringNullableFilter<"AdminCallSession"> | string | null
|
|
matchStatus?: Prisma.EnumAdminCallMatchStatusFilter<"AdminCallSession"> | $Enums.AdminCallMatchStatus
|
|
matchConfidenceBasisPoints?: Prisma.IntNullableFilter<"AdminCallSession"> | number | null
|
|
note?: Prisma.StringNullableFilter<"AdminCallSession"> | string | null
|
|
dispositionId?: Prisma.StringNullableFilter<"AdminCallSession"> | string | null
|
|
dispositionCodeSnapshot?: Prisma.StringNullableFilter<"AdminCallSession"> | string | null
|
|
dispositionLabelSnapshot?: Prisma.StringNullableFilter<"AdminCallSession"> | string | null
|
|
recordingOffered?: Prisma.BoolFilter<"AdminCallSession"> | boolean
|
|
recordingConsentConfirmedAt?: Prisma.DateTimeNullableFilter<"AdminCallSession"> | Date | string | null
|
|
phoneConnection?: Prisma.XOR<Prisma.AdminPhoneConnectionScalarRelationFilter, Prisma.AdminPhoneConnectionWhereInput>
|
|
contact?: Prisma.XOR<Prisma.AdminContactNullableScalarRelationFilter, Prisma.AdminContactWhereInput> | null
|
|
lead?: Prisma.XOR<Prisma.AdminLeadNullableScalarRelationFilter, Prisma.AdminLeadWhereInput> | null
|
|
deal?: Prisma.XOR<Prisma.AdminDealNullableScalarRelationFilter, Prisma.AdminDealWhereInput> | null
|
|
disposition?: Prisma.XOR<Prisma.AdminCallDispositionNullableScalarRelationFilter, Prisma.AdminCallDispositionWhereInput> | null
|
|
callbackTask?: Prisma.XOR<Prisma.AdminTaskNullableScalarRelationFilter, Prisma.AdminTaskWhereInput> | null
|
|
participants?: Prisma.AdminCallParticipantListRelationFilter
|
|
events?: Prisma.AdminCallEventListRelationFilter
|
|
matchCandidates?: Prisma.AdminCallMatchCandidateListRelationFilter
|
|
recording?: Prisma.XOR<Prisma.AdminCallRecordingNullableScalarRelationFilter, Prisma.AdminCallRecordingWhereInput> | null
|
|
dialerEntry?: Prisma.XOR<Prisma.AdminDialerEntryNullableScalarRelationFilter, Prisma.AdminDialerEntryWhereInput> | null
|
|
activities?: Prisma.AdminActivityListRelationFilter
|
|
}, "id" | "callbackTaskId" | "admin_call_provider_key">
|
|
|
|
export type AdminCallSessionOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
adminUserId?: Prisma.SortOrder
|
|
phoneConnectionId?: Prisma.SortOrder
|
|
providerCallId?: Prisma.SortOrder
|
|
direction?: Prisma.SortOrder
|
|
status?: Prisma.SortOrder
|
|
providerUserId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
fromNumber?: Prisma.SortOrder
|
|
toNumber?: Prisma.SortOrder
|
|
externalNumber?: Prisma.SortOrder
|
|
startedAt?: Prisma.SortOrder
|
|
answeredAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
endedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
durationSeconds?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
contactId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
leadId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
dealId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
matchStatus?: Prisma.SortOrder
|
|
matchConfidenceBasisPoints?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
note?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
dispositionId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
dispositionCodeSnapshot?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
dispositionLabelSnapshot?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
callbackTaskId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
recordingOffered?: Prisma.SortOrder
|
|
recordingConsentConfirmedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
_count?: Prisma.AdminCallSessionCountOrderByAggregateInput
|
|
_avg?: Prisma.AdminCallSessionAvgOrderByAggregateInput
|
|
_max?: Prisma.AdminCallSessionMaxOrderByAggregateInput
|
|
_min?: Prisma.AdminCallSessionMinOrderByAggregateInput
|
|
_sum?: Prisma.AdminCallSessionSumOrderByAggregateInput
|
|
}
|
|
|
|
export type AdminCallSessionScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.AdminCallSessionScalarWhereWithAggregatesInput | Prisma.AdminCallSessionScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.AdminCallSessionScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.AdminCallSessionScalarWhereWithAggregatesInput | Prisma.AdminCallSessionScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.StringWithAggregatesFilter<"AdminCallSession"> | string
|
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"AdminCallSession"> | Date | string
|
|
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"AdminCallSession"> | Date | string
|
|
adminUserId?: Prisma.StringWithAggregatesFilter<"AdminCallSession"> | string
|
|
phoneConnectionId?: Prisma.StringWithAggregatesFilter<"AdminCallSession"> | string
|
|
providerCallId?: Prisma.StringWithAggregatesFilter<"AdminCallSession"> | string
|
|
direction?: Prisma.EnumAdminCallDirectionWithAggregatesFilter<"AdminCallSession"> | $Enums.AdminCallDirection
|
|
status?: Prisma.EnumAdminCallStatusWithAggregatesFilter<"AdminCallSession"> | $Enums.AdminCallStatus
|
|
providerUserId?: Prisma.StringNullableWithAggregatesFilter<"AdminCallSession"> | string | null
|
|
fromNumber?: Prisma.StringWithAggregatesFilter<"AdminCallSession"> | string
|
|
toNumber?: Prisma.StringWithAggregatesFilter<"AdminCallSession"> | string
|
|
externalNumber?: Prisma.StringWithAggregatesFilter<"AdminCallSession"> | string
|
|
startedAt?: Prisma.DateTimeWithAggregatesFilter<"AdminCallSession"> | Date | string
|
|
answeredAt?: Prisma.DateTimeNullableWithAggregatesFilter<"AdminCallSession"> | Date | string | null
|
|
endedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"AdminCallSession"> | Date | string | null
|
|
durationSeconds?: Prisma.IntNullableWithAggregatesFilter<"AdminCallSession"> | number | null
|
|
contactId?: Prisma.StringNullableWithAggregatesFilter<"AdminCallSession"> | string | null
|
|
leadId?: Prisma.StringNullableWithAggregatesFilter<"AdminCallSession"> | string | null
|
|
dealId?: Prisma.StringNullableWithAggregatesFilter<"AdminCallSession"> | string | null
|
|
matchStatus?: Prisma.EnumAdminCallMatchStatusWithAggregatesFilter<"AdminCallSession"> | $Enums.AdminCallMatchStatus
|
|
matchConfidenceBasisPoints?: Prisma.IntNullableWithAggregatesFilter<"AdminCallSession"> | number | null
|
|
note?: Prisma.StringNullableWithAggregatesFilter<"AdminCallSession"> | string | null
|
|
dispositionId?: Prisma.StringNullableWithAggregatesFilter<"AdminCallSession"> | string | null
|
|
dispositionCodeSnapshot?: Prisma.StringNullableWithAggregatesFilter<"AdminCallSession"> | string | null
|
|
dispositionLabelSnapshot?: Prisma.StringNullableWithAggregatesFilter<"AdminCallSession"> | string | null
|
|
callbackTaskId?: Prisma.StringNullableWithAggregatesFilter<"AdminCallSession"> | string | null
|
|
recordingOffered?: Prisma.BoolWithAggregatesFilter<"AdminCallSession"> | boolean
|
|
recordingConsentConfirmedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"AdminCallSession"> | Date | string | null
|
|
}
|
|
|
|
export type AdminCallSessionCreateInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
adminUserId: string
|
|
providerCallId: string
|
|
direction: $Enums.AdminCallDirection
|
|
status: $Enums.AdminCallStatus
|
|
providerUserId?: string | null
|
|
fromNumber: string
|
|
toNumber: string
|
|
externalNumber: string
|
|
startedAt: Date | string
|
|
answeredAt?: Date | string | null
|
|
endedAt?: Date | string | null
|
|
durationSeconds?: number | null
|
|
matchStatus?: $Enums.AdminCallMatchStatus
|
|
matchConfidenceBasisPoints?: number | null
|
|
note?: string | null
|
|
dispositionCodeSnapshot?: string | null
|
|
dispositionLabelSnapshot?: string | null
|
|
recordingOffered?: boolean
|
|
recordingConsentConfirmedAt?: Date | string | null
|
|
phoneConnection: Prisma.AdminPhoneConnectionCreateNestedOneWithoutCallsInput
|
|
contact?: Prisma.AdminContactCreateNestedOneWithoutCallSessionsInput
|
|
lead?: Prisma.AdminLeadCreateNestedOneWithoutCallSessionsInput
|
|
deal?: Prisma.AdminDealCreateNestedOneWithoutCallSessionsInput
|
|
disposition?: Prisma.AdminCallDispositionCreateNestedOneWithoutCallsInput
|
|
callbackTask?: Prisma.AdminTaskCreateNestedOneWithoutCallbackCallInput
|
|
participants?: Prisma.AdminCallParticipantCreateNestedManyWithoutCallSessionInput
|
|
events?: Prisma.AdminCallEventCreateNestedManyWithoutCallSessionInput
|
|
matchCandidates?: Prisma.AdminCallMatchCandidateCreateNestedManyWithoutCallSessionInput
|
|
recording?: Prisma.AdminCallRecordingCreateNestedOneWithoutCallSessionInput
|
|
dialerEntry?: Prisma.AdminDialerEntryCreateNestedOneWithoutCallSessionInput
|
|
activities?: Prisma.AdminActivityCreateNestedManyWithoutCallSessionInput
|
|
}
|
|
|
|
export type AdminCallSessionUncheckedCreateInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
adminUserId: string
|
|
phoneConnectionId: string
|
|
providerCallId: string
|
|
direction: $Enums.AdminCallDirection
|
|
status: $Enums.AdminCallStatus
|
|
providerUserId?: string | null
|
|
fromNumber: string
|
|
toNumber: string
|
|
externalNumber: string
|
|
startedAt: Date | string
|
|
answeredAt?: Date | string | null
|
|
endedAt?: Date | string | null
|
|
durationSeconds?: number | null
|
|
contactId?: string | null
|
|
leadId?: string | null
|
|
dealId?: string | null
|
|
matchStatus?: $Enums.AdminCallMatchStatus
|
|
matchConfidenceBasisPoints?: number | null
|
|
note?: string | null
|
|
dispositionId?: string | null
|
|
dispositionCodeSnapshot?: string | null
|
|
dispositionLabelSnapshot?: string | null
|
|
callbackTaskId?: string | null
|
|
recordingOffered?: boolean
|
|
recordingConsentConfirmedAt?: Date | string | null
|
|
participants?: Prisma.AdminCallParticipantUncheckedCreateNestedManyWithoutCallSessionInput
|
|
events?: Prisma.AdminCallEventUncheckedCreateNestedManyWithoutCallSessionInput
|
|
matchCandidates?: Prisma.AdminCallMatchCandidateUncheckedCreateNestedManyWithoutCallSessionInput
|
|
recording?: Prisma.AdminCallRecordingUncheckedCreateNestedOneWithoutCallSessionInput
|
|
dialerEntry?: Prisma.AdminDialerEntryUncheckedCreateNestedOneWithoutCallSessionInput
|
|
activities?: Prisma.AdminActivityUncheckedCreateNestedManyWithoutCallSessionInput
|
|
}
|
|
|
|
export type AdminCallSessionUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
providerCallId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
direction?: Prisma.EnumAdminCallDirectionFieldUpdateOperationsInput | $Enums.AdminCallDirection
|
|
status?: Prisma.EnumAdminCallStatusFieldUpdateOperationsInput | $Enums.AdminCallStatus
|
|
providerUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
fromNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
toNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
externalNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
answeredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
durationSeconds?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
matchStatus?: Prisma.EnumAdminCallMatchStatusFieldUpdateOperationsInput | $Enums.AdminCallMatchStatus
|
|
matchConfidenceBasisPoints?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionCodeSnapshot?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionLabelSnapshot?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
recordingOffered?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
recordingConsentConfirmedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
phoneConnection?: Prisma.AdminPhoneConnectionUpdateOneRequiredWithoutCallsNestedInput
|
|
contact?: Prisma.AdminContactUpdateOneWithoutCallSessionsNestedInput
|
|
lead?: Prisma.AdminLeadUpdateOneWithoutCallSessionsNestedInput
|
|
deal?: Prisma.AdminDealUpdateOneWithoutCallSessionsNestedInput
|
|
disposition?: Prisma.AdminCallDispositionUpdateOneWithoutCallsNestedInput
|
|
callbackTask?: Prisma.AdminTaskUpdateOneWithoutCallbackCallNestedInput
|
|
participants?: Prisma.AdminCallParticipantUpdateManyWithoutCallSessionNestedInput
|
|
events?: Prisma.AdminCallEventUpdateManyWithoutCallSessionNestedInput
|
|
matchCandidates?: Prisma.AdminCallMatchCandidateUpdateManyWithoutCallSessionNestedInput
|
|
recording?: Prisma.AdminCallRecordingUpdateOneWithoutCallSessionNestedInput
|
|
dialerEntry?: Prisma.AdminDialerEntryUpdateOneWithoutCallSessionNestedInput
|
|
activities?: Prisma.AdminActivityUpdateManyWithoutCallSessionNestedInput
|
|
}
|
|
|
|
export type AdminCallSessionUncheckedUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
phoneConnectionId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
providerCallId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
direction?: Prisma.EnumAdminCallDirectionFieldUpdateOperationsInput | $Enums.AdminCallDirection
|
|
status?: Prisma.EnumAdminCallStatusFieldUpdateOperationsInput | $Enums.AdminCallStatus
|
|
providerUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
fromNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
toNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
externalNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
answeredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
durationSeconds?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
contactId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
leadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dealId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchStatus?: Prisma.EnumAdminCallMatchStatusFieldUpdateOperationsInput | $Enums.AdminCallMatchStatus
|
|
matchConfidenceBasisPoints?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionCodeSnapshot?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionLabelSnapshot?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
callbackTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
recordingOffered?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
recordingConsentConfirmedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
participants?: Prisma.AdminCallParticipantUncheckedUpdateManyWithoutCallSessionNestedInput
|
|
events?: Prisma.AdminCallEventUncheckedUpdateManyWithoutCallSessionNestedInput
|
|
matchCandidates?: Prisma.AdminCallMatchCandidateUncheckedUpdateManyWithoutCallSessionNestedInput
|
|
recording?: Prisma.AdminCallRecordingUncheckedUpdateOneWithoutCallSessionNestedInput
|
|
dialerEntry?: Prisma.AdminDialerEntryUncheckedUpdateOneWithoutCallSessionNestedInput
|
|
activities?: Prisma.AdminActivityUncheckedUpdateManyWithoutCallSessionNestedInput
|
|
}
|
|
|
|
export type AdminCallSessionCreateManyInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
adminUserId: string
|
|
phoneConnectionId: string
|
|
providerCallId: string
|
|
direction: $Enums.AdminCallDirection
|
|
status: $Enums.AdminCallStatus
|
|
providerUserId?: string | null
|
|
fromNumber: string
|
|
toNumber: string
|
|
externalNumber: string
|
|
startedAt: Date | string
|
|
answeredAt?: Date | string | null
|
|
endedAt?: Date | string | null
|
|
durationSeconds?: number | null
|
|
contactId?: string | null
|
|
leadId?: string | null
|
|
dealId?: string | null
|
|
matchStatus?: $Enums.AdminCallMatchStatus
|
|
matchConfidenceBasisPoints?: number | null
|
|
note?: string | null
|
|
dispositionId?: string | null
|
|
dispositionCodeSnapshot?: string | null
|
|
dispositionLabelSnapshot?: string | null
|
|
callbackTaskId?: string | null
|
|
recordingOffered?: boolean
|
|
recordingConsentConfirmedAt?: Date | string | null
|
|
}
|
|
|
|
export type AdminCallSessionUpdateManyMutationInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
providerCallId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
direction?: Prisma.EnumAdminCallDirectionFieldUpdateOperationsInput | $Enums.AdminCallDirection
|
|
status?: Prisma.EnumAdminCallStatusFieldUpdateOperationsInput | $Enums.AdminCallStatus
|
|
providerUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
fromNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
toNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
externalNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
answeredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
durationSeconds?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
matchStatus?: Prisma.EnumAdminCallMatchStatusFieldUpdateOperationsInput | $Enums.AdminCallMatchStatus
|
|
matchConfidenceBasisPoints?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionCodeSnapshot?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionLabelSnapshot?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
recordingOffered?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
recordingConsentConfirmedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
}
|
|
|
|
export type AdminCallSessionUncheckedUpdateManyInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
phoneConnectionId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
providerCallId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
direction?: Prisma.EnumAdminCallDirectionFieldUpdateOperationsInput | $Enums.AdminCallDirection
|
|
status?: Prisma.EnumAdminCallStatusFieldUpdateOperationsInput | $Enums.AdminCallStatus
|
|
providerUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
fromNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
toNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
externalNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
answeredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
durationSeconds?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
contactId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
leadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dealId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchStatus?: Prisma.EnumAdminCallMatchStatusFieldUpdateOperationsInput | $Enums.AdminCallMatchStatus
|
|
matchConfidenceBasisPoints?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionCodeSnapshot?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionLabelSnapshot?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
callbackTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
recordingOffered?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
recordingConsentConfirmedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
}
|
|
|
|
export type AdminCallSessionListRelationFilter = {
|
|
every?: Prisma.AdminCallSessionWhereInput
|
|
some?: Prisma.AdminCallSessionWhereInput
|
|
none?: Prisma.AdminCallSessionWhereInput
|
|
}
|
|
|
|
export type AdminCallSessionOrderByRelationAggregateInput = {
|
|
_count?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AdminCallSessionNullableScalarRelationFilter = {
|
|
is?: Prisma.AdminCallSessionWhereInput | null
|
|
isNot?: Prisma.AdminCallSessionWhereInput | null
|
|
}
|
|
|
|
export type AdminCallSessionAdmin_call_provider_keyCompoundUniqueInput = {
|
|
phoneConnectionId: string
|
|
providerCallId: string
|
|
}
|
|
|
|
export type AdminCallSessionCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
adminUserId?: Prisma.SortOrder
|
|
phoneConnectionId?: Prisma.SortOrder
|
|
providerCallId?: Prisma.SortOrder
|
|
direction?: Prisma.SortOrder
|
|
status?: Prisma.SortOrder
|
|
providerUserId?: Prisma.SortOrder
|
|
fromNumber?: Prisma.SortOrder
|
|
toNumber?: Prisma.SortOrder
|
|
externalNumber?: Prisma.SortOrder
|
|
startedAt?: Prisma.SortOrder
|
|
answeredAt?: Prisma.SortOrder
|
|
endedAt?: Prisma.SortOrder
|
|
durationSeconds?: Prisma.SortOrder
|
|
contactId?: Prisma.SortOrder
|
|
leadId?: Prisma.SortOrder
|
|
dealId?: Prisma.SortOrder
|
|
matchStatus?: Prisma.SortOrder
|
|
matchConfidenceBasisPoints?: Prisma.SortOrder
|
|
note?: Prisma.SortOrder
|
|
dispositionId?: Prisma.SortOrder
|
|
dispositionCodeSnapshot?: Prisma.SortOrder
|
|
dispositionLabelSnapshot?: Prisma.SortOrder
|
|
callbackTaskId?: Prisma.SortOrder
|
|
recordingOffered?: Prisma.SortOrder
|
|
recordingConsentConfirmedAt?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AdminCallSessionAvgOrderByAggregateInput = {
|
|
durationSeconds?: Prisma.SortOrder
|
|
matchConfidenceBasisPoints?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AdminCallSessionMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
adminUserId?: Prisma.SortOrder
|
|
phoneConnectionId?: Prisma.SortOrder
|
|
providerCallId?: Prisma.SortOrder
|
|
direction?: Prisma.SortOrder
|
|
status?: Prisma.SortOrder
|
|
providerUserId?: Prisma.SortOrder
|
|
fromNumber?: Prisma.SortOrder
|
|
toNumber?: Prisma.SortOrder
|
|
externalNumber?: Prisma.SortOrder
|
|
startedAt?: Prisma.SortOrder
|
|
answeredAt?: Prisma.SortOrder
|
|
endedAt?: Prisma.SortOrder
|
|
durationSeconds?: Prisma.SortOrder
|
|
contactId?: Prisma.SortOrder
|
|
leadId?: Prisma.SortOrder
|
|
dealId?: Prisma.SortOrder
|
|
matchStatus?: Prisma.SortOrder
|
|
matchConfidenceBasisPoints?: Prisma.SortOrder
|
|
note?: Prisma.SortOrder
|
|
dispositionId?: Prisma.SortOrder
|
|
dispositionCodeSnapshot?: Prisma.SortOrder
|
|
dispositionLabelSnapshot?: Prisma.SortOrder
|
|
callbackTaskId?: Prisma.SortOrder
|
|
recordingOffered?: Prisma.SortOrder
|
|
recordingConsentConfirmedAt?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AdminCallSessionMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
adminUserId?: Prisma.SortOrder
|
|
phoneConnectionId?: Prisma.SortOrder
|
|
providerCallId?: Prisma.SortOrder
|
|
direction?: Prisma.SortOrder
|
|
status?: Prisma.SortOrder
|
|
providerUserId?: Prisma.SortOrder
|
|
fromNumber?: Prisma.SortOrder
|
|
toNumber?: Prisma.SortOrder
|
|
externalNumber?: Prisma.SortOrder
|
|
startedAt?: Prisma.SortOrder
|
|
answeredAt?: Prisma.SortOrder
|
|
endedAt?: Prisma.SortOrder
|
|
durationSeconds?: Prisma.SortOrder
|
|
contactId?: Prisma.SortOrder
|
|
leadId?: Prisma.SortOrder
|
|
dealId?: Prisma.SortOrder
|
|
matchStatus?: Prisma.SortOrder
|
|
matchConfidenceBasisPoints?: Prisma.SortOrder
|
|
note?: Prisma.SortOrder
|
|
dispositionId?: Prisma.SortOrder
|
|
dispositionCodeSnapshot?: Prisma.SortOrder
|
|
dispositionLabelSnapshot?: Prisma.SortOrder
|
|
callbackTaskId?: Prisma.SortOrder
|
|
recordingOffered?: Prisma.SortOrder
|
|
recordingConsentConfirmedAt?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AdminCallSessionSumOrderByAggregateInput = {
|
|
durationSeconds?: Prisma.SortOrder
|
|
matchConfidenceBasisPoints?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AdminCallSessionScalarRelationFilter = {
|
|
is?: Prisma.AdminCallSessionWhereInput
|
|
isNot?: Prisma.AdminCallSessionWhereInput
|
|
}
|
|
|
|
export type AdminCallSessionCreateNestedManyWithoutLeadInput = {
|
|
create?: Prisma.XOR<Prisma.AdminCallSessionCreateWithoutLeadInput, Prisma.AdminCallSessionUncheckedCreateWithoutLeadInput> | Prisma.AdminCallSessionCreateWithoutLeadInput[] | Prisma.AdminCallSessionUncheckedCreateWithoutLeadInput[]
|
|
connectOrCreate?: Prisma.AdminCallSessionCreateOrConnectWithoutLeadInput | Prisma.AdminCallSessionCreateOrConnectWithoutLeadInput[]
|
|
createMany?: Prisma.AdminCallSessionCreateManyLeadInputEnvelope
|
|
connect?: Prisma.AdminCallSessionWhereUniqueInput | Prisma.AdminCallSessionWhereUniqueInput[]
|
|
}
|
|
|
|
export type AdminCallSessionUncheckedCreateNestedManyWithoutLeadInput = {
|
|
create?: Prisma.XOR<Prisma.AdminCallSessionCreateWithoutLeadInput, Prisma.AdminCallSessionUncheckedCreateWithoutLeadInput> | Prisma.AdminCallSessionCreateWithoutLeadInput[] | Prisma.AdminCallSessionUncheckedCreateWithoutLeadInput[]
|
|
connectOrCreate?: Prisma.AdminCallSessionCreateOrConnectWithoutLeadInput | Prisma.AdminCallSessionCreateOrConnectWithoutLeadInput[]
|
|
createMany?: Prisma.AdminCallSessionCreateManyLeadInputEnvelope
|
|
connect?: Prisma.AdminCallSessionWhereUniqueInput | Prisma.AdminCallSessionWhereUniqueInput[]
|
|
}
|
|
|
|
export type AdminCallSessionUpdateManyWithoutLeadNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AdminCallSessionCreateWithoutLeadInput, Prisma.AdminCallSessionUncheckedCreateWithoutLeadInput> | Prisma.AdminCallSessionCreateWithoutLeadInput[] | Prisma.AdminCallSessionUncheckedCreateWithoutLeadInput[]
|
|
connectOrCreate?: Prisma.AdminCallSessionCreateOrConnectWithoutLeadInput | Prisma.AdminCallSessionCreateOrConnectWithoutLeadInput[]
|
|
upsert?: Prisma.AdminCallSessionUpsertWithWhereUniqueWithoutLeadInput | Prisma.AdminCallSessionUpsertWithWhereUniqueWithoutLeadInput[]
|
|
createMany?: Prisma.AdminCallSessionCreateManyLeadInputEnvelope
|
|
set?: Prisma.AdminCallSessionWhereUniqueInput | Prisma.AdminCallSessionWhereUniqueInput[]
|
|
disconnect?: Prisma.AdminCallSessionWhereUniqueInput | Prisma.AdminCallSessionWhereUniqueInput[]
|
|
delete?: Prisma.AdminCallSessionWhereUniqueInput | Prisma.AdminCallSessionWhereUniqueInput[]
|
|
connect?: Prisma.AdminCallSessionWhereUniqueInput | Prisma.AdminCallSessionWhereUniqueInput[]
|
|
update?: Prisma.AdminCallSessionUpdateWithWhereUniqueWithoutLeadInput | Prisma.AdminCallSessionUpdateWithWhereUniqueWithoutLeadInput[]
|
|
updateMany?: Prisma.AdminCallSessionUpdateManyWithWhereWithoutLeadInput | Prisma.AdminCallSessionUpdateManyWithWhereWithoutLeadInput[]
|
|
deleteMany?: Prisma.AdminCallSessionScalarWhereInput | Prisma.AdminCallSessionScalarWhereInput[]
|
|
}
|
|
|
|
export type AdminCallSessionUncheckedUpdateManyWithoutLeadNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AdminCallSessionCreateWithoutLeadInput, Prisma.AdminCallSessionUncheckedCreateWithoutLeadInput> | Prisma.AdminCallSessionCreateWithoutLeadInput[] | Prisma.AdminCallSessionUncheckedCreateWithoutLeadInput[]
|
|
connectOrCreate?: Prisma.AdminCallSessionCreateOrConnectWithoutLeadInput | Prisma.AdminCallSessionCreateOrConnectWithoutLeadInput[]
|
|
upsert?: Prisma.AdminCallSessionUpsertWithWhereUniqueWithoutLeadInput | Prisma.AdminCallSessionUpsertWithWhereUniqueWithoutLeadInput[]
|
|
createMany?: Prisma.AdminCallSessionCreateManyLeadInputEnvelope
|
|
set?: Prisma.AdminCallSessionWhereUniqueInput | Prisma.AdminCallSessionWhereUniqueInput[]
|
|
disconnect?: Prisma.AdminCallSessionWhereUniqueInput | Prisma.AdminCallSessionWhereUniqueInput[]
|
|
delete?: Prisma.AdminCallSessionWhereUniqueInput | Prisma.AdminCallSessionWhereUniqueInput[]
|
|
connect?: Prisma.AdminCallSessionWhereUniqueInput | Prisma.AdminCallSessionWhereUniqueInput[]
|
|
update?: Prisma.AdminCallSessionUpdateWithWhereUniqueWithoutLeadInput | Prisma.AdminCallSessionUpdateWithWhereUniqueWithoutLeadInput[]
|
|
updateMany?: Prisma.AdminCallSessionUpdateManyWithWhereWithoutLeadInput | Prisma.AdminCallSessionUpdateManyWithWhereWithoutLeadInput[]
|
|
deleteMany?: Prisma.AdminCallSessionScalarWhereInput | Prisma.AdminCallSessionScalarWhereInput[]
|
|
}
|
|
|
|
export type AdminCallSessionCreateNestedManyWithoutContactInput = {
|
|
create?: Prisma.XOR<Prisma.AdminCallSessionCreateWithoutContactInput, Prisma.AdminCallSessionUncheckedCreateWithoutContactInput> | Prisma.AdminCallSessionCreateWithoutContactInput[] | Prisma.AdminCallSessionUncheckedCreateWithoutContactInput[]
|
|
connectOrCreate?: Prisma.AdminCallSessionCreateOrConnectWithoutContactInput | Prisma.AdminCallSessionCreateOrConnectWithoutContactInput[]
|
|
createMany?: Prisma.AdminCallSessionCreateManyContactInputEnvelope
|
|
connect?: Prisma.AdminCallSessionWhereUniqueInput | Prisma.AdminCallSessionWhereUniqueInput[]
|
|
}
|
|
|
|
export type AdminCallSessionUncheckedCreateNestedManyWithoutContactInput = {
|
|
create?: Prisma.XOR<Prisma.AdminCallSessionCreateWithoutContactInput, Prisma.AdminCallSessionUncheckedCreateWithoutContactInput> | Prisma.AdminCallSessionCreateWithoutContactInput[] | Prisma.AdminCallSessionUncheckedCreateWithoutContactInput[]
|
|
connectOrCreate?: Prisma.AdminCallSessionCreateOrConnectWithoutContactInput | Prisma.AdminCallSessionCreateOrConnectWithoutContactInput[]
|
|
createMany?: Prisma.AdminCallSessionCreateManyContactInputEnvelope
|
|
connect?: Prisma.AdminCallSessionWhereUniqueInput | Prisma.AdminCallSessionWhereUniqueInput[]
|
|
}
|
|
|
|
export type AdminCallSessionUpdateManyWithoutContactNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AdminCallSessionCreateWithoutContactInput, Prisma.AdminCallSessionUncheckedCreateWithoutContactInput> | Prisma.AdminCallSessionCreateWithoutContactInput[] | Prisma.AdminCallSessionUncheckedCreateWithoutContactInput[]
|
|
connectOrCreate?: Prisma.AdminCallSessionCreateOrConnectWithoutContactInput | Prisma.AdminCallSessionCreateOrConnectWithoutContactInput[]
|
|
upsert?: Prisma.AdminCallSessionUpsertWithWhereUniqueWithoutContactInput | Prisma.AdminCallSessionUpsertWithWhereUniqueWithoutContactInput[]
|
|
createMany?: Prisma.AdminCallSessionCreateManyContactInputEnvelope
|
|
set?: Prisma.AdminCallSessionWhereUniqueInput | Prisma.AdminCallSessionWhereUniqueInput[]
|
|
disconnect?: Prisma.AdminCallSessionWhereUniqueInput | Prisma.AdminCallSessionWhereUniqueInput[]
|
|
delete?: Prisma.AdminCallSessionWhereUniqueInput | Prisma.AdminCallSessionWhereUniqueInput[]
|
|
connect?: Prisma.AdminCallSessionWhereUniqueInput | Prisma.AdminCallSessionWhereUniqueInput[]
|
|
update?: Prisma.AdminCallSessionUpdateWithWhereUniqueWithoutContactInput | Prisma.AdminCallSessionUpdateWithWhereUniqueWithoutContactInput[]
|
|
updateMany?: Prisma.AdminCallSessionUpdateManyWithWhereWithoutContactInput | Prisma.AdminCallSessionUpdateManyWithWhereWithoutContactInput[]
|
|
deleteMany?: Prisma.AdminCallSessionScalarWhereInput | Prisma.AdminCallSessionScalarWhereInput[]
|
|
}
|
|
|
|
export type AdminCallSessionUncheckedUpdateManyWithoutContactNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AdminCallSessionCreateWithoutContactInput, Prisma.AdminCallSessionUncheckedCreateWithoutContactInput> | Prisma.AdminCallSessionCreateWithoutContactInput[] | Prisma.AdminCallSessionUncheckedCreateWithoutContactInput[]
|
|
connectOrCreate?: Prisma.AdminCallSessionCreateOrConnectWithoutContactInput | Prisma.AdminCallSessionCreateOrConnectWithoutContactInput[]
|
|
upsert?: Prisma.AdminCallSessionUpsertWithWhereUniqueWithoutContactInput | Prisma.AdminCallSessionUpsertWithWhereUniqueWithoutContactInput[]
|
|
createMany?: Prisma.AdminCallSessionCreateManyContactInputEnvelope
|
|
set?: Prisma.AdminCallSessionWhereUniqueInput | Prisma.AdminCallSessionWhereUniqueInput[]
|
|
disconnect?: Prisma.AdminCallSessionWhereUniqueInput | Prisma.AdminCallSessionWhereUniqueInput[]
|
|
delete?: Prisma.AdminCallSessionWhereUniqueInput | Prisma.AdminCallSessionWhereUniqueInput[]
|
|
connect?: Prisma.AdminCallSessionWhereUniqueInput | Prisma.AdminCallSessionWhereUniqueInput[]
|
|
update?: Prisma.AdminCallSessionUpdateWithWhereUniqueWithoutContactInput | Prisma.AdminCallSessionUpdateWithWhereUniqueWithoutContactInput[]
|
|
updateMany?: Prisma.AdminCallSessionUpdateManyWithWhereWithoutContactInput | Prisma.AdminCallSessionUpdateManyWithWhereWithoutContactInput[]
|
|
deleteMany?: Prisma.AdminCallSessionScalarWhereInput | Prisma.AdminCallSessionScalarWhereInput[]
|
|
}
|
|
|
|
export type AdminCallSessionCreateNestedManyWithoutDealInput = {
|
|
create?: Prisma.XOR<Prisma.AdminCallSessionCreateWithoutDealInput, Prisma.AdminCallSessionUncheckedCreateWithoutDealInput> | Prisma.AdminCallSessionCreateWithoutDealInput[] | Prisma.AdminCallSessionUncheckedCreateWithoutDealInput[]
|
|
connectOrCreate?: Prisma.AdminCallSessionCreateOrConnectWithoutDealInput | Prisma.AdminCallSessionCreateOrConnectWithoutDealInput[]
|
|
createMany?: Prisma.AdminCallSessionCreateManyDealInputEnvelope
|
|
connect?: Prisma.AdminCallSessionWhereUniqueInput | Prisma.AdminCallSessionWhereUniqueInput[]
|
|
}
|
|
|
|
export type AdminCallSessionUncheckedCreateNestedManyWithoutDealInput = {
|
|
create?: Prisma.XOR<Prisma.AdminCallSessionCreateWithoutDealInput, Prisma.AdminCallSessionUncheckedCreateWithoutDealInput> | Prisma.AdminCallSessionCreateWithoutDealInput[] | Prisma.AdminCallSessionUncheckedCreateWithoutDealInput[]
|
|
connectOrCreate?: Prisma.AdminCallSessionCreateOrConnectWithoutDealInput | Prisma.AdminCallSessionCreateOrConnectWithoutDealInput[]
|
|
createMany?: Prisma.AdminCallSessionCreateManyDealInputEnvelope
|
|
connect?: Prisma.AdminCallSessionWhereUniqueInput | Prisma.AdminCallSessionWhereUniqueInput[]
|
|
}
|
|
|
|
export type AdminCallSessionUpdateManyWithoutDealNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AdminCallSessionCreateWithoutDealInput, Prisma.AdminCallSessionUncheckedCreateWithoutDealInput> | Prisma.AdminCallSessionCreateWithoutDealInput[] | Prisma.AdminCallSessionUncheckedCreateWithoutDealInput[]
|
|
connectOrCreate?: Prisma.AdminCallSessionCreateOrConnectWithoutDealInput | Prisma.AdminCallSessionCreateOrConnectWithoutDealInput[]
|
|
upsert?: Prisma.AdminCallSessionUpsertWithWhereUniqueWithoutDealInput | Prisma.AdminCallSessionUpsertWithWhereUniqueWithoutDealInput[]
|
|
createMany?: Prisma.AdminCallSessionCreateManyDealInputEnvelope
|
|
set?: Prisma.AdminCallSessionWhereUniqueInput | Prisma.AdminCallSessionWhereUniqueInput[]
|
|
disconnect?: Prisma.AdminCallSessionWhereUniqueInput | Prisma.AdminCallSessionWhereUniqueInput[]
|
|
delete?: Prisma.AdminCallSessionWhereUniqueInput | Prisma.AdminCallSessionWhereUniqueInput[]
|
|
connect?: Prisma.AdminCallSessionWhereUniqueInput | Prisma.AdminCallSessionWhereUniqueInput[]
|
|
update?: Prisma.AdminCallSessionUpdateWithWhereUniqueWithoutDealInput | Prisma.AdminCallSessionUpdateWithWhereUniqueWithoutDealInput[]
|
|
updateMany?: Prisma.AdminCallSessionUpdateManyWithWhereWithoutDealInput | Prisma.AdminCallSessionUpdateManyWithWhereWithoutDealInput[]
|
|
deleteMany?: Prisma.AdminCallSessionScalarWhereInput | Prisma.AdminCallSessionScalarWhereInput[]
|
|
}
|
|
|
|
export type AdminCallSessionUncheckedUpdateManyWithoutDealNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AdminCallSessionCreateWithoutDealInput, Prisma.AdminCallSessionUncheckedCreateWithoutDealInput> | Prisma.AdminCallSessionCreateWithoutDealInput[] | Prisma.AdminCallSessionUncheckedCreateWithoutDealInput[]
|
|
connectOrCreate?: Prisma.AdminCallSessionCreateOrConnectWithoutDealInput | Prisma.AdminCallSessionCreateOrConnectWithoutDealInput[]
|
|
upsert?: Prisma.AdminCallSessionUpsertWithWhereUniqueWithoutDealInput | Prisma.AdminCallSessionUpsertWithWhereUniqueWithoutDealInput[]
|
|
createMany?: Prisma.AdminCallSessionCreateManyDealInputEnvelope
|
|
set?: Prisma.AdminCallSessionWhereUniqueInput | Prisma.AdminCallSessionWhereUniqueInput[]
|
|
disconnect?: Prisma.AdminCallSessionWhereUniqueInput | Prisma.AdminCallSessionWhereUniqueInput[]
|
|
delete?: Prisma.AdminCallSessionWhereUniqueInput | Prisma.AdminCallSessionWhereUniqueInput[]
|
|
connect?: Prisma.AdminCallSessionWhereUniqueInput | Prisma.AdminCallSessionWhereUniqueInput[]
|
|
update?: Prisma.AdminCallSessionUpdateWithWhereUniqueWithoutDealInput | Prisma.AdminCallSessionUpdateWithWhereUniqueWithoutDealInput[]
|
|
updateMany?: Prisma.AdminCallSessionUpdateManyWithWhereWithoutDealInput | Prisma.AdminCallSessionUpdateManyWithWhereWithoutDealInput[]
|
|
deleteMany?: Prisma.AdminCallSessionScalarWhereInput | Prisma.AdminCallSessionScalarWhereInput[]
|
|
}
|
|
|
|
export type AdminCallSessionCreateNestedOneWithoutCallbackTaskInput = {
|
|
create?: Prisma.XOR<Prisma.AdminCallSessionCreateWithoutCallbackTaskInput, Prisma.AdminCallSessionUncheckedCreateWithoutCallbackTaskInput>
|
|
connectOrCreate?: Prisma.AdminCallSessionCreateOrConnectWithoutCallbackTaskInput
|
|
connect?: Prisma.AdminCallSessionWhereUniqueInput
|
|
}
|
|
|
|
export type AdminCallSessionUncheckedCreateNestedOneWithoutCallbackTaskInput = {
|
|
create?: Prisma.XOR<Prisma.AdminCallSessionCreateWithoutCallbackTaskInput, Prisma.AdminCallSessionUncheckedCreateWithoutCallbackTaskInput>
|
|
connectOrCreate?: Prisma.AdminCallSessionCreateOrConnectWithoutCallbackTaskInput
|
|
connect?: Prisma.AdminCallSessionWhereUniqueInput
|
|
}
|
|
|
|
export type AdminCallSessionUpdateOneWithoutCallbackTaskNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AdminCallSessionCreateWithoutCallbackTaskInput, Prisma.AdminCallSessionUncheckedCreateWithoutCallbackTaskInput>
|
|
connectOrCreate?: Prisma.AdminCallSessionCreateOrConnectWithoutCallbackTaskInput
|
|
upsert?: Prisma.AdminCallSessionUpsertWithoutCallbackTaskInput
|
|
disconnect?: Prisma.AdminCallSessionWhereInput | boolean
|
|
delete?: Prisma.AdminCallSessionWhereInput | boolean
|
|
connect?: Prisma.AdminCallSessionWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.AdminCallSessionUpdateToOneWithWhereWithoutCallbackTaskInput, Prisma.AdminCallSessionUpdateWithoutCallbackTaskInput>, Prisma.AdminCallSessionUncheckedUpdateWithoutCallbackTaskInput>
|
|
}
|
|
|
|
export type AdminCallSessionUncheckedUpdateOneWithoutCallbackTaskNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AdminCallSessionCreateWithoutCallbackTaskInput, Prisma.AdminCallSessionUncheckedCreateWithoutCallbackTaskInput>
|
|
connectOrCreate?: Prisma.AdminCallSessionCreateOrConnectWithoutCallbackTaskInput
|
|
upsert?: Prisma.AdminCallSessionUpsertWithoutCallbackTaskInput
|
|
disconnect?: Prisma.AdminCallSessionWhereInput | boolean
|
|
delete?: Prisma.AdminCallSessionWhereInput | boolean
|
|
connect?: Prisma.AdminCallSessionWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.AdminCallSessionUpdateToOneWithWhereWithoutCallbackTaskInput, Prisma.AdminCallSessionUpdateWithoutCallbackTaskInput>, Prisma.AdminCallSessionUncheckedUpdateWithoutCallbackTaskInput>
|
|
}
|
|
|
|
export type AdminCallSessionCreateNestedOneWithoutActivitiesInput = {
|
|
create?: Prisma.XOR<Prisma.AdminCallSessionCreateWithoutActivitiesInput, Prisma.AdminCallSessionUncheckedCreateWithoutActivitiesInput>
|
|
connectOrCreate?: Prisma.AdminCallSessionCreateOrConnectWithoutActivitiesInput
|
|
connect?: Prisma.AdminCallSessionWhereUniqueInput
|
|
}
|
|
|
|
export type AdminCallSessionUpdateOneWithoutActivitiesNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AdminCallSessionCreateWithoutActivitiesInput, Prisma.AdminCallSessionUncheckedCreateWithoutActivitiesInput>
|
|
connectOrCreate?: Prisma.AdminCallSessionCreateOrConnectWithoutActivitiesInput
|
|
upsert?: Prisma.AdminCallSessionUpsertWithoutActivitiesInput
|
|
disconnect?: Prisma.AdminCallSessionWhereInput | boolean
|
|
delete?: Prisma.AdminCallSessionWhereInput | boolean
|
|
connect?: Prisma.AdminCallSessionWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.AdminCallSessionUpdateToOneWithWhereWithoutActivitiesInput, Prisma.AdminCallSessionUpdateWithoutActivitiesInput>, Prisma.AdminCallSessionUncheckedUpdateWithoutActivitiesInput>
|
|
}
|
|
|
|
export type AdminCallSessionCreateNestedManyWithoutPhoneConnectionInput = {
|
|
create?: Prisma.XOR<Prisma.AdminCallSessionCreateWithoutPhoneConnectionInput, Prisma.AdminCallSessionUncheckedCreateWithoutPhoneConnectionInput> | Prisma.AdminCallSessionCreateWithoutPhoneConnectionInput[] | Prisma.AdminCallSessionUncheckedCreateWithoutPhoneConnectionInput[]
|
|
connectOrCreate?: Prisma.AdminCallSessionCreateOrConnectWithoutPhoneConnectionInput | Prisma.AdminCallSessionCreateOrConnectWithoutPhoneConnectionInput[]
|
|
createMany?: Prisma.AdminCallSessionCreateManyPhoneConnectionInputEnvelope
|
|
connect?: Prisma.AdminCallSessionWhereUniqueInput | Prisma.AdminCallSessionWhereUniqueInput[]
|
|
}
|
|
|
|
export type AdminCallSessionUncheckedCreateNestedManyWithoutPhoneConnectionInput = {
|
|
create?: Prisma.XOR<Prisma.AdminCallSessionCreateWithoutPhoneConnectionInput, Prisma.AdminCallSessionUncheckedCreateWithoutPhoneConnectionInput> | Prisma.AdminCallSessionCreateWithoutPhoneConnectionInput[] | Prisma.AdminCallSessionUncheckedCreateWithoutPhoneConnectionInput[]
|
|
connectOrCreate?: Prisma.AdminCallSessionCreateOrConnectWithoutPhoneConnectionInput | Prisma.AdminCallSessionCreateOrConnectWithoutPhoneConnectionInput[]
|
|
createMany?: Prisma.AdminCallSessionCreateManyPhoneConnectionInputEnvelope
|
|
connect?: Prisma.AdminCallSessionWhereUniqueInput | Prisma.AdminCallSessionWhereUniqueInput[]
|
|
}
|
|
|
|
export type AdminCallSessionUpdateManyWithoutPhoneConnectionNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AdminCallSessionCreateWithoutPhoneConnectionInput, Prisma.AdminCallSessionUncheckedCreateWithoutPhoneConnectionInput> | Prisma.AdminCallSessionCreateWithoutPhoneConnectionInput[] | Prisma.AdminCallSessionUncheckedCreateWithoutPhoneConnectionInput[]
|
|
connectOrCreate?: Prisma.AdminCallSessionCreateOrConnectWithoutPhoneConnectionInput | Prisma.AdminCallSessionCreateOrConnectWithoutPhoneConnectionInput[]
|
|
upsert?: Prisma.AdminCallSessionUpsertWithWhereUniqueWithoutPhoneConnectionInput | Prisma.AdminCallSessionUpsertWithWhereUniqueWithoutPhoneConnectionInput[]
|
|
createMany?: Prisma.AdminCallSessionCreateManyPhoneConnectionInputEnvelope
|
|
set?: Prisma.AdminCallSessionWhereUniqueInput | Prisma.AdminCallSessionWhereUniqueInput[]
|
|
disconnect?: Prisma.AdminCallSessionWhereUniqueInput | Prisma.AdminCallSessionWhereUniqueInput[]
|
|
delete?: Prisma.AdminCallSessionWhereUniqueInput | Prisma.AdminCallSessionWhereUniqueInput[]
|
|
connect?: Prisma.AdminCallSessionWhereUniqueInput | Prisma.AdminCallSessionWhereUniqueInput[]
|
|
update?: Prisma.AdminCallSessionUpdateWithWhereUniqueWithoutPhoneConnectionInput | Prisma.AdminCallSessionUpdateWithWhereUniqueWithoutPhoneConnectionInput[]
|
|
updateMany?: Prisma.AdminCallSessionUpdateManyWithWhereWithoutPhoneConnectionInput | Prisma.AdminCallSessionUpdateManyWithWhereWithoutPhoneConnectionInput[]
|
|
deleteMany?: Prisma.AdminCallSessionScalarWhereInput | Prisma.AdminCallSessionScalarWhereInput[]
|
|
}
|
|
|
|
export type AdminCallSessionUncheckedUpdateManyWithoutPhoneConnectionNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AdminCallSessionCreateWithoutPhoneConnectionInput, Prisma.AdminCallSessionUncheckedCreateWithoutPhoneConnectionInput> | Prisma.AdminCallSessionCreateWithoutPhoneConnectionInput[] | Prisma.AdminCallSessionUncheckedCreateWithoutPhoneConnectionInput[]
|
|
connectOrCreate?: Prisma.AdminCallSessionCreateOrConnectWithoutPhoneConnectionInput | Prisma.AdminCallSessionCreateOrConnectWithoutPhoneConnectionInput[]
|
|
upsert?: Prisma.AdminCallSessionUpsertWithWhereUniqueWithoutPhoneConnectionInput | Prisma.AdminCallSessionUpsertWithWhereUniqueWithoutPhoneConnectionInput[]
|
|
createMany?: Prisma.AdminCallSessionCreateManyPhoneConnectionInputEnvelope
|
|
set?: Prisma.AdminCallSessionWhereUniqueInput | Prisma.AdminCallSessionWhereUniqueInput[]
|
|
disconnect?: Prisma.AdminCallSessionWhereUniqueInput | Prisma.AdminCallSessionWhereUniqueInput[]
|
|
delete?: Prisma.AdminCallSessionWhereUniqueInput | Prisma.AdminCallSessionWhereUniqueInput[]
|
|
connect?: Prisma.AdminCallSessionWhereUniqueInput | Prisma.AdminCallSessionWhereUniqueInput[]
|
|
update?: Prisma.AdminCallSessionUpdateWithWhereUniqueWithoutPhoneConnectionInput | Prisma.AdminCallSessionUpdateWithWhereUniqueWithoutPhoneConnectionInput[]
|
|
updateMany?: Prisma.AdminCallSessionUpdateManyWithWhereWithoutPhoneConnectionInput | Prisma.AdminCallSessionUpdateManyWithWhereWithoutPhoneConnectionInput[]
|
|
deleteMany?: Prisma.AdminCallSessionScalarWhereInput | Prisma.AdminCallSessionScalarWhereInput[]
|
|
}
|
|
|
|
export type AdminCallSessionCreateNestedManyWithoutDispositionInput = {
|
|
create?: Prisma.XOR<Prisma.AdminCallSessionCreateWithoutDispositionInput, Prisma.AdminCallSessionUncheckedCreateWithoutDispositionInput> | Prisma.AdminCallSessionCreateWithoutDispositionInput[] | Prisma.AdminCallSessionUncheckedCreateWithoutDispositionInput[]
|
|
connectOrCreate?: Prisma.AdminCallSessionCreateOrConnectWithoutDispositionInput | Prisma.AdminCallSessionCreateOrConnectWithoutDispositionInput[]
|
|
createMany?: Prisma.AdminCallSessionCreateManyDispositionInputEnvelope
|
|
connect?: Prisma.AdminCallSessionWhereUniqueInput | Prisma.AdminCallSessionWhereUniqueInput[]
|
|
}
|
|
|
|
export type AdminCallSessionUncheckedCreateNestedManyWithoutDispositionInput = {
|
|
create?: Prisma.XOR<Prisma.AdminCallSessionCreateWithoutDispositionInput, Prisma.AdminCallSessionUncheckedCreateWithoutDispositionInput> | Prisma.AdminCallSessionCreateWithoutDispositionInput[] | Prisma.AdminCallSessionUncheckedCreateWithoutDispositionInput[]
|
|
connectOrCreate?: Prisma.AdminCallSessionCreateOrConnectWithoutDispositionInput | Prisma.AdminCallSessionCreateOrConnectWithoutDispositionInput[]
|
|
createMany?: Prisma.AdminCallSessionCreateManyDispositionInputEnvelope
|
|
connect?: Prisma.AdminCallSessionWhereUniqueInput | Prisma.AdminCallSessionWhereUniqueInput[]
|
|
}
|
|
|
|
export type AdminCallSessionUpdateManyWithoutDispositionNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AdminCallSessionCreateWithoutDispositionInput, Prisma.AdminCallSessionUncheckedCreateWithoutDispositionInput> | Prisma.AdminCallSessionCreateWithoutDispositionInput[] | Prisma.AdminCallSessionUncheckedCreateWithoutDispositionInput[]
|
|
connectOrCreate?: Prisma.AdminCallSessionCreateOrConnectWithoutDispositionInput | Prisma.AdminCallSessionCreateOrConnectWithoutDispositionInput[]
|
|
upsert?: Prisma.AdminCallSessionUpsertWithWhereUniqueWithoutDispositionInput | Prisma.AdminCallSessionUpsertWithWhereUniqueWithoutDispositionInput[]
|
|
createMany?: Prisma.AdminCallSessionCreateManyDispositionInputEnvelope
|
|
set?: Prisma.AdminCallSessionWhereUniqueInput | Prisma.AdminCallSessionWhereUniqueInput[]
|
|
disconnect?: Prisma.AdminCallSessionWhereUniqueInput | Prisma.AdminCallSessionWhereUniqueInput[]
|
|
delete?: Prisma.AdminCallSessionWhereUniqueInput | Prisma.AdminCallSessionWhereUniqueInput[]
|
|
connect?: Prisma.AdminCallSessionWhereUniqueInput | Prisma.AdminCallSessionWhereUniqueInput[]
|
|
update?: Prisma.AdminCallSessionUpdateWithWhereUniqueWithoutDispositionInput | Prisma.AdminCallSessionUpdateWithWhereUniqueWithoutDispositionInput[]
|
|
updateMany?: Prisma.AdminCallSessionUpdateManyWithWhereWithoutDispositionInput | Prisma.AdminCallSessionUpdateManyWithWhereWithoutDispositionInput[]
|
|
deleteMany?: Prisma.AdminCallSessionScalarWhereInput | Prisma.AdminCallSessionScalarWhereInput[]
|
|
}
|
|
|
|
export type AdminCallSessionUncheckedUpdateManyWithoutDispositionNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AdminCallSessionCreateWithoutDispositionInput, Prisma.AdminCallSessionUncheckedCreateWithoutDispositionInput> | Prisma.AdminCallSessionCreateWithoutDispositionInput[] | Prisma.AdminCallSessionUncheckedCreateWithoutDispositionInput[]
|
|
connectOrCreate?: Prisma.AdminCallSessionCreateOrConnectWithoutDispositionInput | Prisma.AdminCallSessionCreateOrConnectWithoutDispositionInput[]
|
|
upsert?: Prisma.AdminCallSessionUpsertWithWhereUniqueWithoutDispositionInput | Prisma.AdminCallSessionUpsertWithWhereUniqueWithoutDispositionInput[]
|
|
createMany?: Prisma.AdminCallSessionCreateManyDispositionInputEnvelope
|
|
set?: Prisma.AdminCallSessionWhereUniqueInput | Prisma.AdminCallSessionWhereUniqueInput[]
|
|
disconnect?: Prisma.AdminCallSessionWhereUniqueInput | Prisma.AdminCallSessionWhereUniqueInput[]
|
|
delete?: Prisma.AdminCallSessionWhereUniqueInput | Prisma.AdminCallSessionWhereUniqueInput[]
|
|
connect?: Prisma.AdminCallSessionWhereUniqueInput | Prisma.AdminCallSessionWhereUniqueInput[]
|
|
update?: Prisma.AdminCallSessionUpdateWithWhereUniqueWithoutDispositionInput | Prisma.AdminCallSessionUpdateWithWhereUniqueWithoutDispositionInput[]
|
|
updateMany?: Prisma.AdminCallSessionUpdateManyWithWhereWithoutDispositionInput | Prisma.AdminCallSessionUpdateManyWithWhereWithoutDispositionInput[]
|
|
deleteMany?: Prisma.AdminCallSessionScalarWhereInput | Prisma.AdminCallSessionScalarWhereInput[]
|
|
}
|
|
|
|
export type EnumAdminCallDirectionFieldUpdateOperationsInput = {
|
|
set?: $Enums.AdminCallDirection
|
|
}
|
|
|
|
export type EnumAdminCallStatusFieldUpdateOperationsInput = {
|
|
set?: $Enums.AdminCallStatus
|
|
}
|
|
|
|
export type EnumAdminCallMatchStatusFieldUpdateOperationsInput = {
|
|
set?: $Enums.AdminCallMatchStatus
|
|
}
|
|
|
|
export type AdminCallSessionCreateNestedOneWithoutParticipantsInput = {
|
|
create?: Prisma.XOR<Prisma.AdminCallSessionCreateWithoutParticipantsInput, Prisma.AdminCallSessionUncheckedCreateWithoutParticipantsInput>
|
|
connectOrCreate?: Prisma.AdminCallSessionCreateOrConnectWithoutParticipantsInput
|
|
connect?: Prisma.AdminCallSessionWhereUniqueInput
|
|
}
|
|
|
|
export type AdminCallSessionUpdateOneRequiredWithoutParticipantsNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AdminCallSessionCreateWithoutParticipantsInput, Prisma.AdminCallSessionUncheckedCreateWithoutParticipantsInput>
|
|
connectOrCreate?: Prisma.AdminCallSessionCreateOrConnectWithoutParticipantsInput
|
|
upsert?: Prisma.AdminCallSessionUpsertWithoutParticipantsInput
|
|
connect?: Prisma.AdminCallSessionWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.AdminCallSessionUpdateToOneWithWhereWithoutParticipantsInput, Prisma.AdminCallSessionUpdateWithoutParticipantsInput>, Prisma.AdminCallSessionUncheckedUpdateWithoutParticipantsInput>
|
|
}
|
|
|
|
export type AdminCallSessionCreateNestedOneWithoutEventsInput = {
|
|
create?: Prisma.XOR<Prisma.AdminCallSessionCreateWithoutEventsInput, Prisma.AdminCallSessionUncheckedCreateWithoutEventsInput>
|
|
connectOrCreate?: Prisma.AdminCallSessionCreateOrConnectWithoutEventsInput
|
|
connect?: Prisma.AdminCallSessionWhereUniqueInput
|
|
}
|
|
|
|
export type AdminCallSessionUpdateOneRequiredWithoutEventsNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AdminCallSessionCreateWithoutEventsInput, Prisma.AdminCallSessionUncheckedCreateWithoutEventsInput>
|
|
connectOrCreate?: Prisma.AdminCallSessionCreateOrConnectWithoutEventsInput
|
|
upsert?: Prisma.AdminCallSessionUpsertWithoutEventsInput
|
|
connect?: Prisma.AdminCallSessionWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.AdminCallSessionUpdateToOneWithWhereWithoutEventsInput, Prisma.AdminCallSessionUpdateWithoutEventsInput>, Prisma.AdminCallSessionUncheckedUpdateWithoutEventsInput>
|
|
}
|
|
|
|
export type AdminCallSessionCreateNestedOneWithoutMatchCandidatesInput = {
|
|
create?: Prisma.XOR<Prisma.AdminCallSessionCreateWithoutMatchCandidatesInput, Prisma.AdminCallSessionUncheckedCreateWithoutMatchCandidatesInput>
|
|
connectOrCreate?: Prisma.AdminCallSessionCreateOrConnectWithoutMatchCandidatesInput
|
|
connect?: Prisma.AdminCallSessionWhereUniqueInput
|
|
}
|
|
|
|
export type AdminCallSessionUpdateOneRequiredWithoutMatchCandidatesNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AdminCallSessionCreateWithoutMatchCandidatesInput, Prisma.AdminCallSessionUncheckedCreateWithoutMatchCandidatesInput>
|
|
connectOrCreate?: Prisma.AdminCallSessionCreateOrConnectWithoutMatchCandidatesInput
|
|
upsert?: Prisma.AdminCallSessionUpsertWithoutMatchCandidatesInput
|
|
connect?: Prisma.AdminCallSessionWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.AdminCallSessionUpdateToOneWithWhereWithoutMatchCandidatesInput, Prisma.AdminCallSessionUpdateWithoutMatchCandidatesInput>, Prisma.AdminCallSessionUncheckedUpdateWithoutMatchCandidatesInput>
|
|
}
|
|
|
|
export type AdminCallSessionCreateNestedOneWithoutRecordingInput = {
|
|
create?: Prisma.XOR<Prisma.AdminCallSessionCreateWithoutRecordingInput, Prisma.AdminCallSessionUncheckedCreateWithoutRecordingInput>
|
|
connectOrCreate?: Prisma.AdminCallSessionCreateOrConnectWithoutRecordingInput
|
|
connect?: Prisma.AdminCallSessionWhereUniqueInput
|
|
}
|
|
|
|
export type AdminCallSessionUpdateOneRequiredWithoutRecordingNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AdminCallSessionCreateWithoutRecordingInput, Prisma.AdminCallSessionUncheckedCreateWithoutRecordingInput>
|
|
connectOrCreate?: Prisma.AdminCallSessionCreateOrConnectWithoutRecordingInput
|
|
upsert?: Prisma.AdminCallSessionUpsertWithoutRecordingInput
|
|
connect?: Prisma.AdminCallSessionWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.AdminCallSessionUpdateToOneWithWhereWithoutRecordingInput, Prisma.AdminCallSessionUpdateWithoutRecordingInput>, Prisma.AdminCallSessionUncheckedUpdateWithoutRecordingInput>
|
|
}
|
|
|
|
export type AdminCallSessionCreateNestedOneWithoutDialerEntryInput = {
|
|
create?: Prisma.XOR<Prisma.AdminCallSessionCreateWithoutDialerEntryInput, Prisma.AdminCallSessionUncheckedCreateWithoutDialerEntryInput>
|
|
connectOrCreate?: Prisma.AdminCallSessionCreateOrConnectWithoutDialerEntryInput
|
|
connect?: Prisma.AdminCallSessionWhereUniqueInput
|
|
}
|
|
|
|
export type AdminCallSessionUpdateOneWithoutDialerEntryNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AdminCallSessionCreateWithoutDialerEntryInput, Prisma.AdminCallSessionUncheckedCreateWithoutDialerEntryInput>
|
|
connectOrCreate?: Prisma.AdminCallSessionCreateOrConnectWithoutDialerEntryInput
|
|
upsert?: Prisma.AdminCallSessionUpsertWithoutDialerEntryInput
|
|
disconnect?: Prisma.AdminCallSessionWhereInput | boolean
|
|
delete?: Prisma.AdminCallSessionWhereInput | boolean
|
|
connect?: Prisma.AdminCallSessionWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.AdminCallSessionUpdateToOneWithWhereWithoutDialerEntryInput, Prisma.AdminCallSessionUpdateWithoutDialerEntryInput>, Prisma.AdminCallSessionUncheckedUpdateWithoutDialerEntryInput>
|
|
}
|
|
|
|
export type AdminCallSessionCreateWithoutLeadInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
adminUserId: string
|
|
providerCallId: string
|
|
direction: $Enums.AdminCallDirection
|
|
status: $Enums.AdminCallStatus
|
|
providerUserId?: string | null
|
|
fromNumber: string
|
|
toNumber: string
|
|
externalNumber: string
|
|
startedAt: Date | string
|
|
answeredAt?: Date | string | null
|
|
endedAt?: Date | string | null
|
|
durationSeconds?: number | null
|
|
matchStatus?: $Enums.AdminCallMatchStatus
|
|
matchConfidenceBasisPoints?: number | null
|
|
note?: string | null
|
|
dispositionCodeSnapshot?: string | null
|
|
dispositionLabelSnapshot?: string | null
|
|
recordingOffered?: boolean
|
|
recordingConsentConfirmedAt?: Date | string | null
|
|
phoneConnection: Prisma.AdminPhoneConnectionCreateNestedOneWithoutCallsInput
|
|
contact?: Prisma.AdminContactCreateNestedOneWithoutCallSessionsInput
|
|
deal?: Prisma.AdminDealCreateNestedOneWithoutCallSessionsInput
|
|
disposition?: Prisma.AdminCallDispositionCreateNestedOneWithoutCallsInput
|
|
callbackTask?: Prisma.AdminTaskCreateNestedOneWithoutCallbackCallInput
|
|
participants?: Prisma.AdminCallParticipantCreateNestedManyWithoutCallSessionInput
|
|
events?: Prisma.AdminCallEventCreateNestedManyWithoutCallSessionInput
|
|
matchCandidates?: Prisma.AdminCallMatchCandidateCreateNestedManyWithoutCallSessionInput
|
|
recording?: Prisma.AdminCallRecordingCreateNestedOneWithoutCallSessionInput
|
|
dialerEntry?: Prisma.AdminDialerEntryCreateNestedOneWithoutCallSessionInput
|
|
activities?: Prisma.AdminActivityCreateNestedManyWithoutCallSessionInput
|
|
}
|
|
|
|
export type AdminCallSessionUncheckedCreateWithoutLeadInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
adminUserId: string
|
|
phoneConnectionId: string
|
|
providerCallId: string
|
|
direction: $Enums.AdminCallDirection
|
|
status: $Enums.AdminCallStatus
|
|
providerUserId?: string | null
|
|
fromNumber: string
|
|
toNumber: string
|
|
externalNumber: string
|
|
startedAt: Date | string
|
|
answeredAt?: Date | string | null
|
|
endedAt?: Date | string | null
|
|
durationSeconds?: number | null
|
|
contactId?: string | null
|
|
dealId?: string | null
|
|
matchStatus?: $Enums.AdminCallMatchStatus
|
|
matchConfidenceBasisPoints?: number | null
|
|
note?: string | null
|
|
dispositionId?: string | null
|
|
dispositionCodeSnapshot?: string | null
|
|
dispositionLabelSnapshot?: string | null
|
|
callbackTaskId?: string | null
|
|
recordingOffered?: boolean
|
|
recordingConsentConfirmedAt?: Date | string | null
|
|
participants?: Prisma.AdminCallParticipantUncheckedCreateNestedManyWithoutCallSessionInput
|
|
events?: Prisma.AdminCallEventUncheckedCreateNestedManyWithoutCallSessionInput
|
|
matchCandidates?: Prisma.AdminCallMatchCandidateUncheckedCreateNestedManyWithoutCallSessionInput
|
|
recording?: Prisma.AdminCallRecordingUncheckedCreateNestedOneWithoutCallSessionInput
|
|
dialerEntry?: Prisma.AdminDialerEntryUncheckedCreateNestedOneWithoutCallSessionInput
|
|
activities?: Prisma.AdminActivityUncheckedCreateNestedManyWithoutCallSessionInput
|
|
}
|
|
|
|
export type AdminCallSessionCreateOrConnectWithoutLeadInput = {
|
|
where: Prisma.AdminCallSessionWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.AdminCallSessionCreateWithoutLeadInput, Prisma.AdminCallSessionUncheckedCreateWithoutLeadInput>
|
|
}
|
|
|
|
export type AdminCallSessionCreateManyLeadInputEnvelope = {
|
|
data: Prisma.AdminCallSessionCreateManyLeadInput | Prisma.AdminCallSessionCreateManyLeadInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type AdminCallSessionUpsertWithWhereUniqueWithoutLeadInput = {
|
|
where: Prisma.AdminCallSessionWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.AdminCallSessionUpdateWithoutLeadInput, Prisma.AdminCallSessionUncheckedUpdateWithoutLeadInput>
|
|
create: Prisma.XOR<Prisma.AdminCallSessionCreateWithoutLeadInput, Prisma.AdminCallSessionUncheckedCreateWithoutLeadInput>
|
|
}
|
|
|
|
export type AdminCallSessionUpdateWithWhereUniqueWithoutLeadInput = {
|
|
where: Prisma.AdminCallSessionWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.AdminCallSessionUpdateWithoutLeadInput, Prisma.AdminCallSessionUncheckedUpdateWithoutLeadInput>
|
|
}
|
|
|
|
export type AdminCallSessionUpdateManyWithWhereWithoutLeadInput = {
|
|
where: Prisma.AdminCallSessionScalarWhereInput
|
|
data: Prisma.XOR<Prisma.AdminCallSessionUpdateManyMutationInput, Prisma.AdminCallSessionUncheckedUpdateManyWithoutLeadInput>
|
|
}
|
|
|
|
export type AdminCallSessionScalarWhereInput = {
|
|
AND?: Prisma.AdminCallSessionScalarWhereInput | Prisma.AdminCallSessionScalarWhereInput[]
|
|
OR?: Prisma.AdminCallSessionScalarWhereInput[]
|
|
NOT?: Prisma.AdminCallSessionScalarWhereInput | Prisma.AdminCallSessionScalarWhereInput[]
|
|
id?: Prisma.StringFilter<"AdminCallSession"> | string
|
|
createdAt?: Prisma.DateTimeFilter<"AdminCallSession"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"AdminCallSession"> | Date | string
|
|
adminUserId?: Prisma.StringFilter<"AdminCallSession"> | string
|
|
phoneConnectionId?: Prisma.StringFilter<"AdminCallSession"> | string
|
|
providerCallId?: Prisma.StringFilter<"AdminCallSession"> | string
|
|
direction?: Prisma.EnumAdminCallDirectionFilter<"AdminCallSession"> | $Enums.AdminCallDirection
|
|
status?: Prisma.EnumAdminCallStatusFilter<"AdminCallSession"> | $Enums.AdminCallStatus
|
|
providerUserId?: Prisma.StringNullableFilter<"AdminCallSession"> | string | null
|
|
fromNumber?: Prisma.StringFilter<"AdminCallSession"> | string
|
|
toNumber?: Prisma.StringFilter<"AdminCallSession"> | string
|
|
externalNumber?: Prisma.StringFilter<"AdminCallSession"> | string
|
|
startedAt?: Prisma.DateTimeFilter<"AdminCallSession"> | Date | string
|
|
answeredAt?: Prisma.DateTimeNullableFilter<"AdminCallSession"> | Date | string | null
|
|
endedAt?: Prisma.DateTimeNullableFilter<"AdminCallSession"> | Date | string | null
|
|
durationSeconds?: Prisma.IntNullableFilter<"AdminCallSession"> | number | null
|
|
contactId?: Prisma.StringNullableFilter<"AdminCallSession"> | string | null
|
|
leadId?: Prisma.StringNullableFilter<"AdminCallSession"> | string | null
|
|
dealId?: Prisma.StringNullableFilter<"AdminCallSession"> | string | null
|
|
matchStatus?: Prisma.EnumAdminCallMatchStatusFilter<"AdminCallSession"> | $Enums.AdminCallMatchStatus
|
|
matchConfidenceBasisPoints?: Prisma.IntNullableFilter<"AdminCallSession"> | number | null
|
|
note?: Prisma.StringNullableFilter<"AdminCallSession"> | string | null
|
|
dispositionId?: Prisma.StringNullableFilter<"AdminCallSession"> | string | null
|
|
dispositionCodeSnapshot?: Prisma.StringNullableFilter<"AdminCallSession"> | string | null
|
|
dispositionLabelSnapshot?: Prisma.StringNullableFilter<"AdminCallSession"> | string | null
|
|
callbackTaskId?: Prisma.StringNullableFilter<"AdminCallSession"> | string | null
|
|
recordingOffered?: Prisma.BoolFilter<"AdminCallSession"> | boolean
|
|
recordingConsentConfirmedAt?: Prisma.DateTimeNullableFilter<"AdminCallSession"> | Date | string | null
|
|
}
|
|
|
|
export type AdminCallSessionCreateWithoutContactInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
adminUserId: string
|
|
providerCallId: string
|
|
direction: $Enums.AdminCallDirection
|
|
status: $Enums.AdminCallStatus
|
|
providerUserId?: string | null
|
|
fromNumber: string
|
|
toNumber: string
|
|
externalNumber: string
|
|
startedAt: Date | string
|
|
answeredAt?: Date | string | null
|
|
endedAt?: Date | string | null
|
|
durationSeconds?: number | null
|
|
matchStatus?: $Enums.AdminCallMatchStatus
|
|
matchConfidenceBasisPoints?: number | null
|
|
note?: string | null
|
|
dispositionCodeSnapshot?: string | null
|
|
dispositionLabelSnapshot?: string | null
|
|
recordingOffered?: boolean
|
|
recordingConsentConfirmedAt?: Date | string | null
|
|
phoneConnection: Prisma.AdminPhoneConnectionCreateNestedOneWithoutCallsInput
|
|
lead?: Prisma.AdminLeadCreateNestedOneWithoutCallSessionsInput
|
|
deal?: Prisma.AdminDealCreateNestedOneWithoutCallSessionsInput
|
|
disposition?: Prisma.AdminCallDispositionCreateNestedOneWithoutCallsInput
|
|
callbackTask?: Prisma.AdminTaskCreateNestedOneWithoutCallbackCallInput
|
|
participants?: Prisma.AdminCallParticipantCreateNestedManyWithoutCallSessionInput
|
|
events?: Prisma.AdminCallEventCreateNestedManyWithoutCallSessionInput
|
|
matchCandidates?: Prisma.AdminCallMatchCandidateCreateNestedManyWithoutCallSessionInput
|
|
recording?: Prisma.AdminCallRecordingCreateNestedOneWithoutCallSessionInput
|
|
dialerEntry?: Prisma.AdminDialerEntryCreateNestedOneWithoutCallSessionInput
|
|
activities?: Prisma.AdminActivityCreateNestedManyWithoutCallSessionInput
|
|
}
|
|
|
|
export type AdminCallSessionUncheckedCreateWithoutContactInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
adminUserId: string
|
|
phoneConnectionId: string
|
|
providerCallId: string
|
|
direction: $Enums.AdminCallDirection
|
|
status: $Enums.AdminCallStatus
|
|
providerUserId?: string | null
|
|
fromNumber: string
|
|
toNumber: string
|
|
externalNumber: string
|
|
startedAt: Date | string
|
|
answeredAt?: Date | string | null
|
|
endedAt?: Date | string | null
|
|
durationSeconds?: number | null
|
|
leadId?: string | null
|
|
dealId?: string | null
|
|
matchStatus?: $Enums.AdminCallMatchStatus
|
|
matchConfidenceBasisPoints?: number | null
|
|
note?: string | null
|
|
dispositionId?: string | null
|
|
dispositionCodeSnapshot?: string | null
|
|
dispositionLabelSnapshot?: string | null
|
|
callbackTaskId?: string | null
|
|
recordingOffered?: boolean
|
|
recordingConsentConfirmedAt?: Date | string | null
|
|
participants?: Prisma.AdminCallParticipantUncheckedCreateNestedManyWithoutCallSessionInput
|
|
events?: Prisma.AdminCallEventUncheckedCreateNestedManyWithoutCallSessionInput
|
|
matchCandidates?: Prisma.AdminCallMatchCandidateUncheckedCreateNestedManyWithoutCallSessionInput
|
|
recording?: Prisma.AdminCallRecordingUncheckedCreateNestedOneWithoutCallSessionInput
|
|
dialerEntry?: Prisma.AdminDialerEntryUncheckedCreateNestedOneWithoutCallSessionInput
|
|
activities?: Prisma.AdminActivityUncheckedCreateNestedManyWithoutCallSessionInput
|
|
}
|
|
|
|
export type AdminCallSessionCreateOrConnectWithoutContactInput = {
|
|
where: Prisma.AdminCallSessionWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.AdminCallSessionCreateWithoutContactInput, Prisma.AdminCallSessionUncheckedCreateWithoutContactInput>
|
|
}
|
|
|
|
export type AdminCallSessionCreateManyContactInputEnvelope = {
|
|
data: Prisma.AdminCallSessionCreateManyContactInput | Prisma.AdminCallSessionCreateManyContactInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type AdminCallSessionUpsertWithWhereUniqueWithoutContactInput = {
|
|
where: Prisma.AdminCallSessionWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.AdminCallSessionUpdateWithoutContactInput, Prisma.AdminCallSessionUncheckedUpdateWithoutContactInput>
|
|
create: Prisma.XOR<Prisma.AdminCallSessionCreateWithoutContactInput, Prisma.AdminCallSessionUncheckedCreateWithoutContactInput>
|
|
}
|
|
|
|
export type AdminCallSessionUpdateWithWhereUniqueWithoutContactInput = {
|
|
where: Prisma.AdminCallSessionWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.AdminCallSessionUpdateWithoutContactInput, Prisma.AdminCallSessionUncheckedUpdateWithoutContactInput>
|
|
}
|
|
|
|
export type AdminCallSessionUpdateManyWithWhereWithoutContactInput = {
|
|
where: Prisma.AdminCallSessionScalarWhereInput
|
|
data: Prisma.XOR<Prisma.AdminCallSessionUpdateManyMutationInput, Prisma.AdminCallSessionUncheckedUpdateManyWithoutContactInput>
|
|
}
|
|
|
|
export type AdminCallSessionCreateWithoutDealInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
adminUserId: string
|
|
providerCallId: string
|
|
direction: $Enums.AdminCallDirection
|
|
status: $Enums.AdminCallStatus
|
|
providerUserId?: string | null
|
|
fromNumber: string
|
|
toNumber: string
|
|
externalNumber: string
|
|
startedAt: Date | string
|
|
answeredAt?: Date | string | null
|
|
endedAt?: Date | string | null
|
|
durationSeconds?: number | null
|
|
matchStatus?: $Enums.AdminCallMatchStatus
|
|
matchConfidenceBasisPoints?: number | null
|
|
note?: string | null
|
|
dispositionCodeSnapshot?: string | null
|
|
dispositionLabelSnapshot?: string | null
|
|
recordingOffered?: boolean
|
|
recordingConsentConfirmedAt?: Date | string | null
|
|
phoneConnection: Prisma.AdminPhoneConnectionCreateNestedOneWithoutCallsInput
|
|
contact?: Prisma.AdminContactCreateNestedOneWithoutCallSessionsInput
|
|
lead?: Prisma.AdminLeadCreateNestedOneWithoutCallSessionsInput
|
|
disposition?: Prisma.AdminCallDispositionCreateNestedOneWithoutCallsInput
|
|
callbackTask?: Prisma.AdminTaskCreateNestedOneWithoutCallbackCallInput
|
|
participants?: Prisma.AdminCallParticipantCreateNestedManyWithoutCallSessionInput
|
|
events?: Prisma.AdminCallEventCreateNestedManyWithoutCallSessionInput
|
|
matchCandidates?: Prisma.AdminCallMatchCandidateCreateNestedManyWithoutCallSessionInput
|
|
recording?: Prisma.AdminCallRecordingCreateNestedOneWithoutCallSessionInput
|
|
dialerEntry?: Prisma.AdminDialerEntryCreateNestedOneWithoutCallSessionInput
|
|
activities?: Prisma.AdminActivityCreateNestedManyWithoutCallSessionInput
|
|
}
|
|
|
|
export type AdminCallSessionUncheckedCreateWithoutDealInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
adminUserId: string
|
|
phoneConnectionId: string
|
|
providerCallId: string
|
|
direction: $Enums.AdminCallDirection
|
|
status: $Enums.AdminCallStatus
|
|
providerUserId?: string | null
|
|
fromNumber: string
|
|
toNumber: string
|
|
externalNumber: string
|
|
startedAt: Date | string
|
|
answeredAt?: Date | string | null
|
|
endedAt?: Date | string | null
|
|
durationSeconds?: number | null
|
|
contactId?: string | null
|
|
leadId?: string | null
|
|
matchStatus?: $Enums.AdminCallMatchStatus
|
|
matchConfidenceBasisPoints?: number | null
|
|
note?: string | null
|
|
dispositionId?: string | null
|
|
dispositionCodeSnapshot?: string | null
|
|
dispositionLabelSnapshot?: string | null
|
|
callbackTaskId?: string | null
|
|
recordingOffered?: boolean
|
|
recordingConsentConfirmedAt?: Date | string | null
|
|
participants?: Prisma.AdminCallParticipantUncheckedCreateNestedManyWithoutCallSessionInput
|
|
events?: Prisma.AdminCallEventUncheckedCreateNestedManyWithoutCallSessionInput
|
|
matchCandidates?: Prisma.AdminCallMatchCandidateUncheckedCreateNestedManyWithoutCallSessionInput
|
|
recording?: Prisma.AdminCallRecordingUncheckedCreateNestedOneWithoutCallSessionInput
|
|
dialerEntry?: Prisma.AdminDialerEntryUncheckedCreateNestedOneWithoutCallSessionInput
|
|
activities?: Prisma.AdminActivityUncheckedCreateNestedManyWithoutCallSessionInput
|
|
}
|
|
|
|
export type AdminCallSessionCreateOrConnectWithoutDealInput = {
|
|
where: Prisma.AdminCallSessionWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.AdminCallSessionCreateWithoutDealInput, Prisma.AdminCallSessionUncheckedCreateWithoutDealInput>
|
|
}
|
|
|
|
export type AdminCallSessionCreateManyDealInputEnvelope = {
|
|
data: Prisma.AdminCallSessionCreateManyDealInput | Prisma.AdminCallSessionCreateManyDealInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type AdminCallSessionUpsertWithWhereUniqueWithoutDealInput = {
|
|
where: Prisma.AdminCallSessionWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.AdminCallSessionUpdateWithoutDealInput, Prisma.AdminCallSessionUncheckedUpdateWithoutDealInput>
|
|
create: Prisma.XOR<Prisma.AdminCallSessionCreateWithoutDealInput, Prisma.AdminCallSessionUncheckedCreateWithoutDealInput>
|
|
}
|
|
|
|
export type AdminCallSessionUpdateWithWhereUniqueWithoutDealInput = {
|
|
where: Prisma.AdminCallSessionWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.AdminCallSessionUpdateWithoutDealInput, Prisma.AdminCallSessionUncheckedUpdateWithoutDealInput>
|
|
}
|
|
|
|
export type AdminCallSessionUpdateManyWithWhereWithoutDealInput = {
|
|
where: Prisma.AdminCallSessionScalarWhereInput
|
|
data: Prisma.XOR<Prisma.AdminCallSessionUpdateManyMutationInput, Prisma.AdminCallSessionUncheckedUpdateManyWithoutDealInput>
|
|
}
|
|
|
|
export type AdminCallSessionCreateWithoutCallbackTaskInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
adminUserId: string
|
|
providerCallId: string
|
|
direction: $Enums.AdminCallDirection
|
|
status: $Enums.AdminCallStatus
|
|
providerUserId?: string | null
|
|
fromNumber: string
|
|
toNumber: string
|
|
externalNumber: string
|
|
startedAt: Date | string
|
|
answeredAt?: Date | string | null
|
|
endedAt?: Date | string | null
|
|
durationSeconds?: number | null
|
|
matchStatus?: $Enums.AdminCallMatchStatus
|
|
matchConfidenceBasisPoints?: number | null
|
|
note?: string | null
|
|
dispositionCodeSnapshot?: string | null
|
|
dispositionLabelSnapshot?: string | null
|
|
recordingOffered?: boolean
|
|
recordingConsentConfirmedAt?: Date | string | null
|
|
phoneConnection: Prisma.AdminPhoneConnectionCreateNestedOneWithoutCallsInput
|
|
contact?: Prisma.AdminContactCreateNestedOneWithoutCallSessionsInput
|
|
lead?: Prisma.AdminLeadCreateNestedOneWithoutCallSessionsInput
|
|
deal?: Prisma.AdminDealCreateNestedOneWithoutCallSessionsInput
|
|
disposition?: Prisma.AdminCallDispositionCreateNestedOneWithoutCallsInput
|
|
participants?: Prisma.AdminCallParticipantCreateNestedManyWithoutCallSessionInput
|
|
events?: Prisma.AdminCallEventCreateNestedManyWithoutCallSessionInput
|
|
matchCandidates?: Prisma.AdminCallMatchCandidateCreateNestedManyWithoutCallSessionInput
|
|
recording?: Prisma.AdminCallRecordingCreateNestedOneWithoutCallSessionInput
|
|
dialerEntry?: Prisma.AdminDialerEntryCreateNestedOneWithoutCallSessionInput
|
|
activities?: Prisma.AdminActivityCreateNestedManyWithoutCallSessionInput
|
|
}
|
|
|
|
export type AdminCallSessionUncheckedCreateWithoutCallbackTaskInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
adminUserId: string
|
|
phoneConnectionId: string
|
|
providerCallId: string
|
|
direction: $Enums.AdminCallDirection
|
|
status: $Enums.AdminCallStatus
|
|
providerUserId?: string | null
|
|
fromNumber: string
|
|
toNumber: string
|
|
externalNumber: string
|
|
startedAt: Date | string
|
|
answeredAt?: Date | string | null
|
|
endedAt?: Date | string | null
|
|
durationSeconds?: number | null
|
|
contactId?: string | null
|
|
leadId?: string | null
|
|
dealId?: string | null
|
|
matchStatus?: $Enums.AdminCallMatchStatus
|
|
matchConfidenceBasisPoints?: number | null
|
|
note?: string | null
|
|
dispositionId?: string | null
|
|
dispositionCodeSnapshot?: string | null
|
|
dispositionLabelSnapshot?: string | null
|
|
recordingOffered?: boolean
|
|
recordingConsentConfirmedAt?: Date | string | null
|
|
participants?: Prisma.AdminCallParticipantUncheckedCreateNestedManyWithoutCallSessionInput
|
|
events?: Prisma.AdminCallEventUncheckedCreateNestedManyWithoutCallSessionInput
|
|
matchCandidates?: Prisma.AdminCallMatchCandidateUncheckedCreateNestedManyWithoutCallSessionInput
|
|
recording?: Prisma.AdminCallRecordingUncheckedCreateNestedOneWithoutCallSessionInput
|
|
dialerEntry?: Prisma.AdminDialerEntryUncheckedCreateNestedOneWithoutCallSessionInput
|
|
activities?: Prisma.AdminActivityUncheckedCreateNestedManyWithoutCallSessionInput
|
|
}
|
|
|
|
export type AdminCallSessionCreateOrConnectWithoutCallbackTaskInput = {
|
|
where: Prisma.AdminCallSessionWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.AdminCallSessionCreateWithoutCallbackTaskInput, Prisma.AdminCallSessionUncheckedCreateWithoutCallbackTaskInput>
|
|
}
|
|
|
|
export type AdminCallSessionUpsertWithoutCallbackTaskInput = {
|
|
update: Prisma.XOR<Prisma.AdminCallSessionUpdateWithoutCallbackTaskInput, Prisma.AdminCallSessionUncheckedUpdateWithoutCallbackTaskInput>
|
|
create: Prisma.XOR<Prisma.AdminCallSessionCreateWithoutCallbackTaskInput, Prisma.AdminCallSessionUncheckedCreateWithoutCallbackTaskInput>
|
|
where?: Prisma.AdminCallSessionWhereInput
|
|
}
|
|
|
|
export type AdminCallSessionUpdateToOneWithWhereWithoutCallbackTaskInput = {
|
|
where?: Prisma.AdminCallSessionWhereInput
|
|
data: Prisma.XOR<Prisma.AdminCallSessionUpdateWithoutCallbackTaskInput, Prisma.AdminCallSessionUncheckedUpdateWithoutCallbackTaskInput>
|
|
}
|
|
|
|
export type AdminCallSessionUpdateWithoutCallbackTaskInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
providerCallId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
direction?: Prisma.EnumAdminCallDirectionFieldUpdateOperationsInput | $Enums.AdminCallDirection
|
|
status?: Prisma.EnumAdminCallStatusFieldUpdateOperationsInput | $Enums.AdminCallStatus
|
|
providerUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
fromNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
toNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
externalNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
answeredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
durationSeconds?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
matchStatus?: Prisma.EnumAdminCallMatchStatusFieldUpdateOperationsInput | $Enums.AdminCallMatchStatus
|
|
matchConfidenceBasisPoints?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionCodeSnapshot?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionLabelSnapshot?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
recordingOffered?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
recordingConsentConfirmedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
phoneConnection?: Prisma.AdminPhoneConnectionUpdateOneRequiredWithoutCallsNestedInput
|
|
contact?: Prisma.AdminContactUpdateOneWithoutCallSessionsNestedInput
|
|
lead?: Prisma.AdminLeadUpdateOneWithoutCallSessionsNestedInput
|
|
deal?: Prisma.AdminDealUpdateOneWithoutCallSessionsNestedInput
|
|
disposition?: Prisma.AdminCallDispositionUpdateOneWithoutCallsNestedInput
|
|
participants?: Prisma.AdminCallParticipantUpdateManyWithoutCallSessionNestedInput
|
|
events?: Prisma.AdminCallEventUpdateManyWithoutCallSessionNestedInput
|
|
matchCandidates?: Prisma.AdminCallMatchCandidateUpdateManyWithoutCallSessionNestedInput
|
|
recording?: Prisma.AdminCallRecordingUpdateOneWithoutCallSessionNestedInput
|
|
dialerEntry?: Prisma.AdminDialerEntryUpdateOneWithoutCallSessionNestedInput
|
|
activities?: Prisma.AdminActivityUpdateManyWithoutCallSessionNestedInput
|
|
}
|
|
|
|
export type AdminCallSessionUncheckedUpdateWithoutCallbackTaskInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
phoneConnectionId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
providerCallId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
direction?: Prisma.EnumAdminCallDirectionFieldUpdateOperationsInput | $Enums.AdminCallDirection
|
|
status?: Prisma.EnumAdminCallStatusFieldUpdateOperationsInput | $Enums.AdminCallStatus
|
|
providerUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
fromNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
toNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
externalNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
answeredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
durationSeconds?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
contactId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
leadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dealId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchStatus?: Prisma.EnumAdminCallMatchStatusFieldUpdateOperationsInput | $Enums.AdminCallMatchStatus
|
|
matchConfidenceBasisPoints?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionCodeSnapshot?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionLabelSnapshot?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
recordingOffered?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
recordingConsentConfirmedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
participants?: Prisma.AdminCallParticipantUncheckedUpdateManyWithoutCallSessionNestedInput
|
|
events?: Prisma.AdminCallEventUncheckedUpdateManyWithoutCallSessionNestedInput
|
|
matchCandidates?: Prisma.AdminCallMatchCandidateUncheckedUpdateManyWithoutCallSessionNestedInput
|
|
recording?: Prisma.AdminCallRecordingUncheckedUpdateOneWithoutCallSessionNestedInput
|
|
dialerEntry?: Prisma.AdminDialerEntryUncheckedUpdateOneWithoutCallSessionNestedInput
|
|
activities?: Prisma.AdminActivityUncheckedUpdateManyWithoutCallSessionNestedInput
|
|
}
|
|
|
|
export type AdminCallSessionCreateWithoutActivitiesInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
adminUserId: string
|
|
providerCallId: string
|
|
direction: $Enums.AdminCallDirection
|
|
status: $Enums.AdminCallStatus
|
|
providerUserId?: string | null
|
|
fromNumber: string
|
|
toNumber: string
|
|
externalNumber: string
|
|
startedAt: Date | string
|
|
answeredAt?: Date | string | null
|
|
endedAt?: Date | string | null
|
|
durationSeconds?: number | null
|
|
matchStatus?: $Enums.AdminCallMatchStatus
|
|
matchConfidenceBasisPoints?: number | null
|
|
note?: string | null
|
|
dispositionCodeSnapshot?: string | null
|
|
dispositionLabelSnapshot?: string | null
|
|
recordingOffered?: boolean
|
|
recordingConsentConfirmedAt?: Date | string | null
|
|
phoneConnection: Prisma.AdminPhoneConnectionCreateNestedOneWithoutCallsInput
|
|
contact?: Prisma.AdminContactCreateNestedOneWithoutCallSessionsInput
|
|
lead?: Prisma.AdminLeadCreateNestedOneWithoutCallSessionsInput
|
|
deal?: Prisma.AdminDealCreateNestedOneWithoutCallSessionsInput
|
|
disposition?: Prisma.AdminCallDispositionCreateNestedOneWithoutCallsInput
|
|
callbackTask?: Prisma.AdminTaskCreateNestedOneWithoutCallbackCallInput
|
|
participants?: Prisma.AdminCallParticipantCreateNestedManyWithoutCallSessionInput
|
|
events?: Prisma.AdminCallEventCreateNestedManyWithoutCallSessionInput
|
|
matchCandidates?: Prisma.AdminCallMatchCandidateCreateNestedManyWithoutCallSessionInput
|
|
recording?: Prisma.AdminCallRecordingCreateNestedOneWithoutCallSessionInput
|
|
dialerEntry?: Prisma.AdminDialerEntryCreateNestedOneWithoutCallSessionInput
|
|
}
|
|
|
|
export type AdminCallSessionUncheckedCreateWithoutActivitiesInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
adminUserId: string
|
|
phoneConnectionId: string
|
|
providerCallId: string
|
|
direction: $Enums.AdminCallDirection
|
|
status: $Enums.AdminCallStatus
|
|
providerUserId?: string | null
|
|
fromNumber: string
|
|
toNumber: string
|
|
externalNumber: string
|
|
startedAt: Date | string
|
|
answeredAt?: Date | string | null
|
|
endedAt?: Date | string | null
|
|
durationSeconds?: number | null
|
|
contactId?: string | null
|
|
leadId?: string | null
|
|
dealId?: string | null
|
|
matchStatus?: $Enums.AdminCallMatchStatus
|
|
matchConfidenceBasisPoints?: number | null
|
|
note?: string | null
|
|
dispositionId?: string | null
|
|
dispositionCodeSnapshot?: string | null
|
|
dispositionLabelSnapshot?: string | null
|
|
callbackTaskId?: string | null
|
|
recordingOffered?: boolean
|
|
recordingConsentConfirmedAt?: Date | string | null
|
|
participants?: Prisma.AdminCallParticipantUncheckedCreateNestedManyWithoutCallSessionInput
|
|
events?: Prisma.AdminCallEventUncheckedCreateNestedManyWithoutCallSessionInput
|
|
matchCandidates?: Prisma.AdminCallMatchCandidateUncheckedCreateNestedManyWithoutCallSessionInput
|
|
recording?: Prisma.AdminCallRecordingUncheckedCreateNestedOneWithoutCallSessionInput
|
|
dialerEntry?: Prisma.AdminDialerEntryUncheckedCreateNestedOneWithoutCallSessionInput
|
|
}
|
|
|
|
export type AdminCallSessionCreateOrConnectWithoutActivitiesInput = {
|
|
where: Prisma.AdminCallSessionWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.AdminCallSessionCreateWithoutActivitiesInput, Prisma.AdminCallSessionUncheckedCreateWithoutActivitiesInput>
|
|
}
|
|
|
|
export type AdminCallSessionUpsertWithoutActivitiesInput = {
|
|
update: Prisma.XOR<Prisma.AdminCallSessionUpdateWithoutActivitiesInput, Prisma.AdminCallSessionUncheckedUpdateWithoutActivitiesInput>
|
|
create: Prisma.XOR<Prisma.AdminCallSessionCreateWithoutActivitiesInput, Prisma.AdminCallSessionUncheckedCreateWithoutActivitiesInput>
|
|
where?: Prisma.AdminCallSessionWhereInput
|
|
}
|
|
|
|
export type AdminCallSessionUpdateToOneWithWhereWithoutActivitiesInput = {
|
|
where?: Prisma.AdminCallSessionWhereInput
|
|
data: Prisma.XOR<Prisma.AdminCallSessionUpdateWithoutActivitiesInput, Prisma.AdminCallSessionUncheckedUpdateWithoutActivitiesInput>
|
|
}
|
|
|
|
export type AdminCallSessionUpdateWithoutActivitiesInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
providerCallId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
direction?: Prisma.EnumAdminCallDirectionFieldUpdateOperationsInput | $Enums.AdminCallDirection
|
|
status?: Prisma.EnumAdminCallStatusFieldUpdateOperationsInput | $Enums.AdminCallStatus
|
|
providerUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
fromNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
toNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
externalNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
answeredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
durationSeconds?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
matchStatus?: Prisma.EnumAdminCallMatchStatusFieldUpdateOperationsInput | $Enums.AdminCallMatchStatus
|
|
matchConfidenceBasisPoints?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionCodeSnapshot?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionLabelSnapshot?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
recordingOffered?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
recordingConsentConfirmedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
phoneConnection?: Prisma.AdminPhoneConnectionUpdateOneRequiredWithoutCallsNestedInput
|
|
contact?: Prisma.AdminContactUpdateOneWithoutCallSessionsNestedInput
|
|
lead?: Prisma.AdminLeadUpdateOneWithoutCallSessionsNestedInput
|
|
deal?: Prisma.AdminDealUpdateOneWithoutCallSessionsNestedInput
|
|
disposition?: Prisma.AdminCallDispositionUpdateOneWithoutCallsNestedInput
|
|
callbackTask?: Prisma.AdminTaskUpdateOneWithoutCallbackCallNestedInput
|
|
participants?: Prisma.AdminCallParticipantUpdateManyWithoutCallSessionNestedInput
|
|
events?: Prisma.AdminCallEventUpdateManyWithoutCallSessionNestedInput
|
|
matchCandidates?: Prisma.AdminCallMatchCandidateUpdateManyWithoutCallSessionNestedInput
|
|
recording?: Prisma.AdminCallRecordingUpdateOneWithoutCallSessionNestedInput
|
|
dialerEntry?: Prisma.AdminDialerEntryUpdateOneWithoutCallSessionNestedInput
|
|
}
|
|
|
|
export type AdminCallSessionUncheckedUpdateWithoutActivitiesInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
phoneConnectionId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
providerCallId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
direction?: Prisma.EnumAdminCallDirectionFieldUpdateOperationsInput | $Enums.AdminCallDirection
|
|
status?: Prisma.EnumAdminCallStatusFieldUpdateOperationsInput | $Enums.AdminCallStatus
|
|
providerUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
fromNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
toNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
externalNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
answeredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
durationSeconds?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
contactId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
leadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dealId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchStatus?: Prisma.EnumAdminCallMatchStatusFieldUpdateOperationsInput | $Enums.AdminCallMatchStatus
|
|
matchConfidenceBasisPoints?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionCodeSnapshot?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionLabelSnapshot?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
callbackTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
recordingOffered?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
recordingConsentConfirmedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
participants?: Prisma.AdminCallParticipantUncheckedUpdateManyWithoutCallSessionNestedInput
|
|
events?: Prisma.AdminCallEventUncheckedUpdateManyWithoutCallSessionNestedInput
|
|
matchCandidates?: Prisma.AdminCallMatchCandidateUncheckedUpdateManyWithoutCallSessionNestedInput
|
|
recording?: Prisma.AdminCallRecordingUncheckedUpdateOneWithoutCallSessionNestedInput
|
|
dialerEntry?: Prisma.AdminDialerEntryUncheckedUpdateOneWithoutCallSessionNestedInput
|
|
}
|
|
|
|
export type AdminCallSessionCreateWithoutPhoneConnectionInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
adminUserId: string
|
|
providerCallId: string
|
|
direction: $Enums.AdminCallDirection
|
|
status: $Enums.AdminCallStatus
|
|
providerUserId?: string | null
|
|
fromNumber: string
|
|
toNumber: string
|
|
externalNumber: string
|
|
startedAt: Date | string
|
|
answeredAt?: Date | string | null
|
|
endedAt?: Date | string | null
|
|
durationSeconds?: number | null
|
|
matchStatus?: $Enums.AdminCallMatchStatus
|
|
matchConfidenceBasisPoints?: number | null
|
|
note?: string | null
|
|
dispositionCodeSnapshot?: string | null
|
|
dispositionLabelSnapshot?: string | null
|
|
recordingOffered?: boolean
|
|
recordingConsentConfirmedAt?: Date | string | null
|
|
contact?: Prisma.AdminContactCreateNestedOneWithoutCallSessionsInput
|
|
lead?: Prisma.AdminLeadCreateNestedOneWithoutCallSessionsInput
|
|
deal?: Prisma.AdminDealCreateNestedOneWithoutCallSessionsInput
|
|
disposition?: Prisma.AdminCallDispositionCreateNestedOneWithoutCallsInput
|
|
callbackTask?: Prisma.AdminTaskCreateNestedOneWithoutCallbackCallInput
|
|
participants?: Prisma.AdminCallParticipantCreateNestedManyWithoutCallSessionInput
|
|
events?: Prisma.AdminCallEventCreateNestedManyWithoutCallSessionInput
|
|
matchCandidates?: Prisma.AdminCallMatchCandidateCreateNestedManyWithoutCallSessionInput
|
|
recording?: Prisma.AdminCallRecordingCreateNestedOneWithoutCallSessionInput
|
|
dialerEntry?: Prisma.AdminDialerEntryCreateNestedOneWithoutCallSessionInput
|
|
activities?: Prisma.AdminActivityCreateNestedManyWithoutCallSessionInput
|
|
}
|
|
|
|
export type AdminCallSessionUncheckedCreateWithoutPhoneConnectionInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
adminUserId: string
|
|
providerCallId: string
|
|
direction: $Enums.AdminCallDirection
|
|
status: $Enums.AdminCallStatus
|
|
providerUserId?: string | null
|
|
fromNumber: string
|
|
toNumber: string
|
|
externalNumber: string
|
|
startedAt: Date | string
|
|
answeredAt?: Date | string | null
|
|
endedAt?: Date | string | null
|
|
durationSeconds?: number | null
|
|
contactId?: string | null
|
|
leadId?: string | null
|
|
dealId?: string | null
|
|
matchStatus?: $Enums.AdminCallMatchStatus
|
|
matchConfidenceBasisPoints?: number | null
|
|
note?: string | null
|
|
dispositionId?: string | null
|
|
dispositionCodeSnapshot?: string | null
|
|
dispositionLabelSnapshot?: string | null
|
|
callbackTaskId?: string | null
|
|
recordingOffered?: boolean
|
|
recordingConsentConfirmedAt?: Date | string | null
|
|
participants?: Prisma.AdminCallParticipantUncheckedCreateNestedManyWithoutCallSessionInput
|
|
events?: Prisma.AdminCallEventUncheckedCreateNestedManyWithoutCallSessionInput
|
|
matchCandidates?: Prisma.AdminCallMatchCandidateUncheckedCreateNestedManyWithoutCallSessionInput
|
|
recording?: Prisma.AdminCallRecordingUncheckedCreateNestedOneWithoutCallSessionInput
|
|
dialerEntry?: Prisma.AdminDialerEntryUncheckedCreateNestedOneWithoutCallSessionInput
|
|
activities?: Prisma.AdminActivityUncheckedCreateNestedManyWithoutCallSessionInput
|
|
}
|
|
|
|
export type AdminCallSessionCreateOrConnectWithoutPhoneConnectionInput = {
|
|
where: Prisma.AdminCallSessionWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.AdminCallSessionCreateWithoutPhoneConnectionInput, Prisma.AdminCallSessionUncheckedCreateWithoutPhoneConnectionInput>
|
|
}
|
|
|
|
export type AdminCallSessionCreateManyPhoneConnectionInputEnvelope = {
|
|
data: Prisma.AdminCallSessionCreateManyPhoneConnectionInput | Prisma.AdminCallSessionCreateManyPhoneConnectionInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type AdminCallSessionUpsertWithWhereUniqueWithoutPhoneConnectionInput = {
|
|
where: Prisma.AdminCallSessionWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.AdminCallSessionUpdateWithoutPhoneConnectionInput, Prisma.AdminCallSessionUncheckedUpdateWithoutPhoneConnectionInput>
|
|
create: Prisma.XOR<Prisma.AdminCallSessionCreateWithoutPhoneConnectionInput, Prisma.AdminCallSessionUncheckedCreateWithoutPhoneConnectionInput>
|
|
}
|
|
|
|
export type AdminCallSessionUpdateWithWhereUniqueWithoutPhoneConnectionInput = {
|
|
where: Prisma.AdminCallSessionWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.AdminCallSessionUpdateWithoutPhoneConnectionInput, Prisma.AdminCallSessionUncheckedUpdateWithoutPhoneConnectionInput>
|
|
}
|
|
|
|
export type AdminCallSessionUpdateManyWithWhereWithoutPhoneConnectionInput = {
|
|
where: Prisma.AdminCallSessionScalarWhereInput
|
|
data: Prisma.XOR<Prisma.AdminCallSessionUpdateManyMutationInput, Prisma.AdminCallSessionUncheckedUpdateManyWithoutPhoneConnectionInput>
|
|
}
|
|
|
|
export type AdminCallSessionCreateWithoutDispositionInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
adminUserId: string
|
|
providerCallId: string
|
|
direction: $Enums.AdminCallDirection
|
|
status: $Enums.AdminCallStatus
|
|
providerUserId?: string | null
|
|
fromNumber: string
|
|
toNumber: string
|
|
externalNumber: string
|
|
startedAt: Date | string
|
|
answeredAt?: Date | string | null
|
|
endedAt?: Date | string | null
|
|
durationSeconds?: number | null
|
|
matchStatus?: $Enums.AdminCallMatchStatus
|
|
matchConfidenceBasisPoints?: number | null
|
|
note?: string | null
|
|
dispositionCodeSnapshot?: string | null
|
|
dispositionLabelSnapshot?: string | null
|
|
recordingOffered?: boolean
|
|
recordingConsentConfirmedAt?: Date | string | null
|
|
phoneConnection: Prisma.AdminPhoneConnectionCreateNestedOneWithoutCallsInput
|
|
contact?: Prisma.AdminContactCreateNestedOneWithoutCallSessionsInput
|
|
lead?: Prisma.AdminLeadCreateNestedOneWithoutCallSessionsInput
|
|
deal?: Prisma.AdminDealCreateNestedOneWithoutCallSessionsInput
|
|
callbackTask?: Prisma.AdminTaskCreateNestedOneWithoutCallbackCallInput
|
|
participants?: Prisma.AdminCallParticipantCreateNestedManyWithoutCallSessionInput
|
|
events?: Prisma.AdminCallEventCreateNestedManyWithoutCallSessionInput
|
|
matchCandidates?: Prisma.AdminCallMatchCandidateCreateNestedManyWithoutCallSessionInput
|
|
recording?: Prisma.AdminCallRecordingCreateNestedOneWithoutCallSessionInput
|
|
dialerEntry?: Prisma.AdminDialerEntryCreateNestedOneWithoutCallSessionInput
|
|
activities?: Prisma.AdminActivityCreateNestedManyWithoutCallSessionInput
|
|
}
|
|
|
|
export type AdminCallSessionUncheckedCreateWithoutDispositionInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
adminUserId: string
|
|
phoneConnectionId: string
|
|
providerCallId: string
|
|
direction: $Enums.AdminCallDirection
|
|
status: $Enums.AdminCallStatus
|
|
providerUserId?: string | null
|
|
fromNumber: string
|
|
toNumber: string
|
|
externalNumber: string
|
|
startedAt: Date | string
|
|
answeredAt?: Date | string | null
|
|
endedAt?: Date | string | null
|
|
durationSeconds?: number | null
|
|
contactId?: string | null
|
|
leadId?: string | null
|
|
dealId?: string | null
|
|
matchStatus?: $Enums.AdminCallMatchStatus
|
|
matchConfidenceBasisPoints?: number | null
|
|
note?: string | null
|
|
dispositionCodeSnapshot?: string | null
|
|
dispositionLabelSnapshot?: string | null
|
|
callbackTaskId?: string | null
|
|
recordingOffered?: boolean
|
|
recordingConsentConfirmedAt?: Date | string | null
|
|
participants?: Prisma.AdminCallParticipantUncheckedCreateNestedManyWithoutCallSessionInput
|
|
events?: Prisma.AdminCallEventUncheckedCreateNestedManyWithoutCallSessionInput
|
|
matchCandidates?: Prisma.AdminCallMatchCandidateUncheckedCreateNestedManyWithoutCallSessionInput
|
|
recording?: Prisma.AdminCallRecordingUncheckedCreateNestedOneWithoutCallSessionInput
|
|
dialerEntry?: Prisma.AdminDialerEntryUncheckedCreateNestedOneWithoutCallSessionInput
|
|
activities?: Prisma.AdminActivityUncheckedCreateNestedManyWithoutCallSessionInput
|
|
}
|
|
|
|
export type AdminCallSessionCreateOrConnectWithoutDispositionInput = {
|
|
where: Prisma.AdminCallSessionWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.AdminCallSessionCreateWithoutDispositionInput, Prisma.AdminCallSessionUncheckedCreateWithoutDispositionInput>
|
|
}
|
|
|
|
export type AdminCallSessionCreateManyDispositionInputEnvelope = {
|
|
data: Prisma.AdminCallSessionCreateManyDispositionInput | Prisma.AdminCallSessionCreateManyDispositionInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type AdminCallSessionUpsertWithWhereUniqueWithoutDispositionInput = {
|
|
where: Prisma.AdminCallSessionWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.AdminCallSessionUpdateWithoutDispositionInput, Prisma.AdminCallSessionUncheckedUpdateWithoutDispositionInput>
|
|
create: Prisma.XOR<Prisma.AdminCallSessionCreateWithoutDispositionInput, Prisma.AdminCallSessionUncheckedCreateWithoutDispositionInput>
|
|
}
|
|
|
|
export type AdminCallSessionUpdateWithWhereUniqueWithoutDispositionInput = {
|
|
where: Prisma.AdminCallSessionWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.AdminCallSessionUpdateWithoutDispositionInput, Prisma.AdminCallSessionUncheckedUpdateWithoutDispositionInput>
|
|
}
|
|
|
|
export type AdminCallSessionUpdateManyWithWhereWithoutDispositionInput = {
|
|
where: Prisma.AdminCallSessionScalarWhereInput
|
|
data: Prisma.XOR<Prisma.AdminCallSessionUpdateManyMutationInput, Prisma.AdminCallSessionUncheckedUpdateManyWithoutDispositionInput>
|
|
}
|
|
|
|
export type AdminCallSessionCreateWithoutParticipantsInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
adminUserId: string
|
|
providerCallId: string
|
|
direction: $Enums.AdminCallDirection
|
|
status: $Enums.AdminCallStatus
|
|
providerUserId?: string | null
|
|
fromNumber: string
|
|
toNumber: string
|
|
externalNumber: string
|
|
startedAt: Date | string
|
|
answeredAt?: Date | string | null
|
|
endedAt?: Date | string | null
|
|
durationSeconds?: number | null
|
|
matchStatus?: $Enums.AdminCallMatchStatus
|
|
matchConfidenceBasisPoints?: number | null
|
|
note?: string | null
|
|
dispositionCodeSnapshot?: string | null
|
|
dispositionLabelSnapshot?: string | null
|
|
recordingOffered?: boolean
|
|
recordingConsentConfirmedAt?: Date | string | null
|
|
phoneConnection: Prisma.AdminPhoneConnectionCreateNestedOneWithoutCallsInput
|
|
contact?: Prisma.AdminContactCreateNestedOneWithoutCallSessionsInput
|
|
lead?: Prisma.AdminLeadCreateNestedOneWithoutCallSessionsInput
|
|
deal?: Prisma.AdminDealCreateNestedOneWithoutCallSessionsInput
|
|
disposition?: Prisma.AdminCallDispositionCreateNestedOneWithoutCallsInput
|
|
callbackTask?: Prisma.AdminTaskCreateNestedOneWithoutCallbackCallInput
|
|
events?: Prisma.AdminCallEventCreateNestedManyWithoutCallSessionInput
|
|
matchCandidates?: Prisma.AdminCallMatchCandidateCreateNestedManyWithoutCallSessionInput
|
|
recording?: Prisma.AdminCallRecordingCreateNestedOneWithoutCallSessionInput
|
|
dialerEntry?: Prisma.AdminDialerEntryCreateNestedOneWithoutCallSessionInput
|
|
activities?: Prisma.AdminActivityCreateNestedManyWithoutCallSessionInput
|
|
}
|
|
|
|
export type AdminCallSessionUncheckedCreateWithoutParticipantsInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
adminUserId: string
|
|
phoneConnectionId: string
|
|
providerCallId: string
|
|
direction: $Enums.AdminCallDirection
|
|
status: $Enums.AdminCallStatus
|
|
providerUserId?: string | null
|
|
fromNumber: string
|
|
toNumber: string
|
|
externalNumber: string
|
|
startedAt: Date | string
|
|
answeredAt?: Date | string | null
|
|
endedAt?: Date | string | null
|
|
durationSeconds?: number | null
|
|
contactId?: string | null
|
|
leadId?: string | null
|
|
dealId?: string | null
|
|
matchStatus?: $Enums.AdminCallMatchStatus
|
|
matchConfidenceBasisPoints?: number | null
|
|
note?: string | null
|
|
dispositionId?: string | null
|
|
dispositionCodeSnapshot?: string | null
|
|
dispositionLabelSnapshot?: string | null
|
|
callbackTaskId?: string | null
|
|
recordingOffered?: boolean
|
|
recordingConsentConfirmedAt?: Date | string | null
|
|
events?: Prisma.AdminCallEventUncheckedCreateNestedManyWithoutCallSessionInput
|
|
matchCandidates?: Prisma.AdminCallMatchCandidateUncheckedCreateNestedManyWithoutCallSessionInput
|
|
recording?: Prisma.AdminCallRecordingUncheckedCreateNestedOneWithoutCallSessionInput
|
|
dialerEntry?: Prisma.AdminDialerEntryUncheckedCreateNestedOneWithoutCallSessionInput
|
|
activities?: Prisma.AdminActivityUncheckedCreateNestedManyWithoutCallSessionInput
|
|
}
|
|
|
|
export type AdminCallSessionCreateOrConnectWithoutParticipantsInput = {
|
|
where: Prisma.AdminCallSessionWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.AdminCallSessionCreateWithoutParticipantsInput, Prisma.AdminCallSessionUncheckedCreateWithoutParticipantsInput>
|
|
}
|
|
|
|
export type AdminCallSessionUpsertWithoutParticipantsInput = {
|
|
update: Prisma.XOR<Prisma.AdminCallSessionUpdateWithoutParticipantsInput, Prisma.AdminCallSessionUncheckedUpdateWithoutParticipantsInput>
|
|
create: Prisma.XOR<Prisma.AdminCallSessionCreateWithoutParticipantsInput, Prisma.AdminCallSessionUncheckedCreateWithoutParticipantsInput>
|
|
where?: Prisma.AdminCallSessionWhereInput
|
|
}
|
|
|
|
export type AdminCallSessionUpdateToOneWithWhereWithoutParticipantsInput = {
|
|
where?: Prisma.AdminCallSessionWhereInput
|
|
data: Prisma.XOR<Prisma.AdminCallSessionUpdateWithoutParticipantsInput, Prisma.AdminCallSessionUncheckedUpdateWithoutParticipantsInput>
|
|
}
|
|
|
|
export type AdminCallSessionUpdateWithoutParticipantsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
providerCallId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
direction?: Prisma.EnumAdminCallDirectionFieldUpdateOperationsInput | $Enums.AdminCallDirection
|
|
status?: Prisma.EnumAdminCallStatusFieldUpdateOperationsInput | $Enums.AdminCallStatus
|
|
providerUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
fromNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
toNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
externalNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
answeredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
durationSeconds?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
matchStatus?: Prisma.EnumAdminCallMatchStatusFieldUpdateOperationsInput | $Enums.AdminCallMatchStatus
|
|
matchConfidenceBasisPoints?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionCodeSnapshot?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionLabelSnapshot?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
recordingOffered?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
recordingConsentConfirmedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
phoneConnection?: Prisma.AdminPhoneConnectionUpdateOneRequiredWithoutCallsNestedInput
|
|
contact?: Prisma.AdminContactUpdateOneWithoutCallSessionsNestedInput
|
|
lead?: Prisma.AdminLeadUpdateOneWithoutCallSessionsNestedInput
|
|
deal?: Prisma.AdminDealUpdateOneWithoutCallSessionsNestedInput
|
|
disposition?: Prisma.AdminCallDispositionUpdateOneWithoutCallsNestedInput
|
|
callbackTask?: Prisma.AdminTaskUpdateOneWithoutCallbackCallNestedInput
|
|
events?: Prisma.AdminCallEventUpdateManyWithoutCallSessionNestedInput
|
|
matchCandidates?: Prisma.AdminCallMatchCandidateUpdateManyWithoutCallSessionNestedInput
|
|
recording?: Prisma.AdminCallRecordingUpdateOneWithoutCallSessionNestedInput
|
|
dialerEntry?: Prisma.AdminDialerEntryUpdateOneWithoutCallSessionNestedInput
|
|
activities?: Prisma.AdminActivityUpdateManyWithoutCallSessionNestedInput
|
|
}
|
|
|
|
export type AdminCallSessionUncheckedUpdateWithoutParticipantsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
phoneConnectionId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
providerCallId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
direction?: Prisma.EnumAdminCallDirectionFieldUpdateOperationsInput | $Enums.AdminCallDirection
|
|
status?: Prisma.EnumAdminCallStatusFieldUpdateOperationsInput | $Enums.AdminCallStatus
|
|
providerUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
fromNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
toNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
externalNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
answeredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
durationSeconds?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
contactId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
leadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dealId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchStatus?: Prisma.EnumAdminCallMatchStatusFieldUpdateOperationsInput | $Enums.AdminCallMatchStatus
|
|
matchConfidenceBasisPoints?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionCodeSnapshot?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionLabelSnapshot?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
callbackTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
recordingOffered?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
recordingConsentConfirmedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
events?: Prisma.AdminCallEventUncheckedUpdateManyWithoutCallSessionNestedInput
|
|
matchCandidates?: Prisma.AdminCallMatchCandidateUncheckedUpdateManyWithoutCallSessionNestedInput
|
|
recording?: Prisma.AdminCallRecordingUncheckedUpdateOneWithoutCallSessionNestedInput
|
|
dialerEntry?: Prisma.AdminDialerEntryUncheckedUpdateOneWithoutCallSessionNestedInput
|
|
activities?: Prisma.AdminActivityUncheckedUpdateManyWithoutCallSessionNestedInput
|
|
}
|
|
|
|
export type AdminCallSessionCreateWithoutEventsInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
adminUserId: string
|
|
providerCallId: string
|
|
direction: $Enums.AdminCallDirection
|
|
status: $Enums.AdminCallStatus
|
|
providerUserId?: string | null
|
|
fromNumber: string
|
|
toNumber: string
|
|
externalNumber: string
|
|
startedAt: Date | string
|
|
answeredAt?: Date | string | null
|
|
endedAt?: Date | string | null
|
|
durationSeconds?: number | null
|
|
matchStatus?: $Enums.AdminCallMatchStatus
|
|
matchConfidenceBasisPoints?: number | null
|
|
note?: string | null
|
|
dispositionCodeSnapshot?: string | null
|
|
dispositionLabelSnapshot?: string | null
|
|
recordingOffered?: boolean
|
|
recordingConsentConfirmedAt?: Date | string | null
|
|
phoneConnection: Prisma.AdminPhoneConnectionCreateNestedOneWithoutCallsInput
|
|
contact?: Prisma.AdminContactCreateNestedOneWithoutCallSessionsInput
|
|
lead?: Prisma.AdminLeadCreateNestedOneWithoutCallSessionsInput
|
|
deal?: Prisma.AdminDealCreateNestedOneWithoutCallSessionsInput
|
|
disposition?: Prisma.AdminCallDispositionCreateNestedOneWithoutCallsInput
|
|
callbackTask?: Prisma.AdminTaskCreateNestedOneWithoutCallbackCallInput
|
|
participants?: Prisma.AdminCallParticipantCreateNestedManyWithoutCallSessionInput
|
|
matchCandidates?: Prisma.AdminCallMatchCandidateCreateNestedManyWithoutCallSessionInput
|
|
recording?: Prisma.AdminCallRecordingCreateNestedOneWithoutCallSessionInput
|
|
dialerEntry?: Prisma.AdminDialerEntryCreateNestedOneWithoutCallSessionInput
|
|
activities?: Prisma.AdminActivityCreateNestedManyWithoutCallSessionInput
|
|
}
|
|
|
|
export type AdminCallSessionUncheckedCreateWithoutEventsInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
adminUserId: string
|
|
phoneConnectionId: string
|
|
providerCallId: string
|
|
direction: $Enums.AdminCallDirection
|
|
status: $Enums.AdminCallStatus
|
|
providerUserId?: string | null
|
|
fromNumber: string
|
|
toNumber: string
|
|
externalNumber: string
|
|
startedAt: Date | string
|
|
answeredAt?: Date | string | null
|
|
endedAt?: Date | string | null
|
|
durationSeconds?: number | null
|
|
contactId?: string | null
|
|
leadId?: string | null
|
|
dealId?: string | null
|
|
matchStatus?: $Enums.AdminCallMatchStatus
|
|
matchConfidenceBasisPoints?: number | null
|
|
note?: string | null
|
|
dispositionId?: string | null
|
|
dispositionCodeSnapshot?: string | null
|
|
dispositionLabelSnapshot?: string | null
|
|
callbackTaskId?: string | null
|
|
recordingOffered?: boolean
|
|
recordingConsentConfirmedAt?: Date | string | null
|
|
participants?: Prisma.AdminCallParticipantUncheckedCreateNestedManyWithoutCallSessionInput
|
|
matchCandidates?: Prisma.AdminCallMatchCandidateUncheckedCreateNestedManyWithoutCallSessionInput
|
|
recording?: Prisma.AdminCallRecordingUncheckedCreateNestedOneWithoutCallSessionInput
|
|
dialerEntry?: Prisma.AdminDialerEntryUncheckedCreateNestedOneWithoutCallSessionInput
|
|
activities?: Prisma.AdminActivityUncheckedCreateNestedManyWithoutCallSessionInput
|
|
}
|
|
|
|
export type AdminCallSessionCreateOrConnectWithoutEventsInput = {
|
|
where: Prisma.AdminCallSessionWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.AdminCallSessionCreateWithoutEventsInput, Prisma.AdminCallSessionUncheckedCreateWithoutEventsInput>
|
|
}
|
|
|
|
export type AdminCallSessionUpsertWithoutEventsInput = {
|
|
update: Prisma.XOR<Prisma.AdminCallSessionUpdateWithoutEventsInput, Prisma.AdminCallSessionUncheckedUpdateWithoutEventsInput>
|
|
create: Prisma.XOR<Prisma.AdminCallSessionCreateWithoutEventsInput, Prisma.AdminCallSessionUncheckedCreateWithoutEventsInput>
|
|
where?: Prisma.AdminCallSessionWhereInput
|
|
}
|
|
|
|
export type AdminCallSessionUpdateToOneWithWhereWithoutEventsInput = {
|
|
where?: Prisma.AdminCallSessionWhereInput
|
|
data: Prisma.XOR<Prisma.AdminCallSessionUpdateWithoutEventsInput, Prisma.AdminCallSessionUncheckedUpdateWithoutEventsInput>
|
|
}
|
|
|
|
export type AdminCallSessionUpdateWithoutEventsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
providerCallId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
direction?: Prisma.EnumAdminCallDirectionFieldUpdateOperationsInput | $Enums.AdminCallDirection
|
|
status?: Prisma.EnumAdminCallStatusFieldUpdateOperationsInput | $Enums.AdminCallStatus
|
|
providerUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
fromNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
toNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
externalNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
answeredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
durationSeconds?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
matchStatus?: Prisma.EnumAdminCallMatchStatusFieldUpdateOperationsInput | $Enums.AdminCallMatchStatus
|
|
matchConfidenceBasisPoints?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionCodeSnapshot?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionLabelSnapshot?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
recordingOffered?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
recordingConsentConfirmedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
phoneConnection?: Prisma.AdminPhoneConnectionUpdateOneRequiredWithoutCallsNestedInput
|
|
contact?: Prisma.AdminContactUpdateOneWithoutCallSessionsNestedInput
|
|
lead?: Prisma.AdminLeadUpdateOneWithoutCallSessionsNestedInput
|
|
deal?: Prisma.AdminDealUpdateOneWithoutCallSessionsNestedInput
|
|
disposition?: Prisma.AdminCallDispositionUpdateOneWithoutCallsNestedInput
|
|
callbackTask?: Prisma.AdminTaskUpdateOneWithoutCallbackCallNestedInput
|
|
participants?: Prisma.AdminCallParticipantUpdateManyWithoutCallSessionNestedInput
|
|
matchCandidates?: Prisma.AdminCallMatchCandidateUpdateManyWithoutCallSessionNestedInput
|
|
recording?: Prisma.AdminCallRecordingUpdateOneWithoutCallSessionNestedInput
|
|
dialerEntry?: Prisma.AdminDialerEntryUpdateOneWithoutCallSessionNestedInput
|
|
activities?: Prisma.AdminActivityUpdateManyWithoutCallSessionNestedInput
|
|
}
|
|
|
|
export type AdminCallSessionUncheckedUpdateWithoutEventsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
phoneConnectionId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
providerCallId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
direction?: Prisma.EnumAdminCallDirectionFieldUpdateOperationsInput | $Enums.AdminCallDirection
|
|
status?: Prisma.EnumAdminCallStatusFieldUpdateOperationsInput | $Enums.AdminCallStatus
|
|
providerUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
fromNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
toNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
externalNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
answeredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
durationSeconds?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
contactId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
leadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dealId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchStatus?: Prisma.EnumAdminCallMatchStatusFieldUpdateOperationsInput | $Enums.AdminCallMatchStatus
|
|
matchConfidenceBasisPoints?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionCodeSnapshot?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionLabelSnapshot?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
callbackTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
recordingOffered?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
recordingConsentConfirmedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
participants?: Prisma.AdminCallParticipantUncheckedUpdateManyWithoutCallSessionNestedInput
|
|
matchCandidates?: Prisma.AdminCallMatchCandidateUncheckedUpdateManyWithoutCallSessionNestedInput
|
|
recording?: Prisma.AdminCallRecordingUncheckedUpdateOneWithoutCallSessionNestedInput
|
|
dialerEntry?: Prisma.AdminDialerEntryUncheckedUpdateOneWithoutCallSessionNestedInput
|
|
activities?: Prisma.AdminActivityUncheckedUpdateManyWithoutCallSessionNestedInput
|
|
}
|
|
|
|
export type AdminCallSessionCreateWithoutMatchCandidatesInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
adminUserId: string
|
|
providerCallId: string
|
|
direction: $Enums.AdminCallDirection
|
|
status: $Enums.AdminCallStatus
|
|
providerUserId?: string | null
|
|
fromNumber: string
|
|
toNumber: string
|
|
externalNumber: string
|
|
startedAt: Date | string
|
|
answeredAt?: Date | string | null
|
|
endedAt?: Date | string | null
|
|
durationSeconds?: number | null
|
|
matchStatus?: $Enums.AdminCallMatchStatus
|
|
matchConfidenceBasisPoints?: number | null
|
|
note?: string | null
|
|
dispositionCodeSnapshot?: string | null
|
|
dispositionLabelSnapshot?: string | null
|
|
recordingOffered?: boolean
|
|
recordingConsentConfirmedAt?: Date | string | null
|
|
phoneConnection: Prisma.AdminPhoneConnectionCreateNestedOneWithoutCallsInput
|
|
contact?: Prisma.AdminContactCreateNestedOneWithoutCallSessionsInput
|
|
lead?: Prisma.AdminLeadCreateNestedOneWithoutCallSessionsInput
|
|
deal?: Prisma.AdminDealCreateNestedOneWithoutCallSessionsInput
|
|
disposition?: Prisma.AdminCallDispositionCreateNestedOneWithoutCallsInput
|
|
callbackTask?: Prisma.AdminTaskCreateNestedOneWithoutCallbackCallInput
|
|
participants?: Prisma.AdminCallParticipantCreateNestedManyWithoutCallSessionInput
|
|
events?: Prisma.AdminCallEventCreateNestedManyWithoutCallSessionInput
|
|
recording?: Prisma.AdminCallRecordingCreateNestedOneWithoutCallSessionInput
|
|
dialerEntry?: Prisma.AdminDialerEntryCreateNestedOneWithoutCallSessionInput
|
|
activities?: Prisma.AdminActivityCreateNestedManyWithoutCallSessionInput
|
|
}
|
|
|
|
export type AdminCallSessionUncheckedCreateWithoutMatchCandidatesInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
adminUserId: string
|
|
phoneConnectionId: string
|
|
providerCallId: string
|
|
direction: $Enums.AdminCallDirection
|
|
status: $Enums.AdminCallStatus
|
|
providerUserId?: string | null
|
|
fromNumber: string
|
|
toNumber: string
|
|
externalNumber: string
|
|
startedAt: Date | string
|
|
answeredAt?: Date | string | null
|
|
endedAt?: Date | string | null
|
|
durationSeconds?: number | null
|
|
contactId?: string | null
|
|
leadId?: string | null
|
|
dealId?: string | null
|
|
matchStatus?: $Enums.AdminCallMatchStatus
|
|
matchConfidenceBasisPoints?: number | null
|
|
note?: string | null
|
|
dispositionId?: string | null
|
|
dispositionCodeSnapshot?: string | null
|
|
dispositionLabelSnapshot?: string | null
|
|
callbackTaskId?: string | null
|
|
recordingOffered?: boolean
|
|
recordingConsentConfirmedAt?: Date | string | null
|
|
participants?: Prisma.AdminCallParticipantUncheckedCreateNestedManyWithoutCallSessionInput
|
|
events?: Prisma.AdminCallEventUncheckedCreateNestedManyWithoutCallSessionInput
|
|
recording?: Prisma.AdminCallRecordingUncheckedCreateNestedOneWithoutCallSessionInput
|
|
dialerEntry?: Prisma.AdminDialerEntryUncheckedCreateNestedOneWithoutCallSessionInput
|
|
activities?: Prisma.AdminActivityUncheckedCreateNestedManyWithoutCallSessionInput
|
|
}
|
|
|
|
export type AdminCallSessionCreateOrConnectWithoutMatchCandidatesInput = {
|
|
where: Prisma.AdminCallSessionWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.AdminCallSessionCreateWithoutMatchCandidatesInput, Prisma.AdminCallSessionUncheckedCreateWithoutMatchCandidatesInput>
|
|
}
|
|
|
|
export type AdminCallSessionUpsertWithoutMatchCandidatesInput = {
|
|
update: Prisma.XOR<Prisma.AdminCallSessionUpdateWithoutMatchCandidatesInput, Prisma.AdminCallSessionUncheckedUpdateWithoutMatchCandidatesInput>
|
|
create: Prisma.XOR<Prisma.AdminCallSessionCreateWithoutMatchCandidatesInput, Prisma.AdminCallSessionUncheckedCreateWithoutMatchCandidatesInput>
|
|
where?: Prisma.AdminCallSessionWhereInput
|
|
}
|
|
|
|
export type AdminCallSessionUpdateToOneWithWhereWithoutMatchCandidatesInput = {
|
|
where?: Prisma.AdminCallSessionWhereInput
|
|
data: Prisma.XOR<Prisma.AdminCallSessionUpdateWithoutMatchCandidatesInput, Prisma.AdminCallSessionUncheckedUpdateWithoutMatchCandidatesInput>
|
|
}
|
|
|
|
export type AdminCallSessionUpdateWithoutMatchCandidatesInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
providerCallId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
direction?: Prisma.EnumAdminCallDirectionFieldUpdateOperationsInput | $Enums.AdminCallDirection
|
|
status?: Prisma.EnumAdminCallStatusFieldUpdateOperationsInput | $Enums.AdminCallStatus
|
|
providerUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
fromNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
toNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
externalNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
answeredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
durationSeconds?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
matchStatus?: Prisma.EnumAdminCallMatchStatusFieldUpdateOperationsInput | $Enums.AdminCallMatchStatus
|
|
matchConfidenceBasisPoints?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionCodeSnapshot?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionLabelSnapshot?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
recordingOffered?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
recordingConsentConfirmedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
phoneConnection?: Prisma.AdminPhoneConnectionUpdateOneRequiredWithoutCallsNestedInput
|
|
contact?: Prisma.AdminContactUpdateOneWithoutCallSessionsNestedInput
|
|
lead?: Prisma.AdminLeadUpdateOneWithoutCallSessionsNestedInput
|
|
deal?: Prisma.AdminDealUpdateOneWithoutCallSessionsNestedInput
|
|
disposition?: Prisma.AdminCallDispositionUpdateOneWithoutCallsNestedInput
|
|
callbackTask?: Prisma.AdminTaskUpdateOneWithoutCallbackCallNestedInput
|
|
participants?: Prisma.AdminCallParticipantUpdateManyWithoutCallSessionNestedInput
|
|
events?: Prisma.AdminCallEventUpdateManyWithoutCallSessionNestedInput
|
|
recording?: Prisma.AdminCallRecordingUpdateOneWithoutCallSessionNestedInput
|
|
dialerEntry?: Prisma.AdminDialerEntryUpdateOneWithoutCallSessionNestedInput
|
|
activities?: Prisma.AdminActivityUpdateManyWithoutCallSessionNestedInput
|
|
}
|
|
|
|
export type AdminCallSessionUncheckedUpdateWithoutMatchCandidatesInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
phoneConnectionId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
providerCallId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
direction?: Prisma.EnumAdminCallDirectionFieldUpdateOperationsInput | $Enums.AdminCallDirection
|
|
status?: Prisma.EnumAdminCallStatusFieldUpdateOperationsInput | $Enums.AdminCallStatus
|
|
providerUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
fromNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
toNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
externalNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
answeredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
durationSeconds?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
contactId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
leadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dealId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchStatus?: Prisma.EnumAdminCallMatchStatusFieldUpdateOperationsInput | $Enums.AdminCallMatchStatus
|
|
matchConfidenceBasisPoints?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionCodeSnapshot?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionLabelSnapshot?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
callbackTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
recordingOffered?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
recordingConsentConfirmedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
participants?: Prisma.AdminCallParticipantUncheckedUpdateManyWithoutCallSessionNestedInput
|
|
events?: Prisma.AdminCallEventUncheckedUpdateManyWithoutCallSessionNestedInput
|
|
recording?: Prisma.AdminCallRecordingUncheckedUpdateOneWithoutCallSessionNestedInput
|
|
dialerEntry?: Prisma.AdminDialerEntryUncheckedUpdateOneWithoutCallSessionNestedInput
|
|
activities?: Prisma.AdminActivityUncheckedUpdateManyWithoutCallSessionNestedInput
|
|
}
|
|
|
|
export type AdminCallSessionCreateWithoutRecordingInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
adminUserId: string
|
|
providerCallId: string
|
|
direction: $Enums.AdminCallDirection
|
|
status: $Enums.AdminCallStatus
|
|
providerUserId?: string | null
|
|
fromNumber: string
|
|
toNumber: string
|
|
externalNumber: string
|
|
startedAt: Date | string
|
|
answeredAt?: Date | string | null
|
|
endedAt?: Date | string | null
|
|
durationSeconds?: number | null
|
|
matchStatus?: $Enums.AdminCallMatchStatus
|
|
matchConfidenceBasisPoints?: number | null
|
|
note?: string | null
|
|
dispositionCodeSnapshot?: string | null
|
|
dispositionLabelSnapshot?: string | null
|
|
recordingOffered?: boolean
|
|
recordingConsentConfirmedAt?: Date | string | null
|
|
phoneConnection: Prisma.AdminPhoneConnectionCreateNestedOneWithoutCallsInput
|
|
contact?: Prisma.AdminContactCreateNestedOneWithoutCallSessionsInput
|
|
lead?: Prisma.AdminLeadCreateNestedOneWithoutCallSessionsInput
|
|
deal?: Prisma.AdminDealCreateNestedOneWithoutCallSessionsInput
|
|
disposition?: Prisma.AdminCallDispositionCreateNestedOneWithoutCallsInput
|
|
callbackTask?: Prisma.AdminTaskCreateNestedOneWithoutCallbackCallInput
|
|
participants?: Prisma.AdminCallParticipantCreateNestedManyWithoutCallSessionInput
|
|
events?: Prisma.AdminCallEventCreateNestedManyWithoutCallSessionInput
|
|
matchCandidates?: Prisma.AdminCallMatchCandidateCreateNestedManyWithoutCallSessionInput
|
|
dialerEntry?: Prisma.AdminDialerEntryCreateNestedOneWithoutCallSessionInput
|
|
activities?: Prisma.AdminActivityCreateNestedManyWithoutCallSessionInput
|
|
}
|
|
|
|
export type AdminCallSessionUncheckedCreateWithoutRecordingInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
adminUserId: string
|
|
phoneConnectionId: string
|
|
providerCallId: string
|
|
direction: $Enums.AdminCallDirection
|
|
status: $Enums.AdminCallStatus
|
|
providerUserId?: string | null
|
|
fromNumber: string
|
|
toNumber: string
|
|
externalNumber: string
|
|
startedAt: Date | string
|
|
answeredAt?: Date | string | null
|
|
endedAt?: Date | string | null
|
|
durationSeconds?: number | null
|
|
contactId?: string | null
|
|
leadId?: string | null
|
|
dealId?: string | null
|
|
matchStatus?: $Enums.AdminCallMatchStatus
|
|
matchConfidenceBasisPoints?: number | null
|
|
note?: string | null
|
|
dispositionId?: string | null
|
|
dispositionCodeSnapshot?: string | null
|
|
dispositionLabelSnapshot?: string | null
|
|
callbackTaskId?: string | null
|
|
recordingOffered?: boolean
|
|
recordingConsentConfirmedAt?: Date | string | null
|
|
participants?: Prisma.AdminCallParticipantUncheckedCreateNestedManyWithoutCallSessionInput
|
|
events?: Prisma.AdminCallEventUncheckedCreateNestedManyWithoutCallSessionInput
|
|
matchCandidates?: Prisma.AdminCallMatchCandidateUncheckedCreateNestedManyWithoutCallSessionInput
|
|
dialerEntry?: Prisma.AdminDialerEntryUncheckedCreateNestedOneWithoutCallSessionInput
|
|
activities?: Prisma.AdminActivityUncheckedCreateNestedManyWithoutCallSessionInput
|
|
}
|
|
|
|
export type AdminCallSessionCreateOrConnectWithoutRecordingInput = {
|
|
where: Prisma.AdminCallSessionWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.AdminCallSessionCreateWithoutRecordingInput, Prisma.AdminCallSessionUncheckedCreateWithoutRecordingInput>
|
|
}
|
|
|
|
export type AdminCallSessionUpsertWithoutRecordingInput = {
|
|
update: Prisma.XOR<Prisma.AdminCallSessionUpdateWithoutRecordingInput, Prisma.AdminCallSessionUncheckedUpdateWithoutRecordingInput>
|
|
create: Prisma.XOR<Prisma.AdminCallSessionCreateWithoutRecordingInput, Prisma.AdminCallSessionUncheckedCreateWithoutRecordingInput>
|
|
where?: Prisma.AdminCallSessionWhereInput
|
|
}
|
|
|
|
export type AdminCallSessionUpdateToOneWithWhereWithoutRecordingInput = {
|
|
where?: Prisma.AdminCallSessionWhereInput
|
|
data: Prisma.XOR<Prisma.AdminCallSessionUpdateWithoutRecordingInput, Prisma.AdminCallSessionUncheckedUpdateWithoutRecordingInput>
|
|
}
|
|
|
|
export type AdminCallSessionUpdateWithoutRecordingInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
providerCallId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
direction?: Prisma.EnumAdminCallDirectionFieldUpdateOperationsInput | $Enums.AdminCallDirection
|
|
status?: Prisma.EnumAdminCallStatusFieldUpdateOperationsInput | $Enums.AdminCallStatus
|
|
providerUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
fromNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
toNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
externalNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
answeredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
durationSeconds?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
matchStatus?: Prisma.EnumAdminCallMatchStatusFieldUpdateOperationsInput | $Enums.AdminCallMatchStatus
|
|
matchConfidenceBasisPoints?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionCodeSnapshot?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionLabelSnapshot?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
recordingOffered?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
recordingConsentConfirmedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
phoneConnection?: Prisma.AdminPhoneConnectionUpdateOneRequiredWithoutCallsNestedInput
|
|
contact?: Prisma.AdminContactUpdateOneWithoutCallSessionsNestedInput
|
|
lead?: Prisma.AdminLeadUpdateOneWithoutCallSessionsNestedInput
|
|
deal?: Prisma.AdminDealUpdateOneWithoutCallSessionsNestedInput
|
|
disposition?: Prisma.AdminCallDispositionUpdateOneWithoutCallsNestedInput
|
|
callbackTask?: Prisma.AdminTaskUpdateOneWithoutCallbackCallNestedInput
|
|
participants?: Prisma.AdminCallParticipantUpdateManyWithoutCallSessionNestedInput
|
|
events?: Prisma.AdminCallEventUpdateManyWithoutCallSessionNestedInput
|
|
matchCandidates?: Prisma.AdminCallMatchCandidateUpdateManyWithoutCallSessionNestedInput
|
|
dialerEntry?: Prisma.AdminDialerEntryUpdateOneWithoutCallSessionNestedInput
|
|
activities?: Prisma.AdminActivityUpdateManyWithoutCallSessionNestedInput
|
|
}
|
|
|
|
export type AdminCallSessionUncheckedUpdateWithoutRecordingInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
phoneConnectionId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
providerCallId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
direction?: Prisma.EnumAdminCallDirectionFieldUpdateOperationsInput | $Enums.AdminCallDirection
|
|
status?: Prisma.EnumAdminCallStatusFieldUpdateOperationsInput | $Enums.AdminCallStatus
|
|
providerUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
fromNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
toNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
externalNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
answeredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
durationSeconds?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
contactId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
leadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dealId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchStatus?: Prisma.EnumAdminCallMatchStatusFieldUpdateOperationsInput | $Enums.AdminCallMatchStatus
|
|
matchConfidenceBasisPoints?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionCodeSnapshot?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionLabelSnapshot?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
callbackTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
recordingOffered?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
recordingConsentConfirmedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
participants?: Prisma.AdminCallParticipantUncheckedUpdateManyWithoutCallSessionNestedInput
|
|
events?: Prisma.AdminCallEventUncheckedUpdateManyWithoutCallSessionNestedInput
|
|
matchCandidates?: Prisma.AdminCallMatchCandidateUncheckedUpdateManyWithoutCallSessionNestedInput
|
|
dialerEntry?: Prisma.AdminDialerEntryUncheckedUpdateOneWithoutCallSessionNestedInput
|
|
activities?: Prisma.AdminActivityUncheckedUpdateManyWithoutCallSessionNestedInput
|
|
}
|
|
|
|
export type AdminCallSessionCreateWithoutDialerEntryInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
adminUserId: string
|
|
providerCallId: string
|
|
direction: $Enums.AdminCallDirection
|
|
status: $Enums.AdminCallStatus
|
|
providerUserId?: string | null
|
|
fromNumber: string
|
|
toNumber: string
|
|
externalNumber: string
|
|
startedAt: Date | string
|
|
answeredAt?: Date | string | null
|
|
endedAt?: Date | string | null
|
|
durationSeconds?: number | null
|
|
matchStatus?: $Enums.AdminCallMatchStatus
|
|
matchConfidenceBasisPoints?: number | null
|
|
note?: string | null
|
|
dispositionCodeSnapshot?: string | null
|
|
dispositionLabelSnapshot?: string | null
|
|
recordingOffered?: boolean
|
|
recordingConsentConfirmedAt?: Date | string | null
|
|
phoneConnection: Prisma.AdminPhoneConnectionCreateNestedOneWithoutCallsInput
|
|
contact?: Prisma.AdminContactCreateNestedOneWithoutCallSessionsInput
|
|
lead?: Prisma.AdminLeadCreateNestedOneWithoutCallSessionsInput
|
|
deal?: Prisma.AdminDealCreateNestedOneWithoutCallSessionsInput
|
|
disposition?: Prisma.AdminCallDispositionCreateNestedOneWithoutCallsInput
|
|
callbackTask?: Prisma.AdminTaskCreateNestedOneWithoutCallbackCallInput
|
|
participants?: Prisma.AdminCallParticipantCreateNestedManyWithoutCallSessionInput
|
|
events?: Prisma.AdminCallEventCreateNestedManyWithoutCallSessionInput
|
|
matchCandidates?: Prisma.AdminCallMatchCandidateCreateNestedManyWithoutCallSessionInput
|
|
recording?: Prisma.AdminCallRecordingCreateNestedOneWithoutCallSessionInput
|
|
activities?: Prisma.AdminActivityCreateNestedManyWithoutCallSessionInput
|
|
}
|
|
|
|
export type AdminCallSessionUncheckedCreateWithoutDialerEntryInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
adminUserId: string
|
|
phoneConnectionId: string
|
|
providerCallId: string
|
|
direction: $Enums.AdminCallDirection
|
|
status: $Enums.AdminCallStatus
|
|
providerUserId?: string | null
|
|
fromNumber: string
|
|
toNumber: string
|
|
externalNumber: string
|
|
startedAt: Date | string
|
|
answeredAt?: Date | string | null
|
|
endedAt?: Date | string | null
|
|
durationSeconds?: number | null
|
|
contactId?: string | null
|
|
leadId?: string | null
|
|
dealId?: string | null
|
|
matchStatus?: $Enums.AdminCallMatchStatus
|
|
matchConfidenceBasisPoints?: number | null
|
|
note?: string | null
|
|
dispositionId?: string | null
|
|
dispositionCodeSnapshot?: string | null
|
|
dispositionLabelSnapshot?: string | null
|
|
callbackTaskId?: string | null
|
|
recordingOffered?: boolean
|
|
recordingConsentConfirmedAt?: Date | string | null
|
|
participants?: Prisma.AdminCallParticipantUncheckedCreateNestedManyWithoutCallSessionInput
|
|
events?: Prisma.AdminCallEventUncheckedCreateNestedManyWithoutCallSessionInput
|
|
matchCandidates?: Prisma.AdminCallMatchCandidateUncheckedCreateNestedManyWithoutCallSessionInput
|
|
recording?: Prisma.AdminCallRecordingUncheckedCreateNestedOneWithoutCallSessionInput
|
|
activities?: Prisma.AdminActivityUncheckedCreateNestedManyWithoutCallSessionInput
|
|
}
|
|
|
|
export type AdminCallSessionCreateOrConnectWithoutDialerEntryInput = {
|
|
where: Prisma.AdminCallSessionWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.AdminCallSessionCreateWithoutDialerEntryInput, Prisma.AdminCallSessionUncheckedCreateWithoutDialerEntryInput>
|
|
}
|
|
|
|
export type AdminCallSessionUpsertWithoutDialerEntryInput = {
|
|
update: Prisma.XOR<Prisma.AdminCallSessionUpdateWithoutDialerEntryInput, Prisma.AdminCallSessionUncheckedUpdateWithoutDialerEntryInput>
|
|
create: Prisma.XOR<Prisma.AdminCallSessionCreateWithoutDialerEntryInput, Prisma.AdminCallSessionUncheckedCreateWithoutDialerEntryInput>
|
|
where?: Prisma.AdminCallSessionWhereInput
|
|
}
|
|
|
|
export type AdminCallSessionUpdateToOneWithWhereWithoutDialerEntryInput = {
|
|
where?: Prisma.AdminCallSessionWhereInput
|
|
data: Prisma.XOR<Prisma.AdminCallSessionUpdateWithoutDialerEntryInput, Prisma.AdminCallSessionUncheckedUpdateWithoutDialerEntryInput>
|
|
}
|
|
|
|
export type AdminCallSessionUpdateWithoutDialerEntryInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
providerCallId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
direction?: Prisma.EnumAdminCallDirectionFieldUpdateOperationsInput | $Enums.AdminCallDirection
|
|
status?: Prisma.EnumAdminCallStatusFieldUpdateOperationsInput | $Enums.AdminCallStatus
|
|
providerUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
fromNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
toNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
externalNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
answeredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
durationSeconds?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
matchStatus?: Prisma.EnumAdminCallMatchStatusFieldUpdateOperationsInput | $Enums.AdminCallMatchStatus
|
|
matchConfidenceBasisPoints?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionCodeSnapshot?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionLabelSnapshot?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
recordingOffered?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
recordingConsentConfirmedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
phoneConnection?: Prisma.AdminPhoneConnectionUpdateOneRequiredWithoutCallsNestedInput
|
|
contact?: Prisma.AdminContactUpdateOneWithoutCallSessionsNestedInput
|
|
lead?: Prisma.AdminLeadUpdateOneWithoutCallSessionsNestedInput
|
|
deal?: Prisma.AdminDealUpdateOneWithoutCallSessionsNestedInput
|
|
disposition?: Prisma.AdminCallDispositionUpdateOneWithoutCallsNestedInput
|
|
callbackTask?: Prisma.AdminTaskUpdateOneWithoutCallbackCallNestedInput
|
|
participants?: Prisma.AdminCallParticipantUpdateManyWithoutCallSessionNestedInput
|
|
events?: Prisma.AdminCallEventUpdateManyWithoutCallSessionNestedInput
|
|
matchCandidates?: Prisma.AdminCallMatchCandidateUpdateManyWithoutCallSessionNestedInput
|
|
recording?: Prisma.AdminCallRecordingUpdateOneWithoutCallSessionNestedInput
|
|
activities?: Prisma.AdminActivityUpdateManyWithoutCallSessionNestedInput
|
|
}
|
|
|
|
export type AdminCallSessionUncheckedUpdateWithoutDialerEntryInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
phoneConnectionId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
providerCallId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
direction?: Prisma.EnumAdminCallDirectionFieldUpdateOperationsInput | $Enums.AdminCallDirection
|
|
status?: Prisma.EnumAdminCallStatusFieldUpdateOperationsInput | $Enums.AdminCallStatus
|
|
providerUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
fromNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
toNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
externalNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
answeredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
durationSeconds?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
contactId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
leadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dealId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchStatus?: Prisma.EnumAdminCallMatchStatusFieldUpdateOperationsInput | $Enums.AdminCallMatchStatus
|
|
matchConfidenceBasisPoints?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionCodeSnapshot?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionLabelSnapshot?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
callbackTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
recordingOffered?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
recordingConsentConfirmedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
participants?: Prisma.AdminCallParticipantUncheckedUpdateManyWithoutCallSessionNestedInput
|
|
events?: Prisma.AdminCallEventUncheckedUpdateManyWithoutCallSessionNestedInput
|
|
matchCandidates?: Prisma.AdminCallMatchCandidateUncheckedUpdateManyWithoutCallSessionNestedInput
|
|
recording?: Prisma.AdminCallRecordingUncheckedUpdateOneWithoutCallSessionNestedInput
|
|
activities?: Prisma.AdminActivityUncheckedUpdateManyWithoutCallSessionNestedInput
|
|
}
|
|
|
|
export type AdminCallSessionCreateManyLeadInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
adminUserId: string
|
|
phoneConnectionId: string
|
|
providerCallId: string
|
|
direction: $Enums.AdminCallDirection
|
|
status: $Enums.AdminCallStatus
|
|
providerUserId?: string | null
|
|
fromNumber: string
|
|
toNumber: string
|
|
externalNumber: string
|
|
startedAt: Date | string
|
|
answeredAt?: Date | string | null
|
|
endedAt?: Date | string | null
|
|
durationSeconds?: number | null
|
|
contactId?: string | null
|
|
dealId?: string | null
|
|
matchStatus?: $Enums.AdminCallMatchStatus
|
|
matchConfidenceBasisPoints?: number | null
|
|
note?: string | null
|
|
dispositionId?: string | null
|
|
dispositionCodeSnapshot?: string | null
|
|
dispositionLabelSnapshot?: string | null
|
|
callbackTaskId?: string | null
|
|
recordingOffered?: boolean
|
|
recordingConsentConfirmedAt?: Date | string | null
|
|
}
|
|
|
|
export type AdminCallSessionUpdateWithoutLeadInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
providerCallId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
direction?: Prisma.EnumAdminCallDirectionFieldUpdateOperationsInput | $Enums.AdminCallDirection
|
|
status?: Prisma.EnumAdminCallStatusFieldUpdateOperationsInput | $Enums.AdminCallStatus
|
|
providerUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
fromNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
toNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
externalNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
answeredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
durationSeconds?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
matchStatus?: Prisma.EnumAdminCallMatchStatusFieldUpdateOperationsInput | $Enums.AdminCallMatchStatus
|
|
matchConfidenceBasisPoints?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionCodeSnapshot?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionLabelSnapshot?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
recordingOffered?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
recordingConsentConfirmedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
phoneConnection?: Prisma.AdminPhoneConnectionUpdateOneRequiredWithoutCallsNestedInput
|
|
contact?: Prisma.AdminContactUpdateOneWithoutCallSessionsNestedInput
|
|
deal?: Prisma.AdminDealUpdateOneWithoutCallSessionsNestedInput
|
|
disposition?: Prisma.AdminCallDispositionUpdateOneWithoutCallsNestedInput
|
|
callbackTask?: Prisma.AdminTaskUpdateOneWithoutCallbackCallNestedInput
|
|
participants?: Prisma.AdminCallParticipantUpdateManyWithoutCallSessionNestedInput
|
|
events?: Prisma.AdminCallEventUpdateManyWithoutCallSessionNestedInput
|
|
matchCandidates?: Prisma.AdminCallMatchCandidateUpdateManyWithoutCallSessionNestedInput
|
|
recording?: Prisma.AdminCallRecordingUpdateOneWithoutCallSessionNestedInput
|
|
dialerEntry?: Prisma.AdminDialerEntryUpdateOneWithoutCallSessionNestedInput
|
|
activities?: Prisma.AdminActivityUpdateManyWithoutCallSessionNestedInput
|
|
}
|
|
|
|
export type AdminCallSessionUncheckedUpdateWithoutLeadInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
phoneConnectionId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
providerCallId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
direction?: Prisma.EnumAdminCallDirectionFieldUpdateOperationsInput | $Enums.AdminCallDirection
|
|
status?: Prisma.EnumAdminCallStatusFieldUpdateOperationsInput | $Enums.AdminCallStatus
|
|
providerUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
fromNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
toNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
externalNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
answeredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
durationSeconds?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
contactId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dealId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchStatus?: Prisma.EnumAdminCallMatchStatusFieldUpdateOperationsInput | $Enums.AdminCallMatchStatus
|
|
matchConfidenceBasisPoints?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionCodeSnapshot?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionLabelSnapshot?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
callbackTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
recordingOffered?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
recordingConsentConfirmedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
participants?: Prisma.AdminCallParticipantUncheckedUpdateManyWithoutCallSessionNestedInput
|
|
events?: Prisma.AdminCallEventUncheckedUpdateManyWithoutCallSessionNestedInput
|
|
matchCandidates?: Prisma.AdminCallMatchCandidateUncheckedUpdateManyWithoutCallSessionNestedInput
|
|
recording?: Prisma.AdminCallRecordingUncheckedUpdateOneWithoutCallSessionNestedInput
|
|
dialerEntry?: Prisma.AdminDialerEntryUncheckedUpdateOneWithoutCallSessionNestedInput
|
|
activities?: Prisma.AdminActivityUncheckedUpdateManyWithoutCallSessionNestedInput
|
|
}
|
|
|
|
export type AdminCallSessionUncheckedUpdateManyWithoutLeadInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
phoneConnectionId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
providerCallId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
direction?: Prisma.EnumAdminCallDirectionFieldUpdateOperationsInput | $Enums.AdminCallDirection
|
|
status?: Prisma.EnumAdminCallStatusFieldUpdateOperationsInput | $Enums.AdminCallStatus
|
|
providerUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
fromNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
toNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
externalNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
answeredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
durationSeconds?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
contactId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dealId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchStatus?: Prisma.EnumAdminCallMatchStatusFieldUpdateOperationsInput | $Enums.AdminCallMatchStatus
|
|
matchConfidenceBasisPoints?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionCodeSnapshot?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionLabelSnapshot?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
callbackTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
recordingOffered?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
recordingConsentConfirmedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
}
|
|
|
|
export type AdminCallSessionCreateManyContactInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
adminUserId: string
|
|
phoneConnectionId: string
|
|
providerCallId: string
|
|
direction: $Enums.AdminCallDirection
|
|
status: $Enums.AdminCallStatus
|
|
providerUserId?: string | null
|
|
fromNumber: string
|
|
toNumber: string
|
|
externalNumber: string
|
|
startedAt: Date | string
|
|
answeredAt?: Date | string | null
|
|
endedAt?: Date | string | null
|
|
durationSeconds?: number | null
|
|
leadId?: string | null
|
|
dealId?: string | null
|
|
matchStatus?: $Enums.AdminCallMatchStatus
|
|
matchConfidenceBasisPoints?: number | null
|
|
note?: string | null
|
|
dispositionId?: string | null
|
|
dispositionCodeSnapshot?: string | null
|
|
dispositionLabelSnapshot?: string | null
|
|
callbackTaskId?: string | null
|
|
recordingOffered?: boolean
|
|
recordingConsentConfirmedAt?: Date | string | null
|
|
}
|
|
|
|
export type AdminCallSessionUpdateWithoutContactInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
providerCallId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
direction?: Prisma.EnumAdminCallDirectionFieldUpdateOperationsInput | $Enums.AdminCallDirection
|
|
status?: Prisma.EnumAdminCallStatusFieldUpdateOperationsInput | $Enums.AdminCallStatus
|
|
providerUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
fromNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
toNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
externalNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
answeredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
durationSeconds?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
matchStatus?: Prisma.EnumAdminCallMatchStatusFieldUpdateOperationsInput | $Enums.AdminCallMatchStatus
|
|
matchConfidenceBasisPoints?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionCodeSnapshot?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionLabelSnapshot?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
recordingOffered?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
recordingConsentConfirmedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
phoneConnection?: Prisma.AdminPhoneConnectionUpdateOneRequiredWithoutCallsNestedInput
|
|
lead?: Prisma.AdminLeadUpdateOneWithoutCallSessionsNestedInput
|
|
deal?: Prisma.AdminDealUpdateOneWithoutCallSessionsNestedInput
|
|
disposition?: Prisma.AdminCallDispositionUpdateOneWithoutCallsNestedInput
|
|
callbackTask?: Prisma.AdminTaskUpdateOneWithoutCallbackCallNestedInput
|
|
participants?: Prisma.AdminCallParticipantUpdateManyWithoutCallSessionNestedInput
|
|
events?: Prisma.AdminCallEventUpdateManyWithoutCallSessionNestedInput
|
|
matchCandidates?: Prisma.AdminCallMatchCandidateUpdateManyWithoutCallSessionNestedInput
|
|
recording?: Prisma.AdminCallRecordingUpdateOneWithoutCallSessionNestedInput
|
|
dialerEntry?: Prisma.AdminDialerEntryUpdateOneWithoutCallSessionNestedInput
|
|
activities?: Prisma.AdminActivityUpdateManyWithoutCallSessionNestedInput
|
|
}
|
|
|
|
export type AdminCallSessionUncheckedUpdateWithoutContactInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
phoneConnectionId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
providerCallId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
direction?: Prisma.EnumAdminCallDirectionFieldUpdateOperationsInput | $Enums.AdminCallDirection
|
|
status?: Prisma.EnumAdminCallStatusFieldUpdateOperationsInput | $Enums.AdminCallStatus
|
|
providerUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
fromNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
toNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
externalNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
answeredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
durationSeconds?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
leadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dealId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchStatus?: Prisma.EnumAdminCallMatchStatusFieldUpdateOperationsInput | $Enums.AdminCallMatchStatus
|
|
matchConfidenceBasisPoints?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionCodeSnapshot?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionLabelSnapshot?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
callbackTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
recordingOffered?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
recordingConsentConfirmedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
participants?: Prisma.AdminCallParticipantUncheckedUpdateManyWithoutCallSessionNestedInput
|
|
events?: Prisma.AdminCallEventUncheckedUpdateManyWithoutCallSessionNestedInput
|
|
matchCandidates?: Prisma.AdminCallMatchCandidateUncheckedUpdateManyWithoutCallSessionNestedInput
|
|
recording?: Prisma.AdminCallRecordingUncheckedUpdateOneWithoutCallSessionNestedInput
|
|
dialerEntry?: Prisma.AdminDialerEntryUncheckedUpdateOneWithoutCallSessionNestedInput
|
|
activities?: Prisma.AdminActivityUncheckedUpdateManyWithoutCallSessionNestedInput
|
|
}
|
|
|
|
export type AdminCallSessionUncheckedUpdateManyWithoutContactInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
phoneConnectionId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
providerCallId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
direction?: Prisma.EnumAdminCallDirectionFieldUpdateOperationsInput | $Enums.AdminCallDirection
|
|
status?: Prisma.EnumAdminCallStatusFieldUpdateOperationsInput | $Enums.AdminCallStatus
|
|
providerUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
fromNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
toNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
externalNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
answeredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
durationSeconds?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
leadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dealId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchStatus?: Prisma.EnumAdminCallMatchStatusFieldUpdateOperationsInput | $Enums.AdminCallMatchStatus
|
|
matchConfidenceBasisPoints?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionCodeSnapshot?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionLabelSnapshot?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
callbackTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
recordingOffered?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
recordingConsentConfirmedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
}
|
|
|
|
export type AdminCallSessionCreateManyDealInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
adminUserId: string
|
|
phoneConnectionId: string
|
|
providerCallId: string
|
|
direction: $Enums.AdminCallDirection
|
|
status: $Enums.AdminCallStatus
|
|
providerUserId?: string | null
|
|
fromNumber: string
|
|
toNumber: string
|
|
externalNumber: string
|
|
startedAt: Date | string
|
|
answeredAt?: Date | string | null
|
|
endedAt?: Date | string | null
|
|
durationSeconds?: number | null
|
|
contactId?: string | null
|
|
leadId?: string | null
|
|
matchStatus?: $Enums.AdminCallMatchStatus
|
|
matchConfidenceBasisPoints?: number | null
|
|
note?: string | null
|
|
dispositionId?: string | null
|
|
dispositionCodeSnapshot?: string | null
|
|
dispositionLabelSnapshot?: string | null
|
|
callbackTaskId?: string | null
|
|
recordingOffered?: boolean
|
|
recordingConsentConfirmedAt?: Date | string | null
|
|
}
|
|
|
|
export type AdminCallSessionUpdateWithoutDealInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
providerCallId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
direction?: Prisma.EnumAdminCallDirectionFieldUpdateOperationsInput | $Enums.AdminCallDirection
|
|
status?: Prisma.EnumAdminCallStatusFieldUpdateOperationsInput | $Enums.AdminCallStatus
|
|
providerUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
fromNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
toNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
externalNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
answeredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
durationSeconds?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
matchStatus?: Prisma.EnumAdminCallMatchStatusFieldUpdateOperationsInput | $Enums.AdminCallMatchStatus
|
|
matchConfidenceBasisPoints?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionCodeSnapshot?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionLabelSnapshot?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
recordingOffered?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
recordingConsentConfirmedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
phoneConnection?: Prisma.AdminPhoneConnectionUpdateOneRequiredWithoutCallsNestedInput
|
|
contact?: Prisma.AdminContactUpdateOneWithoutCallSessionsNestedInput
|
|
lead?: Prisma.AdminLeadUpdateOneWithoutCallSessionsNestedInput
|
|
disposition?: Prisma.AdminCallDispositionUpdateOneWithoutCallsNestedInput
|
|
callbackTask?: Prisma.AdminTaskUpdateOneWithoutCallbackCallNestedInput
|
|
participants?: Prisma.AdminCallParticipantUpdateManyWithoutCallSessionNestedInput
|
|
events?: Prisma.AdminCallEventUpdateManyWithoutCallSessionNestedInput
|
|
matchCandidates?: Prisma.AdminCallMatchCandidateUpdateManyWithoutCallSessionNestedInput
|
|
recording?: Prisma.AdminCallRecordingUpdateOneWithoutCallSessionNestedInput
|
|
dialerEntry?: Prisma.AdminDialerEntryUpdateOneWithoutCallSessionNestedInput
|
|
activities?: Prisma.AdminActivityUpdateManyWithoutCallSessionNestedInput
|
|
}
|
|
|
|
export type AdminCallSessionUncheckedUpdateWithoutDealInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
phoneConnectionId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
providerCallId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
direction?: Prisma.EnumAdminCallDirectionFieldUpdateOperationsInput | $Enums.AdminCallDirection
|
|
status?: Prisma.EnumAdminCallStatusFieldUpdateOperationsInput | $Enums.AdminCallStatus
|
|
providerUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
fromNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
toNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
externalNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
answeredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
durationSeconds?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
contactId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
leadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchStatus?: Prisma.EnumAdminCallMatchStatusFieldUpdateOperationsInput | $Enums.AdminCallMatchStatus
|
|
matchConfidenceBasisPoints?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionCodeSnapshot?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionLabelSnapshot?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
callbackTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
recordingOffered?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
recordingConsentConfirmedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
participants?: Prisma.AdminCallParticipantUncheckedUpdateManyWithoutCallSessionNestedInput
|
|
events?: Prisma.AdminCallEventUncheckedUpdateManyWithoutCallSessionNestedInput
|
|
matchCandidates?: Prisma.AdminCallMatchCandidateUncheckedUpdateManyWithoutCallSessionNestedInput
|
|
recording?: Prisma.AdminCallRecordingUncheckedUpdateOneWithoutCallSessionNestedInput
|
|
dialerEntry?: Prisma.AdminDialerEntryUncheckedUpdateOneWithoutCallSessionNestedInput
|
|
activities?: Prisma.AdminActivityUncheckedUpdateManyWithoutCallSessionNestedInput
|
|
}
|
|
|
|
export type AdminCallSessionUncheckedUpdateManyWithoutDealInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
phoneConnectionId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
providerCallId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
direction?: Prisma.EnumAdminCallDirectionFieldUpdateOperationsInput | $Enums.AdminCallDirection
|
|
status?: Prisma.EnumAdminCallStatusFieldUpdateOperationsInput | $Enums.AdminCallStatus
|
|
providerUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
fromNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
toNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
externalNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
answeredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
durationSeconds?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
contactId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
leadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchStatus?: Prisma.EnumAdminCallMatchStatusFieldUpdateOperationsInput | $Enums.AdminCallMatchStatus
|
|
matchConfidenceBasisPoints?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionCodeSnapshot?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionLabelSnapshot?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
callbackTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
recordingOffered?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
recordingConsentConfirmedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
}
|
|
|
|
export type AdminCallSessionCreateManyPhoneConnectionInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
adminUserId: string
|
|
providerCallId: string
|
|
direction: $Enums.AdminCallDirection
|
|
status: $Enums.AdminCallStatus
|
|
providerUserId?: string | null
|
|
fromNumber: string
|
|
toNumber: string
|
|
externalNumber: string
|
|
startedAt: Date | string
|
|
answeredAt?: Date | string | null
|
|
endedAt?: Date | string | null
|
|
durationSeconds?: number | null
|
|
contactId?: string | null
|
|
leadId?: string | null
|
|
dealId?: string | null
|
|
matchStatus?: $Enums.AdminCallMatchStatus
|
|
matchConfidenceBasisPoints?: number | null
|
|
note?: string | null
|
|
dispositionId?: string | null
|
|
dispositionCodeSnapshot?: string | null
|
|
dispositionLabelSnapshot?: string | null
|
|
callbackTaskId?: string | null
|
|
recordingOffered?: boolean
|
|
recordingConsentConfirmedAt?: Date | string | null
|
|
}
|
|
|
|
export type AdminCallSessionUpdateWithoutPhoneConnectionInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
providerCallId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
direction?: Prisma.EnumAdminCallDirectionFieldUpdateOperationsInput | $Enums.AdminCallDirection
|
|
status?: Prisma.EnumAdminCallStatusFieldUpdateOperationsInput | $Enums.AdminCallStatus
|
|
providerUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
fromNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
toNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
externalNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
answeredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
durationSeconds?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
matchStatus?: Prisma.EnumAdminCallMatchStatusFieldUpdateOperationsInput | $Enums.AdminCallMatchStatus
|
|
matchConfidenceBasisPoints?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionCodeSnapshot?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionLabelSnapshot?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
recordingOffered?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
recordingConsentConfirmedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
contact?: Prisma.AdminContactUpdateOneWithoutCallSessionsNestedInput
|
|
lead?: Prisma.AdminLeadUpdateOneWithoutCallSessionsNestedInput
|
|
deal?: Prisma.AdminDealUpdateOneWithoutCallSessionsNestedInput
|
|
disposition?: Prisma.AdminCallDispositionUpdateOneWithoutCallsNestedInput
|
|
callbackTask?: Prisma.AdminTaskUpdateOneWithoutCallbackCallNestedInput
|
|
participants?: Prisma.AdminCallParticipantUpdateManyWithoutCallSessionNestedInput
|
|
events?: Prisma.AdminCallEventUpdateManyWithoutCallSessionNestedInput
|
|
matchCandidates?: Prisma.AdminCallMatchCandidateUpdateManyWithoutCallSessionNestedInput
|
|
recording?: Prisma.AdminCallRecordingUpdateOneWithoutCallSessionNestedInput
|
|
dialerEntry?: Prisma.AdminDialerEntryUpdateOneWithoutCallSessionNestedInput
|
|
activities?: Prisma.AdminActivityUpdateManyWithoutCallSessionNestedInput
|
|
}
|
|
|
|
export type AdminCallSessionUncheckedUpdateWithoutPhoneConnectionInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
providerCallId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
direction?: Prisma.EnumAdminCallDirectionFieldUpdateOperationsInput | $Enums.AdminCallDirection
|
|
status?: Prisma.EnumAdminCallStatusFieldUpdateOperationsInput | $Enums.AdminCallStatus
|
|
providerUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
fromNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
toNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
externalNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
answeredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
durationSeconds?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
contactId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
leadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dealId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchStatus?: Prisma.EnumAdminCallMatchStatusFieldUpdateOperationsInput | $Enums.AdminCallMatchStatus
|
|
matchConfidenceBasisPoints?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionCodeSnapshot?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionLabelSnapshot?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
callbackTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
recordingOffered?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
recordingConsentConfirmedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
participants?: Prisma.AdminCallParticipantUncheckedUpdateManyWithoutCallSessionNestedInput
|
|
events?: Prisma.AdminCallEventUncheckedUpdateManyWithoutCallSessionNestedInput
|
|
matchCandidates?: Prisma.AdminCallMatchCandidateUncheckedUpdateManyWithoutCallSessionNestedInput
|
|
recording?: Prisma.AdminCallRecordingUncheckedUpdateOneWithoutCallSessionNestedInput
|
|
dialerEntry?: Prisma.AdminDialerEntryUncheckedUpdateOneWithoutCallSessionNestedInput
|
|
activities?: Prisma.AdminActivityUncheckedUpdateManyWithoutCallSessionNestedInput
|
|
}
|
|
|
|
export type AdminCallSessionUncheckedUpdateManyWithoutPhoneConnectionInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
providerCallId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
direction?: Prisma.EnumAdminCallDirectionFieldUpdateOperationsInput | $Enums.AdminCallDirection
|
|
status?: Prisma.EnumAdminCallStatusFieldUpdateOperationsInput | $Enums.AdminCallStatus
|
|
providerUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
fromNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
toNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
externalNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
answeredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
durationSeconds?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
contactId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
leadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dealId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchStatus?: Prisma.EnumAdminCallMatchStatusFieldUpdateOperationsInput | $Enums.AdminCallMatchStatus
|
|
matchConfidenceBasisPoints?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionCodeSnapshot?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionLabelSnapshot?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
callbackTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
recordingOffered?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
recordingConsentConfirmedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
}
|
|
|
|
export type AdminCallSessionCreateManyDispositionInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
adminUserId: string
|
|
phoneConnectionId: string
|
|
providerCallId: string
|
|
direction: $Enums.AdminCallDirection
|
|
status: $Enums.AdminCallStatus
|
|
providerUserId?: string | null
|
|
fromNumber: string
|
|
toNumber: string
|
|
externalNumber: string
|
|
startedAt: Date | string
|
|
answeredAt?: Date | string | null
|
|
endedAt?: Date | string | null
|
|
durationSeconds?: number | null
|
|
contactId?: string | null
|
|
leadId?: string | null
|
|
dealId?: string | null
|
|
matchStatus?: $Enums.AdminCallMatchStatus
|
|
matchConfidenceBasisPoints?: number | null
|
|
note?: string | null
|
|
dispositionCodeSnapshot?: string | null
|
|
dispositionLabelSnapshot?: string | null
|
|
callbackTaskId?: string | null
|
|
recordingOffered?: boolean
|
|
recordingConsentConfirmedAt?: Date | string | null
|
|
}
|
|
|
|
export type AdminCallSessionUpdateWithoutDispositionInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
providerCallId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
direction?: Prisma.EnumAdminCallDirectionFieldUpdateOperationsInput | $Enums.AdminCallDirection
|
|
status?: Prisma.EnumAdminCallStatusFieldUpdateOperationsInput | $Enums.AdminCallStatus
|
|
providerUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
fromNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
toNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
externalNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
answeredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
durationSeconds?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
matchStatus?: Prisma.EnumAdminCallMatchStatusFieldUpdateOperationsInput | $Enums.AdminCallMatchStatus
|
|
matchConfidenceBasisPoints?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionCodeSnapshot?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionLabelSnapshot?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
recordingOffered?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
recordingConsentConfirmedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
phoneConnection?: Prisma.AdminPhoneConnectionUpdateOneRequiredWithoutCallsNestedInput
|
|
contact?: Prisma.AdminContactUpdateOneWithoutCallSessionsNestedInput
|
|
lead?: Prisma.AdminLeadUpdateOneWithoutCallSessionsNestedInput
|
|
deal?: Prisma.AdminDealUpdateOneWithoutCallSessionsNestedInput
|
|
callbackTask?: Prisma.AdminTaskUpdateOneWithoutCallbackCallNestedInput
|
|
participants?: Prisma.AdminCallParticipantUpdateManyWithoutCallSessionNestedInput
|
|
events?: Prisma.AdminCallEventUpdateManyWithoutCallSessionNestedInput
|
|
matchCandidates?: Prisma.AdminCallMatchCandidateUpdateManyWithoutCallSessionNestedInput
|
|
recording?: Prisma.AdminCallRecordingUpdateOneWithoutCallSessionNestedInput
|
|
dialerEntry?: Prisma.AdminDialerEntryUpdateOneWithoutCallSessionNestedInput
|
|
activities?: Prisma.AdminActivityUpdateManyWithoutCallSessionNestedInput
|
|
}
|
|
|
|
export type AdminCallSessionUncheckedUpdateWithoutDispositionInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
phoneConnectionId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
providerCallId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
direction?: Prisma.EnumAdminCallDirectionFieldUpdateOperationsInput | $Enums.AdminCallDirection
|
|
status?: Prisma.EnumAdminCallStatusFieldUpdateOperationsInput | $Enums.AdminCallStatus
|
|
providerUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
fromNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
toNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
externalNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
answeredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
durationSeconds?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
contactId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
leadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dealId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchStatus?: Prisma.EnumAdminCallMatchStatusFieldUpdateOperationsInput | $Enums.AdminCallMatchStatus
|
|
matchConfidenceBasisPoints?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionCodeSnapshot?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionLabelSnapshot?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
callbackTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
recordingOffered?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
recordingConsentConfirmedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
participants?: Prisma.AdminCallParticipantUncheckedUpdateManyWithoutCallSessionNestedInput
|
|
events?: Prisma.AdminCallEventUncheckedUpdateManyWithoutCallSessionNestedInput
|
|
matchCandidates?: Prisma.AdminCallMatchCandidateUncheckedUpdateManyWithoutCallSessionNestedInput
|
|
recording?: Prisma.AdminCallRecordingUncheckedUpdateOneWithoutCallSessionNestedInput
|
|
dialerEntry?: Prisma.AdminDialerEntryUncheckedUpdateOneWithoutCallSessionNestedInput
|
|
activities?: Prisma.AdminActivityUncheckedUpdateManyWithoutCallSessionNestedInput
|
|
}
|
|
|
|
export type AdminCallSessionUncheckedUpdateManyWithoutDispositionInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
phoneConnectionId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
providerCallId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
direction?: Prisma.EnumAdminCallDirectionFieldUpdateOperationsInput | $Enums.AdminCallDirection
|
|
status?: Prisma.EnumAdminCallStatusFieldUpdateOperationsInput | $Enums.AdminCallStatus
|
|
providerUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
fromNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
toNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
externalNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
|
startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
answeredAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
durationSeconds?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
contactId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
leadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dealId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
matchStatus?: Prisma.EnumAdminCallMatchStatusFieldUpdateOperationsInput | $Enums.AdminCallMatchStatus
|
|
matchConfidenceBasisPoints?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionCodeSnapshot?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
dispositionLabelSnapshot?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
callbackTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
recordingOffered?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
recordingConsentConfirmedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
}
|
|
|
|
|
|
/**
|
|
* Count Type AdminCallSessionCountOutputType
|
|
*/
|
|
|
|
export type AdminCallSessionCountOutputType = {
|
|
participants: number
|
|
events: number
|
|
matchCandidates: number
|
|
activities: number
|
|
}
|
|
|
|
export type AdminCallSessionCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
participants?: boolean | AdminCallSessionCountOutputTypeCountParticipantsArgs
|
|
events?: boolean | AdminCallSessionCountOutputTypeCountEventsArgs
|
|
matchCandidates?: boolean | AdminCallSessionCountOutputTypeCountMatchCandidatesArgs
|
|
activities?: boolean | AdminCallSessionCountOutputTypeCountActivitiesArgs
|
|
}
|
|
|
|
/**
|
|
* AdminCallSessionCountOutputType without action
|
|
*/
|
|
export type AdminCallSessionCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminCallSessionCountOutputType
|
|
*/
|
|
select?: Prisma.AdminCallSessionCountOutputTypeSelect<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* AdminCallSessionCountOutputType without action
|
|
*/
|
|
export type AdminCallSessionCountOutputTypeCountParticipantsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.AdminCallParticipantWhereInput
|
|
}
|
|
|
|
/**
|
|
* AdminCallSessionCountOutputType without action
|
|
*/
|
|
export type AdminCallSessionCountOutputTypeCountEventsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.AdminCallEventWhereInput
|
|
}
|
|
|
|
/**
|
|
* AdminCallSessionCountOutputType without action
|
|
*/
|
|
export type AdminCallSessionCountOutputTypeCountMatchCandidatesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.AdminCallMatchCandidateWhereInput
|
|
}
|
|
|
|
/**
|
|
* AdminCallSessionCountOutputType without action
|
|
*/
|
|
export type AdminCallSessionCountOutputTypeCountActivitiesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.AdminActivityWhereInput
|
|
}
|
|
|
|
|
|
export type AdminCallSessionSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
adminUserId?: boolean
|
|
phoneConnectionId?: boolean
|
|
providerCallId?: boolean
|
|
direction?: boolean
|
|
status?: boolean
|
|
providerUserId?: boolean
|
|
fromNumber?: boolean
|
|
toNumber?: boolean
|
|
externalNumber?: boolean
|
|
startedAt?: boolean
|
|
answeredAt?: boolean
|
|
endedAt?: boolean
|
|
durationSeconds?: boolean
|
|
contactId?: boolean
|
|
leadId?: boolean
|
|
dealId?: boolean
|
|
matchStatus?: boolean
|
|
matchConfidenceBasisPoints?: boolean
|
|
note?: boolean
|
|
dispositionId?: boolean
|
|
dispositionCodeSnapshot?: boolean
|
|
dispositionLabelSnapshot?: boolean
|
|
callbackTaskId?: boolean
|
|
recordingOffered?: boolean
|
|
recordingConsentConfirmedAt?: boolean
|
|
phoneConnection?: boolean | Prisma.AdminPhoneConnectionDefaultArgs<ExtArgs>
|
|
contact?: boolean | Prisma.AdminCallSession$contactArgs<ExtArgs>
|
|
lead?: boolean | Prisma.AdminCallSession$leadArgs<ExtArgs>
|
|
deal?: boolean | Prisma.AdminCallSession$dealArgs<ExtArgs>
|
|
disposition?: boolean | Prisma.AdminCallSession$dispositionArgs<ExtArgs>
|
|
callbackTask?: boolean | Prisma.AdminCallSession$callbackTaskArgs<ExtArgs>
|
|
participants?: boolean | Prisma.AdminCallSession$participantsArgs<ExtArgs>
|
|
events?: boolean | Prisma.AdminCallSession$eventsArgs<ExtArgs>
|
|
matchCandidates?: boolean | Prisma.AdminCallSession$matchCandidatesArgs<ExtArgs>
|
|
recording?: boolean | Prisma.AdminCallSession$recordingArgs<ExtArgs>
|
|
dialerEntry?: boolean | Prisma.AdminCallSession$dialerEntryArgs<ExtArgs>
|
|
activities?: boolean | Prisma.AdminCallSession$activitiesArgs<ExtArgs>
|
|
_count?: boolean | Prisma.AdminCallSessionCountOutputTypeDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["adminCallSession"]>
|
|
|
|
export type AdminCallSessionSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
adminUserId?: boolean
|
|
phoneConnectionId?: boolean
|
|
providerCallId?: boolean
|
|
direction?: boolean
|
|
status?: boolean
|
|
providerUserId?: boolean
|
|
fromNumber?: boolean
|
|
toNumber?: boolean
|
|
externalNumber?: boolean
|
|
startedAt?: boolean
|
|
answeredAt?: boolean
|
|
endedAt?: boolean
|
|
durationSeconds?: boolean
|
|
contactId?: boolean
|
|
leadId?: boolean
|
|
dealId?: boolean
|
|
matchStatus?: boolean
|
|
matchConfidenceBasisPoints?: boolean
|
|
note?: boolean
|
|
dispositionId?: boolean
|
|
dispositionCodeSnapshot?: boolean
|
|
dispositionLabelSnapshot?: boolean
|
|
callbackTaskId?: boolean
|
|
recordingOffered?: boolean
|
|
recordingConsentConfirmedAt?: boolean
|
|
phoneConnection?: boolean | Prisma.AdminPhoneConnectionDefaultArgs<ExtArgs>
|
|
contact?: boolean | Prisma.AdminCallSession$contactArgs<ExtArgs>
|
|
lead?: boolean | Prisma.AdminCallSession$leadArgs<ExtArgs>
|
|
deal?: boolean | Prisma.AdminCallSession$dealArgs<ExtArgs>
|
|
disposition?: boolean | Prisma.AdminCallSession$dispositionArgs<ExtArgs>
|
|
callbackTask?: boolean | Prisma.AdminCallSession$callbackTaskArgs<ExtArgs>
|
|
}, ExtArgs["result"]["adminCallSession"]>
|
|
|
|
export type AdminCallSessionSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
adminUserId?: boolean
|
|
phoneConnectionId?: boolean
|
|
providerCallId?: boolean
|
|
direction?: boolean
|
|
status?: boolean
|
|
providerUserId?: boolean
|
|
fromNumber?: boolean
|
|
toNumber?: boolean
|
|
externalNumber?: boolean
|
|
startedAt?: boolean
|
|
answeredAt?: boolean
|
|
endedAt?: boolean
|
|
durationSeconds?: boolean
|
|
contactId?: boolean
|
|
leadId?: boolean
|
|
dealId?: boolean
|
|
matchStatus?: boolean
|
|
matchConfidenceBasisPoints?: boolean
|
|
note?: boolean
|
|
dispositionId?: boolean
|
|
dispositionCodeSnapshot?: boolean
|
|
dispositionLabelSnapshot?: boolean
|
|
callbackTaskId?: boolean
|
|
recordingOffered?: boolean
|
|
recordingConsentConfirmedAt?: boolean
|
|
phoneConnection?: boolean | Prisma.AdminPhoneConnectionDefaultArgs<ExtArgs>
|
|
contact?: boolean | Prisma.AdminCallSession$contactArgs<ExtArgs>
|
|
lead?: boolean | Prisma.AdminCallSession$leadArgs<ExtArgs>
|
|
deal?: boolean | Prisma.AdminCallSession$dealArgs<ExtArgs>
|
|
disposition?: boolean | Prisma.AdminCallSession$dispositionArgs<ExtArgs>
|
|
callbackTask?: boolean | Prisma.AdminCallSession$callbackTaskArgs<ExtArgs>
|
|
}, ExtArgs["result"]["adminCallSession"]>
|
|
|
|
export type AdminCallSessionSelectScalar = {
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
adminUserId?: boolean
|
|
phoneConnectionId?: boolean
|
|
providerCallId?: boolean
|
|
direction?: boolean
|
|
status?: boolean
|
|
providerUserId?: boolean
|
|
fromNumber?: boolean
|
|
toNumber?: boolean
|
|
externalNumber?: boolean
|
|
startedAt?: boolean
|
|
answeredAt?: boolean
|
|
endedAt?: boolean
|
|
durationSeconds?: boolean
|
|
contactId?: boolean
|
|
leadId?: boolean
|
|
dealId?: boolean
|
|
matchStatus?: boolean
|
|
matchConfidenceBasisPoints?: boolean
|
|
note?: boolean
|
|
dispositionId?: boolean
|
|
dispositionCodeSnapshot?: boolean
|
|
dispositionLabelSnapshot?: boolean
|
|
callbackTaskId?: boolean
|
|
recordingOffered?: boolean
|
|
recordingConsentConfirmedAt?: boolean
|
|
}
|
|
|
|
export type AdminCallSessionOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "adminUserId" | "phoneConnectionId" | "providerCallId" | "direction" | "status" | "providerUserId" | "fromNumber" | "toNumber" | "externalNumber" | "startedAt" | "answeredAt" | "endedAt" | "durationSeconds" | "contactId" | "leadId" | "dealId" | "matchStatus" | "matchConfidenceBasisPoints" | "note" | "dispositionId" | "dispositionCodeSnapshot" | "dispositionLabelSnapshot" | "callbackTaskId" | "recordingOffered" | "recordingConsentConfirmedAt", ExtArgs["result"]["adminCallSession"]>
|
|
export type AdminCallSessionInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
phoneConnection?: boolean | Prisma.AdminPhoneConnectionDefaultArgs<ExtArgs>
|
|
contact?: boolean | Prisma.AdminCallSession$contactArgs<ExtArgs>
|
|
lead?: boolean | Prisma.AdminCallSession$leadArgs<ExtArgs>
|
|
deal?: boolean | Prisma.AdminCallSession$dealArgs<ExtArgs>
|
|
disposition?: boolean | Prisma.AdminCallSession$dispositionArgs<ExtArgs>
|
|
callbackTask?: boolean | Prisma.AdminCallSession$callbackTaskArgs<ExtArgs>
|
|
participants?: boolean | Prisma.AdminCallSession$participantsArgs<ExtArgs>
|
|
events?: boolean | Prisma.AdminCallSession$eventsArgs<ExtArgs>
|
|
matchCandidates?: boolean | Prisma.AdminCallSession$matchCandidatesArgs<ExtArgs>
|
|
recording?: boolean | Prisma.AdminCallSession$recordingArgs<ExtArgs>
|
|
dialerEntry?: boolean | Prisma.AdminCallSession$dialerEntryArgs<ExtArgs>
|
|
activities?: boolean | Prisma.AdminCallSession$activitiesArgs<ExtArgs>
|
|
_count?: boolean | Prisma.AdminCallSessionCountOutputTypeDefaultArgs<ExtArgs>
|
|
}
|
|
export type AdminCallSessionIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
phoneConnection?: boolean | Prisma.AdminPhoneConnectionDefaultArgs<ExtArgs>
|
|
contact?: boolean | Prisma.AdminCallSession$contactArgs<ExtArgs>
|
|
lead?: boolean | Prisma.AdminCallSession$leadArgs<ExtArgs>
|
|
deal?: boolean | Prisma.AdminCallSession$dealArgs<ExtArgs>
|
|
disposition?: boolean | Prisma.AdminCallSession$dispositionArgs<ExtArgs>
|
|
callbackTask?: boolean | Prisma.AdminCallSession$callbackTaskArgs<ExtArgs>
|
|
}
|
|
export type AdminCallSessionIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
phoneConnection?: boolean | Prisma.AdminPhoneConnectionDefaultArgs<ExtArgs>
|
|
contact?: boolean | Prisma.AdminCallSession$contactArgs<ExtArgs>
|
|
lead?: boolean | Prisma.AdminCallSession$leadArgs<ExtArgs>
|
|
deal?: boolean | Prisma.AdminCallSession$dealArgs<ExtArgs>
|
|
disposition?: boolean | Prisma.AdminCallSession$dispositionArgs<ExtArgs>
|
|
callbackTask?: boolean | Prisma.AdminCallSession$callbackTaskArgs<ExtArgs>
|
|
}
|
|
|
|
export type $AdminCallSessionPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "AdminCallSession"
|
|
objects: {
|
|
phoneConnection: Prisma.$AdminPhoneConnectionPayload<ExtArgs>
|
|
contact: Prisma.$AdminContactPayload<ExtArgs> | null
|
|
lead: Prisma.$AdminLeadPayload<ExtArgs> | null
|
|
deal: Prisma.$AdminDealPayload<ExtArgs> | null
|
|
disposition: Prisma.$AdminCallDispositionPayload<ExtArgs> | null
|
|
callbackTask: Prisma.$AdminTaskPayload<ExtArgs> | null
|
|
participants: Prisma.$AdminCallParticipantPayload<ExtArgs>[]
|
|
events: Prisma.$AdminCallEventPayload<ExtArgs>[]
|
|
matchCandidates: Prisma.$AdminCallMatchCandidatePayload<ExtArgs>[]
|
|
recording: Prisma.$AdminCallRecordingPayload<ExtArgs> | null
|
|
dialerEntry: Prisma.$AdminDialerEntryPayload<ExtArgs> | null
|
|
activities: Prisma.$AdminActivityPayload<ExtArgs>[]
|
|
}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: string
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
adminUserId: string
|
|
phoneConnectionId: string
|
|
providerCallId: string
|
|
direction: $Enums.AdminCallDirection
|
|
status: $Enums.AdminCallStatus
|
|
providerUserId: string | null
|
|
fromNumber: string
|
|
toNumber: string
|
|
externalNumber: string
|
|
startedAt: Date
|
|
answeredAt: Date | null
|
|
endedAt: Date | null
|
|
durationSeconds: number | null
|
|
contactId: string | null
|
|
leadId: string | null
|
|
dealId: string | null
|
|
matchStatus: $Enums.AdminCallMatchStatus
|
|
matchConfidenceBasisPoints: number | null
|
|
note: string | null
|
|
dispositionId: string | null
|
|
dispositionCodeSnapshot: string | null
|
|
dispositionLabelSnapshot: string | null
|
|
callbackTaskId: string | null
|
|
recordingOffered: boolean
|
|
recordingConsentConfirmedAt: Date | null
|
|
}, ExtArgs["result"]["adminCallSession"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type AdminCallSessionGetPayload<S extends boolean | null | undefined | AdminCallSessionDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$AdminCallSessionPayload, S>
|
|
|
|
export type AdminCallSessionCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<AdminCallSessionFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: AdminCallSessionCountAggregateInputType | true
|
|
}
|
|
|
|
export interface AdminCallSessionDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['AdminCallSession'], meta: { name: 'AdminCallSession' } }
|
|
/**
|
|
* Find zero or one AdminCallSession that matches the filter.
|
|
* @param {AdminCallSessionFindUniqueArgs} args - Arguments to find a AdminCallSession
|
|
* @example
|
|
* // Get one AdminCallSession
|
|
* const adminCallSession = await prisma.adminCallSession.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends AdminCallSessionFindUniqueArgs>(args: Prisma.SelectSubset<T, AdminCallSessionFindUniqueArgs<ExtArgs>>): Prisma.Prisma__AdminCallSessionClient<runtime.Types.Result.GetResult<Prisma.$AdminCallSessionPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one AdminCallSession that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {AdminCallSessionFindUniqueOrThrowArgs} args - Arguments to find a AdminCallSession
|
|
* @example
|
|
* // Get one AdminCallSession
|
|
* const adminCallSession = await prisma.adminCallSession.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends AdminCallSessionFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, AdminCallSessionFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__AdminCallSessionClient<runtime.Types.Result.GetResult<Prisma.$AdminCallSessionPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first AdminCallSession 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 {AdminCallSessionFindFirstArgs} args - Arguments to find a AdminCallSession
|
|
* @example
|
|
* // Get one AdminCallSession
|
|
* const adminCallSession = await prisma.adminCallSession.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends AdminCallSessionFindFirstArgs>(args?: Prisma.SelectSubset<T, AdminCallSessionFindFirstArgs<ExtArgs>>): Prisma.Prisma__AdminCallSessionClient<runtime.Types.Result.GetResult<Prisma.$AdminCallSessionPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first AdminCallSession 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 {AdminCallSessionFindFirstOrThrowArgs} args - Arguments to find a AdminCallSession
|
|
* @example
|
|
* // Get one AdminCallSession
|
|
* const adminCallSession = await prisma.adminCallSession.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends AdminCallSessionFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, AdminCallSessionFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__AdminCallSessionClient<runtime.Types.Result.GetResult<Prisma.$AdminCallSessionPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more AdminCallSessions 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 {AdminCallSessionFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all AdminCallSessions
|
|
* const adminCallSessions = await prisma.adminCallSession.findMany()
|
|
*
|
|
* // Get first 10 AdminCallSessions
|
|
* const adminCallSessions = await prisma.adminCallSession.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const adminCallSessionWithIdOnly = await prisma.adminCallSession.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends AdminCallSessionFindManyArgs>(args?: Prisma.SelectSubset<T, AdminCallSessionFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdminCallSessionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a AdminCallSession.
|
|
* @param {AdminCallSessionCreateArgs} args - Arguments to create a AdminCallSession.
|
|
* @example
|
|
* // Create one AdminCallSession
|
|
* const AdminCallSession = await prisma.adminCallSession.create({
|
|
* data: {
|
|
* // ... data to create a AdminCallSession
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends AdminCallSessionCreateArgs>(args: Prisma.SelectSubset<T, AdminCallSessionCreateArgs<ExtArgs>>): Prisma.Prisma__AdminCallSessionClient<runtime.Types.Result.GetResult<Prisma.$AdminCallSessionPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many AdminCallSessions.
|
|
* @param {AdminCallSessionCreateManyArgs} args - Arguments to create many AdminCallSessions.
|
|
* @example
|
|
* // Create many AdminCallSessions
|
|
* const adminCallSession = await prisma.adminCallSession.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends AdminCallSessionCreateManyArgs>(args?: Prisma.SelectSubset<T, AdminCallSessionCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create many AdminCallSessions and returns the data saved in the database.
|
|
* @param {AdminCallSessionCreateManyAndReturnArgs} args - Arguments to create many AdminCallSessions.
|
|
* @example
|
|
* // Create many AdminCallSessions
|
|
* const adminCallSession = await prisma.adminCallSession.createManyAndReturn({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Create many AdminCallSessions and only return the `id`
|
|
* const adminCallSessionWithIdOnly = await prisma.adminCallSession.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 AdminCallSessionCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, AdminCallSessionCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdminCallSessionPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Delete a AdminCallSession.
|
|
* @param {AdminCallSessionDeleteArgs} args - Arguments to delete one AdminCallSession.
|
|
* @example
|
|
* // Delete one AdminCallSession
|
|
* const AdminCallSession = await prisma.adminCallSession.delete({
|
|
* where: {
|
|
* // ... filter to delete one AdminCallSession
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends AdminCallSessionDeleteArgs>(args: Prisma.SelectSubset<T, AdminCallSessionDeleteArgs<ExtArgs>>): Prisma.Prisma__AdminCallSessionClient<runtime.Types.Result.GetResult<Prisma.$AdminCallSessionPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one AdminCallSession.
|
|
* @param {AdminCallSessionUpdateArgs} args - Arguments to update one AdminCallSession.
|
|
* @example
|
|
* // Update one AdminCallSession
|
|
* const adminCallSession = await prisma.adminCallSession.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends AdminCallSessionUpdateArgs>(args: Prisma.SelectSubset<T, AdminCallSessionUpdateArgs<ExtArgs>>): Prisma.Prisma__AdminCallSessionClient<runtime.Types.Result.GetResult<Prisma.$AdminCallSessionPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more AdminCallSessions.
|
|
* @param {AdminCallSessionDeleteManyArgs} args - Arguments to filter AdminCallSessions to delete.
|
|
* @example
|
|
* // Delete a few AdminCallSessions
|
|
* const { count } = await prisma.adminCallSession.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends AdminCallSessionDeleteManyArgs>(args?: Prisma.SelectSubset<T, AdminCallSessionDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more AdminCallSessions.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {AdminCallSessionUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many AdminCallSessions
|
|
* const adminCallSession = await prisma.adminCallSession.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends AdminCallSessionUpdateManyArgs>(args: Prisma.SelectSubset<T, AdminCallSessionUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more AdminCallSessions and returns the data updated in the database.
|
|
* @param {AdminCallSessionUpdateManyAndReturnArgs} args - Arguments to update many AdminCallSessions.
|
|
* @example
|
|
* // Update many AdminCallSessions
|
|
* const adminCallSession = await prisma.adminCallSession.updateManyAndReturn({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Update zero or more AdminCallSessions and only return the `id`
|
|
* const adminCallSessionWithIdOnly = await prisma.adminCallSession.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 AdminCallSessionUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, AdminCallSessionUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdminCallSessionPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create or update one AdminCallSession.
|
|
* @param {AdminCallSessionUpsertArgs} args - Arguments to update or create a AdminCallSession.
|
|
* @example
|
|
* // Update or create a AdminCallSession
|
|
* const adminCallSession = await prisma.adminCallSession.upsert({
|
|
* create: {
|
|
* // ... data to create a AdminCallSession
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the AdminCallSession we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends AdminCallSessionUpsertArgs>(args: Prisma.SelectSubset<T, AdminCallSessionUpsertArgs<ExtArgs>>): Prisma.Prisma__AdminCallSessionClient<runtime.Types.Result.GetResult<Prisma.$AdminCallSessionPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of AdminCallSessions.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {AdminCallSessionCountArgs} args - Arguments to filter AdminCallSessions to count.
|
|
* @example
|
|
* // Count the number of AdminCallSessions
|
|
* const count = await prisma.adminCallSession.count({
|
|
* where: {
|
|
* // ... the filter for the AdminCallSessions we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends AdminCallSessionCountArgs>(
|
|
args?: Prisma.Subset<T, AdminCallSessionCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], AdminCallSessionCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a AdminCallSession.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {AdminCallSessionAggregateArgs} 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 AdminCallSessionAggregateArgs>(args: Prisma.Subset<T, AdminCallSessionAggregateArgs>): Prisma.PrismaPromise<GetAdminCallSessionAggregateType<T>>
|
|
|
|
/**
|
|
* Group by AdminCallSession.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {AdminCallSessionGroupByArgs} 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 AdminCallSessionGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: AdminCallSessionGroupByArgs['orderBy'] }
|
|
: { orderBy?: AdminCallSessionGroupByArgs['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, AdminCallSessionGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAdminCallSessionGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the AdminCallSession model
|
|
*/
|
|
readonly fields: AdminCallSessionFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for AdminCallSession.
|
|
* 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__AdminCallSessionClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
phoneConnection<T extends Prisma.AdminPhoneConnectionDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AdminPhoneConnectionDefaultArgs<ExtArgs>>): Prisma.Prisma__AdminPhoneConnectionClient<runtime.Types.Result.GetResult<Prisma.$AdminPhoneConnectionPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
contact<T extends Prisma.AdminCallSession$contactArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AdminCallSession$contactArgs<ExtArgs>>): Prisma.Prisma__AdminContactClient<runtime.Types.Result.GetResult<Prisma.$AdminContactPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
lead<T extends Prisma.AdminCallSession$leadArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AdminCallSession$leadArgs<ExtArgs>>): Prisma.Prisma__AdminLeadClient<runtime.Types.Result.GetResult<Prisma.$AdminLeadPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
deal<T extends Prisma.AdminCallSession$dealArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AdminCallSession$dealArgs<ExtArgs>>): Prisma.Prisma__AdminDealClient<runtime.Types.Result.GetResult<Prisma.$AdminDealPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
disposition<T extends Prisma.AdminCallSession$dispositionArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AdminCallSession$dispositionArgs<ExtArgs>>): Prisma.Prisma__AdminCallDispositionClient<runtime.Types.Result.GetResult<Prisma.$AdminCallDispositionPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
callbackTask<T extends Prisma.AdminCallSession$callbackTaskArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AdminCallSession$callbackTaskArgs<ExtArgs>>): Prisma.Prisma__AdminTaskClient<runtime.Types.Result.GetResult<Prisma.$AdminTaskPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
participants<T extends Prisma.AdminCallSession$participantsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AdminCallSession$participantsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdminCallParticipantPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
events<T extends Prisma.AdminCallSession$eventsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AdminCallSession$eventsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdminCallEventPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
matchCandidates<T extends Prisma.AdminCallSession$matchCandidatesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AdminCallSession$matchCandidatesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdminCallMatchCandidatePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
recording<T extends Prisma.AdminCallSession$recordingArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AdminCallSession$recordingArgs<ExtArgs>>): Prisma.Prisma__AdminCallRecordingClient<runtime.Types.Result.GetResult<Prisma.$AdminCallRecordingPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
dialerEntry<T extends Prisma.AdminCallSession$dialerEntryArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AdminCallSession$dialerEntryArgs<ExtArgs>>): Prisma.Prisma__AdminDialerEntryClient<runtime.Types.Result.GetResult<Prisma.$AdminDialerEntryPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
activities<T extends Prisma.AdminCallSession$activitiesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AdminCallSession$activitiesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdminActivityPayload<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 AdminCallSession model
|
|
*/
|
|
export interface AdminCallSessionFieldRefs {
|
|
readonly id: Prisma.FieldRef<"AdminCallSession", 'String'>
|
|
readonly createdAt: Prisma.FieldRef<"AdminCallSession", 'DateTime'>
|
|
readonly updatedAt: Prisma.FieldRef<"AdminCallSession", 'DateTime'>
|
|
readonly adminUserId: Prisma.FieldRef<"AdminCallSession", 'String'>
|
|
readonly phoneConnectionId: Prisma.FieldRef<"AdminCallSession", 'String'>
|
|
readonly providerCallId: Prisma.FieldRef<"AdminCallSession", 'String'>
|
|
readonly direction: Prisma.FieldRef<"AdminCallSession", 'AdminCallDirection'>
|
|
readonly status: Prisma.FieldRef<"AdminCallSession", 'AdminCallStatus'>
|
|
readonly providerUserId: Prisma.FieldRef<"AdminCallSession", 'String'>
|
|
readonly fromNumber: Prisma.FieldRef<"AdminCallSession", 'String'>
|
|
readonly toNumber: Prisma.FieldRef<"AdminCallSession", 'String'>
|
|
readonly externalNumber: Prisma.FieldRef<"AdminCallSession", 'String'>
|
|
readonly startedAt: Prisma.FieldRef<"AdminCallSession", 'DateTime'>
|
|
readonly answeredAt: Prisma.FieldRef<"AdminCallSession", 'DateTime'>
|
|
readonly endedAt: Prisma.FieldRef<"AdminCallSession", 'DateTime'>
|
|
readonly durationSeconds: Prisma.FieldRef<"AdminCallSession", 'Int'>
|
|
readonly contactId: Prisma.FieldRef<"AdminCallSession", 'String'>
|
|
readonly leadId: Prisma.FieldRef<"AdminCallSession", 'String'>
|
|
readonly dealId: Prisma.FieldRef<"AdminCallSession", 'String'>
|
|
readonly matchStatus: Prisma.FieldRef<"AdminCallSession", 'AdminCallMatchStatus'>
|
|
readonly matchConfidenceBasisPoints: Prisma.FieldRef<"AdminCallSession", 'Int'>
|
|
readonly note: Prisma.FieldRef<"AdminCallSession", 'String'>
|
|
readonly dispositionId: Prisma.FieldRef<"AdminCallSession", 'String'>
|
|
readonly dispositionCodeSnapshot: Prisma.FieldRef<"AdminCallSession", 'String'>
|
|
readonly dispositionLabelSnapshot: Prisma.FieldRef<"AdminCallSession", 'String'>
|
|
readonly callbackTaskId: Prisma.FieldRef<"AdminCallSession", 'String'>
|
|
readonly recordingOffered: Prisma.FieldRef<"AdminCallSession", 'Boolean'>
|
|
readonly recordingConsentConfirmedAt: Prisma.FieldRef<"AdminCallSession", 'DateTime'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* AdminCallSession findUnique
|
|
*/
|
|
export type AdminCallSessionFindUniqueArgs<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
|
|
/**
|
|
* Filter, which AdminCallSession to fetch.
|
|
*/
|
|
where: Prisma.AdminCallSessionWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AdminCallSession findUniqueOrThrow
|
|
*/
|
|
export type AdminCallSessionFindUniqueOrThrowArgs<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
|
|
/**
|
|
* Filter, which AdminCallSession to fetch.
|
|
*/
|
|
where: Prisma.AdminCallSessionWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AdminCallSession findFirst
|
|
*/
|
|
export type AdminCallSessionFindFirstArgs<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
|
|
/**
|
|
* Filter, which AdminCallSession to fetch.
|
|
*/
|
|
where?: Prisma.AdminCallSessionWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of AdminCallSessions to fetch.
|
|
*/
|
|
orderBy?: Prisma.AdminCallSessionOrderByWithRelationInput | Prisma.AdminCallSessionOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for AdminCallSessions.
|
|
*/
|
|
cursor?: Prisma.AdminCallSessionWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` AdminCallSessions 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` AdminCallSessions.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of AdminCallSessions.
|
|
*/
|
|
distinct?: Prisma.AdminCallSessionScalarFieldEnum | Prisma.AdminCallSessionScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AdminCallSession findFirstOrThrow
|
|
*/
|
|
export type AdminCallSessionFindFirstOrThrowArgs<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
|
|
/**
|
|
* Filter, which AdminCallSession to fetch.
|
|
*/
|
|
where?: Prisma.AdminCallSessionWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of AdminCallSessions to fetch.
|
|
*/
|
|
orderBy?: Prisma.AdminCallSessionOrderByWithRelationInput | Prisma.AdminCallSessionOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for AdminCallSessions.
|
|
*/
|
|
cursor?: Prisma.AdminCallSessionWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` AdminCallSessions 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` AdminCallSessions.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of AdminCallSessions.
|
|
*/
|
|
distinct?: Prisma.AdminCallSessionScalarFieldEnum | Prisma.AdminCallSessionScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AdminCallSession findMany
|
|
*/
|
|
export type AdminCallSessionFindManyArgs<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
|
|
/**
|
|
* Filter, which AdminCallSessions to fetch.
|
|
*/
|
|
where?: Prisma.AdminCallSessionWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of AdminCallSessions to fetch.
|
|
*/
|
|
orderBy?: Prisma.AdminCallSessionOrderByWithRelationInput | Prisma.AdminCallSessionOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing AdminCallSessions.
|
|
*/
|
|
cursor?: Prisma.AdminCallSessionWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` AdminCallSessions 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` AdminCallSessions.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of AdminCallSessions.
|
|
*/
|
|
distinct?: Prisma.AdminCallSessionScalarFieldEnum | Prisma.AdminCallSessionScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AdminCallSession create
|
|
*/
|
|
export type AdminCallSessionCreateArgs<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
|
|
/**
|
|
* The data needed to create a AdminCallSession.
|
|
*/
|
|
data: Prisma.XOR<Prisma.AdminCallSessionCreateInput, Prisma.AdminCallSessionUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* AdminCallSession createMany
|
|
*/
|
|
export type AdminCallSessionCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many AdminCallSessions.
|
|
*/
|
|
data: Prisma.AdminCallSessionCreateManyInput | Prisma.AdminCallSessionCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* AdminCallSession createManyAndReturn
|
|
*/
|
|
export type AdminCallSessionCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminCallSession
|
|
*/
|
|
select?: Prisma.AdminCallSessionSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminCallSession
|
|
*/
|
|
omit?: Prisma.AdminCallSessionOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to create many AdminCallSessions.
|
|
*/
|
|
data: Prisma.AdminCallSessionCreateManyInput | Prisma.AdminCallSessionCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminCallSessionIncludeCreateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* AdminCallSession update
|
|
*/
|
|
export type AdminCallSessionUpdateArgs<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
|
|
/**
|
|
* The data needed to update a AdminCallSession.
|
|
*/
|
|
data: Prisma.XOR<Prisma.AdminCallSessionUpdateInput, Prisma.AdminCallSessionUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which AdminCallSession to update.
|
|
*/
|
|
where: Prisma.AdminCallSessionWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AdminCallSession updateMany
|
|
*/
|
|
export type AdminCallSessionUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update AdminCallSessions.
|
|
*/
|
|
data: Prisma.XOR<Prisma.AdminCallSessionUpdateManyMutationInput, Prisma.AdminCallSessionUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which AdminCallSessions to update
|
|
*/
|
|
where?: Prisma.AdminCallSessionWhereInput
|
|
/**
|
|
* Limit how many AdminCallSessions to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* AdminCallSession updateManyAndReturn
|
|
*/
|
|
export type AdminCallSessionUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminCallSession
|
|
*/
|
|
select?: Prisma.AdminCallSessionSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminCallSession
|
|
*/
|
|
omit?: Prisma.AdminCallSessionOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update AdminCallSessions.
|
|
*/
|
|
data: Prisma.XOR<Prisma.AdminCallSessionUpdateManyMutationInput, Prisma.AdminCallSessionUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which AdminCallSessions to update
|
|
*/
|
|
where?: Prisma.AdminCallSessionWhereInput
|
|
/**
|
|
* Limit how many AdminCallSessions to update.
|
|
*/
|
|
limit?: number
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminCallSessionIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* AdminCallSession upsert
|
|
*/
|
|
export type AdminCallSessionUpsertArgs<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
|
|
/**
|
|
* The filter to search for the AdminCallSession to update in case it exists.
|
|
*/
|
|
where: Prisma.AdminCallSessionWhereUniqueInput
|
|
/**
|
|
* In case the AdminCallSession found by the `where` argument doesn't exist, create a new AdminCallSession with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.AdminCallSessionCreateInput, Prisma.AdminCallSessionUncheckedCreateInput>
|
|
/**
|
|
* In case the AdminCallSession was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.AdminCallSessionUpdateInput, Prisma.AdminCallSessionUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* AdminCallSession delete
|
|
*/
|
|
export type AdminCallSessionDeleteArgs<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
|
|
/**
|
|
* Filter which AdminCallSession to delete.
|
|
*/
|
|
where: Prisma.AdminCallSessionWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AdminCallSession deleteMany
|
|
*/
|
|
export type AdminCallSessionDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which AdminCallSessions to delete
|
|
*/
|
|
where?: Prisma.AdminCallSessionWhereInput
|
|
/**
|
|
* Limit how many AdminCallSessions to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* AdminCallSession.contact
|
|
*/
|
|
export type AdminCallSession$contactArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminContact
|
|
*/
|
|
select?: Prisma.AdminContactSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminContact
|
|
*/
|
|
omit?: Prisma.AdminContactOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminContactInclude<ExtArgs> | null
|
|
where?: Prisma.AdminContactWhereInput
|
|
}
|
|
|
|
/**
|
|
* AdminCallSession.lead
|
|
*/
|
|
export type AdminCallSession$leadArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminLead
|
|
*/
|
|
select?: Prisma.AdminLeadSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminLead
|
|
*/
|
|
omit?: Prisma.AdminLeadOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminLeadInclude<ExtArgs> | null
|
|
where?: Prisma.AdminLeadWhereInput
|
|
}
|
|
|
|
/**
|
|
* AdminCallSession.deal
|
|
*/
|
|
export type AdminCallSession$dealArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminDeal
|
|
*/
|
|
select?: Prisma.AdminDealSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminDeal
|
|
*/
|
|
omit?: Prisma.AdminDealOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminDealInclude<ExtArgs> | null
|
|
where?: Prisma.AdminDealWhereInput
|
|
}
|
|
|
|
/**
|
|
* AdminCallSession.disposition
|
|
*/
|
|
export type AdminCallSession$dispositionArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminCallDisposition
|
|
*/
|
|
select?: Prisma.AdminCallDispositionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminCallDisposition
|
|
*/
|
|
omit?: Prisma.AdminCallDispositionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminCallDispositionInclude<ExtArgs> | null
|
|
where?: Prisma.AdminCallDispositionWhereInput
|
|
}
|
|
|
|
/**
|
|
* AdminCallSession.callbackTask
|
|
*/
|
|
export type AdminCallSession$callbackTaskArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminTask
|
|
*/
|
|
select?: Prisma.AdminTaskSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminTask
|
|
*/
|
|
omit?: Prisma.AdminTaskOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminTaskInclude<ExtArgs> | null
|
|
where?: Prisma.AdminTaskWhereInput
|
|
}
|
|
|
|
/**
|
|
* AdminCallSession.participants
|
|
*/
|
|
export type AdminCallSession$participantsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminCallParticipant
|
|
*/
|
|
select?: Prisma.AdminCallParticipantSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminCallParticipant
|
|
*/
|
|
omit?: Prisma.AdminCallParticipantOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminCallParticipantInclude<ExtArgs> | null
|
|
where?: Prisma.AdminCallParticipantWhereInput
|
|
orderBy?: Prisma.AdminCallParticipantOrderByWithRelationInput | Prisma.AdminCallParticipantOrderByWithRelationInput[]
|
|
cursor?: Prisma.AdminCallParticipantWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.AdminCallParticipantScalarFieldEnum | Prisma.AdminCallParticipantScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AdminCallSession.events
|
|
*/
|
|
export type AdminCallSession$eventsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminCallEvent
|
|
*/
|
|
select?: Prisma.AdminCallEventSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminCallEvent
|
|
*/
|
|
omit?: Prisma.AdminCallEventOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminCallEventInclude<ExtArgs> | null
|
|
where?: Prisma.AdminCallEventWhereInput
|
|
orderBy?: Prisma.AdminCallEventOrderByWithRelationInput | Prisma.AdminCallEventOrderByWithRelationInput[]
|
|
cursor?: Prisma.AdminCallEventWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.AdminCallEventScalarFieldEnum | Prisma.AdminCallEventScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AdminCallSession.matchCandidates
|
|
*/
|
|
export type AdminCallSession$matchCandidatesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminCallMatchCandidate
|
|
*/
|
|
select?: Prisma.AdminCallMatchCandidateSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminCallMatchCandidate
|
|
*/
|
|
omit?: Prisma.AdminCallMatchCandidateOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminCallMatchCandidateInclude<ExtArgs> | null
|
|
where?: Prisma.AdminCallMatchCandidateWhereInput
|
|
orderBy?: Prisma.AdminCallMatchCandidateOrderByWithRelationInput | Prisma.AdminCallMatchCandidateOrderByWithRelationInput[]
|
|
cursor?: Prisma.AdminCallMatchCandidateWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.AdminCallMatchCandidateScalarFieldEnum | Prisma.AdminCallMatchCandidateScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AdminCallSession.recording
|
|
*/
|
|
export type AdminCallSession$recordingArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminCallRecording
|
|
*/
|
|
select?: Prisma.AdminCallRecordingSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminCallRecording
|
|
*/
|
|
omit?: Prisma.AdminCallRecordingOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminCallRecordingInclude<ExtArgs> | null
|
|
where?: Prisma.AdminCallRecordingWhereInput
|
|
}
|
|
|
|
/**
|
|
* AdminCallSession.dialerEntry
|
|
*/
|
|
export type AdminCallSession$dialerEntryArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminDialerEntry
|
|
*/
|
|
select?: Prisma.AdminDialerEntrySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminDialerEntry
|
|
*/
|
|
omit?: Prisma.AdminDialerEntryOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminDialerEntryInclude<ExtArgs> | null
|
|
where?: Prisma.AdminDialerEntryWhereInput
|
|
}
|
|
|
|
/**
|
|
* AdminCallSession.activities
|
|
*/
|
|
export type AdminCallSession$activitiesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminActivity
|
|
*/
|
|
select?: Prisma.AdminActivitySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminActivity
|
|
*/
|
|
omit?: Prisma.AdminActivityOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminActivityInclude<ExtArgs> | null
|
|
where?: Prisma.AdminActivityWhereInput
|
|
orderBy?: Prisma.AdminActivityOrderByWithRelationInput | Prisma.AdminActivityOrderByWithRelationInput[]
|
|
cursor?: Prisma.AdminActivityWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.AdminActivityScalarFieldEnum | Prisma.AdminActivityScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AdminCallSession without action
|
|
*/
|
|
export type AdminCallSessionDefaultArgs<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
|
|
}
|