1248 lines
47 KiB
TypeScript
1248 lines
47 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 `phonecall_log_2026` 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"
|
|
import type * as Prisma from "../internal/prismaNamespace"
|
|
|
|
/**
|
|
* Model phonecall_log_2026
|
|
*
|
|
*/
|
|
export type phonecall_log_2026Model = runtime.Types.Result.DefaultSelection<Prisma.$phonecall_log_2026Payload>
|
|
|
|
export type AggregatePhonecall_log_2026 = {
|
|
_count: Phonecall_log_2026CountAggregateOutputType | null
|
|
_avg: Phonecall_log_2026AvgAggregateOutputType | null
|
|
_sum: Phonecall_log_2026SumAggregateOutputType | null
|
|
_min: Phonecall_log_2026MinAggregateOutputType | null
|
|
_max: Phonecall_log_2026MaxAggregateOutputType | null
|
|
}
|
|
|
|
export type Phonecall_log_2026AvgAggregateOutputType = {
|
|
id: number | null
|
|
duration: number | null
|
|
billing: runtime.Decimal | null
|
|
}
|
|
|
|
export type Phonecall_log_2026SumAggregateOutputType = {
|
|
id: number | null
|
|
duration: number | null
|
|
billing: runtime.Decimal | null
|
|
}
|
|
|
|
export type Phonecall_log_2026MinAggregateOutputType = {
|
|
id: number | null
|
|
caller_id_name: string | null
|
|
caller_id_number: string | null
|
|
destination_number: string | null
|
|
start_stamp: Date | null
|
|
answer_stamp: Date | null
|
|
end_stamp: Date | null
|
|
duration: number | null
|
|
billing: runtime.Decimal | null
|
|
hangup_cause: string | null
|
|
uuid: string | null
|
|
}
|
|
|
|
export type Phonecall_log_2026MaxAggregateOutputType = {
|
|
id: number | null
|
|
caller_id_name: string | null
|
|
caller_id_number: string | null
|
|
destination_number: string | null
|
|
start_stamp: Date | null
|
|
answer_stamp: Date | null
|
|
end_stamp: Date | null
|
|
duration: number | null
|
|
billing: runtime.Decimal | null
|
|
hangup_cause: string | null
|
|
uuid: string | null
|
|
}
|
|
|
|
export type Phonecall_log_2026CountAggregateOutputType = {
|
|
id: number
|
|
caller_id_name: number
|
|
caller_id_number: number
|
|
destination_number: number
|
|
start_stamp: number
|
|
answer_stamp: number
|
|
end_stamp: number
|
|
duration: number
|
|
billing: number
|
|
hangup_cause: number
|
|
uuid: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type Phonecall_log_2026AvgAggregateInputType = {
|
|
id?: true
|
|
duration?: true
|
|
billing?: true
|
|
}
|
|
|
|
export type Phonecall_log_2026SumAggregateInputType = {
|
|
id?: true
|
|
duration?: true
|
|
billing?: true
|
|
}
|
|
|
|
export type Phonecall_log_2026MinAggregateInputType = {
|
|
id?: true
|
|
caller_id_name?: true
|
|
caller_id_number?: true
|
|
destination_number?: true
|
|
start_stamp?: true
|
|
answer_stamp?: true
|
|
end_stamp?: true
|
|
duration?: true
|
|
billing?: true
|
|
hangup_cause?: true
|
|
uuid?: true
|
|
}
|
|
|
|
export type Phonecall_log_2026MaxAggregateInputType = {
|
|
id?: true
|
|
caller_id_name?: true
|
|
caller_id_number?: true
|
|
destination_number?: true
|
|
start_stamp?: true
|
|
answer_stamp?: true
|
|
end_stamp?: true
|
|
duration?: true
|
|
billing?: true
|
|
hangup_cause?: true
|
|
uuid?: true
|
|
}
|
|
|
|
export type Phonecall_log_2026CountAggregateInputType = {
|
|
id?: true
|
|
caller_id_name?: true
|
|
caller_id_number?: true
|
|
destination_number?: true
|
|
start_stamp?: true
|
|
answer_stamp?: true
|
|
end_stamp?: true
|
|
duration?: true
|
|
billing?: true
|
|
hangup_cause?: true
|
|
uuid?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type Phonecall_log_2026AggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which phonecall_log_2026 to aggregate.
|
|
*/
|
|
where?: Prisma.phonecall_log_2026WhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of phonecall_log_2026s to fetch.
|
|
*/
|
|
orderBy?: Prisma.phonecall_log_2026OrderByWithRelationInput | Prisma.phonecall_log_2026OrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.phonecall_log_2026WhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` phonecall_log_2026s 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` phonecall_log_2026s.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned phonecall_log_2026s
|
|
**/
|
|
_count?: true | Phonecall_log_2026CountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to average
|
|
**/
|
|
_avg?: Phonecall_log_2026AvgAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to sum
|
|
**/
|
|
_sum?: Phonecall_log_2026SumAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: Phonecall_log_2026MinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: Phonecall_log_2026MaxAggregateInputType
|
|
}
|
|
|
|
export type GetPhonecall_log_2026AggregateType<T extends Phonecall_log_2026AggregateArgs> = {
|
|
[P in keyof T & keyof AggregatePhonecall_log_2026]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregatePhonecall_log_2026[P]>
|
|
: Prisma.GetScalarType<T[P], AggregatePhonecall_log_2026[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type phonecall_log_2026GroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.phonecall_log_2026WhereInput
|
|
orderBy?: Prisma.phonecall_log_2026OrderByWithAggregationInput | Prisma.phonecall_log_2026OrderByWithAggregationInput[]
|
|
by: Prisma.Phonecall_log_2026ScalarFieldEnum[] | Prisma.Phonecall_log_2026ScalarFieldEnum
|
|
having?: Prisma.phonecall_log_2026ScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: Phonecall_log_2026CountAggregateInputType | true
|
|
_avg?: Phonecall_log_2026AvgAggregateInputType
|
|
_sum?: Phonecall_log_2026SumAggregateInputType
|
|
_min?: Phonecall_log_2026MinAggregateInputType
|
|
_max?: Phonecall_log_2026MaxAggregateInputType
|
|
}
|
|
|
|
export type Phonecall_log_2026GroupByOutputType = {
|
|
id: number
|
|
caller_id_name: string
|
|
caller_id_number: string
|
|
destination_number: string
|
|
start_stamp: Date
|
|
answer_stamp: Date
|
|
end_stamp: Date
|
|
duration: number
|
|
billing: runtime.Decimal
|
|
hangup_cause: string
|
|
uuid: string
|
|
_count: Phonecall_log_2026CountAggregateOutputType | null
|
|
_avg: Phonecall_log_2026AvgAggregateOutputType | null
|
|
_sum: Phonecall_log_2026SumAggregateOutputType | null
|
|
_min: Phonecall_log_2026MinAggregateOutputType | null
|
|
_max: Phonecall_log_2026MaxAggregateOutputType | null
|
|
}
|
|
|
|
type GetPhonecall_log_2026GroupByPayload<T extends phonecall_log_2026GroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<Phonecall_log_2026GroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof Phonecall_log_2026GroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], Phonecall_log_2026GroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], Phonecall_log_2026GroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type phonecall_log_2026WhereInput = {
|
|
AND?: Prisma.phonecall_log_2026WhereInput | Prisma.phonecall_log_2026WhereInput[]
|
|
OR?: Prisma.phonecall_log_2026WhereInput[]
|
|
NOT?: Prisma.phonecall_log_2026WhereInput | Prisma.phonecall_log_2026WhereInput[]
|
|
id?: Prisma.IntFilter<"phonecall_log_2026"> | number
|
|
caller_id_name?: Prisma.StringFilter<"phonecall_log_2026"> | string
|
|
caller_id_number?: Prisma.StringFilter<"phonecall_log_2026"> | string
|
|
destination_number?: Prisma.StringFilter<"phonecall_log_2026"> | string
|
|
start_stamp?: Prisma.DateTimeFilter<"phonecall_log_2026"> | Date | string
|
|
answer_stamp?: Prisma.DateTimeFilter<"phonecall_log_2026"> | Date | string
|
|
end_stamp?: Prisma.DateTimeFilter<"phonecall_log_2026"> | Date | string
|
|
duration?: Prisma.IntFilter<"phonecall_log_2026"> | number
|
|
billing?: Prisma.DecimalFilter<"phonecall_log_2026"> | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
hangup_cause?: Prisma.StringFilter<"phonecall_log_2026"> | string
|
|
uuid?: Prisma.StringFilter<"phonecall_log_2026"> | string
|
|
}
|
|
|
|
export type phonecall_log_2026OrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
caller_id_name?: Prisma.SortOrder
|
|
caller_id_number?: Prisma.SortOrder
|
|
destination_number?: Prisma.SortOrder
|
|
start_stamp?: Prisma.SortOrder
|
|
answer_stamp?: Prisma.SortOrder
|
|
end_stamp?: Prisma.SortOrder
|
|
duration?: Prisma.SortOrder
|
|
billing?: Prisma.SortOrder
|
|
hangup_cause?: Prisma.SortOrder
|
|
uuid?: Prisma.SortOrder
|
|
_relevance?: Prisma.phonecall_log_2026OrderByRelevanceInput
|
|
}
|
|
|
|
export type phonecall_log_2026WhereUniqueInput = Prisma.AtLeast<{
|
|
id?: number
|
|
uuid?: string
|
|
AND?: Prisma.phonecall_log_2026WhereInput | Prisma.phonecall_log_2026WhereInput[]
|
|
OR?: Prisma.phonecall_log_2026WhereInput[]
|
|
NOT?: Prisma.phonecall_log_2026WhereInput | Prisma.phonecall_log_2026WhereInput[]
|
|
caller_id_name?: Prisma.StringFilter<"phonecall_log_2026"> | string
|
|
caller_id_number?: Prisma.StringFilter<"phonecall_log_2026"> | string
|
|
destination_number?: Prisma.StringFilter<"phonecall_log_2026"> | string
|
|
start_stamp?: Prisma.DateTimeFilter<"phonecall_log_2026"> | Date | string
|
|
answer_stamp?: Prisma.DateTimeFilter<"phonecall_log_2026"> | Date | string
|
|
end_stamp?: Prisma.DateTimeFilter<"phonecall_log_2026"> | Date | string
|
|
duration?: Prisma.IntFilter<"phonecall_log_2026"> | number
|
|
billing?: Prisma.DecimalFilter<"phonecall_log_2026"> | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
hangup_cause?: Prisma.StringFilter<"phonecall_log_2026"> | string
|
|
}, "id" | "uuid">
|
|
|
|
export type phonecall_log_2026OrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
caller_id_name?: Prisma.SortOrder
|
|
caller_id_number?: Prisma.SortOrder
|
|
destination_number?: Prisma.SortOrder
|
|
start_stamp?: Prisma.SortOrder
|
|
answer_stamp?: Prisma.SortOrder
|
|
end_stamp?: Prisma.SortOrder
|
|
duration?: Prisma.SortOrder
|
|
billing?: Prisma.SortOrder
|
|
hangup_cause?: Prisma.SortOrder
|
|
uuid?: Prisma.SortOrder
|
|
_count?: Prisma.phonecall_log_2026CountOrderByAggregateInput
|
|
_avg?: Prisma.phonecall_log_2026AvgOrderByAggregateInput
|
|
_max?: Prisma.phonecall_log_2026MaxOrderByAggregateInput
|
|
_min?: Prisma.phonecall_log_2026MinOrderByAggregateInput
|
|
_sum?: Prisma.phonecall_log_2026SumOrderByAggregateInput
|
|
}
|
|
|
|
export type phonecall_log_2026ScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.phonecall_log_2026ScalarWhereWithAggregatesInput | Prisma.phonecall_log_2026ScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.phonecall_log_2026ScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.phonecall_log_2026ScalarWhereWithAggregatesInput | Prisma.phonecall_log_2026ScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.IntWithAggregatesFilter<"phonecall_log_2026"> | number
|
|
caller_id_name?: Prisma.StringWithAggregatesFilter<"phonecall_log_2026"> | string
|
|
caller_id_number?: Prisma.StringWithAggregatesFilter<"phonecall_log_2026"> | string
|
|
destination_number?: Prisma.StringWithAggregatesFilter<"phonecall_log_2026"> | string
|
|
start_stamp?: Prisma.DateTimeWithAggregatesFilter<"phonecall_log_2026"> | Date | string
|
|
answer_stamp?: Prisma.DateTimeWithAggregatesFilter<"phonecall_log_2026"> | Date | string
|
|
end_stamp?: Prisma.DateTimeWithAggregatesFilter<"phonecall_log_2026"> | Date | string
|
|
duration?: Prisma.IntWithAggregatesFilter<"phonecall_log_2026"> | number
|
|
billing?: Prisma.DecimalWithAggregatesFilter<"phonecall_log_2026"> | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
hangup_cause?: Prisma.StringWithAggregatesFilter<"phonecall_log_2026"> | string
|
|
uuid?: Prisma.StringWithAggregatesFilter<"phonecall_log_2026"> | string
|
|
}
|
|
|
|
export type phonecall_log_2026CreateInput = {
|
|
caller_id_name: string
|
|
caller_id_number: string
|
|
destination_number: string
|
|
start_stamp: Date | string
|
|
answer_stamp: Date | string
|
|
end_stamp: Date | string
|
|
duration: number
|
|
billing?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
hangup_cause: string
|
|
uuid: string
|
|
}
|
|
|
|
export type phonecall_log_2026UncheckedCreateInput = {
|
|
id?: number
|
|
caller_id_name: string
|
|
caller_id_number: string
|
|
destination_number: string
|
|
start_stamp: Date | string
|
|
answer_stamp: Date | string
|
|
end_stamp: Date | string
|
|
duration: number
|
|
billing?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
hangup_cause: string
|
|
uuid: string
|
|
}
|
|
|
|
export type phonecall_log_2026UpdateInput = {
|
|
caller_id_name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
caller_id_number?: Prisma.StringFieldUpdateOperationsInput | string
|
|
destination_number?: Prisma.StringFieldUpdateOperationsInput | string
|
|
start_stamp?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
answer_stamp?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
end_stamp?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
duration?: Prisma.IntFieldUpdateOperationsInput | number
|
|
billing?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
hangup_cause?: Prisma.StringFieldUpdateOperationsInput | string
|
|
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
export type phonecall_log_2026UncheckedUpdateInput = {
|
|
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
caller_id_name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
caller_id_number?: Prisma.StringFieldUpdateOperationsInput | string
|
|
destination_number?: Prisma.StringFieldUpdateOperationsInput | string
|
|
start_stamp?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
answer_stamp?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
end_stamp?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
duration?: Prisma.IntFieldUpdateOperationsInput | number
|
|
billing?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
hangup_cause?: Prisma.StringFieldUpdateOperationsInput | string
|
|
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
export type phonecall_log_2026CreateManyInput = {
|
|
id?: number
|
|
caller_id_name: string
|
|
caller_id_number: string
|
|
destination_number: string
|
|
start_stamp: Date | string
|
|
answer_stamp: Date | string
|
|
end_stamp: Date | string
|
|
duration: number
|
|
billing?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
hangup_cause: string
|
|
uuid: string
|
|
}
|
|
|
|
export type phonecall_log_2026UpdateManyMutationInput = {
|
|
caller_id_name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
caller_id_number?: Prisma.StringFieldUpdateOperationsInput | string
|
|
destination_number?: Prisma.StringFieldUpdateOperationsInput | string
|
|
start_stamp?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
answer_stamp?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
end_stamp?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
duration?: Prisma.IntFieldUpdateOperationsInput | number
|
|
billing?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
hangup_cause?: Prisma.StringFieldUpdateOperationsInput | string
|
|
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
export type phonecall_log_2026UncheckedUpdateManyInput = {
|
|
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
caller_id_name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
caller_id_number?: Prisma.StringFieldUpdateOperationsInput | string
|
|
destination_number?: Prisma.StringFieldUpdateOperationsInput | string
|
|
start_stamp?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
answer_stamp?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
end_stamp?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
duration?: Prisma.IntFieldUpdateOperationsInput | number
|
|
billing?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
hangup_cause?: Prisma.StringFieldUpdateOperationsInput | string
|
|
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
export type phonecall_log_2026OrderByRelevanceInput = {
|
|
fields: Prisma.phonecall_log_2026OrderByRelevanceFieldEnum | Prisma.phonecall_log_2026OrderByRelevanceFieldEnum[]
|
|
sort: Prisma.SortOrder
|
|
search: string
|
|
}
|
|
|
|
export type phonecall_log_2026CountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
caller_id_name?: Prisma.SortOrder
|
|
caller_id_number?: Prisma.SortOrder
|
|
destination_number?: Prisma.SortOrder
|
|
start_stamp?: Prisma.SortOrder
|
|
answer_stamp?: Prisma.SortOrder
|
|
end_stamp?: Prisma.SortOrder
|
|
duration?: Prisma.SortOrder
|
|
billing?: Prisma.SortOrder
|
|
hangup_cause?: Prisma.SortOrder
|
|
uuid?: Prisma.SortOrder
|
|
}
|
|
|
|
export type phonecall_log_2026AvgOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
duration?: Prisma.SortOrder
|
|
billing?: Prisma.SortOrder
|
|
}
|
|
|
|
export type phonecall_log_2026MaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
caller_id_name?: Prisma.SortOrder
|
|
caller_id_number?: Prisma.SortOrder
|
|
destination_number?: Prisma.SortOrder
|
|
start_stamp?: Prisma.SortOrder
|
|
answer_stamp?: Prisma.SortOrder
|
|
end_stamp?: Prisma.SortOrder
|
|
duration?: Prisma.SortOrder
|
|
billing?: Prisma.SortOrder
|
|
hangup_cause?: Prisma.SortOrder
|
|
uuid?: Prisma.SortOrder
|
|
}
|
|
|
|
export type phonecall_log_2026MinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
caller_id_name?: Prisma.SortOrder
|
|
caller_id_number?: Prisma.SortOrder
|
|
destination_number?: Prisma.SortOrder
|
|
start_stamp?: Prisma.SortOrder
|
|
answer_stamp?: Prisma.SortOrder
|
|
end_stamp?: Prisma.SortOrder
|
|
duration?: Prisma.SortOrder
|
|
billing?: Prisma.SortOrder
|
|
hangup_cause?: Prisma.SortOrder
|
|
uuid?: Prisma.SortOrder
|
|
}
|
|
|
|
export type phonecall_log_2026SumOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
duration?: Prisma.SortOrder
|
|
billing?: Prisma.SortOrder
|
|
}
|
|
|
|
|
|
|
|
export type phonecall_log_2026Select<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
caller_id_name?: boolean
|
|
caller_id_number?: boolean
|
|
destination_number?: boolean
|
|
start_stamp?: boolean
|
|
answer_stamp?: boolean
|
|
end_stamp?: boolean
|
|
duration?: boolean
|
|
billing?: boolean
|
|
hangup_cause?: boolean
|
|
uuid?: boolean
|
|
}, ExtArgs["result"]["phonecall_log_2026"]>
|
|
|
|
|
|
|
|
export type phonecall_log_2026SelectScalar = {
|
|
id?: boolean
|
|
caller_id_name?: boolean
|
|
caller_id_number?: boolean
|
|
destination_number?: boolean
|
|
start_stamp?: boolean
|
|
answer_stamp?: boolean
|
|
end_stamp?: boolean
|
|
duration?: boolean
|
|
billing?: boolean
|
|
hangup_cause?: boolean
|
|
uuid?: boolean
|
|
}
|
|
|
|
export type phonecall_log_2026Omit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "caller_id_name" | "caller_id_number" | "destination_number" | "start_stamp" | "answer_stamp" | "end_stamp" | "duration" | "billing" | "hangup_cause" | "uuid", ExtArgs["result"]["phonecall_log_2026"]>
|
|
|
|
export type $phonecall_log_2026Payload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "phonecall_log_2026"
|
|
objects: {}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: number
|
|
caller_id_name: string
|
|
caller_id_number: string
|
|
destination_number: string
|
|
start_stamp: Date
|
|
answer_stamp: Date
|
|
end_stamp: Date
|
|
duration: number
|
|
billing: runtime.Decimal
|
|
hangup_cause: string
|
|
uuid: string
|
|
}, ExtArgs["result"]["phonecall_log_2026"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type phonecall_log_2026GetPayload<S extends boolean | null | undefined | phonecall_log_2026DefaultArgs> = runtime.Types.Result.GetResult<Prisma.$phonecall_log_2026Payload, S>
|
|
|
|
export type phonecall_log_2026CountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<phonecall_log_2026FindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: Phonecall_log_2026CountAggregateInputType | true
|
|
}
|
|
|
|
export interface phonecall_log_2026Delegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['phonecall_log_2026'], meta: { name: 'phonecall_log_2026' } }
|
|
/**
|
|
* Find zero or one Phonecall_log_2026 that matches the filter.
|
|
* @param {phonecall_log_2026FindUniqueArgs} args - Arguments to find a Phonecall_log_2026
|
|
* @example
|
|
* // Get one Phonecall_log_2026
|
|
* const phonecall_log_2026 = await prisma.phonecall_log_2026.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends phonecall_log_2026FindUniqueArgs>(args: Prisma.SelectSubset<T, phonecall_log_2026FindUniqueArgs<ExtArgs>>): Prisma.Prisma__phonecall_log_2026Client<runtime.Types.Result.GetResult<Prisma.$phonecall_log_2026Payload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one Phonecall_log_2026 that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {phonecall_log_2026FindUniqueOrThrowArgs} args - Arguments to find a Phonecall_log_2026
|
|
* @example
|
|
* // Get one Phonecall_log_2026
|
|
* const phonecall_log_2026 = await prisma.phonecall_log_2026.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends phonecall_log_2026FindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, phonecall_log_2026FindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__phonecall_log_2026Client<runtime.Types.Result.GetResult<Prisma.$phonecall_log_2026Payload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first Phonecall_log_2026 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 {phonecall_log_2026FindFirstArgs} args - Arguments to find a Phonecall_log_2026
|
|
* @example
|
|
* // Get one Phonecall_log_2026
|
|
* const phonecall_log_2026 = await prisma.phonecall_log_2026.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends phonecall_log_2026FindFirstArgs>(args?: Prisma.SelectSubset<T, phonecall_log_2026FindFirstArgs<ExtArgs>>): Prisma.Prisma__phonecall_log_2026Client<runtime.Types.Result.GetResult<Prisma.$phonecall_log_2026Payload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first Phonecall_log_2026 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 {phonecall_log_2026FindFirstOrThrowArgs} args - Arguments to find a Phonecall_log_2026
|
|
* @example
|
|
* // Get one Phonecall_log_2026
|
|
* const phonecall_log_2026 = await prisma.phonecall_log_2026.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends phonecall_log_2026FindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, phonecall_log_2026FindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__phonecall_log_2026Client<runtime.Types.Result.GetResult<Prisma.$phonecall_log_2026Payload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more Phonecall_log_2026s 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 {phonecall_log_2026FindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all Phonecall_log_2026s
|
|
* const phonecall_log_2026s = await prisma.phonecall_log_2026.findMany()
|
|
*
|
|
* // Get first 10 Phonecall_log_2026s
|
|
* const phonecall_log_2026s = await prisma.phonecall_log_2026.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const phonecall_log_2026WithIdOnly = await prisma.phonecall_log_2026.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends phonecall_log_2026FindManyArgs>(args?: Prisma.SelectSubset<T, phonecall_log_2026FindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$phonecall_log_2026Payload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a Phonecall_log_2026.
|
|
* @param {phonecall_log_2026CreateArgs} args - Arguments to create a Phonecall_log_2026.
|
|
* @example
|
|
* // Create one Phonecall_log_2026
|
|
* const Phonecall_log_2026 = await prisma.phonecall_log_2026.create({
|
|
* data: {
|
|
* // ... data to create a Phonecall_log_2026
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends phonecall_log_2026CreateArgs>(args: Prisma.SelectSubset<T, phonecall_log_2026CreateArgs<ExtArgs>>): Prisma.Prisma__phonecall_log_2026Client<runtime.Types.Result.GetResult<Prisma.$phonecall_log_2026Payload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many Phonecall_log_2026s.
|
|
* @param {phonecall_log_2026CreateManyArgs} args - Arguments to create many Phonecall_log_2026s.
|
|
* @example
|
|
* // Create many Phonecall_log_2026s
|
|
* const phonecall_log_2026 = await prisma.phonecall_log_2026.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends phonecall_log_2026CreateManyArgs>(args?: Prisma.SelectSubset<T, phonecall_log_2026CreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Delete a Phonecall_log_2026.
|
|
* @param {phonecall_log_2026DeleteArgs} args - Arguments to delete one Phonecall_log_2026.
|
|
* @example
|
|
* // Delete one Phonecall_log_2026
|
|
* const Phonecall_log_2026 = await prisma.phonecall_log_2026.delete({
|
|
* where: {
|
|
* // ... filter to delete one Phonecall_log_2026
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends phonecall_log_2026DeleteArgs>(args: Prisma.SelectSubset<T, phonecall_log_2026DeleteArgs<ExtArgs>>): Prisma.Prisma__phonecall_log_2026Client<runtime.Types.Result.GetResult<Prisma.$phonecall_log_2026Payload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one Phonecall_log_2026.
|
|
* @param {phonecall_log_2026UpdateArgs} args - Arguments to update one Phonecall_log_2026.
|
|
* @example
|
|
* // Update one Phonecall_log_2026
|
|
* const phonecall_log_2026 = await prisma.phonecall_log_2026.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends phonecall_log_2026UpdateArgs>(args: Prisma.SelectSubset<T, phonecall_log_2026UpdateArgs<ExtArgs>>): Prisma.Prisma__phonecall_log_2026Client<runtime.Types.Result.GetResult<Prisma.$phonecall_log_2026Payload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more Phonecall_log_2026s.
|
|
* @param {phonecall_log_2026DeleteManyArgs} args - Arguments to filter Phonecall_log_2026s to delete.
|
|
* @example
|
|
* // Delete a few Phonecall_log_2026s
|
|
* const { count } = await prisma.phonecall_log_2026.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends phonecall_log_2026DeleteManyArgs>(args?: Prisma.SelectSubset<T, phonecall_log_2026DeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more Phonecall_log_2026s.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {phonecall_log_2026UpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many Phonecall_log_2026s
|
|
* const phonecall_log_2026 = await prisma.phonecall_log_2026.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends phonecall_log_2026UpdateManyArgs>(args: Prisma.SelectSubset<T, phonecall_log_2026UpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create or update one Phonecall_log_2026.
|
|
* @param {phonecall_log_2026UpsertArgs} args - Arguments to update or create a Phonecall_log_2026.
|
|
* @example
|
|
* // Update or create a Phonecall_log_2026
|
|
* const phonecall_log_2026 = await prisma.phonecall_log_2026.upsert({
|
|
* create: {
|
|
* // ... data to create a Phonecall_log_2026
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the Phonecall_log_2026 we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends phonecall_log_2026UpsertArgs>(args: Prisma.SelectSubset<T, phonecall_log_2026UpsertArgs<ExtArgs>>): Prisma.Prisma__phonecall_log_2026Client<runtime.Types.Result.GetResult<Prisma.$phonecall_log_2026Payload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of Phonecall_log_2026s.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {phonecall_log_2026CountArgs} args - Arguments to filter Phonecall_log_2026s to count.
|
|
* @example
|
|
* // Count the number of Phonecall_log_2026s
|
|
* const count = await prisma.phonecall_log_2026.count({
|
|
* where: {
|
|
* // ... the filter for the Phonecall_log_2026s we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends phonecall_log_2026CountArgs>(
|
|
args?: Prisma.Subset<T, phonecall_log_2026CountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], Phonecall_log_2026CountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a Phonecall_log_2026.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {Phonecall_log_2026AggregateArgs} 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 Phonecall_log_2026AggregateArgs>(args: Prisma.Subset<T, Phonecall_log_2026AggregateArgs>): Prisma.PrismaPromise<GetPhonecall_log_2026AggregateType<T>>
|
|
|
|
/**
|
|
* Group by Phonecall_log_2026.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {phonecall_log_2026GroupByArgs} 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 phonecall_log_2026GroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: phonecall_log_2026GroupByArgs['orderBy'] }
|
|
: { orderBy?: phonecall_log_2026GroupByArgs['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, phonecall_log_2026GroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetPhonecall_log_2026GroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the phonecall_log_2026 model
|
|
*/
|
|
readonly fields: phonecall_log_2026FieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for phonecall_log_2026.
|
|
* 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__phonecall_log_2026Client<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
/**
|
|
* 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 phonecall_log_2026 model
|
|
*/
|
|
export interface phonecall_log_2026FieldRefs {
|
|
readonly id: Prisma.FieldRef<"phonecall_log_2026", 'Int'>
|
|
readonly caller_id_name: Prisma.FieldRef<"phonecall_log_2026", 'String'>
|
|
readonly caller_id_number: Prisma.FieldRef<"phonecall_log_2026", 'String'>
|
|
readonly destination_number: Prisma.FieldRef<"phonecall_log_2026", 'String'>
|
|
readonly start_stamp: Prisma.FieldRef<"phonecall_log_2026", 'DateTime'>
|
|
readonly answer_stamp: Prisma.FieldRef<"phonecall_log_2026", 'DateTime'>
|
|
readonly end_stamp: Prisma.FieldRef<"phonecall_log_2026", 'DateTime'>
|
|
readonly duration: Prisma.FieldRef<"phonecall_log_2026", 'Int'>
|
|
readonly billing: Prisma.FieldRef<"phonecall_log_2026", 'Decimal'>
|
|
readonly hangup_cause: Prisma.FieldRef<"phonecall_log_2026", 'String'>
|
|
readonly uuid: Prisma.FieldRef<"phonecall_log_2026", 'String'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* phonecall_log_2026 findUnique
|
|
*/
|
|
export type phonecall_log_2026FindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the phonecall_log_2026
|
|
*/
|
|
select?: Prisma.phonecall_log_2026Select<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the phonecall_log_2026
|
|
*/
|
|
omit?: Prisma.phonecall_log_2026Omit<ExtArgs> | null
|
|
/**
|
|
* Filter, which phonecall_log_2026 to fetch.
|
|
*/
|
|
where: Prisma.phonecall_log_2026WhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* phonecall_log_2026 findUniqueOrThrow
|
|
*/
|
|
export type phonecall_log_2026FindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the phonecall_log_2026
|
|
*/
|
|
select?: Prisma.phonecall_log_2026Select<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the phonecall_log_2026
|
|
*/
|
|
omit?: Prisma.phonecall_log_2026Omit<ExtArgs> | null
|
|
/**
|
|
* Filter, which phonecall_log_2026 to fetch.
|
|
*/
|
|
where: Prisma.phonecall_log_2026WhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* phonecall_log_2026 findFirst
|
|
*/
|
|
export type phonecall_log_2026FindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the phonecall_log_2026
|
|
*/
|
|
select?: Prisma.phonecall_log_2026Select<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the phonecall_log_2026
|
|
*/
|
|
omit?: Prisma.phonecall_log_2026Omit<ExtArgs> | null
|
|
/**
|
|
* Filter, which phonecall_log_2026 to fetch.
|
|
*/
|
|
where?: Prisma.phonecall_log_2026WhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of phonecall_log_2026s to fetch.
|
|
*/
|
|
orderBy?: Prisma.phonecall_log_2026OrderByWithRelationInput | Prisma.phonecall_log_2026OrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for phonecall_log_2026s.
|
|
*/
|
|
cursor?: Prisma.phonecall_log_2026WhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` phonecall_log_2026s 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` phonecall_log_2026s.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of phonecall_log_2026s.
|
|
*/
|
|
distinct?: Prisma.Phonecall_log_2026ScalarFieldEnum | Prisma.Phonecall_log_2026ScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* phonecall_log_2026 findFirstOrThrow
|
|
*/
|
|
export type phonecall_log_2026FindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the phonecall_log_2026
|
|
*/
|
|
select?: Prisma.phonecall_log_2026Select<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the phonecall_log_2026
|
|
*/
|
|
omit?: Prisma.phonecall_log_2026Omit<ExtArgs> | null
|
|
/**
|
|
* Filter, which phonecall_log_2026 to fetch.
|
|
*/
|
|
where?: Prisma.phonecall_log_2026WhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of phonecall_log_2026s to fetch.
|
|
*/
|
|
orderBy?: Prisma.phonecall_log_2026OrderByWithRelationInput | Prisma.phonecall_log_2026OrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for phonecall_log_2026s.
|
|
*/
|
|
cursor?: Prisma.phonecall_log_2026WhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` phonecall_log_2026s 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` phonecall_log_2026s.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of phonecall_log_2026s.
|
|
*/
|
|
distinct?: Prisma.Phonecall_log_2026ScalarFieldEnum | Prisma.Phonecall_log_2026ScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* phonecall_log_2026 findMany
|
|
*/
|
|
export type phonecall_log_2026FindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the phonecall_log_2026
|
|
*/
|
|
select?: Prisma.phonecall_log_2026Select<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the phonecall_log_2026
|
|
*/
|
|
omit?: Prisma.phonecall_log_2026Omit<ExtArgs> | null
|
|
/**
|
|
* Filter, which phonecall_log_2026s to fetch.
|
|
*/
|
|
where?: Prisma.phonecall_log_2026WhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of phonecall_log_2026s to fetch.
|
|
*/
|
|
orderBy?: Prisma.phonecall_log_2026OrderByWithRelationInput | Prisma.phonecall_log_2026OrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing phonecall_log_2026s.
|
|
*/
|
|
cursor?: Prisma.phonecall_log_2026WhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` phonecall_log_2026s 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` phonecall_log_2026s.
|
|
*/
|
|
skip?: number
|
|
distinct?: Prisma.Phonecall_log_2026ScalarFieldEnum | Prisma.Phonecall_log_2026ScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* phonecall_log_2026 create
|
|
*/
|
|
export type phonecall_log_2026CreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the phonecall_log_2026
|
|
*/
|
|
select?: Prisma.phonecall_log_2026Select<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the phonecall_log_2026
|
|
*/
|
|
omit?: Prisma.phonecall_log_2026Omit<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a phonecall_log_2026.
|
|
*/
|
|
data: Prisma.XOR<Prisma.phonecall_log_2026CreateInput, Prisma.phonecall_log_2026UncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* phonecall_log_2026 createMany
|
|
*/
|
|
export type phonecall_log_2026CreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many phonecall_log_2026s.
|
|
*/
|
|
data: Prisma.phonecall_log_2026CreateManyInput | Prisma.phonecall_log_2026CreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* phonecall_log_2026 update
|
|
*/
|
|
export type phonecall_log_2026UpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the phonecall_log_2026
|
|
*/
|
|
select?: Prisma.phonecall_log_2026Select<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the phonecall_log_2026
|
|
*/
|
|
omit?: Prisma.phonecall_log_2026Omit<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a phonecall_log_2026.
|
|
*/
|
|
data: Prisma.XOR<Prisma.phonecall_log_2026UpdateInput, Prisma.phonecall_log_2026UncheckedUpdateInput>
|
|
/**
|
|
* Choose, which phonecall_log_2026 to update.
|
|
*/
|
|
where: Prisma.phonecall_log_2026WhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* phonecall_log_2026 updateMany
|
|
*/
|
|
export type phonecall_log_2026UpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update phonecall_log_2026s.
|
|
*/
|
|
data: Prisma.XOR<Prisma.phonecall_log_2026UpdateManyMutationInput, Prisma.phonecall_log_2026UncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which phonecall_log_2026s to update
|
|
*/
|
|
where?: Prisma.phonecall_log_2026WhereInput
|
|
/**
|
|
* Limit how many phonecall_log_2026s to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* phonecall_log_2026 upsert
|
|
*/
|
|
export type phonecall_log_2026UpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the phonecall_log_2026
|
|
*/
|
|
select?: Prisma.phonecall_log_2026Select<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the phonecall_log_2026
|
|
*/
|
|
omit?: Prisma.phonecall_log_2026Omit<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the phonecall_log_2026 to update in case it exists.
|
|
*/
|
|
where: Prisma.phonecall_log_2026WhereUniqueInput
|
|
/**
|
|
* In case the phonecall_log_2026 found by the `where` argument doesn't exist, create a new phonecall_log_2026 with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.phonecall_log_2026CreateInput, Prisma.phonecall_log_2026UncheckedCreateInput>
|
|
/**
|
|
* In case the phonecall_log_2026 was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.phonecall_log_2026UpdateInput, Prisma.phonecall_log_2026UncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* phonecall_log_2026 delete
|
|
*/
|
|
export type phonecall_log_2026DeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the phonecall_log_2026
|
|
*/
|
|
select?: Prisma.phonecall_log_2026Select<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the phonecall_log_2026
|
|
*/
|
|
omit?: Prisma.phonecall_log_2026Omit<ExtArgs> | null
|
|
/**
|
|
* Filter which phonecall_log_2026 to delete.
|
|
*/
|
|
where: Prisma.phonecall_log_2026WhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* phonecall_log_2026 deleteMany
|
|
*/
|
|
export type phonecall_log_2026DeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which phonecall_log_2026s to delete
|
|
*/
|
|
where?: Prisma.phonecall_log_2026WhereInput
|
|
/**
|
|
* Limit how many phonecall_log_2026s to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* phonecall_log_2026 without action
|
|
*/
|
|
export type phonecall_log_2026DefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the phonecall_log_2026
|
|
*/
|
|
select?: Prisma.phonecall_log_2026Select<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the phonecall_log_2026
|
|
*/
|
|
omit?: Prisma.phonecall_log_2026Omit<ExtArgs> | null
|
|
}
|