/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `device_link` 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 device_link * */ export type device_linkModel = runtime.Types.Result.DefaultSelection export type AggregateDevice_link = { _count: Device_linkCountAggregateOutputType | null _avg: Device_linkAvgAggregateOutputType | null _sum: Device_linkSumAggregateOutputType | null _min: Device_linkMinAggregateOutputType | null _max: Device_linkMaxAggregateOutputType | null } export type Device_linkAvgAggregateOutputType = { id: number | null parent: number | null child: number | null } export type Device_linkSumAggregateOutputType = { id: number | null parent: number | null child: number | null } export type Device_linkMinAggregateOutputType = { id: number | null parent: number | null child: number | null } export type Device_linkMaxAggregateOutputType = { id: number | null parent: number | null child: number | null } export type Device_linkCountAggregateOutputType = { id: number parent: number child: number _all: number } export type Device_linkAvgAggregateInputType = { id?: true parent?: true child?: true } export type Device_linkSumAggregateInputType = { id?: true parent?: true child?: true } export type Device_linkMinAggregateInputType = { id?: true parent?: true child?: true } export type Device_linkMaxAggregateInputType = { id?: true parent?: true child?: true } export type Device_linkCountAggregateInputType = { id?: true parent?: true child?: true _all?: true } export type Device_linkAggregateArgs = { /** * Filter which device_link to aggregate. */ where?: Prisma.device_linkWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of device_links to fetch. */ orderBy?: Prisma.device_linkOrderByWithRelationInput | Prisma.device_linkOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.device_linkWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` device_links 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` device_links. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned device_links **/ _count?: true | Device_linkCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: Device_linkAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: Device_linkSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: Device_linkMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: Device_linkMaxAggregateInputType } export type GetDevice_linkAggregateType = { [P in keyof T & keyof AggregateDevice_link]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type device_linkGroupByArgs = { where?: Prisma.device_linkWhereInput orderBy?: Prisma.device_linkOrderByWithAggregationInput | Prisma.device_linkOrderByWithAggregationInput[] by: Prisma.Device_linkScalarFieldEnum[] | Prisma.Device_linkScalarFieldEnum having?: Prisma.device_linkScalarWhereWithAggregatesInput take?: number skip?: number _count?: Device_linkCountAggregateInputType | true _avg?: Device_linkAvgAggregateInputType _sum?: Device_linkSumAggregateInputType _min?: Device_linkMinAggregateInputType _max?: Device_linkMaxAggregateInputType } export type Device_linkGroupByOutputType = { id: number parent: number child: number _count: Device_linkCountAggregateOutputType | null _avg: Device_linkAvgAggregateOutputType | null _sum: Device_linkSumAggregateOutputType | null _min: Device_linkMinAggregateOutputType | null _max: Device_linkMaxAggregateOutputType | null } type GetDevice_linkGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof Device_linkGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type device_linkWhereInput = { AND?: Prisma.device_linkWhereInput | Prisma.device_linkWhereInput[] OR?: Prisma.device_linkWhereInput[] NOT?: Prisma.device_linkWhereInput | Prisma.device_linkWhereInput[] id?: Prisma.IntFilter<"device_link"> | number parent?: Prisma.IntFilter<"device_link"> | number child?: Prisma.IntFilter<"device_link"> | number } export type device_linkOrderByWithRelationInput = { id?: Prisma.SortOrder parent?: Prisma.SortOrder child?: Prisma.SortOrder } export type device_linkWhereUniqueInput = Prisma.AtLeast<{ id?: number AND?: Prisma.device_linkWhereInput | Prisma.device_linkWhereInput[] OR?: Prisma.device_linkWhereInput[] NOT?: Prisma.device_linkWhereInput | Prisma.device_linkWhereInput[] parent?: Prisma.IntFilter<"device_link"> | number child?: Prisma.IntFilter<"device_link"> | number }, "id"> export type device_linkOrderByWithAggregationInput = { id?: Prisma.SortOrder parent?: Prisma.SortOrder child?: Prisma.SortOrder _count?: Prisma.device_linkCountOrderByAggregateInput _avg?: Prisma.device_linkAvgOrderByAggregateInput _max?: Prisma.device_linkMaxOrderByAggregateInput _min?: Prisma.device_linkMinOrderByAggregateInput _sum?: Prisma.device_linkSumOrderByAggregateInput } export type device_linkScalarWhereWithAggregatesInput = { AND?: Prisma.device_linkScalarWhereWithAggregatesInput | Prisma.device_linkScalarWhereWithAggregatesInput[] OR?: Prisma.device_linkScalarWhereWithAggregatesInput[] NOT?: Prisma.device_linkScalarWhereWithAggregatesInput | Prisma.device_linkScalarWhereWithAggregatesInput[] id?: Prisma.IntWithAggregatesFilter<"device_link"> | number parent?: Prisma.IntWithAggregatesFilter<"device_link"> | number child?: Prisma.IntWithAggregatesFilter<"device_link"> | number } export type device_linkCreateInput = { parent: number child: number } export type device_linkUncheckedCreateInput = { id?: number parent: number child: number } export type device_linkUpdateInput = { parent?: Prisma.IntFieldUpdateOperationsInput | number child?: Prisma.IntFieldUpdateOperationsInput | number } export type device_linkUncheckedUpdateInput = { id?: Prisma.IntFieldUpdateOperationsInput | number parent?: Prisma.IntFieldUpdateOperationsInput | number child?: Prisma.IntFieldUpdateOperationsInput | number } export type device_linkCreateManyInput = { id?: number parent: number child: number } export type device_linkUpdateManyMutationInput = { parent?: Prisma.IntFieldUpdateOperationsInput | number child?: Prisma.IntFieldUpdateOperationsInput | number } export type device_linkUncheckedUpdateManyInput = { id?: Prisma.IntFieldUpdateOperationsInput | number parent?: Prisma.IntFieldUpdateOperationsInput | number child?: Prisma.IntFieldUpdateOperationsInput | number } export type device_linkCountOrderByAggregateInput = { id?: Prisma.SortOrder parent?: Prisma.SortOrder child?: Prisma.SortOrder } export type device_linkAvgOrderByAggregateInput = { id?: Prisma.SortOrder parent?: Prisma.SortOrder child?: Prisma.SortOrder } export type device_linkMaxOrderByAggregateInput = { id?: Prisma.SortOrder parent?: Prisma.SortOrder child?: Prisma.SortOrder } export type device_linkMinOrderByAggregateInput = { id?: Prisma.SortOrder parent?: Prisma.SortOrder child?: Prisma.SortOrder } export type device_linkSumOrderByAggregateInput = { id?: Prisma.SortOrder parent?: Prisma.SortOrder child?: Prisma.SortOrder } export type device_linkSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean parent?: boolean child?: boolean }, ExtArgs["result"]["device_link"]> export type device_linkSelectScalar = { id?: boolean parent?: boolean child?: boolean } export type device_linkOmit = runtime.Types.Extensions.GetOmit<"id" | "parent" | "child", ExtArgs["result"]["device_link"]> export type $device_linkPayload = { name: "device_link" objects: {} scalars: runtime.Types.Extensions.GetPayloadResult<{ id: number parent: number child: number }, ExtArgs["result"]["device_link"]> composites: {} } export type device_linkGetPayload = runtime.Types.Result.GetResult export type device_linkCountArgs = Omit & { select?: Device_linkCountAggregateInputType | true } export interface device_linkDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['device_link'], meta: { name: 'device_link' } } /** * Find zero or one Device_link that matches the filter. * @param {device_linkFindUniqueArgs} args - Arguments to find a Device_link * @example * // Get one Device_link * const device_link = await prisma.device_link.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__device_linkClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Device_link that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {device_linkFindUniqueOrThrowArgs} args - Arguments to find a Device_link * @example * // Get one Device_link * const device_link = await prisma.device_link.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__device_linkClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Device_link 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 {device_linkFindFirstArgs} args - Arguments to find a Device_link * @example * // Get one Device_link * const device_link = await prisma.device_link.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__device_linkClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Device_link 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 {device_linkFindFirstOrThrowArgs} args - Arguments to find a Device_link * @example * // Get one Device_link * const device_link = await prisma.device_link.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__device_linkClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Device_links 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 {device_linkFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Device_links * const device_links = await prisma.device_link.findMany() * * // Get first 10 Device_links * const device_links = await prisma.device_link.findMany({ take: 10 }) * * // Only select the `id` * const device_linkWithIdOnly = await prisma.device_link.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a Device_link. * @param {device_linkCreateArgs} args - Arguments to create a Device_link. * @example * // Create one Device_link * const Device_link = await prisma.device_link.create({ * data: { * // ... data to create a Device_link * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__device_linkClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Device_links. * @param {device_linkCreateManyArgs} args - Arguments to create many Device_links. * @example * // Create many Device_links * const device_link = await prisma.device_link.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Delete a Device_link. * @param {device_linkDeleteArgs} args - Arguments to delete one Device_link. * @example * // Delete one Device_link * const Device_link = await prisma.device_link.delete({ * where: { * // ... filter to delete one Device_link * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__device_linkClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Device_link. * @param {device_linkUpdateArgs} args - Arguments to update one Device_link. * @example * // Update one Device_link * const device_link = await prisma.device_link.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__device_linkClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Device_links. * @param {device_linkDeleteManyArgs} args - Arguments to filter Device_links to delete. * @example * // Delete a few Device_links * const { count } = await prisma.device_link.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Device_links. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {device_linkUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Device_links * const device_link = await prisma.device_link.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create or update one Device_link. * @param {device_linkUpsertArgs} args - Arguments to update or create a Device_link. * @example * // Update or create a Device_link * const device_link = await prisma.device_link.upsert({ * create: { * // ... data to create a Device_link * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Device_link we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__device_linkClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Device_links. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {device_linkCountArgs} args - Arguments to filter Device_links to count. * @example * // Count the number of Device_links * const count = await prisma.device_link.count({ * where: { * // ... the filter for the Device_links 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 Device_link. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {Device_linkAggregateArgs} 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 Device_link. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {device_linkGroupByArgs} 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 device_linkGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: device_linkGroupByArgs['orderBy'] } : { orderBy?: device_linkGroupByArgs['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 ? GetDevice_linkGroupByPayload : Prisma.PrismaPromise /** * Fields of the device_link model */ readonly fields: device_linkFieldRefs; } /** * The delegate class that acts as a "Promise-like" for device_link. * 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__device_linkClient 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 device_link model */ export interface device_linkFieldRefs { readonly id: Prisma.FieldRef<"device_link", 'Int'> readonly parent: Prisma.FieldRef<"device_link", 'Int'> readonly child: Prisma.FieldRef<"device_link", 'Int'> } // Custom InputTypes /** * device_link findUnique */ export type device_linkFindUniqueArgs = { /** * Select specific fields to fetch from the device_link */ select?: Prisma.device_linkSelect | null /** * Omit specific fields from the device_link */ omit?: Prisma.device_linkOmit | null /** * Filter, which device_link to fetch. */ where: Prisma.device_linkWhereUniqueInput } /** * device_link findUniqueOrThrow */ export type device_linkFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the device_link */ select?: Prisma.device_linkSelect | null /** * Omit specific fields from the device_link */ omit?: Prisma.device_linkOmit | null /** * Filter, which device_link to fetch. */ where: Prisma.device_linkWhereUniqueInput } /** * device_link findFirst */ export type device_linkFindFirstArgs = { /** * Select specific fields to fetch from the device_link */ select?: Prisma.device_linkSelect | null /** * Omit specific fields from the device_link */ omit?: Prisma.device_linkOmit | null /** * Filter, which device_link to fetch. */ where?: Prisma.device_linkWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of device_links to fetch. */ orderBy?: Prisma.device_linkOrderByWithRelationInput | Prisma.device_linkOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for device_links. */ cursor?: Prisma.device_linkWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` device_links 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` device_links. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of device_links. */ distinct?: Prisma.Device_linkScalarFieldEnum | Prisma.Device_linkScalarFieldEnum[] } /** * device_link findFirstOrThrow */ export type device_linkFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the device_link */ select?: Prisma.device_linkSelect | null /** * Omit specific fields from the device_link */ omit?: Prisma.device_linkOmit | null /** * Filter, which device_link to fetch. */ where?: Prisma.device_linkWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of device_links to fetch. */ orderBy?: Prisma.device_linkOrderByWithRelationInput | Prisma.device_linkOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for device_links. */ cursor?: Prisma.device_linkWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` device_links 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` device_links. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of device_links. */ distinct?: Prisma.Device_linkScalarFieldEnum | Prisma.Device_linkScalarFieldEnum[] } /** * device_link findMany */ export type device_linkFindManyArgs = { /** * Select specific fields to fetch from the device_link */ select?: Prisma.device_linkSelect | null /** * Omit specific fields from the device_link */ omit?: Prisma.device_linkOmit | null /** * Filter, which device_links to fetch. */ where?: Prisma.device_linkWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of device_links to fetch. */ orderBy?: Prisma.device_linkOrderByWithRelationInput | Prisma.device_linkOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing device_links. */ cursor?: Prisma.device_linkWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` device_links 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` device_links. */ skip?: number distinct?: Prisma.Device_linkScalarFieldEnum | Prisma.Device_linkScalarFieldEnum[] } /** * device_link create */ export type device_linkCreateArgs = { /** * Select specific fields to fetch from the device_link */ select?: Prisma.device_linkSelect | null /** * Omit specific fields from the device_link */ omit?: Prisma.device_linkOmit | null /** * The data needed to create a device_link. */ data: Prisma.XOR } /** * device_link createMany */ export type device_linkCreateManyArgs = { /** * The data used to create many device_links. */ data: Prisma.device_linkCreateManyInput | Prisma.device_linkCreateManyInput[] skipDuplicates?: boolean } /** * device_link update */ export type device_linkUpdateArgs = { /** * Select specific fields to fetch from the device_link */ select?: Prisma.device_linkSelect | null /** * Omit specific fields from the device_link */ omit?: Prisma.device_linkOmit | null /** * The data needed to update a device_link. */ data: Prisma.XOR /** * Choose, which device_link to update. */ where: Prisma.device_linkWhereUniqueInput } /** * device_link updateMany */ export type device_linkUpdateManyArgs = { /** * The data used to update device_links. */ data: Prisma.XOR /** * Filter which device_links to update */ where?: Prisma.device_linkWhereInput /** * Limit how many device_links to update. */ limit?: number } /** * device_link upsert */ export type device_linkUpsertArgs = { /** * Select specific fields to fetch from the device_link */ select?: Prisma.device_linkSelect | null /** * Omit specific fields from the device_link */ omit?: Prisma.device_linkOmit | null /** * The filter to search for the device_link to update in case it exists. */ where: Prisma.device_linkWhereUniqueInput /** * In case the device_link found by the `where` argument doesn't exist, create a new device_link with this data. */ create: Prisma.XOR /** * In case the device_link was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * device_link delete */ export type device_linkDeleteArgs = { /** * Select specific fields to fetch from the device_link */ select?: Prisma.device_linkSelect | null /** * Omit specific fields from the device_link */ omit?: Prisma.device_linkOmit | null /** * Filter which device_link to delete. */ where: Prisma.device_linkWhereUniqueInput } /** * device_link deleteMany */ export type device_linkDeleteManyArgs = { /** * Filter which device_links to delete */ where?: Prisma.device_linkWhereInput /** * Limit how many device_links to delete. */ limit?: number } /** * device_link without action */ export type device_linkDefaultArgs = { /** * Select specific fields to fetch from the device_link */ select?: Prisma.device_linkSelect | null /** * Omit specific fields from the device_link */ omit?: Prisma.device_linkOmit | null }