1768 lines
78 KiB
TypeScript
1768 lines
78 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 `PortalSubscriptionFeature` 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 PortalSubscriptionFeature
|
|
*
|
|
*/
|
|
export type PortalSubscriptionFeatureModel = runtime.Types.Result.DefaultSelection<Prisma.$PortalSubscriptionFeaturePayload>
|
|
|
|
export type AggregatePortalSubscriptionFeature = {
|
|
_count: PortalSubscriptionFeatureCountAggregateOutputType | null
|
|
_avg: PortalSubscriptionFeatureAvgAggregateOutputType | null
|
|
_sum: PortalSubscriptionFeatureSumAggregateOutputType | null
|
|
_min: PortalSubscriptionFeatureMinAggregateOutputType | null
|
|
_max: PortalSubscriptionFeatureMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type PortalSubscriptionFeatureAvgAggregateOutputType = {
|
|
order: number | null
|
|
type: number | null
|
|
value: number | null
|
|
}
|
|
|
|
export type PortalSubscriptionFeatureSumAggregateOutputType = {
|
|
order: number | null
|
|
type: number | null
|
|
value: number | null
|
|
}
|
|
|
|
export type PortalSubscriptionFeatureMinAggregateOutputType = {
|
|
id: string | null
|
|
portalId: 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 PortalSubscriptionFeatureMaxAggregateOutputType = {
|
|
id: string | null
|
|
portalId: 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 PortalSubscriptionFeatureCountAggregateOutputType = {
|
|
id: number
|
|
portalId: number
|
|
subscriptionProductId: number
|
|
order: number
|
|
title: number
|
|
name: number
|
|
type: number
|
|
value: number
|
|
href: number
|
|
badge: number
|
|
accumulate: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type PortalSubscriptionFeatureAvgAggregateInputType = {
|
|
order?: true
|
|
type?: true
|
|
value?: true
|
|
}
|
|
|
|
export type PortalSubscriptionFeatureSumAggregateInputType = {
|
|
order?: true
|
|
type?: true
|
|
value?: true
|
|
}
|
|
|
|
export type PortalSubscriptionFeatureMinAggregateInputType = {
|
|
id?: true
|
|
portalId?: true
|
|
subscriptionProductId?: true
|
|
order?: true
|
|
title?: true
|
|
name?: true
|
|
type?: true
|
|
value?: true
|
|
href?: true
|
|
badge?: true
|
|
accumulate?: true
|
|
}
|
|
|
|
export type PortalSubscriptionFeatureMaxAggregateInputType = {
|
|
id?: true
|
|
portalId?: true
|
|
subscriptionProductId?: true
|
|
order?: true
|
|
title?: true
|
|
name?: true
|
|
type?: true
|
|
value?: true
|
|
href?: true
|
|
badge?: true
|
|
accumulate?: true
|
|
}
|
|
|
|
export type PortalSubscriptionFeatureCountAggregateInputType = {
|
|
id?: true
|
|
portalId?: true
|
|
subscriptionProductId?: true
|
|
order?: true
|
|
title?: true
|
|
name?: true
|
|
type?: true
|
|
value?: true
|
|
href?: true
|
|
badge?: true
|
|
accumulate?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type PortalSubscriptionFeatureAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which PortalSubscriptionFeature to aggregate.
|
|
*/
|
|
where?: Prisma.PortalSubscriptionFeatureWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of PortalSubscriptionFeatures to fetch.
|
|
*/
|
|
orderBy?: Prisma.PortalSubscriptionFeatureOrderByWithRelationInput | Prisma.PortalSubscriptionFeatureOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.PortalSubscriptionFeatureWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` PortalSubscriptionFeatures 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` PortalSubscriptionFeatures.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned PortalSubscriptionFeatures
|
|
**/
|
|
_count?: true | PortalSubscriptionFeatureCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to average
|
|
**/
|
|
_avg?: PortalSubscriptionFeatureAvgAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to sum
|
|
**/
|
|
_sum?: PortalSubscriptionFeatureSumAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: PortalSubscriptionFeatureMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: PortalSubscriptionFeatureMaxAggregateInputType
|
|
}
|
|
|
|
export type GetPortalSubscriptionFeatureAggregateType<T extends PortalSubscriptionFeatureAggregateArgs> = {
|
|
[P in keyof T & keyof AggregatePortalSubscriptionFeature]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregatePortalSubscriptionFeature[P]>
|
|
: Prisma.GetScalarType<T[P], AggregatePortalSubscriptionFeature[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type PortalSubscriptionFeatureGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.PortalSubscriptionFeatureWhereInput
|
|
orderBy?: Prisma.PortalSubscriptionFeatureOrderByWithAggregationInput | Prisma.PortalSubscriptionFeatureOrderByWithAggregationInput[]
|
|
by: Prisma.PortalSubscriptionFeatureScalarFieldEnum[] | Prisma.PortalSubscriptionFeatureScalarFieldEnum
|
|
having?: Prisma.PortalSubscriptionFeatureScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: PortalSubscriptionFeatureCountAggregateInputType | true
|
|
_avg?: PortalSubscriptionFeatureAvgAggregateInputType
|
|
_sum?: PortalSubscriptionFeatureSumAggregateInputType
|
|
_min?: PortalSubscriptionFeatureMinAggregateInputType
|
|
_max?: PortalSubscriptionFeatureMaxAggregateInputType
|
|
}
|
|
|
|
export type PortalSubscriptionFeatureGroupByOutputType = {
|
|
id: string
|
|
portalId: string
|
|
subscriptionProductId: string
|
|
order: number
|
|
title: string
|
|
name: string
|
|
type: number
|
|
value: number
|
|
href: string | null
|
|
badge: string | null
|
|
accumulate: boolean
|
|
_count: PortalSubscriptionFeatureCountAggregateOutputType | null
|
|
_avg: PortalSubscriptionFeatureAvgAggregateOutputType | null
|
|
_sum: PortalSubscriptionFeatureSumAggregateOutputType | null
|
|
_min: PortalSubscriptionFeatureMinAggregateOutputType | null
|
|
_max: PortalSubscriptionFeatureMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type GetPortalSubscriptionFeatureGroupByPayload<T extends PortalSubscriptionFeatureGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<PortalSubscriptionFeatureGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof PortalSubscriptionFeatureGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], PortalSubscriptionFeatureGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], PortalSubscriptionFeatureGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type PortalSubscriptionFeatureWhereInput = {
|
|
AND?: Prisma.PortalSubscriptionFeatureWhereInput | Prisma.PortalSubscriptionFeatureWhereInput[]
|
|
OR?: Prisma.PortalSubscriptionFeatureWhereInput[]
|
|
NOT?: Prisma.PortalSubscriptionFeatureWhereInput | Prisma.PortalSubscriptionFeatureWhereInput[]
|
|
id?: Prisma.StringFilter<"PortalSubscriptionFeature"> | string
|
|
portalId?: Prisma.StringFilter<"PortalSubscriptionFeature"> | string
|
|
subscriptionProductId?: Prisma.StringFilter<"PortalSubscriptionFeature"> | string
|
|
order?: Prisma.IntFilter<"PortalSubscriptionFeature"> | number
|
|
title?: Prisma.StringFilter<"PortalSubscriptionFeature"> | string
|
|
name?: Prisma.StringFilter<"PortalSubscriptionFeature"> | string
|
|
type?: Prisma.IntFilter<"PortalSubscriptionFeature"> | number
|
|
value?: Prisma.IntFilter<"PortalSubscriptionFeature"> | number
|
|
href?: Prisma.StringNullableFilter<"PortalSubscriptionFeature"> | string | null
|
|
badge?: Prisma.StringNullableFilter<"PortalSubscriptionFeature"> | string | null
|
|
accumulate?: Prisma.BoolFilter<"PortalSubscriptionFeature"> | boolean
|
|
portal?: Prisma.XOR<Prisma.PortalScalarRelationFilter, Prisma.PortalWhereInput>
|
|
subscriptionProduct?: Prisma.XOR<Prisma.PortalSubscriptionProductScalarRelationFilter, Prisma.PortalSubscriptionProductWhereInput>
|
|
}
|
|
|
|
export type PortalSubscriptionFeatureOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
portalId?: 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
|
|
portal?: Prisma.PortalOrderByWithRelationInput
|
|
subscriptionProduct?: Prisma.PortalSubscriptionProductOrderByWithRelationInput
|
|
}
|
|
|
|
export type PortalSubscriptionFeatureWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: string
|
|
AND?: Prisma.PortalSubscriptionFeatureWhereInput | Prisma.PortalSubscriptionFeatureWhereInput[]
|
|
OR?: Prisma.PortalSubscriptionFeatureWhereInput[]
|
|
NOT?: Prisma.PortalSubscriptionFeatureWhereInput | Prisma.PortalSubscriptionFeatureWhereInput[]
|
|
portalId?: Prisma.StringFilter<"PortalSubscriptionFeature"> | string
|
|
subscriptionProductId?: Prisma.StringFilter<"PortalSubscriptionFeature"> | string
|
|
order?: Prisma.IntFilter<"PortalSubscriptionFeature"> | number
|
|
title?: Prisma.StringFilter<"PortalSubscriptionFeature"> | string
|
|
name?: Prisma.StringFilter<"PortalSubscriptionFeature"> | string
|
|
type?: Prisma.IntFilter<"PortalSubscriptionFeature"> | number
|
|
value?: Prisma.IntFilter<"PortalSubscriptionFeature"> | number
|
|
href?: Prisma.StringNullableFilter<"PortalSubscriptionFeature"> | string | null
|
|
badge?: Prisma.StringNullableFilter<"PortalSubscriptionFeature"> | string | null
|
|
accumulate?: Prisma.BoolFilter<"PortalSubscriptionFeature"> | boolean
|
|
portal?: Prisma.XOR<Prisma.PortalScalarRelationFilter, Prisma.PortalWhereInput>
|
|
subscriptionProduct?: Prisma.XOR<Prisma.PortalSubscriptionProductScalarRelationFilter, Prisma.PortalSubscriptionProductWhereInput>
|
|
}, "id">
|
|
|
|
export type PortalSubscriptionFeatureOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
portalId?: 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.PortalSubscriptionFeatureCountOrderByAggregateInput
|
|
_avg?: Prisma.PortalSubscriptionFeatureAvgOrderByAggregateInput
|
|
_max?: Prisma.PortalSubscriptionFeatureMaxOrderByAggregateInput
|
|
_min?: Prisma.PortalSubscriptionFeatureMinOrderByAggregateInput
|
|
_sum?: Prisma.PortalSubscriptionFeatureSumOrderByAggregateInput
|
|
}
|
|
|
|
export type PortalSubscriptionFeatureScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.PortalSubscriptionFeatureScalarWhereWithAggregatesInput | Prisma.PortalSubscriptionFeatureScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.PortalSubscriptionFeatureScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.PortalSubscriptionFeatureScalarWhereWithAggregatesInput | Prisma.PortalSubscriptionFeatureScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.StringWithAggregatesFilter<"PortalSubscriptionFeature"> | string
|
|
portalId?: Prisma.StringWithAggregatesFilter<"PortalSubscriptionFeature"> | string
|
|
subscriptionProductId?: Prisma.StringWithAggregatesFilter<"PortalSubscriptionFeature"> | string
|
|
order?: Prisma.IntWithAggregatesFilter<"PortalSubscriptionFeature"> | number
|
|
title?: Prisma.StringWithAggregatesFilter<"PortalSubscriptionFeature"> | string
|
|
name?: Prisma.StringWithAggregatesFilter<"PortalSubscriptionFeature"> | string
|
|
type?: Prisma.IntWithAggregatesFilter<"PortalSubscriptionFeature"> | number
|
|
value?: Prisma.IntWithAggregatesFilter<"PortalSubscriptionFeature"> | number
|
|
href?: Prisma.StringNullableWithAggregatesFilter<"PortalSubscriptionFeature"> | string | null
|
|
badge?: Prisma.StringNullableWithAggregatesFilter<"PortalSubscriptionFeature"> | string | null
|
|
accumulate?: Prisma.BoolWithAggregatesFilter<"PortalSubscriptionFeature"> | boolean
|
|
}
|
|
|
|
export type PortalSubscriptionFeatureCreateInput = {
|
|
id?: string
|
|
order: number
|
|
title: string
|
|
name: string
|
|
type: number
|
|
value: number
|
|
href?: string | null
|
|
badge?: string | null
|
|
accumulate?: boolean
|
|
portal: Prisma.PortalCreateNestedOneWithoutSubscriptionFeaturesInput
|
|
subscriptionProduct: Prisma.PortalSubscriptionProductCreateNestedOneWithoutFeaturesInput
|
|
}
|
|
|
|
export type PortalSubscriptionFeatureUncheckedCreateInput = {
|
|
id?: string
|
|
portalId: string
|
|
subscriptionProductId: string
|
|
order: number
|
|
title: string
|
|
name: string
|
|
type: number
|
|
value: number
|
|
href?: string | null
|
|
badge?: string | null
|
|
accumulate?: boolean
|
|
}
|
|
|
|
export type PortalSubscriptionFeatureUpdateInput = {
|
|
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
|
|
portal?: Prisma.PortalUpdateOneRequiredWithoutSubscriptionFeaturesNestedInput
|
|
subscriptionProduct?: Prisma.PortalSubscriptionProductUpdateOneRequiredWithoutFeaturesNestedInput
|
|
}
|
|
|
|
export type PortalSubscriptionFeatureUncheckedUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
portalId?: 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 PortalSubscriptionFeatureCreateManyInput = {
|
|
id?: string
|
|
portalId: string
|
|
subscriptionProductId: string
|
|
order: number
|
|
title: string
|
|
name: string
|
|
type: number
|
|
value: number
|
|
href?: string | null
|
|
badge?: string | null
|
|
accumulate?: boolean
|
|
}
|
|
|
|
export type PortalSubscriptionFeatureUpdateManyMutationInput = {
|
|
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 PortalSubscriptionFeatureUncheckedUpdateManyInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
portalId?: 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 PortalSubscriptionFeatureListRelationFilter = {
|
|
every?: Prisma.PortalSubscriptionFeatureWhereInput
|
|
some?: Prisma.PortalSubscriptionFeatureWhereInput
|
|
none?: Prisma.PortalSubscriptionFeatureWhereInput
|
|
}
|
|
|
|
export type PortalSubscriptionFeatureOrderByRelationAggregateInput = {
|
|
_count?: Prisma.SortOrder
|
|
}
|
|
|
|
export type PortalSubscriptionFeatureCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
portalId?: 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 PortalSubscriptionFeatureAvgOrderByAggregateInput = {
|
|
order?: Prisma.SortOrder
|
|
type?: Prisma.SortOrder
|
|
value?: Prisma.SortOrder
|
|
}
|
|
|
|
export type PortalSubscriptionFeatureMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
portalId?: 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 PortalSubscriptionFeatureMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
portalId?: 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 PortalSubscriptionFeatureSumOrderByAggregateInput = {
|
|
order?: Prisma.SortOrder
|
|
type?: Prisma.SortOrder
|
|
value?: Prisma.SortOrder
|
|
}
|
|
|
|
export type PortalSubscriptionFeatureCreateNestedManyWithoutPortalInput = {
|
|
create?: Prisma.XOR<Prisma.PortalSubscriptionFeatureCreateWithoutPortalInput, Prisma.PortalSubscriptionFeatureUncheckedCreateWithoutPortalInput> | Prisma.PortalSubscriptionFeatureCreateWithoutPortalInput[] | Prisma.PortalSubscriptionFeatureUncheckedCreateWithoutPortalInput[]
|
|
connectOrCreate?: Prisma.PortalSubscriptionFeatureCreateOrConnectWithoutPortalInput | Prisma.PortalSubscriptionFeatureCreateOrConnectWithoutPortalInput[]
|
|
createMany?: Prisma.PortalSubscriptionFeatureCreateManyPortalInputEnvelope
|
|
connect?: Prisma.PortalSubscriptionFeatureWhereUniqueInput | Prisma.PortalSubscriptionFeatureWhereUniqueInput[]
|
|
}
|
|
|
|
export type PortalSubscriptionFeatureUncheckedCreateNestedManyWithoutPortalInput = {
|
|
create?: Prisma.XOR<Prisma.PortalSubscriptionFeatureCreateWithoutPortalInput, Prisma.PortalSubscriptionFeatureUncheckedCreateWithoutPortalInput> | Prisma.PortalSubscriptionFeatureCreateWithoutPortalInput[] | Prisma.PortalSubscriptionFeatureUncheckedCreateWithoutPortalInput[]
|
|
connectOrCreate?: Prisma.PortalSubscriptionFeatureCreateOrConnectWithoutPortalInput | Prisma.PortalSubscriptionFeatureCreateOrConnectWithoutPortalInput[]
|
|
createMany?: Prisma.PortalSubscriptionFeatureCreateManyPortalInputEnvelope
|
|
connect?: Prisma.PortalSubscriptionFeatureWhereUniqueInput | Prisma.PortalSubscriptionFeatureWhereUniqueInput[]
|
|
}
|
|
|
|
export type PortalSubscriptionFeatureUpdateManyWithoutPortalNestedInput = {
|
|
create?: Prisma.XOR<Prisma.PortalSubscriptionFeatureCreateWithoutPortalInput, Prisma.PortalSubscriptionFeatureUncheckedCreateWithoutPortalInput> | Prisma.PortalSubscriptionFeatureCreateWithoutPortalInput[] | Prisma.PortalSubscriptionFeatureUncheckedCreateWithoutPortalInput[]
|
|
connectOrCreate?: Prisma.PortalSubscriptionFeatureCreateOrConnectWithoutPortalInput | Prisma.PortalSubscriptionFeatureCreateOrConnectWithoutPortalInput[]
|
|
upsert?: Prisma.PortalSubscriptionFeatureUpsertWithWhereUniqueWithoutPortalInput | Prisma.PortalSubscriptionFeatureUpsertWithWhereUniqueWithoutPortalInput[]
|
|
createMany?: Prisma.PortalSubscriptionFeatureCreateManyPortalInputEnvelope
|
|
set?: Prisma.PortalSubscriptionFeatureWhereUniqueInput | Prisma.PortalSubscriptionFeatureWhereUniqueInput[]
|
|
disconnect?: Prisma.PortalSubscriptionFeatureWhereUniqueInput | Prisma.PortalSubscriptionFeatureWhereUniqueInput[]
|
|
delete?: Prisma.PortalSubscriptionFeatureWhereUniqueInput | Prisma.PortalSubscriptionFeatureWhereUniqueInput[]
|
|
connect?: Prisma.PortalSubscriptionFeatureWhereUniqueInput | Prisma.PortalSubscriptionFeatureWhereUniqueInput[]
|
|
update?: Prisma.PortalSubscriptionFeatureUpdateWithWhereUniqueWithoutPortalInput | Prisma.PortalSubscriptionFeatureUpdateWithWhereUniqueWithoutPortalInput[]
|
|
updateMany?: Prisma.PortalSubscriptionFeatureUpdateManyWithWhereWithoutPortalInput | Prisma.PortalSubscriptionFeatureUpdateManyWithWhereWithoutPortalInput[]
|
|
deleteMany?: Prisma.PortalSubscriptionFeatureScalarWhereInput | Prisma.PortalSubscriptionFeatureScalarWhereInput[]
|
|
}
|
|
|
|
export type PortalSubscriptionFeatureUncheckedUpdateManyWithoutPortalNestedInput = {
|
|
create?: Prisma.XOR<Prisma.PortalSubscriptionFeatureCreateWithoutPortalInput, Prisma.PortalSubscriptionFeatureUncheckedCreateWithoutPortalInput> | Prisma.PortalSubscriptionFeatureCreateWithoutPortalInput[] | Prisma.PortalSubscriptionFeatureUncheckedCreateWithoutPortalInput[]
|
|
connectOrCreate?: Prisma.PortalSubscriptionFeatureCreateOrConnectWithoutPortalInput | Prisma.PortalSubscriptionFeatureCreateOrConnectWithoutPortalInput[]
|
|
upsert?: Prisma.PortalSubscriptionFeatureUpsertWithWhereUniqueWithoutPortalInput | Prisma.PortalSubscriptionFeatureUpsertWithWhereUniqueWithoutPortalInput[]
|
|
createMany?: Prisma.PortalSubscriptionFeatureCreateManyPortalInputEnvelope
|
|
set?: Prisma.PortalSubscriptionFeatureWhereUniqueInput | Prisma.PortalSubscriptionFeatureWhereUniqueInput[]
|
|
disconnect?: Prisma.PortalSubscriptionFeatureWhereUniqueInput | Prisma.PortalSubscriptionFeatureWhereUniqueInput[]
|
|
delete?: Prisma.PortalSubscriptionFeatureWhereUniqueInput | Prisma.PortalSubscriptionFeatureWhereUniqueInput[]
|
|
connect?: Prisma.PortalSubscriptionFeatureWhereUniqueInput | Prisma.PortalSubscriptionFeatureWhereUniqueInput[]
|
|
update?: Prisma.PortalSubscriptionFeatureUpdateWithWhereUniqueWithoutPortalInput | Prisma.PortalSubscriptionFeatureUpdateWithWhereUniqueWithoutPortalInput[]
|
|
updateMany?: Prisma.PortalSubscriptionFeatureUpdateManyWithWhereWithoutPortalInput | Prisma.PortalSubscriptionFeatureUpdateManyWithWhereWithoutPortalInput[]
|
|
deleteMany?: Prisma.PortalSubscriptionFeatureScalarWhereInput | Prisma.PortalSubscriptionFeatureScalarWhereInput[]
|
|
}
|
|
|
|
export type PortalSubscriptionFeatureCreateNestedManyWithoutSubscriptionProductInput = {
|
|
create?: Prisma.XOR<Prisma.PortalSubscriptionFeatureCreateWithoutSubscriptionProductInput, Prisma.PortalSubscriptionFeatureUncheckedCreateWithoutSubscriptionProductInput> | Prisma.PortalSubscriptionFeatureCreateWithoutSubscriptionProductInput[] | Prisma.PortalSubscriptionFeatureUncheckedCreateWithoutSubscriptionProductInput[]
|
|
connectOrCreate?: Prisma.PortalSubscriptionFeatureCreateOrConnectWithoutSubscriptionProductInput | Prisma.PortalSubscriptionFeatureCreateOrConnectWithoutSubscriptionProductInput[]
|
|
createMany?: Prisma.PortalSubscriptionFeatureCreateManySubscriptionProductInputEnvelope
|
|
connect?: Prisma.PortalSubscriptionFeatureWhereUniqueInput | Prisma.PortalSubscriptionFeatureWhereUniqueInput[]
|
|
}
|
|
|
|
export type PortalSubscriptionFeatureUncheckedCreateNestedManyWithoutSubscriptionProductInput = {
|
|
create?: Prisma.XOR<Prisma.PortalSubscriptionFeatureCreateWithoutSubscriptionProductInput, Prisma.PortalSubscriptionFeatureUncheckedCreateWithoutSubscriptionProductInput> | Prisma.PortalSubscriptionFeatureCreateWithoutSubscriptionProductInput[] | Prisma.PortalSubscriptionFeatureUncheckedCreateWithoutSubscriptionProductInput[]
|
|
connectOrCreate?: Prisma.PortalSubscriptionFeatureCreateOrConnectWithoutSubscriptionProductInput | Prisma.PortalSubscriptionFeatureCreateOrConnectWithoutSubscriptionProductInput[]
|
|
createMany?: Prisma.PortalSubscriptionFeatureCreateManySubscriptionProductInputEnvelope
|
|
connect?: Prisma.PortalSubscriptionFeatureWhereUniqueInput | Prisma.PortalSubscriptionFeatureWhereUniqueInput[]
|
|
}
|
|
|
|
export type PortalSubscriptionFeatureUpdateManyWithoutSubscriptionProductNestedInput = {
|
|
create?: Prisma.XOR<Prisma.PortalSubscriptionFeatureCreateWithoutSubscriptionProductInput, Prisma.PortalSubscriptionFeatureUncheckedCreateWithoutSubscriptionProductInput> | Prisma.PortalSubscriptionFeatureCreateWithoutSubscriptionProductInput[] | Prisma.PortalSubscriptionFeatureUncheckedCreateWithoutSubscriptionProductInput[]
|
|
connectOrCreate?: Prisma.PortalSubscriptionFeatureCreateOrConnectWithoutSubscriptionProductInput | Prisma.PortalSubscriptionFeatureCreateOrConnectWithoutSubscriptionProductInput[]
|
|
upsert?: Prisma.PortalSubscriptionFeatureUpsertWithWhereUniqueWithoutSubscriptionProductInput | Prisma.PortalSubscriptionFeatureUpsertWithWhereUniqueWithoutSubscriptionProductInput[]
|
|
createMany?: Prisma.PortalSubscriptionFeatureCreateManySubscriptionProductInputEnvelope
|
|
set?: Prisma.PortalSubscriptionFeatureWhereUniqueInput | Prisma.PortalSubscriptionFeatureWhereUniqueInput[]
|
|
disconnect?: Prisma.PortalSubscriptionFeatureWhereUniqueInput | Prisma.PortalSubscriptionFeatureWhereUniqueInput[]
|
|
delete?: Prisma.PortalSubscriptionFeatureWhereUniqueInput | Prisma.PortalSubscriptionFeatureWhereUniqueInput[]
|
|
connect?: Prisma.PortalSubscriptionFeatureWhereUniqueInput | Prisma.PortalSubscriptionFeatureWhereUniqueInput[]
|
|
update?: Prisma.PortalSubscriptionFeatureUpdateWithWhereUniqueWithoutSubscriptionProductInput | Prisma.PortalSubscriptionFeatureUpdateWithWhereUniqueWithoutSubscriptionProductInput[]
|
|
updateMany?: Prisma.PortalSubscriptionFeatureUpdateManyWithWhereWithoutSubscriptionProductInput | Prisma.PortalSubscriptionFeatureUpdateManyWithWhereWithoutSubscriptionProductInput[]
|
|
deleteMany?: Prisma.PortalSubscriptionFeatureScalarWhereInput | Prisma.PortalSubscriptionFeatureScalarWhereInput[]
|
|
}
|
|
|
|
export type PortalSubscriptionFeatureUncheckedUpdateManyWithoutSubscriptionProductNestedInput = {
|
|
create?: Prisma.XOR<Prisma.PortalSubscriptionFeatureCreateWithoutSubscriptionProductInput, Prisma.PortalSubscriptionFeatureUncheckedCreateWithoutSubscriptionProductInput> | Prisma.PortalSubscriptionFeatureCreateWithoutSubscriptionProductInput[] | Prisma.PortalSubscriptionFeatureUncheckedCreateWithoutSubscriptionProductInput[]
|
|
connectOrCreate?: Prisma.PortalSubscriptionFeatureCreateOrConnectWithoutSubscriptionProductInput | Prisma.PortalSubscriptionFeatureCreateOrConnectWithoutSubscriptionProductInput[]
|
|
upsert?: Prisma.PortalSubscriptionFeatureUpsertWithWhereUniqueWithoutSubscriptionProductInput | Prisma.PortalSubscriptionFeatureUpsertWithWhereUniqueWithoutSubscriptionProductInput[]
|
|
createMany?: Prisma.PortalSubscriptionFeatureCreateManySubscriptionProductInputEnvelope
|
|
set?: Prisma.PortalSubscriptionFeatureWhereUniqueInput | Prisma.PortalSubscriptionFeatureWhereUniqueInput[]
|
|
disconnect?: Prisma.PortalSubscriptionFeatureWhereUniqueInput | Prisma.PortalSubscriptionFeatureWhereUniqueInput[]
|
|
delete?: Prisma.PortalSubscriptionFeatureWhereUniqueInput | Prisma.PortalSubscriptionFeatureWhereUniqueInput[]
|
|
connect?: Prisma.PortalSubscriptionFeatureWhereUniqueInput | Prisma.PortalSubscriptionFeatureWhereUniqueInput[]
|
|
update?: Prisma.PortalSubscriptionFeatureUpdateWithWhereUniqueWithoutSubscriptionProductInput | Prisma.PortalSubscriptionFeatureUpdateWithWhereUniqueWithoutSubscriptionProductInput[]
|
|
updateMany?: Prisma.PortalSubscriptionFeatureUpdateManyWithWhereWithoutSubscriptionProductInput | Prisma.PortalSubscriptionFeatureUpdateManyWithWhereWithoutSubscriptionProductInput[]
|
|
deleteMany?: Prisma.PortalSubscriptionFeatureScalarWhereInput | Prisma.PortalSubscriptionFeatureScalarWhereInput[]
|
|
}
|
|
|
|
export type PortalSubscriptionFeatureCreateWithoutPortalInput = {
|
|
id?: string
|
|
order: number
|
|
title: string
|
|
name: string
|
|
type: number
|
|
value: number
|
|
href?: string | null
|
|
badge?: string | null
|
|
accumulate?: boolean
|
|
subscriptionProduct: Prisma.PortalSubscriptionProductCreateNestedOneWithoutFeaturesInput
|
|
}
|
|
|
|
export type PortalSubscriptionFeatureUncheckedCreateWithoutPortalInput = {
|
|
id?: string
|
|
subscriptionProductId: string
|
|
order: number
|
|
title: string
|
|
name: string
|
|
type: number
|
|
value: number
|
|
href?: string | null
|
|
badge?: string | null
|
|
accumulate?: boolean
|
|
}
|
|
|
|
export type PortalSubscriptionFeatureCreateOrConnectWithoutPortalInput = {
|
|
where: Prisma.PortalSubscriptionFeatureWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.PortalSubscriptionFeatureCreateWithoutPortalInput, Prisma.PortalSubscriptionFeatureUncheckedCreateWithoutPortalInput>
|
|
}
|
|
|
|
export type PortalSubscriptionFeatureCreateManyPortalInputEnvelope = {
|
|
data: Prisma.PortalSubscriptionFeatureCreateManyPortalInput | Prisma.PortalSubscriptionFeatureCreateManyPortalInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type PortalSubscriptionFeatureUpsertWithWhereUniqueWithoutPortalInput = {
|
|
where: Prisma.PortalSubscriptionFeatureWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.PortalSubscriptionFeatureUpdateWithoutPortalInput, Prisma.PortalSubscriptionFeatureUncheckedUpdateWithoutPortalInput>
|
|
create: Prisma.XOR<Prisma.PortalSubscriptionFeatureCreateWithoutPortalInput, Prisma.PortalSubscriptionFeatureUncheckedCreateWithoutPortalInput>
|
|
}
|
|
|
|
export type PortalSubscriptionFeatureUpdateWithWhereUniqueWithoutPortalInput = {
|
|
where: Prisma.PortalSubscriptionFeatureWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.PortalSubscriptionFeatureUpdateWithoutPortalInput, Prisma.PortalSubscriptionFeatureUncheckedUpdateWithoutPortalInput>
|
|
}
|
|
|
|
export type PortalSubscriptionFeatureUpdateManyWithWhereWithoutPortalInput = {
|
|
where: Prisma.PortalSubscriptionFeatureScalarWhereInput
|
|
data: Prisma.XOR<Prisma.PortalSubscriptionFeatureUpdateManyMutationInput, Prisma.PortalSubscriptionFeatureUncheckedUpdateManyWithoutPortalInput>
|
|
}
|
|
|
|
export type PortalSubscriptionFeatureScalarWhereInput = {
|
|
AND?: Prisma.PortalSubscriptionFeatureScalarWhereInput | Prisma.PortalSubscriptionFeatureScalarWhereInput[]
|
|
OR?: Prisma.PortalSubscriptionFeatureScalarWhereInput[]
|
|
NOT?: Prisma.PortalSubscriptionFeatureScalarWhereInput | Prisma.PortalSubscriptionFeatureScalarWhereInput[]
|
|
id?: Prisma.StringFilter<"PortalSubscriptionFeature"> | string
|
|
portalId?: Prisma.StringFilter<"PortalSubscriptionFeature"> | string
|
|
subscriptionProductId?: Prisma.StringFilter<"PortalSubscriptionFeature"> | string
|
|
order?: Prisma.IntFilter<"PortalSubscriptionFeature"> | number
|
|
title?: Prisma.StringFilter<"PortalSubscriptionFeature"> | string
|
|
name?: Prisma.StringFilter<"PortalSubscriptionFeature"> | string
|
|
type?: Prisma.IntFilter<"PortalSubscriptionFeature"> | number
|
|
value?: Prisma.IntFilter<"PortalSubscriptionFeature"> | number
|
|
href?: Prisma.StringNullableFilter<"PortalSubscriptionFeature"> | string | null
|
|
badge?: Prisma.StringNullableFilter<"PortalSubscriptionFeature"> | string | null
|
|
accumulate?: Prisma.BoolFilter<"PortalSubscriptionFeature"> | boolean
|
|
}
|
|
|
|
export type PortalSubscriptionFeatureCreateWithoutSubscriptionProductInput = {
|
|
id?: string
|
|
order: number
|
|
title: string
|
|
name: string
|
|
type: number
|
|
value: number
|
|
href?: string | null
|
|
badge?: string | null
|
|
accumulate?: boolean
|
|
portal: Prisma.PortalCreateNestedOneWithoutSubscriptionFeaturesInput
|
|
}
|
|
|
|
export type PortalSubscriptionFeatureUncheckedCreateWithoutSubscriptionProductInput = {
|
|
id?: string
|
|
portalId: string
|
|
order: number
|
|
title: string
|
|
name: string
|
|
type: number
|
|
value: number
|
|
href?: string | null
|
|
badge?: string | null
|
|
accumulate?: boolean
|
|
}
|
|
|
|
export type PortalSubscriptionFeatureCreateOrConnectWithoutSubscriptionProductInput = {
|
|
where: Prisma.PortalSubscriptionFeatureWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.PortalSubscriptionFeatureCreateWithoutSubscriptionProductInput, Prisma.PortalSubscriptionFeatureUncheckedCreateWithoutSubscriptionProductInput>
|
|
}
|
|
|
|
export type PortalSubscriptionFeatureCreateManySubscriptionProductInputEnvelope = {
|
|
data: Prisma.PortalSubscriptionFeatureCreateManySubscriptionProductInput | Prisma.PortalSubscriptionFeatureCreateManySubscriptionProductInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type PortalSubscriptionFeatureUpsertWithWhereUniqueWithoutSubscriptionProductInput = {
|
|
where: Prisma.PortalSubscriptionFeatureWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.PortalSubscriptionFeatureUpdateWithoutSubscriptionProductInput, Prisma.PortalSubscriptionFeatureUncheckedUpdateWithoutSubscriptionProductInput>
|
|
create: Prisma.XOR<Prisma.PortalSubscriptionFeatureCreateWithoutSubscriptionProductInput, Prisma.PortalSubscriptionFeatureUncheckedCreateWithoutSubscriptionProductInput>
|
|
}
|
|
|
|
export type PortalSubscriptionFeatureUpdateWithWhereUniqueWithoutSubscriptionProductInput = {
|
|
where: Prisma.PortalSubscriptionFeatureWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.PortalSubscriptionFeatureUpdateWithoutSubscriptionProductInput, Prisma.PortalSubscriptionFeatureUncheckedUpdateWithoutSubscriptionProductInput>
|
|
}
|
|
|
|
export type PortalSubscriptionFeatureUpdateManyWithWhereWithoutSubscriptionProductInput = {
|
|
where: Prisma.PortalSubscriptionFeatureScalarWhereInput
|
|
data: Prisma.XOR<Prisma.PortalSubscriptionFeatureUpdateManyMutationInput, Prisma.PortalSubscriptionFeatureUncheckedUpdateManyWithoutSubscriptionProductInput>
|
|
}
|
|
|
|
export type PortalSubscriptionFeatureCreateManyPortalInput = {
|
|
id?: string
|
|
subscriptionProductId: string
|
|
order: number
|
|
title: string
|
|
name: string
|
|
type: number
|
|
value: number
|
|
href?: string | null
|
|
badge?: string | null
|
|
accumulate?: boolean
|
|
}
|
|
|
|
export type PortalSubscriptionFeatureUpdateWithoutPortalInput = {
|
|
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.PortalSubscriptionProductUpdateOneRequiredWithoutFeaturesNestedInput
|
|
}
|
|
|
|
export type PortalSubscriptionFeatureUncheckedUpdateWithoutPortalInput = {
|
|
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 PortalSubscriptionFeatureUncheckedUpdateManyWithoutPortalInput = {
|
|
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 PortalSubscriptionFeatureCreateManySubscriptionProductInput = {
|
|
id?: string
|
|
portalId: string
|
|
order: number
|
|
title: string
|
|
name: string
|
|
type: number
|
|
value: number
|
|
href?: string | null
|
|
badge?: string | null
|
|
accumulate?: boolean
|
|
}
|
|
|
|
export type PortalSubscriptionFeatureUpdateWithoutSubscriptionProductInput = {
|
|
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
|
|
portal?: Prisma.PortalUpdateOneRequiredWithoutSubscriptionFeaturesNestedInput
|
|
}
|
|
|
|
export type PortalSubscriptionFeatureUncheckedUpdateWithoutSubscriptionProductInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
portalId?: 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 PortalSubscriptionFeatureUncheckedUpdateManyWithoutSubscriptionProductInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
portalId?: 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 PortalSubscriptionFeatureSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
portalId?: boolean
|
|
subscriptionProductId?: boolean
|
|
order?: boolean
|
|
title?: boolean
|
|
name?: boolean
|
|
type?: boolean
|
|
value?: boolean
|
|
href?: boolean
|
|
badge?: boolean
|
|
accumulate?: boolean
|
|
portal?: boolean | Prisma.PortalDefaultArgs<ExtArgs>
|
|
subscriptionProduct?: boolean | Prisma.PortalSubscriptionProductDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["portalSubscriptionFeature"]>
|
|
|
|
export type PortalSubscriptionFeatureSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
portalId?: boolean
|
|
subscriptionProductId?: boolean
|
|
order?: boolean
|
|
title?: boolean
|
|
name?: boolean
|
|
type?: boolean
|
|
value?: boolean
|
|
href?: boolean
|
|
badge?: boolean
|
|
accumulate?: boolean
|
|
portal?: boolean | Prisma.PortalDefaultArgs<ExtArgs>
|
|
subscriptionProduct?: boolean | Prisma.PortalSubscriptionProductDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["portalSubscriptionFeature"]>
|
|
|
|
export type PortalSubscriptionFeatureSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
portalId?: boolean
|
|
subscriptionProductId?: boolean
|
|
order?: boolean
|
|
title?: boolean
|
|
name?: boolean
|
|
type?: boolean
|
|
value?: boolean
|
|
href?: boolean
|
|
badge?: boolean
|
|
accumulate?: boolean
|
|
portal?: boolean | Prisma.PortalDefaultArgs<ExtArgs>
|
|
subscriptionProduct?: boolean | Prisma.PortalSubscriptionProductDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["portalSubscriptionFeature"]>
|
|
|
|
export type PortalSubscriptionFeatureSelectScalar = {
|
|
id?: boolean
|
|
portalId?: boolean
|
|
subscriptionProductId?: boolean
|
|
order?: boolean
|
|
title?: boolean
|
|
name?: boolean
|
|
type?: boolean
|
|
value?: boolean
|
|
href?: boolean
|
|
badge?: boolean
|
|
accumulate?: boolean
|
|
}
|
|
|
|
export type PortalSubscriptionFeatureOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "portalId" | "subscriptionProductId" | "order" | "title" | "name" | "type" | "value" | "href" | "badge" | "accumulate", ExtArgs["result"]["portalSubscriptionFeature"]>
|
|
export type PortalSubscriptionFeatureInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
portal?: boolean | Prisma.PortalDefaultArgs<ExtArgs>
|
|
subscriptionProduct?: boolean | Prisma.PortalSubscriptionProductDefaultArgs<ExtArgs>
|
|
}
|
|
export type PortalSubscriptionFeatureIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
portal?: boolean | Prisma.PortalDefaultArgs<ExtArgs>
|
|
subscriptionProduct?: boolean | Prisma.PortalSubscriptionProductDefaultArgs<ExtArgs>
|
|
}
|
|
export type PortalSubscriptionFeatureIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
portal?: boolean | Prisma.PortalDefaultArgs<ExtArgs>
|
|
subscriptionProduct?: boolean | Prisma.PortalSubscriptionProductDefaultArgs<ExtArgs>
|
|
}
|
|
|
|
export type $PortalSubscriptionFeaturePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "PortalSubscriptionFeature"
|
|
objects: {
|
|
portal: Prisma.$PortalPayload<ExtArgs>
|
|
subscriptionProduct: Prisma.$PortalSubscriptionProductPayload<ExtArgs>
|
|
}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: string
|
|
portalId: string
|
|
subscriptionProductId: string
|
|
order: number
|
|
title: string
|
|
name: string
|
|
type: number
|
|
value: number
|
|
href: string | null
|
|
badge: string | null
|
|
accumulate: boolean
|
|
}, ExtArgs["result"]["portalSubscriptionFeature"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type PortalSubscriptionFeatureGetPayload<S extends boolean | null | undefined | PortalSubscriptionFeatureDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$PortalSubscriptionFeaturePayload, S>
|
|
|
|
export type PortalSubscriptionFeatureCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<PortalSubscriptionFeatureFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: PortalSubscriptionFeatureCountAggregateInputType | true
|
|
}
|
|
|
|
export interface PortalSubscriptionFeatureDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['PortalSubscriptionFeature'], meta: { name: 'PortalSubscriptionFeature' } }
|
|
/**
|
|
* Find zero or one PortalSubscriptionFeature that matches the filter.
|
|
* @param {PortalSubscriptionFeatureFindUniqueArgs} args - Arguments to find a PortalSubscriptionFeature
|
|
* @example
|
|
* // Get one PortalSubscriptionFeature
|
|
* const portalSubscriptionFeature = await prisma.portalSubscriptionFeature.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends PortalSubscriptionFeatureFindUniqueArgs>(args: Prisma.SelectSubset<T, PortalSubscriptionFeatureFindUniqueArgs<ExtArgs>>): Prisma.Prisma__PortalSubscriptionFeatureClient<runtime.Types.Result.GetResult<Prisma.$PortalSubscriptionFeaturePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one PortalSubscriptionFeature that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {PortalSubscriptionFeatureFindUniqueOrThrowArgs} args - Arguments to find a PortalSubscriptionFeature
|
|
* @example
|
|
* // Get one PortalSubscriptionFeature
|
|
* const portalSubscriptionFeature = await prisma.portalSubscriptionFeature.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends PortalSubscriptionFeatureFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, PortalSubscriptionFeatureFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__PortalSubscriptionFeatureClient<runtime.Types.Result.GetResult<Prisma.$PortalSubscriptionFeaturePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first PortalSubscriptionFeature 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 {PortalSubscriptionFeatureFindFirstArgs} args - Arguments to find a PortalSubscriptionFeature
|
|
* @example
|
|
* // Get one PortalSubscriptionFeature
|
|
* const portalSubscriptionFeature = await prisma.portalSubscriptionFeature.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends PortalSubscriptionFeatureFindFirstArgs>(args?: Prisma.SelectSubset<T, PortalSubscriptionFeatureFindFirstArgs<ExtArgs>>): Prisma.Prisma__PortalSubscriptionFeatureClient<runtime.Types.Result.GetResult<Prisma.$PortalSubscriptionFeaturePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first PortalSubscriptionFeature 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 {PortalSubscriptionFeatureFindFirstOrThrowArgs} args - Arguments to find a PortalSubscriptionFeature
|
|
* @example
|
|
* // Get one PortalSubscriptionFeature
|
|
* const portalSubscriptionFeature = await prisma.portalSubscriptionFeature.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends PortalSubscriptionFeatureFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, PortalSubscriptionFeatureFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__PortalSubscriptionFeatureClient<runtime.Types.Result.GetResult<Prisma.$PortalSubscriptionFeaturePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more PortalSubscriptionFeatures 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 {PortalSubscriptionFeatureFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all PortalSubscriptionFeatures
|
|
* const portalSubscriptionFeatures = await prisma.portalSubscriptionFeature.findMany()
|
|
*
|
|
* // Get first 10 PortalSubscriptionFeatures
|
|
* const portalSubscriptionFeatures = await prisma.portalSubscriptionFeature.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const portalSubscriptionFeatureWithIdOnly = await prisma.portalSubscriptionFeature.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends PortalSubscriptionFeatureFindManyArgs>(args?: Prisma.SelectSubset<T, PortalSubscriptionFeatureFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PortalSubscriptionFeaturePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a PortalSubscriptionFeature.
|
|
* @param {PortalSubscriptionFeatureCreateArgs} args - Arguments to create a PortalSubscriptionFeature.
|
|
* @example
|
|
* // Create one PortalSubscriptionFeature
|
|
* const PortalSubscriptionFeature = await prisma.portalSubscriptionFeature.create({
|
|
* data: {
|
|
* // ... data to create a PortalSubscriptionFeature
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends PortalSubscriptionFeatureCreateArgs>(args: Prisma.SelectSubset<T, PortalSubscriptionFeatureCreateArgs<ExtArgs>>): Prisma.Prisma__PortalSubscriptionFeatureClient<runtime.Types.Result.GetResult<Prisma.$PortalSubscriptionFeaturePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many PortalSubscriptionFeatures.
|
|
* @param {PortalSubscriptionFeatureCreateManyArgs} args - Arguments to create many PortalSubscriptionFeatures.
|
|
* @example
|
|
* // Create many PortalSubscriptionFeatures
|
|
* const portalSubscriptionFeature = await prisma.portalSubscriptionFeature.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends PortalSubscriptionFeatureCreateManyArgs>(args?: Prisma.SelectSubset<T, PortalSubscriptionFeatureCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create many PortalSubscriptionFeatures and returns the data saved in the database.
|
|
* @param {PortalSubscriptionFeatureCreateManyAndReturnArgs} args - Arguments to create many PortalSubscriptionFeatures.
|
|
* @example
|
|
* // Create many PortalSubscriptionFeatures
|
|
* const portalSubscriptionFeature = await prisma.portalSubscriptionFeature.createManyAndReturn({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Create many PortalSubscriptionFeatures and only return the `id`
|
|
* const portalSubscriptionFeatureWithIdOnly = await prisma.portalSubscriptionFeature.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 PortalSubscriptionFeatureCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, PortalSubscriptionFeatureCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PortalSubscriptionFeaturePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Delete a PortalSubscriptionFeature.
|
|
* @param {PortalSubscriptionFeatureDeleteArgs} args - Arguments to delete one PortalSubscriptionFeature.
|
|
* @example
|
|
* // Delete one PortalSubscriptionFeature
|
|
* const PortalSubscriptionFeature = await prisma.portalSubscriptionFeature.delete({
|
|
* where: {
|
|
* // ... filter to delete one PortalSubscriptionFeature
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends PortalSubscriptionFeatureDeleteArgs>(args: Prisma.SelectSubset<T, PortalSubscriptionFeatureDeleteArgs<ExtArgs>>): Prisma.Prisma__PortalSubscriptionFeatureClient<runtime.Types.Result.GetResult<Prisma.$PortalSubscriptionFeaturePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one PortalSubscriptionFeature.
|
|
* @param {PortalSubscriptionFeatureUpdateArgs} args - Arguments to update one PortalSubscriptionFeature.
|
|
* @example
|
|
* // Update one PortalSubscriptionFeature
|
|
* const portalSubscriptionFeature = await prisma.portalSubscriptionFeature.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends PortalSubscriptionFeatureUpdateArgs>(args: Prisma.SelectSubset<T, PortalSubscriptionFeatureUpdateArgs<ExtArgs>>): Prisma.Prisma__PortalSubscriptionFeatureClient<runtime.Types.Result.GetResult<Prisma.$PortalSubscriptionFeaturePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more PortalSubscriptionFeatures.
|
|
* @param {PortalSubscriptionFeatureDeleteManyArgs} args - Arguments to filter PortalSubscriptionFeatures to delete.
|
|
* @example
|
|
* // Delete a few PortalSubscriptionFeatures
|
|
* const { count } = await prisma.portalSubscriptionFeature.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends PortalSubscriptionFeatureDeleteManyArgs>(args?: Prisma.SelectSubset<T, PortalSubscriptionFeatureDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more PortalSubscriptionFeatures.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {PortalSubscriptionFeatureUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many PortalSubscriptionFeatures
|
|
* const portalSubscriptionFeature = await prisma.portalSubscriptionFeature.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends PortalSubscriptionFeatureUpdateManyArgs>(args: Prisma.SelectSubset<T, PortalSubscriptionFeatureUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more PortalSubscriptionFeatures and returns the data updated in the database.
|
|
* @param {PortalSubscriptionFeatureUpdateManyAndReturnArgs} args - Arguments to update many PortalSubscriptionFeatures.
|
|
* @example
|
|
* // Update many PortalSubscriptionFeatures
|
|
* const portalSubscriptionFeature = await prisma.portalSubscriptionFeature.updateManyAndReturn({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Update zero or more PortalSubscriptionFeatures and only return the `id`
|
|
* const portalSubscriptionFeatureWithIdOnly = await prisma.portalSubscriptionFeature.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 PortalSubscriptionFeatureUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, PortalSubscriptionFeatureUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PortalSubscriptionFeaturePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create or update one PortalSubscriptionFeature.
|
|
* @param {PortalSubscriptionFeatureUpsertArgs} args - Arguments to update or create a PortalSubscriptionFeature.
|
|
* @example
|
|
* // Update or create a PortalSubscriptionFeature
|
|
* const portalSubscriptionFeature = await prisma.portalSubscriptionFeature.upsert({
|
|
* create: {
|
|
* // ... data to create a PortalSubscriptionFeature
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the PortalSubscriptionFeature we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends PortalSubscriptionFeatureUpsertArgs>(args: Prisma.SelectSubset<T, PortalSubscriptionFeatureUpsertArgs<ExtArgs>>): Prisma.Prisma__PortalSubscriptionFeatureClient<runtime.Types.Result.GetResult<Prisma.$PortalSubscriptionFeaturePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of PortalSubscriptionFeatures.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {PortalSubscriptionFeatureCountArgs} args - Arguments to filter PortalSubscriptionFeatures to count.
|
|
* @example
|
|
* // Count the number of PortalSubscriptionFeatures
|
|
* const count = await prisma.portalSubscriptionFeature.count({
|
|
* where: {
|
|
* // ... the filter for the PortalSubscriptionFeatures we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends PortalSubscriptionFeatureCountArgs>(
|
|
args?: Prisma.Subset<T, PortalSubscriptionFeatureCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], PortalSubscriptionFeatureCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a PortalSubscriptionFeature.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {PortalSubscriptionFeatureAggregateArgs} 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 PortalSubscriptionFeatureAggregateArgs>(args: Prisma.Subset<T, PortalSubscriptionFeatureAggregateArgs>): Prisma.PrismaPromise<GetPortalSubscriptionFeatureAggregateType<T>>
|
|
|
|
/**
|
|
* Group by PortalSubscriptionFeature.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {PortalSubscriptionFeatureGroupByArgs} 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 PortalSubscriptionFeatureGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: PortalSubscriptionFeatureGroupByArgs['orderBy'] }
|
|
: { orderBy?: PortalSubscriptionFeatureGroupByArgs['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, PortalSubscriptionFeatureGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetPortalSubscriptionFeatureGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the PortalSubscriptionFeature model
|
|
*/
|
|
readonly fields: PortalSubscriptionFeatureFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for PortalSubscriptionFeature.
|
|
* 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__PortalSubscriptionFeatureClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
portal<T extends Prisma.PortalDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PortalDefaultArgs<ExtArgs>>): Prisma.Prisma__PortalClient<runtime.Types.Result.GetResult<Prisma.$PortalPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
subscriptionProduct<T extends Prisma.PortalSubscriptionProductDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PortalSubscriptionProductDefaultArgs<ExtArgs>>): Prisma.Prisma__PortalSubscriptionProductClient<runtime.Types.Result.GetResult<Prisma.$PortalSubscriptionProductPayload<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 PortalSubscriptionFeature model
|
|
*/
|
|
export interface PortalSubscriptionFeatureFieldRefs {
|
|
readonly id: Prisma.FieldRef<"PortalSubscriptionFeature", 'String'>
|
|
readonly portalId: Prisma.FieldRef<"PortalSubscriptionFeature", 'String'>
|
|
readonly subscriptionProductId: Prisma.FieldRef<"PortalSubscriptionFeature", 'String'>
|
|
readonly order: Prisma.FieldRef<"PortalSubscriptionFeature", 'Int'>
|
|
readonly title: Prisma.FieldRef<"PortalSubscriptionFeature", 'String'>
|
|
readonly name: Prisma.FieldRef<"PortalSubscriptionFeature", 'String'>
|
|
readonly type: Prisma.FieldRef<"PortalSubscriptionFeature", 'Int'>
|
|
readonly value: Prisma.FieldRef<"PortalSubscriptionFeature", 'Int'>
|
|
readonly href: Prisma.FieldRef<"PortalSubscriptionFeature", 'String'>
|
|
readonly badge: Prisma.FieldRef<"PortalSubscriptionFeature", 'String'>
|
|
readonly accumulate: Prisma.FieldRef<"PortalSubscriptionFeature", 'Boolean'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* PortalSubscriptionFeature findUnique
|
|
*/
|
|
export type PortalSubscriptionFeatureFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PortalSubscriptionFeature
|
|
*/
|
|
select?: Prisma.PortalSubscriptionFeatureSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PortalSubscriptionFeature
|
|
*/
|
|
omit?: Prisma.PortalSubscriptionFeatureOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PortalSubscriptionFeatureInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which PortalSubscriptionFeature to fetch.
|
|
*/
|
|
where: Prisma.PortalSubscriptionFeatureWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* PortalSubscriptionFeature findUniqueOrThrow
|
|
*/
|
|
export type PortalSubscriptionFeatureFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PortalSubscriptionFeature
|
|
*/
|
|
select?: Prisma.PortalSubscriptionFeatureSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PortalSubscriptionFeature
|
|
*/
|
|
omit?: Prisma.PortalSubscriptionFeatureOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PortalSubscriptionFeatureInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which PortalSubscriptionFeature to fetch.
|
|
*/
|
|
where: Prisma.PortalSubscriptionFeatureWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* PortalSubscriptionFeature findFirst
|
|
*/
|
|
export type PortalSubscriptionFeatureFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PortalSubscriptionFeature
|
|
*/
|
|
select?: Prisma.PortalSubscriptionFeatureSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PortalSubscriptionFeature
|
|
*/
|
|
omit?: Prisma.PortalSubscriptionFeatureOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PortalSubscriptionFeatureInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which PortalSubscriptionFeature to fetch.
|
|
*/
|
|
where?: Prisma.PortalSubscriptionFeatureWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of PortalSubscriptionFeatures to fetch.
|
|
*/
|
|
orderBy?: Prisma.PortalSubscriptionFeatureOrderByWithRelationInput | Prisma.PortalSubscriptionFeatureOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for PortalSubscriptionFeatures.
|
|
*/
|
|
cursor?: Prisma.PortalSubscriptionFeatureWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` PortalSubscriptionFeatures 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` PortalSubscriptionFeatures.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of PortalSubscriptionFeatures.
|
|
*/
|
|
distinct?: Prisma.PortalSubscriptionFeatureScalarFieldEnum | Prisma.PortalSubscriptionFeatureScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* PortalSubscriptionFeature findFirstOrThrow
|
|
*/
|
|
export type PortalSubscriptionFeatureFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PortalSubscriptionFeature
|
|
*/
|
|
select?: Prisma.PortalSubscriptionFeatureSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PortalSubscriptionFeature
|
|
*/
|
|
omit?: Prisma.PortalSubscriptionFeatureOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PortalSubscriptionFeatureInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which PortalSubscriptionFeature to fetch.
|
|
*/
|
|
where?: Prisma.PortalSubscriptionFeatureWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of PortalSubscriptionFeatures to fetch.
|
|
*/
|
|
orderBy?: Prisma.PortalSubscriptionFeatureOrderByWithRelationInput | Prisma.PortalSubscriptionFeatureOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for PortalSubscriptionFeatures.
|
|
*/
|
|
cursor?: Prisma.PortalSubscriptionFeatureWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` PortalSubscriptionFeatures 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` PortalSubscriptionFeatures.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of PortalSubscriptionFeatures.
|
|
*/
|
|
distinct?: Prisma.PortalSubscriptionFeatureScalarFieldEnum | Prisma.PortalSubscriptionFeatureScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* PortalSubscriptionFeature findMany
|
|
*/
|
|
export type PortalSubscriptionFeatureFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PortalSubscriptionFeature
|
|
*/
|
|
select?: Prisma.PortalSubscriptionFeatureSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PortalSubscriptionFeature
|
|
*/
|
|
omit?: Prisma.PortalSubscriptionFeatureOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PortalSubscriptionFeatureInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which PortalSubscriptionFeatures to fetch.
|
|
*/
|
|
where?: Prisma.PortalSubscriptionFeatureWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of PortalSubscriptionFeatures to fetch.
|
|
*/
|
|
orderBy?: Prisma.PortalSubscriptionFeatureOrderByWithRelationInput | Prisma.PortalSubscriptionFeatureOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing PortalSubscriptionFeatures.
|
|
*/
|
|
cursor?: Prisma.PortalSubscriptionFeatureWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` PortalSubscriptionFeatures 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` PortalSubscriptionFeatures.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of PortalSubscriptionFeatures.
|
|
*/
|
|
distinct?: Prisma.PortalSubscriptionFeatureScalarFieldEnum | Prisma.PortalSubscriptionFeatureScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* PortalSubscriptionFeature create
|
|
*/
|
|
export type PortalSubscriptionFeatureCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PortalSubscriptionFeature
|
|
*/
|
|
select?: Prisma.PortalSubscriptionFeatureSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PortalSubscriptionFeature
|
|
*/
|
|
omit?: Prisma.PortalSubscriptionFeatureOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PortalSubscriptionFeatureInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a PortalSubscriptionFeature.
|
|
*/
|
|
data: Prisma.XOR<Prisma.PortalSubscriptionFeatureCreateInput, Prisma.PortalSubscriptionFeatureUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* PortalSubscriptionFeature createMany
|
|
*/
|
|
export type PortalSubscriptionFeatureCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many PortalSubscriptionFeatures.
|
|
*/
|
|
data: Prisma.PortalSubscriptionFeatureCreateManyInput | Prisma.PortalSubscriptionFeatureCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* PortalSubscriptionFeature createManyAndReturn
|
|
*/
|
|
export type PortalSubscriptionFeatureCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PortalSubscriptionFeature
|
|
*/
|
|
select?: Prisma.PortalSubscriptionFeatureSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PortalSubscriptionFeature
|
|
*/
|
|
omit?: Prisma.PortalSubscriptionFeatureOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to create many PortalSubscriptionFeatures.
|
|
*/
|
|
data: Prisma.PortalSubscriptionFeatureCreateManyInput | Prisma.PortalSubscriptionFeatureCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PortalSubscriptionFeatureIncludeCreateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* PortalSubscriptionFeature update
|
|
*/
|
|
export type PortalSubscriptionFeatureUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PortalSubscriptionFeature
|
|
*/
|
|
select?: Prisma.PortalSubscriptionFeatureSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PortalSubscriptionFeature
|
|
*/
|
|
omit?: Prisma.PortalSubscriptionFeatureOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PortalSubscriptionFeatureInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a PortalSubscriptionFeature.
|
|
*/
|
|
data: Prisma.XOR<Prisma.PortalSubscriptionFeatureUpdateInput, Prisma.PortalSubscriptionFeatureUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which PortalSubscriptionFeature to update.
|
|
*/
|
|
where: Prisma.PortalSubscriptionFeatureWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* PortalSubscriptionFeature updateMany
|
|
*/
|
|
export type PortalSubscriptionFeatureUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update PortalSubscriptionFeatures.
|
|
*/
|
|
data: Prisma.XOR<Prisma.PortalSubscriptionFeatureUpdateManyMutationInput, Prisma.PortalSubscriptionFeatureUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which PortalSubscriptionFeatures to update
|
|
*/
|
|
where?: Prisma.PortalSubscriptionFeatureWhereInput
|
|
/**
|
|
* Limit how many PortalSubscriptionFeatures to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* PortalSubscriptionFeature updateManyAndReturn
|
|
*/
|
|
export type PortalSubscriptionFeatureUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PortalSubscriptionFeature
|
|
*/
|
|
select?: Prisma.PortalSubscriptionFeatureSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PortalSubscriptionFeature
|
|
*/
|
|
omit?: Prisma.PortalSubscriptionFeatureOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update PortalSubscriptionFeatures.
|
|
*/
|
|
data: Prisma.XOR<Prisma.PortalSubscriptionFeatureUpdateManyMutationInput, Prisma.PortalSubscriptionFeatureUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which PortalSubscriptionFeatures to update
|
|
*/
|
|
where?: Prisma.PortalSubscriptionFeatureWhereInput
|
|
/**
|
|
* Limit how many PortalSubscriptionFeatures to update.
|
|
*/
|
|
limit?: number
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PortalSubscriptionFeatureIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* PortalSubscriptionFeature upsert
|
|
*/
|
|
export type PortalSubscriptionFeatureUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PortalSubscriptionFeature
|
|
*/
|
|
select?: Prisma.PortalSubscriptionFeatureSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PortalSubscriptionFeature
|
|
*/
|
|
omit?: Prisma.PortalSubscriptionFeatureOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PortalSubscriptionFeatureInclude<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the PortalSubscriptionFeature to update in case it exists.
|
|
*/
|
|
where: Prisma.PortalSubscriptionFeatureWhereUniqueInput
|
|
/**
|
|
* In case the PortalSubscriptionFeature found by the `where` argument doesn't exist, create a new PortalSubscriptionFeature with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.PortalSubscriptionFeatureCreateInput, Prisma.PortalSubscriptionFeatureUncheckedCreateInput>
|
|
/**
|
|
* In case the PortalSubscriptionFeature was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.PortalSubscriptionFeatureUpdateInput, Prisma.PortalSubscriptionFeatureUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* PortalSubscriptionFeature delete
|
|
*/
|
|
export type PortalSubscriptionFeatureDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PortalSubscriptionFeature
|
|
*/
|
|
select?: Prisma.PortalSubscriptionFeatureSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PortalSubscriptionFeature
|
|
*/
|
|
omit?: Prisma.PortalSubscriptionFeatureOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PortalSubscriptionFeatureInclude<ExtArgs> | null
|
|
/**
|
|
* Filter which PortalSubscriptionFeature to delete.
|
|
*/
|
|
where: Prisma.PortalSubscriptionFeatureWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* PortalSubscriptionFeature deleteMany
|
|
*/
|
|
export type PortalSubscriptionFeatureDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which PortalSubscriptionFeatures to delete
|
|
*/
|
|
where?: Prisma.PortalSubscriptionFeatureWhereInput
|
|
/**
|
|
* Limit how many PortalSubscriptionFeatures to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* PortalSubscriptionFeature without action
|
|
*/
|
|
export type PortalSubscriptionFeatureDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PortalSubscriptionFeature
|
|
*/
|
|
select?: Prisma.PortalSubscriptionFeatureSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PortalSubscriptionFeature
|
|
*/
|
|
omit?: Prisma.PortalSubscriptionFeatureOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PortalSubscriptionFeatureInclude<ExtArgs> | null
|
|
}
|