/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `PortalSubscriptionPrice` 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 PortalSubscriptionPrice * */ export type PortalSubscriptionPriceModel = runtime.Types.Result.DefaultSelection export type AggregatePortalSubscriptionPrice = { _count: PortalSubscriptionPriceCountAggregateOutputType | null _avg: PortalSubscriptionPriceAvgAggregateOutputType | null _sum: PortalSubscriptionPriceSumAggregateOutputType | null _min: PortalSubscriptionPriceMinAggregateOutputType | null _max: PortalSubscriptionPriceMaxAggregateOutputType | null } export type PortalSubscriptionPriceAvgAggregateOutputType = { type: number | null billingPeriod: number | null price: runtime.Decimal | null trialDays: number | null } export type PortalSubscriptionPriceSumAggregateOutputType = { type: number | null billingPeriod: number | null price: runtime.Decimal | null trialDays: number | null } export type PortalSubscriptionPriceMinAggregateOutputType = { id: string | null portalId: string | null subscriptionProductId: string | null stripeId: string | null type: number | null billingPeriod: number | null price: runtime.Decimal | null currency: string | null trialDays: number | null active: boolean | null } export type PortalSubscriptionPriceMaxAggregateOutputType = { id: string | null portalId: string | null subscriptionProductId: string | null stripeId: string | null type: number | null billingPeriod: number | null price: runtime.Decimal | null currency: string | null trialDays: number | null active: boolean | null } export type PortalSubscriptionPriceCountAggregateOutputType = { id: number portalId: number subscriptionProductId: number stripeId: number type: number billingPeriod: number price: number currency: number trialDays: number active: number _all: number } export type PortalSubscriptionPriceAvgAggregateInputType = { type?: true billingPeriod?: true price?: true trialDays?: true } export type PortalSubscriptionPriceSumAggregateInputType = { type?: true billingPeriod?: true price?: true trialDays?: true } export type PortalSubscriptionPriceMinAggregateInputType = { id?: true portalId?: true subscriptionProductId?: true stripeId?: true type?: true billingPeriod?: true price?: true currency?: true trialDays?: true active?: true } export type PortalSubscriptionPriceMaxAggregateInputType = { id?: true portalId?: true subscriptionProductId?: true stripeId?: true type?: true billingPeriod?: true price?: true currency?: true trialDays?: true active?: true } export type PortalSubscriptionPriceCountAggregateInputType = { id?: true portalId?: true subscriptionProductId?: true stripeId?: true type?: true billingPeriod?: true price?: true currency?: true trialDays?: true active?: true _all?: true } export type PortalSubscriptionPriceAggregateArgs = { /** * Filter which PortalSubscriptionPrice to aggregate. */ where?: Prisma.PortalSubscriptionPriceWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of PortalSubscriptionPrices to fetch. */ orderBy?: Prisma.PortalSubscriptionPriceOrderByWithRelationInput | Prisma.PortalSubscriptionPriceOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.PortalSubscriptionPriceWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` PortalSubscriptionPrices 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` PortalSubscriptionPrices. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned PortalSubscriptionPrices **/ _count?: true | PortalSubscriptionPriceCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: PortalSubscriptionPriceAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: PortalSubscriptionPriceSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: PortalSubscriptionPriceMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: PortalSubscriptionPriceMaxAggregateInputType } export type GetPortalSubscriptionPriceAggregateType = { [P in keyof T & keyof AggregatePortalSubscriptionPrice]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type PortalSubscriptionPriceGroupByArgs = { where?: Prisma.PortalSubscriptionPriceWhereInput orderBy?: Prisma.PortalSubscriptionPriceOrderByWithAggregationInput | Prisma.PortalSubscriptionPriceOrderByWithAggregationInput[] by: Prisma.PortalSubscriptionPriceScalarFieldEnum[] | Prisma.PortalSubscriptionPriceScalarFieldEnum having?: Prisma.PortalSubscriptionPriceScalarWhereWithAggregatesInput take?: number skip?: number _count?: PortalSubscriptionPriceCountAggregateInputType | true _avg?: PortalSubscriptionPriceAvgAggregateInputType _sum?: PortalSubscriptionPriceSumAggregateInputType _min?: PortalSubscriptionPriceMinAggregateInputType _max?: PortalSubscriptionPriceMaxAggregateInputType } export type PortalSubscriptionPriceGroupByOutputType = { id: string portalId: string subscriptionProductId: string stripeId: string type: number billingPeriod: number price: runtime.Decimal currency: string trialDays: number active: boolean _count: PortalSubscriptionPriceCountAggregateOutputType | null _avg: PortalSubscriptionPriceAvgAggregateOutputType | null _sum: PortalSubscriptionPriceSumAggregateOutputType | null _min: PortalSubscriptionPriceMinAggregateOutputType | null _max: PortalSubscriptionPriceMaxAggregateOutputType | null } export type GetPortalSubscriptionPriceGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof PortalSubscriptionPriceGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type PortalSubscriptionPriceWhereInput = { AND?: Prisma.PortalSubscriptionPriceWhereInput | Prisma.PortalSubscriptionPriceWhereInput[] OR?: Prisma.PortalSubscriptionPriceWhereInput[] NOT?: Prisma.PortalSubscriptionPriceWhereInput | Prisma.PortalSubscriptionPriceWhereInput[] id?: Prisma.StringFilter<"PortalSubscriptionPrice"> | string portalId?: Prisma.StringFilter<"PortalSubscriptionPrice"> | string subscriptionProductId?: Prisma.StringFilter<"PortalSubscriptionPrice"> | string stripeId?: Prisma.StringFilter<"PortalSubscriptionPrice"> | string type?: Prisma.IntFilter<"PortalSubscriptionPrice"> | number billingPeriod?: Prisma.IntFilter<"PortalSubscriptionPrice"> | number price?: Prisma.DecimalFilter<"PortalSubscriptionPrice"> | runtime.Decimal | runtime.DecimalJsLike | number | string currency?: Prisma.StringFilter<"PortalSubscriptionPrice"> | string trialDays?: Prisma.IntFilter<"PortalSubscriptionPrice"> | number active?: Prisma.BoolFilter<"PortalSubscriptionPrice"> | boolean portal?: Prisma.XOR subscriptionProduct?: Prisma.XOR portalUserProductPrices?: Prisma.PortalUserSubscriptionProductPriceListRelationFilter } export type PortalSubscriptionPriceOrderByWithRelationInput = { id?: Prisma.SortOrder portalId?: Prisma.SortOrder subscriptionProductId?: Prisma.SortOrder stripeId?: Prisma.SortOrder type?: Prisma.SortOrder billingPeriod?: Prisma.SortOrder price?: Prisma.SortOrder currency?: Prisma.SortOrder trialDays?: Prisma.SortOrder active?: Prisma.SortOrder portal?: Prisma.PortalOrderByWithRelationInput subscriptionProduct?: Prisma.PortalSubscriptionProductOrderByWithRelationInput portalUserProductPrices?: Prisma.PortalUserSubscriptionProductPriceOrderByRelationAggregateInput } export type PortalSubscriptionPriceWhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: Prisma.PortalSubscriptionPriceWhereInput | Prisma.PortalSubscriptionPriceWhereInput[] OR?: Prisma.PortalSubscriptionPriceWhereInput[] NOT?: Prisma.PortalSubscriptionPriceWhereInput | Prisma.PortalSubscriptionPriceWhereInput[] portalId?: Prisma.StringFilter<"PortalSubscriptionPrice"> | string subscriptionProductId?: Prisma.StringFilter<"PortalSubscriptionPrice"> | string stripeId?: Prisma.StringFilter<"PortalSubscriptionPrice"> | string type?: Prisma.IntFilter<"PortalSubscriptionPrice"> | number billingPeriod?: Prisma.IntFilter<"PortalSubscriptionPrice"> | number price?: Prisma.DecimalFilter<"PortalSubscriptionPrice"> | runtime.Decimal | runtime.DecimalJsLike | number | string currency?: Prisma.StringFilter<"PortalSubscriptionPrice"> | string trialDays?: Prisma.IntFilter<"PortalSubscriptionPrice"> | number active?: Prisma.BoolFilter<"PortalSubscriptionPrice"> | boolean portal?: Prisma.XOR subscriptionProduct?: Prisma.XOR portalUserProductPrices?: Prisma.PortalUserSubscriptionProductPriceListRelationFilter }, "id"> export type PortalSubscriptionPriceOrderByWithAggregationInput = { id?: Prisma.SortOrder portalId?: Prisma.SortOrder subscriptionProductId?: Prisma.SortOrder stripeId?: Prisma.SortOrder type?: Prisma.SortOrder billingPeriod?: Prisma.SortOrder price?: Prisma.SortOrder currency?: Prisma.SortOrder trialDays?: Prisma.SortOrder active?: Prisma.SortOrder _count?: Prisma.PortalSubscriptionPriceCountOrderByAggregateInput _avg?: Prisma.PortalSubscriptionPriceAvgOrderByAggregateInput _max?: Prisma.PortalSubscriptionPriceMaxOrderByAggregateInput _min?: Prisma.PortalSubscriptionPriceMinOrderByAggregateInput _sum?: Prisma.PortalSubscriptionPriceSumOrderByAggregateInput } export type PortalSubscriptionPriceScalarWhereWithAggregatesInput = { AND?: Prisma.PortalSubscriptionPriceScalarWhereWithAggregatesInput | Prisma.PortalSubscriptionPriceScalarWhereWithAggregatesInput[] OR?: Prisma.PortalSubscriptionPriceScalarWhereWithAggregatesInput[] NOT?: Prisma.PortalSubscriptionPriceScalarWhereWithAggregatesInput | Prisma.PortalSubscriptionPriceScalarWhereWithAggregatesInput[] id?: Prisma.StringWithAggregatesFilter<"PortalSubscriptionPrice"> | string portalId?: Prisma.StringWithAggregatesFilter<"PortalSubscriptionPrice"> | string subscriptionProductId?: Prisma.StringWithAggregatesFilter<"PortalSubscriptionPrice"> | string stripeId?: Prisma.StringWithAggregatesFilter<"PortalSubscriptionPrice"> | string type?: Prisma.IntWithAggregatesFilter<"PortalSubscriptionPrice"> | number billingPeriod?: Prisma.IntWithAggregatesFilter<"PortalSubscriptionPrice"> | number price?: Prisma.DecimalWithAggregatesFilter<"PortalSubscriptionPrice"> | runtime.Decimal | runtime.DecimalJsLike | number | string currency?: Prisma.StringWithAggregatesFilter<"PortalSubscriptionPrice"> | string trialDays?: Prisma.IntWithAggregatesFilter<"PortalSubscriptionPrice"> | number active?: Prisma.BoolWithAggregatesFilter<"PortalSubscriptionPrice"> | boolean } export type PortalSubscriptionPriceCreateInput = { id?: string stripeId: string type: number billingPeriod: number price: runtime.Decimal | runtime.DecimalJsLike | number | string currency: string trialDays: number active: boolean portal: Prisma.PortalCreateNestedOneWithoutSubscriptionPricesInput subscriptionProduct: Prisma.PortalSubscriptionProductCreateNestedOneWithoutPricesInput portalUserProductPrices?: Prisma.PortalUserSubscriptionProductPriceCreateNestedManyWithoutSubscriptionPriceInput } export type PortalSubscriptionPriceUncheckedCreateInput = { id?: string portalId: string subscriptionProductId: string stripeId: string type: number billingPeriod: number price: runtime.Decimal | runtime.DecimalJsLike | number | string currency: string trialDays: number active: boolean portalUserProductPrices?: Prisma.PortalUserSubscriptionProductPriceUncheckedCreateNestedManyWithoutSubscriptionPriceInput } export type PortalSubscriptionPriceUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string stripeId?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.IntFieldUpdateOperationsInput | number billingPeriod?: Prisma.IntFieldUpdateOperationsInput | number price?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string currency?: Prisma.StringFieldUpdateOperationsInput | string trialDays?: Prisma.IntFieldUpdateOperationsInput | number active?: Prisma.BoolFieldUpdateOperationsInput | boolean portal?: Prisma.PortalUpdateOneRequiredWithoutSubscriptionPricesNestedInput subscriptionProduct?: Prisma.PortalSubscriptionProductUpdateOneRequiredWithoutPricesNestedInput portalUserProductPrices?: Prisma.PortalUserSubscriptionProductPriceUpdateManyWithoutSubscriptionPriceNestedInput } export type PortalSubscriptionPriceUncheckedUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string portalId?: Prisma.StringFieldUpdateOperationsInput | string subscriptionProductId?: Prisma.StringFieldUpdateOperationsInput | string stripeId?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.IntFieldUpdateOperationsInput | number billingPeriod?: Prisma.IntFieldUpdateOperationsInput | number price?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string currency?: Prisma.StringFieldUpdateOperationsInput | string trialDays?: Prisma.IntFieldUpdateOperationsInput | number active?: Prisma.BoolFieldUpdateOperationsInput | boolean portalUserProductPrices?: Prisma.PortalUserSubscriptionProductPriceUncheckedUpdateManyWithoutSubscriptionPriceNestedInput } export type PortalSubscriptionPriceCreateManyInput = { id?: string portalId: string subscriptionProductId: string stripeId: string type: number billingPeriod: number price: runtime.Decimal | runtime.DecimalJsLike | number | string currency: string trialDays: number active: boolean } export type PortalSubscriptionPriceUpdateManyMutationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string stripeId?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.IntFieldUpdateOperationsInput | number billingPeriod?: Prisma.IntFieldUpdateOperationsInput | number price?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string currency?: Prisma.StringFieldUpdateOperationsInput | string trialDays?: Prisma.IntFieldUpdateOperationsInput | number active?: Prisma.BoolFieldUpdateOperationsInput | boolean } export type PortalSubscriptionPriceUncheckedUpdateManyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string portalId?: Prisma.StringFieldUpdateOperationsInput | string subscriptionProductId?: Prisma.StringFieldUpdateOperationsInput | string stripeId?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.IntFieldUpdateOperationsInput | number billingPeriod?: Prisma.IntFieldUpdateOperationsInput | number price?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string currency?: Prisma.StringFieldUpdateOperationsInput | string trialDays?: Prisma.IntFieldUpdateOperationsInput | number active?: Prisma.BoolFieldUpdateOperationsInput | boolean } export type PortalSubscriptionPriceListRelationFilter = { every?: Prisma.PortalSubscriptionPriceWhereInput some?: Prisma.PortalSubscriptionPriceWhereInput none?: Prisma.PortalSubscriptionPriceWhereInput } export type PortalSubscriptionPriceOrderByRelationAggregateInput = { _count?: Prisma.SortOrder } export type PortalSubscriptionPriceCountOrderByAggregateInput = { id?: Prisma.SortOrder portalId?: Prisma.SortOrder subscriptionProductId?: Prisma.SortOrder stripeId?: Prisma.SortOrder type?: Prisma.SortOrder billingPeriod?: Prisma.SortOrder price?: Prisma.SortOrder currency?: Prisma.SortOrder trialDays?: Prisma.SortOrder active?: Prisma.SortOrder } export type PortalSubscriptionPriceAvgOrderByAggregateInput = { type?: Prisma.SortOrder billingPeriod?: Prisma.SortOrder price?: Prisma.SortOrder trialDays?: Prisma.SortOrder } export type PortalSubscriptionPriceMaxOrderByAggregateInput = { id?: Prisma.SortOrder portalId?: Prisma.SortOrder subscriptionProductId?: Prisma.SortOrder stripeId?: Prisma.SortOrder type?: Prisma.SortOrder billingPeriod?: Prisma.SortOrder price?: Prisma.SortOrder currency?: Prisma.SortOrder trialDays?: Prisma.SortOrder active?: Prisma.SortOrder } export type PortalSubscriptionPriceMinOrderByAggregateInput = { id?: Prisma.SortOrder portalId?: Prisma.SortOrder subscriptionProductId?: Prisma.SortOrder stripeId?: Prisma.SortOrder type?: Prisma.SortOrder billingPeriod?: Prisma.SortOrder price?: Prisma.SortOrder currency?: Prisma.SortOrder trialDays?: Prisma.SortOrder active?: Prisma.SortOrder } export type PortalSubscriptionPriceSumOrderByAggregateInput = { type?: Prisma.SortOrder billingPeriod?: Prisma.SortOrder price?: Prisma.SortOrder trialDays?: Prisma.SortOrder } export type PortalSubscriptionPriceNullableScalarRelationFilter = { is?: Prisma.PortalSubscriptionPriceWhereInput | null isNot?: Prisma.PortalSubscriptionPriceWhereInput | null } export type PortalSubscriptionPriceCreateNestedManyWithoutPortalInput = { create?: Prisma.XOR | Prisma.PortalSubscriptionPriceCreateWithoutPortalInput[] | Prisma.PortalSubscriptionPriceUncheckedCreateWithoutPortalInput[] connectOrCreate?: Prisma.PortalSubscriptionPriceCreateOrConnectWithoutPortalInput | Prisma.PortalSubscriptionPriceCreateOrConnectWithoutPortalInput[] createMany?: Prisma.PortalSubscriptionPriceCreateManyPortalInputEnvelope connect?: Prisma.PortalSubscriptionPriceWhereUniqueInput | Prisma.PortalSubscriptionPriceWhereUniqueInput[] } export type PortalSubscriptionPriceUncheckedCreateNestedManyWithoutPortalInput = { create?: Prisma.XOR | Prisma.PortalSubscriptionPriceCreateWithoutPortalInput[] | Prisma.PortalSubscriptionPriceUncheckedCreateWithoutPortalInput[] connectOrCreate?: Prisma.PortalSubscriptionPriceCreateOrConnectWithoutPortalInput | Prisma.PortalSubscriptionPriceCreateOrConnectWithoutPortalInput[] createMany?: Prisma.PortalSubscriptionPriceCreateManyPortalInputEnvelope connect?: Prisma.PortalSubscriptionPriceWhereUniqueInput | Prisma.PortalSubscriptionPriceWhereUniqueInput[] } export type PortalSubscriptionPriceUpdateManyWithoutPortalNestedInput = { create?: Prisma.XOR | Prisma.PortalSubscriptionPriceCreateWithoutPortalInput[] | Prisma.PortalSubscriptionPriceUncheckedCreateWithoutPortalInput[] connectOrCreate?: Prisma.PortalSubscriptionPriceCreateOrConnectWithoutPortalInput | Prisma.PortalSubscriptionPriceCreateOrConnectWithoutPortalInput[] upsert?: Prisma.PortalSubscriptionPriceUpsertWithWhereUniqueWithoutPortalInput | Prisma.PortalSubscriptionPriceUpsertWithWhereUniqueWithoutPortalInput[] createMany?: Prisma.PortalSubscriptionPriceCreateManyPortalInputEnvelope set?: Prisma.PortalSubscriptionPriceWhereUniqueInput | Prisma.PortalSubscriptionPriceWhereUniqueInput[] disconnect?: Prisma.PortalSubscriptionPriceWhereUniqueInput | Prisma.PortalSubscriptionPriceWhereUniqueInput[] delete?: Prisma.PortalSubscriptionPriceWhereUniqueInput | Prisma.PortalSubscriptionPriceWhereUniqueInput[] connect?: Prisma.PortalSubscriptionPriceWhereUniqueInput | Prisma.PortalSubscriptionPriceWhereUniqueInput[] update?: Prisma.PortalSubscriptionPriceUpdateWithWhereUniqueWithoutPortalInput | Prisma.PortalSubscriptionPriceUpdateWithWhereUniqueWithoutPortalInput[] updateMany?: Prisma.PortalSubscriptionPriceUpdateManyWithWhereWithoutPortalInput | Prisma.PortalSubscriptionPriceUpdateManyWithWhereWithoutPortalInput[] deleteMany?: Prisma.PortalSubscriptionPriceScalarWhereInput | Prisma.PortalSubscriptionPriceScalarWhereInput[] } export type PortalSubscriptionPriceUncheckedUpdateManyWithoutPortalNestedInput = { create?: Prisma.XOR | Prisma.PortalSubscriptionPriceCreateWithoutPortalInput[] | Prisma.PortalSubscriptionPriceUncheckedCreateWithoutPortalInput[] connectOrCreate?: Prisma.PortalSubscriptionPriceCreateOrConnectWithoutPortalInput | Prisma.PortalSubscriptionPriceCreateOrConnectWithoutPortalInput[] upsert?: Prisma.PortalSubscriptionPriceUpsertWithWhereUniqueWithoutPortalInput | Prisma.PortalSubscriptionPriceUpsertWithWhereUniqueWithoutPortalInput[] createMany?: Prisma.PortalSubscriptionPriceCreateManyPortalInputEnvelope set?: Prisma.PortalSubscriptionPriceWhereUniqueInput | Prisma.PortalSubscriptionPriceWhereUniqueInput[] disconnect?: Prisma.PortalSubscriptionPriceWhereUniqueInput | Prisma.PortalSubscriptionPriceWhereUniqueInput[] delete?: Prisma.PortalSubscriptionPriceWhereUniqueInput | Prisma.PortalSubscriptionPriceWhereUniqueInput[] connect?: Prisma.PortalSubscriptionPriceWhereUniqueInput | Prisma.PortalSubscriptionPriceWhereUniqueInput[] update?: Prisma.PortalSubscriptionPriceUpdateWithWhereUniqueWithoutPortalInput | Prisma.PortalSubscriptionPriceUpdateWithWhereUniqueWithoutPortalInput[] updateMany?: Prisma.PortalSubscriptionPriceUpdateManyWithWhereWithoutPortalInput | Prisma.PortalSubscriptionPriceUpdateManyWithWhereWithoutPortalInput[] deleteMany?: Prisma.PortalSubscriptionPriceScalarWhereInput | Prisma.PortalSubscriptionPriceScalarWhereInput[] } export type PortalSubscriptionPriceCreateNestedManyWithoutSubscriptionProductInput = { create?: Prisma.XOR | Prisma.PortalSubscriptionPriceCreateWithoutSubscriptionProductInput[] | Prisma.PortalSubscriptionPriceUncheckedCreateWithoutSubscriptionProductInput[] connectOrCreate?: Prisma.PortalSubscriptionPriceCreateOrConnectWithoutSubscriptionProductInput | Prisma.PortalSubscriptionPriceCreateOrConnectWithoutSubscriptionProductInput[] createMany?: Prisma.PortalSubscriptionPriceCreateManySubscriptionProductInputEnvelope connect?: Prisma.PortalSubscriptionPriceWhereUniqueInput | Prisma.PortalSubscriptionPriceWhereUniqueInput[] } export type PortalSubscriptionPriceUncheckedCreateNestedManyWithoutSubscriptionProductInput = { create?: Prisma.XOR | Prisma.PortalSubscriptionPriceCreateWithoutSubscriptionProductInput[] | Prisma.PortalSubscriptionPriceUncheckedCreateWithoutSubscriptionProductInput[] connectOrCreate?: Prisma.PortalSubscriptionPriceCreateOrConnectWithoutSubscriptionProductInput | Prisma.PortalSubscriptionPriceCreateOrConnectWithoutSubscriptionProductInput[] createMany?: Prisma.PortalSubscriptionPriceCreateManySubscriptionProductInputEnvelope connect?: Prisma.PortalSubscriptionPriceWhereUniqueInput | Prisma.PortalSubscriptionPriceWhereUniqueInput[] } export type PortalSubscriptionPriceUpdateManyWithoutSubscriptionProductNestedInput = { create?: Prisma.XOR | Prisma.PortalSubscriptionPriceCreateWithoutSubscriptionProductInput[] | Prisma.PortalSubscriptionPriceUncheckedCreateWithoutSubscriptionProductInput[] connectOrCreate?: Prisma.PortalSubscriptionPriceCreateOrConnectWithoutSubscriptionProductInput | Prisma.PortalSubscriptionPriceCreateOrConnectWithoutSubscriptionProductInput[] upsert?: Prisma.PortalSubscriptionPriceUpsertWithWhereUniqueWithoutSubscriptionProductInput | Prisma.PortalSubscriptionPriceUpsertWithWhereUniqueWithoutSubscriptionProductInput[] createMany?: Prisma.PortalSubscriptionPriceCreateManySubscriptionProductInputEnvelope set?: Prisma.PortalSubscriptionPriceWhereUniqueInput | Prisma.PortalSubscriptionPriceWhereUniqueInput[] disconnect?: Prisma.PortalSubscriptionPriceWhereUniqueInput | Prisma.PortalSubscriptionPriceWhereUniqueInput[] delete?: Prisma.PortalSubscriptionPriceWhereUniqueInput | Prisma.PortalSubscriptionPriceWhereUniqueInput[] connect?: Prisma.PortalSubscriptionPriceWhereUniqueInput | Prisma.PortalSubscriptionPriceWhereUniqueInput[] update?: Prisma.PortalSubscriptionPriceUpdateWithWhereUniqueWithoutSubscriptionProductInput | Prisma.PortalSubscriptionPriceUpdateWithWhereUniqueWithoutSubscriptionProductInput[] updateMany?: Prisma.PortalSubscriptionPriceUpdateManyWithWhereWithoutSubscriptionProductInput | Prisma.PortalSubscriptionPriceUpdateManyWithWhereWithoutSubscriptionProductInput[] deleteMany?: Prisma.PortalSubscriptionPriceScalarWhereInput | Prisma.PortalSubscriptionPriceScalarWhereInput[] } export type PortalSubscriptionPriceUncheckedUpdateManyWithoutSubscriptionProductNestedInput = { create?: Prisma.XOR | Prisma.PortalSubscriptionPriceCreateWithoutSubscriptionProductInput[] | Prisma.PortalSubscriptionPriceUncheckedCreateWithoutSubscriptionProductInput[] connectOrCreate?: Prisma.PortalSubscriptionPriceCreateOrConnectWithoutSubscriptionProductInput | Prisma.PortalSubscriptionPriceCreateOrConnectWithoutSubscriptionProductInput[] upsert?: Prisma.PortalSubscriptionPriceUpsertWithWhereUniqueWithoutSubscriptionProductInput | Prisma.PortalSubscriptionPriceUpsertWithWhereUniqueWithoutSubscriptionProductInput[] createMany?: Prisma.PortalSubscriptionPriceCreateManySubscriptionProductInputEnvelope set?: Prisma.PortalSubscriptionPriceWhereUniqueInput | Prisma.PortalSubscriptionPriceWhereUniqueInput[] disconnect?: Prisma.PortalSubscriptionPriceWhereUniqueInput | Prisma.PortalSubscriptionPriceWhereUniqueInput[] delete?: Prisma.PortalSubscriptionPriceWhereUniqueInput | Prisma.PortalSubscriptionPriceWhereUniqueInput[] connect?: Prisma.PortalSubscriptionPriceWhereUniqueInput | Prisma.PortalSubscriptionPriceWhereUniqueInput[] update?: Prisma.PortalSubscriptionPriceUpdateWithWhereUniqueWithoutSubscriptionProductInput | Prisma.PortalSubscriptionPriceUpdateWithWhereUniqueWithoutSubscriptionProductInput[] updateMany?: Prisma.PortalSubscriptionPriceUpdateManyWithWhereWithoutSubscriptionProductInput | Prisma.PortalSubscriptionPriceUpdateManyWithWhereWithoutSubscriptionProductInput[] deleteMany?: Prisma.PortalSubscriptionPriceScalarWhereInput | Prisma.PortalSubscriptionPriceScalarWhereInput[] } export type PortalSubscriptionPriceCreateNestedOneWithoutPortalUserProductPricesInput = { create?: Prisma.XOR connectOrCreate?: Prisma.PortalSubscriptionPriceCreateOrConnectWithoutPortalUserProductPricesInput connect?: Prisma.PortalSubscriptionPriceWhereUniqueInput } export type PortalSubscriptionPriceUpdateOneWithoutPortalUserProductPricesNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.PortalSubscriptionPriceCreateOrConnectWithoutPortalUserProductPricesInput upsert?: Prisma.PortalSubscriptionPriceUpsertWithoutPortalUserProductPricesInput disconnect?: Prisma.PortalSubscriptionPriceWhereInput | boolean delete?: Prisma.PortalSubscriptionPriceWhereInput | boolean connect?: Prisma.PortalSubscriptionPriceWhereUniqueInput update?: Prisma.XOR, Prisma.PortalSubscriptionPriceUncheckedUpdateWithoutPortalUserProductPricesInput> } export type PortalSubscriptionPriceCreateWithoutPortalInput = { id?: string stripeId: string type: number billingPeriod: number price: runtime.Decimal | runtime.DecimalJsLike | number | string currency: string trialDays: number active: boolean subscriptionProduct: Prisma.PortalSubscriptionProductCreateNestedOneWithoutPricesInput portalUserProductPrices?: Prisma.PortalUserSubscriptionProductPriceCreateNestedManyWithoutSubscriptionPriceInput } export type PortalSubscriptionPriceUncheckedCreateWithoutPortalInput = { id?: string subscriptionProductId: string stripeId: string type: number billingPeriod: number price: runtime.Decimal | runtime.DecimalJsLike | number | string currency: string trialDays: number active: boolean portalUserProductPrices?: Prisma.PortalUserSubscriptionProductPriceUncheckedCreateNestedManyWithoutSubscriptionPriceInput } export type PortalSubscriptionPriceCreateOrConnectWithoutPortalInput = { where: Prisma.PortalSubscriptionPriceWhereUniqueInput create: Prisma.XOR } export type PortalSubscriptionPriceCreateManyPortalInputEnvelope = { data: Prisma.PortalSubscriptionPriceCreateManyPortalInput | Prisma.PortalSubscriptionPriceCreateManyPortalInput[] skipDuplicates?: boolean } export type PortalSubscriptionPriceUpsertWithWhereUniqueWithoutPortalInput = { where: Prisma.PortalSubscriptionPriceWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type PortalSubscriptionPriceUpdateWithWhereUniqueWithoutPortalInput = { where: Prisma.PortalSubscriptionPriceWhereUniqueInput data: Prisma.XOR } export type PortalSubscriptionPriceUpdateManyWithWhereWithoutPortalInput = { where: Prisma.PortalSubscriptionPriceScalarWhereInput data: Prisma.XOR } export type PortalSubscriptionPriceScalarWhereInput = { AND?: Prisma.PortalSubscriptionPriceScalarWhereInput | Prisma.PortalSubscriptionPriceScalarWhereInput[] OR?: Prisma.PortalSubscriptionPriceScalarWhereInput[] NOT?: Prisma.PortalSubscriptionPriceScalarWhereInput | Prisma.PortalSubscriptionPriceScalarWhereInput[] id?: Prisma.StringFilter<"PortalSubscriptionPrice"> | string portalId?: Prisma.StringFilter<"PortalSubscriptionPrice"> | string subscriptionProductId?: Prisma.StringFilter<"PortalSubscriptionPrice"> | string stripeId?: Prisma.StringFilter<"PortalSubscriptionPrice"> | string type?: Prisma.IntFilter<"PortalSubscriptionPrice"> | number billingPeriod?: Prisma.IntFilter<"PortalSubscriptionPrice"> | number price?: Prisma.DecimalFilter<"PortalSubscriptionPrice"> | runtime.Decimal | runtime.DecimalJsLike | number | string currency?: Prisma.StringFilter<"PortalSubscriptionPrice"> | string trialDays?: Prisma.IntFilter<"PortalSubscriptionPrice"> | number active?: Prisma.BoolFilter<"PortalSubscriptionPrice"> | boolean } export type PortalSubscriptionPriceCreateWithoutSubscriptionProductInput = { id?: string stripeId: string type: number billingPeriod: number price: runtime.Decimal | runtime.DecimalJsLike | number | string currency: string trialDays: number active: boolean portal: Prisma.PortalCreateNestedOneWithoutSubscriptionPricesInput portalUserProductPrices?: Prisma.PortalUserSubscriptionProductPriceCreateNestedManyWithoutSubscriptionPriceInput } export type PortalSubscriptionPriceUncheckedCreateWithoutSubscriptionProductInput = { id?: string portalId: string stripeId: string type: number billingPeriod: number price: runtime.Decimal | runtime.DecimalJsLike | number | string currency: string trialDays: number active: boolean portalUserProductPrices?: Prisma.PortalUserSubscriptionProductPriceUncheckedCreateNestedManyWithoutSubscriptionPriceInput } export type PortalSubscriptionPriceCreateOrConnectWithoutSubscriptionProductInput = { where: Prisma.PortalSubscriptionPriceWhereUniqueInput create: Prisma.XOR } export type PortalSubscriptionPriceCreateManySubscriptionProductInputEnvelope = { data: Prisma.PortalSubscriptionPriceCreateManySubscriptionProductInput | Prisma.PortalSubscriptionPriceCreateManySubscriptionProductInput[] skipDuplicates?: boolean } export type PortalSubscriptionPriceUpsertWithWhereUniqueWithoutSubscriptionProductInput = { where: Prisma.PortalSubscriptionPriceWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type PortalSubscriptionPriceUpdateWithWhereUniqueWithoutSubscriptionProductInput = { where: Prisma.PortalSubscriptionPriceWhereUniqueInput data: Prisma.XOR } export type PortalSubscriptionPriceUpdateManyWithWhereWithoutSubscriptionProductInput = { where: Prisma.PortalSubscriptionPriceScalarWhereInput data: Prisma.XOR } export type PortalSubscriptionPriceCreateWithoutPortalUserProductPricesInput = { id?: string stripeId: string type: number billingPeriod: number price: runtime.Decimal | runtime.DecimalJsLike | number | string currency: string trialDays: number active: boolean portal: Prisma.PortalCreateNestedOneWithoutSubscriptionPricesInput subscriptionProduct: Prisma.PortalSubscriptionProductCreateNestedOneWithoutPricesInput } export type PortalSubscriptionPriceUncheckedCreateWithoutPortalUserProductPricesInput = { id?: string portalId: string subscriptionProductId: string stripeId: string type: number billingPeriod: number price: runtime.Decimal | runtime.DecimalJsLike | number | string currency: string trialDays: number active: boolean } export type PortalSubscriptionPriceCreateOrConnectWithoutPortalUserProductPricesInput = { where: Prisma.PortalSubscriptionPriceWhereUniqueInput create: Prisma.XOR } export type PortalSubscriptionPriceUpsertWithoutPortalUserProductPricesInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.PortalSubscriptionPriceWhereInput } export type PortalSubscriptionPriceUpdateToOneWithWhereWithoutPortalUserProductPricesInput = { where?: Prisma.PortalSubscriptionPriceWhereInput data: Prisma.XOR } export type PortalSubscriptionPriceUpdateWithoutPortalUserProductPricesInput = { id?: Prisma.StringFieldUpdateOperationsInput | string stripeId?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.IntFieldUpdateOperationsInput | number billingPeriod?: Prisma.IntFieldUpdateOperationsInput | number price?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string currency?: Prisma.StringFieldUpdateOperationsInput | string trialDays?: Prisma.IntFieldUpdateOperationsInput | number active?: Prisma.BoolFieldUpdateOperationsInput | boolean portal?: Prisma.PortalUpdateOneRequiredWithoutSubscriptionPricesNestedInput subscriptionProduct?: Prisma.PortalSubscriptionProductUpdateOneRequiredWithoutPricesNestedInput } export type PortalSubscriptionPriceUncheckedUpdateWithoutPortalUserProductPricesInput = { id?: Prisma.StringFieldUpdateOperationsInput | string portalId?: Prisma.StringFieldUpdateOperationsInput | string subscriptionProductId?: Prisma.StringFieldUpdateOperationsInput | string stripeId?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.IntFieldUpdateOperationsInput | number billingPeriod?: Prisma.IntFieldUpdateOperationsInput | number price?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string currency?: Prisma.StringFieldUpdateOperationsInput | string trialDays?: Prisma.IntFieldUpdateOperationsInput | number active?: Prisma.BoolFieldUpdateOperationsInput | boolean } export type PortalSubscriptionPriceCreateManyPortalInput = { id?: string subscriptionProductId: string stripeId: string type: number billingPeriod: number price: runtime.Decimal | runtime.DecimalJsLike | number | string currency: string trialDays: number active: boolean } export type PortalSubscriptionPriceUpdateWithoutPortalInput = { id?: Prisma.StringFieldUpdateOperationsInput | string stripeId?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.IntFieldUpdateOperationsInput | number billingPeriod?: Prisma.IntFieldUpdateOperationsInput | number price?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string currency?: Prisma.StringFieldUpdateOperationsInput | string trialDays?: Prisma.IntFieldUpdateOperationsInput | number active?: Prisma.BoolFieldUpdateOperationsInput | boolean subscriptionProduct?: Prisma.PortalSubscriptionProductUpdateOneRequiredWithoutPricesNestedInput portalUserProductPrices?: Prisma.PortalUserSubscriptionProductPriceUpdateManyWithoutSubscriptionPriceNestedInput } export type PortalSubscriptionPriceUncheckedUpdateWithoutPortalInput = { id?: Prisma.StringFieldUpdateOperationsInput | string subscriptionProductId?: Prisma.StringFieldUpdateOperationsInput | string stripeId?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.IntFieldUpdateOperationsInput | number billingPeriod?: Prisma.IntFieldUpdateOperationsInput | number price?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string currency?: Prisma.StringFieldUpdateOperationsInput | string trialDays?: Prisma.IntFieldUpdateOperationsInput | number active?: Prisma.BoolFieldUpdateOperationsInput | boolean portalUserProductPrices?: Prisma.PortalUserSubscriptionProductPriceUncheckedUpdateManyWithoutSubscriptionPriceNestedInput } export type PortalSubscriptionPriceUncheckedUpdateManyWithoutPortalInput = { id?: Prisma.StringFieldUpdateOperationsInput | string subscriptionProductId?: Prisma.StringFieldUpdateOperationsInput | string stripeId?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.IntFieldUpdateOperationsInput | number billingPeriod?: Prisma.IntFieldUpdateOperationsInput | number price?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string currency?: Prisma.StringFieldUpdateOperationsInput | string trialDays?: Prisma.IntFieldUpdateOperationsInput | number active?: Prisma.BoolFieldUpdateOperationsInput | boolean } export type PortalSubscriptionPriceCreateManySubscriptionProductInput = { id?: string portalId: string stripeId: string type: number billingPeriod: number price: runtime.Decimal | runtime.DecimalJsLike | number | string currency: string trialDays: number active: boolean } export type PortalSubscriptionPriceUpdateWithoutSubscriptionProductInput = { id?: Prisma.StringFieldUpdateOperationsInput | string stripeId?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.IntFieldUpdateOperationsInput | number billingPeriod?: Prisma.IntFieldUpdateOperationsInput | number price?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string currency?: Prisma.StringFieldUpdateOperationsInput | string trialDays?: Prisma.IntFieldUpdateOperationsInput | number active?: Prisma.BoolFieldUpdateOperationsInput | boolean portal?: Prisma.PortalUpdateOneRequiredWithoutSubscriptionPricesNestedInput portalUserProductPrices?: Prisma.PortalUserSubscriptionProductPriceUpdateManyWithoutSubscriptionPriceNestedInput } export type PortalSubscriptionPriceUncheckedUpdateWithoutSubscriptionProductInput = { id?: Prisma.StringFieldUpdateOperationsInput | string portalId?: Prisma.StringFieldUpdateOperationsInput | string stripeId?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.IntFieldUpdateOperationsInput | number billingPeriod?: Prisma.IntFieldUpdateOperationsInput | number price?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string currency?: Prisma.StringFieldUpdateOperationsInput | string trialDays?: Prisma.IntFieldUpdateOperationsInput | number active?: Prisma.BoolFieldUpdateOperationsInput | boolean portalUserProductPrices?: Prisma.PortalUserSubscriptionProductPriceUncheckedUpdateManyWithoutSubscriptionPriceNestedInput } export type PortalSubscriptionPriceUncheckedUpdateManyWithoutSubscriptionProductInput = { id?: Prisma.StringFieldUpdateOperationsInput | string portalId?: Prisma.StringFieldUpdateOperationsInput | string stripeId?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.IntFieldUpdateOperationsInput | number billingPeriod?: Prisma.IntFieldUpdateOperationsInput | number price?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string currency?: Prisma.StringFieldUpdateOperationsInput | string trialDays?: Prisma.IntFieldUpdateOperationsInput | number active?: Prisma.BoolFieldUpdateOperationsInput | boolean } /** * Count Type PortalSubscriptionPriceCountOutputType */ export type PortalSubscriptionPriceCountOutputType = { portalUserProductPrices: number } export type PortalSubscriptionPriceCountOutputTypeSelect = { portalUserProductPrices?: boolean | PortalSubscriptionPriceCountOutputTypeCountPortalUserProductPricesArgs } /** * PortalSubscriptionPriceCountOutputType without action */ export type PortalSubscriptionPriceCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the PortalSubscriptionPriceCountOutputType */ select?: Prisma.PortalSubscriptionPriceCountOutputTypeSelect | null } /** * PortalSubscriptionPriceCountOutputType without action */ export type PortalSubscriptionPriceCountOutputTypeCountPortalUserProductPricesArgs = { where?: Prisma.PortalUserSubscriptionProductPriceWhereInput } export type PortalSubscriptionPriceSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean portalId?: boolean subscriptionProductId?: boolean stripeId?: boolean type?: boolean billingPeriod?: boolean price?: boolean currency?: boolean trialDays?: boolean active?: boolean portal?: boolean | Prisma.PortalDefaultArgs subscriptionProduct?: boolean | Prisma.PortalSubscriptionProductDefaultArgs portalUserProductPrices?: boolean | Prisma.PortalSubscriptionPrice$portalUserProductPricesArgs _count?: boolean | Prisma.PortalSubscriptionPriceCountOutputTypeDefaultArgs }, ExtArgs["result"]["portalSubscriptionPrice"]> export type PortalSubscriptionPriceSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean portalId?: boolean subscriptionProductId?: boolean stripeId?: boolean type?: boolean billingPeriod?: boolean price?: boolean currency?: boolean trialDays?: boolean active?: boolean portal?: boolean | Prisma.PortalDefaultArgs subscriptionProduct?: boolean | Prisma.PortalSubscriptionProductDefaultArgs }, ExtArgs["result"]["portalSubscriptionPrice"]> export type PortalSubscriptionPriceSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean portalId?: boolean subscriptionProductId?: boolean stripeId?: boolean type?: boolean billingPeriod?: boolean price?: boolean currency?: boolean trialDays?: boolean active?: boolean portal?: boolean | Prisma.PortalDefaultArgs subscriptionProduct?: boolean | Prisma.PortalSubscriptionProductDefaultArgs }, ExtArgs["result"]["portalSubscriptionPrice"]> export type PortalSubscriptionPriceSelectScalar = { id?: boolean portalId?: boolean subscriptionProductId?: boolean stripeId?: boolean type?: boolean billingPeriod?: boolean price?: boolean currency?: boolean trialDays?: boolean active?: boolean } export type PortalSubscriptionPriceOmit = runtime.Types.Extensions.GetOmit<"id" | "portalId" | "subscriptionProductId" | "stripeId" | "type" | "billingPeriod" | "price" | "currency" | "trialDays" | "active", ExtArgs["result"]["portalSubscriptionPrice"]> export type PortalSubscriptionPriceInclude = { portal?: boolean | Prisma.PortalDefaultArgs subscriptionProduct?: boolean | Prisma.PortalSubscriptionProductDefaultArgs portalUserProductPrices?: boolean | Prisma.PortalSubscriptionPrice$portalUserProductPricesArgs _count?: boolean | Prisma.PortalSubscriptionPriceCountOutputTypeDefaultArgs } export type PortalSubscriptionPriceIncludeCreateManyAndReturn = { portal?: boolean | Prisma.PortalDefaultArgs subscriptionProduct?: boolean | Prisma.PortalSubscriptionProductDefaultArgs } export type PortalSubscriptionPriceIncludeUpdateManyAndReturn = { portal?: boolean | Prisma.PortalDefaultArgs subscriptionProduct?: boolean | Prisma.PortalSubscriptionProductDefaultArgs } export type $PortalSubscriptionPricePayload = { name: "PortalSubscriptionPrice" objects: { portal: Prisma.$PortalPayload subscriptionProduct: Prisma.$PortalSubscriptionProductPayload portalUserProductPrices: Prisma.$PortalUserSubscriptionProductPricePayload[] } scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string portalId: string subscriptionProductId: string stripeId: string type: number billingPeriod: number price: runtime.Decimal currency: string trialDays: number active: boolean }, ExtArgs["result"]["portalSubscriptionPrice"]> composites: {} } export type PortalSubscriptionPriceGetPayload = runtime.Types.Result.GetResult export type PortalSubscriptionPriceCountArgs = Omit & { select?: PortalSubscriptionPriceCountAggregateInputType | true } export interface PortalSubscriptionPriceDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['PortalSubscriptionPrice'], meta: { name: 'PortalSubscriptionPrice' } } /** * Find zero or one PortalSubscriptionPrice that matches the filter. * @param {PortalSubscriptionPriceFindUniqueArgs} args - Arguments to find a PortalSubscriptionPrice * @example * // Get one PortalSubscriptionPrice * const portalSubscriptionPrice = await prisma.portalSubscriptionPrice.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__PortalSubscriptionPriceClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one PortalSubscriptionPrice that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {PortalSubscriptionPriceFindUniqueOrThrowArgs} args - Arguments to find a PortalSubscriptionPrice * @example * // Get one PortalSubscriptionPrice * const portalSubscriptionPrice = await prisma.portalSubscriptionPrice.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__PortalSubscriptionPriceClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first PortalSubscriptionPrice 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 {PortalSubscriptionPriceFindFirstArgs} args - Arguments to find a PortalSubscriptionPrice * @example * // Get one PortalSubscriptionPrice * const portalSubscriptionPrice = await prisma.portalSubscriptionPrice.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__PortalSubscriptionPriceClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first PortalSubscriptionPrice 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 {PortalSubscriptionPriceFindFirstOrThrowArgs} args - Arguments to find a PortalSubscriptionPrice * @example * // Get one PortalSubscriptionPrice * const portalSubscriptionPrice = await prisma.portalSubscriptionPrice.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__PortalSubscriptionPriceClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more PortalSubscriptionPrices 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 {PortalSubscriptionPriceFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all PortalSubscriptionPrices * const portalSubscriptionPrices = await prisma.portalSubscriptionPrice.findMany() * * // Get first 10 PortalSubscriptionPrices * const portalSubscriptionPrices = await prisma.portalSubscriptionPrice.findMany({ take: 10 }) * * // Only select the `id` * const portalSubscriptionPriceWithIdOnly = await prisma.portalSubscriptionPrice.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a PortalSubscriptionPrice. * @param {PortalSubscriptionPriceCreateArgs} args - Arguments to create a PortalSubscriptionPrice. * @example * // Create one PortalSubscriptionPrice * const PortalSubscriptionPrice = await prisma.portalSubscriptionPrice.create({ * data: { * // ... data to create a PortalSubscriptionPrice * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__PortalSubscriptionPriceClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many PortalSubscriptionPrices. * @param {PortalSubscriptionPriceCreateManyArgs} args - Arguments to create many PortalSubscriptionPrices. * @example * // Create many PortalSubscriptionPrices * const portalSubscriptionPrice = await prisma.portalSubscriptionPrice.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many PortalSubscriptionPrices and returns the data saved in the database. * @param {PortalSubscriptionPriceCreateManyAndReturnArgs} args - Arguments to create many PortalSubscriptionPrices. * @example * // Create many PortalSubscriptionPrices * const portalSubscriptionPrice = await prisma.portalSubscriptionPrice.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many PortalSubscriptionPrices and only return the `id` * const portalSubscriptionPriceWithIdOnly = await prisma.portalSubscriptionPrice.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 PortalSubscriptionPrice. * @param {PortalSubscriptionPriceDeleteArgs} args - Arguments to delete one PortalSubscriptionPrice. * @example * // Delete one PortalSubscriptionPrice * const PortalSubscriptionPrice = await prisma.portalSubscriptionPrice.delete({ * where: { * // ... filter to delete one PortalSubscriptionPrice * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__PortalSubscriptionPriceClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one PortalSubscriptionPrice. * @param {PortalSubscriptionPriceUpdateArgs} args - Arguments to update one PortalSubscriptionPrice. * @example * // Update one PortalSubscriptionPrice * const portalSubscriptionPrice = await prisma.portalSubscriptionPrice.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__PortalSubscriptionPriceClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more PortalSubscriptionPrices. * @param {PortalSubscriptionPriceDeleteManyArgs} args - Arguments to filter PortalSubscriptionPrices to delete. * @example * // Delete a few PortalSubscriptionPrices * const { count } = await prisma.portalSubscriptionPrice.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more PortalSubscriptionPrices. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {PortalSubscriptionPriceUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many PortalSubscriptionPrices * const portalSubscriptionPrice = await prisma.portalSubscriptionPrice.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more PortalSubscriptionPrices and returns the data updated in the database. * @param {PortalSubscriptionPriceUpdateManyAndReturnArgs} args - Arguments to update many PortalSubscriptionPrices. * @example * // Update many PortalSubscriptionPrices * const portalSubscriptionPrice = await prisma.portalSubscriptionPrice.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more PortalSubscriptionPrices and only return the `id` * const portalSubscriptionPriceWithIdOnly = await prisma.portalSubscriptionPrice.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 PortalSubscriptionPrice. * @param {PortalSubscriptionPriceUpsertArgs} args - Arguments to update or create a PortalSubscriptionPrice. * @example * // Update or create a PortalSubscriptionPrice * const portalSubscriptionPrice = await prisma.portalSubscriptionPrice.upsert({ * create: { * // ... data to create a PortalSubscriptionPrice * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the PortalSubscriptionPrice we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__PortalSubscriptionPriceClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of PortalSubscriptionPrices. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {PortalSubscriptionPriceCountArgs} args - Arguments to filter PortalSubscriptionPrices to count. * @example * // Count the number of PortalSubscriptionPrices * const count = await prisma.portalSubscriptionPrice.count({ * where: { * // ... the filter for the PortalSubscriptionPrices 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 PortalSubscriptionPrice. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {PortalSubscriptionPriceAggregateArgs} 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 PortalSubscriptionPrice. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {PortalSubscriptionPriceGroupByArgs} 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 PortalSubscriptionPriceGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: PortalSubscriptionPriceGroupByArgs['orderBy'] } : { orderBy?: PortalSubscriptionPriceGroupByArgs['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 ? GetPortalSubscriptionPriceGroupByPayload : Prisma.PrismaPromise /** * Fields of the PortalSubscriptionPrice model */ readonly fields: PortalSubscriptionPriceFieldRefs; } /** * The delegate class that acts as a "Promise-like" for PortalSubscriptionPrice. * 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__PortalSubscriptionPriceClient 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> portalUserProductPrices = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(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 PortalSubscriptionPrice model */ export interface PortalSubscriptionPriceFieldRefs { readonly id: Prisma.FieldRef<"PortalSubscriptionPrice", 'String'> readonly portalId: Prisma.FieldRef<"PortalSubscriptionPrice", 'String'> readonly subscriptionProductId: Prisma.FieldRef<"PortalSubscriptionPrice", 'String'> readonly stripeId: Prisma.FieldRef<"PortalSubscriptionPrice", 'String'> readonly type: Prisma.FieldRef<"PortalSubscriptionPrice", 'Int'> readonly billingPeriod: Prisma.FieldRef<"PortalSubscriptionPrice", 'Int'> readonly price: Prisma.FieldRef<"PortalSubscriptionPrice", 'Decimal'> readonly currency: Prisma.FieldRef<"PortalSubscriptionPrice", 'String'> readonly trialDays: Prisma.FieldRef<"PortalSubscriptionPrice", 'Int'> readonly active: Prisma.FieldRef<"PortalSubscriptionPrice", 'Boolean'> } // Custom InputTypes /** * PortalSubscriptionPrice findUnique */ export type PortalSubscriptionPriceFindUniqueArgs = { /** * Select specific fields to fetch from the PortalSubscriptionPrice */ select?: Prisma.PortalSubscriptionPriceSelect | null /** * Omit specific fields from the PortalSubscriptionPrice */ omit?: Prisma.PortalSubscriptionPriceOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.PortalSubscriptionPriceInclude | null /** * Filter, which PortalSubscriptionPrice to fetch. */ where: Prisma.PortalSubscriptionPriceWhereUniqueInput } /** * PortalSubscriptionPrice findUniqueOrThrow */ export type PortalSubscriptionPriceFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the PortalSubscriptionPrice */ select?: Prisma.PortalSubscriptionPriceSelect | null /** * Omit specific fields from the PortalSubscriptionPrice */ omit?: Prisma.PortalSubscriptionPriceOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.PortalSubscriptionPriceInclude | null /** * Filter, which PortalSubscriptionPrice to fetch. */ where: Prisma.PortalSubscriptionPriceWhereUniqueInput } /** * PortalSubscriptionPrice findFirst */ export type PortalSubscriptionPriceFindFirstArgs = { /** * Select specific fields to fetch from the PortalSubscriptionPrice */ select?: Prisma.PortalSubscriptionPriceSelect | null /** * Omit specific fields from the PortalSubscriptionPrice */ omit?: Prisma.PortalSubscriptionPriceOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.PortalSubscriptionPriceInclude | null /** * Filter, which PortalSubscriptionPrice to fetch. */ where?: Prisma.PortalSubscriptionPriceWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of PortalSubscriptionPrices to fetch. */ orderBy?: Prisma.PortalSubscriptionPriceOrderByWithRelationInput | Prisma.PortalSubscriptionPriceOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for PortalSubscriptionPrices. */ cursor?: Prisma.PortalSubscriptionPriceWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` PortalSubscriptionPrices 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` PortalSubscriptionPrices. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of PortalSubscriptionPrices. */ distinct?: Prisma.PortalSubscriptionPriceScalarFieldEnum | Prisma.PortalSubscriptionPriceScalarFieldEnum[] } /** * PortalSubscriptionPrice findFirstOrThrow */ export type PortalSubscriptionPriceFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the PortalSubscriptionPrice */ select?: Prisma.PortalSubscriptionPriceSelect | null /** * Omit specific fields from the PortalSubscriptionPrice */ omit?: Prisma.PortalSubscriptionPriceOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.PortalSubscriptionPriceInclude | null /** * Filter, which PortalSubscriptionPrice to fetch. */ where?: Prisma.PortalSubscriptionPriceWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of PortalSubscriptionPrices to fetch. */ orderBy?: Prisma.PortalSubscriptionPriceOrderByWithRelationInput | Prisma.PortalSubscriptionPriceOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for PortalSubscriptionPrices. */ cursor?: Prisma.PortalSubscriptionPriceWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` PortalSubscriptionPrices 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` PortalSubscriptionPrices. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of PortalSubscriptionPrices. */ distinct?: Prisma.PortalSubscriptionPriceScalarFieldEnum | Prisma.PortalSubscriptionPriceScalarFieldEnum[] } /** * PortalSubscriptionPrice findMany */ export type PortalSubscriptionPriceFindManyArgs = { /** * Select specific fields to fetch from the PortalSubscriptionPrice */ select?: Prisma.PortalSubscriptionPriceSelect | null /** * Omit specific fields from the PortalSubscriptionPrice */ omit?: Prisma.PortalSubscriptionPriceOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.PortalSubscriptionPriceInclude | null /** * Filter, which PortalSubscriptionPrices to fetch. */ where?: Prisma.PortalSubscriptionPriceWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of PortalSubscriptionPrices to fetch. */ orderBy?: Prisma.PortalSubscriptionPriceOrderByWithRelationInput | Prisma.PortalSubscriptionPriceOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing PortalSubscriptionPrices. */ cursor?: Prisma.PortalSubscriptionPriceWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` PortalSubscriptionPrices 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` PortalSubscriptionPrices. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of PortalSubscriptionPrices. */ distinct?: Prisma.PortalSubscriptionPriceScalarFieldEnum | Prisma.PortalSubscriptionPriceScalarFieldEnum[] } /** * PortalSubscriptionPrice create */ export type PortalSubscriptionPriceCreateArgs = { /** * Select specific fields to fetch from the PortalSubscriptionPrice */ select?: Prisma.PortalSubscriptionPriceSelect | null /** * Omit specific fields from the PortalSubscriptionPrice */ omit?: Prisma.PortalSubscriptionPriceOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.PortalSubscriptionPriceInclude | null /** * The data needed to create a PortalSubscriptionPrice. */ data: Prisma.XOR } /** * PortalSubscriptionPrice createMany */ export type PortalSubscriptionPriceCreateManyArgs = { /** * The data used to create many PortalSubscriptionPrices. */ data: Prisma.PortalSubscriptionPriceCreateManyInput | Prisma.PortalSubscriptionPriceCreateManyInput[] skipDuplicates?: boolean } /** * PortalSubscriptionPrice createManyAndReturn */ export type PortalSubscriptionPriceCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the PortalSubscriptionPrice */ select?: Prisma.PortalSubscriptionPriceSelectCreateManyAndReturn | null /** * Omit specific fields from the PortalSubscriptionPrice */ omit?: Prisma.PortalSubscriptionPriceOmit | null /** * The data used to create many PortalSubscriptionPrices. */ data: Prisma.PortalSubscriptionPriceCreateManyInput | Prisma.PortalSubscriptionPriceCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: Prisma.PortalSubscriptionPriceIncludeCreateManyAndReturn | null } /** * PortalSubscriptionPrice update */ export type PortalSubscriptionPriceUpdateArgs = { /** * Select specific fields to fetch from the PortalSubscriptionPrice */ select?: Prisma.PortalSubscriptionPriceSelect | null /** * Omit specific fields from the PortalSubscriptionPrice */ omit?: Prisma.PortalSubscriptionPriceOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.PortalSubscriptionPriceInclude | null /** * The data needed to update a PortalSubscriptionPrice. */ data: Prisma.XOR /** * Choose, which PortalSubscriptionPrice to update. */ where: Prisma.PortalSubscriptionPriceWhereUniqueInput } /** * PortalSubscriptionPrice updateMany */ export type PortalSubscriptionPriceUpdateManyArgs = { /** * The data used to update PortalSubscriptionPrices. */ data: Prisma.XOR /** * Filter which PortalSubscriptionPrices to update */ where?: Prisma.PortalSubscriptionPriceWhereInput /** * Limit how many PortalSubscriptionPrices to update. */ limit?: number } /** * PortalSubscriptionPrice updateManyAndReturn */ export type PortalSubscriptionPriceUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the PortalSubscriptionPrice */ select?: Prisma.PortalSubscriptionPriceSelectUpdateManyAndReturn | null /** * Omit specific fields from the PortalSubscriptionPrice */ omit?: Prisma.PortalSubscriptionPriceOmit | null /** * The data used to update PortalSubscriptionPrices. */ data: Prisma.XOR /** * Filter which PortalSubscriptionPrices to update */ where?: Prisma.PortalSubscriptionPriceWhereInput /** * Limit how many PortalSubscriptionPrices to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: Prisma.PortalSubscriptionPriceIncludeUpdateManyAndReturn | null } /** * PortalSubscriptionPrice upsert */ export type PortalSubscriptionPriceUpsertArgs = { /** * Select specific fields to fetch from the PortalSubscriptionPrice */ select?: Prisma.PortalSubscriptionPriceSelect | null /** * Omit specific fields from the PortalSubscriptionPrice */ omit?: Prisma.PortalSubscriptionPriceOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.PortalSubscriptionPriceInclude | null /** * The filter to search for the PortalSubscriptionPrice to update in case it exists. */ where: Prisma.PortalSubscriptionPriceWhereUniqueInput /** * In case the PortalSubscriptionPrice found by the `where` argument doesn't exist, create a new PortalSubscriptionPrice with this data. */ create: Prisma.XOR /** * In case the PortalSubscriptionPrice was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * PortalSubscriptionPrice delete */ export type PortalSubscriptionPriceDeleteArgs = { /** * Select specific fields to fetch from the PortalSubscriptionPrice */ select?: Prisma.PortalSubscriptionPriceSelect | null /** * Omit specific fields from the PortalSubscriptionPrice */ omit?: Prisma.PortalSubscriptionPriceOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.PortalSubscriptionPriceInclude | null /** * Filter which PortalSubscriptionPrice to delete. */ where: Prisma.PortalSubscriptionPriceWhereUniqueInput } /** * PortalSubscriptionPrice deleteMany */ export type PortalSubscriptionPriceDeleteManyArgs = { /** * Filter which PortalSubscriptionPrices to delete */ where?: Prisma.PortalSubscriptionPriceWhereInput /** * Limit how many PortalSubscriptionPrices to delete. */ limit?: number } /** * PortalSubscriptionPrice.portalUserProductPrices */ export type PortalSubscriptionPrice$portalUserProductPricesArgs = { /** * Select specific fields to fetch from the PortalUserSubscriptionProductPrice */ select?: Prisma.PortalUserSubscriptionProductPriceSelect | null /** * Omit specific fields from the PortalUserSubscriptionProductPrice */ omit?: Prisma.PortalUserSubscriptionProductPriceOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.PortalUserSubscriptionProductPriceInclude | null where?: Prisma.PortalUserSubscriptionProductPriceWhereInput orderBy?: Prisma.PortalUserSubscriptionProductPriceOrderByWithRelationInput | Prisma.PortalUserSubscriptionProductPriceOrderByWithRelationInput[] cursor?: Prisma.PortalUserSubscriptionProductPriceWhereUniqueInput take?: number skip?: number distinct?: Prisma.PortalUserSubscriptionProductPriceScalarFieldEnum | Prisma.PortalUserSubscriptionProductPriceScalarFieldEnum[] } /** * PortalSubscriptionPrice without action */ export type PortalSubscriptionPriceDefaultArgs = { /** * Select specific fields to fetch from the PortalSubscriptionPrice */ select?: Prisma.PortalSubscriptionPriceSelect | null /** * Omit specific fields from the PortalSubscriptionPrice */ omit?: Prisma.PortalSubscriptionPriceOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.PortalSubscriptionPriceInclude | null }