1098 lines
40 KiB
TypeScript
1098 lines
40 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 `account_suspension` 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"
|
|
import type * as Prisma from "../internal/prismaNamespace"
|
|
|
|
/**
|
|
* Model account_suspension
|
|
*
|
|
*/
|
|
export type account_suspensionModel = runtime.Types.Result.DefaultSelection<Prisma.$account_suspensionPayload>
|
|
|
|
export type AggregateAccount_suspension = {
|
|
_count: Account_suspensionCountAggregateOutputType | null
|
|
_avg: Account_suspensionAvgAggregateOutputType | null
|
|
_sum: Account_suspensionSumAggregateOutputType | null
|
|
_min: Account_suspensionMinAggregateOutputType | null
|
|
_max: Account_suspensionMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type Account_suspensionAvgAggregateOutputType = {
|
|
id: number | null
|
|
account_id: number | null
|
|
date_start: number | null
|
|
date_end: number | null
|
|
}
|
|
|
|
export type Account_suspensionSumAggregateOutputType = {
|
|
id: number | null
|
|
account_id: number | null
|
|
date_start: bigint | null
|
|
date_end: bigint | null
|
|
}
|
|
|
|
export type Account_suspensionMinAggregateOutputType = {
|
|
id: number | null
|
|
account_id: number | null
|
|
date_start: bigint | null
|
|
date_end: bigint | null
|
|
note: string | null
|
|
}
|
|
|
|
export type Account_suspensionMaxAggregateOutputType = {
|
|
id: number | null
|
|
account_id: number | null
|
|
date_start: bigint | null
|
|
date_end: bigint | null
|
|
note: string | null
|
|
}
|
|
|
|
export type Account_suspensionCountAggregateOutputType = {
|
|
id: number
|
|
account_id: number
|
|
date_start: number
|
|
date_end: number
|
|
note: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type Account_suspensionAvgAggregateInputType = {
|
|
id?: true
|
|
account_id?: true
|
|
date_start?: true
|
|
date_end?: true
|
|
}
|
|
|
|
export type Account_suspensionSumAggregateInputType = {
|
|
id?: true
|
|
account_id?: true
|
|
date_start?: true
|
|
date_end?: true
|
|
}
|
|
|
|
export type Account_suspensionMinAggregateInputType = {
|
|
id?: true
|
|
account_id?: true
|
|
date_start?: true
|
|
date_end?: true
|
|
note?: true
|
|
}
|
|
|
|
export type Account_suspensionMaxAggregateInputType = {
|
|
id?: true
|
|
account_id?: true
|
|
date_start?: true
|
|
date_end?: true
|
|
note?: true
|
|
}
|
|
|
|
export type Account_suspensionCountAggregateInputType = {
|
|
id?: true
|
|
account_id?: true
|
|
date_start?: true
|
|
date_end?: true
|
|
note?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type Account_suspensionAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which account_suspension to aggregate.
|
|
*/
|
|
where?: Prisma.account_suspensionWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of account_suspensions to fetch.
|
|
*/
|
|
orderBy?: Prisma.account_suspensionOrderByWithRelationInput | Prisma.account_suspensionOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.account_suspensionWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` account_suspensions 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` account_suspensions.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned account_suspensions
|
|
**/
|
|
_count?: true | Account_suspensionCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to average
|
|
**/
|
|
_avg?: Account_suspensionAvgAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to sum
|
|
**/
|
|
_sum?: Account_suspensionSumAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: Account_suspensionMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: Account_suspensionMaxAggregateInputType
|
|
}
|
|
|
|
export type GetAccount_suspensionAggregateType<T extends Account_suspensionAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateAccount_suspension]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateAccount_suspension[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateAccount_suspension[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type account_suspensionGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.account_suspensionWhereInput
|
|
orderBy?: Prisma.account_suspensionOrderByWithAggregationInput | Prisma.account_suspensionOrderByWithAggregationInput[]
|
|
by: Prisma.Account_suspensionScalarFieldEnum[] | Prisma.Account_suspensionScalarFieldEnum
|
|
having?: Prisma.account_suspensionScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: Account_suspensionCountAggregateInputType | true
|
|
_avg?: Account_suspensionAvgAggregateInputType
|
|
_sum?: Account_suspensionSumAggregateInputType
|
|
_min?: Account_suspensionMinAggregateInputType
|
|
_max?: Account_suspensionMaxAggregateInputType
|
|
}
|
|
|
|
export type Account_suspensionGroupByOutputType = {
|
|
id: number
|
|
account_id: number
|
|
date_start: bigint
|
|
date_end: bigint
|
|
note: string
|
|
_count: Account_suspensionCountAggregateOutputType | null
|
|
_avg: Account_suspensionAvgAggregateOutputType | null
|
|
_sum: Account_suspensionSumAggregateOutputType | null
|
|
_min: Account_suspensionMinAggregateOutputType | null
|
|
_max: Account_suspensionMaxAggregateOutputType | null
|
|
}
|
|
|
|
type GetAccount_suspensionGroupByPayload<T extends account_suspensionGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<Account_suspensionGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof Account_suspensionGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], Account_suspensionGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], Account_suspensionGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type account_suspensionWhereInput = {
|
|
AND?: Prisma.account_suspensionWhereInput | Prisma.account_suspensionWhereInput[]
|
|
OR?: Prisma.account_suspensionWhereInput[]
|
|
NOT?: Prisma.account_suspensionWhereInput | Prisma.account_suspensionWhereInput[]
|
|
id?: Prisma.IntFilter<"account_suspension"> | number
|
|
account_id?: Prisma.IntFilter<"account_suspension"> | number
|
|
date_start?: Prisma.BigIntFilter<"account_suspension"> | bigint | number
|
|
date_end?: Prisma.BigIntFilter<"account_suspension"> | bigint | number
|
|
note?: Prisma.StringFilter<"account_suspension"> | string
|
|
}
|
|
|
|
export type account_suspensionOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
account_id?: Prisma.SortOrder
|
|
date_start?: Prisma.SortOrder
|
|
date_end?: Prisma.SortOrder
|
|
note?: Prisma.SortOrder
|
|
_relevance?: Prisma.account_suspensionOrderByRelevanceInput
|
|
}
|
|
|
|
export type account_suspensionWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: number
|
|
account_id?: number
|
|
AND?: Prisma.account_suspensionWhereInput | Prisma.account_suspensionWhereInput[]
|
|
OR?: Prisma.account_suspensionWhereInput[]
|
|
NOT?: Prisma.account_suspensionWhereInput | Prisma.account_suspensionWhereInput[]
|
|
date_start?: Prisma.BigIntFilter<"account_suspension"> | bigint | number
|
|
date_end?: Prisma.BigIntFilter<"account_suspension"> | bigint | number
|
|
note?: Prisma.StringFilter<"account_suspension"> | string
|
|
}, "id" | "account_id">
|
|
|
|
export type account_suspensionOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
account_id?: Prisma.SortOrder
|
|
date_start?: Prisma.SortOrder
|
|
date_end?: Prisma.SortOrder
|
|
note?: Prisma.SortOrder
|
|
_count?: Prisma.account_suspensionCountOrderByAggregateInput
|
|
_avg?: Prisma.account_suspensionAvgOrderByAggregateInput
|
|
_max?: Prisma.account_suspensionMaxOrderByAggregateInput
|
|
_min?: Prisma.account_suspensionMinOrderByAggregateInput
|
|
_sum?: Prisma.account_suspensionSumOrderByAggregateInput
|
|
}
|
|
|
|
export type account_suspensionScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.account_suspensionScalarWhereWithAggregatesInput | Prisma.account_suspensionScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.account_suspensionScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.account_suspensionScalarWhereWithAggregatesInput | Prisma.account_suspensionScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.IntWithAggregatesFilter<"account_suspension"> | number
|
|
account_id?: Prisma.IntWithAggregatesFilter<"account_suspension"> | number
|
|
date_start?: Prisma.BigIntWithAggregatesFilter<"account_suspension"> | bigint | number
|
|
date_end?: Prisma.BigIntWithAggregatesFilter<"account_suspension"> | bigint | number
|
|
note?: Prisma.StringWithAggregatesFilter<"account_suspension"> | string
|
|
}
|
|
|
|
export type account_suspensionCreateInput = {
|
|
account_id: number
|
|
date_start: bigint | number
|
|
date_end: bigint | number
|
|
note: string
|
|
}
|
|
|
|
export type account_suspensionUncheckedCreateInput = {
|
|
id?: number
|
|
account_id: number
|
|
date_start: bigint | number
|
|
date_end: bigint | number
|
|
note: string
|
|
}
|
|
|
|
export type account_suspensionUpdateInput = {
|
|
account_id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
date_start?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
date_end?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
note?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
export type account_suspensionUncheckedUpdateInput = {
|
|
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
account_id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
date_start?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
date_end?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
note?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
export type account_suspensionCreateManyInput = {
|
|
id?: number
|
|
account_id: number
|
|
date_start: bigint | number
|
|
date_end: bigint | number
|
|
note: string
|
|
}
|
|
|
|
export type account_suspensionUpdateManyMutationInput = {
|
|
account_id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
date_start?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
date_end?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
note?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
export type account_suspensionUncheckedUpdateManyInput = {
|
|
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
account_id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
date_start?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
date_end?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
note?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
export type account_suspensionOrderByRelevanceInput = {
|
|
fields: Prisma.account_suspensionOrderByRelevanceFieldEnum | Prisma.account_suspensionOrderByRelevanceFieldEnum[]
|
|
sort: Prisma.SortOrder
|
|
search: string
|
|
}
|
|
|
|
export type account_suspensionCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
account_id?: Prisma.SortOrder
|
|
date_start?: Prisma.SortOrder
|
|
date_end?: Prisma.SortOrder
|
|
note?: Prisma.SortOrder
|
|
}
|
|
|
|
export type account_suspensionAvgOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
account_id?: Prisma.SortOrder
|
|
date_start?: Prisma.SortOrder
|
|
date_end?: Prisma.SortOrder
|
|
}
|
|
|
|
export type account_suspensionMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
account_id?: Prisma.SortOrder
|
|
date_start?: Prisma.SortOrder
|
|
date_end?: Prisma.SortOrder
|
|
note?: Prisma.SortOrder
|
|
}
|
|
|
|
export type account_suspensionMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
account_id?: Prisma.SortOrder
|
|
date_start?: Prisma.SortOrder
|
|
date_end?: Prisma.SortOrder
|
|
note?: Prisma.SortOrder
|
|
}
|
|
|
|
export type account_suspensionSumOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
account_id?: Prisma.SortOrder
|
|
date_start?: Prisma.SortOrder
|
|
date_end?: Prisma.SortOrder
|
|
}
|
|
|
|
|
|
|
|
export type account_suspensionSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
account_id?: boolean
|
|
date_start?: boolean
|
|
date_end?: boolean
|
|
note?: boolean
|
|
}, ExtArgs["result"]["account_suspension"]>
|
|
|
|
|
|
|
|
export type account_suspensionSelectScalar = {
|
|
id?: boolean
|
|
account_id?: boolean
|
|
date_start?: boolean
|
|
date_end?: boolean
|
|
note?: boolean
|
|
}
|
|
|
|
export type account_suspensionOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "account_id" | "date_start" | "date_end" | "note", ExtArgs["result"]["account_suspension"]>
|
|
|
|
export type $account_suspensionPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "account_suspension"
|
|
objects: {}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: number
|
|
account_id: number
|
|
date_start: bigint
|
|
date_end: bigint
|
|
note: string
|
|
}, ExtArgs["result"]["account_suspension"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type account_suspensionGetPayload<S extends boolean | null | undefined | account_suspensionDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$account_suspensionPayload, S>
|
|
|
|
export type account_suspensionCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<account_suspensionFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: Account_suspensionCountAggregateInputType | true
|
|
}
|
|
|
|
export interface account_suspensionDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['account_suspension'], meta: { name: 'account_suspension' } }
|
|
/**
|
|
* Find zero or one Account_suspension that matches the filter.
|
|
* @param {account_suspensionFindUniqueArgs} args - Arguments to find a Account_suspension
|
|
* @example
|
|
* // Get one Account_suspension
|
|
* const account_suspension = await prisma.account_suspension.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends account_suspensionFindUniqueArgs>(args: Prisma.SelectSubset<T, account_suspensionFindUniqueArgs<ExtArgs>>): Prisma.Prisma__account_suspensionClient<runtime.Types.Result.GetResult<Prisma.$account_suspensionPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one Account_suspension that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {account_suspensionFindUniqueOrThrowArgs} args - Arguments to find a Account_suspension
|
|
* @example
|
|
* // Get one Account_suspension
|
|
* const account_suspension = await prisma.account_suspension.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends account_suspensionFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, account_suspensionFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__account_suspensionClient<runtime.Types.Result.GetResult<Prisma.$account_suspensionPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first Account_suspension 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 {account_suspensionFindFirstArgs} args - Arguments to find a Account_suspension
|
|
* @example
|
|
* // Get one Account_suspension
|
|
* const account_suspension = await prisma.account_suspension.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends account_suspensionFindFirstArgs>(args?: Prisma.SelectSubset<T, account_suspensionFindFirstArgs<ExtArgs>>): Prisma.Prisma__account_suspensionClient<runtime.Types.Result.GetResult<Prisma.$account_suspensionPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first Account_suspension 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 {account_suspensionFindFirstOrThrowArgs} args - Arguments to find a Account_suspension
|
|
* @example
|
|
* // Get one Account_suspension
|
|
* const account_suspension = await prisma.account_suspension.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends account_suspensionFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, account_suspensionFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__account_suspensionClient<runtime.Types.Result.GetResult<Prisma.$account_suspensionPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more Account_suspensions 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 {account_suspensionFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all Account_suspensions
|
|
* const account_suspensions = await prisma.account_suspension.findMany()
|
|
*
|
|
* // Get first 10 Account_suspensions
|
|
* const account_suspensions = await prisma.account_suspension.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const account_suspensionWithIdOnly = await prisma.account_suspension.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends account_suspensionFindManyArgs>(args?: Prisma.SelectSubset<T, account_suspensionFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$account_suspensionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a Account_suspension.
|
|
* @param {account_suspensionCreateArgs} args - Arguments to create a Account_suspension.
|
|
* @example
|
|
* // Create one Account_suspension
|
|
* const Account_suspension = await prisma.account_suspension.create({
|
|
* data: {
|
|
* // ... data to create a Account_suspension
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends account_suspensionCreateArgs>(args: Prisma.SelectSubset<T, account_suspensionCreateArgs<ExtArgs>>): Prisma.Prisma__account_suspensionClient<runtime.Types.Result.GetResult<Prisma.$account_suspensionPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many Account_suspensions.
|
|
* @param {account_suspensionCreateManyArgs} args - Arguments to create many Account_suspensions.
|
|
* @example
|
|
* // Create many Account_suspensions
|
|
* const account_suspension = await prisma.account_suspension.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends account_suspensionCreateManyArgs>(args?: Prisma.SelectSubset<T, account_suspensionCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Delete a Account_suspension.
|
|
* @param {account_suspensionDeleteArgs} args - Arguments to delete one Account_suspension.
|
|
* @example
|
|
* // Delete one Account_suspension
|
|
* const Account_suspension = await prisma.account_suspension.delete({
|
|
* where: {
|
|
* // ... filter to delete one Account_suspension
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends account_suspensionDeleteArgs>(args: Prisma.SelectSubset<T, account_suspensionDeleteArgs<ExtArgs>>): Prisma.Prisma__account_suspensionClient<runtime.Types.Result.GetResult<Prisma.$account_suspensionPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one Account_suspension.
|
|
* @param {account_suspensionUpdateArgs} args - Arguments to update one Account_suspension.
|
|
* @example
|
|
* // Update one Account_suspension
|
|
* const account_suspension = await prisma.account_suspension.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends account_suspensionUpdateArgs>(args: Prisma.SelectSubset<T, account_suspensionUpdateArgs<ExtArgs>>): Prisma.Prisma__account_suspensionClient<runtime.Types.Result.GetResult<Prisma.$account_suspensionPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more Account_suspensions.
|
|
* @param {account_suspensionDeleteManyArgs} args - Arguments to filter Account_suspensions to delete.
|
|
* @example
|
|
* // Delete a few Account_suspensions
|
|
* const { count } = await prisma.account_suspension.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends account_suspensionDeleteManyArgs>(args?: Prisma.SelectSubset<T, account_suspensionDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more Account_suspensions.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {account_suspensionUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many Account_suspensions
|
|
* const account_suspension = await prisma.account_suspension.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends account_suspensionUpdateManyArgs>(args: Prisma.SelectSubset<T, account_suspensionUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create or update one Account_suspension.
|
|
* @param {account_suspensionUpsertArgs} args - Arguments to update or create a Account_suspension.
|
|
* @example
|
|
* // Update or create a Account_suspension
|
|
* const account_suspension = await prisma.account_suspension.upsert({
|
|
* create: {
|
|
* // ... data to create a Account_suspension
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the Account_suspension we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends account_suspensionUpsertArgs>(args: Prisma.SelectSubset<T, account_suspensionUpsertArgs<ExtArgs>>): Prisma.Prisma__account_suspensionClient<runtime.Types.Result.GetResult<Prisma.$account_suspensionPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of Account_suspensions.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {account_suspensionCountArgs} args - Arguments to filter Account_suspensions to count.
|
|
* @example
|
|
* // Count the number of Account_suspensions
|
|
* const count = await prisma.account_suspension.count({
|
|
* where: {
|
|
* // ... the filter for the Account_suspensions we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends account_suspensionCountArgs>(
|
|
args?: Prisma.Subset<T, account_suspensionCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], Account_suspensionCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a Account_suspension.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {Account_suspensionAggregateArgs} 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 Account_suspensionAggregateArgs>(args: Prisma.Subset<T, Account_suspensionAggregateArgs>): Prisma.PrismaPromise<GetAccount_suspensionAggregateType<T>>
|
|
|
|
/**
|
|
* Group by Account_suspension.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {account_suspensionGroupByArgs} 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 account_suspensionGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: account_suspensionGroupByArgs['orderBy'] }
|
|
: { orderBy?: account_suspensionGroupByArgs['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, account_suspensionGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAccount_suspensionGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the account_suspension model
|
|
*/
|
|
readonly fields: account_suspensionFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for account_suspension.
|
|
* 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__account_suspensionClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
/**
|
|
* 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 account_suspension model
|
|
*/
|
|
export interface account_suspensionFieldRefs {
|
|
readonly id: Prisma.FieldRef<"account_suspension", 'Int'>
|
|
readonly account_id: Prisma.FieldRef<"account_suspension", 'Int'>
|
|
readonly date_start: Prisma.FieldRef<"account_suspension", 'BigInt'>
|
|
readonly date_end: Prisma.FieldRef<"account_suspension", 'BigInt'>
|
|
readonly note: Prisma.FieldRef<"account_suspension", 'String'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* account_suspension findUnique
|
|
*/
|
|
export type account_suspensionFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the account_suspension
|
|
*/
|
|
select?: Prisma.account_suspensionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the account_suspension
|
|
*/
|
|
omit?: Prisma.account_suspensionOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which account_suspension to fetch.
|
|
*/
|
|
where: Prisma.account_suspensionWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* account_suspension findUniqueOrThrow
|
|
*/
|
|
export type account_suspensionFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the account_suspension
|
|
*/
|
|
select?: Prisma.account_suspensionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the account_suspension
|
|
*/
|
|
omit?: Prisma.account_suspensionOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which account_suspension to fetch.
|
|
*/
|
|
where: Prisma.account_suspensionWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* account_suspension findFirst
|
|
*/
|
|
export type account_suspensionFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the account_suspension
|
|
*/
|
|
select?: Prisma.account_suspensionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the account_suspension
|
|
*/
|
|
omit?: Prisma.account_suspensionOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which account_suspension to fetch.
|
|
*/
|
|
where?: Prisma.account_suspensionWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of account_suspensions to fetch.
|
|
*/
|
|
orderBy?: Prisma.account_suspensionOrderByWithRelationInput | Prisma.account_suspensionOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for account_suspensions.
|
|
*/
|
|
cursor?: Prisma.account_suspensionWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` account_suspensions 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` account_suspensions.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of account_suspensions.
|
|
*/
|
|
distinct?: Prisma.Account_suspensionScalarFieldEnum | Prisma.Account_suspensionScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* account_suspension findFirstOrThrow
|
|
*/
|
|
export type account_suspensionFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the account_suspension
|
|
*/
|
|
select?: Prisma.account_suspensionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the account_suspension
|
|
*/
|
|
omit?: Prisma.account_suspensionOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which account_suspension to fetch.
|
|
*/
|
|
where?: Prisma.account_suspensionWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of account_suspensions to fetch.
|
|
*/
|
|
orderBy?: Prisma.account_suspensionOrderByWithRelationInput | Prisma.account_suspensionOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for account_suspensions.
|
|
*/
|
|
cursor?: Prisma.account_suspensionWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` account_suspensions 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` account_suspensions.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of account_suspensions.
|
|
*/
|
|
distinct?: Prisma.Account_suspensionScalarFieldEnum | Prisma.Account_suspensionScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* account_suspension findMany
|
|
*/
|
|
export type account_suspensionFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the account_suspension
|
|
*/
|
|
select?: Prisma.account_suspensionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the account_suspension
|
|
*/
|
|
omit?: Prisma.account_suspensionOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which account_suspensions to fetch.
|
|
*/
|
|
where?: Prisma.account_suspensionWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of account_suspensions to fetch.
|
|
*/
|
|
orderBy?: Prisma.account_suspensionOrderByWithRelationInput | Prisma.account_suspensionOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing account_suspensions.
|
|
*/
|
|
cursor?: Prisma.account_suspensionWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` account_suspensions 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` account_suspensions.
|
|
*/
|
|
skip?: number
|
|
distinct?: Prisma.Account_suspensionScalarFieldEnum | Prisma.Account_suspensionScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* account_suspension create
|
|
*/
|
|
export type account_suspensionCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the account_suspension
|
|
*/
|
|
select?: Prisma.account_suspensionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the account_suspension
|
|
*/
|
|
omit?: Prisma.account_suspensionOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a account_suspension.
|
|
*/
|
|
data: Prisma.XOR<Prisma.account_suspensionCreateInput, Prisma.account_suspensionUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* account_suspension createMany
|
|
*/
|
|
export type account_suspensionCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many account_suspensions.
|
|
*/
|
|
data: Prisma.account_suspensionCreateManyInput | Prisma.account_suspensionCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* account_suspension update
|
|
*/
|
|
export type account_suspensionUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the account_suspension
|
|
*/
|
|
select?: Prisma.account_suspensionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the account_suspension
|
|
*/
|
|
omit?: Prisma.account_suspensionOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a account_suspension.
|
|
*/
|
|
data: Prisma.XOR<Prisma.account_suspensionUpdateInput, Prisma.account_suspensionUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which account_suspension to update.
|
|
*/
|
|
where: Prisma.account_suspensionWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* account_suspension updateMany
|
|
*/
|
|
export type account_suspensionUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update account_suspensions.
|
|
*/
|
|
data: Prisma.XOR<Prisma.account_suspensionUpdateManyMutationInput, Prisma.account_suspensionUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which account_suspensions to update
|
|
*/
|
|
where?: Prisma.account_suspensionWhereInput
|
|
/**
|
|
* Limit how many account_suspensions to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* account_suspension upsert
|
|
*/
|
|
export type account_suspensionUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the account_suspension
|
|
*/
|
|
select?: Prisma.account_suspensionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the account_suspension
|
|
*/
|
|
omit?: Prisma.account_suspensionOmit<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the account_suspension to update in case it exists.
|
|
*/
|
|
where: Prisma.account_suspensionWhereUniqueInput
|
|
/**
|
|
* In case the account_suspension found by the `where` argument doesn't exist, create a new account_suspension with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.account_suspensionCreateInput, Prisma.account_suspensionUncheckedCreateInput>
|
|
/**
|
|
* In case the account_suspension was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.account_suspensionUpdateInput, Prisma.account_suspensionUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* account_suspension delete
|
|
*/
|
|
export type account_suspensionDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the account_suspension
|
|
*/
|
|
select?: Prisma.account_suspensionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the account_suspension
|
|
*/
|
|
omit?: Prisma.account_suspensionOmit<ExtArgs> | null
|
|
/**
|
|
* Filter which account_suspension to delete.
|
|
*/
|
|
where: Prisma.account_suspensionWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* account_suspension deleteMany
|
|
*/
|
|
export type account_suspensionDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which account_suspensions to delete
|
|
*/
|
|
where?: Prisma.account_suspensionWhereInput
|
|
/**
|
|
* Limit how many account_suspensions to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* account_suspension without action
|
|
*/
|
|
export type account_suspensionDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the account_suspension
|
|
*/
|
|
select?: Prisma.account_suspensionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the account_suspension
|
|
*/
|
|
omit?: Prisma.account_suspensionOmit<ExtArgs> | null
|
|
}
|