/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `licence_key` 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 licence_key * */ export type licence_keyModel = runtime.Types.Result.DefaultSelection export type AggregateLicence_key = { _count: Licence_keyCountAggregateOutputType | null _avg: Licence_keyAvgAggregateOutputType | null _sum: Licence_keySumAggregateOutputType | null _min: Licence_keyMinAggregateOutputType | null _max: Licence_keyMaxAggregateOutputType | null } export type Licence_keyAvgAggregateOutputType = { id: number | null licence_id: number | null } export type Licence_keySumAggregateOutputType = { id: number | null licence_id: number | null } export type Licence_keyMinAggregateOutputType = { id: number | null licence_id: number | null licence_key: string | null date: string | null date_expire: string | null comment: string | null } export type Licence_keyMaxAggregateOutputType = { id: number | null licence_id: number | null licence_key: string | null date: string | null date_expire: string | null comment: string | null } export type Licence_keyCountAggregateOutputType = { id: number licence_id: number licence_key: number date: number date_expire: number comment: number _all: number } export type Licence_keyAvgAggregateInputType = { id?: true licence_id?: true } export type Licence_keySumAggregateInputType = { id?: true licence_id?: true } export type Licence_keyMinAggregateInputType = { id?: true licence_id?: true licence_key?: true date?: true date_expire?: true comment?: true } export type Licence_keyMaxAggregateInputType = { id?: true licence_id?: true licence_key?: true date?: true date_expire?: true comment?: true } export type Licence_keyCountAggregateInputType = { id?: true licence_id?: true licence_key?: true date?: true date_expire?: true comment?: true _all?: true } export type Licence_keyAggregateArgs = { /** * Filter which licence_key to aggregate. */ where?: Prisma.licence_keyWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of licence_keys to fetch. */ orderBy?: Prisma.licence_keyOrderByWithRelationInput | Prisma.licence_keyOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.licence_keyWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` licence_keys 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` licence_keys. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned licence_keys **/ _count?: true | Licence_keyCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: Licence_keyAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: Licence_keySumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: Licence_keyMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: Licence_keyMaxAggregateInputType } export type GetLicence_keyAggregateType = { [P in keyof T & keyof AggregateLicence_key]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type licence_keyGroupByArgs = { where?: Prisma.licence_keyWhereInput orderBy?: Prisma.licence_keyOrderByWithAggregationInput | Prisma.licence_keyOrderByWithAggregationInput[] by: Prisma.Licence_keyScalarFieldEnum[] | Prisma.Licence_keyScalarFieldEnum having?: Prisma.licence_keyScalarWhereWithAggregatesInput take?: number skip?: number _count?: Licence_keyCountAggregateInputType | true _avg?: Licence_keyAvgAggregateInputType _sum?: Licence_keySumAggregateInputType _min?: Licence_keyMinAggregateInputType _max?: Licence_keyMaxAggregateInputType } export type Licence_keyGroupByOutputType = { id: number licence_id: number licence_key: string date: string date_expire: string | null comment: string _count: Licence_keyCountAggregateOutputType | null _avg: Licence_keyAvgAggregateOutputType | null _sum: Licence_keySumAggregateOutputType | null _min: Licence_keyMinAggregateOutputType | null _max: Licence_keyMaxAggregateOutputType | null } type GetLicence_keyGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof Licence_keyGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type licence_keyWhereInput = { AND?: Prisma.licence_keyWhereInput | Prisma.licence_keyWhereInput[] OR?: Prisma.licence_keyWhereInput[] NOT?: Prisma.licence_keyWhereInput | Prisma.licence_keyWhereInput[] id?: Prisma.IntFilter<"licence_key"> | number licence_id?: Prisma.IntFilter<"licence_key"> | number licence_key?: Prisma.StringFilter<"licence_key"> | string date?: Prisma.StringFilter<"licence_key"> | string date_expire?: Prisma.StringNullableFilter<"licence_key"> | string | null comment?: Prisma.StringFilter<"licence_key"> | string } export type licence_keyOrderByWithRelationInput = { id?: Prisma.SortOrder licence_id?: Prisma.SortOrder licence_key?: Prisma.SortOrder date?: Prisma.SortOrder date_expire?: Prisma.SortOrderInput | Prisma.SortOrder comment?: Prisma.SortOrder _relevance?: Prisma.licence_keyOrderByRelevanceInput } export type licence_keyWhereUniqueInput = Prisma.AtLeast<{ id?: number AND?: Prisma.licence_keyWhereInput | Prisma.licence_keyWhereInput[] OR?: Prisma.licence_keyWhereInput[] NOT?: Prisma.licence_keyWhereInput | Prisma.licence_keyWhereInput[] licence_id?: Prisma.IntFilter<"licence_key"> | number licence_key?: Prisma.StringFilter<"licence_key"> | string date?: Prisma.StringFilter<"licence_key"> | string date_expire?: Prisma.StringNullableFilter<"licence_key"> | string | null comment?: Prisma.StringFilter<"licence_key"> | string }, "id"> export type licence_keyOrderByWithAggregationInput = { id?: Prisma.SortOrder licence_id?: Prisma.SortOrder licence_key?: Prisma.SortOrder date?: Prisma.SortOrder date_expire?: Prisma.SortOrderInput | Prisma.SortOrder comment?: Prisma.SortOrder _count?: Prisma.licence_keyCountOrderByAggregateInput _avg?: Prisma.licence_keyAvgOrderByAggregateInput _max?: Prisma.licence_keyMaxOrderByAggregateInput _min?: Prisma.licence_keyMinOrderByAggregateInput _sum?: Prisma.licence_keySumOrderByAggregateInput } export type licence_keyScalarWhereWithAggregatesInput = { AND?: Prisma.licence_keyScalarWhereWithAggregatesInput | Prisma.licence_keyScalarWhereWithAggregatesInput[] OR?: Prisma.licence_keyScalarWhereWithAggregatesInput[] NOT?: Prisma.licence_keyScalarWhereWithAggregatesInput | Prisma.licence_keyScalarWhereWithAggregatesInput[] id?: Prisma.IntWithAggregatesFilter<"licence_key"> | number licence_id?: Prisma.IntWithAggregatesFilter<"licence_key"> | number licence_key?: Prisma.StringWithAggregatesFilter<"licence_key"> | string date?: Prisma.StringWithAggregatesFilter<"licence_key"> | string date_expire?: Prisma.StringNullableWithAggregatesFilter<"licence_key"> | string | null comment?: Prisma.StringWithAggregatesFilter<"licence_key"> | string } export type licence_keyCreateInput = { licence_id: number licence_key: string date: string date_expire?: string | null comment: string } export type licence_keyUncheckedCreateInput = { id?: number licence_id: number licence_key: string date: string date_expire?: string | null comment: string } export type licence_keyUpdateInput = { licence_id?: Prisma.IntFieldUpdateOperationsInput | number licence_key?: Prisma.StringFieldUpdateOperationsInput | string date?: Prisma.StringFieldUpdateOperationsInput | string date_expire?: Prisma.NullableStringFieldUpdateOperationsInput | string | null comment?: Prisma.StringFieldUpdateOperationsInput | string } export type licence_keyUncheckedUpdateInput = { id?: Prisma.IntFieldUpdateOperationsInput | number licence_id?: Prisma.IntFieldUpdateOperationsInput | number licence_key?: Prisma.StringFieldUpdateOperationsInput | string date?: Prisma.StringFieldUpdateOperationsInput | string date_expire?: Prisma.NullableStringFieldUpdateOperationsInput | string | null comment?: Prisma.StringFieldUpdateOperationsInput | string } export type licence_keyCreateManyInput = { id?: number licence_id: number licence_key: string date: string date_expire?: string | null comment: string } export type licence_keyUpdateManyMutationInput = { licence_id?: Prisma.IntFieldUpdateOperationsInput | number licence_key?: Prisma.StringFieldUpdateOperationsInput | string date?: Prisma.StringFieldUpdateOperationsInput | string date_expire?: Prisma.NullableStringFieldUpdateOperationsInput | string | null comment?: Prisma.StringFieldUpdateOperationsInput | string } export type licence_keyUncheckedUpdateManyInput = { id?: Prisma.IntFieldUpdateOperationsInput | number licence_id?: Prisma.IntFieldUpdateOperationsInput | number licence_key?: Prisma.StringFieldUpdateOperationsInput | string date?: Prisma.StringFieldUpdateOperationsInput | string date_expire?: Prisma.NullableStringFieldUpdateOperationsInput | string | null comment?: Prisma.StringFieldUpdateOperationsInput | string } export type licence_keyOrderByRelevanceInput = { fields: Prisma.licence_keyOrderByRelevanceFieldEnum | Prisma.licence_keyOrderByRelevanceFieldEnum[] sort: Prisma.SortOrder search: string } export type licence_keyCountOrderByAggregateInput = { id?: Prisma.SortOrder licence_id?: Prisma.SortOrder licence_key?: Prisma.SortOrder date?: Prisma.SortOrder date_expire?: Prisma.SortOrder comment?: Prisma.SortOrder } export type licence_keyAvgOrderByAggregateInput = { id?: Prisma.SortOrder licence_id?: Prisma.SortOrder } export type licence_keyMaxOrderByAggregateInput = { id?: Prisma.SortOrder licence_id?: Prisma.SortOrder licence_key?: Prisma.SortOrder date?: Prisma.SortOrder date_expire?: Prisma.SortOrder comment?: Prisma.SortOrder } export type licence_keyMinOrderByAggregateInput = { id?: Prisma.SortOrder licence_id?: Prisma.SortOrder licence_key?: Prisma.SortOrder date?: Prisma.SortOrder date_expire?: Prisma.SortOrder comment?: Prisma.SortOrder } export type licence_keySumOrderByAggregateInput = { id?: Prisma.SortOrder licence_id?: Prisma.SortOrder } export type licence_keySelect = runtime.Types.Extensions.GetSelect<{ id?: boolean licence_id?: boolean licence_key?: boolean date?: boolean date_expire?: boolean comment?: boolean }, ExtArgs["result"]["licence_key"]> export type licence_keySelectScalar = { id?: boolean licence_id?: boolean licence_key?: boolean date?: boolean date_expire?: boolean comment?: boolean } export type licence_keyOmit = runtime.Types.Extensions.GetOmit<"id" | "licence_id" | "licence_key" | "date" | "date_expire" | "comment", ExtArgs["result"]["licence_key"]> export type $licence_keyPayload = { name: "licence_key" objects: {} scalars: runtime.Types.Extensions.GetPayloadResult<{ id: number licence_id: number licence_key: string date: string date_expire: string | null comment: string }, ExtArgs["result"]["licence_key"]> composites: {} } export type licence_keyGetPayload = runtime.Types.Result.GetResult export type licence_keyCountArgs = Omit & { select?: Licence_keyCountAggregateInputType | true } export interface licence_keyDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['licence_key'], meta: { name: 'licence_key' } } /** * Find zero or one Licence_key that matches the filter. * @param {licence_keyFindUniqueArgs} args - Arguments to find a Licence_key * @example * // Get one Licence_key * const licence_key = await prisma.licence_key.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__licence_keyClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Licence_key that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {licence_keyFindUniqueOrThrowArgs} args - Arguments to find a Licence_key * @example * // Get one Licence_key * const licence_key = await prisma.licence_key.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__licence_keyClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Licence_key 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 {licence_keyFindFirstArgs} args - Arguments to find a Licence_key * @example * // Get one Licence_key * const licence_key = await prisma.licence_key.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__licence_keyClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Licence_key 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 {licence_keyFindFirstOrThrowArgs} args - Arguments to find a Licence_key * @example * // Get one Licence_key * const licence_key = await prisma.licence_key.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__licence_keyClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Licence_keys 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 {licence_keyFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Licence_keys * const licence_keys = await prisma.licence_key.findMany() * * // Get first 10 Licence_keys * const licence_keys = await prisma.licence_key.findMany({ take: 10 }) * * // Only select the `id` * const licence_keyWithIdOnly = await prisma.licence_key.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a Licence_key. * @param {licence_keyCreateArgs} args - Arguments to create a Licence_key. * @example * // Create one Licence_key * const Licence_key = await prisma.licence_key.create({ * data: { * // ... data to create a Licence_key * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__licence_keyClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Licence_keys. * @param {licence_keyCreateManyArgs} args - Arguments to create many Licence_keys. * @example * // Create many Licence_keys * const licence_key = await prisma.licence_key.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Delete a Licence_key. * @param {licence_keyDeleteArgs} args - Arguments to delete one Licence_key. * @example * // Delete one Licence_key * const Licence_key = await prisma.licence_key.delete({ * where: { * // ... filter to delete one Licence_key * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__licence_keyClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Licence_key. * @param {licence_keyUpdateArgs} args - Arguments to update one Licence_key. * @example * // Update one Licence_key * const licence_key = await prisma.licence_key.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__licence_keyClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Licence_keys. * @param {licence_keyDeleteManyArgs} args - Arguments to filter Licence_keys to delete. * @example * // Delete a few Licence_keys * const { count } = await prisma.licence_key.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Licence_keys. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {licence_keyUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Licence_keys * const licence_key = await prisma.licence_key.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create or update one Licence_key. * @param {licence_keyUpsertArgs} args - Arguments to update or create a Licence_key. * @example * // Update or create a Licence_key * const licence_key = await prisma.licence_key.upsert({ * create: { * // ... data to create a Licence_key * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Licence_key we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__licence_keyClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Licence_keys. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {licence_keyCountArgs} args - Arguments to filter Licence_keys to count. * @example * // Count the number of Licence_keys * const count = await prisma.licence_key.count({ * where: { * // ... the filter for the Licence_keys 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 Licence_key. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {Licence_keyAggregateArgs} 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 Licence_key. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {licence_keyGroupByArgs} 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 licence_keyGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: licence_keyGroupByArgs['orderBy'] } : { orderBy?: licence_keyGroupByArgs['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 ? GetLicence_keyGroupByPayload : Prisma.PrismaPromise /** * Fields of the licence_key model */ readonly fields: licence_keyFieldRefs; } /** * The delegate class that acts as a "Promise-like" for licence_key. * 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__licence_keyClient 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 licence_key model */ export interface licence_keyFieldRefs { readonly id: Prisma.FieldRef<"licence_key", 'Int'> readonly licence_id: Prisma.FieldRef<"licence_key", 'Int'> readonly licence_key: Prisma.FieldRef<"licence_key", 'String'> readonly date: Prisma.FieldRef<"licence_key", 'String'> readonly date_expire: Prisma.FieldRef<"licence_key", 'String'> readonly comment: Prisma.FieldRef<"licence_key", 'String'> } // Custom InputTypes /** * licence_key findUnique */ export type licence_keyFindUniqueArgs = { /** * Select specific fields to fetch from the licence_key */ select?: Prisma.licence_keySelect | null /** * Omit specific fields from the licence_key */ omit?: Prisma.licence_keyOmit | null /** * Filter, which licence_key to fetch. */ where: Prisma.licence_keyWhereUniqueInput } /** * licence_key findUniqueOrThrow */ export type licence_keyFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the licence_key */ select?: Prisma.licence_keySelect | null /** * Omit specific fields from the licence_key */ omit?: Prisma.licence_keyOmit | null /** * Filter, which licence_key to fetch. */ where: Prisma.licence_keyWhereUniqueInput } /** * licence_key findFirst */ export type licence_keyFindFirstArgs = { /** * Select specific fields to fetch from the licence_key */ select?: Prisma.licence_keySelect | null /** * Omit specific fields from the licence_key */ omit?: Prisma.licence_keyOmit | null /** * Filter, which licence_key to fetch. */ where?: Prisma.licence_keyWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of licence_keys to fetch. */ orderBy?: Prisma.licence_keyOrderByWithRelationInput | Prisma.licence_keyOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for licence_keys. */ cursor?: Prisma.licence_keyWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` licence_keys 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` licence_keys. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of licence_keys. */ distinct?: Prisma.Licence_keyScalarFieldEnum | Prisma.Licence_keyScalarFieldEnum[] } /** * licence_key findFirstOrThrow */ export type licence_keyFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the licence_key */ select?: Prisma.licence_keySelect | null /** * Omit specific fields from the licence_key */ omit?: Prisma.licence_keyOmit | null /** * Filter, which licence_key to fetch. */ where?: Prisma.licence_keyWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of licence_keys to fetch. */ orderBy?: Prisma.licence_keyOrderByWithRelationInput | Prisma.licence_keyOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for licence_keys. */ cursor?: Prisma.licence_keyWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` licence_keys 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` licence_keys. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of licence_keys. */ distinct?: Prisma.Licence_keyScalarFieldEnum | Prisma.Licence_keyScalarFieldEnum[] } /** * licence_key findMany */ export type licence_keyFindManyArgs = { /** * Select specific fields to fetch from the licence_key */ select?: Prisma.licence_keySelect | null /** * Omit specific fields from the licence_key */ omit?: Prisma.licence_keyOmit | null /** * Filter, which licence_keys to fetch. */ where?: Prisma.licence_keyWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of licence_keys to fetch. */ orderBy?: Prisma.licence_keyOrderByWithRelationInput | Prisma.licence_keyOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing licence_keys. */ cursor?: Prisma.licence_keyWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` licence_keys 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` licence_keys. */ skip?: number distinct?: Prisma.Licence_keyScalarFieldEnum | Prisma.Licence_keyScalarFieldEnum[] } /** * licence_key create */ export type licence_keyCreateArgs = { /** * Select specific fields to fetch from the licence_key */ select?: Prisma.licence_keySelect | null /** * Omit specific fields from the licence_key */ omit?: Prisma.licence_keyOmit | null /** * The data needed to create a licence_key. */ data: Prisma.XOR } /** * licence_key createMany */ export type licence_keyCreateManyArgs = { /** * The data used to create many licence_keys. */ data: Prisma.licence_keyCreateManyInput | Prisma.licence_keyCreateManyInput[] skipDuplicates?: boolean } /** * licence_key update */ export type licence_keyUpdateArgs = { /** * Select specific fields to fetch from the licence_key */ select?: Prisma.licence_keySelect | null /** * Omit specific fields from the licence_key */ omit?: Prisma.licence_keyOmit | null /** * The data needed to update a licence_key. */ data: Prisma.XOR /** * Choose, which licence_key to update. */ where: Prisma.licence_keyWhereUniqueInput } /** * licence_key updateMany */ export type licence_keyUpdateManyArgs = { /** * The data used to update licence_keys. */ data: Prisma.XOR /** * Filter which licence_keys to update */ where?: Prisma.licence_keyWhereInput /** * Limit how many licence_keys to update. */ limit?: number } /** * licence_key upsert */ export type licence_keyUpsertArgs = { /** * Select specific fields to fetch from the licence_key */ select?: Prisma.licence_keySelect | null /** * Omit specific fields from the licence_key */ omit?: Prisma.licence_keyOmit | null /** * The filter to search for the licence_key to update in case it exists. */ where: Prisma.licence_keyWhereUniqueInput /** * In case the licence_key found by the `where` argument doesn't exist, create a new licence_key with this data. */ create: Prisma.XOR /** * In case the licence_key was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * licence_key delete */ export type licence_keyDeleteArgs = { /** * Select specific fields to fetch from the licence_key */ select?: Prisma.licence_keySelect | null /** * Omit specific fields from the licence_key */ omit?: Prisma.licence_keyOmit | null /** * Filter which licence_key to delete. */ where: Prisma.licence_keyWhereUniqueInput } /** * licence_key deleteMany */ export type licence_keyDeleteManyArgs = { /** * Filter which licence_keys to delete */ where?: Prisma.licence_keyWhereInput /** * Limit how many licence_keys to delete. */ limit?: number } /** * licence_key without action */ export type licence_keyDefaultArgs = { /** * Select specific fields to fetch from the licence_key */ select?: Prisma.licence_keySelect | null /** * Omit specific fields from the licence_key */ omit?: Prisma.licence_keyOmit | null }