2121 lines
94 KiB
TypeScript
2121 lines
94 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 `AdminDialerEntry` 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 AdminDialerEntry
|
|
*
|
|
*/
|
|
export type AdminDialerEntryModel = runtime.Types.Result.DefaultSelection<Prisma.$AdminDialerEntryPayload>
|
|
|
|
export type AggregateAdminDialerEntry = {
|
|
_count: AdminDialerEntryCountAggregateOutputType | null
|
|
_avg: AdminDialerEntryAvgAggregateOutputType | null
|
|
_sum: AdminDialerEntrySumAggregateOutputType | null
|
|
_min: AdminDialerEntryMinAggregateOutputType | null
|
|
_max: AdminDialerEntryMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type AdminDialerEntryAvgAggregateOutputType = {
|
|
position: number | null
|
|
}
|
|
|
|
export type AdminDialerEntrySumAggregateOutputType = {
|
|
position: number | null
|
|
}
|
|
|
|
export type AdminDialerEntryMinAggregateOutputType = {
|
|
id: string | null
|
|
createdAt: Date | null
|
|
updatedAt: Date | null
|
|
adminUserId: string | null
|
|
dialerListId: string | null
|
|
contactId: string | null
|
|
position: number | null
|
|
status: $Enums.AdminDialerEntryStatus | null
|
|
callSessionId: string | null
|
|
blockedReason: string | null
|
|
activatedAt: Date | null
|
|
completedAt: Date | null
|
|
}
|
|
|
|
export type AdminDialerEntryMaxAggregateOutputType = {
|
|
id: string | null
|
|
createdAt: Date | null
|
|
updatedAt: Date | null
|
|
adminUserId: string | null
|
|
dialerListId: string | null
|
|
contactId: string | null
|
|
position: number | null
|
|
status: $Enums.AdminDialerEntryStatus | null
|
|
callSessionId: string | null
|
|
blockedReason: string | null
|
|
activatedAt: Date | null
|
|
completedAt: Date | null
|
|
}
|
|
|
|
export type AdminDialerEntryCountAggregateOutputType = {
|
|
id: number
|
|
createdAt: number
|
|
updatedAt: number
|
|
adminUserId: number
|
|
dialerListId: number
|
|
contactId: number
|
|
position: number
|
|
status: number
|
|
callSessionId: number
|
|
blockedReason: number
|
|
activatedAt: number
|
|
completedAt: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type AdminDialerEntryAvgAggregateInputType = {
|
|
position?: true
|
|
}
|
|
|
|
export type AdminDialerEntrySumAggregateInputType = {
|
|
position?: true
|
|
}
|
|
|
|
export type AdminDialerEntryMinAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
adminUserId?: true
|
|
dialerListId?: true
|
|
contactId?: true
|
|
position?: true
|
|
status?: true
|
|
callSessionId?: true
|
|
blockedReason?: true
|
|
activatedAt?: true
|
|
completedAt?: true
|
|
}
|
|
|
|
export type AdminDialerEntryMaxAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
adminUserId?: true
|
|
dialerListId?: true
|
|
contactId?: true
|
|
position?: true
|
|
status?: true
|
|
callSessionId?: true
|
|
blockedReason?: true
|
|
activatedAt?: true
|
|
completedAt?: true
|
|
}
|
|
|
|
export type AdminDialerEntryCountAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
adminUserId?: true
|
|
dialerListId?: true
|
|
contactId?: true
|
|
position?: true
|
|
status?: true
|
|
callSessionId?: true
|
|
blockedReason?: true
|
|
activatedAt?: true
|
|
completedAt?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type AdminDialerEntryAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which AdminDialerEntry to aggregate.
|
|
*/
|
|
where?: Prisma.AdminDialerEntryWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of AdminDialerEntries to fetch.
|
|
*/
|
|
orderBy?: Prisma.AdminDialerEntryOrderByWithRelationInput | Prisma.AdminDialerEntryOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.AdminDialerEntryWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` AdminDialerEntries 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` AdminDialerEntries.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned AdminDialerEntries
|
|
**/
|
|
_count?: true | AdminDialerEntryCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to average
|
|
**/
|
|
_avg?: AdminDialerEntryAvgAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to sum
|
|
**/
|
|
_sum?: AdminDialerEntrySumAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: AdminDialerEntryMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: AdminDialerEntryMaxAggregateInputType
|
|
}
|
|
|
|
export type GetAdminDialerEntryAggregateType<T extends AdminDialerEntryAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateAdminDialerEntry]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateAdminDialerEntry[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateAdminDialerEntry[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AdminDialerEntryGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.AdminDialerEntryWhereInput
|
|
orderBy?: Prisma.AdminDialerEntryOrderByWithAggregationInput | Prisma.AdminDialerEntryOrderByWithAggregationInput[]
|
|
by: Prisma.AdminDialerEntryScalarFieldEnum[] | Prisma.AdminDialerEntryScalarFieldEnum
|
|
having?: Prisma.AdminDialerEntryScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: AdminDialerEntryCountAggregateInputType | true
|
|
_avg?: AdminDialerEntryAvgAggregateInputType
|
|
_sum?: AdminDialerEntrySumAggregateInputType
|
|
_min?: AdminDialerEntryMinAggregateInputType
|
|
_max?: AdminDialerEntryMaxAggregateInputType
|
|
}
|
|
|
|
export type AdminDialerEntryGroupByOutputType = {
|
|
id: string
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
adminUserId: string
|
|
dialerListId: string
|
|
contactId: string
|
|
position: number
|
|
status: $Enums.AdminDialerEntryStatus
|
|
callSessionId: string | null
|
|
blockedReason: string | null
|
|
activatedAt: Date | null
|
|
completedAt: Date | null
|
|
_count: AdminDialerEntryCountAggregateOutputType | null
|
|
_avg: AdminDialerEntryAvgAggregateOutputType | null
|
|
_sum: AdminDialerEntrySumAggregateOutputType | null
|
|
_min: AdminDialerEntryMinAggregateOutputType | null
|
|
_max: AdminDialerEntryMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type GetAdminDialerEntryGroupByPayload<T extends AdminDialerEntryGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<AdminDialerEntryGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof AdminDialerEntryGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AdminDialerEntryGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], AdminDialerEntryGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type AdminDialerEntryWhereInput = {
|
|
AND?: Prisma.AdminDialerEntryWhereInput | Prisma.AdminDialerEntryWhereInput[]
|
|
OR?: Prisma.AdminDialerEntryWhereInput[]
|
|
NOT?: Prisma.AdminDialerEntryWhereInput | Prisma.AdminDialerEntryWhereInput[]
|
|
id?: Prisma.StringFilter<"AdminDialerEntry"> | string
|
|
createdAt?: Prisma.DateTimeFilter<"AdminDialerEntry"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"AdminDialerEntry"> | Date | string
|
|
adminUserId?: Prisma.StringFilter<"AdminDialerEntry"> | string
|
|
dialerListId?: Prisma.StringFilter<"AdminDialerEntry"> | string
|
|
contactId?: Prisma.StringFilter<"AdminDialerEntry"> | string
|
|
position?: Prisma.IntFilter<"AdminDialerEntry"> | number
|
|
status?: Prisma.EnumAdminDialerEntryStatusFilter<"AdminDialerEntry"> | $Enums.AdminDialerEntryStatus
|
|
callSessionId?: Prisma.StringNullableFilter<"AdminDialerEntry"> | string | null
|
|
blockedReason?: Prisma.StringNullableFilter<"AdminDialerEntry"> | string | null
|
|
activatedAt?: Prisma.DateTimeNullableFilter<"AdminDialerEntry"> | Date | string | null
|
|
completedAt?: Prisma.DateTimeNullableFilter<"AdminDialerEntry"> | Date | string | null
|
|
dialerList?: Prisma.XOR<Prisma.AdminDialerListScalarRelationFilter, Prisma.AdminDialerListWhereInput>
|
|
contact?: Prisma.XOR<Prisma.AdminContactScalarRelationFilter, Prisma.AdminContactWhereInput>
|
|
callSession?: Prisma.XOR<Prisma.AdminCallSessionNullableScalarRelationFilter, Prisma.AdminCallSessionWhereInput> | null
|
|
outboundRequests?: Prisma.AdminOutboundCallRequestListRelationFilter
|
|
}
|
|
|
|
export type AdminDialerEntryOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
adminUserId?: Prisma.SortOrder
|
|
dialerListId?: Prisma.SortOrder
|
|
contactId?: Prisma.SortOrder
|
|
position?: Prisma.SortOrder
|
|
status?: Prisma.SortOrder
|
|
callSessionId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
blockedReason?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
activatedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
completedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
dialerList?: Prisma.AdminDialerListOrderByWithRelationInput
|
|
contact?: Prisma.AdminContactOrderByWithRelationInput
|
|
callSession?: Prisma.AdminCallSessionOrderByWithRelationInput
|
|
outboundRequests?: Prisma.AdminOutboundCallRequestOrderByRelationAggregateInput
|
|
}
|
|
|
|
export type AdminDialerEntryWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: string
|
|
callSessionId?: string
|
|
admin_dialer_entry_position_key?: Prisma.AdminDialerEntryAdmin_dialer_entry_position_keyCompoundUniqueInput
|
|
admin_dialer_entry_contact_key?: Prisma.AdminDialerEntryAdmin_dialer_entry_contact_keyCompoundUniqueInput
|
|
AND?: Prisma.AdminDialerEntryWhereInput | Prisma.AdminDialerEntryWhereInput[]
|
|
OR?: Prisma.AdminDialerEntryWhereInput[]
|
|
NOT?: Prisma.AdminDialerEntryWhereInput | Prisma.AdminDialerEntryWhereInput[]
|
|
createdAt?: Prisma.DateTimeFilter<"AdminDialerEntry"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"AdminDialerEntry"> | Date | string
|
|
adminUserId?: Prisma.StringFilter<"AdminDialerEntry"> | string
|
|
dialerListId?: Prisma.StringFilter<"AdminDialerEntry"> | string
|
|
contactId?: Prisma.StringFilter<"AdminDialerEntry"> | string
|
|
position?: Prisma.IntFilter<"AdminDialerEntry"> | number
|
|
status?: Prisma.EnumAdminDialerEntryStatusFilter<"AdminDialerEntry"> | $Enums.AdminDialerEntryStatus
|
|
blockedReason?: Prisma.StringNullableFilter<"AdminDialerEntry"> | string | null
|
|
activatedAt?: Prisma.DateTimeNullableFilter<"AdminDialerEntry"> | Date | string | null
|
|
completedAt?: Prisma.DateTimeNullableFilter<"AdminDialerEntry"> | Date | string | null
|
|
dialerList?: Prisma.XOR<Prisma.AdminDialerListScalarRelationFilter, Prisma.AdminDialerListWhereInput>
|
|
contact?: Prisma.XOR<Prisma.AdminContactScalarRelationFilter, Prisma.AdminContactWhereInput>
|
|
callSession?: Prisma.XOR<Prisma.AdminCallSessionNullableScalarRelationFilter, Prisma.AdminCallSessionWhereInput> | null
|
|
outboundRequests?: Prisma.AdminOutboundCallRequestListRelationFilter
|
|
}, "id" | "callSessionId" | "admin_dialer_entry_position_key" | "admin_dialer_entry_contact_key">
|
|
|
|
export type AdminDialerEntryOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
adminUserId?: Prisma.SortOrder
|
|
dialerListId?: Prisma.SortOrder
|
|
contactId?: Prisma.SortOrder
|
|
position?: Prisma.SortOrder
|
|
status?: Prisma.SortOrder
|
|
callSessionId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
blockedReason?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
activatedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
completedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
_count?: Prisma.AdminDialerEntryCountOrderByAggregateInput
|
|
_avg?: Prisma.AdminDialerEntryAvgOrderByAggregateInput
|
|
_max?: Prisma.AdminDialerEntryMaxOrderByAggregateInput
|
|
_min?: Prisma.AdminDialerEntryMinOrderByAggregateInput
|
|
_sum?: Prisma.AdminDialerEntrySumOrderByAggregateInput
|
|
}
|
|
|
|
export type AdminDialerEntryScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.AdminDialerEntryScalarWhereWithAggregatesInput | Prisma.AdminDialerEntryScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.AdminDialerEntryScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.AdminDialerEntryScalarWhereWithAggregatesInput | Prisma.AdminDialerEntryScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.StringWithAggregatesFilter<"AdminDialerEntry"> | string
|
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"AdminDialerEntry"> | Date | string
|
|
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"AdminDialerEntry"> | Date | string
|
|
adminUserId?: Prisma.StringWithAggregatesFilter<"AdminDialerEntry"> | string
|
|
dialerListId?: Prisma.StringWithAggregatesFilter<"AdminDialerEntry"> | string
|
|
contactId?: Prisma.StringWithAggregatesFilter<"AdminDialerEntry"> | string
|
|
position?: Prisma.IntWithAggregatesFilter<"AdminDialerEntry"> | number
|
|
status?: Prisma.EnumAdminDialerEntryStatusWithAggregatesFilter<"AdminDialerEntry"> | $Enums.AdminDialerEntryStatus
|
|
callSessionId?: Prisma.StringNullableWithAggregatesFilter<"AdminDialerEntry"> | string | null
|
|
blockedReason?: Prisma.StringNullableWithAggregatesFilter<"AdminDialerEntry"> | string | null
|
|
activatedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"AdminDialerEntry"> | Date | string | null
|
|
completedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"AdminDialerEntry"> | Date | string | null
|
|
}
|
|
|
|
export type AdminDialerEntryCreateInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
adminUserId: string
|
|
position: number
|
|
status?: $Enums.AdminDialerEntryStatus
|
|
blockedReason?: string | null
|
|
activatedAt?: Date | string | null
|
|
completedAt?: Date | string | null
|
|
dialerList: Prisma.AdminDialerListCreateNestedOneWithoutEntriesInput
|
|
contact: Prisma.AdminContactCreateNestedOneWithoutDialerEntriesInput
|
|
callSession?: Prisma.AdminCallSessionCreateNestedOneWithoutDialerEntryInput
|
|
outboundRequests?: Prisma.AdminOutboundCallRequestCreateNestedManyWithoutDialerEntryInput
|
|
}
|
|
|
|
export type AdminDialerEntryUncheckedCreateInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
adminUserId: string
|
|
dialerListId: string
|
|
contactId: string
|
|
position: number
|
|
status?: $Enums.AdminDialerEntryStatus
|
|
callSessionId?: string | null
|
|
blockedReason?: string | null
|
|
activatedAt?: Date | string | null
|
|
completedAt?: Date | string | null
|
|
outboundRequests?: Prisma.AdminOutboundCallRequestUncheckedCreateNestedManyWithoutDialerEntryInput
|
|
}
|
|
|
|
export type AdminDialerEntryUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
position?: Prisma.IntFieldUpdateOperationsInput | number
|
|
status?: Prisma.EnumAdminDialerEntryStatusFieldUpdateOperationsInput | $Enums.AdminDialerEntryStatus
|
|
blockedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
activatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
dialerList?: Prisma.AdminDialerListUpdateOneRequiredWithoutEntriesNestedInput
|
|
contact?: Prisma.AdminContactUpdateOneRequiredWithoutDialerEntriesNestedInput
|
|
callSession?: Prisma.AdminCallSessionUpdateOneWithoutDialerEntryNestedInput
|
|
outboundRequests?: Prisma.AdminOutboundCallRequestUpdateManyWithoutDialerEntryNestedInput
|
|
}
|
|
|
|
export type AdminDialerEntryUncheckedUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
dialerListId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
contactId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
position?: Prisma.IntFieldUpdateOperationsInput | number
|
|
status?: Prisma.EnumAdminDialerEntryStatusFieldUpdateOperationsInput | $Enums.AdminDialerEntryStatus
|
|
callSessionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
blockedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
activatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
outboundRequests?: Prisma.AdminOutboundCallRequestUncheckedUpdateManyWithoutDialerEntryNestedInput
|
|
}
|
|
|
|
export type AdminDialerEntryCreateManyInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
adminUserId: string
|
|
dialerListId: string
|
|
contactId: string
|
|
position: number
|
|
status?: $Enums.AdminDialerEntryStatus
|
|
callSessionId?: string | null
|
|
blockedReason?: string | null
|
|
activatedAt?: Date | string | null
|
|
completedAt?: Date | string | null
|
|
}
|
|
|
|
export type AdminDialerEntryUpdateManyMutationInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
position?: Prisma.IntFieldUpdateOperationsInput | number
|
|
status?: Prisma.EnumAdminDialerEntryStatusFieldUpdateOperationsInput | $Enums.AdminDialerEntryStatus
|
|
blockedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
activatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
}
|
|
|
|
export type AdminDialerEntryUncheckedUpdateManyInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
dialerListId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
contactId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
position?: Prisma.IntFieldUpdateOperationsInput | number
|
|
status?: Prisma.EnumAdminDialerEntryStatusFieldUpdateOperationsInput | $Enums.AdminDialerEntryStatus
|
|
callSessionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
blockedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
activatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
}
|
|
|
|
export type AdminDialerEntryListRelationFilter = {
|
|
every?: Prisma.AdminDialerEntryWhereInput
|
|
some?: Prisma.AdminDialerEntryWhereInput
|
|
none?: Prisma.AdminDialerEntryWhereInput
|
|
}
|
|
|
|
export type AdminDialerEntryOrderByRelationAggregateInput = {
|
|
_count?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AdminDialerEntryNullableScalarRelationFilter = {
|
|
is?: Prisma.AdminDialerEntryWhereInput | null
|
|
isNot?: Prisma.AdminDialerEntryWhereInput | null
|
|
}
|
|
|
|
export type AdminDialerEntryAdmin_dialer_entry_position_keyCompoundUniqueInput = {
|
|
dialerListId: string
|
|
position: number
|
|
}
|
|
|
|
export type AdminDialerEntryAdmin_dialer_entry_contact_keyCompoundUniqueInput = {
|
|
dialerListId: string
|
|
contactId: string
|
|
}
|
|
|
|
export type AdminDialerEntryCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
adminUserId?: Prisma.SortOrder
|
|
dialerListId?: Prisma.SortOrder
|
|
contactId?: Prisma.SortOrder
|
|
position?: Prisma.SortOrder
|
|
status?: Prisma.SortOrder
|
|
callSessionId?: Prisma.SortOrder
|
|
blockedReason?: Prisma.SortOrder
|
|
activatedAt?: Prisma.SortOrder
|
|
completedAt?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AdminDialerEntryAvgOrderByAggregateInput = {
|
|
position?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AdminDialerEntryMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
adminUserId?: Prisma.SortOrder
|
|
dialerListId?: Prisma.SortOrder
|
|
contactId?: Prisma.SortOrder
|
|
position?: Prisma.SortOrder
|
|
status?: Prisma.SortOrder
|
|
callSessionId?: Prisma.SortOrder
|
|
blockedReason?: Prisma.SortOrder
|
|
activatedAt?: Prisma.SortOrder
|
|
completedAt?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AdminDialerEntryMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
adminUserId?: Prisma.SortOrder
|
|
dialerListId?: Prisma.SortOrder
|
|
contactId?: Prisma.SortOrder
|
|
position?: Prisma.SortOrder
|
|
status?: Prisma.SortOrder
|
|
callSessionId?: Prisma.SortOrder
|
|
blockedReason?: Prisma.SortOrder
|
|
activatedAt?: Prisma.SortOrder
|
|
completedAt?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AdminDialerEntrySumOrderByAggregateInput = {
|
|
position?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AdminDialerEntryCreateNestedManyWithoutContactInput = {
|
|
create?: Prisma.XOR<Prisma.AdminDialerEntryCreateWithoutContactInput, Prisma.AdminDialerEntryUncheckedCreateWithoutContactInput> | Prisma.AdminDialerEntryCreateWithoutContactInput[] | Prisma.AdminDialerEntryUncheckedCreateWithoutContactInput[]
|
|
connectOrCreate?: Prisma.AdminDialerEntryCreateOrConnectWithoutContactInput | Prisma.AdminDialerEntryCreateOrConnectWithoutContactInput[]
|
|
createMany?: Prisma.AdminDialerEntryCreateManyContactInputEnvelope
|
|
connect?: Prisma.AdminDialerEntryWhereUniqueInput | Prisma.AdminDialerEntryWhereUniqueInput[]
|
|
}
|
|
|
|
export type AdminDialerEntryUncheckedCreateNestedManyWithoutContactInput = {
|
|
create?: Prisma.XOR<Prisma.AdminDialerEntryCreateWithoutContactInput, Prisma.AdminDialerEntryUncheckedCreateWithoutContactInput> | Prisma.AdminDialerEntryCreateWithoutContactInput[] | Prisma.AdminDialerEntryUncheckedCreateWithoutContactInput[]
|
|
connectOrCreate?: Prisma.AdminDialerEntryCreateOrConnectWithoutContactInput | Prisma.AdminDialerEntryCreateOrConnectWithoutContactInput[]
|
|
createMany?: Prisma.AdminDialerEntryCreateManyContactInputEnvelope
|
|
connect?: Prisma.AdminDialerEntryWhereUniqueInput | Prisma.AdminDialerEntryWhereUniqueInput[]
|
|
}
|
|
|
|
export type AdminDialerEntryUpdateManyWithoutContactNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AdminDialerEntryCreateWithoutContactInput, Prisma.AdminDialerEntryUncheckedCreateWithoutContactInput> | Prisma.AdminDialerEntryCreateWithoutContactInput[] | Prisma.AdminDialerEntryUncheckedCreateWithoutContactInput[]
|
|
connectOrCreate?: Prisma.AdminDialerEntryCreateOrConnectWithoutContactInput | Prisma.AdminDialerEntryCreateOrConnectWithoutContactInput[]
|
|
upsert?: Prisma.AdminDialerEntryUpsertWithWhereUniqueWithoutContactInput | Prisma.AdminDialerEntryUpsertWithWhereUniqueWithoutContactInput[]
|
|
createMany?: Prisma.AdminDialerEntryCreateManyContactInputEnvelope
|
|
set?: Prisma.AdminDialerEntryWhereUniqueInput | Prisma.AdminDialerEntryWhereUniqueInput[]
|
|
disconnect?: Prisma.AdminDialerEntryWhereUniqueInput | Prisma.AdminDialerEntryWhereUniqueInput[]
|
|
delete?: Prisma.AdminDialerEntryWhereUniqueInput | Prisma.AdminDialerEntryWhereUniqueInput[]
|
|
connect?: Prisma.AdminDialerEntryWhereUniqueInput | Prisma.AdminDialerEntryWhereUniqueInput[]
|
|
update?: Prisma.AdminDialerEntryUpdateWithWhereUniqueWithoutContactInput | Prisma.AdminDialerEntryUpdateWithWhereUniqueWithoutContactInput[]
|
|
updateMany?: Prisma.AdminDialerEntryUpdateManyWithWhereWithoutContactInput | Prisma.AdminDialerEntryUpdateManyWithWhereWithoutContactInput[]
|
|
deleteMany?: Prisma.AdminDialerEntryScalarWhereInput | Prisma.AdminDialerEntryScalarWhereInput[]
|
|
}
|
|
|
|
export type AdminDialerEntryUncheckedUpdateManyWithoutContactNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AdminDialerEntryCreateWithoutContactInput, Prisma.AdminDialerEntryUncheckedCreateWithoutContactInput> | Prisma.AdminDialerEntryCreateWithoutContactInput[] | Prisma.AdminDialerEntryUncheckedCreateWithoutContactInput[]
|
|
connectOrCreate?: Prisma.AdminDialerEntryCreateOrConnectWithoutContactInput | Prisma.AdminDialerEntryCreateOrConnectWithoutContactInput[]
|
|
upsert?: Prisma.AdminDialerEntryUpsertWithWhereUniqueWithoutContactInput | Prisma.AdminDialerEntryUpsertWithWhereUniqueWithoutContactInput[]
|
|
createMany?: Prisma.AdminDialerEntryCreateManyContactInputEnvelope
|
|
set?: Prisma.AdminDialerEntryWhereUniqueInput | Prisma.AdminDialerEntryWhereUniqueInput[]
|
|
disconnect?: Prisma.AdminDialerEntryWhereUniqueInput | Prisma.AdminDialerEntryWhereUniqueInput[]
|
|
delete?: Prisma.AdminDialerEntryWhereUniqueInput | Prisma.AdminDialerEntryWhereUniqueInput[]
|
|
connect?: Prisma.AdminDialerEntryWhereUniqueInput | Prisma.AdminDialerEntryWhereUniqueInput[]
|
|
update?: Prisma.AdminDialerEntryUpdateWithWhereUniqueWithoutContactInput | Prisma.AdminDialerEntryUpdateWithWhereUniqueWithoutContactInput[]
|
|
updateMany?: Prisma.AdminDialerEntryUpdateManyWithWhereWithoutContactInput | Prisma.AdminDialerEntryUpdateManyWithWhereWithoutContactInput[]
|
|
deleteMany?: Prisma.AdminDialerEntryScalarWhereInput | Prisma.AdminDialerEntryScalarWhereInput[]
|
|
}
|
|
|
|
export type AdminDialerEntryCreateNestedOneWithoutCallSessionInput = {
|
|
create?: Prisma.XOR<Prisma.AdminDialerEntryCreateWithoutCallSessionInput, Prisma.AdminDialerEntryUncheckedCreateWithoutCallSessionInput>
|
|
connectOrCreate?: Prisma.AdminDialerEntryCreateOrConnectWithoutCallSessionInput
|
|
connect?: Prisma.AdminDialerEntryWhereUniqueInput
|
|
}
|
|
|
|
export type AdminDialerEntryUncheckedCreateNestedOneWithoutCallSessionInput = {
|
|
create?: Prisma.XOR<Prisma.AdminDialerEntryCreateWithoutCallSessionInput, Prisma.AdminDialerEntryUncheckedCreateWithoutCallSessionInput>
|
|
connectOrCreate?: Prisma.AdminDialerEntryCreateOrConnectWithoutCallSessionInput
|
|
connect?: Prisma.AdminDialerEntryWhereUniqueInput
|
|
}
|
|
|
|
export type AdminDialerEntryUpdateOneWithoutCallSessionNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AdminDialerEntryCreateWithoutCallSessionInput, Prisma.AdminDialerEntryUncheckedCreateWithoutCallSessionInput>
|
|
connectOrCreate?: Prisma.AdminDialerEntryCreateOrConnectWithoutCallSessionInput
|
|
upsert?: Prisma.AdminDialerEntryUpsertWithoutCallSessionInput
|
|
disconnect?: Prisma.AdminDialerEntryWhereInput | boolean
|
|
delete?: Prisma.AdminDialerEntryWhereInput | boolean
|
|
connect?: Prisma.AdminDialerEntryWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.AdminDialerEntryUpdateToOneWithWhereWithoutCallSessionInput, Prisma.AdminDialerEntryUpdateWithoutCallSessionInput>, Prisma.AdminDialerEntryUncheckedUpdateWithoutCallSessionInput>
|
|
}
|
|
|
|
export type AdminDialerEntryUncheckedUpdateOneWithoutCallSessionNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AdminDialerEntryCreateWithoutCallSessionInput, Prisma.AdminDialerEntryUncheckedCreateWithoutCallSessionInput>
|
|
connectOrCreate?: Prisma.AdminDialerEntryCreateOrConnectWithoutCallSessionInput
|
|
upsert?: Prisma.AdminDialerEntryUpsertWithoutCallSessionInput
|
|
disconnect?: Prisma.AdminDialerEntryWhereInput | boolean
|
|
delete?: Prisma.AdminDialerEntryWhereInput | boolean
|
|
connect?: Prisma.AdminDialerEntryWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.AdminDialerEntryUpdateToOneWithWhereWithoutCallSessionInput, Prisma.AdminDialerEntryUpdateWithoutCallSessionInput>, Prisma.AdminDialerEntryUncheckedUpdateWithoutCallSessionInput>
|
|
}
|
|
|
|
export type AdminDialerEntryCreateNestedManyWithoutDialerListInput = {
|
|
create?: Prisma.XOR<Prisma.AdminDialerEntryCreateWithoutDialerListInput, Prisma.AdminDialerEntryUncheckedCreateWithoutDialerListInput> | Prisma.AdminDialerEntryCreateWithoutDialerListInput[] | Prisma.AdminDialerEntryUncheckedCreateWithoutDialerListInput[]
|
|
connectOrCreate?: Prisma.AdminDialerEntryCreateOrConnectWithoutDialerListInput | Prisma.AdminDialerEntryCreateOrConnectWithoutDialerListInput[]
|
|
createMany?: Prisma.AdminDialerEntryCreateManyDialerListInputEnvelope
|
|
connect?: Prisma.AdminDialerEntryWhereUniqueInput | Prisma.AdminDialerEntryWhereUniqueInput[]
|
|
}
|
|
|
|
export type AdminDialerEntryUncheckedCreateNestedManyWithoutDialerListInput = {
|
|
create?: Prisma.XOR<Prisma.AdminDialerEntryCreateWithoutDialerListInput, Prisma.AdminDialerEntryUncheckedCreateWithoutDialerListInput> | Prisma.AdminDialerEntryCreateWithoutDialerListInput[] | Prisma.AdminDialerEntryUncheckedCreateWithoutDialerListInput[]
|
|
connectOrCreate?: Prisma.AdminDialerEntryCreateOrConnectWithoutDialerListInput | Prisma.AdminDialerEntryCreateOrConnectWithoutDialerListInput[]
|
|
createMany?: Prisma.AdminDialerEntryCreateManyDialerListInputEnvelope
|
|
connect?: Prisma.AdminDialerEntryWhereUniqueInput | Prisma.AdminDialerEntryWhereUniqueInput[]
|
|
}
|
|
|
|
export type AdminDialerEntryUpdateManyWithoutDialerListNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AdminDialerEntryCreateWithoutDialerListInput, Prisma.AdminDialerEntryUncheckedCreateWithoutDialerListInput> | Prisma.AdminDialerEntryCreateWithoutDialerListInput[] | Prisma.AdminDialerEntryUncheckedCreateWithoutDialerListInput[]
|
|
connectOrCreate?: Prisma.AdminDialerEntryCreateOrConnectWithoutDialerListInput | Prisma.AdminDialerEntryCreateOrConnectWithoutDialerListInput[]
|
|
upsert?: Prisma.AdminDialerEntryUpsertWithWhereUniqueWithoutDialerListInput | Prisma.AdminDialerEntryUpsertWithWhereUniqueWithoutDialerListInput[]
|
|
createMany?: Prisma.AdminDialerEntryCreateManyDialerListInputEnvelope
|
|
set?: Prisma.AdminDialerEntryWhereUniqueInput | Prisma.AdminDialerEntryWhereUniqueInput[]
|
|
disconnect?: Prisma.AdminDialerEntryWhereUniqueInput | Prisma.AdminDialerEntryWhereUniqueInput[]
|
|
delete?: Prisma.AdminDialerEntryWhereUniqueInput | Prisma.AdminDialerEntryWhereUniqueInput[]
|
|
connect?: Prisma.AdminDialerEntryWhereUniqueInput | Prisma.AdminDialerEntryWhereUniqueInput[]
|
|
update?: Prisma.AdminDialerEntryUpdateWithWhereUniqueWithoutDialerListInput | Prisma.AdminDialerEntryUpdateWithWhereUniqueWithoutDialerListInput[]
|
|
updateMany?: Prisma.AdminDialerEntryUpdateManyWithWhereWithoutDialerListInput | Prisma.AdminDialerEntryUpdateManyWithWhereWithoutDialerListInput[]
|
|
deleteMany?: Prisma.AdminDialerEntryScalarWhereInput | Prisma.AdminDialerEntryScalarWhereInput[]
|
|
}
|
|
|
|
export type AdminDialerEntryUncheckedUpdateManyWithoutDialerListNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AdminDialerEntryCreateWithoutDialerListInput, Prisma.AdminDialerEntryUncheckedCreateWithoutDialerListInput> | Prisma.AdminDialerEntryCreateWithoutDialerListInput[] | Prisma.AdminDialerEntryUncheckedCreateWithoutDialerListInput[]
|
|
connectOrCreate?: Prisma.AdminDialerEntryCreateOrConnectWithoutDialerListInput | Prisma.AdminDialerEntryCreateOrConnectWithoutDialerListInput[]
|
|
upsert?: Prisma.AdminDialerEntryUpsertWithWhereUniqueWithoutDialerListInput | Prisma.AdminDialerEntryUpsertWithWhereUniqueWithoutDialerListInput[]
|
|
createMany?: Prisma.AdminDialerEntryCreateManyDialerListInputEnvelope
|
|
set?: Prisma.AdminDialerEntryWhereUniqueInput | Prisma.AdminDialerEntryWhereUniqueInput[]
|
|
disconnect?: Prisma.AdminDialerEntryWhereUniqueInput | Prisma.AdminDialerEntryWhereUniqueInput[]
|
|
delete?: Prisma.AdminDialerEntryWhereUniqueInput | Prisma.AdminDialerEntryWhereUniqueInput[]
|
|
connect?: Prisma.AdminDialerEntryWhereUniqueInput | Prisma.AdminDialerEntryWhereUniqueInput[]
|
|
update?: Prisma.AdminDialerEntryUpdateWithWhereUniqueWithoutDialerListInput | Prisma.AdminDialerEntryUpdateWithWhereUniqueWithoutDialerListInput[]
|
|
updateMany?: Prisma.AdminDialerEntryUpdateManyWithWhereWithoutDialerListInput | Prisma.AdminDialerEntryUpdateManyWithWhereWithoutDialerListInput[]
|
|
deleteMany?: Prisma.AdminDialerEntryScalarWhereInput | Prisma.AdminDialerEntryScalarWhereInput[]
|
|
}
|
|
|
|
export type EnumAdminDialerEntryStatusFieldUpdateOperationsInput = {
|
|
set?: $Enums.AdminDialerEntryStatus
|
|
}
|
|
|
|
export type AdminDialerEntryCreateNestedOneWithoutOutboundRequestsInput = {
|
|
create?: Prisma.XOR<Prisma.AdminDialerEntryCreateWithoutOutboundRequestsInput, Prisma.AdminDialerEntryUncheckedCreateWithoutOutboundRequestsInput>
|
|
connectOrCreate?: Prisma.AdminDialerEntryCreateOrConnectWithoutOutboundRequestsInput
|
|
connect?: Prisma.AdminDialerEntryWhereUniqueInput
|
|
}
|
|
|
|
export type AdminDialerEntryUpdateOneWithoutOutboundRequestsNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AdminDialerEntryCreateWithoutOutboundRequestsInput, Prisma.AdminDialerEntryUncheckedCreateWithoutOutboundRequestsInput>
|
|
connectOrCreate?: Prisma.AdminDialerEntryCreateOrConnectWithoutOutboundRequestsInput
|
|
upsert?: Prisma.AdminDialerEntryUpsertWithoutOutboundRequestsInput
|
|
disconnect?: Prisma.AdminDialerEntryWhereInput | boolean
|
|
delete?: Prisma.AdminDialerEntryWhereInput | boolean
|
|
connect?: Prisma.AdminDialerEntryWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.AdminDialerEntryUpdateToOneWithWhereWithoutOutboundRequestsInput, Prisma.AdminDialerEntryUpdateWithoutOutboundRequestsInput>, Prisma.AdminDialerEntryUncheckedUpdateWithoutOutboundRequestsInput>
|
|
}
|
|
|
|
export type AdminDialerEntryCreateWithoutContactInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
adminUserId: string
|
|
position: number
|
|
status?: $Enums.AdminDialerEntryStatus
|
|
blockedReason?: string | null
|
|
activatedAt?: Date | string | null
|
|
completedAt?: Date | string | null
|
|
dialerList: Prisma.AdminDialerListCreateNestedOneWithoutEntriesInput
|
|
callSession?: Prisma.AdminCallSessionCreateNestedOneWithoutDialerEntryInput
|
|
outboundRequests?: Prisma.AdminOutboundCallRequestCreateNestedManyWithoutDialerEntryInput
|
|
}
|
|
|
|
export type AdminDialerEntryUncheckedCreateWithoutContactInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
adminUserId: string
|
|
dialerListId: string
|
|
position: number
|
|
status?: $Enums.AdminDialerEntryStatus
|
|
callSessionId?: string | null
|
|
blockedReason?: string | null
|
|
activatedAt?: Date | string | null
|
|
completedAt?: Date | string | null
|
|
outboundRequests?: Prisma.AdminOutboundCallRequestUncheckedCreateNestedManyWithoutDialerEntryInput
|
|
}
|
|
|
|
export type AdminDialerEntryCreateOrConnectWithoutContactInput = {
|
|
where: Prisma.AdminDialerEntryWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.AdminDialerEntryCreateWithoutContactInput, Prisma.AdminDialerEntryUncheckedCreateWithoutContactInput>
|
|
}
|
|
|
|
export type AdminDialerEntryCreateManyContactInputEnvelope = {
|
|
data: Prisma.AdminDialerEntryCreateManyContactInput | Prisma.AdminDialerEntryCreateManyContactInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type AdminDialerEntryUpsertWithWhereUniqueWithoutContactInput = {
|
|
where: Prisma.AdminDialerEntryWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.AdminDialerEntryUpdateWithoutContactInput, Prisma.AdminDialerEntryUncheckedUpdateWithoutContactInput>
|
|
create: Prisma.XOR<Prisma.AdminDialerEntryCreateWithoutContactInput, Prisma.AdminDialerEntryUncheckedCreateWithoutContactInput>
|
|
}
|
|
|
|
export type AdminDialerEntryUpdateWithWhereUniqueWithoutContactInput = {
|
|
where: Prisma.AdminDialerEntryWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.AdminDialerEntryUpdateWithoutContactInput, Prisma.AdminDialerEntryUncheckedUpdateWithoutContactInput>
|
|
}
|
|
|
|
export type AdminDialerEntryUpdateManyWithWhereWithoutContactInput = {
|
|
where: Prisma.AdminDialerEntryScalarWhereInput
|
|
data: Prisma.XOR<Prisma.AdminDialerEntryUpdateManyMutationInput, Prisma.AdminDialerEntryUncheckedUpdateManyWithoutContactInput>
|
|
}
|
|
|
|
export type AdminDialerEntryScalarWhereInput = {
|
|
AND?: Prisma.AdminDialerEntryScalarWhereInput | Prisma.AdminDialerEntryScalarWhereInput[]
|
|
OR?: Prisma.AdminDialerEntryScalarWhereInput[]
|
|
NOT?: Prisma.AdminDialerEntryScalarWhereInput | Prisma.AdminDialerEntryScalarWhereInput[]
|
|
id?: Prisma.StringFilter<"AdminDialerEntry"> | string
|
|
createdAt?: Prisma.DateTimeFilter<"AdminDialerEntry"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"AdminDialerEntry"> | Date | string
|
|
adminUserId?: Prisma.StringFilter<"AdminDialerEntry"> | string
|
|
dialerListId?: Prisma.StringFilter<"AdminDialerEntry"> | string
|
|
contactId?: Prisma.StringFilter<"AdminDialerEntry"> | string
|
|
position?: Prisma.IntFilter<"AdminDialerEntry"> | number
|
|
status?: Prisma.EnumAdminDialerEntryStatusFilter<"AdminDialerEntry"> | $Enums.AdminDialerEntryStatus
|
|
callSessionId?: Prisma.StringNullableFilter<"AdminDialerEntry"> | string | null
|
|
blockedReason?: Prisma.StringNullableFilter<"AdminDialerEntry"> | string | null
|
|
activatedAt?: Prisma.DateTimeNullableFilter<"AdminDialerEntry"> | Date | string | null
|
|
completedAt?: Prisma.DateTimeNullableFilter<"AdminDialerEntry"> | Date | string | null
|
|
}
|
|
|
|
export type AdminDialerEntryCreateWithoutCallSessionInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
adminUserId: string
|
|
position: number
|
|
status?: $Enums.AdminDialerEntryStatus
|
|
blockedReason?: string | null
|
|
activatedAt?: Date | string | null
|
|
completedAt?: Date | string | null
|
|
dialerList: Prisma.AdminDialerListCreateNestedOneWithoutEntriesInput
|
|
contact: Prisma.AdminContactCreateNestedOneWithoutDialerEntriesInput
|
|
outboundRequests?: Prisma.AdminOutboundCallRequestCreateNestedManyWithoutDialerEntryInput
|
|
}
|
|
|
|
export type AdminDialerEntryUncheckedCreateWithoutCallSessionInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
adminUserId: string
|
|
dialerListId: string
|
|
contactId: string
|
|
position: number
|
|
status?: $Enums.AdminDialerEntryStatus
|
|
blockedReason?: string | null
|
|
activatedAt?: Date | string | null
|
|
completedAt?: Date | string | null
|
|
outboundRequests?: Prisma.AdminOutboundCallRequestUncheckedCreateNestedManyWithoutDialerEntryInput
|
|
}
|
|
|
|
export type AdminDialerEntryCreateOrConnectWithoutCallSessionInput = {
|
|
where: Prisma.AdminDialerEntryWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.AdminDialerEntryCreateWithoutCallSessionInput, Prisma.AdminDialerEntryUncheckedCreateWithoutCallSessionInput>
|
|
}
|
|
|
|
export type AdminDialerEntryUpsertWithoutCallSessionInput = {
|
|
update: Prisma.XOR<Prisma.AdminDialerEntryUpdateWithoutCallSessionInput, Prisma.AdminDialerEntryUncheckedUpdateWithoutCallSessionInput>
|
|
create: Prisma.XOR<Prisma.AdminDialerEntryCreateWithoutCallSessionInput, Prisma.AdminDialerEntryUncheckedCreateWithoutCallSessionInput>
|
|
where?: Prisma.AdminDialerEntryWhereInput
|
|
}
|
|
|
|
export type AdminDialerEntryUpdateToOneWithWhereWithoutCallSessionInput = {
|
|
where?: Prisma.AdminDialerEntryWhereInput
|
|
data: Prisma.XOR<Prisma.AdminDialerEntryUpdateWithoutCallSessionInput, Prisma.AdminDialerEntryUncheckedUpdateWithoutCallSessionInput>
|
|
}
|
|
|
|
export type AdminDialerEntryUpdateWithoutCallSessionInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
position?: Prisma.IntFieldUpdateOperationsInput | number
|
|
status?: Prisma.EnumAdminDialerEntryStatusFieldUpdateOperationsInput | $Enums.AdminDialerEntryStatus
|
|
blockedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
activatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
dialerList?: Prisma.AdminDialerListUpdateOneRequiredWithoutEntriesNestedInput
|
|
contact?: Prisma.AdminContactUpdateOneRequiredWithoutDialerEntriesNestedInput
|
|
outboundRequests?: Prisma.AdminOutboundCallRequestUpdateManyWithoutDialerEntryNestedInput
|
|
}
|
|
|
|
export type AdminDialerEntryUncheckedUpdateWithoutCallSessionInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
dialerListId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
contactId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
position?: Prisma.IntFieldUpdateOperationsInput | number
|
|
status?: Prisma.EnumAdminDialerEntryStatusFieldUpdateOperationsInput | $Enums.AdminDialerEntryStatus
|
|
blockedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
activatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
outboundRequests?: Prisma.AdminOutboundCallRequestUncheckedUpdateManyWithoutDialerEntryNestedInput
|
|
}
|
|
|
|
export type AdminDialerEntryCreateWithoutDialerListInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
adminUserId: string
|
|
position: number
|
|
status?: $Enums.AdminDialerEntryStatus
|
|
blockedReason?: string | null
|
|
activatedAt?: Date | string | null
|
|
completedAt?: Date | string | null
|
|
contact: Prisma.AdminContactCreateNestedOneWithoutDialerEntriesInput
|
|
callSession?: Prisma.AdminCallSessionCreateNestedOneWithoutDialerEntryInput
|
|
outboundRequests?: Prisma.AdminOutboundCallRequestCreateNestedManyWithoutDialerEntryInput
|
|
}
|
|
|
|
export type AdminDialerEntryUncheckedCreateWithoutDialerListInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
adminUserId: string
|
|
contactId: string
|
|
position: number
|
|
status?: $Enums.AdminDialerEntryStatus
|
|
callSessionId?: string | null
|
|
blockedReason?: string | null
|
|
activatedAt?: Date | string | null
|
|
completedAt?: Date | string | null
|
|
outboundRequests?: Prisma.AdminOutboundCallRequestUncheckedCreateNestedManyWithoutDialerEntryInput
|
|
}
|
|
|
|
export type AdminDialerEntryCreateOrConnectWithoutDialerListInput = {
|
|
where: Prisma.AdminDialerEntryWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.AdminDialerEntryCreateWithoutDialerListInput, Prisma.AdminDialerEntryUncheckedCreateWithoutDialerListInput>
|
|
}
|
|
|
|
export type AdminDialerEntryCreateManyDialerListInputEnvelope = {
|
|
data: Prisma.AdminDialerEntryCreateManyDialerListInput | Prisma.AdminDialerEntryCreateManyDialerListInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type AdminDialerEntryUpsertWithWhereUniqueWithoutDialerListInput = {
|
|
where: Prisma.AdminDialerEntryWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.AdminDialerEntryUpdateWithoutDialerListInput, Prisma.AdminDialerEntryUncheckedUpdateWithoutDialerListInput>
|
|
create: Prisma.XOR<Prisma.AdminDialerEntryCreateWithoutDialerListInput, Prisma.AdminDialerEntryUncheckedCreateWithoutDialerListInput>
|
|
}
|
|
|
|
export type AdminDialerEntryUpdateWithWhereUniqueWithoutDialerListInput = {
|
|
where: Prisma.AdminDialerEntryWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.AdminDialerEntryUpdateWithoutDialerListInput, Prisma.AdminDialerEntryUncheckedUpdateWithoutDialerListInput>
|
|
}
|
|
|
|
export type AdminDialerEntryUpdateManyWithWhereWithoutDialerListInput = {
|
|
where: Prisma.AdminDialerEntryScalarWhereInput
|
|
data: Prisma.XOR<Prisma.AdminDialerEntryUpdateManyMutationInput, Prisma.AdminDialerEntryUncheckedUpdateManyWithoutDialerListInput>
|
|
}
|
|
|
|
export type AdminDialerEntryCreateWithoutOutboundRequestsInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
adminUserId: string
|
|
position: number
|
|
status?: $Enums.AdminDialerEntryStatus
|
|
blockedReason?: string | null
|
|
activatedAt?: Date | string | null
|
|
completedAt?: Date | string | null
|
|
dialerList: Prisma.AdminDialerListCreateNestedOneWithoutEntriesInput
|
|
contact: Prisma.AdminContactCreateNestedOneWithoutDialerEntriesInput
|
|
callSession?: Prisma.AdminCallSessionCreateNestedOneWithoutDialerEntryInput
|
|
}
|
|
|
|
export type AdminDialerEntryUncheckedCreateWithoutOutboundRequestsInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
adminUserId: string
|
|
dialerListId: string
|
|
contactId: string
|
|
position: number
|
|
status?: $Enums.AdminDialerEntryStatus
|
|
callSessionId?: string | null
|
|
blockedReason?: string | null
|
|
activatedAt?: Date | string | null
|
|
completedAt?: Date | string | null
|
|
}
|
|
|
|
export type AdminDialerEntryCreateOrConnectWithoutOutboundRequestsInput = {
|
|
where: Prisma.AdminDialerEntryWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.AdminDialerEntryCreateWithoutOutboundRequestsInput, Prisma.AdminDialerEntryUncheckedCreateWithoutOutboundRequestsInput>
|
|
}
|
|
|
|
export type AdminDialerEntryUpsertWithoutOutboundRequestsInput = {
|
|
update: Prisma.XOR<Prisma.AdminDialerEntryUpdateWithoutOutboundRequestsInput, Prisma.AdminDialerEntryUncheckedUpdateWithoutOutboundRequestsInput>
|
|
create: Prisma.XOR<Prisma.AdminDialerEntryCreateWithoutOutboundRequestsInput, Prisma.AdminDialerEntryUncheckedCreateWithoutOutboundRequestsInput>
|
|
where?: Prisma.AdminDialerEntryWhereInput
|
|
}
|
|
|
|
export type AdminDialerEntryUpdateToOneWithWhereWithoutOutboundRequestsInput = {
|
|
where?: Prisma.AdminDialerEntryWhereInput
|
|
data: Prisma.XOR<Prisma.AdminDialerEntryUpdateWithoutOutboundRequestsInput, Prisma.AdminDialerEntryUncheckedUpdateWithoutOutboundRequestsInput>
|
|
}
|
|
|
|
export type AdminDialerEntryUpdateWithoutOutboundRequestsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
position?: Prisma.IntFieldUpdateOperationsInput | number
|
|
status?: Prisma.EnumAdminDialerEntryStatusFieldUpdateOperationsInput | $Enums.AdminDialerEntryStatus
|
|
blockedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
activatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
dialerList?: Prisma.AdminDialerListUpdateOneRequiredWithoutEntriesNestedInput
|
|
contact?: Prisma.AdminContactUpdateOneRequiredWithoutDialerEntriesNestedInput
|
|
callSession?: Prisma.AdminCallSessionUpdateOneWithoutDialerEntryNestedInput
|
|
}
|
|
|
|
export type AdminDialerEntryUncheckedUpdateWithoutOutboundRequestsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
dialerListId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
contactId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
position?: Prisma.IntFieldUpdateOperationsInput | number
|
|
status?: Prisma.EnumAdminDialerEntryStatusFieldUpdateOperationsInput | $Enums.AdminDialerEntryStatus
|
|
callSessionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
blockedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
activatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
}
|
|
|
|
export type AdminDialerEntryCreateManyContactInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
adminUserId: string
|
|
dialerListId: string
|
|
position: number
|
|
status?: $Enums.AdminDialerEntryStatus
|
|
callSessionId?: string | null
|
|
blockedReason?: string | null
|
|
activatedAt?: Date | string | null
|
|
completedAt?: Date | string | null
|
|
}
|
|
|
|
export type AdminDialerEntryUpdateWithoutContactInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
position?: Prisma.IntFieldUpdateOperationsInput | number
|
|
status?: Prisma.EnumAdminDialerEntryStatusFieldUpdateOperationsInput | $Enums.AdminDialerEntryStatus
|
|
blockedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
activatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
dialerList?: Prisma.AdminDialerListUpdateOneRequiredWithoutEntriesNestedInput
|
|
callSession?: Prisma.AdminCallSessionUpdateOneWithoutDialerEntryNestedInput
|
|
outboundRequests?: Prisma.AdminOutboundCallRequestUpdateManyWithoutDialerEntryNestedInput
|
|
}
|
|
|
|
export type AdminDialerEntryUncheckedUpdateWithoutContactInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
dialerListId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
position?: Prisma.IntFieldUpdateOperationsInput | number
|
|
status?: Prisma.EnumAdminDialerEntryStatusFieldUpdateOperationsInput | $Enums.AdminDialerEntryStatus
|
|
callSessionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
blockedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
activatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
outboundRequests?: Prisma.AdminOutboundCallRequestUncheckedUpdateManyWithoutDialerEntryNestedInput
|
|
}
|
|
|
|
export type AdminDialerEntryUncheckedUpdateManyWithoutContactInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
dialerListId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
position?: Prisma.IntFieldUpdateOperationsInput | number
|
|
status?: Prisma.EnumAdminDialerEntryStatusFieldUpdateOperationsInput | $Enums.AdminDialerEntryStatus
|
|
callSessionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
blockedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
activatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
}
|
|
|
|
export type AdminDialerEntryCreateManyDialerListInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
adminUserId: string
|
|
contactId: string
|
|
position: number
|
|
status?: $Enums.AdminDialerEntryStatus
|
|
callSessionId?: string | null
|
|
blockedReason?: string | null
|
|
activatedAt?: Date | string | null
|
|
completedAt?: Date | string | null
|
|
}
|
|
|
|
export type AdminDialerEntryUpdateWithoutDialerListInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
position?: Prisma.IntFieldUpdateOperationsInput | number
|
|
status?: Prisma.EnumAdminDialerEntryStatusFieldUpdateOperationsInput | $Enums.AdminDialerEntryStatus
|
|
blockedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
activatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
contact?: Prisma.AdminContactUpdateOneRequiredWithoutDialerEntriesNestedInput
|
|
callSession?: Prisma.AdminCallSessionUpdateOneWithoutDialerEntryNestedInput
|
|
outboundRequests?: Prisma.AdminOutboundCallRequestUpdateManyWithoutDialerEntryNestedInput
|
|
}
|
|
|
|
export type AdminDialerEntryUncheckedUpdateWithoutDialerListInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
contactId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
position?: Prisma.IntFieldUpdateOperationsInput | number
|
|
status?: Prisma.EnumAdminDialerEntryStatusFieldUpdateOperationsInput | $Enums.AdminDialerEntryStatus
|
|
callSessionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
blockedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
activatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
outboundRequests?: Prisma.AdminOutboundCallRequestUncheckedUpdateManyWithoutDialerEntryNestedInput
|
|
}
|
|
|
|
export type AdminDialerEntryUncheckedUpdateManyWithoutDialerListInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
contactId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
position?: Prisma.IntFieldUpdateOperationsInput | number
|
|
status?: Prisma.EnumAdminDialerEntryStatusFieldUpdateOperationsInput | $Enums.AdminDialerEntryStatus
|
|
callSessionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
blockedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
activatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
}
|
|
|
|
|
|
/**
|
|
* Count Type AdminDialerEntryCountOutputType
|
|
*/
|
|
|
|
export type AdminDialerEntryCountOutputType = {
|
|
outboundRequests: number
|
|
}
|
|
|
|
export type AdminDialerEntryCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
outboundRequests?: boolean | AdminDialerEntryCountOutputTypeCountOutboundRequestsArgs
|
|
}
|
|
|
|
/**
|
|
* AdminDialerEntryCountOutputType without action
|
|
*/
|
|
export type AdminDialerEntryCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminDialerEntryCountOutputType
|
|
*/
|
|
select?: Prisma.AdminDialerEntryCountOutputTypeSelect<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* AdminDialerEntryCountOutputType without action
|
|
*/
|
|
export type AdminDialerEntryCountOutputTypeCountOutboundRequestsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.AdminOutboundCallRequestWhereInput
|
|
}
|
|
|
|
|
|
export type AdminDialerEntrySelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
adminUserId?: boolean
|
|
dialerListId?: boolean
|
|
contactId?: boolean
|
|
position?: boolean
|
|
status?: boolean
|
|
callSessionId?: boolean
|
|
blockedReason?: boolean
|
|
activatedAt?: boolean
|
|
completedAt?: boolean
|
|
dialerList?: boolean | Prisma.AdminDialerListDefaultArgs<ExtArgs>
|
|
contact?: boolean | Prisma.AdminContactDefaultArgs<ExtArgs>
|
|
callSession?: boolean | Prisma.AdminDialerEntry$callSessionArgs<ExtArgs>
|
|
outboundRequests?: boolean | Prisma.AdminDialerEntry$outboundRequestsArgs<ExtArgs>
|
|
_count?: boolean | Prisma.AdminDialerEntryCountOutputTypeDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["adminDialerEntry"]>
|
|
|
|
export type AdminDialerEntrySelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
adminUserId?: boolean
|
|
dialerListId?: boolean
|
|
contactId?: boolean
|
|
position?: boolean
|
|
status?: boolean
|
|
callSessionId?: boolean
|
|
blockedReason?: boolean
|
|
activatedAt?: boolean
|
|
completedAt?: boolean
|
|
dialerList?: boolean | Prisma.AdminDialerListDefaultArgs<ExtArgs>
|
|
contact?: boolean | Prisma.AdminContactDefaultArgs<ExtArgs>
|
|
callSession?: boolean | Prisma.AdminDialerEntry$callSessionArgs<ExtArgs>
|
|
}, ExtArgs["result"]["adminDialerEntry"]>
|
|
|
|
export type AdminDialerEntrySelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
adminUserId?: boolean
|
|
dialerListId?: boolean
|
|
contactId?: boolean
|
|
position?: boolean
|
|
status?: boolean
|
|
callSessionId?: boolean
|
|
blockedReason?: boolean
|
|
activatedAt?: boolean
|
|
completedAt?: boolean
|
|
dialerList?: boolean | Prisma.AdminDialerListDefaultArgs<ExtArgs>
|
|
contact?: boolean | Prisma.AdminContactDefaultArgs<ExtArgs>
|
|
callSession?: boolean | Prisma.AdminDialerEntry$callSessionArgs<ExtArgs>
|
|
}, ExtArgs["result"]["adminDialerEntry"]>
|
|
|
|
export type AdminDialerEntrySelectScalar = {
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
adminUserId?: boolean
|
|
dialerListId?: boolean
|
|
contactId?: boolean
|
|
position?: boolean
|
|
status?: boolean
|
|
callSessionId?: boolean
|
|
blockedReason?: boolean
|
|
activatedAt?: boolean
|
|
completedAt?: boolean
|
|
}
|
|
|
|
export type AdminDialerEntryOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "adminUserId" | "dialerListId" | "contactId" | "position" | "status" | "callSessionId" | "blockedReason" | "activatedAt" | "completedAt", ExtArgs["result"]["adminDialerEntry"]>
|
|
export type AdminDialerEntryInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
dialerList?: boolean | Prisma.AdminDialerListDefaultArgs<ExtArgs>
|
|
contact?: boolean | Prisma.AdminContactDefaultArgs<ExtArgs>
|
|
callSession?: boolean | Prisma.AdminDialerEntry$callSessionArgs<ExtArgs>
|
|
outboundRequests?: boolean | Prisma.AdminDialerEntry$outboundRequestsArgs<ExtArgs>
|
|
_count?: boolean | Prisma.AdminDialerEntryCountOutputTypeDefaultArgs<ExtArgs>
|
|
}
|
|
export type AdminDialerEntryIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
dialerList?: boolean | Prisma.AdminDialerListDefaultArgs<ExtArgs>
|
|
contact?: boolean | Prisma.AdminContactDefaultArgs<ExtArgs>
|
|
callSession?: boolean | Prisma.AdminDialerEntry$callSessionArgs<ExtArgs>
|
|
}
|
|
export type AdminDialerEntryIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
dialerList?: boolean | Prisma.AdminDialerListDefaultArgs<ExtArgs>
|
|
contact?: boolean | Prisma.AdminContactDefaultArgs<ExtArgs>
|
|
callSession?: boolean | Prisma.AdminDialerEntry$callSessionArgs<ExtArgs>
|
|
}
|
|
|
|
export type $AdminDialerEntryPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "AdminDialerEntry"
|
|
objects: {
|
|
dialerList: Prisma.$AdminDialerListPayload<ExtArgs>
|
|
contact: Prisma.$AdminContactPayload<ExtArgs>
|
|
callSession: Prisma.$AdminCallSessionPayload<ExtArgs> | null
|
|
outboundRequests: Prisma.$AdminOutboundCallRequestPayload<ExtArgs>[]
|
|
}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: string
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
adminUserId: string
|
|
dialerListId: string
|
|
contactId: string
|
|
position: number
|
|
status: $Enums.AdminDialerEntryStatus
|
|
callSessionId: string | null
|
|
blockedReason: string | null
|
|
activatedAt: Date | null
|
|
completedAt: Date | null
|
|
}, ExtArgs["result"]["adminDialerEntry"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type AdminDialerEntryGetPayload<S extends boolean | null | undefined | AdminDialerEntryDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$AdminDialerEntryPayload, S>
|
|
|
|
export type AdminDialerEntryCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<AdminDialerEntryFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: AdminDialerEntryCountAggregateInputType | true
|
|
}
|
|
|
|
export interface AdminDialerEntryDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['AdminDialerEntry'], meta: { name: 'AdminDialerEntry' } }
|
|
/**
|
|
* Find zero or one AdminDialerEntry that matches the filter.
|
|
* @param {AdminDialerEntryFindUniqueArgs} args - Arguments to find a AdminDialerEntry
|
|
* @example
|
|
* // Get one AdminDialerEntry
|
|
* const adminDialerEntry = await prisma.adminDialerEntry.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends AdminDialerEntryFindUniqueArgs>(args: Prisma.SelectSubset<T, AdminDialerEntryFindUniqueArgs<ExtArgs>>): Prisma.Prisma__AdminDialerEntryClient<runtime.Types.Result.GetResult<Prisma.$AdminDialerEntryPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one AdminDialerEntry that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {AdminDialerEntryFindUniqueOrThrowArgs} args - Arguments to find a AdminDialerEntry
|
|
* @example
|
|
* // Get one AdminDialerEntry
|
|
* const adminDialerEntry = await prisma.adminDialerEntry.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends AdminDialerEntryFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, AdminDialerEntryFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__AdminDialerEntryClient<runtime.Types.Result.GetResult<Prisma.$AdminDialerEntryPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first AdminDialerEntry 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 {AdminDialerEntryFindFirstArgs} args - Arguments to find a AdminDialerEntry
|
|
* @example
|
|
* // Get one AdminDialerEntry
|
|
* const adminDialerEntry = await prisma.adminDialerEntry.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends AdminDialerEntryFindFirstArgs>(args?: Prisma.SelectSubset<T, AdminDialerEntryFindFirstArgs<ExtArgs>>): Prisma.Prisma__AdminDialerEntryClient<runtime.Types.Result.GetResult<Prisma.$AdminDialerEntryPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first AdminDialerEntry 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 {AdminDialerEntryFindFirstOrThrowArgs} args - Arguments to find a AdminDialerEntry
|
|
* @example
|
|
* // Get one AdminDialerEntry
|
|
* const adminDialerEntry = await prisma.adminDialerEntry.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends AdminDialerEntryFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, AdminDialerEntryFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__AdminDialerEntryClient<runtime.Types.Result.GetResult<Prisma.$AdminDialerEntryPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more AdminDialerEntries 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 {AdminDialerEntryFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all AdminDialerEntries
|
|
* const adminDialerEntries = await prisma.adminDialerEntry.findMany()
|
|
*
|
|
* // Get first 10 AdminDialerEntries
|
|
* const adminDialerEntries = await prisma.adminDialerEntry.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const adminDialerEntryWithIdOnly = await prisma.adminDialerEntry.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends AdminDialerEntryFindManyArgs>(args?: Prisma.SelectSubset<T, AdminDialerEntryFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdminDialerEntryPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a AdminDialerEntry.
|
|
* @param {AdminDialerEntryCreateArgs} args - Arguments to create a AdminDialerEntry.
|
|
* @example
|
|
* // Create one AdminDialerEntry
|
|
* const AdminDialerEntry = await prisma.adminDialerEntry.create({
|
|
* data: {
|
|
* // ... data to create a AdminDialerEntry
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends AdminDialerEntryCreateArgs>(args: Prisma.SelectSubset<T, AdminDialerEntryCreateArgs<ExtArgs>>): Prisma.Prisma__AdminDialerEntryClient<runtime.Types.Result.GetResult<Prisma.$AdminDialerEntryPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many AdminDialerEntries.
|
|
* @param {AdminDialerEntryCreateManyArgs} args - Arguments to create many AdminDialerEntries.
|
|
* @example
|
|
* // Create many AdminDialerEntries
|
|
* const adminDialerEntry = await prisma.adminDialerEntry.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends AdminDialerEntryCreateManyArgs>(args?: Prisma.SelectSubset<T, AdminDialerEntryCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create many AdminDialerEntries and returns the data saved in the database.
|
|
* @param {AdminDialerEntryCreateManyAndReturnArgs} args - Arguments to create many AdminDialerEntries.
|
|
* @example
|
|
* // Create many AdminDialerEntries
|
|
* const adminDialerEntry = await prisma.adminDialerEntry.createManyAndReturn({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Create many AdminDialerEntries and only return the `id`
|
|
* const adminDialerEntryWithIdOnly = await prisma.adminDialerEntry.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 AdminDialerEntryCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, AdminDialerEntryCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdminDialerEntryPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Delete a AdminDialerEntry.
|
|
* @param {AdminDialerEntryDeleteArgs} args - Arguments to delete one AdminDialerEntry.
|
|
* @example
|
|
* // Delete one AdminDialerEntry
|
|
* const AdminDialerEntry = await prisma.adminDialerEntry.delete({
|
|
* where: {
|
|
* // ... filter to delete one AdminDialerEntry
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends AdminDialerEntryDeleteArgs>(args: Prisma.SelectSubset<T, AdminDialerEntryDeleteArgs<ExtArgs>>): Prisma.Prisma__AdminDialerEntryClient<runtime.Types.Result.GetResult<Prisma.$AdminDialerEntryPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one AdminDialerEntry.
|
|
* @param {AdminDialerEntryUpdateArgs} args - Arguments to update one AdminDialerEntry.
|
|
* @example
|
|
* // Update one AdminDialerEntry
|
|
* const adminDialerEntry = await prisma.adminDialerEntry.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends AdminDialerEntryUpdateArgs>(args: Prisma.SelectSubset<T, AdminDialerEntryUpdateArgs<ExtArgs>>): Prisma.Prisma__AdminDialerEntryClient<runtime.Types.Result.GetResult<Prisma.$AdminDialerEntryPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more AdminDialerEntries.
|
|
* @param {AdminDialerEntryDeleteManyArgs} args - Arguments to filter AdminDialerEntries to delete.
|
|
* @example
|
|
* // Delete a few AdminDialerEntries
|
|
* const { count } = await prisma.adminDialerEntry.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends AdminDialerEntryDeleteManyArgs>(args?: Prisma.SelectSubset<T, AdminDialerEntryDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more AdminDialerEntries.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {AdminDialerEntryUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many AdminDialerEntries
|
|
* const adminDialerEntry = await prisma.adminDialerEntry.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends AdminDialerEntryUpdateManyArgs>(args: Prisma.SelectSubset<T, AdminDialerEntryUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more AdminDialerEntries and returns the data updated in the database.
|
|
* @param {AdminDialerEntryUpdateManyAndReturnArgs} args - Arguments to update many AdminDialerEntries.
|
|
* @example
|
|
* // Update many AdminDialerEntries
|
|
* const adminDialerEntry = await prisma.adminDialerEntry.updateManyAndReturn({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Update zero or more AdminDialerEntries and only return the `id`
|
|
* const adminDialerEntryWithIdOnly = await prisma.adminDialerEntry.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 AdminDialerEntryUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, AdminDialerEntryUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdminDialerEntryPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create or update one AdminDialerEntry.
|
|
* @param {AdminDialerEntryUpsertArgs} args - Arguments to update or create a AdminDialerEntry.
|
|
* @example
|
|
* // Update or create a AdminDialerEntry
|
|
* const adminDialerEntry = await prisma.adminDialerEntry.upsert({
|
|
* create: {
|
|
* // ... data to create a AdminDialerEntry
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the AdminDialerEntry we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends AdminDialerEntryUpsertArgs>(args: Prisma.SelectSubset<T, AdminDialerEntryUpsertArgs<ExtArgs>>): Prisma.Prisma__AdminDialerEntryClient<runtime.Types.Result.GetResult<Prisma.$AdminDialerEntryPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of AdminDialerEntries.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {AdminDialerEntryCountArgs} args - Arguments to filter AdminDialerEntries to count.
|
|
* @example
|
|
* // Count the number of AdminDialerEntries
|
|
* const count = await prisma.adminDialerEntry.count({
|
|
* where: {
|
|
* // ... the filter for the AdminDialerEntries we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends AdminDialerEntryCountArgs>(
|
|
args?: Prisma.Subset<T, AdminDialerEntryCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], AdminDialerEntryCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a AdminDialerEntry.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {AdminDialerEntryAggregateArgs} 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 AdminDialerEntryAggregateArgs>(args: Prisma.Subset<T, AdminDialerEntryAggregateArgs>): Prisma.PrismaPromise<GetAdminDialerEntryAggregateType<T>>
|
|
|
|
/**
|
|
* Group by AdminDialerEntry.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {AdminDialerEntryGroupByArgs} 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 AdminDialerEntryGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: AdminDialerEntryGroupByArgs['orderBy'] }
|
|
: { orderBy?: AdminDialerEntryGroupByArgs['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, AdminDialerEntryGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAdminDialerEntryGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the AdminDialerEntry model
|
|
*/
|
|
readonly fields: AdminDialerEntryFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for AdminDialerEntry.
|
|
* 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__AdminDialerEntryClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
dialerList<T extends Prisma.AdminDialerListDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AdminDialerListDefaultArgs<ExtArgs>>): Prisma.Prisma__AdminDialerListClient<runtime.Types.Result.GetResult<Prisma.$AdminDialerListPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
contact<T extends Prisma.AdminContactDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AdminContactDefaultArgs<ExtArgs>>): Prisma.Prisma__AdminContactClient<runtime.Types.Result.GetResult<Prisma.$AdminContactPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
callSession<T extends Prisma.AdminDialerEntry$callSessionArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AdminDialerEntry$callSessionArgs<ExtArgs>>): Prisma.Prisma__AdminCallSessionClient<runtime.Types.Result.GetResult<Prisma.$AdminCallSessionPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
outboundRequests<T extends Prisma.AdminDialerEntry$outboundRequestsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AdminDialerEntry$outboundRequestsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdminOutboundCallRequestPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
/**
|
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
* @returns A Promise for the completion of which ever callback is executed.
|
|
*/
|
|
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
|
|
/**
|
|
* Attaches a callback for only the rejection of the Promise.
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
/**
|
|
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
* resolved value cannot be modified from the callback.
|
|
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
* Fields of the AdminDialerEntry model
|
|
*/
|
|
export interface AdminDialerEntryFieldRefs {
|
|
readonly id: Prisma.FieldRef<"AdminDialerEntry", 'String'>
|
|
readonly createdAt: Prisma.FieldRef<"AdminDialerEntry", 'DateTime'>
|
|
readonly updatedAt: Prisma.FieldRef<"AdminDialerEntry", 'DateTime'>
|
|
readonly adminUserId: Prisma.FieldRef<"AdminDialerEntry", 'String'>
|
|
readonly dialerListId: Prisma.FieldRef<"AdminDialerEntry", 'String'>
|
|
readonly contactId: Prisma.FieldRef<"AdminDialerEntry", 'String'>
|
|
readonly position: Prisma.FieldRef<"AdminDialerEntry", 'Int'>
|
|
readonly status: Prisma.FieldRef<"AdminDialerEntry", 'AdminDialerEntryStatus'>
|
|
readonly callSessionId: Prisma.FieldRef<"AdminDialerEntry", 'String'>
|
|
readonly blockedReason: Prisma.FieldRef<"AdminDialerEntry", 'String'>
|
|
readonly activatedAt: Prisma.FieldRef<"AdminDialerEntry", 'DateTime'>
|
|
readonly completedAt: Prisma.FieldRef<"AdminDialerEntry", 'DateTime'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* AdminDialerEntry findUnique
|
|
*/
|
|
export type AdminDialerEntryFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminDialerEntry
|
|
*/
|
|
select?: Prisma.AdminDialerEntrySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminDialerEntry
|
|
*/
|
|
omit?: Prisma.AdminDialerEntryOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminDialerEntryInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which AdminDialerEntry to fetch.
|
|
*/
|
|
where: Prisma.AdminDialerEntryWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AdminDialerEntry findUniqueOrThrow
|
|
*/
|
|
export type AdminDialerEntryFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminDialerEntry
|
|
*/
|
|
select?: Prisma.AdminDialerEntrySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminDialerEntry
|
|
*/
|
|
omit?: Prisma.AdminDialerEntryOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminDialerEntryInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which AdminDialerEntry to fetch.
|
|
*/
|
|
where: Prisma.AdminDialerEntryWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AdminDialerEntry findFirst
|
|
*/
|
|
export type AdminDialerEntryFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminDialerEntry
|
|
*/
|
|
select?: Prisma.AdminDialerEntrySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminDialerEntry
|
|
*/
|
|
omit?: Prisma.AdminDialerEntryOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminDialerEntryInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which AdminDialerEntry to fetch.
|
|
*/
|
|
where?: Prisma.AdminDialerEntryWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of AdminDialerEntries to fetch.
|
|
*/
|
|
orderBy?: Prisma.AdminDialerEntryOrderByWithRelationInput | Prisma.AdminDialerEntryOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for AdminDialerEntries.
|
|
*/
|
|
cursor?: Prisma.AdminDialerEntryWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` AdminDialerEntries 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` AdminDialerEntries.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of AdminDialerEntries.
|
|
*/
|
|
distinct?: Prisma.AdminDialerEntryScalarFieldEnum | Prisma.AdminDialerEntryScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AdminDialerEntry findFirstOrThrow
|
|
*/
|
|
export type AdminDialerEntryFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminDialerEntry
|
|
*/
|
|
select?: Prisma.AdminDialerEntrySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminDialerEntry
|
|
*/
|
|
omit?: Prisma.AdminDialerEntryOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminDialerEntryInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which AdminDialerEntry to fetch.
|
|
*/
|
|
where?: Prisma.AdminDialerEntryWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of AdminDialerEntries to fetch.
|
|
*/
|
|
orderBy?: Prisma.AdminDialerEntryOrderByWithRelationInput | Prisma.AdminDialerEntryOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for AdminDialerEntries.
|
|
*/
|
|
cursor?: Prisma.AdminDialerEntryWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` AdminDialerEntries 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` AdminDialerEntries.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of AdminDialerEntries.
|
|
*/
|
|
distinct?: Prisma.AdminDialerEntryScalarFieldEnum | Prisma.AdminDialerEntryScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AdminDialerEntry findMany
|
|
*/
|
|
export type AdminDialerEntryFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminDialerEntry
|
|
*/
|
|
select?: Prisma.AdminDialerEntrySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminDialerEntry
|
|
*/
|
|
omit?: Prisma.AdminDialerEntryOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminDialerEntryInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which AdminDialerEntries to fetch.
|
|
*/
|
|
where?: Prisma.AdminDialerEntryWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of AdminDialerEntries to fetch.
|
|
*/
|
|
orderBy?: Prisma.AdminDialerEntryOrderByWithRelationInput | Prisma.AdminDialerEntryOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing AdminDialerEntries.
|
|
*/
|
|
cursor?: Prisma.AdminDialerEntryWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` AdminDialerEntries 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` AdminDialerEntries.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of AdminDialerEntries.
|
|
*/
|
|
distinct?: Prisma.AdminDialerEntryScalarFieldEnum | Prisma.AdminDialerEntryScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AdminDialerEntry create
|
|
*/
|
|
export type AdminDialerEntryCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminDialerEntry
|
|
*/
|
|
select?: Prisma.AdminDialerEntrySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminDialerEntry
|
|
*/
|
|
omit?: Prisma.AdminDialerEntryOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminDialerEntryInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a AdminDialerEntry.
|
|
*/
|
|
data: Prisma.XOR<Prisma.AdminDialerEntryCreateInput, Prisma.AdminDialerEntryUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* AdminDialerEntry createMany
|
|
*/
|
|
export type AdminDialerEntryCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many AdminDialerEntries.
|
|
*/
|
|
data: Prisma.AdminDialerEntryCreateManyInput | Prisma.AdminDialerEntryCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* AdminDialerEntry createManyAndReturn
|
|
*/
|
|
export type AdminDialerEntryCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminDialerEntry
|
|
*/
|
|
select?: Prisma.AdminDialerEntrySelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminDialerEntry
|
|
*/
|
|
omit?: Prisma.AdminDialerEntryOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to create many AdminDialerEntries.
|
|
*/
|
|
data: Prisma.AdminDialerEntryCreateManyInput | Prisma.AdminDialerEntryCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminDialerEntryIncludeCreateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* AdminDialerEntry update
|
|
*/
|
|
export type AdminDialerEntryUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminDialerEntry
|
|
*/
|
|
select?: Prisma.AdminDialerEntrySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminDialerEntry
|
|
*/
|
|
omit?: Prisma.AdminDialerEntryOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminDialerEntryInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a AdminDialerEntry.
|
|
*/
|
|
data: Prisma.XOR<Prisma.AdminDialerEntryUpdateInput, Prisma.AdminDialerEntryUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which AdminDialerEntry to update.
|
|
*/
|
|
where: Prisma.AdminDialerEntryWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AdminDialerEntry updateMany
|
|
*/
|
|
export type AdminDialerEntryUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update AdminDialerEntries.
|
|
*/
|
|
data: Prisma.XOR<Prisma.AdminDialerEntryUpdateManyMutationInput, Prisma.AdminDialerEntryUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which AdminDialerEntries to update
|
|
*/
|
|
where?: Prisma.AdminDialerEntryWhereInput
|
|
/**
|
|
* Limit how many AdminDialerEntries to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* AdminDialerEntry updateManyAndReturn
|
|
*/
|
|
export type AdminDialerEntryUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminDialerEntry
|
|
*/
|
|
select?: Prisma.AdminDialerEntrySelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminDialerEntry
|
|
*/
|
|
omit?: Prisma.AdminDialerEntryOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update AdminDialerEntries.
|
|
*/
|
|
data: Prisma.XOR<Prisma.AdminDialerEntryUpdateManyMutationInput, Prisma.AdminDialerEntryUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which AdminDialerEntries to update
|
|
*/
|
|
where?: Prisma.AdminDialerEntryWhereInput
|
|
/**
|
|
* Limit how many AdminDialerEntries to update.
|
|
*/
|
|
limit?: number
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminDialerEntryIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* AdminDialerEntry upsert
|
|
*/
|
|
export type AdminDialerEntryUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminDialerEntry
|
|
*/
|
|
select?: Prisma.AdminDialerEntrySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminDialerEntry
|
|
*/
|
|
omit?: Prisma.AdminDialerEntryOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminDialerEntryInclude<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the AdminDialerEntry to update in case it exists.
|
|
*/
|
|
where: Prisma.AdminDialerEntryWhereUniqueInput
|
|
/**
|
|
* In case the AdminDialerEntry found by the `where` argument doesn't exist, create a new AdminDialerEntry with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.AdminDialerEntryCreateInput, Prisma.AdminDialerEntryUncheckedCreateInput>
|
|
/**
|
|
* In case the AdminDialerEntry was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.AdminDialerEntryUpdateInput, Prisma.AdminDialerEntryUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* AdminDialerEntry delete
|
|
*/
|
|
export type AdminDialerEntryDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminDialerEntry
|
|
*/
|
|
select?: Prisma.AdminDialerEntrySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminDialerEntry
|
|
*/
|
|
omit?: Prisma.AdminDialerEntryOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminDialerEntryInclude<ExtArgs> | null
|
|
/**
|
|
* Filter which AdminDialerEntry to delete.
|
|
*/
|
|
where: Prisma.AdminDialerEntryWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AdminDialerEntry deleteMany
|
|
*/
|
|
export type AdminDialerEntryDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which AdminDialerEntries to delete
|
|
*/
|
|
where?: Prisma.AdminDialerEntryWhereInput
|
|
/**
|
|
* Limit how many AdminDialerEntries to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* AdminDialerEntry.callSession
|
|
*/
|
|
export type AdminDialerEntry$callSessionArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminCallSession
|
|
*/
|
|
select?: Prisma.AdminCallSessionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminCallSession
|
|
*/
|
|
omit?: Prisma.AdminCallSessionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminCallSessionInclude<ExtArgs> | null
|
|
where?: Prisma.AdminCallSessionWhereInput
|
|
}
|
|
|
|
/**
|
|
* AdminDialerEntry.outboundRequests
|
|
*/
|
|
export type AdminDialerEntry$outboundRequestsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminOutboundCallRequest
|
|
*/
|
|
select?: Prisma.AdminOutboundCallRequestSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminOutboundCallRequest
|
|
*/
|
|
omit?: Prisma.AdminOutboundCallRequestOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminOutboundCallRequestInclude<ExtArgs> | null
|
|
where?: Prisma.AdminOutboundCallRequestWhereInput
|
|
orderBy?: Prisma.AdminOutboundCallRequestOrderByWithRelationInput | Prisma.AdminOutboundCallRequestOrderByWithRelationInput[]
|
|
cursor?: Prisma.AdminOutboundCallRequestWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.AdminOutboundCallRequestScalarFieldEnum | Prisma.AdminOutboundCallRequestScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AdminDialerEntry without action
|
|
*/
|
|
export type AdminDialerEntryDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminDialerEntry
|
|
*/
|
|
select?: Prisma.AdminDialerEntrySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminDialerEntry
|
|
*/
|
|
omit?: Prisma.AdminDialerEntryOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminDialerEntryInclude<ExtArgs> | null
|
|
}
|