1821 lines
84 KiB
TypeScript
1821 lines
84 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 `AdminCallMatchCandidate` 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 AdminCallMatchCandidate
|
|
*
|
|
*/
|
|
export type AdminCallMatchCandidateModel = runtime.Types.Result.DefaultSelection<Prisma.$AdminCallMatchCandidatePayload>
|
|
|
|
export type AggregateAdminCallMatchCandidate = {
|
|
_count: AdminCallMatchCandidateCountAggregateOutputType | null
|
|
_avg: AdminCallMatchCandidateAvgAggregateOutputType | null
|
|
_sum: AdminCallMatchCandidateSumAggregateOutputType | null
|
|
_min: AdminCallMatchCandidateMinAggregateOutputType | null
|
|
_max: AdminCallMatchCandidateMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type AdminCallMatchCandidateAvgAggregateOutputType = {
|
|
confidenceBasisPoints: number | null
|
|
}
|
|
|
|
export type AdminCallMatchCandidateSumAggregateOutputType = {
|
|
confidenceBasisPoints: number | null
|
|
}
|
|
|
|
export type AdminCallMatchCandidateMinAggregateOutputType = {
|
|
id: string | null
|
|
createdAt: Date | null
|
|
adminUserId: string | null
|
|
callSessionId: string | null
|
|
contactId: string | null
|
|
leadId: string | null
|
|
confidenceBasisPoints: number | null
|
|
matchReason: string | null
|
|
}
|
|
|
|
export type AdminCallMatchCandidateMaxAggregateOutputType = {
|
|
id: string | null
|
|
createdAt: Date | null
|
|
adminUserId: string | null
|
|
callSessionId: string | null
|
|
contactId: string | null
|
|
leadId: string | null
|
|
confidenceBasisPoints: number | null
|
|
matchReason: string | null
|
|
}
|
|
|
|
export type AdminCallMatchCandidateCountAggregateOutputType = {
|
|
id: number
|
|
createdAt: number
|
|
adminUserId: number
|
|
callSessionId: number
|
|
contactId: number
|
|
leadId: number
|
|
confidenceBasisPoints: number
|
|
matchReason: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type AdminCallMatchCandidateAvgAggregateInputType = {
|
|
confidenceBasisPoints?: true
|
|
}
|
|
|
|
export type AdminCallMatchCandidateSumAggregateInputType = {
|
|
confidenceBasisPoints?: true
|
|
}
|
|
|
|
export type AdminCallMatchCandidateMinAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
adminUserId?: true
|
|
callSessionId?: true
|
|
contactId?: true
|
|
leadId?: true
|
|
confidenceBasisPoints?: true
|
|
matchReason?: true
|
|
}
|
|
|
|
export type AdminCallMatchCandidateMaxAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
adminUserId?: true
|
|
callSessionId?: true
|
|
contactId?: true
|
|
leadId?: true
|
|
confidenceBasisPoints?: true
|
|
matchReason?: true
|
|
}
|
|
|
|
export type AdminCallMatchCandidateCountAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
adminUserId?: true
|
|
callSessionId?: true
|
|
contactId?: true
|
|
leadId?: true
|
|
confidenceBasisPoints?: true
|
|
matchReason?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type AdminCallMatchCandidateAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which AdminCallMatchCandidate to aggregate.
|
|
*/
|
|
where?: Prisma.AdminCallMatchCandidateWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of AdminCallMatchCandidates to fetch.
|
|
*/
|
|
orderBy?: Prisma.AdminCallMatchCandidateOrderByWithRelationInput | Prisma.AdminCallMatchCandidateOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.AdminCallMatchCandidateWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` AdminCallMatchCandidates 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` AdminCallMatchCandidates.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned AdminCallMatchCandidates
|
|
**/
|
|
_count?: true | AdminCallMatchCandidateCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to average
|
|
**/
|
|
_avg?: AdminCallMatchCandidateAvgAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to sum
|
|
**/
|
|
_sum?: AdminCallMatchCandidateSumAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: AdminCallMatchCandidateMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: AdminCallMatchCandidateMaxAggregateInputType
|
|
}
|
|
|
|
export type GetAdminCallMatchCandidateAggregateType<T extends AdminCallMatchCandidateAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateAdminCallMatchCandidate]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateAdminCallMatchCandidate[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateAdminCallMatchCandidate[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AdminCallMatchCandidateGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.AdminCallMatchCandidateWhereInput
|
|
orderBy?: Prisma.AdminCallMatchCandidateOrderByWithAggregationInput | Prisma.AdminCallMatchCandidateOrderByWithAggregationInput[]
|
|
by: Prisma.AdminCallMatchCandidateScalarFieldEnum[] | Prisma.AdminCallMatchCandidateScalarFieldEnum
|
|
having?: Prisma.AdminCallMatchCandidateScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: AdminCallMatchCandidateCountAggregateInputType | true
|
|
_avg?: AdminCallMatchCandidateAvgAggregateInputType
|
|
_sum?: AdminCallMatchCandidateSumAggregateInputType
|
|
_min?: AdminCallMatchCandidateMinAggregateInputType
|
|
_max?: AdminCallMatchCandidateMaxAggregateInputType
|
|
}
|
|
|
|
export type AdminCallMatchCandidateGroupByOutputType = {
|
|
id: string
|
|
createdAt: Date
|
|
adminUserId: string
|
|
callSessionId: string
|
|
contactId: string | null
|
|
leadId: string | null
|
|
confidenceBasisPoints: number
|
|
matchReason: string
|
|
_count: AdminCallMatchCandidateCountAggregateOutputType | null
|
|
_avg: AdminCallMatchCandidateAvgAggregateOutputType | null
|
|
_sum: AdminCallMatchCandidateSumAggregateOutputType | null
|
|
_min: AdminCallMatchCandidateMinAggregateOutputType | null
|
|
_max: AdminCallMatchCandidateMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type GetAdminCallMatchCandidateGroupByPayload<T extends AdminCallMatchCandidateGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<AdminCallMatchCandidateGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof AdminCallMatchCandidateGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AdminCallMatchCandidateGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], AdminCallMatchCandidateGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type AdminCallMatchCandidateWhereInput = {
|
|
AND?: Prisma.AdminCallMatchCandidateWhereInput | Prisma.AdminCallMatchCandidateWhereInput[]
|
|
OR?: Prisma.AdminCallMatchCandidateWhereInput[]
|
|
NOT?: Prisma.AdminCallMatchCandidateWhereInput | Prisma.AdminCallMatchCandidateWhereInput[]
|
|
id?: Prisma.StringFilter<"AdminCallMatchCandidate"> | string
|
|
createdAt?: Prisma.DateTimeFilter<"AdminCallMatchCandidate"> | Date | string
|
|
adminUserId?: Prisma.StringFilter<"AdminCallMatchCandidate"> | string
|
|
callSessionId?: Prisma.StringFilter<"AdminCallMatchCandidate"> | string
|
|
contactId?: Prisma.StringNullableFilter<"AdminCallMatchCandidate"> | string | null
|
|
leadId?: Prisma.StringNullableFilter<"AdminCallMatchCandidate"> | string | null
|
|
confidenceBasisPoints?: Prisma.IntFilter<"AdminCallMatchCandidate"> | number
|
|
matchReason?: Prisma.StringFilter<"AdminCallMatchCandidate"> | string
|
|
callSession?: Prisma.XOR<Prisma.AdminCallSessionScalarRelationFilter, Prisma.AdminCallSessionWhereInput>
|
|
contact?: Prisma.XOR<Prisma.AdminContactNullableScalarRelationFilter, Prisma.AdminContactWhereInput> | null
|
|
lead?: Prisma.XOR<Prisma.AdminLeadNullableScalarRelationFilter, Prisma.AdminLeadWhereInput> | null
|
|
}
|
|
|
|
export type AdminCallMatchCandidateOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
adminUserId?: Prisma.SortOrder
|
|
callSessionId?: Prisma.SortOrder
|
|
contactId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
leadId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
confidenceBasisPoints?: Prisma.SortOrder
|
|
matchReason?: Prisma.SortOrder
|
|
callSession?: Prisma.AdminCallSessionOrderByWithRelationInput
|
|
contact?: Prisma.AdminContactOrderByWithRelationInput
|
|
lead?: Prisma.AdminLeadOrderByWithRelationInput
|
|
}
|
|
|
|
export type AdminCallMatchCandidateWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: string
|
|
admin_call_match_contact_key?: Prisma.AdminCallMatchCandidateAdmin_call_match_contact_keyCompoundUniqueInput
|
|
admin_call_match_lead_key?: Prisma.AdminCallMatchCandidateAdmin_call_match_lead_keyCompoundUniqueInput
|
|
AND?: Prisma.AdminCallMatchCandidateWhereInput | Prisma.AdminCallMatchCandidateWhereInput[]
|
|
OR?: Prisma.AdminCallMatchCandidateWhereInput[]
|
|
NOT?: Prisma.AdminCallMatchCandidateWhereInput | Prisma.AdminCallMatchCandidateWhereInput[]
|
|
createdAt?: Prisma.DateTimeFilter<"AdminCallMatchCandidate"> | Date | string
|
|
adminUserId?: Prisma.StringFilter<"AdminCallMatchCandidate"> | string
|
|
callSessionId?: Prisma.StringFilter<"AdminCallMatchCandidate"> | string
|
|
contactId?: Prisma.StringNullableFilter<"AdminCallMatchCandidate"> | string | null
|
|
leadId?: Prisma.StringNullableFilter<"AdminCallMatchCandidate"> | string | null
|
|
confidenceBasisPoints?: Prisma.IntFilter<"AdminCallMatchCandidate"> | number
|
|
matchReason?: Prisma.StringFilter<"AdminCallMatchCandidate"> | string
|
|
callSession?: Prisma.XOR<Prisma.AdminCallSessionScalarRelationFilter, Prisma.AdminCallSessionWhereInput>
|
|
contact?: Prisma.XOR<Prisma.AdminContactNullableScalarRelationFilter, Prisma.AdminContactWhereInput> | null
|
|
lead?: Prisma.XOR<Prisma.AdminLeadNullableScalarRelationFilter, Prisma.AdminLeadWhereInput> | null
|
|
}, "id" | "admin_call_match_contact_key" | "admin_call_match_lead_key">
|
|
|
|
export type AdminCallMatchCandidateOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
adminUserId?: Prisma.SortOrder
|
|
callSessionId?: Prisma.SortOrder
|
|
contactId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
leadId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
confidenceBasisPoints?: Prisma.SortOrder
|
|
matchReason?: Prisma.SortOrder
|
|
_count?: Prisma.AdminCallMatchCandidateCountOrderByAggregateInput
|
|
_avg?: Prisma.AdminCallMatchCandidateAvgOrderByAggregateInput
|
|
_max?: Prisma.AdminCallMatchCandidateMaxOrderByAggregateInput
|
|
_min?: Prisma.AdminCallMatchCandidateMinOrderByAggregateInput
|
|
_sum?: Prisma.AdminCallMatchCandidateSumOrderByAggregateInput
|
|
}
|
|
|
|
export type AdminCallMatchCandidateScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.AdminCallMatchCandidateScalarWhereWithAggregatesInput | Prisma.AdminCallMatchCandidateScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.AdminCallMatchCandidateScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.AdminCallMatchCandidateScalarWhereWithAggregatesInput | Prisma.AdminCallMatchCandidateScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.StringWithAggregatesFilter<"AdminCallMatchCandidate"> | string
|
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"AdminCallMatchCandidate"> | Date | string
|
|
adminUserId?: Prisma.StringWithAggregatesFilter<"AdminCallMatchCandidate"> | string
|
|
callSessionId?: Prisma.StringWithAggregatesFilter<"AdminCallMatchCandidate"> | string
|
|
contactId?: Prisma.StringNullableWithAggregatesFilter<"AdminCallMatchCandidate"> | string | null
|
|
leadId?: Prisma.StringNullableWithAggregatesFilter<"AdminCallMatchCandidate"> | string | null
|
|
confidenceBasisPoints?: Prisma.IntWithAggregatesFilter<"AdminCallMatchCandidate"> | number
|
|
matchReason?: Prisma.StringWithAggregatesFilter<"AdminCallMatchCandidate"> | string
|
|
}
|
|
|
|
export type AdminCallMatchCandidateCreateInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
adminUserId: string
|
|
confidenceBasisPoints: number
|
|
matchReason: string
|
|
callSession: Prisma.AdminCallSessionCreateNestedOneWithoutMatchCandidatesInput
|
|
contact?: Prisma.AdminContactCreateNestedOneWithoutCallMatchCandidatesInput
|
|
lead?: Prisma.AdminLeadCreateNestedOneWithoutCallMatchCandidatesInput
|
|
}
|
|
|
|
export type AdminCallMatchCandidateUncheckedCreateInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
adminUserId: string
|
|
callSessionId: string
|
|
contactId?: string | null
|
|
leadId?: string | null
|
|
confidenceBasisPoints: number
|
|
matchReason: string
|
|
}
|
|
|
|
export type AdminCallMatchCandidateUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
confidenceBasisPoints?: Prisma.IntFieldUpdateOperationsInput | number
|
|
matchReason?: Prisma.StringFieldUpdateOperationsInput | string
|
|
callSession?: Prisma.AdminCallSessionUpdateOneRequiredWithoutMatchCandidatesNestedInput
|
|
contact?: Prisma.AdminContactUpdateOneWithoutCallMatchCandidatesNestedInput
|
|
lead?: Prisma.AdminLeadUpdateOneWithoutCallMatchCandidatesNestedInput
|
|
}
|
|
|
|
export type AdminCallMatchCandidateUncheckedUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
callSessionId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
contactId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
leadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
confidenceBasisPoints?: Prisma.IntFieldUpdateOperationsInput | number
|
|
matchReason?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
export type AdminCallMatchCandidateCreateManyInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
adminUserId: string
|
|
callSessionId: string
|
|
contactId?: string | null
|
|
leadId?: string | null
|
|
confidenceBasisPoints: number
|
|
matchReason: string
|
|
}
|
|
|
|
export type AdminCallMatchCandidateUpdateManyMutationInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
confidenceBasisPoints?: Prisma.IntFieldUpdateOperationsInput | number
|
|
matchReason?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
export type AdminCallMatchCandidateUncheckedUpdateManyInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
callSessionId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
contactId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
leadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
confidenceBasisPoints?: Prisma.IntFieldUpdateOperationsInput | number
|
|
matchReason?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
export type AdminCallMatchCandidateListRelationFilter = {
|
|
every?: Prisma.AdminCallMatchCandidateWhereInput
|
|
some?: Prisma.AdminCallMatchCandidateWhereInput
|
|
none?: Prisma.AdminCallMatchCandidateWhereInput
|
|
}
|
|
|
|
export type AdminCallMatchCandidateOrderByRelationAggregateInput = {
|
|
_count?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AdminCallMatchCandidateAdmin_call_match_contact_keyCompoundUniqueInput = {
|
|
callSessionId: string
|
|
contactId: string
|
|
}
|
|
|
|
export type AdminCallMatchCandidateAdmin_call_match_lead_keyCompoundUniqueInput = {
|
|
callSessionId: string
|
|
leadId: string
|
|
}
|
|
|
|
export type AdminCallMatchCandidateCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
adminUserId?: Prisma.SortOrder
|
|
callSessionId?: Prisma.SortOrder
|
|
contactId?: Prisma.SortOrder
|
|
leadId?: Prisma.SortOrder
|
|
confidenceBasisPoints?: Prisma.SortOrder
|
|
matchReason?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AdminCallMatchCandidateAvgOrderByAggregateInput = {
|
|
confidenceBasisPoints?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AdminCallMatchCandidateMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
adminUserId?: Prisma.SortOrder
|
|
callSessionId?: Prisma.SortOrder
|
|
contactId?: Prisma.SortOrder
|
|
leadId?: Prisma.SortOrder
|
|
confidenceBasisPoints?: Prisma.SortOrder
|
|
matchReason?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AdminCallMatchCandidateMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
adminUserId?: Prisma.SortOrder
|
|
callSessionId?: Prisma.SortOrder
|
|
contactId?: Prisma.SortOrder
|
|
leadId?: Prisma.SortOrder
|
|
confidenceBasisPoints?: Prisma.SortOrder
|
|
matchReason?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AdminCallMatchCandidateSumOrderByAggregateInput = {
|
|
confidenceBasisPoints?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AdminCallMatchCandidateCreateNestedManyWithoutLeadInput = {
|
|
create?: Prisma.XOR<Prisma.AdminCallMatchCandidateCreateWithoutLeadInput, Prisma.AdminCallMatchCandidateUncheckedCreateWithoutLeadInput> | Prisma.AdminCallMatchCandidateCreateWithoutLeadInput[] | Prisma.AdminCallMatchCandidateUncheckedCreateWithoutLeadInput[]
|
|
connectOrCreate?: Prisma.AdminCallMatchCandidateCreateOrConnectWithoutLeadInput | Prisma.AdminCallMatchCandidateCreateOrConnectWithoutLeadInput[]
|
|
createMany?: Prisma.AdminCallMatchCandidateCreateManyLeadInputEnvelope
|
|
connect?: Prisma.AdminCallMatchCandidateWhereUniqueInput | Prisma.AdminCallMatchCandidateWhereUniqueInput[]
|
|
}
|
|
|
|
export type AdminCallMatchCandidateUncheckedCreateNestedManyWithoutLeadInput = {
|
|
create?: Prisma.XOR<Prisma.AdminCallMatchCandidateCreateWithoutLeadInput, Prisma.AdminCallMatchCandidateUncheckedCreateWithoutLeadInput> | Prisma.AdminCallMatchCandidateCreateWithoutLeadInput[] | Prisma.AdminCallMatchCandidateUncheckedCreateWithoutLeadInput[]
|
|
connectOrCreate?: Prisma.AdminCallMatchCandidateCreateOrConnectWithoutLeadInput | Prisma.AdminCallMatchCandidateCreateOrConnectWithoutLeadInput[]
|
|
createMany?: Prisma.AdminCallMatchCandidateCreateManyLeadInputEnvelope
|
|
connect?: Prisma.AdminCallMatchCandidateWhereUniqueInput | Prisma.AdminCallMatchCandidateWhereUniqueInput[]
|
|
}
|
|
|
|
export type AdminCallMatchCandidateUpdateManyWithoutLeadNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AdminCallMatchCandidateCreateWithoutLeadInput, Prisma.AdminCallMatchCandidateUncheckedCreateWithoutLeadInput> | Prisma.AdminCallMatchCandidateCreateWithoutLeadInput[] | Prisma.AdminCallMatchCandidateUncheckedCreateWithoutLeadInput[]
|
|
connectOrCreate?: Prisma.AdminCallMatchCandidateCreateOrConnectWithoutLeadInput | Prisma.AdminCallMatchCandidateCreateOrConnectWithoutLeadInput[]
|
|
upsert?: Prisma.AdminCallMatchCandidateUpsertWithWhereUniqueWithoutLeadInput | Prisma.AdminCallMatchCandidateUpsertWithWhereUniqueWithoutLeadInput[]
|
|
createMany?: Prisma.AdminCallMatchCandidateCreateManyLeadInputEnvelope
|
|
set?: Prisma.AdminCallMatchCandidateWhereUniqueInput | Prisma.AdminCallMatchCandidateWhereUniqueInput[]
|
|
disconnect?: Prisma.AdminCallMatchCandidateWhereUniqueInput | Prisma.AdminCallMatchCandidateWhereUniqueInput[]
|
|
delete?: Prisma.AdminCallMatchCandidateWhereUniqueInput | Prisma.AdminCallMatchCandidateWhereUniqueInput[]
|
|
connect?: Prisma.AdminCallMatchCandidateWhereUniqueInput | Prisma.AdminCallMatchCandidateWhereUniqueInput[]
|
|
update?: Prisma.AdminCallMatchCandidateUpdateWithWhereUniqueWithoutLeadInput | Prisma.AdminCallMatchCandidateUpdateWithWhereUniqueWithoutLeadInput[]
|
|
updateMany?: Prisma.AdminCallMatchCandidateUpdateManyWithWhereWithoutLeadInput | Prisma.AdminCallMatchCandidateUpdateManyWithWhereWithoutLeadInput[]
|
|
deleteMany?: Prisma.AdminCallMatchCandidateScalarWhereInput | Prisma.AdminCallMatchCandidateScalarWhereInput[]
|
|
}
|
|
|
|
export type AdminCallMatchCandidateUncheckedUpdateManyWithoutLeadNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AdminCallMatchCandidateCreateWithoutLeadInput, Prisma.AdminCallMatchCandidateUncheckedCreateWithoutLeadInput> | Prisma.AdminCallMatchCandidateCreateWithoutLeadInput[] | Prisma.AdminCallMatchCandidateUncheckedCreateWithoutLeadInput[]
|
|
connectOrCreate?: Prisma.AdminCallMatchCandidateCreateOrConnectWithoutLeadInput | Prisma.AdminCallMatchCandidateCreateOrConnectWithoutLeadInput[]
|
|
upsert?: Prisma.AdminCallMatchCandidateUpsertWithWhereUniqueWithoutLeadInput | Prisma.AdminCallMatchCandidateUpsertWithWhereUniqueWithoutLeadInput[]
|
|
createMany?: Prisma.AdminCallMatchCandidateCreateManyLeadInputEnvelope
|
|
set?: Prisma.AdminCallMatchCandidateWhereUniqueInput | Prisma.AdminCallMatchCandidateWhereUniqueInput[]
|
|
disconnect?: Prisma.AdminCallMatchCandidateWhereUniqueInput | Prisma.AdminCallMatchCandidateWhereUniqueInput[]
|
|
delete?: Prisma.AdminCallMatchCandidateWhereUniqueInput | Prisma.AdminCallMatchCandidateWhereUniqueInput[]
|
|
connect?: Prisma.AdminCallMatchCandidateWhereUniqueInput | Prisma.AdminCallMatchCandidateWhereUniqueInput[]
|
|
update?: Prisma.AdminCallMatchCandidateUpdateWithWhereUniqueWithoutLeadInput | Prisma.AdminCallMatchCandidateUpdateWithWhereUniqueWithoutLeadInput[]
|
|
updateMany?: Prisma.AdminCallMatchCandidateUpdateManyWithWhereWithoutLeadInput | Prisma.AdminCallMatchCandidateUpdateManyWithWhereWithoutLeadInput[]
|
|
deleteMany?: Prisma.AdminCallMatchCandidateScalarWhereInput | Prisma.AdminCallMatchCandidateScalarWhereInput[]
|
|
}
|
|
|
|
export type AdminCallMatchCandidateCreateNestedManyWithoutContactInput = {
|
|
create?: Prisma.XOR<Prisma.AdminCallMatchCandidateCreateWithoutContactInput, Prisma.AdminCallMatchCandidateUncheckedCreateWithoutContactInput> | Prisma.AdminCallMatchCandidateCreateWithoutContactInput[] | Prisma.AdminCallMatchCandidateUncheckedCreateWithoutContactInput[]
|
|
connectOrCreate?: Prisma.AdminCallMatchCandidateCreateOrConnectWithoutContactInput | Prisma.AdminCallMatchCandidateCreateOrConnectWithoutContactInput[]
|
|
createMany?: Prisma.AdminCallMatchCandidateCreateManyContactInputEnvelope
|
|
connect?: Prisma.AdminCallMatchCandidateWhereUniqueInput | Prisma.AdminCallMatchCandidateWhereUniqueInput[]
|
|
}
|
|
|
|
export type AdminCallMatchCandidateUncheckedCreateNestedManyWithoutContactInput = {
|
|
create?: Prisma.XOR<Prisma.AdminCallMatchCandidateCreateWithoutContactInput, Prisma.AdminCallMatchCandidateUncheckedCreateWithoutContactInput> | Prisma.AdminCallMatchCandidateCreateWithoutContactInput[] | Prisma.AdminCallMatchCandidateUncheckedCreateWithoutContactInput[]
|
|
connectOrCreate?: Prisma.AdminCallMatchCandidateCreateOrConnectWithoutContactInput | Prisma.AdminCallMatchCandidateCreateOrConnectWithoutContactInput[]
|
|
createMany?: Prisma.AdminCallMatchCandidateCreateManyContactInputEnvelope
|
|
connect?: Prisma.AdminCallMatchCandidateWhereUniqueInput | Prisma.AdminCallMatchCandidateWhereUniqueInput[]
|
|
}
|
|
|
|
export type AdminCallMatchCandidateUpdateManyWithoutContactNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AdminCallMatchCandidateCreateWithoutContactInput, Prisma.AdminCallMatchCandidateUncheckedCreateWithoutContactInput> | Prisma.AdminCallMatchCandidateCreateWithoutContactInput[] | Prisma.AdminCallMatchCandidateUncheckedCreateWithoutContactInput[]
|
|
connectOrCreate?: Prisma.AdminCallMatchCandidateCreateOrConnectWithoutContactInput | Prisma.AdminCallMatchCandidateCreateOrConnectWithoutContactInput[]
|
|
upsert?: Prisma.AdminCallMatchCandidateUpsertWithWhereUniqueWithoutContactInput | Prisma.AdminCallMatchCandidateUpsertWithWhereUniqueWithoutContactInput[]
|
|
createMany?: Prisma.AdminCallMatchCandidateCreateManyContactInputEnvelope
|
|
set?: Prisma.AdminCallMatchCandidateWhereUniqueInput | Prisma.AdminCallMatchCandidateWhereUniqueInput[]
|
|
disconnect?: Prisma.AdminCallMatchCandidateWhereUniqueInput | Prisma.AdminCallMatchCandidateWhereUniqueInput[]
|
|
delete?: Prisma.AdminCallMatchCandidateWhereUniqueInput | Prisma.AdminCallMatchCandidateWhereUniqueInput[]
|
|
connect?: Prisma.AdminCallMatchCandidateWhereUniqueInput | Prisma.AdminCallMatchCandidateWhereUniqueInput[]
|
|
update?: Prisma.AdminCallMatchCandidateUpdateWithWhereUniqueWithoutContactInput | Prisma.AdminCallMatchCandidateUpdateWithWhereUniqueWithoutContactInput[]
|
|
updateMany?: Prisma.AdminCallMatchCandidateUpdateManyWithWhereWithoutContactInput | Prisma.AdminCallMatchCandidateUpdateManyWithWhereWithoutContactInput[]
|
|
deleteMany?: Prisma.AdminCallMatchCandidateScalarWhereInput | Prisma.AdminCallMatchCandidateScalarWhereInput[]
|
|
}
|
|
|
|
export type AdminCallMatchCandidateUncheckedUpdateManyWithoutContactNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AdminCallMatchCandidateCreateWithoutContactInput, Prisma.AdminCallMatchCandidateUncheckedCreateWithoutContactInput> | Prisma.AdminCallMatchCandidateCreateWithoutContactInput[] | Prisma.AdminCallMatchCandidateUncheckedCreateWithoutContactInput[]
|
|
connectOrCreate?: Prisma.AdminCallMatchCandidateCreateOrConnectWithoutContactInput | Prisma.AdminCallMatchCandidateCreateOrConnectWithoutContactInput[]
|
|
upsert?: Prisma.AdminCallMatchCandidateUpsertWithWhereUniqueWithoutContactInput | Prisma.AdminCallMatchCandidateUpsertWithWhereUniqueWithoutContactInput[]
|
|
createMany?: Prisma.AdminCallMatchCandidateCreateManyContactInputEnvelope
|
|
set?: Prisma.AdminCallMatchCandidateWhereUniqueInput | Prisma.AdminCallMatchCandidateWhereUniqueInput[]
|
|
disconnect?: Prisma.AdminCallMatchCandidateWhereUniqueInput | Prisma.AdminCallMatchCandidateWhereUniqueInput[]
|
|
delete?: Prisma.AdminCallMatchCandidateWhereUniqueInput | Prisma.AdminCallMatchCandidateWhereUniqueInput[]
|
|
connect?: Prisma.AdminCallMatchCandidateWhereUniqueInput | Prisma.AdminCallMatchCandidateWhereUniqueInput[]
|
|
update?: Prisma.AdminCallMatchCandidateUpdateWithWhereUniqueWithoutContactInput | Prisma.AdminCallMatchCandidateUpdateWithWhereUniqueWithoutContactInput[]
|
|
updateMany?: Prisma.AdminCallMatchCandidateUpdateManyWithWhereWithoutContactInput | Prisma.AdminCallMatchCandidateUpdateManyWithWhereWithoutContactInput[]
|
|
deleteMany?: Prisma.AdminCallMatchCandidateScalarWhereInput | Prisma.AdminCallMatchCandidateScalarWhereInput[]
|
|
}
|
|
|
|
export type AdminCallMatchCandidateCreateNestedManyWithoutCallSessionInput = {
|
|
create?: Prisma.XOR<Prisma.AdminCallMatchCandidateCreateWithoutCallSessionInput, Prisma.AdminCallMatchCandidateUncheckedCreateWithoutCallSessionInput> | Prisma.AdminCallMatchCandidateCreateWithoutCallSessionInput[] | Prisma.AdminCallMatchCandidateUncheckedCreateWithoutCallSessionInput[]
|
|
connectOrCreate?: Prisma.AdminCallMatchCandidateCreateOrConnectWithoutCallSessionInput | Prisma.AdminCallMatchCandidateCreateOrConnectWithoutCallSessionInput[]
|
|
createMany?: Prisma.AdminCallMatchCandidateCreateManyCallSessionInputEnvelope
|
|
connect?: Prisma.AdminCallMatchCandidateWhereUniqueInput | Prisma.AdminCallMatchCandidateWhereUniqueInput[]
|
|
}
|
|
|
|
export type AdminCallMatchCandidateUncheckedCreateNestedManyWithoutCallSessionInput = {
|
|
create?: Prisma.XOR<Prisma.AdminCallMatchCandidateCreateWithoutCallSessionInput, Prisma.AdminCallMatchCandidateUncheckedCreateWithoutCallSessionInput> | Prisma.AdminCallMatchCandidateCreateWithoutCallSessionInput[] | Prisma.AdminCallMatchCandidateUncheckedCreateWithoutCallSessionInput[]
|
|
connectOrCreate?: Prisma.AdminCallMatchCandidateCreateOrConnectWithoutCallSessionInput | Prisma.AdminCallMatchCandidateCreateOrConnectWithoutCallSessionInput[]
|
|
createMany?: Prisma.AdminCallMatchCandidateCreateManyCallSessionInputEnvelope
|
|
connect?: Prisma.AdminCallMatchCandidateWhereUniqueInput | Prisma.AdminCallMatchCandidateWhereUniqueInput[]
|
|
}
|
|
|
|
export type AdminCallMatchCandidateUpdateManyWithoutCallSessionNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AdminCallMatchCandidateCreateWithoutCallSessionInput, Prisma.AdminCallMatchCandidateUncheckedCreateWithoutCallSessionInput> | Prisma.AdminCallMatchCandidateCreateWithoutCallSessionInput[] | Prisma.AdminCallMatchCandidateUncheckedCreateWithoutCallSessionInput[]
|
|
connectOrCreate?: Prisma.AdminCallMatchCandidateCreateOrConnectWithoutCallSessionInput | Prisma.AdminCallMatchCandidateCreateOrConnectWithoutCallSessionInput[]
|
|
upsert?: Prisma.AdminCallMatchCandidateUpsertWithWhereUniqueWithoutCallSessionInput | Prisma.AdminCallMatchCandidateUpsertWithWhereUniqueWithoutCallSessionInput[]
|
|
createMany?: Prisma.AdminCallMatchCandidateCreateManyCallSessionInputEnvelope
|
|
set?: Prisma.AdminCallMatchCandidateWhereUniqueInput | Prisma.AdminCallMatchCandidateWhereUniqueInput[]
|
|
disconnect?: Prisma.AdminCallMatchCandidateWhereUniqueInput | Prisma.AdminCallMatchCandidateWhereUniqueInput[]
|
|
delete?: Prisma.AdminCallMatchCandidateWhereUniqueInput | Prisma.AdminCallMatchCandidateWhereUniqueInput[]
|
|
connect?: Prisma.AdminCallMatchCandidateWhereUniqueInput | Prisma.AdminCallMatchCandidateWhereUniqueInput[]
|
|
update?: Prisma.AdminCallMatchCandidateUpdateWithWhereUniqueWithoutCallSessionInput | Prisma.AdminCallMatchCandidateUpdateWithWhereUniqueWithoutCallSessionInput[]
|
|
updateMany?: Prisma.AdminCallMatchCandidateUpdateManyWithWhereWithoutCallSessionInput | Prisma.AdminCallMatchCandidateUpdateManyWithWhereWithoutCallSessionInput[]
|
|
deleteMany?: Prisma.AdminCallMatchCandidateScalarWhereInput | Prisma.AdminCallMatchCandidateScalarWhereInput[]
|
|
}
|
|
|
|
export type AdminCallMatchCandidateUncheckedUpdateManyWithoutCallSessionNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AdminCallMatchCandidateCreateWithoutCallSessionInput, Prisma.AdminCallMatchCandidateUncheckedCreateWithoutCallSessionInput> | Prisma.AdminCallMatchCandidateCreateWithoutCallSessionInput[] | Prisma.AdminCallMatchCandidateUncheckedCreateWithoutCallSessionInput[]
|
|
connectOrCreate?: Prisma.AdminCallMatchCandidateCreateOrConnectWithoutCallSessionInput | Prisma.AdminCallMatchCandidateCreateOrConnectWithoutCallSessionInput[]
|
|
upsert?: Prisma.AdminCallMatchCandidateUpsertWithWhereUniqueWithoutCallSessionInput | Prisma.AdminCallMatchCandidateUpsertWithWhereUniqueWithoutCallSessionInput[]
|
|
createMany?: Prisma.AdminCallMatchCandidateCreateManyCallSessionInputEnvelope
|
|
set?: Prisma.AdminCallMatchCandidateWhereUniqueInput | Prisma.AdminCallMatchCandidateWhereUniqueInput[]
|
|
disconnect?: Prisma.AdminCallMatchCandidateWhereUniqueInput | Prisma.AdminCallMatchCandidateWhereUniqueInput[]
|
|
delete?: Prisma.AdminCallMatchCandidateWhereUniqueInput | Prisma.AdminCallMatchCandidateWhereUniqueInput[]
|
|
connect?: Prisma.AdminCallMatchCandidateWhereUniqueInput | Prisma.AdminCallMatchCandidateWhereUniqueInput[]
|
|
update?: Prisma.AdminCallMatchCandidateUpdateWithWhereUniqueWithoutCallSessionInput | Prisma.AdminCallMatchCandidateUpdateWithWhereUniqueWithoutCallSessionInput[]
|
|
updateMany?: Prisma.AdminCallMatchCandidateUpdateManyWithWhereWithoutCallSessionInput | Prisma.AdminCallMatchCandidateUpdateManyWithWhereWithoutCallSessionInput[]
|
|
deleteMany?: Prisma.AdminCallMatchCandidateScalarWhereInput | Prisma.AdminCallMatchCandidateScalarWhereInput[]
|
|
}
|
|
|
|
export type AdminCallMatchCandidateCreateWithoutLeadInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
adminUserId: string
|
|
confidenceBasisPoints: number
|
|
matchReason: string
|
|
callSession: Prisma.AdminCallSessionCreateNestedOneWithoutMatchCandidatesInput
|
|
contact?: Prisma.AdminContactCreateNestedOneWithoutCallMatchCandidatesInput
|
|
}
|
|
|
|
export type AdminCallMatchCandidateUncheckedCreateWithoutLeadInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
adminUserId: string
|
|
callSessionId: string
|
|
contactId?: string | null
|
|
confidenceBasisPoints: number
|
|
matchReason: string
|
|
}
|
|
|
|
export type AdminCallMatchCandidateCreateOrConnectWithoutLeadInput = {
|
|
where: Prisma.AdminCallMatchCandidateWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.AdminCallMatchCandidateCreateWithoutLeadInput, Prisma.AdminCallMatchCandidateUncheckedCreateWithoutLeadInput>
|
|
}
|
|
|
|
export type AdminCallMatchCandidateCreateManyLeadInputEnvelope = {
|
|
data: Prisma.AdminCallMatchCandidateCreateManyLeadInput | Prisma.AdminCallMatchCandidateCreateManyLeadInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type AdminCallMatchCandidateUpsertWithWhereUniqueWithoutLeadInput = {
|
|
where: Prisma.AdminCallMatchCandidateWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.AdminCallMatchCandidateUpdateWithoutLeadInput, Prisma.AdminCallMatchCandidateUncheckedUpdateWithoutLeadInput>
|
|
create: Prisma.XOR<Prisma.AdminCallMatchCandidateCreateWithoutLeadInput, Prisma.AdminCallMatchCandidateUncheckedCreateWithoutLeadInput>
|
|
}
|
|
|
|
export type AdminCallMatchCandidateUpdateWithWhereUniqueWithoutLeadInput = {
|
|
where: Prisma.AdminCallMatchCandidateWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.AdminCallMatchCandidateUpdateWithoutLeadInput, Prisma.AdminCallMatchCandidateUncheckedUpdateWithoutLeadInput>
|
|
}
|
|
|
|
export type AdminCallMatchCandidateUpdateManyWithWhereWithoutLeadInput = {
|
|
where: Prisma.AdminCallMatchCandidateScalarWhereInput
|
|
data: Prisma.XOR<Prisma.AdminCallMatchCandidateUpdateManyMutationInput, Prisma.AdminCallMatchCandidateUncheckedUpdateManyWithoutLeadInput>
|
|
}
|
|
|
|
export type AdminCallMatchCandidateScalarWhereInput = {
|
|
AND?: Prisma.AdminCallMatchCandidateScalarWhereInput | Prisma.AdminCallMatchCandidateScalarWhereInput[]
|
|
OR?: Prisma.AdminCallMatchCandidateScalarWhereInput[]
|
|
NOT?: Prisma.AdminCallMatchCandidateScalarWhereInput | Prisma.AdminCallMatchCandidateScalarWhereInput[]
|
|
id?: Prisma.StringFilter<"AdminCallMatchCandidate"> | string
|
|
createdAt?: Prisma.DateTimeFilter<"AdminCallMatchCandidate"> | Date | string
|
|
adminUserId?: Prisma.StringFilter<"AdminCallMatchCandidate"> | string
|
|
callSessionId?: Prisma.StringFilter<"AdminCallMatchCandidate"> | string
|
|
contactId?: Prisma.StringNullableFilter<"AdminCallMatchCandidate"> | string | null
|
|
leadId?: Prisma.StringNullableFilter<"AdminCallMatchCandidate"> | string | null
|
|
confidenceBasisPoints?: Prisma.IntFilter<"AdminCallMatchCandidate"> | number
|
|
matchReason?: Prisma.StringFilter<"AdminCallMatchCandidate"> | string
|
|
}
|
|
|
|
export type AdminCallMatchCandidateCreateWithoutContactInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
adminUserId: string
|
|
confidenceBasisPoints: number
|
|
matchReason: string
|
|
callSession: Prisma.AdminCallSessionCreateNestedOneWithoutMatchCandidatesInput
|
|
lead?: Prisma.AdminLeadCreateNestedOneWithoutCallMatchCandidatesInput
|
|
}
|
|
|
|
export type AdminCallMatchCandidateUncheckedCreateWithoutContactInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
adminUserId: string
|
|
callSessionId: string
|
|
leadId?: string | null
|
|
confidenceBasisPoints: number
|
|
matchReason: string
|
|
}
|
|
|
|
export type AdminCallMatchCandidateCreateOrConnectWithoutContactInput = {
|
|
where: Prisma.AdminCallMatchCandidateWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.AdminCallMatchCandidateCreateWithoutContactInput, Prisma.AdminCallMatchCandidateUncheckedCreateWithoutContactInput>
|
|
}
|
|
|
|
export type AdminCallMatchCandidateCreateManyContactInputEnvelope = {
|
|
data: Prisma.AdminCallMatchCandidateCreateManyContactInput | Prisma.AdminCallMatchCandidateCreateManyContactInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type AdminCallMatchCandidateUpsertWithWhereUniqueWithoutContactInput = {
|
|
where: Prisma.AdminCallMatchCandidateWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.AdminCallMatchCandidateUpdateWithoutContactInput, Prisma.AdminCallMatchCandidateUncheckedUpdateWithoutContactInput>
|
|
create: Prisma.XOR<Prisma.AdminCallMatchCandidateCreateWithoutContactInput, Prisma.AdminCallMatchCandidateUncheckedCreateWithoutContactInput>
|
|
}
|
|
|
|
export type AdminCallMatchCandidateUpdateWithWhereUniqueWithoutContactInput = {
|
|
where: Prisma.AdminCallMatchCandidateWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.AdminCallMatchCandidateUpdateWithoutContactInput, Prisma.AdminCallMatchCandidateUncheckedUpdateWithoutContactInput>
|
|
}
|
|
|
|
export type AdminCallMatchCandidateUpdateManyWithWhereWithoutContactInput = {
|
|
where: Prisma.AdminCallMatchCandidateScalarWhereInput
|
|
data: Prisma.XOR<Prisma.AdminCallMatchCandidateUpdateManyMutationInput, Prisma.AdminCallMatchCandidateUncheckedUpdateManyWithoutContactInput>
|
|
}
|
|
|
|
export type AdminCallMatchCandidateCreateWithoutCallSessionInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
adminUserId: string
|
|
confidenceBasisPoints: number
|
|
matchReason: string
|
|
contact?: Prisma.AdminContactCreateNestedOneWithoutCallMatchCandidatesInput
|
|
lead?: Prisma.AdminLeadCreateNestedOneWithoutCallMatchCandidatesInput
|
|
}
|
|
|
|
export type AdminCallMatchCandidateUncheckedCreateWithoutCallSessionInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
adminUserId: string
|
|
contactId?: string | null
|
|
leadId?: string | null
|
|
confidenceBasisPoints: number
|
|
matchReason: string
|
|
}
|
|
|
|
export type AdminCallMatchCandidateCreateOrConnectWithoutCallSessionInput = {
|
|
where: Prisma.AdminCallMatchCandidateWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.AdminCallMatchCandidateCreateWithoutCallSessionInput, Prisma.AdminCallMatchCandidateUncheckedCreateWithoutCallSessionInput>
|
|
}
|
|
|
|
export type AdminCallMatchCandidateCreateManyCallSessionInputEnvelope = {
|
|
data: Prisma.AdminCallMatchCandidateCreateManyCallSessionInput | Prisma.AdminCallMatchCandidateCreateManyCallSessionInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type AdminCallMatchCandidateUpsertWithWhereUniqueWithoutCallSessionInput = {
|
|
where: Prisma.AdminCallMatchCandidateWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.AdminCallMatchCandidateUpdateWithoutCallSessionInput, Prisma.AdminCallMatchCandidateUncheckedUpdateWithoutCallSessionInput>
|
|
create: Prisma.XOR<Prisma.AdminCallMatchCandidateCreateWithoutCallSessionInput, Prisma.AdminCallMatchCandidateUncheckedCreateWithoutCallSessionInput>
|
|
}
|
|
|
|
export type AdminCallMatchCandidateUpdateWithWhereUniqueWithoutCallSessionInput = {
|
|
where: Prisma.AdminCallMatchCandidateWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.AdminCallMatchCandidateUpdateWithoutCallSessionInput, Prisma.AdminCallMatchCandidateUncheckedUpdateWithoutCallSessionInput>
|
|
}
|
|
|
|
export type AdminCallMatchCandidateUpdateManyWithWhereWithoutCallSessionInput = {
|
|
where: Prisma.AdminCallMatchCandidateScalarWhereInput
|
|
data: Prisma.XOR<Prisma.AdminCallMatchCandidateUpdateManyMutationInput, Prisma.AdminCallMatchCandidateUncheckedUpdateManyWithoutCallSessionInput>
|
|
}
|
|
|
|
export type AdminCallMatchCandidateCreateManyLeadInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
adminUserId: string
|
|
callSessionId: string
|
|
contactId?: string | null
|
|
confidenceBasisPoints: number
|
|
matchReason: string
|
|
}
|
|
|
|
export type AdminCallMatchCandidateUpdateWithoutLeadInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
confidenceBasisPoints?: Prisma.IntFieldUpdateOperationsInput | number
|
|
matchReason?: Prisma.StringFieldUpdateOperationsInput | string
|
|
callSession?: Prisma.AdminCallSessionUpdateOneRequiredWithoutMatchCandidatesNestedInput
|
|
contact?: Prisma.AdminContactUpdateOneWithoutCallMatchCandidatesNestedInput
|
|
}
|
|
|
|
export type AdminCallMatchCandidateUncheckedUpdateWithoutLeadInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
callSessionId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
contactId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
confidenceBasisPoints?: Prisma.IntFieldUpdateOperationsInput | number
|
|
matchReason?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
export type AdminCallMatchCandidateUncheckedUpdateManyWithoutLeadInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
callSessionId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
contactId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
confidenceBasisPoints?: Prisma.IntFieldUpdateOperationsInput | number
|
|
matchReason?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
export type AdminCallMatchCandidateCreateManyContactInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
adminUserId: string
|
|
callSessionId: string
|
|
leadId?: string | null
|
|
confidenceBasisPoints: number
|
|
matchReason: string
|
|
}
|
|
|
|
export type AdminCallMatchCandidateUpdateWithoutContactInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
confidenceBasisPoints?: Prisma.IntFieldUpdateOperationsInput | number
|
|
matchReason?: Prisma.StringFieldUpdateOperationsInput | string
|
|
callSession?: Prisma.AdminCallSessionUpdateOneRequiredWithoutMatchCandidatesNestedInput
|
|
lead?: Prisma.AdminLeadUpdateOneWithoutCallMatchCandidatesNestedInput
|
|
}
|
|
|
|
export type AdminCallMatchCandidateUncheckedUpdateWithoutContactInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
callSessionId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
leadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
confidenceBasisPoints?: Prisma.IntFieldUpdateOperationsInput | number
|
|
matchReason?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
export type AdminCallMatchCandidateUncheckedUpdateManyWithoutContactInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
callSessionId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
leadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
confidenceBasisPoints?: Prisma.IntFieldUpdateOperationsInput | number
|
|
matchReason?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
export type AdminCallMatchCandidateCreateManyCallSessionInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
adminUserId: string
|
|
contactId?: string | null
|
|
leadId?: string | null
|
|
confidenceBasisPoints: number
|
|
matchReason: string
|
|
}
|
|
|
|
export type AdminCallMatchCandidateUpdateWithoutCallSessionInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
confidenceBasisPoints?: Prisma.IntFieldUpdateOperationsInput | number
|
|
matchReason?: Prisma.StringFieldUpdateOperationsInput | string
|
|
contact?: Prisma.AdminContactUpdateOneWithoutCallMatchCandidatesNestedInput
|
|
lead?: Prisma.AdminLeadUpdateOneWithoutCallMatchCandidatesNestedInput
|
|
}
|
|
|
|
export type AdminCallMatchCandidateUncheckedUpdateWithoutCallSessionInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
contactId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
leadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
confidenceBasisPoints?: Prisma.IntFieldUpdateOperationsInput | number
|
|
matchReason?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
export type AdminCallMatchCandidateUncheckedUpdateManyWithoutCallSessionInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
contactId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
leadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
confidenceBasisPoints?: Prisma.IntFieldUpdateOperationsInput | number
|
|
matchReason?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
|
|
|
|
export type AdminCallMatchCandidateSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
adminUserId?: boolean
|
|
callSessionId?: boolean
|
|
contactId?: boolean
|
|
leadId?: boolean
|
|
confidenceBasisPoints?: boolean
|
|
matchReason?: boolean
|
|
callSession?: boolean | Prisma.AdminCallSessionDefaultArgs<ExtArgs>
|
|
contact?: boolean | Prisma.AdminCallMatchCandidate$contactArgs<ExtArgs>
|
|
lead?: boolean | Prisma.AdminCallMatchCandidate$leadArgs<ExtArgs>
|
|
}, ExtArgs["result"]["adminCallMatchCandidate"]>
|
|
|
|
export type AdminCallMatchCandidateSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
adminUserId?: boolean
|
|
callSessionId?: boolean
|
|
contactId?: boolean
|
|
leadId?: boolean
|
|
confidenceBasisPoints?: boolean
|
|
matchReason?: boolean
|
|
callSession?: boolean | Prisma.AdminCallSessionDefaultArgs<ExtArgs>
|
|
contact?: boolean | Prisma.AdminCallMatchCandidate$contactArgs<ExtArgs>
|
|
lead?: boolean | Prisma.AdminCallMatchCandidate$leadArgs<ExtArgs>
|
|
}, ExtArgs["result"]["adminCallMatchCandidate"]>
|
|
|
|
export type AdminCallMatchCandidateSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
adminUserId?: boolean
|
|
callSessionId?: boolean
|
|
contactId?: boolean
|
|
leadId?: boolean
|
|
confidenceBasisPoints?: boolean
|
|
matchReason?: boolean
|
|
callSession?: boolean | Prisma.AdminCallSessionDefaultArgs<ExtArgs>
|
|
contact?: boolean | Prisma.AdminCallMatchCandidate$contactArgs<ExtArgs>
|
|
lead?: boolean | Prisma.AdminCallMatchCandidate$leadArgs<ExtArgs>
|
|
}, ExtArgs["result"]["adminCallMatchCandidate"]>
|
|
|
|
export type AdminCallMatchCandidateSelectScalar = {
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
adminUserId?: boolean
|
|
callSessionId?: boolean
|
|
contactId?: boolean
|
|
leadId?: boolean
|
|
confidenceBasisPoints?: boolean
|
|
matchReason?: boolean
|
|
}
|
|
|
|
export type AdminCallMatchCandidateOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "adminUserId" | "callSessionId" | "contactId" | "leadId" | "confidenceBasisPoints" | "matchReason", ExtArgs["result"]["adminCallMatchCandidate"]>
|
|
export type AdminCallMatchCandidateInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
callSession?: boolean | Prisma.AdminCallSessionDefaultArgs<ExtArgs>
|
|
contact?: boolean | Prisma.AdminCallMatchCandidate$contactArgs<ExtArgs>
|
|
lead?: boolean | Prisma.AdminCallMatchCandidate$leadArgs<ExtArgs>
|
|
}
|
|
export type AdminCallMatchCandidateIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
callSession?: boolean | Prisma.AdminCallSessionDefaultArgs<ExtArgs>
|
|
contact?: boolean | Prisma.AdminCallMatchCandidate$contactArgs<ExtArgs>
|
|
lead?: boolean | Prisma.AdminCallMatchCandidate$leadArgs<ExtArgs>
|
|
}
|
|
export type AdminCallMatchCandidateIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
callSession?: boolean | Prisma.AdminCallSessionDefaultArgs<ExtArgs>
|
|
contact?: boolean | Prisma.AdminCallMatchCandidate$contactArgs<ExtArgs>
|
|
lead?: boolean | Prisma.AdminCallMatchCandidate$leadArgs<ExtArgs>
|
|
}
|
|
|
|
export type $AdminCallMatchCandidatePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "AdminCallMatchCandidate"
|
|
objects: {
|
|
callSession: Prisma.$AdminCallSessionPayload<ExtArgs>
|
|
contact: Prisma.$AdminContactPayload<ExtArgs> | null
|
|
lead: Prisma.$AdminLeadPayload<ExtArgs> | null
|
|
}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: string
|
|
createdAt: Date
|
|
adminUserId: string
|
|
callSessionId: string
|
|
contactId: string | null
|
|
leadId: string | null
|
|
confidenceBasisPoints: number
|
|
matchReason: string
|
|
}, ExtArgs["result"]["adminCallMatchCandidate"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type AdminCallMatchCandidateGetPayload<S extends boolean | null | undefined | AdminCallMatchCandidateDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$AdminCallMatchCandidatePayload, S>
|
|
|
|
export type AdminCallMatchCandidateCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<AdminCallMatchCandidateFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: AdminCallMatchCandidateCountAggregateInputType | true
|
|
}
|
|
|
|
export interface AdminCallMatchCandidateDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['AdminCallMatchCandidate'], meta: { name: 'AdminCallMatchCandidate' } }
|
|
/**
|
|
* Find zero or one AdminCallMatchCandidate that matches the filter.
|
|
* @param {AdminCallMatchCandidateFindUniqueArgs} args - Arguments to find a AdminCallMatchCandidate
|
|
* @example
|
|
* // Get one AdminCallMatchCandidate
|
|
* const adminCallMatchCandidate = await prisma.adminCallMatchCandidate.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends AdminCallMatchCandidateFindUniqueArgs>(args: Prisma.SelectSubset<T, AdminCallMatchCandidateFindUniqueArgs<ExtArgs>>): Prisma.Prisma__AdminCallMatchCandidateClient<runtime.Types.Result.GetResult<Prisma.$AdminCallMatchCandidatePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one AdminCallMatchCandidate that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {AdminCallMatchCandidateFindUniqueOrThrowArgs} args - Arguments to find a AdminCallMatchCandidate
|
|
* @example
|
|
* // Get one AdminCallMatchCandidate
|
|
* const adminCallMatchCandidate = await prisma.adminCallMatchCandidate.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends AdminCallMatchCandidateFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, AdminCallMatchCandidateFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__AdminCallMatchCandidateClient<runtime.Types.Result.GetResult<Prisma.$AdminCallMatchCandidatePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first AdminCallMatchCandidate 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 {AdminCallMatchCandidateFindFirstArgs} args - Arguments to find a AdminCallMatchCandidate
|
|
* @example
|
|
* // Get one AdminCallMatchCandidate
|
|
* const adminCallMatchCandidate = await prisma.adminCallMatchCandidate.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends AdminCallMatchCandidateFindFirstArgs>(args?: Prisma.SelectSubset<T, AdminCallMatchCandidateFindFirstArgs<ExtArgs>>): Prisma.Prisma__AdminCallMatchCandidateClient<runtime.Types.Result.GetResult<Prisma.$AdminCallMatchCandidatePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first AdminCallMatchCandidate 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 {AdminCallMatchCandidateFindFirstOrThrowArgs} args - Arguments to find a AdminCallMatchCandidate
|
|
* @example
|
|
* // Get one AdminCallMatchCandidate
|
|
* const adminCallMatchCandidate = await prisma.adminCallMatchCandidate.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends AdminCallMatchCandidateFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, AdminCallMatchCandidateFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__AdminCallMatchCandidateClient<runtime.Types.Result.GetResult<Prisma.$AdminCallMatchCandidatePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more AdminCallMatchCandidates 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 {AdminCallMatchCandidateFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all AdminCallMatchCandidates
|
|
* const adminCallMatchCandidates = await prisma.adminCallMatchCandidate.findMany()
|
|
*
|
|
* // Get first 10 AdminCallMatchCandidates
|
|
* const adminCallMatchCandidates = await prisma.adminCallMatchCandidate.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const adminCallMatchCandidateWithIdOnly = await prisma.adminCallMatchCandidate.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends AdminCallMatchCandidateFindManyArgs>(args?: Prisma.SelectSubset<T, AdminCallMatchCandidateFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdminCallMatchCandidatePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a AdminCallMatchCandidate.
|
|
* @param {AdminCallMatchCandidateCreateArgs} args - Arguments to create a AdminCallMatchCandidate.
|
|
* @example
|
|
* // Create one AdminCallMatchCandidate
|
|
* const AdminCallMatchCandidate = await prisma.adminCallMatchCandidate.create({
|
|
* data: {
|
|
* // ... data to create a AdminCallMatchCandidate
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends AdminCallMatchCandidateCreateArgs>(args: Prisma.SelectSubset<T, AdminCallMatchCandidateCreateArgs<ExtArgs>>): Prisma.Prisma__AdminCallMatchCandidateClient<runtime.Types.Result.GetResult<Prisma.$AdminCallMatchCandidatePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many AdminCallMatchCandidates.
|
|
* @param {AdminCallMatchCandidateCreateManyArgs} args - Arguments to create many AdminCallMatchCandidates.
|
|
* @example
|
|
* // Create many AdminCallMatchCandidates
|
|
* const adminCallMatchCandidate = await prisma.adminCallMatchCandidate.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends AdminCallMatchCandidateCreateManyArgs>(args?: Prisma.SelectSubset<T, AdminCallMatchCandidateCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create many AdminCallMatchCandidates and returns the data saved in the database.
|
|
* @param {AdminCallMatchCandidateCreateManyAndReturnArgs} args - Arguments to create many AdminCallMatchCandidates.
|
|
* @example
|
|
* // Create many AdminCallMatchCandidates
|
|
* const adminCallMatchCandidate = await prisma.adminCallMatchCandidate.createManyAndReturn({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Create many AdminCallMatchCandidates and only return the `id`
|
|
* const adminCallMatchCandidateWithIdOnly = await prisma.adminCallMatchCandidate.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 AdminCallMatchCandidateCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, AdminCallMatchCandidateCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdminCallMatchCandidatePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Delete a AdminCallMatchCandidate.
|
|
* @param {AdminCallMatchCandidateDeleteArgs} args - Arguments to delete one AdminCallMatchCandidate.
|
|
* @example
|
|
* // Delete one AdminCallMatchCandidate
|
|
* const AdminCallMatchCandidate = await prisma.adminCallMatchCandidate.delete({
|
|
* where: {
|
|
* // ... filter to delete one AdminCallMatchCandidate
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends AdminCallMatchCandidateDeleteArgs>(args: Prisma.SelectSubset<T, AdminCallMatchCandidateDeleteArgs<ExtArgs>>): Prisma.Prisma__AdminCallMatchCandidateClient<runtime.Types.Result.GetResult<Prisma.$AdminCallMatchCandidatePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one AdminCallMatchCandidate.
|
|
* @param {AdminCallMatchCandidateUpdateArgs} args - Arguments to update one AdminCallMatchCandidate.
|
|
* @example
|
|
* // Update one AdminCallMatchCandidate
|
|
* const adminCallMatchCandidate = await prisma.adminCallMatchCandidate.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends AdminCallMatchCandidateUpdateArgs>(args: Prisma.SelectSubset<T, AdminCallMatchCandidateUpdateArgs<ExtArgs>>): Prisma.Prisma__AdminCallMatchCandidateClient<runtime.Types.Result.GetResult<Prisma.$AdminCallMatchCandidatePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more AdminCallMatchCandidates.
|
|
* @param {AdminCallMatchCandidateDeleteManyArgs} args - Arguments to filter AdminCallMatchCandidates to delete.
|
|
* @example
|
|
* // Delete a few AdminCallMatchCandidates
|
|
* const { count } = await prisma.adminCallMatchCandidate.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends AdminCallMatchCandidateDeleteManyArgs>(args?: Prisma.SelectSubset<T, AdminCallMatchCandidateDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more AdminCallMatchCandidates.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {AdminCallMatchCandidateUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many AdminCallMatchCandidates
|
|
* const adminCallMatchCandidate = await prisma.adminCallMatchCandidate.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends AdminCallMatchCandidateUpdateManyArgs>(args: Prisma.SelectSubset<T, AdminCallMatchCandidateUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more AdminCallMatchCandidates and returns the data updated in the database.
|
|
* @param {AdminCallMatchCandidateUpdateManyAndReturnArgs} args - Arguments to update many AdminCallMatchCandidates.
|
|
* @example
|
|
* // Update many AdminCallMatchCandidates
|
|
* const adminCallMatchCandidate = await prisma.adminCallMatchCandidate.updateManyAndReturn({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Update zero or more AdminCallMatchCandidates and only return the `id`
|
|
* const adminCallMatchCandidateWithIdOnly = await prisma.adminCallMatchCandidate.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 AdminCallMatchCandidateUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, AdminCallMatchCandidateUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdminCallMatchCandidatePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create or update one AdminCallMatchCandidate.
|
|
* @param {AdminCallMatchCandidateUpsertArgs} args - Arguments to update or create a AdminCallMatchCandidate.
|
|
* @example
|
|
* // Update or create a AdminCallMatchCandidate
|
|
* const adminCallMatchCandidate = await prisma.adminCallMatchCandidate.upsert({
|
|
* create: {
|
|
* // ... data to create a AdminCallMatchCandidate
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the AdminCallMatchCandidate we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends AdminCallMatchCandidateUpsertArgs>(args: Prisma.SelectSubset<T, AdminCallMatchCandidateUpsertArgs<ExtArgs>>): Prisma.Prisma__AdminCallMatchCandidateClient<runtime.Types.Result.GetResult<Prisma.$AdminCallMatchCandidatePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of AdminCallMatchCandidates.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {AdminCallMatchCandidateCountArgs} args - Arguments to filter AdminCallMatchCandidates to count.
|
|
* @example
|
|
* // Count the number of AdminCallMatchCandidates
|
|
* const count = await prisma.adminCallMatchCandidate.count({
|
|
* where: {
|
|
* // ... the filter for the AdminCallMatchCandidates we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends AdminCallMatchCandidateCountArgs>(
|
|
args?: Prisma.Subset<T, AdminCallMatchCandidateCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], AdminCallMatchCandidateCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a AdminCallMatchCandidate.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {AdminCallMatchCandidateAggregateArgs} 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 AdminCallMatchCandidateAggregateArgs>(args: Prisma.Subset<T, AdminCallMatchCandidateAggregateArgs>): Prisma.PrismaPromise<GetAdminCallMatchCandidateAggregateType<T>>
|
|
|
|
/**
|
|
* Group by AdminCallMatchCandidate.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {AdminCallMatchCandidateGroupByArgs} 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 AdminCallMatchCandidateGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: AdminCallMatchCandidateGroupByArgs['orderBy'] }
|
|
: { orderBy?: AdminCallMatchCandidateGroupByArgs['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, AdminCallMatchCandidateGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAdminCallMatchCandidateGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the AdminCallMatchCandidate model
|
|
*/
|
|
readonly fields: AdminCallMatchCandidateFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for AdminCallMatchCandidate.
|
|
* 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__AdminCallMatchCandidateClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
callSession<T extends Prisma.AdminCallSessionDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AdminCallSessionDefaultArgs<ExtArgs>>): Prisma.Prisma__AdminCallSessionClient<runtime.Types.Result.GetResult<Prisma.$AdminCallSessionPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
contact<T extends Prisma.AdminCallMatchCandidate$contactArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AdminCallMatchCandidate$contactArgs<ExtArgs>>): Prisma.Prisma__AdminContactClient<runtime.Types.Result.GetResult<Prisma.$AdminContactPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
lead<T extends Prisma.AdminCallMatchCandidate$leadArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AdminCallMatchCandidate$leadArgs<ExtArgs>>): Prisma.Prisma__AdminLeadClient<runtime.Types.Result.GetResult<Prisma.$AdminLeadPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
/**
|
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
* @returns A Promise for the completion of which ever callback is executed.
|
|
*/
|
|
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
|
|
/**
|
|
* Attaches a callback for only the rejection of the Promise.
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
/**
|
|
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
* resolved value cannot be modified from the callback.
|
|
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
* Fields of the AdminCallMatchCandidate model
|
|
*/
|
|
export interface AdminCallMatchCandidateFieldRefs {
|
|
readonly id: Prisma.FieldRef<"AdminCallMatchCandidate", 'String'>
|
|
readonly createdAt: Prisma.FieldRef<"AdminCallMatchCandidate", 'DateTime'>
|
|
readonly adminUserId: Prisma.FieldRef<"AdminCallMatchCandidate", 'String'>
|
|
readonly callSessionId: Prisma.FieldRef<"AdminCallMatchCandidate", 'String'>
|
|
readonly contactId: Prisma.FieldRef<"AdminCallMatchCandidate", 'String'>
|
|
readonly leadId: Prisma.FieldRef<"AdminCallMatchCandidate", 'String'>
|
|
readonly confidenceBasisPoints: Prisma.FieldRef<"AdminCallMatchCandidate", 'Int'>
|
|
readonly matchReason: Prisma.FieldRef<"AdminCallMatchCandidate", 'String'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* AdminCallMatchCandidate findUnique
|
|
*/
|
|
export type AdminCallMatchCandidateFindUniqueArgs<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
|
|
/**
|
|
* Filter, which AdminCallMatchCandidate to fetch.
|
|
*/
|
|
where: Prisma.AdminCallMatchCandidateWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AdminCallMatchCandidate findUniqueOrThrow
|
|
*/
|
|
export type AdminCallMatchCandidateFindUniqueOrThrowArgs<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
|
|
/**
|
|
* Filter, which AdminCallMatchCandidate to fetch.
|
|
*/
|
|
where: Prisma.AdminCallMatchCandidateWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AdminCallMatchCandidate findFirst
|
|
*/
|
|
export type AdminCallMatchCandidateFindFirstArgs<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
|
|
/**
|
|
* Filter, which AdminCallMatchCandidate to fetch.
|
|
*/
|
|
where?: Prisma.AdminCallMatchCandidateWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of AdminCallMatchCandidates to fetch.
|
|
*/
|
|
orderBy?: Prisma.AdminCallMatchCandidateOrderByWithRelationInput | Prisma.AdminCallMatchCandidateOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for AdminCallMatchCandidates.
|
|
*/
|
|
cursor?: Prisma.AdminCallMatchCandidateWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` AdminCallMatchCandidates 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` AdminCallMatchCandidates.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of AdminCallMatchCandidates.
|
|
*/
|
|
distinct?: Prisma.AdminCallMatchCandidateScalarFieldEnum | Prisma.AdminCallMatchCandidateScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AdminCallMatchCandidate findFirstOrThrow
|
|
*/
|
|
export type AdminCallMatchCandidateFindFirstOrThrowArgs<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
|
|
/**
|
|
* Filter, which AdminCallMatchCandidate to fetch.
|
|
*/
|
|
where?: Prisma.AdminCallMatchCandidateWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of AdminCallMatchCandidates to fetch.
|
|
*/
|
|
orderBy?: Prisma.AdminCallMatchCandidateOrderByWithRelationInput | Prisma.AdminCallMatchCandidateOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for AdminCallMatchCandidates.
|
|
*/
|
|
cursor?: Prisma.AdminCallMatchCandidateWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` AdminCallMatchCandidates 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` AdminCallMatchCandidates.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of AdminCallMatchCandidates.
|
|
*/
|
|
distinct?: Prisma.AdminCallMatchCandidateScalarFieldEnum | Prisma.AdminCallMatchCandidateScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AdminCallMatchCandidate findMany
|
|
*/
|
|
export type AdminCallMatchCandidateFindManyArgs<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
|
|
/**
|
|
* Filter, which AdminCallMatchCandidates to fetch.
|
|
*/
|
|
where?: Prisma.AdminCallMatchCandidateWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of AdminCallMatchCandidates to fetch.
|
|
*/
|
|
orderBy?: Prisma.AdminCallMatchCandidateOrderByWithRelationInput | Prisma.AdminCallMatchCandidateOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing AdminCallMatchCandidates.
|
|
*/
|
|
cursor?: Prisma.AdminCallMatchCandidateWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` AdminCallMatchCandidates 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` AdminCallMatchCandidates.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of AdminCallMatchCandidates.
|
|
*/
|
|
distinct?: Prisma.AdminCallMatchCandidateScalarFieldEnum | Prisma.AdminCallMatchCandidateScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AdminCallMatchCandidate create
|
|
*/
|
|
export type AdminCallMatchCandidateCreateArgs<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
|
|
/**
|
|
* The data needed to create a AdminCallMatchCandidate.
|
|
*/
|
|
data: Prisma.XOR<Prisma.AdminCallMatchCandidateCreateInput, Prisma.AdminCallMatchCandidateUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* AdminCallMatchCandidate createMany
|
|
*/
|
|
export type AdminCallMatchCandidateCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many AdminCallMatchCandidates.
|
|
*/
|
|
data: Prisma.AdminCallMatchCandidateCreateManyInput | Prisma.AdminCallMatchCandidateCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* AdminCallMatchCandidate createManyAndReturn
|
|
*/
|
|
export type AdminCallMatchCandidateCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminCallMatchCandidate
|
|
*/
|
|
select?: Prisma.AdminCallMatchCandidateSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminCallMatchCandidate
|
|
*/
|
|
omit?: Prisma.AdminCallMatchCandidateOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to create many AdminCallMatchCandidates.
|
|
*/
|
|
data: Prisma.AdminCallMatchCandidateCreateManyInput | Prisma.AdminCallMatchCandidateCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminCallMatchCandidateIncludeCreateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* AdminCallMatchCandidate update
|
|
*/
|
|
export type AdminCallMatchCandidateUpdateArgs<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
|
|
/**
|
|
* The data needed to update a AdminCallMatchCandidate.
|
|
*/
|
|
data: Prisma.XOR<Prisma.AdminCallMatchCandidateUpdateInput, Prisma.AdminCallMatchCandidateUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which AdminCallMatchCandidate to update.
|
|
*/
|
|
where: Prisma.AdminCallMatchCandidateWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AdminCallMatchCandidate updateMany
|
|
*/
|
|
export type AdminCallMatchCandidateUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update AdminCallMatchCandidates.
|
|
*/
|
|
data: Prisma.XOR<Prisma.AdminCallMatchCandidateUpdateManyMutationInput, Prisma.AdminCallMatchCandidateUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which AdminCallMatchCandidates to update
|
|
*/
|
|
where?: Prisma.AdminCallMatchCandidateWhereInput
|
|
/**
|
|
* Limit how many AdminCallMatchCandidates to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* AdminCallMatchCandidate updateManyAndReturn
|
|
*/
|
|
export type AdminCallMatchCandidateUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminCallMatchCandidate
|
|
*/
|
|
select?: Prisma.AdminCallMatchCandidateSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminCallMatchCandidate
|
|
*/
|
|
omit?: Prisma.AdminCallMatchCandidateOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update AdminCallMatchCandidates.
|
|
*/
|
|
data: Prisma.XOR<Prisma.AdminCallMatchCandidateUpdateManyMutationInput, Prisma.AdminCallMatchCandidateUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which AdminCallMatchCandidates to update
|
|
*/
|
|
where?: Prisma.AdminCallMatchCandidateWhereInput
|
|
/**
|
|
* Limit how many AdminCallMatchCandidates to update.
|
|
*/
|
|
limit?: number
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminCallMatchCandidateIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* AdminCallMatchCandidate upsert
|
|
*/
|
|
export type AdminCallMatchCandidateUpsertArgs<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
|
|
/**
|
|
* The filter to search for the AdminCallMatchCandidate to update in case it exists.
|
|
*/
|
|
where: Prisma.AdminCallMatchCandidateWhereUniqueInput
|
|
/**
|
|
* In case the AdminCallMatchCandidate found by the `where` argument doesn't exist, create a new AdminCallMatchCandidate with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.AdminCallMatchCandidateCreateInput, Prisma.AdminCallMatchCandidateUncheckedCreateInput>
|
|
/**
|
|
* In case the AdminCallMatchCandidate was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.AdminCallMatchCandidateUpdateInput, Prisma.AdminCallMatchCandidateUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* AdminCallMatchCandidate delete
|
|
*/
|
|
export type AdminCallMatchCandidateDeleteArgs<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
|
|
/**
|
|
* Filter which AdminCallMatchCandidate to delete.
|
|
*/
|
|
where: Prisma.AdminCallMatchCandidateWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AdminCallMatchCandidate deleteMany
|
|
*/
|
|
export type AdminCallMatchCandidateDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which AdminCallMatchCandidates to delete
|
|
*/
|
|
where?: Prisma.AdminCallMatchCandidateWhereInput
|
|
/**
|
|
* Limit how many AdminCallMatchCandidates to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* AdminCallMatchCandidate.contact
|
|
*/
|
|
export type AdminCallMatchCandidate$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
|
|
}
|
|
|
|
/**
|
|
* AdminCallMatchCandidate.lead
|
|
*/
|
|
export type AdminCallMatchCandidate$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
|
|
}
|
|
|
|
/**
|
|
* AdminCallMatchCandidate without action
|
|
*/
|
|
export type AdminCallMatchCandidateDefaultArgs<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
|
|
}
|