Files
portal/src/lib/generated/prisma/models/SubscriptionLevel.ts
T
2026-03-25 17:26:09 -05:00

1298 lines
49 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 `SubscriptionLevel` 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.ts"
import type * as Prisma from "../internal/prismaNamespace.ts"
/**
* Model SubscriptionLevel
*
*/
export type SubscriptionLevelModel = runtime.Types.Result.DefaultSelection<Prisma.$SubscriptionLevelPayload>
export type AggregateSubscriptionLevel = {
_count: SubscriptionLevelCountAggregateOutputType | null
_avg: SubscriptionLevelAvgAggregateOutputType | null
_sum: SubscriptionLevelSumAggregateOutputType | null
_min: SubscriptionLevelMinAggregateOutputType | null
_max: SubscriptionLevelMaxAggregateOutputType | null
}
export type SubscriptionLevelAvgAggregateOutputType = {
id: number | null
}
export type SubscriptionLevelSumAggregateOutputType = {
id: number | null
}
export type SubscriptionLevelMinAggregateOutputType = {
id: number | null
name: string | null
description: string | null
}
export type SubscriptionLevelMaxAggregateOutputType = {
id: number | null
name: string | null
description: string | null
}
export type SubscriptionLevelCountAggregateOutputType = {
id: number
name: number
description: number
_all: number
}
export type SubscriptionLevelAvgAggregateInputType = {
id?: true
}
export type SubscriptionLevelSumAggregateInputType = {
id?: true
}
export type SubscriptionLevelMinAggregateInputType = {
id?: true
name?: true
description?: true
}
export type SubscriptionLevelMaxAggregateInputType = {
id?: true
name?: true
description?: true
}
export type SubscriptionLevelCountAggregateInputType = {
id?: true
name?: true
description?: true
_all?: true
}
export type SubscriptionLevelAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which SubscriptionLevel to aggregate.
*/
where?: Prisma.SubscriptionLevelWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of SubscriptionLevels to fetch.
*/
orderBy?: Prisma.SubscriptionLevelOrderByWithRelationInput | Prisma.SubscriptionLevelOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the start position
*/
cursor?: Prisma.SubscriptionLevelWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` SubscriptionLevels 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` SubscriptionLevels.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Count returned SubscriptionLevels
**/
_count?: true | SubscriptionLevelCountAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to average
**/
_avg?: SubscriptionLevelAvgAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to sum
**/
_sum?: SubscriptionLevelSumAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the minimum value
**/
_min?: SubscriptionLevelMinAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the maximum value
**/
_max?: SubscriptionLevelMaxAggregateInputType
}
export type GetSubscriptionLevelAggregateType<T extends SubscriptionLevelAggregateArgs> = {
[P in keyof T & keyof AggregateSubscriptionLevel]: P extends '_count' | 'count'
? T[P] extends true
? number
: Prisma.GetScalarType<T[P], AggregateSubscriptionLevel[P]>
: Prisma.GetScalarType<T[P], AggregateSubscriptionLevel[P]>
}
export type SubscriptionLevelGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.SubscriptionLevelWhereInput
orderBy?: Prisma.SubscriptionLevelOrderByWithAggregationInput | Prisma.SubscriptionLevelOrderByWithAggregationInput[]
by: Prisma.SubscriptionLevelScalarFieldEnum[] | Prisma.SubscriptionLevelScalarFieldEnum
having?: Prisma.SubscriptionLevelScalarWhereWithAggregatesInput
take?: number
skip?: number
_count?: SubscriptionLevelCountAggregateInputType | true
_avg?: SubscriptionLevelAvgAggregateInputType
_sum?: SubscriptionLevelSumAggregateInputType
_min?: SubscriptionLevelMinAggregateInputType
_max?: SubscriptionLevelMaxAggregateInputType
}
export type SubscriptionLevelGroupByOutputType = {
id: number
name: string
description: string | null
_count: SubscriptionLevelCountAggregateOutputType | null
_avg: SubscriptionLevelAvgAggregateOutputType | null
_sum: SubscriptionLevelSumAggregateOutputType | null
_min: SubscriptionLevelMinAggregateOutputType | null
_max: SubscriptionLevelMaxAggregateOutputType | null
}
type GetSubscriptionLevelGroupByPayload<T extends SubscriptionLevelGroupByArgs> = Prisma.PrismaPromise<
Array<
Prisma.PickEnumerable<SubscriptionLevelGroupByOutputType, T['by']> &
{
[P in ((keyof T) & (keyof SubscriptionLevelGroupByOutputType))]: P extends '_count'
? T[P] extends boolean
? number
: Prisma.GetScalarType<T[P], SubscriptionLevelGroupByOutputType[P]>
: Prisma.GetScalarType<T[P], SubscriptionLevelGroupByOutputType[P]>
}
>
>
export type SubscriptionLevelWhereInput = {
AND?: Prisma.SubscriptionLevelWhereInput | Prisma.SubscriptionLevelWhereInput[]
OR?: Prisma.SubscriptionLevelWhereInput[]
NOT?: Prisma.SubscriptionLevelWhereInput | Prisma.SubscriptionLevelWhereInput[]
id?: Prisma.IntFilter<"SubscriptionLevel"> | number
name?: Prisma.StringFilter<"SubscriptionLevel"> | string
description?: Prisma.StringNullableFilter<"SubscriptionLevel"> | string | null
proclamations?: Prisma.ProclamationListRelationFilter
}
export type SubscriptionLevelOrderByWithRelationInput = {
id?: Prisma.SortOrder
name?: Prisma.SortOrder
description?: Prisma.SortOrderInput | Prisma.SortOrder
proclamations?: Prisma.ProclamationOrderByRelationAggregateInput
}
export type SubscriptionLevelWhereUniqueInput = Prisma.AtLeast<{
id?: number
AND?: Prisma.SubscriptionLevelWhereInput | Prisma.SubscriptionLevelWhereInput[]
OR?: Prisma.SubscriptionLevelWhereInput[]
NOT?: Prisma.SubscriptionLevelWhereInput | Prisma.SubscriptionLevelWhereInput[]
name?: Prisma.StringFilter<"SubscriptionLevel"> | string
description?: Prisma.StringNullableFilter<"SubscriptionLevel"> | string | null
proclamations?: Prisma.ProclamationListRelationFilter
}, "id">
export type SubscriptionLevelOrderByWithAggregationInput = {
id?: Prisma.SortOrder
name?: Prisma.SortOrder
description?: Prisma.SortOrderInput | Prisma.SortOrder
_count?: Prisma.SubscriptionLevelCountOrderByAggregateInput
_avg?: Prisma.SubscriptionLevelAvgOrderByAggregateInput
_max?: Prisma.SubscriptionLevelMaxOrderByAggregateInput
_min?: Prisma.SubscriptionLevelMinOrderByAggregateInput
_sum?: Prisma.SubscriptionLevelSumOrderByAggregateInput
}
export type SubscriptionLevelScalarWhereWithAggregatesInput = {
AND?: Prisma.SubscriptionLevelScalarWhereWithAggregatesInput | Prisma.SubscriptionLevelScalarWhereWithAggregatesInput[]
OR?: Prisma.SubscriptionLevelScalarWhereWithAggregatesInput[]
NOT?: Prisma.SubscriptionLevelScalarWhereWithAggregatesInput | Prisma.SubscriptionLevelScalarWhereWithAggregatesInput[]
id?: Prisma.IntWithAggregatesFilter<"SubscriptionLevel"> | number
name?: Prisma.StringWithAggregatesFilter<"SubscriptionLevel"> | string
description?: Prisma.StringNullableWithAggregatesFilter<"SubscriptionLevel"> | string | null
}
export type SubscriptionLevelCreateInput = {
name: string
description?: string | null
proclamations?: Prisma.ProclamationCreateNestedManyWithoutSubscriptionLevelInput
}
export type SubscriptionLevelUncheckedCreateInput = {
id?: number
name: string
description?: string | null
proclamations?: Prisma.ProclamationUncheckedCreateNestedManyWithoutSubscriptionLevelInput
}
export type SubscriptionLevelUpdateInput = {
name?: Prisma.StringFieldUpdateOperationsInput | string
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
proclamations?: Prisma.ProclamationUpdateManyWithoutSubscriptionLevelNestedInput
}
export type SubscriptionLevelUncheckedUpdateInput = {
id?: Prisma.IntFieldUpdateOperationsInput | number
name?: Prisma.StringFieldUpdateOperationsInput | string
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
proclamations?: Prisma.ProclamationUncheckedUpdateManyWithoutSubscriptionLevelNestedInput
}
export type SubscriptionLevelCreateManyInput = {
id?: number
name: string
description?: string | null
}
export type SubscriptionLevelUpdateManyMutationInput = {
name?: Prisma.StringFieldUpdateOperationsInput | string
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type SubscriptionLevelUncheckedUpdateManyInput = {
id?: Prisma.IntFieldUpdateOperationsInput | number
name?: Prisma.StringFieldUpdateOperationsInput | string
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type SubscriptionLevelScalarRelationFilter = {
is?: Prisma.SubscriptionLevelWhereInput
isNot?: Prisma.SubscriptionLevelWhereInput
}
export type SubscriptionLevelCountOrderByAggregateInput = {
id?: Prisma.SortOrder
name?: Prisma.SortOrder
description?: Prisma.SortOrder
}
export type SubscriptionLevelAvgOrderByAggregateInput = {
id?: Prisma.SortOrder
}
export type SubscriptionLevelMaxOrderByAggregateInput = {
id?: Prisma.SortOrder
name?: Prisma.SortOrder
description?: Prisma.SortOrder
}
export type SubscriptionLevelMinOrderByAggregateInput = {
id?: Prisma.SortOrder
name?: Prisma.SortOrder
description?: Prisma.SortOrder
}
export type SubscriptionLevelSumOrderByAggregateInput = {
id?: Prisma.SortOrder
}
export type SubscriptionLevelCreateNestedOneWithoutProclamationsInput = {
create?: Prisma.XOR<Prisma.SubscriptionLevelCreateWithoutProclamationsInput, Prisma.SubscriptionLevelUncheckedCreateWithoutProclamationsInput>
connectOrCreate?: Prisma.SubscriptionLevelCreateOrConnectWithoutProclamationsInput
connect?: Prisma.SubscriptionLevelWhereUniqueInput
}
export type SubscriptionLevelUpdateOneRequiredWithoutProclamationsNestedInput = {
create?: Prisma.XOR<Prisma.SubscriptionLevelCreateWithoutProclamationsInput, Prisma.SubscriptionLevelUncheckedCreateWithoutProclamationsInput>
connectOrCreate?: Prisma.SubscriptionLevelCreateOrConnectWithoutProclamationsInput
upsert?: Prisma.SubscriptionLevelUpsertWithoutProclamationsInput
connect?: Prisma.SubscriptionLevelWhereUniqueInput
update?: Prisma.XOR<Prisma.XOR<Prisma.SubscriptionLevelUpdateToOneWithWhereWithoutProclamationsInput, Prisma.SubscriptionLevelUpdateWithoutProclamationsInput>, Prisma.SubscriptionLevelUncheckedUpdateWithoutProclamationsInput>
}
export type SubscriptionLevelCreateWithoutProclamationsInput = {
name: string
description?: string | null
}
export type SubscriptionLevelUncheckedCreateWithoutProclamationsInput = {
id?: number
name: string
description?: string | null
}
export type SubscriptionLevelCreateOrConnectWithoutProclamationsInput = {
where: Prisma.SubscriptionLevelWhereUniqueInput
create: Prisma.XOR<Prisma.SubscriptionLevelCreateWithoutProclamationsInput, Prisma.SubscriptionLevelUncheckedCreateWithoutProclamationsInput>
}
export type SubscriptionLevelUpsertWithoutProclamationsInput = {
update: Prisma.XOR<Prisma.SubscriptionLevelUpdateWithoutProclamationsInput, Prisma.SubscriptionLevelUncheckedUpdateWithoutProclamationsInput>
create: Prisma.XOR<Prisma.SubscriptionLevelCreateWithoutProclamationsInput, Prisma.SubscriptionLevelUncheckedCreateWithoutProclamationsInput>
where?: Prisma.SubscriptionLevelWhereInput
}
export type SubscriptionLevelUpdateToOneWithWhereWithoutProclamationsInput = {
where?: Prisma.SubscriptionLevelWhereInput
data: Prisma.XOR<Prisma.SubscriptionLevelUpdateWithoutProclamationsInput, Prisma.SubscriptionLevelUncheckedUpdateWithoutProclamationsInput>
}
export type SubscriptionLevelUpdateWithoutProclamationsInput = {
name?: Prisma.StringFieldUpdateOperationsInput | string
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type SubscriptionLevelUncheckedUpdateWithoutProclamationsInput = {
id?: Prisma.IntFieldUpdateOperationsInput | number
name?: Prisma.StringFieldUpdateOperationsInput | string
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
/**
* Count Type SubscriptionLevelCountOutputType
*/
export type SubscriptionLevelCountOutputType = {
proclamations: number
}
export type SubscriptionLevelCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
proclamations?: boolean | SubscriptionLevelCountOutputTypeCountProclamationsArgs
}
/**
* SubscriptionLevelCountOutputType without action
*/
export type SubscriptionLevelCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the SubscriptionLevelCountOutputType
*/
select?: Prisma.SubscriptionLevelCountOutputTypeSelect<ExtArgs> | null
}
/**
* SubscriptionLevelCountOutputType without action
*/
export type SubscriptionLevelCountOutputTypeCountProclamationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.ProclamationWhereInput
}
export type SubscriptionLevelSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
name?: boolean
description?: boolean
proclamations?: boolean | Prisma.SubscriptionLevel$proclamationsArgs<ExtArgs>
_count?: boolean | Prisma.SubscriptionLevelCountOutputTypeDefaultArgs<ExtArgs>
}, ExtArgs["result"]["subscriptionLevel"]>
export type SubscriptionLevelSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
name?: boolean
description?: boolean
}, ExtArgs["result"]["subscriptionLevel"]>
export type SubscriptionLevelSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
name?: boolean
description?: boolean
}, ExtArgs["result"]["subscriptionLevel"]>
export type SubscriptionLevelSelectScalar = {
id?: boolean
name?: boolean
description?: boolean
}
export type SubscriptionLevelOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "description", ExtArgs["result"]["subscriptionLevel"]>
export type SubscriptionLevelInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
proclamations?: boolean | Prisma.SubscriptionLevel$proclamationsArgs<ExtArgs>
_count?: boolean | Prisma.SubscriptionLevelCountOutputTypeDefaultArgs<ExtArgs>
}
export type SubscriptionLevelIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
export type SubscriptionLevelIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
export type $SubscriptionLevelPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
name: "SubscriptionLevel"
objects: {
proclamations: Prisma.$ProclamationPayload<ExtArgs>[]
}
scalars: runtime.Types.Extensions.GetPayloadResult<{
id: number
name: string
description: string | null
}, ExtArgs["result"]["subscriptionLevel"]>
composites: {}
}
export type SubscriptionLevelGetPayload<S extends boolean | null | undefined | SubscriptionLevelDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$SubscriptionLevelPayload, S>
export type SubscriptionLevelCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
Omit<SubscriptionLevelFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
select?: SubscriptionLevelCountAggregateInputType | true
}
export interface SubscriptionLevelDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['SubscriptionLevel'], meta: { name: 'SubscriptionLevel' } }
/**
* Find zero or one SubscriptionLevel that matches the filter.
* @param {SubscriptionLevelFindUniqueArgs} args - Arguments to find a SubscriptionLevel
* @example
* // Get one SubscriptionLevel
* const subscriptionLevel = await prisma.subscriptionLevel.findUnique({
* where: {
* // ... provide filter here
* }
* })
*/
findUnique<T extends SubscriptionLevelFindUniqueArgs>(args: Prisma.SelectSubset<T, SubscriptionLevelFindUniqueArgs<ExtArgs>>): Prisma.Prisma__SubscriptionLevelClient<runtime.Types.Result.GetResult<Prisma.$SubscriptionLevelPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find one SubscriptionLevel that matches the filter or throw an error with `error.code='P2025'`
* if no matches were found.
* @param {SubscriptionLevelFindUniqueOrThrowArgs} args - Arguments to find a SubscriptionLevel
* @example
* // Get one SubscriptionLevel
* const subscriptionLevel = await prisma.subscriptionLevel.findUniqueOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findUniqueOrThrow<T extends SubscriptionLevelFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, SubscriptionLevelFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__SubscriptionLevelClient<runtime.Types.Result.GetResult<Prisma.$SubscriptionLevelPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find the first SubscriptionLevel 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 {SubscriptionLevelFindFirstArgs} args - Arguments to find a SubscriptionLevel
* @example
* // Get one SubscriptionLevel
* const subscriptionLevel = await prisma.subscriptionLevel.findFirst({
* where: {
* // ... provide filter here
* }
* })
*/
findFirst<T extends SubscriptionLevelFindFirstArgs>(args?: Prisma.SelectSubset<T, SubscriptionLevelFindFirstArgs<ExtArgs>>): Prisma.Prisma__SubscriptionLevelClient<runtime.Types.Result.GetResult<Prisma.$SubscriptionLevelPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find the first SubscriptionLevel 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 {SubscriptionLevelFindFirstOrThrowArgs} args - Arguments to find a SubscriptionLevel
* @example
* // Get one SubscriptionLevel
* const subscriptionLevel = await prisma.subscriptionLevel.findFirstOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findFirstOrThrow<T extends SubscriptionLevelFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, SubscriptionLevelFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__SubscriptionLevelClient<runtime.Types.Result.GetResult<Prisma.$SubscriptionLevelPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find zero or more SubscriptionLevels 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 {SubscriptionLevelFindManyArgs} args - Arguments to filter and select certain fields only.
* @example
* // Get all SubscriptionLevels
* const subscriptionLevels = await prisma.subscriptionLevel.findMany()
*
* // Get first 10 SubscriptionLevels
* const subscriptionLevels = await prisma.subscriptionLevel.findMany({ take: 10 })
*
* // Only select the `id`
* const subscriptionLevelWithIdOnly = await prisma.subscriptionLevel.findMany({ select: { id: true } })
*
*/
findMany<T extends SubscriptionLevelFindManyArgs>(args?: Prisma.SelectSubset<T, SubscriptionLevelFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SubscriptionLevelPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
/**
* Create a SubscriptionLevel.
* @param {SubscriptionLevelCreateArgs} args - Arguments to create a SubscriptionLevel.
* @example
* // Create one SubscriptionLevel
* const SubscriptionLevel = await prisma.subscriptionLevel.create({
* data: {
* // ... data to create a SubscriptionLevel
* }
* })
*
*/
create<T extends SubscriptionLevelCreateArgs>(args: Prisma.SelectSubset<T, SubscriptionLevelCreateArgs<ExtArgs>>): Prisma.Prisma__SubscriptionLevelClient<runtime.Types.Result.GetResult<Prisma.$SubscriptionLevelPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Create many SubscriptionLevels.
* @param {SubscriptionLevelCreateManyArgs} args - Arguments to create many SubscriptionLevels.
* @example
* // Create many SubscriptionLevels
* const subscriptionLevel = await prisma.subscriptionLevel.createMany({
* data: [
* // ... provide data here
* ]
* })
*
*/
createMany<T extends SubscriptionLevelCreateManyArgs>(args?: Prisma.SelectSubset<T, SubscriptionLevelCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Create many SubscriptionLevels and returns the data saved in the database.
* @param {SubscriptionLevelCreateManyAndReturnArgs} args - Arguments to create many SubscriptionLevels.
* @example
* // Create many SubscriptionLevels
* const subscriptionLevel = await prisma.subscriptionLevel.createManyAndReturn({
* data: [
* // ... provide data here
* ]
* })
*
* // Create many SubscriptionLevels and only return the `id`
* const subscriptionLevelWithIdOnly = await prisma.subscriptionLevel.createManyAndReturn({
* select: { id: true },
* data: [
* // ... provide data here
* ]
* })
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
*
*/
createManyAndReturn<T extends SubscriptionLevelCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, SubscriptionLevelCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SubscriptionLevelPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
/**
* Delete a SubscriptionLevel.
* @param {SubscriptionLevelDeleteArgs} args - Arguments to delete one SubscriptionLevel.
* @example
* // Delete one SubscriptionLevel
* const SubscriptionLevel = await prisma.subscriptionLevel.delete({
* where: {
* // ... filter to delete one SubscriptionLevel
* }
* })
*
*/
delete<T extends SubscriptionLevelDeleteArgs>(args: Prisma.SelectSubset<T, SubscriptionLevelDeleteArgs<ExtArgs>>): Prisma.Prisma__SubscriptionLevelClient<runtime.Types.Result.GetResult<Prisma.$SubscriptionLevelPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Update one SubscriptionLevel.
* @param {SubscriptionLevelUpdateArgs} args - Arguments to update one SubscriptionLevel.
* @example
* // Update one SubscriptionLevel
* const subscriptionLevel = await prisma.subscriptionLevel.update({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
update<T extends SubscriptionLevelUpdateArgs>(args: Prisma.SelectSubset<T, SubscriptionLevelUpdateArgs<ExtArgs>>): Prisma.Prisma__SubscriptionLevelClient<runtime.Types.Result.GetResult<Prisma.$SubscriptionLevelPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Delete zero or more SubscriptionLevels.
* @param {SubscriptionLevelDeleteManyArgs} args - Arguments to filter SubscriptionLevels to delete.
* @example
* // Delete a few SubscriptionLevels
* const { count } = await prisma.subscriptionLevel.deleteMany({
* where: {
* // ... provide filter here
* }
* })
*
*/
deleteMany<T extends SubscriptionLevelDeleteManyArgs>(args?: Prisma.SelectSubset<T, SubscriptionLevelDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more SubscriptionLevels.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {SubscriptionLevelUpdateManyArgs} args - Arguments to update one or more rows.
* @example
* // Update many SubscriptionLevels
* const subscriptionLevel = await prisma.subscriptionLevel.updateMany({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
updateMany<T extends SubscriptionLevelUpdateManyArgs>(args: Prisma.SelectSubset<T, SubscriptionLevelUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more SubscriptionLevels and returns the data updated in the database.
* @param {SubscriptionLevelUpdateManyAndReturnArgs} args - Arguments to update many SubscriptionLevels.
* @example
* // Update many SubscriptionLevels
* const subscriptionLevel = await prisma.subscriptionLevel.updateManyAndReturn({
* where: {
* // ... provide filter here
* },
* data: [
* // ... provide data here
* ]
* })
*
* // Update zero or more SubscriptionLevels and only return the `id`
* const subscriptionLevelWithIdOnly = await prisma.subscriptionLevel.updateManyAndReturn({
* select: { id: true },
* where: {
* // ... provide filter here
* },
* data: [
* // ... provide data here
* ]
* })
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
*
*/
updateManyAndReturn<T extends SubscriptionLevelUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, SubscriptionLevelUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SubscriptionLevelPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
/**
* Create or update one SubscriptionLevel.
* @param {SubscriptionLevelUpsertArgs} args - Arguments to update or create a SubscriptionLevel.
* @example
* // Update or create a SubscriptionLevel
* const subscriptionLevel = await prisma.subscriptionLevel.upsert({
* create: {
* // ... data to create a SubscriptionLevel
* },
* update: {
* // ... in case it already exists, update
* },
* where: {
* // ... the filter for the SubscriptionLevel we want to update
* }
* })
*/
upsert<T extends SubscriptionLevelUpsertArgs>(args: Prisma.SelectSubset<T, SubscriptionLevelUpsertArgs<ExtArgs>>): Prisma.Prisma__SubscriptionLevelClient<runtime.Types.Result.GetResult<Prisma.$SubscriptionLevelPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Count the number of SubscriptionLevels.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {SubscriptionLevelCountArgs} args - Arguments to filter SubscriptionLevels to count.
* @example
* // Count the number of SubscriptionLevels
* const count = await prisma.subscriptionLevel.count({
* where: {
* // ... the filter for the SubscriptionLevels we want to count
* }
* })
**/
count<T extends SubscriptionLevelCountArgs>(
args?: Prisma.Subset<T, SubscriptionLevelCountArgs>,
): Prisma.PrismaPromise<
T extends runtime.Types.Utils.Record<'select', any>
? T['select'] extends true
? number
: Prisma.GetScalarType<T['select'], SubscriptionLevelCountAggregateOutputType>
: number
>
/**
* Allows you to perform aggregations operations on a SubscriptionLevel.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {SubscriptionLevelAggregateArgs} 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 SubscriptionLevelAggregateArgs>(args: Prisma.Subset<T, SubscriptionLevelAggregateArgs>): Prisma.PrismaPromise<GetSubscriptionLevelAggregateType<T>>
/**
* Group by SubscriptionLevel.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {SubscriptionLevelGroupByArgs} 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 SubscriptionLevelGroupByArgs,
HasSelectOrTake extends Prisma.Or<
Prisma.Extends<'skip', Prisma.Keys<T>>,
Prisma.Extends<'take', Prisma.Keys<T>>
>,
OrderByArg extends Prisma.True extends HasSelectOrTake
? { orderBy: SubscriptionLevelGroupByArgs['orderBy'] }
: { orderBy?: SubscriptionLevelGroupByArgs['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, SubscriptionLevelGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetSubscriptionLevelGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* Fields of the SubscriptionLevel model
*/
readonly fields: SubscriptionLevelFieldRefs;
}
/**
* The delegate class that acts as a "Promise-like" for SubscriptionLevel.
* 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__SubscriptionLevelClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
readonly [Symbol.toStringTag]: "PrismaPromise"
proclamations<T extends Prisma.SubscriptionLevel$proclamationsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.SubscriptionLevel$proclamationsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProclamationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
/**
* 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 SubscriptionLevel model
*/
export interface SubscriptionLevelFieldRefs {
readonly id: Prisma.FieldRef<"SubscriptionLevel", 'Int'>
readonly name: Prisma.FieldRef<"SubscriptionLevel", 'String'>
readonly description: Prisma.FieldRef<"SubscriptionLevel", 'String'>
}
// Custom InputTypes
/**
* SubscriptionLevel findUnique
*/
export type SubscriptionLevelFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the SubscriptionLevel
*/
select?: Prisma.SubscriptionLevelSelect<ExtArgs> | null
/**
* Omit specific fields from the SubscriptionLevel
*/
omit?: Prisma.SubscriptionLevelOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.SubscriptionLevelInclude<ExtArgs> | null
/**
* Filter, which SubscriptionLevel to fetch.
*/
where: Prisma.SubscriptionLevelWhereUniqueInput
}
/**
* SubscriptionLevel findUniqueOrThrow
*/
export type SubscriptionLevelFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the SubscriptionLevel
*/
select?: Prisma.SubscriptionLevelSelect<ExtArgs> | null
/**
* Omit specific fields from the SubscriptionLevel
*/
omit?: Prisma.SubscriptionLevelOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.SubscriptionLevelInclude<ExtArgs> | null
/**
* Filter, which SubscriptionLevel to fetch.
*/
where: Prisma.SubscriptionLevelWhereUniqueInput
}
/**
* SubscriptionLevel findFirst
*/
export type SubscriptionLevelFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the SubscriptionLevel
*/
select?: Prisma.SubscriptionLevelSelect<ExtArgs> | null
/**
* Omit specific fields from the SubscriptionLevel
*/
omit?: Prisma.SubscriptionLevelOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.SubscriptionLevelInclude<ExtArgs> | null
/**
* Filter, which SubscriptionLevel to fetch.
*/
where?: Prisma.SubscriptionLevelWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of SubscriptionLevels to fetch.
*/
orderBy?: Prisma.SubscriptionLevelOrderByWithRelationInput | Prisma.SubscriptionLevelOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for SubscriptionLevels.
*/
cursor?: Prisma.SubscriptionLevelWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` SubscriptionLevels 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` SubscriptionLevels.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of SubscriptionLevels.
*/
distinct?: Prisma.SubscriptionLevelScalarFieldEnum | Prisma.SubscriptionLevelScalarFieldEnum[]
}
/**
* SubscriptionLevel findFirstOrThrow
*/
export type SubscriptionLevelFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the SubscriptionLevel
*/
select?: Prisma.SubscriptionLevelSelect<ExtArgs> | null
/**
* Omit specific fields from the SubscriptionLevel
*/
omit?: Prisma.SubscriptionLevelOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.SubscriptionLevelInclude<ExtArgs> | null
/**
* Filter, which SubscriptionLevel to fetch.
*/
where?: Prisma.SubscriptionLevelWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of SubscriptionLevels to fetch.
*/
orderBy?: Prisma.SubscriptionLevelOrderByWithRelationInput | Prisma.SubscriptionLevelOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for SubscriptionLevels.
*/
cursor?: Prisma.SubscriptionLevelWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` SubscriptionLevels 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` SubscriptionLevels.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of SubscriptionLevels.
*/
distinct?: Prisma.SubscriptionLevelScalarFieldEnum | Prisma.SubscriptionLevelScalarFieldEnum[]
}
/**
* SubscriptionLevel findMany
*/
export type SubscriptionLevelFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the SubscriptionLevel
*/
select?: Prisma.SubscriptionLevelSelect<ExtArgs> | null
/**
* Omit specific fields from the SubscriptionLevel
*/
omit?: Prisma.SubscriptionLevelOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.SubscriptionLevelInclude<ExtArgs> | null
/**
* Filter, which SubscriptionLevels to fetch.
*/
where?: Prisma.SubscriptionLevelWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of SubscriptionLevels to fetch.
*/
orderBy?: Prisma.SubscriptionLevelOrderByWithRelationInput | Prisma.SubscriptionLevelOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for listing SubscriptionLevels.
*/
cursor?: Prisma.SubscriptionLevelWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` SubscriptionLevels 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` SubscriptionLevels.
*/
skip?: number
distinct?: Prisma.SubscriptionLevelScalarFieldEnum | Prisma.SubscriptionLevelScalarFieldEnum[]
}
/**
* SubscriptionLevel create
*/
export type SubscriptionLevelCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the SubscriptionLevel
*/
select?: Prisma.SubscriptionLevelSelect<ExtArgs> | null
/**
* Omit specific fields from the SubscriptionLevel
*/
omit?: Prisma.SubscriptionLevelOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.SubscriptionLevelInclude<ExtArgs> | null
/**
* The data needed to create a SubscriptionLevel.
*/
data: Prisma.XOR<Prisma.SubscriptionLevelCreateInput, Prisma.SubscriptionLevelUncheckedCreateInput>
}
/**
* SubscriptionLevel createMany
*/
export type SubscriptionLevelCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to create many SubscriptionLevels.
*/
data: Prisma.SubscriptionLevelCreateManyInput | Prisma.SubscriptionLevelCreateManyInput[]
skipDuplicates?: boolean
}
/**
* SubscriptionLevel createManyAndReturn
*/
export type SubscriptionLevelCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the SubscriptionLevel
*/
select?: Prisma.SubscriptionLevelSelectCreateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the SubscriptionLevel
*/
omit?: Prisma.SubscriptionLevelOmit<ExtArgs> | null
/**
* The data used to create many SubscriptionLevels.
*/
data: Prisma.SubscriptionLevelCreateManyInput | Prisma.SubscriptionLevelCreateManyInput[]
skipDuplicates?: boolean
}
/**
* SubscriptionLevel update
*/
export type SubscriptionLevelUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the SubscriptionLevel
*/
select?: Prisma.SubscriptionLevelSelect<ExtArgs> | null
/**
* Omit specific fields from the SubscriptionLevel
*/
omit?: Prisma.SubscriptionLevelOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.SubscriptionLevelInclude<ExtArgs> | null
/**
* The data needed to update a SubscriptionLevel.
*/
data: Prisma.XOR<Prisma.SubscriptionLevelUpdateInput, Prisma.SubscriptionLevelUncheckedUpdateInput>
/**
* Choose, which SubscriptionLevel to update.
*/
where: Prisma.SubscriptionLevelWhereUniqueInput
}
/**
* SubscriptionLevel updateMany
*/
export type SubscriptionLevelUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to update SubscriptionLevels.
*/
data: Prisma.XOR<Prisma.SubscriptionLevelUpdateManyMutationInput, Prisma.SubscriptionLevelUncheckedUpdateManyInput>
/**
* Filter which SubscriptionLevels to update
*/
where?: Prisma.SubscriptionLevelWhereInput
/**
* Limit how many SubscriptionLevels to update.
*/
limit?: number
}
/**
* SubscriptionLevel updateManyAndReturn
*/
export type SubscriptionLevelUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the SubscriptionLevel
*/
select?: Prisma.SubscriptionLevelSelectUpdateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the SubscriptionLevel
*/
omit?: Prisma.SubscriptionLevelOmit<ExtArgs> | null
/**
* The data used to update SubscriptionLevels.
*/
data: Prisma.XOR<Prisma.SubscriptionLevelUpdateManyMutationInput, Prisma.SubscriptionLevelUncheckedUpdateManyInput>
/**
* Filter which SubscriptionLevels to update
*/
where?: Prisma.SubscriptionLevelWhereInput
/**
* Limit how many SubscriptionLevels to update.
*/
limit?: number
}
/**
* SubscriptionLevel upsert
*/
export type SubscriptionLevelUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the SubscriptionLevel
*/
select?: Prisma.SubscriptionLevelSelect<ExtArgs> | null
/**
* Omit specific fields from the SubscriptionLevel
*/
omit?: Prisma.SubscriptionLevelOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.SubscriptionLevelInclude<ExtArgs> | null
/**
* The filter to search for the SubscriptionLevel to update in case it exists.
*/
where: Prisma.SubscriptionLevelWhereUniqueInput
/**
* In case the SubscriptionLevel found by the `where` argument doesn't exist, create a new SubscriptionLevel with this data.
*/
create: Prisma.XOR<Prisma.SubscriptionLevelCreateInput, Prisma.SubscriptionLevelUncheckedCreateInput>
/**
* In case the SubscriptionLevel was found with the provided `where` argument, update it with this data.
*/
update: Prisma.XOR<Prisma.SubscriptionLevelUpdateInput, Prisma.SubscriptionLevelUncheckedUpdateInput>
}
/**
* SubscriptionLevel delete
*/
export type SubscriptionLevelDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the SubscriptionLevel
*/
select?: Prisma.SubscriptionLevelSelect<ExtArgs> | null
/**
* Omit specific fields from the SubscriptionLevel
*/
omit?: Prisma.SubscriptionLevelOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.SubscriptionLevelInclude<ExtArgs> | null
/**
* Filter which SubscriptionLevel to delete.
*/
where: Prisma.SubscriptionLevelWhereUniqueInput
}
/**
* SubscriptionLevel deleteMany
*/
export type SubscriptionLevelDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which SubscriptionLevels to delete
*/
where?: Prisma.SubscriptionLevelWhereInput
/**
* Limit how many SubscriptionLevels to delete.
*/
limit?: number
}
/**
* SubscriptionLevel.proclamations
*/
export type SubscriptionLevel$proclamationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Proclamation
*/
select?: Prisma.ProclamationSelect<ExtArgs> | null
/**
* Omit specific fields from the Proclamation
*/
omit?: Prisma.ProclamationOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.ProclamationInclude<ExtArgs> | null
where?: Prisma.ProclamationWhereInput
orderBy?: Prisma.ProclamationOrderByWithRelationInput | Prisma.ProclamationOrderByWithRelationInput[]
cursor?: Prisma.ProclamationWhereUniqueInput
take?: number
skip?: number
distinct?: Prisma.ProclamationScalarFieldEnum | Prisma.ProclamationScalarFieldEnum[]
}
/**
* SubscriptionLevel without action
*/
export type SubscriptionLevelDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the SubscriptionLevel
*/
select?: Prisma.SubscriptionLevelSelect<ExtArgs> | null
/**
* Omit specific fields from the SubscriptionLevel
*/
omit?: Prisma.SubscriptionLevelOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.SubscriptionLevelInclude<ExtArgs> | null
}