1513 lines
59 KiB
TypeScript
1513 lines
59 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 `KwpCapabilityState` 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 KwpCapabilityState
|
|
*
|
|
*/
|
|
export type KwpCapabilityStateModel = runtime.Types.Result.DefaultSelection<Prisma.$KwpCapabilityStatePayload>
|
|
|
|
export type AggregateKwpCapabilityState = {
|
|
_count: KwpCapabilityStateCountAggregateOutputType | null
|
|
_avg: KwpCapabilityStateAvgAggregateOutputType | null
|
|
_sum: KwpCapabilityStateSumAggregateOutputType | null
|
|
_min: KwpCapabilityStateMinAggregateOutputType | null
|
|
_max: KwpCapabilityStateMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type KwpCapabilityStateAvgAggregateOutputType = {
|
|
revision: number | null
|
|
}
|
|
|
|
export type KwpCapabilityStateSumAggregateOutputType = {
|
|
revision: number | null
|
|
}
|
|
|
|
export type KwpCapabilityStateMinAggregateOutputType = {
|
|
id: string | null
|
|
tenantId: string | null
|
|
dataConnectionId: string | null
|
|
capability: string | null
|
|
status: $Enums.KwpCapabilityStatus | null
|
|
reasonCode: string | null
|
|
observedFingerprint: string | null
|
|
approvedFingerprint: string | null
|
|
adapterRevision: string | null
|
|
revision: number | null
|
|
pausedAt: Date | null
|
|
lastCheckedAt: Date | null
|
|
approvedAt: Date | null
|
|
approvedByUserId: string | null
|
|
createdAt: Date | null
|
|
updatedAt: Date | null
|
|
}
|
|
|
|
export type KwpCapabilityStateMaxAggregateOutputType = {
|
|
id: string | null
|
|
tenantId: string | null
|
|
dataConnectionId: string | null
|
|
capability: string | null
|
|
status: $Enums.KwpCapabilityStatus | null
|
|
reasonCode: string | null
|
|
observedFingerprint: string | null
|
|
approvedFingerprint: string | null
|
|
adapterRevision: string | null
|
|
revision: number | null
|
|
pausedAt: Date | null
|
|
lastCheckedAt: Date | null
|
|
approvedAt: Date | null
|
|
approvedByUserId: string | null
|
|
createdAt: Date | null
|
|
updatedAt: Date | null
|
|
}
|
|
|
|
export type KwpCapabilityStateCountAggregateOutputType = {
|
|
id: number
|
|
tenantId: number
|
|
dataConnectionId: number
|
|
capability: number
|
|
status: number
|
|
reasonCode: number
|
|
observedFingerprint: number
|
|
approvedFingerprint: number
|
|
adapterRevision: number
|
|
revision: number
|
|
pausedAt: number
|
|
lastCheckedAt: number
|
|
approvedAt: number
|
|
approvedByUserId: number
|
|
createdAt: number
|
|
updatedAt: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type KwpCapabilityStateAvgAggregateInputType = {
|
|
revision?: true
|
|
}
|
|
|
|
export type KwpCapabilityStateSumAggregateInputType = {
|
|
revision?: true
|
|
}
|
|
|
|
export type KwpCapabilityStateMinAggregateInputType = {
|
|
id?: true
|
|
tenantId?: true
|
|
dataConnectionId?: true
|
|
capability?: true
|
|
status?: true
|
|
reasonCode?: true
|
|
observedFingerprint?: true
|
|
approvedFingerprint?: true
|
|
adapterRevision?: true
|
|
revision?: true
|
|
pausedAt?: true
|
|
lastCheckedAt?: true
|
|
approvedAt?: true
|
|
approvedByUserId?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
}
|
|
|
|
export type KwpCapabilityStateMaxAggregateInputType = {
|
|
id?: true
|
|
tenantId?: true
|
|
dataConnectionId?: true
|
|
capability?: true
|
|
status?: true
|
|
reasonCode?: true
|
|
observedFingerprint?: true
|
|
approvedFingerprint?: true
|
|
adapterRevision?: true
|
|
revision?: true
|
|
pausedAt?: true
|
|
lastCheckedAt?: true
|
|
approvedAt?: true
|
|
approvedByUserId?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
}
|
|
|
|
export type KwpCapabilityStateCountAggregateInputType = {
|
|
id?: true
|
|
tenantId?: true
|
|
dataConnectionId?: true
|
|
capability?: true
|
|
status?: true
|
|
reasonCode?: true
|
|
observedFingerprint?: true
|
|
approvedFingerprint?: true
|
|
adapterRevision?: true
|
|
revision?: true
|
|
pausedAt?: true
|
|
lastCheckedAt?: true
|
|
approvedAt?: true
|
|
approvedByUserId?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type KwpCapabilityStateAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which KwpCapabilityState to aggregate.
|
|
*/
|
|
where?: Prisma.KwpCapabilityStateWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of KwpCapabilityStates to fetch.
|
|
*/
|
|
orderBy?: Prisma.KwpCapabilityStateOrderByWithRelationInput | Prisma.KwpCapabilityStateOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.KwpCapabilityStateWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` KwpCapabilityStates 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` KwpCapabilityStates.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned KwpCapabilityStates
|
|
**/
|
|
_count?: true | KwpCapabilityStateCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to average
|
|
**/
|
|
_avg?: KwpCapabilityStateAvgAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to sum
|
|
**/
|
|
_sum?: KwpCapabilityStateSumAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: KwpCapabilityStateMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: KwpCapabilityStateMaxAggregateInputType
|
|
}
|
|
|
|
export type GetKwpCapabilityStateAggregateType<T extends KwpCapabilityStateAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateKwpCapabilityState]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateKwpCapabilityState[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateKwpCapabilityState[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type KwpCapabilityStateGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.KwpCapabilityStateWhereInput
|
|
orderBy?: Prisma.KwpCapabilityStateOrderByWithAggregationInput | Prisma.KwpCapabilityStateOrderByWithAggregationInput[]
|
|
by: Prisma.KwpCapabilityStateScalarFieldEnum[] | Prisma.KwpCapabilityStateScalarFieldEnum
|
|
having?: Prisma.KwpCapabilityStateScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: KwpCapabilityStateCountAggregateInputType | true
|
|
_avg?: KwpCapabilityStateAvgAggregateInputType
|
|
_sum?: KwpCapabilityStateSumAggregateInputType
|
|
_min?: KwpCapabilityStateMinAggregateInputType
|
|
_max?: KwpCapabilityStateMaxAggregateInputType
|
|
}
|
|
|
|
export type KwpCapabilityStateGroupByOutputType = {
|
|
id: string
|
|
tenantId: string
|
|
dataConnectionId: string
|
|
capability: string
|
|
status: $Enums.KwpCapabilityStatus
|
|
reasonCode: string | null
|
|
observedFingerprint: string | null
|
|
approvedFingerprint: string | null
|
|
adapterRevision: string
|
|
revision: number
|
|
pausedAt: Date | null
|
|
lastCheckedAt: Date | null
|
|
approvedAt: Date | null
|
|
approvedByUserId: string | null
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
_count: KwpCapabilityStateCountAggregateOutputType | null
|
|
_avg: KwpCapabilityStateAvgAggregateOutputType | null
|
|
_sum: KwpCapabilityStateSumAggregateOutputType | null
|
|
_min: KwpCapabilityStateMinAggregateOutputType | null
|
|
_max: KwpCapabilityStateMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type GetKwpCapabilityStateGroupByPayload<T extends KwpCapabilityStateGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<KwpCapabilityStateGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof KwpCapabilityStateGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], KwpCapabilityStateGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], KwpCapabilityStateGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type KwpCapabilityStateWhereInput = {
|
|
AND?: Prisma.KwpCapabilityStateWhereInput | Prisma.KwpCapabilityStateWhereInput[]
|
|
OR?: Prisma.KwpCapabilityStateWhereInput[]
|
|
NOT?: Prisma.KwpCapabilityStateWhereInput | Prisma.KwpCapabilityStateWhereInput[]
|
|
id?: Prisma.StringFilter<"KwpCapabilityState"> | string
|
|
tenantId?: Prisma.StringFilter<"KwpCapabilityState"> | string
|
|
dataConnectionId?: Prisma.StringFilter<"KwpCapabilityState"> | string
|
|
capability?: Prisma.StringFilter<"KwpCapabilityState"> | string
|
|
status?: Prisma.EnumKwpCapabilityStatusFilter<"KwpCapabilityState"> | $Enums.KwpCapabilityStatus
|
|
reasonCode?: Prisma.StringNullableFilter<"KwpCapabilityState"> | string | null
|
|
observedFingerprint?: Prisma.StringNullableFilter<"KwpCapabilityState"> | string | null
|
|
approvedFingerprint?: Prisma.StringNullableFilter<"KwpCapabilityState"> | string | null
|
|
adapterRevision?: Prisma.StringFilter<"KwpCapabilityState"> | string
|
|
revision?: Prisma.IntFilter<"KwpCapabilityState"> | number
|
|
pausedAt?: Prisma.DateTimeNullableFilter<"KwpCapabilityState"> | Date | string | null
|
|
lastCheckedAt?: Prisma.DateTimeNullableFilter<"KwpCapabilityState"> | Date | string | null
|
|
approvedAt?: Prisma.DateTimeNullableFilter<"KwpCapabilityState"> | Date | string | null
|
|
approvedByUserId?: Prisma.StringNullableFilter<"KwpCapabilityState"> | string | null
|
|
createdAt?: Prisma.DateTimeFilter<"KwpCapabilityState"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"KwpCapabilityState"> | Date | string
|
|
}
|
|
|
|
export type KwpCapabilityStateOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
dataConnectionId?: Prisma.SortOrder
|
|
capability?: Prisma.SortOrder
|
|
status?: Prisma.SortOrder
|
|
reasonCode?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
observedFingerprint?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
approvedFingerprint?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
adapterRevision?: Prisma.SortOrder
|
|
revision?: Prisma.SortOrder
|
|
pausedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
lastCheckedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
approvedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
approvedByUserId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
}
|
|
|
|
export type KwpCapabilityStateWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: string
|
|
tenantId_dataConnectionId_capability?: Prisma.KwpCapabilityStateTenantIdDataConnectionIdCapabilityCompoundUniqueInput
|
|
AND?: Prisma.KwpCapabilityStateWhereInput | Prisma.KwpCapabilityStateWhereInput[]
|
|
OR?: Prisma.KwpCapabilityStateWhereInput[]
|
|
NOT?: Prisma.KwpCapabilityStateWhereInput | Prisma.KwpCapabilityStateWhereInput[]
|
|
tenantId?: Prisma.StringFilter<"KwpCapabilityState"> | string
|
|
dataConnectionId?: Prisma.StringFilter<"KwpCapabilityState"> | string
|
|
capability?: Prisma.StringFilter<"KwpCapabilityState"> | string
|
|
status?: Prisma.EnumKwpCapabilityStatusFilter<"KwpCapabilityState"> | $Enums.KwpCapabilityStatus
|
|
reasonCode?: Prisma.StringNullableFilter<"KwpCapabilityState"> | string | null
|
|
observedFingerprint?: Prisma.StringNullableFilter<"KwpCapabilityState"> | string | null
|
|
approvedFingerprint?: Prisma.StringNullableFilter<"KwpCapabilityState"> | string | null
|
|
adapterRevision?: Prisma.StringFilter<"KwpCapabilityState"> | string
|
|
revision?: Prisma.IntFilter<"KwpCapabilityState"> | number
|
|
pausedAt?: Prisma.DateTimeNullableFilter<"KwpCapabilityState"> | Date | string | null
|
|
lastCheckedAt?: Prisma.DateTimeNullableFilter<"KwpCapabilityState"> | Date | string | null
|
|
approvedAt?: Prisma.DateTimeNullableFilter<"KwpCapabilityState"> | Date | string | null
|
|
approvedByUserId?: Prisma.StringNullableFilter<"KwpCapabilityState"> | string | null
|
|
createdAt?: Prisma.DateTimeFilter<"KwpCapabilityState"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"KwpCapabilityState"> | Date | string
|
|
}, "id" | "tenantId_dataConnectionId_capability">
|
|
|
|
export type KwpCapabilityStateOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
dataConnectionId?: Prisma.SortOrder
|
|
capability?: Prisma.SortOrder
|
|
status?: Prisma.SortOrder
|
|
reasonCode?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
observedFingerprint?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
approvedFingerprint?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
adapterRevision?: Prisma.SortOrder
|
|
revision?: Prisma.SortOrder
|
|
pausedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
lastCheckedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
approvedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
approvedByUserId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
_count?: Prisma.KwpCapabilityStateCountOrderByAggregateInput
|
|
_avg?: Prisma.KwpCapabilityStateAvgOrderByAggregateInput
|
|
_max?: Prisma.KwpCapabilityStateMaxOrderByAggregateInput
|
|
_min?: Prisma.KwpCapabilityStateMinOrderByAggregateInput
|
|
_sum?: Prisma.KwpCapabilityStateSumOrderByAggregateInput
|
|
}
|
|
|
|
export type KwpCapabilityStateScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.KwpCapabilityStateScalarWhereWithAggregatesInput | Prisma.KwpCapabilityStateScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.KwpCapabilityStateScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.KwpCapabilityStateScalarWhereWithAggregatesInput | Prisma.KwpCapabilityStateScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.StringWithAggregatesFilter<"KwpCapabilityState"> | string
|
|
tenantId?: Prisma.StringWithAggregatesFilter<"KwpCapabilityState"> | string
|
|
dataConnectionId?: Prisma.StringWithAggregatesFilter<"KwpCapabilityState"> | string
|
|
capability?: Prisma.StringWithAggregatesFilter<"KwpCapabilityState"> | string
|
|
status?: Prisma.EnumKwpCapabilityStatusWithAggregatesFilter<"KwpCapabilityState"> | $Enums.KwpCapabilityStatus
|
|
reasonCode?: Prisma.StringNullableWithAggregatesFilter<"KwpCapabilityState"> | string | null
|
|
observedFingerprint?: Prisma.StringNullableWithAggregatesFilter<"KwpCapabilityState"> | string | null
|
|
approvedFingerprint?: Prisma.StringNullableWithAggregatesFilter<"KwpCapabilityState"> | string | null
|
|
adapterRevision?: Prisma.StringWithAggregatesFilter<"KwpCapabilityState"> | string
|
|
revision?: Prisma.IntWithAggregatesFilter<"KwpCapabilityState"> | number
|
|
pausedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"KwpCapabilityState"> | Date | string | null
|
|
lastCheckedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"KwpCapabilityState"> | Date | string | null
|
|
approvedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"KwpCapabilityState"> | Date | string | null
|
|
approvedByUserId?: Prisma.StringNullableWithAggregatesFilter<"KwpCapabilityState"> | string | null
|
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"KwpCapabilityState"> | Date | string
|
|
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"KwpCapabilityState"> | Date | string
|
|
}
|
|
|
|
export type KwpCapabilityStateCreateInput = {
|
|
id?: string
|
|
tenantId: string
|
|
dataConnectionId: string
|
|
capability: string
|
|
status?: $Enums.KwpCapabilityStatus
|
|
reasonCode?: string | null
|
|
observedFingerprint?: string | null
|
|
approvedFingerprint?: string | null
|
|
adapterRevision: string
|
|
revision?: number
|
|
pausedAt?: Date | string | null
|
|
lastCheckedAt?: Date | string | null
|
|
approvedAt?: Date | string | null
|
|
approvedByUserId?: string | null
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
}
|
|
|
|
export type KwpCapabilityStateUncheckedCreateInput = {
|
|
id?: string
|
|
tenantId: string
|
|
dataConnectionId: string
|
|
capability: string
|
|
status?: $Enums.KwpCapabilityStatus
|
|
reasonCode?: string | null
|
|
observedFingerprint?: string | null
|
|
approvedFingerprint?: string | null
|
|
adapterRevision: string
|
|
revision?: number
|
|
pausedAt?: Date | string | null
|
|
lastCheckedAt?: Date | string | null
|
|
approvedAt?: Date | string | null
|
|
approvedByUserId?: string | null
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
}
|
|
|
|
export type KwpCapabilityStateUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
dataConnectionId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
capability?: Prisma.StringFieldUpdateOperationsInput | string
|
|
status?: Prisma.EnumKwpCapabilityStatusFieldUpdateOperationsInput | $Enums.KwpCapabilityStatus
|
|
reasonCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
observedFingerprint?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
approvedFingerprint?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
adapterRevision?: Prisma.StringFieldUpdateOperationsInput | string
|
|
revision?: Prisma.IntFieldUpdateOperationsInput | number
|
|
pausedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
lastCheckedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
approvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
approvedByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
export type KwpCapabilityStateUncheckedUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
dataConnectionId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
capability?: Prisma.StringFieldUpdateOperationsInput | string
|
|
status?: Prisma.EnumKwpCapabilityStatusFieldUpdateOperationsInput | $Enums.KwpCapabilityStatus
|
|
reasonCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
observedFingerprint?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
approvedFingerprint?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
adapterRevision?: Prisma.StringFieldUpdateOperationsInput | string
|
|
revision?: Prisma.IntFieldUpdateOperationsInput | number
|
|
pausedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
lastCheckedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
approvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
approvedByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
export type KwpCapabilityStateCreateManyInput = {
|
|
id?: string
|
|
tenantId: string
|
|
dataConnectionId: string
|
|
capability: string
|
|
status?: $Enums.KwpCapabilityStatus
|
|
reasonCode?: string | null
|
|
observedFingerprint?: string | null
|
|
approvedFingerprint?: string | null
|
|
adapterRevision: string
|
|
revision?: number
|
|
pausedAt?: Date | string | null
|
|
lastCheckedAt?: Date | string | null
|
|
approvedAt?: Date | string | null
|
|
approvedByUserId?: string | null
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
}
|
|
|
|
export type KwpCapabilityStateUpdateManyMutationInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
dataConnectionId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
capability?: Prisma.StringFieldUpdateOperationsInput | string
|
|
status?: Prisma.EnumKwpCapabilityStatusFieldUpdateOperationsInput | $Enums.KwpCapabilityStatus
|
|
reasonCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
observedFingerprint?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
approvedFingerprint?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
adapterRevision?: Prisma.StringFieldUpdateOperationsInput | string
|
|
revision?: Prisma.IntFieldUpdateOperationsInput | number
|
|
pausedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
lastCheckedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
approvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
approvedByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
export type KwpCapabilityStateUncheckedUpdateManyInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
dataConnectionId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
capability?: Prisma.StringFieldUpdateOperationsInput | string
|
|
status?: Prisma.EnumKwpCapabilityStatusFieldUpdateOperationsInput | $Enums.KwpCapabilityStatus
|
|
reasonCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
observedFingerprint?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
approvedFingerprint?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
adapterRevision?: Prisma.StringFieldUpdateOperationsInput | string
|
|
revision?: Prisma.IntFieldUpdateOperationsInput | number
|
|
pausedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
lastCheckedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
approvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
approvedByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
export type KwpCapabilityStateTenantIdDataConnectionIdCapabilityCompoundUniqueInput = {
|
|
tenantId: string
|
|
dataConnectionId: string
|
|
capability: string
|
|
}
|
|
|
|
export type KwpCapabilityStateCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
dataConnectionId?: Prisma.SortOrder
|
|
capability?: Prisma.SortOrder
|
|
status?: Prisma.SortOrder
|
|
reasonCode?: Prisma.SortOrder
|
|
observedFingerprint?: Prisma.SortOrder
|
|
approvedFingerprint?: Prisma.SortOrder
|
|
adapterRevision?: Prisma.SortOrder
|
|
revision?: Prisma.SortOrder
|
|
pausedAt?: Prisma.SortOrder
|
|
lastCheckedAt?: Prisma.SortOrder
|
|
approvedAt?: Prisma.SortOrder
|
|
approvedByUserId?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
}
|
|
|
|
export type KwpCapabilityStateAvgOrderByAggregateInput = {
|
|
revision?: Prisma.SortOrder
|
|
}
|
|
|
|
export type KwpCapabilityStateMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
dataConnectionId?: Prisma.SortOrder
|
|
capability?: Prisma.SortOrder
|
|
status?: Prisma.SortOrder
|
|
reasonCode?: Prisma.SortOrder
|
|
observedFingerprint?: Prisma.SortOrder
|
|
approvedFingerprint?: Prisma.SortOrder
|
|
adapterRevision?: Prisma.SortOrder
|
|
revision?: Prisma.SortOrder
|
|
pausedAt?: Prisma.SortOrder
|
|
lastCheckedAt?: Prisma.SortOrder
|
|
approvedAt?: Prisma.SortOrder
|
|
approvedByUserId?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
}
|
|
|
|
export type KwpCapabilityStateMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
dataConnectionId?: Prisma.SortOrder
|
|
capability?: Prisma.SortOrder
|
|
status?: Prisma.SortOrder
|
|
reasonCode?: Prisma.SortOrder
|
|
observedFingerprint?: Prisma.SortOrder
|
|
approvedFingerprint?: Prisma.SortOrder
|
|
adapterRevision?: Prisma.SortOrder
|
|
revision?: Prisma.SortOrder
|
|
pausedAt?: Prisma.SortOrder
|
|
lastCheckedAt?: Prisma.SortOrder
|
|
approvedAt?: Prisma.SortOrder
|
|
approvedByUserId?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
}
|
|
|
|
export type KwpCapabilityStateSumOrderByAggregateInput = {
|
|
revision?: Prisma.SortOrder
|
|
}
|
|
|
|
export type EnumKwpCapabilityStatusFieldUpdateOperationsInput = {
|
|
set?: $Enums.KwpCapabilityStatus
|
|
}
|
|
|
|
|
|
|
|
export type KwpCapabilityStateSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
tenantId?: boolean
|
|
dataConnectionId?: boolean
|
|
capability?: boolean
|
|
status?: boolean
|
|
reasonCode?: boolean
|
|
observedFingerprint?: boolean
|
|
approvedFingerprint?: boolean
|
|
adapterRevision?: boolean
|
|
revision?: boolean
|
|
pausedAt?: boolean
|
|
lastCheckedAt?: boolean
|
|
approvedAt?: boolean
|
|
approvedByUserId?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
}, ExtArgs["result"]["kwpCapabilityState"]>
|
|
|
|
export type KwpCapabilityStateSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
tenantId?: boolean
|
|
dataConnectionId?: boolean
|
|
capability?: boolean
|
|
status?: boolean
|
|
reasonCode?: boolean
|
|
observedFingerprint?: boolean
|
|
approvedFingerprint?: boolean
|
|
adapterRevision?: boolean
|
|
revision?: boolean
|
|
pausedAt?: boolean
|
|
lastCheckedAt?: boolean
|
|
approvedAt?: boolean
|
|
approvedByUserId?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
}, ExtArgs["result"]["kwpCapabilityState"]>
|
|
|
|
export type KwpCapabilityStateSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
tenantId?: boolean
|
|
dataConnectionId?: boolean
|
|
capability?: boolean
|
|
status?: boolean
|
|
reasonCode?: boolean
|
|
observedFingerprint?: boolean
|
|
approvedFingerprint?: boolean
|
|
adapterRevision?: boolean
|
|
revision?: boolean
|
|
pausedAt?: boolean
|
|
lastCheckedAt?: boolean
|
|
approvedAt?: boolean
|
|
approvedByUserId?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
}, ExtArgs["result"]["kwpCapabilityState"]>
|
|
|
|
export type KwpCapabilityStateSelectScalar = {
|
|
id?: boolean
|
|
tenantId?: boolean
|
|
dataConnectionId?: boolean
|
|
capability?: boolean
|
|
status?: boolean
|
|
reasonCode?: boolean
|
|
observedFingerprint?: boolean
|
|
approvedFingerprint?: boolean
|
|
adapterRevision?: boolean
|
|
revision?: boolean
|
|
pausedAt?: boolean
|
|
lastCheckedAt?: boolean
|
|
approvedAt?: boolean
|
|
approvedByUserId?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
}
|
|
|
|
export type KwpCapabilityStateOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "dataConnectionId" | "capability" | "status" | "reasonCode" | "observedFingerprint" | "approvedFingerprint" | "adapterRevision" | "revision" | "pausedAt" | "lastCheckedAt" | "approvedAt" | "approvedByUserId" | "createdAt" | "updatedAt", ExtArgs["result"]["kwpCapabilityState"]>
|
|
|
|
export type $KwpCapabilityStatePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "KwpCapabilityState"
|
|
objects: {}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: string
|
|
tenantId: string
|
|
dataConnectionId: string
|
|
capability: string
|
|
status: $Enums.KwpCapabilityStatus
|
|
reasonCode: string | null
|
|
observedFingerprint: string | null
|
|
approvedFingerprint: string | null
|
|
adapterRevision: string
|
|
revision: number
|
|
pausedAt: Date | null
|
|
lastCheckedAt: Date | null
|
|
approvedAt: Date | null
|
|
approvedByUserId: string | null
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
}, ExtArgs["result"]["kwpCapabilityState"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type KwpCapabilityStateGetPayload<S extends boolean | null | undefined | KwpCapabilityStateDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$KwpCapabilityStatePayload, S>
|
|
|
|
export type KwpCapabilityStateCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<KwpCapabilityStateFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: KwpCapabilityStateCountAggregateInputType | true
|
|
}
|
|
|
|
export interface KwpCapabilityStateDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['KwpCapabilityState'], meta: { name: 'KwpCapabilityState' } }
|
|
/**
|
|
* Find zero or one KwpCapabilityState that matches the filter.
|
|
* @param {KwpCapabilityStateFindUniqueArgs} args - Arguments to find a KwpCapabilityState
|
|
* @example
|
|
* // Get one KwpCapabilityState
|
|
* const kwpCapabilityState = await prisma.kwpCapabilityState.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends KwpCapabilityStateFindUniqueArgs>(args: Prisma.SelectSubset<T, KwpCapabilityStateFindUniqueArgs<ExtArgs>>): Prisma.Prisma__KwpCapabilityStateClient<runtime.Types.Result.GetResult<Prisma.$KwpCapabilityStatePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one KwpCapabilityState that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {KwpCapabilityStateFindUniqueOrThrowArgs} args - Arguments to find a KwpCapabilityState
|
|
* @example
|
|
* // Get one KwpCapabilityState
|
|
* const kwpCapabilityState = await prisma.kwpCapabilityState.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends KwpCapabilityStateFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, KwpCapabilityStateFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__KwpCapabilityStateClient<runtime.Types.Result.GetResult<Prisma.$KwpCapabilityStatePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first KwpCapabilityState 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 {KwpCapabilityStateFindFirstArgs} args - Arguments to find a KwpCapabilityState
|
|
* @example
|
|
* // Get one KwpCapabilityState
|
|
* const kwpCapabilityState = await prisma.kwpCapabilityState.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends KwpCapabilityStateFindFirstArgs>(args?: Prisma.SelectSubset<T, KwpCapabilityStateFindFirstArgs<ExtArgs>>): Prisma.Prisma__KwpCapabilityStateClient<runtime.Types.Result.GetResult<Prisma.$KwpCapabilityStatePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first KwpCapabilityState 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 {KwpCapabilityStateFindFirstOrThrowArgs} args - Arguments to find a KwpCapabilityState
|
|
* @example
|
|
* // Get one KwpCapabilityState
|
|
* const kwpCapabilityState = await prisma.kwpCapabilityState.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends KwpCapabilityStateFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, KwpCapabilityStateFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__KwpCapabilityStateClient<runtime.Types.Result.GetResult<Prisma.$KwpCapabilityStatePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more KwpCapabilityStates 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 {KwpCapabilityStateFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all KwpCapabilityStates
|
|
* const kwpCapabilityStates = await prisma.kwpCapabilityState.findMany()
|
|
*
|
|
* // Get first 10 KwpCapabilityStates
|
|
* const kwpCapabilityStates = await prisma.kwpCapabilityState.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const kwpCapabilityStateWithIdOnly = await prisma.kwpCapabilityState.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends KwpCapabilityStateFindManyArgs>(args?: Prisma.SelectSubset<T, KwpCapabilityStateFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$KwpCapabilityStatePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a KwpCapabilityState.
|
|
* @param {KwpCapabilityStateCreateArgs} args - Arguments to create a KwpCapabilityState.
|
|
* @example
|
|
* // Create one KwpCapabilityState
|
|
* const KwpCapabilityState = await prisma.kwpCapabilityState.create({
|
|
* data: {
|
|
* // ... data to create a KwpCapabilityState
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends KwpCapabilityStateCreateArgs>(args: Prisma.SelectSubset<T, KwpCapabilityStateCreateArgs<ExtArgs>>): Prisma.Prisma__KwpCapabilityStateClient<runtime.Types.Result.GetResult<Prisma.$KwpCapabilityStatePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many KwpCapabilityStates.
|
|
* @param {KwpCapabilityStateCreateManyArgs} args - Arguments to create many KwpCapabilityStates.
|
|
* @example
|
|
* // Create many KwpCapabilityStates
|
|
* const kwpCapabilityState = await prisma.kwpCapabilityState.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends KwpCapabilityStateCreateManyArgs>(args?: Prisma.SelectSubset<T, KwpCapabilityStateCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create many KwpCapabilityStates and returns the data saved in the database.
|
|
* @param {KwpCapabilityStateCreateManyAndReturnArgs} args - Arguments to create many KwpCapabilityStates.
|
|
* @example
|
|
* // Create many KwpCapabilityStates
|
|
* const kwpCapabilityState = await prisma.kwpCapabilityState.createManyAndReturn({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Create many KwpCapabilityStates and only return the `id`
|
|
* const kwpCapabilityStateWithIdOnly = await prisma.kwpCapabilityState.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 KwpCapabilityStateCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, KwpCapabilityStateCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$KwpCapabilityStatePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Delete a KwpCapabilityState.
|
|
* @param {KwpCapabilityStateDeleteArgs} args - Arguments to delete one KwpCapabilityState.
|
|
* @example
|
|
* // Delete one KwpCapabilityState
|
|
* const KwpCapabilityState = await prisma.kwpCapabilityState.delete({
|
|
* where: {
|
|
* // ... filter to delete one KwpCapabilityState
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends KwpCapabilityStateDeleteArgs>(args: Prisma.SelectSubset<T, KwpCapabilityStateDeleteArgs<ExtArgs>>): Prisma.Prisma__KwpCapabilityStateClient<runtime.Types.Result.GetResult<Prisma.$KwpCapabilityStatePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one KwpCapabilityState.
|
|
* @param {KwpCapabilityStateUpdateArgs} args - Arguments to update one KwpCapabilityState.
|
|
* @example
|
|
* // Update one KwpCapabilityState
|
|
* const kwpCapabilityState = await prisma.kwpCapabilityState.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends KwpCapabilityStateUpdateArgs>(args: Prisma.SelectSubset<T, KwpCapabilityStateUpdateArgs<ExtArgs>>): Prisma.Prisma__KwpCapabilityStateClient<runtime.Types.Result.GetResult<Prisma.$KwpCapabilityStatePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more KwpCapabilityStates.
|
|
* @param {KwpCapabilityStateDeleteManyArgs} args - Arguments to filter KwpCapabilityStates to delete.
|
|
* @example
|
|
* // Delete a few KwpCapabilityStates
|
|
* const { count } = await prisma.kwpCapabilityState.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends KwpCapabilityStateDeleteManyArgs>(args?: Prisma.SelectSubset<T, KwpCapabilityStateDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more KwpCapabilityStates.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {KwpCapabilityStateUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many KwpCapabilityStates
|
|
* const kwpCapabilityState = await prisma.kwpCapabilityState.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends KwpCapabilityStateUpdateManyArgs>(args: Prisma.SelectSubset<T, KwpCapabilityStateUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more KwpCapabilityStates and returns the data updated in the database.
|
|
* @param {KwpCapabilityStateUpdateManyAndReturnArgs} args - Arguments to update many KwpCapabilityStates.
|
|
* @example
|
|
* // Update many KwpCapabilityStates
|
|
* const kwpCapabilityState = await prisma.kwpCapabilityState.updateManyAndReturn({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Update zero or more KwpCapabilityStates and only return the `id`
|
|
* const kwpCapabilityStateWithIdOnly = await prisma.kwpCapabilityState.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 KwpCapabilityStateUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, KwpCapabilityStateUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$KwpCapabilityStatePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create or update one KwpCapabilityState.
|
|
* @param {KwpCapabilityStateUpsertArgs} args - Arguments to update or create a KwpCapabilityState.
|
|
* @example
|
|
* // Update or create a KwpCapabilityState
|
|
* const kwpCapabilityState = await prisma.kwpCapabilityState.upsert({
|
|
* create: {
|
|
* // ... data to create a KwpCapabilityState
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the KwpCapabilityState we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends KwpCapabilityStateUpsertArgs>(args: Prisma.SelectSubset<T, KwpCapabilityStateUpsertArgs<ExtArgs>>): Prisma.Prisma__KwpCapabilityStateClient<runtime.Types.Result.GetResult<Prisma.$KwpCapabilityStatePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of KwpCapabilityStates.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {KwpCapabilityStateCountArgs} args - Arguments to filter KwpCapabilityStates to count.
|
|
* @example
|
|
* // Count the number of KwpCapabilityStates
|
|
* const count = await prisma.kwpCapabilityState.count({
|
|
* where: {
|
|
* // ... the filter for the KwpCapabilityStates we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends KwpCapabilityStateCountArgs>(
|
|
args?: Prisma.Subset<T, KwpCapabilityStateCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], KwpCapabilityStateCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a KwpCapabilityState.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {KwpCapabilityStateAggregateArgs} 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 KwpCapabilityStateAggregateArgs>(args: Prisma.Subset<T, KwpCapabilityStateAggregateArgs>): Prisma.PrismaPromise<GetKwpCapabilityStateAggregateType<T>>
|
|
|
|
/**
|
|
* Group by KwpCapabilityState.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {KwpCapabilityStateGroupByArgs} 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 KwpCapabilityStateGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: KwpCapabilityStateGroupByArgs['orderBy'] }
|
|
: { orderBy?: KwpCapabilityStateGroupByArgs['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, KwpCapabilityStateGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetKwpCapabilityStateGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the KwpCapabilityState model
|
|
*/
|
|
readonly fields: KwpCapabilityStateFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for KwpCapabilityState.
|
|
* 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__KwpCapabilityStateClient<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 KwpCapabilityState model
|
|
*/
|
|
export interface KwpCapabilityStateFieldRefs {
|
|
readonly id: Prisma.FieldRef<"KwpCapabilityState", 'String'>
|
|
readonly tenantId: Prisma.FieldRef<"KwpCapabilityState", 'String'>
|
|
readonly dataConnectionId: Prisma.FieldRef<"KwpCapabilityState", 'String'>
|
|
readonly capability: Prisma.FieldRef<"KwpCapabilityState", 'String'>
|
|
readonly status: Prisma.FieldRef<"KwpCapabilityState", 'KwpCapabilityStatus'>
|
|
readonly reasonCode: Prisma.FieldRef<"KwpCapabilityState", 'String'>
|
|
readonly observedFingerprint: Prisma.FieldRef<"KwpCapabilityState", 'String'>
|
|
readonly approvedFingerprint: Prisma.FieldRef<"KwpCapabilityState", 'String'>
|
|
readonly adapterRevision: Prisma.FieldRef<"KwpCapabilityState", 'String'>
|
|
readonly revision: Prisma.FieldRef<"KwpCapabilityState", 'Int'>
|
|
readonly pausedAt: Prisma.FieldRef<"KwpCapabilityState", 'DateTime'>
|
|
readonly lastCheckedAt: Prisma.FieldRef<"KwpCapabilityState", 'DateTime'>
|
|
readonly approvedAt: Prisma.FieldRef<"KwpCapabilityState", 'DateTime'>
|
|
readonly approvedByUserId: Prisma.FieldRef<"KwpCapabilityState", 'String'>
|
|
readonly createdAt: Prisma.FieldRef<"KwpCapabilityState", 'DateTime'>
|
|
readonly updatedAt: Prisma.FieldRef<"KwpCapabilityState", 'DateTime'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* KwpCapabilityState findUnique
|
|
*/
|
|
export type KwpCapabilityStateFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the KwpCapabilityState
|
|
*/
|
|
select?: Prisma.KwpCapabilityStateSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the KwpCapabilityState
|
|
*/
|
|
omit?: Prisma.KwpCapabilityStateOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which KwpCapabilityState to fetch.
|
|
*/
|
|
where: Prisma.KwpCapabilityStateWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* KwpCapabilityState findUniqueOrThrow
|
|
*/
|
|
export type KwpCapabilityStateFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the KwpCapabilityState
|
|
*/
|
|
select?: Prisma.KwpCapabilityStateSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the KwpCapabilityState
|
|
*/
|
|
omit?: Prisma.KwpCapabilityStateOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which KwpCapabilityState to fetch.
|
|
*/
|
|
where: Prisma.KwpCapabilityStateWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* KwpCapabilityState findFirst
|
|
*/
|
|
export type KwpCapabilityStateFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the KwpCapabilityState
|
|
*/
|
|
select?: Prisma.KwpCapabilityStateSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the KwpCapabilityState
|
|
*/
|
|
omit?: Prisma.KwpCapabilityStateOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which KwpCapabilityState to fetch.
|
|
*/
|
|
where?: Prisma.KwpCapabilityStateWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of KwpCapabilityStates to fetch.
|
|
*/
|
|
orderBy?: Prisma.KwpCapabilityStateOrderByWithRelationInput | Prisma.KwpCapabilityStateOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for KwpCapabilityStates.
|
|
*/
|
|
cursor?: Prisma.KwpCapabilityStateWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` KwpCapabilityStates 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` KwpCapabilityStates.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of KwpCapabilityStates.
|
|
*/
|
|
distinct?: Prisma.KwpCapabilityStateScalarFieldEnum | Prisma.KwpCapabilityStateScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* KwpCapabilityState findFirstOrThrow
|
|
*/
|
|
export type KwpCapabilityStateFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the KwpCapabilityState
|
|
*/
|
|
select?: Prisma.KwpCapabilityStateSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the KwpCapabilityState
|
|
*/
|
|
omit?: Prisma.KwpCapabilityStateOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which KwpCapabilityState to fetch.
|
|
*/
|
|
where?: Prisma.KwpCapabilityStateWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of KwpCapabilityStates to fetch.
|
|
*/
|
|
orderBy?: Prisma.KwpCapabilityStateOrderByWithRelationInput | Prisma.KwpCapabilityStateOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for KwpCapabilityStates.
|
|
*/
|
|
cursor?: Prisma.KwpCapabilityStateWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` KwpCapabilityStates 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` KwpCapabilityStates.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of KwpCapabilityStates.
|
|
*/
|
|
distinct?: Prisma.KwpCapabilityStateScalarFieldEnum | Prisma.KwpCapabilityStateScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* KwpCapabilityState findMany
|
|
*/
|
|
export type KwpCapabilityStateFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the KwpCapabilityState
|
|
*/
|
|
select?: Prisma.KwpCapabilityStateSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the KwpCapabilityState
|
|
*/
|
|
omit?: Prisma.KwpCapabilityStateOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which KwpCapabilityStates to fetch.
|
|
*/
|
|
where?: Prisma.KwpCapabilityStateWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of KwpCapabilityStates to fetch.
|
|
*/
|
|
orderBy?: Prisma.KwpCapabilityStateOrderByWithRelationInput | Prisma.KwpCapabilityStateOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing KwpCapabilityStates.
|
|
*/
|
|
cursor?: Prisma.KwpCapabilityStateWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` KwpCapabilityStates 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` KwpCapabilityStates.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of KwpCapabilityStates.
|
|
*/
|
|
distinct?: Prisma.KwpCapabilityStateScalarFieldEnum | Prisma.KwpCapabilityStateScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* KwpCapabilityState create
|
|
*/
|
|
export type KwpCapabilityStateCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the KwpCapabilityState
|
|
*/
|
|
select?: Prisma.KwpCapabilityStateSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the KwpCapabilityState
|
|
*/
|
|
omit?: Prisma.KwpCapabilityStateOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a KwpCapabilityState.
|
|
*/
|
|
data: Prisma.XOR<Prisma.KwpCapabilityStateCreateInput, Prisma.KwpCapabilityStateUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* KwpCapabilityState createMany
|
|
*/
|
|
export type KwpCapabilityStateCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many KwpCapabilityStates.
|
|
*/
|
|
data: Prisma.KwpCapabilityStateCreateManyInput | Prisma.KwpCapabilityStateCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* KwpCapabilityState createManyAndReturn
|
|
*/
|
|
export type KwpCapabilityStateCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the KwpCapabilityState
|
|
*/
|
|
select?: Prisma.KwpCapabilityStateSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the KwpCapabilityState
|
|
*/
|
|
omit?: Prisma.KwpCapabilityStateOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to create many KwpCapabilityStates.
|
|
*/
|
|
data: Prisma.KwpCapabilityStateCreateManyInput | Prisma.KwpCapabilityStateCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* KwpCapabilityState update
|
|
*/
|
|
export type KwpCapabilityStateUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the KwpCapabilityState
|
|
*/
|
|
select?: Prisma.KwpCapabilityStateSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the KwpCapabilityState
|
|
*/
|
|
omit?: Prisma.KwpCapabilityStateOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a KwpCapabilityState.
|
|
*/
|
|
data: Prisma.XOR<Prisma.KwpCapabilityStateUpdateInput, Prisma.KwpCapabilityStateUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which KwpCapabilityState to update.
|
|
*/
|
|
where: Prisma.KwpCapabilityStateWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* KwpCapabilityState updateMany
|
|
*/
|
|
export type KwpCapabilityStateUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update KwpCapabilityStates.
|
|
*/
|
|
data: Prisma.XOR<Prisma.KwpCapabilityStateUpdateManyMutationInput, Prisma.KwpCapabilityStateUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which KwpCapabilityStates to update
|
|
*/
|
|
where?: Prisma.KwpCapabilityStateWhereInput
|
|
/**
|
|
* Limit how many KwpCapabilityStates to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* KwpCapabilityState updateManyAndReturn
|
|
*/
|
|
export type KwpCapabilityStateUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the KwpCapabilityState
|
|
*/
|
|
select?: Prisma.KwpCapabilityStateSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the KwpCapabilityState
|
|
*/
|
|
omit?: Prisma.KwpCapabilityStateOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update KwpCapabilityStates.
|
|
*/
|
|
data: Prisma.XOR<Prisma.KwpCapabilityStateUpdateManyMutationInput, Prisma.KwpCapabilityStateUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which KwpCapabilityStates to update
|
|
*/
|
|
where?: Prisma.KwpCapabilityStateWhereInput
|
|
/**
|
|
* Limit how many KwpCapabilityStates to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* KwpCapabilityState upsert
|
|
*/
|
|
export type KwpCapabilityStateUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the KwpCapabilityState
|
|
*/
|
|
select?: Prisma.KwpCapabilityStateSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the KwpCapabilityState
|
|
*/
|
|
omit?: Prisma.KwpCapabilityStateOmit<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the KwpCapabilityState to update in case it exists.
|
|
*/
|
|
where: Prisma.KwpCapabilityStateWhereUniqueInput
|
|
/**
|
|
* In case the KwpCapabilityState found by the `where` argument doesn't exist, create a new KwpCapabilityState with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.KwpCapabilityStateCreateInput, Prisma.KwpCapabilityStateUncheckedCreateInput>
|
|
/**
|
|
* In case the KwpCapabilityState was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.KwpCapabilityStateUpdateInput, Prisma.KwpCapabilityStateUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* KwpCapabilityState delete
|
|
*/
|
|
export type KwpCapabilityStateDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the KwpCapabilityState
|
|
*/
|
|
select?: Prisma.KwpCapabilityStateSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the KwpCapabilityState
|
|
*/
|
|
omit?: Prisma.KwpCapabilityStateOmit<ExtArgs> | null
|
|
/**
|
|
* Filter which KwpCapabilityState to delete.
|
|
*/
|
|
where: Prisma.KwpCapabilityStateWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* KwpCapabilityState deleteMany
|
|
*/
|
|
export type KwpCapabilityStateDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which KwpCapabilityStates to delete
|
|
*/
|
|
where?: Prisma.KwpCapabilityStateWhereInput
|
|
/**
|
|
* Limit how many KwpCapabilityStates to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* KwpCapabilityState without action
|
|
*/
|
|
export type KwpCapabilityStateDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the KwpCapabilityState
|
|
*/
|
|
select?: Prisma.KwpCapabilityStateSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the KwpCapabilityState
|
|
*/
|
|
omit?: Prisma.KwpCapabilityStateOmit<ExtArgs> | null
|
|
}
|