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

1292 lines
51 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 `KwpApiContractSnapshot` 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 KwpApiContractSnapshot
*
*/
export type KwpApiContractSnapshotModel = runtime.Types.Result.DefaultSelection<Prisma.$KwpApiContractSnapshotPayload>
export type AggregateKwpApiContractSnapshot = {
_count: KwpApiContractSnapshotCountAggregateOutputType | null
_min: KwpApiContractSnapshotMinAggregateOutputType | null
_max: KwpApiContractSnapshotMaxAggregateOutputType | null
}
export type KwpApiContractSnapshotMinAggregateOutputType = {
id: string | null
tenantId: string | null
dataConnectionId: string | null
capability: string | null
apiVersion: string | null
semanticFingerprint: string | null
adapterRevision: string | null
validatedAt: Date | null
createdAt: Date | null
}
export type KwpApiContractSnapshotMaxAggregateOutputType = {
id: string | null
tenantId: string | null
dataConnectionId: string | null
capability: string | null
apiVersion: string | null
semanticFingerprint: string | null
adapterRevision: string | null
validatedAt: Date | null
createdAt: Date | null
}
export type KwpApiContractSnapshotCountAggregateOutputType = {
id: number
tenantId: number
dataConnectionId: number
capability: number
apiVersion: number
semanticFingerprint: number
consumedContract: number
adapterRevision: number
validatedAt: number
createdAt: number
_all: number
}
export type KwpApiContractSnapshotMinAggregateInputType = {
id?: true
tenantId?: true
dataConnectionId?: true
capability?: true
apiVersion?: true
semanticFingerprint?: true
adapterRevision?: true
validatedAt?: true
createdAt?: true
}
export type KwpApiContractSnapshotMaxAggregateInputType = {
id?: true
tenantId?: true
dataConnectionId?: true
capability?: true
apiVersion?: true
semanticFingerprint?: true
adapterRevision?: true
validatedAt?: true
createdAt?: true
}
export type KwpApiContractSnapshotCountAggregateInputType = {
id?: true
tenantId?: true
dataConnectionId?: true
capability?: true
apiVersion?: true
semanticFingerprint?: true
consumedContract?: true
adapterRevision?: true
validatedAt?: true
createdAt?: true
_all?: true
}
export type KwpApiContractSnapshotAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which KwpApiContractSnapshot to aggregate.
*/
where?: Prisma.KwpApiContractSnapshotWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of KwpApiContractSnapshots to fetch.
*/
orderBy?: Prisma.KwpApiContractSnapshotOrderByWithRelationInput | Prisma.KwpApiContractSnapshotOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the start position
*/
cursor?: Prisma.KwpApiContractSnapshotWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` KwpApiContractSnapshots 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` KwpApiContractSnapshots.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Count returned KwpApiContractSnapshots
**/
_count?: true | KwpApiContractSnapshotCountAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the minimum value
**/
_min?: KwpApiContractSnapshotMinAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the maximum value
**/
_max?: KwpApiContractSnapshotMaxAggregateInputType
}
export type GetKwpApiContractSnapshotAggregateType<T extends KwpApiContractSnapshotAggregateArgs> = {
[P in keyof T & keyof AggregateKwpApiContractSnapshot]: P extends '_count' | 'count'
? T[P] extends true
? number
: Prisma.GetScalarType<T[P], AggregateKwpApiContractSnapshot[P]>
: Prisma.GetScalarType<T[P], AggregateKwpApiContractSnapshot[P]>
}
export type KwpApiContractSnapshotGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.KwpApiContractSnapshotWhereInput
orderBy?: Prisma.KwpApiContractSnapshotOrderByWithAggregationInput | Prisma.KwpApiContractSnapshotOrderByWithAggregationInput[]
by: Prisma.KwpApiContractSnapshotScalarFieldEnum[] | Prisma.KwpApiContractSnapshotScalarFieldEnum
having?: Prisma.KwpApiContractSnapshotScalarWhereWithAggregatesInput
take?: number
skip?: number
_count?: KwpApiContractSnapshotCountAggregateInputType | true
_min?: KwpApiContractSnapshotMinAggregateInputType
_max?: KwpApiContractSnapshotMaxAggregateInputType
}
export type KwpApiContractSnapshotGroupByOutputType = {
id: string
tenantId: string
dataConnectionId: string
capability: string
apiVersion: string
semanticFingerprint: string
consumedContract: runtime.JsonValue
adapterRevision: string
validatedAt: Date
createdAt: Date
_count: KwpApiContractSnapshotCountAggregateOutputType | null
_min: KwpApiContractSnapshotMinAggregateOutputType | null
_max: KwpApiContractSnapshotMaxAggregateOutputType | null
}
export type GetKwpApiContractSnapshotGroupByPayload<T extends KwpApiContractSnapshotGroupByArgs> = Prisma.PrismaPromise<
Array<
Prisma.PickEnumerable<KwpApiContractSnapshotGroupByOutputType, T['by']> &
{
[P in ((keyof T) & (keyof KwpApiContractSnapshotGroupByOutputType))]: P extends '_count'
? T[P] extends boolean
? number
: Prisma.GetScalarType<T[P], KwpApiContractSnapshotGroupByOutputType[P]>
: Prisma.GetScalarType<T[P], KwpApiContractSnapshotGroupByOutputType[P]>
}
>
>
export type KwpApiContractSnapshotWhereInput = {
AND?: Prisma.KwpApiContractSnapshotWhereInput | Prisma.KwpApiContractSnapshotWhereInput[]
OR?: Prisma.KwpApiContractSnapshotWhereInput[]
NOT?: Prisma.KwpApiContractSnapshotWhereInput | Prisma.KwpApiContractSnapshotWhereInput[]
id?: Prisma.StringFilter<"KwpApiContractSnapshot"> | string
tenantId?: Prisma.StringFilter<"KwpApiContractSnapshot"> | string
dataConnectionId?: Prisma.StringFilter<"KwpApiContractSnapshot"> | string
capability?: Prisma.StringFilter<"KwpApiContractSnapshot"> | string
apiVersion?: Prisma.StringFilter<"KwpApiContractSnapshot"> | string
semanticFingerprint?: Prisma.StringFilter<"KwpApiContractSnapshot"> | string
consumedContract?: Prisma.JsonFilter<"KwpApiContractSnapshot">
adapterRevision?: Prisma.StringFilter<"KwpApiContractSnapshot"> | string
validatedAt?: Prisma.DateTimeFilter<"KwpApiContractSnapshot"> | Date | string
createdAt?: Prisma.DateTimeFilter<"KwpApiContractSnapshot"> | Date | string
}
export type KwpApiContractSnapshotOrderByWithRelationInput = {
id?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
dataConnectionId?: Prisma.SortOrder
capability?: Prisma.SortOrder
apiVersion?: Prisma.SortOrder
semanticFingerprint?: Prisma.SortOrder
consumedContract?: Prisma.SortOrder
adapterRevision?: Prisma.SortOrder
validatedAt?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
}
export type KwpApiContractSnapshotWhereUniqueInput = Prisma.AtLeast<{
id?: string
tenantId_dataConnectionId_capability_semanticFingerprint?: Prisma.KwpApiContractSnapshotTenantIdDataConnectionIdCapabilitySemanticFingerprintCompoundUniqueInput
AND?: Prisma.KwpApiContractSnapshotWhereInput | Prisma.KwpApiContractSnapshotWhereInput[]
OR?: Prisma.KwpApiContractSnapshotWhereInput[]
NOT?: Prisma.KwpApiContractSnapshotWhereInput | Prisma.KwpApiContractSnapshotWhereInput[]
tenantId?: Prisma.StringFilter<"KwpApiContractSnapshot"> | string
dataConnectionId?: Prisma.StringFilter<"KwpApiContractSnapshot"> | string
capability?: Prisma.StringFilter<"KwpApiContractSnapshot"> | string
apiVersion?: Prisma.StringFilter<"KwpApiContractSnapshot"> | string
semanticFingerprint?: Prisma.StringFilter<"KwpApiContractSnapshot"> | string
consumedContract?: Prisma.JsonFilter<"KwpApiContractSnapshot">
adapterRevision?: Prisma.StringFilter<"KwpApiContractSnapshot"> | string
validatedAt?: Prisma.DateTimeFilter<"KwpApiContractSnapshot"> | Date | string
createdAt?: Prisma.DateTimeFilter<"KwpApiContractSnapshot"> | Date | string
}, "id" | "tenantId_dataConnectionId_capability_semanticFingerprint">
export type KwpApiContractSnapshotOrderByWithAggregationInput = {
id?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
dataConnectionId?: Prisma.SortOrder
capability?: Prisma.SortOrder
apiVersion?: Prisma.SortOrder
semanticFingerprint?: Prisma.SortOrder
consumedContract?: Prisma.SortOrder
adapterRevision?: Prisma.SortOrder
validatedAt?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
_count?: Prisma.KwpApiContractSnapshotCountOrderByAggregateInput
_max?: Prisma.KwpApiContractSnapshotMaxOrderByAggregateInput
_min?: Prisma.KwpApiContractSnapshotMinOrderByAggregateInput
}
export type KwpApiContractSnapshotScalarWhereWithAggregatesInput = {
AND?: Prisma.KwpApiContractSnapshotScalarWhereWithAggregatesInput | Prisma.KwpApiContractSnapshotScalarWhereWithAggregatesInput[]
OR?: Prisma.KwpApiContractSnapshotScalarWhereWithAggregatesInput[]
NOT?: Prisma.KwpApiContractSnapshotScalarWhereWithAggregatesInput | Prisma.KwpApiContractSnapshotScalarWhereWithAggregatesInput[]
id?: Prisma.StringWithAggregatesFilter<"KwpApiContractSnapshot"> | string
tenantId?: Prisma.StringWithAggregatesFilter<"KwpApiContractSnapshot"> | string
dataConnectionId?: Prisma.StringWithAggregatesFilter<"KwpApiContractSnapshot"> | string
capability?: Prisma.StringWithAggregatesFilter<"KwpApiContractSnapshot"> | string
apiVersion?: Prisma.StringWithAggregatesFilter<"KwpApiContractSnapshot"> | string
semanticFingerprint?: Prisma.StringWithAggregatesFilter<"KwpApiContractSnapshot"> | string
consumedContract?: Prisma.JsonWithAggregatesFilter<"KwpApiContractSnapshot">
adapterRevision?: Prisma.StringWithAggregatesFilter<"KwpApiContractSnapshot"> | string
validatedAt?: Prisma.DateTimeWithAggregatesFilter<"KwpApiContractSnapshot"> | Date | string
createdAt?: Prisma.DateTimeWithAggregatesFilter<"KwpApiContractSnapshot"> | Date | string
}
export type KwpApiContractSnapshotCreateInput = {
id?: string
tenantId: string
dataConnectionId: string
capability: string
apiVersion: string
semanticFingerprint: string
consumedContract: Prisma.JsonNullValueInput | runtime.InputJsonValue
adapterRevision: string
validatedAt: Date | string
createdAt?: Date | string
}
export type KwpApiContractSnapshotUncheckedCreateInput = {
id?: string
tenantId: string
dataConnectionId: string
capability: string
apiVersion: string
semanticFingerprint: string
consumedContract: Prisma.JsonNullValueInput | runtime.InputJsonValue
adapterRevision: string
validatedAt: Date | string
createdAt?: Date | string
}
export type KwpApiContractSnapshotUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
dataConnectionId?: Prisma.StringFieldUpdateOperationsInput | string
capability?: Prisma.StringFieldUpdateOperationsInput | string
apiVersion?: Prisma.StringFieldUpdateOperationsInput | string
semanticFingerprint?: Prisma.StringFieldUpdateOperationsInput | string
consumedContract?: Prisma.JsonNullValueInput | runtime.InputJsonValue
adapterRevision?: Prisma.StringFieldUpdateOperationsInput | string
validatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}
export type KwpApiContractSnapshotUncheckedUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
dataConnectionId?: Prisma.StringFieldUpdateOperationsInput | string
capability?: Prisma.StringFieldUpdateOperationsInput | string
apiVersion?: Prisma.StringFieldUpdateOperationsInput | string
semanticFingerprint?: Prisma.StringFieldUpdateOperationsInput | string
consumedContract?: Prisma.JsonNullValueInput | runtime.InputJsonValue
adapterRevision?: Prisma.StringFieldUpdateOperationsInput | string
validatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}
export type KwpApiContractSnapshotCreateManyInput = {
id?: string
tenantId: string
dataConnectionId: string
capability: string
apiVersion: string
semanticFingerprint: string
consumedContract: Prisma.JsonNullValueInput | runtime.InputJsonValue
adapterRevision: string
validatedAt: Date | string
createdAt?: Date | string
}
export type KwpApiContractSnapshotUpdateManyMutationInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
dataConnectionId?: Prisma.StringFieldUpdateOperationsInput | string
capability?: Prisma.StringFieldUpdateOperationsInput | string
apiVersion?: Prisma.StringFieldUpdateOperationsInput | string
semanticFingerprint?: Prisma.StringFieldUpdateOperationsInput | string
consumedContract?: Prisma.JsonNullValueInput | runtime.InputJsonValue
adapterRevision?: Prisma.StringFieldUpdateOperationsInput | string
validatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}
export type KwpApiContractSnapshotUncheckedUpdateManyInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
dataConnectionId?: Prisma.StringFieldUpdateOperationsInput | string
capability?: Prisma.StringFieldUpdateOperationsInput | string
apiVersion?: Prisma.StringFieldUpdateOperationsInput | string
semanticFingerprint?: Prisma.StringFieldUpdateOperationsInput | string
consumedContract?: Prisma.JsonNullValueInput | runtime.InputJsonValue
adapterRevision?: Prisma.StringFieldUpdateOperationsInput | string
validatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}
export type KwpApiContractSnapshotTenantIdDataConnectionIdCapabilitySemanticFingerprintCompoundUniqueInput = {
tenantId: string
dataConnectionId: string
capability: string
semanticFingerprint: string
}
export type KwpApiContractSnapshotCountOrderByAggregateInput = {
id?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
dataConnectionId?: Prisma.SortOrder
capability?: Prisma.SortOrder
apiVersion?: Prisma.SortOrder
semanticFingerprint?: Prisma.SortOrder
consumedContract?: Prisma.SortOrder
adapterRevision?: Prisma.SortOrder
validatedAt?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
}
export type KwpApiContractSnapshotMaxOrderByAggregateInput = {
id?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
dataConnectionId?: Prisma.SortOrder
capability?: Prisma.SortOrder
apiVersion?: Prisma.SortOrder
semanticFingerprint?: Prisma.SortOrder
adapterRevision?: Prisma.SortOrder
validatedAt?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
}
export type KwpApiContractSnapshotMinOrderByAggregateInput = {
id?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
dataConnectionId?: Prisma.SortOrder
capability?: Prisma.SortOrder
apiVersion?: Prisma.SortOrder
semanticFingerprint?: Prisma.SortOrder
adapterRevision?: Prisma.SortOrder
validatedAt?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
}
export type KwpApiContractSnapshotSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
tenantId?: boolean
dataConnectionId?: boolean
capability?: boolean
apiVersion?: boolean
semanticFingerprint?: boolean
consumedContract?: boolean
adapterRevision?: boolean
validatedAt?: boolean
createdAt?: boolean
}, ExtArgs["result"]["kwpApiContractSnapshot"]>
export type KwpApiContractSnapshotSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
tenantId?: boolean
dataConnectionId?: boolean
capability?: boolean
apiVersion?: boolean
semanticFingerprint?: boolean
consumedContract?: boolean
adapterRevision?: boolean
validatedAt?: boolean
createdAt?: boolean
}, ExtArgs["result"]["kwpApiContractSnapshot"]>
export type KwpApiContractSnapshotSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
tenantId?: boolean
dataConnectionId?: boolean
capability?: boolean
apiVersion?: boolean
semanticFingerprint?: boolean
consumedContract?: boolean
adapterRevision?: boolean
validatedAt?: boolean
createdAt?: boolean
}, ExtArgs["result"]["kwpApiContractSnapshot"]>
export type KwpApiContractSnapshotSelectScalar = {
id?: boolean
tenantId?: boolean
dataConnectionId?: boolean
capability?: boolean
apiVersion?: boolean
semanticFingerprint?: boolean
consumedContract?: boolean
adapterRevision?: boolean
validatedAt?: boolean
createdAt?: boolean
}
export type KwpApiContractSnapshotOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "dataConnectionId" | "capability" | "apiVersion" | "semanticFingerprint" | "consumedContract" | "adapterRevision" | "validatedAt" | "createdAt", ExtArgs["result"]["kwpApiContractSnapshot"]>
export type $KwpApiContractSnapshotPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
name: "KwpApiContractSnapshot"
objects: {}
scalars: runtime.Types.Extensions.GetPayloadResult<{
id: string
tenantId: string
dataConnectionId: string
capability: string
apiVersion: string
semanticFingerprint: string
consumedContract: runtime.JsonValue
adapterRevision: string
validatedAt: Date
createdAt: Date
}, ExtArgs["result"]["kwpApiContractSnapshot"]>
composites: {}
}
export type KwpApiContractSnapshotGetPayload<S extends boolean | null | undefined | KwpApiContractSnapshotDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$KwpApiContractSnapshotPayload, S>
export type KwpApiContractSnapshotCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
Omit<KwpApiContractSnapshotFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
select?: KwpApiContractSnapshotCountAggregateInputType | true
}
export interface KwpApiContractSnapshotDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['KwpApiContractSnapshot'], meta: { name: 'KwpApiContractSnapshot' } }
/**
* Find zero or one KwpApiContractSnapshot that matches the filter.
* @param {KwpApiContractSnapshotFindUniqueArgs} args - Arguments to find a KwpApiContractSnapshot
* @example
* // Get one KwpApiContractSnapshot
* const kwpApiContractSnapshot = await prisma.kwpApiContractSnapshot.findUnique({
* where: {
* // ... provide filter here
* }
* })
*/
findUnique<T extends KwpApiContractSnapshotFindUniqueArgs>(args: Prisma.SelectSubset<T, KwpApiContractSnapshotFindUniqueArgs<ExtArgs>>): Prisma.Prisma__KwpApiContractSnapshotClient<runtime.Types.Result.GetResult<Prisma.$KwpApiContractSnapshotPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find one KwpApiContractSnapshot that matches the filter or throw an error with `error.code='P2025'`
* if no matches were found.
* @param {KwpApiContractSnapshotFindUniqueOrThrowArgs} args - Arguments to find a KwpApiContractSnapshot
* @example
* // Get one KwpApiContractSnapshot
* const kwpApiContractSnapshot = await prisma.kwpApiContractSnapshot.findUniqueOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findUniqueOrThrow<T extends KwpApiContractSnapshotFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, KwpApiContractSnapshotFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__KwpApiContractSnapshotClient<runtime.Types.Result.GetResult<Prisma.$KwpApiContractSnapshotPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find the first KwpApiContractSnapshot 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 {KwpApiContractSnapshotFindFirstArgs} args - Arguments to find a KwpApiContractSnapshot
* @example
* // Get one KwpApiContractSnapshot
* const kwpApiContractSnapshot = await prisma.kwpApiContractSnapshot.findFirst({
* where: {
* // ... provide filter here
* }
* })
*/
findFirst<T extends KwpApiContractSnapshotFindFirstArgs>(args?: Prisma.SelectSubset<T, KwpApiContractSnapshotFindFirstArgs<ExtArgs>>): Prisma.Prisma__KwpApiContractSnapshotClient<runtime.Types.Result.GetResult<Prisma.$KwpApiContractSnapshotPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find the first KwpApiContractSnapshot 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 {KwpApiContractSnapshotFindFirstOrThrowArgs} args - Arguments to find a KwpApiContractSnapshot
* @example
* // Get one KwpApiContractSnapshot
* const kwpApiContractSnapshot = await prisma.kwpApiContractSnapshot.findFirstOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findFirstOrThrow<T extends KwpApiContractSnapshotFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, KwpApiContractSnapshotFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__KwpApiContractSnapshotClient<runtime.Types.Result.GetResult<Prisma.$KwpApiContractSnapshotPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find zero or more KwpApiContractSnapshots 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 {KwpApiContractSnapshotFindManyArgs} args - Arguments to filter and select certain fields only.
* @example
* // Get all KwpApiContractSnapshots
* const kwpApiContractSnapshots = await prisma.kwpApiContractSnapshot.findMany()
*
* // Get first 10 KwpApiContractSnapshots
* const kwpApiContractSnapshots = await prisma.kwpApiContractSnapshot.findMany({ take: 10 })
*
* // Only select the `id`
* const kwpApiContractSnapshotWithIdOnly = await prisma.kwpApiContractSnapshot.findMany({ select: { id: true } })
*
*/
findMany<T extends KwpApiContractSnapshotFindManyArgs>(args?: Prisma.SelectSubset<T, KwpApiContractSnapshotFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$KwpApiContractSnapshotPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
/**
* Create a KwpApiContractSnapshot.
* @param {KwpApiContractSnapshotCreateArgs} args - Arguments to create a KwpApiContractSnapshot.
* @example
* // Create one KwpApiContractSnapshot
* const KwpApiContractSnapshot = await prisma.kwpApiContractSnapshot.create({
* data: {
* // ... data to create a KwpApiContractSnapshot
* }
* })
*
*/
create<T extends KwpApiContractSnapshotCreateArgs>(args: Prisma.SelectSubset<T, KwpApiContractSnapshotCreateArgs<ExtArgs>>): Prisma.Prisma__KwpApiContractSnapshotClient<runtime.Types.Result.GetResult<Prisma.$KwpApiContractSnapshotPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Create many KwpApiContractSnapshots.
* @param {KwpApiContractSnapshotCreateManyArgs} args - Arguments to create many KwpApiContractSnapshots.
* @example
* // Create many KwpApiContractSnapshots
* const kwpApiContractSnapshot = await prisma.kwpApiContractSnapshot.createMany({
* data: [
* // ... provide data here
* ]
* })
*
*/
createMany<T extends KwpApiContractSnapshotCreateManyArgs>(args?: Prisma.SelectSubset<T, KwpApiContractSnapshotCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Create many KwpApiContractSnapshots and returns the data saved in the database.
* @param {KwpApiContractSnapshotCreateManyAndReturnArgs} args - Arguments to create many KwpApiContractSnapshots.
* @example
* // Create many KwpApiContractSnapshots
* const kwpApiContractSnapshot = await prisma.kwpApiContractSnapshot.createManyAndReturn({
* data: [
* // ... provide data here
* ]
* })
*
* // Create many KwpApiContractSnapshots and only return the `id`
* const kwpApiContractSnapshotWithIdOnly = await prisma.kwpApiContractSnapshot.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 KwpApiContractSnapshotCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, KwpApiContractSnapshotCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$KwpApiContractSnapshotPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
/**
* Delete a KwpApiContractSnapshot.
* @param {KwpApiContractSnapshotDeleteArgs} args - Arguments to delete one KwpApiContractSnapshot.
* @example
* // Delete one KwpApiContractSnapshot
* const KwpApiContractSnapshot = await prisma.kwpApiContractSnapshot.delete({
* where: {
* // ... filter to delete one KwpApiContractSnapshot
* }
* })
*
*/
delete<T extends KwpApiContractSnapshotDeleteArgs>(args: Prisma.SelectSubset<T, KwpApiContractSnapshotDeleteArgs<ExtArgs>>): Prisma.Prisma__KwpApiContractSnapshotClient<runtime.Types.Result.GetResult<Prisma.$KwpApiContractSnapshotPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Update one KwpApiContractSnapshot.
* @param {KwpApiContractSnapshotUpdateArgs} args - Arguments to update one KwpApiContractSnapshot.
* @example
* // Update one KwpApiContractSnapshot
* const kwpApiContractSnapshot = await prisma.kwpApiContractSnapshot.update({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
update<T extends KwpApiContractSnapshotUpdateArgs>(args: Prisma.SelectSubset<T, KwpApiContractSnapshotUpdateArgs<ExtArgs>>): Prisma.Prisma__KwpApiContractSnapshotClient<runtime.Types.Result.GetResult<Prisma.$KwpApiContractSnapshotPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Delete zero or more KwpApiContractSnapshots.
* @param {KwpApiContractSnapshotDeleteManyArgs} args - Arguments to filter KwpApiContractSnapshots to delete.
* @example
* // Delete a few KwpApiContractSnapshots
* const { count } = await prisma.kwpApiContractSnapshot.deleteMany({
* where: {
* // ... provide filter here
* }
* })
*
*/
deleteMany<T extends KwpApiContractSnapshotDeleteManyArgs>(args?: Prisma.SelectSubset<T, KwpApiContractSnapshotDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more KwpApiContractSnapshots.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {KwpApiContractSnapshotUpdateManyArgs} args - Arguments to update one or more rows.
* @example
* // Update many KwpApiContractSnapshots
* const kwpApiContractSnapshot = await prisma.kwpApiContractSnapshot.updateMany({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
updateMany<T extends KwpApiContractSnapshotUpdateManyArgs>(args: Prisma.SelectSubset<T, KwpApiContractSnapshotUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more KwpApiContractSnapshots and returns the data updated in the database.
* @param {KwpApiContractSnapshotUpdateManyAndReturnArgs} args - Arguments to update many KwpApiContractSnapshots.
* @example
* // Update many KwpApiContractSnapshots
* const kwpApiContractSnapshot = await prisma.kwpApiContractSnapshot.updateManyAndReturn({
* where: {
* // ... provide filter here
* },
* data: [
* // ... provide data here
* ]
* })
*
* // Update zero or more KwpApiContractSnapshots and only return the `id`
* const kwpApiContractSnapshotWithIdOnly = await prisma.kwpApiContractSnapshot.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 KwpApiContractSnapshotUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, KwpApiContractSnapshotUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$KwpApiContractSnapshotPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
/**
* Create or update one KwpApiContractSnapshot.
* @param {KwpApiContractSnapshotUpsertArgs} args - Arguments to update or create a KwpApiContractSnapshot.
* @example
* // Update or create a KwpApiContractSnapshot
* const kwpApiContractSnapshot = await prisma.kwpApiContractSnapshot.upsert({
* create: {
* // ... data to create a KwpApiContractSnapshot
* },
* update: {
* // ... in case it already exists, update
* },
* where: {
* // ... the filter for the KwpApiContractSnapshot we want to update
* }
* })
*/
upsert<T extends KwpApiContractSnapshotUpsertArgs>(args: Prisma.SelectSubset<T, KwpApiContractSnapshotUpsertArgs<ExtArgs>>): Prisma.Prisma__KwpApiContractSnapshotClient<runtime.Types.Result.GetResult<Prisma.$KwpApiContractSnapshotPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Count the number of KwpApiContractSnapshots.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {KwpApiContractSnapshotCountArgs} args - Arguments to filter KwpApiContractSnapshots to count.
* @example
* // Count the number of KwpApiContractSnapshots
* const count = await prisma.kwpApiContractSnapshot.count({
* where: {
* // ... the filter for the KwpApiContractSnapshots we want to count
* }
* })
**/
count<T extends KwpApiContractSnapshotCountArgs>(
args?: Prisma.Subset<T, KwpApiContractSnapshotCountArgs>,
): Prisma.PrismaPromise<
T extends runtime.Types.Utils.Record<'select', any>
? T['select'] extends true
? number
: Prisma.GetScalarType<T['select'], KwpApiContractSnapshotCountAggregateOutputType>
: number
>
/**
* Allows you to perform aggregations operations on a KwpApiContractSnapshot.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {KwpApiContractSnapshotAggregateArgs} 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 KwpApiContractSnapshotAggregateArgs>(args: Prisma.Subset<T, KwpApiContractSnapshotAggregateArgs>): Prisma.PrismaPromise<GetKwpApiContractSnapshotAggregateType<T>>
/**
* Group by KwpApiContractSnapshot.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {KwpApiContractSnapshotGroupByArgs} 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 KwpApiContractSnapshotGroupByArgs,
HasSelectOrTake extends Prisma.Or<
Prisma.Extends<'skip', Prisma.Keys<T>>,
Prisma.Extends<'take', Prisma.Keys<T>>
>,
OrderByArg extends Prisma.True extends HasSelectOrTake
? { orderBy: KwpApiContractSnapshotGroupByArgs['orderBy'] }
: { orderBy?: KwpApiContractSnapshotGroupByArgs['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, KwpApiContractSnapshotGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetKwpApiContractSnapshotGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* Fields of the KwpApiContractSnapshot model
*/
readonly fields: KwpApiContractSnapshotFieldRefs;
}
/**
* The delegate class that acts as a "Promise-like" for KwpApiContractSnapshot.
* 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__KwpApiContractSnapshotClient<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 KwpApiContractSnapshot model
*/
export interface KwpApiContractSnapshotFieldRefs {
readonly id: Prisma.FieldRef<"KwpApiContractSnapshot", 'String'>
readonly tenantId: Prisma.FieldRef<"KwpApiContractSnapshot", 'String'>
readonly dataConnectionId: Prisma.FieldRef<"KwpApiContractSnapshot", 'String'>
readonly capability: Prisma.FieldRef<"KwpApiContractSnapshot", 'String'>
readonly apiVersion: Prisma.FieldRef<"KwpApiContractSnapshot", 'String'>
readonly semanticFingerprint: Prisma.FieldRef<"KwpApiContractSnapshot", 'String'>
readonly consumedContract: Prisma.FieldRef<"KwpApiContractSnapshot", 'Json'>
readonly adapterRevision: Prisma.FieldRef<"KwpApiContractSnapshot", 'String'>
readonly validatedAt: Prisma.FieldRef<"KwpApiContractSnapshot", 'DateTime'>
readonly createdAt: Prisma.FieldRef<"KwpApiContractSnapshot", 'DateTime'>
}
// Custom InputTypes
/**
* KwpApiContractSnapshot findUnique
*/
export type KwpApiContractSnapshotFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the KwpApiContractSnapshot
*/
select?: Prisma.KwpApiContractSnapshotSelect<ExtArgs> | null
/**
* Omit specific fields from the KwpApiContractSnapshot
*/
omit?: Prisma.KwpApiContractSnapshotOmit<ExtArgs> | null
/**
* Filter, which KwpApiContractSnapshot to fetch.
*/
where: Prisma.KwpApiContractSnapshotWhereUniqueInput
}
/**
* KwpApiContractSnapshot findUniqueOrThrow
*/
export type KwpApiContractSnapshotFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the KwpApiContractSnapshot
*/
select?: Prisma.KwpApiContractSnapshotSelect<ExtArgs> | null
/**
* Omit specific fields from the KwpApiContractSnapshot
*/
omit?: Prisma.KwpApiContractSnapshotOmit<ExtArgs> | null
/**
* Filter, which KwpApiContractSnapshot to fetch.
*/
where: Prisma.KwpApiContractSnapshotWhereUniqueInput
}
/**
* KwpApiContractSnapshot findFirst
*/
export type KwpApiContractSnapshotFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the KwpApiContractSnapshot
*/
select?: Prisma.KwpApiContractSnapshotSelect<ExtArgs> | null
/**
* Omit specific fields from the KwpApiContractSnapshot
*/
omit?: Prisma.KwpApiContractSnapshotOmit<ExtArgs> | null
/**
* Filter, which KwpApiContractSnapshot to fetch.
*/
where?: Prisma.KwpApiContractSnapshotWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of KwpApiContractSnapshots to fetch.
*/
orderBy?: Prisma.KwpApiContractSnapshotOrderByWithRelationInput | Prisma.KwpApiContractSnapshotOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for KwpApiContractSnapshots.
*/
cursor?: Prisma.KwpApiContractSnapshotWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` KwpApiContractSnapshots 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` KwpApiContractSnapshots.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of KwpApiContractSnapshots.
*/
distinct?: Prisma.KwpApiContractSnapshotScalarFieldEnum | Prisma.KwpApiContractSnapshotScalarFieldEnum[]
}
/**
* KwpApiContractSnapshot findFirstOrThrow
*/
export type KwpApiContractSnapshotFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the KwpApiContractSnapshot
*/
select?: Prisma.KwpApiContractSnapshotSelect<ExtArgs> | null
/**
* Omit specific fields from the KwpApiContractSnapshot
*/
omit?: Prisma.KwpApiContractSnapshotOmit<ExtArgs> | null
/**
* Filter, which KwpApiContractSnapshot to fetch.
*/
where?: Prisma.KwpApiContractSnapshotWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of KwpApiContractSnapshots to fetch.
*/
orderBy?: Prisma.KwpApiContractSnapshotOrderByWithRelationInput | Prisma.KwpApiContractSnapshotOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for KwpApiContractSnapshots.
*/
cursor?: Prisma.KwpApiContractSnapshotWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` KwpApiContractSnapshots 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` KwpApiContractSnapshots.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of KwpApiContractSnapshots.
*/
distinct?: Prisma.KwpApiContractSnapshotScalarFieldEnum | Prisma.KwpApiContractSnapshotScalarFieldEnum[]
}
/**
* KwpApiContractSnapshot findMany
*/
export type KwpApiContractSnapshotFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the KwpApiContractSnapshot
*/
select?: Prisma.KwpApiContractSnapshotSelect<ExtArgs> | null
/**
* Omit specific fields from the KwpApiContractSnapshot
*/
omit?: Prisma.KwpApiContractSnapshotOmit<ExtArgs> | null
/**
* Filter, which KwpApiContractSnapshots to fetch.
*/
where?: Prisma.KwpApiContractSnapshotWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of KwpApiContractSnapshots to fetch.
*/
orderBy?: Prisma.KwpApiContractSnapshotOrderByWithRelationInput | Prisma.KwpApiContractSnapshotOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for listing KwpApiContractSnapshots.
*/
cursor?: Prisma.KwpApiContractSnapshotWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` KwpApiContractSnapshots 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` KwpApiContractSnapshots.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of KwpApiContractSnapshots.
*/
distinct?: Prisma.KwpApiContractSnapshotScalarFieldEnum | Prisma.KwpApiContractSnapshotScalarFieldEnum[]
}
/**
* KwpApiContractSnapshot create
*/
export type KwpApiContractSnapshotCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the KwpApiContractSnapshot
*/
select?: Prisma.KwpApiContractSnapshotSelect<ExtArgs> | null
/**
* Omit specific fields from the KwpApiContractSnapshot
*/
omit?: Prisma.KwpApiContractSnapshotOmit<ExtArgs> | null
/**
* The data needed to create a KwpApiContractSnapshot.
*/
data: Prisma.XOR<Prisma.KwpApiContractSnapshotCreateInput, Prisma.KwpApiContractSnapshotUncheckedCreateInput>
}
/**
* KwpApiContractSnapshot createMany
*/
export type KwpApiContractSnapshotCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to create many KwpApiContractSnapshots.
*/
data: Prisma.KwpApiContractSnapshotCreateManyInput | Prisma.KwpApiContractSnapshotCreateManyInput[]
skipDuplicates?: boolean
}
/**
* KwpApiContractSnapshot createManyAndReturn
*/
export type KwpApiContractSnapshotCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the KwpApiContractSnapshot
*/
select?: Prisma.KwpApiContractSnapshotSelectCreateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the KwpApiContractSnapshot
*/
omit?: Prisma.KwpApiContractSnapshotOmit<ExtArgs> | null
/**
* The data used to create many KwpApiContractSnapshots.
*/
data: Prisma.KwpApiContractSnapshotCreateManyInput | Prisma.KwpApiContractSnapshotCreateManyInput[]
skipDuplicates?: boolean
}
/**
* KwpApiContractSnapshot update
*/
export type KwpApiContractSnapshotUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the KwpApiContractSnapshot
*/
select?: Prisma.KwpApiContractSnapshotSelect<ExtArgs> | null
/**
* Omit specific fields from the KwpApiContractSnapshot
*/
omit?: Prisma.KwpApiContractSnapshotOmit<ExtArgs> | null
/**
* The data needed to update a KwpApiContractSnapshot.
*/
data: Prisma.XOR<Prisma.KwpApiContractSnapshotUpdateInput, Prisma.KwpApiContractSnapshotUncheckedUpdateInput>
/**
* Choose, which KwpApiContractSnapshot to update.
*/
where: Prisma.KwpApiContractSnapshotWhereUniqueInput
}
/**
* KwpApiContractSnapshot updateMany
*/
export type KwpApiContractSnapshotUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to update KwpApiContractSnapshots.
*/
data: Prisma.XOR<Prisma.KwpApiContractSnapshotUpdateManyMutationInput, Prisma.KwpApiContractSnapshotUncheckedUpdateManyInput>
/**
* Filter which KwpApiContractSnapshots to update
*/
where?: Prisma.KwpApiContractSnapshotWhereInput
/**
* Limit how many KwpApiContractSnapshots to update.
*/
limit?: number
}
/**
* KwpApiContractSnapshot updateManyAndReturn
*/
export type KwpApiContractSnapshotUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the KwpApiContractSnapshot
*/
select?: Prisma.KwpApiContractSnapshotSelectUpdateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the KwpApiContractSnapshot
*/
omit?: Prisma.KwpApiContractSnapshotOmit<ExtArgs> | null
/**
* The data used to update KwpApiContractSnapshots.
*/
data: Prisma.XOR<Prisma.KwpApiContractSnapshotUpdateManyMutationInput, Prisma.KwpApiContractSnapshotUncheckedUpdateManyInput>
/**
* Filter which KwpApiContractSnapshots to update
*/
where?: Prisma.KwpApiContractSnapshotWhereInput
/**
* Limit how many KwpApiContractSnapshots to update.
*/
limit?: number
}
/**
* KwpApiContractSnapshot upsert
*/
export type KwpApiContractSnapshotUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the KwpApiContractSnapshot
*/
select?: Prisma.KwpApiContractSnapshotSelect<ExtArgs> | null
/**
* Omit specific fields from the KwpApiContractSnapshot
*/
omit?: Prisma.KwpApiContractSnapshotOmit<ExtArgs> | null
/**
* The filter to search for the KwpApiContractSnapshot to update in case it exists.
*/
where: Prisma.KwpApiContractSnapshotWhereUniqueInput
/**
* In case the KwpApiContractSnapshot found by the `where` argument doesn't exist, create a new KwpApiContractSnapshot with this data.
*/
create: Prisma.XOR<Prisma.KwpApiContractSnapshotCreateInput, Prisma.KwpApiContractSnapshotUncheckedCreateInput>
/**
* In case the KwpApiContractSnapshot was found with the provided `where` argument, update it with this data.
*/
update: Prisma.XOR<Prisma.KwpApiContractSnapshotUpdateInput, Prisma.KwpApiContractSnapshotUncheckedUpdateInput>
}
/**
* KwpApiContractSnapshot delete
*/
export type KwpApiContractSnapshotDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the KwpApiContractSnapshot
*/
select?: Prisma.KwpApiContractSnapshotSelect<ExtArgs> | null
/**
* Omit specific fields from the KwpApiContractSnapshot
*/
omit?: Prisma.KwpApiContractSnapshotOmit<ExtArgs> | null
/**
* Filter which KwpApiContractSnapshot to delete.
*/
where: Prisma.KwpApiContractSnapshotWhereUniqueInput
}
/**
* KwpApiContractSnapshot deleteMany
*/
export type KwpApiContractSnapshotDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which KwpApiContractSnapshots to delete
*/
where?: Prisma.KwpApiContractSnapshotWhereInput
/**
* Limit how many KwpApiContractSnapshots to delete.
*/
limit?: number
}
/**
* KwpApiContractSnapshot without action
*/
export type KwpApiContractSnapshotDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the KwpApiContractSnapshot
*/
select?: Prisma.KwpApiContractSnapshotSelect<ExtArgs> | null
/**
* Omit specific fields from the KwpApiContractSnapshot
*/
omit?: Prisma.KwpApiContractSnapshotOmit<ExtArgs> | null
}