/* !!! 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 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 = { /** * 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 = { [P in keyof T & keyof AggregatePortalSubscriptionFeature]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type PortalSubscriptionFeatureGroupByArgs = { 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 = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof PortalSubscriptionFeatureGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > 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 subscriptionProduct?: Prisma.XOR } 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 subscriptionProduct?: Prisma.XOR }, "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[] connectOrCreate?: Prisma.PortalSubscriptionFeatureCreateOrConnectWithoutPortalInput | Prisma.PortalSubscriptionFeatureCreateOrConnectWithoutPortalInput[] createMany?: Prisma.PortalSubscriptionFeatureCreateManyPortalInputEnvelope connect?: Prisma.PortalSubscriptionFeatureWhereUniqueInput | Prisma.PortalSubscriptionFeatureWhereUniqueInput[] } export type PortalSubscriptionFeatureUncheckedCreateNestedManyWithoutPortalInput = { create?: Prisma.XOR | 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[] 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[] 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[] connectOrCreate?: Prisma.PortalSubscriptionFeatureCreateOrConnectWithoutSubscriptionProductInput | Prisma.PortalSubscriptionFeatureCreateOrConnectWithoutSubscriptionProductInput[] createMany?: Prisma.PortalSubscriptionFeatureCreateManySubscriptionProductInputEnvelope connect?: Prisma.PortalSubscriptionFeatureWhereUniqueInput | Prisma.PortalSubscriptionFeatureWhereUniqueInput[] } export type PortalSubscriptionFeatureUncheckedCreateNestedManyWithoutSubscriptionProductInput = { create?: Prisma.XOR | 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[] 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[] 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 } export type PortalSubscriptionFeatureCreateManyPortalInputEnvelope = { data: Prisma.PortalSubscriptionFeatureCreateManyPortalInput | Prisma.PortalSubscriptionFeatureCreateManyPortalInput[] skipDuplicates?: boolean } export type PortalSubscriptionFeatureUpsertWithWhereUniqueWithoutPortalInput = { where: Prisma.PortalSubscriptionFeatureWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type PortalSubscriptionFeatureUpdateWithWhereUniqueWithoutPortalInput = { where: Prisma.PortalSubscriptionFeatureWhereUniqueInput data: Prisma.XOR } export type PortalSubscriptionFeatureUpdateManyWithWhereWithoutPortalInput = { where: Prisma.PortalSubscriptionFeatureScalarWhereInput data: Prisma.XOR } 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 } export type PortalSubscriptionFeatureCreateManySubscriptionProductInputEnvelope = { data: Prisma.PortalSubscriptionFeatureCreateManySubscriptionProductInput | Prisma.PortalSubscriptionFeatureCreateManySubscriptionProductInput[] skipDuplicates?: boolean } export type PortalSubscriptionFeatureUpsertWithWhereUniqueWithoutSubscriptionProductInput = { where: Prisma.PortalSubscriptionFeatureWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type PortalSubscriptionFeatureUpdateWithWhereUniqueWithoutSubscriptionProductInput = { where: Prisma.PortalSubscriptionFeatureWhereUniqueInput data: Prisma.XOR } export type PortalSubscriptionFeatureUpdateManyWithWhereWithoutSubscriptionProductInput = { where: Prisma.PortalSubscriptionFeatureScalarWhereInput data: Prisma.XOR } 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 = 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 subscriptionProduct?: boolean | Prisma.PortalSubscriptionProductDefaultArgs }, ExtArgs["result"]["portalSubscriptionFeature"]> export type PortalSubscriptionFeatureSelectCreateManyAndReturn = 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 subscriptionProduct?: boolean | Prisma.PortalSubscriptionProductDefaultArgs }, ExtArgs["result"]["portalSubscriptionFeature"]> export type PortalSubscriptionFeatureSelectUpdateManyAndReturn = 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 subscriptionProduct?: boolean | Prisma.PortalSubscriptionProductDefaultArgs }, 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 = runtime.Types.Extensions.GetOmit<"id" | "portalId" | "subscriptionProductId" | "order" | "title" | "name" | "type" | "value" | "href" | "badge" | "accumulate", ExtArgs["result"]["portalSubscriptionFeature"]> export type PortalSubscriptionFeatureInclude = { portal?: boolean | Prisma.PortalDefaultArgs subscriptionProduct?: boolean | Prisma.PortalSubscriptionProductDefaultArgs } export type PortalSubscriptionFeatureIncludeCreateManyAndReturn = { portal?: boolean | Prisma.PortalDefaultArgs subscriptionProduct?: boolean | Prisma.PortalSubscriptionProductDefaultArgs } export type PortalSubscriptionFeatureIncludeUpdateManyAndReturn = { portal?: boolean | Prisma.PortalDefaultArgs subscriptionProduct?: boolean | Prisma.PortalSubscriptionProductDefaultArgs } export type $PortalSubscriptionFeaturePayload = { name: "PortalSubscriptionFeature" objects: { portal: Prisma.$PortalPayload subscriptionProduct: Prisma.$PortalSubscriptionProductPayload } 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 = runtime.Types.Result.GetResult export type PortalSubscriptionFeatureCountArgs = Omit & { select?: PortalSubscriptionFeatureCountAggregateInputType | true } export interface PortalSubscriptionFeatureDelegate { [K: symbol]: { types: Prisma.TypeMap['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(args: Prisma.SelectSubset>): Prisma.Prisma__PortalSubscriptionFeatureClient, 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(args: Prisma.SelectSubset>): Prisma.Prisma__PortalSubscriptionFeatureClient, 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(args?: Prisma.SelectSubset>): Prisma.Prisma__PortalSubscriptionFeatureClient, 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(args?: Prisma.SelectSubset>): Prisma.Prisma__PortalSubscriptionFeatureClient, 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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, 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(args: Prisma.SelectSubset>): Prisma.Prisma__PortalSubscriptionFeatureClient, 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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * 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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, 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(args: Prisma.SelectSubset>): Prisma.Prisma__PortalSubscriptionFeatureClient, 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(args: Prisma.SelectSubset>): Prisma.Prisma__PortalSubscriptionFeatureClient, 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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * 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(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * 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(args: Prisma.SelectSubset>): Prisma.PrismaPromise, 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(args: Prisma.SelectSubset>): Prisma.Prisma__PortalSubscriptionFeatureClient, 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( args?: Prisma.Subset, ): Prisma.PrismaPromise< T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType : number > /** * Allows you to perform aggregations operations on a 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(args: Prisma.Subset): Prisma.PrismaPromise> /** * 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>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: PortalSubscriptionFeatureGroupByArgs['orderBy'] } : { orderBy?: PortalSubscriptionFeatureGroupByArgs['orderBy'] }, OrderFields extends Prisma.ExcludeUnderscoreKeys>>, ByFields extends Prisma.MaybeTupleToUnion, ByValid extends Prisma.Has, HavingFields extends Prisma.GetHavingFields, HavingValid extends Prisma.Has, ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True ? `Error: "by" must not be empty.` : HavingValid extends Prisma.False ? { [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [ Error, 'Field ', P, ` in "having" needs to be provided in "by"`, ] }[HavingFields] : 'take' extends Prisma.Keys ? 'orderBy' extends Prisma.Keys ? ByValid extends Prisma.True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Prisma.Keys ? 'orderBy' extends Prisma.Keys ? ByValid extends Prisma.True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetPortalSubscriptionFeatureGroupByPayload : Prisma.PrismaPromise /** * 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 extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" portal = {}>(args?: Prisma.Subset>): Prisma.Prisma__PortalClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> subscriptionProduct = {}>(args?: Prisma.Subset>): Prisma.Prisma__PortalSubscriptionProductClient, 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(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * Attaches a callback for only the rejection of the Promise. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of the callback. */ catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The * resolved value cannot be modified from the callback. * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). * @returns A Promise for the completion of the callback. */ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise } /** * Fields of the 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 = { /** * Select specific fields to fetch from the PortalSubscriptionFeature */ select?: Prisma.PortalSubscriptionFeatureSelect | null /** * Omit specific fields from the PortalSubscriptionFeature */ omit?: Prisma.PortalSubscriptionFeatureOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.PortalSubscriptionFeatureInclude | null /** * Filter, which PortalSubscriptionFeature to fetch. */ where: Prisma.PortalSubscriptionFeatureWhereUniqueInput } /** * PortalSubscriptionFeature findUniqueOrThrow */ export type PortalSubscriptionFeatureFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the PortalSubscriptionFeature */ select?: Prisma.PortalSubscriptionFeatureSelect | null /** * Omit specific fields from the PortalSubscriptionFeature */ omit?: Prisma.PortalSubscriptionFeatureOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.PortalSubscriptionFeatureInclude | null /** * Filter, which PortalSubscriptionFeature to fetch. */ where: Prisma.PortalSubscriptionFeatureWhereUniqueInput } /** * PortalSubscriptionFeature findFirst */ export type PortalSubscriptionFeatureFindFirstArgs = { /** * Select specific fields to fetch from the PortalSubscriptionFeature */ select?: Prisma.PortalSubscriptionFeatureSelect | null /** * Omit specific fields from the PortalSubscriptionFeature */ omit?: Prisma.PortalSubscriptionFeatureOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.PortalSubscriptionFeatureInclude | 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 = { /** * Select specific fields to fetch from the PortalSubscriptionFeature */ select?: Prisma.PortalSubscriptionFeatureSelect | null /** * Omit specific fields from the PortalSubscriptionFeature */ omit?: Prisma.PortalSubscriptionFeatureOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.PortalSubscriptionFeatureInclude | 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 = { /** * Select specific fields to fetch from the PortalSubscriptionFeature */ select?: Prisma.PortalSubscriptionFeatureSelect | null /** * Omit specific fields from the PortalSubscriptionFeature */ omit?: Prisma.PortalSubscriptionFeatureOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.PortalSubscriptionFeatureInclude | 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 = { /** * Select specific fields to fetch from the PortalSubscriptionFeature */ select?: Prisma.PortalSubscriptionFeatureSelect | null /** * Omit specific fields from the PortalSubscriptionFeature */ omit?: Prisma.PortalSubscriptionFeatureOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.PortalSubscriptionFeatureInclude | null /** * The data needed to create a PortalSubscriptionFeature. */ data: Prisma.XOR } /** * PortalSubscriptionFeature createMany */ export type PortalSubscriptionFeatureCreateManyArgs = { /** * The data used to create many PortalSubscriptionFeatures. */ data: Prisma.PortalSubscriptionFeatureCreateManyInput | Prisma.PortalSubscriptionFeatureCreateManyInput[] skipDuplicates?: boolean } /** * PortalSubscriptionFeature createManyAndReturn */ export type PortalSubscriptionFeatureCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the PortalSubscriptionFeature */ select?: Prisma.PortalSubscriptionFeatureSelectCreateManyAndReturn | null /** * Omit specific fields from the PortalSubscriptionFeature */ omit?: Prisma.PortalSubscriptionFeatureOmit | 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 | null } /** * PortalSubscriptionFeature update */ export type PortalSubscriptionFeatureUpdateArgs = { /** * Select specific fields to fetch from the PortalSubscriptionFeature */ select?: Prisma.PortalSubscriptionFeatureSelect | null /** * Omit specific fields from the PortalSubscriptionFeature */ omit?: Prisma.PortalSubscriptionFeatureOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.PortalSubscriptionFeatureInclude | null /** * The data needed to update a PortalSubscriptionFeature. */ data: Prisma.XOR /** * Choose, which PortalSubscriptionFeature to update. */ where: Prisma.PortalSubscriptionFeatureWhereUniqueInput } /** * PortalSubscriptionFeature updateMany */ export type PortalSubscriptionFeatureUpdateManyArgs = { /** * The data used to update PortalSubscriptionFeatures. */ data: Prisma.XOR /** * Filter which PortalSubscriptionFeatures to update */ where?: Prisma.PortalSubscriptionFeatureWhereInput /** * Limit how many PortalSubscriptionFeatures to update. */ limit?: number } /** * PortalSubscriptionFeature updateManyAndReturn */ export type PortalSubscriptionFeatureUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the PortalSubscriptionFeature */ select?: Prisma.PortalSubscriptionFeatureSelectUpdateManyAndReturn | null /** * Omit specific fields from the PortalSubscriptionFeature */ omit?: Prisma.PortalSubscriptionFeatureOmit | null /** * The data used to update PortalSubscriptionFeatures. */ data: Prisma.XOR /** * 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 | null } /** * PortalSubscriptionFeature upsert */ export type PortalSubscriptionFeatureUpsertArgs = { /** * Select specific fields to fetch from the PortalSubscriptionFeature */ select?: Prisma.PortalSubscriptionFeatureSelect | null /** * Omit specific fields from the PortalSubscriptionFeature */ omit?: Prisma.PortalSubscriptionFeatureOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.PortalSubscriptionFeatureInclude | 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 /** * In case the PortalSubscriptionFeature was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * PortalSubscriptionFeature delete */ export type PortalSubscriptionFeatureDeleteArgs = { /** * Select specific fields to fetch from the PortalSubscriptionFeature */ select?: Prisma.PortalSubscriptionFeatureSelect | null /** * Omit specific fields from the PortalSubscriptionFeature */ omit?: Prisma.PortalSubscriptionFeatureOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.PortalSubscriptionFeatureInclude | null /** * Filter which PortalSubscriptionFeature to delete. */ where: Prisma.PortalSubscriptionFeatureWhereUniqueInput } /** * PortalSubscriptionFeature deleteMany */ export type PortalSubscriptionFeatureDeleteManyArgs = { /** * Filter which PortalSubscriptionFeatures to delete */ where?: Prisma.PortalSubscriptionFeatureWhereInput /** * Limit how many PortalSubscriptionFeatures to delete. */ limit?: number } /** * PortalSubscriptionFeature without action */ export type PortalSubscriptionFeatureDefaultArgs = { /** * Select specific fields to fetch from the PortalSubscriptionFeature */ select?: Prisma.PortalSubscriptionFeatureSelect | null /** * Omit specific fields from the PortalSubscriptionFeature */ omit?: Prisma.PortalSubscriptionFeatureOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.PortalSubscriptionFeatureInclude | null }