1492 lines
60 KiB
TypeScript
1492 lines
60 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 `ConsumerAccount` 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.js"
|
||
|
|
import type * as Prisma from "../internal/prismaNamespace.js"
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Model ConsumerAccount
|
||
|
|
*
|
||
|
|
*/
|
||
|
|
export type ConsumerAccountModel = runtime.Types.Result.DefaultSelection<Prisma.$ConsumerAccountPayload>
|
||
|
|
|
||
|
|
export type AggregateConsumerAccount = {
|
||
|
|
_count: ConsumerAccountCountAggregateOutputType | null
|
||
|
|
_min: ConsumerAccountMinAggregateOutputType | null
|
||
|
|
_max: ConsumerAccountMaxAggregateOutputType | null
|
||
|
|
}
|
||
|
|
|
||
|
|
export type ConsumerAccountMinAggregateOutputType = {
|
||
|
|
id: string | null
|
||
|
|
role: $Enums.ConsumerRole | null
|
||
|
|
created_at: Date | null
|
||
|
|
updated_at: Date | null
|
||
|
|
user_id: string | null
|
||
|
|
account_id: string | null
|
||
|
|
}
|
||
|
|
|
||
|
|
export type ConsumerAccountMaxAggregateOutputType = {
|
||
|
|
id: string | null
|
||
|
|
role: $Enums.ConsumerRole | null
|
||
|
|
created_at: Date | null
|
||
|
|
updated_at: Date | null
|
||
|
|
user_id: string | null
|
||
|
|
account_id: string | null
|
||
|
|
}
|
||
|
|
|
||
|
|
export type ConsumerAccountCountAggregateOutputType = {
|
||
|
|
id: number
|
||
|
|
role: number
|
||
|
|
created_at: number
|
||
|
|
updated_at: number
|
||
|
|
user_id: number
|
||
|
|
account_id: number
|
||
|
|
_all: number
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
export type ConsumerAccountMinAggregateInputType = {
|
||
|
|
id?: true
|
||
|
|
role?: true
|
||
|
|
created_at?: true
|
||
|
|
updated_at?: true
|
||
|
|
user_id?: true
|
||
|
|
account_id?: true
|
||
|
|
}
|
||
|
|
|
||
|
|
export type ConsumerAccountMaxAggregateInputType = {
|
||
|
|
id?: true
|
||
|
|
role?: true
|
||
|
|
created_at?: true
|
||
|
|
updated_at?: true
|
||
|
|
user_id?: true
|
||
|
|
account_id?: true
|
||
|
|
}
|
||
|
|
|
||
|
|
export type ConsumerAccountCountAggregateInputType = {
|
||
|
|
id?: true
|
||
|
|
role?: true
|
||
|
|
created_at?: true
|
||
|
|
updated_at?: true
|
||
|
|
user_id?: true
|
||
|
|
account_id?: true
|
||
|
|
_all?: true
|
||
|
|
}
|
||
|
|
|
||
|
|
export type ConsumerAccountAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||
|
|
/**
|
||
|
|
* Filter which ConsumerAccount to aggregate.
|
||
|
|
*/
|
||
|
|
where?: Prisma.ConsumerAccountWhereInput
|
||
|
|
/**
|
||
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
||
|
|
*
|
||
|
|
* Determine the order of ConsumerAccounts to fetch.
|
||
|
|
*/
|
||
|
|
orderBy?: Prisma.ConsumerAccountOrderByWithRelationInput | Prisma.ConsumerAccountOrderByWithRelationInput[]
|
||
|
|
/**
|
||
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
||
|
|
*
|
||
|
|
* Sets the start position
|
||
|
|
*/
|
||
|
|
cursor?: Prisma.ConsumerAccountWhereUniqueInput
|
||
|
|
/**
|
||
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
||
|
|
*
|
||
|
|
* Take `±n` ConsumerAccounts 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` ConsumerAccounts.
|
||
|
|
*/
|
||
|
|
skip?: number
|
||
|
|
/**
|
||
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
||
|
|
*
|
||
|
|
* Count returned ConsumerAccounts
|
||
|
|
**/
|
||
|
|
_count?: true | ConsumerAccountCountAggregateInputType
|
||
|
|
/**
|
||
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
||
|
|
*
|
||
|
|
* Select which fields to find the minimum value
|
||
|
|
**/
|
||
|
|
_min?: ConsumerAccountMinAggregateInputType
|
||
|
|
/**
|
||
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
||
|
|
*
|
||
|
|
* Select which fields to find the maximum value
|
||
|
|
**/
|
||
|
|
_max?: ConsumerAccountMaxAggregateInputType
|
||
|
|
}
|
||
|
|
|
||
|
|
export type GetConsumerAccountAggregateType<T extends ConsumerAccountAggregateArgs> = {
|
||
|
|
[P in keyof T & keyof AggregateConsumerAccount]: P extends '_count' | 'count'
|
||
|
|
? T[P] extends true
|
||
|
|
? number
|
||
|
|
: Prisma.GetScalarType<T[P], AggregateConsumerAccount[P]>
|
||
|
|
: Prisma.GetScalarType<T[P], AggregateConsumerAccount[P]>
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
export type ConsumerAccountGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||
|
|
where?: Prisma.ConsumerAccountWhereInput
|
||
|
|
orderBy?: Prisma.ConsumerAccountOrderByWithAggregationInput | Prisma.ConsumerAccountOrderByWithAggregationInput[]
|
||
|
|
by: Prisma.ConsumerAccountScalarFieldEnum[] | Prisma.ConsumerAccountScalarFieldEnum
|
||
|
|
having?: Prisma.ConsumerAccountScalarWhereWithAggregatesInput
|
||
|
|
take?: number
|
||
|
|
skip?: number
|
||
|
|
_count?: ConsumerAccountCountAggregateInputType | true
|
||
|
|
_min?: ConsumerAccountMinAggregateInputType
|
||
|
|
_max?: ConsumerAccountMaxAggregateInputType
|
||
|
|
}
|
||
|
|
|
||
|
|
export type ConsumerAccountGroupByOutputType = {
|
||
|
|
id: string
|
||
|
|
role: $Enums.ConsumerRole
|
||
|
|
created_at: Date
|
||
|
|
updated_at: Date
|
||
|
|
user_id: string
|
||
|
|
account_id: string
|
||
|
|
_count: ConsumerAccountCountAggregateOutputType | null
|
||
|
|
_min: ConsumerAccountMinAggregateOutputType | null
|
||
|
|
_max: ConsumerAccountMaxAggregateOutputType | null
|
||
|
|
}
|
||
|
|
|
||
|
|
type GetConsumerAccountGroupByPayload<T extends ConsumerAccountGroupByArgs> = Prisma.PrismaPromise<
|
||
|
|
Array<
|
||
|
|
Prisma.PickEnumerable<ConsumerAccountGroupByOutputType, T['by']> &
|
||
|
|
{
|
||
|
|
[P in ((keyof T) & (keyof ConsumerAccountGroupByOutputType))]: P extends '_count'
|
||
|
|
? T[P] extends boolean
|
||
|
|
? number
|
||
|
|
: Prisma.GetScalarType<T[P], ConsumerAccountGroupByOutputType[P]>
|
||
|
|
: Prisma.GetScalarType<T[P], ConsumerAccountGroupByOutputType[P]>
|
||
|
|
}
|
||
|
|
>
|
||
|
|
>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
export type ConsumerAccountWhereInput = {
|
||
|
|
AND?: Prisma.ConsumerAccountWhereInput | Prisma.ConsumerAccountWhereInput[]
|
||
|
|
OR?: Prisma.ConsumerAccountWhereInput[]
|
||
|
|
NOT?: Prisma.ConsumerAccountWhereInput | Prisma.ConsumerAccountWhereInput[]
|
||
|
|
id?: Prisma.StringFilter<"ConsumerAccount"> | string
|
||
|
|
role?: Prisma.EnumConsumerRoleFilter<"ConsumerAccount"> | $Enums.ConsumerRole
|
||
|
|
created_at?: Prisma.DateTimeFilter<"ConsumerAccount"> | Date | string
|
||
|
|
updated_at?: Prisma.DateTimeFilter<"ConsumerAccount"> | Date | string
|
||
|
|
user_id?: Prisma.StringFilter<"ConsumerAccount"> | string
|
||
|
|
account_id?: Prisma.StringFilter<"ConsumerAccount"> | string
|
||
|
|
user?: Prisma.XOR<Prisma.ConsumerScalarRelationFilter, Prisma.ConsumerWhereInput>
|
||
|
|
account?: Prisma.XOR<Prisma.AccountScalarRelationFilter, Prisma.AccountWhereInput>
|
||
|
|
permissions?: Prisma.PermissionConsumerListRelationFilter
|
||
|
|
}
|
||
|
|
|
||
|
|
export type ConsumerAccountOrderByWithRelationInput = {
|
||
|
|
id?: Prisma.SortOrder
|
||
|
|
role?: Prisma.SortOrder
|
||
|
|
created_at?: Prisma.SortOrder
|
||
|
|
updated_at?: Prisma.SortOrder
|
||
|
|
user_id?: Prisma.SortOrder
|
||
|
|
account_id?: Prisma.SortOrder
|
||
|
|
user?: Prisma.ConsumerOrderByWithRelationInput
|
||
|
|
account?: Prisma.AccountOrderByWithRelationInput
|
||
|
|
permissions?: Prisma.PermissionConsumerOrderByRelationAggregateInput
|
||
|
|
_relevance?: Prisma.ConsumerAccountOrderByRelevanceInput
|
||
|
|
}
|
||
|
|
|
||
|
|
export type ConsumerAccountWhereUniqueInput = Prisma.AtLeast<{
|
||
|
|
id?: string
|
||
|
|
account_id?: string
|
||
|
|
AND?: Prisma.ConsumerAccountWhereInput | Prisma.ConsumerAccountWhereInput[]
|
||
|
|
OR?: Prisma.ConsumerAccountWhereInput[]
|
||
|
|
NOT?: Prisma.ConsumerAccountWhereInput | Prisma.ConsumerAccountWhereInput[]
|
||
|
|
role?: Prisma.EnumConsumerRoleFilter<"ConsumerAccount"> | $Enums.ConsumerRole
|
||
|
|
created_at?: Prisma.DateTimeFilter<"ConsumerAccount"> | Date | string
|
||
|
|
updated_at?: Prisma.DateTimeFilter<"ConsumerAccount"> | Date | string
|
||
|
|
user_id?: Prisma.StringFilter<"ConsumerAccount"> | string
|
||
|
|
user?: Prisma.XOR<Prisma.ConsumerScalarRelationFilter, Prisma.ConsumerWhereInput>
|
||
|
|
account?: Prisma.XOR<Prisma.AccountScalarRelationFilter, Prisma.AccountWhereInput>
|
||
|
|
permissions?: Prisma.PermissionConsumerListRelationFilter
|
||
|
|
}, "id" | "account_id">
|
||
|
|
|
||
|
|
export type ConsumerAccountOrderByWithAggregationInput = {
|
||
|
|
id?: Prisma.SortOrder
|
||
|
|
role?: Prisma.SortOrder
|
||
|
|
created_at?: Prisma.SortOrder
|
||
|
|
updated_at?: Prisma.SortOrder
|
||
|
|
user_id?: Prisma.SortOrder
|
||
|
|
account_id?: Prisma.SortOrder
|
||
|
|
_count?: Prisma.ConsumerAccountCountOrderByAggregateInput
|
||
|
|
_max?: Prisma.ConsumerAccountMaxOrderByAggregateInput
|
||
|
|
_min?: Prisma.ConsumerAccountMinOrderByAggregateInput
|
||
|
|
}
|
||
|
|
|
||
|
|
export type ConsumerAccountScalarWhereWithAggregatesInput = {
|
||
|
|
AND?: Prisma.ConsumerAccountScalarWhereWithAggregatesInput | Prisma.ConsumerAccountScalarWhereWithAggregatesInput[]
|
||
|
|
OR?: Prisma.ConsumerAccountScalarWhereWithAggregatesInput[]
|
||
|
|
NOT?: Prisma.ConsumerAccountScalarWhereWithAggregatesInput | Prisma.ConsumerAccountScalarWhereWithAggregatesInput[]
|
||
|
|
id?: Prisma.StringWithAggregatesFilter<"ConsumerAccount"> | string
|
||
|
|
role?: Prisma.EnumConsumerRoleWithAggregatesFilter<"ConsumerAccount"> | $Enums.ConsumerRole
|
||
|
|
created_at?: Prisma.DateTimeWithAggregatesFilter<"ConsumerAccount"> | Date | string
|
||
|
|
updated_at?: Prisma.DateTimeWithAggregatesFilter<"ConsumerAccount"> | Date | string
|
||
|
|
user_id?: Prisma.StringWithAggregatesFilter<"ConsumerAccount"> | string
|
||
|
|
account_id?: Prisma.StringWithAggregatesFilter<"ConsumerAccount"> | string
|
||
|
|
}
|
||
|
|
|
||
|
|
export type ConsumerAccountCreateInput = {
|
||
|
|
id?: string
|
||
|
|
role: $Enums.ConsumerRole
|
||
|
|
created_at?: Date | string
|
||
|
|
updated_at?: Date | string
|
||
|
|
user: Prisma.ConsumerCreateNestedOneWithoutAccountsInput
|
||
|
|
account: Prisma.AccountCreateNestedOneWithoutConsumer_accountInput
|
||
|
|
permissions?: Prisma.PermissionConsumerCreateNestedManyWithoutAccountInput
|
||
|
|
}
|
||
|
|
|
||
|
|
export type ConsumerAccountUncheckedCreateInput = {
|
||
|
|
id?: string
|
||
|
|
role: $Enums.ConsumerRole
|
||
|
|
created_at?: Date | string
|
||
|
|
updated_at?: Date | string
|
||
|
|
user_id: string
|
||
|
|
account_id: string
|
||
|
|
permissions?: Prisma.PermissionConsumerUncheckedCreateNestedManyWithoutAccountInput
|
||
|
|
}
|
||
|
|
|
||
|
|
export type ConsumerAccountUpdateInput = {
|
||
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||
|
|
role?: Prisma.EnumConsumerRoleFieldUpdateOperationsInput | $Enums.ConsumerRole
|
||
|
|
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||
|
|
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||
|
|
user?: Prisma.ConsumerUpdateOneRequiredWithoutAccountsNestedInput
|
||
|
|
account?: Prisma.AccountUpdateOneRequiredWithoutConsumer_accountNestedInput
|
||
|
|
permissions?: Prisma.PermissionConsumerUpdateManyWithoutAccountNestedInput
|
||
|
|
}
|
||
|
|
|
||
|
|
export type ConsumerAccountUncheckedUpdateInput = {
|
||
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||
|
|
role?: Prisma.EnumConsumerRoleFieldUpdateOperationsInput | $Enums.ConsumerRole
|
||
|
|
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||
|
|
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||
|
|
user_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||
|
|
account_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||
|
|
permissions?: Prisma.PermissionConsumerUncheckedUpdateManyWithoutAccountNestedInput
|
||
|
|
}
|
||
|
|
|
||
|
|
export type ConsumerAccountCreateManyInput = {
|
||
|
|
id?: string
|
||
|
|
role: $Enums.ConsumerRole
|
||
|
|
created_at?: Date | string
|
||
|
|
updated_at?: Date | string
|
||
|
|
user_id: string
|
||
|
|
account_id: string
|
||
|
|
}
|
||
|
|
|
||
|
|
export type ConsumerAccountUpdateManyMutationInput = {
|
||
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||
|
|
role?: Prisma.EnumConsumerRoleFieldUpdateOperationsInput | $Enums.ConsumerRole
|
||
|
|
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||
|
|
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||
|
|
}
|
||
|
|
|
||
|
|
export type ConsumerAccountUncheckedUpdateManyInput = {
|
||
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||
|
|
role?: Prisma.EnumConsumerRoleFieldUpdateOperationsInput | $Enums.ConsumerRole
|
||
|
|
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||
|
|
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||
|
|
user_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||
|
|
account_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||
|
|
}
|
||
|
|
|
||
|
|
export type ConsumerAccountNullableScalarRelationFilter = {
|
||
|
|
is?: Prisma.ConsumerAccountWhereInput | null
|
||
|
|
isNot?: Prisma.ConsumerAccountWhereInput | null
|
||
|
|
}
|
||
|
|
|
||
|
|
export type ConsumerAccountListRelationFilter = {
|
||
|
|
every?: Prisma.ConsumerAccountWhereInput
|
||
|
|
some?: Prisma.ConsumerAccountWhereInput
|
||
|
|
none?: Prisma.ConsumerAccountWhereInput
|
||
|
|
}
|
||
|
|
|
||
|
|
export type ConsumerAccountOrderByRelationAggregateInput = {
|
||
|
|
_count?: Prisma.SortOrder
|
||
|
|
}
|
||
|
|
|
||
|
|
export type ConsumerAccountOrderByRelevanceInput = {
|
||
|
|
fields: Prisma.ConsumerAccountOrderByRelevanceFieldEnum | Prisma.ConsumerAccountOrderByRelevanceFieldEnum[]
|
||
|
|
sort: Prisma.SortOrder
|
||
|
|
search: string
|
||
|
|
}
|
||
|
|
|
||
|
|
export type ConsumerAccountCountOrderByAggregateInput = {
|
||
|
|
id?: Prisma.SortOrder
|
||
|
|
role?: Prisma.SortOrder
|
||
|
|
created_at?: Prisma.SortOrder
|
||
|
|
updated_at?: Prisma.SortOrder
|
||
|
|
user_id?: Prisma.SortOrder
|
||
|
|
account_id?: Prisma.SortOrder
|
||
|
|
}
|
||
|
|
|
||
|
|
export type ConsumerAccountMaxOrderByAggregateInput = {
|
||
|
|
id?: Prisma.SortOrder
|
||
|
|
role?: Prisma.SortOrder
|
||
|
|
created_at?: Prisma.SortOrder
|
||
|
|
updated_at?: Prisma.SortOrder
|
||
|
|
user_id?: Prisma.SortOrder
|
||
|
|
account_id?: Prisma.SortOrder
|
||
|
|
}
|
||
|
|
|
||
|
|
export type ConsumerAccountMinOrderByAggregateInput = {
|
||
|
|
id?: Prisma.SortOrder
|
||
|
|
role?: Prisma.SortOrder
|
||
|
|
created_at?: Prisma.SortOrder
|
||
|
|
updated_at?: Prisma.SortOrder
|
||
|
|
user_id?: Prisma.SortOrder
|
||
|
|
account_id?: Prisma.SortOrder
|
||
|
|
}
|
||
|
|
|
||
|
|
export type ConsumerAccountScalarRelationFilter = {
|
||
|
|
is?: Prisma.ConsumerAccountWhereInput
|
||
|
|
isNot?: Prisma.ConsumerAccountWhereInput
|
||
|
|
}
|
||
|
|
|
||
|
|
export type ConsumerAccountCreateNestedOneWithoutAccountInput = {
|
||
|
|
create?: Prisma.XOR<Prisma.ConsumerAccountCreateWithoutAccountInput, Prisma.ConsumerAccountUncheckedCreateWithoutAccountInput>
|
||
|
|
connectOrCreate?: Prisma.ConsumerAccountCreateOrConnectWithoutAccountInput
|
||
|
|
connect?: Prisma.ConsumerAccountWhereUniqueInput
|
||
|
|
}
|
||
|
|
|
||
|
|
export type ConsumerAccountUncheckedCreateNestedOneWithoutAccountInput = {
|
||
|
|
create?: Prisma.XOR<Prisma.ConsumerAccountCreateWithoutAccountInput, Prisma.ConsumerAccountUncheckedCreateWithoutAccountInput>
|
||
|
|
connectOrCreate?: Prisma.ConsumerAccountCreateOrConnectWithoutAccountInput
|
||
|
|
connect?: Prisma.ConsumerAccountWhereUniqueInput
|
||
|
|
}
|
||
|
|
|
||
|
|
export type ConsumerAccountUpdateOneWithoutAccountNestedInput = {
|
||
|
|
create?: Prisma.XOR<Prisma.ConsumerAccountCreateWithoutAccountInput, Prisma.ConsumerAccountUncheckedCreateWithoutAccountInput>
|
||
|
|
connectOrCreate?: Prisma.ConsumerAccountCreateOrConnectWithoutAccountInput
|
||
|
|
upsert?: Prisma.ConsumerAccountUpsertWithoutAccountInput
|
||
|
|
disconnect?: Prisma.ConsumerAccountWhereInput | boolean
|
||
|
|
delete?: Prisma.ConsumerAccountWhereInput | boolean
|
||
|
|
connect?: Prisma.ConsumerAccountWhereUniqueInput
|
||
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.ConsumerAccountUpdateToOneWithWhereWithoutAccountInput, Prisma.ConsumerAccountUpdateWithoutAccountInput>, Prisma.ConsumerAccountUncheckedUpdateWithoutAccountInput>
|
||
|
|
}
|
||
|
|
|
||
|
|
export type ConsumerAccountUncheckedUpdateOneWithoutAccountNestedInput = {
|
||
|
|
create?: Prisma.XOR<Prisma.ConsumerAccountCreateWithoutAccountInput, Prisma.ConsumerAccountUncheckedCreateWithoutAccountInput>
|
||
|
|
connectOrCreate?: Prisma.ConsumerAccountCreateOrConnectWithoutAccountInput
|
||
|
|
upsert?: Prisma.ConsumerAccountUpsertWithoutAccountInput
|
||
|
|
disconnect?: Prisma.ConsumerAccountWhereInput | boolean
|
||
|
|
delete?: Prisma.ConsumerAccountWhereInput | boolean
|
||
|
|
connect?: Prisma.ConsumerAccountWhereUniqueInput
|
||
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.ConsumerAccountUpdateToOneWithWhereWithoutAccountInput, Prisma.ConsumerAccountUpdateWithoutAccountInput>, Prisma.ConsumerAccountUncheckedUpdateWithoutAccountInput>
|
||
|
|
}
|
||
|
|
|
||
|
|
export type ConsumerAccountCreateNestedManyWithoutUserInput = {
|
||
|
|
create?: Prisma.XOR<Prisma.ConsumerAccountCreateWithoutUserInput, Prisma.ConsumerAccountUncheckedCreateWithoutUserInput> | Prisma.ConsumerAccountCreateWithoutUserInput[] | Prisma.ConsumerAccountUncheckedCreateWithoutUserInput[]
|
||
|
|
connectOrCreate?: Prisma.ConsumerAccountCreateOrConnectWithoutUserInput | Prisma.ConsumerAccountCreateOrConnectWithoutUserInput[]
|
||
|
|
createMany?: Prisma.ConsumerAccountCreateManyUserInputEnvelope
|
||
|
|
connect?: Prisma.ConsumerAccountWhereUniqueInput | Prisma.ConsumerAccountWhereUniqueInput[]
|
||
|
|
}
|
||
|
|
|
||
|
|
export type ConsumerAccountUncheckedCreateNestedManyWithoutUserInput = {
|
||
|
|
create?: Prisma.XOR<Prisma.ConsumerAccountCreateWithoutUserInput, Prisma.ConsumerAccountUncheckedCreateWithoutUserInput> | Prisma.ConsumerAccountCreateWithoutUserInput[] | Prisma.ConsumerAccountUncheckedCreateWithoutUserInput[]
|
||
|
|
connectOrCreate?: Prisma.ConsumerAccountCreateOrConnectWithoutUserInput | Prisma.ConsumerAccountCreateOrConnectWithoutUserInput[]
|
||
|
|
createMany?: Prisma.ConsumerAccountCreateManyUserInputEnvelope
|
||
|
|
connect?: Prisma.ConsumerAccountWhereUniqueInput | Prisma.ConsumerAccountWhereUniqueInput[]
|
||
|
|
}
|
||
|
|
|
||
|
|
export type ConsumerAccountUpdateManyWithoutUserNestedInput = {
|
||
|
|
create?: Prisma.XOR<Prisma.ConsumerAccountCreateWithoutUserInput, Prisma.ConsumerAccountUncheckedCreateWithoutUserInput> | Prisma.ConsumerAccountCreateWithoutUserInput[] | Prisma.ConsumerAccountUncheckedCreateWithoutUserInput[]
|
||
|
|
connectOrCreate?: Prisma.ConsumerAccountCreateOrConnectWithoutUserInput | Prisma.ConsumerAccountCreateOrConnectWithoutUserInput[]
|
||
|
|
upsert?: Prisma.ConsumerAccountUpsertWithWhereUniqueWithoutUserInput | Prisma.ConsumerAccountUpsertWithWhereUniqueWithoutUserInput[]
|
||
|
|
createMany?: Prisma.ConsumerAccountCreateManyUserInputEnvelope
|
||
|
|
set?: Prisma.ConsumerAccountWhereUniqueInput | Prisma.ConsumerAccountWhereUniqueInput[]
|
||
|
|
disconnect?: Prisma.ConsumerAccountWhereUniqueInput | Prisma.ConsumerAccountWhereUniqueInput[]
|
||
|
|
delete?: Prisma.ConsumerAccountWhereUniqueInput | Prisma.ConsumerAccountWhereUniqueInput[]
|
||
|
|
connect?: Prisma.ConsumerAccountWhereUniqueInput | Prisma.ConsumerAccountWhereUniqueInput[]
|
||
|
|
update?: Prisma.ConsumerAccountUpdateWithWhereUniqueWithoutUserInput | Prisma.ConsumerAccountUpdateWithWhereUniqueWithoutUserInput[]
|
||
|
|
updateMany?: Prisma.ConsumerAccountUpdateManyWithWhereWithoutUserInput | Prisma.ConsumerAccountUpdateManyWithWhereWithoutUserInput[]
|
||
|
|
deleteMany?: Prisma.ConsumerAccountScalarWhereInput | Prisma.ConsumerAccountScalarWhereInput[]
|
||
|
|
}
|
||
|
|
|
||
|
|
export type ConsumerAccountUncheckedUpdateManyWithoutUserNestedInput = {
|
||
|
|
create?: Prisma.XOR<Prisma.ConsumerAccountCreateWithoutUserInput, Prisma.ConsumerAccountUncheckedCreateWithoutUserInput> | Prisma.ConsumerAccountCreateWithoutUserInput[] | Prisma.ConsumerAccountUncheckedCreateWithoutUserInput[]
|
||
|
|
connectOrCreate?: Prisma.ConsumerAccountCreateOrConnectWithoutUserInput | Prisma.ConsumerAccountCreateOrConnectWithoutUserInput[]
|
||
|
|
upsert?: Prisma.ConsumerAccountUpsertWithWhereUniqueWithoutUserInput | Prisma.ConsumerAccountUpsertWithWhereUniqueWithoutUserInput[]
|
||
|
|
createMany?: Prisma.ConsumerAccountCreateManyUserInputEnvelope
|
||
|
|
set?: Prisma.ConsumerAccountWhereUniqueInput | Prisma.ConsumerAccountWhereUniqueInput[]
|
||
|
|
disconnect?: Prisma.ConsumerAccountWhereUniqueInput | Prisma.ConsumerAccountWhereUniqueInput[]
|
||
|
|
delete?: Prisma.ConsumerAccountWhereUniqueInput | Prisma.ConsumerAccountWhereUniqueInput[]
|
||
|
|
connect?: Prisma.ConsumerAccountWhereUniqueInput | Prisma.ConsumerAccountWhereUniqueInput[]
|
||
|
|
update?: Prisma.ConsumerAccountUpdateWithWhereUniqueWithoutUserInput | Prisma.ConsumerAccountUpdateWithWhereUniqueWithoutUserInput[]
|
||
|
|
updateMany?: Prisma.ConsumerAccountUpdateManyWithWhereWithoutUserInput | Prisma.ConsumerAccountUpdateManyWithWhereWithoutUserInput[]
|
||
|
|
deleteMany?: Prisma.ConsumerAccountScalarWhereInput | Prisma.ConsumerAccountScalarWhereInput[]
|
||
|
|
}
|
||
|
|
|
||
|
|
export type EnumConsumerRoleFieldUpdateOperationsInput = {
|
||
|
|
set?: $Enums.ConsumerRole
|
||
|
|
}
|
||
|
|
|
||
|
|
export type ConsumerAccountCreateNestedOneWithoutPermissionsInput = {
|
||
|
|
create?: Prisma.XOR<Prisma.ConsumerAccountCreateWithoutPermissionsInput, Prisma.ConsumerAccountUncheckedCreateWithoutPermissionsInput>
|
||
|
|
connectOrCreate?: Prisma.ConsumerAccountCreateOrConnectWithoutPermissionsInput
|
||
|
|
connect?: Prisma.ConsumerAccountWhereUniqueInput
|
||
|
|
}
|
||
|
|
|
||
|
|
export type ConsumerAccountUpdateOneRequiredWithoutPermissionsNestedInput = {
|
||
|
|
create?: Prisma.XOR<Prisma.ConsumerAccountCreateWithoutPermissionsInput, Prisma.ConsumerAccountUncheckedCreateWithoutPermissionsInput>
|
||
|
|
connectOrCreate?: Prisma.ConsumerAccountCreateOrConnectWithoutPermissionsInput
|
||
|
|
upsert?: Prisma.ConsumerAccountUpsertWithoutPermissionsInput
|
||
|
|
connect?: Prisma.ConsumerAccountWhereUniqueInput
|
||
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.ConsumerAccountUpdateToOneWithWhereWithoutPermissionsInput, Prisma.ConsumerAccountUpdateWithoutPermissionsInput>, Prisma.ConsumerAccountUncheckedUpdateWithoutPermissionsInput>
|
||
|
|
}
|
||
|
|
|
||
|
|
export type ConsumerAccountCreateWithoutAccountInput = {
|
||
|
|
id?: string
|
||
|
|
role: $Enums.ConsumerRole
|
||
|
|
created_at?: Date | string
|
||
|
|
updated_at?: Date | string
|
||
|
|
user: Prisma.ConsumerCreateNestedOneWithoutAccountsInput
|
||
|
|
permissions?: Prisma.PermissionConsumerCreateNestedManyWithoutAccountInput
|
||
|
|
}
|
||
|
|
|
||
|
|
export type ConsumerAccountUncheckedCreateWithoutAccountInput = {
|
||
|
|
id?: string
|
||
|
|
role: $Enums.ConsumerRole
|
||
|
|
created_at?: Date | string
|
||
|
|
updated_at?: Date | string
|
||
|
|
user_id: string
|
||
|
|
permissions?: Prisma.PermissionConsumerUncheckedCreateNestedManyWithoutAccountInput
|
||
|
|
}
|
||
|
|
|
||
|
|
export type ConsumerAccountCreateOrConnectWithoutAccountInput = {
|
||
|
|
where: Prisma.ConsumerAccountWhereUniqueInput
|
||
|
|
create: Prisma.XOR<Prisma.ConsumerAccountCreateWithoutAccountInput, Prisma.ConsumerAccountUncheckedCreateWithoutAccountInput>
|
||
|
|
}
|
||
|
|
|
||
|
|
export type ConsumerAccountUpsertWithoutAccountInput = {
|
||
|
|
update: Prisma.XOR<Prisma.ConsumerAccountUpdateWithoutAccountInput, Prisma.ConsumerAccountUncheckedUpdateWithoutAccountInput>
|
||
|
|
create: Prisma.XOR<Prisma.ConsumerAccountCreateWithoutAccountInput, Prisma.ConsumerAccountUncheckedCreateWithoutAccountInput>
|
||
|
|
where?: Prisma.ConsumerAccountWhereInput
|
||
|
|
}
|
||
|
|
|
||
|
|
export type ConsumerAccountUpdateToOneWithWhereWithoutAccountInput = {
|
||
|
|
where?: Prisma.ConsumerAccountWhereInput
|
||
|
|
data: Prisma.XOR<Prisma.ConsumerAccountUpdateWithoutAccountInput, Prisma.ConsumerAccountUncheckedUpdateWithoutAccountInput>
|
||
|
|
}
|
||
|
|
|
||
|
|
export type ConsumerAccountUpdateWithoutAccountInput = {
|
||
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||
|
|
role?: Prisma.EnumConsumerRoleFieldUpdateOperationsInput | $Enums.ConsumerRole
|
||
|
|
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||
|
|
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||
|
|
user?: Prisma.ConsumerUpdateOneRequiredWithoutAccountsNestedInput
|
||
|
|
permissions?: Prisma.PermissionConsumerUpdateManyWithoutAccountNestedInput
|
||
|
|
}
|
||
|
|
|
||
|
|
export type ConsumerAccountUncheckedUpdateWithoutAccountInput = {
|
||
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||
|
|
role?: Prisma.EnumConsumerRoleFieldUpdateOperationsInput | $Enums.ConsumerRole
|
||
|
|
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||
|
|
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||
|
|
user_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||
|
|
permissions?: Prisma.PermissionConsumerUncheckedUpdateManyWithoutAccountNestedInput
|
||
|
|
}
|
||
|
|
|
||
|
|
export type ConsumerAccountCreateWithoutUserInput = {
|
||
|
|
id?: string
|
||
|
|
role: $Enums.ConsumerRole
|
||
|
|
created_at?: Date | string
|
||
|
|
updated_at?: Date | string
|
||
|
|
account: Prisma.AccountCreateNestedOneWithoutConsumer_accountInput
|
||
|
|
permissions?: Prisma.PermissionConsumerCreateNestedManyWithoutAccountInput
|
||
|
|
}
|
||
|
|
|
||
|
|
export type ConsumerAccountUncheckedCreateWithoutUserInput = {
|
||
|
|
id?: string
|
||
|
|
role: $Enums.ConsumerRole
|
||
|
|
created_at?: Date | string
|
||
|
|
updated_at?: Date | string
|
||
|
|
account_id: string
|
||
|
|
permissions?: Prisma.PermissionConsumerUncheckedCreateNestedManyWithoutAccountInput
|
||
|
|
}
|
||
|
|
|
||
|
|
export type ConsumerAccountCreateOrConnectWithoutUserInput = {
|
||
|
|
where: Prisma.ConsumerAccountWhereUniqueInput
|
||
|
|
create: Prisma.XOR<Prisma.ConsumerAccountCreateWithoutUserInput, Prisma.ConsumerAccountUncheckedCreateWithoutUserInput>
|
||
|
|
}
|
||
|
|
|
||
|
|
export type ConsumerAccountCreateManyUserInputEnvelope = {
|
||
|
|
data: Prisma.ConsumerAccountCreateManyUserInput | Prisma.ConsumerAccountCreateManyUserInput[]
|
||
|
|
skipDuplicates?: boolean
|
||
|
|
}
|
||
|
|
|
||
|
|
export type ConsumerAccountUpsertWithWhereUniqueWithoutUserInput = {
|
||
|
|
where: Prisma.ConsumerAccountWhereUniqueInput
|
||
|
|
update: Prisma.XOR<Prisma.ConsumerAccountUpdateWithoutUserInput, Prisma.ConsumerAccountUncheckedUpdateWithoutUserInput>
|
||
|
|
create: Prisma.XOR<Prisma.ConsumerAccountCreateWithoutUserInput, Prisma.ConsumerAccountUncheckedCreateWithoutUserInput>
|
||
|
|
}
|
||
|
|
|
||
|
|
export type ConsumerAccountUpdateWithWhereUniqueWithoutUserInput = {
|
||
|
|
where: Prisma.ConsumerAccountWhereUniqueInput
|
||
|
|
data: Prisma.XOR<Prisma.ConsumerAccountUpdateWithoutUserInput, Prisma.ConsumerAccountUncheckedUpdateWithoutUserInput>
|
||
|
|
}
|
||
|
|
|
||
|
|
export type ConsumerAccountUpdateManyWithWhereWithoutUserInput = {
|
||
|
|
where: Prisma.ConsumerAccountScalarWhereInput
|
||
|
|
data: Prisma.XOR<Prisma.ConsumerAccountUpdateManyMutationInput, Prisma.ConsumerAccountUncheckedUpdateManyWithoutUserInput>
|
||
|
|
}
|
||
|
|
|
||
|
|
export type ConsumerAccountScalarWhereInput = {
|
||
|
|
AND?: Prisma.ConsumerAccountScalarWhereInput | Prisma.ConsumerAccountScalarWhereInput[]
|
||
|
|
OR?: Prisma.ConsumerAccountScalarWhereInput[]
|
||
|
|
NOT?: Prisma.ConsumerAccountScalarWhereInput | Prisma.ConsumerAccountScalarWhereInput[]
|
||
|
|
id?: Prisma.StringFilter<"ConsumerAccount"> | string
|
||
|
|
role?: Prisma.EnumConsumerRoleFilter<"ConsumerAccount"> | $Enums.ConsumerRole
|
||
|
|
created_at?: Prisma.DateTimeFilter<"ConsumerAccount"> | Date | string
|
||
|
|
updated_at?: Prisma.DateTimeFilter<"ConsumerAccount"> | Date | string
|
||
|
|
user_id?: Prisma.StringFilter<"ConsumerAccount"> | string
|
||
|
|
account_id?: Prisma.StringFilter<"ConsumerAccount"> | string
|
||
|
|
}
|
||
|
|
|
||
|
|
export type ConsumerAccountCreateWithoutPermissionsInput = {
|
||
|
|
id?: string
|
||
|
|
role: $Enums.ConsumerRole
|
||
|
|
created_at?: Date | string
|
||
|
|
updated_at?: Date | string
|
||
|
|
user: Prisma.ConsumerCreateNestedOneWithoutAccountsInput
|
||
|
|
account: Prisma.AccountCreateNestedOneWithoutConsumer_accountInput
|
||
|
|
}
|
||
|
|
|
||
|
|
export type ConsumerAccountUncheckedCreateWithoutPermissionsInput = {
|
||
|
|
id?: string
|
||
|
|
role: $Enums.ConsumerRole
|
||
|
|
created_at?: Date | string
|
||
|
|
updated_at?: Date | string
|
||
|
|
user_id: string
|
||
|
|
account_id: string
|
||
|
|
}
|
||
|
|
|
||
|
|
export type ConsumerAccountCreateOrConnectWithoutPermissionsInput = {
|
||
|
|
where: Prisma.ConsumerAccountWhereUniqueInput
|
||
|
|
create: Prisma.XOR<Prisma.ConsumerAccountCreateWithoutPermissionsInput, Prisma.ConsumerAccountUncheckedCreateWithoutPermissionsInput>
|
||
|
|
}
|
||
|
|
|
||
|
|
export type ConsumerAccountUpsertWithoutPermissionsInput = {
|
||
|
|
update: Prisma.XOR<Prisma.ConsumerAccountUpdateWithoutPermissionsInput, Prisma.ConsumerAccountUncheckedUpdateWithoutPermissionsInput>
|
||
|
|
create: Prisma.XOR<Prisma.ConsumerAccountCreateWithoutPermissionsInput, Prisma.ConsumerAccountUncheckedCreateWithoutPermissionsInput>
|
||
|
|
where?: Prisma.ConsumerAccountWhereInput
|
||
|
|
}
|
||
|
|
|
||
|
|
export type ConsumerAccountUpdateToOneWithWhereWithoutPermissionsInput = {
|
||
|
|
where?: Prisma.ConsumerAccountWhereInput
|
||
|
|
data: Prisma.XOR<Prisma.ConsumerAccountUpdateWithoutPermissionsInput, Prisma.ConsumerAccountUncheckedUpdateWithoutPermissionsInput>
|
||
|
|
}
|
||
|
|
|
||
|
|
export type ConsumerAccountUpdateWithoutPermissionsInput = {
|
||
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||
|
|
role?: Prisma.EnumConsumerRoleFieldUpdateOperationsInput | $Enums.ConsumerRole
|
||
|
|
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||
|
|
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||
|
|
user?: Prisma.ConsumerUpdateOneRequiredWithoutAccountsNestedInput
|
||
|
|
account?: Prisma.AccountUpdateOneRequiredWithoutConsumer_accountNestedInput
|
||
|
|
}
|
||
|
|
|
||
|
|
export type ConsumerAccountUncheckedUpdateWithoutPermissionsInput = {
|
||
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||
|
|
role?: Prisma.EnumConsumerRoleFieldUpdateOperationsInput | $Enums.ConsumerRole
|
||
|
|
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||
|
|
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||
|
|
user_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||
|
|
account_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||
|
|
}
|
||
|
|
|
||
|
|
export type ConsumerAccountCreateManyUserInput = {
|
||
|
|
id?: string
|
||
|
|
role: $Enums.ConsumerRole
|
||
|
|
created_at?: Date | string
|
||
|
|
updated_at?: Date | string
|
||
|
|
account_id: string
|
||
|
|
}
|
||
|
|
|
||
|
|
export type ConsumerAccountUpdateWithoutUserInput = {
|
||
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||
|
|
role?: Prisma.EnumConsumerRoleFieldUpdateOperationsInput | $Enums.ConsumerRole
|
||
|
|
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||
|
|
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||
|
|
account?: Prisma.AccountUpdateOneRequiredWithoutConsumer_accountNestedInput
|
||
|
|
permissions?: Prisma.PermissionConsumerUpdateManyWithoutAccountNestedInput
|
||
|
|
}
|
||
|
|
|
||
|
|
export type ConsumerAccountUncheckedUpdateWithoutUserInput = {
|
||
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||
|
|
role?: Prisma.EnumConsumerRoleFieldUpdateOperationsInput | $Enums.ConsumerRole
|
||
|
|
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||
|
|
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||
|
|
account_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||
|
|
permissions?: Prisma.PermissionConsumerUncheckedUpdateManyWithoutAccountNestedInput
|
||
|
|
}
|
||
|
|
|
||
|
|
export type ConsumerAccountUncheckedUpdateManyWithoutUserInput = {
|
||
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||
|
|
role?: Prisma.EnumConsumerRoleFieldUpdateOperationsInput | $Enums.ConsumerRole
|
||
|
|
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||
|
|
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||
|
|
account_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Count Type ConsumerAccountCountOutputType
|
||
|
|
*/
|
||
|
|
|
||
|
|
export type ConsumerAccountCountOutputType = {
|
||
|
|
permissions: number
|
||
|
|
}
|
||
|
|
|
||
|
|
export type ConsumerAccountCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||
|
|
permissions?: boolean | ConsumerAccountCountOutputTypeCountPermissionsArgs
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* ConsumerAccountCountOutputType without action
|
||
|
|
*/
|
||
|
|
export type ConsumerAccountCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||
|
|
/**
|
||
|
|
* Select specific fields to fetch from the ConsumerAccountCountOutputType
|
||
|
|
*/
|
||
|
|
select?: Prisma.ConsumerAccountCountOutputTypeSelect<ExtArgs> | null
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* ConsumerAccountCountOutputType without action
|
||
|
|
*/
|
||
|
|
export type ConsumerAccountCountOutputTypeCountPermissionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||
|
|
where?: Prisma.PermissionConsumerWhereInput
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
export type ConsumerAccountSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
||
|
|
id?: boolean
|
||
|
|
role?: boolean
|
||
|
|
created_at?: boolean
|
||
|
|
updated_at?: boolean
|
||
|
|
user_id?: boolean
|
||
|
|
account_id?: boolean
|
||
|
|
user?: boolean | Prisma.ConsumerDefaultArgs<ExtArgs>
|
||
|
|
account?: boolean | Prisma.AccountDefaultArgs<ExtArgs>
|
||
|
|
permissions?: boolean | Prisma.ConsumerAccount$permissionsArgs<ExtArgs>
|
||
|
|
_count?: boolean | Prisma.ConsumerAccountCountOutputTypeDefaultArgs<ExtArgs>
|
||
|
|
}, ExtArgs["result"]["consumerAccount"]>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
export type ConsumerAccountSelectScalar = {
|
||
|
|
id?: boolean
|
||
|
|
role?: boolean
|
||
|
|
created_at?: boolean
|
||
|
|
updated_at?: boolean
|
||
|
|
user_id?: boolean
|
||
|
|
account_id?: boolean
|
||
|
|
}
|
||
|
|
|
||
|
|
export type ConsumerAccountOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "role" | "created_at" | "updated_at" | "user_id" | "account_id", ExtArgs["result"]["consumerAccount"]>
|
||
|
|
export type ConsumerAccountInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||
|
|
user?: boolean | Prisma.ConsumerDefaultArgs<ExtArgs>
|
||
|
|
account?: boolean | Prisma.AccountDefaultArgs<ExtArgs>
|
||
|
|
permissions?: boolean | Prisma.ConsumerAccount$permissionsArgs<ExtArgs>
|
||
|
|
_count?: boolean | Prisma.ConsumerAccountCountOutputTypeDefaultArgs<ExtArgs>
|
||
|
|
}
|
||
|
|
|
||
|
|
export type $ConsumerAccountPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||
|
|
name: "ConsumerAccount"
|
||
|
|
objects: {
|
||
|
|
user: Prisma.$ConsumerPayload<ExtArgs>
|
||
|
|
account: Prisma.$AccountPayload<ExtArgs>
|
||
|
|
permissions: Prisma.$PermissionConsumerPayload<ExtArgs>[]
|
||
|
|
}
|
||
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
||
|
|
id: string
|
||
|
|
role: $Enums.ConsumerRole
|
||
|
|
created_at: Date
|
||
|
|
updated_at: Date
|
||
|
|
user_id: string
|
||
|
|
account_id: string
|
||
|
|
}, ExtArgs["result"]["consumerAccount"]>
|
||
|
|
composites: {}
|
||
|
|
}
|
||
|
|
|
||
|
|
export type ConsumerAccountGetPayload<S extends boolean | null | undefined | ConsumerAccountDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ConsumerAccountPayload, S>
|
||
|
|
|
||
|
|
export type ConsumerAccountCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
||
|
|
Omit<ConsumerAccountFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
||
|
|
select?: ConsumerAccountCountAggregateInputType | true
|
||
|
|
}
|
||
|
|
|
||
|
|
export interface ConsumerAccountDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
||
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['ConsumerAccount'], meta: { name: 'ConsumerAccount' } }
|
||
|
|
/**
|
||
|
|
* Find zero or one ConsumerAccount that matches the filter.
|
||
|
|
* @param {ConsumerAccountFindUniqueArgs} args - Arguments to find a ConsumerAccount
|
||
|
|
* @example
|
||
|
|
* // Get one ConsumerAccount
|
||
|
|
* const consumerAccount = await prisma.consumerAccount.findUnique({
|
||
|
|
* where: {
|
||
|
|
* // ... provide filter here
|
||
|
|
* }
|
||
|
|
* })
|
||
|
|
*/
|
||
|
|
findUnique<T extends ConsumerAccountFindUniqueArgs>(args: Prisma.SelectSubset<T, ConsumerAccountFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ConsumerAccountClient<runtime.Types.Result.GetResult<Prisma.$ConsumerAccountPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Find one ConsumerAccount that matches the filter or throw an error with `error.code='P2025'`
|
||
|
|
* if no matches were found.
|
||
|
|
* @param {ConsumerAccountFindUniqueOrThrowArgs} args - Arguments to find a ConsumerAccount
|
||
|
|
* @example
|
||
|
|
* // Get one ConsumerAccount
|
||
|
|
* const consumerAccount = await prisma.consumerAccount.findUniqueOrThrow({
|
||
|
|
* where: {
|
||
|
|
* // ... provide filter here
|
||
|
|
* }
|
||
|
|
* })
|
||
|
|
*/
|
||
|
|
findUniqueOrThrow<T extends ConsumerAccountFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ConsumerAccountFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ConsumerAccountClient<runtime.Types.Result.GetResult<Prisma.$ConsumerAccountPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Find the first ConsumerAccount 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 {ConsumerAccountFindFirstArgs} args - Arguments to find a ConsumerAccount
|
||
|
|
* @example
|
||
|
|
* // Get one ConsumerAccount
|
||
|
|
* const consumerAccount = await prisma.consumerAccount.findFirst({
|
||
|
|
* where: {
|
||
|
|
* // ... provide filter here
|
||
|
|
* }
|
||
|
|
* })
|
||
|
|
*/
|
||
|
|
findFirst<T extends ConsumerAccountFindFirstArgs>(args?: Prisma.SelectSubset<T, ConsumerAccountFindFirstArgs<ExtArgs>>): Prisma.Prisma__ConsumerAccountClient<runtime.Types.Result.GetResult<Prisma.$ConsumerAccountPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Find the first ConsumerAccount 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 {ConsumerAccountFindFirstOrThrowArgs} args - Arguments to find a ConsumerAccount
|
||
|
|
* @example
|
||
|
|
* // Get one ConsumerAccount
|
||
|
|
* const consumerAccount = await prisma.consumerAccount.findFirstOrThrow({
|
||
|
|
* where: {
|
||
|
|
* // ... provide filter here
|
||
|
|
* }
|
||
|
|
* })
|
||
|
|
*/
|
||
|
|
findFirstOrThrow<T extends ConsumerAccountFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ConsumerAccountFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ConsumerAccountClient<runtime.Types.Result.GetResult<Prisma.$ConsumerAccountPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Find zero or more ConsumerAccounts 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 {ConsumerAccountFindManyArgs} args - Arguments to filter and select certain fields only.
|
||
|
|
* @example
|
||
|
|
* // Get all ConsumerAccounts
|
||
|
|
* const consumerAccounts = await prisma.consumerAccount.findMany()
|
||
|
|
*
|
||
|
|
* // Get first 10 ConsumerAccounts
|
||
|
|
* const consumerAccounts = await prisma.consumerAccount.findMany({ take: 10 })
|
||
|
|
*
|
||
|
|
* // Only select the `id`
|
||
|
|
* const consumerAccountWithIdOnly = await prisma.consumerAccount.findMany({ select: { id: true } })
|
||
|
|
*
|
||
|
|
*/
|
||
|
|
findMany<T extends ConsumerAccountFindManyArgs>(args?: Prisma.SelectSubset<T, ConsumerAccountFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ConsumerAccountPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Create a ConsumerAccount.
|
||
|
|
* @param {ConsumerAccountCreateArgs} args - Arguments to create a ConsumerAccount.
|
||
|
|
* @example
|
||
|
|
* // Create one ConsumerAccount
|
||
|
|
* const ConsumerAccount = await prisma.consumerAccount.create({
|
||
|
|
* data: {
|
||
|
|
* // ... data to create a ConsumerAccount
|
||
|
|
* }
|
||
|
|
* })
|
||
|
|
*
|
||
|
|
*/
|
||
|
|
create<T extends ConsumerAccountCreateArgs>(args: Prisma.SelectSubset<T, ConsumerAccountCreateArgs<ExtArgs>>): Prisma.Prisma__ConsumerAccountClient<runtime.Types.Result.GetResult<Prisma.$ConsumerAccountPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Create many ConsumerAccounts.
|
||
|
|
* @param {ConsumerAccountCreateManyArgs} args - Arguments to create many ConsumerAccounts.
|
||
|
|
* @example
|
||
|
|
* // Create many ConsumerAccounts
|
||
|
|
* const consumerAccount = await prisma.consumerAccount.createMany({
|
||
|
|
* data: [
|
||
|
|
* // ... provide data here
|
||
|
|
* ]
|
||
|
|
* })
|
||
|
|
*
|
||
|
|
*/
|
||
|
|
createMany<T extends ConsumerAccountCreateManyArgs>(args?: Prisma.SelectSubset<T, ConsumerAccountCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Delete a ConsumerAccount.
|
||
|
|
* @param {ConsumerAccountDeleteArgs} args - Arguments to delete one ConsumerAccount.
|
||
|
|
* @example
|
||
|
|
* // Delete one ConsumerAccount
|
||
|
|
* const ConsumerAccount = await prisma.consumerAccount.delete({
|
||
|
|
* where: {
|
||
|
|
* // ... filter to delete one ConsumerAccount
|
||
|
|
* }
|
||
|
|
* })
|
||
|
|
*
|
||
|
|
*/
|
||
|
|
delete<T extends ConsumerAccountDeleteArgs>(args: Prisma.SelectSubset<T, ConsumerAccountDeleteArgs<ExtArgs>>): Prisma.Prisma__ConsumerAccountClient<runtime.Types.Result.GetResult<Prisma.$ConsumerAccountPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Update one ConsumerAccount.
|
||
|
|
* @param {ConsumerAccountUpdateArgs} args - Arguments to update one ConsumerAccount.
|
||
|
|
* @example
|
||
|
|
* // Update one ConsumerAccount
|
||
|
|
* const consumerAccount = await prisma.consumerAccount.update({
|
||
|
|
* where: {
|
||
|
|
* // ... provide filter here
|
||
|
|
* },
|
||
|
|
* data: {
|
||
|
|
* // ... provide data here
|
||
|
|
* }
|
||
|
|
* })
|
||
|
|
*
|
||
|
|
*/
|
||
|
|
update<T extends ConsumerAccountUpdateArgs>(args: Prisma.SelectSubset<T, ConsumerAccountUpdateArgs<ExtArgs>>): Prisma.Prisma__ConsumerAccountClient<runtime.Types.Result.GetResult<Prisma.$ConsumerAccountPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Delete zero or more ConsumerAccounts.
|
||
|
|
* @param {ConsumerAccountDeleteManyArgs} args - Arguments to filter ConsumerAccounts to delete.
|
||
|
|
* @example
|
||
|
|
* // Delete a few ConsumerAccounts
|
||
|
|
* const { count } = await prisma.consumerAccount.deleteMany({
|
||
|
|
* where: {
|
||
|
|
* // ... provide filter here
|
||
|
|
* }
|
||
|
|
* })
|
||
|
|
*
|
||
|
|
*/
|
||
|
|
deleteMany<T extends ConsumerAccountDeleteManyArgs>(args?: Prisma.SelectSubset<T, ConsumerAccountDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Update zero or more ConsumerAccounts.
|
||
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
||
|
|
* Read more here: https://pris.ly/d/null-undefined
|
||
|
|
* @param {ConsumerAccountUpdateManyArgs} args - Arguments to update one or more rows.
|
||
|
|
* @example
|
||
|
|
* // Update many ConsumerAccounts
|
||
|
|
* const consumerAccount = await prisma.consumerAccount.updateMany({
|
||
|
|
* where: {
|
||
|
|
* // ... provide filter here
|
||
|
|
* },
|
||
|
|
* data: {
|
||
|
|
* // ... provide data here
|
||
|
|
* }
|
||
|
|
* })
|
||
|
|
*
|
||
|
|
*/
|
||
|
|
updateMany<T extends ConsumerAccountUpdateManyArgs>(args: Prisma.SelectSubset<T, ConsumerAccountUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Create or update one ConsumerAccount.
|
||
|
|
* @param {ConsumerAccountUpsertArgs} args - Arguments to update or create a ConsumerAccount.
|
||
|
|
* @example
|
||
|
|
* // Update or create a ConsumerAccount
|
||
|
|
* const consumerAccount = await prisma.consumerAccount.upsert({
|
||
|
|
* create: {
|
||
|
|
* // ... data to create a ConsumerAccount
|
||
|
|
* },
|
||
|
|
* update: {
|
||
|
|
* // ... in case it already exists, update
|
||
|
|
* },
|
||
|
|
* where: {
|
||
|
|
* // ... the filter for the ConsumerAccount we want to update
|
||
|
|
* }
|
||
|
|
* })
|
||
|
|
*/
|
||
|
|
upsert<T extends ConsumerAccountUpsertArgs>(args: Prisma.SelectSubset<T, ConsumerAccountUpsertArgs<ExtArgs>>): Prisma.Prisma__ConsumerAccountClient<runtime.Types.Result.GetResult<Prisma.$ConsumerAccountPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
||
|
|
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Count the number of ConsumerAccounts.
|
||
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
||
|
|
* Read more here: https://pris.ly/d/null-undefined
|
||
|
|
* @param {ConsumerAccountCountArgs} args - Arguments to filter ConsumerAccounts to count.
|
||
|
|
* @example
|
||
|
|
* // Count the number of ConsumerAccounts
|
||
|
|
* const count = await prisma.consumerAccount.count({
|
||
|
|
* where: {
|
||
|
|
* // ... the filter for the ConsumerAccounts we want to count
|
||
|
|
* }
|
||
|
|
* })
|
||
|
|
**/
|
||
|
|
count<T extends ConsumerAccountCountArgs>(
|
||
|
|
args?: Prisma.Subset<T, ConsumerAccountCountArgs>,
|
||
|
|
): Prisma.PrismaPromise<
|
||
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
||
|
|
? T['select'] extends true
|
||
|
|
? number
|
||
|
|
: Prisma.GetScalarType<T['select'], ConsumerAccountCountAggregateOutputType>
|
||
|
|
: number
|
||
|
|
>
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Allows you to perform aggregations operations on a ConsumerAccount.
|
||
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
||
|
|
* Read more here: https://pris.ly/d/null-undefined
|
||
|
|
* @param {ConsumerAccountAggregateArgs} 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 ConsumerAccountAggregateArgs>(args: Prisma.Subset<T, ConsumerAccountAggregateArgs>): Prisma.PrismaPromise<GetConsumerAccountAggregateType<T>>
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Group by ConsumerAccount.
|
||
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
||
|
|
* Read more here: https://pris.ly/d/null-undefined
|
||
|
|
* @param {ConsumerAccountGroupByArgs} 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 ConsumerAccountGroupByArgs,
|
||
|
|
HasSelectOrTake extends Prisma.Or<
|
||
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
||
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
||
|
|
>,
|
||
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
||
|
|
? { orderBy: ConsumerAccountGroupByArgs['orderBy'] }
|
||
|
|
: { orderBy?: ConsumerAccountGroupByArgs['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, ConsumerAccountGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetConsumerAccountGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
||
|
|
/**
|
||
|
|
* Fields of the ConsumerAccount model
|
||
|
|
*/
|
||
|
|
readonly fields: ConsumerAccountFieldRefs;
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* The delegate class that acts as a "Promise-like" for ConsumerAccount.
|
||
|
|
* 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__ConsumerAccountClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
||
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
||
|
|
user<T extends Prisma.ConsumerDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ConsumerDefaultArgs<ExtArgs>>): Prisma.Prisma__ConsumerClient<runtime.Types.Result.GetResult<Prisma.$ConsumerPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
||
|
|
account<T extends Prisma.AccountDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AccountDefaultArgs<ExtArgs>>): Prisma.Prisma__AccountClient<runtime.Types.Result.GetResult<Prisma.$AccountPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
||
|
|
permissions<T extends Prisma.ConsumerAccount$permissionsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ConsumerAccount$permissionsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PermissionConsumerPayload<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 ConsumerAccount model
|
||
|
|
*/
|
||
|
|
export interface ConsumerAccountFieldRefs {
|
||
|
|
readonly id: Prisma.FieldRef<"ConsumerAccount", 'String'>
|
||
|
|
readonly role: Prisma.FieldRef<"ConsumerAccount", 'ConsumerRole'>
|
||
|
|
readonly created_at: Prisma.FieldRef<"ConsumerAccount", 'DateTime'>
|
||
|
|
readonly updated_at: Prisma.FieldRef<"ConsumerAccount", 'DateTime'>
|
||
|
|
readonly user_id: Prisma.FieldRef<"ConsumerAccount", 'String'>
|
||
|
|
readonly account_id: Prisma.FieldRef<"ConsumerAccount", 'String'>
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
// Custom InputTypes
|
||
|
|
/**
|
||
|
|
* ConsumerAccount findUnique
|
||
|
|
*/
|
||
|
|
export type ConsumerAccountFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||
|
|
/**
|
||
|
|
* Select specific fields to fetch from the ConsumerAccount
|
||
|
|
*/
|
||
|
|
select?: Prisma.ConsumerAccountSelect<ExtArgs> | null
|
||
|
|
/**
|
||
|
|
* Omit specific fields from the ConsumerAccount
|
||
|
|
*/
|
||
|
|
omit?: Prisma.ConsumerAccountOmit<ExtArgs> | null
|
||
|
|
/**
|
||
|
|
* Choose, which related nodes to fetch as well
|
||
|
|
*/
|
||
|
|
include?: Prisma.ConsumerAccountInclude<ExtArgs> | null
|
||
|
|
/**
|
||
|
|
* Filter, which ConsumerAccount to fetch.
|
||
|
|
*/
|
||
|
|
where: Prisma.ConsumerAccountWhereUniqueInput
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* ConsumerAccount findUniqueOrThrow
|
||
|
|
*/
|
||
|
|
export type ConsumerAccountFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||
|
|
/**
|
||
|
|
* Select specific fields to fetch from the ConsumerAccount
|
||
|
|
*/
|
||
|
|
select?: Prisma.ConsumerAccountSelect<ExtArgs> | null
|
||
|
|
/**
|
||
|
|
* Omit specific fields from the ConsumerAccount
|
||
|
|
*/
|
||
|
|
omit?: Prisma.ConsumerAccountOmit<ExtArgs> | null
|
||
|
|
/**
|
||
|
|
* Choose, which related nodes to fetch as well
|
||
|
|
*/
|
||
|
|
include?: Prisma.ConsumerAccountInclude<ExtArgs> | null
|
||
|
|
/**
|
||
|
|
* Filter, which ConsumerAccount to fetch.
|
||
|
|
*/
|
||
|
|
where: Prisma.ConsumerAccountWhereUniqueInput
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* ConsumerAccount findFirst
|
||
|
|
*/
|
||
|
|
export type ConsumerAccountFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||
|
|
/**
|
||
|
|
* Select specific fields to fetch from the ConsumerAccount
|
||
|
|
*/
|
||
|
|
select?: Prisma.ConsumerAccountSelect<ExtArgs> | null
|
||
|
|
/**
|
||
|
|
* Omit specific fields from the ConsumerAccount
|
||
|
|
*/
|
||
|
|
omit?: Prisma.ConsumerAccountOmit<ExtArgs> | null
|
||
|
|
/**
|
||
|
|
* Choose, which related nodes to fetch as well
|
||
|
|
*/
|
||
|
|
include?: Prisma.ConsumerAccountInclude<ExtArgs> | null
|
||
|
|
/**
|
||
|
|
* Filter, which ConsumerAccount to fetch.
|
||
|
|
*/
|
||
|
|
where?: Prisma.ConsumerAccountWhereInput
|
||
|
|
/**
|
||
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
||
|
|
*
|
||
|
|
* Determine the order of ConsumerAccounts to fetch.
|
||
|
|
*/
|
||
|
|
orderBy?: Prisma.ConsumerAccountOrderByWithRelationInput | Prisma.ConsumerAccountOrderByWithRelationInput[]
|
||
|
|
/**
|
||
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
||
|
|
*
|
||
|
|
* Sets the position for searching for ConsumerAccounts.
|
||
|
|
*/
|
||
|
|
cursor?: Prisma.ConsumerAccountWhereUniqueInput
|
||
|
|
/**
|
||
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
||
|
|
*
|
||
|
|
* Take `±n` ConsumerAccounts 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` ConsumerAccounts.
|
||
|
|
*/
|
||
|
|
skip?: number
|
||
|
|
/**
|
||
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
||
|
|
*
|
||
|
|
* Filter by unique combinations of ConsumerAccounts.
|
||
|
|
*/
|
||
|
|
distinct?: Prisma.ConsumerAccountScalarFieldEnum | Prisma.ConsumerAccountScalarFieldEnum[]
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* ConsumerAccount findFirstOrThrow
|
||
|
|
*/
|
||
|
|
export type ConsumerAccountFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||
|
|
/**
|
||
|
|
* Select specific fields to fetch from the ConsumerAccount
|
||
|
|
*/
|
||
|
|
select?: Prisma.ConsumerAccountSelect<ExtArgs> | null
|
||
|
|
/**
|
||
|
|
* Omit specific fields from the ConsumerAccount
|
||
|
|
*/
|
||
|
|
omit?: Prisma.ConsumerAccountOmit<ExtArgs> | null
|
||
|
|
/**
|
||
|
|
* Choose, which related nodes to fetch as well
|
||
|
|
*/
|
||
|
|
include?: Prisma.ConsumerAccountInclude<ExtArgs> | null
|
||
|
|
/**
|
||
|
|
* Filter, which ConsumerAccount to fetch.
|
||
|
|
*/
|
||
|
|
where?: Prisma.ConsumerAccountWhereInput
|
||
|
|
/**
|
||
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
||
|
|
*
|
||
|
|
* Determine the order of ConsumerAccounts to fetch.
|
||
|
|
*/
|
||
|
|
orderBy?: Prisma.ConsumerAccountOrderByWithRelationInput | Prisma.ConsumerAccountOrderByWithRelationInput[]
|
||
|
|
/**
|
||
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
||
|
|
*
|
||
|
|
* Sets the position for searching for ConsumerAccounts.
|
||
|
|
*/
|
||
|
|
cursor?: Prisma.ConsumerAccountWhereUniqueInput
|
||
|
|
/**
|
||
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
||
|
|
*
|
||
|
|
* Take `±n` ConsumerAccounts 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` ConsumerAccounts.
|
||
|
|
*/
|
||
|
|
skip?: number
|
||
|
|
/**
|
||
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
||
|
|
*
|
||
|
|
* Filter by unique combinations of ConsumerAccounts.
|
||
|
|
*/
|
||
|
|
distinct?: Prisma.ConsumerAccountScalarFieldEnum | Prisma.ConsumerAccountScalarFieldEnum[]
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* ConsumerAccount findMany
|
||
|
|
*/
|
||
|
|
export type ConsumerAccountFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||
|
|
/**
|
||
|
|
* Select specific fields to fetch from the ConsumerAccount
|
||
|
|
*/
|
||
|
|
select?: Prisma.ConsumerAccountSelect<ExtArgs> | null
|
||
|
|
/**
|
||
|
|
* Omit specific fields from the ConsumerAccount
|
||
|
|
*/
|
||
|
|
omit?: Prisma.ConsumerAccountOmit<ExtArgs> | null
|
||
|
|
/**
|
||
|
|
* Choose, which related nodes to fetch as well
|
||
|
|
*/
|
||
|
|
include?: Prisma.ConsumerAccountInclude<ExtArgs> | null
|
||
|
|
/**
|
||
|
|
* Filter, which ConsumerAccounts to fetch.
|
||
|
|
*/
|
||
|
|
where?: Prisma.ConsumerAccountWhereInput
|
||
|
|
/**
|
||
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
||
|
|
*
|
||
|
|
* Determine the order of ConsumerAccounts to fetch.
|
||
|
|
*/
|
||
|
|
orderBy?: Prisma.ConsumerAccountOrderByWithRelationInput | Prisma.ConsumerAccountOrderByWithRelationInput[]
|
||
|
|
/**
|
||
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
||
|
|
*
|
||
|
|
* Sets the position for listing ConsumerAccounts.
|
||
|
|
*/
|
||
|
|
cursor?: Prisma.ConsumerAccountWhereUniqueInput
|
||
|
|
/**
|
||
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
||
|
|
*
|
||
|
|
* Take `±n` ConsumerAccounts 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` ConsumerAccounts.
|
||
|
|
*/
|
||
|
|
skip?: number
|
||
|
|
distinct?: Prisma.ConsumerAccountScalarFieldEnum | Prisma.ConsumerAccountScalarFieldEnum[]
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* ConsumerAccount create
|
||
|
|
*/
|
||
|
|
export type ConsumerAccountCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||
|
|
/**
|
||
|
|
* Select specific fields to fetch from the ConsumerAccount
|
||
|
|
*/
|
||
|
|
select?: Prisma.ConsumerAccountSelect<ExtArgs> | null
|
||
|
|
/**
|
||
|
|
* Omit specific fields from the ConsumerAccount
|
||
|
|
*/
|
||
|
|
omit?: Prisma.ConsumerAccountOmit<ExtArgs> | null
|
||
|
|
/**
|
||
|
|
* Choose, which related nodes to fetch as well
|
||
|
|
*/
|
||
|
|
include?: Prisma.ConsumerAccountInclude<ExtArgs> | null
|
||
|
|
/**
|
||
|
|
* The data needed to create a ConsumerAccount.
|
||
|
|
*/
|
||
|
|
data: Prisma.XOR<Prisma.ConsumerAccountCreateInput, Prisma.ConsumerAccountUncheckedCreateInput>
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* ConsumerAccount createMany
|
||
|
|
*/
|
||
|
|
export type ConsumerAccountCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||
|
|
/**
|
||
|
|
* The data used to create many ConsumerAccounts.
|
||
|
|
*/
|
||
|
|
data: Prisma.ConsumerAccountCreateManyInput | Prisma.ConsumerAccountCreateManyInput[]
|
||
|
|
skipDuplicates?: boolean
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* ConsumerAccount update
|
||
|
|
*/
|
||
|
|
export type ConsumerAccountUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||
|
|
/**
|
||
|
|
* Select specific fields to fetch from the ConsumerAccount
|
||
|
|
*/
|
||
|
|
select?: Prisma.ConsumerAccountSelect<ExtArgs> | null
|
||
|
|
/**
|
||
|
|
* Omit specific fields from the ConsumerAccount
|
||
|
|
*/
|
||
|
|
omit?: Prisma.ConsumerAccountOmit<ExtArgs> | null
|
||
|
|
/**
|
||
|
|
* Choose, which related nodes to fetch as well
|
||
|
|
*/
|
||
|
|
include?: Prisma.ConsumerAccountInclude<ExtArgs> | null
|
||
|
|
/**
|
||
|
|
* The data needed to update a ConsumerAccount.
|
||
|
|
*/
|
||
|
|
data: Prisma.XOR<Prisma.ConsumerAccountUpdateInput, Prisma.ConsumerAccountUncheckedUpdateInput>
|
||
|
|
/**
|
||
|
|
* Choose, which ConsumerAccount to update.
|
||
|
|
*/
|
||
|
|
where: Prisma.ConsumerAccountWhereUniqueInput
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* ConsumerAccount updateMany
|
||
|
|
*/
|
||
|
|
export type ConsumerAccountUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||
|
|
/**
|
||
|
|
* The data used to update ConsumerAccounts.
|
||
|
|
*/
|
||
|
|
data: Prisma.XOR<Prisma.ConsumerAccountUpdateManyMutationInput, Prisma.ConsumerAccountUncheckedUpdateManyInput>
|
||
|
|
/**
|
||
|
|
* Filter which ConsumerAccounts to update
|
||
|
|
*/
|
||
|
|
where?: Prisma.ConsumerAccountWhereInput
|
||
|
|
/**
|
||
|
|
* Limit how many ConsumerAccounts to update.
|
||
|
|
*/
|
||
|
|
limit?: number
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* ConsumerAccount upsert
|
||
|
|
*/
|
||
|
|
export type ConsumerAccountUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||
|
|
/**
|
||
|
|
* Select specific fields to fetch from the ConsumerAccount
|
||
|
|
*/
|
||
|
|
select?: Prisma.ConsumerAccountSelect<ExtArgs> | null
|
||
|
|
/**
|
||
|
|
* Omit specific fields from the ConsumerAccount
|
||
|
|
*/
|
||
|
|
omit?: Prisma.ConsumerAccountOmit<ExtArgs> | null
|
||
|
|
/**
|
||
|
|
* Choose, which related nodes to fetch as well
|
||
|
|
*/
|
||
|
|
include?: Prisma.ConsumerAccountInclude<ExtArgs> | null
|
||
|
|
/**
|
||
|
|
* The filter to search for the ConsumerAccount to update in case it exists.
|
||
|
|
*/
|
||
|
|
where: Prisma.ConsumerAccountWhereUniqueInput
|
||
|
|
/**
|
||
|
|
* In case the ConsumerAccount found by the `where` argument doesn't exist, create a new ConsumerAccount with this data.
|
||
|
|
*/
|
||
|
|
create: Prisma.XOR<Prisma.ConsumerAccountCreateInput, Prisma.ConsumerAccountUncheckedCreateInput>
|
||
|
|
/**
|
||
|
|
* In case the ConsumerAccount was found with the provided `where` argument, update it with this data.
|
||
|
|
*/
|
||
|
|
update: Prisma.XOR<Prisma.ConsumerAccountUpdateInput, Prisma.ConsumerAccountUncheckedUpdateInput>
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* ConsumerAccount delete
|
||
|
|
*/
|
||
|
|
export type ConsumerAccountDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||
|
|
/**
|
||
|
|
* Select specific fields to fetch from the ConsumerAccount
|
||
|
|
*/
|
||
|
|
select?: Prisma.ConsumerAccountSelect<ExtArgs> | null
|
||
|
|
/**
|
||
|
|
* Omit specific fields from the ConsumerAccount
|
||
|
|
*/
|
||
|
|
omit?: Prisma.ConsumerAccountOmit<ExtArgs> | null
|
||
|
|
/**
|
||
|
|
* Choose, which related nodes to fetch as well
|
||
|
|
*/
|
||
|
|
include?: Prisma.ConsumerAccountInclude<ExtArgs> | null
|
||
|
|
/**
|
||
|
|
* Filter which ConsumerAccount to delete.
|
||
|
|
*/
|
||
|
|
where: Prisma.ConsumerAccountWhereUniqueInput
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* ConsumerAccount deleteMany
|
||
|
|
*/
|
||
|
|
export type ConsumerAccountDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||
|
|
/**
|
||
|
|
* Filter which ConsumerAccounts to delete
|
||
|
|
*/
|
||
|
|
where?: Prisma.ConsumerAccountWhereInput
|
||
|
|
/**
|
||
|
|
* Limit how many ConsumerAccounts to delete.
|
||
|
|
*/
|
||
|
|
limit?: number
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* ConsumerAccount.permissions
|
||
|
|
*/
|
||
|
|
export type ConsumerAccount$permissionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||
|
|
/**
|
||
|
|
* Select specific fields to fetch from the PermissionConsumer
|
||
|
|
*/
|
||
|
|
select?: Prisma.PermissionConsumerSelect<ExtArgs> | null
|
||
|
|
/**
|
||
|
|
* Omit specific fields from the PermissionConsumer
|
||
|
|
*/
|
||
|
|
omit?: Prisma.PermissionConsumerOmit<ExtArgs> | null
|
||
|
|
/**
|
||
|
|
* Choose, which related nodes to fetch as well
|
||
|
|
*/
|
||
|
|
include?: Prisma.PermissionConsumerInclude<ExtArgs> | null
|
||
|
|
where?: Prisma.PermissionConsumerWhereInput
|
||
|
|
orderBy?: Prisma.PermissionConsumerOrderByWithRelationInput | Prisma.PermissionConsumerOrderByWithRelationInput[]
|
||
|
|
cursor?: Prisma.PermissionConsumerWhereUniqueInput
|
||
|
|
take?: number
|
||
|
|
skip?: number
|
||
|
|
distinct?: Prisma.PermissionConsumerScalarFieldEnum | Prisma.PermissionConsumerScalarFieldEnum[]
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* ConsumerAccount without action
|
||
|
|
*/
|
||
|
|
export type ConsumerAccountDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||
|
|
/**
|
||
|
|
* Select specific fields to fetch from the ConsumerAccount
|
||
|
|
*/
|
||
|
|
select?: Prisma.ConsumerAccountSelect<ExtArgs> | null
|
||
|
|
/**
|
||
|
|
* Omit specific fields from the ConsumerAccount
|
||
|
|
*/
|
||
|
|
omit?: Prisma.ConsumerAccountOmit<ExtArgs> | null
|
||
|
|
/**
|
||
|
|
* Choose, which related nodes to fetch as well
|
||
|
|
*/
|
||
|
|
include?: Prisma.ConsumerAccountInclude<ExtArgs> | null
|
||
|
|
}
|