1112 lines
38 KiB
TypeScript
1112 lines
38 KiB
TypeScript
|
|
/* !!! 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<Prisma.$licence_keyPayload>
|
|
|
|
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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* 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<T extends Licence_keyAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateLicence_key]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateLicence_key[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateLicence_key[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type licence_keyGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
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<T extends licence_keyGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<Licence_keyGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof Licence_keyGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], Licence_keyGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], Licence_keyGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "licence_id" | "licence_key" | "date" | "date_expire" | "comment", ExtArgs["result"]["licence_key"]>
|
|
|
|
export type $licence_keyPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
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<S extends boolean | null | undefined | licence_keyDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$licence_keyPayload, S>
|
|
|
|
export type licence_keyCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<licence_keyFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: Licence_keyCountAggregateInputType | true
|
|
}
|
|
|
|
export interface licence_keyDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['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<T extends licence_keyFindUniqueArgs>(args: Prisma.SelectSubset<T, licence_keyFindUniqueArgs<ExtArgs>>): Prisma.Prisma__licence_keyClient<runtime.Types.Result.GetResult<Prisma.$licence_keyPayload<ExtArgs>, 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<T extends licence_keyFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, licence_keyFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__licence_keyClient<runtime.Types.Result.GetResult<Prisma.$licence_keyPayload<ExtArgs>, 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<T extends licence_keyFindFirstArgs>(args?: Prisma.SelectSubset<T, licence_keyFindFirstArgs<ExtArgs>>): Prisma.Prisma__licence_keyClient<runtime.Types.Result.GetResult<Prisma.$licence_keyPayload<ExtArgs>, 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<T extends licence_keyFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, licence_keyFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__licence_keyClient<runtime.Types.Result.GetResult<Prisma.$licence_keyPayload<ExtArgs>, 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<T extends licence_keyFindManyArgs>(args?: Prisma.SelectSubset<T, licence_keyFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$licence_keyPayload<ExtArgs>, 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<T extends licence_keyCreateArgs>(args: Prisma.SelectSubset<T, licence_keyCreateArgs<ExtArgs>>): Prisma.Prisma__licence_keyClient<runtime.Types.Result.GetResult<Prisma.$licence_keyPayload<ExtArgs>, 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<T extends licence_keyCreateManyArgs>(args?: Prisma.SelectSubset<T, licence_keyCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends licence_keyDeleteArgs>(args: Prisma.SelectSubset<T, licence_keyDeleteArgs<ExtArgs>>): Prisma.Prisma__licence_keyClient<runtime.Types.Result.GetResult<Prisma.$licence_keyPayload<ExtArgs>, 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<T extends licence_keyUpdateArgs>(args: Prisma.SelectSubset<T, licence_keyUpdateArgs<ExtArgs>>): Prisma.Prisma__licence_keyClient<runtime.Types.Result.GetResult<Prisma.$licence_keyPayload<ExtArgs>, 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<T extends licence_keyDeleteManyArgs>(args?: Prisma.SelectSubset<T, licence_keyDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends licence_keyUpdateManyArgs>(args: Prisma.SelectSubset<T, licence_keyUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends licence_keyUpsertArgs>(args: Prisma.SelectSubset<T, licence_keyUpsertArgs<ExtArgs>>): Prisma.Prisma__licence_keyClient<runtime.Types.Result.GetResult<Prisma.$licence_keyPayload<ExtArgs>, 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<T extends licence_keyCountArgs>(
|
|
args?: Prisma.Subset<T, licence_keyCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], Licence_keyCountAggregateOutputType>
|
|
: 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<T extends Licence_keyAggregateArgs>(args: Prisma.Subset<T, Licence_keyAggregateArgs>): Prisma.PrismaPromise<GetLicence_keyAggregateType<T>>
|
|
|
|
/**
|
|
* 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<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: licence_keyGroupByArgs['orderBy'] }
|
|
: { orderBy?: licence_keyGroupByArgs['orderBy'] },
|
|
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
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<T>
|
|
? 'orderBy' extends Prisma.Keys<T>
|
|
? 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<T>
|
|
? 'orderBy' extends Prisma.Keys<T>
|
|
? 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<T, licence_keyGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetLicence_keyGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* 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<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
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<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
|
|
/**
|
|
* 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<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
/**
|
|
* 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<T>
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
* 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the licence_key
|
|
*/
|
|
select?: Prisma.licence_keySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the licence_key
|
|
*/
|
|
omit?: Prisma.licence_keyOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which licence_key to fetch.
|
|
*/
|
|
where: Prisma.licence_keyWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* licence_key findUniqueOrThrow
|
|
*/
|
|
export type licence_keyFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the licence_key
|
|
*/
|
|
select?: Prisma.licence_keySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the licence_key
|
|
*/
|
|
omit?: Prisma.licence_keyOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which licence_key to fetch.
|
|
*/
|
|
where: Prisma.licence_keyWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* licence_key findFirst
|
|
*/
|
|
export type licence_keyFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the licence_key
|
|
*/
|
|
select?: Prisma.licence_keySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the licence_key
|
|
*/
|
|
omit?: Prisma.licence_keyOmit<ExtArgs> | 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the licence_key
|
|
*/
|
|
select?: Prisma.licence_keySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the licence_key
|
|
*/
|
|
omit?: Prisma.licence_keyOmit<ExtArgs> | 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the licence_key
|
|
*/
|
|
select?: Prisma.licence_keySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the licence_key
|
|
*/
|
|
omit?: Prisma.licence_keyOmit<ExtArgs> | 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the licence_key
|
|
*/
|
|
select?: Prisma.licence_keySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the licence_key
|
|
*/
|
|
omit?: Prisma.licence_keyOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a licence_key.
|
|
*/
|
|
data: Prisma.XOR<Prisma.licence_keyCreateInput, Prisma.licence_keyUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* licence_key createMany
|
|
*/
|
|
export type licence_keyCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many licence_keys.
|
|
*/
|
|
data: Prisma.licence_keyCreateManyInput | Prisma.licence_keyCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* licence_key update
|
|
*/
|
|
export type licence_keyUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the licence_key
|
|
*/
|
|
select?: Prisma.licence_keySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the licence_key
|
|
*/
|
|
omit?: Prisma.licence_keyOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a licence_key.
|
|
*/
|
|
data: Prisma.XOR<Prisma.licence_keyUpdateInput, Prisma.licence_keyUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which licence_key to update.
|
|
*/
|
|
where: Prisma.licence_keyWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* licence_key updateMany
|
|
*/
|
|
export type licence_keyUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update licence_keys.
|
|
*/
|
|
data: Prisma.XOR<Prisma.licence_keyUpdateManyMutationInput, Prisma.licence_keyUncheckedUpdateManyInput>
|
|
/**
|
|
* 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the licence_key
|
|
*/
|
|
select?: Prisma.licence_keySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the licence_key
|
|
*/
|
|
omit?: Prisma.licence_keyOmit<ExtArgs> | 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<Prisma.licence_keyCreateInput, Prisma.licence_keyUncheckedCreateInput>
|
|
/**
|
|
* In case the licence_key was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.licence_keyUpdateInput, Prisma.licence_keyUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* licence_key delete
|
|
*/
|
|
export type licence_keyDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the licence_key
|
|
*/
|
|
select?: Prisma.licence_keySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the licence_key
|
|
*/
|
|
omit?: Prisma.licence_keyOmit<ExtArgs> | null
|
|
/**
|
|
* Filter which licence_key to delete.
|
|
*/
|
|
where: Prisma.licence_keyWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* licence_key deleteMany
|
|
*/
|
|
export type licence_keyDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the licence_key
|
|
*/
|
|
select?: Prisma.licence_keySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the licence_key
|
|
*/
|
|
omit?: Prisma.licence_keyOmit<ExtArgs> | null
|
|
}
|