Files
HiveGrid-Wireframes/03 Quellen und Referenzen/hivegrid-cloud/packages/db/generated/prisma/client/models/AuditChainCheckpointHead.ts
T

1150 lines
46 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 `AuditChainCheckpointHead` model and its related types.
*
* 🟢 You can import this file directly.
*/
import type * as runtime from "@prisma/client/runtime/client"
import type * as $Enums from "../enums.ts"
import type * as Prisma from "../internal/prismaNamespace.ts"
/**
* Model AuditChainCheckpointHead
*
*/
export type AuditChainCheckpointHeadModel = runtime.Types.Result.DefaultSelection<Prisma.$AuditChainCheckpointHeadPayload>
export type AggregateAuditChainCheckpointHead = {
_count: AuditChainCheckpointHeadCountAggregateOutputType | null
_min: AuditChainCheckpointHeadMinAggregateOutputType | null
_max: AuditChainCheckpointHeadMaxAggregateOutputType | null
}
export type AuditChainCheckpointHeadMinAggregateOutputType = {
chainKey: string | null
tenantId: string | null
checkpointId: string | null
checkpointMac: string | null
updatedAt: Date | null
}
export type AuditChainCheckpointHeadMaxAggregateOutputType = {
chainKey: string | null
tenantId: string | null
checkpointId: string | null
checkpointMac: string | null
updatedAt: Date | null
}
export type AuditChainCheckpointHeadCountAggregateOutputType = {
chainKey: number
tenantId: number
checkpointId: number
checkpointMac: number
updatedAt: number
_all: number
}
export type AuditChainCheckpointHeadMinAggregateInputType = {
chainKey?: true
tenantId?: true
checkpointId?: true
checkpointMac?: true
updatedAt?: true
}
export type AuditChainCheckpointHeadMaxAggregateInputType = {
chainKey?: true
tenantId?: true
checkpointId?: true
checkpointMac?: true
updatedAt?: true
}
export type AuditChainCheckpointHeadCountAggregateInputType = {
chainKey?: true
tenantId?: true
checkpointId?: true
checkpointMac?: true
updatedAt?: true
_all?: true
}
export type AuditChainCheckpointHeadAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which AuditChainCheckpointHead to aggregate.
*/
where?: Prisma.AuditChainCheckpointHeadWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of AuditChainCheckpointHeads to fetch.
*/
orderBy?: Prisma.AuditChainCheckpointHeadOrderByWithRelationInput | Prisma.AuditChainCheckpointHeadOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the start position
*/
cursor?: Prisma.AuditChainCheckpointHeadWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` AuditChainCheckpointHeads 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` AuditChainCheckpointHeads.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Count returned AuditChainCheckpointHeads
**/
_count?: true | AuditChainCheckpointHeadCountAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the minimum value
**/
_min?: AuditChainCheckpointHeadMinAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the maximum value
**/
_max?: AuditChainCheckpointHeadMaxAggregateInputType
}
export type GetAuditChainCheckpointHeadAggregateType<T extends AuditChainCheckpointHeadAggregateArgs> = {
[P in keyof T & keyof AggregateAuditChainCheckpointHead]: P extends '_count' | 'count'
? T[P] extends true
? number
: Prisma.GetScalarType<T[P], AggregateAuditChainCheckpointHead[P]>
: Prisma.GetScalarType<T[P], AggregateAuditChainCheckpointHead[P]>
}
export type AuditChainCheckpointHeadGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.AuditChainCheckpointHeadWhereInput
orderBy?: Prisma.AuditChainCheckpointHeadOrderByWithAggregationInput | Prisma.AuditChainCheckpointHeadOrderByWithAggregationInput[]
by: Prisma.AuditChainCheckpointHeadScalarFieldEnum[] | Prisma.AuditChainCheckpointHeadScalarFieldEnum
having?: Prisma.AuditChainCheckpointHeadScalarWhereWithAggregatesInput
take?: number
skip?: number
_count?: AuditChainCheckpointHeadCountAggregateInputType | true
_min?: AuditChainCheckpointHeadMinAggregateInputType
_max?: AuditChainCheckpointHeadMaxAggregateInputType
}
export type AuditChainCheckpointHeadGroupByOutputType = {
chainKey: string
tenantId: string | null
checkpointId: string
checkpointMac: string
updatedAt: Date
_count: AuditChainCheckpointHeadCountAggregateOutputType | null
_min: AuditChainCheckpointHeadMinAggregateOutputType | null
_max: AuditChainCheckpointHeadMaxAggregateOutputType | null
}
export type GetAuditChainCheckpointHeadGroupByPayload<T extends AuditChainCheckpointHeadGroupByArgs> = Prisma.PrismaPromise<
Array<
Prisma.PickEnumerable<AuditChainCheckpointHeadGroupByOutputType, T['by']> &
{
[P in ((keyof T) & (keyof AuditChainCheckpointHeadGroupByOutputType))]: P extends '_count'
? T[P] extends boolean
? number
: Prisma.GetScalarType<T[P], AuditChainCheckpointHeadGroupByOutputType[P]>
: Prisma.GetScalarType<T[P], AuditChainCheckpointHeadGroupByOutputType[P]>
}
>
>
export type AuditChainCheckpointHeadWhereInput = {
AND?: Prisma.AuditChainCheckpointHeadWhereInput | Prisma.AuditChainCheckpointHeadWhereInput[]
OR?: Prisma.AuditChainCheckpointHeadWhereInput[]
NOT?: Prisma.AuditChainCheckpointHeadWhereInput | Prisma.AuditChainCheckpointHeadWhereInput[]
chainKey?: Prisma.StringFilter<"AuditChainCheckpointHead"> | string
tenantId?: Prisma.StringNullableFilter<"AuditChainCheckpointHead"> | string | null
checkpointId?: Prisma.StringFilter<"AuditChainCheckpointHead"> | string
checkpointMac?: Prisma.StringFilter<"AuditChainCheckpointHead"> | string
updatedAt?: Prisma.DateTimeFilter<"AuditChainCheckpointHead"> | Date | string
}
export type AuditChainCheckpointHeadOrderByWithRelationInput = {
chainKey?: Prisma.SortOrder
tenantId?: Prisma.SortOrderInput | Prisma.SortOrder
checkpointId?: Prisma.SortOrder
checkpointMac?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
}
export type AuditChainCheckpointHeadWhereUniqueInput = Prisma.AtLeast<{
chainKey?: string
checkpointId?: string
AND?: Prisma.AuditChainCheckpointHeadWhereInput | Prisma.AuditChainCheckpointHeadWhereInput[]
OR?: Prisma.AuditChainCheckpointHeadWhereInput[]
NOT?: Prisma.AuditChainCheckpointHeadWhereInput | Prisma.AuditChainCheckpointHeadWhereInput[]
tenantId?: Prisma.StringNullableFilter<"AuditChainCheckpointHead"> | string | null
checkpointMac?: Prisma.StringFilter<"AuditChainCheckpointHead"> | string
updatedAt?: Prisma.DateTimeFilter<"AuditChainCheckpointHead"> | Date | string
}, "chainKey" | "checkpointId">
export type AuditChainCheckpointHeadOrderByWithAggregationInput = {
chainKey?: Prisma.SortOrder
tenantId?: Prisma.SortOrderInput | Prisma.SortOrder
checkpointId?: Prisma.SortOrder
checkpointMac?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
_count?: Prisma.AuditChainCheckpointHeadCountOrderByAggregateInput
_max?: Prisma.AuditChainCheckpointHeadMaxOrderByAggregateInput
_min?: Prisma.AuditChainCheckpointHeadMinOrderByAggregateInput
}
export type AuditChainCheckpointHeadScalarWhereWithAggregatesInput = {
AND?: Prisma.AuditChainCheckpointHeadScalarWhereWithAggregatesInput | Prisma.AuditChainCheckpointHeadScalarWhereWithAggregatesInput[]
OR?: Prisma.AuditChainCheckpointHeadScalarWhereWithAggregatesInput[]
NOT?: Prisma.AuditChainCheckpointHeadScalarWhereWithAggregatesInput | Prisma.AuditChainCheckpointHeadScalarWhereWithAggregatesInput[]
chainKey?: Prisma.StringWithAggregatesFilter<"AuditChainCheckpointHead"> | string
tenantId?: Prisma.StringNullableWithAggregatesFilter<"AuditChainCheckpointHead"> | string | null
checkpointId?: Prisma.StringWithAggregatesFilter<"AuditChainCheckpointHead"> | string
checkpointMac?: Prisma.StringWithAggregatesFilter<"AuditChainCheckpointHead"> | string
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"AuditChainCheckpointHead"> | Date | string
}
export type AuditChainCheckpointHeadCreateInput = {
chainKey: string
tenantId?: string | null
checkpointId: string
checkpointMac: string
updatedAt: Date | string
}
export type AuditChainCheckpointHeadUncheckedCreateInput = {
chainKey: string
tenantId?: string | null
checkpointId: string
checkpointMac: string
updatedAt: Date | string
}
export type AuditChainCheckpointHeadUpdateInput = {
chainKey?: Prisma.StringFieldUpdateOperationsInput | string
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
checkpointId?: Prisma.StringFieldUpdateOperationsInput | string
checkpointMac?: Prisma.StringFieldUpdateOperationsInput | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}
export type AuditChainCheckpointHeadUncheckedUpdateInput = {
chainKey?: Prisma.StringFieldUpdateOperationsInput | string
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
checkpointId?: Prisma.StringFieldUpdateOperationsInput | string
checkpointMac?: Prisma.StringFieldUpdateOperationsInput | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}
export type AuditChainCheckpointHeadCreateManyInput = {
chainKey: string
tenantId?: string | null
checkpointId: string
checkpointMac: string
updatedAt: Date | string
}
export type AuditChainCheckpointHeadUpdateManyMutationInput = {
chainKey?: Prisma.StringFieldUpdateOperationsInput | string
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
checkpointId?: Prisma.StringFieldUpdateOperationsInput | string
checkpointMac?: Prisma.StringFieldUpdateOperationsInput | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}
export type AuditChainCheckpointHeadUncheckedUpdateManyInput = {
chainKey?: Prisma.StringFieldUpdateOperationsInput | string
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
checkpointId?: Prisma.StringFieldUpdateOperationsInput | string
checkpointMac?: Prisma.StringFieldUpdateOperationsInput | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}
export type AuditChainCheckpointHeadCountOrderByAggregateInput = {
chainKey?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
checkpointId?: Prisma.SortOrder
checkpointMac?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
}
export type AuditChainCheckpointHeadMaxOrderByAggregateInput = {
chainKey?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
checkpointId?: Prisma.SortOrder
checkpointMac?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
}
export type AuditChainCheckpointHeadMinOrderByAggregateInput = {
chainKey?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
checkpointId?: Prisma.SortOrder
checkpointMac?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
}
export type AuditChainCheckpointHeadSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
chainKey?: boolean
tenantId?: boolean
checkpointId?: boolean
checkpointMac?: boolean
updatedAt?: boolean
}, ExtArgs["result"]["auditChainCheckpointHead"]>
export type AuditChainCheckpointHeadSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
chainKey?: boolean
tenantId?: boolean
checkpointId?: boolean
checkpointMac?: boolean
updatedAt?: boolean
}, ExtArgs["result"]["auditChainCheckpointHead"]>
export type AuditChainCheckpointHeadSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
chainKey?: boolean
tenantId?: boolean
checkpointId?: boolean
checkpointMac?: boolean
updatedAt?: boolean
}, ExtArgs["result"]["auditChainCheckpointHead"]>
export type AuditChainCheckpointHeadSelectScalar = {
chainKey?: boolean
tenantId?: boolean
checkpointId?: boolean
checkpointMac?: boolean
updatedAt?: boolean
}
export type AuditChainCheckpointHeadOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"chainKey" | "tenantId" | "checkpointId" | "checkpointMac" | "updatedAt", ExtArgs["result"]["auditChainCheckpointHead"]>
export type $AuditChainCheckpointHeadPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
name: "AuditChainCheckpointHead"
objects: {}
scalars: runtime.Types.Extensions.GetPayloadResult<{
chainKey: string
tenantId: string | null
checkpointId: string
checkpointMac: string
updatedAt: Date
}, ExtArgs["result"]["auditChainCheckpointHead"]>
composites: {}
}
export type AuditChainCheckpointHeadGetPayload<S extends boolean | null | undefined | AuditChainCheckpointHeadDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$AuditChainCheckpointHeadPayload, S>
export type AuditChainCheckpointHeadCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
Omit<AuditChainCheckpointHeadFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
select?: AuditChainCheckpointHeadCountAggregateInputType | true
}
export interface AuditChainCheckpointHeadDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['AuditChainCheckpointHead'], meta: { name: 'AuditChainCheckpointHead' } }
/**
* Find zero or one AuditChainCheckpointHead that matches the filter.
* @param {AuditChainCheckpointHeadFindUniqueArgs} args - Arguments to find a AuditChainCheckpointHead
* @example
* // Get one AuditChainCheckpointHead
* const auditChainCheckpointHead = await prisma.auditChainCheckpointHead.findUnique({
* where: {
* // ... provide filter here
* }
* })
*/
findUnique<T extends AuditChainCheckpointHeadFindUniqueArgs>(args: Prisma.SelectSubset<T, AuditChainCheckpointHeadFindUniqueArgs<ExtArgs>>): Prisma.Prisma__AuditChainCheckpointHeadClient<runtime.Types.Result.GetResult<Prisma.$AuditChainCheckpointHeadPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find one AuditChainCheckpointHead that matches the filter or throw an error with `error.code='P2025'`
* if no matches were found.
* @param {AuditChainCheckpointHeadFindUniqueOrThrowArgs} args - Arguments to find a AuditChainCheckpointHead
* @example
* // Get one AuditChainCheckpointHead
* const auditChainCheckpointHead = await prisma.auditChainCheckpointHead.findUniqueOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findUniqueOrThrow<T extends AuditChainCheckpointHeadFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, AuditChainCheckpointHeadFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__AuditChainCheckpointHeadClient<runtime.Types.Result.GetResult<Prisma.$AuditChainCheckpointHeadPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find the first AuditChainCheckpointHead 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 {AuditChainCheckpointHeadFindFirstArgs} args - Arguments to find a AuditChainCheckpointHead
* @example
* // Get one AuditChainCheckpointHead
* const auditChainCheckpointHead = await prisma.auditChainCheckpointHead.findFirst({
* where: {
* // ... provide filter here
* }
* })
*/
findFirst<T extends AuditChainCheckpointHeadFindFirstArgs>(args?: Prisma.SelectSubset<T, AuditChainCheckpointHeadFindFirstArgs<ExtArgs>>): Prisma.Prisma__AuditChainCheckpointHeadClient<runtime.Types.Result.GetResult<Prisma.$AuditChainCheckpointHeadPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find the first AuditChainCheckpointHead 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 {AuditChainCheckpointHeadFindFirstOrThrowArgs} args - Arguments to find a AuditChainCheckpointHead
* @example
* // Get one AuditChainCheckpointHead
* const auditChainCheckpointHead = await prisma.auditChainCheckpointHead.findFirstOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findFirstOrThrow<T extends AuditChainCheckpointHeadFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, AuditChainCheckpointHeadFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__AuditChainCheckpointHeadClient<runtime.Types.Result.GetResult<Prisma.$AuditChainCheckpointHeadPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find zero or more AuditChainCheckpointHeads 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 {AuditChainCheckpointHeadFindManyArgs} args - Arguments to filter and select certain fields only.
* @example
* // Get all AuditChainCheckpointHeads
* const auditChainCheckpointHeads = await prisma.auditChainCheckpointHead.findMany()
*
* // Get first 10 AuditChainCheckpointHeads
* const auditChainCheckpointHeads = await prisma.auditChainCheckpointHead.findMany({ take: 10 })
*
* // Only select the `chainKey`
* const auditChainCheckpointHeadWithChainKeyOnly = await prisma.auditChainCheckpointHead.findMany({ select: { chainKey: true } })
*
*/
findMany<T extends AuditChainCheckpointHeadFindManyArgs>(args?: Prisma.SelectSubset<T, AuditChainCheckpointHeadFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AuditChainCheckpointHeadPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
/**
* Create a AuditChainCheckpointHead.
* @param {AuditChainCheckpointHeadCreateArgs} args - Arguments to create a AuditChainCheckpointHead.
* @example
* // Create one AuditChainCheckpointHead
* const AuditChainCheckpointHead = await prisma.auditChainCheckpointHead.create({
* data: {
* // ... data to create a AuditChainCheckpointHead
* }
* })
*
*/
create<T extends AuditChainCheckpointHeadCreateArgs>(args: Prisma.SelectSubset<T, AuditChainCheckpointHeadCreateArgs<ExtArgs>>): Prisma.Prisma__AuditChainCheckpointHeadClient<runtime.Types.Result.GetResult<Prisma.$AuditChainCheckpointHeadPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Create many AuditChainCheckpointHeads.
* @param {AuditChainCheckpointHeadCreateManyArgs} args - Arguments to create many AuditChainCheckpointHeads.
* @example
* // Create many AuditChainCheckpointHeads
* const auditChainCheckpointHead = await prisma.auditChainCheckpointHead.createMany({
* data: [
* // ... provide data here
* ]
* })
*
*/
createMany<T extends AuditChainCheckpointHeadCreateManyArgs>(args?: Prisma.SelectSubset<T, AuditChainCheckpointHeadCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Create many AuditChainCheckpointHeads and returns the data saved in the database.
* @param {AuditChainCheckpointHeadCreateManyAndReturnArgs} args - Arguments to create many AuditChainCheckpointHeads.
* @example
* // Create many AuditChainCheckpointHeads
* const auditChainCheckpointHead = await prisma.auditChainCheckpointHead.createManyAndReturn({
* data: [
* // ... provide data here
* ]
* })
*
* // Create many AuditChainCheckpointHeads and only return the `chainKey`
* const auditChainCheckpointHeadWithChainKeyOnly = await prisma.auditChainCheckpointHead.createManyAndReturn({
* select: { chainKey: true },
* data: [
* // ... provide data here
* ]
* })
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
*
*/
createManyAndReturn<T extends AuditChainCheckpointHeadCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, AuditChainCheckpointHeadCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AuditChainCheckpointHeadPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
/**
* Delete a AuditChainCheckpointHead.
* @param {AuditChainCheckpointHeadDeleteArgs} args - Arguments to delete one AuditChainCheckpointHead.
* @example
* // Delete one AuditChainCheckpointHead
* const AuditChainCheckpointHead = await prisma.auditChainCheckpointHead.delete({
* where: {
* // ... filter to delete one AuditChainCheckpointHead
* }
* })
*
*/
delete<T extends AuditChainCheckpointHeadDeleteArgs>(args: Prisma.SelectSubset<T, AuditChainCheckpointHeadDeleteArgs<ExtArgs>>): Prisma.Prisma__AuditChainCheckpointHeadClient<runtime.Types.Result.GetResult<Prisma.$AuditChainCheckpointHeadPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Update one AuditChainCheckpointHead.
* @param {AuditChainCheckpointHeadUpdateArgs} args - Arguments to update one AuditChainCheckpointHead.
* @example
* // Update one AuditChainCheckpointHead
* const auditChainCheckpointHead = await prisma.auditChainCheckpointHead.update({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
update<T extends AuditChainCheckpointHeadUpdateArgs>(args: Prisma.SelectSubset<T, AuditChainCheckpointHeadUpdateArgs<ExtArgs>>): Prisma.Prisma__AuditChainCheckpointHeadClient<runtime.Types.Result.GetResult<Prisma.$AuditChainCheckpointHeadPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Delete zero or more AuditChainCheckpointHeads.
* @param {AuditChainCheckpointHeadDeleteManyArgs} args - Arguments to filter AuditChainCheckpointHeads to delete.
* @example
* // Delete a few AuditChainCheckpointHeads
* const { count } = await prisma.auditChainCheckpointHead.deleteMany({
* where: {
* // ... provide filter here
* }
* })
*
*/
deleteMany<T extends AuditChainCheckpointHeadDeleteManyArgs>(args?: Prisma.SelectSubset<T, AuditChainCheckpointHeadDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more AuditChainCheckpointHeads.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {AuditChainCheckpointHeadUpdateManyArgs} args - Arguments to update one or more rows.
* @example
* // Update many AuditChainCheckpointHeads
* const auditChainCheckpointHead = await prisma.auditChainCheckpointHead.updateMany({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
updateMany<T extends AuditChainCheckpointHeadUpdateManyArgs>(args: Prisma.SelectSubset<T, AuditChainCheckpointHeadUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more AuditChainCheckpointHeads and returns the data updated in the database.
* @param {AuditChainCheckpointHeadUpdateManyAndReturnArgs} args - Arguments to update many AuditChainCheckpointHeads.
* @example
* // Update many AuditChainCheckpointHeads
* const auditChainCheckpointHead = await prisma.auditChainCheckpointHead.updateManyAndReturn({
* where: {
* // ... provide filter here
* },
* data: [
* // ... provide data here
* ]
* })
*
* // Update zero or more AuditChainCheckpointHeads and only return the `chainKey`
* const auditChainCheckpointHeadWithChainKeyOnly = await prisma.auditChainCheckpointHead.updateManyAndReturn({
* select: { chainKey: true },
* where: {
* // ... provide filter here
* },
* data: [
* // ... provide data here
* ]
* })
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
*
*/
updateManyAndReturn<T extends AuditChainCheckpointHeadUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, AuditChainCheckpointHeadUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AuditChainCheckpointHeadPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
/**
* Create or update one AuditChainCheckpointHead.
* @param {AuditChainCheckpointHeadUpsertArgs} args - Arguments to update or create a AuditChainCheckpointHead.
* @example
* // Update or create a AuditChainCheckpointHead
* const auditChainCheckpointHead = await prisma.auditChainCheckpointHead.upsert({
* create: {
* // ... data to create a AuditChainCheckpointHead
* },
* update: {
* // ... in case it already exists, update
* },
* where: {
* // ... the filter for the AuditChainCheckpointHead we want to update
* }
* })
*/
upsert<T extends AuditChainCheckpointHeadUpsertArgs>(args: Prisma.SelectSubset<T, AuditChainCheckpointHeadUpsertArgs<ExtArgs>>): Prisma.Prisma__AuditChainCheckpointHeadClient<runtime.Types.Result.GetResult<Prisma.$AuditChainCheckpointHeadPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Count the number of AuditChainCheckpointHeads.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {AuditChainCheckpointHeadCountArgs} args - Arguments to filter AuditChainCheckpointHeads to count.
* @example
* // Count the number of AuditChainCheckpointHeads
* const count = await prisma.auditChainCheckpointHead.count({
* where: {
* // ... the filter for the AuditChainCheckpointHeads we want to count
* }
* })
**/
count<T extends AuditChainCheckpointHeadCountArgs>(
args?: Prisma.Subset<T, AuditChainCheckpointHeadCountArgs>,
): Prisma.PrismaPromise<
T extends runtime.Types.Utils.Record<'select', any>
? T['select'] extends true
? number
: Prisma.GetScalarType<T['select'], AuditChainCheckpointHeadCountAggregateOutputType>
: number
>
/**
* Allows you to perform aggregations operations on a AuditChainCheckpointHead.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {AuditChainCheckpointHeadAggregateArgs} 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 AuditChainCheckpointHeadAggregateArgs>(args: Prisma.Subset<T, AuditChainCheckpointHeadAggregateArgs>): Prisma.PrismaPromise<GetAuditChainCheckpointHeadAggregateType<T>>
/**
* Group by AuditChainCheckpointHead.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {AuditChainCheckpointHeadGroupByArgs} 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 AuditChainCheckpointHeadGroupByArgs,
HasSelectOrTake extends Prisma.Or<
Prisma.Extends<'skip', Prisma.Keys<T>>,
Prisma.Extends<'take', Prisma.Keys<T>>
>,
OrderByArg extends Prisma.True extends HasSelectOrTake
? { orderBy: AuditChainCheckpointHeadGroupByArgs['orderBy'] }
: { orderBy?: AuditChainCheckpointHeadGroupByArgs['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, AuditChainCheckpointHeadGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAuditChainCheckpointHeadGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* Fields of the AuditChainCheckpointHead model
*/
readonly fields: AuditChainCheckpointHeadFieldRefs;
}
/**
* The delegate class that acts as a "Promise-like" for AuditChainCheckpointHead.
* 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__AuditChainCheckpointHeadClient<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 AuditChainCheckpointHead model
*/
export interface AuditChainCheckpointHeadFieldRefs {
readonly chainKey: Prisma.FieldRef<"AuditChainCheckpointHead", 'String'>
readonly tenantId: Prisma.FieldRef<"AuditChainCheckpointHead", 'String'>
readonly checkpointId: Prisma.FieldRef<"AuditChainCheckpointHead", 'String'>
readonly checkpointMac: Prisma.FieldRef<"AuditChainCheckpointHead", 'String'>
readonly updatedAt: Prisma.FieldRef<"AuditChainCheckpointHead", 'DateTime'>
}
// Custom InputTypes
/**
* AuditChainCheckpointHead findUnique
*/
export type AuditChainCheckpointHeadFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AuditChainCheckpointHead
*/
select?: Prisma.AuditChainCheckpointHeadSelect<ExtArgs> | null
/**
* Omit specific fields from the AuditChainCheckpointHead
*/
omit?: Prisma.AuditChainCheckpointHeadOmit<ExtArgs> | null
/**
* Filter, which AuditChainCheckpointHead to fetch.
*/
where: Prisma.AuditChainCheckpointHeadWhereUniqueInput
}
/**
* AuditChainCheckpointHead findUniqueOrThrow
*/
export type AuditChainCheckpointHeadFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AuditChainCheckpointHead
*/
select?: Prisma.AuditChainCheckpointHeadSelect<ExtArgs> | null
/**
* Omit specific fields from the AuditChainCheckpointHead
*/
omit?: Prisma.AuditChainCheckpointHeadOmit<ExtArgs> | null
/**
* Filter, which AuditChainCheckpointHead to fetch.
*/
where: Prisma.AuditChainCheckpointHeadWhereUniqueInput
}
/**
* AuditChainCheckpointHead findFirst
*/
export type AuditChainCheckpointHeadFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AuditChainCheckpointHead
*/
select?: Prisma.AuditChainCheckpointHeadSelect<ExtArgs> | null
/**
* Omit specific fields from the AuditChainCheckpointHead
*/
omit?: Prisma.AuditChainCheckpointHeadOmit<ExtArgs> | null
/**
* Filter, which AuditChainCheckpointHead to fetch.
*/
where?: Prisma.AuditChainCheckpointHeadWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of AuditChainCheckpointHeads to fetch.
*/
orderBy?: Prisma.AuditChainCheckpointHeadOrderByWithRelationInput | Prisma.AuditChainCheckpointHeadOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for AuditChainCheckpointHeads.
*/
cursor?: Prisma.AuditChainCheckpointHeadWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` AuditChainCheckpointHeads 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` AuditChainCheckpointHeads.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of AuditChainCheckpointHeads.
*/
distinct?: Prisma.AuditChainCheckpointHeadScalarFieldEnum | Prisma.AuditChainCheckpointHeadScalarFieldEnum[]
}
/**
* AuditChainCheckpointHead findFirstOrThrow
*/
export type AuditChainCheckpointHeadFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AuditChainCheckpointHead
*/
select?: Prisma.AuditChainCheckpointHeadSelect<ExtArgs> | null
/**
* Omit specific fields from the AuditChainCheckpointHead
*/
omit?: Prisma.AuditChainCheckpointHeadOmit<ExtArgs> | null
/**
* Filter, which AuditChainCheckpointHead to fetch.
*/
where?: Prisma.AuditChainCheckpointHeadWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of AuditChainCheckpointHeads to fetch.
*/
orderBy?: Prisma.AuditChainCheckpointHeadOrderByWithRelationInput | Prisma.AuditChainCheckpointHeadOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for AuditChainCheckpointHeads.
*/
cursor?: Prisma.AuditChainCheckpointHeadWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` AuditChainCheckpointHeads 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` AuditChainCheckpointHeads.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of AuditChainCheckpointHeads.
*/
distinct?: Prisma.AuditChainCheckpointHeadScalarFieldEnum | Prisma.AuditChainCheckpointHeadScalarFieldEnum[]
}
/**
* AuditChainCheckpointHead findMany
*/
export type AuditChainCheckpointHeadFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AuditChainCheckpointHead
*/
select?: Prisma.AuditChainCheckpointHeadSelect<ExtArgs> | null
/**
* Omit specific fields from the AuditChainCheckpointHead
*/
omit?: Prisma.AuditChainCheckpointHeadOmit<ExtArgs> | null
/**
* Filter, which AuditChainCheckpointHeads to fetch.
*/
where?: Prisma.AuditChainCheckpointHeadWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of AuditChainCheckpointHeads to fetch.
*/
orderBy?: Prisma.AuditChainCheckpointHeadOrderByWithRelationInput | Prisma.AuditChainCheckpointHeadOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for listing AuditChainCheckpointHeads.
*/
cursor?: Prisma.AuditChainCheckpointHeadWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` AuditChainCheckpointHeads 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` AuditChainCheckpointHeads.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of AuditChainCheckpointHeads.
*/
distinct?: Prisma.AuditChainCheckpointHeadScalarFieldEnum | Prisma.AuditChainCheckpointHeadScalarFieldEnum[]
}
/**
* AuditChainCheckpointHead create
*/
export type AuditChainCheckpointHeadCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AuditChainCheckpointHead
*/
select?: Prisma.AuditChainCheckpointHeadSelect<ExtArgs> | null
/**
* Omit specific fields from the AuditChainCheckpointHead
*/
omit?: Prisma.AuditChainCheckpointHeadOmit<ExtArgs> | null
/**
* The data needed to create a AuditChainCheckpointHead.
*/
data: Prisma.XOR<Prisma.AuditChainCheckpointHeadCreateInput, Prisma.AuditChainCheckpointHeadUncheckedCreateInput>
}
/**
* AuditChainCheckpointHead createMany
*/
export type AuditChainCheckpointHeadCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to create many AuditChainCheckpointHeads.
*/
data: Prisma.AuditChainCheckpointHeadCreateManyInput | Prisma.AuditChainCheckpointHeadCreateManyInput[]
skipDuplicates?: boolean
}
/**
* AuditChainCheckpointHead createManyAndReturn
*/
export type AuditChainCheckpointHeadCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AuditChainCheckpointHead
*/
select?: Prisma.AuditChainCheckpointHeadSelectCreateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the AuditChainCheckpointHead
*/
omit?: Prisma.AuditChainCheckpointHeadOmit<ExtArgs> | null
/**
* The data used to create many AuditChainCheckpointHeads.
*/
data: Prisma.AuditChainCheckpointHeadCreateManyInput | Prisma.AuditChainCheckpointHeadCreateManyInput[]
skipDuplicates?: boolean
}
/**
* AuditChainCheckpointHead update
*/
export type AuditChainCheckpointHeadUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AuditChainCheckpointHead
*/
select?: Prisma.AuditChainCheckpointHeadSelect<ExtArgs> | null
/**
* Omit specific fields from the AuditChainCheckpointHead
*/
omit?: Prisma.AuditChainCheckpointHeadOmit<ExtArgs> | null
/**
* The data needed to update a AuditChainCheckpointHead.
*/
data: Prisma.XOR<Prisma.AuditChainCheckpointHeadUpdateInput, Prisma.AuditChainCheckpointHeadUncheckedUpdateInput>
/**
* Choose, which AuditChainCheckpointHead to update.
*/
where: Prisma.AuditChainCheckpointHeadWhereUniqueInput
}
/**
* AuditChainCheckpointHead updateMany
*/
export type AuditChainCheckpointHeadUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to update AuditChainCheckpointHeads.
*/
data: Prisma.XOR<Prisma.AuditChainCheckpointHeadUpdateManyMutationInput, Prisma.AuditChainCheckpointHeadUncheckedUpdateManyInput>
/**
* Filter which AuditChainCheckpointHeads to update
*/
where?: Prisma.AuditChainCheckpointHeadWhereInput
/**
* Limit how many AuditChainCheckpointHeads to update.
*/
limit?: number
}
/**
* AuditChainCheckpointHead updateManyAndReturn
*/
export type AuditChainCheckpointHeadUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AuditChainCheckpointHead
*/
select?: Prisma.AuditChainCheckpointHeadSelectUpdateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the AuditChainCheckpointHead
*/
omit?: Prisma.AuditChainCheckpointHeadOmit<ExtArgs> | null
/**
* The data used to update AuditChainCheckpointHeads.
*/
data: Prisma.XOR<Prisma.AuditChainCheckpointHeadUpdateManyMutationInput, Prisma.AuditChainCheckpointHeadUncheckedUpdateManyInput>
/**
* Filter which AuditChainCheckpointHeads to update
*/
where?: Prisma.AuditChainCheckpointHeadWhereInput
/**
* Limit how many AuditChainCheckpointHeads to update.
*/
limit?: number
}
/**
* AuditChainCheckpointHead upsert
*/
export type AuditChainCheckpointHeadUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AuditChainCheckpointHead
*/
select?: Prisma.AuditChainCheckpointHeadSelect<ExtArgs> | null
/**
* Omit specific fields from the AuditChainCheckpointHead
*/
omit?: Prisma.AuditChainCheckpointHeadOmit<ExtArgs> | null
/**
* The filter to search for the AuditChainCheckpointHead to update in case it exists.
*/
where: Prisma.AuditChainCheckpointHeadWhereUniqueInput
/**
* In case the AuditChainCheckpointHead found by the `where` argument doesn't exist, create a new AuditChainCheckpointHead with this data.
*/
create: Prisma.XOR<Prisma.AuditChainCheckpointHeadCreateInput, Prisma.AuditChainCheckpointHeadUncheckedCreateInput>
/**
* In case the AuditChainCheckpointHead was found with the provided `where` argument, update it with this data.
*/
update: Prisma.XOR<Prisma.AuditChainCheckpointHeadUpdateInput, Prisma.AuditChainCheckpointHeadUncheckedUpdateInput>
}
/**
* AuditChainCheckpointHead delete
*/
export type AuditChainCheckpointHeadDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AuditChainCheckpointHead
*/
select?: Prisma.AuditChainCheckpointHeadSelect<ExtArgs> | null
/**
* Omit specific fields from the AuditChainCheckpointHead
*/
omit?: Prisma.AuditChainCheckpointHeadOmit<ExtArgs> | null
/**
* Filter which AuditChainCheckpointHead to delete.
*/
where: Prisma.AuditChainCheckpointHeadWhereUniqueInput
}
/**
* AuditChainCheckpointHead deleteMany
*/
export type AuditChainCheckpointHeadDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which AuditChainCheckpointHeads to delete
*/
where?: Prisma.AuditChainCheckpointHeadWhereInput
/**
* Limit how many AuditChainCheckpointHeads to delete.
*/
limit?: number
}
/**
* AuditChainCheckpointHead without action
*/
export type AuditChainCheckpointHeadDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AuditChainCheckpointHead
*/
select?: Prisma.AuditChainCheckpointHeadSelect<ExtArgs> | null
/**
* Omit specific fields from the AuditChainCheckpointHead
*/
omit?: Prisma.AuditChainCheckpointHeadOmit<ExtArgs> | null
}