/* !!! 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_channel` 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_channel * */ export type phonecall_channelModel = runtime.Types.Result.DefaultSelection export type AggregatePhonecall_channel = { _count: Phonecall_channelCountAggregateOutputType | null _avg: Phonecall_channelAvgAggregateOutputType | null _sum: Phonecall_channelSumAggregateOutputType | null _min: Phonecall_channelMinAggregateOutputType | null _max: Phonecall_channelMaxAggregateOutputType | null } export type Phonecall_channelAvgAggregateOutputType = { id: number | null timestamp: number | null max_tinktell: number | null max_outgoing_thinktell: number | null max_comwave: number | null max_outgoing_comwave: number | null max_total: number | null } export type Phonecall_channelSumAggregateOutputType = { id: number | null timestamp: bigint | null max_tinktell: number | null max_outgoing_thinktell: number | null max_comwave: number | null max_outgoing_comwave: number | null max_total: number | null } export type Phonecall_channelMinAggregateOutputType = { id: number | null timestamp: bigint | null max_tinktell: number | null max_outgoing_thinktell: number | null max_comwave: number | null max_outgoing_comwave: number | null max_total: number | null } export type Phonecall_channelMaxAggregateOutputType = { id: number | null timestamp: bigint | null max_tinktell: number | null max_outgoing_thinktell: number | null max_comwave: number | null max_outgoing_comwave: number | null max_total: number | null } export type Phonecall_channelCountAggregateOutputType = { id: number timestamp: number max_tinktell: number max_outgoing_thinktell: number max_comwave: number max_outgoing_comwave: number max_total: number _all: number } export type Phonecall_channelAvgAggregateInputType = { id?: true timestamp?: true max_tinktell?: true max_outgoing_thinktell?: true max_comwave?: true max_outgoing_comwave?: true max_total?: true } export type Phonecall_channelSumAggregateInputType = { id?: true timestamp?: true max_tinktell?: true max_outgoing_thinktell?: true max_comwave?: true max_outgoing_comwave?: true max_total?: true } export type Phonecall_channelMinAggregateInputType = { id?: true timestamp?: true max_tinktell?: true max_outgoing_thinktell?: true max_comwave?: true max_outgoing_comwave?: true max_total?: true } export type Phonecall_channelMaxAggregateInputType = { id?: true timestamp?: true max_tinktell?: true max_outgoing_thinktell?: true max_comwave?: true max_outgoing_comwave?: true max_total?: true } export type Phonecall_channelCountAggregateInputType = { id?: true timestamp?: true max_tinktell?: true max_outgoing_thinktell?: true max_comwave?: true max_outgoing_comwave?: true max_total?: true _all?: true } export type Phonecall_channelAggregateArgs = { /** * Filter which phonecall_channel to aggregate. */ where?: Prisma.phonecall_channelWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of phonecall_channels to fetch. */ orderBy?: Prisma.phonecall_channelOrderByWithRelationInput | Prisma.phonecall_channelOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.phonecall_channelWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` phonecall_channels 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_channels. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned phonecall_channels **/ _count?: true | Phonecall_channelCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: Phonecall_channelAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: Phonecall_channelSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: Phonecall_channelMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: Phonecall_channelMaxAggregateInputType } export type GetPhonecall_channelAggregateType = { [P in keyof T & keyof AggregatePhonecall_channel]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type phonecall_channelGroupByArgs = { where?: Prisma.phonecall_channelWhereInput orderBy?: Prisma.phonecall_channelOrderByWithAggregationInput | Prisma.phonecall_channelOrderByWithAggregationInput[] by: Prisma.Phonecall_channelScalarFieldEnum[] | Prisma.Phonecall_channelScalarFieldEnum having?: Prisma.phonecall_channelScalarWhereWithAggregatesInput take?: number skip?: number _count?: Phonecall_channelCountAggregateInputType | true _avg?: Phonecall_channelAvgAggregateInputType _sum?: Phonecall_channelSumAggregateInputType _min?: Phonecall_channelMinAggregateInputType _max?: Phonecall_channelMaxAggregateInputType } export type Phonecall_channelGroupByOutputType = { id: number timestamp: bigint max_tinktell: number max_outgoing_thinktell: number max_comwave: number max_outgoing_comwave: number max_total: number _count: Phonecall_channelCountAggregateOutputType | null _avg: Phonecall_channelAvgAggregateOutputType | null _sum: Phonecall_channelSumAggregateOutputType | null _min: Phonecall_channelMinAggregateOutputType | null _max: Phonecall_channelMaxAggregateOutputType | null } type GetPhonecall_channelGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof Phonecall_channelGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type phonecall_channelWhereInput = { AND?: Prisma.phonecall_channelWhereInput | Prisma.phonecall_channelWhereInput[] OR?: Prisma.phonecall_channelWhereInput[] NOT?: Prisma.phonecall_channelWhereInput | Prisma.phonecall_channelWhereInput[] id?: Prisma.IntFilter<"phonecall_channel"> | number timestamp?: Prisma.BigIntFilter<"phonecall_channel"> | bigint | number max_tinktell?: Prisma.IntFilter<"phonecall_channel"> | number max_outgoing_thinktell?: Prisma.IntFilter<"phonecall_channel"> | number max_comwave?: Prisma.IntFilter<"phonecall_channel"> | number max_outgoing_comwave?: Prisma.IntFilter<"phonecall_channel"> | number max_total?: Prisma.IntFilter<"phonecall_channel"> | number } export type phonecall_channelOrderByWithRelationInput = { id?: Prisma.SortOrder timestamp?: Prisma.SortOrder max_tinktell?: Prisma.SortOrder max_outgoing_thinktell?: Prisma.SortOrder max_comwave?: Prisma.SortOrder max_outgoing_comwave?: Prisma.SortOrder max_total?: Prisma.SortOrder } export type phonecall_channelWhereUniqueInput = Prisma.AtLeast<{ id?: number timestamp?: bigint | number AND?: Prisma.phonecall_channelWhereInput | Prisma.phonecall_channelWhereInput[] OR?: Prisma.phonecall_channelWhereInput[] NOT?: Prisma.phonecall_channelWhereInput | Prisma.phonecall_channelWhereInput[] max_tinktell?: Prisma.IntFilter<"phonecall_channel"> | number max_outgoing_thinktell?: Prisma.IntFilter<"phonecall_channel"> | number max_comwave?: Prisma.IntFilter<"phonecall_channel"> | number max_outgoing_comwave?: Prisma.IntFilter<"phonecall_channel"> | number max_total?: Prisma.IntFilter<"phonecall_channel"> | number }, "id" | "timestamp"> export type phonecall_channelOrderByWithAggregationInput = { id?: Prisma.SortOrder timestamp?: Prisma.SortOrder max_tinktell?: Prisma.SortOrder max_outgoing_thinktell?: Prisma.SortOrder max_comwave?: Prisma.SortOrder max_outgoing_comwave?: Prisma.SortOrder max_total?: Prisma.SortOrder _count?: Prisma.phonecall_channelCountOrderByAggregateInput _avg?: Prisma.phonecall_channelAvgOrderByAggregateInput _max?: Prisma.phonecall_channelMaxOrderByAggregateInput _min?: Prisma.phonecall_channelMinOrderByAggregateInput _sum?: Prisma.phonecall_channelSumOrderByAggregateInput } export type phonecall_channelScalarWhereWithAggregatesInput = { AND?: Prisma.phonecall_channelScalarWhereWithAggregatesInput | Prisma.phonecall_channelScalarWhereWithAggregatesInput[] OR?: Prisma.phonecall_channelScalarWhereWithAggregatesInput[] NOT?: Prisma.phonecall_channelScalarWhereWithAggregatesInput | Prisma.phonecall_channelScalarWhereWithAggregatesInput[] id?: Prisma.IntWithAggregatesFilter<"phonecall_channel"> | number timestamp?: Prisma.BigIntWithAggregatesFilter<"phonecall_channel"> | bigint | number max_tinktell?: Prisma.IntWithAggregatesFilter<"phonecall_channel"> | number max_outgoing_thinktell?: Prisma.IntWithAggregatesFilter<"phonecall_channel"> | number max_comwave?: Prisma.IntWithAggregatesFilter<"phonecall_channel"> | number max_outgoing_comwave?: Prisma.IntWithAggregatesFilter<"phonecall_channel"> | number max_total?: Prisma.IntWithAggregatesFilter<"phonecall_channel"> | number } export type phonecall_channelCreateInput = { timestamp: bigint | number max_tinktell?: number max_outgoing_thinktell?: number max_comwave?: number max_outgoing_comwave?: number max_total?: number } export type phonecall_channelUncheckedCreateInput = { id?: number timestamp: bigint | number max_tinktell?: number max_outgoing_thinktell?: number max_comwave?: number max_outgoing_comwave?: number max_total?: number } export type phonecall_channelUpdateInput = { timestamp?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number max_tinktell?: Prisma.IntFieldUpdateOperationsInput | number max_outgoing_thinktell?: Prisma.IntFieldUpdateOperationsInput | number max_comwave?: Prisma.IntFieldUpdateOperationsInput | number max_outgoing_comwave?: Prisma.IntFieldUpdateOperationsInput | number max_total?: Prisma.IntFieldUpdateOperationsInput | number } export type phonecall_channelUncheckedUpdateInput = { id?: Prisma.IntFieldUpdateOperationsInput | number timestamp?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number max_tinktell?: Prisma.IntFieldUpdateOperationsInput | number max_outgoing_thinktell?: Prisma.IntFieldUpdateOperationsInput | number max_comwave?: Prisma.IntFieldUpdateOperationsInput | number max_outgoing_comwave?: Prisma.IntFieldUpdateOperationsInput | number max_total?: Prisma.IntFieldUpdateOperationsInput | number } export type phonecall_channelCreateManyInput = { id?: number timestamp: bigint | number max_tinktell?: number max_outgoing_thinktell?: number max_comwave?: number max_outgoing_comwave?: number max_total?: number } export type phonecall_channelUpdateManyMutationInput = { timestamp?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number max_tinktell?: Prisma.IntFieldUpdateOperationsInput | number max_outgoing_thinktell?: Prisma.IntFieldUpdateOperationsInput | number max_comwave?: Prisma.IntFieldUpdateOperationsInput | number max_outgoing_comwave?: Prisma.IntFieldUpdateOperationsInput | number max_total?: Prisma.IntFieldUpdateOperationsInput | number } export type phonecall_channelUncheckedUpdateManyInput = { id?: Prisma.IntFieldUpdateOperationsInput | number timestamp?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number max_tinktell?: Prisma.IntFieldUpdateOperationsInput | number max_outgoing_thinktell?: Prisma.IntFieldUpdateOperationsInput | number max_comwave?: Prisma.IntFieldUpdateOperationsInput | number max_outgoing_comwave?: Prisma.IntFieldUpdateOperationsInput | number max_total?: Prisma.IntFieldUpdateOperationsInput | number } export type phonecall_channelCountOrderByAggregateInput = { id?: Prisma.SortOrder timestamp?: Prisma.SortOrder max_tinktell?: Prisma.SortOrder max_outgoing_thinktell?: Prisma.SortOrder max_comwave?: Prisma.SortOrder max_outgoing_comwave?: Prisma.SortOrder max_total?: Prisma.SortOrder } export type phonecall_channelAvgOrderByAggregateInput = { id?: Prisma.SortOrder timestamp?: Prisma.SortOrder max_tinktell?: Prisma.SortOrder max_outgoing_thinktell?: Prisma.SortOrder max_comwave?: Prisma.SortOrder max_outgoing_comwave?: Prisma.SortOrder max_total?: Prisma.SortOrder } export type phonecall_channelMaxOrderByAggregateInput = { id?: Prisma.SortOrder timestamp?: Prisma.SortOrder max_tinktell?: Prisma.SortOrder max_outgoing_thinktell?: Prisma.SortOrder max_comwave?: Prisma.SortOrder max_outgoing_comwave?: Prisma.SortOrder max_total?: Prisma.SortOrder } export type phonecall_channelMinOrderByAggregateInput = { id?: Prisma.SortOrder timestamp?: Prisma.SortOrder max_tinktell?: Prisma.SortOrder max_outgoing_thinktell?: Prisma.SortOrder max_comwave?: Prisma.SortOrder max_outgoing_comwave?: Prisma.SortOrder max_total?: Prisma.SortOrder } export type phonecall_channelSumOrderByAggregateInput = { id?: Prisma.SortOrder timestamp?: Prisma.SortOrder max_tinktell?: Prisma.SortOrder max_outgoing_thinktell?: Prisma.SortOrder max_comwave?: Prisma.SortOrder max_outgoing_comwave?: Prisma.SortOrder max_total?: Prisma.SortOrder } export type phonecall_channelSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean timestamp?: boolean max_tinktell?: boolean max_outgoing_thinktell?: boolean max_comwave?: boolean max_outgoing_comwave?: boolean max_total?: boolean }, ExtArgs["result"]["phonecall_channel"]> export type phonecall_channelSelectScalar = { id?: boolean timestamp?: boolean max_tinktell?: boolean max_outgoing_thinktell?: boolean max_comwave?: boolean max_outgoing_comwave?: boolean max_total?: boolean } export type phonecall_channelOmit = runtime.Types.Extensions.GetOmit<"id" | "timestamp" | "max_tinktell" | "max_outgoing_thinktell" | "max_comwave" | "max_outgoing_comwave" | "max_total", ExtArgs["result"]["phonecall_channel"]> export type $phonecall_channelPayload = { name: "phonecall_channel" objects: {} scalars: runtime.Types.Extensions.GetPayloadResult<{ id: number timestamp: bigint max_tinktell: number max_outgoing_thinktell: number max_comwave: number max_outgoing_comwave: number max_total: number }, ExtArgs["result"]["phonecall_channel"]> composites: {} } export type phonecall_channelGetPayload = runtime.Types.Result.GetResult export type phonecall_channelCountArgs = Omit & { select?: Phonecall_channelCountAggregateInputType | true } export interface phonecall_channelDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['phonecall_channel'], meta: { name: 'phonecall_channel' } } /** * Find zero or one Phonecall_channel that matches the filter. * @param {phonecall_channelFindUniqueArgs} args - Arguments to find a Phonecall_channel * @example * // Get one Phonecall_channel * const phonecall_channel = await prisma.phonecall_channel.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__phonecall_channelClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Phonecall_channel that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {phonecall_channelFindUniqueOrThrowArgs} args - Arguments to find a Phonecall_channel * @example * // Get one Phonecall_channel * const phonecall_channel = await prisma.phonecall_channel.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__phonecall_channelClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Phonecall_channel 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_channelFindFirstArgs} args - Arguments to find a Phonecall_channel * @example * // Get one Phonecall_channel * const phonecall_channel = await prisma.phonecall_channel.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__phonecall_channelClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Phonecall_channel 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_channelFindFirstOrThrowArgs} args - Arguments to find a Phonecall_channel * @example * // Get one Phonecall_channel * const phonecall_channel = await prisma.phonecall_channel.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__phonecall_channelClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Phonecall_channels 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_channelFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Phonecall_channels * const phonecall_channels = await prisma.phonecall_channel.findMany() * * // Get first 10 Phonecall_channels * const phonecall_channels = await prisma.phonecall_channel.findMany({ take: 10 }) * * // Only select the `id` * const phonecall_channelWithIdOnly = await prisma.phonecall_channel.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a Phonecall_channel. * @param {phonecall_channelCreateArgs} args - Arguments to create a Phonecall_channel. * @example * // Create one Phonecall_channel * const Phonecall_channel = await prisma.phonecall_channel.create({ * data: { * // ... data to create a Phonecall_channel * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__phonecall_channelClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Phonecall_channels. * @param {phonecall_channelCreateManyArgs} args - Arguments to create many Phonecall_channels. * @example * // Create many Phonecall_channels * const phonecall_channel = await prisma.phonecall_channel.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Delete a Phonecall_channel. * @param {phonecall_channelDeleteArgs} args - Arguments to delete one Phonecall_channel. * @example * // Delete one Phonecall_channel * const Phonecall_channel = await prisma.phonecall_channel.delete({ * where: { * // ... filter to delete one Phonecall_channel * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__phonecall_channelClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Phonecall_channel. * @param {phonecall_channelUpdateArgs} args - Arguments to update one Phonecall_channel. * @example * // Update one Phonecall_channel * const phonecall_channel = await prisma.phonecall_channel.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__phonecall_channelClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Phonecall_channels. * @param {phonecall_channelDeleteManyArgs} args - Arguments to filter Phonecall_channels to delete. * @example * // Delete a few Phonecall_channels * const { count } = await prisma.phonecall_channel.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Phonecall_channels. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {phonecall_channelUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Phonecall_channels * const phonecall_channel = await prisma.phonecall_channel.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create or update one Phonecall_channel. * @param {phonecall_channelUpsertArgs} args - Arguments to update or create a Phonecall_channel. * @example * // Update or create a Phonecall_channel * const phonecall_channel = await prisma.phonecall_channel.upsert({ * create: { * // ... data to create a Phonecall_channel * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Phonecall_channel we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__phonecall_channelClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Phonecall_channels. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {phonecall_channelCountArgs} args - Arguments to filter Phonecall_channels to count. * @example * // Count the number of Phonecall_channels * const count = await prisma.phonecall_channel.count({ * where: { * // ... the filter for the Phonecall_channels 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_channel. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {Phonecall_channelAggregateArgs} 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_channel. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {phonecall_channelGroupByArgs} 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_channelGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: phonecall_channelGroupByArgs['orderBy'] } : { orderBy?: phonecall_channelGroupByArgs['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_channelGroupByPayload : Prisma.PrismaPromise /** * Fields of the phonecall_channel model */ readonly fields: phonecall_channelFieldRefs; } /** * The delegate class that acts as a "Promise-like" for phonecall_channel. * 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_channelClient 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_channel model */ export interface phonecall_channelFieldRefs { readonly id: Prisma.FieldRef<"phonecall_channel", 'Int'> readonly timestamp: Prisma.FieldRef<"phonecall_channel", 'BigInt'> readonly max_tinktell: Prisma.FieldRef<"phonecall_channel", 'Int'> readonly max_outgoing_thinktell: Prisma.FieldRef<"phonecall_channel", 'Int'> readonly max_comwave: Prisma.FieldRef<"phonecall_channel", 'Int'> readonly max_outgoing_comwave: Prisma.FieldRef<"phonecall_channel", 'Int'> readonly max_total: Prisma.FieldRef<"phonecall_channel", 'Int'> } // Custom InputTypes /** * phonecall_channel findUnique */ export type phonecall_channelFindUniqueArgs = { /** * Select specific fields to fetch from the phonecall_channel */ select?: Prisma.phonecall_channelSelect | null /** * Omit specific fields from the phonecall_channel */ omit?: Prisma.phonecall_channelOmit | null /** * Filter, which phonecall_channel to fetch. */ where: Prisma.phonecall_channelWhereUniqueInput } /** * phonecall_channel findUniqueOrThrow */ export type phonecall_channelFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the phonecall_channel */ select?: Prisma.phonecall_channelSelect | null /** * Omit specific fields from the phonecall_channel */ omit?: Prisma.phonecall_channelOmit | null /** * Filter, which phonecall_channel to fetch. */ where: Prisma.phonecall_channelWhereUniqueInput } /** * phonecall_channel findFirst */ export type phonecall_channelFindFirstArgs = { /** * Select specific fields to fetch from the phonecall_channel */ select?: Prisma.phonecall_channelSelect | null /** * Omit specific fields from the phonecall_channel */ omit?: Prisma.phonecall_channelOmit | null /** * Filter, which phonecall_channel to fetch. */ where?: Prisma.phonecall_channelWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of phonecall_channels to fetch. */ orderBy?: Prisma.phonecall_channelOrderByWithRelationInput | Prisma.phonecall_channelOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for phonecall_channels. */ cursor?: Prisma.phonecall_channelWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` phonecall_channels 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_channels. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of phonecall_channels. */ distinct?: Prisma.Phonecall_channelScalarFieldEnum | Prisma.Phonecall_channelScalarFieldEnum[] } /** * phonecall_channel findFirstOrThrow */ export type phonecall_channelFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the phonecall_channel */ select?: Prisma.phonecall_channelSelect | null /** * Omit specific fields from the phonecall_channel */ omit?: Prisma.phonecall_channelOmit | null /** * Filter, which phonecall_channel to fetch. */ where?: Prisma.phonecall_channelWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of phonecall_channels to fetch. */ orderBy?: Prisma.phonecall_channelOrderByWithRelationInput | Prisma.phonecall_channelOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for phonecall_channels. */ cursor?: Prisma.phonecall_channelWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` phonecall_channels 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_channels. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of phonecall_channels. */ distinct?: Prisma.Phonecall_channelScalarFieldEnum | Prisma.Phonecall_channelScalarFieldEnum[] } /** * phonecall_channel findMany */ export type phonecall_channelFindManyArgs = { /** * Select specific fields to fetch from the phonecall_channel */ select?: Prisma.phonecall_channelSelect | null /** * Omit specific fields from the phonecall_channel */ omit?: Prisma.phonecall_channelOmit | null /** * Filter, which phonecall_channels to fetch. */ where?: Prisma.phonecall_channelWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of phonecall_channels to fetch. */ orderBy?: Prisma.phonecall_channelOrderByWithRelationInput | Prisma.phonecall_channelOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing phonecall_channels. */ cursor?: Prisma.phonecall_channelWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` phonecall_channels 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_channels. */ skip?: number distinct?: Prisma.Phonecall_channelScalarFieldEnum | Prisma.Phonecall_channelScalarFieldEnum[] } /** * phonecall_channel create */ export type phonecall_channelCreateArgs = { /** * Select specific fields to fetch from the phonecall_channel */ select?: Prisma.phonecall_channelSelect | null /** * Omit specific fields from the phonecall_channel */ omit?: Prisma.phonecall_channelOmit | null /** * The data needed to create a phonecall_channel. */ data: Prisma.XOR } /** * phonecall_channel createMany */ export type phonecall_channelCreateManyArgs = { /** * The data used to create many phonecall_channels. */ data: Prisma.phonecall_channelCreateManyInput | Prisma.phonecall_channelCreateManyInput[] skipDuplicates?: boolean } /** * phonecall_channel update */ export type phonecall_channelUpdateArgs = { /** * Select specific fields to fetch from the phonecall_channel */ select?: Prisma.phonecall_channelSelect | null /** * Omit specific fields from the phonecall_channel */ omit?: Prisma.phonecall_channelOmit | null /** * The data needed to update a phonecall_channel. */ data: Prisma.XOR /** * Choose, which phonecall_channel to update. */ where: Prisma.phonecall_channelWhereUniqueInput } /** * phonecall_channel updateMany */ export type phonecall_channelUpdateManyArgs = { /** * The data used to update phonecall_channels. */ data: Prisma.XOR /** * Filter which phonecall_channels to update */ where?: Prisma.phonecall_channelWhereInput /** * Limit how many phonecall_channels to update. */ limit?: number } /** * phonecall_channel upsert */ export type phonecall_channelUpsertArgs = { /** * Select specific fields to fetch from the phonecall_channel */ select?: Prisma.phonecall_channelSelect | null /** * Omit specific fields from the phonecall_channel */ omit?: Prisma.phonecall_channelOmit | null /** * The filter to search for the phonecall_channel to update in case it exists. */ where: Prisma.phonecall_channelWhereUniqueInput /** * In case the phonecall_channel found by the `where` argument doesn't exist, create a new phonecall_channel with this data. */ create: Prisma.XOR /** * In case the phonecall_channel was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * phonecall_channel delete */ export type phonecall_channelDeleteArgs = { /** * Select specific fields to fetch from the phonecall_channel */ select?: Prisma.phonecall_channelSelect | null /** * Omit specific fields from the phonecall_channel */ omit?: Prisma.phonecall_channelOmit | null /** * Filter which phonecall_channel to delete. */ where: Prisma.phonecall_channelWhereUniqueInput } /** * phonecall_channel deleteMany */ export type phonecall_channelDeleteManyArgs = { /** * Filter which phonecall_channels to delete */ where?: Prisma.phonecall_channelWhereInput /** * Limit how many phonecall_channels to delete. */ limit?: number } /** * phonecall_channel without action */ export type phonecall_channelDefaultArgs = { /** * Select specific fields to fetch from the phonecall_channel */ select?: Prisma.phonecall_channelSelect | null /** * Omit specific fields from the phonecall_channel */ omit?: Prisma.phonecall_channelOmit | null }