/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `phone_comwave` 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 phone_comwave * */ export type phone_comwaveModel = runtime.Types.Result.DefaultSelection export type AggregatePhone_comwave = { _count: Phone_comwaveCountAggregateOutputType | null _avg: Phone_comwaveAvgAggregateOutputType | null _sum: Phone_comwaveSumAggregateOutputType | null _min: Phone_comwaveMinAggregateOutputType | null _max: Phone_comwaveMaxAggregateOutputType | null } export type Phone_comwaveAvgAggregateOutputType = { id: number | null account_id: number | null service_id: number | null requestId: number | null } export type Phone_comwaveSumAggregateOutputType = { id: number | null account_id: bigint | null service_id: bigint | null requestId: number | null } export type Phone_comwaveMinAggregateOutputType = { id: number | null account_id: bigint | null service_id: bigint | null requestId: number | null phoneNumber: string | null status: string | null date: string | null reason: string | null } export type Phone_comwaveMaxAggregateOutputType = { id: number | null account_id: bigint | null service_id: bigint | null requestId: number | null phoneNumber: string | null status: string | null date: string | null reason: string | null } export type Phone_comwaveCountAggregateOutputType = { id: number account_id: number service_id: number requestId: number phoneNumber: number status: number date: number reason: number _all: number } export type Phone_comwaveAvgAggregateInputType = { id?: true account_id?: true service_id?: true requestId?: true } export type Phone_comwaveSumAggregateInputType = { id?: true account_id?: true service_id?: true requestId?: true } export type Phone_comwaveMinAggregateInputType = { id?: true account_id?: true service_id?: true requestId?: true phoneNumber?: true status?: true date?: true reason?: true } export type Phone_comwaveMaxAggregateInputType = { id?: true account_id?: true service_id?: true requestId?: true phoneNumber?: true status?: true date?: true reason?: true } export type Phone_comwaveCountAggregateInputType = { id?: true account_id?: true service_id?: true requestId?: true phoneNumber?: true status?: true date?: true reason?: true _all?: true } export type Phone_comwaveAggregateArgs = { /** * Filter which phone_comwave to aggregate. */ where?: Prisma.phone_comwaveWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of phone_comwaves to fetch. */ orderBy?: Prisma.phone_comwaveOrderByWithRelationInput | Prisma.phone_comwaveOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.phone_comwaveWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` phone_comwaves 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` phone_comwaves. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned phone_comwaves **/ _count?: true | Phone_comwaveCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: Phone_comwaveAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: Phone_comwaveSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: Phone_comwaveMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: Phone_comwaveMaxAggregateInputType } export type GetPhone_comwaveAggregateType = { [P in keyof T & keyof AggregatePhone_comwave]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type phone_comwaveGroupByArgs = { where?: Prisma.phone_comwaveWhereInput orderBy?: Prisma.phone_comwaveOrderByWithAggregationInput | Prisma.phone_comwaveOrderByWithAggregationInput[] by: Prisma.Phone_comwaveScalarFieldEnum[] | Prisma.Phone_comwaveScalarFieldEnum having?: Prisma.phone_comwaveScalarWhereWithAggregatesInput take?: number skip?: number _count?: Phone_comwaveCountAggregateInputType | true _avg?: Phone_comwaveAvgAggregateInputType _sum?: Phone_comwaveSumAggregateInputType _min?: Phone_comwaveMinAggregateInputType _max?: Phone_comwaveMaxAggregateInputType } export type Phone_comwaveGroupByOutputType = { id: number account_id: bigint | null service_id: bigint | null requestId: number phoneNumber: string status: string date: string | null reason: string | null _count: Phone_comwaveCountAggregateOutputType | null _avg: Phone_comwaveAvgAggregateOutputType | null _sum: Phone_comwaveSumAggregateOutputType | null _min: Phone_comwaveMinAggregateOutputType | null _max: Phone_comwaveMaxAggregateOutputType | null } type GetPhone_comwaveGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof Phone_comwaveGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type phone_comwaveWhereInput = { AND?: Prisma.phone_comwaveWhereInput | Prisma.phone_comwaveWhereInput[] OR?: Prisma.phone_comwaveWhereInput[] NOT?: Prisma.phone_comwaveWhereInput | Prisma.phone_comwaveWhereInput[] id?: Prisma.IntFilter<"phone_comwave"> | number account_id?: Prisma.BigIntNullableFilter<"phone_comwave"> | bigint | number | null service_id?: Prisma.BigIntNullableFilter<"phone_comwave"> | bigint | number | null requestId?: Prisma.IntFilter<"phone_comwave"> | number phoneNumber?: Prisma.StringFilter<"phone_comwave"> | string status?: Prisma.StringFilter<"phone_comwave"> | string date?: Prisma.StringNullableFilter<"phone_comwave"> | string | null reason?: Prisma.StringNullableFilter<"phone_comwave"> | string | null } export type phone_comwaveOrderByWithRelationInput = { id?: Prisma.SortOrder account_id?: Prisma.SortOrderInput | Prisma.SortOrder service_id?: Prisma.SortOrderInput | Prisma.SortOrder requestId?: Prisma.SortOrder phoneNumber?: Prisma.SortOrder status?: Prisma.SortOrder date?: Prisma.SortOrderInput | Prisma.SortOrder reason?: Prisma.SortOrderInput | Prisma.SortOrder _relevance?: Prisma.phone_comwaveOrderByRelevanceInput } export type phone_comwaveWhereUniqueInput = Prisma.AtLeast<{ id?: number requestId?: number AND?: Prisma.phone_comwaveWhereInput | Prisma.phone_comwaveWhereInput[] OR?: Prisma.phone_comwaveWhereInput[] NOT?: Prisma.phone_comwaveWhereInput | Prisma.phone_comwaveWhereInput[] account_id?: Prisma.BigIntNullableFilter<"phone_comwave"> | bigint | number | null service_id?: Prisma.BigIntNullableFilter<"phone_comwave"> | bigint | number | null phoneNumber?: Prisma.StringFilter<"phone_comwave"> | string status?: Prisma.StringFilter<"phone_comwave"> | string date?: Prisma.StringNullableFilter<"phone_comwave"> | string | null reason?: Prisma.StringNullableFilter<"phone_comwave"> | string | null }, "id" | "requestId"> export type phone_comwaveOrderByWithAggregationInput = { id?: Prisma.SortOrder account_id?: Prisma.SortOrderInput | Prisma.SortOrder service_id?: Prisma.SortOrderInput | Prisma.SortOrder requestId?: Prisma.SortOrder phoneNumber?: Prisma.SortOrder status?: Prisma.SortOrder date?: Prisma.SortOrderInput | Prisma.SortOrder reason?: Prisma.SortOrderInput | Prisma.SortOrder _count?: Prisma.phone_comwaveCountOrderByAggregateInput _avg?: Prisma.phone_comwaveAvgOrderByAggregateInput _max?: Prisma.phone_comwaveMaxOrderByAggregateInput _min?: Prisma.phone_comwaveMinOrderByAggregateInput _sum?: Prisma.phone_comwaveSumOrderByAggregateInput } export type phone_comwaveScalarWhereWithAggregatesInput = { AND?: Prisma.phone_comwaveScalarWhereWithAggregatesInput | Prisma.phone_comwaveScalarWhereWithAggregatesInput[] OR?: Prisma.phone_comwaveScalarWhereWithAggregatesInput[] NOT?: Prisma.phone_comwaveScalarWhereWithAggregatesInput | Prisma.phone_comwaveScalarWhereWithAggregatesInput[] id?: Prisma.IntWithAggregatesFilter<"phone_comwave"> | number account_id?: Prisma.BigIntNullableWithAggregatesFilter<"phone_comwave"> | bigint | number | null service_id?: Prisma.BigIntNullableWithAggregatesFilter<"phone_comwave"> | bigint | number | null requestId?: Prisma.IntWithAggregatesFilter<"phone_comwave"> | number phoneNumber?: Prisma.StringWithAggregatesFilter<"phone_comwave"> | string status?: Prisma.StringWithAggregatesFilter<"phone_comwave"> | string date?: Prisma.StringNullableWithAggregatesFilter<"phone_comwave"> | string | null reason?: Prisma.StringNullableWithAggregatesFilter<"phone_comwave"> | string | null } export type phone_comwaveCreateInput = { account_id?: bigint | number | null service_id?: bigint | number | null requestId: number phoneNumber: string status?: string date?: string | null reason?: string | null } export type phone_comwaveUncheckedCreateInput = { id?: number account_id?: bigint | number | null service_id?: bigint | number | null requestId: number phoneNumber: string status?: string date?: string | null reason?: string | null } export type phone_comwaveUpdateInput = { account_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null service_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null requestId?: Prisma.IntFieldUpdateOperationsInput | number phoneNumber?: Prisma.StringFieldUpdateOperationsInput | string status?: Prisma.StringFieldUpdateOperationsInput | string date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type phone_comwaveUncheckedUpdateInput = { id?: Prisma.IntFieldUpdateOperationsInput | number account_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null service_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null requestId?: Prisma.IntFieldUpdateOperationsInput | number phoneNumber?: Prisma.StringFieldUpdateOperationsInput | string status?: Prisma.StringFieldUpdateOperationsInput | string date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type phone_comwaveCreateManyInput = { id?: number account_id?: bigint | number | null service_id?: bigint | number | null requestId: number phoneNumber: string status?: string date?: string | null reason?: string | null } export type phone_comwaveUpdateManyMutationInput = { account_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null service_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null requestId?: Prisma.IntFieldUpdateOperationsInput | number phoneNumber?: Prisma.StringFieldUpdateOperationsInput | string status?: Prisma.StringFieldUpdateOperationsInput | string date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type phone_comwaveUncheckedUpdateManyInput = { id?: Prisma.IntFieldUpdateOperationsInput | number account_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null service_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null requestId?: Prisma.IntFieldUpdateOperationsInput | number phoneNumber?: Prisma.StringFieldUpdateOperationsInput | string status?: Prisma.StringFieldUpdateOperationsInput | string date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type phone_comwaveOrderByRelevanceInput = { fields: Prisma.phone_comwaveOrderByRelevanceFieldEnum | Prisma.phone_comwaveOrderByRelevanceFieldEnum[] sort: Prisma.SortOrder search: string } export type phone_comwaveCountOrderByAggregateInput = { id?: Prisma.SortOrder account_id?: Prisma.SortOrder service_id?: Prisma.SortOrder requestId?: Prisma.SortOrder phoneNumber?: Prisma.SortOrder status?: Prisma.SortOrder date?: Prisma.SortOrder reason?: Prisma.SortOrder } export type phone_comwaveAvgOrderByAggregateInput = { id?: Prisma.SortOrder account_id?: Prisma.SortOrder service_id?: Prisma.SortOrder requestId?: Prisma.SortOrder } export type phone_comwaveMaxOrderByAggregateInput = { id?: Prisma.SortOrder account_id?: Prisma.SortOrder service_id?: Prisma.SortOrder requestId?: Prisma.SortOrder phoneNumber?: Prisma.SortOrder status?: Prisma.SortOrder date?: Prisma.SortOrder reason?: Prisma.SortOrder } export type phone_comwaveMinOrderByAggregateInput = { id?: Prisma.SortOrder account_id?: Prisma.SortOrder service_id?: Prisma.SortOrder requestId?: Prisma.SortOrder phoneNumber?: Prisma.SortOrder status?: Prisma.SortOrder date?: Prisma.SortOrder reason?: Prisma.SortOrder } export type phone_comwaveSumOrderByAggregateInput = { id?: Prisma.SortOrder account_id?: Prisma.SortOrder service_id?: Prisma.SortOrder requestId?: Prisma.SortOrder } export type phone_comwaveSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean account_id?: boolean service_id?: boolean requestId?: boolean phoneNumber?: boolean status?: boolean date?: boolean reason?: boolean }, ExtArgs["result"]["phone_comwave"]> export type phone_comwaveSelectScalar = { id?: boolean account_id?: boolean service_id?: boolean requestId?: boolean phoneNumber?: boolean status?: boolean date?: boolean reason?: boolean } export type phone_comwaveOmit = runtime.Types.Extensions.GetOmit<"id" | "account_id" | "service_id" | "requestId" | "phoneNumber" | "status" | "date" | "reason", ExtArgs["result"]["phone_comwave"]> export type $phone_comwavePayload = { name: "phone_comwave" objects: {} scalars: runtime.Types.Extensions.GetPayloadResult<{ id: number account_id: bigint | null service_id: bigint | null requestId: number phoneNumber: string status: string date: string | null reason: string | null }, ExtArgs["result"]["phone_comwave"]> composites: {} } export type phone_comwaveGetPayload = runtime.Types.Result.GetResult export type phone_comwaveCountArgs = Omit & { select?: Phone_comwaveCountAggregateInputType | true } export interface phone_comwaveDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['phone_comwave'], meta: { name: 'phone_comwave' } } /** * Find zero or one Phone_comwave that matches the filter. * @param {phone_comwaveFindUniqueArgs} args - Arguments to find a Phone_comwave * @example * // Get one Phone_comwave * const phone_comwave = await prisma.phone_comwave.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__phone_comwaveClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Phone_comwave that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {phone_comwaveFindUniqueOrThrowArgs} args - Arguments to find a Phone_comwave * @example * // Get one Phone_comwave * const phone_comwave = await prisma.phone_comwave.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__phone_comwaveClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Phone_comwave 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 {phone_comwaveFindFirstArgs} args - Arguments to find a Phone_comwave * @example * // Get one Phone_comwave * const phone_comwave = await prisma.phone_comwave.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__phone_comwaveClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Phone_comwave 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 {phone_comwaveFindFirstOrThrowArgs} args - Arguments to find a Phone_comwave * @example * // Get one Phone_comwave * const phone_comwave = await prisma.phone_comwave.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__phone_comwaveClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Phone_comwaves 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 {phone_comwaveFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Phone_comwaves * const phone_comwaves = await prisma.phone_comwave.findMany() * * // Get first 10 Phone_comwaves * const phone_comwaves = await prisma.phone_comwave.findMany({ take: 10 }) * * // Only select the `id` * const phone_comwaveWithIdOnly = await prisma.phone_comwave.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a Phone_comwave. * @param {phone_comwaveCreateArgs} args - Arguments to create a Phone_comwave. * @example * // Create one Phone_comwave * const Phone_comwave = await prisma.phone_comwave.create({ * data: { * // ... data to create a Phone_comwave * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__phone_comwaveClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Phone_comwaves. * @param {phone_comwaveCreateManyArgs} args - Arguments to create many Phone_comwaves. * @example * // Create many Phone_comwaves * const phone_comwave = await prisma.phone_comwave.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Delete a Phone_comwave. * @param {phone_comwaveDeleteArgs} args - Arguments to delete one Phone_comwave. * @example * // Delete one Phone_comwave * const Phone_comwave = await prisma.phone_comwave.delete({ * where: { * // ... filter to delete one Phone_comwave * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__phone_comwaveClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Phone_comwave. * @param {phone_comwaveUpdateArgs} args - Arguments to update one Phone_comwave. * @example * // Update one Phone_comwave * const phone_comwave = await prisma.phone_comwave.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__phone_comwaveClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Phone_comwaves. * @param {phone_comwaveDeleteManyArgs} args - Arguments to filter Phone_comwaves to delete. * @example * // Delete a few Phone_comwaves * const { count } = await prisma.phone_comwave.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Phone_comwaves. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {phone_comwaveUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Phone_comwaves * const phone_comwave = await prisma.phone_comwave.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create or update one Phone_comwave. * @param {phone_comwaveUpsertArgs} args - Arguments to update or create a Phone_comwave. * @example * // Update or create a Phone_comwave * const phone_comwave = await prisma.phone_comwave.upsert({ * create: { * // ... data to create a Phone_comwave * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Phone_comwave we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__phone_comwaveClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Phone_comwaves. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {phone_comwaveCountArgs} args - Arguments to filter Phone_comwaves to count. * @example * // Count the number of Phone_comwaves * const count = await prisma.phone_comwave.count({ * where: { * // ... the filter for the Phone_comwaves 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 Phone_comwave. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {Phone_comwaveAggregateArgs} 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 Phone_comwave. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {phone_comwaveGroupByArgs} 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 phone_comwaveGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: phone_comwaveGroupByArgs['orderBy'] } : { orderBy?: phone_comwaveGroupByArgs['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 ? GetPhone_comwaveGroupByPayload : Prisma.PrismaPromise /** * Fields of the phone_comwave model */ readonly fields: phone_comwaveFieldRefs; } /** * The delegate class that acts as a "Promise-like" for phone_comwave. * 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__phone_comwaveClient 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 phone_comwave model */ export interface phone_comwaveFieldRefs { readonly id: Prisma.FieldRef<"phone_comwave", 'Int'> readonly account_id: Prisma.FieldRef<"phone_comwave", 'BigInt'> readonly service_id: Prisma.FieldRef<"phone_comwave", 'BigInt'> readonly requestId: Prisma.FieldRef<"phone_comwave", 'Int'> readonly phoneNumber: Prisma.FieldRef<"phone_comwave", 'String'> readonly status: Prisma.FieldRef<"phone_comwave", 'String'> readonly date: Prisma.FieldRef<"phone_comwave", 'String'> readonly reason: Prisma.FieldRef<"phone_comwave", 'String'> } // Custom InputTypes /** * phone_comwave findUnique */ export type phone_comwaveFindUniqueArgs = { /** * Select specific fields to fetch from the phone_comwave */ select?: Prisma.phone_comwaveSelect | null /** * Omit specific fields from the phone_comwave */ omit?: Prisma.phone_comwaveOmit | null /** * Filter, which phone_comwave to fetch. */ where: Prisma.phone_comwaveWhereUniqueInput } /** * phone_comwave findUniqueOrThrow */ export type phone_comwaveFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the phone_comwave */ select?: Prisma.phone_comwaveSelect | null /** * Omit specific fields from the phone_comwave */ omit?: Prisma.phone_comwaveOmit | null /** * Filter, which phone_comwave to fetch. */ where: Prisma.phone_comwaveWhereUniqueInput } /** * phone_comwave findFirst */ export type phone_comwaveFindFirstArgs = { /** * Select specific fields to fetch from the phone_comwave */ select?: Prisma.phone_comwaveSelect | null /** * Omit specific fields from the phone_comwave */ omit?: Prisma.phone_comwaveOmit | null /** * Filter, which phone_comwave to fetch. */ where?: Prisma.phone_comwaveWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of phone_comwaves to fetch. */ orderBy?: Prisma.phone_comwaveOrderByWithRelationInput | Prisma.phone_comwaveOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for phone_comwaves. */ cursor?: Prisma.phone_comwaveWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` phone_comwaves 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` phone_comwaves. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of phone_comwaves. */ distinct?: Prisma.Phone_comwaveScalarFieldEnum | Prisma.Phone_comwaveScalarFieldEnum[] } /** * phone_comwave findFirstOrThrow */ export type phone_comwaveFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the phone_comwave */ select?: Prisma.phone_comwaveSelect | null /** * Omit specific fields from the phone_comwave */ omit?: Prisma.phone_comwaveOmit | null /** * Filter, which phone_comwave to fetch. */ where?: Prisma.phone_comwaveWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of phone_comwaves to fetch. */ orderBy?: Prisma.phone_comwaveOrderByWithRelationInput | Prisma.phone_comwaveOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for phone_comwaves. */ cursor?: Prisma.phone_comwaveWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` phone_comwaves 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` phone_comwaves. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of phone_comwaves. */ distinct?: Prisma.Phone_comwaveScalarFieldEnum | Prisma.Phone_comwaveScalarFieldEnum[] } /** * phone_comwave findMany */ export type phone_comwaveFindManyArgs = { /** * Select specific fields to fetch from the phone_comwave */ select?: Prisma.phone_comwaveSelect | null /** * Omit specific fields from the phone_comwave */ omit?: Prisma.phone_comwaveOmit | null /** * Filter, which phone_comwaves to fetch. */ where?: Prisma.phone_comwaveWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of phone_comwaves to fetch. */ orderBy?: Prisma.phone_comwaveOrderByWithRelationInput | Prisma.phone_comwaveOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing phone_comwaves. */ cursor?: Prisma.phone_comwaveWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` phone_comwaves 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` phone_comwaves. */ skip?: number distinct?: Prisma.Phone_comwaveScalarFieldEnum | Prisma.Phone_comwaveScalarFieldEnum[] } /** * phone_comwave create */ export type phone_comwaveCreateArgs = { /** * Select specific fields to fetch from the phone_comwave */ select?: Prisma.phone_comwaveSelect | null /** * Omit specific fields from the phone_comwave */ omit?: Prisma.phone_comwaveOmit | null /** * The data needed to create a phone_comwave. */ data: Prisma.XOR } /** * phone_comwave createMany */ export type phone_comwaveCreateManyArgs = { /** * The data used to create many phone_comwaves. */ data: Prisma.phone_comwaveCreateManyInput | Prisma.phone_comwaveCreateManyInput[] skipDuplicates?: boolean } /** * phone_comwave update */ export type phone_comwaveUpdateArgs = { /** * Select specific fields to fetch from the phone_comwave */ select?: Prisma.phone_comwaveSelect | null /** * Omit specific fields from the phone_comwave */ omit?: Prisma.phone_comwaveOmit | null /** * The data needed to update a phone_comwave. */ data: Prisma.XOR /** * Choose, which phone_comwave to update. */ where: Prisma.phone_comwaveWhereUniqueInput } /** * phone_comwave updateMany */ export type phone_comwaveUpdateManyArgs = { /** * The data used to update phone_comwaves. */ data: Prisma.XOR /** * Filter which phone_comwaves to update */ where?: Prisma.phone_comwaveWhereInput /** * Limit how many phone_comwaves to update. */ limit?: number } /** * phone_comwave upsert */ export type phone_comwaveUpsertArgs = { /** * Select specific fields to fetch from the phone_comwave */ select?: Prisma.phone_comwaveSelect | null /** * Omit specific fields from the phone_comwave */ omit?: Prisma.phone_comwaveOmit | null /** * The filter to search for the phone_comwave to update in case it exists. */ where: Prisma.phone_comwaveWhereUniqueInput /** * In case the phone_comwave found by the `where` argument doesn't exist, create a new phone_comwave with this data. */ create: Prisma.XOR /** * In case the phone_comwave was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * phone_comwave delete */ export type phone_comwaveDeleteArgs = { /** * Select specific fields to fetch from the phone_comwave */ select?: Prisma.phone_comwaveSelect | null /** * Omit specific fields from the phone_comwave */ omit?: Prisma.phone_comwaveOmit | null /** * Filter which phone_comwave to delete. */ where: Prisma.phone_comwaveWhereUniqueInput } /** * phone_comwave deleteMany */ export type phone_comwaveDeleteManyArgs = { /** * Filter which phone_comwaves to delete */ where?: Prisma.phone_comwaveWhereInput /** * Limit how many phone_comwaves to delete. */ limit?: number } /** * phone_comwave without action */ export type phone_comwaveDefaultArgs = { /** * Select specific fields to fetch from the phone_comwave */ select?: Prisma.phone_comwaveSelect | null /** * Omit specific fields from the phone_comwave */ omit?: Prisma.phone_comwaveOmit | null }