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

1334 lines
52 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 `AuditChainCheckpoint` 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 AuditChainCheckpoint
*
*/
export type AuditChainCheckpointModel = runtime.Types.Result.DefaultSelection<Prisma.$AuditChainCheckpointPayload>
export type AggregateAuditChainCheckpoint = {
_count: AuditChainCheckpointCountAggregateOutputType | null
_avg: AuditChainCheckpointAvgAggregateOutputType | null
_sum: AuditChainCheckpointSumAggregateOutputType | null
_min: AuditChainCheckpointMinAggregateOutputType | null
_max: AuditChainCheckpointMaxAggregateOutputType | null
}
export type AuditChainCheckpointAvgAggregateOutputType = {
deletedCount: number | null
}
export type AuditChainCheckpointSumAggregateOutputType = {
deletedCount: number | null
}
export type AuditChainCheckpointMinAggregateOutputType = {
id: string | null
createdAt: Date | null
chainKey: string | null
tenantId: string | null
deletedThroughAt: Date | null
lastDeletedEventId: string | null
lastDeletedEventHash: string | null
deletedCount: number | null
previousCheckpointMac: string | null
checkpointMac: string | null
}
export type AuditChainCheckpointMaxAggregateOutputType = {
id: string | null
createdAt: Date | null
chainKey: string | null
tenantId: string | null
deletedThroughAt: Date | null
lastDeletedEventId: string | null
lastDeletedEventHash: string | null
deletedCount: number | null
previousCheckpointMac: string | null
checkpointMac: string | null
}
export type AuditChainCheckpointCountAggregateOutputType = {
id: number
createdAt: number
chainKey: number
tenantId: number
deletedThroughAt: number
lastDeletedEventId: number
lastDeletedEventHash: number
deletedCount: number
previousCheckpointMac: number
checkpointMac: number
_all: number
}
export type AuditChainCheckpointAvgAggregateInputType = {
deletedCount?: true
}
export type AuditChainCheckpointSumAggregateInputType = {
deletedCount?: true
}
export type AuditChainCheckpointMinAggregateInputType = {
id?: true
createdAt?: true
chainKey?: true
tenantId?: true
deletedThroughAt?: true
lastDeletedEventId?: true
lastDeletedEventHash?: true
deletedCount?: true
previousCheckpointMac?: true
checkpointMac?: true
}
export type AuditChainCheckpointMaxAggregateInputType = {
id?: true
createdAt?: true
chainKey?: true
tenantId?: true
deletedThroughAt?: true
lastDeletedEventId?: true
lastDeletedEventHash?: true
deletedCount?: true
previousCheckpointMac?: true
checkpointMac?: true
}
export type AuditChainCheckpointCountAggregateInputType = {
id?: true
createdAt?: true
chainKey?: true
tenantId?: true
deletedThroughAt?: true
lastDeletedEventId?: true
lastDeletedEventHash?: true
deletedCount?: true
previousCheckpointMac?: true
checkpointMac?: true
_all?: true
}
export type AuditChainCheckpointAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which AuditChainCheckpoint to aggregate.
*/
where?: Prisma.AuditChainCheckpointWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of AuditChainCheckpoints to fetch.
*/
orderBy?: Prisma.AuditChainCheckpointOrderByWithRelationInput | Prisma.AuditChainCheckpointOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the start position
*/
cursor?: Prisma.AuditChainCheckpointWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` AuditChainCheckpoints 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` AuditChainCheckpoints.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Count returned AuditChainCheckpoints
**/
_count?: true | AuditChainCheckpointCountAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to average
**/
_avg?: AuditChainCheckpointAvgAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to sum
**/
_sum?: AuditChainCheckpointSumAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the minimum value
**/
_min?: AuditChainCheckpointMinAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the maximum value
**/
_max?: AuditChainCheckpointMaxAggregateInputType
}
export type GetAuditChainCheckpointAggregateType<T extends AuditChainCheckpointAggregateArgs> = {
[P in keyof T & keyof AggregateAuditChainCheckpoint]: P extends '_count' | 'count'
? T[P] extends true
? number
: Prisma.GetScalarType<T[P], AggregateAuditChainCheckpoint[P]>
: Prisma.GetScalarType<T[P], AggregateAuditChainCheckpoint[P]>
}
export type AuditChainCheckpointGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.AuditChainCheckpointWhereInput
orderBy?: Prisma.AuditChainCheckpointOrderByWithAggregationInput | Prisma.AuditChainCheckpointOrderByWithAggregationInput[]
by: Prisma.AuditChainCheckpointScalarFieldEnum[] | Prisma.AuditChainCheckpointScalarFieldEnum
having?: Prisma.AuditChainCheckpointScalarWhereWithAggregatesInput
take?: number
skip?: number
_count?: AuditChainCheckpointCountAggregateInputType | true
_avg?: AuditChainCheckpointAvgAggregateInputType
_sum?: AuditChainCheckpointSumAggregateInputType
_min?: AuditChainCheckpointMinAggregateInputType
_max?: AuditChainCheckpointMaxAggregateInputType
}
export type AuditChainCheckpointGroupByOutputType = {
id: string
createdAt: Date
chainKey: string
tenantId: string | null
deletedThroughAt: Date
lastDeletedEventId: string
lastDeletedEventHash: string | null
deletedCount: number
previousCheckpointMac: string | null
checkpointMac: string
_count: AuditChainCheckpointCountAggregateOutputType | null
_avg: AuditChainCheckpointAvgAggregateOutputType | null
_sum: AuditChainCheckpointSumAggregateOutputType | null
_min: AuditChainCheckpointMinAggregateOutputType | null
_max: AuditChainCheckpointMaxAggregateOutputType | null
}
export type GetAuditChainCheckpointGroupByPayload<T extends AuditChainCheckpointGroupByArgs> = Prisma.PrismaPromise<
Array<
Prisma.PickEnumerable<AuditChainCheckpointGroupByOutputType, T['by']> &
{
[P in ((keyof T) & (keyof AuditChainCheckpointGroupByOutputType))]: P extends '_count'
? T[P] extends boolean
? number
: Prisma.GetScalarType<T[P], AuditChainCheckpointGroupByOutputType[P]>
: Prisma.GetScalarType<T[P], AuditChainCheckpointGroupByOutputType[P]>
}
>
>
export type AuditChainCheckpointWhereInput = {
AND?: Prisma.AuditChainCheckpointWhereInput | Prisma.AuditChainCheckpointWhereInput[]
OR?: Prisma.AuditChainCheckpointWhereInput[]
NOT?: Prisma.AuditChainCheckpointWhereInput | Prisma.AuditChainCheckpointWhereInput[]
id?: Prisma.StringFilter<"AuditChainCheckpoint"> | string
createdAt?: Prisma.DateTimeFilter<"AuditChainCheckpoint"> | Date | string
chainKey?: Prisma.StringFilter<"AuditChainCheckpoint"> | string
tenantId?: Prisma.StringNullableFilter<"AuditChainCheckpoint"> | string | null
deletedThroughAt?: Prisma.DateTimeFilter<"AuditChainCheckpoint"> | Date | string
lastDeletedEventId?: Prisma.StringFilter<"AuditChainCheckpoint"> | string
lastDeletedEventHash?: Prisma.StringNullableFilter<"AuditChainCheckpoint"> | string | null
deletedCount?: Prisma.IntFilter<"AuditChainCheckpoint"> | number
previousCheckpointMac?: Prisma.StringNullableFilter<"AuditChainCheckpoint"> | string | null
checkpointMac?: Prisma.StringFilter<"AuditChainCheckpoint"> | string
}
export type AuditChainCheckpointOrderByWithRelationInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
chainKey?: Prisma.SortOrder
tenantId?: Prisma.SortOrderInput | Prisma.SortOrder
deletedThroughAt?: Prisma.SortOrder
lastDeletedEventId?: Prisma.SortOrder
lastDeletedEventHash?: Prisma.SortOrderInput | Prisma.SortOrder
deletedCount?: Prisma.SortOrder
previousCheckpointMac?: Prisma.SortOrderInput | Prisma.SortOrder
checkpointMac?: Prisma.SortOrder
}
export type AuditChainCheckpointWhereUniqueInput = Prisma.AtLeast<{
id?: string
checkpointMac?: string
AND?: Prisma.AuditChainCheckpointWhereInput | Prisma.AuditChainCheckpointWhereInput[]
OR?: Prisma.AuditChainCheckpointWhereInput[]
NOT?: Prisma.AuditChainCheckpointWhereInput | Prisma.AuditChainCheckpointWhereInput[]
createdAt?: Prisma.DateTimeFilter<"AuditChainCheckpoint"> | Date | string
chainKey?: Prisma.StringFilter<"AuditChainCheckpoint"> | string
tenantId?: Prisma.StringNullableFilter<"AuditChainCheckpoint"> | string | null
deletedThroughAt?: Prisma.DateTimeFilter<"AuditChainCheckpoint"> | Date | string
lastDeletedEventId?: Prisma.StringFilter<"AuditChainCheckpoint"> | string
lastDeletedEventHash?: Prisma.StringNullableFilter<"AuditChainCheckpoint"> | string | null
deletedCount?: Prisma.IntFilter<"AuditChainCheckpoint"> | number
previousCheckpointMac?: Prisma.StringNullableFilter<"AuditChainCheckpoint"> | string | null
}, "id" | "checkpointMac">
export type AuditChainCheckpointOrderByWithAggregationInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
chainKey?: Prisma.SortOrder
tenantId?: Prisma.SortOrderInput | Prisma.SortOrder
deletedThroughAt?: Prisma.SortOrder
lastDeletedEventId?: Prisma.SortOrder
lastDeletedEventHash?: Prisma.SortOrderInput | Prisma.SortOrder
deletedCount?: Prisma.SortOrder
previousCheckpointMac?: Prisma.SortOrderInput | Prisma.SortOrder
checkpointMac?: Prisma.SortOrder
_count?: Prisma.AuditChainCheckpointCountOrderByAggregateInput
_avg?: Prisma.AuditChainCheckpointAvgOrderByAggregateInput
_max?: Prisma.AuditChainCheckpointMaxOrderByAggregateInput
_min?: Prisma.AuditChainCheckpointMinOrderByAggregateInput
_sum?: Prisma.AuditChainCheckpointSumOrderByAggregateInput
}
export type AuditChainCheckpointScalarWhereWithAggregatesInput = {
AND?: Prisma.AuditChainCheckpointScalarWhereWithAggregatesInput | Prisma.AuditChainCheckpointScalarWhereWithAggregatesInput[]
OR?: Prisma.AuditChainCheckpointScalarWhereWithAggregatesInput[]
NOT?: Prisma.AuditChainCheckpointScalarWhereWithAggregatesInput | Prisma.AuditChainCheckpointScalarWhereWithAggregatesInput[]
id?: Prisma.StringWithAggregatesFilter<"AuditChainCheckpoint"> | string
createdAt?: Prisma.DateTimeWithAggregatesFilter<"AuditChainCheckpoint"> | Date | string
chainKey?: Prisma.StringWithAggregatesFilter<"AuditChainCheckpoint"> | string
tenantId?: Prisma.StringNullableWithAggregatesFilter<"AuditChainCheckpoint"> | string | null
deletedThroughAt?: Prisma.DateTimeWithAggregatesFilter<"AuditChainCheckpoint"> | Date | string
lastDeletedEventId?: Prisma.StringWithAggregatesFilter<"AuditChainCheckpoint"> | string
lastDeletedEventHash?: Prisma.StringNullableWithAggregatesFilter<"AuditChainCheckpoint"> | string | null
deletedCount?: Prisma.IntWithAggregatesFilter<"AuditChainCheckpoint"> | number
previousCheckpointMac?: Prisma.StringNullableWithAggregatesFilter<"AuditChainCheckpoint"> | string | null
checkpointMac?: Prisma.StringWithAggregatesFilter<"AuditChainCheckpoint"> | string
}
export type AuditChainCheckpointCreateInput = {
id: string
createdAt: Date | string
chainKey: string
tenantId?: string | null
deletedThroughAt: Date | string
lastDeletedEventId: string
lastDeletedEventHash?: string | null
deletedCount: number
previousCheckpointMac?: string | null
checkpointMac: string
}
export type AuditChainCheckpointUncheckedCreateInput = {
id: string
createdAt: Date | string
chainKey: string
tenantId?: string | null
deletedThroughAt: Date | string
lastDeletedEventId: string
lastDeletedEventHash?: string | null
deletedCount: number
previousCheckpointMac?: string | null
checkpointMac: string
}
export type AuditChainCheckpointUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
chainKey?: Prisma.StringFieldUpdateOperationsInput | string
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
deletedThroughAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
lastDeletedEventId?: Prisma.StringFieldUpdateOperationsInput | string
lastDeletedEventHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
deletedCount?: Prisma.IntFieldUpdateOperationsInput | number
previousCheckpointMac?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
checkpointMac?: Prisma.StringFieldUpdateOperationsInput | string
}
export type AuditChainCheckpointUncheckedUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
chainKey?: Prisma.StringFieldUpdateOperationsInput | string
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
deletedThroughAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
lastDeletedEventId?: Prisma.StringFieldUpdateOperationsInput | string
lastDeletedEventHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
deletedCount?: Prisma.IntFieldUpdateOperationsInput | number
previousCheckpointMac?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
checkpointMac?: Prisma.StringFieldUpdateOperationsInput | string
}
export type AuditChainCheckpointCreateManyInput = {
id: string
createdAt: Date | string
chainKey: string
tenantId?: string | null
deletedThroughAt: Date | string
lastDeletedEventId: string
lastDeletedEventHash?: string | null
deletedCount: number
previousCheckpointMac?: string | null
checkpointMac: string
}
export type AuditChainCheckpointUpdateManyMutationInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
chainKey?: Prisma.StringFieldUpdateOperationsInput | string
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
deletedThroughAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
lastDeletedEventId?: Prisma.StringFieldUpdateOperationsInput | string
lastDeletedEventHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
deletedCount?: Prisma.IntFieldUpdateOperationsInput | number
previousCheckpointMac?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
checkpointMac?: Prisma.StringFieldUpdateOperationsInput | string
}
export type AuditChainCheckpointUncheckedUpdateManyInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
chainKey?: Prisma.StringFieldUpdateOperationsInput | string
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
deletedThroughAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
lastDeletedEventId?: Prisma.StringFieldUpdateOperationsInput | string
lastDeletedEventHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
deletedCount?: Prisma.IntFieldUpdateOperationsInput | number
previousCheckpointMac?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
checkpointMac?: Prisma.StringFieldUpdateOperationsInput | string
}
export type AuditChainCheckpointCountOrderByAggregateInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
chainKey?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
deletedThroughAt?: Prisma.SortOrder
lastDeletedEventId?: Prisma.SortOrder
lastDeletedEventHash?: Prisma.SortOrder
deletedCount?: Prisma.SortOrder
previousCheckpointMac?: Prisma.SortOrder
checkpointMac?: Prisma.SortOrder
}
export type AuditChainCheckpointAvgOrderByAggregateInput = {
deletedCount?: Prisma.SortOrder
}
export type AuditChainCheckpointMaxOrderByAggregateInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
chainKey?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
deletedThroughAt?: Prisma.SortOrder
lastDeletedEventId?: Prisma.SortOrder
lastDeletedEventHash?: Prisma.SortOrder
deletedCount?: Prisma.SortOrder
previousCheckpointMac?: Prisma.SortOrder
checkpointMac?: Prisma.SortOrder
}
export type AuditChainCheckpointMinOrderByAggregateInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
chainKey?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
deletedThroughAt?: Prisma.SortOrder
lastDeletedEventId?: Prisma.SortOrder
lastDeletedEventHash?: Prisma.SortOrder
deletedCount?: Prisma.SortOrder
previousCheckpointMac?: Prisma.SortOrder
checkpointMac?: Prisma.SortOrder
}
export type AuditChainCheckpointSumOrderByAggregateInput = {
deletedCount?: Prisma.SortOrder
}
export type AuditChainCheckpointSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
createdAt?: boolean
chainKey?: boolean
tenantId?: boolean
deletedThroughAt?: boolean
lastDeletedEventId?: boolean
lastDeletedEventHash?: boolean
deletedCount?: boolean
previousCheckpointMac?: boolean
checkpointMac?: boolean
}, ExtArgs["result"]["auditChainCheckpoint"]>
export type AuditChainCheckpointSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
createdAt?: boolean
chainKey?: boolean
tenantId?: boolean
deletedThroughAt?: boolean
lastDeletedEventId?: boolean
lastDeletedEventHash?: boolean
deletedCount?: boolean
previousCheckpointMac?: boolean
checkpointMac?: boolean
}, ExtArgs["result"]["auditChainCheckpoint"]>
export type AuditChainCheckpointSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
createdAt?: boolean
chainKey?: boolean
tenantId?: boolean
deletedThroughAt?: boolean
lastDeletedEventId?: boolean
lastDeletedEventHash?: boolean
deletedCount?: boolean
previousCheckpointMac?: boolean
checkpointMac?: boolean
}, ExtArgs["result"]["auditChainCheckpoint"]>
export type AuditChainCheckpointSelectScalar = {
id?: boolean
createdAt?: boolean
chainKey?: boolean
tenantId?: boolean
deletedThroughAt?: boolean
lastDeletedEventId?: boolean
lastDeletedEventHash?: boolean
deletedCount?: boolean
previousCheckpointMac?: boolean
checkpointMac?: boolean
}
export type AuditChainCheckpointOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "chainKey" | "tenantId" | "deletedThroughAt" | "lastDeletedEventId" | "lastDeletedEventHash" | "deletedCount" | "previousCheckpointMac" | "checkpointMac", ExtArgs["result"]["auditChainCheckpoint"]>
export type $AuditChainCheckpointPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
name: "AuditChainCheckpoint"
objects: {}
scalars: runtime.Types.Extensions.GetPayloadResult<{
id: string
createdAt: Date
chainKey: string
tenantId: string | null
deletedThroughAt: Date
lastDeletedEventId: string
lastDeletedEventHash: string | null
deletedCount: number
previousCheckpointMac: string | null
checkpointMac: string
}, ExtArgs["result"]["auditChainCheckpoint"]>
composites: {}
}
export type AuditChainCheckpointGetPayload<S extends boolean | null | undefined | AuditChainCheckpointDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$AuditChainCheckpointPayload, S>
export type AuditChainCheckpointCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
Omit<AuditChainCheckpointFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
select?: AuditChainCheckpointCountAggregateInputType | true
}
export interface AuditChainCheckpointDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['AuditChainCheckpoint'], meta: { name: 'AuditChainCheckpoint' } }
/**
* Find zero or one AuditChainCheckpoint that matches the filter.
* @param {AuditChainCheckpointFindUniqueArgs} args - Arguments to find a AuditChainCheckpoint
* @example
* // Get one AuditChainCheckpoint
* const auditChainCheckpoint = await prisma.auditChainCheckpoint.findUnique({
* where: {
* // ... provide filter here
* }
* })
*/
findUnique<T extends AuditChainCheckpointFindUniqueArgs>(args: Prisma.SelectSubset<T, AuditChainCheckpointFindUniqueArgs<ExtArgs>>): Prisma.Prisma__AuditChainCheckpointClient<runtime.Types.Result.GetResult<Prisma.$AuditChainCheckpointPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find one AuditChainCheckpoint that matches the filter or throw an error with `error.code='P2025'`
* if no matches were found.
* @param {AuditChainCheckpointFindUniqueOrThrowArgs} args - Arguments to find a AuditChainCheckpoint
* @example
* // Get one AuditChainCheckpoint
* const auditChainCheckpoint = await prisma.auditChainCheckpoint.findUniqueOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findUniqueOrThrow<T extends AuditChainCheckpointFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, AuditChainCheckpointFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__AuditChainCheckpointClient<runtime.Types.Result.GetResult<Prisma.$AuditChainCheckpointPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find the first AuditChainCheckpoint 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 {AuditChainCheckpointFindFirstArgs} args - Arguments to find a AuditChainCheckpoint
* @example
* // Get one AuditChainCheckpoint
* const auditChainCheckpoint = await prisma.auditChainCheckpoint.findFirst({
* where: {
* // ... provide filter here
* }
* })
*/
findFirst<T extends AuditChainCheckpointFindFirstArgs>(args?: Prisma.SelectSubset<T, AuditChainCheckpointFindFirstArgs<ExtArgs>>): Prisma.Prisma__AuditChainCheckpointClient<runtime.Types.Result.GetResult<Prisma.$AuditChainCheckpointPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find the first AuditChainCheckpoint 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 {AuditChainCheckpointFindFirstOrThrowArgs} args - Arguments to find a AuditChainCheckpoint
* @example
* // Get one AuditChainCheckpoint
* const auditChainCheckpoint = await prisma.auditChainCheckpoint.findFirstOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findFirstOrThrow<T extends AuditChainCheckpointFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, AuditChainCheckpointFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__AuditChainCheckpointClient<runtime.Types.Result.GetResult<Prisma.$AuditChainCheckpointPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find zero or more AuditChainCheckpoints 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 {AuditChainCheckpointFindManyArgs} args - Arguments to filter and select certain fields only.
* @example
* // Get all AuditChainCheckpoints
* const auditChainCheckpoints = await prisma.auditChainCheckpoint.findMany()
*
* // Get first 10 AuditChainCheckpoints
* const auditChainCheckpoints = await prisma.auditChainCheckpoint.findMany({ take: 10 })
*
* // Only select the `id`
* const auditChainCheckpointWithIdOnly = await prisma.auditChainCheckpoint.findMany({ select: { id: true } })
*
*/
findMany<T extends AuditChainCheckpointFindManyArgs>(args?: Prisma.SelectSubset<T, AuditChainCheckpointFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AuditChainCheckpointPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
/**
* Create a AuditChainCheckpoint.
* @param {AuditChainCheckpointCreateArgs} args - Arguments to create a AuditChainCheckpoint.
* @example
* // Create one AuditChainCheckpoint
* const AuditChainCheckpoint = await prisma.auditChainCheckpoint.create({
* data: {
* // ... data to create a AuditChainCheckpoint
* }
* })
*
*/
create<T extends AuditChainCheckpointCreateArgs>(args: Prisma.SelectSubset<T, AuditChainCheckpointCreateArgs<ExtArgs>>): Prisma.Prisma__AuditChainCheckpointClient<runtime.Types.Result.GetResult<Prisma.$AuditChainCheckpointPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Create many AuditChainCheckpoints.
* @param {AuditChainCheckpointCreateManyArgs} args - Arguments to create many AuditChainCheckpoints.
* @example
* // Create many AuditChainCheckpoints
* const auditChainCheckpoint = await prisma.auditChainCheckpoint.createMany({
* data: [
* // ... provide data here
* ]
* })
*
*/
createMany<T extends AuditChainCheckpointCreateManyArgs>(args?: Prisma.SelectSubset<T, AuditChainCheckpointCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Create many AuditChainCheckpoints and returns the data saved in the database.
* @param {AuditChainCheckpointCreateManyAndReturnArgs} args - Arguments to create many AuditChainCheckpoints.
* @example
* // Create many AuditChainCheckpoints
* const auditChainCheckpoint = await prisma.auditChainCheckpoint.createManyAndReturn({
* data: [
* // ... provide data here
* ]
* })
*
* // Create many AuditChainCheckpoints and only return the `id`
* const auditChainCheckpointWithIdOnly = await prisma.auditChainCheckpoint.createManyAndReturn({
* select: { id: true },
* data: [
* // ... provide data here
* ]
* })
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
*
*/
createManyAndReturn<T extends AuditChainCheckpointCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, AuditChainCheckpointCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AuditChainCheckpointPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
/**
* Delete a AuditChainCheckpoint.
* @param {AuditChainCheckpointDeleteArgs} args - Arguments to delete one AuditChainCheckpoint.
* @example
* // Delete one AuditChainCheckpoint
* const AuditChainCheckpoint = await prisma.auditChainCheckpoint.delete({
* where: {
* // ... filter to delete one AuditChainCheckpoint
* }
* })
*
*/
delete<T extends AuditChainCheckpointDeleteArgs>(args: Prisma.SelectSubset<T, AuditChainCheckpointDeleteArgs<ExtArgs>>): Prisma.Prisma__AuditChainCheckpointClient<runtime.Types.Result.GetResult<Prisma.$AuditChainCheckpointPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Update one AuditChainCheckpoint.
* @param {AuditChainCheckpointUpdateArgs} args - Arguments to update one AuditChainCheckpoint.
* @example
* // Update one AuditChainCheckpoint
* const auditChainCheckpoint = await prisma.auditChainCheckpoint.update({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
update<T extends AuditChainCheckpointUpdateArgs>(args: Prisma.SelectSubset<T, AuditChainCheckpointUpdateArgs<ExtArgs>>): Prisma.Prisma__AuditChainCheckpointClient<runtime.Types.Result.GetResult<Prisma.$AuditChainCheckpointPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Delete zero or more AuditChainCheckpoints.
* @param {AuditChainCheckpointDeleteManyArgs} args - Arguments to filter AuditChainCheckpoints to delete.
* @example
* // Delete a few AuditChainCheckpoints
* const { count } = await prisma.auditChainCheckpoint.deleteMany({
* where: {
* // ... provide filter here
* }
* })
*
*/
deleteMany<T extends AuditChainCheckpointDeleteManyArgs>(args?: Prisma.SelectSubset<T, AuditChainCheckpointDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more AuditChainCheckpoints.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {AuditChainCheckpointUpdateManyArgs} args - Arguments to update one or more rows.
* @example
* // Update many AuditChainCheckpoints
* const auditChainCheckpoint = await prisma.auditChainCheckpoint.updateMany({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
updateMany<T extends AuditChainCheckpointUpdateManyArgs>(args: Prisma.SelectSubset<T, AuditChainCheckpointUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more AuditChainCheckpoints and returns the data updated in the database.
* @param {AuditChainCheckpointUpdateManyAndReturnArgs} args - Arguments to update many AuditChainCheckpoints.
* @example
* // Update many AuditChainCheckpoints
* const auditChainCheckpoint = await prisma.auditChainCheckpoint.updateManyAndReturn({
* where: {
* // ... provide filter here
* },
* data: [
* // ... provide data here
* ]
* })
*
* // Update zero or more AuditChainCheckpoints and only return the `id`
* const auditChainCheckpointWithIdOnly = await prisma.auditChainCheckpoint.updateManyAndReturn({
* select: { id: true },
* where: {
* // ... provide filter here
* },
* data: [
* // ... provide data here
* ]
* })
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
*
*/
updateManyAndReturn<T extends AuditChainCheckpointUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, AuditChainCheckpointUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AuditChainCheckpointPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
/**
* Create or update one AuditChainCheckpoint.
* @param {AuditChainCheckpointUpsertArgs} args - Arguments to update or create a AuditChainCheckpoint.
* @example
* // Update or create a AuditChainCheckpoint
* const auditChainCheckpoint = await prisma.auditChainCheckpoint.upsert({
* create: {
* // ... data to create a AuditChainCheckpoint
* },
* update: {
* // ... in case it already exists, update
* },
* where: {
* // ... the filter for the AuditChainCheckpoint we want to update
* }
* })
*/
upsert<T extends AuditChainCheckpointUpsertArgs>(args: Prisma.SelectSubset<T, AuditChainCheckpointUpsertArgs<ExtArgs>>): Prisma.Prisma__AuditChainCheckpointClient<runtime.Types.Result.GetResult<Prisma.$AuditChainCheckpointPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Count the number of AuditChainCheckpoints.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {AuditChainCheckpointCountArgs} args - Arguments to filter AuditChainCheckpoints to count.
* @example
* // Count the number of AuditChainCheckpoints
* const count = await prisma.auditChainCheckpoint.count({
* where: {
* // ... the filter for the AuditChainCheckpoints we want to count
* }
* })
**/
count<T extends AuditChainCheckpointCountArgs>(
args?: Prisma.Subset<T, AuditChainCheckpointCountArgs>,
): Prisma.PrismaPromise<
T extends runtime.Types.Utils.Record<'select', any>
? T['select'] extends true
? number
: Prisma.GetScalarType<T['select'], AuditChainCheckpointCountAggregateOutputType>
: number
>
/**
* Allows you to perform aggregations operations on a AuditChainCheckpoint.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {AuditChainCheckpointAggregateArgs} 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 AuditChainCheckpointAggregateArgs>(args: Prisma.Subset<T, AuditChainCheckpointAggregateArgs>): Prisma.PrismaPromise<GetAuditChainCheckpointAggregateType<T>>
/**
* Group by AuditChainCheckpoint.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {AuditChainCheckpointGroupByArgs} 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 AuditChainCheckpointGroupByArgs,
HasSelectOrTake extends Prisma.Or<
Prisma.Extends<'skip', Prisma.Keys<T>>,
Prisma.Extends<'take', Prisma.Keys<T>>
>,
OrderByArg extends Prisma.True extends HasSelectOrTake
? { orderBy: AuditChainCheckpointGroupByArgs['orderBy'] }
: { orderBy?: AuditChainCheckpointGroupByArgs['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, AuditChainCheckpointGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAuditChainCheckpointGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* Fields of the AuditChainCheckpoint model
*/
readonly fields: AuditChainCheckpointFieldRefs;
}
/**
* The delegate class that acts as a "Promise-like" for AuditChainCheckpoint.
* 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__AuditChainCheckpointClient<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 AuditChainCheckpoint model
*/
export interface AuditChainCheckpointFieldRefs {
readonly id: Prisma.FieldRef<"AuditChainCheckpoint", 'String'>
readonly createdAt: Prisma.FieldRef<"AuditChainCheckpoint", 'DateTime'>
readonly chainKey: Prisma.FieldRef<"AuditChainCheckpoint", 'String'>
readonly tenantId: Prisma.FieldRef<"AuditChainCheckpoint", 'String'>
readonly deletedThroughAt: Prisma.FieldRef<"AuditChainCheckpoint", 'DateTime'>
readonly lastDeletedEventId: Prisma.FieldRef<"AuditChainCheckpoint", 'String'>
readonly lastDeletedEventHash: Prisma.FieldRef<"AuditChainCheckpoint", 'String'>
readonly deletedCount: Prisma.FieldRef<"AuditChainCheckpoint", 'Int'>
readonly previousCheckpointMac: Prisma.FieldRef<"AuditChainCheckpoint", 'String'>
readonly checkpointMac: Prisma.FieldRef<"AuditChainCheckpoint", 'String'>
}
// Custom InputTypes
/**
* AuditChainCheckpoint findUnique
*/
export type AuditChainCheckpointFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AuditChainCheckpoint
*/
select?: Prisma.AuditChainCheckpointSelect<ExtArgs> | null
/**
* Omit specific fields from the AuditChainCheckpoint
*/
omit?: Prisma.AuditChainCheckpointOmit<ExtArgs> | null
/**
* Filter, which AuditChainCheckpoint to fetch.
*/
where: Prisma.AuditChainCheckpointWhereUniqueInput
}
/**
* AuditChainCheckpoint findUniqueOrThrow
*/
export type AuditChainCheckpointFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AuditChainCheckpoint
*/
select?: Prisma.AuditChainCheckpointSelect<ExtArgs> | null
/**
* Omit specific fields from the AuditChainCheckpoint
*/
omit?: Prisma.AuditChainCheckpointOmit<ExtArgs> | null
/**
* Filter, which AuditChainCheckpoint to fetch.
*/
where: Prisma.AuditChainCheckpointWhereUniqueInput
}
/**
* AuditChainCheckpoint findFirst
*/
export type AuditChainCheckpointFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AuditChainCheckpoint
*/
select?: Prisma.AuditChainCheckpointSelect<ExtArgs> | null
/**
* Omit specific fields from the AuditChainCheckpoint
*/
omit?: Prisma.AuditChainCheckpointOmit<ExtArgs> | null
/**
* Filter, which AuditChainCheckpoint to fetch.
*/
where?: Prisma.AuditChainCheckpointWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of AuditChainCheckpoints to fetch.
*/
orderBy?: Prisma.AuditChainCheckpointOrderByWithRelationInput | Prisma.AuditChainCheckpointOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for AuditChainCheckpoints.
*/
cursor?: Prisma.AuditChainCheckpointWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` AuditChainCheckpoints 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` AuditChainCheckpoints.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of AuditChainCheckpoints.
*/
distinct?: Prisma.AuditChainCheckpointScalarFieldEnum | Prisma.AuditChainCheckpointScalarFieldEnum[]
}
/**
* AuditChainCheckpoint findFirstOrThrow
*/
export type AuditChainCheckpointFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AuditChainCheckpoint
*/
select?: Prisma.AuditChainCheckpointSelect<ExtArgs> | null
/**
* Omit specific fields from the AuditChainCheckpoint
*/
omit?: Prisma.AuditChainCheckpointOmit<ExtArgs> | null
/**
* Filter, which AuditChainCheckpoint to fetch.
*/
where?: Prisma.AuditChainCheckpointWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of AuditChainCheckpoints to fetch.
*/
orderBy?: Prisma.AuditChainCheckpointOrderByWithRelationInput | Prisma.AuditChainCheckpointOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for AuditChainCheckpoints.
*/
cursor?: Prisma.AuditChainCheckpointWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` AuditChainCheckpoints 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` AuditChainCheckpoints.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of AuditChainCheckpoints.
*/
distinct?: Prisma.AuditChainCheckpointScalarFieldEnum | Prisma.AuditChainCheckpointScalarFieldEnum[]
}
/**
* AuditChainCheckpoint findMany
*/
export type AuditChainCheckpointFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AuditChainCheckpoint
*/
select?: Prisma.AuditChainCheckpointSelect<ExtArgs> | null
/**
* Omit specific fields from the AuditChainCheckpoint
*/
omit?: Prisma.AuditChainCheckpointOmit<ExtArgs> | null
/**
* Filter, which AuditChainCheckpoints to fetch.
*/
where?: Prisma.AuditChainCheckpointWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of AuditChainCheckpoints to fetch.
*/
orderBy?: Prisma.AuditChainCheckpointOrderByWithRelationInput | Prisma.AuditChainCheckpointOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for listing AuditChainCheckpoints.
*/
cursor?: Prisma.AuditChainCheckpointWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` AuditChainCheckpoints 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` AuditChainCheckpoints.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of AuditChainCheckpoints.
*/
distinct?: Prisma.AuditChainCheckpointScalarFieldEnum | Prisma.AuditChainCheckpointScalarFieldEnum[]
}
/**
* AuditChainCheckpoint create
*/
export type AuditChainCheckpointCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AuditChainCheckpoint
*/
select?: Prisma.AuditChainCheckpointSelect<ExtArgs> | null
/**
* Omit specific fields from the AuditChainCheckpoint
*/
omit?: Prisma.AuditChainCheckpointOmit<ExtArgs> | null
/**
* The data needed to create a AuditChainCheckpoint.
*/
data: Prisma.XOR<Prisma.AuditChainCheckpointCreateInput, Prisma.AuditChainCheckpointUncheckedCreateInput>
}
/**
* AuditChainCheckpoint createMany
*/
export type AuditChainCheckpointCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to create many AuditChainCheckpoints.
*/
data: Prisma.AuditChainCheckpointCreateManyInput | Prisma.AuditChainCheckpointCreateManyInput[]
skipDuplicates?: boolean
}
/**
* AuditChainCheckpoint createManyAndReturn
*/
export type AuditChainCheckpointCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AuditChainCheckpoint
*/
select?: Prisma.AuditChainCheckpointSelectCreateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the AuditChainCheckpoint
*/
omit?: Prisma.AuditChainCheckpointOmit<ExtArgs> | null
/**
* The data used to create many AuditChainCheckpoints.
*/
data: Prisma.AuditChainCheckpointCreateManyInput | Prisma.AuditChainCheckpointCreateManyInput[]
skipDuplicates?: boolean
}
/**
* AuditChainCheckpoint update
*/
export type AuditChainCheckpointUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AuditChainCheckpoint
*/
select?: Prisma.AuditChainCheckpointSelect<ExtArgs> | null
/**
* Omit specific fields from the AuditChainCheckpoint
*/
omit?: Prisma.AuditChainCheckpointOmit<ExtArgs> | null
/**
* The data needed to update a AuditChainCheckpoint.
*/
data: Prisma.XOR<Prisma.AuditChainCheckpointUpdateInput, Prisma.AuditChainCheckpointUncheckedUpdateInput>
/**
* Choose, which AuditChainCheckpoint to update.
*/
where: Prisma.AuditChainCheckpointWhereUniqueInput
}
/**
* AuditChainCheckpoint updateMany
*/
export type AuditChainCheckpointUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to update AuditChainCheckpoints.
*/
data: Prisma.XOR<Prisma.AuditChainCheckpointUpdateManyMutationInput, Prisma.AuditChainCheckpointUncheckedUpdateManyInput>
/**
* Filter which AuditChainCheckpoints to update
*/
where?: Prisma.AuditChainCheckpointWhereInput
/**
* Limit how many AuditChainCheckpoints to update.
*/
limit?: number
}
/**
* AuditChainCheckpoint updateManyAndReturn
*/
export type AuditChainCheckpointUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AuditChainCheckpoint
*/
select?: Prisma.AuditChainCheckpointSelectUpdateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the AuditChainCheckpoint
*/
omit?: Prisma.AuditChainCheckpointOmit<ExtArgs> | null
/**
* The data used to update AuditChainCheckpoints.
*/
data: Prisma.XOR<Prisma.AuditChainCheckpointUpdateManyMutationInput, Prisma.AuditChainCheckpointUncheckedUpdateManyInput>
/**
* Filter which AuditChainCheckpoints to update
*/
where?: Prisma.AuditChainCheckpointWhereInput
/**
* Limit how many AuditChainCheckpoints to update.
*/
limit?: number
}
/**
* AuditChainCheckpoint upsert
*/
export type AuditChainCheckpointUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AuditChainCheckpoint
*/
select?: Prisma.AuditChainCheckpointSelect<ExtArgs> | null
/**
* Omit specific fields from the AuditChainCheckpoint
*/
omit?: Prisma.AuditChainCheckpointOmit<ExtArgs> | null
/**
* The filter to search for the AuditChainCheckpoint to update in case it exists.
*/
where: Prisma.AuditChainCheckpointWhereUniqueInput
/**
* In case the AuditChainCheckpoint found by the `where` argument doesn't exist, create a new AuditChainCheckpoint with this data.
*/
create: Prisma.XOR<Prisma.AuditChainCheckpointCreateInput, Prisma.AuditChainCheckpointUncheckedCreateInput>
/**
* In case the AuditChainCheckpoint was found with the provided `where` argument, update it with this data.
*/
update: Prisma.XOR<Prisma.AuditChainCheckpointUpdateInput, Prisma.AuditChainCheckpointUncheckedUpdateInput>
}
/**
* AuditChainCheckpoint delete
*/
export type AuditChainCheckpointDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AuditChainCheckpoint
*/
select?: Prisma.AuditChainCheckpointSelect<ExtArgs> | null
/**
* Omit specific fields from the AuditChainCheckpoint
*/
omit?: Prisma.AuditChainCheckpointOmit<ExtArgs> | null
/**
* Filter which AuditChainCheckpoint to delete.
*/
where: Prisma.AuditChainCheckpointWhereUniqueInput
}
/**
* AuditChainCheckpoint deleteMany
*/
export type AuditChainCheckpointDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which AuditChainCheckpoints to delete
*/
where?: Prisma.AuditChainCheckpointWhereInput
/**
* Limit how many AuditChainCheckpoints to delete.
*/
limit?: number
}
/**
* AuditChainCheckpoint without action
*/
export type AuditChainCheckpointDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AuditChainCheckpoint
*/
select?: Prisma.AuditChainCheckpointSelect<ExtArgs> | null
/**
* Omit specific fields from the AuditChainCheckpoint
*/
omit?: Prisma.AuditChainCheckpointOmit<ExtArgs> | null
}