/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `AssetComment` model and its related types. * * 🟢 You can import this file directly. */ import type * as PJTG from '../pjtg'; 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 AssetComment * */ export type AssetCommentModel = runtime.Types.Result.DefaultSelection export type AggregateAssetComment = { _count: AssetCommentCountAggregateOutputType | null _avg: AssetCommentAvgAggregateOutputType | null _sum: AssetCommentSumAggregateOutputType | null _min: AssetCommentMinAggregateOutputType | null _max: AssetCommentMaxAggregateOutputType | null } export type AssetCommentAvgAggregateOutputType = { second: number | null } export type AssetCommentSumAggregateOutputType = { second: number | null } export type AssetCommentMinAggregateOutputType = { id: string | null message: string | null second: number | null sessionId: string | null createdAt: Date | null updatedAt: Date | null assetId: string | null creatorId: string | null replyToId: string | null } export type AssetCommentMaxAggregateOutputType = { id: string | null message: string | null second: number | null sessionId: string | null createdAt: Date | null updatedAt: Date | null assetId: string | null creatorId: string | null replyToId: string | null } export type AssetCommentCountAggregateOutputType = { id: number message: number annotation:PrismaJson.AnnotationList second: number sessionId: number createdAt: number updatedAt: number assetId: number creatorId: number replyToId: number _all: number } export type AssetCommentAvgAggregateInputType = { second?: true } export type AssetCommentSumAggregateInputType = { second?: true } export type AssetCommentMinAggregateInputType = { id?: true message?: true second?: true sessionId?: true createdAt?: true updatedAt?: true assetId?: true creatorId?: true replyToId?: true } export type AssetCommentMaxAggregateInputType = { id?: true message?: true second?: true sessionId?: true createdAt?: true updatedAt?: true assetId?: true creatorId?: true replyToId?: true } export type AssetCommentCountAggregateInputType = { id?: true message?: true annotation?: true second?: true sessionId?: true createdAt?: true updatedAt?: true assetId?: true creatorId?: true replyToId?: true _all?: true } export type AssetCommentAggregateArgs = { /** * Filter which AssetComment to aggregate. */ where?: Prisma.AssetCommentWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AssetComments to fetch. */ orderBy?: Prisma.AssetCommentOrderByWithRelationInput | Prisma.AssetCommentOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.AssetCommentWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AssetComments 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` AssetComments. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned AssetComments **/ _count?: true | AssetCommentCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: AssetCommentAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: AssetCommentSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: AssetCommentMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: AssetCommentMaxAggregateInputType } export type GetAssetCommentAggregateType = { [P in keyof T & keyof AggregateAssetComment]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type AssetCommentGroupByArgs = { where?: Prisma.AssetCommentWhereInput orderBy?: Prisma.AssetCommentOrderByWithAggregationInput | Prisma.AssetCommentOrderByWithAggregationInput[] by: Prisma.AssetCommentScalarFieldEnum[] | Prisma.AssetCommentScalarFieldEnum having?: Prisma.AssetCommentScalarWhereWithAggregatesInput take?: number skip?: number _count?: AssetCommentCountAggregateInputType | true _avg?: AssetCommentAvgAggregateInputType _sum?: AssetCommentSumAggregateInputType _min?: AssetCommentMinAggregateInputType _max?: AssetCommentMaxAggregateInputType } export type AssetCommentGroupByOutputType = { id: string message: string | null annotation:PrismaJson.AnnotationList | null second: number | null sessionId: string | null createdAt: Date updatedAt: Date assetId: string creatorId: string | null replyToId: string | null _count: AssetCommentCountAggregateOutputType | null _avg: AssetCommentAvgAggregateOutputType | null _sum: AssetCommentSumAggregateOutputType | null _min: AssetCommentMinAggregateOutputType | null _max: AssetCommentMaxAggregateOutputType | null } export type GetAssetCommentGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof AssetCommentGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type AssetCommentWhereInput = { AND?: Prisma.AssetCommentWhereInput | Prisma.AssetCommentWhereInput[] OR?: Prisma.AssetCommentWhereInput[] NOT?: Prisma.AssetCommentWhereInput | Prisma.AssetCommentWhereInput[] id?: Prisma.StringFilter<"AssetComment"> | string message?: Prisma.StringNullableFilter<"AssetComment"> | string | null annotation?: Prisma.JsonNullableFilter<"AssetComment"> second?: Prisma.FloatNullableFilter<"AssetComment"> | number | null sessionId?: Prisma.StringNullableFilter<"AssetComment"> | string | null createdAt?: Prisma.DateTimeFilter<"AssetComment"> | Date | string updatedAt?: Prisma.DateTimeFilter<"AssetComment"> | Date | string assetId?: Prisma.StringFilter<"AssetComment"> | string creatorId?: Prisma.StringNullableFilter<"AssetComment"> | string | null replyToId?: Prisma.StringNullableFilter<"AssetComment"> | string | null session?: Prisma.XOR | null asset?: Prisma.XOR creator?: Prisma.XOR | null replyTo?: Prisma.XOR | null replies?: Prisma.AssetCommentListRelationFilter attachments?: Prisma.AssetCommentAttachmentListRelationFilter } export type AssetCommentOrderByWithRelationInput = { id?: Prisma.SortOrder message?: Prisma.SortOrderInput | Prisma.SortOrder annotation?: Prisma.SortOrderInput | Prisma.SortOrder second?: Prisma.SortOrderInput | Prisma.SortOrder sessionId?: Prisma.SortOrderInput | Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder assetId?: Prisma.SortOrder creatorId?: Prisma.SortOrderInput | Prisma.SortOrder replyToId?: Prisma.SortOrderInput | Prisma.SortOrder session?: Prisma.AgentSessionOrderByWithRelationInput asset?: Prisma.AssetOrderByWithRelationInput creator?: Prisma.UserOrderByWithRelationInput replyTo?: Prisma.AssetCommentOrderByWithRelationInput replies?: Prisma.AssetCommentOrderByRelationAggregateInput attachments?: Prisma.AssetCommentAttachmentOrderByRelationAggregateInput } export type AssetCommentWhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: Prisma.AssetCommentWhereInput | Prisma.AssetCommentWhereInput[] OR?: Prisma.AssetCommentWhereInput[] NOT?: Prisma.AssetCommentWhereInput | Prisma.AssetCommentWhereInput[] message?: Prisma.StringNullableFilter<"AssetComment"> | string | null annotation?: Prisma.JsonNullableFilter<"AssetComment"> second?: Prisma.FloatNullableFilter<"AssetComment"> | number | null sessionId?: Prisma.StringNullableFilter<"AssetComment"> | string | null createdAt?: Prisma.DateTimeFilter<"AssetComment"> | Date | string updatedAt?: Prisma.DateTimeFilter<"AssetComment"> | Date | string assetId?: Prisma.StringFilter<"AssetComment"> | string creatorId?: Prisma.StringNullableFilter<"AssetComment"> | string | null replyToId?: Prisma.StringNullableFilter<"AssetComment"> | string | null session?: Prisma.XOR | null asset?: Prisma.XOR creator?: Prisma.XOR | null replyTo?: Prisma.XOR | null replies?: Prisma.AssetCommentListRelationFilter attachments?: Prisma.AssetCommentAttachmentListRelationFilter }, "id"> export type AssetCommentOrderByWithAggregationInput = { id?: Prisma.SortOrder message?: Prisma.SortOrderInput | Prisma.SortOrder annotation?: Prisma.SortOrderInput | Prisma.SortOrder second?: Prisma.SortOrderInput | Prisma.SortOrder sessionId?: Prisma.SortOrderInput | Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder assetId?: Prisma.SortOrder creatorId?: Prisma.SortOrderInput | Prisma.SortOrder replyToId?: Prisma.SortOrderInput | Prisma.SortOrder _count?: Prisma.AssetCommentCountOrderByAggregateInput _avg?: Prisma.AssetCommentAvgOrderByAggregateInput _max?: Prisma.AssetCommentMaxOrderByAggregateInput _min?: Prisma.AssetCommentMinOrderByAggregateInput _sum?: Prisma.AssetCommentSumOrderByAggregateInput } export type AssetCommentScalarWhereWithAggregatesInput = { AND?: Prisma.AssetCommentScalarWhereWithAggregatesInput | Prisma.AssetCommentScalarWhereWithAggregatesInput[] OR?: Prisma.AssetCommentScalarWhereWithAggregatesInput[] NOT?: Prisma.AssetCommentScalarWhereWithAggregatesInput | Prisma.AssetCommentScalarWhereWithAggregatesInput[] id?: Prisma.StringWithAggregatesFilter<"AssetComment"> | string message?: Prisma.StringNullableWithAggregatesFilter<"AssetComment"> | string | null annotation?: Prisma.JsonNullableWithAggregatesFilter<"AssetComment"> second?: Prisma.FloatNullableWithAggregatesFilter<"AssetComment"> | number | null sessionId?: Prisma.StringNullableWithAggregatesFilter<"AssetComment"> | string | null createdAt?: Prisma.DateTimeWithAggregatesFilter<"AssetComment"> | Date | string updatedAt?: Prisma.DateTimeWithAggregatesFilter<"AssetComment"> | Date | string assetId?: Prisma.StringWithAggregatesFilter<"AssetComment"> | string creatorId?: Prisma.StringNullableWithAggregatesFilter<"AssetComment"> | string | null replyToId?: Prisma.StringNullableWithAggregatesFilter<"AssetComment"> | string | null } export type AssetCommentCreateInput = { id?: string message?: string | null annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput second?: number | null createdAt?: Date | string updatedAt?: Date | string session?: Prisma.AgentSessionCreateNestedOneWithoutCommentsInput asset: Prisma.AssetCreateNestedOneWithoutCommentsInput creator?: Prisma.UserCreateNestedOneWithoutCommentsInput replyTo?: Prisma.AssetCommentCreateNestedOneWithoutRepliesInput replies?: Prisma.AssetCommentCreateNestedManyWithoutReplyToInput attachments?: Prisma.AssetCommentAttachmentCreateNestedManyWithoutCommentInput } export type AssetCommentUncheckedCreateInput = { id?: string message?: string | null annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput second?: number | null sessionId?: string | null createdAt?: Date | string updatedAt?: Date | string assetId: string creatorId?: string | null replyToId?: string | null replies?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutReplyToInput attachments?: Prisma.AssetCommentAttachmentUncheckedCreateNestedManyWithoutCommentInput } export type AssetCommentUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput second?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string session?: Prisma.AgentSessionUpdateOneWithoutCommentsNestedInput asset?: Prisma.AssetUpdateOneRequiredWithoutCommentsNestedInput creator?: Prisma.UserUpdateOneWithoutCommentsNestedInput replyTo?: Prisma.AssetCommentUpdateOneWithoutRepliesNestedInput replies?: Prisma.AssetCommentUpdateManyWithoutReplyToNestedInput attachments?: Prisma.AssetCommentAttachmentUpdateManyWithoutCommentNestedInput } export type AssetCommentUncheckedUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput second?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null sessionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string assetId?: Prisma.StringFieldUpdateOperationsInput | string creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null replyToId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null replies?: Prisma.AssetCommentUncheckedUpdateManyWithoutReplyToNestedInput attachments?: Prisma.AssetCommentAttachmentUncheckedUpdateManyWithoutCommentNestedInput } export type AssetCommentCreateManyInput = { id?: string message?: string | null annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput second?: number | null sessionId?: string | null createdAt?: Date | string updatedAt?: Date | string assetId: string creatorId?: string | null replyToId?: string | null } export type AssetCommentUpdateManyMutationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput second?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type AssetCommentUncheckedUpdateManyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput second?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null sessionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string assetId?: Prisma.StringFieldUpdateOperationsInput | string creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null replyToId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type AssetCommentListRelationFilter = { every?: Prisma.AssetCommentWhereInput some?: Prisma.AssetCommentWhereInput none?: Prisma.AssetCommentWhereInput } export type AssetCommentOrderByRelationAggregateInput = { _count?: Prisma.SortOrder } export type AssetCommentNullableScalarRelationFilter = { is?: Prisma.AssetCommentWhereInput | null isNot?: Prisma.AssetCommentWhereInput | null } export type AssetCommentCountOrderByAggregateInput = { id?: Prisma.SortOrder message?: Prisma.SortOrder annotation?: Prisma.SortOrder second?: Prisma.SortOrder sessionId?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder assetId?: Prisma.SortOrder creatorId?: Prisma.SortOrder replyToId?: Prisma.SortOrder } export type AssetCommentAvgOrderByAggregateInput = { second?: Prisma.SortOrder } export type AssetCommentMaxOrderByAggregateInput = { id?: Prisma.SortOrder message?: Prisma.SortOrder second?: Prisma.SortOrder sessionId?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder assetId?: Prisma.SortOrder creatorId?: Prisma.SortOrder replyToId?: Prisma.SortOrder } export type AssetCommentMinOrderByAggregateInput = { id?: Prisma.SortOrder message?: Prisma.SortOrder second?: Prisma.SortOrder sessionId?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder assetId?: Prisma.SortOrder creatorId?: Prisma.SortOrder replyToId?: Prisma.SortOrder } export type AssetCommentSumOrderByAggregateInput = { second?: Prisma.SortOrder } export type AssetCommentScalarRelationFilter = { is?: Prisma.AssetCommentWhereInput isNot?: Prisma.AssetCommentWhereInput } export type AssetCommentCreateNestedManyWithoutCreatorInput = { create?: Prisma.XOR | Prisma.AssetCommentCreateWithoutCreatorInput[] | Prisma.AssetCommentUncheckedCreateWithoutCreatorInput[] connectOrCreate?: Prisma.AssetCommentCreateOrConnectWithoutCreatorInput | Prisma.AssetCommentCreateOrConnectWithoutCreatorInput[] createMany?: Prisma.AssetCommentCreateManyCreatorInputEnvelope connect?: Prisma.AssetCommentWhereUniqueInput | Prisma.AssetCommentWhereUniqueInput[] } export type AssetCommentUncheckedCreateNestedManyWithoutCreatorInput = { create?: Prisma.XOR | Prisma.AssetCommentCreateWithoutCreatorInput[] | Prisma.AssetCommentUncheckedCreateWithoutCreatorInput[] connectOrCreate?: Prisma.AssetCommentCreateOrConnectWithoutCreatorInput | Prisma.AssetCommentCreateOrConnectWithoutCreatorInput[] createMany?: Prisma.AssetCommentCreateManyCreatorInputEnvelope connect?: Prisma.AssetCommentWhereUniqueInput | Prisma.AssetCommentWhereUniqueInput[] } export type AssetCommentUpdateManyWithoutCreatorNestedInput = { create?: Prisma.XOR | Prisma.AssetCommentCreateWithoutCreatorInput[] | Prisma.AssetCommentUncheckedCreateWithoutCreatorInput[] connectOrCreate?: Prisma.AssetCommentCreateOrConnectWithoutCreatorInput | Prisma.AssetCommentCreateOrConnectWithoutCreatorInput[] upsert?: Prisma.AssetCommentUpsertWithWhereUniqueWithoutCreatorInput | Prisma.AssetCommentUpsertWithWhereUniqueWithoutCreatorInput[] createMany?: Prisma.AssetCommentCreateManyCreatorInputEnvelope set?: Prisma.AssetCommentWhereUniqueInput | Prisma.AssetCommentWhereUniqueInput[] disconnect?: Prisma.AssetCommentWhereUniqueInput | Prisma.AssetCommentWhereUniqueInput[] delete?: Prisma.AssetCommentWhereUniqueInput | Prisma.AssetCommentWhereUniqueInput[] connect?: Prisma.AssetCommentWhereUniqueInput | Prisma.AssetCommentWhereUniqueInput[] update?: Prisma.AssetCommentUpdateWithWhereUniqueWithoutCreatorInput | Prisma.AssetCommentUpdateWithWhereUniqueWithoutCreatorInput[] updateMany?: Prisma.AssetCommentUpdateManyWithWhereWithoutCreatorInput | Prisma.AssetCommentUpdateManyWithWhereWithoutCreatorInput[] deleteMany?: Prisma.AssetCommentScalarWhereInput | Prisma.AssetCommentScalarWhereInput[] } export type AssetCommentUncheckedUpdateManyWithoutCreatorNestedInput = { create?: Prisma.XOR | Prisma.AssetCommentCreateWithoutCreatorInput[] | Prisma.AssetCommentUncheckedCreateWithoutCreatorInput[] connectOrCreate?: Prisma.AssetCommentCreateOrConnectWithoutCreatorInput | Prisma.AssetCommentCreateOrConnectWithoutCreatorInput[] upsert?: Prisma.AssetCommentUpsertWithWhereUniqueWithoutCreatorInput | Prisma.AssetCommentUpsertWithWhereUniqueWithoutCreatorInput[] createMany?: Prisma.AssetCommentCreateManyCreatorInputEnvelope set?: Prisma.AssetCommentWhereUniqueInput | Prisma.AssetCommentWhereUniqueInput[] disconnect?: Prisma.AssetCommentWhereUniqueInput | Prisma.AssetCommentWhereUniqueInput[] delete?: Prisma.AssetCommentWhereUniqueInput | Prisma.AssetCommentWhereUniqueInput[] connect?: Prisma.AssetCommentWhereUniqueInput | Prisma.AssetCommentWhereUniqueInput[] update?: Prisma.AssetCommentUpdateWithWhereUniqueWithoutCreatorInput | Prisma.AssetCommentUpdateWithWhereUniqueWithoutCreatorInput[] updateMany?: Prisma.AssetCommentUpdateManyWithWhereWithoutCreatorInput | Prisma.AssetCommentUpdateManyWithWhereWithoutCreatorInput[] deleteMany?: Prisma.AssetCommentScalarWhereInput | Prisma.AssetCommentScalarWhereInput[] } export type AssetCommentCreateNestedManyWithoutAssetInput = { create?: Prisma.XOR | Prisma.AssetCommentCreateWithoutAssetInput[] | Prisma.AssetCommentUncheckedCreateWithoutAssetInput[] connectOrCreate?: Prisma.AssetCommentCreateOrConnectWithoutAssetInput | Prisma.AssetCommentCreateOrConnectWithoutAssetInput[] createMany?: Prisma.AssetCommentCreateManyAssetInputEnvelope connect?: Prisma.AssetCommentWhereUniqueInput | Prisma.AssetCommentWhereUniqueInput[] } export type AssetCommentUncheckedCreateNestedManyWithoutAssetInput = { create?: Prisma.XOR | Prisma.AssetCommentCreateWithoutAssetInput[] | Prisma.AssetCommentUncheckedCreateWithoutAssetInput[] connectOrCreate?: Prisma.AssetCommentCreateOrConnectWithoutAssetInput | Prisma.AssetCommentCreateOrConnectWithoutAssetInput[] createMany?: Prisma.AssetCommentCreateManyAssetInputEnvelope connect?: Prisma.AssetCommentWhereUniqueInput | Prisma.AssetCommentWhereUniqueInput[] } export type AssetCommentUpdateManyWithoutAssetNestedInput = { create?: Prisma.XOR | Prisma.AssetCommentCreateWithoutAssetInput[] | Prisma.AssetCommentUncheckedCreateWithoutAssetInput[] connectOrCreate?: Prisma.AssetCommentCreateOrConnectWithoutAssetInput | Prisma.AssetCommentCreateOrConnectWithoutAssetInput[] upsert?: Prisma.AssetCommentUpsertWithWhereUniqueWithoutAssetInput | Prisma.AssetCommentUpsertWithWhereUniqueWithoutAssetInput[] createMany?: Prisma.AssetCommentCreateManyAssetInputEnvelope set?: Prisma.AssetCommentWhereUniqueInput | Prisma.AssetCommentWhereUniqueInput[] disconnect?: Prisma.AssetCommentWhereUniqueInput | Prisma.AssetCommentWhereUniqueInput[] delete?: Prisma.AssetCommentWhereUniqueInput | Prisma.AssetCommentWhereUniqueInput[] connect?: Prisma.AssetCommentWhereUniqueInput | Prisma.AssetCommentWhereUniqueInput[] update?: Prisma.AssetCommentUpdateWithWhereUniqueWithoutAssetInput | Prisma.AssetCommentUpdateWithWhereUniqueWithoutAssetInput[] updateMany?: Prisma.AssetCommentUpdateManyWithWhereWithoutAssetInput | Prisma.AssetCommentUpdateManyWithWhereWithoutAssetInput[] deleteMany?: Prisma.AssetCommentScalarWhereInput | Prisma.AssetCommentScalarWhereInput[] } export type AssetCommentUncheckedUpdateManyWithoutAssetNestedInput = { create?: Prisma.XOR | Prisma.AssetCommentCreateWithoutAssetInput[] | Prisma.AssetCommentUncheckedCreateWithoutAssetInput[] connectOrCreate?: Prisma.AssetCommentCreateOrConnectWithoutAssetInput | Prisma.AssetCommentCreateOrConnectWithoutAssetInput[] upsert?: Prisma.AssetCommentUpsertWithWhereUniqueWithoutAssetInput | Prisma.AssetCommentUpsertWithWhereUniqueWithoutAssetInput[] createMany?: Prisma.AssetCommentCreateManyAssetInputEnvelope set?: Prisma.AssetCommentWhereUniqueInput | Prisma.AssetCommentWhereUniqueInput[] disconnect?: Prisma.AssetCommentWhereUniqueInput | Prisma.AssetCommentWhereUniqueInput[] delete?: Prisma.AssetCommentWhereUniqueInput | Prisma.AssetCommentWhereUniqueInput[] connect?: Prisma.AssetCommentWhereUniqueInput | Prisma.AssetCommentWhereUniqueInput[] update?: Prisma.AssetCommentUpdateWithWhereUniqueWithoutAssetInput | Prisma.AssetCommentUpdateWithWhereUniqueWithoutAssetInput[] updateMany?: Prisma.AssetCommentUpdateManyWithWhereWithoutAssetInput | Prisma.AssetCommentUpdateManyWithWhereWithoutAssetInput[] deleteMany?: Prisma.AssetCommentScalarWhereInput | Prisma.AssetCommentScalarWhereInput[] } export type AssetCommentCreateNestedOneWithoutRepliesInput = { create?: Prisma.XOR connectOrCreate?: Prisma.AssetCommentCreateOrConnectWithoutRepliesInput connect?: Prisma.AssetCommentWhereUniqueInput } export type AssetCommentCreateNestedManyWithoutReplyToInput = { create?: Prisma.XOR | Prisma.AssetCommentCreateWithoutReplyToInput[] | Prisma.AssetCommentUncheckedCreateWithoutReplyToInput[] connectOrCreate?: Prisma.AssetCommentCreateOrConnectWithoutReplyToInput | Prisma.AssetCommentCreateOrConnectWithoutReplyToInput[] createMany?: Prisma.AssetCommentCreateManyReplyToInputEnvelope connect?: Prisma.AssetCommentWhereUniqueInput | Prisma.AssetCommentWhereUniqueInput[] } export type AssetCommentUncheckedCreateNestedManyWithoutReplyToInput = { create?: Prisma.XOR | Prisma.AssetCommentCreateWithoutReplyToInput[] | Prisma.AssetCommentUncheckedCreateWithoutReplyToInput[] connectOrCreate?: Prisma.AssetCommentCreateOrConnectWithoutReplyToInput | Prisma.AssetCommentCreateOrConnectWithoutReplyToInput[] createMany?: Prisma.AssetCommentCreateManyReplyToInputEnvelope connect?: Prisma.AssetCommentWhereUniqueInput | Prisma.AssetCommentWhereUniqueInput[] } export type AssetCommentUpdateOneWithoutRepliesNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.AssetCommentCreateOrConnectWithoutRepliesInput upsert?: Prisma.AssetCommentUpsertWithoutRepliesInput disconnect?: Prisma.AssetCommentWhereInput | boolean delete?: Prisma.AssetCommentWhereInput | boolean connect?: Prisma.AssetCommentWhereUniqueInput update?: Prisma.XOR, Prisma.AssetCommentUncheckedUpdateWithoutRepliesInput> } export type AssetCommentUpdateManyWithoutReplyToNestedInput = { create?: Prisma.XOR | Prisma.AssetCommentCreateWithoutReplyToInput[] | Prisma.AssetCommentUncheckedCreateWithoutReplyToInput[] connectOrCreate?: Prisma.AssetCommentCreateOrConnectWithoutReplyToInput | Prisma.AssetCommentCreateOrConnectWithoutReplyToInput[] upsert?: Prisma.AssetCommentUpsertWithWhereUniqueWithoutReplyToInput | Prisma.AssetCommentUpsertWithWhereUniqueWithoutReplyToInput[] createMany?: Prisma.AssetCommentCreateManyReplyToInputEnvelope set?: Prisma.AssetCommentWhereUniqueInput | Prisma.AssetCommentWhereUniqueInput[] disconnect?: Prisma.AssetCommentWhereUniqueInput | Prisma.AssetCommentWhereUniqueInput[] delete?: Prisma.AssetCommentWhereUniqueInput | Prisma.AssetCommentWhereUniqueInput[] connect?: Prisma.AssetCommentWhereUniqueInput | Prisma.AssetCommentWhereUniqueInput[] update?: Prisma.AssetCommentUpdateWithWhereUniqueWithoutReplyToInput | Prisma.AssetCommentUpdateWithWhereUniqueWithoutReplyToInput[] updateMany?: Prisma.AssetCommentUpdateManyWithWhereWithoutReplyToInput | Prisma.AssetCommentUpdateManyWithWhereWithoutReplyToInput[] deleteMany?: Prisma.AssetCommentScalarWhereInput | Prisma.AssetCommentScalarWhereInput[] } export type AssetCommentUncheckedUpdateManyWithoutReplyToNestedInput = { create?: Prisma.XOR | Prisma.AssetCommentCreateWithoutReplyToInput[] | Prisma.AssetCommentUncheckedCreateWithoutReplyToInput[] connectOrCreate?: Prisma.AssetCommentCreateOrConnectWithoutReplyToInput | Prisma.AssetCommentCreateOrConnectWithoutReplyToInput[] upsert?: Prisma.AssetCommentUpsertWithWhereUniqueWithoutReplyToInput | Prisma.AssetCommentUpsertWithWhereUniqueWithoutReplyToInput[] createMany?: Prisma.AssetCommentCreateManyReplyToInputEnvelope set?: Prisma.AssetCommentWhereUniqueInput | Prisma.AssetCommentWhereUniqueInput[] disconnect?: Prisma.AssetCommentWhereUniqueInput | Prisma.AssetCommentWhereUniqueInput[] delete?: Prisma.AssetCommentWhereUniqueInput | Prisma.AssetCommentWhereUniqueInput[] connect?: Prisma.AssetCommentWhereUniqueInput | Prisma.AssetCommentWhereUniqueInput[] update?: Prisma.AssetCommentUpdateWithWhereUniqueWithoutReplyToInput | Prisma.AssetCommentUpdateWithWhereUniqueWithoutReplyToInput[] updateMany?: Prisma.AssetCommentUpdateManyWithWhereWithoutReplyToInput | Prisma.AssetCommentUpdateManyWithWhereWithoutReplyToInput[] deleteMany?: Prisma.AssetCommentScalarWhereInput | Prisma.AssetCommentScalarWhereInput[] } export type AssetCommentCreateNestedOneWithoutAttachmentsInput = { create?: Prisma.XOR connectOrCreate?: Prisma.AssetCommentCreateOrConnectWithoutAttachmentsInput connect?: Prisma.AssetCommentWhereUniqueInput } export type AssetCommentUpdateOneRequiredWithoutAttachmentsNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.AssetCommentCreateOrConnectWithoutAttachmentsInput upsert?: Prisma.AssetCommentUpsertWithoutAttachmentsInput connect?: Prisma.AssetCommentWhereUniqueInput update?: Prisma.XOR, Prisma.AssetCommentUncheckedUpdateWithoutAttachmentsInput> } export type AssetCommentCreateNestedManyWithoutSessionInput = { create?: Prisma.XOR | Prisma.AssetCommentCreateWithoutSessionInput[] | Prisma.AssetCommentUncheckedCreateWithoutSessionInput[] connectOrCreate?: Prisma.AssetCommentCreateOrConnectWithoutSessionInput | Prisma.AssetCommentCreateOrConnectWithoutSessionInput[] createMany?: Prisma.AssetCommentCreateManySessionInputEnvelope connect?: Prisma.AssetCommentWhereUniqueInput | Prisma.AssetCommentWhereUniqueInput[] } export type AssetCommentUncheckedCreateNestedManyWithoutSessionInput = { create?: Prisma.XOR | Prisma.AssetCommentCreateWithoutSessionInput[] | Prisma.AssetCommentUncheckedCreateWithoutSessionInput[] connectOrCreate?: Prisma.AssetCommentCreateOrConnectWithoutSessionInput | Prisma.AssetCommentCreateOrConnectWithoutSessionInput[] createMany?: Prisma.AssetCommentCreateManySessionInputEnvelope connect?: Prisma.AssetCommentWhereUniqueInput | Prisma.AssetCommentWhereUniqueInput[] } export type AssetCommentUpdateManyWithoutSessionNestedInput = { create?: Prisma.XOR | Prisma.AssetCommentCreateWithoutSessionInput[] | Prisma.AssetCommentUncheckedCreateWithoutSessionInput[] connectOrCreate?: Prisma.AssetCommentCreateOrConnectWithoutSessionInput | Prisma.AssetCommentCreateOrConnectWithoutSessionInput[] upsert?: Prisma.AssetCommentUpsertWithWhereUniqueWithoutSessionInput | Prisma.AssetCommentUpsertWithWhereUniqueWithoutSessionInput[] createMany?: Prisma.AssetCommentCreateManySessionInputEnvelope set?: Prisma.AssetCommentWhereUniqueInput | Prisma.AssetCommentWhereUniqueInput[] disconnect?: Prisma.AssetCommentWhereUniqueInput | Prisma.AssetCommentWhereUniqueInput[] delete?: Prisma.AssetCommentWhereUniqueInput | Prisma.AssetCommentWhereUniqueInput[] connect?: Prisma.AssetCommentWhereUniqueInput | Prisma.AssetCommentWhereUniqueInput[] update?: Prisma.AssetCommentUpdateWithWhereUniqueWithoutSessionInput | Prisma.AssetCommentUpdateWithWhereUniqueWithoutSessionInput[] updateMany?: Prisma.AssetCommentUpdateManyWithWhereWithoutSessionInput | Prisma.AssetCommentUpdateManyWithWhereWithoutSessionInput[] deleteMany?: Prisma.AssetCommentScalarWhereInput | Prisma.AssetCommentScalarWhereInput[] } export type AssetCommentUncheckedUpdateManyWithoutSessionNestedInput = { create?: Prisma.XOR | Prisma.AssetCommentCreateWithoutSessionInput[] | Prisma.AssetCommentUncheckedCreateWithoutSessionInput[] connectOrCreate?: Prisma.AssetCommentCreateOrConnectWithoutSessionInput | Prisma.AssetCommentCreateOrConnectWithoutSessionInput[] upsert?: Prisma.AssetCommentUpsertWithWhereUniqueWithoutSessionInput | Prisma.AssetCommentUpsertWithWhereUniqueWithoutSessionInput[] createMany?: Prisma.AssetCommentCreateManySessionInputEnvelope set?: Prisma.AssetCommentWhereUniqueInput | Prisma.AssetCommentWhereUniqueInput[] disconnect?: Prisma.AssetCommentWhereUniqueInput | Prisma.AssetCommentWhereUniqueInput[] delete?: Prisma.AssetCommentWhereUniqueInput | Prisma.AssetCommentWhereUniqueInput[] connect?: Prisma.AssetCommentWhereUniqueInput | Prisma.AssetCommentWhereUniqueInput[] update?: Prisma.AssetCommentUpdateWithWhereUniqueWithoutSessionInput | Prisma.AssetCommentUpdateWithWhereUniqueWithoutSessionInput[] updateMany?: Prisma.AssetCommentUpdateManyWithWhereWithoutSessionInput | Prisma.AssetCommentUpdateManyWithWhereWithoutSessionInput[] deleteMany?: Prisma.AssetCommentScalarWhereInput | Prisma.AssetCommentScalarWhereInput[] } export type AssetCommentCreateWithoutCreatorInput = { id?: string message?: string | null annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput second?: number | null createdAt?: Date | string updatedAt?: Date | string session?: Prisma.AgentSessionCreateNestedOneWithoutCommentsInput asset: Prisma.AssetCreateNestedOneWithoutCommentsInput replyTo?: Prisma.AssetCommentCreateNestedOneWithoutRepliesInput replies?: Prisma.AssetCommentCreateNestedManyWithoutReplyToInput attachments?: Prisma.AssetCommentAttachmentCreateNestedManyWithoutCommentInput } export type AssetCommentUncheckedCreateWithoutCreatorInput = { id?: string message?: string | null annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput second?: number | null sessionId?: string | null createdAt?: Date | string updatedAt?: Date | string assetId: string replyToId?: string | null replies?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutReplyToInput attachments?: Prisma.AssetCommentAttachmentUncheckedCreateNestedManyWithoutCommentInput } export type AssetCommentCreateOrConnectWithoutCreatorInput = { where: Prisma.AssetCommentWhereUniqueInput create: Prisma.XOR } export type AssetCommentCreateManyCreatorInputEnvelope = { data: Prisma.AssetCommentCreateManyCreatorInput | Prisma.AssetCommentCreateManyCreatorInput[] skipDuplicates?: boolean } export type AssetCommentUpsertWithWhereUniqueWithoutCreatorInput = { where: Prisma.AssetCommentWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type AssetCommentUpdateWithWhereUniqueWithoutCreatorInput = { where: Prisma.AssetCommentWhereUniqueInput data: Prisma.XOR } export type AssetCommentUpdateManyWithWhereWithoutCreatorInput = { where: Prisma.AssetCommentScalarWhereInput data: Prisma.XOR } export type AssetCommentScalarWhereInput = { AND?: Prisma.AssetCommentScalarWhereInput | Prisma.AssetCommentScalarWhereInput[] OR?: Prisma.AssetCommentScalarWhereInput[] NOT?: Prisma.AssetCommentScalarWhereInput | Prisma.AssetCommentScalarWhereInput[] id?: Prisma.StringFilter<"AssetComment"> | string message?: Prisma.StringNullableFilter<"AssetComment"> | string | null annotation?: Prisma.JsonNullableFilter<"AssetComment"> second?: Prisma.FloatNullableFilter<"AssetComment"> | number | null sessionId?: Prisma.StringNullableFilter<"AssetComment"> | string | null createdAt?: Prisma.DateTimeFilter<"AssetComment"> | Date | string updatedAt?: Prisma.DateTimeFilter<"AssetComment"> | Date | string assetId?: Prisma.StringFilter<"AssetComment"> | string creatorId?: Prisma.StringNullableFilter<"AssetComment"> | string | null replyToId?: Prisma.StringNullableFilter<"AssetComment"> | string | null } export type AssetCommentCreateWithoutAssetInput = { id?: string message?: string | null annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput second?: number | null createdAt?: Date | string updatedAt?: Date | string session?: Prisma.AgentSessionCreateNestedOneWithoutCommentsInput creator?: Prisma.UserCreateNestedOneWithoutCommentsInput replyTo?: Prisma.AssetCommentCreateNestedOneWithoutRepliesInput replies?: Prisma.AssetCommentCreateNestedManyWithoutReplyToInput attachments?: Prisma.AssetCommentAttachmentCreateNestedManyWithoutCommentInput } export type AssetCommentUncheckedCreateWithoutAssetInput = { id?: string message?: string | null annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput second?: number | null sessionId?: string | null createdAt?: Date | string updatedAt?: Date | string creatorId?: string | null replyToId?: string | null replies?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutReplyToInput attachments?: Prisma.AssetCommentAttachmentUncheckedCreateNestedManyWithoutCommentInput } export type AssetCommentCreateOrConnectWithoutAssetInput = { where: Prisma.AssetCommentWhereUniqueInput create: Prisma.XOR } export type AssetCommentCreateManyAssetInputEnvelope = { data: Prisma.AssetCommentCreateManyAssetInput | Prisma.AssetCommentCreateManyAssetInput[] skipDuplicates?: boolean } export type AssetCommentUpsertWithWhereUniqueWithoutAssetInput = { where: Prisma.AssetCommentWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type AssetCommentUpdateWithWhereUniqueWithoutAssetInput = { where: Prisma.AssetCommentWhereUniqueInput data: Prisma.XOR } export type AssetCommentUpdateManyWithWhereWithoutAssetInput = { where: Prisma.AssetCommentScalarWhereInput data: Prisma.XOR } export type AssetCommentCreateWithoutRepliesInput = { id?: string message?: string | null annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput second?: number | null createdAt?: Date | string updatedAt?: Date | string session?: Prisma.AgentSessionCreateNestedOneWithoutCommentsInput asset: Prisma.AssetCreateNestedOneWithoutCommentsInput creator?: Prisma.UserCreateNestedOneWithoutCommentsInput replyTo?: Prisma.AssetCommentCreateNestedOneWithoutRepliesInput attachments?: Prisma.AssetCommentAttachmentCreateNestedManyWithoutCommentInput } export type AssetCommentUncheckedCreateWithoutRepliesInput = { id?: string message?: string | null annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput second?: number | null sessionId?: string | null createdAt?: Date | string updatedAt?: Date | string assetId: string creatorId?: string | null replyToId?: string | null attachments?: Prisma.AssetCommentAttachmentUncheckedCreateNestedManyWithoutCommentInput } export type AssetCommentCreateOrConnectWithoutRepliesInput = { where: Prisma.AssetCommentWhereUniqueInput create: Prisma.XOR } export type AssetCommentCreateWithoutReplyToInput = { id?: string message?: string | null annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput second?: number | null createdAt?: Date | string updatedAt?: Date | string session?: Prisma.AgentSessionCreateNestedOneWithoutCommentsInput asset: Prisma.AssetCreateNestedOneWithoutCommentsInput creator?: Prisma.UserCreateNestedOneWithoutCommentsInput replies?: Prisma.AssetCommentCreateNestedManyWithoutReplyToInput attachments?: Prisma.AssetCommentAttachmentCreateNestedManyWithoutCommentInput } export type AssetCommentUncheckedCreateWithoutReplyToInput = { id?: string message?: string | null annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput second?: number | null sessionId?: string | null createdAt?: Date | string updatedAt?: Date | string assetId: string creatorId?: string | null replies?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutReplyToInput attachments?: Prisma.AssetCommentAttachmentUncheckedCreateNestedManyWithoutCommentInput } export type AssetCommentCreateOrConnectWithoutReplyToInput = { where: Prisma.AssetCommentWhereUniqueInput create: Prisma.XOR } export type AssetCommentCreateManyReplyToInputEnvelope = { data: Prisma.AssetCommentCreateManyReplyToInput | Prisma.AssetCommentCreateManyReplyToInput[] skipDuplicates?: boolean } export type AssetCommentUpsertWithoutRepliesInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.AssetCommentWhereInput } export type AssetCommentUpdateToOneWithWhereWithoutRepliesInput = { where?: Prisma.AssetCommentWhereInput data: Prisma.XOR } export type AssetCommentUpdateWithoutRepliesInput = { id?: Prisma.StringFieldUpdateOperationsInput | string message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput second?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string session?: Prisma.AgentSessionUpdateOneWithoutCommentsNestedInput asset?: Prisma.AssetUpdateOneRequiredWithoutCommentsNestedInput creator?: Prisma.UserUpdateOneWithoutCommentsNestedInput replyTo?: Prisma.AssetCommentUpdateOneWithoutRepliesNestedInput attachments?: Prisma.AssetCommentAttachmentUpdateManyWithoutCommentNestedInput } export type AssetCommentUncheckedUpdateWithoutRepliesInput = { id?: Prisma.StringFieldUpdateOperationsInput | string message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput second?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null sessionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string assetId?: Prisma.StringFieldUpdateOperationsInput | string creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null replyToId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null attachments?: Prisma.AssetCommentAttachmentUncheckedUpdateManyWithoutCommentNestedInput } export type AssetCommentUpsertWithWhereUniqueWithoutReplyToInput = { where: Prisma.AssetCommentWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type AssetCommentUpdateWithWhereUniqueWithoutReplyToInput = { where: Prisma.AssetCommentWhereUniqueInput data: Prisma.XOR } export type AssetCommentUpdateManyWithWhereWithoutReplyToInput = { where: Prisma.AssetCommentScalarWhereInput data: Prisma.XOR } export type AssetCommentCreateWithoutAttachmentsInput = { id?: string message?: string | null annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput second?: number | null createdAt?: Date | string updatedAt?: Date | string session?: Prisma.AgentSessionCreateNestedOneWithoutCommentsInput asset: Prisma.AssetCreateNestedOneWithoutCommentsInput creator?: Prisma.UserCreateNestedOneWithoutCommentsInput replyTo?: Prisma.AssetCommentCreateNestedOneWithoutRepliesInput replies?: Prisma.AssetCommentCreateNestedManyWithoutReplyToInput } export type AssetCommentUncheckedCreateWithoutAttachmentsInput = { id?: string message?: string | null annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput second?: number | null sessionId?: string | null createdAt?: Date | string updatedAt?: Date | string assetId: string creatorId?: string | null replyToId?: string | null replies?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutReplyToInput } export type AssetCommentCreateOrConnectWithoutAttachmentsInput = { where: Prisma.AssetCommentWhereUniqueInput create: Prisma.XOR } export type AssetCommentUpsertWithoutAttachmentsInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.AssetCommentWhereInput } export type AssetCommentUpdateToOneWithWhereWithoutAttachmentsInput = { where?: Prisma.AssetCommentWhereInput data: Prisma.XOR } export type AssetCommentUpdateWithoutAttachmentsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput second?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string session?: Prisma.AgentSessionUpdateOneWithoutCommentsNestedInput asset?: Prisma.AssetUpdateOneRequiredWithoutCommentsNestedInput creator?: Prisma.UserUpdateOneWithoutCommentsNestedInput replyTo?: Prisma.AssetCommentUpdateOneWithoutRepliesNestedInput replies?: Prisma.AssetCommentUpdateManyWithoutReplyToNestedInput } export type AssetCommentUncheckedUpdateWithoutAttachmentsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput second?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null sessionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string assetId?: Prisma.StringFieldUpdateOperationsInput | string creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null replyToId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null replies?: Prisma.AssetCommentUncheckedUpdateManyWithoutReplyToNestedInput } export type AssetCommentCreateWithoutSessionInput = { id?: string message?: string | null annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput second?: number | null createdAt?: Date | string updatedAt?: Date | string asset: Prisma.AssetCreateNestedOneWithoutCommentsInput creator?: Prisma.UserCreateNestedOneWithoutCommentsInput replyTo?: Prisma.AssetCommentCreateNestedOneWithoutRepliesInput replies?: Prisma.AssetCommentCreateNestedManyWithoutReplyToInput attachments?: Prisma.AssetCommentAttachmentCreateNestedManyWithoutCommentInput } export type AssetCommentUncheckedCreateWithoutSessionInput = { id?: string message?: string | null annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput second?: number | null createdAt?: Date | string updatedAt?: Date | string assetId: string creatorId?: string | null replyToId?: string | null replies?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutReplyToInput attachments?: Prisma.AssetCommentAttachmentUncheckedCreateNestedManyWithoutCommentInput } export type AssetCommentCreateOrConnectWithoutSessionInput = { where: Prisma.AssetCommentWhereUniqueInput create: Prisma.XOR } export type AssetCommentCreateManySessionInputEnvelope = { data: Prisma.AssetCommentCreateManySessionInput | Prisma.AssetCommentCreateManySessionInput[] skipDuplicates?: boolean } export type AssetCommentUpsertWithWhereUniqueWithoutSessionInput = { where: Prisma.AssetCommentWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type AssetCommentUpdateWithWhereUniqueWithoutSessionInput = { where: Prisma.AssetCommentWhereUniqueInput data: Prisma.XOR } export type AssetCommentUpdateManyWithWhereWithoutSessionInput = { where: Prisma.AssetCommentScalarWhereInput data: Prisma.XOR } export type AssetCommentCreateManyCreatorInput = { id?: string message?: string | null annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput second?: number | null sessionId?: string | null createdAt?: Date | string updatedAt?: Date | string assetId: string replyToId?: string | null } export type AssetCommentUpdateWithoutCreatorInput = { id?: Prisma.StringFieldUpdateOperationsInput | string message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput second?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string session?: Prisma.AgentSessionUpdateOneWithoutCommentsNestedInput asset?: Prisma.AssetUpdateOneRequiredWithoutCommentsNestedInput replyTo?: Prisma.AssetCommentUpdateOneWithoutRepliesNestedInput replies?: Prisma.AssetCommentUpdateManyWithoutReplyToNestedInput attachments?: Prisma.AssetCommentAttachmentUpdateManyWithoutCommentNestedInput } export type AssetCommentUncheckedUpdateWithoutCreatorInput = { id?: Prisma.StringFieldUpdateOperationsInput | string message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput second?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null sessionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string assetId?: Prisma.StringFieldUpdateOperationsInput | string replyToId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null replies?: Prisma.AssetCommentUncheckedUpdateManyWithoutReplyToNestedInput attachments?: Prisma.AssetCommentAttachmentUncheckedUpdateManyWithoutCommentNestedInput } export type AssetCommentUncheckedUpdateManyWithoutCreatorInput = { id?: Prisma.StringFieldUpdateOperationsInput | string message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput second?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null sessionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string assetId?: Prisma.StringFieldUpdateOperationsInput | string replyToId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type AssetCommentCreateManyAssetInput = { id?: string message?: string | null annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput second?: number | null sessionId?: string | null createdAt?: Date | string updatedAt?: Date | string creatorId?: string | null replyToId?: string | null } export type AssetCommentUpdateWithoutAssetInput = { id?: Prisma.StringFieldUpdateOperationsInput | string message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput second?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string session?: Prisma.AgentSessionUpdateOneWithoutCommentsNestedInput creator?: Prisma.UserUpdateOneWithoutCommentsNestedInput replyTo?: Prisma.AssetCommentUpdateOneWithoutRepliesNestedInput replies?: Prisma.AssetCommentUpdateManyWithoutReplyToNestedInput attachments?: Prisma.AssetCommentAttachmentUpdateManyWithoutCommentNestedInput } export type AssetCommentUncheckedUpdateWithoutAssetInput = { id?: Prisma.StringFieldUpdateOperationsInput | string message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput second?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null sessionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null replyToId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null replies?: Prisma.AssetCommentUncheckedUpdateManyWithoutReplyToNestedInput attachments?: Prisma.AssetCommentAttachmentUncheckedUpdateManyWithoutCommentNestedInput } export type AssetCommentUncheckedUpdateManyWithoutAssetInput = { id?: Prisma.StringFieldUpdateOperationsInput | string message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput second?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null sessionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null replyToId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type AssetCommentCreateManyReplyToInput = { id?: string message?: string | null annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput second?: number | null sessionId?: string | null createdAt?: Date | string updatedAt?: Date | string assetId: string creatorId?: string | null } export type AssetCommentUpdateWithoutReplyToInput = { id?: Prisma.StringFieldUpdateOperationsInput | string message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput second?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string session?: Prisma.AgentSessionUpdateOneWithoutCommentsNestedInput asset?: Prisma.AssetUpdateOneRequiredWithoutCommentsNestedInput creator?: Prisma.UserUpdateOneWithoutCommentsNestedInput replies?: Prisma.AssetCommentUpdateManyWithoutReplyToNestedInput attachments?: Prisma.AssetCommentAttachmentUpdateManyWithoutCommentNestedInput } export type AssetCommentUncheckedUpdateWithoutReplyToInput = { id?: Prisma.StringFieldUpdateOperationsInput | string message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput second?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null sessionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string assetId?: Prisma.StringFieldUpdateOperationsInput | string creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null replies?: Prisma.AssetCommentUncheckedUpdateManyWithoutReplyToNestedInput attachments?: Prisma.AssetCommentAttachmentUncheckedUpdateManyWithoutCommentNestedInput } export type AssetCommentUncheckedUpdateManyWithoutReplyToInput = { id?: Prisma.StringFieldUpdateOperationsInput | string message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput second?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null sessionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string assetId?: Prisma.StringFieldUpdateOperationsInput | string creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type AssetCommentCreateManySessionInput = { id?: string message?: string | null annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput second?: number | null createdAt?: Date | string updatedAt?: Date | string assetId: string creatorId?: string | null replyToId?: string | null } export type AssetCommentUpdateWithoutSessionInput = { id?: Prisma.StringFieldUpdateOperationsInput | string message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput second?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string asset?: Prisma.AssetUpdateOneRequiredWithoutCommentsNestedInput creator?: Prisma.UserUpdateOneWithoutCommentsNestedInput replyTo?: Prisma.AssetCommentUpdateOneWithoutRepliesNestedInput replies?: Prisma.AssetCommentUpdateManyWithoutReplyToNestedInput attachments?: Prisma.AssetCommentAttachmentUpdateManyWithoutCommentNestedInput } export type AssetCommentUncheckedUpdateWithoutSessionInput = { id?: Prisma.StringFieldUpdateOperationsInput | string message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput second?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string assetId?: Prisma.StringFieldUpdateOperationsInput | string creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null replyToId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null replies?: Prisma.AssetCommentUncheckedUpdateManyWithoutReplyToNestedInput attachments?: Prisma.AssetCommentAttachmentUncheckedUpdateManyWithoutCommentNestedInput } export type AssetCommentUncheckedUpdateManyWithoutSessionInput = { id?: Prisma.StringFieldUpdateOperationsInput | string message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput second?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string assetId?: Prisma.StringFieldUpdateOperationsInput | string creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null replyToId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } /** * Count Type AssetCommentCountOutputType */ export type AssetCommentCountOutputType = { replies: number attachments: number } export type AssetCommentCountOutputTypeSelect = { replies?: boolean | AssetCommentCountOutputTypeCountRepliesArgs attachments?: boolean | AssetCommentCountOutputTypeCountAttachmentsArgs } /** * AssetCommentCountOutputType without action */ export type AssetCommentCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the AssetCommentCountOutputType */ select?: Prisma.AssetCommentCountOutputTypeSelect | null } /** * AssetCommentCountOutputType without action */ export type AssetCommentCountOutputTypeCountRepliesArgs = { where?: Prisma.AssetCommentWhereInput } /** * AssetCommentCountOutputType without action */ export type AssetCommentCountOutputTypeCountAttachmentsArgs = { where?: Prisma.AssetCommentAttachmentWhereInput } export type AssetCommentSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean message?: boolean annotation?: boolean second?: boolean sessionId?: boolean createdAt?: boolean updatedAt?: boolean assetId?: boolean creatorId?: boolean replyToId?: boolean session?: boolean | Prisma.AssetComment$sessionArgs asset?: boolean | Prisma.AssetDefaultArgs creator?: boolean | Prisma.AssetComment$creatorArgs replyTo?: boolean | Prisma.AssetComment$replyToArgs replies?: boolean | Prisma.AssetComment$repliesArgs attachments?: boolean | Prisma.AssetComment$attachmentsArgs _count?: boolean | Prisma.AssetCommentCountOutputTypeDefaultArgs }, ExtArgs["result"]["assetComment"]> export type AssetCommentSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean message?: boolean annotation?: boolean second?: boolean sessionId?: boolean createdAt?: boolean updatedAt?: boolean assetId?: boolean creatorId?: boolean replyToId?: boolean session?: boolean | Prisma.AssetComment$sessionArgs asset?: boolean | Prisma.AssetDefaultArgs creator?: boolean | Prisma.AssetComment$creatorArgs replyTo?: boolean | Prisma.AssetComment$replyToArgs }, ExtArgs["result"]["assetComment"]> export type AssetCommentSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean message?: boolean annotation?: boolean second?: boolean sessionId?: boolean createdAt?: boolean updatedAt?: boolean assetId?: boolean creatorId?: boolean replyToId?: boolean session?: boolean | Prisma.AssetComment$sessionArgs asset?: boolean | Prisma.AssetDefaultArgs creator?: boolean | Prisma.AssetComment$creatorArgs replyTo?: boolean | Prisma.AssetComment$replyToArgs }, ExtArgs["result"]["assetComment"]> export type AssetCommentSelectScalar = { id?: boolean message?: boolean annotation?: boolean second?: boolean sessionId?: boolean createdAt?: boolean updatedAt?: boolean assetId?: boolean creatorId?: boolean replyToId?: boolean } export type AssetCommentOmit = runtime.Types.Extensions.GetOmit<"id" | "message" | "annotation" | "second" | "sessionId" | "createdAt" | "updatedAt" | "assetId" | "creatorId" | "replyToId", ExtArgs["result"]["assetComment"]> export type AssetCommentInclude = { session?: boolean | Prisma.AssetComment$sessionArgs asset?: boolean | Prisma.AssetDefaultArgs creator?: boolean | Prisma.AssetComment$creatorArgs replyTo?: boolean | Prisma.AssetComment$replyToArgs replies?: boolean | Prisma.AssetComment$repliesArgs attachments?: boolean | Prisma.AssetComment$attachmentsArgs _count?: boolean | Prisma.AssetCommentCountOutputTypeDefaultArgs } export type AssetCommentIncludeCreateManyAndReturn = { session?: boolean | Prisma.AssetComment$sessionArgs asset?: boolean | Prisma.AssetDefaultArgs creator?: boolean | Prisma.AssetComment$creatorArgs replyTo?: boolean | Prisma.AssetComment$replyToArgs } export type AssetCommentIncludeUpdateManyAndReturn = { session?: boolean | Prisma.AssetComment$sessionArgs asset?: boolean | Prisma.AssetDefaultArgs creator?: boolean | Prisma.AssetComment$creatorArgs replyTo?: boolean | Prisma.AssetComment$replyToArgs } export type $AssetCommentPayload = { name: "AssetComment" objects: { session: Prisma.$AgentSessionPayload | null asset: Prisma.$AssetPayload creator: Prisma.$UserPayload | null replyTo: Prisma.$AssetCommentPayload | null replies: Prisma.$AssetCommentPayload[] attachments: Prisma.$AssetCommentAttachmentPayload[] } scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string message: string | null /** * [AnnotationList] */ annotation:PrismaJson.AnnotationList | null second: number | null sessionId: string | null createdAt: Date updatedAt: Date assetId: string creatorId: string | null replyToId: string | null }, ExtArgs["result"]["assetComment"]> composites: {} } export type AssetCommentGetPayload = runtime.Types.Result.GetResult export type AssetCommentCountArgs = Omit & { select?: AssetCommentCountAggregateInputType | true } export interface AssetCommentDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['AssetComment'], meta: { name: 'AssetComment' } } /** * Find zero or one AssetComment that matches the filter. * @param {AssetCommentFindUniqueArgs} args - Arguments to find a AssetComment * @example * // Get one AssetComment * const assetComment = await prisma.assetComment.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__AssetCommentClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one AssetComment that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {AssetCommentFindUniqueOrThrowArgs} args - Arguments to find a AssetComment * @example * // Get one AssetComment * const assetComment = await prisma.assetComment.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__AssetCommentClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first AssetComment 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 {AssetCommentFindFirstArgs} args - Arguments to find a AssetComment * @example * // Get one AssetComment * const assetComment = await prisma.assetComment.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__AssetCommentClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first AssetComment 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 {AssetCommentFindFirstOrThrowArgs} args - Arguments to find a AssetComment * @example * // Get one AssetComment * const assetComment = await prisma.assetComment.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__AssetCommentClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more AssetComments 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 {AssetCommentFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all AssetComments * const assetComments = await prisma.assetComment.findMany() * * // Get first 10 AssetComments * const assetComments = await prisma.assetComment.findMany({ take: 10 }) * * // Only select the `id` * const assetCommentWithIdOnly = await prisma.assetComment.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a AssetComment. * @param {AssetCommentCreateArgs} args - Arguments to create a AssetComment. * @example * // Create one AssetComment * const AssetComment = await prisma.assetComment.create({ * data: { * // ... data to create a AssetComment * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__AssetCommentClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many AssetComments. * @param {AssetCommentCreateManyArgs} args - Arguments to create many AssetComments. * @example * // Create many AssetComments * const assetComment = await prisma.assetComment.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many AssetComments and returns the data saved in the database. * @param {AssetCommentCreateManyAndReturnArgs} args - Arguments to create many AssetComments. * @example * // Create many AssetComments * const assetComment = await prisma.assetComment.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many AssetComments and only return the `id` * const assetCommentWithIdOnly = await prisma.assetComment.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 AssetComment. * @param {AssetCommentDeleteArgs} args - Arguments to delete one AssetComment. * @example * // Delete one AssetComment * const AssetComment = await prisma.assetComment.delete({ * where: { * // ... filter to delete one AssetComment * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__AssetCommentClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one AssetComment. * @param {AssetCommentUpdateArgs} args - Arguments to update one AssetComment. * @example * // Update one AssetComment * const assetComment = await prisma.assetComment.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__AssetCommentClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more AssetComments. * @param {AssetCommentDeleteManyArgs} args - Arguments to filter AssetComments to delete. * @example * // Delete a few AssetComments * const { count } = await prisma.assetComment.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more AssetComments. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AssetCommentUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many AssetComments * const assetComment = await prisma.assetComment.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more AssetComments and returns the data updated in the database. * @param {AssetCommentUpdateManyAndReturnArgs} args - Arguments to update many AssetComments. * @example * // Update many AssetComments * const assetComment = await prisma.assetComment.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more AssetComments and only return the `id` * const assetCommentWithIdOnly = await prisma.assetComment.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 AssetComment. * @param {AssetCommentUpsertArgs} args - Arguments to update or create a AssetComment. * @example * // Update or create a AssetComment * const assetComment = await prisma.assetComment.upsert({ * create: { * // ... data to create a AssetComment * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the AssetComment we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__AssetCommentClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of AssetComments. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AssetCommentCountArgs} args - Arguments to filter AssetComments to count. * @example * // Count the number of AssetComments * const count = await prisma.assetComment.count({ * where: { * // ... the filter for the AssetComments 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 AssetComment. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AssetCommentAggregateArgs} 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 AssetComment. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AssetCommentGroupByArgs} 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 AssetCommentGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: AssetCommentGroupByArgs['orderBy'] } : { orderBy?: AssetCommentGroupByArgs['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 ? GetAssetCommentGroupByPayload : Prisma.PrismaPromise /** * Fields of the AssetComment model */ readonly fields: AssetCommentFieldRefs; } /** * The delegate class that acts as a "Promise-like" for AssetComment. * 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__AssetCommentClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" session = {}>(args?: Prisma.Subset>): Prisma.Prisma__AgentSessionClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> asset = {}>(args?: Prisma.Subset>): Prisma.Prisma__AssetClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> creator = {}>(args?: Prisma.Subset>): Prisma.Prisma__UserClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> replyTo = {}>(args?: Prisma.Subset>): Prisma.Prisma__AssetCommentClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> replies = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> attachments = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> /** * 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 AssetComment model */ export interface AssetCommentFieldRefs { readonly id: Prisma.FieldRef<"AssetComment", 'String'> readonly message: Prisma.FieldRef<"AssetComment", 'String'> readonly annotation: Prisma.FieldRef<"AssetComment", 'Json'> readonly second: Prisma.FieldRef<"AssetComment", 'Float'> readonly sessionId: Prisma.FieldRef<"AssetComment", 'String'> readonly createdAt: Prisma.FieldRef<"AssetComment", 'DateTime'> readonly updatedAt: Prisma.FieldRef<"AssetComment", 'DateTime'> readonly assetId: Prisma.FieldRef<"AssetComment", 'String'> readonly creatorId: Prisma.FieldRef<"AssetComment", 'String'> readonly replyToId: Prisma.FieldRef<"AssetComment", 'String'> } // Custom InputTypes /** * AssetComment findUnique */ export type AssetCommentFindUniqueArgs = { /** * Select specific fields to fetch from the AssetComment */ select?: Prisma.AssetCommentSelect | null /** * Omit specific fields from the AssetComment */ omit?: Prisma.AssetCommentOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AssetCommentInclude | null /** * Filter, which AssetComment to fetch. */ where: Prisma.AssetCommentWhereUniqueInput } /** * AssetComment findUniqueOrThrow */ export type AssetCommentFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the AssetComment */ select?: Prisma.AssetCommentSelect | null /** * Omit specific fields from the AssetComment */ omit?: Prisma.AssetCommentOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AssetCommentInclude | null /** * Filter, which AssetComment to fetch. */ where: Prisma.AssetCommentWhereUniqueInput } /** * AssetComment findFirst */ export type AssetCommentFindFirstArgs = { /** * Select specific fields to fetch from the AssetComment */ select?: Prisma.AssetCommentSelect | null /** * Omit specific fields from the AssetComment */ omit?: Prisma.AssetCommentOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AssetCommentInclude | null /** * Filter, which AssetComment to fetch. */ where?: Prisma.AssetCommentWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AssetComments to fetch. */ orderBy?: Prisma.AssetCommentOrderByWithRelationInput | Prisma.AssetCommentOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for AssetComments. */ cursor?: Prisma.AssetCommentWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AssetComments 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` AssetComments. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of AssetComments. */ distinct?: Prisma.AssetCommentScalarFieldEnum | Prisma.AssetCommentScalarFieldEnum[] } /** * AssetComment findFirstOrThrow */ export type AssetCommentFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the AssetComment */ select?: Prisma.AssetCommentSelect | null /** * Omit specific fields from the AssetComment */ omit?: Prisma.AssetCommentOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AssetCommentInclude | null /** * Filter, which AssetComment to fetch. */ where?: Prisma.AssetCommentWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AssetComments to fetch. */ orderBy?: Prisma.AssetCommentOrderByWithRelationInput | Prisma.AssetCommentOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for AssetComments. */ cursor?: Prisma.AssetCommentWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AssetComments 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` AssetComments. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of AssetComments. */ distinct?: Prisma.AssetCommentScalarFieldEnum | Prisma.AssetCommentScalarFieldEnum[] } /** * AssetComment findMany */ export type AssetCommentFindManyArgs = { /** * Select specific fields to fetch from the AssetComment */ select?: Prisma.AssetCommentSelect | null /** * Omit specific fields from the AssetComment */ omit?: Prisma.AssetCommentOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AssetCommentInclude | null /** * Filter, which AssetComments to fetch. */ where?: Prisma.AssetCommentWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AssetComments to fetch. */ orderBy?: Prisma.AssetCommentOrderByWithRelationInput | Prisma.AssetCommentOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing AssetComments. */ cursor?: Prisma.AssetCommentWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AssetComments 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` AssetComments. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of AssetComments. */ distinct?: Prisma.AssetCommentScalarFieldEnum | Prisma.AssetCommentScalarFieldEnum[] } /** * AssetComment create */ export type AssetCommentCreateArgs = { /** * Select specific fields to fetch from the AssetComment */ select?: Prisma.AssetCommentSelect | null /** * Omit specific fields from the AssetComment */ omit?: Prisma.AssetCommentOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AssetCommentInclude | null /** * The data needed to create a AssetComment. */ data: Prisma.XOR } /** * AssetComment createMany */ export type AssetCommentCreateManyArgs = { /** * The data used to create many AssetComments. */ data: Prisma.AssetCommentCreateManyInput | Prisma.AssetCommentCreateManyInput[] skipDuplicates?: boolean } /** * AssetComment createManyAndReturn */ export type AssetCommentCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the AssetComment */ select?: Prisma.AssetCommentSelectCreateManyAndReturn | null /** * Omit specific fields from the AssetComment */ omit?: Prisma.AssetCommentOmit | null /** * The data used to create many AssetComments. */ data: Prisma.AssetCommentCreateManyInput | Prisma.AssetCommentCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: Prisma.AssetCommentIncludeCreateManyAndReturn | null } /** * AssetComment update */ export type AssetCommentUpdateArgs = { /** * Select specific fields to fetch from the AssetComment */ select?: Prisma.AssetCommentSelect | null /** * Omit specific fields from the AssetComment */ omit?: Prisma.AssetCommentOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AssetCommentInclude | null /** * The data needed to update a AssetComment. */ data: Prisma.XOR /** * Choose, which AssetComment to update. */ where: Prisma.AssetCommentWhereUniqueInput } /** * AssetComment updateMany */ export type AssetCommentUpdateManyArgs = { /** * The data used to update AssetComments. */ data: Prisma.XOR /** * Filter which AssetComments to update */ where?: Prisma.AssetCommentWhereInput /** * Limit how many AssetComments to update. */ limit?: number } /** * AssetComment updateManyAndReturn */ export type AssetCommentUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the AssetComment */ select?: Prisma.AssetCommentSelectUpdateManyAndReturn | null /** * Omit specific fields from the AssetComment */ omit?: Prisma.AssetCommentOmit | null /** * The data used to update AssetComments. */ data: Prisma.XOR /** * Filter which AssetComments to update */ where?: Prisma.AssetCommentWhereInput /** * Limit how many AssetComments to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: Prisma.AssetCommentIncludeUpdateManyAndReturn | null } /** * AssetComment upsert */ export type AssetCommentUpsertArgs = { /** * Select specific fields to fetch from the AssetComment */ select?: Prisma.AssetCommentSelect | null /** * Omit specific fields from the AssetComment */ omit?: Prisma.AssetCommentOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AssetCommentInclude | null /** * The filter to search for the AssetComment to update in case it exists. */ where: Prisma.AssetCommentWhereUniqueInput /** * In case the AssetComment found by the `where` argument doesn't exist, create a new AssetComment with this data. */ create: Prisma.XOR /** * In case the AssetComment was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * AssetComment delete */ export type AssetCommentDeleteArgs = { /** * Select specific fields to fetch from the AssetComment */ select?: Prisma.AssetCommentSelect | null /** * Omit specific fields from the AssetComment */ omit?: Prisma.AssetCommentOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AssetCommentInclude | null /** * Filter which AssetComment to delete. */ where: Prisma.AssetCommentWhereUniqueInput } /** * AssetComment deleteMany */ export type AssetCommentDeleteManyArgs = { /** * Filter which AssetComments to delete */ where?: Prisma.AssetCommentWhereInput /** * Limit how many AssetComments to delete. */ limit?: number } /** * AssetComment.session */ export type AssetComment$sessionArgs = { /** * Select specific fields to fetch from the AgentSession */ select?: Prisma.AgentSessionSelect | null /** * Omit specific fields from the AgentSession */ omit?: Prisma.AgentSessionOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AgentSessionInclude | null where?: Prisma.AgentSessionWhereInput } /** * AssetComment.creator */ export type AssetComment$creatorArgs = { /** * 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 } /** * AssetComment.replyTo */ export type AssetComment$replyToArgs = { /** * Select specific fields to fetch from the AssetComment */ select?: Prisma.AssetCommentSelect | null /** * Omit specific fields from the AssetComment */ omit?: Prisma.AssetCommentOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AssetCommentInclude | null where?: Prisma.AssetCommentWhereInput } /** * AssetComment.replies */ export type AssetComment$repliesArgs = { /** * Select specific fields to fetch from the AssetComment */ select?: Prisma.AssetCommentSelect | null /** * Omit specific fields from the AssetComment */ omit?: Prisma.AssetCommentOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AssetCommentInclude | null where?: Prisma.AssetCommentWhereInput orderBy?: Prisma.AssetCommentOrderByWithRelationInput | Prisma.AssetCommentOrderByWithRelationInput[] cursor?: Prisma.AssetCommentWhereUniqueInput take?: number skip?: number distinct?: Prisma.AssetCommentScalarFieldEnum | Prisma.AssetCommentScalarFieldEnum[] } /** * AssetComment.attachments */ export type AssetComment$attachmentsArgs = { /** * Select specific fields to fetch from the AssetCommentAttachment */ select?: Prisma.AssetCommentAttachmentSelect | null /** * Omit specific fields from the AssetCommentAttachment */ omit?: Prisma.AssetCommentAttachmentOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AssetCommentAttachmentInclude | null where?: Prisma.AssetCommentAttachmentWhereInput orderBy?: Prisma.AssetCommentAttachmentOrderByWithRelationInput | Prisma.AssetCommentAttachmentOrderByWithRelationInput[] cursor?: Prisma.AssetCommentAttachmentWhereUniqueInput take?: number skip?: number distinct?: Prisma.AssetCommentAttachmentScalarFieldEnum | Prisma.AssetCommentAttachmentScalarFieldEnum[] } /** * AssetComment without action */ export type AssetCommentDefaultArgs = { /** * Select specific fields to fetch from the AssetComment */ select?: Prisma.AssetCommentSelect | null /** * Omit specific fields from the AssetComment */ omit?: Prisma.AssetCommentOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AssetCommentInclude | null }