1348 lines
50 KiB
TypeScript
1348 lines
50 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 `KwpProjectRouting` 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 KwpProjectRouting
|
|
* Stable provider-status to HiveGrid Pipeline/Stage routing. Names are never
|
|
* used as runtime identifiers; archived/missing targets quarantine the item.
|
|
*/
|
|
export type KwpProjectRoutingModel = runtime.Types.Result.DefaultSelection<Prisma.$KwpProjectRoutingPayload>
|
|
|
|
export type AggregateKwpProjectRouting = {
|
|
_count: KwpProjectRoutingCountAggregateOutputType | null
|
|
_avg: KwpProjectRoutingAvgAggregateOutputType | null
|
|
_sum: KwpProjectRoutingSumAggregateOutputType | null
|
|
_min: KwpProjectRoutingMinAggregateOutputType | null
|
|
_max: KwpProjectRoutingMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type KwpProjectRoutingAvgAggregateOutputType = {
|
|
externalStatus: number | null
|
|
revision: number | null
|
|
}
|
|
|
|
export type KwpProjectRoutingSumAggregateOutputType = {
|
|
externalStatus: number | null
|
|
revision: number | null
|
|
}
|
|
|
|
export type KwpProjectRoutingMinAggregateOutputType = {
|
|
id: string | null
|
|
tenantId: string | null
|
|
dataConnectionId: string | null
|
|
externalStatus: number | null
|
|
pipelineId: string | null
|
|
stageId: string | null
|
|
revision: number | null
|
|
createdByUserId: string | null
|
|
createdAt: Date | null
|
|
updatedAt: Date | null
|
|
}
|
|
|
|
export type KwpProjectRoutingMaxAggregateOutputType = {
|
|
id: string | null
|
|
tenantId: string | null
|
|
dataConnectionId: string | null
|
|
externalStatus: number | null
|
|
pipelineId: string | null
|
|
stageId: string | null
|
|
revision: number | null
|
|
createdByUserId: string | null
|
|
createdAt: Date | null
|
|
updatedAt: Date | null
|
|
}
|
|
|
|
export type KwpProjectRoutingCountAggregateOutputType = {
|
|
id: number
|
|
tenantId: number
|
|
dataConnectionId: number
|
|
externalStatus: number
|
|
pipelineId: number
|
|
stageId: number
|
|
revision: number
|
|
createdByUserId: number
|
|
createdAt: number
|
|
updatedAt: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type KwpProjectRoutingAvgAggregateInputType = {
|
|
externalStatus?: true
|
|
revision?: true
|
|
}
|
|
|
|
export type KwpProjectRoutingSumAggregateInputType = {
|
|
externalStatus?: true
|
|
revision?: true
|
|
}
|
|
|
|
export type KwpProjectRoutingMinAggregateInputType = {
|
|
id?: true
|
|
tenantId?: true
|
|
dataConnectionId?: true
|
|
externalStatus?: true
|
|
pipelineId?: true
|
|
stageId?: true
|
|
revision?: true
|
|
createdByUserId?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
}
|
|
|
|
export type KwpProjectRoutingMaxAggregateInputType = {
|
|
id?: true
|
|
tenantId?: true
|
|
dataConnectionId?: true
|
|
externalStatus?: true
|
|
pipelineId?: true
|
|
stageId?: true
|
|
revision?: true
|
|
createdByUserId?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
}
|
|
|
|
export type KwpProjectRoutingCountAggregateInputType = {
|
|
id?: true
|
|
tenantId?: true
|
|
dataConnectionId?: true
|
|
externalStatus?: true
|
|
pipelineId?: true
|
|
stageId?: true
|
|
revision?: true
|
|
createdByUserId?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type KwpProjectRoutingAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which KwpProjectRouting to aggregate.
|
|
*/
|
|
where?: Prisma.KwpProjectRoutingWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of KwpProjectRoutings to fetch.
|
|
*/
|
|
orderBy?: Prisma.KwpProjectRoutingOrderByWithRelationInput | Prisma.KwpProjectRoutingOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.KwpProjectRoutingWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` KwpProjectRoutings 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` KwpProjectRoutings.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned KwpProjectRoutings
|
|
**/
|
|
_count?: true | KwpProjectRoutingCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to average
|
|
**/
|
|
_avg?: KwpProjectRoutingAvgAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to sum
|
|
**/
|
|
_sum?: KwpProjectRoutingSumAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: KwpProjectRoutingMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: KwpProjectRoutingMaxAggregateInputType
|
|
}
|
|
|
|
export type GetKwpProjectRoutingAggregateType<T extends KwpProjectRoutingAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateKwpProjectRouting]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateKwpProjectRouting[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateKwpProjectRouting[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type KwpProjectRoutingGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.KwpProjectRoutingWhereInput
|
|
orderBy?: Prisma.KwpProjectRoutingOrderByWithAggregationInput | Prisma.KwpProjectRoutingOrderByWithAggregationInput[]
|
|
by: Prisma.KwpProjectRoutingScalarFieldEnum[] | Prisma.KwpProjectRoutingScalarFieldEnum
|
|
having?: Prisma.KwpProjectRoutingScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: KwpProjectRoutingCountAggregateInputType | true
|
|
_avg?: KwpProjectRoutingAvgAggregateInputType
|
|
_sum?: KwpProjectRoutingSumAggregateInputType
|
|
_min?: KwpProjectRoutingMinAggregateInputType
|
|
_max?: KwpProjectRoutingMaxAggregateInputType
|
|
}
|
|
|
|
export type KwpProjectRoutingGroupByOutputType = {
|
|
id: string
|
|
tenantId: string
|
|
dataConnectionId: string
|
|
externalStatus: number
|
|
pipelineId: string
|
|
stageId: string
|
|
revision: number
|
|
createdByUserId: string | null
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
_count: KwpProjectRoutingCountAggregateOutputType | null
|
|
_avg: KwpProjectRoutingAvgAggregateOutputType | null
|
|
_sum: KwpProjectRoutingSumAggregateOutputType | null
|
|
_min: KwpProjectRoutingMinAggregateOutputType | null
|
|
_max: KwpProjectRoutingMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type GetKwpProjectRoutingGroupByPayload<T extends KwpProjectRoutingGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<KwpProjectRoutingGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof KwpProjectRoutingGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], KwpProjectRoutingGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], KwpProjectRoutingGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type KwpProjectRoutingWhereInput = {
|
|
AND?: Prisma.KwpProjectRoutingWhereInput | Prisma.KwpProjectRoutingWhereInput[]
|
|
OR?: Prisma.KwpProjectRoutingWhereInput[]
|
|
NOT?: Prisma.KwpProjectRoutingWhereInput | Prisma.KwpProjectRoutingWhereInput[]
|
|
id?: Prisma.StringFilter<"KwpProjectRouting"> | string
|
|
tenantId?: Prisma.StringFilter<"KwpProjectRouting"> | string
|
|
dataConnectionId?: Prisma.StringFilter<"KwpProjectRouting"> | string
|
|
externalStatus?: Prisma.IntFilter<"KwpProjectRouting"> | number
|
|
pipelineId?: Prisma.StringFilter<"KwpProjectRouting"> | string
|
|
stageId?: Prisma.StringFilter<"KwpProjectRouting"> | string
|
|
revision?: Prisma.IntFilter<"KwpProjectRouting"> | number
|
|
createdByUserId?: Prisma.StringNullableFilter<"KwpProjectRouting"> | string | null
|
|
createdAt?: Prisma.DateTimeFilter<"KwpProjectRouting"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"KwpProjectRouting"> | Date | string
|
|
}
|
|
|
|
export type KwpProjectRoutingOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
dataConnectionId?: Prisma.SortOrder
|
|
externalStatus?: Prisma.SortOrder
|
|
pipelineId?: Prisma.SortOrder
|
|
stageId?: Prisma.SortOrder
|
|
revision?: Prisma.SortOrder
|
|
createdByUserId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
}
|
|
|
|
export type KwpProjectRoutingWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: string
|
|
tenantId_dataConnectionId_externalStatus?: Prisma.KwpProjectRoutingTenantIdDataConnectionIdExternalStatusCompoundUniqueInput
|
|
AND?: Prisma.KwpProjectRoutingWhereInput | Prisma.KwpProjectRoutingWhereInput[]
|
|
OR?: Prisma.KwpProjectRoutingWhereInput[]
|
|
NOT?: Prisma.KwpProjectRoutingWhereInput | Prisma.KwpProjectRoutingWhereInput[]
|
|
tenantId?: Prisma.StringFilter<"KwpProjectRouting"> | string
|
|
dataConnectionId?: Prisma.StringFilter<"KwpProjectRouting"> | string
|
|
externalStatus?: Prisma.IntFilter<"KwpProjectRouting"> | number
|
|
pipelineId?: Prisma.StringFilter<"KwpProjectRouting"> | string
|
|
stageId?: Prisma.StringFilter<"KwpProjectRouting"> | string
|
|
revision?: Prisma.IntFilter<"KwpProjectRouting"> | number
|
|
createdByUserId?: Prisma.StringNullableFilter<"KwpProjectRouting"> | string | null
|
|
createdAt?: Prisma.DateTimeFilter<"KwpProjectRouting"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"KwpProjectRouting"> | Date | string
|
|
}, "id" | "tenantId_dataConnectionId_externalStatus">
|
|
|
|
export type KwpProjectRoutingOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
dataConnectionId?: Prisma.SortOrder
|
|
externalStatus?: Prisma.SortOrder
|
|
pipelineId?: Prisma.SortOrder
|
|
stageId?: Prisma.SortOrder
|
|
revision?: Prisma.SortOrder
|
|
createdByUserId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
_count?: Prisma.KwpProjectRoutingCountOrderByAggregateInput
|
|
_avg?: Prisma.KwpProjectRoutingAvgOrderByAggregateInput
|
|
_max?: Prisma.KwpProjectRoutingMaxOrderByAggregateInput
|
|
_min?: Prisma.KwpProjectRoutingMinOrderByAggregateInput
|
|
_sum?: Prisma.KwpProjectRoutingSumOrderByAggregateInput
|
|
}
|
|
|
|
export type KwpProjectRoutingScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.KwpProjectRoutingScalarWhereWithAggregatesInput | Prisma.KwpProjectRoutingScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.KwpProjectRoutingScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.KwpProjectRoutingScalarWhereWithAggregatesInput | Prisma.KwpProjectRoutingScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.StringWithAggregatesFilter<"KwpProjectRouting"> | string
|
|
tenantId?: Prisma.StringWithAggregatesFilter<"KwpProjectRouting"> | string
|
|
dataConnectionId?: Prisma.StringWithAggregatesFilter<"KwpProjectRouting"> | string
|
|
externalStatus?: Prisma.IntWithAggregatesFilter<"KwpProjectRouting"> | number
|
|
pipelineId?: Prisma.StringWithAggregatesFilter<"KwpProjectRouting"> | string
|
|
stageId?: Prisma.StringWithAggregatesFilter<"KwpProjectRouting"> | string
|
|
revision?: Prisma.IntWithAggregatesFilter<"KwpProjectRouting"> | number
|
|
createdByUserId?: Prisma.StringNullableWithAggregatesFilter<"KwpProjectRouting"> | string | null
|
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"KwpProjectRouting"> | Date | string
|
|
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"KwpProjectRouting"> | Date | string
|
|
}
|
|
|
|
export type KwpProjectRoutingCreateInput = {
|
|
id?: string
|
|
tenantId: string
|
|
dataConnectionId: string
|
|
externalStatus: number
|
|
pipelineId: string
|
|
stageId: string
|
|
revision?: number
|
|
createdByUserId?: string | null
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
}
|
|
|
|
export type KwpProjectRoutingUncheckedCreateInput = {
|
|
id?: string
|
|
tenantId: string
|
|
dataConnectionId: string
|
|
externalStatus: number
|
|
pipelineId: string
|
|
stageId: string
|
|
revision?: number
|
|
createdByUserId?: string | null
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
}
|
|
|
|
export type KwpProjectRoutingUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
dataConnectionId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
externalStatus?: Prisma.IntFieldUpdateOperationsInput | number
|
|
pipelineId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
stageId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
revision?: Prisma.IntFieldUpdateOperationsInput | number
|
|
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
export type KwpProjectRoutingUncheckedUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
dataConnectionId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
externalStatus?: Prisma.IntFieldUpdateOperationsInput | number
|
|
pipelineId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
stageId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
revision?: Prisma.IntFieldUpdateOperationsInput | number
|
|
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
export type KwpProjectRoutingCreateManyInput = {
|
|
id?: string
|
|
tenantId: string
|
|
dataConnectionId: string
|
|
externalStatus: number
|
|
pipelineId: string
|
|
stageId: string
|
|
revision?: number
|
|
createdByUserId?: string | null
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
}
|
|
|
|
export type KwpProjectRoutingUpdateManyMutationInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
dataConnectionId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
externalStatus?: Prisma.IntFieldUpdateOperationsInput | number
|
|
pipelineId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
stageId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
revision?: Prisma.IntFieldUpdateOperationsInput | number
|
|
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
export type KwpProjectRoutingUncheckedUpdateManyInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
dataConnectionId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
externalStatus?: Prisma.IntFieldUpdateOperationsInput | number
|
|
pipelineId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
stageId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
revision?: Prisma.IntFieldUpdateOperationsInput | number
|
|
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
export type KwpProjectRoutingTenantIdDataConnectionIdExternalStatusCompoundUniqueInput = {
|
|
tenantId: string
|
|
dataConnectionId: string
|
|
externalStatus: number
|
|
}
|
|
|
|
export type KwpProjectRoutingCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
dataConnectionId?: Prisma.SortOrder
|
|
externalStatus?: Prisma.SortOrder
|
|
pipelineId?: Prisma.SortOrder
|
|
stageId?: Prisma.SortOrder
|
|
revision?: Prisma.SortOrder
|
|
createdByUserId?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
}
|
|
|
|
export type KwpProjectRoutingAvgOrderByAggregateInput = {
|
|
externalStatus?: Prisma.SortOrder
|
|
revision?: Prisma.SortOrder
|
|
}
|
|
|
|
export type KwpProjectRoutingMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
dataConnectionId?: Prisma.SortOrder
|
|
externalStatus?: Prisma.SortOrder
|
|
pipelineId?: Prisma.SortOrder
|
|
stageId?: Prisma.SortOrder
|
|
revision?: Prisma.SortOrder
|
|
createdByUserId?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
}
|
|
|
|
export type KwpProjectRoutingMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
dataConnectionId?: Prisma.SortOrder
|
|
externalStatus?: Prisma.SortOrder
|
|
pipelineId?: Prisma.SortOrder
|
|
stageId?: Prisma.SortOrder
|
|
revision?: Prisma.SortOrder
|
|
createdByUserId?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
}
|
|
|
|
export type KwpProjectRoutingSumOrderByAggregateInput = {
|
|
externalStatus?: Prisma.SortOrder
|
|
revision?: Prisma.SortOrder
|
|
}
|
|
|
|
|
|
|
|
export type KwpProjectRoutingSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
tenantId?: boolean
|
|
dataConnectionId?: boolean
|
|
externalStatus?: boolean
|
|
pipelineId?: boolean
|
|
stageId?: boolean
|
|
revision?: boolean
|
|
createdByUserId?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
}, ExtArgs["result"]["kwpProjectRouting"]>
|
|
|
|
export type KwpProjectRoutingSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
tenantId?: boolean
|
|
dataConnectionId?: boolean
|
|
externalStatus?: boolean
|
|
pipelineId?: boolean
|
|
stageId?: boolean
|
|
revision?: boolean
|
|
createdByUserId?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
}, ExtArgs["result"]["kwpProjectRouting"]>
|
|
|
|
export type KwpProjectRoutingSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
tenantId?: boolean
|
|
dataConnectionId?: boolean
|
|
externalStatus?: boolean
|
|
pipelineId?: boolean
|
|
stageId?: boolean
|
|
revision?: boolean
|
|
createdByUserId?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
}, ExtArgs["result"]["kwpProjectRouting"]>
|
|
|
|
export type KwpProjectRoutingSelectScalar = {
|
|
id?: boolean
|
|
tenantId?: boolean
|
|
dataConnectionId?: boolean
|
|
externalStatus?: boolean
|
|
pipelineId?: boolean
|
|
stageId?: boolean
|
|
revision?: boolean
|
|
createdByUserId?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
}
|
|
|
|
export type KwpProjectRoutingOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "dataConnectionId" | "externalStatus" | "pipelineId" | "stageId" | "revision" | "createdByUserId" | "createdAt" | "updatedAt", ExtArgs["result"]["kwpProjectRouting"]>
|
|
|
|
export type $KwpProjectRoutingPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "KwpProjectRouting"
|
|
objects: {}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: string
|
|
tenantId: string
|
|
dataConnectionId: string
|
|
externalStatus: number
|
|
pipelineId: string
|
|
stageId: string
|
|
revision: number
|
|
createdByUserId: string | null
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
}, ExtArgs["result"]["kwpProjectRouting"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type KwpProjectRoutingGetPayload<S extends boolean | null | undefined | KwpProjectRoutingDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$KwpProjectRoutingPayload, S>
|
|
|
|
export type KwpProjectRoutingCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<KwpProjectRoutingFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: KwpProjectRoutingCountAggregateInputType | true
|
|
}
|
|
|
|
export interface KwpProjectRoutingDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['KwpProjectRouting'], meta: { name: 'KwpProjectRouting' } }
|
|
/**
|
|
* Find zero or one KwpProjectRouting that matches the filter.
|
|
* @param {KwpProjectRoutingFindUniqueArgs} args - Arguments to find a KwpProjectRouting
|
|
* @example
|
|
* // Get one KwpProjectRouting
|
|
* const kwpProjectRouting = await prisma.kwpProjectRouting.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends KwpProjectRoutingFindUniqueArgs>(args: Prisma.SelectSubset<T, KwpProjectRoutingFindUniqueArgs<ExtArgs>>): Prisma.Prisma__KwpProjectRoutingClient<runtime.Types.Result.GetResult<Prisma.$KwpProjectRoutingPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one KwpProjectRouting that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {KwpProjectRoutingFindUniqueOrThrowArgs} args - Arguments to find a KwpProjectRouting
|
|
* @example
|
|
* // Get one KwpProjectRouting
|
|
* const kwpProjectRouting = await prisma.kwpProjectRouting.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends KwpProjectRoutingFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, KwpProjectRoutingFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__KwpProjectRoutingClient<runtime.Types.Result.GetResult<Prisma.$KwpProjectRoutingPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first KwpProjectRouting 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 {KwpProjectRoutingFindFirstArgs} args - Arguments to find a KwpProjectRouting
|
|
* @example
|
|
* // Get one KwpProjectRouting
|
|
* const kwpProjectRouting = await prisma.kwpProjectRouting.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends KwpProjectRoutingFindFirstArgs>(args?: Prisma.SelectSubset<T, KwpProjectRoutingFindFirstArgs<ExtArgs>>): Prisma.Prisma__KwpProjectRoutingClient<runtime.Types.Result.GetResult<Prisma.$KwpProjectRoutingPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first KwpProjectRouting 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 {KwpProjectRoutingFindFirstOrThrowArgs} args - Arguments to find a KwpProjectRouting
|
|
* @example
|
|
* // Get one KwpProjectRouting
|
|
* const kwpProjectRouting = await prisma.kwpProjectRouting.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends KwpProjectRoutingFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, KwpProjectRoutingFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__KwpProjectRoutingClient<runtime.Types.Result.GetResult<Prisma.$KwpProjectRoutingPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more KwpProjectRoutings 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 {KwpProjectRoutingFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all KwpProjectRoutings
|
|
* const kwpProjectRoutings = await prisma.kwpProjectRouting.findMany()
|
|
*
|
|
* // Get first 10 KwpProjectRoutings
|
|
* const kwpProjectRoutings = await prisma.kwpProjectRouting.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const kwpProjectRoutingWithIdOnly = await prisma.kwpProjectRouting.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends KwpProjectRoutingFindManyArgs>(args?: Prisma.SelectSubset<T, KwpProjectRoutingFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$KwpProjectRoutingPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a KwpProjectRouting.
|
|
* @param {KwpProjectRoutingCreateArgs} args - Arguments to create a KwpProjectRouting.
|
|
* @example
|
|
* // Create one KwpProjectRouting
|
|
* const KwpProjectRouting = await prisma.kwpProjectRouting.create({
|
|
* data: {
|
|
* // ... data to create a KwpProjectRouting
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends KwpProjectRoutingCreateArgs>(args: Prisma.SelectSubset<T, KwpProjectRoutingCreateArgs<ExtArgs>>): Prisma.Prisma__KwpProjectRoutingClient<runtime.Types.Result.GetResult<Prisma.$KwpProjectRoutingPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many KwpProjectRoutings.
|
|
* @param {KwpProjectRoutingCreateManyArgs} args - Arguments to create many KwpProjectRoutings.
|
|
* @example
|
|
* // Create many KwpProjectRoutings
|
|
* const kwpProjectRouting = await prisma.kwpProjectRouting.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends KwpProjectRoutingCreateManyArgs>(args?: Prisma.SelectSubset<T, KwpProjectRoutingCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create many KwpProjectRoutings and returns the data saved in the database.
|
|
* @param {KwpProjectRoutingCreateManyAndReturnArgs} args - Arguments to create many KwpProjectRoutings.
|
|
* @example
|
|
* // Create many KwpProjectRoutings
|
|
* const kwpProjectRouting = await prisma.kwpProjectRouting.createManyAndReturn({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Create many KwpProjectRoutings and only return the `id`
|
|
* const kwpProjectRoutingWithIdOnly = await prisma.kwpProjectRouting.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 KwpProjectRoutingCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, KwpProjectRoutingCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$KwpProjectRoutingPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Delete a KwpProjectRouting.
|
|
* @param {KwpProjectRoutingDeleteArgs} args - Arguments to delete one KwpProjectRouting.
|
|
* @example
|
|
* // Delete one KwpProjectRouting
|
|
* const KwpProjectRouting = await prisma.kwpProjectRouting.delete({
|
|
* where: {
|
|
* // ... filter to delete one KwpProjectRouting
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends KwpProjectRoutingDeleteArgs>(args: Prisma.SelectSubset<T, KwpProjectRoutingDeleteArgs<ExtArgs>>): Prisma.Prisma__KwpProjectRoutingClient<runtime.Types.Result.GetResult<Prisma.$KwpProjectRoutingPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one KwpProjectRouting.
|
|
* @param {KwpProjectRoutingUpdateArgs} args - Arguments to update one KwpProjectRouting.
|
|
* @example
|
|
* // Update one KwpProjectRouting
|
|
* const kwpProjectRouting = await prisma.kwpProjectRouting.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends KwpProjectRoutingUpdateArgs>(args: Prisma.SelectSubset<T, KwpProjectRoutingUpdateArgs<ExtArgs>>): Prisma.Prisma__KwpProjectRoutingClient<runtime.Types.Result.GetResult<Prisma.$KwpProjectRoutingPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more KwpProjectRoutings.
|
|
* @param {KwpProjectRoutingDeleteManyArgs} args - Arguments to filter KwpProjectRoutings to delete.
|
|
* @example
|
|
* // Delete a few KwpProjectRoutings
|
|
* const { count } = await prisma.kwpProjectRouting.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends KwpProjectRoutingDeleteManyArgs>(args?: Prisma.SelectSubset<T, KwpProjectRoutingDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more KwpProjectRoutings.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {KwpProjectRoutingUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many KwpProjectRoutings
|
|
* const kwpProjectRouting = await prisma.kwpProjectRouting.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends KwpProjectRoutingUpdateManyArgs>(args: Prisma.SelectSubset<T, KwpProjectRoutingUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more KwpProjectRoutings and returns the data updated in the database.
|
|
* @param {KwpProjectRoutingUpdateManyAndReturnArgs} args - Arguments to update many KwpProjectRoutings.
|
|
* @example
|
|
* // Update many KwpProjectRoutings
|
|
* const kwpProjectRouting = await prisma.kwpProjectRouting.updateManyAndReturn({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Update zero or more KwpProjectRoutings and only return the `id`
|
|
* const kwpProjectRoutingWithIdOnly = await prisma.kwpProjectRouting.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 KwpProjectRoutingUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, KwpProjectRoutingUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$KwpProjectRoutingPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create or update one KwpProjectRouting.
|
|
* @param {KwpProjectRoutingUpsertArgs} args - Arguments to update or create a KwpProjectRouting.
|
|
* @example
|
|
* // Update or create a KwpProjectRouting
|
|
* const kwpProjectRouting = await prisma.kwpProjectRouting.upsert({
|
|
* create: {
|
|
* // ... data to create a KwpProjectRouting
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the KwpProjectRouting we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends KwpProjectRoutingUpsertArgs>(args: Prisma.SelectSubset<T, KwpProjectRoutingUpsertArgs<ExtArgs>>): Prisma.Prisma__KwpProjectRoutingClient<runtime.Types.Result.GetResult<Prisma.$KwpProjectRoutingPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of KwpProjectRoutings.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {KwpProjectRoutingCountArgs} args - Arguments to filter KwpProjectRoutings to count.
|
|
* @example
|
|
* // Count the number of KwpProjectRoutings
|
|
* const count = await prisma.kwpProjectRouting.count({
|
|
* where: {
|
|
* // ... the filter for the KwpProjectRoutings we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends KwpProjectRoutingCountArgs>(
|
|
args?: Prisma.Subset<T, KwpProjectRoutingCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], KwpProjectRoutingCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a KwpProjectRouting.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {KwpProjectRoutingAggregateArgs} 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 KwpProjectRoutingAggregateArgs>(args: Prisma.Subset<T, KwpProjectRoutingAggregateArgs>): Prisma.PrismaPromise<GetKwpProjectRoutingAggregateType<T>>
|
|
|
|
/**
|
|
* Group by KwpProjectRouting.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {KwpProjectRoutingGroupByArgs} 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 KwpProjectRoutingGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: KwpProjectRoutingGroupByArgs['orderBy'] }
|
|
: { orderBy?: KwpProjectRoutingGroupByArgs['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, KwpProjectRoutingGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetKwpProjectRoutingGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the KwpProjectRouting model
|
|
*/
|
|
readonly fields: KwpProjectRoutingFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for KwpProjectRouting.
|
|
* 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__KwpProjectRoutingClient<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 KwpProjectRouting model
|
|
*/
|
|
export interface KwpProjectRoutingFieldRefs {
|
|
readonly id: Prisma.FieldRef<"KwpProjectRouting", 'String'>
|
|
readonly tenantId: Prisma.FieldRef<"KwpProjectRouting", 'String'>
|
|
readonly dataConnectionId: Prisma.FieldRef<"KwpProjectRouting", 'String'>
|
|
readonly externalStatus: Prisma.FieldRef<"KwpProjectRouting", 'Int'>
|
|
readonly pipelineId: Prisma.FieldRef<"KwpProjectRouting", 'String'>
|
|
readonly stageId: Prisma.FieldRef<"KwpProjectRouting", 'String'>
|
|
readonly revision: Prisma.FieldRef<"KwpProjectRouting", 'Int'>
|
|
readonly createdByUserId: Prisma.FieldRef<"KwpProjectRouting", 'String'>
|
|
readonly createdAt: Prisma.FieldRef<"KwpProjectRouting", 'DateTime'>
|
|
readonly updatedAt: Prisma.FieldRef<"KwpProjectRouting", 'DateTime'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* KwpProjectRouting findUnique
|
|
*/
|
|
export type KwpProjectRoutingFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the KwpProjectRouting
|
|
*/
|
|
select?: Prisma.KwpProjectRoutingSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the KwpProjectRouting
|
|
*/
|
|
omit?: Prisma.KwpProjectRoutingOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which KwpProjectRouting to fetch.
|
|
*/
|
|
where: Prisma.KwpProjectRoutingWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* KwpProjectRouting findUniqueOrThrow
|
|
*/
|
|
export type KwpProjectRoutingFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the KwpProjectRouting
|
|
*/
|
|
select?: Prisma.KwpProjectRoutingSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the KwpProjectRouting
|
|
*/
|
|
omit?: Prisma.KwpProjectRoutingOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which KwpProjectRouting to fetch.
|
|
*/
|
|
where: Prisma.KwpProjectRoutingWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* KwpProjectRouting findFirst
|
|
*/
|
|
export type KwpProjectRoutingFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the KwpProjectRouting
|
|
*/
|
|
select?: Prisma.KwpProjectRoutingSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the KwpProjectRouting
|
|
*/
|
|
omit?: Prisma.KwpProjectRoutingOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which KwpProjectRouting to fetch.
|
|
*/
|
|
where?: Prisma.KwpProjectRoutingWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of KwpProjectRoutings to fetch.
|
|
*/
|
|
orderBy?: Prisma.KwpProjectRoutingOrderByWithRelationInput | Prisma.KwpProjectRoutingOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for KwpProjectRoutings.
|
|
*/
|
|
cursor?: Prisma.KwpProjectRoutingWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` KwpProjectRoutings 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` KwpProjectRoutings.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of KwpProjectRoutings.
|
|
*/
|
|
distinct?: Prisma.KwpProjectRoutingScalarFieldEnum | Prisma.KwpProjectRoutingScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* KwpProjectRouting findFirstOrThrow
|
|
*/
|
|
export type KwpProjectRoutingFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the KwpProjectRouting
|
|
*/
|
|
select?: Prisma.KwpProjectRoutingSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the KwpProjectRouting
|
|
*/
|
|
omit?: Prisma.KwpProjectRoutingOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which KwpProjectRouting to fetch.
|
|
*/
|
|
where?: Prisma.KwpProjectRoutingWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of KwpProjectRoutings to fetch.
|
|
*/
|
|
orderBy?: Prisma.KwpProjectRoutingOrderByWithRelationInput | Prisma.KwpProjectRoutingOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for KwpProjectRoutings.
|
|
*/
|
|
cursor?: Prisma.KwpProjectRoutingWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` KwpProjectRoutings 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` KwpProjectRoutings.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of KwpProjectRoutings.
|
|
*/
|
|
distinct?: Prisma.KwpProjectRoutingScalarFieldEnum | Prisma.KwpProjectRoutingScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* KwpProjectRouting findMany
|
|
*/
|
|
export type KwpProjectRoutingFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the KwpProjectRouting
|
|
*/
|
|
select?: Prisma.KwpProjectRoutingSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the KwpProjectRouting
|
|
*/
|
|
omit?: Prisma.KwpProjectRoutingOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which KwpProjectRoutings to fetch.
|
|
*/
|
|
where?: Prisma.KwpProjectRoutingWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of KwpProjectRoutings to fetch.
|
|
*/
|
|
orderBy?: Prisma.KwpProjectRoutingOrderByWithRelationInput | Prisma.KwpProjectRoutingOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing KwpProjectRoutings.
|
|
*/
|
|
cursor?: Prisma.KwpProjectRoutingWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` KwpProjectRoutings 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` KwpProjectRoutings.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of KwpProjectRoutings.
|
|
*/
|
|
distinct?: Prisma.KwpProjectRoutingScalarFieldEnum | Prisma.KwpProjectRoutingScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* KwpProjectRouting create
|
|
*/
|
|
export type KwpProjectRoutingCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the KwpProjectRouting
|
|
*/
|
|
select?: Prisma.KwpProjectRoutingSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the KwpProjectRouting
|
|
*/
|
|
omit?: Prisma.KwpProjectRoutingOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a KwpProjectRouting.
|
|
*/
|
|
data: Prisma.XOR<Prisma.KwpProjectRoutingCreateInput, Prisma.KwpProjectRoutingUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* KwpProjectRouting createMany
|
|
*/
|
|
export type KwpProjectRoutingCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many KwpProjectRoutings.
|
|
*/
|
|
data: Prisma.KwpProjectRoutingCreateManyInput | Prisma.KwpProjectRoutingCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* KwpProjectRouting createManyAndReturn
|
|
*/
|
|
export type KwpProjectRoutingCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the KwpProjectRouting
|
|
*/
|
|
select?: Prisma.KwpProjectRoutingSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the KwpProjectRouting
|
|
*/
|
|
omit?: Prisma.KwpProjectRoutingOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to create many KwpProjectRoutings.
|
|
*/
|
|
data: Prisma.KwpProjectRoutingCreateManyInput | Prisma.KwpProjectRoutingCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* KwpProjectRouting update
|
|
*/
|
|
export type KwpProjectRoutingUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the KwpProjectRouting
|
|
*/
|
|
select?: Prisma.KwpProjectRoutingSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the KwpProjectRouting
|
|
*/
|
|
omit?: Prisma.KwpProjectRoutingOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a KwpProjectRouting.
|
|
*/
|
|
data: Prisma.XOR<Prisma.KwpProjectRoutingUpdateInput, Prisma.KwpProjectRoutingUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which KwpProjectRouting to update.
|
|
*/
|
|
where: Prisma.KwpProjectRoutingWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* KwpProjectRouting updateMany
|
|
*/
|
|
export type KwpProjectRoutingUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update KwpProjectRoutings.
|
|
*/
|
|
data: Prisma.XOR<Prisma.KwpProjectRoutingUpdateManyMutationInput, Prisma.KwpProjectRoutingUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which KwpProjectRoutings to update
|
|
*/
|
|
where?: Prisma.KwpProjectRoutingWhereInput
|
|
/**
|
|
* Limit how many KwpProjectRoutings to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* KwpProjectRouting updateManyAndReturn
|
|
*/
|
|
export type KwpProjectRoutingUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the KwpProjectRouting
|
|
*/
|
|
select?: Prisma.KwpProjectRoutingSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the KwpProjectRouting
|
|
*/
|
|
omit?: Prisma.KwpProjectRoutingOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update KwpProjectRoutings.
|
|
*/
|
|
data: Prisma.XOR<Prisma.KwpProjectRoutingUpdateManyMutationInput, Prisma.KwpProjectRoutingUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which KwpProjectRoutings to update
|
|
*/
|
|
where?: Prisma.KwpProjectRoutingWhereInput
|
|
/**
|
|
* Limit how many KwpProjectRoutings to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* KwpProjectRouting upsert
|
|
*/
|
|
export type KwpProjectRoutingUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the KwpProjectRouting
|
|
*/
|
|
select?: Prisma.KwpProjectRoutingSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the KwpProjectRouting
|
|
*/
|
|
omit?: Prisma.KwpProjectRoutingOmit<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the KwpProjectRouting to update in case it exists.
|
|
*/
|
|
where: Prisma.KwpProjectRoutingWhereUniqueInput
|
|
/**
|
|
* In case the KwpProjectRouting found by the `where` argument doesn't exist, create a new KwpProjectRouting with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.KwpProjectRoutingCreateInput, Prisma.KwpProjectRoutingUncheckedCreateInput>
|
|
/**
|
|
* In case the KwpProjectRouting was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.KwpProjectRoutingUpdateInput, Prisma.KwpProjectRoutingUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* KwpProjectRouting delete
|
|
*/
|
|
export type KwpProjectRoutingDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the KwpProjectRouting
|
|
*/
|
|
select?: Prisma.KwpProjectRoutingSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the KwpProjectRouting
|
|
*/
|
|
omit?: Prisma.KwpProjectRoutingOmit<ExtArgs> | null
|
|
/**
|
|
* Filter which KwpProjectRouting to delete.
|
|
*/
|
|
where: Prisma.KwpProjectRoutingWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* KwpProjectRouting deleteMany
|
|
*/
|
|
export type KwpProjectRoutingDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which KwpProjectRoutings to delete
|
|
*/
|
|
where?: Prisma.KwpProjectRoutingWhereInput
|
|
/**
|
|
* Limit how many KwpProjectRoutings to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* KwpProjectRouting without action
|
|
*/
|
|
export type KwpProjectRoutingDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the KwpProjectRouting
|
|
*/
|
|
select?: Prisma.KwpProjectRoutingSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the KwpProjectRouting
|
|
*/
|
|
omit?: Prisma.KwpProjectRoutingOmit<ExtArgs> | null
|
|
}
|