/* !!! 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 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 = { /** * 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 = { [P in keyof T & keyof AggregateWorkflowCredential]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type WorkflowCredentialGroupByArgs = { 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 = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof WorkflowCredentialGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > 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 | null createdByUser?: Prisma.XOR | 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 | null createdByUser?: Prisma.XOR | 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[] connectOrCreate?: Prisma.WorkflowCredentialCreateOrConnectWithoutCreatedByUserInput | Prisma.WorkflowCredentialCreateOrConnectWithoutCreatedByUserInput[] createMany?: Prisma.WorkflowCredentialCreateManyCreatedByUserInputEnvelope connect?: Prisma.WorkflowCredentialWhereUniqueInput | Prisma.WorkflowCredentialWhereUniqueInput[] } export type WorkflowCredentialUncheckedCreateNestedManyWithoutCreatedByUserInput = { create?: Prisma.XOR | 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[] 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[] 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[] connectOrCreate?: Prisma.WorkflowCredentialCreateOrConnectWithoutTenantInput | Prisma.WorkflowCredentialCreateOrConnectWithoutTenantInput[] createMany?: Prisma.WorkflowCredentialCreateManyTenantInputEnvelope connect?: Prisma.WorkflowCredentialWhereUniqueInput | Prisma.WorkflowCredentialWhereUniqueInput[] } export type WorkflowCredentialUncheckedCreateNestedManyWithoutTenantInput = { create?: Prisma.XOR | 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[] 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[] 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 } export type WorkflowCredentialCreateManyCreatedByUserInputEnvelope = { data: Prisma.WorkflowCredentialCreateManyCreatedByUserInput | Prisma.WorkflowCredentialCreateManyCreatedByUserInput[] skipDuplicates?: boolean } export type WorkflowCredentialUpsertWithWhereUniqueWithoutCreatedByUserInput = { where: Prisma.WorkflowCredentialWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type WorkflowCredentialUpdateWithWhereUniqueWithoutCreatedByUserInput = { where: Prisma.WorkflowCredentialWhereUniqueInput data: Prisma.XOR } export type WorkflowCredentialUpdateManyWithWhereWithoutCreatedByUserInput = { where: Prisma.WorkflowCredentialScalarWhereInput data: Prisma.XOR } 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 } export type WorkflowCredentialCreateManyTenantInputEnvelope = { data: Prisma.WorkflowCredentialCreateManyTenantInput | Prisma.WorkflowCredentialCreateManyTenantInput[] skipDuplicates?: boolean } export type WorkflowCredentialUpsertWithWhereUniqueWithoutTenantInput = { where: Prisma.WorkflowCredentialWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type WorkflowCredentialUpdateWithWhereUniqueWithoutTenantInput = { where: Prisma.WorkflowCredentialWhereUniqueInput data: Prisma.XOR } export type WorkflowCredentialUpdateManyWithWhereWithoutTenantInput = { where: Prisma.WorkflowCredentialScalarWhereInput data: Prisma.XOR } 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 = 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 createdByUser?: boolean | Prisma.WorkflowCredential$createdByUserArgs }, ExtArgs["result"]["workflowCredential"]> export type WorkflowCredentialSelectCreateManyAndReturn = 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 createdByUser?: boolean | Prisma.WorkflowCredential$createdByUserArgs }, ExtArgs["result"]["workflowCredential"]> export type WorkflowCredentialSelectUpdateManyAndReturn = 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 createdByUser?: boolean | Prisma.WorkflowCredential$createdByUserArgs }, 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 = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "tenantId" | "name" | "value" | "createdByUserId" | "userId", ExtArgs["result"]["workflowCredential"]> export type WorkflowCredentialInclude = { tenant?: boolean | Prisma.WorkflowCredential$tenantArgs createdByUser?: boolean | Prisma.WorkflowCredential$createdByUserArgs } export type WorkflowCredentialIncludeCreateManyAndReturn = { tenant?: boolean | Prisma.WorkflowCredential$tenantArgs createdByUser?: boolean | Prisma.WorkflowCredential$createdByUserArgs } export type WorkflowCredentialIncludeUpdateManyAndReturn = { tenant?: boolean | Prisma.WorkflowCredential$tenantArgs createdByUser?: boolean | Prisma.WorkflowCredential$createdByUserArgs } export type $WorkflowCredentialPayload = { name: "WorkflowCredential" objects: { tenant: Prisma.$TenantPayload | null createdByUser: Prisma.$UserPayload | 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 = runtime.Types.Result.GetResult export type WorkflowCredentialCountArgs = Omit & { select?: WorkflowCredentialCountAggregateInputType | true } export interface WorkflowCredentialDelegate { [K: symbol]: { types: Prisma.TypeMap['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(args: Prisma.SelectSubset>): Prisma.Prisma__WorkflowCredentialClient, 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(args: Prisma.SelectSubset>): Prisma.Prisma__WorkflowCredentialClient, 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(args?: Prisma.SelectSubset>): Prisma.Prisma__WorkflowCredentialClient, 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(args?: Prisma.SelectSubset>): Prisma.Prisma__WorkflowCredentialClient, 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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, 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(args: Prisma.SelectSubset>): Prisma.Prisma__WorkflowCredentialClient, 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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * 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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, 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(args: Prisma.SelectSubset>): Prisma.Prisma__WorkflowCredentialClient, 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(args: Prisma.SelectSubset>): Prisma.Prisma__WorkflowCredentialClient, 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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * 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(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * 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(args: Prisma.SelectSubset>): Prisma.PrismaPromise, 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(args: Prisma.SelectSubset>): Prisma.Prisma__WorkflowCredentialClient, 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( args?: Prisma.Subset, ): Prisma.PrismaPromise< T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType : 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(args: Prisma.Subset): Prisma.PrismaPromise> /** * 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>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: WorkflowCredentialGroupByArgs['orderBy'] } : { orderBy?: WorkflowCredentialGroupByArgs['orderBy'] }, OrderFields extends Prisma.ExcludeUnderscoreKeys>>, ByFields extends Prisma.MaybeTupleToUnion, ByValid extends Prisma.Has, HavingFields extends Prisma.GetHavingFields, HavingValid extends Prisma.Has, 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 ? 'orderBy' extends Prisma.Keys ? 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 ? 'orderBy' extends Prisma.Keys ? 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 & InputErrors): {} extends InputErrors ? GetWorkflowCredentialGroupByPayload : Prisma.PrismaPromise /** * 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 extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" tenant = {}>(args?: Prisma.Subset>): Prisma.Prisma__TenantClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> createdByUser = {}>(args?: Prisma.Subset>): Prisma.Prisma__UserClient, 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(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * 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(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * 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 } /** * 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 = { /** * Select specific fields to fetch from the WorkflowCredential */ select?: Prisma.WorkflowCredentialSelect | null /** * Omit specific fields from the WorkflowCredential */ omit?: Prisma.WorkflowCredentialOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.WorkflowCredentialInclude | null /** * Filter, which WorkflowCredential to fetch. */ where: Prisma.WorkflowCredentialWhereUniqueInput } /** * WorkflowCredential findUniqueOrThrow */ export type WorkflowCredentialFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the WorkflowCredential */ select?: Prisma.WorkflowCredentialSelect | null /** * Omit specific fields from the WorkflowCredential */ omit?: Prisma.WorkflowCredentialOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.WorkflowCredentialInclude | null /** * Filter, which WorkflowCredential to fetch. */ where: Prisma.WorkflowCredentialWhereUniqueInput } /** * WorkflowCredential findFirst */ export type WorkflowCredentialFindFirstArgs = { /** * Select specific fields to fetch from the WorkflowCredential */ select?: Prisma.WorkflowCredentialSelect | null /** * Omit specific fields from the WorkflowCredential */ omit?: Prisma.WorkflowCredentialOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.WorkflowCredentialInclude | 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 = { /** * Select specific fields to fetch from the WorkflowCredential */ select?: Prisma.WorkflowCredentialSelect | null /** * Omit specific fields from the WorkflowCredential */ omit?: Prisma.WorkflowCredentialOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.WorkflowCredentialInclude | 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 = { /** * Select specific fields to fetch from the WorkflowCredential */ select?: Prisma.WorkflowCredentialSelect | null /** * Omit specific fields from the WorkflowCredential */ omit?: Prisma.WorkflowCredentialOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.WorkflowCredentialInclude | 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 = { /** * Select specific fields to fetch from the WorkflowCredential */ select?: Prisma.WorkflowCredentialSelect | null /** * Omit specific fields from the WorkflowCredential */ omit?: Prisma.WorkflowCredentialOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.WorkflowCredentialInclude | null /** * The data needed to create a WorkflowCredential. */ data: Prisma.XOR } /** * WorkflowCredential createMany */ export type WorkflowCredentialCreateManyArgs = { /** * The data used to create many WorkflowCredentials. */ data: Prisma.WorkflowCredentialCreateManyInput | Prisma.WorkflowCredentialCreateManyInput[] skipDuplicates?: boolean } /** * WorkflowCredential createManyAndReturn */ export type WorkflowCredentialCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the WorkflowCredential */ select?: Prisma.WorkflowCredentialSelectCreateManyAndReturn | null /** * Omit specific fields from the WorkflowCredential */ omit?: Prisma.WorkflowCredentialOmit | 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 | null } /** * WorkflowCredential update */ export type WorkflowCredentialUpdateArgs = { /** * Select specific fields to fetch from the WorkflowCredential */ select?: Prisma.WorkflowCredentialSelect | null /** * Omit specific fields from the WorkflowCredential */ omit?: Prisma.WorkflowCredentialOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.WorkflowCredentialInclude | null /** * The data needed to update a WorkflowCredential. */ data: Prisma.XOR /** * Choose, which WorkflowCredential to update. */ where: Prisma.WorkflowCredentialWhereUniqueInput } /** * WorkflowCredential updateMany */ export type WorkflowCredentialUpdateManyArgs = { /** * The data used to update WorkflowCredentials. */ data: Prisma.XOR /** * Filter which WorkflowCredentials to update */ where?: Prisma.WorkflowCredentialWhereInput /** * Limit how many WorkflowCredentials to update. */ limit?: number } /** * WorkflowCredential updateManyAndReturn */ export type WorkflowCredentialUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the WorkflowCredential */ select?: Prisma.WorkflowCredentialSelectUpdateManyAndReturn | null /** * Omit specific fields from the WorkflowCredential */ omit?: Prisma.WorkflowCredentialOmit | null /** * The data used to update WorkflowCredentials. */ data: Prisma.XOR /** * 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 | null } /** * WorkflowCredential upsert */ export type WorkflowCredentialUpsertArgs = { /** * Select specific fields to fetch from the WorkflowCredential */ select?: Prisma.WorkflowCredentialSelect | null /** * Omit specific fields from the WorkflowCredential */ omit?: Prisma.WorkflowCredentialOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.WorkflowCredentialInclude | 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 /** * In case the WorkflowCredential was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * WorkflowCredential delete */ export type WorkflowCredentialDeleteArgs = { /** * Select specific fields to fetch from the WorkflowCredential */ select?: Prisma.WorkflowCredentialSelect | null /** * Omit specific fields from the WorkflowCredential */ omit?: Prisma.WorkflowCredentialOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.WorkflowCredentialInclude | null /** * Filter which WorkflowCredential to delete. */ where: Prisma.WorkflowCredentialWhereUniqueInput } /** * WorkflowCredential deleteMany */ export type WorkflowCredentialDeleteManyArgs = { /** * Filter which WorkflowCredentials to delete */ where?: Prisma.WorkflowCredentialWhereInput /** * Limit how many WorkflowCredentials to delete. */ limit?: number } /** * WorkflowCredential.tenant */ export type WorkflowCredential$tenantArgs = { /** * Select specific fields to fetch from the Tenant */ select?: Prisma.TenantSelect | null /** * Omit specific fields from the Tenant */ omit?: Prisma.TenantOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TenantInclude | null where?: Prisma.TenantWhereInput } /** * WorkflowCredential.createdByUser */ export type WorkflowCredential$createdByUserArgs = { /** * Select specific fields to fetch from the User */ select?: Prisma.UserSelect | null /** * Omit specific fields from the User */ omit?: Prisma.UserOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.UserInclude | null where?: Prisma.UserWhereInput } /** * WorkflowCredential without action */ export type WorkflowCredentialDefaultArgs = { /** * Select specific fields to fetch from the WorkflowCredential */ select?: Prisma.WorkflowCredentialSelect | null /** * Omit specific fields from the WorkflowCredential */ omit?: Prisma.WorkflowCredentialOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.WorkflowCredentialInclude | null }