1769 lines
82 KiB
TypeScript
1769 lines
82 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 `AdminDuplicateCandidate` 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 AdminDuplicateCandidate
|
|
*
|
|
*/
|
|
export type AdminDuplicateCandidateModel = runtime.Types.Result.DefaultSelection<Prisma.$AdminDuplicateCandidatePayload>
|
|
|
|
export type AggregateAdminDuplicateCandidate = {
|
|
_count: AdminDuplicateCandidateCountAggregateOutputType | null
|
|
_avg: AdminDuplicateCandidateAvgAggregateOutputType | null
|
|
_sum: AdminDuplicateCandidateSumAggregateOutputType | null
|
|
_min: AdminDuplicateCandidateMinAggregateOutputType | null
|
|
_max: AdminDuplicateCandidateMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type AdminDuplicateCandidateAvgAggregateOutputType = {
|
|
confidenceBasisPoints: number | null
|
|
}
|
|
|
|
export type AdminDuplicateCandidateSumAggregateOutputType = {
|
|
confidenceBasisPoints: number | null
|
|
}
|
|
|
|
export type AdminDuplicateCandidateMinAggregateOutputType = {
|
|
id: string | null
|
|
createdAt: Date | null
|
|
updatedAt: Date | null
|
|
primaryLeadId: string | null
|
|
duplicateLeadId: string | null
|
|
status: $Enums.AdminDuplicateCandidateStatus | null
|
|
confidenceBasisPoints: number | null
|
|
resolvedAt: Date | null
|
|
resolvedByAdminUserId: string | null
|
|
resolutionReason: string | null
|
|
}
|
|
|
|
export type AdminDuplicateCandidateMaxAggregateOutputType = {
|
|
id: string | null
|
|
createdAt: Date | null
|
|
updatedAt: Date | null
|
|
primaryLeadId: string | null
|
|
duplicateLeadId: string | null
|
|
status: $Enums.AdminDuplicateCandidateStatus | null
|
|
confidenceBasisPoints: number | null
|
|
resolvedAt: Date | null
|
|
resolvedByAdminUserId: string | null
|
|
resolutionReason: string | null
|
|
}
|
|
|
|
export type AdminDuplicateCandidateCountAggregateOutputType = {
|
|
id: number
|
|
createdAt: number
|
|
updatedAt: number
|
|
primaryLeadId: number
|
|
duplicateLeadId: number
|
|
status: number
|
|
matchKeys: number
|
|
confidenceBasisPoints: number
|
|
resolvedAt: number
|
|
resolvedByAdminUserId: number
|
|
resolutionReason: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type AdminDuplicateCandidateAvgAggregateInputType = {
|
|
confidenceBasisPoints?: true
|
|
}
|
|
|
|
export type AdminDuplicateCandidateSumAggregateInputType = {
|
|
confidenceBasisPoints?: true
|
|
}
|
|
|
|
export type AdminDuplicateCandidateMinAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
primaryLeadId?: true
|
|
duplicateLeadId?: true
|
|
status?: true
|
|
confidenceBasisPoints?: true
|
|
resolvedAt?: true
|
|
resolvedByAdminUserId?: true
|
|
resolutionReason?: true
|
|
}
|
|
|
|
export type AdminDuplicateCandidateMaxAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
primaryLeadId?: true
|
|
duplicateLeadId?: true
|
|
status?: true
|
|
confidenceBasisPoints?: true
|
|
resolvedAt?: true
|
|
resolvedByAdminUserId?: true
|
|
resolutionReason?: true
|
|
}
|
|
|
|
export type AdminDuplicateCandidateCountAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
primaryLeadId?: true
|
|
duplicateLeadId?: true
|
|
status?: true
|
|
matchKeys?: true
|
|
confidenceBasisPoints?: true
|
|
resolvedAt?: true
|
|
resolvedByAdminUserId?: true
|
|
resolutionReason?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type AdminDuplicateCandidateAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which AdminDuplicateCandidate to aggregate.
|
|
*/
|
|
where?: Prisma.AdminDuplicateCandidateWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of AdminDuplicateCandidates to fetch.
|
|
*/
|
|
orderBy?: Prisma.AdminDuplicateCandidateOrderByWithRelationInput | Prisma.AdminDuplicateCandidateOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.AdminDuplicateCandidateWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` AdminDuplicateCandidates 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` AdminDuplicateCandidates.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned AdminDuplicateCandidates
|
|
**/
|
|
_count?: true | AdminDuplicateCandidateCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to average
|
|
**/
|
|
_avg?: AdminDuplicateCandidateAvgAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to sum
|
|
**/
|
|
_sum?: AdminDuplicateCandidateSumAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: AdminDuplicateCandidateMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: AdminDuplicateCandidateMaxAggregateInputType
|
|
}
|
|
|
|
export type GetAdminDuplicateCandidateAggregateType<T extends AdminDuplicateCandidateAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateAdminDuplicateCandidate]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateAdminDuplicateCandidate[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateAdminDuplicateCandidate[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AdminDuplicateCandidateGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.AdminDuplicateCandidateWhereInput
|
|
orderBy?: Prisma.AdminDuplicateCandidateOrderByWithAggregationInput | Prisma.AdminDuplicateCandidateOrderByWithAggregationInput[]
|
|
by: Prisma.AdminDuplicateCandidateScalarFieldEnum[] | Prisma.AdminDuplicateCandidateScalarFieldEnum
|
|
having?: Prisma.AdminDuplicateCandidateScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: AdminDuplicateCandidateCountAggregateInputType | true
|
|
_avg?: AdminDuplicateCandidateAvgAggregateInputType
|
|
_sum?: AdminDuplicateCandidateSumAggregateInputType
|
|
_min?: AdminDuplicateCandidateMinAggregateInputType
|
|
_max?: AdminDuplicateCandidateMaxAggregateInputType
|
|
}
|
|
|
|
export type AdminDuplicateCandidateGroupByOutputType = {
|
|
id: string
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
primaryLeadId: string
|
|
duplicateLeadId: string
|
|
status: $Enums.AdminDuplicateCandidateStatus
|
|
matchKeys: string[]
|
|
confidenceBasisPoints: number
|
|
resolvedAt: Date | null
|
|
resolvedByAdminUserId: string | null
|
|
resolutionReason: string | null
|
|
_count: AdminDuplicateCandidateCountAggregateOutputType | null
|
|
_avg: AdminDuplicateCandidateAvgAggregateOutputType | null
|
|
_sum: AdminDuplicateCandidateSumAggregateOutputType | null
|
|
_min: AdminDuplicateCandidateMinAggregateOutputType | null
|
|
_max: AdminDuplicateCandidateMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type GetAdminDuplicateCandidateGroupByPayload<T extends AdminDuplicateCandidateGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<AdminDuplicateCandidateGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof AdminDuplicateCandidateGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AdminDuplicateCandidateGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], AdminDuplicateCandidateGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type AdminDuplicateCandidateWhereInput = {
|
|
AND?: Prisma.AdminDuplicateCandidateWhereInput | Prisma.AdminDuplicateCandidateWhereInput[]
|
|
OR?: Prisma.AdminDuplicateCandidateWhereInput[]
|
|
NOT?: Prisma.AdminDuplicateCandidateWhereInput | Prisma.AdminDuplicateCandidateWhereInput[]
|
|
id?: Prisma.StringFilter<"AdminDuplicateCandidate"> | string
|
|
createdAt?: Prisma.DateTimeFilter<"AdminDuplicateCandidate"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"AdminDuplicateCandidate"> | Date | string
|
|
primaryLeadId?: Prisma.StringFilter<"AdminDuplicateCandidate"> | string
|
|
duplicateLeadId?: Prisma.StringFilter<"AdminDuplicateCandidate"> | string
|
|
status?: Prisma.EnumAdminDuplicateCandidateStatusFilter<"AdminDuplicateCandidate"> | $Enums.AdminDuplicateCandidateStatus
|
|
matchKeys?: Prisma.StringNullableListFilter<"AdminDuplicateCandidate">
|
|
confidenceBasisPoints?: Prisma.IntFilter<"AdminDuplicateCandidate"> | number
|
|
resolvedAt?: Prisma.DateTimeNullableFilter<"AdminDuplicateCandidate"> | Date | string | null
|
|
resolvedByAdminUserId?: Prisma.StringNullableFilter<"AdminDuplicateCandidate"> | string | null
|
|
resolutionReason?: Prisma.StringNullableFilter<"AdminDuplicateCandidate"> | string | null
|
|
primaryLead?: Prisma.XOR<Prisma.AdminLeadScalarRelationFilter, Prisma.AdminLeadWhereInput>
|
|
duplicateLead?: Prisma.XOR<Prisma.AdminLeadScalarRelationFilter, Prisma.AdminLeadWhereInput>
|
|
}
|
|
|
|
export type AdminDuplicateCandidateOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
primaryLeadId?: Prisma.SortOrder
|
|
duplicateLeadId?: Prisma.SortOrder
|
|
status?: Prisma.SortOrder
|
|
matchKeys?: Prisma.SortOrder
|
|
confidenceBasisPoints?: Prisma.SortOrder
|
|
resolvedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
resolvedByAdminUserId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
resolutionReason?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
primaryLead?: Prisma.AdminLeadOrderByWithRelationInput
|
|
duplicateLead?: Prisma.AdminLeadOrderByWithRelationInput
|
|
}
|
|
|
|
export type AdminDuplicateCandidateWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: string
|
|
admin_duplicate_candidate_pair_key?: Prisma.AdminDuplicateCandidateAdmin_duplicate_candidate_pair_keyCompoundUniqueInput
|
|
AND?: Prisma.AdminDuplicateCandidateWhereInput | Prisma.AdminDuplicateCandidateWhereInput[]
|
|
OR?: Prisma.AdminDuplicateCandidateWhereInput[]
|
|
NOT?: Prisma.AdminDuplicateCandidateWhereInput | Prisma.AdminDuplicateCandidateWhereInput[]
|
|
createdAt?: Prisma.DateTimeFilter<"AdminDuplicateCandidate"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"AdminDuplicateCandidate"> | Date | string
|
|
primaryLeadId?: Prisma.StringFilter<"AdminDuplicateCandidate"> | string
|
|
duplicateLeadId?: Prisma.StringFilter<"AdminDuplicateCandidate"> | string
|
|
status?: Prisma.EnumAdminDuplicateCandidateStatusFilter<"AdminDuplicateCandidate"> | $Enums.AdminDuplicateCandidateStatus
|
|
matchKeys?: Prisma.StringNullableListFilter<"AdminDuplicateCandidate">
|
|
confidenceBasisPoints?: Prisma.IntFilter<"AdminDuplicateCandidate"> | number
|
|
resolvedAt?: Prisma.DateTimeNullableFilter<"AdminDuplicateCandidate"> | Date | string | null
|
|
resolvedByAdminUserId?: Prisma.StringNullableFilter<"AdminDuplicateCandidate"> | string | null
|
|
resolutionReason?: Prisma.StringNullableFilter<"AdminDuplicateCandidate"> | string | null
|
|
primaryLead?: Prisma.XOR<Prisma.AdminLeadScalarRelationFilter, Prisma.AdminLeadWhereInput>
|
|
duplicateLead?: Prisma.XOR<Prisma.AdminLeadScalarRelationFilter, Prisma.AdminLeadWhereInput>
|
|
}, "id" | "admin_duplicate_candidate_pair_key">
|
|
|
|
export type AdminDuplicateCandidateOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
primaryLeadId?: Prisma.SortOrder
|
|
duplicateLeadId?: Prisma.SortOrder
|
|
status?: Prisma.SortOrder
|
|
matchKeys?: Prisma.SortOrder
|
|
confidenceBasisPoints?: Prisma.SortOrder
|
|
resolvedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
resolvedByAdminUserId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
resolutionReason?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
_count?: Prisma.AdminDuplicateCandidateCountOrderByAggregateInput
|
|
_avg?: Prisma.AdminDuplicateCandidateAvgOrderByAggregateInput
|
|
_max?: Prisma.AdminDuplicateCandidateMaxOrderByAggregateInput
|
|
_min?: Prisma.AdminDuplicateCandidateMinOrderByAggregateInput
|
|
_sum?: Prisma.AdminDuplicateCandidateSumOrderByAggregateInput
|
|
}
|
|
|
|
export type AdminDuplicateCandidateScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.AdminDuplicateCandidateScalarWhereWithAggregatesInput | Prisma.AdminDuplicateCandidateScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.AdminDuplicateCandidateScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.AdminDuplicateCandidateScalarWhereWithAggregatesInput | Prisma.AdminDuplicateCandidateScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.StringWithAggregatesFilter<"AdminDuplicateCandidate"> | string
|
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"AdminDuplicateCandidate"> | Date | string
|
|
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"AdminDuplicateCandidate"> | Date | string
|
|
primaryLeadId?: Prisma.StringWithAggregatesFilter<"AdminDuplicateCandidate"> | string
|
|
duplicateLeadId?: Prisma.StringWithAggregatesFilter<"AdminDuplicateCandidate"> | string
|
|
status?: Prisma.EnumAdminDuplicateCandidateStatusWithAggregatesFilter<"AdminDuplicateCandidate"> | $Enums.AdminDuplicateCandidateStatus
|
|
matchKeys?: Prisma.StringNullableListFilter<"AdminDuplicateCandidate">
|
|
confidenceBasisPoints?: Prisma.IntWithAggregatesFilter<"AdminDuplicateCandidate"> | number
|
|
resolvedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"AdminDuplicateCandidate"> | Date | string | null
|
|
resolvedByAdminUserId?: Prisma.StringNullableWithAggregatesFilter<"AdminDuplicateCandidate"> | string | null
|
|
resolutionReason?: Prisma.StringNullableWithAggregatesFilter<"AdminDuplicateCandidate"> | string | null
|
|
}
|
|
|
|
export type AdminDuplicateCandidateCreateInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
status?: $Enums.AdminDuplicateCandidateStatus
|
|
matchKeys?: Prisma.AdminDuplicateCandidateCreatematchKeysInput | string[]
|
|
confidenceBasisPoints: number
|
|
resolvedAt?: Date | string | null
|
|
resolvedByAdminUserId?: string | null
|
|
resolutionReason?: string | null
|
|
primaryLead: Prisma.AdminLeadCreateNestedOneWithoutDuplicateCandidatesPrimaryInput
|
|
duplicateLead: Prisma.AdminLeadCreateNestedOneWithoutDuplicateCandidatesSecondaryInput
|
|
}
|
|
|
|
export type AdminDuplicateCandidateUncheckedCreateInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
primaryLeadId: string
|
|
duplicateLeadId: string
|
|
status?: $Enums.AdminDuplicateCandidateStatus
|
|
matchKeys?: Prisma.AdminDuplicateCandidateCreatematchKeysInput | string[]
|
|
confidenceBasisPoints: number
|
|
resolvedAt?: Date | string | null
|
|
resolvedByAdminUserId?: string | null
|
|
resolutionReason?: string | null
|
|
}
|
|
|
|
export type AdminDuplicateCandidateUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
status?: Prisma.EnumAdminDuplicateCandidateStatusFieldUpdateOperationsInput | $Enums.AdminDuplicateCandidateStatus
|
|
matchKeys?: Prisma.AdminDuplicateCandidateUpdatematchKeysInput | string[]
|
|
confidenceBasisPoints?: Prisma.IntFieldUpdateOperationsInput | number
|
|
resolvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
resolvedByAdminUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
resolutionReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
primaryLead?: Prisma.AdminLeadUpdateOneRequiredWithoutDuplicateCandidatesPrimaryNestedInput
|
|
duplicateLead?: Prisma.AdminLeadUpdateOneRequiredWithoutDuplicateCandidatesSecondaryNestedInput
|
|
}
|
|
|
|
export type AdminDuplicateCandidateUncheckedUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
primaryLeadId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
duplicateLeadId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
status?: Prisma.EnumAdminDuplicateCandidateStatusFieldUpdateOperationsInput | $Enums.AdminDuplicateCandidateStatus
|
|
matchKeys?: Prisma.AdminDuplicateCandidateUpdatematchKeysInput | string[]
|
|
confidenceBasisPoints?: Prisma.IntFieldUpdateOperationsInput | number
|
|
resolvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
resolvedByAdminUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
resolutionReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
export type AdminDuplicateCandidateCreateManyInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
primaryLeadId: string
|
|
duplicateLeadId: string
|
|
status?: $Enums.AdminDuplicateCandidateStatus
|
|
matchKeys?: Prisma.AdminDuplicateCandidateCreatematchKeysInput | string[]
|
|
confidenceBasisPoints: number
|
|
resolvedAt?: Date | string | null
|
|
resolvedByAdminUserId?: string | null
|
|
resolutionReason?: string | null
|
|
}
|
|
|
|
export type AdminDuplicateCandidateUpdateManyMutationInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
status?: Prisma.EnumAdminDuplicateCandidateStatusFieldUpdateOperationsInput | $Enums.AdminDuplicateCandidateStatus
|
|
matchKeys?: Prisma.AdminDuplicateCandidateUpdatematchKeysInput | string[]
|
|
confidenceBasisPoints?: Prisma.IntFieldUpdateOperationsInput | number
|
|
resolvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
resolvedByAdminUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
resolutionReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
export type AdminDuplicateCandidateUncheckedUpdateManyInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
primaryLeadId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
duplicateLeadId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
status?: Prisma.EnumAdminDuplicateCandidateStatusFieldUpdateOperationsInput | $Enums.AdminDuplicateCandidateStatus
|
|
matchKeys?: Prisma.AdminDuplicateCandidateUpdatematchKeysInput | string[]
|
|
confidenceBasisPoints?: Prisma.IntFieldUpdateOperationsInput | number
|
|
resolvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
resolvedByAdminUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
resolutionReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
export type AdminDuplicateCandidateListRelationFilter = {
|
|
every?: Prisma.AdminDuplicateCandidateWhereInput
|
|
some?: Prisma.AdminDuplicateCandidateWhereInput
|
|
none?: Prisma.AdminDuplicateCandidateWhereInput
|
|
}
|
|
|
|
export type AdminDuplicateCandidateOrderByRelationAggregateInput = {
|
|
_count?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AdminDuplicateCandidateAdmin_duplicate_candidate_pair_keyCompoundUniqueInput = {
|
|
primaryLeadId: string
|
|
duplicateLeadId: string
|
|
}
|
|
|
|
export type AdminDuplicateCandidateCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
primaryLeadId?: Prisma.SortOrder
|
|
duplicateLeadId?: Prisma.SortOrder
|
|
status?: Prisma.SortOrder
|
|
matchKeys?: Prisma.SortOrder
|
|
confidenceBasisPoints?: Prisma.SortOrder
|
|
resolvedAt?: Prisma.SortOrder
|
|
resolvedByAdminUserId?: Prisma.SortOrder
|
|
resolutionReason?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AdminDuplicateCandidateAvgOrderByAggregateInput = {
|
|
confidenceBasisPoints?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AdminDuplicateCandidateMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
primaryLeadId?: Prisma.SortOrder
|
|
duplicateLeadId?: Prisma.SortOrder
|
|
status?: Prisma.SortOrder
|
|
confidenceBasisPoints?: Prisma.SortOrder
|
|
resolvedAt?: Prisma.SortOrder
|
|
resolvedByAdminUserId?: Prisma.SortOrder
|
|
resolutionReason?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AdminDuplicateCandidateMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
primaryLeadId?: Prisma.SortOrder
|
|
duplicateLeadId?: Prisma.SortOrder
|
|
status?: Prisma.SortOrder
|
|
confidenceBasisPoints?: Prisma.SortOrder
|
|
resolvedAt?: Prisma.SortOrder
|
|
resolvedByAdminUserId?: Prisma.SortOrder
|
|
resolutionReason?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AdminDuplicateCandidateSumOrderByAggregateInput = {
|
|
confidenceBasisPoints?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AdminDuplicateCandidateCreateNestedManyWithoutPrimaryLeadInput = {
|
|
create?: Prisma.XOR<Prisma.AdminDuplicateCandidateCreateWithoutPrimaryLeadInput, Prisma.AdminDuplicateCandidateUncheckedCreateWithoutPrimaryLeadInput> | Prisma.AdminDuplicateCandidateCreateWithoutPrimaryLeadInput[] | Prisma.AdminDuplicateCandidateUncheckedCreateWithoutPrimaryLeadInput[]
|
|
connectOrCreate?: Prisma.AdminDuplicateCandidateCreateOrConnectWithoutPrimaryLeadInput | Prisma.AdminDuplicateCandidateCreateOrConnectWithoutPrimaryLeadInput[]
|
|
createMany?: Prisma.AdminDuplicateCandidateCreateManyPrimaryLeadInputEnvelope
|
|
connect?: Prisma.AdminDuplicateCandidateWhereUniqueInput | Prisma.AdminDuplicateCandidateWhereUniqueInput[]
|
|
}
|
|
|
|
export type AdminDuplicateCandidateCreateNestedManyWithoutDuplicateLeadInput = {
|
|
create?: Prisma.XOR<Prisma.AdminDuplicateCandidateCreateWithoutDuplicateLeadInput, Prisma.AdminDuplicateCandidateUncheckedCreateWithoutDuplicateLeadInput> | Prisma.AdminDuplicateCandidateCreateWithoutDuplicateLeadInput[] | Prisma.AdminDuplicateCandidateUncheckedCreateWithoutDuplicateLeadInput[]
|
|
connectOrCreate?: Prisma.AdminDuplicateCandidateCreateOrConnectWithoutDuplicateLeadInput | Prisma.AdminDuplicateCandidateCreateOrConnectWithoutDuplicateLeadInput[]
|
|
createMany?: Prisma.AdminDuplicateCandidateCreateManyDuplicateLeadInputEnvelope
|
|
connect?: Prisma.AdminDuplicateCandidateWhereUniqueInput | Prisma.AdminDuplicateCandidateWhereUniqueInput[]
|
|
}
|
|
|
|
export type AdminDuplicateCandidateUncheckedCreateNestedManyWithoutPrimaryLeadInput = {
|
|
create?: Prisma.XOR<Prisma.AdminDuplicateCandidateCreateWithoutPrimaryLeadInput, Prisma.AdminDuplicateCandidateUncheckedCreateWithoutPrimaryLeadInput> | Prisma.AdminDuplicateCandidateCreateWithoutPrimaryLeadInput[] | Prisma.AdminDuplicateCandidateUncheckedCreateWithoutPrimaryLeadInput[]
|
|
connectOrCreate?: Prisma.AdminDuplicateCandidateCreateOrConnectWithoutPrimaryLeadInput | Prisma.AdminDuplicateCandidateCreateOrConnectWithoutPrimaryLeadInput[]
|
|
createMany?: Prisma.AdminDuplicateCandidateCreateManyPrimaryLeadInputEnvelope
|
|
connect?: Prisma.AdminDuplicateCandidateWhereUniqueInput | Prisma.AdminDuplicateCandidateWhereUniqueInput[]
|
|
}
|
|
|
|
export type AdminDuplicateCandidateUncheckedCreateNestedManyWithoutDuplicateLeadInput = {
|
|
create?: Prisma.XOR<Prisma.AdminDuplicateCandidateCreateWithoutDuplicateLeadInput, Prisma.AdminDuplicateCandidateUncheckedCreateWithoutDuplicateLeadInput> | Prisma.AdminDuplicateCandidateCreateWithoutDuplicateLeadInput[] | Prisma.AdminDuplicateCandidateUncheckedCreateWithoutDuplicateLeadInput[]
|
|
connectOrCreate?: Prisma.AdminDuplicateCandidateCreateOrConnectWithoutDuplicateLeadInput | Prisma.AdminDuplicateCandidateCreateOrConnectWithoutDuplicateLeadInput[]
|
|
createMany?: Prisma.AdminDuplicateCandidateCreateManyDuplicateLeadInputEnvelope
|
|
connect?: Prisma.AdminDuplicateCandidateWhereUniqueInput | Prisma.AdminDuplicateCandidateWhereUniqueInput[]
|
|
}
|
|
|
|
export type AdminDuplicateCandidateUpdateManyWithoutPrimaryLeadNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AdminDuplicateCandidateCreateWithoutPrimaryLeadInput, Prisma.AdminDuplicateCandidateUncheckedCreateWithoutPrimaryLeadInput> | Prisma.AdminDuplicateCandidateCreateWithoutPrimaryLeadInput[] | Prisma.AdminDuplicateCandidateUncheckedCreateWithoutPrimaryLeadInput[]
|
|
connectOrCreate?: Prisma.AdminDuplicateCandidateCreateOrConnectWithoutPrimaryLeadInput | Prisma.AdminDuplicateCandidateCreateOrConnectWithoutPrimaryLeadInput[]
|
|
upsert?: Prisma.AdminDuplicateCandidateUpsertWithWhereUniqueWithoutPrimaryLeadInput | Prisma.AdminDuplicateCandidateUpsertWithWhereUniqueWithoutPrimaryLeadInput[]
|
|
createMany?: Prisma.AdminDuplicateCandidateCreateManyPrimaryLeadInputEnvelope
|
|
set?: Prisma.AdminDuplicateCandidateWhereUniqueInput | Prisma.AdminDuplicateCandidateWhereUniqueInput[]
|
|
disconnect?: Prisma.AdminDuplicateCandidateWhereUniqueInput | Prisma.AdminDuplicateCandidateWhereUniqueInput[]
|
|
delete?: Prisma.AdminDuplicateCandidateWhereUniqueInput | Prisma.AdminDuplicateCandidateWhereUniqueInput[]
|
|
connect?: Prisma.AdminDuplicateCandidateWhereUniqueInput | Prisma.AdminDuplicateCandidateWhereUniqueInput[]
|
|
update?: Prisma.AdminDuplicateCandidateUpdateWithWhereUniqueWithoutPrimaryLeadInput | Prisma.AdminDuplicateCandidateUpdateWithWhereUniqueWithoutPrimaryLeadInput[]
|
|
updateMany?: Prisma.AdminDuplicateCandidateUpdateManyWithWhereWithoutPrimaryLeadInput | Prisma.AdminDuplicateCandidateUpdateManyWithWhereWithoutPrimaryLeadInput[]
|
|
deleteMany?: Prisma.AdminDuplicateCandidateScalarWhereInput | Prisma.AdminDuplicateCandidateScalarWhereInput[]
|
|
}
|
|
|
|
export type AdminDuplicateCandidateUpdateManyWithoutDuplicateLeadNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AdminDuplicateCandidateCreateWithoutDuplicateLeadInput, Prisma.AdminDuplicateCandidateUncheckedCreateWithoutDuplicateLeadInput> | Prisma.AdminDuplicateCandidateCreateWithoutDuplicateLeadInput[] | Prisma.AdminDuplicateCandidateUncheckedCreateWithoutDuplicateLeadInput[]
|
|
connectOrCreate?: Prisma.AdminDuplicateCandidateCreateOrConnectWithoutDuplicateLeadInput | Prisma.AdminDuplicateCandidateCreateOrConnectWithoutDuplicateLeadInput[]
|
|
upsert?: Prisma.AdminDuplicateCandidateUpsertWithWhereUniqueWithoutDuplicateLeadInput | Prisma.AdminDuplicateCandidateUpsertWithWhereUniqueWithoutDuplicateLeadInput[]
|
|
createMany?: Prisma.AdminDuplicateCandidateCreateManyDuplicateLeadInputEnvelope
|
|
set?: Prisma.AdminDuplicateCandidateWhereUniqueInput | Prisma.AdminDuplicateCandidateWhereUniqueInput[]
|
|
disconnect?: Prisma.AdminDuplicateCandidateWhereUniqueInput | Prisma.AdminDuplicateCandidateWhereUniqueInput[]
|
|
delete?: Prisma.AdminDuplicateCandidateWhereUniqueInput | Prisma.AdminDuplicateCandidateWhereUniqueInput[]
|
|
connect?: Prisma.AdminDuplicateCandidateWhereUniqueInput | Prisma.AdminDuplicateCandidateWhereUniqueInput[]
|
|
update?: Prisma.AdminDuplicateCandidateUpdateWithWhereUniqueWithoutDuplicateLeadInput | Prisma.AdminDuplicateCandidateUpdateWithWhereUniqueWithoutDuplicateLeadInput[]
|
|
updateMany?: Prisma.AdminDuplicateCandidateUpdateManyWithWhereWithoutDuplicateLeadInput | Prisma.AdminDuplicateCandidateUpdateManyWithWhereWithoutDuplicateLeadInput[]
|
|
deleteMany?: Prisma.AdminDuplicateCandidateScalarWhereInput | Prisma.AdminDuplicateCandidateScalarWhereInput[]
|
|
}
|
|
|
|
export type AdminDuplicateCandidateUncheckedUpdateManyWithoutPrimaryLeadNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AdminDuplicateCandidateCreateWithoutPrimaryLeadInput, Prisma.AdminDuplicateCandidateUncheckedCreateWithoutPrimaryLeadInput> | Prisma.AdminDuplicateCandidateCreateWithoutPrimaryLeadInput[] | Prisma.AdminDuplicateCandidateUncheckedCreateWithoutPrimaryLeadInput[]
|
|
connectOrCreate?: Prisma.AdminDuplicateCandidateCreateOrConnectWithoutPrimaryLeadInput | Prisma.AdminDuplicateCandidateCreateOrConnectWithoutPrimaryLeadInput[]
|
|
upsert?: Prisma.AdminDuplicateCandidateUpsertWithWhereUniqueWithoutPrimaryLeadInput | Prisma.AdminDuplicateCandidateUpsertWithWhereUniqueWithoutPrimaryLeadInput[]
|
|
createMany?: Prisma.AdminDuplicateCandidateCreateManyPrimaryLeadInputEnvelope
|
|
set?: Prisma.AdminDuplicateCandidateWhereUniqueInput | Prisma.AdminDuplicateCandidateWhereUniqueInput[]
|
|
disconnect?: Prisma.AdminDuplicateCandidateWhereUniqueInput | Prisma.AdminDuplicateCandidateWhereUniqueInput[]
|
|
delete?: Prisma.AdminDuplicateCandidateWhereUniqueInput | Prisma.AdminDuplicateCandidateWhereUniqueInput[]
|
|
connect?: Prisma.AdminDuplicateCandidateWhereUniqueInput | Prisma.AdminDuplicateCandidateWhereUniqueInput[]
|
|
update?: Prisma.AdminDuplicateCandidateUpdateWithWhereUniqueWithoutPrimaryLeadInput | Prisma.AdminDuplicateCandidateUpdateWithWhereUniqueWithoutPrimaryLeadInput[]
|
|
updateMany?: Prisma.AdminDuplicateCandidateUpdateManyWithWhereWithoutPrimaryLeadInput | Prisma.AdminDuplicateCandidateUpdateManyWithWhereWithoutPrimaryLeadInput[]
|
|
deleteMany?: Prisma.AdminDuplicateCandidateScalarWhereInput | Prisma.AdminDuplicateCandidateScalarWhereInput[]
|
|
}
|
|
|
|
export type AdminDuplicateCandidateUncheckedUpdateManyWithoutDuplicateLeadNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AdminDuplicateCandidateCreateWithoutDuplicateLeadInput, Prisma.AdminDuplicateCandidateUncheckedCreateWithoutDuplicateLeadInput> | Prisma.AdminDuplicateCandidateCreateWithoutDuplicateLeadInput[] | Prisma.AdminDuplicateCandidateUncheckedCreateWithoutDuplicateLeadInput[]
|
|
connectOrCreate?: Prisma.AdminDuplicateCandidateCreateOrConnectWithoutDuplicateLeadInput | Prisma.AdminDuplicateCandidateCreateOrConnectWithoutDuplicateLeadInput[]
|
|
upsert?: Prisma.AdminDuplicateCandidateUpsertWithWhereUniqueWithoutDuplicateLeadInput | Prisma.AdminDuplicateCandidateUpsertWithWhereUniqueWithoutDuplicateLeadInput[]
|
|
createMany?: Prisma.AdminDuplicateCandidateCreateManyDuplicateLeadInputEnvelope
|
|
set?: Prisma.AdminDuplicateCandidateWhereUniqueInput | Prisma.AdminDuplicateCandidateWhereUniqueInput[]
|
|
disconnect?: Prisma.AdminDuplicateCandidateWhereUniqueInput | Prisma.AdminDuplicateCandidateWhereUniqueInput[]
|
|
delete?: Prisma.AdminDuplicateCandidateWhereUniqueInput | Prisma.AdminDuplicateCandidateWhereUniqueInput[]
|
|
connect?: Prisma.AdminDuplicateCandidateWhereUniqueInput | Prisma.AdminDuplicateCandidateWhereUniqueInput[]
|
|
update?: Prisma.AdminDuplicateCandidateUpdateWithWhereUniqueWithoutDuplicateLeadInput | Prisma.AdminDuplicateCandidateUpdateWithWhereUniqueWithoutDuplicateLeadInput[]
|
|
updateMany?: Prisma.AdminDuplicateCandidateUpdateManyWithWhereWithoutDuplicateLeadInput | Prisma.AdminDuplicateCandidateUpdateManyWithWhereWithoutDuplicateLeadInput[]
|
|
deleteMany?: Prisma.AdminDuplicateCandidateScalarWhereInput | Prisma.AdminDuplicateCandidateScalarWhereInput[]
|
|
}
|
|
|
|
export type AdminDuplicateCandidateCreatematchKeysInput = {
|
|
set: string[]
|
|
}
|
|
|
|
export type EnumAdminDuplicateCandidateStatusFieldUpdateOperationsInput = {
|
|
set?: $Enums.AdminDuplicateCandidateStatus
|
|
}
|
|
|
|
export type AdminDuplicateCandidateUpdatematchKeysInput = {
|
|
set?: string[]
|
|
push?: string | string[]
|
|
}
|
|
|
|
export type AdminDuplicateCandidateCreateWithoutPrimaryLeadInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
status?: $Enums.AdminDuplicateCandidateStatus
|
|
matchKeys?: Prisma.AdminDuplicateCandidateCreatematchKeysInput | string[]
|
|
confidenceBasisPoints: number
|
|
resolvedAt?: Date | string | null
|
|
resolvedByAdminUserId?: string | null
|
|
resolutionReason?: string | null
|
|
duplicateLead: Prisma.AdminLeadCreateNestedOneWithoutDuplicateCandidatesSecondaryInput
|
|
}
|
|
|
|
export type AdminDuplicateCandidateUncheckedCreateWithoutPrimaryLeadInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
duplicateLeadId: string
|
|
status?: $Enums.AdminDuplicateCandidateStatus
|
|
matchKeys?: Prisma.AdminDuplicateCandidateCreatematchKeysInput | string[]
|
|
confidenceBasisPoints: number
|
|
resolvedAt?: Date | string | null
|
|
resolvedByAdminUserId?: string | null
|
|
resolutionReason?: string | null
|
|
}
|
|
|
|
export type AdminDuplicateCandidateCreateOrConnectWithoutPrimaryLeadInput = {
|
|
where: Prisma.AdminDuplicateCandidateWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.AdminDuplicateCandidateCreateWithoutPrimaryLeadInput, Prisma.AdminDuplicateCandidateUncheckedCreateWithoutPrimaryLeadInput>
|
|
}
|
|
|
|
export type AdminDuplicateCandidateCreateManyPrimaryLeadInputEnvelope = {
|
|
data: Prisma.AdminDuplicateCandidateCreateManyPrimaryLeadInput | Prisma.AdminDuplicateCandidateCreateManyPrimaryLeadInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type AdminDuplicateCandidateCreateWithoutDuplicateLeadInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
status?: $Enums.AdminDuplicateCandidateStatus
|
|
matchKeys?: Prisma.AdminDuplicateCandidateCreatematchKeysInput | string[]
|
|
confidenceBasisPoints: number
|
|
resolvedAt?: Date | string | null
|
|
resolvedByAdminUserId?: string | null
|
|
resolutionReason?: string | null
|
|
primaryLead: Prisma.AdminLeadCreateNestedOneWithoutDuplicateCandidatesPrimaryInput
|
|
}
|
|
|
|
export type AdminDuplicateCandidateUncheckedCreateWithoutDuplicateLeadInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
primaryLeadId: string
|
|
status?: $Enums.AdminDuplicateCandidateStatus
|
|
matchKeys?: Prisma.AdminDuplicateCandidateCreatematchKeysInput | string[]
|
|
confidenceBasisPoints: number
|
|
resolvedAt?: Date | string | null
|
|
resolvedByAdminUserId?: string | null
|
|
resolutionReason?: string | null
|
|
}
|
|
|
|
export type AdminDuplicateCandidateCreateOrConnectWithoutDuplicateLeadInput = {
|
|
where: Prisma.AdminDuplicateCandidateWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.AdminDuplicateCandidateCreateWithoutDuplicateLeadInput, Prisma.AdminDuplicateCandidateUncheckedCreateWithoutDuplicateLeadInput>
|
|
}
|
|
|
|
export type AdminDuplicateCandidateCreateManyDuplicateLeadInputEnvelope = {
|
|
data: Prisma.AdminDuplicateCandidateCreateManyDuplicateLeadInput | Prisma.AdminDuplicateCandidateCreateManyDuplicateLeadInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type AdminDuplicateCandidateUpsertWithWhereUniqueWithoutPrimaryLeadInput = {
|
|
where: Prisma.AdminDuplicateCandidateWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.AdminDuplicateCandidateUpdateWithoutPrimaryLeadInput, Prisma.AdminDuplicateCandidateUncheckedUpdateWithoutPrimaryLeadInput>
|
|
create: Prisma.XOR<Prisma.AdminDuplicateCandidateCreateWithoutPrimaryLeadInput, Prisma.AdminDuplicateCandidateUncheckedCreateWithoutPrimaryLeadInput>
|
|
}
|
|
|
|
export type AdminDuplicateCandidateUpdateWithWhereUniqueWithoutPrimaryLeadInput = {
|
|
where: Prisma.AdminDuplicateCandidateWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.AdminDuplicateCandidateUpdateWithoutPrimaryLeadInput, Prisma.AdminDuplicateCandidateUncheckedUpdateWithoutPrimaryLeadInput>
|
|
}
|
|
|
|
export type AdminDuplicateCandidateUpdateManyWithWhereWithoutPrimaryLeadInput = {
|
|
where: Prisma.AdminDuplicateCandidateScalarWhereInput
|
|
data: Prisma.XOR<Prisma.AdminDuplicateCandidateUpdateManyMutationInput, Prisma.AdminDuplicateCandidateUncheckedUpdateManyWithoutPrimaryLeadInput>
|
|
}
|
|
|
|
export type AdminDuplicateCandidateScalarWhereInput = {
|
|
AND?: Prisma.AdminDuplicateCandidateScalarWhereInput | Prisma.AdminDuplicateCandidateScalarWhereInput[]
|
|
OR?: Prisma.AdminDuplicateCandidateScalarWhereInput[]
|
|
NOT?: Prisma.AdminDuplicateCandidateScalarWhereInput | Prisma.AdminDuplicateCandidateScalarWhereInput[]
|
|
id?: Prisma.StringFilter<"AdminDuplicateCandidate"> | string
|
|
createdAt?: Prisma.DateTimeFilter<"AdminDuplicateCandidate"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"AdminDuplicateCandidate"> | Date | string
|
|
primaryLeadId?: Prisma.StringFilter<"AdminDuplicateCandidate"> | string
|
|
duplicateLeadId?: Prisma.StringFilter<"AdminDuplicateCandidate"> | string
|
|
status?: Prisma.EnumAdminDuplicateCandidateStatusFilter<"AdminDuplicateCandidate"> | $Enums.AdminDuplicateCandidateStatus
|
|
matchKeys?: Prisma.StringNullableListFilter<"AdminDuplicateCandidate">
|
|
confidenceBasisPoints?: Prisma.IntFilter<"AdminDuplicateCandidate"> | number
|
|
resolvedAt?: Prisma.DateTimeNullableFilter<"AdminDuplicateCandidate"> | Date | string | null
|
|
resolvedByAdminUserId?: Prisma.StringNullableFilter<"AdminDuplicateCandidate"> | string | null
|
|
resolutionReason?: Prisma.StringNullableFilter<"AdminDuplicateCandidate"> | string | null
|
|
}
|
|
|
|
export type AdminDuplicateCandidateUpsertWithWhereUniqueWithoutDuplicateLeadInput = {
|
|
where: Prisma.AdminDuplicateCandidateWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.AdminDuplicateCandidateUpdateWithoutDuplicateLeadInput, Prisma.AdminDuplicateCandidateUncheckedUpdateWithoutDuplicateLeadInput>
|
|
create: Prisma.XOR<Prisma.AdminDuplicateCandidateCreateWithoutDuplicateLeadInput, Prisma.AdminDuplicateCandidateUncheckedCreateWithoutDuplicateLeadInput>
|
|
}
|
|
|
|
export type AdminDuplicateCandidateUpdateWithWhereUniqueWithoutDuplicateLeadInput = {
|
|
where: Prisma.AdminDuplicateCandidateWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.AdminDuplicateCandidateUpdateWithoutDuplicateLeadInput, Prisma.AdminDuplicateCandidateUncheckedUpdateWithoutDuplicateLeadInput>
|
|
}
|
|
|
|
export type AdminDuplicateCandidateUpdateManyWithWhereWithoutDuplicateLeadInput = {
|
|
where: Prisma.AdminDuplicateCandidateScalarWhereInput
|
|
data: Prisma.XOR<Prisma.AdminDuplicateCandidateUpdateManyMutationInput, Prisma.AdminDuplicateCandidateUncheckedUpdateManyWithoutDuplicateLeadInput>
|
|
}
|
|
|
|
export type AdminDuplicateCandidateCreateManyPrimaryLeadInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
duplicateLeadId: string
|
|
status?: $Enums.AdminDuplicateCandidateStatus
|
|
matchKeys?: Prisma.AdminDuplicateCandidateCreatematchKeysInput | string[]
|
|
confidenceBasisPoints: number
|
|
resolvedAt?: Date | string | null
|
|
resolvedByAdminUserId?: string | null
|
|
resolutionReason?: string | null
|
|
}
|
|
|
|
export type AdminDuplicateCandidateCreateManyDuplicateLeadInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
primaryLeadId: string
|
|
status?: $Enums.AdminDuplicateCandidateStatus
|
|
matchKeys?: Prisma.AdminDuplicateCandidateCreatematchKeysInput | string[]
|
|
confidenceBasisPoints: number
|
|
resolvedAt?: Date | string | null
|
|
resolvedByAdminUserId?: string | null
|
|
resolutionReason?: string | null
|
|
}
|
|
|
|
export type AdminDuplicateCandidateUpdateWithoutPrimaryLeadInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
status?: Prisma.EnumAdminDuplicateCandidateStatusFieldUpdateOperationsInput | $Enums.AdminDuplicateCandidateStatus
|
|
matchKeys?: Prisma.AdminDuplicateCandidateUpdatematchKeysInput | string[]
|
|
confidenceBasisPoints?: Prisma.IntFieldUpdateOperationsInput | number
|
|
resolvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
resolvedByAdminUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
resolutionReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
duplicateLead?: Prisma.AdminLeadUpdateOneRequiredWithoutDuplicateCandidatesSecondaryNestedInput
|
|
}
|
|
|
|
export type AdminDuplicateCandidateUncheckedUpdateWithoutPrimaryLeadInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
duplicateLeadId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
status?: Prisma.EnumAdminDuplicateCandidateStatusFieldUpdateOperationsInput | $Enums.AdminDuplicateCandidateStatus
|
|
matchKeys?: Prisma.AdminDuplicateCandidateUpdatematchKeysInput | string[]
|
|
confidenceBasisPoints?: Prisma.IntFieldUpdateOperationsInput | number
|
|
resolvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
resolvedByAdminUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
resolutionReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
export type AdminDuplicateCandidateUncheckedUpdateManyWithoutPrimaryLeadInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
duplicateLeadId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
status?: Prisma.EnumAdminDuplicateCandidateStatusFieldUpdateOperationsInput | $Enums.AdminDuplicateCandidateStatus
|
|
matchKeys?: Prisma.AdminDuplicateCandidateUpdatematchKeysInput | string[]
|
|
confidenceBasisPoints?: Prisma.IntFieldUpdateOperationsInput | number
|
|
resolvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
resolvedByAdminUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
resolutionReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
export type AdminDuplicateCandidateUpdateWithoutDuplicateLeadInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
status?: Prisma.EnumAdminDuplicateCandidateStatusFieldUpdateOperationsInput | $Enums.AdminDuplicateCandidateStatus
|
|
matchKeys?: Prisma.AdminDuplicateCandidateUpdatematchKeysInput | string[]
|
|
confidenceBasisPoints?: Prisma.IntFieldUpdateOperationsInput | number
|
|
resolvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
resolvedByAdminUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
resolutionReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
primaryLead?: Prisma.AdminLeadUpdateOneRequiredWithoutDuplicateCandidatesPrimaryNestedInput
|
|
}
|
|
|
|
export type AdminDuplicateCandidateUncheckedUpdateWithoutDuplicateLeadInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
primaryLeadId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
status?: Prisma.EnumAdminDuplicateCandidateStatusFieldUpdateOperationsInput | $Enums.AdminDuplicateCandidateStatus
|
|
matchKeys?: Prisma.AdminDuplicateCandidateUpdatematchKeysInput | string[]
|
|
confidenceBasisPoints?: Prisma.IntFieldUpdateOperationsInput | number
|
|
resolvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
resolvedByAdminUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
resolutionReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
export type AdminDuplicateCandidateUncheckedUpdateManyWithoutDuplicateLeadInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
primaryLeadId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
status?: Prisma.EnumAdminDuplicateCandidateStatusFieldUpdateOperationsInput | $Enums.AdminDuplicateCandidateStatus
|
|
matchKeys?: Prisma.AdminDuplicateCandidateUpdatematchKeysInput | string[]
|
|
confidenceBasisPoints?: Prisma.IntFieldUpdateOperationsInput | number
|
|
resolvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
resolvedByAdminUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
resolutionReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
|
|
|
|
export type AdminDuplicateCandidateSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
primaryLeadId?: boolean
|
|
duplicateLeadId?: boolean
|
|
status?: boolean
|
|
matchKeys?: boolean
|
|
confidenceBasisPoints?: boolean
|
|
resolvedAt?: boolean
|
|
resolvedByAdminUserId?: boolean
|
|
resolutionReason?: boolean
|
|
primaryLead?: boolean | Prisma.AdminLeadDefaultArgs<ExtArgs>
|
|
duplicateLead?: boolean | Prisma.AdminLeadDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["adminDuplicateCandidate"]>
|
|
|
|
export type AdminDuplicateCandidateSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
primaryLeadId?: boolean
|
|
duplicateLeadId?: boolean
|
|
status?: boolean
|
|
matchKeys?: boolean
|
|
confidenceBasisPoints?: boolean
|
|
resolvedAt?: boolean
|
|
resolvedByAdminUserId?: boolean
|
|
resolutionReason?: boolean
|
|
primaryLead?: boolean | Prisma.AdminLeadDefaultArgs<ExtArgs>
|
|
duplicateLead?: boolean | Prisma.AdminLeadDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["adminDuplicateCandidate"]>
|
|
|
|
export type AdminDuplicateCandidateSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
primaryLeadId?: boolean
|
|
duplicateLeadId?: boolean
|
|
status?: boolean
|
|
matchKeys?: boolean
|
|
confidenceBasisPoints?: boolean
|
|
resolvedAt?: boolean
|
|
resolvedByAdminUserId?: boolean
|
|
resolutionReason?: boolean
|
|
primaryLead?: boolean | Prisma.AdminLeadDefaultArgs<ExtArgs>
|
|
duplicateLead?: boolean | Prisma.AdminLeadDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["adminDuplicateCandidate"]>
|
|
|
|
export type AdminDuplicateCandidateSelectScalar = {
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
primaryLeadId?: boolean
|
|
duplicateLeadId?: boolean
|
|
status?: boolean
|
|
matchKeys?: boolean
|
|
confidenceBasisPoints?: boolean
|
|
resolvedAt?: boolean
|
|
resolvedByAdminUserId?: boolean
|
|
resolutionReason?: boolean
|
|
}
|
|
|
|
export type AdminDuplicateCandidateOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "primaryLeadId" | "duplicateLeadId" | "status" | "matchKeys" | "confidenceBasisPoints" | "resolvedAt" | "resolvedByAdminUserId" | "resolutionReason", ExtArgs["result"]["adminDuplicateCandidate"]>
|
|
export type AdminDuplicateCandidateInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
primaryLead?: boolean | Prisma.AdminLeadDefaultArgs<ExtArgs>
|
|
duplicateLead?: boolean | Prisma.AdminLeadDefaultArgs<ExtArgs>
|
|
}
|
|
export type AdminDuplicateCandidateIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
primaryLead?: boolean | Prisma.AdminLeadDefaultArgs<ExtArgs>
|
|
duplicateLead?: boolean | Prisma.AdminLeadDefaultArgs<ExtArgs>
|
|
}
|
|
export type AdminDuplicateCandidateIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
primaryLead?: boolean | Prisma.AdminLeadDefaultArgs<ExtArgs>
|
|
duplicateLead?: boolean | Prisma.AdminLeadDefaultArgs<ExtArgs>
|
|
}
|
|
|
|
export type $AdminDuplicateCandidatePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "AdminDuplicateCandidate"
|
|
objects: {
|
|
primaryLead: Prisma.$AdminLeadPayload<ExtArgs>
|
|
duplicateLead: Prisma.$AdminLeadPayload<ExtArgs>
|
|
}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: string
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
primaryLeadId: string
|
|
duplicateLeadId: string
|
|
status: $Enums.AdminDuplicateCandidateStatus
|
|
matchKeys: string[]
|
|
confidenceBasisPoints: number
|
|
resolvedAt: Date | null
|
|
resolvedByAdminUserId: string | null
|
|
resolutionReason: string | null
|
|
}, ExtArgs["result"]["adminDuplicateCandidate"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type AdminDuplicateCandidateGetPayload<S extends boolean | null | undefined | AdminDuplicateCandidateDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$AdminDuplicateCandidatePayload, S>
|
|
|
|
export type AdminDuplicateCandidateCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<AdminDuplicateCandidateFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: AdminDuplicateCandidateCountAggregateInputType | true
|
|
}
|
|
|
|
export interface AdminDuplicateCandidateDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['AdminDuplicateCandidate'], meta: { name: 'AdminDuplicateCandidate' } }
|
|
/**
|
|
* Find zero or one AdminDuplicateCandidate that matches the filter.
|
|
* @param {AdminDuplicateCandidateFindUniqueArgs} args - Arguments to find a AdminDuplicateCandidate
|
|
* @example
|
|
* // Get one AdminDuplicateCandidate
|
|
* const adminDuplicateCandidate = await prisma.adminDuplicateCandidate.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends AdminDuplicateCandidateFindUniqueArgs>(args: Prisma.SelectSubset<T, AdminDuplicateCandidateFindUniqueArgs<ExtArgs>>): Prisma.Prisma__AdminDuplicateCandidateClient<runtime.Types.Result.GetResult<Prisma.$AdminDuplicateCandidatePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one AdminDuplicateCandidate that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {AdminDuplicateCandidateFindUniqueOrThrowArgs} args - Arguments to find a AdminDuplicateCandidate
|
|
* @example
|
|
* // Get one AdminDuplicateCandidate
|
|
* const adminDuplicateCandidate = await prisma.adminDuplicateCandidate.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends AdminDuplicateCandidateFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, AdminDuplicateCandidateFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__AdminDuplicateCandidateClient<runtime.Types.Result.GetResult<Prisma.$AdminDuplicateCandidatePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first AdminDuplicateCandidate 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 {AdminDuplicateCandidateFindFirstArgs} args - Arguments to find a AdminDuplicateCandidate
|
|
* @example
|
|
* // Get one AdminDuplicateCandidate
|
|
* const adminDuplicateCandidate = await prisma.adminDuplicateCandidate.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends AdminDuplicateCandidateFindFirstArgs>(args?: Prisma.SelectSubset<T, AdminDuplicateCandidateFindFirstArgs<ExtArgs>>): Prisma.Prisma__AdminDuplicateCandidateClient<runtime.Types.Result.GetResult<Prisma.$AdminDuplicateCandidatePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first AdminDuplicateCandidate 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 {AdminDuplicateCandidateFindFirstOrThrowArgs} args - Arguments to find a AdminDuplicateCandidate
|
|
* @example
|
|
* // Get one AdminDuplicateCandidate
|
|
* const adminDuplicateCandidate = await prisma.adminDuplicateCandidate.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends AdminDuplicateCandidateFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, AdminDuplicateCandidateFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__AdminDuplicateCandidateClient<runtime.Types.Result.GetResult<Prisma.$AdminDuplicateCandidatePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more AdminDuplicateCandidates 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 {AdminDuplicateCandidateFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all AdminDuplicateCandidates
|
|
* const adminDuplicateCandidates = await prisma.adminDuplicateCandidate.findMany()
|
|
*
|
|
* // Get first 10 AdminDuplicateCandidates
|
|
* const adminDuplicateCandidates = await prisma.adminDuplicateCandidate.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const adminDuplicateCandidateWithIdOnly = await prisma.adminDuplicateCandidate.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends AdminDuplicateCandidateFindManyArgs>(args?: Prisma.SelectSubset<T, AdminDuplicateCandidateFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdminDuplicateCandidatePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a AdminDuplicateCandidate.
|
|
* @param {AdminDuplicateCandidateCreateArgs} args - Arguments to create a AdminDuplicateCandidate.
|
|
* @example
|
|
* // Create one AdminDuplicateCandidate
|
|
* const AdminDuplicateCandidate = await prisma.adminDuplicateCandidate.create({
|
|
* data: {
|
|
* // ... data to create a AdminDuplicateCandidate
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends AdminDuplicateCandidateCreateArgs>(args: Prisma.SelectSubset<T, AdminDuplicateCandidateCreateArgs<ExtArgs>>): Prisma.Prisma__AdminDuplicateCandidateClient<runtime.Types.Result.GetResult<Prisma.$AdminDuplicateCandidatePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many AdminDuplicateCandidates.
|
|
* @param {AdminDuplicateCandidateCreateManyArgs} args - Arguments to create many AdminDuplicateCandidates.
|
|
* @example
|
|
* // Create many AdminDuplicateCandidates
|
|
* const adminDuplicateCandidate = await prisma.adminDuplicateCandidate.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends AdminDuplicateCandidateCreateManyArgs>(args?: Prisma.SelectSubset<T, AdminDuplicateCandidateCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create many AdminDuplicateCandidates and returns the data saved in the database.
|
|
* @param {AdminDuplicateCandidateCreateManyAndReturnArgs} args - Arguments to create many AdminDuplicateCandidates.
|
|
* @example
|
|
* // Create many AdminDuplicateCandidates
|
|
* const adminDuplicateCandidate = await prisma.adminDuplicateCandidate.createManyAndReturn({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Create many AdminDuplicateCandidates and only return the `id`
|
|
* const adminDuplicateCandidateWithIdOnly = await prisma.adminDuplicateCandidate.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 AdminDuplicateCandidateCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, AdminDuplicateCandidateCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdminDuplicateCandidatePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Delete a AdminDuplicateCandidate.
|
|
* @param {AdminDuplicateCandidateDeleteArgs} args - Arguments to delete one AdminDuplicateCandidate.
|
|
* @example
|
|
* // Delete one AdminDuplicateCandidate
|
|
* const AdminDuplicateCandidate = await prisma.adminDuplicateCandidate.delete({
|
|
* where: {
|
|
* // ... filter to delete one AdminDuplicateCandidate
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends AdminDuplicateCandidateDeleteArgs>(args: Prisma.SelectSubset<T, AdminDuplicateCandidateDeleteArgs<ExtArgs>>): Prisma.Prisma__AdminDuplicateCandidateClient<runtime.Types.Result.GetResult<Prisma.$AdminDuplicateCandidatePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one AdminDuplicateCandidate.
|
|
* @param {AdminDuplicateCandidateUpdateArgs} args - Arguments to update one AdminDuplicateCandidate.
|
|
* @example
|
|
* // Update one AdminDuplicateCandidate
|
|
* const adminDuplicateCandidate = await prisma.adminDuplicateCandidate.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends AdminDuplicateCandidateUpdateArgs>(args: Prisma.SelectSubset<T, AdminDuplicateCandidateUpdateArgs<ExtArgs>>): Prisma.Prisma__AdminDuplicateCandidateClient<runtime.Types.Result.GetResult<Prisma.$AdminDuplicateCandidatePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more AdminDuplicateCandidates.
|
|
* @param {AdminDuplicateCandidateDeleteManyArgs} args - Arguments to filter AdminDuplicateCandidates to delete.
|
|
* @example
|
|
* // Delete a few AdminDuplicateCandidates
|
|
* const { count } = await prisma.adminDuplicateCandidate.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends AdminDuplicateCandidateDeleteManyArgs>(args?: Prisma.SelectSubset<T, AdminDuplicateCandidateDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more AdminDuplicateCandidates.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {AdminDuplicateCandidateUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many AdminDuplicateCandidates
|
|
* const adminDuplicateCandidate = await prisma.adminDuplicateCandidate.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends AdminDuplicateCandidateUpdateManyArgs>(args: Prisma.SelectSubset<T, AdminDuplicateCandidateUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more AdminDuplicateCandidates and returns the data updated in the database.
|
|
* @param {AdminDuplicateCandidateUpdateManyAndReturnArgs} args - Arguments to update many AdminDuplicateCandidates.
|
|
* @example
|
|
* // Update many AdminDuplicateCandidates
|
|
* const adminDuplicateCandidate = await prisma.adminDuplicateCandidate.updateManyAndReturn({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Update zero or more AdminDuplicateCandidates and only return the `id`
|
|
* const adminDuplicateCandidateWithIdOnly = await prisma.adminDuplicateCandidate.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 AdminDuplicateCandidateUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, AdminDuplicateCandidateUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdminDuplicateCandidatePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create or update one AdminDuplicateCandidate.
|
|
* @param {AdminDuplicateCandidateUpsertArgs} args - Arguments to update or create a AdminDuplicateCandidate.
|
|
* @example
|
|
* // Update or create a AdminDuplicateCandidate
|
|
* const adminDuplicateCandidate = await prisma.adminDuplicateCandidate.upsert({
|
|
* create: {
|
|
* // ... data to create a AdminDuplicateCandidate
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the AdminDuplicateCandidate we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends AdminDuplicateCandidateUpsertArgs>(args: Prisma.SelectSubset<T, AdminDuplicateCandidateUpsertArgs<ExtArgs>>): Prisma.Prisma__AdminDuplicateCandidateClient<runtime.Types.Result.GetResult<Prisma.$AdminDuplicateCandidatePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of AdminDuplicateCandidates.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {AdminDuplicateCandidateCountArgs} args - Arguments to filter AdminDuplicateCandidates to count.
|
|
* @example
|
|
* // Count the number of AdminDuplicateCandidates
|
|
* const count = await prisma.adminDuplicateCandidate.count({
|
|
* where: {
|
|
* // ... the filter for the AdminDuplicateCandidates we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends AdminDuplicateCandidateCountArgs>(
|
|
args?: Prisma.Subset<T, AdminDuplicateCandidateCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], AdminDuplicateCandidateCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a AdminDuplicateCandidate.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {AdminDuplicateCandidateAggregateArgs} 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 AdminDuplicateCandidateAggregateArgs>(args: Prisma.Subset<T, AdminDuplicateCandidateAggregateArgs>): Prisma.PrismaPromise<GetAdminDuplicateCandidateAggregateType<T>>
|
|
|
|
/**
|
|
* Group by AdminDuplicateCandidate.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {AdminDuplicateCandidateGroupByArgs} 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 AdminDuplicateCandidateGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: AdminDuplicateCandidateGroupByArgs['orderBy'] }
|
|
: { orderBy?: AdminDuplicateCandidateGroupByArgs['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, AdminDuplicateCandidateGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAdminDuplicateCandidateGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the AdminDuplicateCandidate model
|
|
*/
|
|
readonly fields: AdminDuplicateCandidateFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for AdminDuplicateCandidate.
|
|
* 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__AdminDuplicateCandidateClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
primaryLead<T extends Prisma.AdminLeadDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AdminLeadDefaultArgs<ExtArgs>>): Prisma.Prisma__AdminLeadClient<runtime.Types.Result.GetResult<Prisma.$AdminLeadPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
duplicateLead<T extends Prisma.AdminLeadDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AdminLeadDefaultArgs<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 AdminDuplicateCandidate model
|
|
*/
|
|
export interface AdminDuplicateCandidateFieldRefs {
|
|
readonly id: Prisma.FieldRef<"AdminDuplicateCandidate", 'String'>
|
|
readonly createdAt: Prisma.FieldRef<"AdminDuplicateCandidate", 'DateTime'>
|
|
readonly updatedAt: Prisma.FieldRef<"AdminDuplicateCandidate", 'DateTime'>
|
|
readonly primaryLeadId: Prisma.FieldRef<"AdminDuplicateCandidate", 'String'>
|
|
readonly duplicateLeadId: Prisma.FieldRef<"AdminDuplicateCandidate", 'String'>
|
|
readonly status: Prisma.FieldRef<"AdminDuplicateCandidate", 'AdminDuplicateCandidateStatus'>
|
|
readonly matchKeys: Prisma.FieldRef<"AdminDuplicateCandidate", 'String[]'>
|
|
readonly confidenceBasisPoints: Prisma.FieldRef<"AdminDuplicateCandidate", 'Int'>
|
|
readonly resolvedAt: Prisma.FieldRef<"AdminDuplicateCandidate", 'DateTime'>
|
|
readonly resolvedByAdminUserId: Prisma.FieldRef<"AdminDuplicateCandidate", 'String'>
|
|
readonly resolutionReason: Prisma.FieldRef<"AdminDuplicateCandidate", 'String'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* AdminDuplicateCandidate findUnique
|
|
*/
|
|
export type AdminDuplicateCandidateFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminDuplicateCandidate
|
|
*/
|
|
select?: Prisma.AdminDuplicateCandidateSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminDuplicateCandidate
|
|
*/
|
|
omit?: Prisma.AdminDuplicateCandidateOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminDuplicateCandidateInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which AdminDuplicateCandidate to fetch.
|
|
*/
|
|
where: Prisma.AdminDuplicateCandidateWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AdminDuplicateCandidate findUniqueOrThrow
|
|
*/
|
|
export type AdminDuplicateCandidateFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminDuplicateCandidate
|
|
*/
|
|
select?: Prisma.AdminDuplicateCandidateSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminDuplicateCandidate
|
|
*/
|
|
omit?: Prisma.AdminDuplicateCandidateOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminDuplicateCandidateInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which AdminDuplicateCandidate to fetch.
|
|
*/
|
|
where: Prisma.AdminDuplicateCandidateWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AdminDuplicateCandidate findFirst
|
|
*/
|
|
export type AdminDuplicateCandidateFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminDuplicateCandidate
|
|
*/
|
|
select?: Prisma.AdminDuplicateCandidateSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminDuplicateCandidate
|
|
*/
|
|
omit?: Prisma.AdminDuplicateCandidateOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminDuplicateCandidateInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which AdminDuplicateCandidate to fetch.
|
|
*/
|
|
where?: Prisma.AdminDuplicateCandidateWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of AdminDuplicateCandidates to fetch.
|
|
*/
|
|
orderBy?: Prisma.AdminDuplicateCandidateOrderByWithRelationInput | Prisma.AdminDuplicateCandidateOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for AdminDuplicateCandidates.
|
|
*/
|
|
cursor?: Prisma.AdminDuplicateCandidateWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` AdminDuplicateCandidates 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` AdminDuplicateCandidates.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of AdminDuplicateCandidates.
|
|
*/
|
|
distinct?: Prisma.AdminDuplicateCandidateScalarFieldEnum | Prisma.AdminDuplicateCandidateScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AdminDuplicateCandidate findFirstOrThrow
|
|
*/
|
|
export type AdminDuplicateCandidateFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminDuplicateCandidate
|
|
*/
|
|
select?: Prisma.AdminDuplicateCandidateSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminDuplicateCandidate
|
|
*/
|
|
omit?: Prisma.AdminDuplicateCandidateOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminDuplicateCandidateInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which AdminDuplicateCandidate to fetch.
|
|
*/
|
|
where?: Prisma.AdminDuplicateCandidateWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of AdminDuplicateCandidates to fetch.
|
|
*/
|
|
orderBy?: Prisma.AdminDuplicateCandidateOrderByWithRelationInput | Prisma.AdminDuplicateCandidateOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for AdminDuplicateCandidates.
|
|
*/
|
|
cursor?: Prisma.AdminDuplicateCandidateWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` AdminDuplicateCandidates 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` AdminDuplicateCandidates.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of AdminDuplicateCandidates.
|
|
*/
|
|
distinct?: Prisma.AdminDuplicateCandidateScalarFieldEnum | Prisma.AdminDuplicateCandidateScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AdminDuplicateCandidate findMany
|
|
*/
|
|
export type AdminDuplicateCandidateFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminDuplicateCandidate
|
|
*/
|
|
select?: Prisma.AdminDuplicateCandidateSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminDuplicateCandidate
|
|
*/
|
|
omit?: Prisma.AdminDuplicateCandidateOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminDuplicateCandidateInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which AdminDuplicateCandidates to fetch.
|
|
*/
|
|
where?: Prisma.AdminDuplicateCandidateWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of AdminDuplicateCandidates to fetch.
|
|
*/
|
|
orderBy?: Prisma.AdminDuplicateCandidateOrderByWithRelationInput | Prisma.AdminDuplicateCandidateOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing AdminDuplicateCandidates.
|
|
*/
|
|
cursor?: Prisma.AdminDuplicateCandidateWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` AdminDuplicateCandidates 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` AdminDuplicateCandidates.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of AdminDuplicateCandidates.
|
|
*/
|
|
distinct?: Prisma.AdminDuplicateCandidateScalarFieldEnum | Prisma.AdminDuplicateCandidateScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AdminDuplicateCandidate create
|
|
*/
|
|
export type AdminDuplicateCandidateCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminDuplicateCandidate
|
|
*/
|
|
select?: Prisma.AdminDuplicateCandidateSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminDuplicateCandidate
|
|
*/
|
|
omit?: Prisma.AdminDuplicateCandidateOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminDuplicateCandidateInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a AdminDuplicateCandidate.
|
|
*/
|
|
data: Prisma.XOR<Prisma.AdminDuplicateCandidateCreateInput, Prisma.AdminDuplicateCandidateUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* AdminDuplicateCandidate createMany
|
|
*/
|
|
export type AdminDuplicateCandidateCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many AdminDuplicateCandidates.
|
|
*/
|
|
data: Prisma.AdminDuplicateCandidateCreateManyInput | Prisma.AdminDuplicateCandidateCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* AdminDuplicateCandidate createManyAndReturn
|
|
*/
|
|
export type AdminDuplicateCandidateCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminDuplicateCandidate
|
|
*/
|
|
select?: Prisma.AdminDuplicateCandidateSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminDuplicateCandidate
|
|
*/
|
|
omit?: Prisma.AdminDuplicateCandidateOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to create many AdminDuplicateCandidates.
|
|
*/
|
|
data: Prisma.AdminDuplicateCandidateCreateManyInput | Prisma.AdminDuplicateCandidateCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminDuplicateCandidateIncludeCreateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* AdminDuplicateCandidate update
|
|
*/
|
|
export type AdminDuplicateCandidateUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminDuplicateCandidate
|
|
*/
|
|
select?: Prisma.AdminDuplicateCandidateSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminDuplicateCandidate
|
|
*/
|
|
omit?: Prisma.AdminDuplicateCandidateOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminDuplicateCandidateInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a AdminDuplicateCandidate.
|
|
*/
|
|
data: Prisma.XOR<Prisma.AdminDuplicateCandidateUpdateInput, Prisma.AdminDuplicateCandidateUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which AdminDuplicateCandidate to update.
|
|
*/
|
|
where: Prisma.AdminDuplicateCandidateWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AdminDuplicateCandidate updateMany
|
|
*/
|
|
export type AdminDuplicateCandidateUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update AdminDuplicateCandidates.
|
|
*/
|
|
data: Prisma.XOR<Prisma.AdminDuplicateCandidateUpdateManyMutationInput, Prisma.AdminDuplicateCandidateUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which AdminDuplicateCandidates to update
|
|
*/
|
|
where?: Prisma.AdminDuplicateCandidateWhereInput
|
|
/**
|
|
* Limit how many AdminDuplicateCandidates to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* AdminDuplicateCandidate updateManyAndReturn
|
|
*/
|
|
export type AdminDuplicateCandidateUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminDuplicateCandidate
|
|
*/
|
|
select?: Prisma.AdminDuplicateCandidateSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminDuplicateCandidate
|
|
*/
|
|
omit?: Prisma.AdminDuplicateCandidateOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update AdminDuplicateCandidates.
|
|
*/
|
|
data: Prisma.XOR<Prisma.AdminDuplicateCandidateUpdateManyMutationInput, Prisma.AdminDuplicateCandidateUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which AdminDuplicateCandidates to update
|
|
*/
|
|
where?: Prisma.AdminDuplicateCandidateWhereInput
|
|
/**
|
|
* Limit how many AdminDuplicateCandidates to update.
|
|
*/
|
|
limit?: number
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminDuplicateCandidateIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* AdminDuplicateCandidate upsert
|
|
*/
|
|
export type AdminDuplicateCandidateUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminDuplicateCandidate
|
|
*/
|
|
select?: Prisma.AdminDuplicateCandidateSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminDuplicateCandidate
|
|
*/
|
|
omit?: Prisma.AdminDuplicateCandidateOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminDuplicateCandidateInclude<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the AdminDuplicateCandidate to update in case it exists.
|
|
*/
|
|
where: Prisma.AdminDuplicateCandidateWhereUniqueInput
|
|
/**
|
|
* In case the AdminDuplicateCandidate found by the `where` argument doesn't exist, create a new AdminDuplicateCandidate with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.AdminDuplicateCandidateCreateInput, Prisma.AdminDuplicateCandidateUncheckedCreateInput>
|
|
/**
|
|
* In case the AdminDuplicateCandidate was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.AdminDuplicateCandidateUpdateInput, Prisma.AdminDuplicateCandidateUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* AdminDuplicateCandidate delete
|
|
*/
|
|
export type AdminDuplicateCandidateDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminDuplicateCandidate
|
|
*/
|
|
select?: Prisma.AdminDuplicateCandidateSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminDuplicateCandidate
|
|
*/
|
|
omit?: Prisma.AdminDuplicateCandidateOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminDuplicateCandidateInclude<ExtArgs> | null
|
|
/**
|
|
* Filter which AdminDuplicateCandidate to delete.
|
|
*/
|
|
where: Prisma.AdminDuplicateCandidateWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AdminDuplicateCandidate deleteMany
|
|
*/
|
|
export type AdminDuplicateCandidateDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which AdminDuplicateCandidates to delete
|
|
*/
|
|
where?: Prisma.AdminDuplicateCandidateWhereInput
|
|
/**
|
|
* Limit how many AdminDuplicateCandidates to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* AdminDuplicateCandidate without action
|
|
*/
|
|
export type AdminDuplicateCandidateDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminDuplicateCandidate
|
|
*/
|
|
select?: Prisma.AdminDuplicateCandidateSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminDuplicateCandidate
|
|
*/
|
|
omit?: Prisma.AdminDuplicateCandidateOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminDuplicateCandidateInclude<ExtArgs> | null
|
|
}
|