/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `tmp_vpn` 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 tmp_vpn * */ export type tmp_vpnModel = runtime.Types.Result.DefaultSelection export type AggregateTmp_vpn = { _count: Tmp_vpnCountAggregateOutputType | null _avg: Tmp_vpnAvgAggregateOutputType | null _sum: Tmp_vpnSumAggregateOutputType | null _min: Tmp_vpnMinAggregateOutputType | null _max: Tmp_vpnMaxAggregateOutputType | null } export type Tmp_vpnAvgAggregateOutputType = { id: number | null m: number | null } export type Tmp_vpnSumAggregateOutputType = { id: number | null m: number | null } export type Tmp_vpnMinAggregateOutputType = { id: number | null username: string | null password: string | null ad_done: boolean | null tacacs: boolean | null m: number | null } export type Tmp_vpnMaxAggregateOutputType = { id: number | null username: string | null password: string | null ad_done: boolean | null tacacs: boolean | null m: number | null } export type Tmp_vpnCountAggregateOutputType = { id: number username: number password: number ad_done: number tacacs: number m: number _all: number } export type Tmp_vpnAvgAggregateInputType = { id?: true m?: true } export type Tmp_vpnSumAggregateInputType = { id?: true m?: true } export type Tmp_vpnMinAggregateInputType = { id?: true username?: true password?: true ad_done?: true tacacs?: true m?: true } export type Tmp_vpnMaxAggregateInputType = { id?: true username?: true password?: true ad_done?: true tacacs?: true m?: true } export type Tmp_vpnCountAggregateInputType = { id?: true username?: true password?: true ad_done?: true tacacs?: true m?: true _all?: true } export type Tmp_vpnAggregateArgs = { /** * Filter which tmp_vpn to aggregate. */ where?: Prisma.tmp_vpnWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of tmp_vpns to fetch. */ orderBy?: Prisma.tmp_vpnOrderByWithRelationInput | Prisma.tmp_vpnOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.tmp_vpnWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` tmp_vpns 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` tmp_vpns. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned tmp_vpns **/ _count?: true | Tmp_vpnCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: Tmp_vpnAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: Tmp_vpnSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: Tmp_vpnMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: Tmp_vpnMaxAggregateInputType } export type GetTmp_vpnAggregateType = { [P in keyof T & keyof AggregateTmp_vpn]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type tmp_vpnGroupByArgs = { where?: Prisma.tmp_vpnWhereInput orderBy?: Prisma.tmp_vpnOrderByWithAggregationInput | Prisma.tmp_vpnOrderByWithAggregationInput[] by: Prisma.Tmp_vpnScalarFieldEnum[] | Prisma.Tmp_vpnScalarFieldEnum having?: Prisma.tmp_vpnScalarWhereWithAggregatesInput take?: number skip?: number _count?: Tmp_vpnCountAggregateInputType | true _avg?: Tmp_vpnAvgAggregateInputType _sum?: Tmp_vpnSumAggregateInputType _min?: Tmp_vpnMinAggregateInputType _max?: Tmp_vpnMaxAggregateInputType } export type Tmp_vpnGroupByOutputType = { id: number username: string password: string ad_done: boolean tacacs: boolean m: number _count: Tmp_vpnCountAggregateOutputType | null _avg: Tmp_vpnAvgAggregateOutputType | null _sum: Tmp_vpnSumAggregateOutputType | null _min: Tmp_vpnMinAggregateOutputType | null _max: Tmp_vpnMaxAggregateOutputType | null } type GetTmp_vpnGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof Tmp_vpnGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type tmp_vpnWhereInput = { AND?: Prisma.tmp_vpnWhereInput | Prisma.tmp_vpnWhereInput[] OR?: Prisma.tmp_vpnWhereInput[] NOT?: Prisma.tmp_vpnWhereInput | Prisma.tmp_vpnWhereInput[] id?: Prisma.IntFilter<"tmp_vpn"> | number username?: Prisma.StringFilter<"tmp_vpn"> | string password?: Prisma.StringFilter<"tmp_vpn"> | string ad_done?: Prisma.BoolFilter<"tmp_vpn"> | boolean tacacs?: Prisma.BoolFilter<"tmp_vpn"> | boolean m?: Prisma.IntFilter<"tmp_vpn"> | number } export type tmp_vpnOrderByWithRelationInput = { id?: Prisma.SortOrder username?: Prisma.SortOrder password?: Prisma.SortOrder ad_done?: Prisma.SortOrder tacacs?: Prisma.SortOrder m?: Prisma.SortOrder _relevance?: Prisma.tmp_vpnOrderByRelevanceInput } export type tmp_vpnWhereUniqueInput = Prisma.AtLeast<{ id?: number AND?: Prisma.tmp_vpnWhereInput | Prisma.tmp_vpnWhereInput[] OR?: Prisma.tmp_vpnWhereInput[] NOT?: Prisma.tmp_vpnWhereInput | Prisma.tmp_vpnWhereInput[] username?: Prisma.StringFilter<"tmp_vpn"> | string password?: Prisma.StringFilter<"tmp_vpn"> | string ad_done?: Prisma.BoolFilter<"tmp_vpn"> | boolean tacacs?: Prisma.BoolFilter<"tmp_vpn"> | boolean m?: Prisma.IntFilter<"tmp_vpn"> | number }, "id"> export type tmp_vpnOrderByWithAggregationInput = { id?: Prisma.SortOrder username?: Prisma.SortOrder password?: Prisma.SortOrder ad_done?: Prisma.SortOrder tacacs?: Prisma.SortOrder m?: Prisma.SortOrder _count?: Prisma.tmp_vpnCountOrderByAggregateInput _avg?: Prisma.tmp_vpnAvgOrderByAggregateInput _max?: Prisma.tmp_vpnMaxOrderByAggregateInput _min?: Prisma.tmp_vpnMinOrderByAggregateInput _sum?: Prisma.tmp_vpnSumOrderByAggregateInput } export type tmp_vpnScalarWhereWithAggregatesInput = { AND?: Prisma.tmp_vpnScalarWhereWithAggregatesInput | Prisma.tmp_vpnScalarWhereWithAggregatesInput[] OR?: Prisma.tmp_vpnScalarWhereWithAggregatesInput[] NOT?: Prisma.tmp_vpnScalarWhereWithAggregatesInput | Prisma.tmp_vpnScalarWhereWithAggregatesInput[] id?: Prisma.IntWithAggregatesFilter<"tmp_vpn"> | number username?: Prisma.StringWithAggregatesFilter<"tmp_vpn"> | string password?: Prisma.StringWithAggregatesFilter<"tmp_vpn"> | string ad_done?: Prisma.BoolWithAggregatesFilter<"tmp_vpn"> | boolean tacacs?: Prisma.BoolWithAggregatesFilter<"tmp_vpn"> | boolean m?: Prisma.IntWithAggregatesFilter<"tmp_vpn"> | number } export type tmp_vpnCreateInput = { id: number username: string password: string ad_done?: boolean tacacs?: boolean m?: number } export type tmp_vpnUncheckedCreateInput = { id: number username: string password: string ad_done?: boolean tacacs?: boolean m?: number } export type tmp_vpnUpdateInput = { id?: Prisma.IntFieldUpdateOperationsInput | number username?: Prisma.StringFieldUpdateOperationsInput | string password?: Prisma.StringFieldUpdateOperationsInput | string ad_done?: Prisma.BoolFieldUpdateOperationsInput | boolean tacacs?: Prisma.BoolFieldUpdateOperationsInput | boolean m?: Prisma.IntFieldUpdateOperationsInput | number } export type tmp_vpnUncheckedUpdateInput = { id?: Prisma.IntFieldUpdateOperationsInput | number username?: Prisma.StringFieldUpdateOperationsInput | string password?: Prisma.StringFieldUpdateOperationsInput | string ad_done?: Prisma.BoolFieldUpdateOperationsInput | boolean tacacs?: Prisma.BoolFieldUpdateOperationsInput | boolean m?: Prisma.IntFieldUpdateOperationsInput | number } export type tmp_vpnCreateManyInput = { id: number username: string password: string ad_done?: boolean tacacs?: boolean m?: number } export type tmp_vpnUpdateManyMutationInput = { id?: Prisma.IntFieldUpdateOperationsInput | number username?: Prisma.StringFieldUpdateOperationsInput | string password?: Prisma.StringFieldUpdateOperationsInput | string ad_done?: Prisma.BoolFieldUpdateOperationsInput | boolean tacacs?: Prisma.BoolFieldUpdateOperationsInput | boolean m?: Prisma.IntFieldUpdateOperationsInput | number } export type tmp_vpnUncheckedUpdateManyInput = { id?: Prisma.IntFieldUpdateOperationsInput | number username?: Prisma.StringFieldUpdateOperationsInput | string password?: Prisma.StringFieldUpdateOperationsInput | string ad_done?: Prisma.BoolFieldUpdateOperationsInput | boolean tacacs?: Prisma.BoolFieldUpdateOperationsInput | boolean m?: Prisma.IntFieldUpdateOperationsInput | number } export type tmp_vpnOrderByRelevanceInput = { fields: Prisma.tmp_vpnOrderByRelevanceFieldEnum | Prisma.tmp_vpnOrderByRelevanceFieldEnum[] sort: Prisma.SortOrder search: string } export type tmp_vpnCountOrderByAggregateInput = { id?: Prisma.SortOrder username?: Prisma.SortOrder password?: Prisma.SortOrder ad_done?: Prisma.SortOrder tacacs?: Prisma.SortOrder m?: Prisma.SortOrder } export type tmp_vpnAvgOrderByAggregateInput = { id?: Prisma.SortOrder m?: Prisma.SortOrder } export type tmp_vpnMaxOrderByAggregateInput = { id?: Prisma.SortOrder username?: Prisma.SortOrder password?: Prisma.SortOrder ad_done?: Prisma.SortOrder tacacs?: Prisma.SortOrder m?: Prisma.SortOrder } export type tmp_vpnMinOrderByAggregateInput = { id?: Prisma.SortOrder username?: Prisma.SortOrder password?: Prisma.SortOrder ad_done?: Prisma.SortOrder tacacs?: Prisma.SortOrder m?: Prisma.SortOrder } export type tmp_vpnSumOrderByAggregateInput = { id?: Prisma.SortOrder m?: Prisma.SortOrder } export type tmp_vpnSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean username?: boolean password?: boolean ad_done?: boolean tacacs?: boolean m?: boolean }, ExtArgs["result"]["tmp_vpn"]> export type tmp_vpnSelectScalar = { id?: boolean username?: boolean password?: boolean ad_done?: boolean tacacs?: boolean m?: boolean } export type tmp_vpnOmit = runtime.Types.Extensions.GetOmit<"id" | "username" | "password" | "ad_done" | "tacacs" | "m", ExtArgs["result"]["tmp_vpn"]> export type $tmp_vpnPayload = { name: "tmp_vpn" objects: {} scalars: runtime.Types.Extensions.GetPayloadResult<{ id: number username: string password: string ad_done: boolean tacacs: boolean m: number }, ExtArgs["result"]["tmp_vpn"]> composites: {} } export type tmp_vpnGetPayload = runtime.Types.Result.GetResult export type tmp_vpnCountArgs = Omit & { select?: Tmp_vpnCountAggregateInputType | true } export interface tmp_vpnDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['tmp_vpn'], meta: { name: 'tmp_vpn' } } /** * Find zero or one Tmp_vpn that matches the filter. * @param {tmp_vpnFindUniqueArgs} args - Arguments to find a Tmp_vpn * @example * // Get one Tmp_vpn * const tmp_vpn = await prisma.tmp_vpn.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__tmp_vpnClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Tmp_vpn that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {tmp_vpnFindUniqueOrThrowArgs} args - Arguments to find a Tmp_vpn * @example * // Get one Tmp_vpn * const tmp_vpn = await prisma.tmp_vpn.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__tmp_vpnClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Tmp_vpn 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 {tmp_vpnFindFirstArgs} args - Arguments to find a Tmp_vpn * @example * // Get one Tmp_vpn * const tmp_vpn = await prisma.tmp_vpn.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__tmp_vpnClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Tmp_vpn 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 {tmp_vpnFindFirstOrThrowArgs} args - Arguments to find a Tmp_vpn * @example * // Get one Tmp_vpn * const tmp_vpn = await prisma.tmp_vpn.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__tmp_vpnClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Tmp_vpns 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 {tmp_vpnFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Tmp_vpns * const tmp_vpns = await prisma.tmp_vpn.findMany() * * // Get first 10 Tmp_vpns * const tmp_vpns = await prisma.tmp_vpn.findMany({ take: 10 }) * * // Only select the `id` * const tmp_vpnWithIdOnly = await prisma.tmp_vpn.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a Tmp_vpn. * @param {tmp_vpnCreateArgs} args - Arguments to create a Tmp_vpn. * @example * // Create one Tmp_vpn * const Tmp_vpn = await prisma.tmp_vpn.create({ * data: { * // ... data to create a Tmp_vpn * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__tmp_vpnClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Tmp_vpns. * @param {tmp_vpnCreateManyArgs} args - Arguments to create many Tmp_vpns. * @example * // Create many Tmp_vpns * const tmp_vpn = await prisma.tmp_vpn.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Delete a Tmp_vpn. * @param {tmp_vpnDeleteArgs} args - Arguments to delete one Tmp_vpn. * @example * // Delete one Tmp_vpn * const Tmp_vpn = await prisma.tmp_vpn.delete({ * where: { * // ... filter to delete one Tmp_vpn * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__tmp_vpnClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Tmp_vpn. * @param {tmp_vpnUpdateArgs} args - Arguments to update one Tmp_vpn. * @example * // Update one Tmp_vpn * const tmp_vpn = await prisma.tmp_vpn.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__tmp_vpnClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Tmp_vpns. * @param {tmp_vpnDeleteManyArgs} args - Arguments to filter Tmp_vpns to delete. * @example * // Delete a few Tmp_vpns * const { count } = await prisma.tmp_vpn.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Tmp_vpns. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {tmp_vpnUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Tmp_vpns * const tmp_vpn = await prisma.tmp_vpn.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create or update one Tmp_vpn. * @param {tmp_vpnUpsertArgs} args - Arguments to update or create a Tmp_vpn. * @example * // Update or create a Tmp_vpn * const tmp_vpn = await prisma.tmp_vpn.upsert({ * create: { * // ... data to create a Tmp_vpn * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Tmp_vpn we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__tmp_vpnClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Tmp_vpns. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {tmp_vpnCountArgs} args - Arguments to filter Tmp_vpns to count. * @example * // Count the number of Tmp_vpns * const count = await prisma.tmp_vpn.count({ * where: { * // ... the filter for the Tmp_vpns 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 Tmp_vpn. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {Tmp_vpnAggregateArgs} 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 Tmp_vpn. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {tmp_vpnGroupByArgs} 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 tmp_vpnGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: tmp_vpnGroupByArgs['orderBy'] } : { orderBy?: tmp_vpnGroupByArgs['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 ? GetTmp_vpnGroupByPayload : Prisma.PrismaPromise /** * Fields of the tmp_vpn model */ readonly fields: tmp_vpnFieldRefs; } /** * The delegate class that acts as a "Promise-like" for tmp_vpn. * 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__tmp_vpnClient 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 tmp_vpn model */ export interface tmp_vpnFieldRefs { readonly id: Prisma.FieldRef<"tmp_vpn", 'Int'> readonly username: Prisma.FieldRef<"tmp_vpn", 'String'> readonly password: Prisma.FieldRef<"tmp_vpn", 'String'> readonly ad_done: Prisma.FieldRef<"tmp_vpn", 'Boolean'> readonly tacacs: Prisma.FieldRef<"tmp_vpn", 'Boolean'> readonly m: Prisma.FieldRef<"tmp_vpn", 'Int'> } // Custom InputTypes /** * tmp_vpn findUnique */ export type tmp_vpnFindUniqueArgs = { /** * Select specific fields to fetch from the tmp_vpn */ select?: Prisma.tmp_vpnSelect | null /** * Omit specific fields from the tmp_vpn */ omit?: Prisma.tmp_vpnOmit | null /** * Filter, which tmp_vpn to fetch. */ where: Prisma.tmp_vpnWhereUniqueInput } /** * tmp_vpn findUniqueOrThrow */ export type tmp_vpnFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the tmp_vpn */ select?: Prisma.tmp_vpnSelect | null /** * Omit specific fields from the tmp_vpn */ omit?: Prisma.tmp_vpnOmit | null /** * Filter, which tmp_vpn to fetch. */ where: Prisma.tmp_vpnWhereUniqueInput } /** * tmp_vpn findFirst */ export type tmp_vpnFindFirstArgs = { /** * Select specific fields to fetch from the tmp_vpn */ select?: Prisma.tmp_vpnSelect | null /** * Omit specific fields from the tmp_vpn */ omit?: Prisma.tmp_vpnOmit | null /** * Filter, which tmp_vpn to fetch. */ where?: Prisma.tmp_vpnWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of tmp_vpns to fetch. */ orderBy?: Prisma.tmp_vpnOrderByWithRelationInput | Prisma.tmp_vpnOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for tmp_vpns. */ cursor?: Prisma.tmp_vpnWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` tmp_vpns 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` tmp_vpns. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of tmp_vpns. */ distinct?: Prisma.Tmp_vpnScalarFieldEnum | Prisma.Tmp_vpnScalarFieldEnum[] } /** * tmp_vpn findFirstOrThrow */ export type tmp_vpnFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the tmp_vpn */ select?: Prisma.tmp_vpnSelect | null /** * Omit specific fields from the tmp_vpn */ omit?: Prisma.tmp_vpnOmit | null /** * Filter, which tmp_vpn to fetch. */ where?: Prisma.tmp_vpnWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of tmp_vpns to fetch. */ orderBy?: Prisma.tmp_vpnOrderByWithRelationInput | Prisma.tmp_vpnOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for tmp_vpns. */ cursor?: Prisma.tmp_vpnWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` tmp_vpns 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` tmp_vpns. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of tmp_vpns. */ distinct?: Prisma.Tmp_vpnScalarFieldEnum | Prisma.Tmp_vpnScalarFieldEnum[] } /** * tmp_vpn findMany */ export type tmp_vpnFindManyArgs = { /** * Select specific fields to fetch from the tmp_vpn */ select?: Prisma.tmp_vpnSelect | null /** * Omit specific fields from the tmp_vpn */ omit?: Prisma.tmp_vpnOmit | null /** * Filter, which tmp_vpns to fetch. */ where?: Prisma.tmp_vpnWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of tmp_vpns to fetch. */ orderBy?: Prisma.tmp_vpnOrderByWithRelationInput | Prisma.tmp_vpnOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing tmp_vpns. */ cursor?: Prisma.tmp_vpnWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` tmp_vpns 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` tmp_vpns. */ skip?: number distinct?: Prisma.Tmp_vpnScalarFieldEnum | Prisma.Tmp_vpnScalarFieldEnum[] } /** * tmp_vpn create */ export type tmp_vpnCreateArgs = { /** * Select specific fields to fetch from the tmp_vpn */ select?: Prisma.tmp_vpnSelect | null /** * Omit specific fields from the tmp_vpn */ omit?: Prisma.tmp_vpnOmit | null /** * The data needed to create a tmp_vpn. */ data: Prisma.XOR } /** * tmp_vpn createMany */ export type tmp_vpnCreateManyArgs = { /** * The data used to create many tmp_vpns. */ data: Prisma.tmp_vpnCreateManyInput | Prisma.tmp_vpnCreateManyInput[] skipDuplicates?: boolean } /** * tmp_vpn update */ export type tmp_vpnUpdateArgs = { /** * Select specific fields to fetch from the tmp_vpn */ select?: Prisma.tmp_vpnSelect | null /** * Omit specific fields from the tmp_vpn */ omit?: Prisma.tmp_vpnOmit | null /** * The data needed to update a tmp_vpn. */ data: Prisma.XOR /** * Choose, which tmp_vpn to update. */ where: Prisma.tmp_vpnWhereUniqueInput } /** * tmp_vpn updateMany */ export type tmp_vpnUpdateManyArgs = { /** * The data used to update tmp_vpns. */ data: Prisma.XOR /** * Filter which tmp_vpns to update */ where?: Prisma.tmp_vpnWhereInput /** * Limit how many tmp_vpns to update. */ limit?: number } /** * tmp_vpn upsert */ export type tmp_vpnUpsertArgs = { /** * Select specific fields to fetch from the tmp_vpn */ select?: Prisma.tmp_vpnSelect | null /** * Omit specific fields from the tmp_vpn */ omit?: Prisma.tmp_vpnOmit | null /** * The filter to search for the tmp_vpn to update in case it exists. */ where: Prisma.tmp_vpnWhereUniqueInput /** * In case the tmp_vpn found by the `where` argument doesn't exist, create a new tmp_vpn with this data. */ create: Prisma.XOR /** * In case the tmp_vpn was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * tmp_vpn delete */ export type tmp_vpnDeleteArgs = { /** * Select specific fields to fetch from the tmp_vpn */ select?: Prisma.tmp_vpnSelect | null /** * Omit specific fields from the tmp_vpn */ omit?: Prisma.tmp_vpnOmit | null /** * Filter which tmp_vpn to delete. */ where: Prisma.tmp_vpnWhereUniqueInput } /** * tmp_vpn deleteMany */ export type tmp_vpnDeleteManyArgs = { /** * Filter which tmp_vpns to delete */ where?: Prisma.tmp_vpnWhereInput /** * Limit how many tmp_vpns to delete. */ limit?: number } /** * tmp_vpn without action */ export type tmp_vpnDefaultArgs = { /** * Select specific fields to fetch from the tmp_vpn */ select?: Prisma.tmp_vpnSelect | null /** * Omit specific fields from the tmp_vpn */ omit?: Prisma.tmp_vpnOmit | null }