/* !!! 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_template` 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_template * */ export type device_templateModel = runtime.Types.Result.DefaultSelection export type AggregateDevice_template = { _count: Device_templateCountAggregateOutputType | null _avg: Device_templateAvgAggregateOutputType | null _sum: Device_templateSumAggregateOutputType | null _min: Device_templateMinAggregateOutputType | null _max: Device_templateMaxAggregateOutputType | null } export type Device_templateAvgAggregateOutputType = { id: number | null } export type Device_templateSumAggregateOutputType = { id: number | null } export type Device_templateMinAggregateOutputType = { id: number | null nom: string | null } export type Device_templateMaxAggregateOutputType = { id: number | null nom: string | null } export type Device_templateCountAggregateOutputType = { id: number nom: number _all: number } export type Device_templateAvgAggregateInputType = { id?: true } export type Device_templateSumAggregateInputType = { id?: true } export type Device_templateMinAggregateInputType = { id?: true nom?: true } export type Device_templateMaxAggregateInputType = { id?: true nom?: true } export type Device_templateCountAggregateInputType = { id?: true nom?: true _all?: true } export type Device_templateAggregateArgs = { /** * Filter which device_template to aggregate. */ where?: Prisma.device_templateWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of device_templates to fetch. */ orderBy?: Prisma.device_templateOrderByWithRelationInput | Prisma.device_templateOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.device_templateWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` device_templates 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_templates. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned device_templates **/ _count?: true | Device_templateCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: Device_templateAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: Device_templateSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: Device_templateMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: Device_templateMaxAggregateInputType } export type GetDevice_templateAggregateType = { [P in keyof T & keyof AggregateDevice_template]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type device_templateGroupByArgs = { where?: Prisma.device_templateWhereInput orderBy?: Prisma.device_templateOrderByWithAggregationInput | Prisma.device_templateOrderByWithAggregationInput[] by: Prisma.Device_templateScalarFieldEnum[] | Prisma.Device_templateScalarFieldEnum having?: Prisma.device_templateScalarWhereWithAggregatesInput take?: number skip?: number _count?: Device_templateCountAggregateInputType | true _avg?: Device_templateAvgAggregateInputType _sum?: Device_templateSumAggregateInputType _min?: Device_templateMinAggregateInputType _max?: Device_templateMaxAggregateInputType } export type Device_templateGroupByOutputType = { id: number nom: string _count: Device_templateCountAggregateOutputType | null _avg: Device_templateAvgAggregateOutputType | null _sum: Device_templateSumAggregateOutputType | null _min: Device_templateMinAggregateOutputType | null _max: Device_templateMaxAggregateOutputType | null } type GetDevice_templateGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof Device_templateGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type device_templateWhereInput = { AND?: Prisma.device_templateWhereInput | Prisma.device_templateWhereInput[] OR?: Prisma.device_templateWhereInput[] NOT?: Prisma.device_templateWhereInput | Prisma.device_templateWhereInput[] id?: Prisma.IntFilter<"device_template"> | number nom?: Prisma.StringFilter<"device_template"> | string } export type device_templateOrderByWithRelationInput = { id?: Prisma.SortOrder nom?: Prisma.SortOrder _relevance?: Prisma.device_templateOrderByRelevanceInput } export type device_templateWhereUniqueInput = Prisma.AtLeast<{ id?: number AND?: Prisma.device_templateWhereInput | Prisma.device_templateWhereInput[] OR?: Prisma.device_templateWhereInput[] NOT?: Prisma.device_templateWhereInput | Prisma.device_templateWhereInput[] nom?: Prisma.StringFilter<"device_template"> | string }, "id"> export type device_templateOrderByWithAggregationInput = { id?: Prisma.SortOrder nom?: Prisma.SortOrder _count?: Prisma.device_templateCountOrderByAggregateInput _avg?: Prisma.device_templateAvgOrderByAggregateInput _max?: Prisma.device_templateMaxOrderByAggregateInput _min?: Prisma.device_templateMinOrderByAggregateInput _sum?: Prisma.device_templateSumOrderByAggregateInput } export type device_templateScalarWhereWithAggregatesInput = { AND?: Prisma.device_templateScalarWhereWithAggregatesInput | Prisma.device_templateScalarWhereWithAggregatesInput[] OR?: Prisma.device_templateScalarWhereWithAggregatesInput[] NOT?: Prisma.device_templateScalarWhereWithAggregatesInput | Prisma.device_templateScalarWhereWithAggregatesInput[] id?: Prisma.IntWithAggregatesFilter<"device_template"> | number nom?: Prisma.StringWithAggregatesFilter<"device_template"> | string } export type device_templateCreateInput = { nom: string } export type device_templateUncheckedCreateInput = { id?: number nom: string } export type device_templateUpdateInput = { nom?: Prisma.StringFieldUpdateOperationsInput | string } export type device_templateUncheckedUpdateInput = { id?: Prisma.IntFieldUpdateOperationsInput | number nom?: Prisma.StringFieldUpdateOperationsInput | string } export type device_templateCreateManyInput = { id?: number nom: string } export type device_templateUpdateManyMutationInput = { nom?: Prisma.StringFieldUpdateOperationsInput | string } export type device_templateUncheckedUpdateManyInput = { id?: Prisma.IntFieldUpdateOperationsInput | number nom?: Prisma.StringFieldUpdateOperationsInput | string } export type device_templateOrderByRelevanceInput = { fields: Prisma.device_templateOrderByRelevanceFieldEnum | Prisma.device_templateOrderByRelevanceFieldEnum[] sort: Prisma.SortOrder search: string } export type device_templateCountOrderByAggregateInput = { id?: Prisma.SortOrder nom?: Prisma.SortOrder } export type device_templateAvgOrderByAggregateInput = { id?: Prisma.SortOrder } export type device_templateMaxOrderByAggregateInput = { id?: Prisma.SortOrder nom?: Prisma.SortOrder } export type device_templateMinOrderByAggregateInput = { id?: Prisma.SortOrder nom?: Prisma.SortOrder } export type device_templateSumOrderByAggregateInput = { id?: Prisma.SortOrder } export type device_templateSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean nom?: boolean }, ExtArgs["result"]["device_template"]> export type device_templateSelectScalar = { id?: boolean nom?: boolean } export type device_templateOmit = runtime.Types.Extensions.GetOmit<"id" | "nom", ExtArgs["result"]["device_template"]> export type $device_templatePayload = { name: "device_template" objects: {} scalars: runtime.Types.Extensions.GetPayloadResult<{ id: number nom: string }, ExtArgs["result"]["device_template"]> composites: {} } export type device_templateGetPayload = runtime.Types.Result.GetResult export type device_templateCountArgs = Omit & { select?: Device_templateCountAggregateInputType | true } export interface device_templateDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['device_template'], meta: { name: 'device_template' } } /** * Find zero or one Device_template that matches the filter. * @param {device_templateFindUniqueArgs} args - Arguments to find a Device_template * @example * // Get one Device_template * const device_template = await prisma.device_template.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__device_templateClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Device_template that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {device_templateFindUniqueOrThrowArgs} args - Arguments to find a Device_template * @example * // Get one Device_template * const device_template = await prisma.device_template.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__device_templateClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Device_template 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_templateFindFirstArgs} args - Arguments to find a Device_template * @example * // Get one Device_template * const device_template = await prisma.device_template.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__device_templateClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Device_template 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_templateFindFirstOrThrowArgs} args - Arguments to find a Device_template * @example * // Get one Device_template * const device_template = await prisma.device_template.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__device_templateClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Device_templates 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_templateFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Device_templates * const device_templates = await prisma.device_template.findMany() * * // Get first 10 Device_templates * const device_templates = await prisma.device_template.findMany({ take: 10 }) * * // Only select the `id` * const device_templateWithIdOnly = await prisma.device_template.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a Device_template. * @param {device_templateCreateArgs} args - Arguments to create a Device_template. * @example * // Create one Device_template * const Device_template = await prisma.device_template.create({ * data: { * // ... data to create a Device_template * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__device_templateClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Device_templates. * @param {device_templateCreateManyArgs} args - Arguments to create many Device_templates. * @example * // Create many Device_templates * const device_template = await prisma.device_template.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Delete a Device_template. * @param {device_templateDeleteArgs} args - Arguments to delete one Device_template. * @example * // Delete one Device_template * const Device_template = await prisma.device_template.delete({ * where: { * // ... filter to delete one Device_template * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__device_templateClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Device_template. * @param {device_templateUpdateArgs} args - Arguments to update one Device_template. * @example * // Update one Device_template * const device_template = await prisma.device_template.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__device_templateClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Device_templates. * @param {device_templateDeleteManyArgs} args - Arguments to filter Device_templates to delete. * @example * // Delete a few Device_templates * const { count } = await prisma.device_template.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Device_templates. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {device_templateUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Device_templates * const device_template = await prisma.device_template.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create or update one Device_template. * @param {device_templateUpsertArgs} args - Arguments to update or create a Device_template. * @example * // Update or create a Device_template * const device_template = await prisma.device_template.upsert({ * create: { * // ... data to create a Device_template * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Device_template we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__device_templateClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Device_templates. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {device_templateCountArgs} args - Arguments to filter Device_templates to count. * @example * // Count the number of Device_templates * const count = await prisma.device_template.count({ * where: { * // ... the filter for the Device_templates 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_template. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {Device_templateAggregateArgs} 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_template. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {device_templateGroupByArgs} 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_templateGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: device_templateGroupByArgs['orderBy'] } : { orderBy?: device_templateGroupByArgs['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_templateGroupByPayload : Prisma.PrismaPromise /** * Fields of the device_template model */ readonly fields: device_templateFieldRefs; } /** * The delegate class that acts as a "Promise-like" for device_template. * 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_templateClient 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_template model */ export interface device_templateFieldRefs { readonly id: Prisma.FieldRef<"device_template", 'Int'> readonly nom: Prisma.FieldRef<"device_template", 'String'> } // Custom InputTypes /** * device_template findUnique */ export type device_templateFindUniqueArgs = { /** * Select specific fields to fetch from the device_template */ select?: Prisma.device_templateSelect | null /** * Omit specific fields from the device_template */ omit?: Prisma.device_templateOmit | null /** * Filter, which device_template to fetch. */ where: Prisma.device_templateWhereUniqueInput } /** * device_template findUniqueOrThrow */ export type device_templateFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the device_template */ select?: Prisma.device_templateSelect | null /** * Omit specific fields from the device_template */ omit?: Prisma.device_templateOmit | null /** * Filter, which device_template to fetch. */ where: Prisma.device_templateWhereUniqueInput } /** * device_template findFirst */ export type device_templateFindFirstArgs = { /** * Select specific fields to fetch from the device_template */ select?: Prisma.device_templateSelect | null /** * Omit specific fields from the device_template */ omit?: Prisma.device_templateOmit | null /** * Filter, which device_template to fetch. */ where?: Prisma.device_templateWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of device_templates to fetch. */ orderBy?: Prisma.device_templateOrderByWithRelationInput | Prisma.device_templateOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for device_templates. */ cursor?: Prisma.device_templateWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` device_templates 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_templates. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of device_templates. */ distinct?: Prisma.Device_templateScalarFieldEnum | Prisma.Device_templateScalarFieldEnum[] } /** * device_template findFirstOrThrow */ export type device_templateFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the device_template */ select?: Prisma.device_templateSelect | null /** * Omit specific fields from the device_template */ omit?: Prisma.device_templateOmit | null /** * Filter, which device_template to fetch. */ where?: Prisma.device_templateWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of device_templates to fetch. */ orderBy?: Prisma.device_templateOrderByWithRelationInput | Prisma.device_templateOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for device_templates. */ cursor?: Prisma.device_templateWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` device_templates 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_templates. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of device_templates. */ distinct?: Prisma.Device_templateScalarFieldEnum | Prisma.Device_templateScalarFieldEnum[] } /** * device_template findMany */ export type device_templateFindManyArgs = { /** * Select specific fields to fetch from the device_template */ select?: Prisma.device_templateSelect | null /** * Omit specific fields from the device_template */ omit?: Prisma.device_templateOmit | null /** * Filter, which device_templates to fetch. */ where?: Prisma.device_templateWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of device_templates to fetch. */ orderBy?: Prisma.device_templateOrderByWithRelationInput | Prisma.device_templateOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing device_templates. */ cursor?: Prisma.device_templateWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` device_templates 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_templates. */ skip?: number distinct?: Prisma.Device_templateScalarFieldEnum | Prisma.Device_templateScalarFieldEnum[] } /** * device_template create */ export type device_templateCreateArgs = { /** * Select specific fields to fetch from the device_template */ select?: Prisma.device_templateSelect | null /** * Omit specific fields from the device_template */ omit?: Prisma.device_templateOmit | null /** * The data needed to create a device_template. */ data: Prisma.XOR } /** * device_template createMany */ export type device_templateCreateManyArgs = { /** * The data used to create many device_templates. */ data: Prisma.device_templateCreateManyInput | Prisma.device_templateCreateManyInput[] skipDuplicates?: boolean } /** * device_template update */ export type device_templateUpdateArgs = { /** * Select specific fields to fetch from the device_template */ select?: Prisma.device_templateSelect | null /** * Omit specific fields from the device_template */ omit?: Prisma.device_templateOmit | null /** * The data needed to update a device_template. */ data: Prisma.XOR /** * Choose, which device_template to update. */ where: Prisma.device_templateWhereUniqueInput } /** * device_template updateMany */ export type device_templateUpdateManyArgs = { /** * The data used to update device_templates. */ data: Prisma.XOR /** * Filter which device_templates to update */ where?: Prisma.device_templateWhereInput /** * Limit how many device_templates to update. */ limit?: number } /** * device_template upsert */ export type device_templateUpsertArgs = { /** * Select specific fields to fetch from the device_template */ select?: Prisma.device_templateSelect | null /** * Omit specific fields from the device_template */ omit?: Prisma.device_templateOmit | null /** * The filter to search for the device_template to update in case it exists. */ where: Prisma.device_templateWhereUniqueInput /** * In case the device_template found by the `where` argument doesn't exist, create a new device_template with this data. */ create: Prisma.XOR /** * In case the device_template was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * device_template delete */ export type device_templateDeleteArgs = { /** * Select specific fields to fetch from the device_template */ select?: Prisma.device_templateSelect | null /** * Omit specific fields from the device_template */ omit?: Prisma.device_templateOmit | null /** * Filter which device_template to delete. */ where: Prisma.device_templateWhereUniqueInput } /** * device_template deleteMany */ export type device_templateDeleteManyArgs = { /** * Filter which device_templates to delete */ where?: Prisma.device_templateWhereInput /** * Limit how many device_templates to delete. */ limit?: number } /** * device_template without action */ export type device_templateDefaultArgs = { /** * Select specific fields to fetch from the device_template */ select?: Prisma.device_templateSelect | null /** * Omit specific fields from the device_template */ omit?: Prisma.device_templateOmit | null }