1577 lines
63 KiB
TypeScript
1577 lines
63 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 `SubscriptionFeature` 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 SubscriptionFeature
|
|
*
|
|
*/
|
|
export type SubscriptionFeatureModel = runtime.Types.Result.DefaultSelection<Prisma.$SubscriptionFeaturePayload>
|
|
|
|
export type AggregateSubscriptionFeature = {
|
|
_count: SubscriptionFeatureCountAggregateOutputType | null
|
|
_avg: SubscriptionFeatureAvgAggregateOutputType | null
|
|
_sum: SubscriptionFeatureSumAggregateOutputType | null
|
|
_min: SubscriptionFeatureMinAggregateOutputType | null
|
|
_max: SubscriptionFeatureMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type SubscriptionFeatureAvgAggregateOutputType = {
|
|
order: number | null
|
|
type: number | null
|
|
value: number | null
|
|
}
|
|
|
|
export type SubscriptionFeatureSumAggregateOutputType = {
|
|
order: number | null
|
|
type: number | null
|
|
value: number | null
|
|
}
|
|
|
|
export type SubscriptionFeatureMinAggregateOutputType = {
|
|
id: string | null
|
|
subscriptionProductId: string | null
|
|
order: number | null
|
|
title: string | null
|
|
name: string | null
|
|
type: number | null
|
|
value: number | null
|
|
href: string | null
|
|
badge: string | null
|
|
accumulate: boolean | null
|
|
}
|
|
|
|
export type SubscriptionFeatureMaxAggregateOutputType = {
|
|
id: string | null
|
|
subscriptionProductId: string | null
|
|
order: number | null
|
|
title: string | null
|
|
name: string | null
|
|
type: number | null
|
|
value: number | null
|
|
href: string | null
|
|
badge: string | null
|
|
accumulate: boolean | null
|
|
}
|
|
|
|
export type SubscriptionFeatureCountAggregateOutputType = {
|
|
id: number
|
|
subscriptionProductId: number
|
|
order: number
|
|
title: number
|
|
name: number
|
|
type: number
|
|
value: number
|
|
href: number
|
|
badge: number
|
|
accumulate: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type SubscriptionFeatureAvgAggregateInputType = {
|
|
order?: true
|
|
type?: true
|
|
value?: true
|
|
}
|
|
|
|
export type SubscriptionFeatureSumAggregateInputType = {
|
|
order?: true
|
|
type?: true
|
|
value?: true
|
|
}
|
|
|
|
export type SubscriptionFeatureMinAggregateInputType = {
|
|
id?: true
|
|
subscriptionProductId?: true
|
|
order?: true
|
|
title?: true
|
|
name?: true
|
|
type?: true
|
|
value?: true
|
|
href?: true
|
|
badge?: true
|
|
accumulate?: true
|
|
}
|
|
|
|
export type SubscriptionFeatureMaxAggregateInputType = {
|
|
id?: true
|
|
subscriptionProductId?: true
|
|
order?: true
|
|
title?: true
|
|
name?: true
|
|
type?: true
|
|
value?: true
|
|
href?: true
|
|
badge?: true
|
|
accumulate?: true
|
|
}
|
|
|
|
export type SubscriptionFeatureCountAggregateInputType = {
|
|
id?: true
|
|
subscriptionProductId?: true
|
|
order?: true
|
|
title?: true
|
|
name?: true
|
|
type?: true
|
|
value?: true
|
|
href?: true
|
|
badge?: true
|
|
accumulate?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type SubscriptionFeatureAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which SubscriptionFeature to aggregate.
|
|
*/
|
|
where?: Prisma.SubscriptionFeatureWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of SubscriptionFeatures to fetch.
|
|
*/
|
|
orderBy?: Prisma.SubscriptionFeatureOrderByWithRelationInput | Prisma.SubscriptionFeatureOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.SubscriptionFeatureWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` SubscriptionFeatures 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` SubscriptionFeatures.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned SubscriptionFeatures
|
|
**/
|
|
_count?: true | SubscriptionFeatureCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to average
|
|
**/
|
|
_avg?: SubscriptionFeatureAvgAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to sum
|
|
**/
|
|
_sum?: SubscriptionFeatureSumAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: SubscriptionFeatureMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: SubscriptionFeatureMaxAggregateInputType
|
|
}
|
|
|
|
export type GetSubscriptionFeatureAggregateType<T extends SubscriptionFeatureAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateSubscriptionFeature]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateSubscriptionFeature[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateSubscriptionFeature[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type SubscriptionFeatureGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.SubscriptionFeatureWhereInput
|
|
orderBy?: Prisma.SubscriptionFeatureOrderByWithAggregationInput | Prisma.SubscriptionFeatureOrderByWithAggregationInput[]
|
|
by: Prisma.SubscriptionFeatureScalarFieldEnum[] | Prisma.SubscriptionFeatureScalarFieldEnum
|
|
having?: Prisma.SubscriptionFeatureScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: SubscriptionFeatureCountAggregateInputType | true
|
|
_avg?: SubscriptionFeatureAvgAggregateInputType
|
|
_sum?: SubscriptionFeatureSumAggregateInputType
|
|
_min?: SubscriptionFeatureMinAggregateInputType
|
|
_max?: SubscriptionFeatureMaxAggregateInputType
|
|
}
|
|
|
|
export type SubscriptionFeatureGroupByOutputType = {
|
|
id: string
|
|
subscriptionProductId: string
|
|
order: number
|
|
title: string
|
|
name: string
|
|
type: number
|
|
value: number
|
|
href: string | null
|
|
badge: string | null
|
|
accumulate: boolean
|
|
_count: SubscriptionFeatureCountAggregateOutputType | null
|
|
_avg: SubscriptionFeatureAvgAggregateOutputType | null
|
|
_sum: SubscriptionFeatureSumAggregateOutputType | null
|
|
_min: SubscriptionFeatureMinAggregateOutputType | null
|
|
_max: SubscriptionFeatureMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type GetSubscriptionFeatureGroupByPayload<T extends SubscriptionFeatureGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<SubscriptionFeatureGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof SubscriptionFeatureGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], SubscriptionFeatureGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], SubscriptionFeatureGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type SubscriptionFeatureWhereInput = {
|
|
AND?: Prisma.SubscriptionFeatureWhereInput | Prisma.SubscriptionFeatureWhereInput[]
|
|
OR?: Prisma.SubscriptionFeatureWhereInput[]
|
|
NOT?: Prisma.SubscriptionFeatureWhereInput | Prisma.SubscriptionFeatureWhereInput[]
|
|
id?: Prisma.StringFilter<"SubscriptionFeature"> | string
|
|
subscriptionProductId?: Prisma.StringFilter<"SubscriptionFeature"> | string
|
|
order?: Prisma.IntFilter<"SubscriptionFeature"> | number
|
|
title?: Prisma.StringFilter<"SubscriptionFeature"> | string
|
|
name?: Prisma.StringFilter<"SubscriptionFeature"> | string
|
|
type?: Prisma.IntFilter<"SubscriptionFeature"> | number
|
|
value?: Prisma.IntFilter<"SubscriptionFeature"> | number
|
|
href?: Prisma.StringNullableFilter<"SubscriptionFeature"> | string | null
|
|
badge?: Prisma.StringNullableFilter<"SubscriptionFeature"> | string | null
|
|
accumulate?: Prisma.BoolFilter<"SubscriptionFeature"> | boolean
|
|
subscriptionProduct?: Prisma.XOR<Prisma.SubscriptionProductScalarRelationFilter, Prisma.SubscriptionProductWhereInput>
|
|
}
|
|
|
|
export type SubscriptionFeatureOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
subscriptionProductId?: Prisma.SortOrder
|
|
order?: Prisma.SortOrder
|
|
title?: Prisma.SortOrder
|
|
name?: Prisma.SortOrder
|
|
type?: Prisma.SortOrder
|
|
value?: Prisma.SortOrder
|
|
href?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
badge?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
accumulate?: Prisma.SortOrder
|
|
subscriptionProduct?: Prisma.SubscriptionProductOrderByWithRelationInput
|
|
}
|
|
|
|
export type SubscriptionFeatureWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: string
|
|
AND?: Prisma.SubscriptionFeatureWhereInput | Prisma.SubscriptionFeatureWhereInput[]
|
|
OR?: Prisma.SubscriptionFeatureWhereInput[]
|
|
NOT?: Prisma.SubscriptionFeatureWhereInput | Prisma.SubscriptionFeatureWhereInput[]
|
|
subscriptionProductId?: Prisma.StringFilter<"SubscriptionFeature"> | string
|
|
order?: Prisma.IntFilter<"SubscriptionFeature"> | number
|
|
title?: Prisma.StringFilter<"SubscriptionFeature"> | string
|
|
name?: Prisma.StringFilter<"SubscriptionFeature"> | string
|
|
type?: Prisma.IntFilter<"SubscriptionFeature"> | number
|
|
value?: Prisma.IntFilter<"SubscriptionFeature"> | number
|
|
href?: Prisma.StringNullableFilter<"SubscriptionFeature"> | string | null
|
|
badge?: Prisma.StringNullableFilter<"SubscriptionFeature"> | string | null
|
|
accumulate?: Prisma.BoolFilter<"SubscriptionFeature"> | boolean
|
|
subscriptionProduct?: Prisma.XOR<Prisma.SubscriptionProductScalarRelationFilter, Prisma.SubscriptionProductWhereInput>
|
|
}, "id">
|
|
|
|
export type SubscriptionFeatureOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
subscriptionProductId?: Prisma.SortOrder
|
|
order?: Prisma.SortOrder
|
|
title?: Prisma.SortOrder
|
|
name?: Prisma.SortOrder
|
|
type?: Prisma.SortOrder
|
|
value?: Prisma.SortOrder
|
|
href?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
badge?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
accumulate?: Prisma.SortOrder
|
|
_count?: Prisma.SubscriptionFeatureCountOrderByAggregateInput
|
|
_avg?: Prisma.SubscriptionFeatureAvgOrderByAggregateInput
|
|
_max?: Prisma.SubscriptionFeatureMaxOrderByAggregateInput
|
|
_min?: Prisma.SubscriptionFeatureMinOrderByAggregateInput
|
|
_sum?: Prisma.SubscriptionFeatureSumOrderByAggregateInput
|
|
}
|
|
|
|
export type SubscriptionFeatureScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.SubscriptionFeatureScalarWhereWithAggregatesInput | Prisma.SubscriptionFeatureScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.SubscriptionFeatureScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.SubscriptionFeatureScalarWhereWithAggregatesInput | Prisma.SubscriptionFeatureScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.StringWithAggregatesFilter<"SubscriptionFeature"> | string
|
|
subscriptionProductId?: Prisma.StringWithAggregatesFilter<"SubscriptionFeature"> | string
|
|
order?: Prisma.IntWithAggregatesFilter<"SubscriptionFeature"> | number
|
|
title?: Prisma.StringWithAggregatesFilter<"SubscriptionFeature"> | string
|
|
name?: Prisma.StringWithAggregatesFilter<"SubscriptionFeature"> | string
|
|
type?: Prisma.IntWithAggregatesFilter<"SubscriptionFeature"> | number
|
|
value?: Prisma.IntWithAggregatesFilter<"SubscriptionFeature"> | number
|
|
href?: Prisma.StringNullableWithAggregatesFilter<"SubscriptionFeature"> | string | null
|
|
badge?: Prisma.StringNullableWithAggregatesFilter<"SubscriptionFeature"> | string | null
|
|
accumulate?: Prisma.BoolWithAggregatesFilter<"SubscriptionFeature"> | boolean
|
|
}
|
|
|
|
export type SubscriptionFeatureCreateInput = {
|
|
id?: string
|
|
order: number
|
|
title: string
|
|
name: string
|
|
type: number
|
|
value: number
|
|
href?: string | null
|
|
badge?: string | null
|
|
accumulate?: boolean
|
|
subscriptionProduct: Prisma.SubscriptionProductCreateNestedOneWithoutFeaturesInput
|
|
}
|
|
|
|
export type SubscriptionFeatureUncheckedCreateInput = {
|
|
id?: string
|
|
subscriptionProductId: string
|
|
order: number
|
|
title: string
|
|
name: string
|
|
type: number
|
|
value: number
|
|
href?: string | null
|
|
badge?: string | null
|
|
accumulate?: boolean
|
|
}
|
|
|
|
export type SubscriptionFeatureUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
order?: Prisma.IntFieldUpdateOperationsInput | number
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.IntFieldUpdateOperationsInput | number
|
|
value?: Prisma.IntFieldUpdateOperationsInput | number
|
|
href?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
badge?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
accumulate?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
subscriptionProduct?: Prisma.SubscriptionProductUpdateOneRequiredWithoutFeaturesNestedInput
|
|
}
|
|
|
|
export type SubscriptionFeatureUncheckedUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
subscriptionProductId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
order?: Prisma.IntFieldUpdateOperationsInput | number
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.IntFieldUpdateOperationsInput | number
|
|
value?: Prisma.IntFieldUpdateOperationsInput | number
|
|
href?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
badge?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
accumulate?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
}
|
|
|
|
export type SubscriptionFeatureCreateManyInput = {
|
|
id?: string
|
|
subscriptionProductId: string
|
|
order: number
|
|
title: string
|
|
name: string
|
|
type: number
|
|
value: number
|
|
href?: string | null
|
|
badge?: string | null
|
|
accumulate?: boolean
|
|
}
|
|
|
|
export type SubscriptionFeatureUpdateManyMutationInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
order?: Prisma.IntFieldUpdateOperationsInput | number
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.IntFieldUpdateOperationsInput | number
|
|
value?: Prisma.IntFieldUpdateOperationsInput | number
|
|
href?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
badge?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
accumulate?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
}
|
|
|
|
export type SubscriptionFeatureUncheckedUpdateManyInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
subscriptionProductId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
order?: Prisma.IntFieldUpdateOperationsInput | number
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.IntFieldUpdateOperationsInput | number
|
|
value?: Prisma.IntFieldUpdateOperationsInput | number
|
|
href?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
badge?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
accumulate?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
}
|
|
|
|
export type SubscriptionFeatureListRelationFilter = {
|
|
every?: Prisma.SubscriptionFeatureWhereInput
|
|
some?: Prisma.SubscriptionFeatureWhereInput
|
|
none?: Prisma.SubscriptionFeatureWhereInput
|
|
}
|
|
|
|
export type SubscriptionFeatureOrderByRelationAggregateInput = {
|
|
_count?: Prisma.SortOrder
|
|
}
|
|
|
|
export type SubscriptionFeatureCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
subscriptionProductId?: Prisma.SortOrder
|
|
order?: Prisma.SortOrder
|
|
title?: Prisma.SortOrder
|
|
name?: Prisma.SortOrder
|
|
type?: Prisma.SortOrder
|
|
value?: Prisma.SortOrder
|
|
href?: Prisma.SortOrder
|
|
badge?: Prisma.SortOrder
|
|
accumulate?: Prisma.SortOrder
|
|
}
|
|
|
|
export type SubscriptionFeatureAvgOrderByAggregateInput = {
|
|
order?: Prisma.SortOrder
|
|
type?: Prisma.SortOrder
|
|
value?: Prisma.SortOrder
|
|
}
|
|
|
|
export type SubscriptionFeatureMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
subscriptionProductId?: Prisma.SortOrder
|
|
order?: Prisma.SortOrder
|
|
title?: Prisma.SortOrder
|
|
name?: Prisma.SortOrder
|
|
type?: Prisma.SortOrder
|
|
value?: Prisma.SortOrder
|
|
href?: Prisma.SortOrder
|
|
badge?: Prisma.SortOrder
|
|
accumulate?: Prisma.SortOrder
|
|
}
|
|
|
|
export type SubscriptionFeatureMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
subscriptionProductId?: Prisma.SortOrder
|
|
order?: Prisma.SortOrder
|
|
title?: Prisma.SortOrder
|
|
name?: Prisma.SortOrder
|
|
type?: Prisma.SortOrder
|
|
value?: Prisma.SortOrder
|
|
href?: Prisma.SortOrder
|
|
badge?: Prisma.SortOrder
|
|
accumulate?: Prisma.SortOrder
|
|
}
|
|
|
|
export type SubscriptionFeatureSumOrderByAggregateInput = {
|
|
order?: Prisma.SortOrder
|
|
type?: Prisma.SortOrder
|
|
value?: Prisma.SortOrder
|
|
}
|
|
|
|
export type SubscriptionFeatureCreateNestedManyWithoutSubscriptionProductInput = {
|
|
create?: Prisma.XOR<Prisma.SubscriptionFeatureCreateWithoutSubscriptionProductInput, Prisma.SubscriptionFeatureUncheckedCreateWithoutSubscriptionProductInput> | Prisma.SubscriptionFeatureCreateWithoutSubscriptionProductInput[] | Prisma.SubscriptionFeatureUncheckedCreateWithoutSubscriptionProductInput[]
|
|
connectOrCreate?: Prisma.SubscriptionFeatureCreateOrConnectWithoutSubscriptionProductInput | Prisma.SubscriptionFeatureCreateOrConnectWithoutSubscriptionProductInput[]
|
|
createMany?: Prisma.SubscriptionFeatureCreateManySubscriptionProductInputEnvelope
|
|
connect?: Prisma.SubscriptionFeatureWhereUniqueInput | Prisma.SubscriptionFeatureWhereUniqueInput[]
|
|
}
|
|
|
|
export type SubscriptionFeatureUncheckedCreateNestedManyWithoutSubscriptionProductInput = {
|
|
create?: Prisma.XOR<Prisma.SubscriptionFeatureCreateWithoutSubscriptionProductInput, Prisma.SubscriptionFeatureUncheckedCreateWithoutSubscriptionProductInput> | Prisma.SubscriptionFeatureCreateWithoutSubscriptionProductInput[] | Prisma.SubscriptionFeatureUncheckedCreateWithoutSubscriptionProductInput[]
|
|
connectOrCreate?: Prisma.SubscriptionFeatureCreateOrConnectWithoutSubscriptionProductInput | Prisma.SubscriptionFeatureCreateOrConnectWithoutSubscriptionProductInput[]
|
|
createMany?: Prisma.SubscriptionFeatureCreateManySubscriptionProductInputEnvelope
|
|
connect?: Prisma.SubscriptionFeatureWhereUniqueInput | Prisma.SubscriptionFeatureWhereUniqueInput[]
|
|
}
|
|
|
|
export type SubscriptionFeatureUpdateManyWithoutSubscriptionProductNestedInput = {
|
|
create?: Prisma.XOR<Prisma.SubscriptionFeatureCreateWithoutSubscriptionProductInput, Prisma.SubscriptionFeatureUncheckedCreateWithoutSubscriptionProductInput> | Prisma.SubscriptionFeatureCreateWithoutSubscriptionProductInput[] | Prisma.SubscriptionFeatureUncheckedCreateWithoutSubscriptionProductInput[]
|
|
connectOrCreate?: Prisma.SubscriptionFeatureCreateOrConnectWithoutSubscriptionProductInput | Prisma.SubscriptionFeatureCreateOrConnectWithoutSubscriptionProductInput[]
|
|
upsert?: Prisma.SubscriptionFeatureUpsertWithWhereUniqueWithoutSubscriptionProductInput | Prisma.SubscriptionFeatureUpsertWithWhereUniqueWithoutSubscriptionProductInput[]
|
|
createMany?: Prisma.SubscriptionFeatureCreateManySubscriptionProductInputEnvelope
|
|
set?: Prisma.SubscriptionFeatureWhereUniqueInput | Prisma.SubscriptionFeatureWhereUniqueInput[]
|
|
disconnect?: Prisma.SubscriptionFeatureWhereUniqueInput | Prisma.SubscriptionFeatureWhereUniqueInput[]
|
|
delete?: Prisma.SubscriptionFeatureWhereUniqueInput | Prisma.SubscriptionFeatureWhereUniqueInput[]
|
|
connect?: Prisma.SubscriptionFeatureWhereUniqueInput | Prisma.SubscriptionFeatureWhereUniqueInput[]
|
|
update?: Prisma.SubscriptionFeatureUpdateWithWhereUniqueWithoutSubscriptionProductInput | Prisma.SubscriptionFeatureUpdateWithWhereUniqueWithoutSubscriptionProductInput[]
|
|
updateMany?: Prisma.SubscriptionFeatureUpdateManyWithWhereWithoutSubscriptionProductInput | Prisma.SubscriptionFeatureUpdateManyWithWhereWithoutSubscriptionProductInput[]
|
|
deleteMany?: Prisma.SubscriptionFeatureScalarWhereInput | Prisma.SubscriptionFeatureScalarWhereInput[]
|
|
}
|
|
|
|
export type SubscriptionFeatureUncheckedUpdateManyWithoutSubscriptionProductNestedInput = {
|
|
create?: Prisma.XOR<Prisma.SubscriptionFeatureCreateWithoutSubscriptionProductInput, Prisma.SubscriptionFeatureUncheckedCreateWithoutSubscriptionProductInput> | Prisma.SubscriptionFeatureCreateWithoutSubscriptionProductInput[] | Prisma.SubscriptionFeatureUncheckedCreateWithoutSubscriptionProductInput[]
|
|
connectOrCreate?: Prisma.SubscriptionFeatureCreateOrConnectWithoutSubscriptionProductInput | Prisma.SubscriptionFeatureCreateOrConnectWithoutSubscriptionProductInput[]
|
|
upsert?: Prisma.SubscriptionFeatureUpsertWithWhereUniqueWithoutSubscriptionProductInput | Prisma.SubscriptionFeatureUpsertWithWhereUniqueWithoutSubscriptionProductInput[]
|
|
createMany?: Prisma.SubscriptionFeatureCreateManySubscriptionProductInputEnvelope
|
|
set?: Prisma.SubscriptionFeatureWhereUniqueInput | Prisma.SubscriptionFeatureWhereUniqueInput[]
|
|
disconnect?: Prisma.SubscriptionFeatureWhereUniqueInput | Prisma.SubscriptionFeatureWhereUniqueInput[]
|
|
delete?: Prisma.SubscriptionFeatureWhereUniqueInput | Prisma.SubscriptionFeatureWhereUniqueInput[]
|
|
connect?: Prisma.SubscriptionFeatureWhereUniqueInput | Prisma.SubscriptionFeatureWhereUniqueInput[]
|
|
update?: Prisma.SubscriptionFeatureUpdateWithWhereUniqueWithoutSubscriptionProductInput | Prisma.SubscriptionFeatureUpdateWithWhereUniqueWithoutSubscriptionProductInput[]
|
|
updateMany?: Prisma.SubscriptionFeatureUpdateManyWithWhereWithoutSubscriptionProductInput | Prisma.SubscriptionFeatureUpdateManyWithWhereWithoutSubscriptionProductInput[]
|
|
deleteMany?: Prisma.SubscriptionFeatureScalarWhereInput | Prisma.SubscriptionFeatureScalarWhereInput[]
|
|
}
|
|
|
|
export type SubscriptionFeatureCreateWithoutSubscriptionProductInput = {
|
|
id?: string
|
|
order: number
|
|
title: string
|
|
name: string
|
|
type: number
|
|
value: number
|
|
href?: string | null
|
|
badge?: string | null
|
|
accumulate?: boolean
|
|
}
|
|
|
|
export type SubscriptionFeatureUncheckedCreateWithoutSubscriptionProductInput = {
|
|
id?: string
|
|
order: number
|
|
title: string
|
|
name: string
|
|
type: number
|
|
value: number
|
|
href?: string | null
|
|
badge?: string | null
|
|
accumulate?: boolean
|
|
}
|
|
|
|
export type SubscriptionFeatureCreateOrConnectWithoutSubscriptionProductInput = {
|
|
where: Prisma.SubscriptionFeatureWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.SubscriptionFeatureCreateWithoutSubscriptionProductInput, Prisma.SubscriptionFeatureUncheckedCreateWithoutSubscriptionProductInput>
|
|
}
|
|
|
|
export type SubscriptionFeatureCreateManySubscriptionProductInputEnvelope = {
|
|
data: Prisma.SubscriptionFeatureCreateManySubscriptionProductInput | Prisma.SubscriptionFeatureCreateManySubscriptionProductInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type SubscriptionFeatureUpsertWithWhereUniqueWithoutSubscriptionProductInput = {
|
|
where: Prisma.SubscriptionFeatureWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.SubscriptionFeatureUpdateWithoutSubscriptionProductInput, Prisma.SubscriptionFeatureUncheckedUpdateWithoutSubscriptionProductInput>
|
|
create: Prisma.XOR<Prisma.SubscriptionFeatureCreateWithoutSubscriptionProductInput, Prisma.SubscriptionFeatureUncheckedCreateWithoutSubscriptionProductInput>
|
|
}
|
|
|
|
export type SubscriptionFeatureUpdateWithWhereUniqueWithoutSubscriptionProductInput = {
|
|
where: Prisma.SubscriptionFeatureWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.SubscriptionFeatureUpdateWithoutSubscriptionProductInput, Prisma.SubscriptionFeatureUncheckedUpdateWithoutSubscriptionProductInput>
|
|
}
|
|
|
|
export type SubscriptionFeatureUpdateManyWithWhereWithoutSubscriptionProductInput = {
|
|
where: Prisma.SubscriptionFeatureScalarWhereInput
|
|
data: Prisma.XOR<Prisma.SubscriptionFeatureUpdateManyMutationInput, Prisma.SubscriptionFeatureUncheckedUpdateManyWithoutSubscriptionProductInput>
|
|
}
|
|
|
|
export type SubscriptionFeatureScalarWhereInput = {
|
|
AND?: Prisma.SubscriptionFeatureScalarWhereInput | Prisma.SubscriptionFeatureScalarWhereInput[]
|
|
OR?: Prisma.SubscriptionFeatureScalarWhereInput[]
|
|
NOT?: Prisma.SubscriptionFeatureScalarWhereInput | Prisma.SubscriptionFeatureScalarWhereInput[]
|
|
id?: Prisma.StringFilter<"SubscriptionFeature"> | string
|
|
subscriptionProductId?: Prisma.StringFilter<"SubscriptionFeature"> | string
|
|
order?: Prisma.IntFilter<"SubscriptionFeature"> | number
|
|
title?: Prisma.StringFilter<"SubscriptionFeature"> | string
|
|
name?: Prisma.StringFilter<"SubscriptionFeature"> | string
|
|
type?: Prisma.IntFilter<"SubscriptionFeature"> | number
|
|
value?: Prisma.IntFilter<"SubscriptionFeature"> | number
|
|
href?: Prisma.StringNullableFilter<"SubscriptionFeature"> | string | null
|
|
badge?: Prisma.StringNullableFilter<"SubscriptionFeature"> | string | null
|
|
accumulate?: Prisma.BoolFilter<"SubscriptionFeature"> | boolean
|
|
}
|
|
|
|
export type SubscriptionFeatureCreateManySubscriptionProductInput = {
|
|
id?: string
|
|
order: number
|
|
title: string
|
|
name: string
|
|
type: number
|
|
value: number
|
|
href?: string | null
|
|
badge?: string | null
|
|
accumulate?: boolean
|
|
}
|
|
|
|
export type SubscriptionFeatureUpdateWithoutSubscriptionProductInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
order?: Prisma.IntFieldUpdateOperationsInput | number
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.IntFieldUpdateOperationsInput | number
|
|
value?: Prisma.IntFieldUpdateOperationsInput | number
|
|
href?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
badge?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
accumulate?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
}
|
|
|
|
export type SubscriptionFeatureUncheckedUpdateWithoutSubscriptionProductInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
order?: Prisma.IntFieldUpdateOperationsInput | number
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.IntFieldUpdateOperationsInput | number
|
|
value?: Prisma.IntFieldUpdateOperationsInput | number
|
|
href?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
badge?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
accumulate?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
}
|
|
|
|
export type SubscriptionFeatureUncheckedUpdateManyWithoutSubscriptionProductInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
order?: Prisma.IntFieldUpdateOperationsInput | number
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.IntFieldUpdateOperationsInput | number
|
|
value?: Prisma.IntFieldUpdateOperationsInput | number
|
|
href?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
badge?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
accumulate?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
}
|
|
|
|
|
|
|
|
export type SubscriptionFeatureSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
subscriptionProductId?: boolean
|
|
order?: boolean
|
|
title?: boolean
|
|
name?: boolean
|
|
type?: boolean
|
|
value?: boolean
|
|
href?: boolean
|
|
badge?: boolean
|
|
accumulate?: boolean
|
|
subscriptionProduct?: boolean | Prisma.SubscriptionProductDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["subscriptionFeature"]>
|
|
|
|
export type SubscriptionFeatureSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
subscriptionProductId?: boolean
|
|
order?: boolean
|
|
title?: boolean
|
|
name?: boolean
|
|
type?: boolean
|
|
value?: boolean
|
|
href?: boolean
|
|
badge?: boolean
|
|
accumulate?: boolean
|
|
subscriptionProduct?: boolean | Prisma.SubscriptionProductDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["subscriptionFeature"]>
|
|
|
|
export type SubscriptionFeatureSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
subscriptionProductId?: boolean
|
|
order?: boolean
|
|
title?: boolean
|
|
name?: boolean
|
|
type?: boolean
|
|
value?: boolean
|
|
href?: boolean
|
|
badge?: boolean
|
|
accumulate?: boolean
|
|
subscriptionProduct?: boolean | Prisma.SubscriptionProductDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["subscriptionFeature"]>
|
|
|
|
export type SubscriptionFeatureSelectScalar = {
|
|
id?: boolean
|
|
subscriptionProductId?: boolean
|
|
order?: boolean
|
|
title?: boolean
|
|
name?: boolean
|
|
type?: boolean
|
|
value?: boolean
|
|
href?: boolean
|
|
badge?: boolean
|
|
accumulate?: boolean
|
|
}
|
|
|
|
export type SubscriptionFeatureOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "subscriptionProductId" | "order" | "title" | "name" | "type" | "value" | "href" | "badge" | "accumulate", ExtArgs["result"]["subscriptionFeature"]>
|
|
export type SubscriptionFeatureInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
subscriptionProduct?: boolean | Prisma.SubscriptionProductDefaultArgs<ExtArgs>
|
|
}
|
|
export type SubscriptionFeatureIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
subscriptionProduct?: boolean | Prisma.SubscriptionProductDefaultArgs<ExtArgs>
|
|
}
|
|
export type SubscriptionFeatureIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
subscriptionProduct?: boolean | Prisma.SubscriptionProductDefaultArgs<ExtArgs>
|
|
}
|
|
|
|
export type $SubscriptionFeaturePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "SubscriptionFeature"
|
|
objects: {
|
|
subscriptionProduct: Prisma.$SubscriptionProductPayload<ExtArgs>
|
|
}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: string
|
|
subscriptionProductId: string
|
|
order: number
|
|
title: string
|
|
name: string
|
|
type: number
|
|
value: number
|
|
href: string | null
|
|
badge: string | null
|
|
accumulate: boolean
|
|
}, ExtArgs["result"]["subscriptionFeature"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type SubscriptionFeatureGetPayload<S extends boolean | null | undefined | SubscriptionFeatureDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$SubscriptionFeaturePayload, S>
|
|
|
|
export type SubscriptionFeatureCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<SubscriptionFeatureFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: SubscriptionFeatureCountAggregateInputType | true
|
|
}
|
|
|
|
export interface SubscriptionFeatureDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['SubscriptionFeature'], meta: { name: 'SubscriptionFeature' } }
|
|
/**
|
|
* Find zero or one SubscriptionFeature that matches the filter.
|
|
* @param {SubscriptionFeatureFindUniqueArgs} args - Arguments to find a SubscriptionFeature
|
|
* @example
|
|
* // Get one SubscriptionFeature
|
|
* const subscriptionFeature = await prisma.subscriptionFeature.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends SubscriptionFeatureFindUniqueArgs>(args: Prisma.SelectSubset<T, SubscriptionFeatureFindUniqueArgs<ExtArgs>>): Prisma.Prisma__SubscriptionFeatureClient<runtime.Types.Result.GetResult<Prisma.$SubscriptionFeaturePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one SubscriptionFeature that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {SubscriptionFeatureFindUniqueOrThrowArgs} args - Arguments to find a SubscriptionFeature
|
|
* @example
|
|
* // Get one SubscriptionFeature
|
|
* const subscriptionFeature = await prisma.subscriptionFeature.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends SubscriptionFeatureFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, SubscriptionFeatureFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__SubscriptionFeatureClient<runtime.Types.Result.GetResult<Prisma.$SubscriptionFeaturePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first SubscriptionFeature 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 {SubscriptionFeatureFindFirstArgs} args - Arguments to find a SubscriptionFeature
|
|
* @example
|
|
* // Get one SubscriptionFeature
|
|
* const subscriptionFeature = await prisma.subscriptionFeature.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends SubscriptionFeatureFindFirstArgs>(args?: Prisma.SelectSubset<T, SubscriptionFeatureFindFirstArgs<ExtArgs>>): Prisma.Prisma__SubscriptionFeatureClient<runtime.Types.Result.GetResult<Prisma.$SubscriptionFeaturePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first SubscriptionFeature 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 {SubscriptionFeatureFindFirstOrThrowArgs} args - Arguments to find a SubscriptionFeature
|
|
* @example
|
|
* // Get one SubscriptionFeature
|
|
* const subscriptionFeature = await prisma.subscriptionFeature.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends SubscriptionFeatureFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, SubscriptionFeatureFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__SubscriptionFeatureClient<runtime.Types.Result.GetResult<Prisma.$SubscriptionFeaturePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more SubscriptionFeatures 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 {SubscriptionFeatureFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all SubscriptionFeatures
|
|
* const subscriptionFeatures = await prisma.subscriptionFeature.findMany()
|
|
*
|
|
* // Get first 10 SubscriptionFeatures
|
|
* const subscriptionFeatures = await prisma.subscriptionFeature.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const subscriptionFeatureWithIdOnly = await prisma.subscriptionFeature.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends SubscriptionFeatureFindManyArgs>(args?: Prisma.SelectSubset<T, SubscriptionFeatureFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SubscriptionFeaturePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a SubscriptionFeature.
|
|
* @param {SubscriptionFeatureCreateArgs} args - Arguments to create a SubscriptionFeature.
|
|
* @example
|
|
* // Create one SubscriptionFeature
|
|
* const SubscriptionFeature = await prisma.subscriptionFeature.create({
|
|
* data: {
|
|
* // ... data to create a SubscriptionFeature
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends SubscriptionFeatureCreateArgs>(args: Prisma.SelectSubset<T, SubscriptionFeatureCreateArgs<ExtArgs>>): Prisma.Prisma__SubscriptionFeatureClient<runtime.Types.Result.GetResult<Prisma.$SubscriptionFeaturePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many SubscriptionFeatures.
|
|
* @param {SubscriptionFeatureCreateManyArgs} args - Arguments to create many SubscriptionFeatures.
|
|
* @example
|
|
* // Create many SubscriptionFeatures
|
|
* const subscriptionFeature = await prisma.subscriptionFeature.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends SubscriptionFeatureCreateManyArgs>(args?: Prisma.SelectSubset<T, SubscriptionFeatureCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create many SubscriptionFeatures and returns the data saved in the database.
|
|
* @param {SubscriptionFeatureCreateManyAndReturnArgs} args - Arguments to create many SubscriptionFeatures.
|
|
* @example
|
|
* // Create many SubscriptionFeatures
|
|
* const subscriptionFeature = await prisma.subscriptionFeature.createManyAndReturn({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Create many SubscriptionFeatures and only return the `id`
|
|
* const subscriptionFeatureWithIdOnly = await prisma.subscriptionFeature.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 SubscriptionFeatureCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, SubscriptionFeatureCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SubscriptionFeaturePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Delete a SubscriptionFeature.
|
|
* @param {SubscriptionFeatureDeleteArgs} args - Arguments to delete one SubscriptionFeature.
|
|
* @example
|
|
* // Delete one SubscriptionFeature
|
|
* const SubscriptionFeature = await prisma.subscriptionFeature.delete({
|
|
* where: {
|
|
* // ... filter to delete one SubscriptionFeature
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends SubscriptionFeatureDeleteArgs>(args: Prisma.SelectSubset<T, SubscriptionFeatureDeleteArgs<ExtArgs>>): Prisma.Prisma__SubscriptionFeatureClient<runtime.Types.Result.GetResult<Prisma.$SubscriptionFeaturePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one SubscriptionFeature.
|
|
* @param {SubscriptionFeatureUpdateArgs} args - Arguments to update one SubscriptionFeature.
|
|
* @example
|
|
* // Update one SubscriptionFeature
|
|
* const subscriptionFeature = await prisma.subscriptionFeature.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends SubscriptionFeatureUpdateArgs>(args: Prisma.SelectSubset<T, SubscriptionFeatureUpdateArgs<ExtArgs>>): Prisma.Prisma__SubscriptionFeatureClient<runtime.Types.Result.GetResult<Prisma.$SubscriptionFeaturePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more SubscriptionFeatures.
|
|
* @param {SubscriptionFeatureDeleteManyArgs} args - Arguments to filter SubscriptionFeatures to delete.
|
|
* @example
|
|
* // Delete a few SubscriptionFeatures
|
|
* const { count } = await prisma.subscriptionFeature.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends SubscriptionFeatureDeleteManyArgs>(args?: Prisma.SelectSubset<T, SubscriptionFeatureDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more SubscriptionFeatures.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {SubscriptionFeatureUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many SubscriptionFeatures
|
|
* const subscriptionFeature = await prisma.subscriptionFeature.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends SubscriptionFeatureUpdateManyArgs>(args: Prisma.SelectSubset<T, SubscriptionFeatureUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more SubscriptionFeatures and returns the data updated in the database.
|
|
* @param {SubscriptionFeatureUpdateManyAndReturnArgs} args - Arguments to update many SubscriptionFeatures.
|
|
* @example
|
|
* // Update many SubscriptionFeatures
|
|
* const subscriptionFeature = await prisma.subscriptionFeature.updateManyAndReturn({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Update zero or more SubscriptionFeatures and only return the `id`
|
|
* const subscriptionFeatureWithIdOnly = await prisma.subscriptionFeature.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 SubscriptionFeatureUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, SubscriptionFeatureUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SubscriptionFeaturePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create or update one SubscriptionFeature.
|
|
* @param {SubscriptionFeatureUpsertArgs} args - Arguments to update or create a SubscriptionFeature.
|
|
* @example
|
|
* // Update or create a SubscriptionFeature
|
|
* const subscriptionFeature = await prisma.subscriptionFeature.upsert({
|
|
* create: {
|
|
* // ... data to create a SubscriptionFeature
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the SubscriptionFeature we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends SubscriptionFeatureUpsertArgs>(args: Prisma.SelectSubset<T, SubscriptionFeatureUpsertArgs<ExtArgs>>): Prisma.Prisma__SubscriptionFeatureClient<runtime.Types.Result.GetResult<Prisma.$SubscriptionFeaturePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of SubscriptionFeatures.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {SubscriptionFeatureCountArgs} args - Arguments to filter SubscriptionFeatures to count.
|
|
* @example
|
|
* // Count the number of SubscriptionFeatures
|
|
* const count = await prisma.subscriptionFeature.count({
|
|
* where: {
|
|
* // ... the filter for the SubscriptionFeatures we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends SubscriptionFeatureCountArgs>(
|
|
args?: Prisma.Subset<T, SubscriptionFeatureCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], SubscriptionFeatureCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a SubscriptionFeature.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {SubscriptionFeatureAggregateArgs} 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 SubscriptionFeatureAggregateArgs>(args: Prisma.Subset<T, SubscriptionFeatureAggregateArgs>): Prisma.PrismaPromise<GetSubscriptionFeatureAggregateType<T>>
|
|
|
|
/**
|
|
* Group by SubscriptionFeature.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {SubscriptionFeatureGroupByArgs} 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 SubscriptionFeatureGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: SubscriptionFeatureGroupByArgs['orderBy'] }
|
|
: { orderBy?: SubscriptionFeatureGroupByArgs['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, SubscriptionFeatureGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetSubscriptionFeatureGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the SubscriptionFeature model
|
|
*/
|
|
readonly fields: SubscriptionFeatureFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for SubscriptionFeature.
|
|
* 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__SubscriptionFeatureClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
subscriptionProduct<T extends Prisma.SubscriptionProductDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.SubscriptionProductDefaultArgs<ExtArgs>>): Prisma.Prisma__SubscriptionProductClient<runtime.Types.Result.GetResult<Prisma.$SubscriptionProductPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
/**
|
|
* 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 SubscriptionFeature model
|
|
*/
|
|
export interface SubscriptionFeatureFieldRefs {
|
|
readonly id: Prisma.FieldRef<"SubscriptionFeature", 'String'>
|
|
readonly subscriptionProductId: Prisma.FieldRef<"SubscriptionFeature", 'String'>
|
|
readonly order: Prisma.FieldRef<"SubscriptionFeature", 'Int'>
|
|
readonly title: Prisma.FieldRef<"SubscriptionFeature", 'String'>
|
|
readonly name: Prisma.FieldRef<"SubscriptionFeature", 'String'>
|
|
readonly type: Prisma.FieldRef<"SubscriptionFeature", 'Int'>
|
|
readonly value: Prisma.FieldRef<"SubscriptionFeature", 'Int'>
|
|
readonly href: Prisma.FieldRef<"SubscriptionFeature", 'String'>
|
|
readonly badge: Prisma.FieldRef<"SubscriptionFeature", 'String'>
|
|
readonly accumulate: Prisma.FieldRef<"SubscriptionFeature", 'Boolean'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* SubscriptionFeature findUnique
|
|
*/
|
|
export type SubscriptionFeatureFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the SubscriptionFeature
|
|
*/
|
|
select?: Prisma.SubscriptionFeatureSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the SubscriptionFeature
|
|
*/
|
|
omit?: Prisma.SubscriptionFeatureOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.SubscriptionFeatureInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which SubscriptionFeature to fetch.
|
|
*/
|
|
where: Prisma.SubscriptionFeatureWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* SubscriptionFeature findUniqueOrThrow
|
|
*/
|
|
export type SubscriptionFeatureFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the SubscriptionFeature
|
|
*/
|
|
select?: Prisma.SubscriptionFeatureSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the SubscriptionFeature
|
|
*/
|
|
omit?: Prisma.SubscriptionFeatureOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.SubscriptionFeatureInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which SubscriptionFeature to fetch.
|
|
*/
|
|
where: Prisma.SubscriptionFeatureWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* SubscriptionFeature findFirst
|
|
*/
|
|
export type SubscriptionFeatureFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the SubscriptionFeature
|
|
*/
|
|
select?: Prisma.SubscriptionFeatureSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the SubscriptionFeature
|
|
*/
|
|
omit?: Prisma.SubscriptionFeatureOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.SubscriptionFeatureInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which SubscriptionFeature to fetch.
|
|
*/
|
|
where?: Prisma.SubscriptionFeatureWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of SubscriptionFeatures to fetch.
|
|
*/
|
|
orderBy?: Prisma.SubscriptionFeatureOrderByWithRelationInput | Prisma.SubscriptionFeatureOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for SubscriptionFeatures.
|
|
*/
|
|
cursor?: Prisma.SubscriptionFeatureWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` SubscriptionFeatures 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` SubscriptionFeatures.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of SubscriptionFeatures.
|
|
*/
|
|
distinct?: Prisma.SubscriptionFeatureScalarFieldEnum | Prisma.SubscriptionFeatureScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* SubscriptionFeature findFirstOrThrow
|
|
*/
|
|
export type SubscriptionFeatureFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the SubscriptionFeature
|
|
*/
|
|
select?: Prisma.SubscriptionFeatureSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the SubscriptionFeature
|
|
*/
|
|
omit?: Prisma.SubscriptionFeatureOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.SubscriptionFeatureInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which SubscriptionFeature to fetch.
|
|
*/
|
|
where?: Prisma.SubscriptionFeatureWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of SubscriptionFeatures to fetch.
|
|
*/
|
|
orderBy?: Prisma.SubscriptionFeatureOrderByWithRelationInput | Prisma.SubscriptionFeatureOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for SubscriptionFeatures.
|
|
*/
|
|
cursor?: Prisma.SubscriptionFeatureWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` SubscriptionFeatures 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` SubscriptionFeatures.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of SubscriptionFeatures.
|
|
*/
|
|
distinct?: Prisma.SubscriptionFeatureScalarFieldEnum | Prisma.SubscriptionFeatureScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* SubscriptionFeature findMany
|
|
*/
|
|
export type SubscriptionFeatureFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the SubscriptionFeature
|
|
*/
|
|
select?: Prisma.SubscriptionFeatureSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the SubscriptionFeature
|
|
*/
|
|
omit?: Prisma.SubscriptionFeatureOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.SubscriptionFeatureInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which SubscriptionFeatures to fetch.
|
|
*/
|
|
where?: Prisma.SubscriptionFeatureWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of SubscriptionFeatures to fetch.
|
|
*/
|
|
orderBy?: Prisma.SubscriptionFeatureOrderByWithRelationInput | Prisma.SubscriptionFeatureOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing SubscriptionFeatures.
|
|
*/
|
|
cursor?: Prisma.SubscriptionFeatureWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` SubscriptionFeatures 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` SubscriptionFeatures.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of SubscriptionFeatures.
|
|
*/
|
|
distinct?: Prisma.SubscriptionFeatureScalarFieldEnum | Prisma.SubscriptionFeatureScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* SubscriptionFeature create
|
|
*/
|
|
export type SubscriptionFeatureCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the SubscriptionFeature
|
|
*/
|
|
select?: Prisma.SubscriptionFeatureSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the SubscriptionFeature
|
|
*/
|
|
omit?: Prisma.SubscriptionFeatureOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.SubscriptionFeatureInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a SubscriptionFeature.
|
|
*/
|
|
data: Prisma.XOR<Prisma.SubscriptionFeatureCreateInput, Prisma.SubscriptionFeatureUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* SubscriptionFeature createMany
|
|
*/
|
|
export type SubscriptionFeatureCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many SubscriptionFeatures.
|
|
*/
|
|
data: Prisma.SubscriptionFeatureCreateManyInput | Prisma.SubscriptionFeatureCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* SubscriptionFeature createManyAndReturn
|
|
*/
|
|
export type SubscriptionFeatureCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the SubscriptionFeature
|
|
*/
|
|
select?: Prisma.SubscriptionFeatureSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the SubscriptionFeature
|
|
*/
|
|
omit?: Prisma.SubscriptionFeatureOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to create many SubscriptionFeatures.
|
|
*/
|
|
data: Prisma.SubscriptionFeatureCreateManyInput | Prisma.SubscriptionFeatureCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.SubscriptionFeatureIncludeCreateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* SubscriptionFeature update
|
|
*/
|
|
export type SubscriptionFeatureUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the SubscriptionFeature
|
|
*/
|
|
select?: Prisma.SubscriptionFeatureSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the SubscriptionFeature
|
|
*/
|
|
omit?: Prisma.SubscriptionFeatureOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.SubscriptionFeatureInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a SubscriptionFeature.
|
|
*/
|
|
data: Prisma.XOR<Prisma.SubscriptionFeatureUpdateInput, Prisma.SubscriptionFeatureUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which SubscriptionFeature to update.
|
|
*/
|
|
where: Prisma.SubscriptionFeatureWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* SubscriptionFeature updateMany
|
|
*/
|
|
export type SubscriptionFeatureUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update SubscriptionFeatures.
|
|
*/
|
|
data: Prisma.XOR<Prisma.SubscriptionFeatureUpdateManyMutationInput, Prisma.SubscriptionFeatureUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which SubscriptionFeatures to update
|
|
*/
|
|
where?: Prisma.SubscriptionFeatureWhereInput
|
|
/**
|
|
* Limit how many SubscriptionFeatures to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* SubscriptionFeature updateManyAndReturn
|
|
*/
|
|
export type SubscriptionFeatureUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the SubscriptionFeature
|
|
*/
|
|
select?: Prisma.SubscriptionFeatureSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the SubscriptionFeature
|
|
*/
|
|
omit?: Prisma.SubscriptionFeatureOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update SubscriptionFeatures.
|
|
*/
|
|
data: Prisma.XOR<Prisma.SubscriptionFeatureUpdateManyMutationInput, Prisma.SubscriptionFeatureUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which SubscriptionFeatures to update
|
|
*/
|
|
where?: Prisma.SubscriptionFeatureWhereInput
|
|
/**
|
|
* Limit how many SubscriptionFeatures to update.
|
|
*/
|
|
limit?: number
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.SubscriptionFeatureIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* SubscriptionFeature upsert
|
|
*/
|
|
export type SubscriptionFeatureUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the SubscriptionFeature
|
|
*/
|
|
select?: Prisma.SubscriptionFeatureSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the SubscriptionFeature
|
|
*/
|
|
omit?: Prisma.SubscriptionFeatureOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.SubscriptionFeatureInclude<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the SubscriptionFeature to update in case it exists.
|
|
*/
|
|
where: Prisma.SubscriptionFeatureWhereUniqueInput
|
|
/**
|
|
* In case the SubscriptionFeature found by the `where` argument doesn't exist, create a new SubscriptionFeature with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.SubscriptionFeatureCreateInput, Prisma.SubscriptionFeatureUncheckedCreateInput>
|
|
/**
|
|
* In case the SubscriptionFeature was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.SubscriptionFeatureUpdateInput, Prisma.SubscriptionFeatureUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* SubscriptionFeature delete
|
|
*/
|
|
export type SubscriptionFeatureDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the SubscriptionFeature
|
|
*/
|
|
select?: Prisma.SubscriptionFeatureSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the SubscriptionFeature
|
|
*/
|
|
omit?: Prisma.SubscriptionFeatureOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.SubscriptionFeatureInclude<ExtArgs> | null
|
|
/**
|
|
* Filter which SubscriptionFeature to delete.
|
|
*/
|
|
where: Prisma.SubscriptionFeatureWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* SubscriptionFeature deleteMany
|
|
*/
|
|
export type SubscriptionFeatureDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which SubscriptionFeatures to delete
|
|
*/
|
|
where?: Prisma.SubscriptionFeatureWhereInput
|
|
/**
|
|
* Limit how many SubscriptionFeatures to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* SubscriptionFeature without action
|
|
*/
|
|
export type SubscriptionFeatureDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the SubscriptionFeature
|
|
*/
|
|
select?: Prisma.SubscriptionFeatureSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the SubscriptionFeature
|
|
*/
|
|
omit?: Prisma.SubscriptionFeatureOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.SubscriptionFeatureInclude<ExtArgs> | null
|
|
}
|