/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `fibre_service_port` 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 fibre_service_port * */ export type fibre_service_portModel = runtime.Types.Result.DefaultSelection export type AggregateFibre_service_port = { _count: Fibre_service_portCountAggregateOutputType | null _avg: Fibre_service_portAvgAggregateOutputType | null _sum: Fibre_service_portSumAggregateOutputType | null _min: Fibre_service_portMinAggregateOutputType | null _max: Fibre_service_portMaxAggregateOutputType | null } export type Fibre_service_portAvgAggregateOutputType = { id: number | null last_service_id: number | null } export type Fibre_service_portSumAggregateOutputType = { id: number | null last_service_id: number | null } export type Fibre_service_portMinAggregateOutputType = { id: number | null last_service_id: number | null } export type Fibre_service_portMaxAggregateOutputType = { id: number | null last_service_id: number | null } export type Fibre_service_portCountAggregateOutputType = { id: number last_service_id: number _all: number } export type Fibre_service_portAvgAggregateInputType = { id?: true last_service_id?: true } export type Fibre_service_portSumAggregateInputType = { id?: true last_service_id?: true } export type Fibre_service_portMinAggregateInputType = { id?: true last_service_id?: true } export type Fibre_service_portMaxAggregateInputType = { id?: true last_service_id?: true } export type Fibre_service_portCountAggregateInputType = { id?: true last_service_id?: true _all?: true } export type Fibre_service_portAggregateArgs = { /** * Filter which fibre_service_port to aggregate. */ where?: Prisma.fibre_service_portWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of fibre_service_ports to fetch. */ orderBy?: Prisma.fibre_service_portOrderByWithRelationInput | Prisma.fibre_service_portOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.fibre_service_portWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` fibre_service_ports 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` fibre_service_ports. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned fibre_service_ports **/ _count?: true | Fibre_service_portCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: Fibre_service_portAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: Fibre_service_portSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: Fibre_service_portMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: Fibre_service_portMaxAggregateInputType } export type GetFibre_service_portAggregateType = { [P in keyof T & keyof AggregateFibre_service_port]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type fibre_service_portGroupByArgs = { where?: Prisma.fibre_service_portWhereInput orderBy?: Prisma.fibre_service_portOrderByWithAggregationInput | Prisma.fibre_service_portOrderByWithAggregationInput[] by: Prisma.Fibre_service_portScalarFieldEnum[] | Prisma.Fibre_service_portScalarFieldEnum having?: Prisma.fibre_service_portScalarWhereWithAggregatesInput take?: number skip?: number _count?: Fibre_service_portCountAggregateInputType | true _avg?: Fibre_service_portAvgAggregateInputType _sum?: Fibre_service_portSumAggregateInputType _min?: Fibre_service_portMinAggregateInputType _max?: Fibre_service_portMaxAggregateInputType } export type Fibre_service_portGroupByOutputType = { id: number last_service_id: number _count: Fibre_service_portCountAggregateOutputType | null _avg: Fibre_service_portAvgAggregateOutputType | null _sum: Fibre_service_portSumAggregateOutputType | null _min: Fibre_service_portMinAggregateOutputType | null _max: Fibre_service_portMaxAggregateOutputType | null } type GetFibre_service_portGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof Fibre_service_portGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type fibre_service_portWhereInput = { AND?: Prisma.fibre_service_portWhereInput | Prisma.fibre_service_portWhereInput[] OR?: Prisma.fibre_service_portWhereInput[] NOT?: Prisma.fibre_service_portWhereInput | Prisma.fibre_service_portWhereInput[] id?: Prisma.IntFilter<"fibre_service_port"> | number last_service_id?: Prisma.IntFilter<"fibre_service_port"> | number } export type fibre_service_portOrderByWithRelationInput = { id?: Prisma.SortOrder last_service_id?: Prisma.SortOrder } export type fibre_service_portWhereUniqueInput = Prisma.AtLeast<{ id?: number AND?: Prisma.fibre_service_portWhereInput | Prisma.fibre_service_portWhereInput[] OR?: Prisma.fibre_service_portWhereInput[] NOT?: Prisma.fibre_service_portWhereInput | Prisma.fibre_service_portWhereInput[] last_service_id?: Prisma.IntFilter<"fibre_service_port"> | number }, "id"> export type fibre_service_portOrderByWithAggregationInput = { id?: Prisma.SortOrder last_service_id?: Prisma.SortOrder _count?: Prisma.fibre_service_portCountOrderByAggregateInput _avg?: Prisma.fibre_service_portAvgOrderByAggregateInput _max?: Prisma.fibre_service_portMaxOrderByAggregateInput _min?: Prisma.fibre_service_portMinOrderByAggregateInput _sum?: Prisma.fibre_service_portSumOrderByAggregateInput } export type fibre_service_portScalarWhereWithAggregatesInput = { AND?: Prisma.fibre_service_portScalarWhereWithAggregatesInput | Prisma.fibre_service_portScalarWhereWithAggregatesInput[] OR?: Prisma.fibre_service_portScalarWhereWithAggregatesInput[] NOT?: Prisma.fibre_service_portScalarWhereWithAggregatesInput | Prisma.fibre_service_portScalarWhereWithAggregatesInput[] id?: Prisma.IntWithAggregatesFilter<"fibre_service_port"> | number last_service_id?: Prisma.IntWithAggregatesFilter<"fibre_service_port"> | number } export type fibre_service_portCreateInput = { last_service_id: number } export type fibre_service_portUncheckedCreateInput = { id?: number last_service_id: number } export type fibre_service_portUpdateInput = { last_service_id?: Prisma.IntFieldUpdateOperationsInput | number } export type fibre_service_portUncheckedUpdateInput = { id?: Prisma.IntFieldUpdateOperationsInput | number last_service_id?: Prisma.IntFieldUpdateOperationsInput | number } export type fibre_service_portCreateManyInput = { id?: number last_service_id: number } export type fibre_service_portUpdateManyMutationInput = { last_service_id?: Prisma.IntFieldUpdateOperationsInput | number } export type fibre_service_portUncheckedUpdateManyInput = { id?: Prisma.IntFieldUpdateOperationsInput | number last_service_id?: Prisma.IntFieldUpdateOperationsInput | number } export type fibre_service_portCountOrderByAggregateInput = { id?: Prisma.SortOrder last_service_id?: Prisma.SortOrder } export type fibre_service_portAvgOrderByAggregateInput = { id?: Prisma.SortOrder last_service_id?: Prisma.SortOrder } export type fibre_service_portMaxOrderByAggregateInput = { id?: Prisma.SortOrder last_service_id?: Prisma.SortOrder } export type fibre_service_portMinOrderByAggregateInput = { id?: Prisma.SortOrder last_service_id?: Prisma.SortOrder } export type fibre_service_portSumOrderByAggregateInput = { id?: Prisma.SortOrder last_service_id?: Prisma.SortOrder } export type fibre_service_portSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean last_service_id?: boolean }, ExtArgs["result"]["fibre_service_port"]> export type fibre_service_portSelectScalar = { id?: boolean last_service_id?: boolean } export type fibre_service_portOmit = runtime.Types.Extensions.GetOmit<"id" | "last_service_id", ExtArgs["result"]["fibre_service_port"]> export type $fibre_service_portPayload = { name: "fibre_service_port" objects: {} scalars: runtime.Types.Extensions.GetPayloadResult<{ id: number last_service_id: number }, ExtArgs["result"]["fibre_service_port"]> composites: {} } export type fibre_service_portGetPayload = runtime.Types.Result.GetResult export type fibre_service_portCountArgs = Omit & { select?: Fibre_service_portCountAggregateInputType | true } export interface fibre_service_portDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['fibre_service_port'], meta: { name: 'fibre_service_port' } } /** * Find zero or one Fibre_service_port that matches the filter. * @param {fibre_service_portFindUniqueArgs} args - Arguments to find a Fibre_service_port * @example * // Get one Fibre_service_port * const fibre_service_port = await prisma.fibre_service_port.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__fibre_service_portClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Fibre_service_port that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {fibre_service_portFindUniqueOrThrowArgs} args - Arguments to find a Fibre_service_port * @example * // Get one Fibre_service_port * const fibre_service_port = await prisma.fibre_service_port.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__fibre_service_portClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Fibre_service_port 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 {fibre_service_portFindFirstArgs} args - Arguments to find a Fibre_service_port * @example * // Get one Fibre_service_port * const fibre_service_port = await prisma.fibre_service_port.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__fibre_service_portClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Fibre_service_port 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 {fibre_service_portFindFirstOrThrowArgs} args - Arguments to find a Fibre_service_port * @example * // Get one Fibre_service_port * const fibre_service_port = await prisma.fibre_service_port.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__fibre_service_portClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Fibre_service_ports 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 {fibre_service_portFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Fibre_service_ports * const fibre_service_ports = await prisma.fibre_service_port.findMany() * * // Get first 10 Fibre_service_ports * const fibre_service_ports = await prisma.fibre_service_port.findMany({ take: 10 }) * * // Only select the `id` * const fibre_service_portWithIdOnly = await prisma.fibre_service_port.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a Fibre_service_port. * @param {fibre_service_portCreateArgs} args - Arguments to create a Fibre_service_port. * @example * // Create one Fibre_service_port * const Fibre_service_port = await prisma.fibre_service_port.create({ * data: { * // ... data to create a Fibre_service_port * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__fibre_service_portClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Fibre_service_ports. * @param {fibre_service_portCreateManyArgs} args - Arguments to create many Fibre_service_ports. * @example * // Create many Fibre_service_ports * const fibre_service_port = await prisma.fibre_service_port.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Delete a Fibre_service_port. * @param {fibre_service_portDeleteArgs} args - Arguments to delete one Fibre_service_port. * @example * // Delete one Fibre_service_port * const Fibre_service_port = await prisma.fibre_service_port.delete({ * where: { * // ... filter to delete one Fibre_service_port * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__fibre_service_portClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Fibre_service_port. * @param {fibre_service_portUpdateArgs} args - Arguments to update one Fibre_service_port. * @example * // Update one Fibre_service_port * const fibre_service_port = await prisma.fibre_service_port.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__fibre_service_portClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Fibre_service_ports. * @param {fibre_service_portDeleteManyArgs} args - Arguments to filter Fibre_service_ports to delete. * @example * // Delete a few Fibre_service_ports * const { count } = await prisma.fibre_service_port.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Fibre_service_ports. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {fibre_service_portUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Fibre_service_ports * const fibre_service_port = await prisma.fibre_service_port.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create or update one Fibre_service_port. * @param {fibre_service_portUpsertArgs} args - Arguments to update or create a Fibre_service_port. * @example * // Update or create a Fibre_service_port * const fibre_service_port = await prisma.fibre_service_port.upsert({ * create: { * // ... data to create a Fibre_service_port * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Fibre_service_port we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__fibre_service_portClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Fibre_service_ports. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {fibre_service_portCountArgs} args - Arguments to filter Fibre_service_ports to count. * @example * // Count the number of Fibre_service_ports * const count = await prisma.fibre_service_port.count({ * where: { * // ... the filter for the Fibre_service_ports 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 Fibre_service_port. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {Fibre_service_portAggregateArgs} 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 Fibre_service_port. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {fibre_service_portGroupByArgs} 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 fibre_service_portGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: fibre_service_portGroupByArgs['orderBy'] } : { orderBy?: fibre_service_portGroupByArgs['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 ? GetFibre_service_portGroupByPayload : Prisma.PrismaPromise /** * Fields of the fibre_service_port model */ readonly fields: fibre_service_portFieldRefs; } /** * The delegate class that acts as a "Promise-like" for fibre_service_port. * 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__fibre_service_portClient 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 fibre_service_port model */ export interface fibre_service_portFieldRefs { readonly id: Prisma.FieldRef<"fibre_service_port", 'Int'> readonly last_service_id: Prisma.FieldRef<"fibre_service_port", 'Int'> } // Custom InputTypes /** * fibre_service_port findUnique */ export type fibre_service_portFindUniqueArgs = { /** * Select specific fields to fetch from the fibre_service_port */ select?: Prisma.fibre_service_portSelect | null /** * Omit specific fields from the fibre_service_port */ omit?: Prisma.fibre_service_portOmit | null /** * Filter, which fibre_service_port to fetch. */ where: Prisma.fibre_service_portWhereUniqueInput } /** * fibre_service_port findUniqueOrThrow */ export type fibre_service_portFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the fibre_service_port */ select?: Prisma.fibre_service_portSelect | null /** * Omit specific fields from the fibre_service_port */ omit?: Prisma.fibre_service_portOmit | null /** * Filter, which fibre_service_port to fetch. */ where: Prisma.fibre_service_portWhereUniqueInput } /** * fibre_service_port findFirst */ export type fibre_service_portFindFirstArgs = { /** * Select specific fields to fetch from the fibre_service_port */ select?: Prisma.fibre_service_portSelect | null /** * Omit specific fields from the fibre_service_port */ omit?: Prisma.fibre_service_portOmit | null /** * Filter, which fibre_service_port to fetch. */ where?: Prisma.fibre_service_portWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of fibre_service_ports to fetch. */ orderBy?: Prisma.fibre_service_portOrderByWithRelationInput | Prisma.fibre_service_portOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for fibre_service_ports. */ cursor?: Prisma.fibre_service_portWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` fibre_service_ports 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` fibre_service_ports. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of fibre_service_ports. */ distinct?: Prisma.Fibre_service_portScalarFieldEnum | Prisma.Fibre_service_portScalarFieldEnum[] } /** * fibre_service_port findFirstOrThrow */ export type fibre_service_portFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the fibre_service_port */ select?: Prisma.fibre_service_portSelect | null /** * Omit specific fields from the fibre_service_port */ omit?: Prisma.fibre_service_portOmit | null /** * Filter, which fibre_service_port to fetch. */ where?: Prisma.fibre_service_portWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of fibre_service_ports to fetch. */ orderBy?: Prisma.fibre_service_portOrderByWithRelationInput | Prisma.fibre_service_portOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for fibre_service_ports. */ cursor?: Prisma.fibre_service_portWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` fibre_service_ports 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` fibre_service_ports. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of fibre_service_ports. */ distinct?: Prisma.Fibre_service_portScalarFieldEnum | Prisma.Fibre_service_portScalarFieldEnum[] } /** * fibre_service_port findMany */ export type fibre_service_portFindManyArgs = { /** * Select specific fields to fetch from the fibre_service_port */ select?: Prisma.fibre_service_portSelect | null /** * Omit specific fields from the fibre_service_port */ omit?: Prisma.fibre_service_portOmit | null /** * Filter, which fibre_service_ports to fetch. */ where?: Prisma.fibre_service_portWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of fibre_service_ports to fetch. */ orderBy?: Prisma.fibre_service_portOrderByWithRelationInput | Prisma.fibre_service_portOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing fibre_service_ports. */ cursor?: Prisma.fibre_service_portWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` fibre_service_ports 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` fibre_service_ports. */ skip?: number distinct?: Prisma.Fibre_service_portScalarFieldEnum | Prisma.Fibre_service_portScalarFieldEnum[] } /** * fibre_service_port create */ export type fibre_service_portCreateArgs = { /** * Select specific fields to fetch from the fibre_service_port */ select?: Prisma.fibre_service_portSelect | null /** * Omit specific fields from the fibre_service_port */ omit?: Prisma.fibre_service_portOmit | null /** * The data needed to create a fibre_service_port. */ data: Prisma.XOR } /** * fibre_service_port createMany */ export type fibre_service_portCreateManyArgs = { /** * The data used to create many fibre_service_ports. */ data: Prisma.fibre_service_portCreateManyInput | Prisma.fibre_service_portCreateManyInput[] skipDuplicates?: boolean } /** * fibre_service_port update */ export type fibre_service_portUpdateArgs = { /** * Select specific fields to fetch from the fibre_service_port */ select?: Prisma.fibre_service_portSelect | null /** * Omit specific fields from the fibre_service_port */ omit?: Prisma.fibre_service_portOmit | null /** * The data needed to update a fibre_service_port. */ data: Prisma.XOR /** * Choose, which fibre_service_port to update. */ where: Prisma.fibre_service_portWhereUniqueInput } /** * fibre_service_port updateMany */ export type fibre_service_portUpdateManyArgs = { /** * The data used to update fibre_service_ports. */ data: Prisma.XOR /** * Filter which fibre_service_ports to update */ where?: Prisma.fibre_service_portWhereInput /** * Limit how many fibre_service_ports to update. */ limit?: number } /** * fibre_service_port upsert */ export type fibre_service_portUpsertArgs = { /** * Select specific fields to fetch from the fibre_service_port */ select?: Prisma.fibre_service_portSelect | null /** * Omit specific fields from the fibre_service_port */ omit?: Prisma.fibre_service_portOmit | null /** * The filter to search for the fibre_service_port to update in case it exists. */ where: Prisma.fibre_service_portWhereUniqueInput /** * In case the fibre_service_port found by the `where` argument doesn't exist, create a new fibre_service_port with this data. */ create: Prisma.XOR /** * In case the fibre_service_port was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * fibre_service_port delete */ export type fibre_service_portDeleteArgs = { /** * Select specific fields to fetch from the fibre_service_port */ select?: Prisma.fibre_service_portSelect | null /** * Omit specific fields from the fibre_service_port */ omit?: Prisma.fibre_service_portOmit | null /** * Filter which fibre_service_port to delete. */ where: Prisma.fibre_service_portWhereUniqueInput } /** * fibre_service_port deleteMany */ export type fibre_service_portDeleteManyArgs = { /** * Filter which fibre_service_ports to delete */ where?: Prisma.fibre_service_portWhereInput /** * Limit how many fibre_service_ports to delete. */ limit?: number } /** * fibre_service_port without action */ export type fibre_service_portDefaultArgs = { /** * Select specific fields to fetch from the fibre_service_port */ select?: Prisma.fibre_service_portSelect | null /** * Omit specific fields from the fibre_service_port */ omit?: Prisma.fibre_service_portOmit | null }