1633 lines
69 KiB
TypeScript
1633 lines
69 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 `WorkflowCredential` 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 WorkflowCredential
|
|
*
|
|
*/
|
|
export type WorkflowCredentialModel = runtime.Types.Result.DefaultSelection<Prisma.$WorkflowCredentialPayload>
|
|
|
|
export type AggregateWorkflowCredential = {
|
|
_count: WorkflowCredentialCountAggregateOutputType | null
|
|
_min: WorkflowCredentialMinAggregateOutputType | null
|
|
_max: WorkflowCredentialMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type WorkflowCredentialMinAggregateOutputType = {
|
|
id: string | null
|
|
createdAt: Date | null
|
|
updatedAt: Date | null
|
|
tenantId: string | null
|
|
name: string | null
|
|
value: string | null
|
|
createdByUserId: string | null
|
|
userId: string | null
|
|
}
|
|
|
|
export type WorkflowCredentialMaxAggregateOutputType = {
|
|
id: string | null
|
|
createdAt: Date | null
|
|
updatedAt: Date | null
|
|
tenantId: string | null
|
|
name: string | null
|
|
value: string | null
|
|
createdByUserId: string | null
|
|
userId: string | null
|
|
}
|
|
|
|
export type WorkflowCredentialCountAggregateOutputType = {
|
|
id: number
|
|
createdAt: number
|
|
updatedAt: number
|
|
tenantId: number
|
|
name: number
|
|
value: number
|
|
createdByUserId: number
|
|
userId: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type WorkflowCredentialMinAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
tenantId?: true
|
|
name?: true
|
|
value?: true
|
|
createdByUserId?: true
|
|
userId?: true
|
|
}
|
|
|
|
export type WorkflowCredentialMaxAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
tenantId?: true
|
|
name?: true
|
|
value?: true
|
|
createdByUserId?: true
|
|
userId?: true
|
|
}
|
|
|
|
export type WorkflowCredentialCountAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
tenantId?: true
|
|
name?: true
|
|
value?: true
|
|
createdByUserId?: true
|
|
userId?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type WorkflowCredentialAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which WorkflowCredential to aggregate.
|
|
*/
|
|
where?: Prisma.WorkflowCredentialWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of WorkflowCredentials to fetch.
|
|
*/
|
|
orderBy?: Prisma.WorkflowCredentialOrderByWithRelationInput | Prisma.WorkflowCredentialOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.WorkflowCredentialWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` WorkflowCredentials 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` WorkflowCredentials.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned WorkflowCredentials
|
|
**/
|
|
_count?: true | WorkflowCredentialCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: WorkflowCredentialMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: WorkflowCredentialMaxAggregateInputType
|
|
}
|
|
|
|
export type GetWorkflowCredentialAggregateType<T extends WorkflowCredentialAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateWorkflowCredential]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateWorkflowCredential[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateWorkflowCredential[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type WorkflowCredentialGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.WorkflowCredentialWhereInput
|
|
orderBy?: Prisma.WorkflowCredentialOrderByWithAggregationInput | Prisma.WorkflowCredentialOrderByWithAggregationInput[]
|
|
by: Prisma.WorkflowCredentialScalarFieldEnum[] | Prisma.WorkflowCredentialScalarFieldEnum
|
|
having?: Prisma.WorkflowCredentialScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: WorkflowCredentialCountAggregateInputType | true
|
|
_min?: WorkflowCredentialMinAggregateInputType
|
|
_max?: WorkflowCredentialMaxAggregateInputType
|
|
}
|
|
|
|
export type WorkflowCredentialGroupByOutputType = {
|
|
id: string
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
tenantId: string | null
|
|
name: string
|
|
value: string
|
|
createdByUserId: string | null
|
|
userId: string | null
|
|
_count: WorkflowCredentialCountAggregateOutputType | null
|
|
_min: WorkflowCredentialMinAggregateOutputType | null
|
|
_max: WorkflowCredentialMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type GetWorkflowCredentialGroupByPayload<T extends WorkflowCredentialGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<WorkflowCredentialGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof WorkflowCredentialGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], WorkflowCredentialGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], WorkflowCredentialGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type WorkflowCredentialWhereInput = {
|
|
AND?: Prisma.WorkflowCredentialWhereInput | Prisma.WorkflowCredentialWhereInput[]
|
|
OR?: Prisma.WorkflowCredentialWhereInput[]
|
|
NOT?: Prisma.WorkflowCredentialWhereInput | Prisma.WorkflowCredentialWhereInput[]
|
|
id?: Prisma.StringFilter<"WorkflowCredential"> | string
|
|
createdAt?: Prisma.DateTimeFilter<"WorkflowCredential"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"WorkflowCredential"> | Date | string
|
|
tenantId?: Prisma.StringNullableFilter<"WorkflowCredential"> | string | null
|
|
name?: Prisma.StringFilter<"WorkflowCredential"> | string
|
|
value?: Prisma.StringFilter<"WorkflowCredential"> | string
|
|
createdByUserId?: Prisma.StringNullableFilter<"WorkflowCredential"> | string | null
|
|
userId?: Prisma.StringNullableFilter<"WorkflowCredential"> | string | null
|
|
tenant?: Prisma.XOR<Prisma.TenantNullableScalarRelationFilter, Prisma.TenantWhereInput> | null
|
|
createdByUser?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
|
|
}
|
|
|
|
export type WorkflowCredentialOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
name?: Prisma.SortOrder
|
|
value?: Prisma.SortOrder
|
|
createdByUserId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
userId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
tenant?: Prisma.TenantOrderByWithRelationInput
|
|
createdByUser?: Prisma.UserOrderByWithRelationInput
|
|
}
|
|
|
|
export type WorkflowCredentialWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: string
|
|
tenantId_name?: Prisma.WorkflowCredentialTenantIdNameCompoundUniqueInput
|
|
AND?: Prisma.WorkflowCredentialWhereInput | Prisma.WorkflowCredentialWhereInput[]
|
|
OR?: Prisma.WorkflowCredentialWhereInput[]
|
|
NOT?: Prisma.WorkflowCredentialWhereInput | Prisma.WorkflowCredentialWhereInput[]
|
|
createdAt?: Prisma.DateTimeFilter<"WorkflowCredential"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"WorkflowCredential"> | Date | string
|
|
tenantId?: Prisma.StringNullableFilter<"WorkflowCredential"> | string | null
|
|
name?: Prisma.StringFilter<"WorkflowCredential"> | string
|
|
value?: Prisma.StringFilter<"WorkflowCredential"> | string
|
|
createdByUserId?: Prisma.StringNullableFilter<"WorkflowCredential"> | string | null
|
|
userId?: Prisma.StringNullableFilter<"WorkflowCredential"> | string | null
|
|
tenant?: Prisma.XOR<Prisma.TenantNullableScalarRelationFilter, Prisma.TenantWhereInput> | null
|
|
createdByUser?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
|
|
}, "id" | "tenantId_name">
|
|
|
|
export type WorkflowCredentialOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
name?: Prisma.SortOrder
|
|
value?: Prisma.SortOrder
|
|
createdByUserId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
userId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
_count?: Prisma.WorkflowCredentialCountOrderByAggregateInput
|
|
_max?: Prisma.WorkflowCredentialMaxOrderByAggregateInput
|
|
_min?: Prisma.WorkflowCredentialMinOrderByAggregateInput
|
|
}
|
|
|
|
export type WorkflowCredentialScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.WorkflowCredentialScalarWhereWithAggregatesInput | Prisma.WorkflowCredentialScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.WorkflowCredentialScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.WorkflowCredentialScalarWhereWithAggregatesInput | Prisma.WorkflowCredentialScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.StringWithAggregatesFilter<"WorkflowCredential"> | string
|
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"WorkflowCredential"> | Date | string
|
|
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"WorkflowCredential"> | Date | string
|
|
tenantId?: Prisma.StringNullableWithAggregatesFilter<"WorkflowCredential"> | string | null
|
|
name?: Prisma.StringWithAggregatesFilter<"WorkflowCredential"> | string
|
|
value?: Prisma.StringWithAggregatesFilter<"WorkflowCredential"> | string
|
|
createdByUserId?: Prisma.StringNullableWithAggregatesFilter<"WorkflowCredential"> | string | null
|
|
userId?: Prisma.StringNullableWithAggregatesFilter<"WorkflowCredential"> | string | null
|
|
}
|
|
|
|
export type WorkflowCredentialCreateInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
name: string
|
|
value: string
|
|
createdByUserId?: string | null
|
|
tenant?: Prisma.TenantCreateNestedOneWithoutWorkflowCredentialsInput
|
|
createdByUser?: Prisma.UserCreateNestedOneWithoutWorkflowCredentialsCreatedInput
|
|
}
|
|
|
|
export type WorkflowCredentialUncheckedCreateInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
tenantId?: string | null
|
|
name: string
|
|
value: string
|
|
createdByUserId?: string | null
|
|
userId?: string | null
|
|
}
|
|
|
|
export type WorkflowCredentialUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
value?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
tenant?: Prisma.TenantUpdateOneWithoutWorkflowCredentialsNestedInput
|
|
createdByUser?: Prisma.UserUpdateOneWithoutWorkflowCredentialsCreatedNestedInput
|
|
}
|
|
|
|
export type WorkflowCredentialUncheckedUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
value?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
export type WorkflowCredentialCreateManyInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
tenantId?: string | null
|
|
name: string
|
|
value: string
|
|
createdByUserId?: string | null
|
|
userId?: string | null
|
|
}
|
|
|
|
export type WorkflowCredentialUpdateManyMutationInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
value?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
export type WorkflowCredentialUncheckedUpdateManyInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
value?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
export type WorkflowCredentialListRelationFilter = {
|
|
every?: Prisma.WorkflowCredentialWhereInput
|
|
some?: Prisma.WorkflowCredentialWhereInput
|
|
none?: Prisma.WorkflowCredentialWhereInput
|
|
}
|
|
|
|
export type WorkflowCredentialOrderByRelationAggregateInput = {
|
|
_count?: Prisma.SortOrder
|
|
}
|
|
|
|
export type WorkflowCredentialTenantIdNameCompoundUniqueInput = {
|
|
tenantId: string
|
|
name: string
|
|
}
|
|
|
|
export type WorkflowCredentialCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
name?: Prisma.SortOrder
|
|
value?: Prisma.SortOrder
|
|
createdByUserId?: Prisma.SortOrder
|
|
userId?: Prisma.SortOrder
|
|
}
|
|
|
|
export type WorkflowCredentialMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
name?: Prisma.SortOrder
|
|
value?: Prisma.SortOrder
|
|
createdByUserId?: Prisma.SortOrder
|
|
userId?: Prisma.SortOrder
|
|
}
|
|
|
|
export type WorkflowCredentialMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
name?: Prisma.SortOrder
|
|
value?: Prisma.SortOrder
|
|
createdByUserId?: Prisma.SortOrder
|
|
userId?: Prisma.SortOrder
|
|
}
|
|
|
|
export type WorkflowCredentialCreateNestedManyWithoutCreatedByUserInput = {
|
|
create?: Prisma.XOR<Prisma.WorkflowCredentialCreateWithoutCreatedByUserInput, Prisma.WorkflowCredentialUncheckedCreateWithoutCreatedByUserInput> | Prisma.WorkflowCredentialCreateWithoutCreatedByUserInput[] | Prisma.WorkflowCredentialUncheckedCreateWithoutCreatedByUserInput[]
|
|
connectOrCreate?: Prisma.WorkflowCredentialCreateOrConnectWithoutCreatedByUserInput | Prisma.WorkflowCredentialCreateOrConnectWithoutCreatedByUserInput[]
|
|
createMany?: Prisma.WorkflowCredentialCreateManyCreatedByUserInputEnvelope
|
|
connect?: Prisma.WorkflowCredentialWhereUniqueInput | Prisma.WorkflowCredentialWhereUniqueInput[]
|
|
}
|
|
|
|
export type WorkflowCredentialUncheckedCreateNestedManyWithoutCreatedByUserInput = {
|
|
create?: Prisma.XOR<Prisma.WorkflowCredentialCreateWithoutCreatedByUserInput, Prisma.WorkflowCredentialUncheckedCreateWithoutCreatedByUserInput> | Prisma.WorkflowCredentialCreateWithoutCreatedByUserInput[] | Prisma.WorkflowCredentialUncheckedCreateWithoutCreatedByUserInput[]
|
|
connectOrCreate?: Prisma.WorkflowCredentialCreateOrConnectWithoutCreatedByUserInput | Prisma.WorkflowCredentialCreateOrConnectWithoutCreatedByUserInput[]
|
|
createMany?: Prisma.WorkflowCredentialCreateManyCreatedByUserInputEnvelope
|
|
connect?: Prisma.WorkflowCredentialWhereUniqueInput | Prisma.WorkflowCredentialWhereUniqueInput[]
|
|
}
|
|
|
|
export type WorkflowCredentialUpdateManyWithoutCreatedByUserNestedInput = {
|
|
create?: Prisma.XOR<Prisma.WorkflowCredentialCreateWithoutCreatedByUserInput, Prisma.WorkflowCredentialUncheckedCreateWithoutCreatedByUserInput> | Prisma.WorkflowCredentialCreateWithoutCreatedByUserInput[] | Prisma.WorkflowCredentialUncheckedCreateWithoutCreatedByUserInput[]
|
|
connectOrCreate?: Prisma.WorkflowCredentialCreateOrConnectWithoutCreatedByUserInput | Prisma.WorkflowCredentialCreateOrConnectWithoutCreatedByUserInput[]
|
|
upsert?: Prisma.WorkflowCredentialUpsertWithWhereUniqueWithoutCreatedByUserInput | Prisma.WorkflowCredentialUpsertWithWhereUniqueWithoutCreatedByUserInput[]
|
|
createMany?: Prisma.WorkflowCredentialCreateManyCreatedByUserInputEnvelope
|
|
set?: Prisma.WorkflowCredentialWhereUniqueInput | Prisma.WorkflowCredentialWhereUniqueInput[]
|
|
disconnect?: Prisma.WorkflowCredentialWhereUniqueInput | Prisma.WorkflowCredentialWhereUniqueInput[]
|
|
delete?: Prisma.WorkflowCredentialWhereUniqueInput | Prisma.WorkflowCredentialWhereUniqueInput[]
|
|
connect?: Prisma.WorkflowCredentialWhereUniqueInput | Prisma.WorkflowCredentialWhereUniqueInput[]
|
|
update?: Prisma.WorkflowCredentialUpdateWithWhereUniqueWithoutCreatedByUserInput | Prisma.WorkflowCredentialUpdateWithWhereUniqueWithoutCreatedByUserInput[]
|
|
updateMany?: Prisma.WorkflowCredentialUpdateManyWithWhereWithoutCreatedByUserInput | Prisma.WorkflowCredentialUpdateManyWithWhereWithoutCreatedByUserInput[]
|
|
deleteMany?: Prisma.WorkflowCredentialScalarWhereInput | Prisma.WorkflowCredentialScalarWhereInput[]
|
|
}
|
|
|
|
export type WorkflowCredentialUncheckedUpdateManyWithoutCreatedByUserNestedInput = {
|
|
create?: Prisma.XOR<Prisma.WorkflowCredentialCreateWithoutCreatedByUserInput, Prisma.WorkflowCredentialUncheckedCreateWithoutCreatedByUserInput> | Prisma.WorkflowCredentialCreateWithoutCreatedByUserInput[] | Prisma.WorkflowCredentialUncheckedCreateWithoutCreatedByUserInput[]
|
|
connectOrCreate?: Prisma.WorkflowCredentialCreateOrConnectWithoutCreatedByUserInput | Prisma.WorkflowCredentialCreateOrConnectWithoutCreatedByUserInput[]
|
|
upsert?: Prisma.WorkflowCredentialUpsertWithWhereUniqueWithoutCreatedByUserInput | Prisma.WorkflowCredentialUpsertWithWhereUniqueWithoutCreatedByUserInput[]
|
|
createMany?: Prisma.WorkflowCredentialCreateManyCreatedByUserInputEnvelope
|
|
set?: Prisma.WorkflowCredentialWhereUniqueInput | Prisma.WorkflowCredentialWhereUniqueInput[]
|
|
disconnect?: Prisma.WorkflowCredentialWhereUniqueInput | Prisma.WorkflowCredentialWhereUniqueInput[]
|
|
delete?: Prisma.WorkflowCredentialWhereUniqueInput | Prisma.WorkflowCredentialWhereUniqueInput[]
|
|
connect?: Prisma.WorkflowCredentialWhereUniqueInput | Prisma.WorkflowCredentialWhereUniqueInput[]
|
|
update?: Prisma.WorkflowCredentialUpdateWithWhereUniqueWithoutCreatedByUserInput | Prisma.WorkflowCredentialUpdateWithWhereUniqueWithoutCreatedByUserInput[]
|
|
updateMany?: Prisma.WorkflowCredentialUpdateManyWithWhereWithoutCreatedByUserInput | Prisma.WorkflowCredentialUpdateManyWithWhereWithoutCreatedByUserInput[]
|
|
deleteMany?: Prisma.WorkflowCredentialScalarWhereInput | Prisma.WorkflowCredentialScalarWhereInput[]
|
|
}
|
|
|
|
export type WorkflowCredentialCreateNestedManyWithoutTenantInput = {
|
|
create?: Prisma.XOR<Prisma.WorkflowCredentialCreateWithoutTenantInput, Prisma.WorkflowCredentialUncheckedCreateWithoutTenantInput> | Prisma.WorkflowCredentialCreateWithoutTenantInput[] | Prisma.WorkflowCredentialUncheckedCreateWithoutTenantInput[]
|
|
connectOrCreate?: Prisma.WorkflowCredentialCreateOrConnectWithoutTenantInput | Prisma.WorkflowCredentialCreateOrConnectWithoutTenantInput[]
|
|
createMany?: Prisma.WorkflowCredentialCreateManyTenantInputEnvelope
|
|
connect?: Prisma.WorkflowCredentialWhereUniqueInput | Prisma.WorkflowCredentialWhereUniqueInput[]
|
|
}
|
|
|
|
export type WorkflowCredentialUncheckedCreateNestedManyWithoutTenantInput = {
|
|
create?: Prisma.XOR<Prisma.WorkflowCredentialCreateWithoutTenantInput, Prisma.WorkflowCredentialUncheckedCreateWithoutTenantInput> | Prisma.WorkflowCredentialCreateWithoutTenantInput[] | Prisma.WorkflowCredentialUncheckedCreateWithoutTenantInput[]
|
|
connectOrCreate?: Prisma.WorkflowCredentialCreateOrConnectWithoutTenantInput | Prisma.WorkflowCredentialCreateOrConnectWithoutTenantInput[]
|
|
createMany?: Prisma.WorkflowCredentialCreateManyTenantInputEnvelope
|
|
connect?: Prisma.WorkflowCredentialWhereUniqueInput | Prisma.WorkflowCredentialWhereUniqueInput[]
|
|
}
|
|
|
|
export type WorkflowCredentialUpdateManyWithoutTenantNestedInput = {
|
|
create?: Prisma.XOR<Prisma.WorkflowCredentialCreateWithoutTenantInput, Prisma.WorkflowCredentialUncheckedCreateWithoutTenantInput> | Prisma.WorkflowCredentialCreateWithoutTenantInput[] | Prisma.WorkflowCredentialUncheckedCreateWithoutTenantInput[]
|
|
connectOrCreate?: Prisma.WorkflowCredentialCreateOrConnectWithoutTenantInput | Prisma.WorkflowCredentialCreateOrConnectWithoutTenantInput[]
|
|
upsert?: Prisma.WorkflowCredentialUpsertWithWhereUniqueWithoutTenantInput | Prisma.WorkflowCredentialUpsertWithWhereUniqueWithoutTenantInput[]
|
|
createMany?: Prisma.WorkflowCredentialCreateManyTenantInputEnvelope
|
|
set?: Prisma.WorkflowCredentialWhereUniqueInput | Prisma.WorkflowCredentialWhereUniqueInput[]
|
|
disconnect?: Prisma.WorkflowCredentialWhereUniqueInput | Prisma.WorkflowCredentialWhereUniqueInput[]
|
|
delete?: Prisma.WorkflowCredentialWhereUniqueInput | Prisma.WorkflowCredentialWhereUniqueInput[]
|
|
connect?: Prisma.WorkflowCredentialWhereUniqueInput | Prisma.WorkflowCredentialWhereUniqueInput[]
|
|
update?: Prisma.WorkflowCredentialUpdateWithWhereUniqueWithoutTenantInput | Prisma.WorkflowCredentialUpdateWithWhereUniqueWithoutTenantInput[]
|
|
updateMany?: Prisma.WorkflowCredentialUpdateManyWithWhereWithoutTenantInput | Prisma.WorkflowCredentialUpdateManyWithWhereWithoutTenantInput[]
|
|
deleteMany?: Prisma.WorkflowCredentialScalarWhereInput | Prisma.WorkflowCredentialScalarWhereInput[]
|
|
}
|
|
|
|
export type WorkflowCredentialUncheckedUpdateManyWithoutTenantNestedInput = {
|
|
create?: Prisma.XOR<Prisma.WorkflowCredentialCreateWithoutTenantInput, Prisma.WorkflowCredentialUncheckedCreateWithoutTenantInput> | Prisma.WorkflowCredentialCreateWithoutTenantInput[] | Prisma.WorkflowCredentialUncheckedCreateWithoutTenantInput[]
|
|
connectOrCreate?: Prisma.WorkflowCredentialCreateOrConnectWithoutTenantInput | Prisma.WorkflowCredentialCreateOrConnectWithoutTenantInput[]
|
|
upsert?: Prisma.WorkflowCredentialUpsertWithWhereUniqueWithoutTenantInput | Prisma.WorkflowCredentialUpsertWithWhereUniqueWithoutTenantInput[]
|
|
createMany?: Prisma.WorkflowCredentialCreateManyTenantInputEnvelope
|
|
set?: Prisma.WorkflowCredentialWhereUniqueInput | Prisma.WorkflowCredentialWhereUniqueInput[]
|
|
disconnect?: Prisma.WorkflowCredentialWhereUniqueInput | Prisma.WorkflowCredentialWhereUniqueInput[]
|
|
delete?: Prisma.WorkflowCredentialWhereUniqueInput | Prisma.WorkflowCredentialWhereUniqueInput[]
|
|
connect?: Prisma.WorkflowCredentialWhereUniqueInput | Prisma.WorkflowCredentialWhereUniqueInput[]
|
|
update?: Prisma.WorkflowCredentialUpdateWithWhereUniqueWithoutTenantInput | Prisma.WorkflowCredentialUpdateWithWhereUniqueWithoutTenantInput[]
|
|
updateMany?: Prisma.WorkflowCredentialUpdateManyWithWhereWithoutTenantInput | Prisma.WorkflowCredentialUpdateManyWithWhereWithoutTenantInput[]
|
|
deleteMany?: Prisma.WorkflowCredentialScalarWhereInput | Prisma.WorkflowCredentialScalarWhereInput[]
|
|
}
|
|
|
|
export type WorkflowCredentialCreateWithoutCreatedByUserInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
name: string
|
|
value: string
|
|
createdByUserId?: string | null
|
|
tenant?: Prisma.TenantCreateNestedOneWithoutWorkflowCredentialsInput
|
|
}
|
|
|
|
export type WorkflowCredentialUncheckedCreateWithoutCreatedByUserInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
tenantId?: string | null
|
|
name: string
|
|
value: string
|
|
createdByUserId?: string | null
|
|
}
|
|
|
|
export type WorkflowCredentialCreateOrConnectWithoutCreatedByUserInput = {
|
|
where: Prisma.WorkflowCredentialWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.WorkflowCredentialCreateWithoutCreatedByUserInput, Prisma.WorkflowCredentialUncheckedCreateWithoutCreatedByUserInput>
|
|
}
|
|
|
|
export type WorkflowCredentialCreateManyCreatedByUserInputEnvelope = {
|
|
data: Prisma.WorkflowCredentialCreateManyCreatedByUserInput | Prisma.WorkflowCredentialCreateManyCreatedByUserInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type WorkflowCredentialUpsertWithWhereUniqueWithoutCreatedByUserInput = {
|
|
where: Prisma.WorkflowCredentialWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.WorkflowCredentialUpdateWithoutCreatedByUserInput, Prisma.WorkflowCredentialUncheckedUpdateWithoutCreatedByUserInput>
|
|
create: Prisma.XOR<Prisma.WorkflowCredentialCreateWithoutCreatedByUserInput, Prisma.WorkflowCredentialUncheckedCreateWithoutCreatedByUserInput>
|
|
}
|
|
|
|
export type WorkflowCredentialUpdateWithWhereUniqueWithoutCreatedByUserInput = {
|
|
where: Prisma.WorkflowCredentialWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.WorkflowCredentialUpdateWithoutCreatedByUserInput, Prisma.WorkflowCredentialUncheckedUpdateWithoutCreatedByUserInput>
|
|
}
|
|
|
|
export type WorkflowCredentialUpdateManyWithWhereWithoutCreatedByUserInput = {
|
|
where: Prisma.WorkflowCredentialScalarWhereInput
|
|
data: Prisma.XOR<Prisma.WorkflowCredentialUpdateManyMutationInput, Prisma.WorkflowCredentialUncheckedUpdateManyWithoutCreatedByUserInput>
|
|
}
|
|
|
|
export type WorkflowCredentialScalarWhereInput = {
|
|
AND?: Prisma.WorkflowCredentialScalarWhereInput | Prisma.WorkflowCredentialScalarWhereInput[]
|
|
OR?: Prisma.WorkflowCredentialScalarWhereInput[]
|
|
NOT?: Prisma.WorkflowCredentialScalarWhereInput | Prisma.WorkflowCredentialScalarWhereInput[]
|
|
id?: Prisma.StringFilter<"WorkflowCredential"> | string
|
|
createdAt?: Prisma.DateTimeFilter<"WorkflowCredential"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"WorkflowCredential"> | Date | string
|
|
tenantId?: Prisma.StringNullableFilter<"WorkflowCredential"> | string | null
|
|
name?: Prisma.StringFilter<"WorkflowCredential"> | string
|
|
value?: Prisma.StringFilter<"WorkflowCredential"> | string
|
|
createdByUserId?: Prisma.StringNullableFilter<"WorkflowCredential"> | string | null
|
|
userId?: Prisma.StringNullableFilter<"WorkflowCredential"> | string | null
|
|
}
|
|
|
|
export type WorkflowCredentialCreateWithoutTenantInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
name: string
|
|
value: string
|
|
createdByUserId?: string | null
|
|
createdByUser?: Prisma.UserCreateNestedOneWithoutWorkflowCredentialsCreatedInput
|
|
}
|
|
|
|
export type WorkflowCredentialUncheckedCreateWithoutTenantInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
name: string
|
|
value: string
|
|
createdByUserId?: string | null
|
|
userId?: string | null
|
|
}
|
|
|
|
export type WorkflowCredentialCreateOrConnectWithoutTenantInput = {
|
|
where: Prisma.WorkflowCredentialWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.WorkflowCredentialCreateWithoutTenantInput, Prisma.WorkflowCredentialUncheckedCreateWithoutTenantInput>
|
|
}
|
|
|
|
export type WorkflowCredentialCreateManyTenantInputEnvelope = {
|
|
data: Prisma.WorkflowCredentialCreateManyTenantInput | Prisma.WorkflowCredentialCreateManyTenantInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type WorkflowCredentialUpsertWithWhereUniqueWithoutTenantInput = {
|
|
where: Prisma.WorkflowCredentialWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.WorkflowCredentialUpdateWithoutTenantInput, Prisma.WorkflowCredentialUncheckedUpdateWithoutTenantInput>
|
|
create: Prisma.XOR<Prisma.WorkflowCredentialCreateWithoutTenantInput, Prisma.WorkflowCredentialUncheckedCreateWithoutTenantInput>
|
|
}
|
|
|
|
export type WorkflowCredentialUpdateWithWhereUniqueWithoutTenantInput = {
|
|
where: Prisma.WorkflowCredentialWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.WorkflowCredentialUpdateWithoutTenantInput, Prisma.WorkflowCredentialUncheckedUpdateWithoutTenantInput>
|
|
}
|
|
|
|
export type WorkflowCredentialUpdateManyWithWhereWithoutTenantInput = {
|
|
where: Prisma.WorkflowCredentialScalarWhereInput
|
|
data: Prisma.XOR<Prisma.WorkflowCredentialUpdateManyMutationInput, Prisma.WorkflowCredentialUncheckedUpdateManyWithoutTenantInput>
|
|
}
|
|
|
|
export type WorkflowCredentialCreateManyCreatedByUserInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
tenantId?: string | null
|
|
name: string
|
|
value: string
|
|
createdByUserId?: string | null
|
|
}
|
|
|
|
export type WorkflowCredentialUpdateWithoutCreatedByUserInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
value?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
tenant?: Prisma.TenantUpdateOneWithoutWorkflowCredentialsNestedInput
|
|
}
|
|
|
|
export type WorkflowCredentialUncheckedUpdateWithoutCreatedByUserInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
value?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
export type WorkflowCredentialUncheckedUpdateManyWithoutCreatedByUserInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
value?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
export type WorkflowCredentialCreateManyTenantInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
name: string
|
|
value: string
|
|
createdByUserId?: string | null
|
|
userId?: string | null
|
|
}
|
|
|
|
export type WorkflowCredentialUpdateWithoutTenantInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
value?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdByUser?: Prisma.UserUpdateOneWithoutWorkflowCredentialsCreatedNestedInput
|
|
}
|
|
|
|
export type WorkflowCredentialUncheckedUpdateWithoutTenantInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
value?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
export type WorkflowCredentialUncheckedUpdateManyWithoutTenantInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
value?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
|
|
|
|
export type WorkflowCredentialSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
tenantId?: boolean
|
|
name?: boolean
|
|
value?: boolean
|
|
createdByUserId?: boolean
|
|
userId?: boolean
|
|
tenant?: boolean | Prisma.WorkflowCredential$tenantArgs<ExtArgs>
|
|
createdByUser?: boolean | Prisma.WorkflowCredential$createdByUserArgs<ExtArgs>
|
|
}, ExtArgs["result"]["workflowCredential"]>
|
|
|
|
export type WorkflowCredentialSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
tenantId?: boolean
|
|
name?: boolean
|
|
value?: boolean
|
|
createdByUserId?: boolean
|
|
userId?: boolean
|
|
tenant?: boolean | Prisma.WorkflowCredential$tenantArgs<ExtArgs>
|
|
createdByUser?: boolean | Prisma.WorkflowCredential$createdByUserArgs<ExtArgs>
|
|
}, ExtArgs["result"]["workflowCredential"]>
|
|
|
|
export type WorkflowCredentialSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
tenantId?: boolean
|
|
name?: boolean
|
|
value?: boolean
|
|
createdByUserId?: boolean
|
|
userId?: boolean
|
|
tenant?: boolean | Prisma.WorkflowCredential$tenantArgs<ExtArgs>
|
|
createdByUser?: boolean | Prisma.WorkflowCredential$createdByUserArgs<ExtArgs>
|
|
}, ExtArgs["result"]["workflowCredential"]>
|
|
|
|
export type WorkflowCredentialSelectScalar = {
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
tenantId?: boolean
|
|
name?: boolean
|
|
value?: boolean
|
|
createdByUserId?: boolean
|
|
userId?: boolean
|
|
}
|
|
|
|
export type WorkflowCredentialOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "tenantId" | "name" | "value" | "createdByUserId" | "userId", ExtArgs["result"]["workflowCredential"]>
|
|
export type WorkflowCredentialInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
tenant?: boolean | Prisma.WorkflowCredential$tenantArgs<ExtArgs>
|
|
createdByUser?: boolean | Prisma.WorkflowCredential$createdByUserArgs<ExtArgs>
|
|
}
|
|
export type WorkflowCredentialIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
tenant?: boolean | Prisma.WorkflowCredential$tenantArgs<ExtArgs>
|
|
createdByUser?: boolean | Prisma.WorkflowCredential$createdByUserArgs<ExtArgs>
|
|
}
|
|
export type WorkflowCredentialIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
tenant?: boolean | Prisma.WorkflowCredential$tenantArgs<ExtArgs>
|
|
createdByUser?: boolean | Prisma.WorkflowCredential$createdByUserArgs<ExtArgs>
|
|
}
|
|
|
|
export type $WorkflowCredentialPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "WorkflowCredential"
|
|
objects: {
|
|
tenant: Prisma.$TenantPayload<ExtArgs> | null
|
|
createdByUser: Prisma.$UserPayload<ExtArgs> | null
|
|
}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: string
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
tenantId: string | null
|
|
name: string
|
|
value: string
|
|
createdByUserId: string | null
|
|
userId: string | null
|
|
}, ExtArgs["result"]["workflowCredential"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type WorkflowCredentialGetPayload<S extends boolean | null | undefined | WorkflowCredentialDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$WorkflowCredentialPayload, S>
|
|
|
|
export type WorkflowCredentialCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<WorkflowCredentialFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: WorkflowCredentialCountAggregateInputType | true
|
|
}
|
|
|
|
export interface WorkflowCredentialDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['WorkflowCredential'], meta: { name: 'WorkflowCredential' } }
|
|
/**
|
|
* Find zero or one WorkflowCredential that matches the filter.
|
|
* @param {WorkflowCredentialFindUniqueArgs} args - Arguments to find a WorkflowCredential
|
|
* @example
|
|
* // Get one WorkflowCredential
|
|
* const workflowCredential = await prisma.workflowCredential.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends WorkflowCredentialFindUniqueArgs>(args: Prisma.SelectSubset<T, WorkflowCredentialFindUniqueArgs<ExtArgs>>): Prisma.Prisma__WorkflowCredentialClient<runtime.Types.Result.GetResult<Prisma.$WorkflowCredentialPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one WorkflowCredential that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {WorkflowCredentialFindUniqueOrThrowArgs} args - Arguments to find a WorkflowCredential
|
|
* @example
|
|
* // Get one WorkflowCredential
|
|
* const workflowCredential = await prisma.workflowCredential.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends WorkflowCredentialFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, WorkflowCredentialFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__WorkflowCredentialClient<runtime.Types.Result.GetResult<Prisma.$WorkflowCredentialPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first WorkflowCredential 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 {WorkflowCredentialFindFirstArgs} args - Arguments to find a WorkflowCredential
|
|
* @example
|
|
* // Get one WorkflowCredential
|
|
* const workflowCredential = await prisma.workflowCredential.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends WorkflowCredentialFindFirstArgs>(args?: Prisma.SelectSubset<T, WorkflowCredentialFindFirstArgs<ExtArgs>>): Prisma.Prisma__WorkflowCredentialClient<runtime.Types.Result.GetResult<Prisma.$WorkflowCredentialPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first WorkflowCredential 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 {WorkflowCredentialFindFirstOrThrowArgs} args - Arguments to find a WorkflowCredential
|
|
* @example
|
|
* // Get one WorkflowCredential
|
|
* const workflowCredential = await prisma.workflowCredential.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends WorkflowCredentialFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, WorkflowCredentialFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__WorkflowCredentialClient<runtime.Types.Result.GetResult<Prisma.$WorkflowCredentialPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more WorkflowCredentials 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 {WorkflowCredentialFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all WorkflowCredentials
|
|
* const workflowCredentials = await prisma.workflowCredential.findMany()
|
|
*
|
|
* // Get first 10 WorkflowCredentials
|
|
* const workflowCredentials = await prisma.workflowCredential.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const workflowCredentialWithIdOnly = await prisma.workflowCredential.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends WorkflowCredentialFindManyArgs>(args?: Prisma.SelectSubset<T, WorkflowCredentialFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WorkflowCredentialPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a WorkflowCredential.
|
|
* @param {WorkflowCredentialCreateArgs} args - Arguments to create a WorkflowCredential.
|
|
* @example
|
|
* // Create one WorkflowCredential
|
|
* const WorkflowCredential = await prisma.workflowCredential.create({
|
|
* data: {
|
|
* // ... data to create a WorkflowCredential
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends WorkflowCredentialCreateArgs>(args: Prisma.SelectSubset<T, WorkflowCredentialCreateArgs<ExtArgs>>): Prisma.Prisma__WorkflowCredentialClient<runtime.Types.Result.GetResult<Prisma.$WorkflowCredentialPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many WorkflowCredentials.
|
|
* @param {WorkflowCredentialCreateManyArgs} args - Arguments to create many WorkflowCredentials.
|
|
* @example
|
|
* // Create many WorkflowCredentials
|
|
* const workflowCredential = await prisma.workflowCredential.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends WorkflowCredentialCreateManyArgs>(args?: Prisma.SelectSubset<T, WorkflowCredentialCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create many WorkflowCredentials and returns the data saved in the database.
|
|
* @param {WorkflowCredentialCreateManyAndReturnArgs} args - Arguments to create many WorkflowCredentials.
|
|
* @example
|
|
* // Create many WorkflowCredentials
|
|
* const workflowCredential = await prisma.workflowCredential.createManyAndReturn({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Create many WorkflowCredentials and only return the `id`
|
|
* const workflowCredentialWithIdOnly = await prisma.workflowCredential.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 WorkflowCredentialCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, WorkflowCredentialCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WorkflowCredentialPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Delete a WorkflowCredential.
|
|
* @param {WorkflowCredentialDeleteArgs} args - Arguments to delete one WorkflowCredential.
|
|
* @example
|
|
* // Delete one WorkflowCredential
|
|
* const WorkflowCredential = await prisma.workflowCredential.delete({
|
|
* where: {
|
|
* // ... filter to delete one WorkflowCredential
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends WorkflowCredentialDeleteArgs>(args: Prisma.SelectSubset<T, WorkflowCredentialDeleteArgs<ExtArgs>>): Prisma.Prisma__WorkflowCredentialClient<runtime.Types.Result.GetResult<Prisma.$WorkflowCredentialPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one WorkflowCredential.
|
|
* @param {WorkflowCredentialUpdateArgs} args - Arguments to update one WorkflowCredential.
|
|
* @example
|
|
* // Update one WorkflowCredential
|
|
* const workflowCredential = await prisma.workflowCredential.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends WorkflowCredentialUpdateArgs>(args: Prisma.SelectSubset<T, WorkflowCredentialUpdateArgs<ExtArgs>>): Prisma.Prisma__WorkflowCredentialClient<runtime.Types.Result.GetResult<Prisma.$WorkflowCredentialPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more WorkflowCredentials.
|
|
* @param {WorkflowCredentialDeleteManyArgs} args - Arguments to filter WorkflowCredentials to delete.
|
|
* @example
|
|
* // Delete a few WorkflowCredentials
|
|
* const { count } = await prisma.workflowCredential.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends WorkflowCredentialDeleteManyArgs>(args?: Prisma.SelectSubset<T, WorkflowCredentialDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more WorkflowCredentials.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {WorkflowCredentialUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many WorkflowCredentials
|
|
* const workflowCredential = await prisma.workflowCredential.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends WorkflowCredentialUpdateManyArgs>(args: Prisma.SelectSubset<T, WorkflowCredentialUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more WorkflowCredentials and returns the data updated in the database.
|
|
* @param {WorkflowCredentialUpdateManyAndReturnArgs} args - Arguments to update many WorkflowCredentials.
|
|
* @example
|
|
* // Update many WorkflowCredentials
|
|
* const workflowCredential = await prisma.workflowCredential.updateManyAndReturn({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Update zero or more WorkflowCredentials and only return the `id`
|
|
* const workflowCredentialWithIdOnly = await prisma.workflowCredential.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 WorkflowCredentialUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, WorkflowCredentialUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WorkflowCredentialPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create or update one WorkflowCredential.
|
|
* @param {WorkflowCredentialUpsertArgs} args - Arguments to update or create a WorkflowCredential.
|
|
* @example
|
|
* // Update or create a WorkflowCredential
|
|
* const workflowCredential = await prisma.workflowCredential.upsert({
|
|
* create: {
|
|
* // ... data to create a WorkflowCredential
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the WorkflowCredential we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends WorkflowCredentialUpsertArgs>(args: Prisma.SelectSubset<T, WorkflowCredentialUpsertArgs<ExtArgs>>): Prisma.Prisma__WorkflowCredentialClient<runtime.Types.Result.GetResult<Prisma.$WorkflowCredentialPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of WorkflowCredentials.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {WorkflowCredentialCountArgs} args - Arguments to filter WorkflowCredentials to count.
|
|
* @example
|
|
* // Count the number of WorkflowCredentials
|
|
* const count = await prisma.workflowCredential.count({
|
|
* where: {
|
|
* // ... the filter for the WorkflowCredentials we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends WorkflowCredentialCountArgs>(
|
|
args?: Prisma.Subset<T, WorkflowCredentialCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], WorkflowCredentialCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a WorkflowCredential.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {WorkflowCredentialAggregateArgs} 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 WorkflowCredentialAggregateArgs>(args: Prisma.Subset<T, WorkflowCredentialAggregateArgs>): Prisma.PrismaPromise<GetWorkflowCredentialAggregateType<T>>
|
|
|
|
/**
|
|
* Group by WorkflowCredential.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {WorkflowCredentialGroupByArgs} 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 WorkflowCredentialGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: WorkflowCredentialGroupByArgs['orderBy'] }
|
|
: { orderBy?: WorkflowCredentialGroupByArgs['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, WorkflowCredentialGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetWorkflowCredentialGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the WorkflowCredential model
|
|
*/
|
|
readonly fields: WorkflowCredentialFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for WorkflowCredential.
|
|
* 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__WorkflowCredentialClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
tenant<T extends Prisma.WorkflowCredential$tenantArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.WorkflowCredential$tenantArgs<ExtArgs>>): Prisma.Prisma__TenantClient<runtime.Types.Result.GetResult<Prisma.$TenantPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
createdByUser<T extends Prisma.WorkflowCredential$createdByUserArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.WorkflowCredential$createdByUserArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
/**
|
|
* 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 WorkflowCredential model
|
|
*/
|
|
export interface WorkflowCredentialFieldRefs {
|
|
readonly id: Prisma.FieldRef<"WorkflowCredential", 'String'>
|
|
readonly createdAt: Prisma.FieldRef<"WorkflowCredential", 'DateTime'>
|
|
readonly updatedAt: Prisma.FieldRef<"WorkflowCredential", 'DateTime'>
|
|
readonly tenantId: Prisma.FieldRef<"WorkflowCredential", 'String'>
|
|
readonly name: Prisma.FieldRef<"WorkflowCredential", 'String'>
|
|
readonly value: Prisma.FieldRef<"WorkflowCredential", 'String'>
|
|
readonly createdByUserId: Prisma.FieldRef<"WorkflowCredential", 'String'>
|
|
readonly userId: Prisma.FieldRef<"WorkflowCredential", 'String'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* WorkflowCredential findUnique
|
|
*/
|
|
export type WorkflowCredentialFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the WorkflowCredential
|
|
*/
|
|
select?: Prisma.WorkflowCredentialSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the WorkflowCredential
|
|
*/
|
|
omit?: Prisma.WorkflowCredentialOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.WorkflowCredentialInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which WorkflowCredential to fetch.
|
|
*/
|
|
where: Prisma.WorkflowCredentialWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* WorkflowCredential findUniqueOrThrow
|
|
*/
|
|
export type WorkflowCredentialFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the WorkflowCredential
|
|
*/
|
|
select?: Prisma.WorkflowCredentialSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the WorkflowCredential
|
|
*/
|
|
omit?: Prisma.WorkflowCredentialOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.WorkflowCredentialInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which WorkflowCredential to fetch.
|
|
*/
|
|
where: Prisma.WorkflowCredentialWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* WorkflowCredential findFirst
|
|
*/
|
|
export type WorkflowCredentialFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the WorkflowCredential
|
|
*/
|
|
select?: Prisma.WorkflowCredentialSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the WorkflowCredential
|
|
*/
|
|
omit?: Prisma.WorkflowCredentialOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.WorkflowCredentialInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which WorkflowCredential to fetch.
|
|
*/
|
|
where?: Prisma.WorkflowCredentialWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of WorkflowCredentials to fetch.
|
|
*/
|
|
orderBy?: Prisma.WorkflowCredentialOrderByWithRelationInput | Prisma.WorkflowCredentialOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for WorkflowCredentials.
|
|
*/
|
|
cursor?: Prisma.WorkflowCredentialWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` WorkflowCredentials 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` WorkflowCredentials.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of WorkflowCredentials.
|
|
*/
|
|
distinct?: Prisma.WorkflowCredentialScalarFieldEnum | Prisma.WorkflowCredentialScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* WorkflowCredential findFirstOrThrow
|
|
*/
|
|
export type WorkflowCredentialFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the WorkflowCredential
|
|
*/
|
|
select?: Prisma.WorkflowCredentialSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the WorkflowCredential
|
|
*/
|
|
omit?: Prisma.WorkflowCredentialOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.WorkflowCredentialInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which WorkflowCredential to fetch.
|
|
*/
|
|
where?: Prisma.WorkflowCredentialWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of WorkflowCredentials to fetch.
|
|
*/
|
|
orderBy?: Prisma.WorkflowCredentialOrderByWithRelationInput | Prisma.WorkflowCredentialOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for WorkflowCredentials.
|
|
*/
|
|
cursor?: Prisma.WorkflowCredentialWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` WorkflowCredentials 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` WorkflowCredentials.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of WorkflowCredentials.
|
|
*/
|
|
distinct?: Prisma.WorkflowCredentialScalarFieldEnum | Prisma.WorkflowCredentialScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* WorkflowCredential findMany
|
|
*/
|
|
export type WorkflowCredentialFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the WorkflowCredential
|
|
*/
|
|
select?: Prisma.WorkflowCredentialSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the WorkflowCredential
|
|
*/
|
|
omit?: Prisma.WorkflowCredentialOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.WorkflowCredentialInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which WorkflowCredentials to fetch.
|
|
*/
|
|
where?: Prisma.WorkflowCredentialWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of WorkflowCredentials to fetch.
|
|
*/
|
|
orderBy?: Prisma.WorkflowCredentialOrderByWithRelationInput | Prisma.WorkflowCredentialOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing WorkflowCredentials.
|
|
*/
|
|
cursor?: Prisma.WorkflowCredentialWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` WorkflowCredentials 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` WorkflowCredentials.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of WorkflowCredentials.
|
|
*/
|
|
distinct?: Prisma.WorkflowCredentialScalarFieldEnum | Prisma.WorkflowCredentialScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* WorkflowCredential create
|
|
*/
|
|
export type WorkflowCredentialCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the WorkflowCredential
|
|
*/
|
|
select?: Prisma.WorkflowCredentialSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the WorkflowCredential
|
|
*/
|
|
omit?: Prisma.WorkflowCredentialOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.WorkflowCredentialInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a WorkflowCredential.
|
|
*/
|
|
data: Prisma.XOR<Prisma.WorkflowCredentialCreateInput, Prisma.WorkflowCredentialUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* WorkflowCredential createMany
|
|
*/
|
|
export type WorkflowCredentialCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many WorkflowCredentials.
|
|
*/
|
|
data: Prisma.WorkflowCredentialCreateManyInput | Prisma.WorkflowCredentialCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* WorkflowCredential createManyAndReturn
|
|
*/
|
|
export type WorkflowCredentialCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the WorkflowCredential
|
|
*/
|
|
select?: Prisma.WorkflowCredentialSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the WorkflowCredential
|
|
*/
|
|
omit?: Prisma.WorkflowCredentialOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to create many WorkflowCredentials.
|
|
*/
|
|
data: Prisma.WorkflowCredentialCreateManyInput | Prisma.WorkflowCredentialCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.WorkflowCredentialIncludeCreateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* WorkflowCredential update
|
|
*/
|
|
export type WorkflowCredentialUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the WorkflowCredential
|
|
*/
|
|
select?: Prisma.WorkflowCredentialSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the WorkflowCredential
|
|
*/
|
|
omit?: Prisma.WorkflowCredentialOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.WorkflowCredentialInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a WorkflowCredential.
|
|
*/
|
|
data: Prisma.XOR<Prisma.WorkflowCredentialUpdateInput, Prisma.WorkflowCredentialUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which WorkflowCredential to update.
|
|
*/
|
|
where: Prisma.WorkflowCredentialWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* WorkflowCredential updateMany
|
|
*/
|
|
export type WorkflowCredentialUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update WorkflowCredentials.
|
|
*/
|
|
data: Prisma.XOR<Prisma.WorkflowCredentialUpdateManyMutationInput, Prisma.WorkflowCredentialUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which WorkflowCredentials to update
|
|
*/
|
|
where?: Prisma.WorkflowCredentialWhereInput
|
|
/**
|
|
* Limit how many WorkflowCredentials to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* WorkflowCredential updateManyAndReturn
|
|
*/
|
|
export type WorkflowCredentialUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the WorkflowCredential
|
|
*/
|
|
select?: Prisma.WorkflowCredentialSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the WorkflowCredential
|
|
*/
|
|
omit?: Prisma.WorkflowCredentialOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update WorkflowCredentials.
|
|
*/
|
|
data: Prisma.XOR<Prisma.WorkflowCredentialUpdateManyMutationInput, Prisma.WorkflowCredentialUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which WorkflowCredentials to update
|
|
*/
|
|
where?: Prisma.WorkflowCredentialWhereInput
|
|
/**
|
|
* Limit how many WorkflowCredentials to update.
|
|
*/
|
|
limit?: number
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.WorkflowCredentialIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* WorkflowCredential upsert
|
|
*/
|
|
export type WorkflowCredentialUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the WorkflowCredential
|
|
*/
|
|
select?: Prisma.WorkflowCredentialSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the WorkflowCredential
|
|
*/
|
|
omit?: Prisma.WorkflowCredentialOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.WorkflowCredentialInclude<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the WorkflowCredential to update in case it exists.
|
|
*/
|
|
where: Prisma.WorkflowCredentialWhereUniqueInput
|
|
/**
|
|
* In case the WorkflowCredential found by the `where` argument doesn't exist, create a new WorkflowCredential with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.WorkflowCredentialCreateInput, Prisma.WorkflowCredentialUncheckedCreateInput>
|
|
/**
|
|
* In case the WorkflowCredential was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.WorkflowCredentialUpdateInput, Prisma.WorkflowCredentialUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* WorkflowCredential delete
|
|
*/
|
|
export type WorkflowCredentialDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the WorkflowCredential
|
|
*/
|
|
select?: Prisma.WorkflowCredentialSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the WorkflowCredential
|
|
*/
|
|
omit?: Prisma.WorkflowCredentialOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.WorkflowCredentialInclude<ExtArgs> | null
|
|
/**
|
|
* Filter which WorkflowCredential to delete.
|
|
*/
|
|
where: Prisma.WorkflowCredentialWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* WorkflowCredential deleteMany
|
|
*/
|
|
export type WorkflowCredentialDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which WorkflowCredentials to delete
|
|
*/
|
|
where?: Prisma.WorkflowCredentialWhereInput
|
|
/**
|
|
* Limit how many WorkflowCredentials to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* WorkflowCredential.tenant
|
|
*/
|
|
export type WorkflowCredential$tenantArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Tenant
|
|
*/
|
|
select?: Prisma.TenantSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Tenant
|
|
*/
|
|
omit?: Prisma.TenantOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.TenantInclude<ExtArgs> | null
|
|
where?: Prisma.TenantWhereInput
|
|
}
|
|
|
|
/**
|
|
* WorkflowCredential.createdByUser
|
|
*/
|
|
export type WorkflowCredential$createdByUserArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the User
|
|
*/
|
|
select?: Prisma.UserSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the User
|
|
*/
|
|
omit?: Prisma.UserOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.UserInclude<ExtArgs> | null
|
|
where?: Prisma.UserWhereInput
|
|
}
|
|
|
|
/**
|
|
* WorkflowCredential without action
|
|
*/
|
|
export type WorkflowCredentialDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the WorkflowCredential
|
|
*/
|
|
select?: Prisma.WorkflowCredentialSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the WorkflowCredential
|
|
*/
|
|
omit?: Prisma.WorkflowCredentialOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.WorkflowCredentialInclude<ExtArgs> | null
|
|
}
|