1361 lines
54 KiB
TypeScript
1361 lines
54 KiB
TypeScript
|
|
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
/* eslint-disable */
|
|
// biome-ignore-all lint: generated file
|
|
// @ts-nocheck
|
|
/*
|
|
* This file exports the `TenantSubscription` 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 TenantSubscription
|
|
*
|
|
*/
|
|
export type TenantSubscriptionModel = runtime.Types.Result.DefaultSelection<Prisma.$TenantSubscriptionPayload>
|
|
|
|
export type AggregateTenantSubscription = {
|
|
_count: TenantSubscriptionCountAggregateOutputType | null
|
|
_min: TenantSubscriptionMinAggregateOutputType | null
|
|
_max: TenantSubscriptionMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type TenantSubscriptionMinAggregateOutputType = {
|
|
id: string | null
|
|
tenantId: string | null
|
|
stripeCustomerId: string | null
|
|
}
|
|
|
|
export type TenantSubscriptionMaxAggregateOutputType = {
|
|
id: string | null
|
|
tenantId: string | null
|
|
stripeCustomerId: string | null
|
|
}
|
|
|
|
export type TenantSubscriptionCountAggregateOutputType = {
|
|
id: number
|
|
tenantId: number
|
|
stripeCustomerId: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type TenantSubscriptionMinAggregateInputType = {
|
|
id?: true
|
|
tenantId?: true
|
|
stripeCustomerId?: true
|
|
}
|
|
|
|
export type TenantSubscriptionMaxAggregateInputType = {
|
|
id?: true
|
|
tenantId?: true
|
|
stripeCustomerId?: true
|
|
}
|
|
|
|
export type TenantSubscriptionCountAggregateInputType = {
|
|
id?: true
|
|
tenantId?: true
|
|
stripeCustomerId?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type TenantSubscriptionAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which TenantSubscription to aggregate.
|
|
*/
|
|
where?: Prisma.TenantSubscriptionWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of TenantSubscriptions to fetch.
|
|
*/
|
|
orderBy?: Prisma.TenantSubscriptionOrderByWithRelationInput | Prisma.TenantSubscriptionOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.TenantSubscriptionWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` TenantSubscriptions 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` TenantSubscriptions.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned TenantSubscriptions
|
|
**/
|
|
_count?: true | TenantSubscriptionCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: TenantSubscriptionMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: TenantSubscriptionMaxAggregateInputType
|
|
}
|
|
|
|
export type GetTenantSubscriptionAggregateType<T extends TenantSubscriptionAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateTenantSubscription]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateTenantSubscription[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateTenantSubscription[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type TenantSubscriptionGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.TenantSubscriptionWhereInput
|
|
orderBy?: Prisma.TenantSubscriptionOrderByWithAggregationInput | Prisma.TenantSubscriptionOrderByWithAggregationInput[]
|
|
by: Prisma.TenantSubscriptionScalarFieldEnum[] | Prisma.TenantSubscriptionScalarFieldEnum
|
|
having?: Prisma.TenantSubscriptionScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: TenantSubscriptionCountAggregateInputType | true
|
|
_min?: TenantSubscriptionMinAggregateInputType
|
|
_max?: TenantSubscriptionMaxAggregateInputType
|
|
}
|
|
|
|
export type TenantSubscriptionGroupByOutputType = {
|
|
id: string
|
|
tenantId: string
|
|
stripeCustomerId: string | null
|
|
_count: TenantSubscriptionCountAggregateOutputType | null
|
|
_min: TenantSubscriptionMinAggregateOutputType | null
|
|
_max: TenantSubscriptionMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type GetTenantSubscriptionGroupByPayload<T extends TenantSubscriptionGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<TenantSubscriptionGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof TenantSubscriptionGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], TenantSubscriptionGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], TenantSubscriptionGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type TenantSubscriptionWhereInput = {
|
|
AND?: Prisma.TenantSubscriptionWhereInput | Prisma.TenantSubscriptionWhereInput[]
|
|
OR?: Prisma.TenantSubscriptionWhereInput[]
|
|
NOT?: Prisma.TenantSubscriptionWhereInput | Prisma.TenantSubscriptionWhereInput[]
|
|
id?: Prisma.StringFilter<"TenantSubscription"> | string
|
|
tenantId?: Prisma.StringFilter<"TenantSubscription"> | string
|
|
stripeCustomerId?: Prisma.StringNullableFilter<"TenantSubscription"> | string | null
|
|
tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>
|
|
products?: Prisma.TenantSubscriptionProductListRelationFilter
|
|
}
|
|
|
|
export type TenantSubscriptionOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
stripeCustomerId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
tenant?: Prisma.TenantOrderByWithRelationInput
|
|
products?: Prisma.TenantSubscriptionProductOrderByRelationAggregateInput
|
|
}
|
|
|
|
export type TenantSubscriptionWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: string
|
|
tenantId?: string
|
|
AND?: Prisma.TenantSubscriptionWhereInput | Prisma.TenantSubscriptionWhereInput[]
|
|
OR?: Prisma.TenantSubscriptionWhereInput[]
|
|
NOT?: Prisma.TenantSubscriptionWhereInput | Prisma.TenantSubscriptionWhereInput[]
|
|
stripeCustomerId?: Prisma.StringNullableFilter<"TenantSubscription"> | string | null
|
|
tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>
|
|
products?: Prisma.TenantSubscriptionProductListRelationFilter
|
|
}, "id" | "tenantId">
|
|
|
|
export type TenantSubscriptionOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
stripeCustomerId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
_count?: Prisma.TenantSubscriptionCountOrderByAggregateInput
|
|
_max?: Prisma.TenantSubscriptionMaxOrderByAggregateInput
|
|
_min?: Prisma.TenantSubscriptionMinOrderByAggregateInput
|
|
}
|
|
|
|
export type TenantSubscriptionScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.TenantSubscriptionScalarWhereWithAggregatesInput | Prisma.TenantSubscriptionScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.TenantSubscriptionScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.TenantSubscriptionScalarWhereWithAggregatesInput | Prisma.TenantSubscriptionScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.StringWithAggregatesFilter<"TenantSubscription"> | string
|
|
tenantId?: Prisma.StringWithAggregatesFilter<"TenantSubscription"> | string
|
|
stripeCustomerId?: Prisma.StringNullableWithAggregatesFilter<"TenantSubscription"> | string | null
|
|
}
|
|
|
|
export type TenantSubscriptionCreateInput = {
|
|
id?: string
|
|
stripeCustomerId?: string | null
|
|
tenant: Prisma.TenantCreateNestedOneWithoutSubscriptionInput
|
|
products?: Prisma.TenantSubscriptionProductCreateNestedManyWithoutTenantSubscriptionInput
|
|
}
|
|
|
|
export type TenantSubscriptionUncheckedCreateInput = {
|
|
id?: string
|
|
tenantId: string
|
|
stripeCustomerId?: string | null
|
|
products?: Prisma.TenantSubscriptionProductUncheckedCreateNestedManyWithoutTenantSubscriptionInput
|
|
}
|
|
|
|
export type TenantSubscriptionUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
stripeCustomerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
tenant?: Prisma.TenantUpdateOneRequiredWithoutSubscriptionNestedInput
|
|
products?: Prisma.TenantSubscriptionProductUpdateManyWithoutTenantSubscriptionNestedInput
|
|
}
|
|
|
|
export type TenantSubscriptionUncheckedUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
stripeCustomerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
products?: Prisma.TenantSubscriptionProductUncheckedUpdateManyWithoutTenantSubscriptionNestedInput
|
|
}
|
|
|
|
export type TenantSubscriptionCreateManyInput = {
|
|
id?: string
|
|
tenantId: string
|
|
stripeCustomerId?: string | null
|
|
}
|
|
|
|
export type TenantSubscriptionUpdateManyMutationInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
stripeCustomerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
export type TenantSubscriptionUncheckedUpdateManyInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
stripeCustomerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
export type TenantSubscriptionNullableScalarRelationFilter = {
|
|
is?: Prisma.TenantSubscriptionWhereInput | null
|
|
isNot?: Prisma.TenantSubscriptionWhereInput | null
|
|
}
|
|
|
|
export type TenantSubscriptionCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
stripeCustomerId?: Prisma.SortOrder
|
|
}
|
|
|
|
export type TenantSubscriptionMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
stripeCustomerId?: Prisma.SortOrder
|
|
}
|
|
|
|
export type TenantSubscriptionMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
stripeCustomerId?: Prisma.SortOrder
|
|
}
|
|
|
|
export type TenantSubscriptionScalarRelationFilter = {
|
|
is?: Prisma.TenantSubscriptionWhereInput
|
|
isNot?: Prisma.TenantSubscriptionWhereInput
|
|
}
|
|
|
|
export type TenantSubscriptionCreateNestedOneWithoutTenantInput = {
|
|
create?: Prisma.XOR<Prisma.TenantSubscriptionCreateWithoutTenantInput, Prisma.TenantSubscriptionUncheckedCreateWithoutTenantInput>
|
|
connectOrCreate?: Prisma.TenantSubscriptionCreateOrConnectWithoutTenantInput
|
|
connect?: Prisma.TenantSubscriptionWhereUniqueInput
|
|
}
|
|
|
|
export type TenantSubscriptionUncheckedCreateNestedOneWithoutTenantInput = {
|
|
create?: Prisma.XOR<Prisma.TenantSubscriptionCreateWithoutTenantInput, Prisma.TenantSubscriptionUncheckedCreateWithoutTenantInput>
|
|
connectOrCreate?: Prisma.TenantSubscriptionCreateOrConnectWithoutTenantInput
|
|
connect?: Prisma.TenantSubscriptionWhereUniqueInput
|
|
}
|
|
|
|
export type TenantSubscriptionUpdateOneWithoutTenantNestedInput = {
|
|
create?: Prisma.XOR<Prisma.TenantSubscriptionCreateWithoutTenantInput, Prisma.TenantSubscriptionUncheckedCreateWithoutTenantInput>
|
|
connectOrCreate?: Prisma.TenantSubscriptionCreateOrConnectWithoutTenantInput
|
|
upsert?: Prisma.TenantSubscriptionUpsertWithoutTenantInput
|
|
disconnect?: Prisma.TenantSubscriptionWhereInput | boolean
|
|
delete?: Prisma.TenantSubscriptionWhereInput | boolean
|
|
connect?: Prisma.TenantSubscriptionWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.TenantSubscriptionUpdateToOneWithWhereWithoutTenantInput, Prisma.TenantSubscriptionUpdateWithoutTenantInput>, Prisma.TenantSubscriptionUncheckedUpdateWithoutTenantInput>
|
|
}
|
|
|
|
export type TenantSubscriptionUncheckedUpdateOneWithoutTenantNestedInput = {
|
|
create?: Prisma.XOR<Prisma.TenantSubscriptionCreateWithoutTenantInput, Prisma.TenantSubscriptionUncheckedCreateWithoutTenantInput>
|
|
connectOrCreate?: Prisma.TenantSubscriptionCreateOrConnectWithoutTenantInput
|
|
upsert?: Prisma.TenantSubscriptionUpsertWithoutTenantInput
|
|
disconnect?: Prisma.TenantSubscriptionWhereInput | boolean
|
|
delete?: Prisma.TenantSubscriptionWhereInput | boolean
|
|
connect?: Prisma.TenantSubscriptionWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.TenantSubscriptionUpdateToOneWithWhereWithoutTenantInput, Prisma.TenantSubscriptionUpdateWithoutTenantInput>, Prisma.TenantSubscriptionUncheckedUpdateWithoutTenantInput>
|
|
}
|
|
|
|
export type TenantSubscriptionCreateNestedOneWithoutProductsInput = {
|
|
create?: Prisma.XOR<Prisma.TenantSubscriptionCreateWithoutProductsInput, Prisma.TenantSubscriptionUncheckedCreateWithoutProductsInput>
|
|
connectOrCreate?: Prisma.TenantSubscriptionCreateOrConnectWithoutProductsInput
|
|
connect?: Prisma.TenantSubscriptionWhereUniqueInput
|
|
}
|
|
|
|
export type TenantSubscriptionUpdateOneRequiredWithoutProductsNestedInput = {
|
|
create?: Prisma.XOR<Prisma.TenantSubscriptionCreateWithoutProductsInput, Prisma.TenantSubscriptionUncheckedCreateWithoutProductsInput>
|
|
connectOrCreate?: Prisma.TenantSubscriptionCreateOrConnectWithoutProductsInput
|
|
upsert?: Prisma.TenantSubscriptionUpsertWithoutProductsInput
|
|
connect?: Prisma.TenantSubscriptionWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.TenantSubscriptionUpdateToOneWithWhereWithoutProductsInput, Prisma.TenantSubscriptionUpdateWithoutProductsInput>, Prisma.TenantSubscriptionUncheckedUpdateWithoutProductsInput>
|
|
}
|
|
|
|
export type TenantSubscriptionCreateWithoutTenantInput = {
|
|
id?: string
|
|
stripeCustomerId?: string | null
|
|
products?: Prisma.TenantSubscriptionProductCreateNestedManyWithoutTenantSubscriptionInput
|
|
}
|
|
|
|
export type TenantSubscriptionUncheckedCreateWithoutTenantInput = {
|
|
id?: string
|
|
stripeCustomerId?: string | null
|
|
products?: Prisma.TenantSubscriptionProductUncheckedCreateNestedManyWithoutTenantSubscriptionInput
|
|
}
|
|
|
|
export type TenantSubscriptionCreateOrConnectWithoutTenantInput = {
|
|
where: Prisma.TenantSubscriptionWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.TenantSubscriptionCreateWithoutTenantInput, Prisma.TenantSubscriptionUncheckedCreateWithoutTenantInput>
|
|
}
|
|
|
|
export type TenantSubscriptionUpsertWithoutTenantInput = {
|
|
update: Prisma.XOR<Prisma.TenantSubscriptionUpdateWithoutTenantInput, Prisma.TenantSubscriptionUncheckedUpdateWithoutTenantInput>
|
|
create: Prisma.XOR<Prisma.TenantSubscriptionCreateWithoutTenantInput, Prisma.TenantSubscriptionUncheckedCreateWithoutTenantInput>
|
|
where?: Prisma.TenantSubscriptionWhereInput
|
|
}
|
|
|
|
export type TenantSubscriptionUpdateToOneWithWhereWithoutTenantInput = {
|
|
where?: Prisma.TenantSubscriptionWhereInput
|
|
data: Prisma.XOR<Prisma.TenantSubscriptionUpdateWithoutTenantInput, Prisma.TenantSubscriptionUncheckedUpdateWithoutTenantInput>
|
|
}
|
|
|
|
export type TenantSubscriptionUpdateWithoutTenantInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
stripeCustomerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
products?: Prisma.TenantSubscriptionProductUpdateManyWithoutTenantSubscriptionNestedInput
|
|
}
|
|
|
|
export type TenantSubscriptionUncheckedUpdateWithoutTenantInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
stripeCustomerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
products?: Prisma.TenantSubscriptionProductUncheckedUpdateManyWithoutTenantSubscriptionNestedInput
|
|
}
|
|
|
|
export type TenantSubscriptionCreateWithoutProductsInput = {
|
|
id?: string
|
|
stripeCustomerId?: string | null
|
|
tenant: Prisma.TenantCreateNestedOneWithoutSubscriptionInput
|
|
}
|
|
|
|
export type TenantSubscriptionUncheckedCreateWithoutProductsInput = {
|
|
id?: string
|
|
tenantId: string
|
|
stripeCustomerId?: string | null
|
|
}
|
|
|
|
export type TenantSubscriptionCreateOrConnectWithoutProductsInput = {
|
|
where: Prisma.TenantSubscriptionWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.TenantSubscriptionCreateWithoutProductsInput, Prisma.TenantSubscriptionUncheckedCreateWithoutProductsInput>
|
|
}
|
|
|
|
export type TenantSubscriptionUpsertWithoutProductsInput = {
|
|
update: Prisma.XOR<Prisma.TenantSubscriptionUpdateWithoutProductsInput, Prisma.TenantSubscriptionUncheckedUpdateWithoutProductsInput>
|
|
create: Prisma.XOR<Prisma.TenantSubscriptionCreateWithoutProductsInput, Prisma.TenantSubscriptionUncheckedCreateWithoutProductsInput>
|
|
where?: Prisma.TenantSubscriptionWhereInput
|
|
}
|
|
|
|
export type TenantSubscriptionUpdateToOneWithWhereWithoutProductsInput = {
|
|
where?: Prisma.TenantSubscriptionWhereInput
|
|
data: Prisma.XOR<Prisma.TenantSubscriptionUpdateWithoutProductsInput, Prisma.TenantSubscriptionUncheckedUpdateWithoutProductsInput>
|
|
}
|
|
|
|
export type TenantSubscriptionUpdateWithoutProductsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
stripeCustomerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
tenant?: Prisma.TenantUpdateOneRequiredWithoutSubscriptionNestedInput
|
|
}
|
|
|
|
export type TenantSubscriptionUncheckedUpdateWithoutProductsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
stripeCustomerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
|
|
/**
|
|
* Count Type TenantSubscriptionCountOutputType
|
|
*/
|
|
|
|
export type TenantSubscriptionCountOutputType = {
|
|
products: number
|
|
}
|
|
|
|
export type TenantSubscriptionCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
products?: boolean | TenantSubscriptionCountOutputTypeCountProductsArgs
|
|
}
|
|
|
|
/**
|
|
* TenantSubscriptionCountOutputType without action
|
|
*/
|
|
export type TenantSubscriptionCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the TenantSubscriptionCountOutputType
|
|
*/
|
|
select?: Prisma.TenantSubscriptionCountOutputTypeSelect<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* TenantSubscriptionCountOutputType without action
|
|
*/
|
|
export type TenantSubscriptionCountOutputTypeCountProductsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.TenantSubscriptionProductWhereInput
|
|
}
|
|
|
|
|
|
export type TenantSubscriptionSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
tenantId?: boolean
|
|
stripeCustomerId?: boolean
|
|
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>
|
|
products?: boolean | Prisma.TenantSubscription$productsArgs<ExtArgs>
|
|
_count?: boolean | Prisma.TenantSubscriptionCountOutputTypeDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["tenantSubscription"]>
|
|
|
|
export type TenantSubscriptionSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
tenantId?: boolean
|
|
stripeCustomerId?: boolean
|
|
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["tenantSubscription"]>
|
|
|
|
export type TenantSubscriptionSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
tenantId?: boolean
|
|
stripeCustomerId?: boolean
|
|
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["tenantSubscription"]>
|
|
|
|
export type TenantSubscriptionSelectScalar = {
|
|
id?: boolean
|
|
tenantId?: boolean
|
|
stripeCustomerId?: boolean
|
|
}
|
|
|
|
export type TenantSubscriptionOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "stripeCustomerId", ExtArgs["result"]["tenantSubscription"]>
|
|
export type TenantSubscriptionInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>
|
|
products?: boolean | Prisma.TenantSubscription$productsArgs<ExtArgs>
|
|
_count?: boolean | Prisma.TenantSubscriptionCountOutputTypeDefaultArgs<ExtArgs>
|
|
}
|
|
export type TenantSubscriptionIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>
|
|
}
|
|
export type TenantSubscriptionIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>
|
|
}
|
|
|
|
export type $TenantSubscriptionPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "TenantSubscription"
|
|
objects: {
|
|
tenant: Prisma.$TenantPayload<ExtArgs>
|
|
products: Prisma.$TenantSubscriptionProductPayload<ExtArgs>[]
|
|
}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: string
|
|
tenantId: string
|
|
stripeCustomerId: string | null
|
|
}, ExtArgs["result"]["tenantSubscription"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type TenantSubscriptionGetPayload<S extends boolean | null | undefined | TenantSubscriptionDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$TenantSubscriptionPayload, S>
|
|
|
|
export type TenantSubscriptionCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<TenantSubscriptionFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: TenantSubscriptionCountAggregateInputType | true
|
|
}
|
|
|
|
export interface TenantSubscriptionDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['TenantSubscription'], meta: { name: 'TenantSubscription' } }
|
|
/**
|
|
* Find zero or one TenantSubscription that matches the filter.
|
|
* @param {TenantSubscriptionFindUniqueArgs} args - Arguments to find a TenantSubscription
|
|
* @example
|
|
* // Get one TenantSubscription
|
|
* const tenantSubscription = await prisma.tenantSubscription.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends TenantSubscriptionFindUniqueArgs>(args: Prisma.SelectSubset<T, TenantSubscriptionFindUniqueArgs<ExtArgs>>): Prisma.Prisma__TenantSubscriptionClient<runtime.Types.Result.GetResult<Prisma.$TenantSubscriptionPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one TenantSubscription that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {TenantSubscriptionFindUniqueOrThrowArgs} args - Arguments to find a TenantSubscription
|
|
* @example
|
|
* // Get one TenantSubscription
|
|
* const tenantSubscription = await prisma.tenantSubscription.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends TenantSubscriptionFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, TenantSubscriptionFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__TenantSubscriptionClient<runtime.Types.Result.GetResult<Prisma.$TenantSubscriptionPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first TenantSubscription 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 {TenantSubscriptionFindFirstArgs} args - Arguments to find a TenantSubscription
|
|
* @example
|
|
* // Get one TenantSubscription
|
|
* const tenantSubscription = await prisma.tenantSubscription.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends TenantSubscriptionFindFirstArgs>(args?: Prisma.SelectSubset<T, TenantSubscriptionFindFirstArgs<ExtArgs>>): Prisma.Prisma__TenantSubscriptionClient<runtime.Types.Result.GetResult<Prisma.$TenantSubscriptionPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first TenantSubscription 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 {TenantSubscriptionFindFirstOrThrowArgs} args - Arguments to find a TenantSubscription
|
|
* @example
|
|
* // Get one TenantSubscription
|
|
* const tenantSubscription = await prisma.tenantSubscription.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends TenantSubscriptionFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, TenantSubscriptionFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__TenantSubscriptionClient<runtime.Types.Result.GetResult<Prisma.$TenantSubscriptionPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more TenantSubscriptions 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 {TenantSubscriptionFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all TenantSubscriptions
|
|
* const tenantSubscriptions = await prisma.tenantSubscription.findMany()
|
|
*
|
|
* // Get first 10 TenantSubscriptions
|
|
* const tenantSubscriptions = await prisma.tenantSubscription.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const tenantSubscriptionWithIdOnly = await prisma.tenantSubscription.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends TenantSubscriptionFindManyArgs>(args?: Prisma.SelectSubset<T, TenantSubscriptionFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TenantSubscriptionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a TenantSubscription.
|
|
* @param {TenantSubscriptionCreateArgs} args - Arguments to create a TenantSubscription.
|
|
* @example
|
|
* // Create one TenantSubscription
|
|
* const TenantSubscription = await prisma.tenantSubscription.create({
|
|
* data: {
|
|
* // ... data to create a TenantSubscription
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends TenantSubscriptionCreateArgs>(args: Prisma.SelectSubset<T, TenantSubscriptionCreateArgs<ExtArgs>>): Prisma.Prisma__TenantSubscriptionClient<runtime.Types.Result.GetResult<Prisma.$TenantSubscriptionPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many TenantSubscriptions.
|
|
* @param {TenantSubscriptionCreateManyArgs} args - Arguments to create many TenantSubscriptions.
|
|
* @example
|
|
* // Create many TenantSubscriptions
|
|
* const tenantSubscription = await prisma.tenantSubscription.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends TenantSubscriptionCreateManyArgs>(args?: Prisma.SelectSubset<T, TenantSubscriptionCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create many TenantSubscriptions and returns the data saved in the database.
|
|
* @param {TenantSubscriptionCreateManyAndReturnArgs} args - Arguments to create many TenantSubscriptions.
|
|
* @example
|
|
* // Create many TenantSubscriptions
|
|
* const tenantSubscription = await prisma.tenantSubscription.createManyAndReturn({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Create many TenantSubscriptions and only return the `id`
|
|
* const tenantSubscriptionWithIdOnly = await prisma.tenantSubscription.createManyAndReturn({
|
|
* select: { id: true },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
*
|
|
*/
|
|
createManyAndReturn<T extends TenantSubscriptionCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, TenantSubscriptionCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TenantSubscriptionPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Delete a TenantSubscription.
|
|
* @param {TenantSubscriptionDeleteArgs} args - Arguments to delete one TenantSubscription.
|
|
* @example
|
|
* // Delete one TenantSubscription
|
|
* const TenantSubscription = await prisma.tenantSubscription.delete({
|
|
* where: {
|
|
* // ... filter to delete one TenantSubscription
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends TenantSubscriptionDeleteArgs>(args: Prisma.SelectSubset<T, TenantSubscriptionDeleteArgs<ExtArgs>>): Prisma.Prisma__TenantSubscriptionClient<runtime.Types.Result.GetResult<Prisma.$TenantSubscriptionPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one TenantSubscription.
|
|
* @param {TenantSubscriptionUpdateArgs} args - Arguments to update one TenantSubscription.
|
|
* @example
|
|
* // Update one TenantSubscription
|
|
* const tenantSubscription = await prisma.tenantSubscription.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends TenantSubscriptionUpdateArgs>(args: Prisma.SelectSubset<T, TenantSubscriptionUpdateArgs<ExtArgs>>): Prisma.Prisma__TenantSubscriptionClient<runtime.Types.Result.GetResult<Prisma.$TenantSubscriptionPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more TenantSubscriptions.
|
|
* @param {TenantSubscriptionDeleteManyArgs} args - Arguments to filter TenantSubscriptions to delete.
|
|
* @example
|
|
* // Delete a few TenantSubscriptions
|
|
* const { count } = await prisma.tenantSubscription.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends TenantSubscriptionDeleteManyArgs>(args?: Prisma.SelectSubset<T, TenantSubscriptionDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more TenantSubscriptions.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {TenantSubscriptionUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many TenantSubscriptions
|
|
* const tenantSubscription = await prisma.tenantSubscription.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends TenantSubscriptionUpdateManyArgs>(args: Prisma.SelectSubset<T, TenantSubscriptionUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more TenantSubscriptions and returns the data updated in the database.
|
|
* @param {TenantSubscriptionUpdateManyAndReturnArgs} args - Arguments to update many TenantSubscriptions.
|
|
* @example
|
|
* // Update many TenantSubscriptions
|
|
* const tenantSubscription = await prisma.tenantSubscription.updateManyAndReturn({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Update zero or more TenantSubscriptions and only return the `id`
|
|
* const tenantSubscriptionWithIdOnly = await prisma.tenantSubscription.updateManyAndReturn({
|
|
* select: { id: true },
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
*
|
|
*/
|
|
updateManyAndReturn<T extends TenantSubscriptionUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, TenantSubscriptionUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TenantSubscriptionPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create or update one TenantSubscription.
|
|
* @param {TenantSubscriptionUpsertArgs} args - Arguments to update or create a TenantSubscription.
|
|
* @example
|
|
* // Update or create a TenantSubscription
|
|
* const tenantSubscription = await prisma.tenantSubscription.upsert({
|
|
* create: {
|
|
* // ... data to create a TenantSubscription
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the TenantSubscription we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends TenantSubscriptionUpsertArgs>(args: Prisma.SelectSubset<T, TenantSubscriptionUpsertArgs<ExtArgs>>): Prisma.Prisma__TenantSubscriptionClient<runtime.Types.Result.GetResult<Prisma.$TenantSubscriptionPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of TenantSubscriptions.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {TenantSubscriptionCountArgs} args - Arguments to filter TenantSubscriptions to count.
|
|
* @example
|
|
* // Count the number of TenantSubscriptions
|
|
* const count = await prisma.tenantSubscription.count({
|
|
* where: {
|
|
* // ... the filter for the TenantSubscriptions we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends TenantSubscriptionCountArgs>(
|
|
args?: Prisma.Subset<T, TenantSubscriptionCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], TenantSubscriptionCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a TenantSubscription.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {TenantSubscriptionAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
* @example
|
|
* // Ordered by age ascending
|
|
* // Where email contains prisma.io
|
|
* // Limited to the 10 users
|
|
* const aggregations = await prisma.user.aggregate({
|
|
* _avg: {
|
|
* age: true,
|
|
* },
|
|
* where: {
|
|
* email: {
|
|
* contains: "prisma.io",
|
|
* },
|
|
* },
|
|
* orderBy: {
|
|
* age: "asc",
|
|
* },
|
|
* take: 10,
|
|
* })
|
|
**/
|
|
aggregate<T extends TenantSubscriptionAggregateArgs>(args: Prisma.Subset<T, TenantSubscriptionAggregateArgs>): Prisma.PrismaPromise<GetTenantSubscriptionAggregateType<T>>
|
|
|
|
/**
|
|
* Group by TenantSubscription.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {TenantSubscriptionGroupByArgs} 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 TenantSubscriptionGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: TenantSubscriptionGroupByArgs['orderBy'] }
|
|
: { orderBy?: TenantSubscriptionGroupByArgs['orderBy'] },
|
|
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
InputErrors extends ByEmpty extends Prisma.True
|
|
? `Error: "by" must not be empty.`
|
|
: HavingValid extends Prisma.False
|
|
? {
|
|
[P in HavingFields]: P extends ByFields
|
|
? never
|
|
: P extends string
|
|
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
: [
|
|
Error,
|
|
'Field ',
|
|
P,
|
|
` in "having" needs to be provided in "by"`,
|
|
]
|
|
}[HavingFields]
|
|
: 'take' extends Prisma.Keys<T>
|
|
? 'orderBy' extends Prisma.Keys<T>
|
|
? ByValid extends Prisma.True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
: 'skip' extends Prisma.Keys<T>
|
|
? 'orderBy' extends Prisma.Keys<T>
|
|
? ByValid extends Prisma.True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
: ByValid extends Prisma.True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
>(args: Prisma.SubsetIntersection<T, TenantSubscriptionGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetTenantSubscriptionGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the TenantSubscription model
|
|
*/
|
|
readonly fields: TenantSubscriptionFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for TenantSubscription.
|
|
* 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__TenantSubscriptionClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
tenant<T extends Prisma.TenantDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.TenantDefaultArgs<ExtArgs>>): Prisma.Prisma__TenantClient<runtime.Types.Result.GetResult<Prisma.$TenantPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
products<T extends Prisma.TenantSubscription$productsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.TenantSubscription$productsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TenantSubscriptionProductPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
/**
|
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
* @returns A Promise for the completion of which ever callback is executed.
|
|
*/
|
|
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
|
|
/**
|
|
* Attaches a callback for only the rejection of the Promise.
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
/**
|
|
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
* resolved value cannot be modified from the callback.
|
|
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
* Fields of the TenantSubscription model
|
|
*/
|
|
export interface TenantSubscriptionFieldRefs {
|
|
readonly id: Prisma.FieldRef<"TenantSubscription", 'String'>
|
|
readonly tenantId: Prisma.FieldRef<"TenantSubscription", 'String'>
|
|
readonly stripeCustomerId: Prisma.FieldRef<"TenantSubscription", 'String'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* TenantSubscription findUnique
|
|
*/
|
|
export type TenantSubscriptionFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the TenantSubscription
|
|
*/
|
|
select?: Prisma.TenantSubscriptionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the TenantSubscription
|
|
*/
|
|
omit?: Prisma.TenantSubscriptionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.TenantSubscriptionInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which TenantSubscription to fetch.
|
|
*/
|
|
where: Prisma.TenantSubscriptionWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* TenantSubscription findUniqueOrThrow
|
|
*/
|
|
export type TenantSubscriptionFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the TenantSubscription
|
|
*/
|
|
select?: Prisma.TenantSubscriptionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the TenantSubscription
|
|
*/
|
|
omit?: Prisma.TenantSubscriptionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.TenantSubscriptionInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which TenantSubscription to fetch.
|
|
*/
|
|
where: Prisma.TenantSubscriptionWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* TenantSubscription findFirst
|
|
*/
|
|
export type TenantSubscriptionFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the TenantSubscription
|
|
*/
|
|
select?: Prisma.TenantSubscriptionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the TenantSubscription
|
|
*/
|
|
omit?: Prisma.TenantSubscriptionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.TenantSubscriptionInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which TenantSubscription to fetch.
|
|
*/
|
|
where?: Prisma.TenantSubscriptionWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of TenantSubscriptions to fetch.
|
|
*/
|
|
orderBy?: Prisma.TenantSubscriptionOrderByWithRelationInput | Prisma.TenantSubscriptionOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for TenantSubscriptions.
|
|
*/
|
|
cursor?: Prisma.TenantSubscriptionWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` TenantSubscriptions 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` TenantSubscriptions.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of TenantSubscriptions.
|
|
*/
|
|
distinct?: Prisma.TenantSubscriptionScalarFieldEnum | Prisma.TenantSubscriptionScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* TenantSubscription findFirstOrThrow
|
|
*/
|
|
export type TenantSubscriptionFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the TenantSubscription
|
|
*/
|
|
select?: Prisma.TenantSubscriptionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the TenantSubscription
|
|
*/
|
|
omit?: Prisma.TenantSubscriptionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.TenantSubscriptionInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which TenantSubscription to fetch.
|
|
*/
|
|
where?: Prisma.TenantSubscriptionWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of TenantSubscriptions to fetch.
|
|
*/
|
|
orderBy?: Prisma.TenantSubscriptionOrderByWithRelationInput | Prisma.TenantSubscriptionOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for TenantSubscriptions.
|
|
*/
|
|
cursor?: Prisma.TenantSubscriptionWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` TenantSubscriptions 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` TenantSubscriptions.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of TenantSubscriptions.
|
|
*/
|
|
distinct?: Prisma.TenantSubscriptionScalarFieldEnum | Prisma.TenantSubscriptionScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* TenantSubscription findMany
|
|
*/
|
|
export type TenantSubscriptionFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the TenantSubscription
|
|
*/
|
|
select?: Prisma.TenantSubscriptionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the TenantSubscription
|
|
*/
|
|
omit?: Prisma.TenantSubscriptionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.TenantSubscriptionInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which TenantSubscriptions to fetch.
|
|
*/
|
|
where?: Prisma.TenantSubscriptionWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of TenantSubscriptions to fetch.
|
|
*/
|
|
orderBy?: Prisma.TenantSubscriptionOrderByWithRelationInput | Prisma.TenantSubscriptionOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing TenantSubscriptions.
|
|
*/
|
|
cursor?: Prisma.TenantSubscriptionWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` TenantSubscriptions 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` TenantSubscriptions.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of TenantSubscriptions.
|
|
*/
|
|
distinct?: Prisma.TenantSubscriptionScalarFieldEnum | Prisma.TenantSubscriptionScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* TenantSubscription create
|
|
*/
|
|
export type TenantSubscriptionCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the TenantSubscription
|
|
*/
|
|
select?: Prisma.TenantSubscriptionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the TenantSubscription
|
|
*/
|
|
omit?: Prisma.TenantSubscriptionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.TenantSubscriptionInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a TenantSubscription.
|
|
*/
|
|
data: Prisma.XOR<Prisma.TenantSubscriptionCreateInput, Prisma.TenantSubscriptionUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* TenantSubscription createMany
|
|
*/
|
|
export type TenantSubscriptionCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many TenantSubscriptions.
|
|
*/
|
|
data: Prisma.TenantSubscriptionCreateManyInput | Prisma.TenantSubscriptionCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* TenantSubscription createManyAndReturn
|
|
*/
|
|
export type TenantSubscriptionCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the TenantSubscription
|
|
*/
|
|
select?: Prisma.TenantSubscriptionSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the TenantSubscription
|
|
*/
|
|
omit?: Prisma.TenantSubscriptionOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to create many TenantSubscriptions.
|
|
*/
|
|
data: Prisma.TenantSubscriptionCreateManyInput | Prisma.TenantSubscriptionCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.TenantSubscriptionIncludeCreateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* TenantSubscription update
|
|
*/
|
|
export type TenantSubscriptionUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the TenantSubscription
|
|
*/
|
|
select?: Prisma.TenantSubscriptionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the TenantSubscription
|
|
*/
|
|
omit?: Prisma.TenantSubscriptionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.TenantSubscriptionInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a TenantSubscription.
|
|
*/
|
|
data: Prisma.XOR<Prisma.TenantSubscriptionUpdateInput, Prisma.TenantSubscriptionUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which TenantSubscription to update.
|
|
*/
|
|
where: Prisma.TenantSubscriptionWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* TenantSubscription updateMany
|
|
*/
|
|
export type TenantSubscriptionUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update TenantSubscriptions.
|
|
*/
|
|
data: Prisma.XOR<Prisma.TenantSubscriptionUpdateManyMutationInput, Prisma.TenantSubscriptionUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which TenantSubscriptions to update
|
|
*/
|
|
where?: Prisma.TenantSubscriptionWhereInput
|
|
/**
|
|
* Limit how many TenantSubscriptions to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* TenantSubscription updateManyAndReturn
|
|
*/
|
|
export type TenantSubscriptionUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the TenantSubscription
|
|
*/
|
|
select?: Prisma.TenantSubscriptionSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the TenantSubscription
|
|
*/
|
|
omit?: Prisma.TenantSubscriptionOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update TenantSubscriptions.
|
|
*/
|
|
data: Prisma.XOR<Prisma.TenantSubscriptionUpdateManyMutationInput, Prisma.TenantSubscriptionUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which TenantSubscriptions to update
|
|
*/
|
|
where?: Prisma.TenantSubscriptionWhereInput
|
|
/**
|
|
* Limit how many TenantSubscriptions to update.
|
|
*/
|
|
limit?: number
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.TenantSubscriptionIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* TenantSubscription upsert
|
|
*/
|
|
export type TenantSubscriptionUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the TenantSubscription
|
|
*/
|
|
select?: Prisma.TenantSubscriptionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the TenantSubscription
|
|
*/
|
|
omit?: Prisma.TenantSubscriptionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.TenantSubscriptionInclude<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the TenantSubscription to update in case it exists.
|
|
*/
|
|
where: Prisma.TenantSubscriptionWhereUniqueInput
|
|
/**
|
|
* In case the TenantSubscription found by the `where` argument doesn't exist, create a new TenantSubscription with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.TenantSubscriptionCreateInput, Prisma.TenantSubscriptionUncheckedCreateInput>
|
|
/**
|
|
* In case the TenantSubscription was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.TenantSubscriptionUpdateInput, Prisma.TenantSubscriptionUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* TenantSubscription delete
|
|
*/
|
|
export type TenantSubscriptionDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the TenantSubscription
|
|
*/
|
|
select?: Prisma.TenantSubscriptionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the TenantSubscription
|
|
*/
|
|
omit?: Prisma.TenantSubscriptionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.TenantSubscriptionInclude<ExtArgs> | null
|
|
/**
|
|
* Filter which TenantSubscription to delete.
|
|
*/
|
|
where: Prisma.TenantSubscriptionWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* TenantSubscription deleteMany
|
|
*/
|
|
export type TenantSubscriptionDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which TenantSubscriptions to delete
|
|
*/
|
|
where?: Prisma.TenantSubscriptionWhereInput
|
|
/**
|
|
* Limit how many TenantSubscriptions to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* TenantSubscription.products
|
|
*/
|
|
export type TenantSubscription$productsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the TenantSubscriptionProduct
|
|
*/
|
|
select?: Prisma.TenantSubscriptionProductSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the TenantSubscriptionProduct
|
|
*/
|
|
omit?: Prisma.TenantSubscriptionProductOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.TenantSubscriptionProductInclude<ExtArgs> | null
|
|
where?: Prisma.TenantSubscriptionProductWhereInput
|
|
orderBy?: Prisma.TenantSubscriptionProductOrderByWithRelationInput | Prisma.TenantSubscriptionProductOrderByWithRelationInput[]
|
|
cursor?: Prisma.TenantSubscriptionProductWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.TenantSubscriptionProductScalarFieldEnum | Prisma.TenantSubscriptionProductScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* TenantSubscription without action
|
|
*/
|
|
export type TenantSubscriptionDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the TenantSubscription
|
|
*/
|
|
select?: Prisma.TenantSubscriptionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the TenantSubscription
|
|
*/
|
|
omit?: Prisma.TenantSubscriptionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.TenantSubscriptionInclude<ExtArgs> | null
|
|
}
|