/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `pbx_com` 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 pbx_com * */ export type pbx_comModel = runtime.Types.Result.DefaultSelection export type AggregatePbx_com = { _count: Pbx_comCountAggregateOutputType | null _avg: Pbx_comAvgAggregateOutputType | null _sum: Pbx_comSumAggregateOutputType | null _min: Pbx_comMinAggregateOutputType | null _max: Pbx_comMaxAggregateOutputType | null } export type Pbx_comAvgAggregateOutputType = { id: number | null account_id: number | null delivery_id: number | null service_id: number | null max_calls: number | null update_by: number | null } export type Pbx_comSumAggregateOutputType = { id: number | null account_id: number | null delivery_id: number | null service_id: number | null max_calls: number | null update_by: number | null } export type Pbx_comMinAggregateOutputType = { id: number | null account_id: number | null delivery_id: number | null service_id: number | null phone: string | null name: string | null failover: string | null auth_method: string | null password: string | null ip: string | null int_code: string | null country_whitelist: string | null language: string | null call_911: string | null max_calls: number | null user_context: string | null date_origin: string | null date_update: string | null update_by: number | null } export type Pbx_comMaxAggregateOutputType = { id: number | null account_id: number | null delivery_id: number | null service_id: number | null phone: string | null name: string | null failover: string | null auth_method: string | null password: string | null ip: string | null int_code: string | null country_whitelist: string | null language: string | null call_911: string | null max_calls: number | null user_context: string | null date_origin: string | null date_update: string | null update_by: number | null } export type Pbx_comCountAggregateOutputType = { id: number account_id: number delivery_id: number service_id: number phone: number name: number failover: number auth_method: number password: number ip: number int_code: number country_whitelist: number language: number call_911: number max_calls: number user_context: number date_origin: number date_update: number update_by: number _all: number } export type Pbx_comAvgAggregateInputType = { id?: true account_id?: true delivery_id?: true service_id?: true max_calls?: true update_by?: true } export type Pbx_comSumAggregateInputType = { id?: true account_id?: true delivery_id?: true service_id?: true max_calls?: true update_by?: true } export type Pbx_comMinAggregateInputType = { id?: true account_id?: true delivery_id?: true service_id?: true phone?: true name?: true failover?: true auth_method?: true password?: true ip?: true int_code?: true country_whitelist?: true language?: true call_911?: true max_calls?: true user_context?: true date_origin?: true date_update?: true update_by?: true } export type Pbx_comMaxAggregateInputType = { id?: true account_id?: true delivery_id?: true service_id?: true phone?: true name?: true failover?: true auth_method?: true password?: true ip?: true int_code?: true country_whitelist?: true language?: true call_911?: true max_calls?: true user_context?: true date_origin?: true date_update?: true update_by?: true } export type Pbx_comCountAggregateInputType = { id?: true account_id?: true delivery_id?: true service_id?: true phone?: true name?: true failover?: true auth_method?: true password?: true ip?: true int_code?: true country_whitelist?: true language?: true call_911?: true max_calls?: true user_context?: true date_origin?: true date_update?: true update_by?: true _all?: true } export type Pbx_comAggregateArgs = { /** * Filter which pbx_com to aggregate. */ where?: Prisma.pbx_comWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of pbx_coms to fetch. */ orderBy?: Prisma.pbx_comOrderByWithRelationInput | Prisma.pbx_comOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.pbx_comWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` pbx_coms 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` pbx_coms. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned pbx_coms **/ _count?: true | Pbx_comCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: Pbx_comAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: Pbx_comSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: Pbx_comMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: Pbx_comMaxAggregateInputType } export type GetPbx_comAggregateType = { [P in keyof T & keyof AggregatePbx_com]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type pbx_comGroupByArgs = { where?: Prisma.pbx_comWhereInput orderBy?: Prisma.pbx_comOrderByWithAggregationInput | Prisma.pbx_comOrderByWithAggregationInput[] by: Prisma.Pbx_comScalarFieldEnum[] | Prisma.Pbx_comScalarFieldEnum having?: Prisma.pbx_comScalarWhereWithAggregatesInput take?: number skip?: number _count?: Pbx_comCountAggregateInputType | true _avg?: Pbx_comAvgAggregateInputType _sum?: Pbx_comSumAggregateInputType _min?: Pbx_comMinAggregateInputType _max?: Pbx_comMaxAggregateInputType } export type Pbx_comGroupByOutputType = { id: number account_id: number delivery_id: number service_id: number phone: string name: string failover: string auth_method: string password: string ip: string int_code: string country_whitelist: string language: string call_911: string max_calls: number user_context: string date_origin: string date_update: string update_by: number _count: Pbx_comCountAggregateOutputType | null _avg: Pbx_comAvgAggregateOutputType | null _sum: Pbx_comSumAggregateOutputType | null _min: Pbx_comMinAggregateOutputType | null _max: Pbx_comMaxAggregateOutputType | null } type GetPbx_comGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof Pbx_comGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type pbx_comWhereInput = { AND?: Prisma.pbx_comWhereInput | Prisma.pbx_comWhereInput[] OR?: Prisma.pbx_comWhereInput[] NOT?: Prisma.pbx_comWhereInput | Prisma.pbx_comWhereInput[] id?: Prisma.IntFilter<"pbx_com"> | number account_id?: Prisma.IntFilter<"pbx_com"> | number delivery_id?: Prisma.IntFilter<"pbx_com"> | number service_id?: Prisma.IntFilter<"pbx_com"> | number phone?: Prisma.StringFilter<"pbx_com"> | string name?: Prisma.StringFilter<"pbx_com"> | string failover?: Prisma.StringFilter<"pbx_com"> | string auth_method?: Prisma.StringFilter<"pbx_com"> | string password?: Prisma.StringFilter<"pbx_com"> | string ip?: Prisma.StringFilter<"pbx_com"> | string int_code?: Prisma.StringFilter<"pbx_com"> | string country_whitelist?: Prisma.StringFilter<"pbx_com"> | string language?: Prisma.StringFilter<"pbx_com"> | string call_911?: Prisma.StringFilter<"pbx_com"> | string max_calls?: Prisma.IntFilter<"pbx_com"> | number user_context?: Prisma.StringFilter<"pbx_com"> | string date_origin?: Prisma.StringFilter<"pbx_com"> | string date_update?: Prisma.StringFilter<"pbx_com"> | string update_by?: Prisma.IntFilter<"pbx_com"> | number } export type pbx_comOrderByWithRelationInput = { id?: Prisma.SortOrder account_id?: Prisma.SortOrder delivery_id?: Prisma.SortOrder service_id?: Prisma.SortOrder phone?: Prisma.SortOrder name?: Prisma.SortOrder failover?: Prisma.SortOrder auth_method?: Prisma.SortOrder password?: Prisma.SortOrder ip?: Prisma.SortOrder int_code?: Prisma.SortOrder country_whitelist?: Prisma.SortOrder language?: Prisma.SortOrder call_911?: Prisma.SortOrder max_calls?: Prisma.SortOrder user_context?: Prisma.SortOrder date_origin?: Prisma.SortOrder date_update?: Prisma.SortOrder update_by?: Prisma.SortOrder _relevance?: Prisma.pbx_comOrderByRelevanceInput } export type pbx_comWhereUniqueInput = Prisma.AtLeast<{ id?: number AND?: Prisma.pbx_comWhereInput | Prisma.pbx_comWhereInput[] OR?: Prisma.pbx_comWhereInput[] NOT?: Prisma.pbx_comWhereInput | Prisma.pbx_comWhereInput[] account_id?: Prisma.IntFilter<"pbx_com"> | number delivery_id?: Prisma.IntFilter<"pbx_com"> | number service_id?: Prisma.IntFilter<"pbx_com"> | number phone?: Prisma.StringFilter<"pbx_com"> | string name?: Prisma.StringFilter<"pbx_com"> | string failover?: Prisma.StringFilter<"pbx_com"> | string auth_method?: Prisma.StringFilter<"pbx_com"> | string password?: Prisma.StringFilter<"pbx_com"> | string ip?: Prisma.StringFilter<"pbx_com"> | string int_code?: Prisma.StringFilter<"pbx_com"> | string country_whitelist?: Prisma.StringFilter<"pbx_com"> | string language?: Prisma.StringFilter<"pbx_com"> | string call_911?: Prisma.StringFilter<"pbx_com"> | string max_calls?: Prisma.IntFilter<"pbx_com"> | number user_context?: Prisma.StringFilter<"pbx_com"> | string date_origin?: Prisma.StringFilter<"pbx_com"> | string date_update?: Prisma.StringFilter<"pbx_com"> | string update_by?: Prisma.IntFilter<"pbx_com"> | number }, "id"> export type pbx_comOrderByWithAggregationInput = { id?: Prisma.SortOrder account_id?: Prisma.SortOrder delivery_id?: Prisma.SortOrder service_id?: Prisma.SortOrder phone?: Prisma.SortOrder name?: Prisma.SortOrder failover?: Prisma.SortOrder auth_method?: Prisma.SortOrder password?: Prisma.SortOrder ip?: Prisma.SortOrder int_code?: Prisma.SortOrder country_whitelist?: Prisma.SortOrder language?: Prisma.SortOrder call_911?: Prisma.SortOrder max_calls?: Prisma.SortOrder user_context?: Prisma.SortOrder date_origin?: Prisma.SortOrder date_update?: Prisma.SortOrder update_by?: Prisma.SortOrder _count?: Prisma.pbx_comCountOrderByAggregateInput _avg?: Prisma.pbx_comAvgOrderByAggregateInput _max?: Prisma.pbx_comMaxOrderByAggregateInput _min?: Prisma.pbx_comMinOrderByAggregateInput _sum?: Prisma.pbx_comSumOrderByAggregateInput } export type pbx_comScalarWhereWithAggregatesInput = { AND?: Prisma.pbx_comScalarWhereWithAggregatesInput | Prisma.pbx_comScalarWhereWithAggregatesInput[] OR?: Prisma.pbx_comScalarWhereWithAggregatesInput[] NOT?: Prisma.pbx_comScalarWhereWithAggregatesInput | Prisma.pbx_comScalarWhereWithAggregatesInput[] id?: Prisma.IntWithAggregatesFilter<"pbx_com"> | number account_id?: Prisma.IntWithAggregatesFilter<"pbx_com"> | number delivery_id?: Prisma.IntWithAggregatesFilter<"pbx_com"> | number service_id?: Prisma.IntWithAggregatesFilter<"pbx_com"> | number phone?: Prisma.StringWithAggregatesFilter<"pbx_com"> | string name?: Prisma.StringWithAggregatesFilter<"pbx_com"> | string failover?: Prisma.StringWithAggregatesFilter<"pbx_com"> | string auth_method?: Prisma.StringWithAggregatesFilter<"pbx_com"> | string password?: Prisma.StringWithAggregatesFilter<"pbx_com"> | string ip?: Prisma.StringWithAggregatesFilter<"pbx_com"> | string int_code?: Prisma.StringWithAggregatesFilter<"pbx_com"> | string country_whitelist?: Prisma.StringWithAggregatesFilter<"pbx_com"> | string language?: Prisma.StringWithAggregatesFilter<"pbx_com"> | string call_911?: Prisma.StringWithAggregatesFilter<"pbx_com"> | string max_calls?: Prisma.IntWithAggregatesFilter<"pbx_com"> | number user_context?: Prisma.StringWithAggregatesFilter<"pbx_com"> | string date_origin?: Prisma.StringWithAggregatesFilter<"pbx_com"> | string date_update?: Prisma.StringWithAggregatesFilter<"pbx_com"> | string update_by?: Prisma.IntWithAggregatesFilter<"pbx_com"> | number } export type pbx_comCreateInput = { account_id: number delivery_id: number service_id: number phone: string name: string failover: string auth_method?: string password: string ip: string int_code: string country_whitelist: string language: string call_911: string max_calls: number user_context: string date_origin: string date_update: string update_by: number } export type pbx_comUncheckedCreateInput = { id?: number account_id: number delivery_id: number service_id: number phone: string name: string failover: string auth_method?: string password: string ip: string int_code: string country_whitelist: string language: string call_911: string max_calls: number user_context: string date_origin: string date_update: string update_by: number } export type pbx_comUpdateInput = { account_id?: Prisma.IntFieldUpdateOperationsInput | number delivery_id?: Prisma.IntFieldUpdateOperationsInput | number service_id?: Prisma.IntFieldUpdateOperationsInput | number phone?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string failover?: Prisma.StringFieldUpdateOperationsInput | string auth_method?: Prisma.StringFieldUpdateOperationsInput | string password?: Prisma.StringFieldUpdateOperationsInput | string ip?: Prisma.StringFieldUpdateOperationsInput | string int_code?: Prisma.StringFieldUpdateOperationsInput | string country_whitelist?: Prisma.StringFieldUpdateOperationsInput | string language?: Prisma.StringFieldUpdateOperationsInput | string call_911?: Prisma.StringFieldUpdateOperationsInput | string max_calls?: Prisma.IntFieldUpdateOperationsInput | number user_context?: Prisma.StringFieldUpdateOperationsInput | string date_origin?: Prisma.StringFieldUpdateOperationsInput | string date_update?: Prisma.StringFieldUpdateOperationsInput | string update_by?: Prisma.IntFieldUpdateOperationsInput | number } export type pbx_comUncheckedUpdateInput = { id?: Prisma.IntFieldUpdateOperationsInput | number account_id?: Prisma.IntFieldUpdateOperationsInput | number delivery_id?: Prisma.IntFieldUpdateOperationsInput | number service_id?: Prisma.IntFieldUpdateOperationsInput | number phone?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string failover?: Prisma.StringFieldUpdateOperationsInput | string auth_method?: Prisma.StringFieldUpdateOperationsInput | string password?: Prisma.StringFieldUpdateOperationsInput | string ip?: Prisma.StringFieldUpdateOperationsInput | string int_code?: Prisma.StringFieldUpdateOperationsInput | string country_whitelist?: Prisma.StringFieldUpdateOperationsInput | string language?: Prisma.StringFieldUpdateOperationsInput | string call_911?: Prisma.StringFieldUpdateOperationsInput | string max_calls?: Prisma.IntFieldUpdateOperationsInput | number user_context?: Prisma.StringFieldUpdateOperationsInput | string date_origin?: Prisma.StringFieldUpdateOperationsInput | string date_update?: Prisma.StringFieldUpdateOperationsInput | string update_by?: Prisma.IntFieldUpdateOperationsInput | number } export type pbx_comCreateManyInput = { id?: number account_id: number delivery_id: number service_id: number phone: string name: string failover: string auth_method?: string password: string ip: string int_code: string country_whitelist: string language: string call_911: string max_calls: number user_context: string date_origin: string date_update: string update_by: number } export type pbx_comUpdateManyMutationInput = { account_id?: Prisma.IntFieldUpdateOperationsInput | number delivery_id?: Prisma.IntFieldUpdateOperationsInput | number service_id?: Prisma.IntFieldUpdateOperationsInput | number phone?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string failover?: Prisma.StringFieldUpdateOperationsInput | string auth_method?: Prisma.StringFieldUpdateOperationsInput | string password?: Prisma.StringFieldUpdateOperationsInput | string ip?: Prisma.StringFieldUpdateOperationsInput | string int_code?: Prisma.StringFieldUpdateOperationsInput | string country_whitelist?: Prisma.StringFieldUpdateOperationsInput | string language?: Prisma.StringFieldUpdateOperationsInput | string call_911?: Prisma.StringFieldUpdateOperationsInput | string max_calls?: Prisma.IntFieldUpdateOperationsInput | number user_context?: Prisma.StringFieldUpdateOperationsInput | string date_origin?: Prisma.StringFieldUpdateOperationsInput | string date_update?: Prisma.StringFieldUpdateOperationsInput | string update_by?: Prisma.IntFieldUpdateOperationsInput | number } export type pbx_comUncheckedUpdateManyInput = { id?: Prisma.IntFieldUpdateOperationsInput | number account_id?: Prisma.IntFieldUpdateOperationsInput | number delivery_id?: Prisma.IntFieldUpdateOperationsInput | number service_id?: Prisma.IntFieldUpdateOperationsInput | number phone?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string failover?: Prisma.StringFieldUpdateOperationsInput | string auth_method?: Prisma.StringFieldUpdateOperationsInput | string password?: Prisma.StringFieldUpdateOperationsInput | string ip?: Prisma.StringFieldUpdateOperationsInput | string int_code?: Prisma.StringFieldUpdateOperationsInput | string country_whitelist?: Prisma.StringFieldUpdateOperationsInput | string language?: Prisma.StringFieldUpdateOperationsInput | string call_911?: Prisma.StringFieldUpdateOperationsInput | string max_calls?: Prisma.IntFieldUpdateOperationsInput | number user_context?: Prisma.StringFieldUpdateOperationsInput | string date_origin?: Prisma.StringFieldUpdateOperationsInput | string date_update?: Prisma.StringFieldUpdateOperationsInput | string update_by?: Prisma.IntFieldUpdateOperationsInput | number } export type pbx_comOrderByRelevanceInput = { fields: Prisma.pbx_comOrderByRelevanceFieldEnum | Prisma.pbx_comOrderByRelevanceFieldEnum[] sort: Prisma.SortOrder search: string } export type pbx_comCountOrderByAggregateInput = { id?: Prisma.SortOrder account_id?: Prisma.SortOrder delivery_id?: Prisma.SortOrder service_id?: Prisma.SortOrder phone?: Prisma.SortOrder name?: Prisma.SortOrder failover?: Prisma.SortOrder auth_method?: Prisma.SortOrder password?: Prisma.SortOrder ip?: Prisma.SortOrder int_code?: Prisma.SortOrder country_whitelist?: Prisma.SortOrder language?: Prisma.SortOrder call_911?: Prisma.SortOrder max_calls?: Prisma.SortOrder user_context?: Prisma.SortOrder date_origin?: Prisma.SortOrder date_update?: Prisma.SortOrder update_by?: Prisma.SortOrder } export type pbx_comAvgOrderByAggregateInput = { id?: Prisma.SortOrder account_id?: Prisma.SortOrder delivery_id?: Prisma.SortOrder service_id?: Prisma.SortOrder max_calls?: Prisma.SortOrder update_by?: Prisma.SortOrder } export type pbx_comMaxOrderByAggregateInput = { id?: Prisma.SortOrder account_id?: Prisma.SortOrder delivery_id?: Prisma.SortOrder service_id?: Prisma.SortOrder phone?: Prisma.SortOrder name?: Prisma.SortOrder failover?: Prisma.SortOrder auth_method?: Prisma.SortOrder password?: Prisma.SortOrder ip?: Prisma.SortOrder int_code?: Prisma.SortOrder country_whitelist?: Prisma.SortOrder language?: Prisma.SortOrder call_911?: Prisma.SortOrder max_calls?: Prisma.SortOrder user_context?: Prisma.SortOrder date_origin?: Prisma.SortOrder date_update?: Prisma.SortOrder update_by?: Prisma.SortOrder } export type pbx_comMinOrderByAggregateInput = { id?: Prisma.SortOrder account_id?: Prisma.SortOrder delivery_id?: Prisma.SortOrder service_id?: Prisma.SortOrder phone?: Prisma.SortOrder name?: Prisma.SortOrder failover?: Prisma.SortOrder auth_method?: Prisma.SortOrder password?: Prisma.SortOrder ip?: Prisma.SortOrder int_code?: Prisma.SortOrder country_whitelist?: Prisma.SortOrder language?: Prisma.SortOrder call_911?: Prisma.SortOrder max_calls?: Prisma.SortOrder user_context?: Prisma.SortOrder date_origin?: Prisma.SortOrder date_update?: Prisma.SortOrder update_by?: Prisma.SortOrder } export type pbx_comSumOrderByAggregateInput = { id?: Prisma.SortOrder account_id?: Prisma.SortOrder delivery_id?: Prisma.SortOrder service_id?: Prisma.SortOrder max_calls?: Prisma.SortOrder update_by?: Prisma.SortOrder } export type pbx_comSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean account_id?: boolean delivery_id?: boolean service_id?: boolean phone?: boolean name?: boolean failover?: boolean auth_method?: boolean password?: boolean ip?: boolean int_code?: boolean country_whitelist?: boolean language?: boolean call_911?: boolean max_calls?: boolean user_context?: boolean date_origin?: boolean date_update?: boolean update_by?: boolean }, ExtArgs["result"]["pbx_com"]> export type pbx_comSelectScalar = { id?: boolean account_id?: boolean delivery_id?: boolean service_id?: boolean phone?: boolean name?: boolean failover?: boolean auth_method?: boolean password?: boolean ip?: boolean int_code?: boolean country_whitelist?: boolean language?: boolean call_911?: boolean max_calls?: boolean user_context?: boolean date_origin?: boolean date_update?: boolean update_by?: boolean } export type pbx_comOmit = runtime.Types.Extensions.GetOmit<"id" | "account_id" | "delivery_id" | "service_id" | "phone" | "name" | "failover" | "auth_method" | "password" | "ip" | "int_code" | "country_whitelist" | "language" | "call_911" | "max_calls" | "user_context" | "date_origin" | "date_update" | "update_by", ExtArgs["result"]["pbx_com"]> export type $pbx_comPayload = { name: "pbx_com" objects: {} scalars: runtime.Types.Extensions.GetPayloadResult<{ id: number account_id: number delivery_id: number service_id: number phone: string name: string failover: string auth_method: string password: string ip: string int_code: string country_whitelist: string language: string call_911: string max_calls: number user_context: string date_origin: string date_update: string update_by: number }, ExtArgs["result"]["pbx_com"]> composites: {} } export type pbx_comGetPayload = runtime.Types.Result.GetResult export type pbx_comCountArgs = Omit & { select?: Pbx_comCountAggregateInputType | true } export interface pbx_comDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['pbx_com'], meta: { name: 'pbx_com' } } /** * Find zero or one Pbx_com that matches the filter. * @param {pbx_comFindUniqueArgs} args - Arguments to find a Pbx_com * @example * // Get one Pbx_com * const pbx_com = await prisma.pbx_com.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__pbx_comClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Pbx_com that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {pbx_comFindUniqueOrThrowArgs} args - Arguments to find a Pbx_com * @example * // Get one Pbx_com * const pbx_com = await prisma.pbx_com.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__pbx_comClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Pbx_com 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 {pbx_comFindFirstArgs} args - Arguments to find a Pbx_com * @example * // Get one Pbx_com * const pbx_com = await prisma.pbx_com.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__pbx_comClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Pbx_com 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 {pbx_comFindFirstOrThrowArgs} args - Arguments to find a Pbx_com * @example * // Get one Pbx_com * const pbx_com = await prisma.pbx_com.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__pbx_comClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Pbx_coms 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 {pbx_comFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Pbx_coms * const pbx_coms = await prisma.pbx_com.findMany() * * // Get first 10 Pbx_coms * const pbx_coms = await prisma.pbx_com.findMany({ take: 10 }) * * // Only select the `id` * const pbx_comWithIdOnly = await prisma.pbx_com.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a Pbx_com. * @param {pbx_comCreateArgs} args - Arguments to create a Pbx_com. * @example * // Create one Pbx_com * const Pbx_com = await prisma.pbx_com.create({ * data: { * // ... data to create a Pbx_com * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__pbx_comClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Pbx_coms. * @param {pbx_comCreateManyArgs} args - Arguments to create many Pbx_coms. * @example * // Create many Pbx_coms * const pbx_com = await prisma.pbx_com.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Delete a Pbx_com. * @param {pbx_comDeleteArgs} args - Arguments to delete one Pbx_com. * @example * // Delete one Pbx_com * const Pbx_com = await prisma.pbx_com.delete({ * where: { * // ... filter to delete one Pbx_com * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__pbx_comClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Pbx_com. * @param {pbx_comUpdateArgs} args - Arguments to update one Pbx_com. * @example * // Update one Pbx_com * const pbx_com = await prisma.pbx_com.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__pbx_comClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Pbx_coms. * @param {pbx_comDeleteManyArgs} args - Arguments to filter Pbx_coms to delete. * @example * // Delete a few Pbx_coms * const { count } = await prisma.pbx_com.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Pbx_coms. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {pbx_comUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Pbx_coms * const pbx_com = await prisma.pbx_com.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create or update one Pbx_com. * @param {pbx_comUpsertArgs} args - Arguments to update or create a Pbx_com. * @example * // Update or create a Pbx_com * const pbx_com = await prisma.pbx_com.upsert({ * create: { * // ... data to create a Pbx_com * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Pbx_com we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__pbx_comClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Pbx_coms. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {pbx_comCountArgs} args - Arguments to filter Pbx_coms to count. * @example * // Count the number of Pbx_coms * const count = await prisma.pbx_com.count({ * where: { * // ... the filter for the Pbx_coms 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 Pbx_com. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {Pbx_comAggregateArgs} 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 Pbx_com. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {pbx_comGroupByArgs} 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 pbx_comGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: pbx_comGroupByArgs['orderBy'] } : { orderBy?: pbx_comGroupByArgs['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 ? GetPbx_comGroupByPayload : Prisma.PrismaPromise /** * Fields of the pbx_com model */ readonly fields: pbx_comFieldRefs; } /** * The delegate class that acts as a "Promise-like" for pbx_com. * 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__pbx_comClient 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 pbx_com model */ export interface pbx_comFieldRefs { readonly id: Prisma.FieldRef<"pbx_com", 'Int'> readonly account_id: Prisma.FieldRef<"pbx_com", 'Int'> readonly delivery_id: Prisma.FieldRef<"pbx_com", 'Int'> readonly service_id: Prisma.FieldRef<"pbx_com", 'Int'> readonly phone: Prisma.FieldRef<"pbx_com", 'String'> readonly name: Prisma.FieldRef<"pbx_com", 'String'> readonly failover: Prisma.FieldRef<"pbx_com", 'String'> readonly auth_method: Prisma.FieldRef<"pbx_com", 'String'> readonly password: Prisma.FieldRef<"pbx_com", 'String'> readonly ip: Prisma.FieldRef<"pbx_com", 'String'> readonly int_code: Prisma.FieldRef<"pbx_com", 'String'> readonly country_whitelist: Prisma.FieldRef<"pbx_com", 'String'> readonly language: Prisma.FieldRef<"pbx_com", 'String'> readonly call_911: Prisma.FieldRef<"pbx_com", 'String'> readonly max_calls: Prisma.FieldRef<"pbx_com", 'Int'> readonly user_context: Prisma.FieldRef<"pbx_com", 'String'> readonly date_origin: Prisma.FieldRef<"pbx_com", 'String'> readonly date_update: Prisma.FieldRef<"pbx_com", 'String'> readonly update_by: Prisma.FieldRef<"pbx_com", 'Int'> } // Custom InputTypes /** * pbx_com findUnique */ export type pbx_comFindUniqueArgs = { /** * Select specific fields to fetch from the pbx_com */ select?: Prisma.pbx_comSelect | null /** * Omit specific fields from the pbx_com */ omit?: Prisma.pbx_comOmit | null /** * Filter, which pbx_com to fetch. */ where: Prisma.pbx_comWhereUniqueInput } /** * pbx_com findUniqueOrThrow */ export type pbx_comFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the pbx_com */ select?: Prisma.pbx_comSelect | null /** * Omit specific fields from the pbx_com */ omit?: Prisma.pbx_comOmit | null /** * Filter, which pbx_com to fetch. */ where: Prisma.pbx_comWhereUniqueInput } /** * pbx_com findFirst */ export type pbx_comFindFirstArgs = { /** * Select specific fields to fetch from the pbx_com */ select?: Prisma.pbx_comSelect | null /** * Omit specific fields from the pbx_com */ omit?: Prisma.pbx_comOmit | null /** * Filter, which pbx_com to fetch. */ where?: Prisma.pbx_comWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of pbx_coms to fetch. */ orderBy?: Prisma.pbx_comOrderByWithRelationInput | Prisma.pbx_comOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for pbx_coms. */ cursor?: Prisma.pbx_comWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` pbx_coms 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` pbx_coms. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of pbx_coms. */ distinct?: Prisma.Pbx_comScalarFieldEnum | Prisma.Pbx_comScalarFieldEnum[] } /** * pbx_com findFirstOrThrow */ export type pbx_comFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the pbx_com */ select?: Prisma.pbx_comSelect | null /** * Omit specific fields from the pbx_com */ omit?: Prisma.pbx_comOmit | null /** * Filter, which pbx_com to fetch. */ where?: Prisma.pbx_comWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of pbx_coms to fetch. */ orderBy?: Prisma.pbx_comOrderByWithRelationInput | Prisma.pbx_comOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for pbx_coms. */ cursor?: Prisma.pbx_comWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` pbx_coms 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` pbx_coms. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of pbx_coms. */ distinct?: Prisma.Pbx_comScalarFieldEnum | Prisma.Pbx_comScalarFieldEnum[] } /** * pbx_com findMany */ export type pbx_comFindManyArgs = { /** * Select specific fields to fetch from the pbx_com */ select?: Prisma.pbx_comSelect | null /** * Omit specific fields from the pbx_com */ omit?: Prisma.pbx_comOmit | null /** * Filter, which pbx_coms to fetch. */ where?: Prisma.pbx_comWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of pbx_coms to fetch. */ orderBy?: Prisma.pbx_comOrderByWithRelationInput | Prisma.pbx_comOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing pbx_coms. */ cursor?: Prisma.pbx_comWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` pbx_coms 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` pbx_coms. */ skip?: number distinct?: Prisma.Pbx_comScalarFieldEnum | Prisma.Pbx_comScalarFieldEnum[] } /** * pbx_com create */ export type pbx_comCreateArgs = { /** * Select specific fields to fetch from the pbx_com */ select?: Prisma.pbx_comSelect | null /** * Omit specific fields from the pbx_com */ omit?: Prisma.pbx_comOmit | null /** * The data needed to create a pbx_com. */ data: Prisma.XOR } /** * pbx_com createMany */ export type pbx_comCreateManyArgs = { /** * The data used to create many pbx_coms. */ data: Prisma.pbx_comCreateManyInput | Prisma.pbx_comCreateManyInput[] skipDuplicates?: boolean } /** * pbx_com update */ export type pbx_comUpdateArgs = { /** * Select specific fields to fetch from the pbx_com */ select?: Prisma.pbx_comSelect | null /** * Omit specific fields from the pbx_com */ omit?: Prisma.pbx_comOmit | null /** * The data needed to update a pbx_com. */ data: Prisma.XOR /** * Choose, which pbx_com to update. */ where: Prisma.pbx_comWhereUniqueInput } /** * pbx_com updateMany */ export type pbx_comUpdateManyArgs = { /** * The data used to update pbx_coms. */ data: Prisma.XOR /** * Filter which pbx_coms to update */ where?: Prisma.pbx_comWhereInput /** * Limit how many pbx_coms to update. */ limit?: number } /** * pbx_com upsert */ export type pbx_comUpsertArgs = { /** * Select specific fields to fetch from the pbx_com */ select?: Prisma.pbx_comSelect | null /** * Omit specific fields from the pbx_com */ omit?: Prisma.pbx_comOmit | null /** * The filter to search for the pbx_com to update in case it exists. */ where: Prisma.pbx_comWhereUniqueInput /** * In case the pbx_com found by the `where` argument doesn't exist, create a new pbx_com with this data. */ create: Prisma.XOR /** * In case the pbx_com was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * pbx_com delete */ export type pbx_comDeleteArgs = { /** * Select specific fields to fetch from the pbx_com */ select?: Prisma.pbx_comSelect | null /** * Omit specific fields from the pbx_com */ omit?: Prisma.pbx_comOmit | null /** * Filter which pbx_com to delete. */ where: Prisma.pbx_comWhereUniqueInput } /** * pbx_com deleteMany */ export type pbx_comDeleteManyArgs = { /** * Filter which pbx_coms to delete */ where?: Prisma.pbx_comWhereInput /** * Limit how many pbx_coms to delete. */ limit?: number } /** * pbx_com without action */ export type pbx_comDefaultArgs = { /** * Select specific fields to fetch from the pbx_com */ select?: Prisma.pbx_comSelect | null /** * Omit specific fields from the pbx_com */ omit?: Prisma.pbx_comOmit | null }