/* !!! 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` 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 * */ export type licenceModel = runtime.Types.Result.DefaultSelection export type AggregateLicence = { _count: LicenceCountAggregateOutputType | null _avg: LicenceAvgAggregateOutputType | null _sum: LicenceSumAggregateOutputType | null _min: LicenceMinAggregateOutputType | null _max: LicenceMaxAggregateOutputType | null } export type LicenceAvgAggregateOutputType = { id: number | null } export type LicenceSumAggregateOutputType = { id: number | null } export type LicenceMinAggregateOutputType = { id: number | null nom: string | null date: string | null can_manage: string | null comment: string | null } export type LicenceMaxAggregateOutputType = { id: number | null nom: string | null date: string | null can_manage: string | null comment: string | null } export type LicenceCountAggregateOutputType = { id: number nom: number date: number can_manage: number comment: number _all: number } export type LicenceAvgAggregateInputType = { id?: true } export type LicenceSumAggregateInputType = { id?: true } export type LicenceMinAggregateInputType = { id?: true nom?: true date?: true can_manage?: true comment?: true } export type LicenceMaxAggregateInputType = { id?: true nom?: true date?: true can_manage?: true comment?: true } export type LicenceCountAggregateInputType = { id?: true nom?: true date?: true can_manage?: true comment?: true _all?: true } export type LicenceAggregateArgs = { /** * Filter which licence to aggregate. */ where?: Prisma.licenceWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of licences to fetch. */ orderBy?: Prisma.licenceOrderByWithRelationInput | Prisma.licenceOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.licenceWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` licences 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` licences. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned licences **/ _count?: true | LicenceCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: LicenceAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: LicenceSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: LicenceMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: LicenceMaxAggregateInputType } export type GetLicenceAggregateType = { [P in keyof T & keyof AggregateLicence]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type licenceGroupByArgs = { where?: Prisma.licenceWhereInput orderBy?: Prisma.licenceOrderByWithAggregationInput | Prisma.licenceOrderByWithAggregationInput[] by: Prisma.LicenceScalarFieldEnum[] | Prisma.LicenceScalarFieldEnum having?: Prisma.licenceScalarWhereWithAggregatesInput take?: number skip?: number _count?: LicenceCountAggregateInputType | true _avg?: LicenceAvgAggregateInputType _sum?: LicenceSumAggregateInputType _min?: LicenceMinAggregateInputType _max?: LicenceMaxAggregateInputType } export type LicenceGroupByOutputType = { id: number nom: string date: string can_manage: string comment: string | null _count: LicenceCountAggregateOutputType | null _avg: LicenceAvgAggregateOutputType | null _sum: LicenceSumAggregateOutputType | null _min: LicenceMinAggregateOutputType | null _max: LicenceMaxAggregateOutputType | null } type GetLicenceGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof LicenceGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type licenceWhereInput = { AND?: Prisma.licenceWhereInput | Prisma.licenceWhereInput[] OR?: Prisma.licenceWhereInput[] NOT?: Prisma.licenceWhereInput | Prisma.licenceWhereInput[] id?: Prisma.IntFilter<"licence"> | number nom?: Prisma.StringFilter<"licence"> | string date?: Prisma.StringFilter<"licence"> | string can_manage?: Prisma.StringFilter<"licence"> | string comment?: Prisma.StringNullableFilter<"licence"> | string | null } export type licenceOrderByWithRelationInput = { id?: Prisma.SortOrder nom?: Prisma.SortOrder date?: Prisma.SortOrder can_manage?: Prisma.SortOrder comment?: Prisma.SortOrderInput | Prisma.SortOrder _relevance?: Prisma.licenceOrderByRelevanceInput } export type licenceWhereUniqueInput = Prisma.AtLeast<{ id?: number AND?: Prisma.licenceWhereInput | Prisma.licenceWhereInput[] OR?: Prisma.licenceWhereInput[] NOT?: Prisma.licenceWhereInput | Prisma.licenceWhereInput[] nom?: Prisma.StringFilter<"licence"> | string date?: Prisma.StringFilter<"licence"> | string can_manage?: Prisma.StringFilter<"licence"> | string comment?: Prisma.StringNullableFilter<"licence"> | string | null }, "id"> export type licenceOrderByWithAggregationInput = { id?: Prisma.SortOrder nom?: Prisma.SortOrder date?: Prisma.SortOrder can_manage?: Prisma.SortOrder comment?: Prisma.SortOrderInput | Prisma.SortOrder _count?: Prisma.licenceCountOrderByAggregateInput _avg?: Prisma.licenceAvgOrderByAggregateInput _max?: Prisma.licenceMaxOrderByAggregateInput _min?: Prisma.licenceMinOrderByAggregateInput _sum?: Prisma.licenceSumOrderByAggregateInput } export type licenceScalarWhereWithAggregatesInput = { AND?: Prisma.licenceScalarWhereWithAggregatesInput | Prisma.licenceScalarWhereWithAggregatesInput[] OR?: Prisma.licenceScalarWhereWithAggregatesInput[] NOT?: Prisma.licenceScalarWhereWithAggregatesInput | Prisma.licenceScalarWhereWithAggregatesInput[] id?: Prisma.IntWithAggregatesFilter<"licence"> | number nom?: Prisma.StringWithAggregatesFilter<"licence"> | string date?: Prisma.StringWithAggregatesFilter<"licence"> | string can_manage?: Prisma.StringWithAggregatesFilter<"licence"> | string comment?: Prisma.StringNullableWithAggregatesFilter<"licence"> | string | null } export type licenceCreateInput = { nom: string date: string can_manage: string comment?: string | null } export type licenceUncheckedCreateInput = { id?: number nom: string date: string can_manage: string comment?: string | null } export type licenceUpdateInput = { nom?: Prisma.StringFieldUpdateOperationsInput | string date?: Prisma.StringFieldUpdateOperationsInput | string can_manage?: Prisma.StringFieldUpdateOperationsInput | string comment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type licenceUncheckedUpdateInput = { id?: Prisma.IntFieldUpdateOperationsInput | number nom?: Prisma.StringFieldUpdateOperationsInput | string date?: Prisma.StringFieldUpdateOperationsInput | string can_manage?: Prisma.StringFieldUpdateOperationsInput | string comment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type licenceCreateManyInput = { id?: number nom: string date: string can_manage: string comment?: string | null } export type licenceUpdateManyMutationInput = { nom?: Prisma.StringFieldUpdateOperationsInput | string date?: Prisma.StringFieldUpdateOperationsInput | string can_manage?: Prisma.StringFieldUpdateOperationsInput | string comment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type licenceUncheckedUpdateManyInput = { id?: Prisma.IntFieldUpdateOperationsInput | number nom?: Prisma.StringFieldUpdateOperationsInput | string date?: Prisma.StringFieldUpdateOperationsInput | string can_manage?: Prisma.StringFieldUpdateOperationsInput | string comment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type licenceOrderByRelevanceInput = { fields: Prisma.licenceOrderByRelevanceFieldEnum | Prisma.licenceOrderByRelevanceFieldEnum[] sort: Prisma.SortOrder search: string } export type licenceCountOrderByAggregateInput = { id?: Prisma.SortOrder nom?: Prisma.SortOrder date?: Prisma.SortOrder can_manage?: Prisma.SortOrder comment?: Prisma.SortOrder } export type licenceAvgOrderByAggregateInput = { id?: Prisma.SortOrder } export type licenceMaxOrderByAggregateInput = { id?: Prisma.SortOrder nom?: Prisma.SortOrder date?: Prisma.SortOrder can_manage?: Prisma.SortOrder comment?: Prisma.SortOrder } export type licenceMinOrderByAggregateInput = { id?: Prisma.SortOrder nom?: Prisma.SortOrder date?: Prisma.SortOrder can_manage?: Prisma.SortOrder comment?: Prisma.SortOrder } export type licenceSumOrderByAggregateInput = { id?: Prisma.SortOrder } export type licenceSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean nom?: boolean date?: boolean can_manage?: boolean comment?: boolean }, ExtArgs["result"]["licence"]> export type licenceSelectScalar = { id?: boolean nom?: boolean date?: boolean can_manage?: boolean comment?: boolean } export type licenceOmit = runtime.Types.Extensions.GetOmit<"id" | "nom" | "date" | "can_manage" | "comment", ExtArgs["result"]["licence"]> export type $licencePayload = { name: "licence" objects: {} scalars: runtime.Types.Extensions.GetPayloadResult<{ id: number nom: string date: string can_manage: string comment: string | null }, ExtArgs["result"]["licence"]> composites: {} } export type licenceGetPayload = runtime.Types.Result.GetResult export type licenceCountArgs = Omit & { select?: LicenceCountAggregateInputType | true } export interface licenceDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['licence'], meta: { name: 'licence' } } /** * Find zero or one Licence that matches the filter. * @param {licenceFindUniqueArgs} args - Arguments to find a Licence * @example * // Get one Licence * const licence = await prisma.licence.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__licenceClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Licence that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {licenceFindUniqueOrThrowArgs} args - Arguments to find a Licence * @example * // Get one Licence * const licence = await prisma.licence.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__licenceClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Licence 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 {licenceFindFirstArgs} args - Arguments to find a Licence * @example * // Get one Licence * const licence = await prisma.licence.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__licenceClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Licence 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 {licenceFindFirstOrThrowArgs} args - Arguments to find a Licence * @example * // Get one Licence * const licence = await prisma.licence.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__licenceClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Licences 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 {licenceFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Licences * const licences = await prisma.licence.findMany() * * // Get first 10 Licences * const licences = await prisma.licence.findMany({ take: 10 }) * * // Only select the `id` * const licenceWithIdOnly = await prisma.licence.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a Licence. * @param {licenceCreateArgs} args - Arguments to create a Licence. * @example * // Create one Licence * const Licence = await prisma.licence.create({ * data: { * // ... data to create a Licence * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__licenceClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Licences. * @param {licenceCreateManyArgs} args - Arguments to create many Licences. * @example * // Create many Licences * const licence = await prisma.licence.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Delete a Licence. * @param {licenceDeleteArgs} args - Arguments to delete one Licence. * @example * // Delete one Licence * const Licence = await prisma.licence.delete({ * where: { * // ... filter to delete one Licence * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__licenceClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Licence. * @param {licenceUpdateArgs} args - Arguments to update one Licence. * @example * // Update one Licence * const licence = await prisma.licence.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__licenceClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Licences. * @param {licenceDeleteManyArgs} args - Arguments to filter Licences to delete. * @example * // Delete a few Licences * const { count } = await prisma.licence.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Licences. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {licenceUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Licences * const licence = await prisma.licence.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create or update one Licence. * @param {licenceUpsertArgs} args - Arguments to update or create a Licence. * @example * // Update or create a Licence * const licence = await prisma.licence.upsert({ * create: { * // ... data to create a Licence * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Licence we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__licenceClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Licences. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {licenceCountArgs} args - Arguments to filter Licences to count. * @example * // Count the number of Licences * const count = await prisma.licence.count({ * where: { * // ... the filter for the Licences 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. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {LicenceAggregateArgs} 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. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {licenceGroupByArgs} 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 licenceGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: licenceGroupByArgs['orderBy'] } : { orderBy?: licenceGroupByArgs['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 ? GetLicenceGroupByPayload : Prisma.PrismaPromise /** * Fields of the licence model */ readonly fields: licenceFieldRefs; } /** * The delegate class that acts as a "Promise-like" for licence. * 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__licenceClient 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 model */ export interface licenceFieldRefs { readonly id: Prisma.FieldRef<"licence", 'Int'> readonly nom: Prisma.FieldRef<"licence", 'String'> readonly date: Prisma.FieldRef<"licence", 'String'> readonly can_manage: Prisma.FieldRef<"licence", 'String'> readonly comment: Prisma.FieldRef<"licence", 'String'> } // Custom InputTypes /** * licence findUnique */ export type licenceFindUniqueArgs = { /** * Select specific fields to fetch from the licence */ select?: Prisma.licenceSelect | null /** * Omit specific fields from the licence */ omit?: Prisma.licenceOmit | null /** * Filter, which licence to fetch. */ where: Prisma.licenceWhereUniqueInput } /** * licence findUniqueOrThrow */ export type licenceFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the licence */ select?: Prisma.licenceSelect | null /** * Omit specific fields from the licence */ omit?: Prisma.licenceOmit | null /** * Filter, which licence to fetch. */ where: Prisma.licenceWhereUniqueInput } /** * licence findFirst */ export type licenceFindFirstArgs = { /** * Select specific fields to fetch from the licence */ select?: Prisma.licenceSelect | null /** * Omit specific fields from the licence */ omit?: Prisma.licenceOmit | null /** * Filter, which licence to fetch. */ where?: Prisma.licenceWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of licences to fetch. */ orderBy?: Prisma.licenceOrderByWithRelationInput | Prisma.licenceOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for licences. */ cursor?: Prisma.licenceWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` licences 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` licences. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of licences. */ distinct?: Prisma.LicenceScalarFieldEnum | Prisma.LicenceScalarFieldEnum[] } /** * licence findFirstOrThrow */ export type licenceFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the licence */ select?: Prisma.licenceSelect | null /** * Omit specific fields from the licence */ omit?: Prisma.licenceOmit | null /** * Filter, which licence to fetch. */ where?: Prisma.licenceWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of licences to fetch. */ orderBy?: Prisma.licenceOrderByWithRelationInput | Prisma.licenceOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for licences. */ cursor?: Prisma.licenceWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` licences 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` licences. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of licences. */ distinct?: Prisma.LicenceScalarFieldEnum | Prisma.LicenceScalarFieldEnum[] } /** * licence findMany */ export type licenceFindManyArgs = { /** * Select specific fields to fetch from the licence */ select?: Prisma.licenceSelect | null /** * Omit specific fields from the licence */ omit?: Prisma.licenceOmit | null /** * Filter, which licences to fetch. */ where?: Prisma.licenceWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of licences to fetch. */ orderBy?: Prisma.licenceOrderByWithRelationInput | Prisma.licenceOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing licences. */ cursor?: Prisma.licenceWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` licences 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` licences. */ skip?: number distinct?: Prisma.LicenceScalarFieldEnum | Prisma.LicenceScalarFieldEnum[] } /** * licence create */ export type licenceCreateArgs = { /** * Select specific fields to fetch from the licence */ select?: Prisma.licenceSelect | null /** * Omit specific fields from the licence */ omit?: Prisma.licenceOmit | null /** * The data needed to create a licence. */ data: Prisma.XOR } /** * licence createMany */ export type licenceCreateManyArgs = { /** * The data used to create many licences. */ data: Prisma.licenceCreateManyInput | Prisma.licenceCreateManyInput[] skipDuplicates?: boolean } /** * licence update */ export type licenceUpdateArgs = { /** * Select specific fields to fetch from the licence */ select?: Prisma.licenceSelect | null /** * Omit specific fields from the licence */ omit?: Prisma.licenceOmit | null /** * The data needed to update a licence. */ data: Prisma.XOR /** * Choose, which licence to update. */ where: Prisma.licenceWhereUniqueInput } /** * licence updateMany */ export type licenceUpdateManyArgs = { /** * The data used to update licences. */ data: Prisma.XOR /** * Filter which licences to update */ where?: Prisma.licenceWhereInput /** * Limit how many licences to update. */ limit?: number } /** * licence upsert */ export type licenceUpsertArgs = { /** * Select specific fields to fetch from the licence */ select?: Prisma.licenceSelect | null /** * Omit specific fields from the licence */ omit?: Prisma.licenceOmit | null /** * The filter to search for the licence to update in case it exists. */ where: Prisma.licenceWhereUniqueInput /** * In case the licence found by the `where` argument doesn't exist, create a new licence with this data. */ create: Prisma.XOR /** * In case the licence was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * licence delete */ export type licenceDeleteArgs = { /** * Select specific fields to fetch from the licence */ select?: Prisma.licenceSelect | null /** * Omit specific fields from the licence */ omit?: Prisma.licenceOmit | null /** * Filter which licence to delete. */ where: Prisma.licenceWhereUniqueInput } /** * licence deleteMany */ export type licenceDeleteManyArgs = { /** * Filter which licences to delete */ where?: Prisma.licenceWhereInput /** * Limit how many licences to delete. */ limit?: number } /** * licence without action */ export type licenceDefaultArgs = { /** * Select specific fields to fetch from the licence */ select?: Prisma.licenceSelect | null /** * Omit specific fields from the licence */ omit?: Prisma.licenceOmit | null }