/* !!! 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_2025` 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_2025 * */ export type phonecall_log_2025Model = runtime.Types.Result.DefaultSelection export type AggregatePhonecall_log_2025 = { _count: Phonecall_log_2025CountAggregateOutputType | null _avg: Phonecall_log_2025AvgAggregateOutputType | null _sum: Phonecall_log_2025SumAggregateOutputType | null _min: Phonecall_log_2025MinAggregateOutputType | null _max: Phonecall_log_2025MaxAggregateOutputType | null } export type Phonecall_log_2025AvgAggregateOutputType = { id: number | null duration: number | null billing: runtime.Decimal | null } export type Phonecall_log_2025SumAggregateOutputType = { id: number | null duration: number | null billing: runtime.Decimal | null } export type Phonecall_log_2025MinAggregateOutputType = { 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_2025MaxAggregateOutputType = { 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_2025CountAggregateOutputType = { 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_2025AvgAggregateInputType = { id?: true duration?: true billing?: true } export type Phonecall_log_2025SumAggregateInputType = { id?: true duration?: true billing?: true } export type Phonecall_log_2025MinAggregateInputType = { 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_2025MaxAggregateInputType = { 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_2025CountAggregateInputType = { 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_2025AggregateArgs = { /** * Filter which phonecall_log_2025 to aggregate. */ where?: Prisma.phonecall_log_2025WhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of phonecall_log_2025s to fetch. */ orderBy?: Prisma.phonecall_log_2025OrderByWithRelationInput | Prisma.phonecall_log_2025OrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.phonecall_log_2025WhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` phonecall_log_2025s 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_2025s. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned phonecall_log_2025s **/ _count?: true | Phonecall_log_2025CountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: Phonecall_log_2025AvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: Phonecall_log_2025SumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: Phonecall_log_2025MinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: Phonecall_log_2025MaxAggregateInputType } export type GetPhonecall_log_2025AggregateType = { [P in keyof T & keyof AggregatePhonecall_log_2025]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type phonecall_log_2025GroupByArgs = { where?: Prisma.phonecall_log_2025WhereInput orderBy?: Prisma.phonecall_log_2025OrderByWithAggregationInput | Prisma.phonecall_log_2025OrderByWithAggregationInput[] by: Prisma.Phonecall_log_2025ScalarFieldEnum[] | Prisma.Phonecall_log_2025ScalarFieldEnum having?: Prisma.phonecall_log_2025ScalarWhereWithAggregatesInput take?: number skip?: number _count?: Phonecall_log_2025CountAggregateInputType | true _avg?: Phonecall_log_2025AvgAggregateInputType _sum?: Phonecall_log_2025SumAggregateInputType _min?: Phonecall_log_2025MinAggregateInputType _max?: Phonecall_log_2025MaxAggregateInputType } export type Phonecall_log_2025GroupByOutputType = { 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_2025CountAggregateOutputType | null _avg: Phonecall_log_2025AvgAggregateOutputType | null _sum: Phonecall_log_2025SumAggregateOutputType | null _min: Phonecall_log_2025MinAggregateOutputType | null _max: Phonecall_log_2025MaxAggregateOutputType | null } type GetPhonecall_log_2025GroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof Phonecall_log_2025GroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type phonecall_log_2025WhereInput = { AND?: Prisma.phonecall_log_2025WhereInput | Prisma.phonecall_log_2025WhereInput[] OR?: Prisma.phonecall_log_2025WhereInput[] NOT?: Prisma.phonecall_log_2025WhereInput | Prisma.phonecall_log_2025WhereInput[] id?: Prisma.IntFilter<"phonecall_log_2025"> | number caller_id_name?: Prisma.StringFilter<"phonecall_log_2025"> | string caller_id_number?: Prisma.StringFilter<"phonecall_log_2025"> | string destination_number?: Prisma.StringFilter<"phonecall_log_2025"> | string start_stamp?: Prisma.DateTimeFilter<"phonecall_log_2025"> | Date | string answer_stamp?: Prisma.DateTimeFilter<"phonecall_log_2025"> | Date | string end_stamp?: Prisma.DateTimeFilter<"phonecall_log_2025"> | Date | string duration?: Prisma.IntFilter<"phonecall_log_2025"> | number billing?: Prisma.DecimalFilter<"phonecall_log_2025"> | runtime.Decimal | runtime.DecimalJsLike | number | string hangup_cause?: Prisma.StringFilter<"phonecall_log_2025"> | string uuid?: Prisma.StringFilter<"phonecall_log_2025"> | string } export type phonecall_log_2025OrderByWithRelationInput = { 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_2025OrderByRelevanceInput } export type phonecall_log_2025WhereUniqueInput = Prisma.AtLeast<{ id?: number uuid?: string AND?: Prisma.phonecall_log_2025WhereInput | Prisma.phonecall_log_2025WhereInput[] OR?: Prisma.phonecall_log_2025WhereInput[] NOT?: Prisma.phonecall_log_2025WhereInput | Prisma.phonecall_log_2025WhereInput[] caller_id_name?: Prisma.StringFilter<"phonecall_log_2025"> | string caller_id_number?: Prisma.StringFilter<"phonecall_log_2025"> | string destination_number?: Prisma.StringFilter<"phonecall_log_2025"> | string start_stamp?: Prisma.DateTimeFilter<"phonecall_log_2025"> | Date | string answer_stamp?: Prisma.DateTimeFilter<"phonecall_log_2025"> | Date | string end_stamp?: Prisma.DateTimeFilter<"phonecall_log_2025"> | Date | string duration?: Prisma.IntFilter<"phonecall_log_2025"> | number billing?: Prisma.DecimalFilter<"phonecall_log_2025"> | runtime.Decimal | runtime.DecimalJsLike | number | string hangup_cause?: Prisma.StringFilter<"phonecall_log_2025"> | string }, "id" | "uuid"> export type phonecall_log_2025OrderByWithAggregationInput = { 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_2025CountOrderByAggregateInput _avg?: Prisma.phonecall_log_2025AvgOrderByAggregateInput _max?: Prisma.phonecall_log_2025MaxOrderByAggregateInput _min?: Prisma.phonecall_log_2025MinOrderByAggregateInput _sum?: Prisma.phonecall_log_2025SumOrderByAggregateInput } export type phonecall_log_2025ScalarWhereWithAggregatesInput = { AND?: Prisma.phonecall_log_2025ScalarWhereWithAggregatesInput | Prisma.phonecall_log_2025ScalarWhereWithAggregatesInput[] OR?: Prisma.phonecall_log_2025ScalarWhereWithAggregatesInput[] NOT?: Prisma.phonecall_log_2025ScalarWhereWithAggregatesInput | Prisma.phonecall_log_2025ScalarWhereWithAggregatesInput[] id?: Prisma.IntWithAggregatesFilter<"phonecall_log_2025"> | number caller_id_name?: Prisma.StringWithAggregatesFilter<"phonecall_log_2025"> | string caller_id_number?: Prisma.StringWithAggregatesFilter<"phonecall_log_2025"> | string destination_number?: Prisma.StringWithAggregatesFilter<"phonecall_log_2025"> | string start_stamp?: Prisma.DateTimeWithAggregatesFilter<"phonecall_log_2025"> | Date | string answer_stamp?: Prisma.DateTimeWithAggregatesFilter<"phonecall_log_2025"> | Date | string end_stamp?: Prisma.DateTimeWithAggregatesFilter<"phonecall_log_2025"> | Date | string duration?: Prisma.IntWithAggregatesFilter<"phonecall_log_2025"> | number billing?: Prisma.DecimalWithAggregatesFilter<"phonecall_log_2025"> | runtime.Decimal | runtime.DecimalJsLike | number | string hangup_cause?: Prisma.StringWithAggregatesFilter<"phonecall_log_2025"> | string uuid?: Prisma.StringWithAggregatesFilter<"phonecall_log_2025"> | string } export type phonecall_log_2025CreateInput = { 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_2025UncheckedCreateInput = { 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_2025UpdateInput = { 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_2025UncheckedUpdateInput = { 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_2025CreateManyInput = { 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_2025UpdateManyMutationInput = { 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_2025UncheckedUpdateManyInput = { 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_2025OrderByRelevanceInput = { fields: Prisma.phonecall_log_2025OrderByRelevanceFieldEnum | Prisma.phonecall_log_2025OrderByRelevanceFieldEnum[] sort: Prisma.SortOrder search: string } export type phonecall_log_2025CountOrderByAggregateInput = { 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_2025AvgOrderByAggregateInput = { id?: Prisma.SortOrder duration?: Prisma.SortOrder billing?: Prisma.SortOrder } export type phonecall_log_2025MaxOrderByAggregateInput = { 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_2025MinOrderByAggregateInput = { 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_2025SumOrderByAggregateInput = { id?: Prisma.SortOrder duration?: Prisma.SortOrder billing?: Prisma.SortOrder } export type DateTimeFieldUpdateOperationsInput = { set?: Date | string } export type phonecall_log_2025Select = 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_2025"]> export type phonecall_log_2025SelectScalar = { 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_2025Omit = 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_2025"]> export type $phonecall_log_2025Payload = { name: "phonecall_log_2025" 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_2025"]> composites: {} } export type phonecall_log_2025GetPayload = runtime.Types.Result.GetResult export type phonecall_log_2025CountArgs = Omit & { select?: Phonecall_log_2025CountAggregateInputType | true } export interface phonecall_log_2025Delegate { [K: symbol]: { types: Prisma.TypeMap['model']['phonecall_log_2025'], meta: { name: 'phonecall_log_2025' } } /** * Find zero or one Phonecall_log_2025 that matches the filter. * @param {phonecall_log_2025FindUniqueArgs} args - Arguments to find a Phonecall_log_2025 * @example * // Get one Phonecall_log_2025 * const phonecall_log_2025 = await prisma.phonecall_log_2025.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__phonecall_log_2025Client, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Phonecall_log_2025 that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {phonecall_log_2025FindUniqueOrThrowArgs} args - Arguments to find a Phonecall_log_2025 * @example * // Get one Phonecall_log_2025 * const phonecall_log_2025 = await prisma.phonecall_log_2025.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__phonecall_log_2025Client, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Phonecall_log_2025 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_2025FindFirstArgs} args - Arguments to find a Phonecall_log_2025 * @example * // Get one Phonecall_log_2025 * const phonecall_log_2025 = await prisma.phonecall_log_2025.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__phonecall_log_2025Client, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Phonecall_log_2025 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_2025FindFirstOrThrowArgs} args - Arguments to find a Phonecall_log_2025 * @example * // Get one Phonecall_log_2025 * const phonecall_log_2025 = await prisma.phonecall_log_2025.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__phonecall_log_2025Client, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Phonecall_log_2025s 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_2025FindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Phonecall_log_2025s * const phonecall_log_2025s = await prisma.phonecall_log_2025.findMany() * * // Get first 10 Phonecall_log_2025s * const phonecall_log_2025s = await prisma.phonecall_log_2025.findMany({ take: 10 }) * * // Only select the `id` * const phonecall_log_2025WithIdOnly = await prisma.phonecall_log_2025.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a Phonecall_log_2025. * @param {phonecall_log_2025CreateArgs} args - Arguments to create a Phonecall_log_2025. * @example * // Create one Phonecall_log_2025 * const Phonecall_log_2025 = await prisma.phonecall_log_2025.create({ * data: { * // ... data to create a Phonecall_log_2025 * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__phonecall_log_2025Client, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Phonecall_log_2025s. * @param {phonecall_log_2025CreateManyArgs} args - Arguments to create many Phonecall_log_2025s. * @example * // Create many Phonecall_log_2025s * const phonecall_log_2025 = await prisma.phonecall_log_2025.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Delete a Phonecall_log_2025. * @param {phonecall_log_2025DeleteArgs} args - Arguments to delete one Phonecall_log_2025. * @example * // Delete one Phonecall_log_2025 * const Phonecall_log_2025 = await prisma.phonecall_log_2025.delete({ * where: { * // ... filter to delete one Phonecall_log_2025 * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__phonecall_log_2025Client, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Phonecall_log_2025. * @param {phonecall_log_2025UpdateArgs} args - Arguments to update one Phonecall_log_2025. * @example * // Update one Phonecall_log_2025 * const phonecall_log_2025 = await prisma.phonecall_log_2025.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__phonecall_log_2025Client, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Phonecall_log_2025s. * @param {phonecall_log_2025DeleteManyArgs} args - Arguments to filter Phonecall_log_2025s to delete. * @example * // Delete a few Phonecall_log_2025s * const { count } = await prisma.phonecall_log_2025.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Phonecall_log_2025s. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {phonecall_log_2025UpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Phonecall_log_2025s * const phonecall_log_2025 = await prisma.phonecall_log_2025.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create or update one Phonecall_log_2025. * @param {phonecall_log_2025UpsertArgs} args - Arguments to update or create a Phonecall_log_2025. * @example * // Update or create a Phonecall_log_2025 * const phonecall_log_2025 = await prisma.phonecall_log_2025.upsert({ * create: { * // ... data to create a Phonecall_log_2025 * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Phonecall_log_2025 we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__phonecall_log_2025Client, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Phonecall_log_2025s. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {phonecall_log_2025CountArgs} args - Arguments to filter Phonecall_log_2025s to count. * @example * // Count the number of Phonecall_log_2025s * const count = await prisma.phonecall_log_2025.count({ * where: { * // ... the filter for the Phonecall_log_2025s we want to count * } * }) **/ count( args?: Prisma.Subset, ): Prisma.PrismaPromise< T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType : number > /** * Allows you to perform aggregations operations on a Phonecall_log_2025. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {Phonecall_log_2025AggregateArgs} 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(args: Prisma.Subset): Prisma.PrismaPromise> /** * Group by Phonecall_log_2025. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {phonecall_log_2025GroupByArgs} 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_2025GroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: phonecall_log_2025GroupByArgs['orderBy'] } : { orderBy?: phonecall_log_2025GroupByArgs['orderBy'] }, OrderFields extends Prisma.ExcludeUnderscoreKeys>>, ByFields extends Prisma.MaybeTupleToUnion, ByValid extends Prisma.Has, HavingFields extends Prisma.GetHavingFields, HavingValid extends Prisma.Has, 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 ? 'orderBy' extends Prisma.Keys ? 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 ? 'orderBy' extends Prisma.Keys ? 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 & InputErrors): {} extends InputErrors ? GetPhonecall_log_2025GroupByPayload : Prisma.PrismaPromise /** * Fields of the phonecall_log_2025 model */ readonly fields: phonecall_log_2025FieldRefs; } /** * The delegate class that acts as a "Promise-like" for phonecall_log_2025. * 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_2025Client extends Prisma.PrismaPromise { 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(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * 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(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * 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 } /** * Fields of the phonecall_log_2025 model */ export interface phonecall_log_2025FieldRefs { readonly id: Prisma.FieldRef<"phonecall_log_2025", 'Int'> readonly caller_id_name: Prisma.FieldRef<"phonecall_log_2025", 'String'> readonly caller_id_number: Prisma.FieldRef<"phonecall_log_2025", 'String'> readonly destination_number: Prisma.FieldRef<"phonecall_log_2025", 'String'> readonly start_stamp: Prisma.FieldRef<"phonecall_log_2025", 'DateTime'> readonly answer_stamp: Prisma.FieldRef<"phonecall_log_2025", 'DateTime'> readonly end_stamp: Prisma.FieldRef<"phonecall_log_2025", 'DateTime'> readonly duration: Prisma.FieldRef<"phonecall_log_2025", 'Int'> readonly billing: Prisma.FieldRef<"phonecall_log_2025", 'Decimal'> readonly hangup_cause: Prisma.FieldRef<"phonecall_log_2025", 'String'> readonly uuid: Prisma.FieldRef<"phonecall_log_2025", 'String'> } // Custom InputTypes /** * phonecall_log_2025 findUnique */ export type phonecall_log_2025FindUniqueArgs = { /** * Select specific fields to fetch from the phonecall_log_2025 */ select?: Prisma.phonecall_log_2025Select | null /** * Omit specific fields from the phonecall_log_2025 */ omit?: Prisma.phonecall_log_2025Omit | null /** * Filter, which phonecall_log_2025 to fetch. */ where: Prisma.phonecall_log_2025WhereUniqueInput } /** * phonecall_log_2025 findUniqueOrThrow */ export type phonecall_log_2025FindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the phonecall_log_2025 */ select?: Prisma.phonecall_log_2025Select | null /** * Omit specific fields from the phonecall_log_2025 */ omit?: Prisma.phonecall_log_2025Omit | null /** * Filter, which phonecall_log_2025 to fetch. */ where: Prisma.phonecall_log_2025WhereUniqueInput } /** * phonecall_log_2025 findFirst */ export type phonecall_log_2025FindFirstArgs = { /** * Select specific fields to fetch from the phonecall_log_2025 */ select?: Prisma.phonecall_log_2025Select | null /** * Omit specific fields from the phonecall_log_2025 */ omit?: Prisma.phonecall_log_2025Omit | null /** * Filter, which phonecall_log_2025 to fetch. */ where?: Prisma.phonecall_log_2025WhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of phonecall_log_2025s to fetch. */ orderBy?: Prisma.phonecall_log_2025OrderByWithRelationInput | Prisma.phonecall_log_2025OrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for phonecall_log_2025s. */ cursor?: Prisma.phonecall_log_2025WhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` phonecall_log_2025s 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_2025s. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of phonecall_log_2025s. */ distinct?: Prisma.Phonecall_log_2025ScalarFieldEnum | Prisma.Phonecall_log_2025ScalarFieldEnum[] } /** * phonecall_log_2025 findFirstOrThrow */ export type phonecall_log_2025FindFirstOrThrowArgs = { /** * Select specific fields to fetch from the phonecall_log_2025 */ select?: Prisma.phonecall_log_2025Select | null /** * Omit specific fields from the phonecall_log_2025 */ omit?: Prisma.phonecall_log_2025Omit | null /** * Filter, which phonecall_log_2025 to fetch. */ where?: Prisma.phonecall_log_2025WhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of phonecall_log_2025s to fetch. */ orderBy?: Prisma.phonecall_log_2025OrderByWithRelationInput | Prisma.phonecall_log_2025OrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for phonecall_log_2025s. */ cursor?: Prisma.phonecall_log_2025WhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` phonecall_log_2025s 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_2025s. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of phonecall_log_2025s. */ distinct?: Prisma.Phonecall_log_2025ScalarFieldEnum | Prisma.Phonecall_log_2025ScalarFieldEnum[] } /** * phonecall_log_2025 findMany */ export type phonecall_log_2025FindManyArgs = { /** * Select specific fields to fetch from the phonecall_log_2025 */ select?: Prisma.phonecall_log_2025Select | null /** * Omit specific fields from the phonecall_log_2025 */ omit?: Prisma.phonecall_log_2025Omit | null /** * Filter, which phonecall_log_2025s to fetch. */ where?: Prisma.phonecall_log_2025WhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of phonecall_log_2025s to fetch. */ orderBy?: Prisma.phonecall_log_2025OrderByWithRelationInput | Prisma.phonecall_log_2025OrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing phonecall_log_2025s. */ cursor?: Prisma.phonecall_log_2025WhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` phonecall_log_2025s 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_2025s. */ skip?: number distinct?: Prisma.Phonecall_log_2025ScalarFieldEnum | Prisma.Phonecall_log_2025ScalarFieldEnum[] } /** * phonecall_log_2025 create */ export type phonecall_log_2025CreateArgs = { /** * Select specific fields to fetch from the phonecall_log_2025 */ select?: Prisma.phonecall_log_2025Select | null /** * Omit specific fields from the phonecall_log_2025 */ omit?: Prisma.phonecall_log_2025Omit | null /** * The data needed to create a phonecall_log_2025. */ data: Prisma.XOR } /** * phonecall_log_2025 createMany */ export type phonecall_log_2025CreateManyArgs = { /** * The data used to create many phonecall_log_2025s. */ data: Prisma.phonecall_log_2025CreateManyInput | Prisma.phonecall_log_2025CreateManyInput[] skipDuplicates?: boolean } /** * phonecall_log_2025 update */ export type phonecall_log_2025UpdateArgs = { /** * Select specific fields to fetch from the phonecall_log_2025 */ select?: Prisma.phonecall_log_2025Select | null /** * Omit specific fields from the phonecall_log_2025 */ omit?: Prisma.phonecall_log_2025Omit | null /** * The data needed to update a phonecall_log_2025. */ data: Prisma.XOR /** * Choose, which phonecall_log_2025 to update. */ where: Prisma.phonecall_log_2025WhereUniqueInput } /** * phonecall_log_2025 updateMany */ export type phonecall_log_2025UpdateManyArgs = { /** * The data used to update phonecall_log_2025s. */ data: Prisma.XOR /** * Filter which phonecall_log_2025s to update */ where?: Prisma.phonecall_log_2025WhereInput /** * Limit how many phonecall_log_2025s to update. */ limit?: number } /** * phonecall_log_2025 upsert */ export type phonecall_log_2025UpsertArgs = { /** * Select specific fields to fetch from the phonecall_log_2025 */ select?: Prisma.phonecall_log_2025Select | null /** * Omit specific fields from the phonecall_log_2025 */ omit?: Prisma.phonecall_log_2025Omit | null /** * The filter to search for the phonecall_log_2025 to update in case it exists. */ where: Prisma.phonecall_log_2025WhereUniqueInput /** * In case the phonecall_log_2025 found by the `where` argument doesn't exist, create a new phonecall_log_2025 with this data. */ create: Prisma.XOR /** * In case the phonecall_log_2025 was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * phonecall_log_2025 delete */ export type phonecall_log_2025DeleteArgs = { /** * Select specific fields to fetch from the phonecall_log_2025 */ select?: Prisma.phonecall_log_2025Select | null /** * Omit specific fields from the phonecall_log_2025 */ omit?: Prisma.phonecall_log_2025Omit | null /** * Filter which phonecall_log_2025 to delete. */ where: Prisma.phonecall_log_2025WhereUniqueInput } /** * phonecall_log_2025 deleteMany */ export type phonecall_log_2025DeleteManyArgs = { /** * Filter which phonecall_log_2025s to delete */ where?: Prisma.phonecall_log_2025WhereInput /** * Limit how many phonecall_log_2025s to delete. */ limit?: number } /** * phonecall_log_2025 without action */ export type phonecall_log_2025DefaultArgs = { /** * Select specific fields to fetch from the phonecall_log_2025 */ select?: Prisma.phonecall_log_2025Select | null /** * Omit specific fields from the phonecall_log_2025 */ omit?: Prisma.phonecall_log_2025Omit | null }