From 8460b1b023092b0c3aed71d4143bdb6eae8a9738 Mon Sep 17 00:00:00 2001 From: Mohamed Dawoud Date: Sat, 19 Apr 2025 21:48:19 +0200 Subject: [PATCH 1/3] feat: add chat and video conference models --- prisma/schema.prisma | 296 +++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 285 insertions(+), 11 deletions(-) diff --git a/prisma/schema.prisma b/prisma/schema.prisma index 1d00197..06c4e06 100644 --- a/prisma/schema.prisma +++ b/prisma/schema.prisma @@ -46,28 +46,35 @@ model User { lastLogout DateTime? // Relations - department Department? @relation(fields: [departmentId], references: [id]) - organization Organization? @relation("OrganizationEmployees", fields: [organizationId], references: [id]) - createdOrganizations Organization[] @relation("OrganizationCreator") + department Department? @relation(fields: [departmentId], references: [id]) + organization Organization? @relation("OrganizationEmployees", fields: [organizationId], references: [id]) + createdOrganizations Organization[] @relation("OrganizationCreator") ownedOrganizations OrganizationOwner[] - managedDepartments Department[] @relation("DepartmentManager") - createdTeams Team[] @relation("TeamCreator") + managedDepartments Department[] @relation("DepartmentManager") + createdTeams Team[] @relation("TeamCreator") teamMemberships TeamMember[] projectMemberships ProjectMember[] - createdProjects Project[] @relation("ProjectCreator") - modifiedProjects Project[] @relation("ProjectModifier") - createdTasks Task[] @relation("TaskCreator") - assignedTasks Task[] @relation("TaskAssignee") - modifiedTasks Task[] @relation("TaskModifier") + createdProjects Project[] @relation("ProjectCreator") + modifiedProjects Project[] @relation("ProjectModifier") + createdTasks Task[] @relation("TaskCreator") + assignedTasks Task[] @relation("TaskAssignee") + modifiedTasks Task[] @relation("TaskModifier") notifications Notification[] timelogs Timelog[] comments Comment[] taskAttachments TaskAttachment[] generatedReports Report[] - userReports Report[] @relation("UserReports") + userReports Report[] @relation("UserReports") permissions Permission[] // relation to permissions activityLogs ActivityLog[] // relation to activity logs as performer ReportNotification ReportNotification[] + chatParticipations ChatParticipant[] + sentMessages ChatMessage[] + messageReactions MessageReaction[] + pinnedMessages PinnedMessage[] + hostedSessions VideoConferenceSession[] @relation("SessionHost") + videoParticipations VideoParticipant[] + videoRecordings VideoRecording[] @@index([departmentId]) @@index([organizationId]) @@ -568,6 +575,217 @@ model Permission { @@map("permissions") } +// models for chat and video conference functionality +model ChatRoom { + id String @id @default(uuid()) @db.Uuid + name String @db.VarChar(100) + description String? @db.Text + type ChatRoomType + entityType EntityType // Which entity this chat belongs to (ORG, DEPT, TEAM, etc.) + entityId String @db.Uuid // ID of the associated entity + createdAt DateTime @default(now()) + updatedAt DateTime @updatedAt + isActive Boolean @default(true) + isArchived Boolean @default(false) + archivedAt DateTime? + avatarUrl String? + lastMessageAt DateTime? + + // Relations + messages ChatMessage[] + participants ChatParticipant[] + pinnedMessages PinnedMessage[] + videoSessions VideoConferenceSession[] + + @@unique([entityType, entityId]) // Each entity can have only one chat room + @@index([entityType, entityId]) + @@index([isActive]) + @@index([lastMessageAt]) // For sorting chats by latest activity + @@map("chat_rooms") +} + +model ChatParticipant { + id String @id @default(uuid()) @db.Uuid + chatRoomId String @db.Uuid + userId String @db.Uuid + joinedAt DateTime @default(now()) + lastReadMessageId String? @db.Uuid + lastReadAt DateTime? + isAdmin Boolean @default(false) + notificationsOn Boolean @default(true) + status ParticipantStatus @default(ACTIVE) + + // Relations + chatRoom ChatRoom @relation(fields: [chatRoomId], references: [id], onDelete: Cascade) + user User @relation(fields: [userId], references: [id], onDelete: Cascade) + lastReadMessage ChatMessage? @relation("LastReadMessage", fields: [lastReadMessageId], references: [id]) + + @@unique([chatRoomId, userId]) // A user can only be one participant in a chat room + @@index([chatRoomId]) + @@index([userId]) + @@index([lastReadAt]) + @@map("chat_participants") +} + +model ChatMessage { + id String @id @default(uuid()) @db.Uuid + chatRoomId String @db.Uuid + senderId String @db.Uuid + content String @db.Text + contentType MessageContentType @default(TEXT) + createdAt DateTime @default(now()) + updatedAt DateTime @updatedAt + isEdited Boolean @default(false) + isDeleted Boolean @default(false) + deletedAt DateTime? + replyToId String? @db.Uuid + metadata Json? // For storing additional message data + + // Relations + chatRoom ChatRoom @relation(fields: [chatRoomId], references: [id], onDelete: Cascade) + sender User @relation(fields: [senderId], references: [id]) + replyTo ChatMessage? @relation("MessageReplies", fields: [replyToId], references: [id]) + replies ChatMessage[] @relation("MessageReplies") + attachments MessageAttachment[] + reactions MessageReaction[] + readBy ChatParticipant[] @relation("LastReadMessage") + pinnedIn PinnedMessage[] + + @@index([chatRoomId]) + @@index([senderId]) + @@index([createdAt]) + @@index([replyToId]) + @@map("chat_messages") +} + +model MessageAttachment { + id String @id @default(uuid()) @db.Uuid + messageId String @db.Uuid + fileName String @db.VarChar(255) + fileType String @db.VarChar(50) + filePath String + fileSize Int + thumbnailPath String? + storageProvider String? @db.VarChar(50) + storageKey String + createdAt DateTime @default(now()) + + // Relations + message ChatMessage @relation(fields: [messageId], references: [id], onDelete: Cascade) + + @@index([messageId]) + @@index([fileType]) + @@map("message_attachments") +} + +model MessageReaction { + id String @id @default(uuid()) @db.Uuid + messageId String @db.Uuid + userId String @db.Uuid + reaction String @db.VarChar(50) // Emoji code or reaction type + createdAt DateTime @default(now()) + + // Relations + message ChatMessage @relation(fields: [messageId], references: [id], onDelete: Cascade) + user User @relation(fields: [userId], references: [id], onDelete: Cascade) + + @@unique([messageId, userId, reaction]) // A user can only react once with a specific reaction + @@index([messageId]) + @@index([userId]) + @@map("message_reactions") +} + +model PinnedMessage { + id String @id @default(uuid()) @db.Uuid + chatRoomId String @db.Uuid + messageId String @db.Uuid + pinnedBy String @db.Uuid + pinnedAt DateTime @default(now()) + + // Relations + chatRoom ChatRoom @relation(fields: [chatRoomId], references: [id], onDelete: Cascade) + message ChatMessage @relation(fields: [messageId], references: [id], onDelete: Cascade) + user User @relation(fields: [pinnedBy], references: [id]) + + @@unique([chatRoomId, messageId]) // A message can only be pinned once in a chat + @@index([chatRoomId]) + @@index([messageId]) + @@map("pinned_messages") +} + +model VideoConferenceSession { + id String @id @default(uuid()) @db.Uuid + chatRoomId String @db.Uuid + title String @db.VarChar(100) + description String? @db.Text + startTime DateTime @default(now()) + endTime DateTime? + status SessionStatus @default(ACTIVE) + hostId String @db.Uuid + meetingUrl String @unique + recordingUrl String? + settings Json? // For video conference settings + + // Relations + chatRoom ChatRoom @relation(fields: [chatRoomId], references: [id], onDelete: Cascade) + host User @relation("SessionHost", fields: [hostId], references: [id]) + participants VideoParticipant[] + recordings VideoRecording[] + + @@index([chatRoomId]) + @@index([hostId]) + @@index([startTime]) + @@index([status]) + @@map("video_conference_sessions") +} + +model VideoParticipant { + id String @id @default(uuid()) @db.Uuid + sessionId String @db.Uuid + userId String @db.Uuid + joinedAt DateTime @default(now()) + leftAt DateTime? + role VideoParticipantRole @default(ATTENDEE) + deviceInfo Json? // For storing device/browser info + connectionQuality String? @db.VarChar(20) + hasVideo Boolean @default(true) + hasAudio Boolean @default(true) + + // Relations + session VideoConferenceSession @relation(fields: [sessionId], references: [id], onDelete: Cascade) + user User @relation(fields: [userId], references: [id]) + + @@unique([sessionId, userId]) // A user can only join a session once + @@index([sessionId]) + @@index([userId]) + @@map("video_participants") +} + +model VideoRecording { + id String @id @default(uuid()) @db.Uuid + sessionId String @db.Uuid + fileName String @db.VarChar(255) + fileSize Int + duration Int // in seconds + recordedBy String @db.Uuid + startTime DateTime + endTime DateTime + storageProvider String @db.VarChar(50) + storageKey String + processingStatus ProcessingStatus @default(PROCESSING) + visibility RecordingVisibility @default(PARTICIPANTS_ONLY) + createdAt DateTime @default(now()) + + // Relations + session VideoConferenceSession @relation(fields: [sessionId], references: [id], onDelete: Cascade) + recorder User @relation(fields: [recordedBy], references: [id]) + + @@index([sessionId]) + @@index([recordedBy]) + @@index([processingStatus]) + @@map("video_recordings") +} + enum ReportType { ORGANIZATION_SUMMARY ORGANIZATION_ACTIVITY @@ -669,3 +887,59 @@ enum UserRole { MEMBER GUEST } + +// enums for chat and video functionality +enum ChatRoomType { + ORGANIZATION + DEPARTMENT + TEAM + PROJECT + TASK + DIRECT + GROUP +} + +enum ParticipantStatus { + ACTIVE + MUTED + BLOCKED + LEFT +} + +enum MessageContentType { + TEXT + IMAGE + FILE + AUDIO + VIDEO + CODE + LINK + SYSTEM +} + +enum SessionStatus { + SCHEDULED + ACTIVE + ENDED + CANCELLED +} + +enum VideoParticipantRole { + HOST + COHOST + PRESENTER + ATTENDEE +} + +enum ProcessingStatus { + PROCESSING + READY + FAILED +} + +enum RecordingVisibility { + PRIVATE + PARTICIPANTS_ONLY + ORGANIZATION + PUBLIC +} From 89f34a6f9dcdb789380691822bd28f3add1c49ea Mon Sep 17 00:00:00 2001 From: Mohamed Dawoud Date: Sat, 19 Apr 2025 21:48:51 +0200 Subject: [PATCH 2/3] feat: add chat and video conference migrations --- .../migration.sql | 309 ++++++++++++++++++ 1 file changed, 309 insertions(+) create mode 100644 prisma/migrations/20250419194634_chat_and_video_conference_models/migration.sql diff --git a/prisma/migrations/20250419194634_chat_and_video_conference_models/migration.sql b/prisma/migrations/20250419194634_chat_and_video_conference_models/migration.sql new file mode 100644 index 0000000..91e5e38 --- /dev/null +++ b/prisma/migrations/20250419194634_chat_and_video_conference_models/migration.sql @@ -0,0 +1,309 @@ +-- CreateEnum +CREATE TYPE "ChatRoomType" AS ENUM ('ORGANIZATION', 'DEPARTMENT', 'TEAM', 'PROJECT', 'TASK', 'DIRECT', 'GROUP'); + +-- CreateEnum +CREATE TYPE "ParticipantStatus" AS ENUM ('ACTIVE', 'MUTED', 'BLOCKED', 'LEFT'); + +-- CreateEnum +CREATE TYPE "MessageContentType" AS ENUM ('TEXT', 'IMAGE', 'FILE', 'AUDIO', 'VIDEO', 'CODE', 'LINK', 'SYSTEM'); + +-- CreateEnum +CREATE TYPE "SessionStatus" AS ENUM ('SCHEDULED', 'ACTIVE', 'ENDED', 'CANCELLED'); + +-- CreateEnum +CREATE TYPE "VideoParticipantRole" AS ENUM ('HOST', 'COHOST', 'PRESENTER', 'ATTENDEE'); + +-- CreateEnum +CREATE TYPE "ProcessingStatus" AS ENUM ('PROCESSING', 'READY', 'FAILED'); + +-- CreateEnum +CREATE TYPE "RecordingVisibility" AS ENUM ('PRIVATE', 'PARTICIPANTS_ONLY', 'ORGANIZATION', 'PUBLIC'); + +-- CreateTable +CREATE TABLE "chat_rooms" ( + "id" UUID NOT NULL, + "name" VARCHAR(100) NOT NULL, + "description" TEXT, + "type" "ChatRoomType" NOT NULL, + "entityType" "EntityType" NOT NULL, + "entityId" UUID NOT NULL, + "createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP, + "updatedAt" TIMESTAMP(3) NOT NULL, + "isActive" BOOLEAN NOT NULL DEFAULT true, + "isArchived" BOOLEAN NOT NULL DEFAULT false, + "archivedAt" TIMESTAMP(3), + "avatarUrl" TEXT, + "lastMessageAt" TIMESTAMP(3), + + CONSTRAINT "chat_rooms_pkey" PRIMARY KEY ("id") +); + +-- CreateTable +CREATE TABLE "chat_participants" ( + "id" UUID NOT NULL, + "chatRoomId" UUID NOT NULL, + "userId" UUID NOT NULL, + "joinedAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP, + "lastReadMessageId" UUID, + "lastReadAt" TIMESTAMP(3), + "isAdmin" BOOLEAN NOT NULL DEFAULT false, + "notificationsOn" BOOLEAN NOT NULL DEFAULT true, + "status" "ParticipantStatus" NOT NULL DEFAULT 'ACTIVE', + + CONSTRAINT "chat_participants_pkey" PRIMARY KEY ("id") +); + +-- CreateTable +CREATE TABLE "chat_messages" ( + "id" UUID NOT NULL, + "chatRoomId" UUID NOT NULL, + "senderId" UUID NOT NULL, + "content" TEXT NOT NULL, + "contentType" "MessageContentType" NOT NULL DEFAULT 'TEXT', + "createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP, + "updatedAt" TIMESTAMP(3) NOT NULL, + "isEdited" BOOLEAN NOT NULL DEFAULT false, + "isDeleted" BOOLEAN NOT NULL DEFAULT false, + "deletedAt" TIMESTAMP(3), + "replyToId" UUID, + "metadata" JSONB, + + CONSTRAINT "chat_messages_pkey" PRIMARY KEY ("id") +); + +-- CreateTable +CREATE TABLE "message_attachments" ( + "id" UUID NOT NULL, + "messageId" UUID NOT NULL, + "fileName" VARCHAR(255) NOT NULL, + "fileType" VARCHAR(50) NOT NULL, + "filePath" TEXT NOT NULL, + "fileSize" INTEGER NOT NULL, + "thumbnailPath" TEXT, + "storageProvider" VARCHAR(50), + "storageKey" TEXT NOT NULL, + "createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP, + + CONSTRAINT "message_attachments_pkey" PRIMARY KEY ("id") +); + +-- CreateTable +CREATE TABLE "message_reactions" ( + "id" UUID NOT NULL, + "messageId" UUID NOT NULL, + "userId" UUID NOT NULL, + "reaction" VARCHAR(50) NOT NULL, + "createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP, + + CONSTRAINT "message_reactions_pkey" PRIMARY KEY ("id") +); + +-- CreateTable +CREATE TABLE "pinned_messages" ( + "id" UUID NOT NULL, + "chatRoomId" UUID NOT NULL, + "messageId" UUID NOT NULL, + "pinnedBy" UUID NOT NULL, + "pinnedAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP, + + CONSTRAINT "pinned_messages_pkey" PRIMARY KEY ("id") +); + +-- CreateTable +CREATE TABLE "video_conference_sessions" ( + "id" UUID NOT NULL, + "chatRoomId" UUID NOT NULL, + "title" VARCHAR(100) NOT NULL, + "description" TEXT, + "startTime" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP, + "endTime" TIMESTAMP(3), + "status" "SessionStatus" NOT NULL DEFAULT 'ACTIVE', + "hostId" UUID NOT NULL, + "meetingUrl" TEXT NOT NULL, + "recordingUrl" TEXT, + "settings" JSONB, + + CONSTRAINT "video_conference_sessions_pkey" PRIMARY KEY ("id") +); + +-- CreateTable +CREATE TABLE "video_participants" ( + "id" UUID NOT NULL, + "sessionId" UUID NOT NULL, + "userId" UUID NOT NULL, + "joinedAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP, + "leftAt" TIMESTAMP(3), + "role" "VideoParticipantRole" NOT NULL DEFAULT 'ATTENDEE', + "deviceInfo" JSONB, + "connectionQuality" VARCHAR(20), + "hasVideo" BOOLEAN NOT NULL DEFAULT true, + "hasAudio" BOOLEAN NOT NULL DEFAULT true, + + CONSTRAINT "video_participants_pkey" PRIMARY KEY ("id") +); + +-- CreateTable +CREATE TABLE "video_recordings" ( + "id" UUID NOT NULL, + "sessionId" UUID NOT NULL, + "fileName" VARCHAR(255) NOT NULL, + "fileSize" INTEGER NOT NULL, + "duration" INTEGER NOT NULL, + "recordedBy" UUID NOT NULL, + "startTime" TIMESTAMP(3) NOT NULL, + "endTime" TIMESTAMP(3) NOT NULL, + "storageProvider" VARCHAR(50) NOT NULL, + "storageKey" TEXT NOT NULL, + "processingStatus" "ProcessingStatus" NOT NULL DEFAULT 'PROCESSING', + "visibility" "RecordingVisibility" NOT NULL DEFAULT 'PARTICIPANTS_ONLY', + "createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP, + + CONSTRAINT "video_recordings_pkey" PRIMARY KEY ("id") +); + +-- CreateIndex +CREATE INDEX "chat_rooms_entityType_entityId_idx" ON "chat_rooms"("entityType", "entityId"); + +-- CreateIndex +CREATE INDEX "chat_rooms_isActive_idx" ON "chat_rooms"("isActive"); + +-- CreateIndex +CREATE INDEX "chat_rooms_lastMessageAt_idx" ON "chat_rooms"("lastMessageAt"); + +-- CreateIndex +CREATE UNIQUE INDEX "chat_rooms_entityType_entityId_key" ON "chat_rooms"("entityType", "entityId"); + +-- CreateIndex +CREATE INDEX "chat_participants_chatRoomId_idx" ON "chat_participants"("chatRoomId"); + +-- CreateIndex +CREATE INDEX "chat_participants_userId_idx" ON "chat_participants"("userId"); + +-- CreateIndex +CREATE INDEX "chat_participants_lastReadAt_idx" ON "chat_participants"("lastReadAt"); + +-- CreateIndex +CREATE UNIQUE INDEX "chat_participants_chatRoomId_userId_key" ON "chat_participants"("chatRoomId", "userId"); + +-- CreateIndex +CREATE INDEX "chat_messages_chatRoomId_idx" ON "chat_messages"("chatRoomId"); + +-- CreateIndex +CREATE INDEX "chat_messages_senderId_idx" ON "chat_messages"("senderId"); + +-- CreateIndex +CREATE INDEX "chat_messages_createdAt_idx" ON "chat_messages"("createdAt"); + +-- CreateIndex +CREATE INDEX "chat_messages_replyToId_idx" ON "chat_messages"("replyToId"); + +-- CreateIndex +CREATE INDEX "message_attachments_messageId_idx" ON "message_attachments"("messageId"); + +-- CreateIndex +CREATE INDEX "message_attachments_fileType_idx" ON "message_attachments"("fileType"); + +-- CreateIndex +CREATE INDEX "message_reactions_messageId_idx" ON "message_reactions"("messageId"); + +-- CreateIndex +CREATE INDEX "message_reactions_userId_idx" ON "message_reactions"("userId"); + +-- CreateIndex +CREATE UNIQUE INDEX "message_reactions_messageId_userId_reaction_key" ON "message_reactions"("messageId", "userId", "reaction"); + +-- CreateIndex +CREATE INDEX "pinned_messages_chatRoomId_idx" ON "pinned_messages"("chatRoomId"); + +-- CreateIndex +CREATE INDEX "pinned_messages_messageId_idx" ON "pinned_messages"("messageId"); + +-- CreateIndex +CREATE UNIQUE INDEX "pinned_messages_chatRoomId_messageId_key" ON "pinned_messages"("chatRoomId", "messageId"); + +-- CreateIndex +CREATE UNIQUE INDEX "video_conference_sessions_meetingUrl_key" ON "video_conference_sessions"("meetingUrl"); + +-- CreateIndex +CREATE INDEX "video_conference_sessions_chatRoomId_idx" ON "video_conference_sessions"("chatRoomId"); + +-- CreateIndex +CREATE INDEX "video_conference_sessions_hostId_idx" ON "video_conference_sessions"("hostId"); + +-- CreateIndex +CREATE INDEX "video_conference_sessions_startTime_idx" ON "video_conference_sessions"("startTime"); + +-- CreateIndex +CREATE INDEX "video_conference_sessions_status_idx" ON "video_conference_sessions"("status"); + +-- CreateIndex +CREATE INDEX "video_participants_sessionId_idx" ON "video_participants"("sessionId"); + +-- CreateIndex +CREATE INDEX "video_participants_userId_idx" ON "video_participants"("userId"); + +-- CreateIndex +CREATE UNIQUE INDEX "video_participants_sessionId_userId_key" ON "video_participants"("sessionId", "userId"); + +-- CreateIndex +CREATE INDEX "video_recordings_sessionId_idx" ON "video_recordings"("sessionId"); + +-- CreateIndex +CREATE INDEX "video_recordings_recordedBy_idx" ON "video_recordings"("recordedBy"); + +-- CreateIndex +CREATE INDEX "video_recordings_processingStatus_idx" ON "video_recordings"("processingStatus"); + +-- AddForeignKey +ALTER TABLE "chat_participants" ADD CONSTRAINT "chat_participants_chatRoomId_fkey" FOREIGN KEY ("chatRoomId") REFERENCES "chat_rooms"("id") ON DELETE CASCADE ON UPDATE CASCADE; + +-- AddForeignKey +ALTER TABLE "chat_participants" ADD CONSTRAINT "chat_participants_userId_fkey" FOREIGN KEY ("userId") REFERENCES "users"("id") ON DELETE CASCADE ON UPDATE CASCADE; + +-- AddForeignKey +ALTER TABLE "chat_participants" ADD CONSTRAINT "chat_participants_lastReadMessageId_fkey" FOREIGN KEY ("lastReadMessageId") REFERENCES "chat_messages"("id") ON DELETE SET NULL ON UPDATE CASCADE; + +-- AddForeignKey +ALTER TABLE "chat_messages" ADD CONSTRAINT "chat_messages_chatRoomId_fkey" FOREIGN KEY ("chatRoomId") REFERENCES "chat_rooms"("id") ON DELETE CASCADE ON UPDATE CASCADE; + +-- AddForeignKey +ALTER TABLE "chat_messages" ADD CONSTRAINT "chat_messages_senderId_fkey" FOREIGN KEY ("senderId") REFERENCES "users"("id") ON DELETE RESTRICT ON UPDATE CASCADE; + +-- AddForeignKey +ALTER TABLE "chat_messages" ADD CONSTRAINT "chat_messages_replyToId_fkey" FOREIGN KEY ("replyToId") REFERENCES "chat_messages"("id") ON DELETE SET NULL ON UPDATE CASCADE; + +-- AddForeignKey +ALTER TABLE "message_attachments" ADD CONSTRAINT "message_attachments_messageId_fkey" FOREIGN KEY ("messageId") REFERENCES "chat_messages"("id") ON DELETE CASCADE ON UPDATE CASCADE; + +-- AddForeignKey +ALTER TABLE "message_reactions" ADD CONSTRAINT "message_reactions_messageId_fkey" FOREIGN KEY ("messageId") REFERENCES "chat_messages"("id") ON DELETE CASCADE ON UPDATE CASCADE; + +-- AddForeignKey +ALTER TABLE "message_reactions" ADD CONSTRAINT "message_reactions_userId_fkey" FOREIGN KEY ("userId") REFERENCES "users"("id") ON DELETE CASCADE ON UPDATE CASCADE; + +-- AddForeignKey +ALTER TABLE "pinned_messages" ADD CONSTRAINT "pinned_messages_chatRoomId_fkey" FOREIGN KEY ("chatRoomId") REFERENCES "chat_rooms"("id") ON DELETE CASCADE ON UPDATE CASCADE; + +-- AddForeignKey +ALTER TABLE "pinned_messages" ADD CONSTRAINT "pinned_messages_messageId_fkey" FOREIGN KEY ("messageId") REFERENCES "chat_messages"("id") ON DELETE CASCADE ON UPDATE CASCADE; + +-- AddForeignKey +ALTER TABLE "pinned_messages" ADD CONSTRAINT "pinned_messages_pinnedBy_fkey" FOREIGN KEY ("pinnedBy") REFERENCES "users"("id") ON DELETE RESTRICT ON UPDATE CASCADE; + +-- AddForeignKey +ALTER TABLE "video_conference_sessions" ADD CONSTRAINT "video_conference_sessions_chatRoomId_fkey" FOREIGN KEY ("chatRoomId") REFERENCES "chat_rooms"("id") ON DELETE CASCADE ON UPDATE CASCADE; + +-- AddForeignKey +ALTER TABLE "video_conference_sessions" ADD CONSTRAINT "video_conference_sessions_hostId_fkey" FOREIGN KEY ("hostId") REFERENCES "users"("id") ON DELETE RESTRICT ON UPDATE CASCADE; + +-- AddForeignKey +ALTER TABLE "video_participants" ADD CONSTRAINT "video_participants_sessionId_fkey" FOREIGN KEY ("sessionId") REFERENCES "video_conference_sessions"("id") ON DELETE CASCADE ON UPDATE CASCADE; + +-- AddForeignKey +ALTER TABLE "video_participants" ADD CONSTRAINT "video_participants_userId_fkey" FOREIGN KEY ("userId") REFERENCES "users"("id") ON DELETE RESTRICT ON UPDATE CASCADE; + +-- AddForeignKey +ALTER TABLE "video_recordings" ADD CONSTRAINT "video_recordings_sessionId_fkey" FOREIGN KEY ("sessionId") REFERENCES "video_conference_sessions"("id") ON DELETE CASCADE ON UPDATE CASCADE; + +-- AddForeignKey +ALTER TABLE "video_recordings" ADD CONSTRAINT "video_recordings_recordedBy_fkey" FOREIGN KEY ("recordedBy") REFERENCES "users"("id") ON DELETE RESTRICT ON UPDATE CASCADE; From 38ccd4607554b15a1cadd0f62cd7238d3e1ebcb4 Mon Sep 17 00:00:00 2001 From: Mohamed Dawoud Date: Sat, 19 Apr 2025 21:49:13 +0200 Subject: [PATCH 3/3] refactor: prisma generated --- prisma/generated/prisma-client-js/edge.js | 187 +- .../prisma-client-js/index-browser.js | 181 +- prisma/generated/prisma-client-js/index.d.ts | 48145 +++++++++++----- prisma/generated/prisma-client-js/index.js | 187 +- .../generated/prisma-client-js/package.json | 2 +- .../generated/prisma-client-js/schema.prisma | 296 +- prisma/generated/prisma-client-js/wasm.js | 181 +- 7 files changed, 35457 insertions(+), 13722 deletions(-) diff --git a/prisma/generated/prisma-client-js/edge.js b/prisma/generated/prisma-client-js/edge.js index 66c42d2..5ca4d63 100644 --- a/prisma/generated/prisma-client-js/edge.js +++ b/prisma/generated/prisma-client-js/edge.js @@ -381,6 +381,121 @@ exports.Prisma.PermissionScalarFieldEnum = { updatedAt: 'updatedAt' }; +exports.Prisma.ChatRoomScalarFieldEnum = { + id: 'id', + name: 'name', + description: 'description', + type: 'type', + entityType: 'entityType', + entityId: 'entityId', + createdAt: 'createdAt', + updatedAt: 'updatedAt', + isActive: 'isActive', + isArchived: 'isArchived', + archivedAt: 'archivedAt', + avatarUrl: 'avatarUrl', + lastMessageAt: 'lastMessageAt' +}; + +exports.Prisma.ChatParticipantScalarFieldEnum = { + id: 'id', + chatRoomId: 'chatRoomId', + userId: 'userId', + joinedAt: 'joinedAt', + lastReadMessageId: 'lastReadMessageId', + lastReadAt: 'lastReadAt', + isAdmin: 'isAdmin', + notificationsOn: 'notificationsOn', + status: 'status' +}; + +exports.Prisma.ChatMessageScalarFieldEnum = { + id: 'id', + chatRoomId: 'chatRoomId', + senderId: 'senderId', + content: 'content', + contentType: 'contentType', + createdAt: 'createdAt', + updatedAt: 'updatedAt', + isEdited: 'isEdited', + isDeleted: 'isDeleted', + deletedAt: 'deletedAt', + replyToId: 'replyToId', + metadata: 'metadata' +}; + +exports.Prisma.MessageAttachmentScalarFieldEnum = { + id: 'id', + messageId: 'messageId', + fileName: 'fileName', + fileType: 'fileType', + filePath: 'filePath', + fileSize: 'fileSize', + thumbnailPath: 'thumbnailPath', + storageProvider: 'storageProvider', + storageKey: 'storageKey', + createdAt: 'createdAt' +}; + +exports.Prisma.MessageReactionScalarFieldEnum = { + id: 'id', + messageId: 'messageId', + userId: 'userId', + reaction: 'reaction', + createdAt: 'createdAt' +}; + +exports.Prisma.PinnedMessageScalarFieldEnum = { + id: 'id', + chatRoomId: 'chatRoomId', + messageId: 'messageId', + pinnedBy: 'pinnedBy', + pinnedAt: 'pinnedAt' +}; + +exports.Prisma.VideoConferenceSessionScalarFieldEnum = { + id: 'id', + chatRoomId: 'chatRoomId', + title: 'title', + description: 'description', + startTime: 'startTime', + endTime: 'endTime', + status: 'status', + hostId: 'hostId', + meetingUrl: 'meetingUrl', + recordingUrl: 'recordingUrl', + settings: 'settings' +}; + +exports.Prisma.VideoParticipantScalarFieldEnum = { + id: 'id', + sessionId: 'sessionId', + userId: 'userId', + joinedAt: 'joinedAt', + leftAt: 'leftAt', + role: 'role', + deviceInfo: 'deviceInfo', + connectionQuality: 'connectionQuality', + hasVideo: 'hasVideo', + hasAudio: 'hasAudio' +}; + +exports.Prisma.VideoRecordingScalarFieldEnum = { + id: 'id', + sessionId: 'sessionId', + fileName: 'fileName', + fileSize: 'fileSize', + duration: 'duration', + recordedBy: 'recordedBy', + startTime: 'startTime', + endTime: 'endTime', + storageProvider: 'storageProvider', + storageKey: 'storageKey', + processingStatus: 'processingStatus', + visibility: 'visibility', + createdAt: 'createdAt' +}; + exports.Prisma.SortOrder = { asc: 'asc', desc: 'desc' @@ -512,6 +627,61 @@ exports.UserRole = exports.$Enums.UserRole = { GUEST: 'GUEST' }; +exports.ChatRoomType = exports.$Enums.ChatRoomType = { + ORGANIZATION: 'ORGANIZATION', + DEPARTMENT: 'DEPARTMENT', + TEAM: 'TEAM', + PROJECT: 'PROJECT', + TASK: 'TASK', + DIRECT: 'DIRECT', + GROUP: 'GROUP' +}; + +exports.ParticipantStatus = exports.$Enums.ParticipantStatus = { + ACTIVE: 'ACTIVE', + MUTED: 'MUTED', + BLOCKED: 'BLOCKED', + LEFT: 'LEFT' +}; + +exports.MessageContentType = exports.$Enums.MessageContentType = { + TEXT: 'TEXT', + IMAGE: 'IMAGE', + FILE: 'FILE', + AUDIO: 'AUDIO', + VIDEO: 'VIDEO', + CODE: 'CODE', + LINK: 'LINK', + SYSTEM: 'SYSTEM' +}; + +exports.SessionStatus = exports.$Enums.SessionStatus = { + SCHEDULED: 'SCHEDULED', + ACTIVE: 'ACTIVE', + ENDED: 'ENDED', + CANCELLED: 'CANCELLED' +}; + +exports.VideoParticipantRole = exports.$Enums.VideoParticipantRole = { + HOST: 'HOST', + COHOST: 'COHOST', + PRESENTER: 'PRESENTER', + ATTENDEE: 'ATTENDEE' +}; + +exports.ProcessingStatus = exports.$Enums.ProcessingStatus = { + PROCESSING: 'PROCESSING', + READY: 'READY', + FAILED: 'FAILED' +}; + +exports.RecordingVisibility = exports.$Enums.RecordingVisibility = { + PRIVATE: 'PRIVATE', + PARTICIPANTS_ONLY: 'PARTICIPANTS_ONLY', + ORGANIZATION: 'ORGANIZATION', + PUBLIC: 'PUBLIC' +}; + exports.Prisma.ModelName = { User: 'User', Organization: 'Organization', @@ -533,7 +703,16 @@ exports.Prisma.ModelName = { Report: 'Report', ReportSchedule: 'ReportSchedule', ReportNotification: 'ReportNotification', - Permission: 'Permission' + Permission: 'Permission', + ChatRoom: 'ChatRoom', + ChatParticipant: 'ChatParticipant', + ChatMessage: 'ChatMessage', + MessageAttachment: 'MessageAttachment', + MessageReaction: 'MessageReaction', + PinnedMessage: 'PinnedMessage', + VideoConferenceSession: 'VideoConferenceSession', + VideoParticipant: 'VideoParticipant', + VideoRecording: 'VideoRecording' }; /** * Create the Client @@ -585,13 +764,13 @@ const config = { } } }, - "inlineSchema": "// This is your Prisma schema file,\n// learn more about it in the docs: https://pris.ly/d/prisma-schema\n\n// Looking for ways to speed up your queries, or scale easily with your serverless or edge functions?\n// Try Prisma Accelerate: https://pris.ly/cli/accelerate-init\n\ngenerator client {\n provider = \"prisma-client-js\"\n previewFeatures = [\"prismaSchemaFolder\"]\n output = \"./generated/prisma-client-js\"\n}\n\ndatasource db {\n provider = \"postgresql\"\n url = env(\"DATABASE_URL\")\n}\n\nmodel User {\n id String @id @default(uuid()) @db.Uuid\n email String @unique @db.VarChar(255)\n username String @unique @db.VarChar(50)\n password String @db.VarChar(255)\n firebaseUid String? @unique\n firstName String @db.VarChar(100)\n lastName String @db.VarChar(100)\n role UserRole\n profilePic String?\n departmentId String? @db.Uuid\n organizationId String? @db.Uuid\n isOwner Boolean @default(false)\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n isActive Boolean @default(true)\n deletedAt DateTime?\n phoneNumber String? @db.VarChar(255)\n jobTitle String? @db.VarChar(100)\n timezone String? @db.VarChar(50)\n bio String? @db.Text\n preferences Json? // for user-specific settings\n emailVerificationToken String?\n emailVerificationExpires DateTime?\n passwordResetToken String?\n passwordResetExpires DateTime?\n refreshToken String?\n lastLogin DateTime?\n lastLogout DateTime?\n\n // Relations\n department Department? @relation(fields: [departmentId], references: [id])\n organization Organization? @relation(\"OrganizationEmployees\", fields: [organizationId], references: [id])\n createdOrganizations Organization[] @relation(\"OrganizationCreator\")\n ownedOrganizations OrganizationOwner[]\n managedDepartments Department[] @relation(\"DepartmentManager\")\n createdTeams Team[] @relation(\"TeamCreator\")\n teamMemberships TeamMember[]\n projectMemberships ProjectMember[]\n createdProjects Project[] @relation(\"ProjectCreator\")\n modifiedProjects Project[] @relation(\"ProjectModifier\")\n createdTasks Task[] @relation(\"TaskCreator\")\n assignedTasks Task[] @relation(\"TaskAssignee\")\n modifiedTasks Task[] @relation(\"TaskModifier\")\n notifications Notification[]\n timelogs Timelog[]\n comments Comment[]\n taskAttachments TaskAttachment[]\n generatedReports Report[]\n userReports Report[] @relation(\"UserReports\")\n permissions Permission[] // relation to permissions\n activityLogs ActivityLog[] // relation to activity logs as performer\n ReportNotification ReportNotification[]\n\n @@index([departmentId])\n @@index([organizationId])\n @@index([role])\n @@index([isActive])\n @@map(\"users\")\n}\n\nmodel Organization {\n id String @id @default(uuid()) @db.Uuid\n name String @db.VarChar(100)\n description String? @db.Text\n industry String @db.VarChar(50)\n sizeRange String @db.VarChar(50)\n website String? @db.VarChar(255)\n logoUrl String?\n isVerified Boolean @default(false)\n status String @db.VarChar(20)\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n deletedAt DateTime?\n createdBy String @db.Uuid\n address String? @db.Text\n contactEmail String? @db.VarChar(255)\n contactPhone String? @db.VarChar(50)\n emailVerificationOTP String?\n emailVerificationExpires DateTime?\n\n // Relations\n creator User @relation(\"OrganizationCreator\", fields: [createdBy], references: [id])\n departments Department[]\n teams Team[]\n projects Project[]\n users User[] @relation(\"OrganizationEmployees\")\n reports Report[]\n owners OrganizationOwner[]\n templates TaskTemplate[] // relation to task templates\n activityLogs ActivityLog[] // relation to activity logs\n\n @@unique([name])\n @@index([createdBy])\n @@map(\"organizations\")\n}\n\nmodel OrganizationOwner {\n id String @id @default(uuid()) @db.Uuid\n organizationId String @db.Uuid\n userId String @db.Uuid\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n\n // Relations\n organization Organization @relation(fields: [organizationId], references: [id], onDelete: Cascade)\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n\n @@unique([organizationId, userId]) // to prevent duplicate owner assignments\n @@index([organizationId])\n @@index([userId])\n @@map(\"organization_owners\")\n}\n\nmodel Department {\n id String @id @default(uuid()) @db.Uuid\n name String @db.VarChar(100)\n description String? @db.Text\n organizationId String @db.Uuid\n managerId String @db.Uuid\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n deletedAt DateTime?\n\n // Relations\n organization Organization @relation(fields: [organizationId], references: [id], onDelete: Cascade)\n manager User @relation(\"DepartmentManager\", fields: [managerId], references: [id])\n teams Team[]\n users User[]\n activityLogs ActivityLog[] @relation(\"DepartmentActivityLogs\")\n Report Report[]\n\n @@unique([organizationId, name]) // to prevent duplicate department names within an organization\n @@index([organizationId])\n @@index([managerId])\n @@map(\"departments\")\n}\n\nmodel Team {\n id String @id @default(uuid()) @db.Uuid\n name String @db.VarChar(100)\n description String? @db.Text\n createdBy String @db.Uuid\n organizationId String @db.Uuid\n departmentId String? @db.Uuid\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n deletedAt DateTime?\n avatar String? // for team avatar/logo\n\n // Relations\n creator User @relation(\"TeamCreator\", fields: [createdBy], references: [id])\n organization Organization @relation(fields: [organizationId], references: [id], onDelete: Cascade)\n department Department? @relation(fields: [departmentId], references: [id], onDelete: Cascade)\n members TeamMember[]\n projects Project[]\n reports Report[]\n activityLogs ActivityLog[] // relation to activity logs\n\n @@unique([organizationId, name]) // to prevent duplicate team names within an organization\n @@index([organizationId])\n @@index([departmentId])\n @@index([createdBy])\n @@map(\"teams\")\n}\n\nmodel TeamMember {\n id String @id @default(uuid()) @db.Uuid\n teamId String @db.Uuid\n userId String @db.Uuid\n role TeamMemberRole\n joinedAt DateTime @default(now())\n isActive Boolean @default(true)\n deletedAt DateTime?\n\n // Relations\n team Team @relation(fields: [teamId], references: [id], onDelete: Cascade)\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n\n @@unique([teamId, userId]) // to prevent duplicate team memberships\n @@index([teamId])\n @@index([userId])\n @@map(\"team_members\")\n}\n\nmodel Project {\n id String @id @default(uuid()) @db.Uuid\n name String @db.VarChar(100)\n description String? @db.Text\n status String @db.VarChar(20)\n createdBy String @db.Uuid\n organizationId String @db.Uuid\n teamId String @db.Uuid\n startDate DateTime\n endDate DateTime\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n deletedAt DateTime?\n priority TaskPriority @default(MEDIUM) // for project prioritization\n progress Float? @default(0) // for progress tracking\n budget Float? // for budget tracking\n lastModifiedBy String? @db.Uuid // for audit\n\n // Relations\n creator User @relation(\"ProjectCreator\", fields: [createdBy], references: [id])\n modifier User? @relation(\"ProjectModifier\", fields: [lastModifiedBy], references: [id])\n organization Organization @relation(fields: [organizationId], references: [id], onDelete: Cascade)\n team Team @relation(fields: [teamId], references: [id], onDelete: Cascade)\n sprints Sprint[]\n tasks Task[]\n reports Report[]\n activityLogs ActivityLog[]\n ProjectMember ProjectMember[]\n\n @@unique([organizationId, name]) // to prevent duplicate project names within an organization\n @@index([organizationId])\n @@index([teamId])\n @@index([createdBy])\n @@index([status])\n @@map(\"projects\")\n}\n\nmodel ProjectMember {\n id String @id @default(uuid()) @db.Uuid\n projectId String @db.Uuid\n userId String @db.Uuid\n role String @db.VarChar(50) // e.g., \"DEVELOPER\", \"TESTER\", \"PRODUCT_OWNER\" // make it as enum\n isActive Boolean @default(true)\n joinedAt DateTime @default(now())\n leftAt DateTime?\n deletedAt DateTime?\n\n // Relations\n project Project @relation(fields: [projectId], references: [id], onDelete: Cascade)\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n\n @@unique([projectId, userId]) // A user can only have one active role in a project\n @@index([projectId])\n @@index([userId])\n @@map(\"project_members\")\n}\n\nmodel Sprint {\n id String @id @default(uuid()) @db.Uuid\n projectId String @db.Uuid\n name String @db.VarChar(100)\n description String? @db.Text\n startDate DateTime\n endDate DateTime\n status String @db.VarChar(20)\n goal String? @db.Text // for sprint goal\n order Int @default(0) // for ordering sprints\n\n // Relations\n project Project @relation(fields: [projectId], references: [id], onDelete: Cascade)\n tasks Task[]\n activityLogs ActivityLog[] @relation(\"SprintActivityLogs\")\n\n @@unique([projectId, name]) // to prevent duplicate sprint names within a project\n @@index([projectId])\n @@index([status])\n @@map(\"sprints\")\n}\n\nmodel Task {\n id String @id @default(uuid()) @db.Uuid\n title String @db.VarChar(200)\n description String? @db.Text\n priority TaskPriority\n status TaskStatus\n rate Float?\n projectId String @db.Uuid\n sprintId String? @db.Uuid\n createdBy String @db.Uuid\n assignedTo String? @db.Uuid\n dueDate DateTime\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n deletedAt DateTime?\n estimatedTime Float? // for time estimation (in hours)\n actualTime Float? // for actual time spent\n parentId String? @db.Uuid // for subtask hierarchy\n order Int @default(0) // for custom ordering\n labels String[] // for task categorization\n lastModifiedBy String? @db.Uuid // for audit\n\n // Relations\n project Project @relation(fields: [projectId], references: [id], onDelete: Cascade)\n sprint Sprint? @relation(fields: [sprintId], references: [id])\n creator User @relation(\"TaskCreator\", fields: [createdBy], references: [id])\n assignee User? @relation(\"TaskAssignee\", fields: [assignedTo], references: [id])\n modifier User? @relation(\"TaskModifier\", fields: [lastModifiedBy], references: [id])\n attachments TaskAttachment[]\n comments Comment[]\n timelogs Timelog[]\n dependencies TaskDependency[] @relation(\"DependentTask\")\n dependentOn TaskDependency[] @relation(\"MainTask\")\n parent Task? @relation(\"TaskHierarchy\", fields: [parentId], references: [id]) // Added for subtask hierarchy\n subtasks Task[] @relation(\"TaskHierarchy\") // for subtask hierarchy\n activityLogs ActivityLog[] // relation to activity logs\n\n @@index([projectId])\n @@index([sprintId])\n @@index([createdBy])\n @@index([assignedTo])\n @@index([status])\n @@index([priority])\n @@index([parentId]) // for querying subtasks efficiently\n @@map(\"tasks\")\n}\n\nmodel TaskAttachment {\n id String @id @default(uuid()) @db.Uuid\n taskId String @db.Uuid\n fileName String @db.VarChar(255)\n fileType String @db.VarChar(50)\n filePath String\n fileSize Int\n uploadedBy String @db.Uuid\n createdAt DateTime @default(now())\n storageProvider String? @db.VarChar(50) // for storage provider (e.g., \"s3\", \"azure\")\n storageKey String // for cloud storage reference\n\n // Relations\n task Task @relation(fields: [taskId], references: [id], onDelete: Cascade)\n uploader User @relation(fields: [uploadedBy], references: [id])\n\n @@index([taskId])\n @@index([uploadedBy])\n @@index([fileType]) // for filtering by file type\n @@map(\"task_attachments\")\n}\n\nmodel TaskDependency {\n id String @id @default(uuid()) @db.Uuid\n taskId String @db.Uuid\n dependentTaskId String @db.Uuid\n dependencyType DependencyType\n description String? @db.Text // for dependency description\n\n // Relations\n task Task @relation(\"MainTask\", fields: [taskId], references: [id], onDelete: Cascade)\n dependentTask Task @relation(\"DependentTask\", fields: [dependentTaskId], references: [id], onDelete: Cascade)\n\n @@unique([taskId, dependentTaskId]) // to prevent duplicate dependencies\n @@index([taskId])\n @@index([dependentTaskId])\n @@map(\"task_dependencies\")\n}\n\nmodel TaskTemplate {\n id String @id @default(uuid()) @db.Uuid\n name String @db.VarChar(100)\n description String? @db.Text\n priority TaskPriority\n estimatedTime Float?\n organizationId String @db.Uuid\n createdBy String @db.Uuid\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n checklist Json? // predefined checklist items\n labels String[] // task categorization\n isPublic Boolean @default(false)\n\n // Relations\n organization Organization @relation(fields: [organizationId], references: [id])\n\n @@unique([organizationId, name]) // Prevent duplicate templates within organization\n @@index([organizationId])\n @@map(\"task_templates\")\n}\n\nmodel Timelog {\n id String @id @default(uuid()) @db.Uuid\n taskId String @db.Uuid\n userId String @db.Uuid\n startTime DateTime\n endTime DateTime\n description String? @db.Text\n\n // Relations\n task Task @relation(fields: [taskId], references: [id], onDelete: Cascade)\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n\n @@index([taskId])\n @@index([userId])\n @@index([startTime, endTime]) // for time-range queries\n @@map(\"timelogs\")\n}\n\nmodel Comment {\n id String @id @default(uuid()) @db.Uuid\n taskId String @db.Uuid\n userId String @db.Uuid\n content String @db.Text\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n\n // Relations\n task Task @relation(fields: [taskId], references: [id], onDelete: Cascade)\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n\n @@index([taskId])\n @@index([userId])\n @@index([createdAt]) // for pagination and sorting\n @@map(\"comments\")\n}\n\nmodel ActivityLog {\n id String @id @default(uuid()) @db.Uuid\n entityType EntityType\n action ActionType\n userId String @db.Uuid\n organizationId String? @db.Uuid\n departmentId String? @db.Uuid\n projectId String? @db.Uuid\n teamId String? @db.Uuid\n sprintId String? @db.Uuid\n taskId String @db.Uuid\n details Json?\n createdAt DateTime @default(now())\n\n // Relations\n user User @relation(fields: [userId], references: [id], map: \"activitylog_user_fkey\")\n organization Organization? @relation(fields: [organizationId], references: [id], map: \"activitylog_org_fkey\")\n department Department? @relation(\"DepartmentActivityLogs\", fields: [departmentId], references: [id], map: \"activitylog_dept_fkey\")\n project Project? @relation(fields: [projectId], references: [id], map: \"activitylog_project_fkey\")\n team Team? @relation(fields: [teamId], references: [id], map: \"activitylog_team_fkey\")\n sprint Sprint? @relation(\"SprintActivityLogs\", fields: [sprintId], references: [id], map: \"activitylog_sprint_fkey\")\n task Task? @relation(fields: [taskId], references: [id], map: \"activitylog_task_fkey\")\n\n @@index([userId])\n @@index([organizationId])\n @@index([departmentId])\n @@index([projectId])\n @@index([teamId])\n @@index([sprintId])\n @@index([taskId])\n @@index([createdAt])\n @@map(\"activity_logs\")\n}\n\nmodel Notification {\n id String @id @default(uuid()) @db.Uuid\n userId String @db.Uuid\n content String @db.Text\n isRead Boolean @default(false)\n type String @db.VarChar(50)\n metadata Json?\n createdAt DateTime @default(now())\n deletedAt DateTime?\n entityType String? @db.VarChar(50) // for reference to specific entity\n entityId String? @db.Uuid // for reference to specific entity\n\n // Relations\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n\n @@index([userId])\n @@index([createdAt])\n @@index([isRead])\n @@index([entityId, entityType]) // for queries filtering by entity\n @@map(\"notifications\")\n}\n\nmodel Report {\n id String @id @default(uuid()) @db.Uuid\n name String @db.VarChar(100)\n description String? @db.Text\n reportType ReportType\n format String @db.VarChar(20) // PDF, XLSX, CSV, etc.\n parameters Json?\n filePath String\n generatedBy String @db.Uuid\n createdAt DateTime @default(now())\n status ReportStatus @default(PENDING)\n updatedAt DateTime @updatedAt\n lastAccessedAt DateTime?\n expiresAt DateTime?\n tags String? @db.Text // Comma-separated tags or use a JSON array\n\n organizationId String? @db.Uuid\n teamId String? @db.Uuid\n projectId String? @db.Uuid\n departmentId String? @db.Uuid\n userId String? @db.Uuid\n scheduleId String? @db.Uuid\n\n // Storage information\n storageProvider String? @db.VarChar(50) // e.g., \"s3\", \"azure\", \"local\"\n storageKey String // Cloud storage reference\n\n // Relations\n generator User @relation(fields: [generatedBy], references: [id])\n organization Organization? @relation(fields: [organizationId], references: [id])\n team Team? @relation(fields: [teamId], references: [id])\n project Project? @relation(fields: [projectId], references: [id])\n department Department? @relation(fields: [departmentId], references: [id])\n user User? @relation(\"UserReports\", fields: [userId], references: [id])\n reportSchedule ReportSchedule? @relation(fields: [scheduleId], references: [id])\n notifiedUsers ReportNotification[]\n\n @@index([generatedBy])\n @@index([organizationId])\n @@index([teamId])\n @@index([projectId])\n @@index([createdAt])\n @@index([status])\n @@map(\"reports\")\n}\n\nmodel ReportSchedule {\n id String @id @default(uuid()) @db.Uuid\n name String @db.VarChar(100)\n cronExpression String @db.VarChar(100)\n isActive Boolean @default(true)\n createdAt DateTime @default(now())\n createdBy String @db.Uuid\n\n reports Report[]\n\n @@map(\"report_schedules\")\n}\n\nmodel ReportNotification {\n id String @id @default(uuid()) @db.Uuid\n reportId String @db.Uuid\n userId String @db.Uuid\n notified Boolean @default(false)\n\n report Report @relation(fields: [reportId], references: [id])\n user User @relation(fields: [userId], references: [id])\n\n @@unique([reportId, userId])\n @@map(\"report_notifications\")\n}\n\nmodel Permission {\n id String @id @default(uuid()) @db.Uuid\n userId String @db.Uuid\n entityType String // \"project\", \"team\", etc.\n entityId String @db.Uuid\n permissions Json // detailed permission structure\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n\n // Relations\n user User @relation(fields: [userId], references: [id])\n\n @@unique([userId, entityType, entityId])\n @@index([entityId, entityType])\n @@map(\"permissions\")\n}\n\nenum ReportType {\n ORGANIZATION_SUMMARY\n ORGANIZATION_ACTIVITY\n DEPARTMENT_PERFORMANCE\n TEAM_PRODUCTIVITY\n PROJECT_STATUS\n PROJECT_TIMELINE\n TASK_COMPLETION\n USER_PERFORMANCE\n USER_ACTIVITY\n SPRINT_BURNDOWN\n CUSTOM\n}\n\nenum ReportStatus {\n PENDING\n GENERATING\n COMPLETED\n FAILED\n EXPIRED\n}\n\nenum EntityType {\n ORGANIZATION\n DEPARTMENT\n TEAM\n PROJECT\n SPRINT\n TASK\n USER\n TASK_ATTACHMENT\n TASK_DEPENDENCY\n TASK_TEMPLATE\n COMMENT\n}\n\nenum ActionType {\n CREATED\n UPDATED\n DELETED\n RESTORED\n COMMENTED\n STATUS_CHANGED\n ASSIGNED\n UNASSIGNED\n ATTACHMENT_ADDED\n ATTACHMENT_REMOVED\n DEPENDENCY_ADDED\n DEPENDENCY_REMOVED\n MEMBER_ADDED\n MEMBER_REMOVED\n MEMBER_ROLE_CHANGED\n SPRINT_STARTED\n SPRINT_COMPLETED\n TASK_MOVED\n LOGGED_TIME\n VERIFIED\n LOGO_UPDATED\n SETTINGS_CHANGED\n SUBSCRIPTION_CHANGED\n TEAM_CREATED\n TEAM_DELETED\n DEPARTMENT_CREATED\n DEPARTMENT_DELETED\n OWNER_ADDED\n OWNER_REMOVED\n}\n\nenum TaskPriority {\n LOW\n MEDIUM\n HIGH\n}\n\nenum TaskStatus {\n TODO\n IN_PROGRESS\n REVIEW\n DONE\n}\n\nenum DependencyType {\n BLOCKS\n REQUIRES\n RELATES_TO\n DUPLICATES\n}\n\nenum TeamMemberRole {\n MEMBER\n LEADER\n VIEWER\n}\n\nenum UserRole {\n OWNER\n MANAGER\n ADMIN\n MEMBER\n GUEST\n}\n", - "inlineSchemaHash": "b44d37977f0c1a834559ad991534ecdf1a4658fa7de47c7df0a478ac79852c1c", + "inlineSchema": "// This is your Prisma schema file,\n// learn more about it in the docs: https://pris.ly/d/prisma-schema\n\n// Looking for ways to speed up your queries, or scale easily with your serverless or edge functions?\n// Try Prisma Accelerate: https://pris.ly/cli/accelerate-init\n\ngenerator client {\n provider = \"prisma-client-js\"\n previewFeatures = [\"prismaSchemaFolder\"]\n output = \"./generated/prisma-client-js\"\n}\n\ndatasource db {\n provider = \"postgresql\"\n url = env(\"DATABASE_URL\")\n}\n\nmodel User {\n id String @id @default(uuid()) @db.Uuid\n email String @unique @db.VarChar(255)\n username String @unique @db.VarChar(50)\n password String @db.VarChar(255)\n firebaseUid String? @unique\n firstName String @db.VarChar(100)\n lastName String @db.VarChar(100)\n role UserRole\n profilePic String?\n departmentId String? @db.Uuid\n organizationId String? @db.Uuid\n isOwner Boolean @default(false)\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n isActive Boolean @default(true)\n deletedAt DateTime?\n phoneNumber String? @db.VarChar(255)\n jobTitle String? @db.VarChar(100)\n timezone String? @db.VarChar(50)\n bio String? @db.Text\n preferences Json? // for user-specific settings\n emailVerificationToken String?\n emailVerificationExpires DateTime?\n passwordResetToken String?\n passwordResetExpires DateTime?\n refreshToken String?\n lastLogin DateTime?\n lastLogout DateTime?\n\n // Relations\n department Department? @relation(fields: [departmentId], references: [id])\n organization Organization? @relation(\"OrganizationEmployees\", fields: [organizationId], references: [id])\n createdOrganizations Organization[] @relation(\"OrganizationCreator\")\n ownedOrganizations OrganizationOwner[]\n managedDepartments Department[] @relation(\"DepartmentManager\")\n createdTeams Team[] @relation(\"TeamCreator\")\n teamMemberships TeamMember[]\n projectMemberships ProjectMember[]\n createdProjects Project[] @relation(\"ProjectCreator\")\n modifiedProjects Project[] @relation(\"ProjectModifier\")\n createdTasks Task[] @relation(\"TaskCreator\")\n assignedTasks Task[] @relation(\"TaskAssignee\")\n modifiedTasks Task[] @relation(\"TaskModifier\")\n notifications Notification[]\n timelogs Timelog[]\n comments Comment[]\n taskAttachments TaskAttachment[]\n generatedReports Report[]\n userReports Report[] @relation(\"UserReports\")\n permissions Permission[] // relation to permissions\n activityLogs ActivityLog[] // relation to activity logs as performer\n ReportNotification ReportNotification[]\n chatParticipations ChatParticipant[]\n sentMessages ChatMessage[]\n messageReactions MessageReaction[]\n pinnedMessages PinnedMessage[]\n hostedSessions VideoConferenceSession[] @relation(\"SessionHost\")\n videoParticipations VideoParticipant[]\n videoRecordings VideoRecording[]\n\n @@index([departmentId])\n @@index([organizationId])\n @@index([role])\n @@index([isActive])\n @@map(\"users\")\n}\n\nmodel Organization {\n id String @id @default(uuid()) @db.Uuid\n name String @db.VarChar(100)\n description String? @db.Text\n industry String @db.VarChar(50)\n sizeRange String @db.VarChar(50)\n website String? @db.VarChar(255)\n logoUrl String?\n isVerified Boolean @default(false)\n status String @db.VarChar(20)\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n deletedAt DateTime?\n createdBy String @db.Uuid\n address String? @db.Text\n contactEmail String? @db.VarChar(255)\n contactPhone String? @db.VarChar(50)\n emailVerificationOTP String?\n emailVerificationExpires DateTime?\n\n // Relations\n creator User @relation(\"OrganizationCreator\", fields: [createdBy], references: [id])\n departments Department[]\n teams Team[]\n projects Project[]\n users User[] @relation(\"OrganizationEmployees\")\n reports Report[]\n owners OrganizationOwner[]\n templates TaskTemplate[] // relation to task templates\n activityLogs ActivityLog[] // relation to activity logs\n\n @@unique([name])\n @@index([createdBy])\n @@map(\"organizations\")\n}\n\nmodel OrganizationOwner {\n id String @id @default(uuid()) @db.Uuid\n organizationId String @db.Uuid\n userId String @db.Uuid\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n\n // Relations\n organization Organization @relation(fields: [organizationId], references: [id], onDelete: Cascade)\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n\n @@unique([organizationId, userId]) // to prevent duplicate owner assignments\n @@index([organizationId])\n @@index([userId])\n @@map(\"organization_owners\")\n}\n\nmodel Department {\n id String @id @default(uuid()) @db.Uuid\n name String @db.VarChar(100)\n description String? @db.Text\n organizationId String @db.Uuid\n managerId String @db.Uuid\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n deletedAt DateTime?\n\n // Relations\n organization Organization @relation(fields: [organizationId], references: [id], onDelete: Cascade)\n manager User @relation(\"DepartmentManager\", fields: [managerId], references: [id])\n teams Team[]\n users User[]\n activityLogs ActivityLog[] @relation(\"DepartmentActivityLogs\")\n Report Report[]\n\n @@unique([organizationId, name]) // to prevent duplicate department names within an organization\n @@index([organizationId])\n @@index([managerId])\n @@map(\"departments\")\n}\n\nmodel Team {\n id String @id @default(uuid()) @db.Uuid\n name String @db.VarChar(100)\n description String? @db.Text\n createdBy String @db.Uuid\n organizationId String @db.Uuid\n departmentId String? @db.Uuid\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n deletedAt DateTime?\n avatar String? // for team avatar/logo\n\n // Relations\n creator User @relation(\"TeamCreator\", fields: [createdBy], references: [id])\n organization Organization @relation(fields: [organizationId], references: [id], onDelete: Cascade)\n department Department? @relation(fields: [departmentId], references: [id], onDelete: Cascade)\n members TeamMember[]\n projects Project[]\n reports Report[]\n activityLogs ActivityLog[] // relation to activity logs\n\n @@unique([organizationId, name]) // to prevent duplicate team names within an organization\n @@index([organizationId])\n @@index([departmentId])\n @@index([createdBy])\n @@map(\"teams\")\n}\n\nmodel TeamMember {\n id String @id @default(uuid()) @db.Uuid\n teamId String @db.Uuid\n userId String @db.Uuid\n role TeamMemberRole\n joinedAt DateTime @default(now())\n isActive Boolean @default(true)\n deletedAt DateTime?\n\n // Relations\n team Team @relation(fields: [teamId], references: [id], onDelete: Cascade)\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n\n @@unique([teamId, userId]) // to prevent duplicate team memberships\n @@index([teamId])\n @@index([userId])\n @@map(\"team_members\")\n}\n\nmodel Project {\n id String @id @default(uuid()) @db.Uuid\n name String @db.VarChar(100)\n description String? @db.Text\n status String @db.VarChar(20)\n createdBy String @db.Uuid\n organizationId String @db.Uuid\n teamId String @db.Uuid\n startDate DateTime\n endDate DateTime\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n deletedAt DateTime?\n priority TaskPriority @default(MEDIUM) // for project prioritization\n progress Float? @default(0) // for progress tracking\n budget Float? // for budget tracking\n lastModifiedBy String? @db.Uuid // for audit\n\n // Relations\n creator User @relation(\"ProjectCreator\", fields: [createdBy], references: [id])\n modifier User? @relation(\"ProjectModifier\", fields: [lastModifiedBy], references: [id])\n organization Organization @relation(fields: [organizationId], references: [id], onDelete: Cascade)\n team Team @relation(fields: [teamId], references: [id], onDelete: Cascade)\n sprints Sprint[]\n tasks Task[]\n reports Report[]\n activityLogs ActivityLog[]\n ProjectMember ProjectMember[]\n\n @@unique([organizationId, name]) // to prevent duplicate project names within an organization\n @@index([organizationId])\n @@index([teamId])\n @@index([createdBy])\n @@index([status])\n @@map(\"projects\")\n}\n\nmodel ProjectMember {\n id String @id @default(uuid()) @db.Uuid\n projectId String @db.Uuid\n userId String @db.Uuid\n role String @db.VarChar(50) // e.g., \"DEVELOPER\", \"TESTER\", \"PRODUCT_OWNER\" // make it as enum\n isActive Boolean @default(true)\n joinedAt DateTime @default(now())\n leftAt DateTime?\n deletedAt DateTime?\n\n // Relations\n project Project @relation(fields: [projectId], references: [id], onDelete: Cascade)\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n\n @@unique([projectId, userId]) // A user can only have one active role in a project\n @@index([projectId])\n @@index([userId])\n @@map(\"project_members\")\n}\n\nmodel Sprint {\n id String @id @default(uuid()) @db.Uuid\n projectId String @db.Uuid\n name String @db.VarChar(100)\n description String? @db.Text\n startDate DateTime\n endDate DateTime\n status String @db.VarChar(20)\n goal String? @db.Text // for sprint goal\n order Int @default(0) // for ordering sprints\n\n // Relations\n project Project @relation(fields: [projectId], references: [id], onDelete: Cascade)\n tasks Task[]\n activityLogs ActivityLog[] @relation(\"SprintActivityLogs\")\n\n @@unique([projectId, name]) // to prevent duplicate sprint names within a project\n @@index([projectId])\n @@index([status])\n @@map(\"sprints\")\n}\n\nmodel Task {\n id String @id @default(uuid()) @db.Uuid\n title String @db.VarChar(200)\n description String? @db.Text\n priority TaskPriority\n status TaskStatus\n rate Float?\n projectId String @db.Uuid\n sprintId String? @db.Uuid\n createdBy String @db.Uuid\n assignedTo String? @db.Uuid\n dueDate DateTime\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n deletedAt DateTime?\n estimatedTime Float? // for time estimation (in hours)\n actualTime Float? // for actual time spent\n parentId String? @db.Uuid // for subtask hierarchy\n order Int @default(0) // for custom ordering\n labels String[] // for task categorization\n lastModifiedBy String? @db.Uuid // for audit\n\n // Relations\n project Project @relation(fields: [projectId], references: [id], onDelete: Cascade)\n sprint Sprint? @relation(fields: [sprintId], references: [id])\n creator User @relation(\"TaskCreator\", fields: [createdBy], references: [id])\n assignee User? @relation(\"TaskAssignee\", fields: [assignedTo], references: [id])\n modifier User? @relation(\"TaskModifier\", fields: [lastModifiedBy], references: [id])\n attachments TaskAttachment[]\n comments Comment[]\n timelogs Timelog[]\n dependencies TaskDependency[] @relation(\"DependentTask\")\n dependentOn TaskDependency[] @relation(\"MainTask\")\n parent Task? @relation(\"TaskHierarchy\", fields: [parentId], references: [id]) // Added for subtask hierarchy\n subtasks Task[] @relation(\"TaskHierarchy\") // for subtask hierarchy\n activityLogs ActivityLog[] // relation to activity logs\n\n @@index([projectId])\n @@index([sprintId])\n @@index([createdBy])\n @@index([assignedTo])\n @@index([status])\n @@index([priority])\n @@index([parentId]) // for querying subtasks efficiently\n @@map(\"tasks\")\n}\n\nmodel TaskAttachment {\n id String @id @default(uuid()) @db.Uuid\n taskId String @db.Uuid\n fileName String @db.VarChar(255)\n fileType String @db.VarChar(50)\n filePath String\n fileSize Int\n uploadedBy String @db.Uuid\n createdAt DateTime @default(now())\n storageProvider String? @db.VarChar(50) // for storage provider (e.g., \"s3\", \"azure\")\n storageKey String // for cloud storage reference\n\n // Relations\n task Task @relation(fields: [taskId], references: [id], onDelete: Cascade)\n uploader User @relation(fields: [uploadedBy], references: [id])\n\n @@index([taskId])\n @@index([uploadedBy])\n @@index([fileType]) // for filtering by file type\n @@map(\"task_attachments\")\n}\n\nmodel TaskDependency {\n id String @id @default(uuid()) @db.Uuid\n taskId String @db.Uuid\n dependentTaskId String @db.Uuid\n dependencyType DependencyType\n description String? @db.Text // for dependency description\n\n // Relations\n task Task @relation(\"MainTask\", fields: [taskId], references: [id], onDelete: Cascade)\n dependentTask Task @relation(\"DependentTask\", fields: [dependentTaskId], references: [id], onDelete: Cascade)\n\n @@unique([taskId, dependentTaskId]) // to prevent duplicate dependencies\n @@index([taskId])\n @@index([dependentTaskId])\n @@map(\"task_dependencies\")\n}\n\nmodel TaskTemplate {\n id String @id @default(uuid()) @db.Uuid\n name String @db.VarChar(100)\n description String? @db.Text\n priority TaskPriority\n estimatedTime Float?\n organizationId String @db.Uuid\n createdBy String @db.Uuid\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n checklist Json? // predefined checklist items\n labels String[] // task categorization\n isPublic Boolean @default(false)\n\n // Relations\n organization Organization @relation(fields: [organizationId], references: [id])\n\n @@unique([organizationId, name]) // Prevent duplicate templates within organization\n @@index([organizationId])\n @@map(\"task_templates\")\n}\n\nmodel Timelog {\n id String @id @default(uuid()) @db.Uuid\n taskId String @db.Uuid\n userId String @db.Uuid\n startTime DateTime\n endTime DateTime\n description String? @db.Text\n\n // Relations\n task Task @relation(fields: [taskId], references: [id], onDelete: Cascade)\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n\n @@index([taskId])\n @@index([userId])\n @@index([startTime, endTime]) // for time-range queries\n @@map(\"timelogs\")\n}\n\nmodel Comment {\n id String @id @default(uuid()) @db.Uuid\n taskId String @db.Uuid\n userId String @db.Uuid\n content String @db.Text\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n\n // Relations\n task Task @relation(fields: [taskId], references: [id], onDelete: Cascade)\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n\n @@index([taskId])\n @@index([userId])\n @@index([createdAt]) // for pagination and sorting\n @@map(\"comments\")\n}\n\nmodel ActivityLog {\n id String @id @default(uuid()) @db.Uuid\n entityType EntityType\n action ActionType\n userId String @db.Uuid\n organizationId String? @db.Uuid\n departmentId String? @db.Uuid\n projectId String? @db.Uuid\n teamId String? @db.Uuid\n sprintId String? @db.Uuid\n taskId String @db.Uuid\n details Json?\n createdAt DateTime @default(now())\n\n // Relations\n user User @relation(fields: [userId], references: [id], map: \"activitylog_user_fkey\")\n organization Organization? @relation(fields: [organizationId], references: [id], map: \"activitylog_org_fkey\")\n department Department? @relation(\"DepartmentActivityLogs\", fields: [departmentId], references: [id], map: \"activitylog_dept_fkey\")\n project Project? @relation(fields: [projectId], references: [id], map: \"activitylog_project_fkey\")\n team Team? @relation(fields: [teamId], references: [id], map: \"activitylog_team_fkey\")\n sprint Sprint? @relation(\"SprintActivityLogs\", fields: [sprintId], references: [id], map: \"activitylog_sprint_fkey\")\n task Task? @relation(fields: [taskId], references: [id], map: \"activitylog_task_fkey\")\n\n @@index([userId])\n @@index([organizationId])\n @@index([departmentId])\n @@index([projectId])\n @@index([teamId])\n @@index([sprintId])\n @@index([taskId])\n @@index([createdAt])\n @@map(\"activity_logs\")\n}\n\nmodel Notification {\n id String @id @default(uuid()) @db.Uuid\n userId String @db.Uuid\n content String @db.Text\n isRead Boolean @default(false)\n type String @db.VarChar(50)\n metadata Json?\n createdAt DateTime @default(now())\n deletedAt DateTime?\n entityType String? @db.VarChar(50) // for reference to specific entity\n entityId String? @db.Uuid // for reference to specific entity\n\n // Relations\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n\n @@index([userId])\n @@index([createdAt])\n @@index([isRead])\n @@index([entityId, entityType]) // for queries filtering by entity\n @@map(\"notifications\")\n}\n\nmodel Report {\n id String @id @default(uuid()) @db.Uuid\n name String @db.VarChar(100)\n description String? @db.Text\n reportType ReportType\n format String @db.VarChar(20) // PDF, XLSX, CSV, etc.\n parameters Json?\n filePath String\n generatedBy String @db.Uuid\n createdAt DateTime @default(now())\n status ReportStatus @default(PENDING)\n updatedAt DateTime @updatedAt\n lastAccessedAt DateTime?\n expiresAt DateTime?\n tags String? @db.Text // Comma-separated tags or use a JSON array\n\n organizationId String? @db.Uuid\n teamId String? @db.Uuid\n projectId String? @db.Uuid\n departmentId String? @db.Uuid\n userId String? @db.Uuid\n scheduleId String? @db.Uuid\n\n // Storage information\n storageProvider String? @db.VarChar(50) // e.g., \"s3\", \"azure\", \"local\"\n storageKey String // Cloud storage reference\n\n // Relations\n generator User @relation(fields: [generatedBy], references: [id])\n organization Organization? @relation(fields: [organizationId], references: [id])\n team Team? @relation(fields: [teamId], references: [id])\n project Project? @relation(fields: [projectId], references: [id])\n department Department? @relation(fields: [departmentId], references: [id])\n user User? @relation(\"UserReports\", fields: [userId], references: [id])\n reportSchedule ReportSchedule? @relation(fields: [scheduleId], references: [id])\n notifiedUsers ReportNotification[]\n\n @@index([generatedBy])\n @@index([organizationId])\n @@index([teamId])\n @@index([projectId])\n @@index([createdAt])\n @@index([status])\n @@map(\"reports\")\n}\n\nmodel ReportSchedule {\n id String @id @default(uuid()) @db.Uuid\n name String @db.VarChar(100)\n cronExpression String @db.VarChar(100)\n isActive Boolean @default(true)\n createdAt DateTime @default(now())\n createdBy String @db.Uuid\n\n reports Report[]\n\n @@map(\"report_schedules\")\n}\n\nmodel ReportNotification {\n id String @id @default(uuid()) @db.Uuid\n reportId String @db.Uuid\n userId String @db.Uuid\n notified Boolean @default(false)\n\n report Report @relation(fields: [reportId], references: [id])\n user User @relation(fields: [userId], references: [id])\n\n @@unique([reportId, userId])\n @@map(\"report_notifications\")\n}\n\nmodel Permission {\n id String @id @default(uuid()) @db.Uuid\n userId String @db.Uuid\n entityType String // \"project\", \"team\", etc.\n entityId String @db.Uuid\n permissions Json // detailed permission structure\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n\n // Relations\n user User @relation(fields: [userId], references: [id])\n\n @@unique([userId, entityType, entityId])\n @@index([entityId, entityType])\n @@map(\"permissions\")\n}\n\n// models for chat and video conference functionality\nmodel ChatRoom {\n id String @id @default(uuid()) @db.Uuid\n name String @db.VarChar(100)\n description String? @db.Text\n type ChatRoomType\n entityType EntityType // Which entity this chat belongs to (ORG, DEPT, TEAM, etc.)\n entityId String @db.Uuid // ID of the associated entity\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n isActive Boolean @default(true)\n isArchived Boolean @default(false)\n archivedAt DateTime?\n avatarUrl String?\n lastMessageAt DateTime?\n\n // Relations\n messages ChatMessage[]\n participants ChatParticipant[]\n pinnedMessages PinnedMessage[]\n videoSessions VideoConferenceSession[]\n\n @@unique([entityType, entityId]) // Each entity can have only one chat room\n @@index([entityType, entityId])\n @@index([isActive])\n @@index([lastMessageAt]) // For sorting chats by latest activity\n @@map(\"chat_rooms\")\n}\n\nmodel ChatParticipant {\n id String @id @default(uuid()) @db.Uuid\n chatRoomId String @db.Uuid\n userId String @db.Uuid\n joinedAt DateTime @default(now())\n lastReadMessageId String? @db.Uuid\n lastReadAt DateTime?\n isAdmin Boolean @default(false)\n notificationsOn Boolean @default(true)\n status ParticipantStatus @default(ACTIVE)\n\n // Relations\n chatRoom ChatRoom @relation(fields: [chatRoomId], references: [id], onDelete: Cascade)\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n lastReadMessage ChatMessage? @relation(\"LastReadMessage\", fields: [lastReadMessageId], references: [id])\n\n @@unique([chatRoomId, userId]) // A user can only be one participant in a chat room\n @@index([chatRoomId])\n @@index([userId])\n @@index([lastReadAt])\n @@map(\"chat_participants\")\n}\n\nmodel ChatMessage {\n id String @id @default(uuid()) @db.Uuid\n chatRoomId String @db.Uuid\n senderId String @db.Uuid\n content String @db.Text\n contentType MessageContentType @default(TEXT)\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n isEdited Boolean @default(false)\n isDeleted Boolean @default(false)\n deletedAt DateTime?\n replyToId String? @db.Uuid\n metadata Json? // For storing additional message data\n\n // Relations\n chatRoom ChatRoom @relation(fields: [chatRoomId], references: [id], onDelete: Cascade)\n sender User @relation(fields: [senderId], references: [id])\n replyTo ChatMessage? @relation(\"MessageReplies\", fields: [replyToId], references: [id])\n replies ChatMessage[] @relation(\"MessageReplies\")\n attachments MessageAttachment[]\n reactions MessageReaction[]\n readBy ChatParticipant[] @relation(\"LastReadMessage\")\n pinnedIn PinnedMessage[]\n\n @@index([chatRoomId])\n @@index([senderId])\n @@index([createdAt])\n @@index([replyToId])\n @@map(\"chat_messages\")\n}\n\nmodel MessageAttachment {\n id String @id @default(uuid()) @db.Uuid\n messageId String @db.Uuid\n fileName String @db.VarChar(255)\n fileType String @db.VarChar(50)\n filePath String\n fileSize Int\n thumbnailPath String?\n storageProvider String? @db.VarChar(50)\n storageKey String\n createdAt DateTime @default(now())\n\n // Relations\n message ChatMessage @relation(fields: [messageId], references: [id], onDelete: Cascade)\n\n @@index([messageId])\n @@index([fileType])\n @@map(\"message_attachments\")\n}\n\nmodel MessageReaction {\n id String @id @default(uuid()) @db.Uuid\n messageId String @db.Uuid\n userId String @db.Uuid\n reaction String @db.VarChar(50) // Emoji code or reaction type\n createdAt DateTime @default(now())\n\n // Relations\n message ChatMessage @relation(fields: [messageId], references: [id], onDelete: Cascade)\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n\n @@unique([messageId, userId, reaction]) // A user can only react once with a specific reaction\n @@index([messageId])\n @@index([userId])\n @@map(\"message_reactions\")\n}\n\nmodel PinnedMessage {\n id String @id @default(uuid()) @db.Uuid\n chatRoomId String @db.Uuid\n messageId String @db.Uuid\n pinnedBy String @db.Uuid\n pinnedAt DateTime @default(now())\n\n // Relations\n chatRoom ChatRoom @relation(fields: [chatRoomId], references: [id], onDelete: Cascade)\n message ChatMessage @relation(fields: [messageId], references: [id], onDelete: Cascade)\n user User @relation(fields: [pinnedBy], references: [id])\n\n @@unique([chatRoomId, messageId]) // A message can only be pinned once in a chat\n @@index([chatRoomId])\n @@index([messageId])\n @@map(\"pinned_messages\")\n}\n\nmodel VideoConferenceSession {\n id String @id @default(uuid()) @db.Uuid\n chatRoomId String @db.Uuid\n title String @db.VarChar(100)\n description String? @db.Text\n startTime DateTime @default(now())\n endTime DateTime?\n status SessionStatus @default(ACTIVE)\n hostId String @db.Uuid\n meetingUrl String @unique\n recordingUrl String?\n settings Json? // For video conference settings\n\n // Relations\n chatRoom ChatRoom @relation(fields: [chatRoomId], references: [id], onDelete: Cascade)\n host User @relation(\"SessionHost\", fields: [hostId], references: [id])\n participants VideoParticipant[]\n recordings VideoRecording[]\n\n @@index([chatRoomId])\n @@index([hostId])\n @@index([startTime])\n @@index([status])\n @@map(\"video_conference_sessions\")\n}\n\nmodel VideoParticipant {\n id String @id @default(uuid()) @db.Uuid\n sessionId String @db.Uuid\n userId String @db.Uuid\n joinedAt DateTime @default(now())\n leftAt DateTime?\n role VideoParticipantRole @default(ATTENDEE)\n deviceInfo Json? // For storing device/browser info\n connectionQuality String? @db.VarChar(20)\n hasVideo Boolean @default(true)\n hasAudio Boolean @default(true)\n\n // Relations\n session VideoConferenceSession @relation(fields: [sessionId], references: [id], onDelete: Cascade)\n user User @relation(fields: [userId], references: [id])\n\n @@unique([sessionId, userId]) // A user can only join a session once\n @@index([sessionId])\n @@index([userId])\n @@map(\"video_participants\")\n}\n\nmodel VideoRecording {\n id String @id @default(uuid()) @db.Uuid\n sessionId String @db.Uuid\n fileName String @db.VarChar(255)\n fileSize Int\n duration Int // in seconds\n recordedBy String @db.Uuid\n startTime DateTime\n endTime DateTime\n storageProvider String @db.VarChar(50)\n storageKey String\n processingStatus ProcessingStatus @default(PROCESSING)\n visibility RecordingVisibility @default(PARTICIPANTS_ONLY)\n createdAt DateTime @default(now())\n\n // Relations\n session VideoConferenceSession @relation(fields: [sessionId], references: [id], onDelete: Cascade)\n recorder User @relation(fields: [recordedBy], references: [id])\n\n @@index([sessionId])\n @@index([recordedBy])\n @@index([processingStatus])\n @@map(\"video_recordings\")\n}\n\nenum ReportType {\n ORGANIZATION_SUMMARY\n ORGANIZATION_ACTIVITY\n DEPARTMENT_PERFORMANCE\n TEAM_PRODUCTIVITY\n PROJECT_STATUS\n PROJECT_TIMELINE\n TASK_COMPLETION\n USER_PERFORMANCE\n USER_ACTIVITY\n SPRINT_BURNDOWN\n CUSTOM\n}\n\nenum ReportStatus {\n PENDING\n GENERATING\n COMPLETED\n FAILED\n EXPIRED\n}\n\nenum EntityType {\n ORGANIZATION\n DEPARTMENT\n TEAM\n PROJECT\n SPRINT\n TASK\n USER\n TASK_ATTACHMENT\n TASK_DEPENDENCY\n TASK_TEMPLATE\n COMMENT\n}\n\nenum ActionType {\n CREATED\n UPDATED\n DELETED\n RESTORED\n COMMENTED\n STATUS_CHANGED\n ASSIGNED\n UNASSIGNED\n ATTACHMENT_ADDED\n ATTACHMENT_REMOVED\n DEPENDENCY_ADDED\n DEPENDENCY_REMOVED\n MEMBER_ADDED\n MEMBER_REMOVED\n MEMBER_ROLE_CHANGED\n SPRINT_STARTED\n SPRINT_COMPLETED\n TASK_MOVED\n LOGGED_TIME\n VERIFIED\n LOGO_UPDATED\n SETTINGS_CHANGED\n SUBSCRIPTION_CHANGED\n TEAM_CREATED\n TEAM_DELETED\n DEPARTMENT_CREATED\n DEPARTMENT_DELETED\n OWNER_ADDED\n OWNER_REMOVED\n}\n\nenum TaskPriority {\n LOW\n MEDIUM\n HIGH\n}\n\nenum TaskStatus {\n TODO\n IN_PROGRESS\n REVIEW\n DONE\n}\n\nenum DependencyType {\n BLOCKS\n REQUIRES\n RELATES_TO\n DUPLICATES\n}\n\nenum TeamMemberRole {\n MEMBER\n LEADER\n VIEWER\n}\n\nenum UserRole {\n OWNER\n MANAGER\n ADMIN\n MEMBER\n GUEST\n}\n\n// enums for chat and video functionality\nenum ChatRoomType {\n ORGANIZATION\n DEPARTMENT\n TEAM\n PROJECT\n TASK\n DIRECT\n GROUP\n}\n\nenum ParticipantStatus {\n ACTIVE\n MUTED\n BLOCKED\n LEFT\n}\n\nenum MessageContentType {\n TEXT\n IMAGE\n FILE\n AUDIO\n VIDEO\n CODE\n LINK\n SYSTEM\n}\n\nenum SessionStatus {\n SCHEDULED\n ACTIVE\n ENDED\n CANCELLED\n}\n\nenum VideoParticipantRole {\n HOST\n COHOST\n PRESENTER\n ATTENDEE\n}\n\nenum ProcessingStatus {\n PROCESSING\n READY\n FAILED\n}\n\nenum RecordingVisibility {\n PRIVATE\n PARTICIPANTS_ONLY\n ORGANIZATION\n PUBLIC\n}\n", + "inlineSchemaHash": "55ebae706d7b3c830649a81950faeaac935cb4ac37117d5e935aa9299d50ebe0", "copyEngine": true } config.dirname = '/' -config.runtimeDataModel = JSON.parse("{\"models\":{\"User\":{\"dbName\":\"users\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"email\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":true,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"255\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"username\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":true,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"50\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"password\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"255\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"firebaseUid\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":true,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"firstName\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"100\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"lastName\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"100\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"role\",\"kind\":\"enum\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"UserRole\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"profilePic\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"departmentId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"organizationId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"isOwner\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"Boolean\",\"nativeType\":null,\"default\":false,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":true},{\"name\":\"isActive\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"Boolean\",\"nativeType\":null,\"default\":true,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"deletedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"phoneNumber\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"255\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"jobTitle\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"100\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"timezone\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"50\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"bio\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Text\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"preferences\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Json\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"emailVerificationToken\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"emailVerificationExpires\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"passwordResetToken\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"passwordResetExpires\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"refreshToken\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"lastLogin\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"lastLogout\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"department\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Department\",\"nativeType\":null,\"relationName\":\"DepartmentToUser\",\"relationFromFields\":[\"departmentId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"organization\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Organization\",\"nativeType\":null,\"relationName\":\"OrganizationEmployees\",\"relationFromFields\":[\"organizationId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdOrganizations\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Organization\",\"nativeType\":null,\"relationName\":\"OrganizationCreator\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"ownedOrganizations\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"OrganizationOwner\",\"nativeType\":null,\"relationName\":\"OrganizationOwnerToUser\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"managedDepartments\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Department\",\"nativeType\":null,\"relationName\":\"DepartmentManager\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdTeams\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Team\",\"nativeType\":null,\"relationName\":\"TeamCreator\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"teamMemberships\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"TeamMember\",\"nativeType\":null,\"relationName\":\"TeamMemberToUser\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"projectMemberships\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ProjectMember\",\"nativeType\":null,\"relationName\":\"ProjectMemberToUser\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdProjects\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Project\",\"nativeType\":null,\"relationName\":\"ProjectCreator\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"modifiedProjects\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Project\",\"nativeType\":null,\"relationName\":\"ProjectModifier\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdTasks\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Task\",\"nativeType\":null,\"relationName\":\"TaskCreator\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"assignedTasks\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Task\",\"nativeType\":null,\"relationName\":\"TaskAssignee\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"modifiedTasks\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Task\",\"nativeType\":null,\"relationName\":\"TaskModifier\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"notifications\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Notification\",\"nativeType\":null,\"relationName\":\"NotificationToUser\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"timelogs\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Timelog\",\"nativeType\":null,\"relationName\":\"TimelogToUser\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"comments\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Comment\",\"nativeType\":null,\"relationName\":\"CommentToUser\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"taskAttachments\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"TaskAttachment\",\"nativeType\":null,\"relationName\":\"TaskAttachmentToUser\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"generatedReports\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Report\",\"nativeType\":null,\"relationName\":\"ReportToUser\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"userReports\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Report\",\"nativeType\":null,\"relationName\":\"UserReports\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"permissions\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Permission\",\"nativeType\":null,\"relationName\":\"PermissionToUser\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"activityLogs\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ActivityLog\",\"nativeType\":null,\"relationName\":\"ActivityLogToUser\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"ReportNotification\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ReportNotification\",\"nativeType\":null,\"relationName\":\"ReportNotificationToUser\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},\"Organization\":{\"dbName\":\"organizations\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"name\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":true,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"100\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"description\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Text\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"industry\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"50\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"sizeRange\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"50\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"website\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"255\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"logoUrl\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"isVerified\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"Boolean\",\"nativeType\":null,\"default\":false,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"status\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"20\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":true},{\"name\":\"deletedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdBy\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"address\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Text\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"contactEmail\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"255\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"contactPhone\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"50\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"emailVerificationOTP\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"emailVerificationExpires\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"creator\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"OrganizationCreator\",\"relationFromFields\":[\"createdBy\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"departments\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Department\",\"nativeType\":null,\"relationName\":\"DepartmentToOrganization\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"teams\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Team\",\"nativeType\":null,\"relationName\":\"OrganizationToTeam\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"projects\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Project\",\"nativeType\":null,\"relationName\":\"OrganizationToProject\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"users\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"OrganizationEmployees\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"reports\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Report\",\"nativeType\":null,\"relationName\":\"OrganizationToReport\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"owners\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"OrganizationOwner\",\"nativeType\":null,\"relationName\":\"OrganizationToOrganizationOwner\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"templates\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"TaskTemplate\",\"nativeType\":null,\"relationName\":\"OrganizationToTaskTemplate\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"activityLogs\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ActivityLog\",\"nativeType\":null,\"relationName\":\"ActivityLogToOrganization\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[[\"name\"]],\"uniqueIndexes\":[{\"name\":null,\"fields\":[\"name\"]}],\"isGenerated\":false},\"OrganizationOwner\":{\"dbName\":\"organization_owners\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"organizationId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"userId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":true},{\"name\":\"organization\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Organization\",\"nativeType\":null,\"relationName\":\"OrganizationToOrganizationOwner\",\"relationFromFields\":[\"organizationId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"user\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"OrganizationOwnerToUser\",\"relationFromFields\":[\"userId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[[\"organizationId\",\"userId\"]],\"uniqueIndexes\":[{\"name\":null,\"fields\":[\"organizationId\",\"userId\"]}],\"isGenerated\":false},\"Department\":{\"dbName\":\"departments\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"name\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"100\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"description\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Text\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"organizationId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"managerId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":true},{\"name\":\"deletedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"organization\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Organization\",\"nativeType\":null,\"relationName\":\"DepartmentToOrganization\",\"relationFromFields\":[\"organizationId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"manager\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"DepartmentManager\",\"relationFromFields\":[\"managerId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"teams\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Team\",\"nativeType\":null,\"relationName\":\"DepartmentToTeam\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"users\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"DepartmentToUser\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"activityLogs\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ActivityLog\",\"nativeType\":null,\"relationName\":\"DepartmentActivityLogs\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"Report\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Report\",\"nativeType\":null,\"relationName\":\"DepartmentToReport\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[[\"organizationId\",\"name\"]],\"uniqueIndexes\":[{\"name\":null,\"fields\":[\"organizationId\",\"name\"]}],\"isGenerated\":false},\"Team\":{\"dbName\":\"teams\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"name\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"100\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"description\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Text\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdBy\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"organizationId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"departmentId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":true},{\"name\":\"deletedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"avatar\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"creator\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"TeamCreator\",\"relationFromFields\":[\"createdBy\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"organization\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Organization\",\"nativeType\":null,\"relationName\":\"OrganizationToTeam\",\"relationFromFields\":[\"organizationId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"department\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Department\",\"nativeType\":null,\"relationName\":\"DepartmentToTeam\",\"relationFromFields\":[\"departmentId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"members\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"TeamMember\",\"nativeType\":null,\"relationName\":\"TeamToTeamMember\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"projects\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Project\",\"nativeType\":null,\"relationName\":\"ProjectToTeam\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"reports\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Report\",\"nativeType\":null,\"relationName\":\"ReportToTeam\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"activityLogs\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ActivityLog\",\"nativeType\":null,\"relationName\":\"ActivityLogToTeam\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[[\"organizationId\",\"name\"]],\"uniqueIndexes\":[{\"name\":null,\"fields\":[\"organizationId\",\"name\"]}],\"isGenerated\":false},\"TeamMember\":{\"dbName\":\"team_members\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"teamId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"userId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"role\",\"kind\":\"enum\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"TeamMemberRole\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"joinedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"isActive\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"Boolean\",\"nativeType\":null,\"default\":true,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"deletedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"team\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Team\",\"nativeType\":null,\"relationName\":\"TeamToTeamMember\",\"relationFromFields\":[\"teamId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"user\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"TeamMemberToUser\",\"relationFromFields\":[\"userId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[[\"teamId\",\"userId\"]],\"uniqueIndexes\":[{\"name\":null,\"fields\":[\"teamId\",\"userId\"]}],\"isGenerated\":false},\"Project\":{\"dbName\":\"projects\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"name\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"100\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"description\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Text\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"status\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"20\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdBy\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"organizationId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"teamId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"startDate\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"endDate\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":true},{\"name\":\"deletedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"priority\",\"kind\":\"enum\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"TaskPriority\",\"nativeType\":null,\"default\":\"MEDIUM\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"progress\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"Float\",\"nativeType\":null,\"default\":0,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"budget\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Float\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"lastModifiedBy\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"creator\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"ProjectCreator\",\"relationFromFields\":[\"createdBy\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"modifier\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"ProjectModifier\",\"relationFromFields\":[\"lastModifiedBy\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"organization\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Organization\",\"nativeType\":null,\"relationName\":\"OrganizationToProject\",\"relationFromFields\":[\"organizationId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"team\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Team\",\"nativeType\":null,\"relationName\":\"ProjectToTeam\",\"relationFromFields\":[\"teamId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"sprints\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Sprint\",\"nativeType\":null,\"relationName\":\"ProjectToSprint\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"tasks\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Task\",\"nativeType\":null,\"relationName\":\"ProjectToTask\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"reports\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Report\",\"nativeType\":null,\"relationName\":\"ProjectToReport\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"activityLogs\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ActivityLog\",\"nativeType\":null,\"relationName\":\"ActivityLogToProject\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"ProjectMember\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ProjectMember\",\"nativeType\":null,\"relationName\":\"ProjectToProjectMember\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[[\"organizationId\",\"name\"]],\"uniqueIndexes\":[{\"name\":null,\"fields\":[\"organizationId\",\"name\"]}],\"isGenerated\":false},\"ProjectMember\":{\"dbName\":\"project_members\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"projectId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"userId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"role\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"50\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"isActive\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"Boolean\",\"nativeType\":null,\"default\":true,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"joinedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"leftAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"deletedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"project\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Project\",\"nativeType\":null,\"relationName\":\"ProjectToProjectMember\",\"relationFromFields\":[\"projectId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"user\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"ProjectMemberToUser\",\"relationFromFields\":[\"userId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[[\"projectId\",\"userId\"]],\"uniqueIndexes\":[{\"name\":null,\"fields\":[\"projectId\",\"userId\"]}],\"isGenerated\":false},\"Sprint\":{\"dbName\":\"sprints\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"projectId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"name\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"100\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"description\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Text\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"startDate\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"endDate\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"status\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"20\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"goal\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Text\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"order\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"Int\",\"nativeType\":null,\"default\":0,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"project\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Project\",\"nativeType\":null,\"relationName\":\"ProjectToSprint\",\"relationFromFields\":[\"projectId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"tasks\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Task\",\"nativeType\":null,\"relationName\":\"SprintToTask\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"activityLogs\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ActivityLog\",\"nativeType\":null,\"relationName\":\"SprintActivityLogs\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[[\"projectId\",\"name\"]],\"uniqueIndexes\":[{\"name\":null,\"fields\":[\"projectId\",\"name\"]}],\"isGenerated\":false},\"Task\":{\"dbName\":\"tasks\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"title\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"200\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"description\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Text\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"priority\",\"kind\":\"enum\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"TaskPriority\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"status\",\"kind\":\"enum\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"TaskStatus\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"rate\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Float\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"projectId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"sprintId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdBy\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"assignedTo\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"dueDate\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":true},{\"name\":\"deletedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"estimatedTime\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Float\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"actualTime\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Float\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"parentId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"order\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"Int\",\"nativeType\":null,\"default\":0,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"labels\",\"kind\":\"scalar\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"lastModifiedBy\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"project\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Project\",\"nativeType\":null,\"relationName\":\"ProjectToTask\",\"relationFromFields\":[\"projectId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"sprint\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Sprint\",\"nativeType\":null,\"relationName\":\"SprintToTask\",\"relationFromFields\":[\"sprintId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"creator\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"TaskCreator\",\"relationFromFields\":[\"createdBy\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"assignee\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"TaskAssignee\",\"relationFromFields\":[\"assignedTo\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"modifier\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"TaskModifier\",\"relationFromFields\":[\"lastModifiedBy\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"attachments\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"TaskAttachment\",\"nativeType\":null,\"relationName\":\"TaskToTaskAttachment\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"comments\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Comment\",\"nativeType\":null,\"relationName\":\"CommentToTask\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"timelogs\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Timelog\",\"nativeType\":null,\"relationName\":\"TaskToTimelog\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"dependencies\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"TaskDependency\",\"nativeType\":null,\"relationName\":\"DependentTask\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"dependentOn\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"TaskDependency\",\"nativeType\":null,\"relationName\":\"MainTask\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"parent\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Task\",\"nativeType\":null,\"relationName\":\"TaskHierarchy\",\"relationFromFields\":[\"parentId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"subtasks\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Task\",\"nativeType\":null,\"relationName\":\"TaskHierarchy\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"activityLogs\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ActivityLog\",\"nativeType\":null,\"relationName\":\"ActivityLogToTask\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},\"TaskAttachment\":{\"dbName\":\"task_attachments\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"taskId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"fileName\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"255\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"fileType\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"50\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"filePath\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"fileSize\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Int\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"uploadedBy\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"storageProvider\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"50\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"storageKey\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"task\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Task\",\"nativeType\":null,\"relationName\":\"TaskToTaskAttachment\",\"relationFromFields\":[\"taskId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"uploader\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"TaskAttachmentToUser\",\"relationFromFields\":[\"uploadedBy\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},\"TaskDependency\":{\"dbName\":\"task_dependencies\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"taskId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"dependentTaskId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"dependencyType\",\"kind\":\"enum\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DependencyType\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"description\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Text\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"task\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Task\",\"nativeType\":null,\"relationName\":\"MainTask\",\"relationFromFields\":[\"taskId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"dependentTask\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Task\",\"nativeType\":null,\"relationName\":\"DependentTask\",\"relationFromFields\":[\"dependentTaskId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[[\"taskId\",\"dependentTaskId\"]],\"uniqueIndexes\":[{\"name\":null,\"fields\":[\"taskId\",\"dependentTaskId\"]}],\"isGenerated\":false},\"TaskTemplate\":{\"dbName\":\"task_templates\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"name\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"100\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"description\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Text\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"priority\",\"kind\":\"enum\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"TaskPriority\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"estimatedTime\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Float\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"organizationId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdBy\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":true},{\"name\":\"checklist\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Json\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"labels\",\"kind\":\"scalar\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"isPublic\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"Boolean\",\"nativeType\":null,\"default\":false,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"organization\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Organization\",\"nativeType\":null,\"relationName\":\"OrganizationToTaskTemplate\",\"relationFromFields\":[\"organizationId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[[\"organizationId\",\"name\"]],\"uniqueIndexes\":[{\"name\":null,\"fields\":[\"organizationId\",\"name\"]}],\"isGenerated\":false},\"Timelog\":{\"dbName\":\"timelogs\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"taskId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"userId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"startTime\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"endTime\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"description\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Text\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"task\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Task\",\"nativeType\":null,\"relationName\":\"TaskToTimelog\",\"relationFromFields\":[\"taskId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"user\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"TimelogToUser\",\"relationFromFields\":[\"userId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},\"Comment\":{\"dbName\":\"comments\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"taskId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"userId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"content\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Text\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":true},{\"name\":\"task\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Task\",\"nativeType\":null,\"relationName\":\"CommentToTask\",\"relationFromFields\":[\"taskId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"user\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"CommentToUser\",\"relationFromFields\":[\"userId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},\"ActivityLog\":{\"dbName\":\"activity_logs\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"entityType\",\"kind\":\"enum\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"EntityType\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"action\",\"kind\":\"enum\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ActionType\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"userId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"organizationId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"departmentId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"projectId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"teamId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"sprintId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"taskId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"details\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Json\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"user\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"ActivityLogToUser\",\"relationFromFields\":[\"userId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"organization\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Organization\",\"nativeType\":null,\"relationName\":\"ActivityLogToOrganization\",\"relationFromFields\":[\"organizationId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"department\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Department\",\"nativeType\":null,\"relationName\":\"DepartmentActivityLogs\",\"relationFromFields\":[\"departmentId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"project\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Project\",\"nativeType\":null,\"relationName\":\"ActivityLogToProject\",\"relationFromFields\":[\"projectId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"team\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Team\",\"nativeType\":null,\"relationName\":\"ActivityLogToTeam\",\"relationFromFields\":[\"teamId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"sprint\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Sprint\",\"nativeType\":null,\"relationName\":\"SprintActivityLogs\",\"relationFromFields\":[\"sprintId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"task\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Task\",\"nativeType\":null,\"relationName\":\"ActivityLogToTask\",\"relationFromFields\":[\"taskId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},\"Notification\":{\"dbName\":\"notifications\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"userId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"content\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Text\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"isRead\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"Boolean\",\"nativeType\":null,\"default\":false,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"type\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"50\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"metadata\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Json\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"deletedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"entityType\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"50\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"entityId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"user\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"NotificationToUser\",\"relationFromFields\":[\"userId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},\"Report\":{\"dbName\":\"reports\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"name\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"100\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"description\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Text\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"reportType\",\"kind\":\"enum\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ReportType\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"format\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"20\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"parameters\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Json\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"filePath\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"generatedBy\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"status\",\"kind\":\"enum\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"ReportStatus\",\"nativeType\":null,\"default\":\"PENDING\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":true},{\"name\":\"lastAccessedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"expiresAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"tags\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Text\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"organizationId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"teamId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"projectId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"departmentId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"userId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"scheduleId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"storageProvider\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"50\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"storageKey\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"generator\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"ReportToUser\",\"relationFromFields\":[\"generatedBy\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"organization\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Organization\",\"nativeType\":null,\"relationName\":\"OrganizationToReport\",\"relationFromFields\":[\"organizationId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"team\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Team\",\"nativeType\":null,\"relationName\":\"ReportToTeam\",\"relationFromFields\":[\"teamId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"project\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Project\",\"nativeType\":null,\"relationName\":\"ProjectToReport\",\"relationFromFields\":[\"projectId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"department\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Department\",\"nativeType\":null,\"relationName\":\"DepartmentToReport\",\"relationFromFields\":[\"departmentId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"user\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"UserReports\",\"relationFromFields\":[\"userId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"reportSchedule\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ReportSchedule\",\"nativeType\":null,\"relationName\":\"ReportToReportSchedule\",\"relationFromFields\":[\"scheduleId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"notifiedUsers\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ReportNotification\",\"nativeType\":null,\"relationName\":\"ReportToReportNotification\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},\"ReportSchedule\":{\"dbName\":\"report_schedules\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"name\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"100\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"cronExpression\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"100\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"isActive\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"Boolean\",\"nativeType\":null,\"default\":true,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdBy\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"reports\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Report\",\"nativeType\":null,\"relationName\":\"ReportToReportSchedule\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},\"ReportNotification\":{\"dbName\":\"report_notifications\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"reportId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"userId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"notified\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"Boolean\",\"nativeType\":null,\"default\":false,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"report\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Report\",\"nativeType\":null,\"relationName\":\"ReportToReportNotification\",\"relationFromFields\":[\"reportId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"user\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"ReportNotificationToUser\",\"relationFromFields\":[\"userId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[[\"reportId\",\"userId\"]],\"uniqueIndexes\":[{\"name\":null,\"fields\":[\"reportId\",\"userId\"]}],\"isGenerated\":false},\"Permission\":{\"dbName\":\"permissions\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"userId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"entityType\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"entityId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"permissions\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Json\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":true},{\"name\":\"user\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"PermissionToUser\",\"relationFromFields\":[\"userId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[[\"userId\",\"entityType\",\"entityId\"]],\"uniqueIndexes\":[{\"name\":null,\"fields\":[\"userId\",\"entityType\",\"entityId\"]}],\"isGenerated\":false}},\"enums\":{\"ReportType\":{\"values\":[{\"name\":\"ORGANIZATION_SUMMARY\",\"dbName\":null},{\"name\":\"ORGANIZATION_ACTIVITY\",\"dbName\":null},{\"name\":\"DEPARTMENT_PERFORMANCE\",\"dbName\":null},{\"name\":\"TEAM_PRODUCTIVITY\",\"dbName\":null},{\"name\":\"PROJECT_STATUS\",\"dbName\":null},{\"name\":\"PROJECT_TIMELINE\",\"dbName\":null},{\"name\":\"TASK_COMPLETION\",\"dbName\":null},{\"name\":\"USER_PERFORMANCE\",\"dbName\":null},{\"name\":\"USER_ACTIVITY\",\"dbName\":null},{\"name\":\"SPRINT_BURNDOWN\",\"dbName\":null},{\"name\":\"CUSTOM\",\"dbName\":null}],\"dbName\":null},\"ReportStatus\":{\"values\":[{\"name\":\"PENDING\",\"dbName\":null},{\"name\":\"GENERATING\",\"dbName\":null},{\"name\":\"COMPLETED\",\"dbName\":null},{\"name\":\"FAILED\",\"dbName\":null},{\"name\":\"EXPIRED\",\"dbName\":null}],\"dbName\":null},\"EntityType\":{\"values\":[{\"name\":\"ORGANIZATION\",\"dbName\":null},{\"name\":\"DEPARTMENT\",\"dbName\":null},{\"name\":\"TEAM\",\"dbName\":null},{\"name\":\"PROJECT\",\"dbName\":null},{\"name\":\"SPRINT\",\"dbName\":null},{\"name\":\"TASK\",\"dbName\":null},{\"name\":\"USER\",\"dbName\":null},{\"name\":\"TASK_ATTACHMENT\",\"dbName\":null},{\"name\":\"TASK_DEPENDENCY\",\"dbName\":null},{\"name\":\"TASK_TEMPLATE\",\"dbName\":null},{\"name\":\"COMMENT\",\"dbName\":null}],\"dbName\":null},\"ActionType\":{\"values\":[{\"name\":\"CREATED\",\"dbName\":null},{\"name\":\"UPDATED\",\"dbName\":null},{\"name\":\"DELETED\",\"dbName\":null},{\"name\":\"RESTORED\",\"dbName\":null},{\"name\":\"COMMENTED\",\"dbName\":null},{\"name\":\"STATUS_CHANGED\",\"dbName\":null},{\"name\":\"ASSIGNED\",\"dbName\":null},{\"name\":\"UNASSIGNED\",\"dbName\":null},{\"name\":\"ATTACHMENT_ADDED\",\"dbName\":null},{\"name\":\"ATTACHMENT_REMOVED\",\"dbName\":null},{\"name\":\"DEPENDENCY_ADDED\",\"dbName\":null},{\"name\":\"DEPENDENCY_REMOVED\",\"dbName\":null},{\"name\":\"MEMBER_ADDED\",\"dbName\":null},{\"name\":\"MEMBER_REMOVED\",\"dbName\":null},{\"name\":\"MEMBER_ROLE_CHANGED\",\"dbName\":null},{\"name\":\"SPRINT_STARTED\",\"dbName\":null},{\"name\":\"SPRINT_COMPLETED\",\"dbName\":null},{\"name\":\"TASK_MOVED\",\"dbName\":null},{\"name\":\"LOGGED_TIME\",\"dbName\":null},{\"name\":\"VERIFIED\",\"dbName\":null},{\"name\":\"LOGO_UPDATED\",\"dbName\":null},{\"name\":\"SETTINGS_CHANGED\",\"dbName\":null},{\"name\":\"SUBSCRIPTION_CHANGED\",\"dbName\":null},{\"name\":\"TEAM_CREATED\",\"dbName\":null},{\"name\":\"TEAM_DELETED\",\"dbName\":null},{\"name\":\"DEPARTMENT_CREATED\",\"dbName\":null},{\"name\":\"DEPARTMENT_DELETED\",\"dbName\":null},{\"name\":\"OWNER_ADDED\",\"dbName\":null},{\"name\":\"OWNER_REMOVED\",\"dbName\":null}],\"dbName\":null},\"TaskPriority\":{\"values\":[{\"name\":\"LOW\",\"dbName\":null},{\"name\":\"MEDIUM\",\"dbName\":null},{\"name\":\"HIGH\",\"dbName\":null}],\"dbName\":null},\"TaskStatus\":{\"values\":[{\"name\":\"TODO\",\"dbName\":null},{\"name\":\"IN_PROGRESS\",\"dbName\":null},{\"name\":\"REVIEW\",\"dbName\":null},{\"name\":\"DONE\",\"dbName\":null}],\"dbName\":null},\"DependencyType\":{\"values\":[{\"name\":\"BLOCKS\",\"dbName\":null},{\"name\":\"REQUIRES\",\"dbName\":null},{\"name\":\"RELATES_TO\",\"dbName\":null},{\"name\":\"DUPLICATES\",\"dbName\":null}],\"dbName\":null},\"TeamMemberRole\":{\"values\":[{\"name\":\"MEMBER\",\"dbName\":null},{\"name\":\"LEADER\",\"dbName\":null},{\"name\":\"VIEWER\",\"dbName\":null}],\"dbName\":null},\"UserRole\":{\"values\":[{\"name\":\"OWNER\",\"dbName\":null},{\"name\":\"MANAGER\",\"dbName\":null},{\"name\":\"ADMIN\",\"dbName\":null},{\"name\":\"MEMBER\",\"dbName\":null},{\"name\":\"GUEST\",\"dbName\":null}],\"dbName\":null}},\"types\":{}}") +config.runtimeDataModel = JSON.parse("{\"models\":{\"User\":{\"dbName\":\"users\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"email\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":true,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"255\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"username\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":true,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"50\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"password\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"255\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"firebaseUid\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":true,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"firstName\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"100\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"lastName\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"100\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"role\",\"kind\":\"enum\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"UserRole\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"profilePic\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"departmentId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"organizationId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"isOwner\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"Boolean\",\"nativeType\":null,\"default\":false,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":true},{\"name\":\"isActive\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"Boolean\",\"nativeType\":null,\"default\":true,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"deletedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"phoneNumber\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"255\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"jobTitle\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"100\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"timezone\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"50\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"bio\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Text\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"preferences\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Json\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"emailVerificationToken\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"emailVerificationExpires\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"passwordResetToken\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"passwordResetExpires\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"refreshToken\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"lastLogin\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"lastLogout\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"department\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Department\",\"nativeType\":null,\"relationName\":\"DepartmentToUser\",\"relationFromFields\":[\"departmentId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"organization\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Organization\",\"nativeType\":null,\"relationName\":\"OrganizationEmployees\",\"relationFromFields\":[\"organizationId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdOrganizations\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Organization\",\"nativeType\":null,\"relationName\":\"OrganizationCreator\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"ownedOrganizations\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"OrganizationOwner\",\"nativeType\":null,\"relationName\":\"OrganizationOwnerToUser\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"managedDepartments\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Department\",\"nativeType\":null,\"relationName\":\"DepartmentManager\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdTeams\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Team\",\"nativeType\":null,\"relationName\":\"TeamCreator\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"teamMemberships\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"TeamMember\",\"nativeType\":null,\"relationName\":\"TeamMemberToUser\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"projectMemberships\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ProjectMember\",\"nativeType\":null,\"relationName\":\"ProjectMemberToUser\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdProjects\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Project\",\"nativeType\":null,\"relationName\":\"ProjectCreator\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"modifiedProjects\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Project\",\"nativeType\":null,\"relationName\":\"ProjectModifier\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdTasks\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Task\",\"nativeType\":null,\"relationName\":\"TaskCreator\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"assignedTasks\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Task\",\"nativeType\":null,\"relationName\":\"TaskAssignee\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"modifiedTasks\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Task\",\"nativeType\":null,\"relationName\":\"TaskModifier\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"notifications\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Notification\",\"nativeType\":null,\"relationName\":\"NotificationToUser\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"timelogs\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Timelog\",\"nativeType\":null,\"relationName\":\"TimelogToUser\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"comments\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Comment\",\"nativeType\":null,\"relationName\":\"CommentToUser\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"taskAttachments\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"TaskAttachment\",\"nativeType\":null,\"relationName\":\"TaskAttachmentToUser\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"generatedReports\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Report\",\"nativeType\":null,\"relationName\":\"ReportToUser\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"userReports\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Report\",\"nativeType\":null,\"relationName\":\"UserReports\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"permissions\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Permission\",\"nativeType\":null,\"relationName\":\"PermissionToUser\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"activityLogs\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ActivityLog\",\"nativeType\":null,\"relationName\":\"ActivityLogToUser\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"ReportNotification\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ReportNotification\",\"nativeType\":null,\"relationName\":\"ReportNotificationToUser\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"chatParticipations\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ChatParticipant\",\"nativeType\":null,\"relationName\":\"ChatParticipantToUser\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"sentMessages\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ChatMessage\",\"nativeType\":null,\"relationName\":\"ChatMessageToUser\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"messageReactions\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"MessageReaction\",\"nativeType\":null,\"relationName\":\"MessageReactionToUser\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"pinnedMessages\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"PinnedMessage\",\"nativeType\":null,\"relationName\":\"PinnedMessageToUser\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"hostedSessions\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"VideoConferenceSession\",\"nativeType\":null,\"relationName\":\"SessionHost\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"videoParticipations\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"VideoParticipant\",\"nativeType\":null,\"relationName\":\"UserToVideoParticipant\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"videoRecordings\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"VideoRecording\",\"nativeType\":null,\"relationName\":\"UserToVideoRecording\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},\"Organization\":{\"dbName\":\"organizations\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"name\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":true,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"100\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"description\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Text\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"industry\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"50\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"sizeRange\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"50\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"website\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"255\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"logoUrl\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"isVerified\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"Boolean\",\"nativeType\":null,\"default\":false,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"status\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"20\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":true},{\"name\":\"deletedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdBy\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"address\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Text\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"contactEmail\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"255\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"contactPhone\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"50\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"emailVerificationOTP\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"emailVerificationExpires\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"creator\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"OrganizationCreator\",\"relationFromFields\":[\"createdBy\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"departments\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Department\",\"nativeType\":null,\"relationName\":\"DepartmentToOrganization\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"teams\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Team\",\"nativeType\":null,\"relationName\":\"OrganizationToTeam\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"projects\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Project\",\"nativeType\":null,\"relationName\":\"OrganizationToProject\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"users\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"OrganizationEmployees\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"reports\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Report\",\"nativeType\":null,\"relationName\":\"OrganizationToReport\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"owners\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"OrganizationOwner\",\"nativeType\":null,\"relationName\":\"OrganizationToOrganizationOwner\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"templates\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"TaskTemplate\",\"nativeType\":null,\"relationName\":\"OrganizationToTaskTemplate\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"activityLogs\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ActivityLog\",\"nativeType\":null,\"relationName\":\"ActivityLogToOrganization\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[[\"name\"]],\"uniqueIndexes\":[{\"name\":null,\"fields\":[\"name\"]}],\"isGenerated\":false},\"OrganizationOwner\":{\"dbName\":\"organization_owners\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"organizationId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"userId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":true},{\"name\":\"organization\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Organization\",\"nativeType\":null,\"relationName\":\"OrganizationToOrganizationOwner\",\"relationFromFields\":[\"organizationId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"user\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"OrganizationOwnerToUser\",\"relationFromFields\":[\"userId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[[\"organizationId\",\"userId\"]],\"uniqueIndexes\":[{\"name\":null,\"fields\":[\"organizationId\",\"userId\"]}],\"isGenerated\":false},\"Department\":{\"dbName\":\"departments\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"name\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"100\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"description\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Text\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"organizationId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"managerId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":true},{\"name\":\"deletedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"organization\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Organization\",\"nativeType\":null,\"relationName\":\"DepartmentToOrganization\",\"relationFromFields\":[\"organizationId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"manager\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"DepartmentManager\",\"relationFromFields\":[\"managerId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"teams\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Team\",\"nativeType\":null,\"relationName\":\"DepartmentToTeam\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"users\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"DepartmentToUser\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"activityLogs\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ActivityLog\",\"nativeType\":null,\"relationName\":\"DepartmentActivityLogs\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"Report\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Report\",\"nativeType\":null,\"relationName\":\"DepartmentToReport\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[[\"organizationId\",\"name\"]],\"uniqueIndexes\":[{\"name\":null,\"fields\":[\"organizationId\",\"name\"]}],\"isGenerated\":false},\"Team\":{\"dbName\":\"teams\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"name\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"100\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"description\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Text\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdBy\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"organizationId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"departmentId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":true},{\"name\":\"deletedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"avatar\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"creator\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"TeamCreator\",\"relationFromFields\":[\"createdBy\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"organization\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Organization\",\"nativeType\":null,\"relationName\":\"OrganizationToTeam\",\"relationFromFields\":[\"organizationId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"department\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Department\",\"nativeType\":null,\"relationName\":\"DepartmentToTeam\",\"relationFromFields\":[\"departmentId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"members\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"TeamMember\",\"nativeType\":null,\"relationName\":\"TeamToTeamMember\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"projects\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Project\",\"nativeType\":null,\"relationName\":\"ProjectToTeam\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"reports\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Report\",\"nativeType\":null,\"relationName\":\"ReportToTeam\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"activityLogs\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ActivityLog\",\"nativeType\":null,\"relationName\":\"ActivityLogToTeam\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[[\"organizationId\",\"name\"]],\"uniqueIndexes\":[{\"name\":null,\"fields\":[\"organizationId\",\"name\"]}],\"isGenerated\":false},\"TeamMember\":{\"dbName\":\"team_members\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"teamId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"userId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"role\",\"kind\":\"enum\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"TeamMemberRole\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"joinedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"isActive\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"Boolean\",\"nativeType\":null,\"default\":true,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"deletedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"team\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Team\",\"nativeType\":null,\"relationName\":\"TeamToTeamMember\",\"relationFromFields\":[\"teamId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"user\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"TeamMemberToUser\",\"relationFromFields\":[\"userId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[[\"teamId\",\"userId\"]],\"uniqueIndexes\":[{\"name\":null,\"fields\":[\"teamId\",\"userId\"]}],\"isGenerated\":false},\"Project\":{\"dbName\":\"projects\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"name\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"100\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"description\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Text\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"status\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"20\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdBy\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"organizationId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"teamId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"startDate\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"endDate\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":true},{\"name\":\"deletedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"priority\",\"kind\":\"enum\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"TaskPriority\",\"nativeType\":null,\"default\":\"MEDIUM\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"progress\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"Float\",\"nativeType\":null,\"default\":0,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"budget\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Float\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"lastModifiedBy\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"creator\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"ProjectCreator\",\"relationFromFields\":[\"createdBy\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"modifier\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"ProjectModifier\",\"relationFromFields\":[\"lastModifiedBy\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"organization\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Organization\",\"nativeType\":null,\"relationName\":\"OrganizationToProject\",\"relationFromFields\":[\"organizationId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"team\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Team\",\"nativeType\":null,\"relationName\":\"ProjectToTeam\",\"relationFromFields\":[\"teamId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"sprints\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Sprint\",\"nativeType\":null,\"relationName\":\"ProjectToSprint\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"tasks\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Task\",\"nativeType\":null,\"relationName\":\"ProjectToTask\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"reports\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Report\",\"nativeType\":null,\"relationName\":\"ProjectToReport\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"activityLogs\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ActivityLog\",\"nativeType\":null,\"relationName\":\"ActivityLogToProject\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"ProjectMember\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ProjectMember\",\"nativeType\":null,\"relationName\":\"ProjectToProjectMember\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[[\"organizationId\",\"name\"]],\"uniqueIndexes\":[{\"name\":null,\"fields\":[\"organizationId\",\"name\"]}],\"isGenerated\":false},\"ProjectMember\":{\"dbName\":\"project_members\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"projectId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"userId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"role\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"50\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"isActive\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"Boolean\",\"nativeType\":null,\"default\":true,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"joinedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"leftAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"deletedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"project\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Project\",\"nativeType\":null,\"relationName\":\"ProjectToProjectMember\",\"relationFromFields\":[\"projectId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"user\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"ProjectMemberToUser\",\"relationFromFields\":[\"userId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[[\"projectId\",\"userId\"]],\"uniqueIndexes\":[{\"name\":null,\"fields\":[\"projectId\",\"userId\"]}],\"isGenerated\":false},\"Sprint\":{\"dbName\":\"sprints\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"projectId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"name\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"100\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"description\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Text\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"startDate\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"endDate\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"status\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"20\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"goal\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Text\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"order\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"Int\",\"nativeType\":null,\"default\":0,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"project\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Project\",\"nativeType\":null,\"relationName\":\"ProjectToSprint\",\"relationFromFields\":[\"projectId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"tasks\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Task\",\"nativeType\":null,\"relationName\":\"SprintToTask\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"activityLogs\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ActivityLog\",\"nativeType\":null,\"relationName\":\"SprintActivityLogs\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[[\"projectId\",\"name\"]],\"uniqueIndexes\":[{\"name\":null,\"fields\":[\"projectId\",\"name\"]}],\"isGenerated\":false},\"Task\":{\"dbName\":\"tasks\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"title\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"200\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"description\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Text\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"priority\",\"kind\":\"enum\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"TaskPriority\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"status\",\"kind\":\"enum\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"TaskStatus\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"rate\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Float\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"projectId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"sprintId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdBy\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"assignedTo\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"dueDate\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":true},{\"name\":\"deletedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"estimatedTime\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Float\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"actualTime\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Float\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"parentId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"order\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"Int\",\"nativeType\":null,\"default\":0,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"labels\",\"kind\":\"scalar\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"lastModifiedBy\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"project\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Project\",\"nativeType\":null,\"relationName\":\"ProjectToTask\",\"relationFromFields\":[\"projectId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"sprint\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Sprint\",\"nativeType\":null,\"relationName\":\"SprintToTask\",\"relationFromFields\":[\"sprintId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"creator\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"TaskCreator\",\"relationFromFields\":[\"createdBy\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"assignee\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"TaskAssignee\",\"relationFromFields\":[\"assignedTo\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"modifier\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"TaskModifier\",\"relationFromFields\":[\"lastModifiedBy\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"attachments\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"TaskAttachment\",\"nativeType\":null,\"relationName\":\"TaskToTaskAttachment\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"comments\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Comment\",\"nativeType\":null,\"relationName\":\"CommentToTask\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"timelogs\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Timelog\",\"nativeType\":null,\"relationName\":\"TaskToTimelog\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"dependencies\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"TaskDependency\",\"nativeType\":null,\"relationName\":\"DependentTask\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"dependentOn\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"TaskDependency\",\"nativeType\":null,\"relationName\":\"MainTask\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"parent\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Task\",\"nativeType\":null,\"relationName\":\"TaskHierarchy\",\"relationFromFields\":[\"parentId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"subtasks\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Task\",\"nativeType\":null,\"relationName\":\"TaskHierarchy\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"activityLogs\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ActivityLog\",\"nativeType\":null,\"relationName\":\"ActivityLogToTask\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},\"TaskAttachment\":{\"dbName\":\"task_attachments\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"taskId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"fileName\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"255\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"fileType\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"50\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"filePath\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"fileSize\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Int\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"uploadedBy\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"storageProvider\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"50\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"storageKey\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"task\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Task\",\"nativeType\":null,\"relationName\":\"TaskToTaskAttachment\",\"relationFromFields\":[\"taskId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"uploader\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"TaskAttachmentToUser\",\"relationFromFields\":[\"uploadedBy\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},\"TaskDependency\":{\"dbName\":\"task_dependencies\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"taskId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"dependentTaskId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"dependencyType\",\"kind\":\"enum\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DependencyType\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"description\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Text\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"task\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Task\",\"nativeType\":null,\"relationName\":\"MainTask\",\"relationFromFields\":[\"taskId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"dependentTask\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Task\",\"nativeType\":null,\"relationName\":\"DependentTask\",\"relationFromFields\":[\"dependentTaskId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[[\"taskId\",\"dependentTaskId\"]],\"uniqueIndexes\":[{\"name\":null,\"fields\":[\"taskId\",\"dependentTaskId\"]}],\"isGenerated\":false},\"TaskTemplate\":{\"dbName\":\"task_templates\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"name\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"100\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"description\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Text\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"priority\",\"kind\":\"enum\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"TaskPriority\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"estimatedTime\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Float\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"organizationId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdBy\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":true},{\"name\":\"checklist\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Json\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"labels\",\"kind\":\"scalar\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"isPublic\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"Boolean\",\"nativeType\":null,\"default\":false,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"organization\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Organization\",\"nativeType\":null,\"relationName\":\"OrganizationToTaskTemplate\",\"relationFromFields\":[\"organizationId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[[\"organizationId\",\"name\"]],\"uniqueIndexes\":[{\"name\":null,\"fields\":[\"organizationId\",\"name\"]}],\"isGenerated\":false},\"Timelog\":{\"dbName\":\"timelogs\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"taskId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"userId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"startTime\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"endTime\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"description\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Text\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"task\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Task\",\"nativeType\":null,\"relationName\":\"TaskToTimelog\",\"relationFromFields\":[\"taskId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"user\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"TimelogToUser\",\"relationFromFields\":[\"userId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},\"Comment\":{\"dbName\":\"comments\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"taskId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"userId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"content\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Text\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":true},{\"name\":\"task\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Task\",\"nativeType\":null,\"relationName\":\"CommentToTask\",\"relationFromFields\":[\"taskId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"user\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"CommentToUser\",\"relationFromFields\":[\"userId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},\"ActivityLog\":{\"dbName\":\"activity_logs\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"entityType\",\"kind\":\"enum\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"EntityType\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"action\",\"kind\":\"enum\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ActionType\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"userId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"organizationId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"departmentId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"projectId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"teamId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"sprintId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"taskId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"details\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Json\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"user\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"ActivityLogToUser\",\"relationFromFields\":[\"userId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"organization\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Organization\",\"nativeType\":null,\"relationName\":\"ActivityLogToOrganization\",\"relationFromFields\":[\"organizationId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"department\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Department\",\"nativeType\":null,\"relationName\":\"DepartmentActivityLogs\",\"relationFromFields\":[\"departmentId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"project\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Project\",\"nativeType\":null,\"relationName\":\"ActivityLogToProject\",\"relationFromFields\":[\"projectId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"team\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Team\",\"nativeType\":null,\"relationName\":\"ActivityLogToTeam\",\"relationFromFields\":[\"teamId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"sprint\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Sprint\",\"nativeType\":null,\"relationName\":\"SprintActivityLogs\",\"relationFromFields\":[\"sprintId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"task\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Task\",\"nativeType\":null,\"relationName\":\"ActivityLogToTask\",\"relationFromFields\":[\"taskId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},\"Notification\":{\"dbName\":\"notifications\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"userId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"content\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Text\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"isRead\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"Boolean\",\"nativeType\":null,\"default\":false,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"type\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"50\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"metadata\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Json\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"deletedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"entityType\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"50\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"entityId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"user\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"NotificationToUser\",\"relationFromFields\":[\"userId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},\"Report\":{\"dbName\":\"reports\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"name\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"100\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"description\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Text\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"reportType\",\"kind\":\"enum\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ReportType\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"format\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"20\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"parameters\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Json\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"filePath\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"generatedBy\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"status\",\"kind\":\"enum\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"ReportStatus\",\"nativeType\":null,\"default\":\"PENDING\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":true},{\"name\":\"lastAccessedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"expiresAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"tags\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Text\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"organizationId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"teamId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"projectId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"departmentId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"userId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"scheduleId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"storageProvider\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"50\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"storageKey\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"generator\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"ReportToUser\",\"relationFromFields\":[\"generatedBy\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"organization\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Organization\",\"nativeType\":null,\"relationName\":\"OrganizationToReport\",\"relationFromFields\":[\"organizationId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"team\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Team\",\"nativeType\":null,\"relationName\":\"ReportToTeam\",\"relationFromFields\":[\"teamId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"project\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Project\",\"nativeType\":null,\"relationName\":\"ProjectToReport\",\"relationFromFields\":[\"projectId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"department\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Department\",\"nativeType\":null,\"relationName\":\"DepartmentToReport\",\"relationFromFields\":[\"departmentId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"user\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"UserReports\",\"relationFromFields\":[\"userId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"reportSchedule\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ReportSchedule\",\"nativeType\":null,\"relationName\":\"ReportToReportSchedule\",\"relationFromFields\":[\"scheduleId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"notifiedUsers\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ReportNotification\",\"nativeType\":null,\"relationName\":\"ReportToReportNotification\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},\"ReportSchedule\":{\"dbName\":\"report_schedules\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"name\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"100\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"cronExpression\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"100\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"isActive\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"Boolean\",\"nativeType\":null,\"default\":true,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdBy\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"reports\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Report\",\"nativeType\":null,\"relationName\":\"ReportToReportSchedule\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},\"ReportNotification\":{\"dbName\":\"report_notifications\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"reportId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"userId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"notified\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"Boolean\",\"nativeType\":null,\"default\":false,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"report\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Report\",\"nativeType\":null,\"relationName\":\"ReportToReportNotification\",\"relationFromFields\":[\"reportId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"user\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"ReportNotificationToUser\",\"relationFromFields\":[\"userId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[[\"reportId\",\"userId\"]],\"uniqueIndexes\":[{\"name\":null,\"fields\":[\"reportId\",\"userId\"]}],\"isGenerated\":false},\"Permission\":{\"dbName\":\"permissions\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"userId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"entityType\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"entityId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"permissions\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Json\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":true},{\"name\":\"user\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"PermissionToUser\",\"relationFromFields\":[\"userId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[[\"userId\",\"entityType\",\"entityId\"]],\"uniqueIndexes\":[{\"name\":null,\"fields\":[\"userId\",\"entityType\",\"entityId\"]}],\"isGenerated\":false},\"ChatRoom\":{\"dbName\":\"chat_rooms\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"name\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"100\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"description\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Text\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"type\",\"kind\":\"enum\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ChatRoomType\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"entityType\",\"kind\":\"enum\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"EntityType\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"entityId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":true},{\"name\":\"isActive\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"Boolean\",\"nativeType\":null,\"default\":true,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"isArchived\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"Boolean\",\"nativeType\":null,\"default\":false,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"archivedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"avatarUrl\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"lastMessageAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"messages\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ChatMessage\",\"nativeType\":null,\"relationName\":\"ChatMessageToChatRoom\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"participants\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ChatParticipant\",\"nativeType\":null,\"relationName\":\"ChatParticipantToChatRoom\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"pinnedMessages\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"PinnedMessage\",\"nativeType\":null,\"relationName\":\"ChatRoomToPinnedMessage\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"videoSessions\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"VideoConferenceSession\",\"nativeType\":null,\"relationName\":\"ChatRoomToVideoConferenceSession\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[[\"entityType\",\"entityId\"]],\"uniqueIndexes\":[{\"name\":null,\"fields\":[\"entityType\",\"entityId\"]}],\"isGenerated\":false},\"ChatParticipant\":{\"dbName\":\"chat_participants\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"chatRoomId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"userId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"joinedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"lastReadMessageId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"lastReadAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"isAdmin\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"Boolean\",\"nativeType\":null,\"default\":false,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"notificationsOn\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"Boolean\",\"nativeType\":null,\"default\":true,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"status\",\"kind\":\"enum\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"ParticipantStatus\",\"nativeType\":null,\"default\":\"ACTIVE\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"chatRoom\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ChatRoom\",\"nativeType\":null,\"relationName\":\"ChatParticipantToChatRoom\",\"relationFromFields\":[\"chatRoomId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"user\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"ChatParticipantToUser\",\"relationFromFields\":[\"userId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"lastReadMessage\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ChatMessage\",\"nativeType\":null,\"relationName\":\"LastReadMessage\",\"relationFromFields\":[\"lastReadMessageId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[[\"chatRoomId\",\"userId\"]],\"uniqueIndexes\":[{\"name\":null,\"fields\":[\"chatRoomId\",\"userId\"]}],\"isGenerated\":false},\"ChatMessage\":{\"dbName\":\"chat_messages\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"chatRoomId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"senderId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"content\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Text\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"contentType\",\"kind\":\"enum\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"MessageContentType\",\"nativeType\":null,\"default\":\"TEXT\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":true},{\"name\":\"isEdited\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"Boolean\",\"nativeType\":null,\"default\":false,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"isDeleted\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"Boolean\",\"nativeType\":null,\"default\":false,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"deletedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"replyToId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"metadata\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Json\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"chatRoom\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ChatRoom\",\"nativeType\":null,\"relationName\":\"ChatMessageToChatRoom\",\"relationFromFields\":[\"chatRoomId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"sender\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"ChatMessageToUser\",\"relationFromFields\":[\"senderId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"replyTo\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ChatMessage\",\"nativeType\":null,\"relationName\":\"MessageReplies\",\"relationFromFields\":[\"replyToId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"replies\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ChatMessage\",\"nativeType\":null,\"relationName\":\"MessageReplies\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"attachments\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"MessageAttachment\",\"nativeType\":null,\"relationName\":\"ChatMessageToMessageAttachment\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"reactions\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"MessageReaction\",\"nativeType\":null,\"relationName\":\"ChatMessageToMessageReaction\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"readBy\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ChatParticipant\",\"nativeType\":null,\"relationName\":\"LastReadMessage\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"pinnedIn\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"PinnedMessage\",\"nativeType\":null,\"relationName\":\"ChatMessageToPinnedMessage\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},\"MessageAttachment\":{\"dbName\":\"message_attachments\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"messageId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"fileName\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"255\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"fileType\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"50\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"filePath\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"fileSize\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Int\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"thumbnailPath\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"storageProvider\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"50\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"storageKey\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"message\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ChatMessage\",\"nativeType\":null,\"relationName\":\"ChatMessageToMessageAttachment\",\"relationFromFields\":[\"messageId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},\"MessageReaction\":{\"dbName\":\"message_reactions\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"messageId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"userId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"reaction\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"50\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"message\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ChatMessage\",\"nativeType\":null,\"relationName\":\"ChatMessageToMessageReaction\",\"relationFromFields\":[\"messageId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"user\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"MessageReactionToUser\",\"relationFromFields\":[\"userId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[[\"messageId\",\"userId\",\"reaction\"]],\"uniqueIndexes\":[{\"name\":null,\"fields\":[\"messageId\",\"userId\",\"reaction\"]}],\"isGenerated\":false},\"PinnedMessage\":{\"dbName\":\"pinned_messages\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"chatRoomId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"messageId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"pinnedBy\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"pinnedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"chatRoom\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ChatRoom\",\"nativeType\":null,\"relationName\":\"ChatRoomToPinnedMessage\",\"relationFromFields\":[\"chatRoomId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"message\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ChatMessage\",\"nativeType\":null,\"relationName\":\"ChatMessageToPinnedMessage\",\"relationFromFields\":[\"messageId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"user\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"PinnedMessageToUser\",\"relationFromFields\":[\"pinnedBy\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[[\"chatRoomId\",\"messageId\"]],\"uniqueIndexes\":[{\"name\":null,\"fields\":[\"chatRoomId\",\"messageId\"]}],\"isGenerated\":false},\"VideoConferenceSession\":{\"dbName\":\"video_conference_sessions\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"chatRoomId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"title\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"100\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"description\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Text\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"startTime\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"endTime\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"status\",\"kind\":\"enum\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"SessionStatus\",\"nativeType\":null,\"default\":\"ACTIVE\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"hostId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"meetingUrl\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":true,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"recordingUrl\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"settings\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Json\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"chatRoom\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ChatRoom\",\"nativeType\":null,\"relationName\":\"ChatRoomToVideoConferenceSession\",\"relationFromFields\":[\"chatRoomId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"host\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"SessionHost\",\"relationFromFields\":[\"hostId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"participants\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"VideoParticipant\",\"nativeType\":null,\"relationName\":\"VideoConferenceSessionToVideoParticipant\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"recordings\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"VideoRecording\",\"nativeType\":null,\"relationName\":\"VideoConferenceSessionToVideoRecording\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},\"VideoParticipant\":{\"dbName\":\"video_participants\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"sessionId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"userId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"joinedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"leftAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"role\",\"kind\":\"enum\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"VideoParticipantRole\",\"nativeType\":null,\"default\":\"ATTENDEE\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"deviceInfo\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Json\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"connectionQuality\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"20\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"hasVideo\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"Boolean\",\"nativeType\":null,\"default\":true,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"hasAudio\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"Boolean\",\"nativeType\":null,\"default\":true,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"session\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"VideoConferenceSession\",\"nativeType\":null,\"relationName\":\"VideoConferenceSessionToVideoParticipant\",\"relationFromFields\":[\"sessionId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"user\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"UserToVideoParticipant\",\"relationFromFields\":[\"userId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[[\"sessionId\",\"userId\"]],\"uniqueIndexes\":[{\"name\":null,\"fields\":[\"sessionId\",\"userId\"]}],\"isGenerated\":false},\"VideoRecording\":{\"dbName\":\"video_recordings\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"sessionId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"fileName\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"255\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"fileSize\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Int\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"duration\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Int\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"recordedBy\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"startTime\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"endTime\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"storageProvider\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"50\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"storageKey\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"processingStatus\",\"kind\":\"enum\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"ProcessingStatus\",\"nativeType\":null,\"default\":\"PROCESSING\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"visibility\",\"kind\":\"enum\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"RecordingVisibility\",\"nativeType\":null,\"default\":\"PARTICIPANTS_ONLY\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"session\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"VideoConferenceSession\",\"nativeType\":null,\"relationName\":\"VideoConferenceSessionToVideoRecording\",\"relationFromFields\":[\"sessionId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"recorder\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"UserToVideoRecording\",\"relationFromFields\":[\"recordedBy\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false}},\"enums\":{\"ReportType\":{\"values\":[{\"name\":\"ORGANIZATION_SUMMARY\",\"dbName\":null},{\"name\":\"ORGANIZATION_ACTIVITY\",\"dbName\":null},{\"name\":\"DEPARTMENT_PERFORMANCE\",\"dbName\":null},{\"name\":\"TEAM_PRODUCTIVITY\",\"dbName\":null},{\"name\":\"PROJECT_STATUS\",\"dbName\":null},{\"name\":\"PROJECT_TIMELINE\",\"dbName\":null},{\"name\":\"TASK_COMPLETION\",\"dbName\":null},{\"name\":\"USER_PERFORMANCE\",\"dbName\":null},{\"name\":\"USER_ACTIVITY\",\"dbName\":null},{\"name\":\"SPRINT_BURNDOWN\",\"dbName\":null},{\"name\":\"CUSTOM\",\"dbName\":null}],\"dbName\":null},\"ReportStatus\":{\"values\":[{\"name\":\"PENDING\",\"dbName\":null},{\"name\":\"GENERATING\",\"dbName\":null},{\"name\":\"COMPLETED\",\"dbName\":null},{\"name\":\"FAILED\",\"dbName\":null},{\"name\":\"EXPIRED\",\"dbName\":null}],\"dbName\":null},\"EntityType\":{\"values\":[{\"name\":\"ORGANIZATION\",\"dbName\":null},{\"name\":\"DEPARTMENT\",\"dbName\":null},{\"name\":\"TEAM\",\"dbName\":null},{\"name\":\"PROJECT\",\"dbName\":null},{\"name\":\"SPRINT\",\"dbName\":null},{\"name\":\"TASK\",\"dbName\":null},{\"name\":\"USER\",\"dbName\":null},{\"name\":\"TASK_ATTACHMENT\",\"dbName\":null},{\"name\":\"TASK_DEPENDENCY\",\"dbName\":null},{\"name\":\"TASK_TEMPLATE\",\"dbName\":null},{\"name\":\"COMMENT\",\"dbName\":null}],\"dbName\":null},\"ActionType\":{\"values\":[{\"name\":\"CREATED\",\"dbName\":null},{\"name\":\"UPDATED\",\"dbName\":null},{\"name\":\"DELETED\",\"dbName\":null},{\"name\":\"RESTORED\",\"dbName\":null},{\"name\":\"COMMENTED\",\"dbName\":null},{\"name\":\"STATUS_CHANGED\",\"dbName\":null},{\"name\":\"ASSIGNED\",\"dbName\":null},{\"name\":\"UNASSIGNED\",\"dbName\":null},{\"name\":\"ATTACHMENT_ADDED\",\"dbName\":null},{\"name\":\"ATTACHMENT_REMOVED\",\"dbName\":null},{\"name\":\"DEPENDENCY_ADDED\",\"dbName\":null},{\"name\":\"DEPENDENCY_REMOVED\",\"dbName\":null},{\"name\":\"MEMBER_ADDED\",\"dbName\":null},{\"name\":\"MEMBER_REMOVED\",\"dbName\":null},{\"name\":\"MEMBER_ROLE_CHANGED\",\"dbName\":null},{\"name\":\"SPRINT_STARTED\",\"dbName\":null},{\"name\":\"SPRINT_COMPLETED\",\"dbName\":null},{\"name\":\"TASK_MOVED\",\"dbName\":null},{\"name\":\"LOGGED_TIME\",\"dbName\":null},{\"name\":\"VERIFIED\",\"dbName\":null},{\"name\":\"LOGO_UPDATED\",\"dbName\":null},{\"name\":\"SETTINGS_CHANGED\",\"dbName\":null},{\"name\":\"SUBSCRIPTION_CHANGED\",\"dbName\":null},{\"name\":\"TEAM_CREATED\",\"dbName\":null},{\"name\":\"TEAM_DELETED\",\"dbName\":null},{\"name\":\"DEPARTMENT_CREATED\",\"dbName\":null},{\"name\":\"DEPARTMENT_DELETED\",\"dbName\":null},{\"name\":\"OWNER_ADDED\",\"dbName\":null},{\"name\":\"OWNER_REMOVED\",\"dbName\":null}],\"dbName\":null},\"TaskPriority\":{\"values\":[{\"name\":\"LOW\",\"dbName\":null},{\"name\":\"MEDIUM\",\"dbName\":null},{\"name\":\"HIGH\",\"dbName\":null}],\"dbName\":null},\"TaskStatus\":{\"values\":[{\"name\":\"TODO\",\"dbName\":null},{\"name\":\"IN_PROGRESS\",\"dbName\":null},{\"name\":\"REVIEW\",\"dbName\":null},{\"name\":\"DONE\",\"dbName\":null}],\"dbName\":null},\"DependencyType\":{\"values\":[{\"name\":\"BLOCKS\",\"dbName\":null},{\"name\":\"REQUIRES\",\"dbName\":null},{\"name\":\"RELATES_TO\",\"dbName\":null},{\"name\":\"DUPLICATES\",\"dbName\":null}],\"dbName\":null},\"TeamMemberRole\":{\"values\":[{\"name\":\"MEMBER\",\"dbName\":null},{\"name\":\"LEADER\",\"dbName\":null},{\"name\":\"VIEWER\",\"dbName\":null}],\"dbName\":null},\"UserRole\":{\"values\":[{\"name\":\"OWNER\",\"dbName\":null},{\"name\":\"MANAGER\",\"dbName\":null},{\"name\":\"ADMIN\",\"dbName\":null},{\"name\":\"MEMBER\",\"dbName\":null},{\"name\":\"GUEST\",\"dbName\":null}],\"dbName\":null},\"ChatRoomType\":{\"values\":[{\"name\":\"ORGANIZATION\",\"dbName\":null},{\"name\":\"DEPARTMENT\",\"dbName\":null},{\"name\":\"TEAM\",\"dbName\":null},{\"name\":\"PROJECT\",\"dbName\":null},{\"name\":\"TASK\",\"dbName\":null},{\"name\":\"DIRECT\",\"dbName\":null},{\"name\":\"GROUP\",\"dbName\":null}],\"dbName\":null},\"ParticipantStatus\":{\"values\":[{\"name\":\"ACTIVE\",\"dbName\":null},{\"name\":\"MUTED\",\"dbName\":null},{\"name\":\"BLOCKED\",\"dbName\":null},{\"name\":\"LEFT\",\"dbName\":null}],\"dbName\":null},\"MessageContentType\":{\"values\":[{\"name\":\"TEXT\",\"dbName\":null},{\"name\":\"IMAGE\",\"dbName\":null},{\"name\":\"FILE\",\"dbName\":null},{\"name\":\"AUDIO\",\"dbName\":null},{\"name\":\"VIDEO\",\"dbName\":null},{\"name\":\"CODE\",\"dbName\":null},{\"name\":\"LINK\",\"dbName\":null},{\"name\":\"SYSTEM\",\"dbName\":null}],\"dbName\":null},\"SessionStatus\":{\"values\":[{\"name\":\"SCHEDULED\",\"dbName\":null},{\"name\":\"ACTIVE\",\"dbName\":null},{\"name\":\"ENDED\",\"dbName\":null},{\"name\":\"CANCELLED\",\"dbName\":null}],\"dbName\":null},\"VideoParticipantRole\":{\"values\":[{\"name\":\"HOST\",\"dbName\":null},{\"name\":\"COHOST\",\"dbName\":null},{\"name\":\"PRESENTER\",\"dbName\":null},{\"name\":\"ATTENDEE\",\"dbName\":null}],\"dbName\":null},\"ProcessingStatus\":{\"values\":[{\"name\":\"PROCESSING\",\"dbName\":null},{\"name\":\"READY\",\"dbName\":null},{\"name\":\"FAILED\",\"dbName\":null}],\"dbName\":null},\"RecordingVisibility\":{\"values\":[{\"name\":\"PRIVATE\",\"dbName\":null},{\"name\":\"PARTICIPANTS_ONLY\",\"dbName\":null},{\"name\":\"ORGANIZATION\",\"dbName\":null},{\"name\":\"PUBLIC\",\"dbName\":null}],\"dbName\":null}},\"types\":{}}") defineDmmfProperty(exports.Prisma, config.runtimeDataModel) config.engineWasm = undefined config.compilerWasm = undefined diff --git a/prisma/generated/prisma-client-js/index-browser.js b/prisma/generated/prisma-client-js/index-browser.js index 3c17070..808bb36 100644 --- a/prisma/generated/prisma-client-js/index-browser.js +++ b/prisma/generated/prisma-client-js/index-browser.js @@ -409,6 +409,121 @@ exports.Prisma.PermissionScalarFieldEnum = { updatedAt: 'updatedAt' }; +exports.Prisma.ChatRoomScalarFieldEnum = { + id: 'id', + name: 'name', + description: 'description', + type: 'type', + entityType: 'entityType', + entityId: 'entityId', + createdAt: 'createdAt', + updatedAt: 'updatedAt', + isActive: 'isActive', + isArchived: 'isArchived', + archivedAt: 'archivedAt', + avatarUrl: 'avatarUrl', + lastMessageAt: 'lastMessageAt' +}; + +exports.Prisma.ChatParticipantScalarFieldEnum = { + id: 'id', + chatRoomId: 'chatRoomId', + userId: 'userId', + joinedAt: 'joinedAt', + lastReadMessageId: 'lastReadMessageId', + lastReadAt: 'lastReadAt', + isAdmin: 'isAdmin', + notificationsOn: 'notificationsOn', + status: 'status' +}; + +exports.Prisma.ChatMessageScalarFieldEnum = { + id: 'id', + chatRoomId: 'chatRoomId', + senderId: 'senderId', + content: 'content', + contentType: 'contentType', + createdAt: 'createdAt', + updatedAt: 'updatedAt', + isEdited: 'isEdited', + isDeleted: 'isDeleted', + deletedAt: 'deletedAt', + replyToId: 'replyToId', + metadata: 'metadata' +}; + +exports.Prisma.MessageAttachmentScalarFieldEnum = { + id: 'id', + messageId: 'messageId', + fileName: 'fileName', + fileType: 'fileType', + filePath: 'filePath', + fileSize: 'fileSize', + thumbnailPath: 'thumbnailPath', + storageProvider: 'storageProvider', + storageKey: 'storageKey', + createdAt: 'createdAt' +}; + +exports.Prisma.MessageReactionScalarFieldEnum = { + id: 'id', + messageId: 'messageId', + userId: 'userId', + reaction: 'reaction', + createdAt: 'createdAt' +}; + +exports.Prisma.PinnedMessageScalarFieldEnum = { + id: 'id', + chatRoomId: 'chatRoomId', + messageId: 'messageId', + pinnedBy: 'pinnedBy', + pinnedAt: 'pinnedAt' +}; + +exports.Prisma.VideoConferenceSessionScalarFieldEnum = { + id: 'id', + chatRoomId: 'chatRoomId', + title: 'title', + description: 'description', + startTime: 'startTime', + endTime: 'endTime', + status: 'status', + hostId: 'hostId', + meetingUrl: 'meetingUrl', + recordingUrl: 'recordingUrl', + settings: 'settings' +}; + +exports.Prisma.VideoParticipantScalarFieldEnum = { + id: 'id', + sessionId: 'sessionId', + userId: 'userId', + joinedAt: 'joinedAt', + leftAt: 'leftAt', + role: 'role', + deviceInfo: 'deviceInfo', + connectionQuality: 'connectionQuality', + hasVideo: 'hasVideo', + hasAudio: 'hasAudio' +}; + +exports.Prisma.VideoRecordingScalarFieldEnum = { + id: 'id', + sessionId: 'sessionId', + fileName: 'fileName', + fileSize: 'fileSize', + duration: 'duration', + recordedBy: 'recordedBy', + startTime: 'startTime', + endTime: 'endTime', + storageProvider: 'storageProvider', + storageKey: 'storageKey', + processingStatus: 'processingStatus', + visibility: 'visibility', + createdAt: 'createdAt' +}; + exports.Prisma.SortOrder = { asc: 'asc', desc: 'desc' @@ -540,6 +655,61 @@ exports.ReportStatus = exports.$Enums.ReportStatus = { EXPIRED: 'EXPIRED' }; +exports.ChatRoomType = exports.$Enums.ChatRoomType = { + ORGANIZATION: 'ORGANIZATION', + DEPARTMENT: 'DEPARTMENT', + TEAM: 'TEAM', + PROJECT: 'PROJECT', + TASK: 'TASK', + DIRECT: 'DIRECT', + GROUP: 'GROUP' +}; + +exports.ParticipantStatus = exports.$Enums.ParticipantStatus = { + ACTIVE: 'ACTIVE', + MUTED: 'MUTED', + BLOCKED: 'BLOCKED', + LEFT: 'LEFT' +}; + +exports.MessageContentType = exports.$Enums.MessageContentType = { + TEXT: 'TEXT', + IMAGE: 'IMAGE', + FILE: 'FILE', + AUDIO: 'AUDIO', + VIDEO: 'VIDEO', + CODE: 'CODE', + LINK: 'LINK', + SYSTEM: 'SYSTEM' +}; + +exports.SessionStatus = exports.$Enums.SessionStatus = { + SCHEDULED: 'SCHEDULED', + ACTIVE: 'ACTIVE', + ENDED: 'ENDED', + CANCELLED: 'CANCELLED' +}; + +exports.VideoParticipantRole = exports.$Enums.VideoParticipantRole = { + HOST: 'HOST', + COHOST: 'COHOST', + PRESENTER: 'PRESENTER', + ATTENDEE: 'ATTENDEE' +}; + +exports.ProcessingStatus = exports.$Enums.ProcessingStatus = { + PROCESSING: 'PROCESSING', + READY: 'READY', + FAILED: 'FAILED' +}; + +exports.RecordingVisibility = exports.$Enums.RecordingVisibility = { + PRIVATE: 'PRIVATE', + PARTICIPANTS_ONLY: 'PARTICIPANTS_ONLY', + ORGANIZATION: 'ORGANIZATION', + PUBLIC: 'PUBLIC' +}; + exports.Prisma.ModelName = { User: 'User', Organization: 'Organization', @@ -561,7 +731,16 @@ exports.Prisma.ModelName = { Report: 'Report', ReportSchedule: 'ReportSchedule', ReportNotification: 'ReportNotification', - Permission: 'Permission' + Permission: 'Permission', + ChatRoom: 'ChatRoom', + ChatParticipant: 'ChatParticipant', + ChatMessage: 'ChatMessage', + MessageAttachment: 'MessageAttachment', + MessageReaction: 'MessageReaction', + PinnedMessage: 'PinnedMessage', + VideoConferenceSession: 'VideoConferenceSession', + VideoParticipant: 'VideoParticipant', + VideoRecording: 'VideoRecording' }; /** diff --git a/prisma/generated/prisma-client-js/index.d.ts b/prisma/generated/prisma-client-js/index.d.ts index 6eb47b6..359be5a 100644 --- a/prisma/generated/prisma-client-js/index.d.ts +++ b/prisma/generated/prisma-client-js/index.d.ts @@ -118,6 +118,51 @@ export type ReportNotification = $Result.DefaultSelection +/** + * Model ChatRoom + * + */ +export type ChatRoom = $Result.DefaultSelection +/** + * Model ChatParticipant + * + */ +export type ChatParticipant = $Result.DefaultSelection +/** + * Model ChatMessage + * + */ +export type ChatMessage = $Result.DefaultSelection +/** + * Model MessageAttachment + * + */ +export type MessageAttachment = $Result.DefaultSelection +/** + * Model MessageReaction + * + */ +export type MessageReaction = $Result.DefaultSelection +/** + * Model PinnedMessage + * + */ +export type PinnedMessage = $Result.DefaultSelection +/** + * Model VideoConferenceSession + * + */ +export type VideoConferenceSession = $Result.DefaultSelection +/** + * Model VideoParticipant + * + */ +export type VideoParticipant = $Result.DefaultSelection +/** + * Model VideoRecording + * + */ +export type VideoRecording = $Result.DefaultSelection /** * Enums @@ -251,6 +296,82 @@ export const UserRole: { export type UserRole = (typeof UserRole)[keyof typeof UserRole] + +export const ChatRoomType: { + ORGANIZATION: 'ORGANIZATION', + DEPARTMENT: 'DEPARTMENT', + TEAM: 'TEAM', + PROJECT: 'PROJECT', + TASK: 'TASK', + DIRECT: 'DIRECT', + GROUP: 'GROUP' +}; + +export type ChatRoomType = (typeof ChatRoomType)[keyof typeof ChatRoomType] + + +export const ParticipantStatus: { + ACTIVE: 'ACTIVE', + MUTED: 'MUTED', + BLOCKED: 'BLOCKED', + LEFT: 'LEFT' +}; + +export type ParticipantStatus = (typeof ParticipantStatus)[keyof typeof ParticipantStatus] + + +export const MessageContentType: { + TEXT: 'TEXT', + IMAGE: 'IMAGE', + FILE: 'FILE', + AUDIO: 'AUDIO', + VIDEO: 'VIDEO', + CODE: 'CODE', + LINK: 'LINK', + SYSTEM: 'SYSTEM' +}; + +export type MessageContentType = (typeof MessageContentType)[keyof typeof MessageContentType] + + +export const SessionStatus: { + SCHEDULED: 'SCHEDULED', + ACTIVE: 'ACTIVE', + ENDED: 'ENDED', + CANCELLED: 'CANCELLED' +}; + +export type SessionStatus = (typeof SessionStatus)[keyof typeof SessionStatus] + + +export const VideoParticipantRole: { + HOST: 'HOST', + COHOST: 'COHOST', + PRESENTER: 'PRESENTER', + ATTENDEE: 'ATTENDEE' +}; + +export type VideoParticipantRole = (typeof VideoParticipantRole)[keyof typeof VideoParticipantRole] + + +export const ProcessingStatus: { + PROCESSING: 'PROCESSING', + READY: 'READY', + FAILED: 'FAILED' +}; + +export type ProcessingStatus = (typeof ProcessingStatus)[keyof typeof ProcessingStatus] + + +export const RecordingVisibility: { + PRIVATE: 'PRIVATE', + PARTICIPANTS_ONLY: 'PARTICIPANTS_ONLY', + ORGANIZATION: 'ORGANIZATION', + PUBLIC: 'PUBLIC' +}; + +export type RecordingVisibility = (typeof RecordingVisibility)[keyof typeof RecordingVisibility] + } export type ReportType = $Enums.ReportType @@ -289,6 +410,34 @@ export type UserRole = $Enums.UserRole export const UserRole: typeof $Enums.UserRole +export type ChatRoomType = $Enums.ChatRoomType + +export const ChatRoomType: typeof $Enums.ChatRoomType + +export type ParticipantStatus = $Enums.ParticipantStatus + +export const ParticipantStatus: typeof $Enums.ParticipantStatus + +export type MessageContentType = $Enums.MessageContentType + +export const MessageContentType: typeof $Enums.MessageContentType + +export type SessionStatus = $Enums.SessionStatus + +export const SessionStatus: typeof $Enums.SessionStatus + +export type VideoParticipantRole = $Enums.VideoParticipantRole + +export const VideoParticipantRole: typeof $Enums.VideoParticipantRole + +export type ProcessingStatus = $Enums.ProcessingStatus + +export const ProcessingStatus: typeof $Enums.ProcessingStatus + +export type RecordingVisibility = $Enums.RecordingVisibility + +export const RecordingVisibility: typeof $Enums.RecordingVisibility + /** * ## Prisma Client ʲˢ * @@ -623,6 +772,96 @@ export class PrismaClient< * ``` */ get permission(): Prisma.PermissionDelegate; + + /** + * `prisma.chatRoom`: Exposes CRUD operations for the **ChatRoom** model. + * Example usage: + * ```ts + * // Fetch zero or more ChatRooms + * const chatRooms = await prisma.chatRoom.findMany() + * ``` + */ + get chatRoom(): Prisma.ChatRoomDelegate; + + /** + * `prisma.chatParticipant`: Exposes CRUD operations for the **ChatParticipant** model. + * Example usage: + * ```ts + * // Fetch zero or more ChatParticipants + * const chatParticipants = await prisma.chatParticipant.findMany() + * ``` + */ + get chatParticipant(): Prisma.ChatParticipantDelegate; + + /** + * `prisma.chatMessage`: Exposes CRUD operations for the **ChatMessage** model. + * Example usage: + * ```ts + * // Fetch zero or more ChatMessages + * const chatMessages = await prisma.chatMessage.findMany() + * ``` + */ + get chatMessage(): Prisma.ChatMessageDelegate; + + /** + * `prisma.messageAttachment`: Exposes CRUD operations for the **MessageAttachment** model. + * Example usage: + * ```ts + * // Fetch zero or more MessageAttachments + * const messageAttachments = await prisma.messageAttachment.findMany() + * ``` + */ + get messageAttachment(): Prisma.MessageAttachmentDelegate; + + /** + * `prisma.messageReaction`: Exposes CRUD operations for the **MessageReaction** model. + * Example usage: + * ```ts + * // Fetch zero or more MessageReactions + * const messageReactions = await prisma.messageReaction.findMany() + * ``` + */ + get messageReaction(): Prisma.MessageReactionDelegate; + + /** + * `prisma.pinnedMessage`: Exposes CRUD operations for the **PinnedMessage** model. + * Example usage: + * ```ts + * // Fetch zero or more PinnedMessages + * const pinnedMessages = await prisma.pinnedMessage.findMany() + * ``` + */ + get pinnedMessage(): Prisma.PinnedMessageDelegate; + + /** + * `prisma.videoConferenceSession`: Exposes CRUD operations for the **VideoConferenceSession** model. + * Example usage: + * ```ts + * // Fetch zero or more VideoConferenceSessions + * const videoConferenceSessions = await prisma.videoConferenceSession.findMany() + * ``` + */ + get videoConferenceSession(): Prisma.VideoConferenceSessionDelegate; + + /** + * `prisma.videoParticipant`: Exposes CRUD operations for the **VideoParticipant** model. + * Example usage: + * ```ts + * // Fetch zero or more VideoParticipants + * const videoParticipants = await prisma.videoParticipant.findMany() + * ``` + */ + get videoParticipant(): Prisma.VideoParticipantDelegate; + + /** + * `prisma.videoRecording`: Exposes CRUD operations for the **VideoRecording** model. + * Example usage: + * ```ts + * // Fetch zero or more VideoRecordings + * const videoRecordings = await prisma.videoRecording.findMany() + * ``` + */ + get videoRecording(): Prisma.VideoRecordingDelegate; } export namespace Prisma { @@ -1083,7 +1322,16 @@ export namespace Prisma { Report: 'Report', ReportSchedule: 'ReportSchedule', ReportNotification: 'ReportNotification', - Permission: 'Permission' + Permission: 'Permission', + ChatRoom: 'ChatRoom', + ChatParticipant: 'ChatParticipant', + ChatMessage: 'ChatMessage', + MessageAttachment: 'MessageAttachment', + MessageReaction: 'MessageReaction', + PinnedMessage: 'PinnedMessage', + VideoConferenceSession: 'VideoConferenceSession', + VideoParticipant: 'VideoParticipant', + VideoRecording: 'VideoRecording' }; export type ModelName = (typeof ModelName)[keyof typeof ModelName] @@ -1102,7 +1350,7 @@ export namespace Prisma { omit: GlobalOmitOptions } meta: { - modelProps: "user" | "organization" | "organizationOwner" | "department" | "team" | "teamMember" | "project" | "projectMember" | "sprint" | "task" | "taskAttachment" | "taskDependency" | "taskTemplate" | "timelog" | "comment" | "activityLog" | "notification" | "report" | "reportSchedule" | "reportNotification" | "permission" + modelProps: "user" | "organization" | "organizationOwner" | "department" | "team" | "teamMember" | "project" | "projectMember" | "sprint" | "task" | "taskAttachment" | "taskDependency" | "taskTemplate" | "timelog" | "comment" | "activityLog" | "notification" | "report" | "reportSchedule" | "reportNotification" | "permission" | "chatRoom" | "chatParticipant" | "chatMessage" | "messageAttachment" | "messageReaction" | "pinnedMessage" | "videoConferenceSession" | "videoParticipant" | "videoRecording" txIsolationLevel: Prisma.TransactionIsolationLevel } model: { @@ -2660,6 +2908,672 @@ export namespace Prisma { } } } + ChatRoom: { + payload: Prisma.$ChatRoomPayload + fields: Prisma.ChatRoomFieldRefs + operations: { + findUnique: { + args: Prisma.ChatRoomFindUniqueArgs + result: $Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.ChatRoomFindUniqueOrThrowArgs + result: $Utils.PayloadToResult + } + findFirst: { + args: Prisma.ChatRoomFindFirstArgs + result: $Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.ChatRoomFindFirstOrThrowArgs + result: $Utils.PayloadToResult + } + findMany: { + args: Prisma.ChatRoomFindManyArgs + result: $Utils.PayloadToResult[] + } + create: { + args: Prisma.ChatRoomCreateArgs + result: $Utils.PayloadToResult + } + createMany: { + args: Prisma.ChatRoomCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.ChatRoomCreateManyAndReturnArgs + result: $Utils.PayloadToResult[] + } + delete: { + args: Prisma.ChatRoomDeleteArgs + result: $Utils.PayloadToResult + } + update: { + args: Prisma.ChatRoomUpdateArgs + result: $Utils.PayloadToResult + } + deleteMany: { + args: Prisma.ChatRoomDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.ChatRoomUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.ChatRoomUpdateManyAndReturnArgs + result: $Utils.PayloadToResult[] + } + upsert: { + args: Prisma.ChatRoomUpsertArgs + result: $Utils.PayloadToResult + } + aggregate: { + args: Prisma.ChatRoomAggregateArgs + result: $Utils.Optional + } + groupBy: { + args: Prisma.ChatRoomGroupByArgs + result: $Utils.Optional[] + } + count: { + args: Prisma.ChatRoomCountArgs + result: $Utils.Optional | number + } + } + } + ChatParticipant: { + payload: Prisma.$ChatParticipantPayload + fields: Prisma.ChatParticipantFieldRefs + operations: { + findUnique: { + args: Prisma.ChatParticipantFindUniqueArgs + result: $Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.ChatParticipantFindUniqueOrThrowArgs + result: $Utils.PayloadToResult + } + findFirst: { + args: Prisma.ChatParticipantFindFirstArgs + result: $Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.ChatParticipantFindFirstOrThrowArgs + result: $Utils.PayloadToResult + } + findMany: { + args: Prisma.ChatParticipantFindManyArgs + result: $Utils.PayloadToResult[] + } + create: { + args: Prisma.ChatParticipantCreateArgs + result: $Utils.PayloadToResult + } + createMany: { + args: Prisma.ChatParticipantCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.ChatParticipantCreateManyAndReturnArgs + result: $Utils.PayloadToResult[] + } + delete: { + args: Prisma.ChatParticipantDeleteArgs + result: $Utils.PayloadToResult + } + update: { + args: Prisma.ChatParticipantUpdateArgs + result: $Utils.PayloadToResult + } + deleteMany: { + args: Prisma.ChatParticipantDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.ChatParticipantUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.ChatParticipantUpdateManyAndReturnArgs + result: $Utils.PayloadToResult[] + } + upsert: { + args: Prisma.ChatParticipantUpsertArgs + result: $Utils.PayloadToResult + } + aggregate: { + args: Prisma.ChatParticipantAggregateArgs + result: $Utils.Optional + } + groupBy: { + args: Prisma.ChatParticipantGroupByArgs + result: $Utils.Optional[] + } + count: { + args: Prisma.ChatParticipantCountArgs + result: $Utils.Optional | number + } + } + } + ChatMessage: { + payload: Prisma.$ChatMessagePayload + fields: Prisma.ChatMessageFieldRefs + operations: { + findUnique: { + args: Prisma.ChatMessageFindUniqueArgs + result: $Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.ChatMessageFindUniqueOrThrowArgs + result: $Utils.PayloadToResult + } + findFirst: { + args: Prisma.ChatMessageFindFirstArgs + result: $Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.ChatMessageFindFirstOrThrowArgs + result: $Utils.PayloadToResult + } + findMany: { + args: Prisma.ChatMessageFindManyArgs + result: $Utils.PayloadToResult[] + } + create: { + args: Prisma.ChatMessageCreateArgs + result: $Utils.PayloadToResult + } + createMany: { + args: Prisma.ChatMessageCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.ChatMessageCreateManyAndReturnArgs + result: $Utils.PayloadToResult[] + } + delete: { + args: Prisma.ChatMessageDeleteArgs + result: $Utils.PayloadToResult + } + update: { + args: Prisma.ChatMessageUpdateArgs + result: $Utils.PayloadToResult + } + deleteMany: { + args: Prisma.ChatMessageDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.ChatMessageUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.ChatMessageUpdateManyAndReturnArgs + result: $Utils.PayloadToResult[] + } + upsert: { + args: Prisma.ChatMessageUpsertArgs + result: $Utils.PayloadToResult + } + aggregate: { + args: Prisma.ChatMessageAggregateArgs + result: $Utils.Optional + } + groupBy: { + args: Prisma.ChatMessageGroupByArgs + result: $Utils.Optional[] + } + count: { + args: Prisma.ChatMessageCountArgs + result: $Utils.Optional | number + } + } + } + MessageAttachment: { + payload: Prisma.$MessageAttachmentPayload + fields: Prisma.MessageAttachmentFieldRefs + operations: { + findUnique: { + args: Prisma.MessageAttachmentFindUniqueArgs + result: $Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.MessageAttachmentFindUniqueOrThrowArgs + result: $Utils.PayloadToResult + } + findFirst: { + args: Prisma.MessageAttachmentFindFirstArgs + result: $Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.MessageAttachmentFindFirstOrThrowArgs + result: $Utils.PayloadToResult + } + findMany: { + args: Prisma.MessageAttachmentFindManyArgs + result: $Utils.PayloadToResult[] + } + create: { + args: Prisma.MessageAttachmentCreateArgs + result: $Utils.PayloadToResult + } + createMany: { + args: Prisma.MessageAttachmentCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.MessageAttachmentCreateManyAndReturnArgs + result: $Utils.PayloadToResult[] + } + delete: { + args: Prisma.MessageAttachmentDeleteArgs + result: $Utils.PayloadToResult + } + update: { + args: Prisma.MessageAttachmentUpdateArgs + result: $Utils.PayloadToResult + } + deleteMany: { + args: Prisma.MessageAttachmentDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.MessageAttachmentUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.MessageAttachmentUpdateManyAndReturnArgs + result: $Utils.PayloadToResult[] + } + upsert: { + args: Prisma.MessageAttachmentUpsertArgs + result: $Utils.PayloadToResult + } + aggregate: { + args: Prisma.MessageAttachmentAggregateArgs + result: $Utils.Optional + } + groupBy: { + args: Prisma.MessageAttachmentGroupByArgs + result: $Utils.Optional[] + } + count: { + args: Prisma.MessageAttachmentCountArgs + result: $Utils.Optional | number + } + } + } + MessageReaction: { + payload: Prisma.$MessageReactionPayload + fields: Prisma.MessageReactionFieldRefs + operations: { + findUnique: { + args: Prisma.MessageReactionFindUniqueArgs + result: $Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.MessageReactionFindUniqueOrThrowArgs + result: $Utils.PayloadToResult + } + findFirst: { + args: Prisma.MessageReactionFindFirstArgs + result: $Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.MessageReactionFindFirstOrThrowArgs + result: $Utils.PayloadToResult + } + findMany: { + args: Prisma.MessageReactionFindManyArgs + result: $Utils.PayloadToResult[] + } + create: { + args: Prisma.MessageReactionCreateArgs + result: $Utils.PayloadToResult + } + createMany: { + args: Prisma.MessageReactionCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.MessageReactionCreateManyAndReturnArgs + result: $Utils.PayloadToResult[] + } + delete: { + args: Prisma.MessageReactionDeleteArgs + result: $Utils.PayloadToResult + } + update: { + args: Prisma.MessageReactionUpdateArgs + result: $Utils.PayloadToResult + } + deleteMany: { + args: Prisma.MessageReactionDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.MessageReactionUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.MessageReactionUpdateManyAndReturnArgs + result: $Utils.PayloadToResult[] + } + upsert: { + args: Prisma.MessageReactionUpsertArgs + result: $Utils.PayloadToResult + } + aggregate: { + args: Prisma.MessageReactionAggregateArgs + result: $Utils.Optional + } + groupBy: { + args: Prisma.MessageReactionGroupByArgs + result: $Utils.Optional[] + } + count: { + args: Prisma.MessageReactionCountArgs + result: $Utils.Optional | number + } + } + } + PinnedMessage: { + payload: Prisma.$PinnedMessagePayload + fields: Prisma.PinnedMessageFieldRefs + operations: { + findUnique: { + args: Prisma.PinnedMessageFindUniqueArgs + result: $Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.PinnedMessageFindUniqueOrThrowArgs + result: $Utils.PayloadToResult + } + findFirst: { + args: Prisma.PinnedMessageFindFirstArgs + result: $Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.PinnedMessageFindFirstOrThrowArgs + result: $Utils.PayloadToResult + } + findMany: { + args: Prisma.PinnedMessageFindManyArgs + result: $Utils.PayloadToResult[] + } + create: { + args: Prisma.PinnedMessageCreateArgs + result: $Utils.PayloadToResult + } + createMany: { + args: Prisma.PinnedMessageCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.PinnedMessageCreateManyAndReturnArgs + result: $Utils.PayloadToResult[] + } + delete: { + args: Prisma.PinnedMessageDeleteArgs + result: $Utils.PayloadToResult + } + update: { + args: Prisma.PinnedMessageUpdateArgs + result: $Utils.PayloadToResult + } + deleteMany: { + args: Prisma.PinnedMessageDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.PinnedMessageUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.PinnedMessageUpdateManyAndReturnArgs + result: $Utils.PayloadToResult[] + } + upsert: { + args: Prisma.PinnedMessageUpsertArgs + result: $Utils.PayloadToResult + } + aggregate: { + args: Prisma.PinnedMessageAggregateArgs + result: $Utils.Optional + } + groupBy: { + args: Prisma.PinnedMessageGroupByArgs + result: $Utils.Optional[] + } + count: { + args: Prisma.PinnedMessageCountArgs + result: $Utils.Optional | number + } + } + } + VideoConferenceSession: { + payload: Prisma.$VideoConferenceSessionPayload + fields: Prisma.VideoConferenceSessionFieldRefs + operations: { + findUnique: { + args: Prisma.VideoConferenceSessionFindUniqueArgs + result: $Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.VideoConferenceSessionFindUniqueOrThrowArgs + result: $Utils.PayloadToResult + } + findFirst: { + args: Prisma.VideoConferenceSessionFindFirstArgs + result: $Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.VideoConferenceSessionFindFirstOrThrowArgs + result: $Utils.PayloadToResult + } + findMany: { + args: Prisma.VideoConferenceSessionFindManyArgs + result: $Utils.PayloadToResult[] + } + create: { + args: Prisma.VideoConferenceSessionCreateArgs + result: $Utils.PayloadToResult + } + createMany: { + args: Prisma.VideoConferenceSessionCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.VideoConferenceSessionCreateManyAndReturnArgs + result: $Utils.PayloadToResult[] + } + delete: { + args: Prisma.VideoConferenceSessionDeleteArgs + result: $Utils.PayloadToResult + } + update: { + args: Prisma.VideoConferenceSessionUpdateArgs + result: $Utils.PayloadToResult + } + deleteMany: { + args: Prisma.VideoConferenceSessionDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.VideoConferenceSessionUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.VideoConferenceSessionUpdateManyAndReturnArgs + result: $Utils.PayloadToResult[] + } + upsert: { + args: Prisma.VideoConferenceSessionUpsertArgs + result: $Utils.PayloadToResult + } + aggregate: { + args: Prisma.VideoConferenceSessionAggregateArgs + result: $Utils.Optional + } + groupBy: { + args: Prisma.VideoConferenceSessionGroupByArgs + result: $Utils.Optional[] + } + count: { + args: Prisma.VideoConferenceSessionCountArgs + result: $Utils.Optional | number + } + } + } + VideoParticipant: { + payload: Prisma.$VideoParticipantPayload + fields: Prisma.VideoParticipantFieldRefs + operations: { + findUnique: { + args: Prisma.VideoParticipantFindUniqueArgs + result: $Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.VideoParticipantFindUniqueOrThrowArgs + result: $Utils.PayloadToResult + } + findFirst: { + args: Prisma.VideoParticipantFindFirstArgs + result: $Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.VideoParticipantFindFirstOrThrowArgs + result: $Utils.PayloadToResult + } + findMany: { + args: Prisma.VideoParticipantFindManyArgs + result: $Utils.PayloadToResult[] + } + create: { + args: Prisma.VideoParticipantCreateArgs + result: $Utils.PayloadToResult + } + createMany: { + args: Prisma.VideoParticipantCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.VideoParticipantCreateManyAndReturnArgs + result: $Utils.PayloadToResult[] + } + delete: { + args: Prisma.VideoParticipantDeleteArgs + result: $Utils.PayloadToResult + } + update: { + args: Prisma.VideoParticipantUpdateArgs + result: $Utils.PayloadToResult + } + deleteMany: { + args: Prisma.VideoParticipantDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.VideoParticipantUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.VideoParticipantUpdateManyAndReturnArgs + result: $Utils.PayloadToResult[] + } + upsert: { + args: Prisma.VideoParticipantUpsertArgs + result: $Utils.PayloadToResult + } + aggregate: { + args: Prisma.VideoParticipantAggregateArgs + result: $Utils.Optional + } + groupBy: { + args: Prisma.VideoParticipantGroupByArgs + result: $Utils.Optional[] + } + count: { + args: Prisma.VideoParticipantCountArgs + result: $Utils.Optional | number + } + } + } + VideoRecording: { + payload: Prisma.$VideoRecordingPayload + fields: Prisma.VideoRecordingFieldRefs + operations: { + findUnique: { + args: Prisma.VideoRecordingFindUniqueArgs + result: $Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.VideoRecordingFindUniqueOrThrowArgs + result: $Utils.PayloadToResult + } + findFirst: { + args: Prisma.VideoRecordingFindFirstArgs + result: $Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.VideoRecordingFindFirstOrThrowArgs + result: $Utils.PayloadToResult + } + findMany: { + args: Prisma.VideoRecordingFindManyArgs + result: $Utils.PayloadToResult[] + } + create: { + args: Prisma.VideoRecordingCreateArgs + result: $Utils.PayloadToResult + } + createMany: { + args: Prisma.VideoRecordingCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.VideoRecordingCreateManyAndReturnArgs + result: $Utils.PayloadToResult[] + } + delete: { + args: Prisma.VideoRecordingDeleteArgs + result: $Utils.PayloadToResult + } + update: { + args: Prisma.VideoRecordingUpdateArgs + result: $Utils.PayloadToResult + } + deleteMany: { + args: Prisma.VideoRecordingDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.VideoRecordingUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.VideoRecordingUpdateManyAndReturnArgs + result: $Utils.PayloadToResult[] + } + upsert: { + args: Prisma.VideoRecordingUpsertArgs + result: $Utils.PayloadToResult + } + aggregate: { + args: Prisma.VideoRecordingAggregateArgs + result: $Utils.Optional + } + groupBy: { + args: Prisma.VideoRecordingGroupByArgs + result: $Utils.Optional[] + } + count: { + args: Prisma.VideoRecordingCountArgs + result: $Utils.Optional | number + } + } + } } } & { other: { @@ -2765,6 +3679,15 @@ export namespace Prisma { reportSchedule?: ReportScheduleOmit reportNotification?: ReportNotificationOmit permission?: PermissionOmit + chatRoom?: ChatRoomOmit + chatParticipant?: ChatParticipantOmit + chatMessage?: ChatMessageOmit + messageAttachment?: MessageAttachmentOmit + messageReaction?: MessageReactionOmit + pinnedMessage?: PinnedMessageOmit + videoConferenceSession?: VideoConferenceSessionOmit + videoParticipant?: VideoParticipantOmit + videoRecording?: VideoRecordingOmit } /* Types for Logging */ @@ -2879,6 +3802,13 @@ export namespace Prisma { permissions: number activityLogs: number ReportNotification: number + chatParticipations: number + sentMessages: number + messageReactions: number + pinnedMessages: number + hostedSessions: number + videoParticipations: number + videoRecordings: number } export type UserCountOutputTypeSelect = { @@ -2902,6 +3832,13 @@ export namespace Prisma { permissions?: boolean | UserCountOutputTypeCountPermissionsArgs activityLogs?: boolean | UserCountOutputTypeCountActivityLogsArgs ReportNotification?: boolean | UserCountOutputTypeCountReportNotificationArgs + chatParticipations?: boolean | UserCountOutputTypeCountChatParticipationsArgs + sentMessages?: boolean | UserCountOutputTypeCountSentMessagesArgs + messageReactions?: boolean | UserCountOutputTypeCountMessageReactionsArgs + pinnedMessages?: boolean | UserCountOutputTypeCountPinnedMessagesArgs + hostedSessions?: boolean | UserCountOutputTypeCountHostedSessionsArgs + videoParticipations?: boolean | UserCountOutputTypeCountVideoParticipationsArgs + videoRecordings?: boolean | UserCountOutputTypeCountVideoRecordingsArgs } // Custom InputTypes @@ -3055,6 +3992,55 @@ export namespace Prisma { where?: ReportNotificationWhereInput } + /** + * UserCountOutputType without action + */ + export type UserCountOutputTypeCountChatParticipationsArgs = { + where?: ChatParticipantWhereInput + } + + /** + * UserCountOutputType without action + */ + export type UserCountOutputTypeCountSentMessagesArgs = { + where?: ChatMessageWhereInput + } + + /** + * UserCountOutputType without action + */ + export type UserCountOutputTypeCountMessageReactionsArgs = { + where?: MessageReactionWhereInput + } + + /** + * UserCountOutputType without action + */ + export type UserCountOutputTypeCountPinnedMessagesArgs = { + where?: PinnedMessageWhereInput + } + + /** + * UserCountOutputType without action + */ + export type UserCountOutputTypeCountHostedSessionsArgs = { + where?: VideoConferenceSessionWhereInput + } + + /** + * UserCountOutputType without action + */ + export type UserCountOutputTypeCountVideoParticipationsArgs = { + where?: VideoParticipantWhereInput + } + + /** + * UserCountOutputType without action + */ + export type UserCountOutputTypeCountVideoRecordingsArgs = { + where?: VideoRecordingWhereInput + } + /** * Count Type OrganizationCountOutputType @@ -3520,6 +4506,171 @@ export namespace Prisma { } + /** + * Count Type ChatRoomCountOutputType + */ + + export type ChatRoomCountOutputType = { + messages: number + participants: number + pinnedMessages: number + videoSessions: number + } + + export type ChatRoomCountOutputTypeSelect = { + messages?: boolean | ChatRoomCountOutputTypeCountMessagesArgs + participants?: boolean | ChatRoomCountOutputTypeCountParticipantsArgs + pinnedMessages?: boolean | ChatRoomCountOutputTypeCountPinnedMessagesArgs + videoSessions?: boolean | ChatRoomCountOutputTypeCountVideoSessionsArgs + } + + // Custom InputTypes + /** + * ChatRoomCountOutputType without action + */ + export type ChatRoomCountOutputTypeDefaultArgs = { + /** + * Select specific fields to fetch from the ChatRoomCountOutputType + */ + select?: ChatRoomCountOutputTypeSelect | null + } + + /** + * ChatRoomCountOutputType without action + */ + export type ChatRoomCountOutputTypeCountMessagesArgs = { + where?: ChatMessageWhereInput + } + + /** + * ChatRoomCountOutputType without action + */ + export type ChatRoomCountOutputTypeCountParticipantsArgs = { + where?: ChatParticipantWhereInput + } + + /** + * ChatRoomCountOutputType without action + */ + export type ChatRoomCountOutputTypeCountPinnedMessagesArgs = { + where?: PinnedMessageWhereInput + } + + /** + * ChatRoomCountOutputType without action + */ + export type ChatRoomCountOutputTypeCountVideoSessionsArgs = { + where?: VideoConferenceSessionWhereInput + } + + + /** + * Count Type ChatMessageCountOutputType + */ + + export type ChatMessageCountOutputType = { + replies: number + attachments: number + reactions: number + readBy: number + pinnedIn: number + } + + export type ChatMessageCountOutputTypeSelect = { + replies?: boolean | ChatMessageCountOutputTypeCountRepliesArgs + attachments?: boolean | ChatMessageCountOutputTypeCountAttachmentsArgs + reactions?: boolean | ChatMessageCountOutputTypeCountReactionsArgs + readBy?: boolean | ChatMessageCountOutputTypeCountReadByArgs + pinnedIn?: boolean | ChatMessageCountOutputTypeCountPinnedInArgs + } + + // Custom InputTypes + /** + * ChatMessageCountOutputType without action + */ + export type ChatMessageCountOutputTypeDefaultArgs = { + /** + * Select specific fields to fetch from the ChatMessageCountOutputType + */ + select?: ChatMessageCountOutputTypeSelect | null + } + + /** + * ChatMessageCountOutputType without action + */ + export type ChatMessageCountOutputTypeCountRepliesArgs = { + where?: ChatMessageWhereInput + } + + /** + * ChatMessageCountOutputType without action + */ + export type ChatMessageCountOutputTypeCountAttachmentsArgs = { + where?: MessageAttachmentWhereInput + } + + /** + * ChatMessageCountOutputType without action + */ + export type ChatMessageCountOutputTypeCountReactionsArgs = { + where?: MessageReactionWhereInput + } + + /** + * ChatMessageCountOutputType without action + */ + export type ChatMessageCountOutputTypeCountReadByArgs = { + where?: ChatParticipantWhereInput + } + + /** + * ChatMessageCountOutputType without action + */ + export type ChatMessageCountOutputTypeCountPinnedInArgs = { + where?: PinnedMessageWhereInput + } + + + /** + * Count Type VideoConferenceSessionCountOutputType + */ + + export type VideoConferenceSessionCountOutputType = { + participants: number + recordings: number + } + + export type VideoConferenceSessionCountOutputTypeSelect = { + participants?: boolean | VideoConferenceSessionCountOutputTypeCountParticipantsArgs + recordings?: boolean | VideoConferenceSessionCountOutputTypeCountRecordingsArgs + } + + // Custom InputTypes + /** + * VideoConferenceSessionCountOutputType without action + */ + export type VideoConferenceSessionCountOutputTypeDefaultArgs = { + /** + * Select specific fields to fetch from the VideoConferenceSessionCountOutputType + */ + select?: VideoConferenceSessionCountOutputTypeSelect | null + } + + /** + * VideoConferenceSessionCountOutputType without action + */ + export type VideoConferenceSessionCountOutputTypeCountParticipantsArgs = { + where?: VideoParticipantWhereInput + } + + /** + * VideoConferenceSessionCountOutputType without action + */ + export type VideoConferenceSessionCountOutputTypeCountRecordingsArgs = { + where?: VideoRecordingWhereInput + } + + /** * Models */ @@ -3890,6 +5041,13 @@ export namespace Prisma { permissions?: boolean | User$permissionsArgs activityLogs?: boolean | User$activityLogsArgs ReportNotification?: boolean | User$ReportNotificationArgs + chatParticipations?: boolean | User$chatParticipationsArgs + sentMessages?: boolean | User$sentMessagesArgs + messageReactions?: boolean | User$messageReactionsArgs + pinnedMessages?: boolean | User$pinnedMessagesArgs + hostedSessions?: boolean | User$hostedSessionsArgs + videoParticipations?: boolean | User$videoParticipationsArgs + videoRecordings?: boolean | User$videoRecordingsArgs _count?: boolean | UserCountOutputTypeDefaultArgs }, ExtArgs["result"]["user"]> @@ -4014,6 +5172,13 @@ export namespace Prisma { permissions?: boolean | User$permissionsArgs activityLogs?: boolean | User$activityLogsArgs ReportNotification?: boolean | User$ReportNotificationArgs + chatParticipations?: boolean | User$chatParticipationsArgs + sentMessages?: boolean | User$sentMessagesArgs + messageReactions?: boolean | User$messageReactionsArgs + pinnedMessages?: boolean | User$pinnedMessagesArgs + hostedSessions?: boolean | User$hostedSessionsArgs + videoParticipations?: boolean | User$videoParticipationsArgs + videoRecordings?: boolean | User$videoRecordingsArgs _count?: boolean | UserCountOutputTypeDefaultArgs } export type UserIncludeCreateManyAndReturn = { @@ -4050,6 +5215,13 @@ export namespace Prisma { permissions: Prisma.$PermissionPayload[] activityLogs: Prisma.$ActivityLogPayload[] ReportNotification: Prisma.$ReportNotificationPayload[] + chatParticipations: Prisma.$ChatParticipantPayload[] + sentMessages: Prisma.$ChatMessagePayload[] + messageReactions: Prisma.$MessageReactionPayload[] + pinnedMessages: Prisma.$PinnedMessagePayload[] + hostedSessions: Prisma.$VideoConferenceSessionPayload[] + videoParticipations: Prisma.$VideoParticipantPayload[] + videoRecordings: Prisma.$VideoRecordingPayload[] } scalars: $Extensions.GetPayloadResult<{ id: string @@ -4496,6 +5668,13 @@ export namespace Prisma { permissions = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> activityLogs = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> ReportNotification = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> + chatParticipations = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> + sentMessages = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> + messageReactions = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> + pinnedMessages = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> + hostedSessions = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> + videoParticipations = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> + videoRecordings = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, 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. @@ -5466,6 +6645,174 @@ export namespace Prisma { distinct?: ReportNotificationScalarFieldEnum | ReportNotificationScalarFieldEnum[] } + /** + * User.chatParticipations + */ + export type User$chatParticipationsArgs = { + /** + * Select specific fields to fetch from the ChatParticipant + */ + select?: ChatParticipantSelect | null + /** + * Omit specific fields from the ChatParticipant + */ + omit?: ChatParticipantOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: ChatParticipantInclude | null + where?: ChatParticipantWhereInput + orderBy?: ChatParticipantOrderByWithRelationInput | ChatParticipantOrderByWithRelationInput[] + cursor?: ChatParticipantWhereUniqueInput + take?: number + skip?: number + distinct?: ChatParticipantScalarFieldEnum | ChatParticipantScalarFieldEnum[] + } + + /** + * User.sentMessages + */ + export type User$sentMessagesArgs = { + /** + * Select specific fields to fetch from the ChatMessage + */ + select?: ChatMessageSelect | null + /** + * Omit specific fields from the ChatMessage + */ + omit?: ChatMessageOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: ChatMessageInclude | null + where?: ChatMessageWhereInput + orderBy?: ChatMessageOrderByWithRelationInput | ChatMessageOrderByWithRelationInput[] + cursor?: ChatMessageWhereUniqueInput + take?: number + skip?: number + distinct?: ChatMessageScalarFieldEnum | ChatMessageScalarFieldEnum[] + } + + /** + * User.messageReactions + */ + export type User$messageReactionsArgs = { + /** + * Select specific fields to fetch from the MessageReaction + */ + select?: MessageReactionSelect | null + /** + * Omit specific fields from the MessageReaction + */ + omit?: MessageReactionOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: MessageReactionInclude | null + where?: MessageReactionWhereInput + orderBy?: MessageReactionOrderByWithRelationInput | MessageReactionOrderByWithRelationInput[] + cursor?: MessageReactionWhereUniqueInput + take?: number + skip?: number + distinct?: MessageReactionScalarFieldEnum | MessageReactionScalarFieldEnum[] + } + + /** + * User.pinnedMessages + */ + export type User$pinnedMessagesArgs = { + /** + * Select specific fields to fetch from the PinnedMessage + */ + select?: PinnedMessageSelect | null + /** + * Omit specific fields from the PinnedMessage + */ + omit?: PinnedMessageOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: PinnedMessageInclude | null + where?: PinnedMessageWhereInput + orderBy?: PinnedMessageOrderByWithRelationInput | PinnedMessageOrderByWithRelationInput[] + cursor?: PinnedMessageWhereUniqueInput + take?: number + skip?: number + distinct?: PinnedMessageScalarFieldEnum | PinnedMessageScalarFieldEnum[] + } + + /** + * User.hostedSessions + */ + export type User$hostedSessionsArgs = { + /** + * Select specific fields to fetch from the VideoConferenceSession + */ + select?: VideoConferenceSessionSelect | null + /** + * Omit specific fields from the VideoConferenceSession + */ + omit?: VideoConferenceSessionOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: VideoConferenceSessionInclude | null + where?: VideoConferenceSessionWhereInput + orderBy?: VideoConferenceSessionOrderByWithRelationInput | VideoConferenceSessionOrderByWithRelationInput[] + cursor?: VideoConferenceSessionWhereUniqueInput + take?: number + skip?: number + distinct?: VideoConferenceSessionScalarFieldEnum | VideoConferenceSessionScalarFieldEnum[] + } + + /** + * User.videoParticipations + */ + export type User$videoParticipationsArgs = { + /** + * Select specific fields to fetch from the VideoParticipant + */ + select?: VideoParticipantSelect | null + /** + * Omit specific fields from the VideoParticipant + */ + omit?: VideoParticipantOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: VideoParticipantInclude | null + where?: VideoParticipantWhereInput + orderBy?: VideoParticipantOrderByWithRelationInput | VideoParticipantOrderByWithRelationInput[] + cursor?: VideoParticipantWhereUniqueInput + take?: number + skip?: number + distinct?: VideoParticipantScalarFieldEnum | VideoParticipantScalarFieldEnum[] + } + + /** + * User.videoRecordings + */ + export type User$videoRecordingsArgs = { + /** + * Select specific fields to fetch from the VideoRecording + */ + select?: VideoRecordingSelect | null + /** + * Omit specific fields from the VideoRecording + */ + omit?: VideoRecordingOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: VideoRecordingInclude | null + where?: VideoRecordingWhereInput + orderBy?: VideoRecordingOrderByWithRelationInput | VideoRecordingOrderByWithRelationInput[] + cursor?: VideoRecordingWhereUniqueInput + take?: number + skip?: number + distinct?: VideoRecordingScalarFieldEnum | VideoRecordingScalarFieldEnum[] + } + /** * User without action */ @@ -29601,157 +30948,10712 @@ export namespace Prisma { /** - * Enums + * Model ChatRoom */ - export const TransactionIsolationLevel: { - ReadUncommitted: 'ReadUncommitted', - ReadCommitted: 'ReadCommitted', - RepeatableRead: 'RepeatableRead', - Serializable: 'Serializable' - }; + export type AggregateChatRoom = { + _count: ChatRoomCountAggregateOutputType | null + _min: ChatRoomMinAggregateOutputType | null + _max: ChatRoomMaxAggregateOutputType | null + } - export type TransactionIsolationLevel = (typeof TransactionIsolationLevel)[keyof typeof TransactionIsolationLevel] + export type ChatRoomMinAggregateOutputType = { + id: string | null + name: string | null + description: string | null + type: $Enums.ChatRoomType | null + entityType: $Enums.EntityType | null + entityId: string | null + createdAt: Date | null + updatedAt: Date | null + isActive: boolean | null + isArchived: boolean | null + archivedAt: Date | null + avatarUrl: string | null + lastMessageAt: Date | null + } + export type ChatRoomMaxAggregateOutputType = { + id: string | null + name: string | null + description: string | null + type: $Enums.ChatRoomType | null + entityType: $Enums.EntityType | null + entityId: string | null + createdAt: Date | null + updatedAt: Date | null + isActive: boolean | null + isArchived: boolean | null + archivedAt: Date | null + avatarUrl: string | null + lastMessageAt: Date | null + } - export const UserScalarFieldEnum: { - id: 'id', - email: 'email', - username: 'username', - password: 'password', - firebaseUid: 'firebaseUid', - firstName: 'firstName', - lastName: 'lastName', - role: 'role', - profilePic: 'profilePic', - departmentId: 'departmentId', - organizationId: 'organizationId', - isOwner: 'isOwner', - createdAt: 'createdAt', - updatedAt: 'updatedAt', - isActive: 'isActive', - deletedAt: 'deletedAt', - phoneNumber: 'phoneNumber', - jobTitle: 'jobTitle', - timezone: 'timezone', - bio: 'bio', - preferences: 'preferences', - emailVerificationToken: 'emailVerificationToken', - emailVerificationExpires: 'emailVerificationExpires', - passwordResetToken: 'passwordResetToken', - passwordResetExpires: 'passwordResetExpires', - refreshToken: 'refreshToken', - lastLogin: 'lastLogin', - lastLogout: 'lastLogout' - }; + export type ChatRoomCountAggregateOutputType = { + id: number + name: number + description: number + type: number + entityType: number + entityId: number + createdAt: number + updatedAt: number + isActive: number + isArchived: number + archivedAt: number + avatarUrl: number + lastMessageAt: number + _all: number + } - export type UserScalarFieldEnum = (typeof UserScalarFieldEnum)[keyof typeof UserScalarFieldEnum] + export type ChatRoomMinAggregateInputType = { + id?: true + name?: true + description?: true + type?: true + entityType?: true + entityId?: true + createdAt?: true + updatedAt?: true + isActive?: true + isArchived?: true + archivedAt?: true + avatarUrl?: true + lastMessageAt?: true + } - export const OrganizationScalarFieldEnum: { - id: 'id', - name: 'name', - description: 'description', - industry: 'industry', - sizeRange: 'sizeRange', - website: 'website', - logoUrl: 'logoUrl', - isVerified: 'isVerified', - status: 'status', - createdAt: 'createdAt', - updatedAt: 'updatedAt', - deletedAt: 'deletedAt', - createdBy: 'createdBy', - address: 'address', - contactEmail: 'contactEmail', - contactPhone: 'contactPhone', - emailVerificationOTP: 'emailVerificationOTP', - emailVerificationExpires: 'emailVerificationExpires' - }; + export type ChatRoomMaxAggregateInputType = { + id?: true + name?: true + description?: true + type?: true + entityType?: true + entityId?: true + createdAt?: true + updatedAt?: true + isActive?: true + isArchived?: true + archivedAt?: true + avatarUrl?: true + lastMessageAt?: true + } - export type OrganizationScalarFieldEnum = (typeof OrganizationScalarFieldEnum)[keyof typeof OrganizationScalarFieldEnum] + export type ChatRoomCountAggregateInputType = { + id?: true + name?: true + description?: true + type?: true + entityType?: true + entityId?: true + createdAt?: true + updatedAt?: true + isActive?: true + isArchived?: true + archivedAt?: true + avatarUrl?: true + lastMessageAt?: true + _all?: true + } + export type ChatRoomAggregateArgs = { + /** + * Filter which ChatRoom to aggregate. + */ + where?: ChatRoomWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of ChatRooms to fetch. + */ + orderBy?: ChatRoomOrderByWithRelationInput | ChatRoomOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: ChatRoomWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` ChatRooms 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` ChatRooms. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned ChatRooms + **/ + _count?: true | ChatRoomCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: ChatRoomMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: ChatRoomMaxAggregateInputType + } - export const OrganizationOwnerScalarFieldEnum: { - id: 'id', - organizationId: 'organizationId', - userId: 'userId', - createdAt: 'createdAt', - updatedAt: 'updatedAt' - }; + export type GetChatRoomAggregateType = { + [P in keyof T & keyof AggregateChatRoom]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : GetScalarType + : GetScalarType + } - export type OrganizationOwnerScalarFieldEnum = (typeof OrganizationOwnerScalarFieldEnum)[keyof typeof OrganizationOwnerScalarFieldEnum] - export const DepartmentScalarFieldEnum: { - id: 'id', - name: 'name', - description: 'description', - organizationId: 'organizationId', - managerId: 'managerId', - createdAt: 'createdAt', - updatedAt: 'updatedAt', - deletedAt: 'deletedAt' - }; - export type DepartmentScalarFieldEnum = (typeof DepartmentScalarFieldEnum)[keyof typeof DepartmentScalarFieldEnum] + export type ChatRoomGroupByArgs = { + where?: ChatRoomWhereInput + orderBy?: ChatRoomOrderByWithAggregationInput | ChatRoomOrderByWithAggregationInput[] + by: ChatRoomScalarFieldEnum[] | ChatRoomScalarFieldEnum + having?: ChatRoomScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: ChatRoomCountAggregateInputType | true + _min?: ChatRoomMinAggregateInputType + _max?: ChatRoomMaxAggregateInputType + } + export type ChatRoomGroupByOutputType = { + id: string + name: string + description: string | null + type: $Enums.ChatRoomType + entityType: $Enums.EntityType + entityId: string + createdAt: Date + updatedAt: Date + isActive: boolean + isArchived: boolean + archivedAt: Date | null + avatarUrl: string | null + lastMessageAt: Date | null + _count: ChatRoomCountAggregateOutputType | null + _min: ChatRoomMinAggregateOutputType | null + _max: ChatRoomMaxAggregateOutputType | null + } - export const TeamScalarFieldEnum: { - id: 'id', - name: 'name', - description: 'description', - createdBy: 'createdBy', - organizationId: 'organizationId', - departmentId: 'departmentId', - createdAt: 'createdAt', - updatedAt: 'updatedAt', - deletedAt: 'deletedAt', - avatar: 'avatar' - }; + type GetChatRoomGroupByPayload = Prisma.PrismaPromise< + Array< + PickEnumerable & + { + [P in ((keyof T) & (keyof ChatRoomGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : GetScalarType + : GetScalarType + } + > + > - export type TeamScalarFieldEnum = (typeof TeamScalarFieldEnum)[keyof typeof TeamScalarFieldEnum] + export type ChatRoomSelect = $Extensions.GetSelect<{ + id?: boolean + name?: boolean + description?: boolean + type?: boolean + entityType?: boolean + entityId?: boolean + createdAt?: boolean + updatedAt?: boolean + isActive?: boolean + isArchived?: boolean + archivedAt?: boolean + avatarUrl?: boolean + lastMessageAt?: boolean + messages?: boolean | ChatRoom$messagesArgs + participants?: boolean | ChatRoom$participantsArgs + pinnedMessages?: boolean | ChatRoom$pinnedMessagesArgs + videoSessions?: boolean | ChatRoom$videoSessionsArgs + _count?: boolean | ChatRoomCountOutputTypeDefaultArgs + }, ExtArgs["result"]["chatRoom"]> + + export type ChatRoomSelectCreateManyAndReturn = $Extensions.GetSelect<{ + id?: boolean + name?: boolean + description?: boolean + type?: boolean + entityType?: boolean + entityId?: boolean + createdAt?: boolean + updatedAt?: boolean + isActive?: boolean + isArchived?: boolean + archivedAt?: boolean + avatarUrl?: boolean + lastMessageAt?: boolean + }, ExtArgs["result"]["chatRoom"]> - export const TeamMemberScalarFieldEnum: { - id: 'id', - teamId: 'teamId', - userId: 'userId', - role: 'role', - joinedAt: 'joinedAt', - isActive: 'isActive', - deletedAt: 'deletedAt' - }; + export type ChatRoomSelectUpdateManyAndReturn = $Extensions.GetSelect<{ + id?: boolean + name?: boolean + description?: boolean + type?: boolean + entityType?: boolean + entityId?: boolean + createdAt?: boolean + updatedAt?: boolean + isActive?: boolean + isArchived?: boolean + archivedAt?: boolean + avatarUrl?: boolean + lastMessageAt?: boolean + }, ExtArgs["result"]["chatRoom"]> - export type TeamMemberScalarFieldEnum = (typeof TeamMemberScalarFieldEnum)[keyof typeof TeamMemberScalarFieldEnum] + export type ChatRoomSelectScalar = { + id?: boolean + name?: boolean + description?: boolean + type?: boolean + entityType?: boolean + entityId?: boolean + createdAt?: boolean + updatedAt?: boolean + isActive?: boolean + isArchived?: boolean + archivedAt?: boolean + avatarUrl?: boolean + lastMessageAt?: boolean + } + export type ChatRoomOmit = $Extensions.GetOmit<"id" | "name" | "description" | "type" | "entityType" | "entityId" | "createdAt" | "updatedAt" | "isActive" | "isArchived" | "archivedAt" | "avatarUrl" | "lastMessageAt", ExtArgs["result"]["chatRoom"]> + export type ChatRoomInclude = { + messages?: boolean | ChatRoom$messagesArgs + participants?: boolean | ChatRoom$participantsArgs + pinnedMessages?: boolean | ChatRoom$pinnedMessagesArgs + videoSessions?: boolean | ChatRoom$videoSessionsArgs + _count?: boolean | ChatRoomCountOutputTypeDefaultArgs + } + export type ChatRoomIncludeCreateManyAndReturn = {} + export type ChatRoomIncludeUpdateManyAndReturn = {} - export const ProjectScalarFieldEnum: { - id: 'id', - name: 'name', - description: 'description', - status: 'status', - createdBy: 'createdBy', - organizationId: 'organizationId', - teamId: 'teamId', - startDate: 'startDate', - endDate: 'endDate', - createdAt: 'createdAt', - updatedAt: 'updatedAt', - deletedAt: 'deletedAt', - priority: 'priority', - progress: 'progress', - budget: 'budget', - lastModifiedBy: 'lastModifiedBy' - }; + export type $ChatRoomPayload = { + name: "ChatRoom" + objects: { + messages: Prisma.$ChatMessagePayload[] + participants: Prisma.$ChatParticipantPayload[] + pinnedMessages: Prisma.$PinnedMessagePayload[] + videoSessions: Prisma.$VideoConferenceSessionPayload[] + } + scalars: $Extensions.GetPayloadResult<{ + id: string + name: string + description: string | null + type: $Enums.ChatRoomType + entityType: $Enums.EntityType + entityId: string + createdAt: Date + updatedAt: Date + isActive: boolean + isArchived: boolean + archivedAt: Date | null + avatarUrl: string | null + lastMessageAt: Date | null + }, ExtArgs["result"]["chatRoom"]> + composites: {} + } - export type ProjectScalarFieldEnum = (typeof ProjectScalarFieldEnum)[keyof typeof ProjectScalarFieldEnum] + type ChatRoomGetPayload = $Result.GetResult + type ChatRoomCountArgs = + Omit & { + select?: ChatRoomCountAggregateInputType | true + } - export const ProjectMemberScalarFieldEnum: { - id: 'id', - projectId: 'projectId', - userId: 'userId', + export interface ChatRoomDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['ChatRoom'], meta: { name: 'ChatRoom' } } + /** + * Find zero or one ChatRoom that matches the filter. + * @param {ChatRoomFindUniqueArgs} args - Arguments to find a ChatRoom + * @example + * // Get one ChatRoom + * const chatRoom = await prisma.chatRoom.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: SelectSubset>): Prisma__ChatRoomClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one ChatRoom that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {ChatRoomFindUniqueOrThrowArgs} args - Arguments to find a ChatRoom + * @example + * // Get one ChatRoom + * const chatRoom = await prisma.chatRoom.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: SelectSubset>): Prisma__ChatRoomClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first ChatRoom 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 {ChatRoomFindFirstArgs} args - Arguments to find a ChatRoom + * @example + * // Get one ChatRoom + * const chatRoom = await prisma.chatRoom.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: SelectSubset>): Prisma__ChatRoomClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first ChatRoom 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 {ChatRoomFindFirstOrThrowArgs} args - Arguments to find a ChatRoom + * @example + * // Get one ChatRoom + * const chatRoom = await prisma.chatRoom.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: SelectSubset>): Prisma__ChatRoomClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more ChatRooms 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 {ChatRoomFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all ChatRooms + * const chatRooms = await prisma.chatRoom.findMany() + * + * // Get first 10 ChatRooms + * const chatRooms = await prisma.chatRoom.findMany({ take: 10 }) + * + * // Only select the `id` + * const chatRoomWithIdOnly = await prisma.chatRoom.findMany({ select: { id: true } }) + * + */ + findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> + + /** + * Create a ChatRoom. + * @param {ChatRoomCreateArgs} args - Arguments to create a ChatRoom. + * @example + * // Create one ChatRoom + * const ChatRoom = await prisma.chatRoom.create({ + * data: { + * // ... data to create a ChatRoom + * } + * }) + * + */ + create(args: SelectSubset>): Prisma__ChatRoomClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many ChatRooms. + * @param {ChatRoomCreateManyArgs} args - Arguments to create many ChatRooms. + * @example + * // Create many ChatRooms + * const chatRoom = await prisma.chatRoom.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: SelectSubset>): Prisma.PrismaPromise + + /** + * Create many ChatRooms and returns the data saved in the database. + * @param {ChatRoomCreateManyAndReturnArgs} args - Arguments to create many ChatRooms. + * @example + * // Create many ChatRooms + * const chatRoom = await prisma.chatRoom.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many ChatRooms and only return the `id` + * const chatRoomWithIdOnly = await prisma.chatRoom.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?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a ChatRoom. + * @param {ChatRoomDeleteArgs} args - Arguments to delete one ChatRoom. + * @example + * // Delete one ChatRoom + * const ChatRoom = await prisma.chatRoom.delete({ + * where: { + * // ... filter to delete one ChatRoom + * } + * }) + * + */ + delete(args: SelectSubset>): Prisma__ChatRoomClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one ChatRoom. + * @param {ChatRoomUpdateArgs} args - Arguments to update one ChatRoom. + * @example + * // Update one ChatRoom + * const chatRoom = await prisma.chatRoom.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: SelectSubset>): Prisma__ChatRoomClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more ChatRooms. + * @param {ChatRoomDeleteManyArgs} args - Arguments to filter ChatRooms to delete. + * @example + * // Delete a few ChatRooms + * const { count } = await prisma.chatRoom.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more ChatRooms. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {ChatRoomUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many ChatRooms + * const chatRoom = await prisma.chatRoom.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more ChatRooms and returns the data updated in the database. + * @param {ChatRoomUpdateManyAndReturnArgs} args - Arguments to update many ChatRooms. + * @example + * // Update many ChatRooms + * const chatRoom = await prisma.chatRoom.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more ChatRooms and only return the `id` + * const chatRoomWithIdOnly = await prisma.chatRoom.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: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one ChatRoom. + * @param {ChatRoomUpsertArgs} args - Arguments to update or create a ChatRoom. + * @example + * // Update or create a ChatRoom + * const chatRoom = await prisma.chatRoom.upsert({ + * create: { + * // ... data to create a ChatRoom + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the ChatRoom we want to update + * } + * }) + */ + upsert(args: SelectSubset>): Prisma__ChatRoomClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of ChatRooms. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {ChatRoomCountArgs} args - Arguments to filter ChatRooms to count. + * @example + * // Count the number of ChatRooms + * const count = await prisma.chatRoom.count({ + * where: { + * // ... the filter for the ChatRooms we want to count + * } + * }) + **/ + count( + args?: Subset, + ): Prisma.PrismaPromise< + T extends $Utils.Record<'select', any> + ? T['select'] extends true + ? number + : GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a ChatRoom. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {ChatRoomAggregateArgs} 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: Subset): Prisma.PrismaPromise> + + /** + * Group by ChatRoom. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {ChatRoomGroupByArgs} 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 ChatRoomGroupByArgs, + HasSelectOrTake extends Or< + Extends<'skip', Keys>, + Extends<'take', Keys> + >, + OrderByArg extends True extends HasSelectOrTake + ? { orderBy: ChatRoomGroupByArgs['orderBy'] } + : { orderBy?: ChatRoomGroupByArgs['orderBy'] }, + OrderFields extends ExcludeUnderscoreKeys>>, + ByFields extends MaybeTupleToUnion, + ByValid extends Has, + HavingFields extends GetHavingFields, + HavingValid extends Has, + ByEmpty extends T['by'] extends never[] ? True : False, + InputErrors extends ByEmpty extends True + ? `Error: "by" must not be empty.` + : HavingValid extends 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 Keys + ? 'orderBy' extends Keys + ? ByValid extends 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 Keys + ? 'orderBy' extends Keys + ? ByValid extends 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 True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: SubsetIntersection & InputErrors): {} extends InputErrors ? GetChatRoomGroupByPayload : Prisma.PrismaPromise + /** + * Fields of the ChatRoom model + */ + readonly fields: ChatRoomFieldRefs; + } + + /** + * The delegate class that acts as a "Promise-like" for ChatRoom. + * 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__ChatRoomClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + messages = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> + participants = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> + pinnedMessages = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> + videoSessions = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, 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): $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): $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): $Utils.JsPromise + } + + + + + /** + * Fields of the ChatRoom model + */ + interface ChatRoomFieldRefs { + readonly id: FieldRef<"ChatRoom", 'String'> + readonly name: FieldRef<"ChatRoom", 'String'> + readonly description: FieldRef<"ChatRoom", 'String'> + readonly type: FieldRef<"ChatRoom", 'ChatRoomType'> + readonly entityType: FieldRef<"ChatRoom", 'EntityType'> + readonly entityId: FieldRef<"ChatRoom", 'String'> + readonly createdAt: FieldRef<"ChatRoom", 'DateTime'> + readonly updatedAt: FieldRef<"ChatRoom", 'DateTime'> + readonly isActive: FieldRef<"ChatRoom", 'Boolean'> + readonly isArchived: FieldRef<"ChatRoom", 'Boolean'> + readonly archivedAt: FieldRef<"ChatRoom", 'DateTime'> + readonly avatarUrl: FieldRef<"ChatRoom", 'String'> + readonly lastMessageAt: FieldRef<"ChatRoom", 'DateTime'> + } + + + // Custom InputTypes + /** + * ChatRoom findUnique + */ + export type ChatRoomFindUniqueArgs = { + /** + * Select specific fields to fetch from the ChatRoom + */ + select?: ChatRoomSelect | null + /** + * Omit specific fields from the ChatRoom + */ + omit?: ChatRoomOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: ChatRoomInclude | null + /** + * Filter, which ChatRoom to fetch. + */ + where: ChatRoomWhereUniqueInput + } + + /** + * ChatRoom findUniqueOrThrow + */ + export type ChatRoomFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the ChatRoom + */ + select?: ChatRoomSelect | null + /** + * Omit specific fields from the ChatRoom + */ + omit?: ChatRoomOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: ChatRoomInclude | null + /** + * Filter, which ChatRoom to fetch. + */ + where: ChatRoomWhereUniqueInput + } + + /** + * ChatRoom findFirst + */ + export type ChatRoomFindFirstArgs = { + /** + * Select specific fields to fetch from the ChatRoom + */ + select?: ChatRoomSelect | null + /** + * Omit specific fields from the ChatRoom + */ + omit?: ChatRoomOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: ChatRoomInclude | null + /** + * Filter, which ChatRoom to fetch. + */ + where?: ChatRoomWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of ChatRooms to fetch. + */ + orderBy?: ChatRoomOrderByWithRelationInput | ChatRoomOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for ChatRooms. + */ + cursor?: ChatRoomWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` ChatRooms 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` ChatRooms. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of ChatRooms. + */ + distinct?: ChatRoomScalarFieldEnum | ChatRoomScalarFieldEnum[] + } + + /** + * ChatRoom findFirstOrThrow + */ + export type ChatRoomFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the ChatRoom + */ + select?: ChatRoomSelect | null + /** + * Omit specific fields from the ChatRoom + */ + omit?: ChatRoomOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: ChatRoomInclude | null + /** + * Filter, which ChatRoom to fetch. + */ + where?: ChatRoomWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of ChatRooms to fetch. + */ + orderBy?: ChatRoomOrderByWithRelationInput | ChatRoomOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for ChatRooms. + */ + cursor?: ChatRoomWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` ChatRooms 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` ChatRooms. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of ChatRooms. + */ + distinct?: ChatRoomScalarFieldEnum | ChatRoomScalarFieldEnum[] + } + + /** + * ChatRoom findMany + */ + export type ChatRoomFindManyArgs = { + /** + * Select specific fields to fetch from the ChatRoom + */ + select?: ChatRoomSelect | null + /** + * Omit specific fields from the ChatRoom + */ + omit?: ChatRoomOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: ChatRoomInclude | null + /** + * Filter, which ChatRooms to fetch. + */ + where?: ChatRoomWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of ChatRooms to fetch. + */ + orderBy?: ChatRoomOrderByWithRelationInput | ChatRoomOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing ChatRooms. + */ + cursor?: ChatRoomWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` ChatRooms 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` ChatRooms. + */ + skip?: number + distinct?: ChatRoomScalarFieldEnum | ChatRoomScalarFieldEnum[] + } + + /** + * ChatRoom create + */ + export type ChatRoomCreateArgs = { + /** + * Select specific fields to fetch from the ChatRoom + */ + select?: ChatRoomSelect | null + /** + * Omit specific fields from the ChatRoom + */ + omit?: ChatRoomOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: ChatRoomInclude | null + /** + * The data needed to create a ChatRoom. + */ + data: XOR + } + + /** + * ChatRoom createMany + */ + export type ChatRoomCreateManyArgs = { + /** + * The data used to create many ChatRooms. + */ + data: ChatRoomCreateManyInput | ChatRoomCreateManyInput[] + skipDuplicates?: boolean + } + + /** + * ChatRoom createManyAndReturn + */ + export type ChatRoomCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the ChatRoom + */ + select?: ChatRoomSelectCreateManyAndReturn | null + /** + * Omit specific fields from the ChatRoom + */ + omit?: ChatRoomOmit | null + /** + * The data used to create many ChatRooms. + */ + data: ChatRoomCreateManyInput | ChatRoomCreateManyInput[] + skipDuplicates?: boolean + } + + /** + * ChatRoom update + */ + export type ChatRoomUpdateArgs = { + /** + * Select specific fields to fetch from the ChatRoom + */ + select?: ChatRoomSelect | null + /** + * Omit specific fields from the ChatRoom + */ + omit?: ChatRoomOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: ChatRoomInclude | null + /** + * The data needed to update a ChatRoom. + */ + data: XOR + /** + * Choose, which ChatRoom to update. + */ + where: ChatRoomWhereUniqueInput + } + + /** + * ChatRoom updateMany + */ + export type ChatRoomUpdateManyArgs = { + /** + * The data used to update ChatRooms. + */ + data: XOR + /** + * Filter which ChatRooms to update + */ + where?: ChatRoomWhereInput + /** + * Limit how many ChatRooms to update. + */ + limit?: number + } + + /** + * ChatRoom updateManyAndReturn + */ + export type ChatRoomUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the ChatRoom + */ + select?: ChatRoomSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the ChatRoom + */ + omit?: ChatRoomOmit | null + /** + * The data used to update ChatRooms. + */ + data: XOR + /** + * Filter which ChatRooms to update + */ + where?: ChatRoomWhereInput + /** + * Limit how many ChatRooms to update. + */ + limit?: number + } + + /** + * ChatRoom upsert + */ + export type ChatRoomUpsertArgs = { + /** + * Select specific fields to fetch from the ChatRoom + */ + select?: ChatRoomSelect | null + /** + * Omit specific fields from the ChatRoom + */ + omit?: ChatRoomOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: ChatRoomInclude | null + /** + * The filter to search for the ChatRoom to update in case it exists. + */ + where: ChatRoomWhereUniqueInput + /** + * In case the ChatRoom found by the `where` argument doesn't exist, create a new ChatRoom with this data. + */ + create: XOR + /** + * In case the ChatRoom was found with the provided `where` argument, update it with this data. + */ + update: XOR + } + + /** + * ChatRoom delete + */ + export type ChatRoomDeleteArgs = { + /** + * Select specific fields to fetch from the ChatRoom + */ + select?: ChatRoomSelect | null + /** + * Omit specific fields from the ChatRoom + */ + omit?: ChatRoomOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: ChatRoomInclude | null + /** + * Filter which ChatRoom to delete. + */ + where: ChatRoomWhereUniqueInput + } + + /** + * ChatRoom deleteMany + */ + export type ChatRoomDeleteManyArgs = { + /** + * Filter which ChatRooms to delete + */ + where?: ChatRoomWhereInput + /** + * Limit how many ChatRooms to delete. + */ + limit?: number + } + + /** + * ChatRoom.messages + */ + export type ChatRoom$messagesArgs = { + /** + * Select specific fields to fetch from the ChatMessage + */ + select?: ChatMessageSelect | null + /** + * Omit specific fields from the ChatMessage + */ + omit?: ChatMessageOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: ChatMessageInclude | null + where?: ChatMessageWhereInput + orderBy?: ChatMessageOrderByWithRelationInput | ChatMessageOrderByWithRelationInput[] + cursor?: ChatMessageWhereUniqueInput + take?: number + skip?: number + distinct?: ChatMessageScalarFieldEnum | ChatMessageScalarFieldEnum[] + } + + /** + * ChatRoom.participants + */ + export type ChatRoom$participantsArgs = { + /** + * Select specific fields to fetch from the ChatParticipant + */ + select?: ChatParticipantSelect | null + /** + * Omit specific fields from the ChatParticipant + */ + omit?: ChatParticipantOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: ChatParticipantInclude | null + where?: ChatParticipantWhereInput + orderBy?: ChatParticipantOrderByWithRelationInput | ChatParticipantOrderByWithRelationInput[] + cursor?: ChatParticipantWhereUniqueInput + take?: number + skip?: number + distinct?: ChatParticipantScalarFieldEnum | ChatParticipantScalarFieldEnum[] + } + + /** + * ChatRoom.pinnedMessages + */ + export type ChatRoom$pinnedMessagesArgs = { + /** + * Select specific fields to fetch from the PinnedMessage + */ + select?: PinnedMessageSelect | null + /** + * Omit specific fields from the PinnedMessage + */ + omit?: PinnedMessageOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: PinnedMessageInclude | null + where?: PinnedMessageWhereInput + orderBy?: PinnedMessageOrderByWithRelationInput | PinnedMessageOrderByWithRelationInput[] + cursor?: PinnedMessageWhereUniqueInput + take?: number + skip?: number + distinct?: PinnedMessageScalarFieldEnum | PinnedMessageScalarFieldEnum[] + } + + /** + * ChatRoom.videoSessions + */ + export type ChatRoom$videoSessionsArgs = { + /** + * Select specific fields to fetch from the VideoConferenceSession + */ + select?: VideoConferenceSessionSelect | null + /** + * Omit specific fields from the VideoConferenceSession + */ + omit?: VideoConferenceSessionOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: VideoConferenceSessionInclude | null + where?: VideoConferenceSessionWhereInput + orderBy?: VideoConferenceSessionOrderByWithRelationInput | VideoConferenceSessionOrderByWithRelationInput[] + cursor?: VideoConferenceSessionWhereUniqueInput + take?: number + skip?: number + distinct?: VideoConferenceSessionScalarFieldEnum | VideoConferenceSessionScalarFieldEnum[] + } + + /** + * ChatRoom without action + */ + export type ChatRoomDefaultArgs = { + /** + * Select specific fields to fetch from the ChatRoom + */ + select?: ChatRoomSelect | null + /** + * Omit specific fields from the ChatRoom + */ + omit?: ChatRoomOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: ChatRoomInclude | null + } + + + /** + * Model ChatParticipant + */ + + export type AggregateChatParticipant = { + _count: ChatParticipantCountAggregateOutputType | null + _min: ChatParticipantMinAggregateOutputType | null + _max: ChatParticipantMaxAggregateOutputType | null + } + + export type ChatParticipantMinAggregateOutputType = { + id: string | null + chatRoomId: string | null + userId: string | null + joinedAt: Date | null + lastReadMessageId: string | null + lastReadAt: Date | null + isAdmin: boolean | null + notificationsOn: boolean | null + status: $Enums.ParticipantStatus | null + } + + export type ChatParticipantMaxAggregateOutputType = { + id: string | null + chatRoomId: string | null + userId: string | null + joinedAt: Date | null + lastReadMessageId: string | null + lastReadAt: Date | null + isAdmin: boolean | null + notificationsOn: boolean | null + status: $Enums.ParticipantStatus | null + } + + export type ChatParticipantCountAggregateOutputType = { + id: number + chatRoomId: number + userId: number + joinedAt: number + lastReadMessageId: number + lastReadAt: number + isAdmin: number + notificationsOn: number + status: number + _all: number + } + + + export type ChatParticipantMinAggregateInputType = { + id?: true + chatRoomId?: true + userId?: true + joinedAt?: true + lastReadMessageId?: true + lastReadAt?: true + isAdmin?: true + notificationsOn?: true + status?: true + } + + export type ChatParticipantMaxAggregateInputType = { + id?: true + chatRoomId?: true + userId?: true + joinedAt?: true + lastReadMessageId?: true + lastReadAt?: true + isAdmin?: true + notificationsOn?: true + status?: true + } + + export type ChatParticipantCountAggregateInputType = { + id?: true + chatRoomId?: true + userId?: true + joinedAt?: true + lastReadMessageId?: true + lastReadAt?: true + isAdmin?: true + notificationsOn?: true + status?: true + _all?: true + } + + export type ChatParticipantAggregateArgs = { + /** + * Filter which ChatParticipant to aggregate. + */ + where?: ChatParticipantWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of ChatParticipants to fetch. + */ + orderBy?: ChatParticipantOrderByWithRelationInput | ChatParticipantOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: ChatParticipantWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` ChatParticipants 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` ChatParticipants. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned ChatParticipants + **/ + _count?: true | ChatParticipantCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: ChatParticipantMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: ChatParticipantMaxAggregateInputType + } + + export type GetChatParticipantAggregateType = { + [P in keyof T & keyof AggregateChatParticipant]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : GetScalarType + : GetScalarType + } + + + + + export type ChatParticipantGroupByArgs = { + where?: ChatParticipantWhereInput + orderBy?: ChatParticipantOrderByWithAggregationInput | ChatParticipantOrderByWithAggregationInput[] + by: ChatParticipantScalarFieldEnum[] | ChatParticipantScalarFieldEnum + having?: ChatParticipantScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: ChatParticipantCountAggregateInputType | true + _min?: ChatParticipantMinAggregateInputType + _max?: ChatParticipantMaxAggregateInputType + } + + export type ChatParticipantGroupByOutputType = { + id: string + chatRoomId: string + userId: string + joinedAt: Date + lastReadMessageId: string | null + lastReadAt: Date | null + isAdmin: boolean + notificationsOn: boolean + status: $Enums.ParticipantStatus + _count: ChatParticipantCountAggregateOutputType | null + _min: ChatParticipantMinAggregateOutputType | null + _max: ChatParticipantMaxAggregateOutputType | null + } + + type GetChatParticipantGroupByPayload = Prisma.PrismaPromise< + Array< + PickEnumerable & + { + [P in ((keyof T) & (keyof ChatParticipantGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : GetScalarType + : GetScalarType + } + > + > + + + export type ChatParticipantSelect = $Extensions.GetSelect<{ + id?: boolean + chatRoomId?: boolean + userId?: boolean + joinedAt?: boolean + lastReadMessageId?: boolean + lastReadAt?: boolean + isAdmin?: boolean + notificationsOn?: boolean + status?: boolean + chatRoom?: boolean | ChatRoomDefaultArgs + user?: boolean | UserDefaultArgs + lastReadMessage?: boolean | ChatParticipant$lastReadMessageArgs + }, ExtArgs["result"]["chatParticipant"]> + + export type ChatParticipantSelectCreateManyAndReturn = $Extensions.GetSelect<{ + id?: boolean + chatRoomId?: boolean + userId?: boolean + joinedAt?: boolean + lastReadMessageId?: boolean + lastReadAt?: boolean + isAdmin?: boolean + notificationsOn?: boolean + status?: boolean + chatRoom?: boolean | ChatRoomDefaultArgs + user?: boolean | UserDefaultArgs + lastReadMessage?: boolean | ChatParticipant$lastReadMessageArgs + }, ExtArgs["result"]["chatParticipant"]> + + export type ChatParticipantSelectUpdateManyAndReturn = $Extensions.GetSelect<{ + id?: boolean + chatRoomId?: boolean + userId?: boolean + joinedAt?: boolean + lastReadMessageId?: boolean + lastReadAt?: boolean + isAdmin?: boolean + notificationsOn?: boolean + status?: boolean + chatRoom?: boolean | ChatRoomDefaultArgs + user?: boolean | UserDefaultArgs + lastReadMessage?: boolean | ChatParticipant$lastReadMessageArgs + }, ExtArgs["result"]["chatParticipant"]> + + export type ChatParticipantSelectScalar = { + id?: boolean + chatRoomId?: boolean + userId?: boolean + joinedAt?: boolean + lastReadMessageId?: boolean + lastReadAt?: boolean + isAdmin?: boolean + notificationsOn?: boolean + status?: boolean + } + + export type ChatParticipantOmit = $Extensions.GetOmit<"id" | "chatRoomId" | "userId" | "joinedAt" | "lastReadMessageId" | "lastReadAt" | "isAdmin" | "notificationsOn" | "status", ExtArgs["result"]["chatParticipant"]> + export type ChatParticipantInclude = { + chatRoom?: boolean | ChatRoomDefaultArgs + user?: boolean | UserDefaultArgs + lastReadMessage?: boolean | ChatParticipant$lastReadMessageArgs + } + export type ChatParticipantIncludeCreateManyAndReturn = { + chatRoom?: boolean | ChatRoomDefaultArgs + user?: boolean | UserDefaultArgs + lastReadMessage?: boolean | ChatParticipant$lastReadMessageArgs + } + export type ChatParticipantIncludeUpdateManyAndReturn = { + chatRoom?: boolean | ChatRoomDefaultArgs + user?: boolean | UserDefaultArgs + lastReadMessage?: boolean | ChatParticipant$lastReadMessageArgs + } + + export type $ChatParticipantPayload = { + name: "ChatParticipant" + objects: { + chatRoom: Prisma.$ChatRoomPayload + user: Prisma.$UserPayload + lastReadMessage: Prisma.$ChatMessagePayload | null + } + scalars: $Extensions.GetPayloadResult<{ + id: string + chatRoomId: string + userId: string + joinedAt: Date + lastReadMessageId: string | null + lastReadAt: Date | null + isAdmin: boolean + notificationsOn: boolean + status: $Enums.ParticipantStatus + }, ExtArgs["result"]["chatParticipant"]> + composites: {} + } + + type ChatParticipantGetPayload = $Result.GetResult + + type ChatParticipantCountArgs = + Omit & { + select?: ChatParticipantCountAggregateInputType | true + } + + export interface ChatParticipantDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['ChatParticipant'], meta: { name: 'ChatParticipant' } } + /** + * Find zero or one ChatParticipant that matches the filter. + * @param {ChatParticipantFindUniqueArgs} args - Arguments to find a ChatParticipant + * @example + * // Get one ChatParticipant + * const chatParticipant = await prisma.chatParticipant.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: SelectSubset>): Prisma__ChatParticipantClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one ChatParticipant that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {ChatParticipantFindUniqueOrThrowArgs} args - Arguments to find a ChatParticipant + * @example + * // Get one ChatParticipant + * const chatParticipant = await prisma.chatParticipant.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: SelectSubset>): Prisma__ChatParticipantClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first ChatParticipant 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 {ChatParticipantFindFirstArgs} args - Arguments to find a ChatParticipant + * @example + * // Get one ChatParticipant + * const chatParticipant = await prisma.chatParticipant.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: SelectSubset>): Prisma__ChatParticipantClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first ChatParticipant 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 {ChatParticipantFindFirstOrThrowArgs} args - Arguments to find a ChatParticipant + * @example + * // Get one ChatParticipant + * const chatParticipant = await prisma.chatParticipant.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: SelectSubset>): Prisma__ChatParticipantClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more ChatParticipants 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 {ChatParticipantFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all ChatParticipants + * const chatParticipants = await prisma.chatParticipant.findMany() + * + * // Get first 10 ChatParticipants + * const chatParticipants = await prisma.chatParticipant.findMany({ take: 10 }) + * + * // Only select the `id` + * const chatParticipantWithIdOnly = await prisma.chatParticipant.findMany({ select: { id: true } }) + * + */ + findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> + + /** + * Create a ChatParticipant. + * @param {ChatParticipantCreateArgs} args - Arguments to create a ChatParticipant. + * @example + * // Create one ChatParticipant + * const ChatParticipant = await prisma.chatParticipant.create({ + * data: { + * // ... data to create a ChatParticipant + * } + * }) + * + */ + create(args: SelectSubset>): Prisma__ChatParticipantClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many ChatParticipants. + * @param {ChatParticipantCreateManyArgs} args - Arguments to create many ChatParticipants. + * @example + * // Create many ChatParticipants + * const chatParticipant = await prisma.chatParticipant.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: SelectSubset>): Prisma.PrismaPromise + + /** + * Create many ChatParticipants and returns the data saved in the database. + * @param {ChatParticipantCreateManyAndReturnArgs} args - Arguments to create many ChatParticipants. + * @example + * // Create many ChatParticipants + * const chatParticipant = await prisma.chatParticipant.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many ChatParticipants and only return the `id` + * const chatParticipantWithIdOnly = await prisma.chatParticipant.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?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a ChatParticipant. + * @param {ChatParticipantDeleteArgs} args - Arguments to delete one ChatParticipant. + * @example + * // Delete one ChatParticipant + * const ChatParticipant = await prisma.chatParticipant.delete({ + * where: { + * // ... filter to delete one ChatParticipant + * } + * }) + * + */ + delete(args: SelectSubset>): Prisma__ChatParticipantClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one ChatParticipant. + * @param {ChatParticipantUpdateArgs} args - Arguments to update one ChatParticipant. + * @example + * // Update one ChatParticipant + * const chatParticipant = await prisma.chatParticipant.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: SelectSubset>): Prisma__ChatParticipantClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more ChatParticipants. + * @param {ChatParticipantDeleteManyArgs} args - Arguments to filter ChatParticipants to delete. + * @example + * // Delete a few ChatParticipants + * const { count } = await prisma.chatParticipant.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more ChatParticipants. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {ChatParticipantUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many ChatParticipants + * const chatParticipant = await prisma.chatParticipant.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more ChatParticipants and returns the data updated in the database. + * @param {ChatParticipantUpdateManyAndReturnArgs} args - Arguments to update many ChatParticipants. + * @example + * // Update many ChatParticipants + * const chatParticipant = await prisma.chatParticipant.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more ChatParticipants and only return the `id` + * const chatParticipantWithIdOnly = await prisma.chatParticipant.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: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one ChatParticipant. + * @param {ChatParticipantUpsertArgs} args - Arguments to update or create a ChatParticipant. + * @example + * // Update or create a ChatParticipant + * const chatParticipant = await prisma.chatParticipant.upsert({ + * create: { + * // ... data to create a ChatParticipant + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the ChatParticipant we want to update + * } + * }) + */ + upsert(args: SelectSubset>): Prisma__ChatParticipantClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of ChatParticipants. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {ChatParticipantCountArgs} args - Arguments to filter ChatParticipants to count. + * @example + * // Count the number of ChatParticipants + * const count = await prisma.chatParticipant.count({ + * where: { + * // ... the filter for the ChatParticipants we want to count + * } + * }) + **/ + count( + args?: Subset, + ): Prisma.PrismaPromise< + T extends $Utils.Record<'select', any> + ? T['select'] extends true + ? number + : GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a ChatParticipant. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {ChatParticipantAggregateArgs} 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: Subset): Prisma.PrismaPromise> + + /** + * Group by ChatParticipant. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {ChatParticipantGroupByArgs} 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 ChatParticipantGroupByArgs, + HasSelectOrTake extends Or< + Extends<'skip', Keys>, + Extends<'take', Keys> + >, + OrderByArg extends True extends HasSelectOrTake + ? { orderBy: ChatParticipantGroupByArgs['orderBy'] } + : { orderBy?: ChatParticipantGroupByArgs['orderBy'] }, + OrderFields extends ExcludeUnderscoreKeys>>, + ByFields extends MaybeTupleToUnion, + ByValid extends Has, + HavingFields extends GetHavingFields, + HavingValid extends Has, + ByEmpty extends T['by'] extends never[] ? True : False, + InputErrors extends ByEmpty extends True + ? `Error: "by" must not be empty.` + : HavingValid extends 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 Keys + ? 'orderBy' extends Keys + ? ByValid extends 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 Keys + ? 'orderBy' extends Keys + ? ByValid extends 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 True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: SubsetIntersection & InputErrors): {} extends InputErrors ? GetChatParticipantGroupByPayload : Prisma.PrismaPromise + /** + * Fields of the ChatParticipant model + */ + readonly fields: ChatParticipantFieldRefs; + } + + /** + * The delegate class that acts as a "Promise-like" for ChatParticipant. + * 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__ChatParticipantClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + chatRoom = {}>(args?: Subset>): Prisma__ChatRoomClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + user = {}>(args?: Subset>): Prisma__UserClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + lastReadMessage = {}>(args?: Subset>): Prisma__ChatMessageClient<$Result.GetResult, 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): $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): $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): $Utils.JsPromise + } + + + + + /** + * Fields of the ChatParticipant model + */ + interface ChatParticipantFieldRefs { + readonly id: FieldRef<"ChatParticipant", 'String'> + readonly chatRoomId: FieldRef<"ChatParticipant", 'String'> + readonly userId: FieldRef<"ChatParticipant", 'String'> + readonly joinedAt: FieldRef<"ChatParticipant", 'DateTime'> + readonly lastReadMessageId: FieldRef<"ChatParticipant", 'String'> + readonly lastReadAt: FieldRef<"ChatParticipant", 'DateTime'> + readonly isAdmin: FieldRef<"ChatParticipant", 'Boolean'> + readonly notificationsOn: FieldRef<"ChatParticipant", 'Boolean'> + readonly status: FieldRef<"ChatParticipant", 'ParticipantStatus'> + } + + + // Custom InputTypes + /** + * ChatParticipant findUnique + */ + export type ChatParticipantFindUniqueArgs = { + /** + * Select specific fields to fetch from the ChatParticipant + */ + select?: ChatParticipantSelect | null + /** + * Omit specific fields from the ChatParticipant + */ + omit?: ChatParticipantOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: ChatParticipantInclude | null + /** + * Filter, which ChatParticipant to fetch. + */ + where: ChatParticipantWhereUniqueInput + } + + /** + * ChatParticipant findUniqueOrThrow + */ + export type ChatParticipantFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the ChatParticipant + */ + select?: ChatParticipantSelect | null + /** + * Omit specific fields from the ChatParticipant + */ + omit?: ChatParticipantOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: ChatParticipantInclude | null + /** + * Filter, which ChatParticipant to fetch. + */ + where: ChatParticipantWhereUniqueInput + } + + /** + * ChatParticipant findFirst + */ + export type ChatParticipantFindFirstArgs = { + /** + * Select specific fields to fetch from the ChatParticipant + */ + select?: ChatParticipantSelect | null + /** + * Omit specific fields from the ChatParticipant + */ + omit?: ChatParticipantOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: ChatParticipantInclude | null + /** + * Filter, which ChatParticipant to fetch. + */ + where?: ChatParticipantWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of ChatParticipants to fetch. + */ + orderBy?: ChatParticipantOrderByWithRelationInput | ChatParticipantOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for ChatParticipants. + */ + cursor?: ChatParticipantWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` ChatParticipants 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` ChatParticipants. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of ChatParticipants. + */ + distinct?: ChatParticipantScalarFieldEnum | ChatParticipantScalarFieldEnum[] + } + + /** + * ChatParticipant findFirstOrThrow + */ + export type ChatParticipantFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the ChatParticipant + */ + select?: ChatParticipantSelect | null + /** + * Omit specific fields from the ChatParticipant + */ + omit?: ChatParticipantOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: ChatParticipantInclude | null + /** + * Filter, which ChatParticipant to fetch. + */ + where?: ChatParticipantWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of ChatParticipants to fetch. + */ + orderBy?: ChatParticipantOrderByWithRelationInput | ChatParticipantOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for ChatParticipants. + */ + cursor?: ChatParticipantWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` ChatParticipants 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` ChatParticipants. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of ChatParticipants. + */ + distinct?: ChatParticipantScalarFieldEnum | ChatParticipantScalarFieldEnum[] + } + + /** + * ChatParticipant findMany + */ + export type ChatParticipantFindManyArgs = { + /** + * Select specific fields to fetch from the ChatParticipant + */ + select?: ChatParticipantSelect | null + /** + * Omit specific fields from the ChatParticipant + */ + omit?: ChatParticipantOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: ChatParticipantInclude | null + /** + * Filter, which ChatParticipants to fetch. + */ + where?: ChatParticipantWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of ChatParticipants to fetch. + */ + orderBy?: ChatParticipantOrderByWithRelationInput | ChatParticipantOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing ChatParticipants. + */ + cursor?: ChatParticipantWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` ChatParticipants 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` ChatParticipants. + */ + skip?: number + distinct?: ChatParticipantScalarFieldEnum | ChatParticipantScalarFieldEnum[] + } + + /** + * ChatParticipant create + */ + export type ChatParticipantCreateArgs = { + /** + * Select specific fields to fetch from the ChatParticipant + */ + select?: ChatParticipantSelect | null + /** + * Omit specific fields from the ChatParticipant + */ + omit?: ChatParticipantOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: ChatParticipantInclude | null + /** + * The data needed to create a ChatParticipant. + */ + data: XOR + } + + /** + * ChatParticipant createMany + */ + export type ChatParticipantCreateManyArgs = { + /** + * The data used to create many ChatParticipants. + */ + data: ChatParticipantCreateManyInput | ChatParticipantCreateManyInput[] + skipDuplicates?: boolean + } + + /** + * ChatParticipant createManyAndReturn + */ + export type ChatParticipantCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the ChatParticipant + */ + select?: ChatParticipantSelectCreateManyAndReturn | null + /** + * Omit specific fields from the ChatParticipant + */ + omit?: ChatParticipantOmit | null + /** + * The data used to create many ChatParticipants. + */ + data: ChatParticipantCreateManyInput | ChatParticipantCreateManyInput[] + skipDuplicates?: boolean + /** + * Choose, which related nodes to fetch as well + */ + include?: ChatParticipantIncludeCreateManyAndReturn | null + } + + /** + * ChatParticipant update + */ + export type ChatParticipantUpdateArgs = { + /** + * Select specific fields to fetch from the ChatParticipant + */ + select?: ChatParticipantSelect | null + /** + * Omit specific fields from the ChatParticipant + */ + omit?: ChatParticipantOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: ChatParticipantInclude | null + /** + * The data needed to update a ChatParticipant. + */ + data: XOR + /** + * Choose, which ChatParticipant to update. + */ + where: ChatParticipantWhereUniqueInput + } + + /** + * ChatParticipant updateMany + */ + export type ChatParticipantUpdateManyArgs = { + /** + * The data used to update ChatParticipants. + */ + data: XOR + /** + * Filter which ChatParticipants to update + */ + where?: ChatParticipantWhereInput + /** + * Limit how many ChatParticipants to update. + */ + limit?: number + } + + /** + * ChatParticipant updateManyAndReturn + */ + export type ChatParticipantUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the ChatParticipant + */ + select?: ChatParticipantSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the ChatParticipant + */ + omit?: ChatParticipantOmit | null + /** + * The data used to update ChatParticipants. + */ + data: XOR + /** + * Filter which ChatParticipants to update + */ + where?: ChatParticipantWhereInput + /** + * Limit how many ChatParticipants to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: ChatParticipantIncludeUpdateManyAndReturn | null + } + + /** + * ChatParticipant upsert + */ + export type ChatParticipantUpsertArgs = { + /** + * Select specific fields to fetch from the ChatParticipant + */ + select?: ChatParticipantSelect | null + /** + * Omit specific fields from the ChatParticipant + */ + omit?: ChatParticipantOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: ChatParticipantInclude | null + /** + * The filter to search for the ChatParticipant to update in case it exists. + */ + where: ChatParticipantWhereUniqueInput + /** + * In case the ChatParticipant found by the `where` argument doesn't exist, create a new ChatParticipant with this data. + */ + create: XOR + /** + * In case the ChatParticipant was found with the provided `where` argument, update it with this data. + */ + update: XOR + } + + /** + * ChatParticipant delete + */ + export type ChatParticipantDeleteArgs = { + /** + * Select specific fields to fetch from the ChatParticipant + */ + select?: ChatParticipantSelect | null + /** + * Omit specific fields from the ChatParticipant + */ + omit?: ChatParticipantOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: ChatParticipantInclude | null + /** + * Filter which ChatParticipant to delete. + */ + where: ChatParticipantWhereUniqueInput + } + + /** + * ChatParticipant deleteMany + */ + export type ChatParticipantDeleteManyArgs = { + /** + * Filter which ChatParticipants to delete + */ + where?: ChatParticipantWhereInput + /** + * Limit how many ChatParticipants to delete. + */ + limit?: number + } + + /** + * ChatParticipant.lastReadMessage + */ + export type ChatParticipant$lastReadMessageArgs = { + /** + * Select specific fields to fetch from the ChatMessage + */ + select?: ChatMessageSelect | null + /** + * Omit specific fields from the ChatMessage + */ + omit?: ChatMessageOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: ChatMessageInclude | null + where?: ChatMessageWhereInput + } + + /** + * ChatParticipant without action + */ + export type ChatParticipantDefaultArgs = { + /** + * Select specific fields to fetch from the ChatParticipant + */ + select?: ChatParticipantSelect | null + /** + * Omit specific fields from the ChatParticipant + */ + omit?: ChatParticipantOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: ChatParticipantInclude | null + } + + + /** + * Model ChatMessage + */ + + export type AggregateChatMessage = { + _count: ChatMessageCountAggregateOutputType | null + _min: ChatMessageMinAggregateOutputType | null + _max: ChatMessageMaxAggregateOutputType | null + } + + export type ChatMessageMinAggregateOutputType = { + id: string | null + chatRoomId: string | null + senderId: string | null + content: string | null + contentType: $Enums.MessageContentType | null + createdAt: Date | null + updatedAt: Date | null + isEdited: boolean | null + isDeleted: boolean | null + deletedAt: Date | null + replyToId: string | null + } + + export type ChatMessageMaxAggregateOutputType = { + id: string | null + chatRoomId: string | null + senderId: string | null + content: string | null + contentType: $Enums.MessageContentType | null + createdAt: Date | null + updatedAt: Date | null + isEdited: boolean | null + isDeleted: boolean | null + deletedAt: Date | null + replyToId: string | null + } + + export type ChatMessageCountAggregateOutputType = { + id: number + chatRoomId: number + senderId: number + content: number + contentType: number + createdAt: number + updatedAt: number + isEdited: number + isDeleted: number + deletedAt: number + replyToId: number + metadata: number + _all: number + } + + + export type ChatMessageMinAggregateInputType = { + id?: true + chatRoomId?: true + senderId?: true + content?: true + contentType?: true + createdAt?: true + updatedAt?: true + isEdited?: true + isDeleted?: true + deletedAt?: true + replyToId?: true + } + + export type ChatMessageMaxAggregateInputType = { + id?: true + chatRoomId?: true + senderId?: true + content?: true + contentType?: true + createdAt?: true + updatedAt?: true + isEdited?: true + isDeleted?: true + deletedAt?: true + replyToId?: true + } + + export type ChatMessageCountAggregateInputType = { + id?: true + chatRoomId?: true + senderId?: true + content?: true + contentType?: true + createdAt?: true + updatedAt?: true + isEdited?: true + isDeleted?: true + deletedAt?: true + replyToId?: true + metadata?: true + _all?: true + } + + export type ChatMessageAggregateArgs = { + /** + * Filter which ChatMessage to aggregate. + */ + where?: ChatMessageWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of ChatMessages to fetch. + */ + orderBy?: ChatMessageOrderByWithRelationInput | ChatMessageOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: ChatMessageWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` ChatMessages 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` ChatMessages. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned ChatMessages + **/ + _count?: true | ChatMessageCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: ChatMessageMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: ChatMessageMaxAggregateInputType + } + + export type GetChatMessageAggregateType = { + [P in keyof T & keyof AggregateChatMessage]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : GetScalarType + : GetScalarType + } + + + + + export type ChatMessageGroupByArgs = { + where?: ChatMessageWhereInput + orderBy?: ChatMessageOrderByWithAggregationInput | ChatMessageOrderByWithAggregationInput[] + by: ChatMessageScalarFieldEnum[] | ChatMessageScalarFieldEnum + having?: ChatMessageScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: ChatMessageCountAggregateInputType | true + _min?: ChatMessageMinAggregateInputType + _max?: ChatMessageMaxAggregateInputType + } + + export type ChatMessageGroupByOutputType = { + id: string + chatRoomId: string + senderId: string + content: string + contentType: $Enums.MessageContentType + createdAt: Date + updatedAt: Date + isEdited: boolean + isDeleted: boolean + deletedAt: Date | null + replyToId: string | null + metadata: JsonValue | null + _count: ChatMessageCountAggregateOutputType | null + _min: ChatMessageMinAggregateOutputType | null + _max: ChatMessageMaxAggregateOutputType | null + } + + type GetChatMessageGroupByPayload = Prisma.PrismaPromise< + Array< + PickEnumerable & + { + [P in ((keyof T) & (keyof ChatMessageGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : GetScalarType + : GetScalarType + } + > + > + + + export type ChatMessageSelect = $Extensions.GetSelect<{ + id?: boolean + chatRoomId?: boolean + senderId?: boolean + content?: boolean + contentType?: boolean + createdAt?: boolean + updatedAt?: boolean + isEdited?: boolean + isDeleted?: boolean + deletedAt?: boolean + replyToId?: boolean + metadata?: boolean + chatRoom?: boolean | ChatRoomDefaultArgs + sender?: boolean | UserDefaultArgs + replyTo?: boolean | ChatMessage$replyToArgs + replies?: boolean | ChatMessage$repliesArgs + attachments?: boolean | ChatMessage$attachmentsArgs + reactions?: boolean | ChatMessage$reactionsArgs + readBy?: boolean | ChatMessage$readByArgs + pinnedIn?: boolean | ChatMessage$pinnedInArgs + _count?: boolean | ChatMessageCountOutputTypeDefaultArgs + }, ExtArgs["result"]["chatMessage"]> + + export type ChatMessageSelectCreateManyAndReturn = $Extensions.GetSelect<{ + id?: boolean + chatRoomId?: boolean + senderId?: boolean + content?: boolean + contentType?: boolean + createdAt?: boolean + updatedAt?: boolean + isEdited?: boolean + isDeleted?: boolean + deletedAt?: boolean + replyToId?: boolean + metadata?: boolean + chatRoom?: boolean | ChatRoomDefaultArgs + sender?: boolean | UserDefaultArgs + replyTo?: boolean | ChatMessage$replyToArgs + }, ExtArgs["result"]["chatMessage"]> + + export type ChatMessageSelectUpdateManyAndReturn = $Extensions.GetSelect<{ + id?: boolean + chatRoomId?: boolean + senderId?: boolean + content?: boolean + contentType?: boolean + createdAt?: boolean + updatedAt?: boolean + isEdited?: boolean + isDeleted?: boolean + deletedAt?: boolean + replyToId?: boolean + metadata?: boolean + chatRoom?: boolean | ChatRoomDefaultArgs + sender?: boolean | UserDefaultArgs + replyTo?: boolean | ChatMessage$replyToArgs + }, ExtArgs["result"]["chatMessage"]> + + export type ChatMessageSelectScalar = { + id?: boolean + chatRoomId?: boolean + senderId?: boolean + content?: boolean + contentType?: boolean + createdAt?: boolean + updatedAt?: boolean + isEdited?: boolean + isDeleted?: boolean + deletedAt?: boolean + replyToId?: boolean + metadata?: boolean + } + + export type ChatMessageOmit = $Extensions.GetOmit<"id" | "chatRoomId" | "senderId" | "content" | "contentType" | "createdAt" | "updatedAt" | "isEdited" | "isDeleted" | "deletedAt" | "replyToId" | "metadata", ExtArgs["result"]["chatMessage"]> + export type ChatMessageInclude = { + chatRoom?: boolean | ChatRoomDefaultArgs + sender?: boolean | UserDefaultArgs + replyTo?: boolean | ChatMessage$replyToArgs + replies?: boolean | ChatMessage$repliesArgs + attachments?: boolean | ChatMessage$attachmentsArgs + reactions?: boolean | ChatMessage$reactionsArgs + readBy?: boolean | ChatMessage$readByArgs + pinnedIn?: boolean | ChatMessage$pinnedInArgs + _count?: boolean | ChatMessageCountOutputTypeDefaultArgs + } + export type ChatMessageIncludeCreateManyAndReturn = { + chatRoom?: boolean | ChatRoomDefaultArgs + sender?: boolean | UserDefaultArgs + replyTo?: boolean | ChatMessage$replyToArgs + } + export type ChatMessageIncludeUpdateManyAndReturn = { + chatRoom?: boolean | ChatRoomDefaultArgs + sender?: boolean | UserDefaultArgs + replyTo?: boolean | ChatMessage$replyToArgs + } + + export type $ChatMessagePayload = { + name: "ChatMessage" + objects: { + chatRoom: Prisma.$ChatRoomPayload + sender: Prisma.$UserPayload + replyTo: Prisma.$ChatMessagePayload | null + replies: Prisma.$ChatMessagePayload[] + attachments: Prisma.$MessageAttachmentPayload[] + reactions: Prisma.$MessageReactionPayload[] + readBy: Prisma.$ChatParticipantPayload[] + pinnedIn: Prisma.$PinnedMessagePayload[] + } + scalars: $Extensions.GetPayloadResult<{ + id: string + chatRoomId: string + senderId: string + content: string + contentType: $Enums.MessageContentType + createdAt: Date + updatedAt: Date + isEdited: boolean + isDeleted: boolean + deletedAt: Date | null + replyToId: string | null + metadata: Prisma.JsonValue | null + }, ExtArgs["result"]["chatMessage"]> + composites: {} + } + + type ChatMessageGetPayload = $Result.GetResult + + type ChatMessageCountArgs = + Omit & { + select?: ChatMessageCountAggregateInputType | true + } + + export interface ChatMessageDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['ChatMessage'], meta: { name: 'ChatMessage' } } + /** + * Find zero or one ChatMessage that matches the filter. + * @param {ChatMessageFindUniqueArgs} args - Arguments to find a ChatMessage + * @example + * // Get one ChatMessage + * const chatMessage = await prisma.chatMessage.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: SelectSubset>): Prisma__ChatMessageClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one ChatMessage that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {ChatMessageFindUniqueOrThrowArgs} args - Arguments to find a ChatMessage + * @example + * // Get one ChatMessage + * const chatMessage = await prisma.chatMessage.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: SelectSubset>): Prisma__ChatMessageClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first ChatMessage 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 {ChatMessageFindFirstArgs} args - Arguments to find a ChatMessage + * @example + * // Get one ChatMessage + * const chatMessage = await prisma.chatMessage.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: SelectSubset>): Prisma__ChatMessageClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first ChatMessage 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 {ChatMessageFindFirstOrThrowArgs} args - Arguments to find a ChatMessage + * @example + * // Get one ChatMessage + * const chatMessage = await prisma.chatMessage.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: SelectSubset>): Prisma__ChatMessageClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more ChatMessages 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 {ChatMessageFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all ChatMessages + * const chatMessages = await prisma.chatMessage.findMany() + * + * // Get first 10 ChatMessages + * const chatMessages = await prisma.chatMessage.findMany({ take: 10 }) + * + * // Only select the `id` + * const chatMessageWithIdOnly = await prisma.chatMessage.findMany({ select: { id: true } }) + * + */ + findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> + + /** + * Create a ChatMessage. + * @param {ChatMessageCreateArgs} args - Arguments to create a ChatMessage. + * @example + * // Create one ChatMessage + * const ChatMessage = await prisma.chatMessage.create({ + * data: { + * // ... data to create a ChatMessage + * } + * }) + * + */ + create(args: SelectSubset>): Prisma__ChatMessageClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many ChatMessages. + * @param {ChatMessageCreateManyArgs} args - Arguments to create many ChatMessages. + * @example + * // Create many ChatMessages + * const chatMessage = await prisma.chatMessage.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: SelectSubset>): Prisma.PrismaPromise + + /** + * Create many ChatMessages and returns the data saved in the database. + * @param {ChatMessageCreateManyAndReturnArgs} args - Arguments to create many ChatMessages. + * @example + * // Create many ChatMessages + * const chatMessage = await prisma.chatMessage.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many ChatMessages and only return the `id` + * const chatMessageWithIdOnly = await prisma.chatMessage.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?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a ChatMessage. + * @param {ChatMessageDeleteArgs} args - Arguments to delete one ChatMessage. + * @example + * // Delete one ChatMessage + * const ChatMessage = await prisma.chatMessage.delete({ + * where: { + * // ... filter to delete one ChatMessage + * } + * }) + * + */ + delete(args: SelectSubset>): Prisma__ChatMessageClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one ChatMessage. + * @param {ChatMessageUpdateArgs} args - Arguments to update one ChatMessage. + * @example + * // Update one ChatMessage + * const chatMessage = await prisma.chatMessage.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: SelectSubset>): Prisma__ChatMessageClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more ChatMessages. + * @param {ChatMessageDeleteManyArgs} args - Arguments to filter ChatMessages to delete. + * @example + * // Delete a few ChatMessages + * const { count } = await prisma.chatMessage.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more ChatMessages. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {ChatMessageUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many ChatMessages + * const chatMessage = await prisma.chatMessage.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more ChatMessages and returns the data updated in the database. + * @param {ChatMessageUpdateManyAndReturnArgs} args - Arguments to update many ChatMessages. + * @example + * // Update many ChatMessages + * const chatMessage = await prisma.chatMessage.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more ChatMessages and only return the `id` + * const chatMessageWithIdOnly = await prisma.chatMessage.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: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one ChatMessage. + * @param {ChatMessageUpsertArgs} args - Arguments to update or create a ChatMessage. + * @example + * // Update or create a ChatMessage + * const chatMessage = await prisma.chatMessage.upsert({ + * create: { + * // ... data to create a ChatMessage + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the ChatMessage we want to update + * } + * }) + */ + upsert(args: SelectSubset>): Prisma__ChatMessageClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of ChatMessages. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {ChatMessageCountArgs} args - Arguments to filter ChatMessages to count. + * @example + * // Count the number of ChatMessages + * const count = await prisma.chatMessage.count({ + * where: { + * // ... the filter for the ChatMessages we want to count + * } + * }) + **/ + count( + args?: Subset, + ): Prisma.PrismaPromise< + T extends $Utils.Record<'select', any> + ? T['select'] extends true + ? number + : GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a ChatMessage. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {ChatMessageAggregateArgs} 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: Subset): Prisma.PrismaPromise> + + /** + * Group by ChatMessage. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {ChatMessageGroupByArgs} 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 ChatMessageGroupByArgs, + HasSelectOrTake extends Or< + Extends<'skip', Keys>, + Extends<'take', Keys> + >, + OrderByArg extends True extends HasSelectOrTake + ? { orderBy: ChatMessageGroupByArgs['orderBy'] } + : { orderBy?: ChatMessageGroupByArgs['orderBy'] }, + OrderFields extends ExcludeUnderscoreKeys>>, + ByFields extends MaybeTupleToUnion, + ByValid extends Has, + HavingFields extends GetHavingFields, + HavingValid extends Has, + ByEmpty extends T['by'] extends never[] ? True : False, + InputErrors extends ByEmpty extends True + ? `Error: "by" must not be empty.` + : HavingValid extends 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 Keys + ? 'orderBy' extends Keys + ? ByValid extends 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 Keys + ? 'orderBy' extends Keys + ? ByValid extends 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 True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: SubsetIntersection & InputErrors): {} extends InputErrors ? GetChatMessageGroupByPayload : Prisma.PrismaPromise + /** + * Fields of the ChatMessage model + */ + readonly fields: ChatMessageFieldRefs; + } + + /** + * The delegate class that acts as a "Promise-like" for ChatMessage. + * 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__ChatMessageClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + chatRoom = {}>(args?: Subset>): Prisma__ChatRoomClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + sender = {}>(args?: Subset>): Prisma__UserClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + replyTo = {}>(args?: Subset>): Prisma__ChatMessageClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + replies = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> + attachments = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> + reactions = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> + readBy = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> + pinnedIn = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, 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): $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): $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): $Utils.JsPromise + } + + + + + /** + * Fields of the ChatMessage model + */ + interface ChatMessageFieldRefs { + readonly id: FieldRef<"ChatMessage", 'String'> + readonly chatRoomId: FieldRef<"ChatMessage", 'String'> + readonly senderId: FieldRef<"ChatMessage", 'String'> + readonly content: FieldRef<"ChatMessage", 'String'> + readonly contentType: FieldRef<"ChatMessage", 'MessageContentType'> + readonly createdAt: FieldRef<"ChatMessage", 'DateTime'> + readonly updatedAt: FieldRef<"ChatMessage", 'DateTime'> + readonly isEdited: FieldRef<"ChatMessage", 'Boolean'> + readonly isDeleted: FieldRef<"ChatMessage", 'Boolean'> + readonly deletedAt: FieldRef<"ChatMessage", 'DateTime'> + readonly replyToId: FieldRef<"ChatMessage", 'String'> + readonly metadata: FieldRef<"ChatMessage", 'Json'> + } + + + // Custom InputTypes + /** + * ChatMessage findUnique + */ + export type ChatMessageFindUniqueArgs = { + /** + * Select specific fields to fetch from the ChatMessage + */ + select?: ChatMessageSelect | null + /** + * Omit specific fields from the ChatMessage + */ + omit?: ChatMessageOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: ChatMessageInclude | null + /** + * Filter, which ChatMessage to fetch. + */ + where: ChatMessageWhereUniqueInput + } + + /** + * ChatMessage findUniqueOrThrow + */ + export type ChatMessageFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the ChatMessage + */ + select?: ChatMessageSelect | null + /** + * Omit specific fields from the ChatMessage + */ + omit?: ChatMessageOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: ChatMessageInclude | null + /** + * Filter, which ChatMessage to fetch. + */ + where: ChatMessageWhereUniqueInput + } + + /** + * ChatMessage findFirst + */ + export type ChatMessageFindFirstArgs = { + /** + * Select specific fields to fetch from the ChatMessage + */ + select?: ChatMessageSelect | null + /** + * Omit specific fields from the ChatMessage + */ + omit?: ChatMessageOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: ChatMessageInclude | null + /** + * Filter, which ChatMessage to fetch. + */ + where?: ChatMessageWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of ChatMessages to fetch. + */ + orderBy?: ChatMessageOrderByWithRelationInput | ChatMessageOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for ChatMessages. + */ + cursor?: ChatMessageWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` ChatMessages 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` ChatMessages. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of ChatMessages. + */ + distinct?: ChatMessageScalarFieldEnum | ChatMessageScalarFieldEnum[] + } + + /** + * ChatMessage findFirstOrThrow + */ + export type ChatMessageFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the ChatMessage + */ + select?: ChatMessageSelect | null + /** + * Omit specific fields from the ChatMessage + */ + omit?: ChatMessageOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: ChatMessageInclude | null + /** + * Filter, which ChatMessage to fetch. + */ + where?: ChatMessageWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of ChatMessages to fetch. + */ + orderBy?: ChatMessageOrderByWithRelationInput | ChatMessageOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for ChatMessages. + */ + cursor?: ChatMessageWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` ChatMessages 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` ChatMessages. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of ChatMessages. + */ + distinct?: ChatMessageScalarFieldEnum | ChatMessageScalarFieldEnum[] + } + + /** + * ChatMessage findMany + */ + export type ChatMessageFindManyArgs = { + /** + * Select specific fields to fetch from the ChatMessage + */ + select?: ChatMessageSelect | null + /** + * Omit specific fields from the ChatMessage + */ + omit?: ChatMessageOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: ChatMessageInclude | null + /** + * Filter, which ChatMessages to fetch. + */ + where?: ChatMessageWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of ChatMessages to fetch. + */ + orderBy?: ChatMessageOrderByWithRelationInput | ChatMessageOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing ChatMessages. + */ + cursor?: ChatMessageWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` ChatMessages 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` ChatMessages. + */ + skip?: number + distinct?: ChatMessageScalarFieldEnum | ChatMessageScalarFieldEnum[] + } + + /** + * ChatMessage create + */ + export type ChatMessageCreateArgs = { + /** + * Select specific fields to fetch from the ChatMessage + */ + select?: ChatMessageSelect | null + /** + * Omit specific fields from the ChatMessage + */ + omit?: ChatMessageOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: ChatMessageInclude | null + /** + * The data needed to create a ChatMessage. + */ + data: XOR + } + + /** + * ChatMessage createMany + */ + export type ChatMessageCreateManyArgs = { + /** + * The data used to create many ChatMessages. + */ + data: ChatMessageCreateManyInput | ChatMessageCreateManyInput[] + skipDuplicates?: boolean + } + + /** + * ChatMessage createManyAndReturn + */ + export type ChatMessageCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the ChatMessage + */ + select?: ChatMessageSelectCreateManyAndReturn | null + /** + * Omit specific fields from the ChatMessage + */ + omit?: ChatMessageOmit | null + /** + * The data used to create many ChatMessages. + */ + data: ChatMessageCreateManyInput | ChatMessageCreateManyInput[] + skipDuplicates?: boolean + /** + * Choose, which related nodes to fetch as well + */ + include?: ChatMessageIncludeCreateManyAndReturn | null + } + + /** + * ChatMessage update + */ + export type ChatMessageUpdateArgs = { + /** + * Select specific fields to fetch from the ChatMessage + */ + select?: ChatMessageSelect | null + /** + * Omit specific fields from the ChatMessage + */ + omit?: ChatMessageOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: ChatMessageInclude | null + /** + * The data needed to update a ChatMessage. + */ + data: XOR + /** + * Choose, which ChatMessage to update. + */ + where: ChatMessageWhereUniqueInput + } + + /** + * ChatMessage updateMany + */ + export type ChatMessageUpdateManyArgs = { + /** + * The data used to update ChatMessages. + */ + data: XOR + /** + * Filter which ChatMessages to update + */ + where?: ChatMessageWhereInput + /** + * Limit how many ChatMessages to update. + */ + limit?: number + } + + /** + * ChatMessage updateManyAndReturn + */ + export type ChatMessageUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the ChatMessage + */ + select?: ChatMessageSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the ChatMessage + */ + omit?: ChatMessageOmit | null + /** + * The data used to update ChatMessages. + */ + data: XOR + /** + * Filter which ChatMessages to update + */ + where?: ChatMessageWhereInput + /** + * Limit how many ChatMessages to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: ChatMessageIncludeUpdateManyAndReturn | null + } + + /** + * ChatMessage upsert + */ + export type ChatMessageUpsertArgs = { + /** + * Select specific fields to fetch from the ChatMessage + */ + select?: ChatMessageSelect | null + /** + * Omit specific fields from the ChatMessage + */ + omit?: ChatMessageOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: ChatMessageInclude | null + /** + * The filter to search for the ChatMessage to update in case it exists. + */ + where: ChatMessageWhereUniqueInput + /** + * In case the ChatMessage found by the `where` argument doesn't exist, create a new ChatMessage with this data. + */ + create: XOR + /** + * In case the ChatMessage was found with the provided `where` argument, update it with this data. + */ + update: XOR + } + + /** + * ChatMessage delete + */ + export type ChatMessageDeleteArgs = { + /** + * Select specific fields to fetch from the ChatMessage + */ + select?: ChatMessageSelect | null + /** + * Omit specific fields from the ChatMessage + */ + omit?: ChatMessageOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: ChatMessageInclude | null + /** + * Filter which ChatMessage to delete. + */ + where: ChatMessageWhereUniqueInput + } + + /** + * ChatMessage deleteMany + */ + export type ChatMessageDeleteManyArgs = { + /** + * Filter which ChatMessages to delete + */ + where?: ChatMessageWhereInput + /** + * Limit how many ChatMessages to delete. + */ + limit?: number + } + + /** + * ChatMessage.replyTo + */ + export type ChatMessage$replyToArgs = { + /** + * Select specific fields to fetch from the ChatMessage + */ + select?: ChatMessageSelect | null + /** + * Omit specific fields from the ChatMessage + */ + omit?: ChatMessageOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: ChatMessageInclude | null + where?: ChatMessageWhereInput + } + + /** + * ChatMessage.replies + */ + export type ChatMessage$repliesArgs = { + /** + * Select specific fields to fetch from the ChatMessage + */ + select?: ChatMessageSelect | null + /** + * Omit specific fields from the ChatMessage + */ + omit?: ChatMessageOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: ChatMessageInclude | null + where?: ChatMessageWhereInput + orderBy?: ChatMessageOrderByWithRelationInput | ChatMessageOrderByWithRelationInput[] + cursor?: ChatMessageWhereUniqueInput + take?: number + skip?: number + distinct?: ChatMessageScalarFieldEnum | ChatMessageScalarFieldEnum[] + } + + /** + * ChatMessage.attachments + */ + export type ChatMessage$attachmentsArgs = { + /** + * Select specific fields to fetch from the MessageAttachment + */ + select?: MessageAttachmentSelect | null + /** + * Omit specific fields from the MessageAttachment + */ + omit?: MessageAttachmentOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: MessageAttachmentInclude | null + where?: MessageAttachmentWhereInput + orderBy?: MessageAttachmentOrderByWithRelationInput | MessageAttachmentOrderByWithRelationInput[] + cursor?: MessageAttachmentWhereUniqueInput + take?: number + skip?: number + distinct?: MessageAttachmentScalarFieldEnum | MessageAttachmentScalarFieldEnum[] + } + + /** + * ChatMessage.reactions + */ + export type ChatMessage$reactionsArgs = { + /** + * Select specific fields to fetch from the MessageReaction + */ + select?: MessageReactionSelect | null + /** + * Omit specific fields from the MessageReaction + */ + omit?: MessageReactionOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: MessageReactionInclude | null + where?: MessageReactionWhereInput + orderBy?: MessageReactionOrderByWithRelationInput | MessageReactionOrderByWithRelationInput[] + cursor?: MessageReactionWhereUniqueInput + take?: number + skip?: number + distinct?: MessageReactionScalarFieldEnum | MessageReactionScalarFieldEnum[] + } + + /** + * ChatMessage.readBy + */ + export type ChatMessage$readByArgs = { + /** + * Select specific fields to fetch from the ChatParticipant + */ + select?: ChatParticipantSelect | null + /** + * Omit specific fields from the ChatParticipant + */ + omit?: ChatParticipantOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: ChatParticipantInclude | null + where?: ChatParticipantWhereInput + orderBy?: ChatParticipantOrderByWithRelationInput | ChatParticipantOrderByWithRelationInput[] + cursor?: ChatParticipantWhereUniqueInput + take?: number + skip?: number + distinct?: ChatParticipantScalarFieldEnum | ChatParticipantScalarFieldEnum[] + } + + /** + * ChatMessage.pinnedIn + */ + export type ChatMessage$pinnedInArgs = { + /** + * Select specific fields to fetch from the PinnedMessage + */ + select?: PinnedMessageSelect | null + /** + * Omit specific fields from the PinnedMessage + */ + omit?: PinnedMessageOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: PinnedMessageInclude | null + where?: PinnedMessageWhereInput + orderBy?: PinnedMessageOrderByWithRelationInput | PinnedMessageOrderByWithRelationInput[] + cursor?: PinnedMessageWhereUniqueInput + take?: number + skip?: number + distinct?: PinnedMessageScalarFieldEnum | PinnedMessageScalarFieldEnum[] + } + + /** + * ChatMessage without action + */ + export type ChatMessageDefaultArgs = { + /** + * Select specific fields to fetch from the ChatMessage + */ + select?: ChatMessageSelect | null + /** + * Omit specific fields from the ChatMessage + */ + omit?: ChatMessageOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: ChatMessageInclude | null + } + + + /** + * Model MessageAttachment + */ + + export type AggregateMessageAttachment = { + _count: MessageAttachmentCountAggregateOutputType | null + _avg: MessageAttachmentAvgAggregateOutputType | null + _sum: MessageAttachmentSumAggregateOutputType | null + _min: MessageAttachmentMinAggregateOutputType | null + _max: MessageAttachmentMaxAggregateOutputType | null + } + + export type MessageAttachmentAvgAggregateOutputType = { + fileSize: number | null + } + + export type MessageAttachmentSumAggregateOutputType = { + fileSize: number | null + } + + export type MessageAttachmentMinAggregateOutputType = { + id: string | null + messageId: string | null + fileName: string | null + fileType: string | null + filePath: string | null + fileSize: number | null + thumbnailPath: string | null + storageProvider: string | null + storageKey: string | null + createdAt: Date | null + } + + export type MessageAttachmentMaxAggregateOutputType = { + id: string | null + messageId: string | null + fileName: string | null + fileType: string | null + filePath: string | null + fileSize: number | null + thumbnailPath: string | null + storageProvider: string | null + storageKey: string | null + createdAt: Date | null + } + + export type MessageAttachmentCountAggregateOutputType = { + id: number + messageId: number + fileName: number + fileType: number + filePath: number + fileSize: number + thumbnailPath: number + storageProvider: number + storageKey: number + createdAt: number + _all: number + } + + + export type MessageAttachmentAvgAggregateInputType = { + fileSize?: true + } + + export type MessageAttachmentSumAggregateInputType = { + fileSize?: true + } + + export type MessageAttachmentMinAggregateInputType = { + id?: true + messageId?: true + fileName?: true + fileType?: true + filePath?: true + fileSize?: true + thumbnailPath?: true + storageProvider?: true + storageKey?: true + createdAt?: true + } + + export type MessageAttachmentMaxAggregateInputType = { + id?: true + messageId?: true + fileName?: true + fileType?: true + filePath?: true + fileSize?: true + thumbnailPath?: true + storageProvider?: true + storageKey?: true + createdAt?: true + } + + export type MessageAttachmentCountAggregateInputType = { + id?: true + messageId?: true + fileName?: true + fileType?: true + filePath?: true + fileSize?: true + thumbnailPath?: true + storageProvider?: true + storageKey?: true + createdAt?: true + _all?: true + } + + export type MessageAttachmentAggregateArgs = { + /** + * Filter which MessageAttachment to aggregate. + */ + where?: MessageAttachmentWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of MessageAttachments to fetch. + */ + orderBy?: MessageAttachmentOrderByWithRelationInput | MessageAttachmentOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: MessageAttachmentWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` MessageAttachments 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` MessageAttachments. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned MessageAttachments + **/ + _count?: true | MessageAttachmentCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: MessageAttachmentAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: MessageAttachmentSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: MessageAttachmentMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: MessageAttachmentMaxAggregateInputType + } + + export type GetMessageAttachmentAggregateType = { + [P in keyof T & keyof AggregateMessageAttachment]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : GetScalarType + : GetScalarType + } + + + + + export type MessageAttachmentGroupByArgs = { + where?: MessageAttachmentWhereInput + orderBy?: MessageAttachmentOrderByWithAggregationInput | MessageAttachmentOrderByWithAggregationInput[] + by: MessageAttachmentScalarFieldEnum[] | MessageAttachmentScalarFieldEnum + having?: MessageAttachmentScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: MessageAttachmentCountAggregateInputType | true + _avg?: MessageAttachmentAvgAggregateInputType + _sum?: MessageAttachmentSumAggregateInputType + _min?: MessageAttachmentMinAggregateInputType + _max?: MessageAttachmentMaxAggregateInputType + } + + export type MessageAttachmentGroupByOutputType = { + id: string + messageId: string + fileName: string + fileType: string + filePath: string + fileSize: number + thumbnailPath: string | null + storageProvider: string | null + storageKey: string + createdAt: Date + _count: MessageAttachmentCountAggregateOutputType | null + _avg: MessageAttachmentAvgAggregateOutputType | null + _sum: MessageAttachmentSumAggregateOutputType | null + _min: MessageAttachmentMinAggregateOutputType | null + _max: MessageAttachmentMaxAggregateOutputType | null + } + + type GetMessageAttachmentGroupByPayload = Prisma.PrismaPromise< + Array< + PickEnumerable & + { + [P in ((keyof T) & (keyof MessageAttachmentGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : GetScalarType + : GetScalarType + } + > + > + + + export type MessageAttachmentSelect = $Extensions.GetSelect<{ + id?: boolean + messageId?: boolean + fileName?: boolean + fileType?: boolean + filePath?: boolean + fileSize?: boolean + thumbnailPath?: boolean + storageProvider?: boolean + storageKey?: boolean + createdAt?: boolean + message?: boolean | ChatMessageDefaultArgs + }, ExtArgs["result"]["messageAttachment"]> + + export type MessageAttachmentSelectCreateManyAndReturn = $Extensions.GetSelect<{ + id?: boolean + messageId?: boolean + fileName?: boolean + fileType?: boolean + filePath?: boolean + fileSize?: boolean + thumbnailPath?: boolean + storageProvider?: boolean + storageKey?: boolean + createdAt?: boolean + message?: boolean | ChatMessageDefaultArgs + }, ExtArgs["result"]["messageAttachment"]> + + export type MessageAttachmentSelectUpdateManyAndReturn = $Extensions.GetSelect<{ + id?: boolean + messageId?: boolean + fileName?: boolean + fileType?: boolean + filePath?: boolean + fileSize?: boolean + thumbnailPath?: boolean + storageProvider?: boolean + storageKey?: boolean + createdAt?: boolean + message?: boolean | ChatMessageDefaultArgs + }, ExtArgs["result"]["messageAttachment"]> + + export type MessageAttachmentSelectScalar = { + id?: boolean + messageId?: boolean + fileName?: boolean + fileType?: boolean + filePath?: boolean + fileSize?: boolean + thumbnailPath?: boolean + storageProvider?: boolean + storageKey?: boolean + createdAt?: boolean + } + + export type MessageAttachmentOmit = $Extensions.GetOmit<"id" | "messageId" | "fileName" | "fileType" | "filePath" | "fileSize" | "thumbnailPath" | "storageProvider" | "storageKey" | "createdAt", ExtArgs["result"]["messageAttachment"]> + export type MessageAttachmentInclude = { + message?: boolean | ChatMessageDefaultArgs + } + export type MessageAttachmentIncludeCreateManyAndReturn = { + message?: boolean | ChatMessageDefaultArgs + } + export type MessageAttachmentIncludeUpdateManyAndReturn = { + message?: boolean | ChatMessageDefaultArgs + } + + export type $MessageAttachmentPayload = { + name: "MessageAttachment" + objects: { + message: Prisma.$ChatMessagePayload + } + scalars: $Extensions.GetPayloadResult<{ + id: string + messageId: string + fileName: string + fileType: string + filePath: string + fileSize: number + thumbnailPath: string | null + storageProvider: string | null + storageKey: string + createdAt: Date + }, ExtArgs["result"]["messageAttachment"]> + composites: {} + } + + type MessageAttachmentGetPayload = $Result.GetResult + + type MessageAttachmentCountArgs = + Omit & { + select?: MessageAttachmentCountAggregateInputType | true + } + + export interface MessageAttachmentDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['MessageAttachment'], meta: { name: 'MessageAttachment' } } + /** + * Find zero or one MessageAttachment that matches the filter. + * @param {MessageAttachmentFindUniqueArgs} args - Arguments to find a MessageAttachment + * @example + * // Get one MessageAttachment + * const messageAttachment = await prisma.messageAttachment.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: SelectSubset>): Prisma__MessageAttachmentClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one MessageAttachment that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {MessageAttachmentFindUniqueOrThrowArgs} args - Arguments to find a MessageAttachment + * @example + * // Get one MessageAttachment + * const messageAttachment = await prisma.messageAttachment.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: SelectSubset>): Prisma__MessageAttachmentClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first MessageAttachment 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 {MessageAttachmentFindFirstArgs} args - Arguments to find a MessageAttachment + * @example + * // Get one MessageAttachment + * const messageAttachment = await prisma.messageAttachment.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: SelectSubset>): Prisma__MessageAttachmentClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first MessageAttachment 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 {MessageAttachmentFindFirstOrThrowArgs} args - Arguments to find a MessageAttachment + * @example + * // Get one MessageAttachment + * const messageAttachment = await prisma.messageAttachment.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: SelectSubset>): Prisma__MessageAttachmentClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more MessageAttachments 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 {MessageAttachmentFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all MessageAttachments + * const messageAttachments = await prisma.messageAttachment.findMany() + * + * // Get first 10 MessageAttachments + * const messageAttachments = await prisma.messageAttachment.findMany({ take: 10 }) + * + * // Only select the `id` + * const messageAttachmentWithIdOnly = await prisma.messageAttachment.findMany({ select: { id: true } }) + * + */ + findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> + + /** + * Create a MessageAttachment. + * @param {MessageAttachmentCreateArgs} args - Arguments to create a MessageAttachment. + * @example + * // Create one MessageAttachment + * const MessageAttachment = await prisma.messageAttachment.create({ + * data: { + * // ... data to create a MessageAttachment + * } + * }) + * + */ + create(args: SelectSubset>): Prisma__MessageAttachmentClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many MessageAttachments. + * @param {MessageAttachmentCreateManyArgs} args - Arguments to create many MessageAttachments. + * @example + * // Create many MessageAttachments + * const messageAttachment = await prisma.messageAttachment.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: SelectSubset>): Prisma.PrismaPromise + + /** + * Create many MessageAttachments and returns the data saved in the database. + * @param {MessageAttachmentCreateManyAndReturnArgs} args - Arguments to create many MessageAttachments. + * @example + * // Create many MessageAttachments + * const messageAttachment = await prisma.messageAttachment.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many MessageAttachments and only return the `id` + * const messageAttachmentWithIdOnly = await prisma.messageAttachment.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?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a MessageAttachment. + * @param {MessageAttachmentDeleteArgs} args - Arguments to delete one MessageAttachment. + * @example + * // Delete one MessageAttachment + * const MessageAttachment = await prisma.messageAttachment.delete({ + * where: { + * // ... filter to delete one MessageAttachment + * } + * }) + * + */ + delete(args: SelectSubset>): Prisma__MessageAttachmentClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one MessageAttachment. + * @param {MessageAttachmentUpdateArgs} args - Arguments to update one MessageAttachment. + * @example + * // Update one MessageAttachment + * const messageAttachment = await prisma.messageAttachment.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: SelectSubset>): Prisma__MessageAttachmentClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more MessageAttachments. + * @param {MessageAttachmentDeleteManyArgs} args - Arguments to filter MessageAttachments to delete. + * @example + * // Delete a few MessageAttachments + * const { count } = await prisma.messageAttachment.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more MessageAttachments. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {MessageAttachmentUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many MessageAttachments + * const messageAttachment = await prisma.messageAttachment.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more MessageAttachments and returns the data updated in the database. + * @param {MessageAttachmentUpdateManyAndReturnArgs} args - Arguments to update many MessageAttachments. + * @example + * // Update many MessageAttachments + * const messageAttachment = await prisma.messageAttachment.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more MessageAttachments and only return the `id` + * const messageAttachmentWithIdOnly = await prisma.messageAttachment.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: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one MessageAttachment. + * @param {MessageAttachmentUpsertArgs} args - Arguments to update or create a MessageAttachment. + * @example + * // Update or create a MessageAttachment + * const messageAttachment = await prisma.messageAttachment.upsert({ + * create: { + * // ... data to create a MessageAttachment + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the MessageAttachment we want to update + * } + * }) + */ + upsert(args: SelectSubset>): Prisma__MessageAttachmentClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of MessageAttachments. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {MessageAttachmentCountArgs} args - Arguments to filter MessageAttachments to count. + * @example + * // Count the number of MessageAttachments + * const count = await prisma.messageAttachment.count({ + * where: { + * // ... the filter for the MessageAttachments we want to count + * } + * }) + **/ + count( + args?: Subset, + ): Prisma.PrismaPromise< + T extends $Utils.Record<'select', any> + ? T['select'] extends true + ? number + : GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a MessageAttachment. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {MessageAttachmentAggregateArgs} 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: Subset): Prisma.PrismaPromise> + + /** + * Group by MessageAttachment. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {MessageAttachmentGroupByArgs} 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 MessageAttachmentGroupByArgs, + HasSelectOrTake extends Or< + Extends<'skip', Keys>, + Extends<'take', Keys> + >, + OrderByArg extends True extends HasSelectOrTake + ? { orderBy: MessageAttachmentGroupByArgs['orderBy'] } + : { orderBy?: MessageAttachmentGroupByArgs['orderBy'] }, + OrderFields extends ExcludeUnderscoreKeys>>, + ByFields extends MaybeTupleToUnion, + ByValid extends Has, + HavingFields extends GetHavingFields, + HavingValid extends Has, + ByEmpty extends T['by'] extends never[] ? True : False, + InputErrors extends ByEmpty extends True + ? `Error: "by" must not be empty.` + : HavingValid extends 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 Keys + ? 'orderBy' extends Keys + ? ByValid extends 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 Keys + ? 'orderBy' extends Keys + ? ByValid extends 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 True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: SubsetIntersection & InputErrors): {} extends InputErrors ? GetMessageAttachmentGroupByPayload : Prisma.PrismaPromise + /** + * Fields of the MessageAttachment model + */ + readonly fields: MessageAttachmentFieldRefs; + } + + /** + * The delegate class that acts as a "Promise-like" for MessageAttachment. + * 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__MessageAttachmentClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + message = {}>(args?: Subset>): Prisma__ChatMessageClient<$Result.GetResult, 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): $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): $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): $Utils.JsPromise + } + + + + + /** + * Fields of the MessageAttachment model + */ + interface MessageAttachmentFieldRefs { + readonly id: FieldRef<"MessageAttachment", 'String'> + readonly messageId: FieldRef<"MessageAttachment", 'String'> + readonly fileName: FieldRef<"MessageAttachment", 'String'> + readonly fileType: FieldRef<"MessageAttachment", 'String'> + readonly filePath: FieldRef<"MessageAttachment", 'String'> + readonly fileSize: FieldRef<"MessageAttachment", 'Int'> + readonly thumbnailPath: FieldRef<"MessageAttachment", 'String'> + readonly storageProvider: FieldRef<"MessageAttachment", 'String'> + readonly storageKey: FieldRef<"MessageAttachment", 'String'> + readonly createdAt: FieldRef<"MessageAttachment", 'DateTime'> + } + + + // Custom InputTypes + /** + * MessageAttachment findUnique + */ + export type MessageAttachmentFindUniqueArgs = { + /** + * Select specific fields to fetch from the MessageAttachment + */ + select?: MessageAttachmentSelect | null + /** + * Omit specific fields from the MessageAttachment + */ + omit?: MessageAttachmentOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: MessageAttachmentInclude | null + /** + * Filter, which MessageAttachment to fetch. + */ + where: MessageAttachmentWhereUniqueInput + } + + /** + * MessageAttachment findUniqueOrThrow + */ + export type MessageAttachmentFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the MessageAttachment + */ + select?: MessageAttachmentSelect | null + /** + * Omit specific fields from the MessageAttachment + */ + omit?: MessageAttachmentOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: MessageAttachmentInclude | null + /** + * Filter, which MessageAttachment to fetch. + */ + where: MessageAttachmentWhereUniqueInput + } + + /** + * MessageAttachment findFirst + */ + export type MessageAttachmentFindFirstArgs = { + /** + * Select specific fields to fetch from the MessageAttachment + */ + select?: MessageAttachmentSelect | null + /** + * Omit specific fields from the MessageAttachment + */ + omit?: MessageAttachmentOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: MessageAttachmentInclude | null + /** + * Filter, which MessageAttachment to fetch. + */ + where?: MessageAttachmentWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of MessageAttachments to fetch. + */ + orderBy?: MessageAttachmentOrderByWithRelationInput | MessageAttachmentOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for MessageAttachments. + */ + cursor?: MessageAttachmentWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` MessageAttachments 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` MessageAttachments. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of MessageAttachments. + */ + distinct?: MessageAttachmentScalarFieldEnum | MessageAttachmentScalarFieldEnum[] + } + + /** + * MessageAttachment findFirstOrThrow + */ + export type MessageAttachmentFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the MessageAttachment + */ + select?: MessageAttachmentSelect | null + /** + * Omit specific fields from the MessageAttachment + */ + omit?: MessageAttachmentOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: MessageAttachmentInclude | null + /** + * Filter, which MessageAttachment to fetch. + */ + where?: MessageAttachmentWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of MessageAttachments to fetch. + */ + orderBy?: MessageAttachmentOrderByWithRelationInput | MessageAttachmentOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for MessageAttachments. + */ + cursor?: MessageAttachmentWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` MessageAttachments 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` MessageAttachments. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of MessageAttachments. + */ + distinct?: MessageAttachmentScalarFieldEnum | MessageAttachmentScalarFieldEnum[] + } + + /** + * MessageAttachment findMany + */ + export type MessageAttachmentFindManyArgs = { + /** + * Select specific fields to fetch from the MessageAttachment + */ + select?: MessageAttachmentSelect | null + /** + * Omit specific fields from the MessageAttachment + */ + omit?: MessageAttachmentOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: MessageAttachmentInclude | null + /** + * Filter, which MessageAttachments to fetch. + */ + where?: MessageAttachmentWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of MessageAttachments to fetch. + */ + orderBy?: MessageAttachmentOrderByWithRelationInput | MessageAttachmentOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing MessageAttachments. + */ + cursor?: MessageAttachmentWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` MessageAttachments 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` MessageAttachments. + */ + skip?: number + distinct?: MessageAttachmentScalarFieldEnum | MessageAttachmentScalarFieldEnum[] + } + + /** + * MessageAttachment create + */ + export type MessageAttachmentCreateArgs = { + /** + * Select specific fields to fetch from the MessageAttachment + */ + select?: MessageAttachmentSelect | null + /** + * Omit specific fields from the MessageAttachment + */ + omit?: MessageAttachmentOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: MessageAttachmentInclude | null + /** + * The data needed to create a MessageAttachment. + */ + data: XOR + } + + /** + * MessageAttachment createMany + */ + export type MessageAttachmentCreateManyArgs = { + /** + * The data used to create many MessageAttachments. + */ + data: MessageAttachmentCreateManyInput | MessageAttachmentCreateManyInput[] + skipDuplicates?: boolean + } + + /** + * MessageAttachment createManyAndReturn + */ + export type MessageAttachmentCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the MessageAttachment + */ + select?: MessageAttachmentSelectCreateManyAndReturn | null + /** + * Omit specific fields from the MessageAttachment + */ + omit?: MessageAttachmentOmit | null + /** + * The data used to create many MessageAttachments. + */ + data: MessageAttachmentCreateManyInput | MessageAttachmentCreateManyInput[] + skipDuplicates?: boolean + /** + * Choose, which related nodes to fetch as well + */ + include?: MessageAttachmentIncludeCreateManyAndReturn | null + } + + /** + * MessageAttachment update + */ + export type MessageAttachmentUpdateArgs = { + /** + * Select specific fields to fetch from the MessageAttachment + */ + select?: MessageAttachmentSelect | null + /** + * Omit specific fields from the MessageAttachment + */ + omit?: MessageAttachmentOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: MessageAttachmentInclude | null + /** + * The data needed to update a MessageAttachment. + */ + data: XOR + /** + * Choose, which MessageAttachment to update. + */ + where: MessageAttachmentWhereUniqueInput + } + + /** + * MessageAttachment updateMany + */ + export type MessageAttachmentUpdateManyArgs = { + /** + * The data used to update MessageAttachments. + */ + data: XOR + /** + * Filter which MessageAttachments to update + */ + where?: MessageAttachmentWhereInput + /** + * Limit how many MessageAttachments to update. + */ + limit?: number + } + + /** + * MessageAttachment updateManyAndReturn + */ + export type MessageAttachmentUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the MessageAttachment + */ + select?: MessageAttachmentSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the MessageAttachment + */ + omit?: MessageAttachmentOmit | null + /** + * The data used to update MessageAttachments. + */ + data: XOR + /** + * Filter which MessageAttachments to update + */ + where?: MessageAttachmentWhereInput + /** + * Limit how many MessageAttachments to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: MessageAttachmentIncludeUpdateManyAndReturn | null + } + + /** + * MessageAttachment upsert + */ + export type MessageAttachmentUpsertArgs = { + /** + * Select specific fields to fetch from the MessageAttachment + */ + select?: MessageAttachmentSelect | null + /** + * Omit specific fields from the MessageAttachment + */ + omit?: MessageAttachmentOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: MessageAttachmentInclude | null + /** + * The filter to search for the MessageAttachment to update in case it exists. + */ + where: MessageAttachmentWhereUniqueInput + /** + * In case the MessageAttachment found by the `where` argument doesn't exist, create a new MessageAttachment with this data. + */ + create: XOR + /** + * In case the MessageAttachment was found with the provided `where` argument, update it with this data. + */ + update: XOR + } + + /** + * MessageAttachment delete + */ + export type MessageAttachmentDeleteArgs = { + /** + * Select specific fields to fetch from the MessageAttachment + */ + select?: MessageAttachmentSelect | null + /** + * Omit specific fields from the MessageAttachment + */ + omit?: MessageAttachmentOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: MessageAttachmentInclude | null + /** + * Filter which MessageAttachment to delete. + */ + where: MessageAttachmentWhereUniqueInput + } + + /** + * MessageAttachment deleteMany + */ + export type MessageAttachmentDeleteManyArgs = { + /** + * Filter which MessageAttachments to delete + */ + where?: MessageAttachmentWhereInput + /** + * Limit how many MessageAttachments to delete. + */ + limit?: number + } + + /** + * MessageAttachment without action + */ + export type MessageAttachmentDefaultArgs = { + /** + * Select specific fields to fetch from the MessageAttachment + */ + select?: MessageAttachmentSelect | null + /** + * Omit specific fields from the MessageAttachment + */ + omit?: MessageAttachmentOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: MessageAttachmentInclude | null + } + + + /** + * Model MessageReaction + */ + + export type AggregateMessageReaction = { + _count: MessageReactionCountAggregateOutputType | null + _min: MessageReactionMinAggregateOutputType | null + _max: MessageReactionMaxAggregateOutputType | null + } + + export type MessageReactionMinAggregateOutputType = { + id: string | null + messageId: string | null + userId: string | null + reaction: string | null + createdAt: Date | null + } + + export type MessageReactionMaxAggregateOutputType = { + id: string | null + messageId: string | null + userId: string | null + reaction: string | null + createdAt: Date | null + } + + export type MessageReactionCountAggregateOutputType = { + id: number + messageId: number + userId: number + reaction: number + createdAt: number + _all: number + } + + + export type MessageReactionMinAggregateInputType = { + id?: true + messageId?: true + userId?: true + reaction?: true + createdAt?: true + } + + export type MessageReactionMaxAggregateInputType = { + id?: true + messageId?: true + userId?: true + reaction?: true + createdAt?: true + } + + export type MessageReactionCountAggregateInputType = { + id?: true + messageId?: true + userId?: true + reaction?: true + createdAt?: true + _all?: true + } + + export type MessageReactionAggregateArgs = { + /** + * Filter which MessageReaction to aggregate. + */ + where?: MessageReactionWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of MessageReactions to fetch. + */ + orderBy?: MessageReactionOrderByWithRelationInput | MessageReactionOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: MessageReactionWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` MessageReactions 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` MessageReactions. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned MessageReactions + **/ + _count?: true | MessageReactionCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: MessageReactionMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: MessageReactionMaxAggregateInputType + } + + export type GetMessageReactionAggregateType = { + [P in keyof T & keyof AggregateMessageReaction]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : GetScalarType + : GetScalarType + } + + + + + export type MessageReactionGroupByArgs = { + where?: MessageReactionWhereInput + orderBy?: MessageReactionOrderByWithAggregationInput | MessageReactionOrderByWithAggregationInput[] + by: MessageReactionScalarFieldEnum[] | MessageReactionScalarFieldEnum + having?: MessageReactionScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: MessageReactionCountAggregateInputType | true + _min?: MessageReactionMinAggregateInputType + _max?: MessageReactionMaxAggregateInputType + } + + export type MessageReactionGroupByOutputType = { + id: string + messageId: string + userId: string + reaction: string + createdAt: Date + _count: MessageReactionCountAggregateOutputType | null + _min: MessageReactionMinAggregateOutputType | null + _max: MessageReactionMaxAggregateOutputType | null + } + + type GetMessageReactionGroupByPayload = Prisma.PrismaPromise< + Array< + PickEnumerable & + { + [P in ((keyof T) & (keyof MessageReactionGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : GetScalarType + : GetScalarType + } + > + > + + + export type MessageReactionSelect = $Extensions.GetSelect<{ + id?: boolean + messageId?: boolean + userId?: boolean + reaction?: boolean + createdAt?: boolean + message?: boolean | ChatMessageDefaultArgs + user?: boolean | UserDefaultArgs + }, ExtArgs["result"]["messageReaction"]> + + export type MessageReactionSelectCreateManyAndReturn = $Extensions.GetSelect<{ + id?: boolean + messageId?: boolean + userId?: boolean + reaction?: boolean + createdAt?: boolean + message?: boolean | ChatMessageDefaultArgs + user?: boolean | UserDefaultArgs + }, ExtArgs["result"]["messageReaction"]> + + export type MessageReactionSelectUpdateManyAndReturn = $Extensions.GetSelect<{ + id?: boolean + messageId?: boolean + userId?: boolean + reaction?: boolean + createdAt?: boolean + message?: boolean | ChatMessageDefaultArgs + user?: boolean | UserDefaultArgs + }, ExtArgs["result"]["messageReaction"]> + + export type MessageReactionSelectScalar = { + id?: boolean + messageId?: boolean + userId?: boolean + reaction?: boolean + createdAt?: boolean + } + + export type MessageReactionOmit = $Extensions.GetOmit<"id" | "messageId" | "userId" | "reaction" | "createdAt", ExtArgs["result"]["messageReaction"]> + export type MessageReactionInclude = { + message?: boolean | ChatMessageDefaultArgs + user?: boolean | UserDefaultArgs + } + export type MessageReactionIncludeCreateManyAndReturn = { + message?: boolean | ChatMessageDefaultArgs + user?: boolean | UserDefaultArgs + } + export type MessageReactionIncludeUpdateManyAndReturn = { + message?: boolean | ChatMessageDefaultArgs + user?: boolean | UserDefaultArgs + } + + export type $MessageReactionPayload = { + name: "MessageReaction" + objects: { + message: Prisma.$ChatMessagePayload + user: Prisma.$UserPayload + } + scalars: $Extensions.GetPayloadResult<{ + id: string + messageId: string + userId: string + reaction: string + createdAt: Date + }, ExtArgs["result"]["messageReaction"]> + composites: {} + } + + type MessageReactionGetPayload = $Result.GetResult + + type MessageReactionCountArgs = + Omit & { + select?: MessageReactionCountAggregateInputType | true + } + + export interface MessageReactionDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['MessageReaction'], meta: { name: 'MessageReaction' } } + /** + * Find zero or one MessageReaction that matches the filter. + * @param {MessageReactionFindUniqueArgs} args - Arguments to find a MessageReaction + * @example + * // Get one MessageReaction + * const messageReaction = await prisma.messageReaction.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: SelectSubset>): Prisma__MessageReactionClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one MessageReaction that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {MessageReactionFindUniqueOrThrowArgs} args - Arguments to find a MessageReaction + * @example + * // Get one MessageReaction + * const messageReaction = await prisma.messageReaction.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: SelectSubset>): Prisma__MessageReactionClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first MessageReaction 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 {MessageReactionFindFirstArgs} args - Arguments to find a MessageReaction + * @example + * // Get one MessageReaction + * const messageReaction = await prisma.messageReaction.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: SelectSubset>): Prisma__MessageReactionClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first MessageReaction 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 {MessageReactionFindFirstOrThrowArgs} args - Arguments to find a MessageReaction + * @example + * // Get one MessageReaction + * const messageReaction = await prisma.messageReaction.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: SelectSubset>): Prisma__MessageReactionClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more MessageReactions 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 {MessageReactionFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all MessageReactions + * const messageReactions = await prisma.messageReaction.findMany() + * + * // Get first 10 MessageReactions + * const messageReactions = await prisma.messageReaction.findMany({ take: 10 }) + * + * // Only select the `id` + * const messageReactionWithIdOnly = await prisma.messageReaction.findMany({ select: { id: true } }) + * + */ + findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> + + /** + * Create a MessageReaction. + * @param {MessageReactionCreateArgs} args - Arguments to create a MessageReaction. + * @example + * // Create one MessageReaction + * const MessageReaction = await prisma.messageReaction.create({ + * data: { + * // ... data to create a MessageReaction + * } + * }) + * + */ + create(args: SelectSubset>): Prisma__MessageReactionClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many MessageReactions. + * @param {MessageReactionCreateManyArgs} args - Arguments to create many MessageReactions. + * @example + * // Create many MessageReactions + * const messageReaction = await prisma.messageReaction.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: SelectSubset>): Prisma.PrismaPromise + + /** + * Create many MessageReactions and returns the data saved in the database. + * @param {MessageReactionCreateManyAndReturnArgs} args - Arguments to create many MessageReactions. + * @example + * // Create many MessageReactions + * const messageReaction = await prisma.messageReaction.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many MessageReactions and only return the `id` + * const messageReactionWithIdOnly = await prisma.messageReaction.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?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a MessageReaction. + * @param {MessageReactionDeleteArgs} args - Arguments to delete one MessageReaction. + * @example + * // Delete one MessageReaction + * const MessageReaction = await prisma.messageReaction.delete({ + * where: { + * // ... filter to delete one MessageReaction + * } + * }) + * + */ + delete(args: SelectSubset>): Prisma__MessageReactionClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one MessageReaction. + * @param {MessageReactionUpdateArgs} args - Arguments to update one MessageReaction. + * @example + * // Update one MessageReaction + * const messageReaction = await prisma.messageReaction.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: SelectSubset>): Prisma__MessageReactionClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more MessageReactions. + * @param {MessageReactionDeleteManyArgs} args - Arguments to filter MessageReactions to delete. + * @example + * // Delete a few MessageReactions + * const { count } = await prisma.messageReaction.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more MessageReactions. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {MessageReactionUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many MessageReactions + * const messageReaction = await prisma.messageReaction.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more MessageReactions and returns the data updated in the database. + * @param {MessageReactionUpdateManyAndReturnArgs} args - Arguments to update many MessageReactions. + * @example + * // Update many MessageReactions + * const messageReaction = await prisma.messageReaction.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more MessageReactions and only return the `id` + * const messageReactionWithIdOnly = await prisma.messageReaction.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: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one MessageReaction. + * @param {MessageReactionUpsertArgs} args - Arguments to update or create a MessageReaction. + * @example + * // Update or create a MessageReaction + * const messageReaction = await prisma.messageReaction.upsert({ + * create: { + * // ... data to create a MessageReaction + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the MessageReaction we want to update + * } + * }) + */ + upsert(args: SelectSubset>): Prisma__MessageReactionClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of MessageReactions. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {MessageReactionCountArgs} args - Arguments to filter MessageReactions to count. + * @example + * // Count the number of MessageReactions + * const count = await prisma.messageReaction.count({ + * where: { + * // ... the filter for the MessageReactions we want to count + * } + * }) + **/ + count( + args?: Subset, + ): Prisma.PrismaPromise< + T extends $Utils.Record<'select', any> + ? T['select'] extends true + ? number + : GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a MessageReaction. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {MessageReactionAggregateArgs} 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: Subset): Prisma.PrismaPromise> + + /** + * Group by MessageReaction. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {MessageReactionGroupByArgs} 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 MessageReactionGroupByArgs, + HasSelectOrTake extends Or< + Extends<'skip', Keys>, + Extends<'take', Keys> + >, + OrderByArg extends True extends HasSelectOrTake + ? { orderBy: MessageReactionGroupByArgs['orderBy'] } + : { orderBy?: MessageReactionGroupByArgs['orderBy'] }, + OrderFields extends ExcludeUnderscoreKeys>>, + ByFields extends MaybeTupleToUnion, + ByValid extends Has, + HavingFields extends GetHavingFields, + HavingValid extends Has, + ByEmpty extends T['by'] extends never[] ? True : False, + InputErrors extends ByEmpty extends True + ? `Error: "by" must not be empty.` + : HavingValid extends 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 Keys + ? 'orderBy' extends Keys + ? ByValid extends 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 Keys + ? 'orderBy' extends Keys + ? ByValid extends 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 True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: SubsetIntersection & InputErrors): {} extends InputErrors ? GetMessageReactionGroupByPayload : Prisma.PrismaPromise + /** + * Fields of the MessageReaction model + */ + readonly fields: MessageReactionFieldRefs; + } + + /** + * The delegate class that acts as a "Promise-like" for MessageReaction. + * 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__MessageReactionClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + message = {}>(args?: Subset>): Prisma__ChatMessageClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + user = {}>(args?: Subset>): Prisma__UserClient<$Result.GetResult, 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): $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): $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): $Utils.JsPromise + } + + + + + /** + * Fields of the MessageReaction model + */ + interface MessageReactionFieldRefs { + readonly id: FieldRef<"MessageReaction", 'String'> + readonly messageId: FieldRef<"MessageReaction", 'String'> + readonly userId: FieldRef<"MessageReaction", 'String'> + readonly reaction: FieldRef<"MessageReaction", 'String'> + readonly createdAt: FieldRef<"MessageReaction", 'DateTime'> + } + + + // Custom InputTypes + /** + * MessageReaction findUnique + */ + export type MessageReactionFindUniqueArgs = { + /** + * Select specific fields to fetch from the MessageReaction + */ + select?: MessageReactionSelect | null + /** + * Omit specific fields from the MessageReaction + */ + omit?: MessageReactionOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: MessageReactionInclude | null + /** + * Filter, which MessageReaction to fetch. + */ + where: MessageReactionWhereUniqueInput + } + + /** + * MessageReaction findUniqueOrThrow + */ + export type MessageReactionFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the MessageReaction + */ + select?: MessageReactionSelect | null + /** + * Omit specific fields from the MessageReaction + */ + omit?: MessageReactionOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: MessageReactionInclude | null + /** + * Filter, which MessageReaction to fetch. + */ + where: MessageReactionWhereUniqueInput + } + + /** + * MessageReaction findFirst + */ + export type MessageReactionFindFirstArgs = { + /** + * Select specific fields to fetch from the MessageReaction + */ + select?: MessageReactionSelect | null + /** + * Omit specific fields from the MessageReaction + */ + omit?: MessageReactionOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: MessageReactionInclude | null + /** + * Filter, which MessageReaction to fetch. + */ + where?: MessageReactionWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of MessageReactions to fetch. + */ + orderBy?: MessageReactionOrderByWithRelationInput | MessageReactionOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for MessageReactions. + */ + cursor?: MessageReactionWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` MessageReactions 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` MessageReactions. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of MessageReactions. + */ + distinct?: MessageReactionScalarFieldEnum | MessageReactionScalarFieldEnum[] + } + + /** + * MessageReaction findFirstOrThrow + */ + export type MessageReactionFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the MessageReaction + */ + select?: MessageReactionSelect | null + /** + * Omit specific fields from the MessageReaction + */ + omit?: MessageReactionOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: MessageReactionInclude | null + /** + * Filter, which MessageReaction to fetch. + */ + where?: MessageReactionWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of MessageReactions to fetch. + */ + orderBy?: MessageReactionOrderByWithRelationInput | MessageReactionOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for MessageReactions. + */ + cursor?: MessageReactionWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` MessageReactions 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` MessageReactions. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of MessageReactions. + */ + distinct?: MessageReactionScalarFieldEnum | MessageReactionScalarFieldEnum[] + } + + /** + * MessageReaction findMany + */ + export type MessageReactionFindManyArgs = { + /** + * Select specific fields to fetch from the MessageReaction + */ + select?: MessageReactionSelect | null + /** + * Omit specific fields from the MessageReaction + */ + omit?: MessageReactionOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: MessageReactionInclude | null + /** + * Filter, which MessageReactions to fetch. + */ + where?: MessageReactionWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of MessageReactions to fetch. + */ + orderBy?: MessageReactionOrderByWithRelationInput | MessageReactionOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing MessageReactions. + */ + cursor?: MessageReactionWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` MessageReactions 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` MessageReactions. + */ + skip?: number + distinct?: MessageReactionScalarFieldEnum | MessageReactionScalarFieldEnum[] + } + + /** + * MessageReaction create + */ + export type MessageReactionCreateArgs = { + /** + * Select specific fields to fetch from the MessageReaction + */ + select?: MessageReactionSelect | null + /** + * Omit specific fields from the MessageReaction + */ + omit?: MessageReactionOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: MessageReactionInclude | null + /** + * The data needed to create a MessageReaction. + */ + data: XOR + } + + /** + * MessageReaction createMany + */ + export type MessageReactionCreateManyArgs = { + /** + * The data used to create many MessageReactions. + */ + data: MessageReactionCreateManyInput | MessageReactionCreateManyInput[] + skipDuplicates?: boolean + } + + /** + * MessageReaction createManyAndReturn + */ + export type MessageReactionCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the MessageReaction + */ + select?: MessageReactionSelectCreateManyAndReturn | null + /** + * Omit specific fields from the MessageReaction + */ + omit?: MessageReactionOmit | null + /** + * The data used to create many MessageReactions. + */ + data: MessageReactionCreateManyInput | MessageReactionCreateManyInput[] + skipDuplicates?: boolean + /** + * Choose, which related nodes to fetch as well + */ + include?: MessageReactionIncludeCreateManyAndReturn | null + } + + /** + * MessageReaction update + */ + export type MessageReactionUpdateArgs = { + /** + * Select specific fields to fetch from the MessageReaction + */ + select?: MessageReactionSelect | null + /** + * Omit specific fields from the MessageReaction + */ + omit?: MessageReactionOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: MessageReactionInclude | null + /** + * The data needed to update a MessageReaction. + */ + data: XOR + /** + * Choose, which MessageReaction to update. + */ + where: MessageReactionWhereUniqueInput + } + + /** + * MessageReaction updateMany + */ + export type MessageReactionUpdateManyArgs = { + /** + * The data used to update MessageReactions. + */ + data: XOR + /** + * Filter which MessageReactions to update + */ + where?: MessageReactionWhereInput + /** + * Limit how many MessageReactions to update. + */ + limit?: number + } + + /** + * MessageReaction updateManyAndReturn + */ + export type MessageReactionUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the MessageReaction + */ + select?: MessageReactionSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the MessageReaction + */ + omit?: MessageReactionOmit | null + /** + * The data used to update MessageReactions. + */ + data: XOR + /** + * Filter which MessageReactions to update + */ + where?: MessageReactionWhereInput + /** + * Limit how many MessageReactions to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: MessageReactionIncludeUpdateManyAndReturn | null + } + + /** + * MessageReaction upsert + */ + export type MessageReactionUpsertArgs = { + /** + * Select specific fields to fetch from the MessageReaction + */ + select?: MessageReactionSelect | null + /** + * Omit specific fields from the MessageReaction + */ + omit?: MessageReactionOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: MessageReactionInclude | null + /** + * The filter to search for the MessageReaction to update in case it exists. + */ + where: MessageReactionWhereUniqueInput + /** + * In case the MessageReaction found by the `where` argument doesn't exist, create a new MessageReaction with this data. + */ + create: XOR + /** + * In case the MessageReaction was found with the provided `where` argument, update it with this data. + */ + update: XOR + } + + /** + * MessageReaction delete + */ + export type MessageReactionDeleteArgs = { + /** + * Select specific fields to fetch from the MessageReaction + */ + select?: MessageReactionSelect | null + /** + * Omit specific fields from the MessageReaction + */ + omit?: MessageReactionOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: MessageReactionInclude | null + /** + * Filter which MessageReaction to delete. + */ + where: MessageReactionWhereUniqueInput + } + + /** + * MessageReaction deleteMany + */ + export type MessageReactionDeleteManyArgs = { + /** + * Filter which MessageReactions to delete + */ + where?: MessageReactionWhereInput + /** + * Limit how many MessageReactions to delete. + */ + limit?: number + } + + /** + * MessageReaction without action + */ + export type MessageReactionDefaultArgs = { + /** + * Select specific fields to fetch from the MessageReaction + */ + select?: MessageReactionSelect | null + /** + * Omit specific fields from the MessageReaction + */ + omit?: MessageReactionOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: MessageReactionInclude | null + } + + + /** + * Model PinnedMessage + */ + + export type AggregatePinnedMessage = { + _count: PinnedMessageCountAggregateOutputType | null + _min: PinnedMessageMinAggregateOutputType | null + _max: PinnedMessageMaxAggregateOutputType | null + } + + export type PinnedMessageMinAggregateOutputType = { + id: string | null + chatRoomId: string | null + messageId: string | null + pinnedBy: string | null + pinnedAt: Date | null + } + + export type PinnedMessageMaxAggregateOutputType = { + id: string | null + chatRoomId: string | null + messageId: string | null + pinnedBy: string | null + pinnedAt: Date | null + } + + export type PinnedMessageCountAggregateOutputType = { + id: number + chatRoomId: number + messageId: number + pinnedBy: number + pinnedAt: number + _all: number + } + + + export type PinnedMessageMinAggregateInputType = { + id?: true + chatRoomId?: true + messageId?: true + pinnedBy?: true + pinnedAt?: true + } + + export type PinnedMessageMaxAggregateInputType = { + id?: true + chatRoomId?: true + messageId?: true + pinnedBy?: true + pinnedAt?: true + } + + export type PinnedMessageCountAggregateInputType = { + id?: true + chatRoomId?: true + messageId?: true + pinnedBy?: true + pinnedAt?: true + _all?: true + } + + export type PinnedMessageAggregateArgs = { + /** + * Filter which PinnedMessage to aggregate. + */ + where?: PinnedMessageWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of PinnedMessages to fetch. + */ + orderBy?: PinnedMessageOrderByWithRelationInput | PinnedMessageOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: PinnedMessageWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` PinnedMessages 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` PinnedMessages. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned PinnedMessages + **/ + _count?: true | PinnedMessageCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: PinnedMessageMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: PinnedMessageMaxAggregateInputType + } + + export type GetPinnedMessageAggregateType = { + [P in keyof T & keyof AggregatePinnedMessage]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : GetScalarType + : GetScalarType + } + + + + + export type PinnedMessageGroupByArgs = { + where?: PinnedMessageWhereInput + orderBy?: PinnedMessageOrderByWithAggregationInput | PinnedMessageOrderByWithAggregationInput[] + by: PinnedMessageScalarFieldEnum[] | PinnedMessageScalarFieldEnum + having?: PinnedMessageScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: PinnedMessageCountAggregateInputType | true + _min?: PinnedMessageMinAggregateInputType + _max?: PinnedMessageMaxAggregateInputType + } + + export type PinnedMessageGroupByOutputType = { + id: string + chatRoomId: string + messageId: string + pinnedBy: string + pinnedAt: Date + _count: PinnedMessageCountAggregateOutputType | null + _min: PinnedMessageMinAggregateOutputType | null + _max: PinnedMessageMaxAggregateOutputType | null + } + + type GetPinnedMessageGroupByPayload = Prisma.PrismaPromise< + Array< + PickEnumerable & + { + [P in ((keyof T) & (keyof PinnedMessageGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : GetScalarType + : GetScalarType + } + > + > + + + export type PinnedMessageSelect = $Extensions.GetSelect<{ + id?: boolean + chatRoomId?: boolean + messageId?: boolean + pinnedBy?: boolean + pinnedAt?: boolean + chatRoom?: boolean | ChatRoomDefaultArgs + message?: boolean | ChatMessageDefaultArgs + user?: boolean | UserDefaultArgs + }, ExtArgs["result"]["pinnedMessage"]> + + export type PinnedMessageSelectCreateManyAndReturn = $Extensions.GetSelect<{ + id?: boolean + chatRoomId?: boolean + messageId?: boolean + pinnedBy?: boolean + pinnedAt?: boolean + chatRoom?: boolean | ChatRoomDefaultArgs + message?: boolean | ChatMessageDefaultArgs + user?: boolean | UserDefaultArgs + }, ExtArgs["result"]["pinnedMessage"]> + + export type PinnedMessageSelectUpdateManyAndReturn = $Extensions.GetSelect<{ + id?: boolean + chatRoomId?: boolean + messageId?: boolean + pinnedBy?: boolean + pinnedAt?: boolean + chatRoom?: boolean | ChatRoomDefaultArgs + message?: boolean | ChatMessageDefaultArgs + user?: boolean | UserDefaultArgs + }, ExtArgs["result"]["pinnedMessage"]> + + export type PinnedMessageSelectScalar = { + id?: boolean + chatRoomId?: boolean + messageId?: boolean + pinnedBy?: boolean + pinnedAt?: boolean + } + + export type PinnedMessageOmit = $Extensions.GetOmit<"id" | "chatRoomId" | "messageId" | "pinnedBy" | "pinnedAt", ExtArgs["result"]["pinnedMessage"]> + export type PinnedMessageInclude = { + chatRoom?: boolean | ChatRoomDefaultArgs + message?: boolean | ChatMessageDefaultArgs + user?: boolean | UserDefaultArgs + } + export type PinnedMessageIncludeCreateManyAndReturn = { + chatRoom?: boolean | ChatRoomDefaultArgs + message?: boolean | ChatMessageDefaultArgs + user?: boolean | UserDefaultArgs + } + export type PinnedMessageIncludeUpdateManyAndReturn = { + chatRoom?: boolean | ChatRoomDefaultArgs + message?: boolean | ChatMessageDefaultArgs + user?: boolean | UserDefaultArgs + } + + export type $PinnedMessagePayload = { + name: "PinnedMessage" + objects: { + chatRoom: Prisma.$ChatRoomPayload + message: Prisma.$ChatMessagePayload + user: Prisma.$UserPayload + } + scalars: $Extensions.GetPayloadResult<{ + id: string + chatRoomId: string + messageId: string + pinnedBy: string + pinnedAt: Date + }, ExtArgs["result"]["pinnedMessage"]> + composites: {} + } + + type PinnedMessageGetPayload = $Result.GetResult + + type PinnedMessageCountArgs = + Omit & { + select?: PinnedMessageCountAggregateInputType | true + } + + export interface PinnedMessageDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['PinnedMessage'], meta: { name: 'PinnedMessage' } } + /** + * Find zero or one PinnedMessage that matches the filter. + * @param {PinnedMessageFindUniqueArgs} args - Arguments to find a PinnedMessage + * @example + * // Get one PinnedMessage + * const pinnedMessage = await prisma.pinnedMessage.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: SelectSubset>): Prisma__PinnedMessageClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one PinnedMessage that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {PinnedMessageFindUniqueOrThrowArgs} args - Arguments to find a PinnedMessage + * @example + * // Get one PinnedMessage + * const pinnedMessage = await prisma.pinnedMessage.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: SelectSubset>): Prisma__PinnedMessageClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first PinnedMessage 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 {PinnedMessageFindFirstArgs} args - Arguments to find a PinnedMessage + * @example + * // Get one PinnedMessage + * const pinnedMessage = await prisma.pinnedMessage.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: SelectSubset>): Prisma__PinnedMessageClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first PinnedMessage 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 {PinnedMessageFindFirstOrThrowArgs} args - Arguments to find a PinnedMessage + * @example + * // Get one PinnedMessage + * const pinnedMessage = await prisma.pinnedMessage.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: SelectSubset>): Prisma__PinnedMessageClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more PinnedMessages 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 {PinnedMessageFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all PinnedMessages + * const pinnedMessages = await prisma.pinnedMessage.findMany() + * + * // Get first 10 PinnedMessages + * const pinnedMessages = await prisma.pinnedMessage.findMany({ take: 10 }) + * + * // Only select the `id` + * const pinnedMessageWithIdOnly = await prisma.pinnedMessage.findMany({ select: { id: true } }) + * + */ + findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> + + /** + * Create a PinnedMessage. + * @param {PinnedMessageCreateArgs} args - Arguments to create a PinnedMessage. + * @example + * // Create one PinnedMessage + * const PinnedMessage = await prisma.pinnedMessage.create({ + * data: { + * // ... data to create a PinnedMessage + * } + * }) + * + */ + create(args: SelectSubset>): Prisma__PinnedMessageClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many PinnedMessages. + * @param {PinnedMessageCreateManyArgs} args - Arguments to create many PinnedMessages. + * @example + * // Create many PinnedMessages + * const pinnedMessage = await prisma.pinnedMessage.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: SelectSubset>): Prisma.PrismaPromise + + /** + * Create many PinnedMessages and returns the data saved in the database. + * @param {PinnedMessageCreateManyAndReturnArgs} args - Arguments to create many PinnedMessages. + * @example + * // Create many PinnedMessages + * const pinnedMessage = await prisma.pinnedMessage.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many PinnedMessages and only return the `id` + * const pinnedMessageWithIdOnly = await prisma.pinnedMessage.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?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a PinnedMessage. + * @param {PinnedMessageDeleteArgs} args - Arguments to delete one PinnedMessage. + * @example + * // Delete one PinnedMessage + * const PinnedMessage = await prisma.pinnedMessage.delete({ + * where: { + * // ... filter to delete one PinnedMessage + * } + * }) + * + */ + delete(args: SelectSubset>): Prisma__PinnedMessageClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one PinnedMessage. + * @param {PinnedMessageUpdateArgs} args - Arguments to update one PinnedMessage. + * @example + * // Update one PinnedMessage + * const pinnedMessage = await prisma.pinnedMessage.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: SelectSubset>): Prisma__PinnedMessageClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more PinnedMessages. + * @param {PinnedMessageDeleteManyArgs} args - Arguments to filter PinnedMessages to delete. + * @example + * // Delete a few PinnedMessages + * const { count } = await prisma.pinnedMessage.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more PinnedMessages. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {PinnedMessageUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many PinnedMessages + * const pinnedMessage = await prisma.pinnedMessage.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more PinnedMessages and returns the data updated in the database. + * @param {PinnedMessageUpdateManyAndReturnArgs} args - Arguments to update many PinnedMessages. + * @example + * // Update many PinnedMessages + * const pinnedMessage = await prisma.pinnedMessage.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more PinnedMessages and only return the `id` + * const pinnedMessageWithIdOnly = await prisma.pinnedMessage.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: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one PinnedMessage. + * @param {PinnedMessageUpsertArgs} args - Arguments to update or create a PinnedMessage. + * @example + * // Update or create a PinnedMessage + * const pinnedMessage = await prisma.pinnedMessage.upsert({ + * create: { + * // ... data to create a PinnedMessage + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the PinnedMessage we want to update + * } + * }) + */ + upsert(args: SelectSubset>): Prisma__PinnedMessageClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of PinnedMessages. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {PinnedMessageCountArgs} args - Arguments to filter PinnedMessages to count. + * @example + * // Count the number of PinnedMessages + * const count = await prisma.pinnedMessage.count({ + * where: { + * // ... the filter for the PinnedMessages we want to count + * } + * }) + **/ + count( + args?: Subset, + ): Prisma.PrismaPromise< + T extends $Utils.Record<'select', any> + ? T['select'] extends true + ? number + : GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a PinnedMessage. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {PinnedMessageAggregateArgs} 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: Subset): Prisma.PrismaPromise> + + /** + * Group by PinnedMessage. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {PinnedMessageGroupByArgs} 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 PinnedMessageGroupByArgs, + HasSelectOrTake extends Or< + Extends<'skip', Keys>, + Extends<'take', Keys> + >, + OrderByArg extends True extends HasSelectOrTake + ? { orderBy: PinnedMessageGroupByArgs['orderBy'] } + : { orderBy?: PinnedMessageGroupByArgs['orderBy'] }, + OrderFields extends ExcludeUnderscoreKeys>>, + ByFields extends MaybeTupleToUnion, + ByValid extends Has, + HavingFields extends GetHavingFields, + HavingValid extends Has, + ByEmpty extends T['by'] extends never[] ? True : False, + InputErrors extends ByEmpty extends True + ? `Error: "by" must not be empty.` + : HavingValid extends 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 Keys + ? 'orderBy' extends Keys + ? ByValid extends 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 Keys + ? 'orderBy' extends Keys + ? ByValid extends 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 True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: SubsetIntersection & InputErrors): {} extends InputErrors ? GetPinnedMessageGroupByPayload : Prisma.PrismaPromise + /** + * Fields of the PinnedMessage model + */ + readonly fields: PinnedMessageFieldRefs; + } + + /** + * The delegate class that acts as a "Promise-like" for PinnedMessage. + * 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__PinnedMessageClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + chatRoom = {}>(args?: Subset>): Prisma__ChatRoomClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + message = {}>(args?: Subset>): Prisma__ChatMessageClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + user = {}>(args?: Subset>): Prisma__UserClient<$Result.GetResult, 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): $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): $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): $Utils.JsPromise + } + + + + + /** + * Fields of the PinnedMessage model + */ + interface PinnedMessageFieldRefs { + readonly id: FieldRef<"PinnedMessage", 'String'> + readonly chatRoomId: FieldRef<"PinnedMessage", 'String'> + readonly messageId: FieldRef<"PinnedMessage", 'String'> + readonly pinnedBy: FieldRef<"PinnedMessage", 'String'> + readonly pinnedAt: FieldRef<"PinnedMessage", 'DateTime'> + } + + + // Custom InputTypes + /** + * PinnedMessage findUnique + */ + export type PinnedMessageFindUniqueArgs = { + /** + * Select specific fields to fetch from the PinnedMessage + */ + select?: PinnedMessageSelect | null + /** + * Omit specific fields from the PinnedMessage + */ + omit?: PinnedMessageOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: PinnedMessageInclude | null + /** + * Filter, which PinnedMessage to fetch. + */ + where: PinnedMessageWhereUniqueInput + } + + /** + * PinnedMessage findUniqueOrThrow + */ + export type PinnedMessageFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the PinnedMessage + */ + select?: PinnedMessageSelect | null + /** + * Omit specific fields from the PinnedMessage + */ + omit?: PinnedMessageOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: PinnedMessageInclude | null + /** + * Filter, which PinnedMessage to fetch. + */ + where: PinnedMessageWhereUniqueInput + } + + /** + * PinnedMessage findFirst + */ + export type PinnedMessageFindFirstArgs = { + /** + * Select specific fields to fetch from the PinnedMessage + */ + select?: PinnedMessageSelect | null + /** + * Omit specific fields from the PinnedMessage + */ + omit?: PinnedMessageOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: PinnedMessageInclude | null + /** + * Filter, which PinnedMessage to fetch. + */ + where?: PinnedMessageWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of PinnedMessages to fetch. + */ + orderBy?: PinnedMessageOrderByWithRelationInput | PinnedMessageOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for PinnedMessages. + */ + cursor?: PinnedMessageWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` PinnedMessages 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` PinnedMessages. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of PinnedMessages. + */ + distinct?: PinnedMessageScalarFieldEnum | PinnedMessageScalarFieldEnum[] + } + + /** + * PinnedMessage findFirstOrThrow + */ + export type PinnedMessageFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the PinnedMessage + */ + select?: PinnedMessageSelect | null + /** + * Omit specific fields from the PinnedMessage + */ + omit?: PinnedMessageOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: PinnedMessageInclude | null + /** + * Filter, which PinnedMessage to fetch. + */ + where?: PinnedMessageWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of PinnedMessages to fetch. + */ + orderBy?: PinnedMessageOrderByWithRelationInput | PinnedMessageOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for PinnedMessages. + */ + cursor?: PinnedMessageWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` PinnedMessages 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` PinnedMessages. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of PinnedMessages. + */ + distinct?: PinnedMessageScalarFieldEnum | PinnedMessageScalarFieldEnum[] + } + + /** + * PinnedMessage findMany + */ + export type PinnedMessageFindManyArgs = { + /** + * Select specific fields to fetch from the PinnedMessage + */ + select?: PinnedMessageSelect | null + /** + * Omit specific fields from the PinnedMessage + */ + omit?: PinnedMessageOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: PinnedMessageInclude | null + /** + * Filter, which PinnedMessages to fetch. + */ + where?: PinnedMessageWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of PinnedMessages to fetch. + */ + orderBy?: PinnedMessageOrderByWithRelationInput | PinnedMessageOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing PinnedMessages. + */ + cursor?: PinnedMessageWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` PinnedMessages 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` PinnedMessages. + */ + skip?: number + distinct?: PinnedMessageScalarFieldEnum | PinnedMessageScalarFieldEnum[] + } + + /** + * PinnedMessage create + */ + export type PinnedMessageCreateArgs = { + /** + * Select specific fields to fetch from the PinnedMessage + */ + select?: PinnedMessageSelect | null + /** + * Omit specific fields from the PinnedMessage + */ + omit?: PinnedMessageOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: PinnedMessageInclude | null + /** + * The data needed to create a PinnedMessage. + */ + data: XOR + } + + /** + * PinnedMessage createMany + */ + export type PinnedMessageCreateManyArgs = { + /** + * The data used to create many PinnedMessages. + */ + data: PinnedMessageCreateManyInput | PinnedMessageCreateManyInput[] + skipDuplicates?: boolean + } + + /** + * PinnedMessage createManyAndReturn + */ + export type PinnedMessageCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the PinnedMessage + */ + select?: PinnedMessageSelectCreateManyAndReturn | null + /** + * Omit specific fields from the PinnedMessage + */ + omit?: PinnedMessageOmit | null + /** + * The data used to create many PinnedMessages. + */ + data: PinnedMessageCreateManyInput | PinnedMessageCreateManyInput[] + skipDuplicates?: boolean + /** + * Choose, which related nodes to fetch as well + */ + include?: PinnedMessageIncludeCreateManyAndReturn | null + } + + /** + * PinnedMessage update + */ + export type PinnedMessageUpdateArgs = { + /** + * Select specific fields to fetch from the PinnedMessage + */ + select?: PinnedMessageSelect | null + /** + * Omit specific fields from the PinnedMessage + */ + omit?: PinnedMessageOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: PinnedMessageInclude | null + /** + * The data needed to update a PinnedMessage. + */ + data: XOR + /** + * Choose, which PinnedMessage to update. + */ + where: PinnedMessageWhereUniqueInput + } + + /** + * PinnedMessage updateMany + */ + export type PinnedMessageUpdateManyArgs = { + /** + * The data used to update PinnedMessages. + */ + data: XOR + /** + * Filter which PinnedMessages to update + */ + where?: PinnedMessageWhereInput + /** + * Limit how many PinnedMessages to update. + */ + limit?: number + } + + /** + * PinnedMessage updateManyAndReturn + */ + export type PinnedMessageUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the PinnedMessage + */ + select?: PinnedMessageSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the PinnedMessage + */ + omit?: PinnedMessageOmit | null + /** + * The data used to update PinnedMessages. + */ + data: XOR + /** + * Filter which PinnedMessages to update + */ + where?: PinnedMessageWhereInput + /** + * Limit how many PinnedMessages to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: PinnedMessageIncludeUpdateManyAndReturn | null + } + + /** + * PinnedMessage upsert + */ + export type PinnedMessageUpsertArgs = { + /** + * Select specific fields to fetch from the PinnedMessage + */ + select?: PinnedMessageSelect | null + /** + * Omit specific fields from the PinnedMessage + */ + omit?: PinnedMessageOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: PinnedMessageInclude | null + /** + * The filter to search for the PinnedMessage to update in case it exists. + */ + where: PinnedMessageWhereUniqueInput + /** + * In case the PinnedMessage found by the `where` argument doesn't exist, create a new PinnedMessage with this data. + */ + create: XOR + /** + * In case the PinnedMessage was found with the provided `where` argument, update it with this data. + */ + update: XOR + } + + /** + * PinnedMessage delete + */ + export type PinnedMessageDeleteArgs = { + /** + * Select specific fields to fetch from the PinnedMessage + */ + select?: PinnedMessageSelect | null + /** + * Omit specific fields from the PinnedMessage + */ + omit?: PinnedMessageOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: PinnedMessageInclude | null + /** + * Filter which PinnedMessage to delete. + */ + where: PinnedMessageWhereUniqueInput + } + + /** + * PinnedMessage deleteMany + */ + export type PinnedMessageDeleteManyArgs = { + /** + * Filter which PinnedMessages to delete + */ + where?: PinnedMessageWhereInput + /** + * Limit how many PinnedMessages to delete. + */ + limit?: number + } + + /** + * PinnedMessage without action + */ + export type PinnedMessageDefaultArgs = { + /** + * Select specific fields to fetch from the PinnedMessage + */ + select?: PinnedMessageSelect | null + /** + * Omit specific fields from the PinnedMessage + */ + omit?: PinnedMessageOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: PinnedMessageInclude | null + } + + + /** + * Model VideoConferenceSession + */ + + export type AggregateVideoConferenceSession = { + _count: VideoConferenceSessionCountAggregateOutputType | null + _min: VideoConferenceSessionMinAggregateOutputType | null + _max: VideoConferenceSessionMaxAggregateOutputType | null + } + + export type VideoConferenceSessionMinAggregateOutputType = { + id: string | null + chatRoomId: string | null + title: string | null + description: string | null + startTime: Date | null + endTime: Date | null + status: $Enums.SessionStatus | null + hostId: string | null + meetingUrl: string | null + recordingUrl: string | null + } + + export type VideoConferenceSessionMaxAggregateOutputType = { + id: string | null + chatRoomId: string | null + title: string | null + description: string | null + startTime: Date | null + endTime: Date | null + status: $Enums.SessionStatus | null + hostId: string | null + meetingUrl: string | null + recordingUrl: string | null + } + + export type VideoConferenceSessionCountAggregateOutputType = { + id: number + chatRoomId: number + title: number + description: number + startTime: number + endTime: number + status: number + hostId: number + meetingUrl: number + recordingUrl: number + settings: number + _all: number + } + + + export type VideoConferenceSessionMinAggregateInputType = { + id?: true + chatRoomId?: true + title?: true + description?: true + startTime?: true + endTime?: true + status?: true + hostId?: true + meetingUrl?: true + recordingUrl?: true + } + + export type VideoConferenceSessionMaxAggregateInputType = { + id?: true + chatRoomId?: true + title?: true + description?: true + startTime?: true + endTime?: true + status?: true + hostId?: true + meetingUrl?: true + recordingUrl?: true + } + + export type VideoConferenceSessionCountAggregateInputType = { + id?: true + chatRoomId?: true + title?: true + description?: true + startTime?: true + endTime?: true + status?: true + hostId?: true + meetingUrl?: true + recordingUrl?: true + settings?: true + _all?: true + } + + export type VideoConferenceSessionAggregateArgs = { + /** + * Filter which VideoConferenceSession to aggregate. + */ + where?: VideoConferenceSessionWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of VideoConferenceSessions to fetch. + */ + orderBy?: VideoConferenceSessionOrderByWithRelationInput | VideoConferenceSessionOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: VideoConferenceSessionWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` VideoConferenceSessions 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` VideoConferenceSessions. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned VideoConferenceSessions + **/ + _count?: true | VideoConferenceSessionCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: VideoConferenceSessionMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: VideoConferenceSessionMaxAggregateInputType + } + + export type GetVideoConferenceSessionAggregateType = { + [P in keyof T & keyof AggregateVideoConferenceSession]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : GetScalarType + : GetScalarType + } + + + + + export type VideoConferenceSessionGroupByArgs = { + where?: VideoConferenceSessionWhereInput + orderBy?: VideoConferenceSessionOrderByWithAggregationInput | VideoConferenceSessionOrderByWithAggregationInput[] + by: VideoConferenceSessionScalarFieldEnum[] | VideoConferenceSessionScalarFieldEnum + having?: VideoConferenceSessionScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: VideoConferenceSessionCountAggregateInputType | true + _min?: VideoConferenceSessionMinAggregateInputType + _max?: VideoConferenceSessionMaxAggregateInputType + } + + export type VideoConferenceSessionGroupByOutputType = { + id: string + chatRoomId: string + title: string + description: string | null + startTime: Date + endTime: Date | null + status: $Enums.SessionStatus + hostId: string + meetingUrl: string + recordingUrl: string | null + settings: JsonValue | null + _count: VideoConferenceSessionCountAggregateOutputType | null + _min: VideoConferenceSessionMinAggregateOutputType | null + _max: VideoConferenceSessionMaxAggregateOutputType | null + } + + type GetVideoConferenceSessionGroupByPayload = Prisma.PrismaPromise< + Array< + PickEnumerable & + { + [P in ((keyof T) & (keyof VideoConferenceSessionGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : GetScalarType + : GetScalarType + } + > + > + + + export type VideoConferenceSessionSelect = $Extensions.GetSelect<{ + id?: boolean + chatRoomId?: boolean + title?: boolean + description?: boolean + startTime?: boolean + endTime?: boolean + status?: boolean + hostId?: boolean + meetingUrl?: boolean + recordingUrl?: boolean + settings?: boolean + chatRoom?: boolean | ChatRoomDefaultArgs + host?: boolean | UserDefaultArgs + participants?: boolean | VideoConferenceSession$participantsArgs + recordings?: boolean | VideoConferenceSession$recordingsArgs + _count?: boolean | VideoConferenceSessionCountOutputTypeDefaultArgs + }, ExtArgs["result"]["videoConferenceSession"]> + + export type VideoConferenceSessionSelectCreateManyAndReturn = $Extensions.GetSelect<{ + id?: boolean + chatRoomId?: boolean + title?: boolean + description?: boolean + startTime?: boolean + endTime?: boolean + status?: boolean + hostId?: boolean + meetingUrl?: boolean + recordingUrl?: boolean + settings?: boolean + chatRoom?: boolean | ChatRoomDefaultArgs + host?: boolean | UserDefaultArgs + }, ExtArgs["result"]["videoConferenceSession"]> + + export type VideoConferenceSessionSelectUpdateManyAndReturn = $Extensions.GetSelect<{ + id?: boolean + chatRoomId?: boolean + title?: boolean + description?: boolean + startTime?: boolean + endTime?: boolean + status?: boolean + hostId?: boolean + meetingUrl?: boolean + recordingUrl?: boolean + settings?: boolean + chatRoom?: boolean | ChatRoomDefaultArgs + host?: boolean | UserDefaultArgs + }, ExtArgs["result"]["videoConferenceSession"]> + + export type VideoConferenceSessionSelectScalar = { + id?: boolean + chatRoomId?: boolean + title?: boolean + description?: boolean + startTime?: boolean + endTime?: boolean + status?: boolean + hostId?: boolean + meetingUrl?: boolean + recordingUrl?: boolean + settings?: boolean + } + + export type VideoConferenceSessionOmit = $Extensions.GetOmit<"id" | "chatRoomId" | "title" | "description" | "startTime" | "endTime" | "status" | "hostId" | "meetingUrl" | "recordingUrl" | "settings", ExtArgs["result"]["videoConferenceSession"]> + export type VideoConferenceSessionInclude = { + chatRoom?: boolean | ChatRoomDefaultArgs + host?: boolean | UserDefaultArgs + participants?: boolean | VideoConferenceSession$participantsArgs + recordings?: boolean | VideoConferenceSession$recordingsArgs + _count?: boolean | VideoConferenceSessionCountOutputTypeDefaultArgs + } + export type VideoConferenceSessionIncludeCreateManyAndReturn = { + chatRoom?: boolean | ChatRoomDefaultArgs + host?: boolean | UserDefaultArgs + } + export type VideoConferenceSessionIncludeUpdateManyAndReturn = { + chatRoom?: boolean | ChatRoomDefaultArgs + host?: boolean | UserDefaultArgs + } + + export type $VideoConferenceSessionPayload = { + name: "VideoConferenceSession" + objects: { + chatRoom: Prisma.$ChatRoomPayload + host: Prisma.$UserPayload + participants: Prisma.$VideoParticipantPayload[] + recordings: Prisma.$VideoRecordingPayload[] + } + scalars: $Extensions.GetPayloadResult<{ + id: string + chatRoomId: string + title: string + description: string | null + startTime: Date + endTime: Date | null + status: $Enums.SessionStatus + hostId: string + meetingUrl: string + recordingUrl: string | null + settings: Prisma.JsonValue | null + }, ExtArgs["result"]["videoConferenceSession"]> + composites: {} + } + + type VideoConferenceSessionGetPayload = $Result.GetResult + + type VideoConferenceSessionCountArgs = + Omit & { + select?: VideoConferenceSessionCountAggregateInputType | true + } + + export interface VideoConferenceSessionDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['VideoConferenceSession'], meta: { name: 'VideoConferenceSession' } } + /** + * Find zero or one VideoConferenceSession that matches the filter. + * @param {VideoConferenceSessionFindUniqueArgs} args - Arguments to find a VideoConferenceSession + * @example + * // Get one VideoConferenceSession + * const videoConferenceSession = await prisma.videoConferenceSession.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: SelectSubset>): Prisma__VideoConferenceSessionClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one VideoConferenceSession that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {VideoConferenceSessionFindUniqueOrThrowArgs} args - Arguments to find a VideoConferenceSession + * @example + * // Get one VideoConferenceSession + * const videoConferenceSession = await prisma.videoConferenceSession.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: SelectSubset>): Prisma__VideoConferenceSessionClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first VideoConferenceSession 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 {VideoConferenceSessionFindFirstArgs} args - Arguments to find a VideoConferenceSession + * @example + * // Get one VideoConferenceSession + * const videoConferenceSession = await prisma.videoConferenceSession.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: SelectSubset>): Prisma__VideoConferenceSessionClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first VideoConferenceSession 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 {VideoConferenceSessionFindFirstOrThrowArgs} args - Arguments to find a VideoConferenceSession + * @example + * // Get one VideoConferenceSession + * const videoConferenceSession = await prisma.videoConferenceSession.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: SelectSubset>): Prisma__VideoConferenceSessionClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more VideoConferenceSessions 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 {VideoConferenceSessionFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all VideoConferenceSessions + * const videoConferenceSessions = await prisma.videoConferenceSession.findMany() + * + * // Get first 10 VideoConferenceSessions + * const videoConferenceSessions = await prisma.videoConferenceSession.findMany({ take: 10 }) + * + * // Only select the `id` + * const videoConferenceSessionWithIdOnly = await prisma.videoConferenceSession.findMany({ select: { id: true } }) + * + */ + findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> + + /** + * Create a VideoConferenceSession. + * @param {VideoConferenceSessionCreateArgs} args - Arguments to create a VideoConferenceSession. + * @example + * // Create one VideoConferenceSession + * const VideoConferenceSession = await prisma.videoConferenceSession.create({ + * data: { + * // ... data to create a VideoConferenceSession + * } + * }) + * + */ + create(args: SelectSubset>): Prisma__VideoConferenceSessionClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many VideoConferenceSessions. + * @param {VideoConferenceSessionCreateManyArgs} args - Arguments to create many VideoConferenceSessions. + * @example + * // Create many VideoConferenceSessions + * const videoConferenceSession = await prisma.videoConferenceSession.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: SelectSubset>): Prisma.PrismaPromise + + /** + * Create many VideoConferenceSessions and returns the data saved in the database. + * @param {VideoConferenceSessionCreateManyAndReturnArgs} args - Arguments to create many VideoConferenceSessions. + * @example + * // Create many VideoConferenceSessions + * const videoConferenceSession = await prisma.videoConferenceSession.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many VideoConferenceSessions and only return the `id` + * const videoConferenceSessionWithIdOnly = await prisma.videoConferenceSession.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?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a VideoConferenceSession. + * @param {VideoConferenceSessionDeleteArgs} args - Arguments to delete one VideoConferenceSession. + * @example + * // Delete one VideoConferenceSession + * const VideoConferenceSession = await prisma.videoConferenceSession.delete({ + * where: { + * // ... filter to delete one VideoConferenceSession + * } + * }) + * + */ + delete(args: SelectSubset>): Prisma__VideoConferenceSessionClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one VideoConferenceSession. + * @param {VideoConferenceSessionUpdateArgs} args - Arguments to update one VideoConferenceSession. + * @example + * // Update one VideoConferenceSession + * const videoConferenceSession = await prisma.videoConferenceSession.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: SelectSubset>): Prisma__VideoConferenceSessionClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more VideoConferenceSessions. + * @param {VideoConferenceSessionDeleteManyArgs} args - Arguments to filter VideoConferenceSessions to delete. + * @example + * // Delete a few VideoConferenceSessions + * const { count } = await prisma.videoConferenceSession.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more VideoConferenceSessions. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {VideoConferenceSessionUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many VideoConferenceSessions + * const videoConferenceSession = await prisma.videoConferenceSession.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more VideoConferenceSessions and returns the data updated in the database. + * @param {VideoConferenceSessionUpdateManyAndReturnArgs} args - Arguments to update many VideoConferenceSessions. + * @example + * // Update many VideoConferenceSessions + * const videoConferenceSession = await prisma.videoConferenceSession.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more VideoConferenceSessions and only return the `id` + * const videoConferenceSessionWithIdOnly = await prisma.videoConferenceSession.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: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one VideoConferenceSession. + * @param {VideoConferenceSessionUpsertArgs} args - Arguments to update or create a VideoConferenceSession. + * @example + * // Update or create a VideoConferenceSession + * const videoConferenceSession = await prisma.videoConferenceSession.upsert({ + * create: { + * // ... data to create a VideoConferenceSession + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the VideoConferenceSession we want to update + * } + * }) + */ + upsert(args: SelectSubset>): Prisma__VideoConferenceSessionClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of VideoConferenceSessions. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {VideoConferenceSessionCountArgs} args - Arguments to filter VideoConferenceSessions to count. + * @example + * // Count the number of VideoConferenceSessions + * const count = await prisma.videoConferenceSession.count({ + * where: { + * // ... the filter for the VideoConferenceSessions we want to count + * } + * }) + **/ + count( + args?: Subset, + ): Prisma.PrismaPromise< + T extends $Utils.Record<'select', any> + ? T['select'] extends true + ? number + : GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a VideoConferenceSession. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {VideoConferenceSessionAggregateArgs} 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: Subset): Prisma.PrismaPromise> + + /** + * Group by VideoConferenceSession. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {VideoConferenceSessionGroupByArgs} 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 VideoConferenceSessionGroupByArgs, + HasSelectOrTake extends Or< + Extends<'skip', Keys>, + Extends<'take', Keys> + >, + OrderByArg extends True extends HasSelectOrTake + ? { orderBy: VideoConferenceSessionGroupByArgs['orderBy'] } + : { orderBy?: VideoConferenceSessionGroupByArgs['orderBy'] }, + OrderFields extends ExcludeUnderscoreKeys>>, + ByFields extends MaybeTupleToUnion, + ByValid extends Has, + HavingFields extends GetHavingFields, + HavingValid extends Has, + ByEmpty extends T['by'] extends never[] ? True : False, + InputErrors extends ByEmpty extends True + ? `Error: "by" must not be empty.` + : HavingValid extends 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 Keys + ? 'orderBy' extends Keys + ? ByValid extends 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 Keys + ? 'orderBy' extends Keys + ? ByValid extends 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 True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: SubsetIntersection & InputErrors): {} extends InputErrors ? GetVideoConferenceSessionGroupByPayload : Prisma.PrismaPromise + /** + * Fields of the VideoConferenceSession model + */ + readonly fields: VideoConferenceSessionFieldRefs; + } + + /** + * The delegate class that acts as a "Promise-like" for VideoConferenceSession. + * 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__VideoConferenceSessionClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + chatRoom = {}>(args?: Subset>): Prisma__ChatRoomClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + host = {}>(args?: Subset>): Prisma__UserClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + participants = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> + recordings = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, 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): $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): $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): $Utils.JsPromise + } + + + + + /** + * Fields of the VideoConferenceSession model + */ + interface VideoConferenceSessionFieldRefs { + readonly id: FieldRef<"VideoConferenceSession", 'String'> + readonly chatRoomId: FieldRef<"VideoConferenceSession", 'String'> + readonly title: FieldRef<"VideoConferenceSession", 'String'> + readonly description: FieldRef<"VideoConferenceSession", 'String'> + readonly startTime: FieldRef<"VideoConferenceSession", 'DateTime'> + readonly endTime: FieldRef<"VideoConferenceSession", 'DateTime'> + readonly status: FieldRef<"VideoConferenceSession", 'SessionStatus'> + readonly hostId: FieldRef<"VideoConferenceSession", 'String'> + readonly meetingUrl: FieldRef<"VideoConferenceSession", 'String'> + readonly recordingUrl: FieldRef<"VideoConferenceSession", 'String'> + readonly settings: FieldRef<"VideoConferenceSession", 'Json'> + } + + + // Custom InputTypes + /** + * VideoConferenceSession findUnique + */ + export type VideoConferenceSessionFindUniqueArgs = { + /** + * Select specific fields to fetch from the VideoConferenceSession + */ + select?: VideoConferenceSessionSelect | null + /** + * Omit specific fields from the VideoConferenceSession + */ + omit?: VideoConferenceSessionOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: VideoConferenceSessionInclude | null + /** + * Filter, which VideoConferenceSession to fetch. + */ + where: VideoConferenceSessionWhereUniqueInput + } + + /** + * VideoConferenceSession findUniqueOrThrow + */ + export type VideoConferenceSessionFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the VideoConferenceSession + */ + select?: VideoConferenceSessionSelect | null + /** + * Omit specific fields from the VideoConferenceSession + */ + omit?: VideoConferenceSessionOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: VideoConferenceSessionInclude | null + /** + * Filter, which VideoConferenceSession to fetch. + */ + where: VideoConferenceSessionWhereUniqueInput + } + + /** + * VideoConferenceSession findFirst + */ + export type VideoConferenceSessionFindFirstArgs = { + /** + * Select specific fields to fetch from the VideoConferenceSession + */ + select?: VideoConferenceSessionSelect | null + /** + * Omit specific fields from the VideoConferenceSession + */ + omit?: VideoConferenceSessionOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: VideoConferenceSessionInclude | null + /** + * Filter, which VideoConferenceSession to fetch. + */ + where?: VideoConferenceSessionWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of VideoConferenceSessions to fetch. + */ + orderBy?: VideoConferenceSessionOrderByWithRelationInput | VideoConferenceSessionOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for VideoConferenceSessions. + */ + cursor?: VideoConferenceSessionWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` VideoConferenceSessions 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` VideoConferenceSessions. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of VideoConferenceSessions. + */ + distinct?: VideoConferenceSessionScalarFieldEnum | VideoConferenceSessionScalarFieldEnum[] + } + + /** + * VideoConferenceSession findFirstOrThrow + */ + export type VideoConferenceSessionFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the VideoConferenceSession + */ + select?: VideoConferenceSessionSelect | null + /** + * Omit specific fields from the VideoConferenceSession + */ + omit?: VideoConferenceSessionOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: VideoConferenceSessionInclude | null + /** + * Filter, which VideoConferenceSession to fetch. + */ + where?: VideoConferenceSessionWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of VideoConferenceSessions to fetch. + */ + orderBy?: VideoConferenceSessionOrderByWithRelationInput | VideoConferenceSessionOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for VideoConferenceSessions. + */ + cursor?: VideoConferenceSessionWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` VideoConferenceSessions 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` VideoConferenceSessions. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of VideoConferenceSessions. + */ + distinct?: VideoConferenceSessionScalarFieldEnum | VideoConferenceSessionScalarFieldEnum[] + } + + /** + * VideoConferenceSession findMany + */ + export type VideoConferenceSessionFindManyArgs = { + /** + * Select specific fields to fetch from the VideoConferenceSession + */ + select?: VideoConferenceSessionSelect | null + /** + * Omit specific fields from the VideoConferenceSession + */ + omit?: VideoConferenceSessionOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: VideoConferenceSessionInclude | null + /** + * Filter, which VideoConferenceSessions to fetch. + */ + where?: VideoConferenceSessionWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of VideoConferenceSessions to fetch. + */ + orderBy?: VideoConferenceSessionOrderByWithRelationInput | VideoConferenceSessionOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing VideoConferenceSessions. + */ + cursor?: VideoConferenceSessionWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` VideoConferenceSessions 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` VideoConferenceSessions. + */ + skip?: number + distinct?: VideoConferenceSessionScalarFieldEnum | VideoConferenceSessionScalarFieldEnum[] + } + + /** + * VideoConferenceSession create + */ + export type VideoConferenceSessionCreateArgs = { + /** + * Select specific fields to fetch from the VideoConferenceSession + */ + select?: VideoConferenceSessionSelect | null + /** + * Omit specific fields from the VideoConferenceSession + */ + omit?: VideoConferenceSessionOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: VideoConferenceSessionInclude | null + /** + * The data needed to create a VideoConferenceSession. + */ + data: XOR + } + + /** + * VideoConferenceSession createMany + */ + export type VideoConferenceSessionCreateManyArgs = { + /** + * The data used to create many VideoConferenceSessions. + */ + data: VideoConferenceSessionCreateManyInput | VideoConferenceSessionCreateManyInput[] + skipDuplicates?: boolean + } + + /** + * VideoConferenceSession createManyAndReturn + */ + export type VideoConferenceSessionCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the VideoConferenceSession + */ + select?: VideoConferenceSessionSelectCreateManyAndReturn | null + /** + * Omit specific fields from the VideoConferenceSession + */ + omit?: VideoConferenceSessionOmit | null + /** + * The data used to create many VideoConferenceSessions. + */ + data: VideoConferenceSessionCreateManyInput | VideoConferenceSessionCreateManyInput[] + skipDuplicates?: boolean + /** + * Choose, which related nodes to fetch as well + */ + include?: VideoConferenceSessionIncludeCreateManyAndReturn | null + } + + /** + * VideoConferenceSession update + */ + export type VideoConferenceSessionUpdateArgs = { + /** + * Select specific fields to fetch from the VideoConferenceSession + */ + select?: VideoConferenceSessionSelect | null + /** + * Omit specific fields from the VideoConferenceSession + */ + omit?: VideoConferenceSessionOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: VideoConferenceSessionInclude | null + /** + * The data needed to update a VideoConferenceSession. + */ + data: XOR + /** + * Choose, which VideoConferenceSession to update. + */ + where: VideoConferenceSessionWhereUniqueInput + } + + /** + * VideoConferenceSession updateMany + */ + export type VideoConferenceSessionUpdateManyArgs = { + /** + * The data used to update VideoConferenceSessions. + */ + data: XOR + /** + * Filter which VideoConferenceSessions to update + */ + where?: VideoConferenceSessionWhereInput + /** + * Limit how many VideoConferenceSessions to update. + */ + limit?: number + } + + /** + * VideoConferenceSession updateManyAndReturn + */ + export type VideoConferenceSessionUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the VideoConferenceSession + */ + select?: VideoConferenceSessionSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the VideoConferenceSession + */ + omit?: VideoConferenceSessionOmit | null + /** + * The data used to update VideoConferenceSessions. + */ + data: XOR + /** + * Filter which VideoConferenceSessions to update + */ + where?: VideoConferenceSessionWhereInput + /** + * Limit how many VideoConferenceSessions to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: VideoConferenceSessionIncludeUpdateManyAndReturn | null + } + + /** + * VideoConferenceSession upsert + */ + export type VideoConferenceSessionUpsertArgs = { + /** + * Select specific fields to fetch from the VideoConferenceSession + */ + select?: VideoConferenceSessionSelect | null + /** + * Omit specific fields from the VideoConferenceSession + */ + omit?: VideoConferenceSessionOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: VideoConferenceSessionInclude | null + /** + * The filter to search for the VideoConferenceSession to update in case it exists. + */ + where: VideoConferenceSessionWhereUniqueInput + /** + * In case the VideoConferenceSession found by the `where` argument doesn't exist, create a new VideoConferenceSession with this data. + */ + create: XOR + /** + * In case the VideoConferenceSession was found with the provided `where` argument, update it with this data. + */ + update: XOR + } + + /** + * VideoConferenceSession delete + */ + export type VideoConferenceSessionDeleteArgs = { + /** + * Select specific fields to fetch from the VideoConferenceSession + */ + select?: VideoConferenceSessionSelect | null + /** + * Omit specific fields from the VideoConferenceSession + */ + omit?: VideoConferenceSessionOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: VideoConferenceSessionInclude | null + /** + * Filter which VideoConferenceSession to delete. + */ + where: VideoConferenceSessionWhereUniqueInput + } + + /** + * VideoConferenceSession deleteMany + */ + export type VideoConferenceSessionDeleteManyArgs = { + /** + * Filter which VideoConferenceSessions to delete + */ + where?: VideoConferenceSessionWhereInput + /** + * Limit how many VideoConferenceSessions to delete. + */ + limit?: number + } + + /** + * VideoConferenceSession.participants + */ + export type VideoConferenceSession$participantsArgs = { + /** + * Select specific fields to fetch from the VideoParticipant + */ + select?: VideoParticipantSelect | null + /** + * Omit specific fields from the VideoParticipant + */ + omit?: VideoParticipantOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: VideoParticipantInclude | null + where?: VideoParticipantWhereInput + orderBy?: VideoParticipantOrderByWithRelationInput | VideoParticipantOrderByWithRelationInput[] + cursor?: VideoParticipantWhereUniqueInput + take?: number + skip?: number + distinct?: VideoParticipantScalarFieldEnum | VideoParticipantScalarFieldEnum[] + } + + /** + * VideoConferenceSession.recordings + */ + export type VideoConferenceSession$recordingsArgs = { + /** + * Select specific fields to fetch from the VideoRecording + */ + select?: VideoRecordingSelect | null + /** + * Omit specific fields from the VideoRecording + */ + omit?: VideoRecordingOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: VideoRecordingInclude | null + where?: VideoRecordingWhereInput + orderBy?: VideoRecordingOrderByWithRelationInput | VideoRecordingOrderByWithRelationInput[] + cursor?: VideoRecordingWhereUniqueInput + take?: number + skip?: number + distinct?: VideoRecordingScalarFieldEnum | VideoRecordingScalarFieldEnum[] + } + + /** + * VideoConferenceSession without action + */ + export type VideoConferenceSessionDefaultArgs = { + /** + * Select specific fields to fetch from the VideoConferenceSession + */ + select?: VideoConferenceSessionSelect | null + /** + * Omit specific fields from the VideoConferenceSession + */ + omit?: VideoConferenceSessionOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: VideoConferenceSessionInclude | null + } + + + /** + * Model VideoParticipant + */ + + export type AggregateVideoParticipant = { + _count: VideoParticipantCountAggregateOutputType | null + _min: VideoParticipantMinAggregateOutputType | null + _max: VideoParticipantMaxAggregateOutputType | null + } + + export type VideoParticipantMinAggregateOutputType = { + id: string | null + sessionId: string | null + userId: string | null + joinedAt: Date | null + leftAt: Date | null + role: $Enums.VideoParticipantRole | null + connectionQuality: string | null + hasVideo: boolean | null + hasAudio: boolean | null + } + + export type VideoParticipantMaxAggregateOutputType = { + id: string | null + sessionId: string | null + userId: string | null + joinedAt: Date | null + leftAt: Date | null + role: $Enums.VideoParticipantRole | null + connectionQuality: string | null + hasVideo: boolean | null + hasAudio: boolean | null + } + + export type VideoParticipantCountAggregateOutputType = { + id: number + sessionId: number + userId: number + joinedAt: number + leftAt: number + role: number + deviceInfo: number + connectionQuality: number + hasVideo: number + hasAudio: number + _all: number + } + + + export type VideoParticipantMinAggregateInputType = { + id?: true + sessionId?: true + userId?: true + joinedAt?: true + leftAt?: true + role?: true + connectionQuality?: true + hasVideo?: true + hasAudio?: true + } + + export type VideoParticipantMaxAggregateInputType = { + id?: true + sessionId?: true + userId?: true + joinedAt?: true + leftAt?: true + role?: true + connectionQuality?: true + hasVideo?: true + hasAudio?: true + } + + export type VideoParticipantCountAggregateInputType = { + id?: true + sessionId?: true + userId?: true + joinedAt?: true + leftAt?: true + role?: true + deviceInfo?: true + connectionQuality?: true + hasVideo?: true + hasAudio?: true + _all?: true + } + + export type VideoParticipantAggregateArgs = { + /** + * Filter which VideoParticipant to aggregate. + */ + where?: VideoParticipantWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of VideoParticipants to fetch. + */ + orderBy?: VideoParticipantOrderByWithRelationInput | VideoParticipantOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: VideoParticipantWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` VideoParticipants 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` VideoParticipants. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned VideoParticipants + **/ + _count?: true | VideoParticipantCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: VideoParticipantMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: VideoParticipantMaxAggregateInputType + } + + export type GetVideoParticipantAggregateType = { + [P in keyof T & keyof AggregateVideoParticipant]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : GetScalarType + : GetScalarType + } + + + + + export type VideoParticipantGroupByArgs = { + where?: VideoParticipantWhereInput + orderBy?: VideoParticipantOrderByWithAggregationInput | VideoParticipantOrderByWithAggregationInput[] + by: VideoParticipantScalarFieldEnum[] | VideoParticipantScalarFieldEnum + having?: VideoParticipantScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: VideoParticipantCountAggregateInputType | true + _min?: VideoParticipantMinAggregateInputType + _max?: VideoParticipantMaxAggregateInputType + } + + export type VideoParticipantGroupByOutputType = { + id: string + sessionId: string + userId: string + joinedAt: Date + leftAt: Date | null + role: $Enums.VideoParticipantRole + deviceInfo: JsonValue | null + connectionQuality: string | null + hasVideo: boolean + hasAudio: boolean + _count: VideoParticipantCountAggregateOutputType | null + _min: VideoParticipantMinAggregateOutputType | null + _max: VideoParticipantMaxAggregateOutputType | null + } + + type GetVideoParticipantGroupByPayload = Prisma.PrismaPromise< + Array< + PickEnumerable & + { + [P in ((keyof T) & (keyof VideoParticipantGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : GetScalarType + : GetScalarType + } + > + > + + + export type VideoParticipantSelect = $Extensions.GetSelect<{ + id?: boolean + sessionId?: boolean + userId?: boolean + joinedAt?: boolean + leftAt?: boolean + role?: boolean + deviceInfo?: boolean + connectionQuality?: boolean + hasVideo?: boolean + hasAudio?: boolean + session?: boolean | VideoConferenceSessionDefaultArgs + user?: boolean | UserDefaultArgs + }, ExtArgs["result"]["videoParticipant"]> + + export type VideoParticipantSelectCreateManyAndReturn = $Extensions.GetSelect<{ + id?: boolean + sessionId?: boolean + userId?: boolean + joinedAt?: boolean + leftAt?: boolean + role?: boolean + deviceInfo?: boolean + connectionQuality?: boolean + hasVideo?: boolean + hasAudio?: boolean + session?: boolean | VideoConferenceSessionDefaultArgs + user?: boolean | UserDefaultArgs + }, ExtArgs["result"]["videoParticipant"]> + + export type VideoParticipantSelectUpdateManyAndReturn = $Extensions.GetSelect<{ + id?: boolean + sessionId?: boolean + userId?: boolean + joinedAt?: boolean + leftAt?: boolean + role?: boolean + deviceInfo?: boolean + connectionQuality?: boolean + hasVideo?: boolean + hasAudio?: boolean + session?: boolean | VideoConferenceSessionDefaultArgs + user?: boolean | UserDefaultArgs + }, ExtArgs["result"]["videoParticipant"]> + + export type VideoParticipantSelectScalar = { + id?: boolean + sessionId?: boolean + userId?: boolean + joinedAt?: boolean + leftAt?: boolean + role?: boolean + deviceInfo?: boolean + connectionQuality?: boolean + hasVideo?: boolean + hasAudio?: boolean + } + + export type VideoParticipantOmit = $Extensions.GetOmit<"id" | "sessionId" | "userId" | "joinedAt" | "leftAt" | "role" | "deviceInfo" | "connectionQuality" | "hasVideo" | "hasAudio", ExtArgs["result"]["videoParticipant"]> + export type VideoParticipantInclude = { + session?: boolean | VideoConferenceSessionDefaultArgs + user?: boolean | UserDefaultArgs + } + export type VideoParticipantIncludeCreateManyAndReturn = { + session?: boolean | VideoConferenceSessionDefaultArgs + user?: boolean | UserDefaultArgs + } + export type VideoParticipantIncludeUpdateManyAndReturn = { + session?: boolean | VideoConferenceSessionDefaultArgs + user?: boolean | UserDefaultArgs + } + + export type $VideoParticipantPayload = { + name: "VideoParticipant" + objects: { + session: Prisma.$VideoConferenceSessionPayload + user: Prisma.$UserPayload + } + scalars: $Extensions.GetPayloadResult<{ + id: string + sessionId: string + userId: string + joinedAt: Date + leftAt: Date | null + role: $Enums.VideoParticipantRole + deviceInfo: Prisma.JsonValue | null + connectionQuality: string | null + hasVideo: boolean + hasAudio: boolean + }, ExtArgs["result"]["videoParticipant"]> + composites: {} + } + + type VideoParticipantGetPayload = $Result.GetResult + + type VideoParticipantCountArgs = + Omit & { + select?: VideoParticipantCountAggregateInputType | true + } + + export interface VideoParticipantDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['VideoParticipant'], meta: { name: 'VideoParticipant' } } + /** + * Find zero or one VideoParticipant that matches the filter. + * @param {VideoParticipantFindUniqueArgs} args - Arguments to find a VideoParticipant + * @example + * // Get one VideoParticipant + * const videoParticipant = await prisma.videoParticipant.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: SelectSubset>): Prisma__VideoParticipantClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one VideoParticipant that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {VideoParticipantFindUniqueOrThrowArgs} args - Arguments to find a VideoParticipant + * @example + * // Get one VideoParticipant + * const videoParticipant = await prisma.videoParticipant.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: SelectSubset>): Prisma__VideoParticipantClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first VideoParticipant 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 {VideoParticipantFindFirstArgs} args - Arguments to find a VideoParticipant + * @example + * // Get one VideoParticipant + * const videoParticipant = await prisma.videoParticipant.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: SelectSubset>): Prisma__VideoParticipantClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first VideoParticipant 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 {VideoParticipantFindFirstOrThrowArgs} args - Arguments to find a VideoParticipant + * @example + * // Get one VideoParticipant + * const videoParticipant = await prisma.videoParticipant.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: SelectSubset>): Prisma__VideoParticipantClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more VideoParticipants 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 {VideoParticipantFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all VideoParticipants + * const videoParticipants = await prisma.videoParticipant.findMany() + * + * // Get first 10 VideoParticipants + * const videoParticipants = await prisma.videoParticipant.findMany({ take: 10 }) + * + * // Only select the `id` + * const videoParticipantWithIdOnly = await prisma.videoParticipant.findMany({ select: { id: true } }) + * + */ + findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> + + /** + * Create a VideoParticipant. + * @param {VideoParticipantCreateArgs} args - Arguments to create a VideoParticipant. + * @example + * // Create one VideoParticipant + * const VideoParticipant = await prisma.videoParticipant.create({ + * data: { + * // ... data to create a VideoParticipant + * } + * }) + * + */ + create(args: SelectSubset>): Prisma__VideoParticipantClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many VideoParticipants. + * @param {VideoParticipantCreateManyArgs} args - Arguments to create many VideoParticipants. + * @example + * // Create many VideoParticipants + * const videoParticipant = await prisma.videoParticipant.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: SelectSubset>): Prisma.PrismaPromise + + /** + * Create many VideoParticipants and returns the data saved in the database. + * @param {VideoParticipantCreateManyAndReturnArgs} args - Arguments to create many VideoParticipants. + * @example + * // Create many VideoParticipants + * const videoParticipant = await prisma.videoParticipant.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many VideoParticipants and only return the `id` + * const videoParticipantWithIdOnly = await prisma.videoParticipant.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?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a VideoParticipant. + * @param {VideoParticipantDeleteArgs} args - Arguments to delete one VideoParticipant. + * @example + * // Delete one VideoParticipant + * const VideoParticipant = await prisma.videoParticipant.delete({ + * where: { + * // ... filter to delete one VideoParticipant + * } + * }) + * + */ + delete(args: SelectSubset>): Prisma__VideoParticipantClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one VideoParticipant. + * @param {VideoParticipantUpdateArgs} args - Arguments to update one VideoParticipant. + * @example + * // Update one VideoParticipant + * const videoParticipant = await prisma.videoParticipant.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: SelectSubset>): Prisma__VideoParticipantClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more VideoParticipants. + * @param {VideoParticipantDeleteManyArgs} args - Arguments to filter VideoParticipants to delete. + * @example + * // Delete a few VideoParticipants + * const { count } = await prisma.videoParticipant.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more VideoParticipants. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {VideoParticipantUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many VideoParticipants + * const videoParticipant = await prisma.videoParticipant.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more VideoParticipants and returns the data updated in the database. + * @param {VideoParticipantUpdateManyAndReturnArgs} args - Arguments to update many VideoParticipants. + * @example + * // Update many VideoParticipants + * const videoParticipant = await prisma.videoParticipant.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more VideoParticipants and only return the `id` + * const videoParticipantWithIdOnly = await prisma.videoParticipant.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: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one VideoParticipant. + * @param {VideoParticipantUpsertArgs} args - Arguments to update or create a VideoParticipant. + * @example + * // Update or create a VideoParticipant + * const videoParticipant = await prisma.videoParticipant.upsert({ + * create: { + * // ... data to create a VideoParticipant + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the VideoParticipant we want to update + * } + * }) + */ + upsert(args: SelectSubset>): Prisma__VideoParticipantClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of VideoParticipants. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {VideoParticipantCountArgs} args - Arguments to filter VideoParticipants to count. + * @example + * // Count the number of VideoParticipants + * const count = await prisma.videoParticipant.count({ + * where: { + * // ... the filter for the VideoParticipants we want to count + * } + * }) + **/ + count( + args?: Subset, + ): Prisma.PrismaPromise< + T extends $Utils.Record<'select', any> + ? T['select'] extends true + ? number + : GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a VideoParticipant. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {VideoParticipantAggregateArgs} 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: Subset): Prisma.PrismaPromise> + + /** + * Group by VideoParticipant. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {VideoParticipantGroupByArgs} 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 VideoParticipantGroupByArgs, + HasSelectOrTake extends Or< + Extends<'skip', Keys>, + Extends<'take', Keys> + >, + OrderByArg extends True extends HasSelectOrTake + ? { orderBy: VideoParticipantGroupByArgs['orderBy'] } + : { orderBy?: VideoParticipantGroupByArgs['orderBy'] }, + OrderFields extends ExcludeUnderscoreKeys>>, + ByFields extends MaybeTupleToUnion, + ByValid extends Has, + HavingFields extends GetHavingFields, + HavingValid extends Has, + ByEmpty extends T['by'] extends never[] ? True : False, + InputErrors extends ByEmpty extends True + ? `Error: "by" must not be empty.` + : HavingValid extends 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 Keys + ? 'orderBy' extends Keys + ? ByValid extends 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 Keys + ? 'orderBy' extends Keys + ? ByValid extends 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 True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: SubsetIntersection & InputErrors): {} extends InputErrors ? GetVideoParticipantGroupByPayload : Prisma.PrismaPromise + /** + * Fields of the VideoParticipant model + */ + readonly fields: VideoParticipantFieldRefs; + } + + /** + * The delegate class that acts as a "Promise-like" for VideoParticipant. + * 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__VideoParticipantClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + session = {}>(args?: Subset>): Prisma__VideoConferenceSessionClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + user = {}>(args?: Subset>): Prisma__UserClient<$Result.GetResult, 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): $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): $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): $Utils.JsPromise + } + + + + + /** + * Fields of the VideoParticipant model + */ + interface VideoParticipantFieldRefs { + readonly id: FieldRef<"VideoParticipant", 'String'> + readonly sessionId: FieldRef<"VideoParticipant", 'String'> + readonly userId: FieldRef<"VideoParticipant", 'String'> + readonly joinedAt: FieldRef<"VideoParticipant", 'DateTime'> + readonly leftAt: FieldRef<"VideoParticipant", 'DateTime'> + readonly role: FieldRef<"VideoParticipant", 'VideoParticipantRole'> + readonly deviceInfo: FieldRef<"VideoParticipant", 'Json'> + readonly connectionQuality: FieldRef<"VideoParticipant", 'String'> + readonly hasVideo: FieldRef<"VideoParticipant", 'Boolean'> + readonly hasAudio: FieldRef<"VideoParticipant", 'Boolean'> + } + + + // Custom InputTypes + /** + * VideoParticipant findUnique + */ + export type VideoParticipantFindUniqueArgs = { + /** + * Select specific fields to fetch from the VideoParticipant + */ + select?: VideoParticipantSelect | null + /** + * Omit specific fields from the VideoParticipant + */ + omit?: VideoParticipantOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: VideoParticipantInclude | null + /** + * Filter, which VideoParticipant to fetch. + */ + where: VideoParticipantWhereUniqueInput + } + + /** + * VideoParticipant findUniqueOrThrow + */ + export type VideoParticipantFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the VideoParticipant + */ + select?: VideoParticipantSelect | null + /** + * Omit specific fields from the VideoParticipant + */ + omit?: VideoParticipantOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: VideoParticipantInclude | null + /** + * Filter, which VideoParticipant to fetch. + */ + where: VideoParticipantWhereUniqueInput + } + + /** + * VideoParticipant findFirst + */ + export type VideoParticipantFindFirstArgs = { + /** + * Select specific fields to fetch from the VideoParticipant + */ + select?: VideoParticipantSelect | null + /** + * Omit specific fields from the VideoParticipant + */ + omit?: VideoParticipantOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: VideoParticipantInclude | null + /** + * Filter, which VideoParticipant to fetch. + */ + where?: VideoParticipantWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of VideoParticipants to fetch. + */ + orderBy?: VideoParticipantOrderByWithRelationInput | VideoParticipantOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for VideoParticipants. + */ + cursor?: VideoParticipantWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` VideoParticipants 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` VideoParticipants. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of VideoParticipants. + */ + distinct?: VideoParticipantScalarFieldEnum | VideoParticipantScalarFieldEnum[] + } + + /** + * VideoParticipant findFirstOrThrow + */ + export type VideoParticipantFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the VideoParticipant + */ + select?: VideoParticipantSelect | null + /** + * Omit specific fields from the VideoParticipant + */ + omit?: VideoParticipantOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: VideoParticipantInclude | null + /** + * Filter, which VideoParticipant to fetch. + */ + where?: VideoParticipantWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of VideoParticipants to fetch. + */ + orderBy?: VideoParticipantOrderByWithRelationInput | VideoParticipantOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for VideoParticipants. + */ + cursor?: VideoParticipantWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` VideoParticipants 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` VideoParticipants. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of VideoParticipants. + */ + distinct?: VideoParticipantScalarFieldEnum | VideoParticipantScalarFieldEnum[] + } + + /** + * VideoParticipant findMany + */ + export type VideoParticipantFindManyArgs = { + /** + * Select specific fields to fetch from the VideoParticipant + */ + select?: VideoParticipantSelect | null + /** + * Omit specific fields from the VideoParticipant + */ + omit?: VideoParticipantOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: VideoParticipantInclude | null + /** + * Filter, which VideoParticipants to fetch. + */ + where?: VideoParticipantWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of VideoParticipants to fetch. + */ + orderBy?: VideoParticipantOrderByWithRelationInput | VideoParticipantOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing VideoParticipants. + */ + cursor?: VideoParticipantWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` VideoParticipants 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` VideoParticipants. + */ + skip?: number + distinct?: VideoParticipantScalarFieldEnum | VideoParticipantScalarFieldEnum[] + } + + /** + * VideoParticipant create + */ + export type VideoParticipantCreateArgs = { + /** + * Select specific fields to fetch from the VideoParticipant + */ + select?: VideoParticipantSelect | null + /** + * Omit specific fields from the VideoParticipant + */ + omit?: VideoParticipantOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: VideoParticipantInclude | null + /** + * The data needed to create a VideoParticipant. + */ + data: XOR + } + + /** + * VideoParticipant createMany + */ + export type VideoParticipantCreateManyArgs = { + /** + * The data used to create many VideoParticipants. + */ + data: VideoParticipantCreateManyInput | VideoParticipantCreateManyInput[] + skipDuplicates?: boolean + } + + /** + * VideoParticipant createManyAndReturn + */ + export type VideoParticipantCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the VideoParticipant + */ + select?: VideoParticipantSelectCreateManyAndReturn | null + /** + * Omit specific fields from the VideoParticipant + */ + omit?: VideoParticipantOmit | null + /** + * The data used to create many VideoParticipants. + */ + data: VideoParticipantCreateManyInput | VideoParticipantCreateManyInput[] + skipDuplicates?: boolean + /** + * Choose, which related nodes to fetch as well + */ + include?: VideoParticipantIncludeCreateManyAndReturn | null + } + + /** + * VideoParticipant update + */ + export type VideoParticipantUpdateArgs = { + /** + * Select specific fields to fetch from the VideoParticipant + */ + select?: VideoParticipantSelect | null + /** + * Omit specific fields from the VideoParticipant + */ + omit?: VideoParticipantOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: VideoParticipantInclude | null + /** + * The data needed to update a VideoParticipant. + */ + data: XOR + /** + * Choose, which VideoParticipant to update. + */ + where: VideoParticipantWhereUniqueInput + } + + /** + * VideoParticipant updateMany + */ + export type VideoParticipantUpdateManyArgs = { + /** + * The data used to update VideoParticipants. + */ + data: XOR + /** + * Filter which VideoParticipants to update + */ + where?: VideoParticipantWhereInput + /** + * Limit how many VideoParticipants to update. + */ + limit?: number + } + + /** + * VideoParticipant updateManyAndReturn + */ + export type VideoParticipantUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the VideoParticipant + */ + select?: VideoParticipantSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the VideoParticipant + */ + omit?: VideoParticipantOmit | null + /** + * The data used to update VideoParticipants. + */ + data: XOR + /** + * Filter which VideoParticipants to update + */ + where?: VideoParticipantWhereInput + /** + * Limit how many VideoParticipants to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: VideoParticipantIncludeUpdateManyAndReturn | null + } + + /** + * VideoParticipant upsert + */ + export type VideoParticipantUpsertArgs = { + /** + * Select specific fields to fetch from the VideoParticipant + */ + select?: VideoParticipantSelect | null + /** + * Omit specific fields from the VideoParticipant + */ + omit?: VideoParticipantOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: VideoParticipantInclude | null + /** + * The filter to search for the VideoParticipant to update in case it exists. + */ + where: VideoParticipantWhereUniqueInput + /** + * In case the VideoParticipant found by the `where` argument doesn't exist, create a new VideoParticipant with this data. + */ + create: XOR + /** + * In case the VideoParticipant was found with the provided `where` argument, update it with this data. + */ + update: XOR + } + + /** + * VideoParticipant delete + */ + export type VideoParticipantDeleteArgs = { + /** + * Select specific fields to fetch from the VideoParticipant + */ + select?: VideoParticipantSelect | null + /** + * Omit specific fields from the VideoParticipant + */ + omit?: VideoParticipantOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: VideoParticipantInclude | null + /** + * Filter which VideoParticipant to delete. + */ + where: VideoParticipantWhereUniqueInput + } + + /** + * VideoParticipant deleteMany + */ + export type VideoParticipantDeleteManyArgs = { + /** + * Filter which VideoParticipants to delete + */ + where?: VideoParticipantWhereInput + /** + * Limit how many VideoParticipants to delete. + */ + limit?: number + } + + /** + * VideoParticipant without action + */ + export type VideoParticipantDefaultArgs = { + /** + * Select specific fields to fetch from the VideoParticipant + */ + select?: VideoParticipantSelect | null + /** + * Omit specific fields from the VideoParticipant + */ + omit?: VideoParticipantOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: VideoParticipantInclude | null + } + + + /** + * Model VideoRecording + */ + + export type AggregateVideoRecording = { + _count: VideoRecordingCountAggregateOutputType | null + _avg: VideoRecordingAvgAggregateOutputType | null + _sum: VideoRecordingSumAggregateOutputType | null + _min: VideoRecordingMinAggregateOutputType | null + _max: VideoRecordingMaxAggregateOutputType | null + } + + export type VideoRecordingAvgAggregateOutputType = { + fileSize: number | null + duration: number | null + } + + export type VideoRecordingSumAggregateOutputType = { + fileSize: number | null + duration: number | null + } + + export type VideoRecordingMinAggregateOutputType = { + id: string | null + sessionId: string | null + fileName: string | null + fileSize: number | null + duration: number | null + recordedBy: string | null + startTime: Date | null + endTime: Date | null + storageProvider: string | null + storageKey: string | null + processingStatus: $Enums.ProcessingStatus | null + visibility: $Enums.RecordingVisibility | null + createdAt: Date | null + } + + export type VideoRecordingMaxAggregateOutputType = { + id: string | null + sessionId: string | null + fileName: string | null + fileSize: number | null + duration: number | null + recordedBy: string | null + startTime: Date | null + endTime: Date | null + storageProvider: string | null + storageKey: string | null + processingStatus: $Enums.ProcessingStatus | null + visibility: $Enums.RecordingVisibility | null + createdAt: Date | null + } + + export type VideoRecordingCountAggregateOutputType = { + id: number + sessionId: number + fileName: number + fileSize: number + duration: number + recordedBy: number + startTime: number + endTime: number + storageProvider: number + storageKey: number + processingStatus: number + visibility: number + createdAt: number + _all: number + } + + + export type VideoRecordingAvgAggregateInputType = { + fileSize?: true + duration?: true + } + + export type VideoRecordingSumAggregateInputType = { + fileSize?: true + duration?: true + } + + export type VideoRecordingMinAggregateInputType = { + id?: true + sessionId?: true + fileName?: true + fileSize?: true + duration?: true + recordedBy?: true + startTime?: true + endTime?: true + storageProvider?: true + storageKey?: true + processingStatus?: true + visibility?: true + createdAt?: true + } + + export type VideoRecordingMaxAggregateInputType = { + id?: true + sessionId?: true + fileName?: true + fileSize?: true + duration?: true + recordedBy?: true + startTime?: true + endTime?: true + storageProvider?: true + storageKey?: true + processingStatus?: true + visibility?: true + createdAt?: true + } + + export type VideoRecordingCountAggregateInputType = { + id?: true + sessionId?: true + fileName?: true + fileSize?: true + duration?: true + recordedBy?: true + startTime?: true + endTime?: true + storageProvider?: true + storageKey?: true + processingStatus?: true + visibility?: true + createdAt?: true + _all?: true + } + + export type VideoRecordingAggregateArgs = { + /** + * Filter which VideoRecording to aggregate. + */ + where?: VideoRecordingWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of VideoRecordings to fetch. + */ + orderBy?: VideoRecordingOrderByWithRelationInput | VideoRecordingOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: VideoRecordingWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` VideoRecordings 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` VideoRecordings. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned VideoRecordings + **/ + _count?: true | VideoRecordingCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: VideoRecordingAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: VideoRecordingSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: VideoRecordingMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: VideoRecordingMaxAggregateInputType + } + + export type GetVideoRecordingAggregateType = { + [P in keyof T & keyof AggregateVideoRecording]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : GetScalarType + : GetScalarType + } + + + + + export type VideoRecordingGroupByArgs = { + where?: VideoRecordingWhereInput + orderBy?: VideoRecordingOrderByWithAggregationInput | VideoRecordingOrderByWithAggregationInput[] + by: VideoRecordingScalarFieldEnum[] | VideoRecordingScalarFieldEnum + having?: VideoRecordingScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: VideoRecordingCountAggregateInputType | true + _avg?: VideoRecordingAvgAggregateInputType + _sum?: VideoRecordingSumAggregateInputType + _min?: VideoRecordingMinAggregateInputType + _max?: VideoRecordingMaxAggregateInputType + } + + export type VideoRecordingGroupByOutputType = { + id: string + sessionId: string + fileName: string + fileSize: number + duration: number + recordedBy: string + startTime: Date + endTime: Date + storageProvider: string + storageKey: string + processingStatus: $Enums.ProcessingStatus + visibility: $Enums.RecordingVisibility + createdAt: Date + _count: VideoRecordingCountAggregateOutputType | null + _avg: VideoRecordingAvgAggregateOutputType | null + _sum: VideoRecordingSumAggregateOutputType | null + _min: VideoRecordingMinAggregateOutputType | null + _max: VideoRecordingMaxAggregateOutputType | null + } + + type GetVideoRecordingGroupByPayload = Prisma.PrismaPromise< + Array< + PickEnumerable & + { + [P in ((keyof T) & (keyof VideoRecordingGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : GetScalarType + : GetScalarType + } + > + > + + + export type VideoRecordingSelect = $Extensions.GetSelect<{ + id?: boolean + sessionId?: boolean + fileName?: boolean + fileSize?: boolean + duration?: boolean + recordedBy?: boolean + startTime?: boolean + endTime?: boolean + storageProvider?: boolean + storageKey?: boolean + processingStatus?: boolean + visibility?: boolean + createdAt?: boolean + session?: boolean | VideoConferenceSessionDefaultArgs + recorder?: boolean | UserDefaultArgs + }, ExtArgs["result"]["videoRecording"]> + + export type VideoRecordingSelectCreateManyAndReturn = $Extensions.GetSelect<{ + id?: boolean + sessionId?: boolean + fileName?: boolean + fileSize?: boolean + duration?: boolean + recordedBy?: boolean + startTime?: boolean + endTime?: boolean + storageProvider?: boolean + storageKey?: boolean + processingStatus?: boolean + visibility?: boolean + createdAt?: boolean + session?: boolean | VideoConferenceSessionDefaultArgs + recorder?: boolean | UserDefaultArgs + }, ExtArgs["result"]["videoRecording"]> + + export type VideoRecordingSelectUpdateManyAndReturn = $Extensions.GetSelect<{ + id?: boolean + sessionId?: boolean + fileName?: boolean + fileSize?: boolean + duration?: boolean + recordedBy?: boolean + startTime?: boolean + endTime?: boolean + storageProvider?: boolean + storageKey?: boolean + processingStatus?: boolean + visibility?: boolean + createdAt?: boolean + session?: boolean | VideoConferenceSessionDefaultArgs + recorder?: boolean | UserDefaultArgs + }, ExtArgs["result"]["videoRecording"]> + + export type VideoRecordingSelectScalar = { + id?: boolean + sessionId?: boolean + fileName?: boolean + fileSize?: boolean + duration?: boolean + recordedBy?: boolean + startTime?: boolean + endTime?: boolean + storageProvider?: boolean + storageKey?: boolean + processingStatus?: boolean + visibility?: boolean + createdAt?: boolean + } + + export type VideoRecordingOmit = $Extensions.GetOmit<"id" | "sessionId" | "fileName" | "fileSize" | "duration" | "recordedBy" | "startTime" | "endTime" | "storageProvider" | "storageKey" | "processingStatus" | "visibility" | "createdAt", ExtArgs["result"]["videoRecording"]> + export type VideoRecordingInclude = { + session?: boolean | VideoConferenceSessionDefaultArgs + recorder?: boolean | UserDefaultArgs + } + export type VideoRecordingIncludeCreateManyAndReturn = { + session?: boolean | VideoConferenceSessionDefaultArgs + recorder?: boolean | UserDefaultArgs + } + export type VideoRecordingIncludeUpdateManyAndReturn = { + session?: boolean | VideoConferenceSessionDefaultArgs + recorder?: boolean | UserDefaultArgs + } + + export type $VideoRecordingPayload = { + name: "VideoRecording" + objects: { + session: Prisma.$VideoConferenceSessionPayload + recorder: Prisma.$UserPayload + } + scalars: $Extensions.GetPayloadResult<{ + id: string + sessionId: string + fileName: string + fileSize: number + duration: number + recordedBy: string + startTime: Date + endTime: Date + storageProvider: string + storageKey: string + processingStatus: $Enums.ProcessingStatus + visibility: $Enums.RecordingVisibility + createdAt: Date + }, ExtArgs["result"]["videoRecording"]> + composites: {} + } + + type VideoRecordingGetPayload = $Result.GetResult + + type VideoRecordingCountArgs = + Omit & { + select?: VideoRecordingCountAggregateInputType | true + } + + export interface VideoRecordingDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['VideoRecording'], meta: { name: 'VideoRecording' } } + /** + * Find zero or one VideoRecording that matches the filter. + * @param {VideoRecordingFindUniqueArgs} args - Arguments to find a VideoRecording + * @example + * // Get one VideoRecording + * const videoRecording = await prisma.videoRecording.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: SelectSubset>): Prisma__VideoRecordingClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one VideoRecording that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {VideoRecordingFindUniqueOrThrowArgs} args - Arguments to find a VideoRecording + * @example + * // Get one VideoRecording + * const videoRecording = await prisma.videoRecording.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: SelectSubset>): Prisma__VideoRecordingClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first VideoRecording 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 {VideoRecordingFindFirstArgs} args - Arguments to find a VideoRecording + * @example + * // Get one VideoRecording + * const videoRecording = await prisma.videoRecording.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: SelectSubset>): Prisma__VideoRecordingClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first VideoRecording 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 {VideoRecordingFindFirstOrThrowArgs} args - Arguments to find a VideoRecording + * @example + * // Get one VideoRecording + * const videoRecording = await prisma.videoRecording.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: SelectSubset>): Prisma__VideoRecordingClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more VideoRecordings 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 {VideoRecordingFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all VideoRecordings + * const videoRecordings = await prisma.videoRecording.findMany() + * + * // Get first 10 VideoRecordings + * const videoRecordings = await prisma.videoRecording.findMany({ take: 10 }) + * + * // Only select the `id` + * const videoRecordingWithIdOnly = await prisma.videoRecording.findMany({ select: { id: true } }) + * + */ + findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> + + /** + * Create a VideoRecording. + * @param {VideoRecordingCreateArgs} args - Arguments to create a VideoRecording. + * @example + * // Create one VideoRecording + * const VideoRecording = await prisma.videoRecording.create({ + * data: { + * // ... data to create a VideoRecording + * } + * }) + * + */ + create(args: SelectSubset>): Prisma__VideoRecordingClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many VideoRecordings. + * @param {VideoRecordingCreateManyArgs} args - Arguments to create many VideoRecordings. + * @example + * // Create many VideoRecordings + * const videoRecording = await prisma.videoRecording.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: SelectSubset>): Prisma.PrismaPromise + + /** + * Create many VideoRecordings and returns the data saved in the database. + * @param {VideoRecordingCreateManyAndReturnArgs} args - Arguments to create many VideoRecordings. + * @example + * // Create many VideoRecordings + * const videoRecording = await prisma.videoRecording.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many VideoRecordings and only return the `id` + * const videoRecordingWithIdOnly = await prisma.videoRecording.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?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a VideoRecording. + * @param {VideoRecordingDeleteArgs} args - Arguments to delete one VideoRecording. + * @example + * // Delete one VideoRecording + * const VideoRecording = await prisma.videoRecording.delete({ + * where: { + * // ... filter to delete one VideoRecording + * } + * }) + * + */ + delete(args: SelectSubset>): Prisma__VideoRecordingClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one VideoRecording. + * @param {VideoRecordingUpdateArgs} args - Arguments to update one VideoRecording. + * @example + * // Update one VideoRecording + * const videoRecording = await prisma.videoRecording.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: SelectSubset>): Prisma__VideoRecordingClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more VideoRecordings. + * @param {VideoRecordingDeleteManyArgs} args - Arguments to filter VideoRecordings to delete. + * @example + * // Delete a few VideoRecordings + * const { count } = await prisma.videoRecording.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more VideoRecordings. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {VideoRecordingUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many VideoRecordings + * const videoRecording = await prisma.videoRecording.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more VideoRecordings and returns the data updated in the database. + * @param {VideoRecordingUpdateManyAndReturnArgs} args - Arguments to update many VideoRecordings. + * @example + * // Update many VideoRecordings + * const videoRecording = await prisma.videoRecording.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more VideoRecordings and only return the `id` + * const videoRecordingWithIdOnly = await prisma.videoRecording.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: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one VideoRecording. + * @param {VideoRecordingUpsertArgs} args - Arguments to update or create a VideoRecording. + * @example + * // Update or create a VideoRecording + * const videoRecording = await prisma.videoRecording.upsert({ + * create: { + * // ... data to create a VideoRecording + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the VideoRecording we want to update + * } + * }) + */ + upsert(args: SelectSubset>): Prisma__VideoRecordingClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of VideoRecordings. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {VideoRecordingCountArgs} args - Arguments to filter VideoRecordings to count. + * @example + * // Count the number of VideoRecordings + * const count = await prisma.videoRecording.count({ + * where: { + * // ... the filter for the VideoRecordings we want to count + * } + * }) + **/ + count( + args?: Subset, + ): Prisma.PrismaPromise< + T extends $Utils.Record<'select', any> + ? T['select'] extends true + ? number + : GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a VideoRecording. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {VideoRecordingAggregateArgs} 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: Subset): Prisma.PrismaPromise> + + /** + * Group by VideoRecording. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {VideoRecordingGroupByArgs} 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 VideoRecordingGroupByArgs, + HasSelectOrTake extends Or< + Extends<'skip', Keys>, + Extends<'take', Keys> + >, + OrderByArg extends True extends HasSelectOrTake + ? { orderBy: VideoRecordingGroupByArgs['orderBy'] } + : { orderBy?: VideoRecordingGroupByArgs['orderBy'] }, + OrderFields extends ExcludeUnderscoreKeys>>, + ByFields extends MaybeTupleToUnion, + ByValid extends Has, + HavingFields extends GetHavingFields, + HavingValid extends Has, + ByEmpty extends T['by'] extends never[] ? True : False, + InputErrors extends ByEmpty extends True + ? `Error: "by" must not be empty.` + : HavingValid extends 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 Keys + ? 'orderBy' extends Keys + ? ByValid extends 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 Keys + ? 'orderBy' extends Keys + ? ByValid extends 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 True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: SubsetIntersection & InputErrors): {} extends InputErrors ? GetVideoRecordingGroupByPayload : Prisma.PrismaPromise + /** + * Fields of the VideoRecording model + */ + readonly fields: VideoRecordingFieldRefs; + } + + /** + * The delegate class that acts as a "Promise-like" for VideoRecording. + * 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__VideoRecordingClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + session = {}>(args?: Subset>): Prisma__VideoConferenceSessionClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + recorder = {}>(args?: Subset>): Prisma__UserClient<$Result.GetResult, 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): $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): $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): $Utils.JsPromise + } + + + + + /** + * Fields of the VideoRecording model + */ + interface VideoRecordingFieldRefs { + readonly id: FieldRef<"VideoRecording", 'String'> + readonly sessionId: FieldRef<"VideoRecording", 'String'> + readonly fileName: FieldRef<"VideoRecording", 'String'> + readonly fileSize: FieldRef<"VideoRecording", 'Int'> + readonly duration: FieldRef<"VideoRecording", 'Int'> + readonly recordedBy: FieldRef<"VideoRecording", 'String'> + readonly startTime: FieldRef<"VideoRecording", 'DateTime'> + readonly endTime: FieldRef<"VideoRecording", 'DateTime'> + readonly storageProvider: FieldRef<"VideoRecording", 'String'> + readonly storageKey: FieldRef<"VideoRecording", 'String'> + readonly processingStatus: FieldRef<"VideoRecording", 'ProcessingStatus'> + readonly visibility: FieldRef<"VideoRecording", 'RecordingVisibility'> + readonly createdAt: FieldRef<"VideoRecording", 'DateTime'> + } + + + // Custom InputTypes + /** + * VideoRecording findUnique + */ + export type VideoRecordingFindUniqueArgs = { + /** + * Select specific fields to fetch from the VideoRecording + */ + select?: VideoRecordingSelect | null + /** + * Omit specific fields from the VideoRecording + */ + omit?: VideoRecordingOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: VideoRecordingInclude | null + /** + * Filter, which VideoRecording to fetch. + */ + where: VideoRecordingWhereUniqueInput + } + + /** + * VideoRecording findUniqueOrThrow + */ + export type VideoRecordingFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the VideoRecording + */ + select?: VideoRecordingSelect | null + /** + * Omit specific fields from the VideoRecording + */ + omit?: VideoRecordingOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: VideoRecordingInclude | null + /** + * Filter, which VideoRecording to fetch. + */ + where: VideoRecordingWhereUniqueInput + } + + /** + * VideoRecording findFirst + */ + export type VideoRecordingFindFirstArgs = { + /** + * Select specific fields to fetch from the VideoRecording + */ + select?: VideoRecordingSelect | null + /** + * Omit specific fields from the VideoRecording + */ + omit?: VideoRecordingOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: VideoRecordingInclude | null + /** + * Filter, which VideoRecording to fetch. + */ + where?: VideoRecordingWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of VideoRecordings to fetch. + */ + orderBy?: VideoRecordingOrderByWithRelationInput | VideoRecordingOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for VideoRecordings. + */ + cursor?: VideoRecordingWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` VideoRecordings 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` VideoRecordings. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of VideoRecordings. + */ + distinct?: VideoRecordingScalarFieldEnum | VideoRecordingScalarFieldEnum[] + } + + /** + * VideoRecording findFirstOrThrow + */ + export type VideoRecordingFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the VideoRecording + */ + select?: VideoRecordingSelect | null + /** + * Omit specific fields from the VideoRecording + */ + omit?: VideoRecordingOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: VideoRecordingInclude | null + /** + * Filter, which VideoRecording to fetch. + */ + where?: VideoRecordingWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of VideoRecordings to fetch. + */ + orderBy?: VideoRecordingOrderByWithRelationInput | VideoRecordingOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for VideoRecordings. + */ + cursor?: VideoRecordingWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` VideoRecordings 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` VideoRecordings. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of VideoRecordings. + */ + distinct?: VideoRecordingScalarFieldEnum | VideoRecordingScalarFieldEnum[] + } + + /** + * VideoRecording findMany + */ + export type VideoRecordingFindManyArgs = { + /** + * Select specific fields to fetch from the VideoRecording + */ + select?: VideoRecordingSelect | null + /** + * Omit specific fields from the VideoRecording + */ + omit?: VideoRecordingOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: VideoRecordingInclude | null + /** + * Filter, which VideoRecordings to fetch. + */ + where?: VideoRecordingWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of VideoRecordings to fetch. + */ + orderBy?: VideoRecordingOrderByWithRelationInput | VideoRecordingOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing VideoRecordings. + */ + cursor?: VideoRecordingWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` VideoRecordings 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` VideoRecordings. + */ + skip?: number + distinct?: VideoRecordingScalarFieldEnum | VideoRecordingScalarFieldEnum[] + } + + /** + * VideoRecording create + */ + export type VideoRecordingCreateArgs = { + /** + * Select specific fields to fetch from the VideoRecording + */ + select?: VideoRecordingSelect | null + /** + * Omit specific fields from the VideoRecording + */ + omit?: VideoRecordingOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: VideoRecordingInclude | null + /** + * The data needed to create a VideoRecording. + */ + data: XOR + } + + /** + * VideoRecording createMany + */ + export type VideoRecordingCreateManyArgs = { + /** + * The data used to create many VideoRecordings. + */ + data: VideoRecordingCreateManyInput | VideoRecordingCreateManyInput[] + skipDuplicates?: boolean + } + + /** + * VideoRecording createManyAndReturn + */ + export type VideoRecordingCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the VideoRecording + */ + select?: VideoRecordingSelectCreateManyAndReturn | null + /** + * Omit specific fields from the VideoRecording + */ + omit?: VideoRecordingOmit | null + /** + * The data used to create many VideoRecordings. + */ + data: VideoRecordingCreateManyInput | VideoRecordingCreateManyInput[] + skipDuplicates?: boolean + /** + * Choose, which related nodes to fetch as well + */ + include?: VideoRecordingIncludeCreateManyAndReturn | null + } + + /** + * VideoRecording update + */ + export type VideoRecordingUpdateArgs = { + /** + * Select specific fields to fetch from the VideoRecording + */ + select?: VideoRecordingSelect | null + /** + * Omit specific fields from the VideoRecording + */ + omit?: VideoRecordingOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: VideoRecordingInclude | null + /** + * The data needed to update a VideoRecording. + */ + data: XOR + /** + * Choose, which VideoRecording to update. + */ + where: VideoRecordingWhereUniqueInput + } + + /** + * VideoRecording updateMany + */ + export type VideoRecordingUpdateManyArgs = { + /** + * The data used to update VideoRecordings. + */ + data: XOR + /** + * Filter which VideoRecordings to update + */ + where?: VideoRecordingWhereInput + /** + * Limit how many VideoRecordings to update. + */ + limit?: number + } + + /** + * VideoRecording updateManyAndReturn + */ + export type VideoRecordingUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the VideoRecording + */ + select?: VideoRecordingSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the VideoRecording + */ + omit?: VideoRecordingOmit | null + /** + * The data used to update VideoRecordings. + */ + data: XOR + /** + * Filter which VideoRecordings to update + */ + where?: VideoRecordingWhereInput + /** + * Limit how many VideoRecordings to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: VideoRecordingIncludeUpdateManyAndReturn | null + } + + /** + * VideoRecording upsert + */ + export type VideoRecordingUpsertArgs = { + /** + * Select specific fields to fetch from the VideoRecording + */ + select?: VideoRecordingSelect | null + /** + * Omit specific fields from the VideoRecording + */ + omit?: VideoRecordingOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: VideoRecordingInclude | null + /** + * The filter to search for the VideoRecording to update in case it exists. + */ + where: VideoRecordingWhereUniqueInput + /** + * In case the VideoRecording found by the `where` argument doesn't exist, create a new VideoRecording with this data. + */ + create: XOR + /** + * In case the VideoRecording was found with the provided `where` argument, update it with this data. + */ + update: XOR + } + + /** + * VideoRecording delete + */ + export type VideoRecordingDeleteArgs = { + /** + * Select specific fields to fetch from the VideoRecording + */ + select?: VideoRecordingSelect | null + /** + * Omit specific fields from the VideoRecording + */ + omit?: VideoRecordingOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: VideoRecordingInclude | null + /** + * Filter which VideoRecording to delete. + */ + where: VideoRecordingWhereUniqueInput + } + + /** + * VideoRecording deleteMany + */ + export type VideoRecordingDeleteManyArgs = { + /** + * Filter which VideoRecordings to delete + */ + where?: VideoRecordingWhereInput + /** + * Limit how many VideoRecordings to delete. + */ + limit?: number + } + + /** + * VideoRecording without action + */ + export type VideoRecordingDefaultArgs = { + /** + * Select specific fields to fetch from the VideoRecording + */ + select?: VideoRecordingSelect | null + /** + * Omit specific fields from the VideoRecording + */ + omit?: VideoRecordingOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: VideoRecordingInclude | null + } + + + /** + * Enums + */ + + export const TransactionIsolationLevel: { + ReadUncommitted: 'ReadUncommitted', + ReadCommitted: 'ReadCommitted', + RepeatableRead: 'RepeatableRead', + Serializable: 'Serializable' + }; + + export type TransactionIsolationLevel = (typeof TransactionIsolationLevel)[keyof typeof TransactionIsolationLevel] + + + export const UserScalarFieldEnum: { + id: 'id', + email: 'email', + username: 'username', + password: 'password', + firebaseUid: 'firebaseUid', + firstName: 'firstName', + lastName: 'lastName', + role: 'role', + profilePic: 'profilePic', + departmentId: 'departmentId', + organizationId: 'organizationId', + isOwner: 'isOwner', + createdAt: 'createdAt', + updatedAt: 'updatedAt', + isActive: 'isActive', + deletedAt: 'deletedAt', + phoneNumber: 'phoneNumber', + jobTitle: 'jobTitle', + timezone: 'timezone', + bio: 'bio', + preferences: 'preferences', + emailVerificationToken: 'emailVerificationToken', + emailVerificationExpires: 'emailVerificationExpires', + passwordResetToken: 'passwordResetToken', + passwordResetExpires: 'passwordResetExpires', + refreshToken: 'refreshToken', + lastLogin: 'lastLogin', + lastLogout: 'lastLogout' + }; + + export type UserScalarFieldEnum = (typeof UserScalarFieldEnum)[keyof typeof UserScalarFieldEnum] + + + export const OrganizationScalarFieldEnum: { + id: 'id', + name: 'name', + description: 'description', + industry: 'industry', + sizeRange: 'sizeRange', + website: 'website', + logoUrl: 'logoUrl', + isVerified: 'isVerified', + status: 'status', + createdAt: 'createdAt', + updatedAt: 'updatedAt', + deletedAt: 'deletedAt', + createdBy: 'createdBy', + address: 'address', + contactEmail: 'contactEmail', + contactPhone: 'contactPhone', + emailVerificationOTP: 'emailVerificationOTP', + emailVerificationExpires: 'emailVerificationExpires' + }; + + export type OrganizationScalarFieldEnum = (typeof OrganizationScalarFieldEnum)[keyof typeof OrganizationScalarFieldEnum] + + + export const OrganizationOwnerScalarFieldEnum: { + id: 'id', + organizationId: 'organizationId', + userId: 'userId', + createdAt: 'createdAt', + updatedAt: 'updatedAt' + }; + + export type OrganizationOwnerScalarFieldEnum = (typeof OrganizationOwnerScalarFieldEnum)[keyof typeof OrganizationOwnerScalarFieldEnum] + + + export const DepartmentScalarFieldEnum: { + id: 'id', + name: 'name', + description: 'description', + organizationId: 'organizationId', + managerId: 'managerId', + createdAt: 'createdAt', + updatedAt: 'updatedAt', + deletedAt: 'deletedAt' + }; + + export type DepartmentScalarFieldEnum = (typeof DepartmentScalarFieldEnum)[keyof typeof DepartmentScalarFieldEnum] + + + export const TeamScalarFieldEnum: { + id: 'id', + name: 'name', + description: 'description', + createdBy: 'createdBy', + organizationId: 'organizationId', + departmentId: 'departmentId', + createdAt: 'createdAt', + updatedAt: 'updatedAt', + deletedAt: 'deletedAt', + avatar: 'avatar' + }; + + export type TeamScalarFieldEnum = (typeof TeamScalarFieldEnum)[keyof typeof TeamScalarFieldEnum] + + + export const TeamMemberScalarFieldEnum: { + id: 'id', + teamId: 'teamId', + userId: 'userId', + role: 'role', + joinedAt: 'joinedAt', + isActive: 'isActive', + deletedAt: 'deletedAt' + }; + + export type TeamMemberScalarFieldEnum = (typeof TeamMemberScalarFieldEnum)[keyof typeof TeamMemberScalarFieldEnum] + + + export const ProjectScalarFieldEnum: { + id: 'id', + name: 'name', + description: 'description', + status: 'status', + createdBy: 'createdBy', + organizationId: 'organizationId', + teamId: 'teamId', + startDate: 'startDate', + endDate: 'endDate', + createdAt: 'createdAt', + updatedAt: 'updatedAt', + deletedAt: 'deletedAt', + priority: 'priority', + progress: 'progress', + budget: 'budget', + lastModifiedBy: 'lastModifiedBy' + }; + + export type ProjectScalarFieldEnum = (typeof ProjectScalarFieldEnum)[keyof typeof ProjectScalarFieldEnum] + + + export const ProjectMemberScalarFieldEnum: { + id: 'id', + projectId: 'projectId', + userId: 'userId', role: 'role', isActive: 'isActive', joinedAt: 'joinedAt', @@ -29759,1200 +41661,7507 @@ export namespace Prisma { deletedAt: 'deletedAt' }; - export type ProjectMemberScalarFieldEnum = (typeof ProjectMemberScalarFieldEnum)[keyof typeof ProjectMemberScalarFieldEnum] + export type ProjectMemberScalarFieldEnum = (typeof ProjectMemberScalarFieldEnum)[keyof typeof ProjectMemberScalarFieldEnum] + + + export const SprintScalarFieldEnum: { + id: 'id', + projectId: 'projectId', + name: 'name', + description: 'description', + startDate: 'startDate', + endDate: 'endDate', + status: 'status', + goal: 'goal', + order: 'order' + }; + + export type SprintScalarFieldEnum = (typeof SprintScalarFieldEnum)[keyof typeof SprintScalarFieldEnum] + + + export const TaskScalarFieldEnum: { + id: 'id', + title: 'title', + description: 'description', + priority: 'priority', + status: 'status', + rate: 'rate', + projectId: 'projectId', + sprintId: 'sprintId', + createdBy: 'createdBy', + assignedTo: 'assignedTo', + dueDate: 'dueDate', + createdAt: 'createdAt', + updatedAt: 'updatedAt', + deletedAt: 'deletedAt', + estimatedTime: 'estimatedTime', + actualTime: 'actualTime', + parentId: 'parentId', + order: 'order', + labels: 'labels', + lastModifiedBy: 'lastModifiedBy' + }; + + export type TaskScalarFieldEnum = (typeof TaskScalarFieldEnum)[keyof typeof TaskScalarFieldEnum] + + + export const TaskAttachmentScalarFieldEnum: { + id: 'id', + taskId: 'taskId', + fileName: 'fileName', + fileType: 'fileType', + filePath: 'filePath', + fileSize: 'fileSize', + uploadedBy: 'uploadedBy', + createdAt: 'createdAt', + storageProvider: 'storageProvider', + storageKey: 'storageKey' + }; + + export type TaskAttachmentScalarFieldEnum = (typeof TaskAttachmentScalarFieldEnum)[keyof typeof TaskAttachmentScalarFieldEnum] + + + export const TaskDependencyScalarFieldEnum: { + id: 'id', + taskId: 'taskId', + dependentTaskId: 'dependentTaskId', + dependencyType: 'dependencyType', + description: 'description' + }; + + export type TaskDependencyScalarFieldEnum = (typeof TaskDependencyScalarFieldEnum)[keyof typeof TaskDependencyScalarFieldEnum] + + + export const TaskTemplateScalarFieldEnum: { + id: 'id', + name: 'name', + description: 'description', + priority: 'priority', + estimatedTime: 'estimatedTime', + organizationId: 'organizationId', + createdBy: 'createdBy', + createdAt: 'createdAt', + updatedAt: 'updatedAt', + checklist: 'checklist', + labels: 'labels', + isPublic: 'isPublic' + }; + + export type TaskTemplateScalarFieldEnum = (typeof TaskTemplateScalarFieldEnum)[keyof typeof TaskTemplateScalarFieldEnum] + + + export const TimelogScalarFieldEnum: { + id: 'id', + taskId: 'taskId', + userId: 'userId', + startTime: 'startTime', + endTime: 'endTime', + description: 'description' + }; + + export type TimelogScalarFieldEnum = (typeof TimelogScalarFieldEnum)[keyof typeof TimelogScalarFieldEnum] + + + export const CommentScalarFieldEnum: { + id: 'id', + taskId: 'taskId', + userId: 'userId', + content: 'content', + createdAt: 'createdAt', + updatedAt: 'updatedAt' + }; + + export type CommentScalarFieldEnum = (typeof CommentScalarFieldEnum)[keyof typeof CommentScalarFieldEnum] + + + export const ActivityLogScalarFieldEnum: { + id: 'id', + entityType: 'entityType', + action: 'action', + userId: 'userId', + organizationId: 'organizationId', + departmentId: 'departmentId', + projectId: 'projectId', + teamId: 'teamId', + sprintId: 'sprintId', + taskId: 'taskId', + details: 'details', + createdAt: 'createdAt' + }; + + export type ActivityLogScalarFieldEnum = (typeof ActivityLogScalarFieldEnum)[keyof typeof ActivityLogScalarFieldEnum] + + + export const NotificationScalarFieldEnum: { + id: 'id', + userId: 'userId', + content: 'content', + isRead: 'isRead', + type: 'type', + metadata: 'metadata', + createdAt: 'createdAt', + deletedAt: 'deletedAt', + entityType: 'entityType', + entityId: 'entityId' + }; + + export type NotificationScalarFieldEnum = (typeof NotificationScalarFieldEnum)[keyof typeof NotificationScalarFieldEnum] + + + export const ReportScalarFieldEnum: { + id: 'id', + name: 'name', + description: 'description', + reportType: 'reportType', + format: 'format', + parameters: 'parameters', + filePath: 'filePath', + generatedBy: 'generatedBy', + createdAt: 'createdAt', + status: 'status', + updatedAt: 'updatedAt', + lastAccessedAt: 'lastAccessedAt', + expiresAt: 'expiresAt', + tags: 'tags', + organizationId: 'organizationId', + teamId: 'teamId', + projectId: 'projectId', + departmentId: 'departmentId', + userId: 'userId', + scheduleId: 'scheduleId', + storageProvider: 'storageProvider', + storageKey: 'storageKey' + }; + + export type ReportScalarFieldEnum = (typeof ReportScalarFieldEnum)[keyof typeof ReportScalarFieldEnum] + + + export const ReportScheduleScalarFieldEnum: { + id: 'id', + name: 'name', + cronExpression: 'cronExpression', + isActive: 'isActive', + createdAt: 'createdAt', + createdBy: 'createdBy' + }; + + export type ReportScheduleScalarFieldEnum = (typeof ReportScheduleScalarFieldEnum)[keyof typeof ReportScheduleScalarFieldEnum] + + + export const ReportNotificationScalarFieldEnum: { + id: 'id', + reportId: 'reportId', + userId: 'userId', + notified: 'notified' + }; + + export type ReportNotificationScalarFieldEnum = (typeof ReportNotificationScalarFieldEnum)[keyof typeof ReportNotificationScalarFieldEnum] + + + export const PermissionScalarFieldEnum: { + id: 'id', + userId: 'userId', + entityType: 'entityType', + entityId: 'entityId', + permissions: 'permissions', + createdAt: 'createdAt', + updatedAt: 'updatedAt' + }; + + export type PermissionScalarFieldEnum = (typeof PermissionScalarFieldEnum)[keyof typeof PermissionScalarFieldEnum] + + + export const ChatRoomScalarFieldEnum: { + id: 'id', + name: 'name', + description: 'description', + type: 'type', + entityType: 'entityType', + entityId: 'entityId', + createdAt: 'createdAt', + updatedAt: 'updatedAt', + isActive: 'isActive', + isArchived: 'isArchived', + archivedAt: 'archivedAt', + avatarUrl: 'avatarUrl', + lastMessageAt: 'lastMessageAt' + }; + + export type ChatRoomScalarFieldEnum = (typeof ChatRoomScalarFieldEnum)[keyof typeof ChatRoomScalarFieldEnum] + + + export const ChatParticipantScalarFieldEnum: { + id: 'id', + chatRoomId: 'chatRoomId', + userId: 'userId', + joinedAt: 'joinedAt', + lastReadMessageId: 'lastReadMessageId', + lastReadAt: 'lastReadAt', + isAdmin: 'isAdmin', + notificationsOn: 'notificationsOn', + status: 'status' + }; + + export type ChatParticipantScalarFieldEnum = (typeof ChatParticipantScalarFieldEnum)[keyof typeof ChatParticipantScalarFieldEnum] + + + export const ChatMessageScalarFieldEnum: { + id: 'id', + chatRoomId: 'chatRoomId', + senderId: 'senderId', + content: 'content', + contentType: 'contentType', + createdAt: 'createdAt', + updatedAt: 'updatedAt', + isEdited: 'isEdited', + isDeleted: 'isDeleted', + deletedAt: 'deletedAt', + replyToId: 'replyToId', + metadata: 'metadata' + }; + + export type ChatMessageScalarFieldEnum = (typeof ChatMessageScalarFieldEnum)[keyof typeof ChatMessageScalarFieldEnum] + + + export const MessageAttachmentScalarFieldEnum: { + id: 'id', + messageId: 'messageId', + fileName: 'fileName', + fileType: 'fileType', + filePath: 'filePath', + fileSize: 'fileSize', + thumbnailPath: 'thumbnailPath', + storageProvider: 'storageProvider', + storageKey: 'storageKey', + createdAt: 'createdAt' + }; + + export type MessageAttachmentScalarFieldEnum = (typeof MessageAttachmentScalarFieldEnum)[keyof typeof MessageAttachmentScalarFieldEnum] + + + export const MessageReactionScalarFieldEnum: { + id: 'id', + messageId: 'messageId', + userId: 'userId', + reaction: 'reaction', + createdAt: 'createdAt' + }; + + export type MessageReactionScalarFieldEnum = (typeof MessageReactionScalarFieldEnum)[keyof typeof MessageReactionScalarFieldEnum] + + + export const PinnedMessageScalarFieldEnum: { + id: 'id', + chatRoomId: 'chatRoomId', + messageId: 'messageId', + pinnedBy: 'pinnedBy', + pinnedAt: 'pinnedAt' + }; + + export type PinnedMessageScalarFieldEnum = (typeof PinnedMessageScalarFieldEnum)[keyof typeof PinnedMessageScalarFieldEnum] + + + export const VideoConferenceSessionScalarFieldEnum: { + id: 'id', + chatRoomId: 'chatRoomId', + title: 'title', + description: 'description', + startTime: 'startTime', + endTime: 'endTime', + status: 'status', + hostId: 'hostId', + meetingUrl: 'meetingUrl', + recordingUrl: 'recordingUrl', + settings: 'settings' + }; + + export type VideoConferenceSessionScalarFieldEnum = (typeof VideoConferenceSessionScalarFieldEnum)[keyof typeof VideoConferenceSessionScalarFieldEnum] + + + export const VideoParticipantScalarFieldEnum: { + id: 'id', + sessionId: 'sessionId', + userId: 'userId', + joinedAt: 'joinedAt', + leftAt: 'leftAt', + role: 'role', + deviceInfo: 'deviceInfo', + connectionQuality: 'connectionQuality', + hasVideo: 'hasVideo', + hasAudio: 'hasAudio' + }; + + export type VideoParticipantScalarFieldEnum = (typeof VideoParticipantScalarFieldEnum)[keyof typeof VideoParticipantScalarFieldEnum] + + + export const VideoRecordingScalarFieldEnum: { + id: 'id', + sessionId: 'sessionId', + fileName: 'fileName', + fileSize: 'fileSize', + duration: 'duration', + recordedBy: 'recordedBy', + startTime: 'startTime', + endTime: 'endTime', + storageProvider: 'storageProvider', + storageKey: 'storageKey', + processingStatus: 'processingStatus', + visibility: 'visibility', + createdAt: 'createdAt' + }; + + export type VideoRecordingScalarFieldEnum = (typeof VideoRecordingScalarFieldEnum)[keyof typeof VideoRecordingScalarFieldEnum] + + + export const SortOrder: { + asc: 'asc', + desc: 'desc' + }; + + export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder] + + + export const NullableJsonNullValueInput: { + DbNull: typeof DbNull, + JsonNull: typeof JsonNull + }; + + export type NullableJsonNullValueInput = (typeof NullableJsonNullValueInput)[keyof typeof NullableJsonNullValueInput] + + + export const JsonNullValueInput: { + JsonNull: typeof JsonNull + }; + + export type JsonNullValueInput = (typeof JsonNullValueInput)[keyof typeof JsonNullValueInput] + + + export const QueryMode: { + default: 'default', + insensitive: 'insensitive' + }; + + export type QueryMode = (typeof QueryMode)[keyof typeof QueryMode] + + + export const JsonNullValueFilter: { + DbNull: typeof DbNull, + JsonNull: typeof JsonNull, + AnyNull: typeof AnyNull + }; + + export type JsonNullValueFilter = (typeof JsonNullValueFilter)[keyof typeof JsonNullValueFilter] + + + export const NullsOrder: { + first: 'first', + last: 'last' + }; + + export type NullsOrder = (typeof NullsOrder)[keyof typeof NullsOrder] + + + /** + * Field references + */ + + + /** + * Reference to a field of type 'String' + */ + export type StringFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'String'> + + + + /** + * Reference to a field of type 'String[]' + */ + export type ListStringFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'String[]'> + + + + /** + * Reference to a field of type 'UserRole' + */ + export type EnumUserRoleFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'UserRole'> + + + + /** + * Reference to a field of type 'UserRole[]' + */ + export type ListEnumUserRoleFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'UserRole[]'> + + + + /** + * Reference to a field of type 'Boolean' + */ + export type BooleanFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Boolean'> + + + + /** + * Reference to a field of type 'DateTime' + */ + export type DateTimeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'DateTime'> + + + + /** + * Reference to a field of type 'DateTime[]' + */ + export type ListDateTimeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'DateTime[]'> + + + + /** + * Reference to a field of type 'Json' + */ + export type JsonFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Json'> + + + + /** + * Reference to a field of type 'QueryMode' + */ + export type EnumQueryModeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'QueryMode'> + + + + /** + * Reference to a field of type 'TeamMemberRole' + */ + export type EnumTeamMemberRoleFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'TeamMemberRole'> + + + + /** + * Reference to a field of type 'TeamMemberRole[]' + */ + export type ListEnumTeamMemberRoleFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'TeamMemberRole[]'> + + + + /** + * Reference to a field of type 'TaskPriority' + */ + export type EnumTaskPriorityFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'TaskPriority'> + + + + /** + * Reference to a field of type 'TaskPriority[]' + */ + export type ListEnumTaskPriorityFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'TaskPriority[]'> + + + + /** + * Reference to a field of type 'Float' + */ + export type FloatFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Float'> + + + + /** + * Reference to a field of type 'Float[]' + */ + export type ListFloatFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Float[]'> + + + + /** + * Reference to a field of type 'Int' + */ + export type IntFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Int'> + + + + /** + * Reference to a field of type 'Int[]' + */ + export type ListIntFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Int[]'> + + + + /** + * Reference to a field of type 'TaskStatus' + */ + export type EnumTaskStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'TaskStatus'> + + + + /** + * Reference to a field of type 'TaskStatus[]' + */ + export type ListEnumTaskStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'TaskStatus[]'> + + + + /** + * Reference to a field of type 'DependencyType' + */ + export type EnumDependencyTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'DependencyType'> + + + + /** + * Reference to a field of type 'DependencyType[]' + */ + export type ListEnumDependencyTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'DependencyType[]'> + + + + /** + * Reference to a field of type 'EntityType' + */ + export type EnumEntityTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'EntityType'> + + + + /** + * Reference to a field of type 'EntityType[]' + */ + export type ListEnumEntityTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'EntityType[]'> + + + + /** + * Reference to a field of type 'ActionType' + */ + export type EnumActionTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ActionType'> + + + + /** + * Reference to a field of type 'ActionType[]' + */ + export type ListEnumActionTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ActionType[]'> + + + + /** + * Reference to a field of type 'ReportType' + */ + export type EnumReportTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ReportType'> + + + + /** + * Reference to a field of type 'ReportType[]' + */ + export type ListEnumReportTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ReportType[]'> + + + + /** + * Reference to a field of type 'ReportStatus' + */ + export type EnumReportStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ReportStatus'> + + + + /** + * Reference to a field of type 'ReportStatus[]' + */ + export type ListEnumReportStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ReportStatus[]'> + + + + /** + * Reference to a field of type 'ChatRoomType' + */ + export type EnumChatRoomTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ChatRoomType'> + + + + /** + * Reference to a field of type 'ChatRoomType[]' + */ + export type ListEnumChatRoomTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ChatRoomType[]'> + + + + /** + * Reference to a field of type 'ParticipantStatus' + */ + export type EnumParticipantStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ParticipantStatus'> + + + + /** + * Reference to a field of type 'ParticipantStatus[]' + */ + export type ListEnumParticipantStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ParticipantStatus[]'> + + + + /** + * Reference to a field of type 'MessageContentType' + */ + export type EnumMessageContentTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'MessageContentType'> + + + + /** + * Reference to a field of type 'MessageContentType[]' + */ + export type ListEnumMessageContentTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'MessageContentType[]'> + + + + /** + * Reference to a field of type 'SessionStatus' + */ + export type EnumSessionStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'SessionStatus'> + + + + /** + * Reference to a field of type 'SessionStatus[]' + */ + export type ListEnumSessionStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'SessionStatus[]'> + + + + /** + * Reference to a field of type 'VideoParticipantRole' + */ + export type EnumVideoParticipantRoleFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'VideoParticipantRole'> + + + + /** + * Reference to a field of type 'VideoParticipantRole[]' + */ + export type ListEnumVideoParticipantRoleFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'VideoParticipantRole[]'> + + + + /** + * Reference to a field of type 'ProcessingStatus' + */ + export type EnumProcessingStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ProcessingStatus'> + + + + /** + * Reference to a field of type 'ProcessingStatus[]' + */ + export type ListEnumProcessingStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ProcessingStatus[]'> + + + + /** + * Reference to a field of type 'RecordingVisibility' + */ + export type EnumRecordingVisibilityFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'RecordingVisibility'> + + + + /** + * Reference to a field of type 'RecordingVisibility[]' + */ + export type ListEnumRecordingVisibilityFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'RecordingVisibility[]'> + + /** + * Deep Input Types + */ + + + export type UserWhereInput = { + AND?: UserWhereInput | UserWhereInput[] + OR?: UserWhereInput[] + NOT?: UserWhereInput | UserWhereInput[] + id?: UuidFilter<"User"> | string + email?: StringFilter<"User"> | string + username?: StringFilter<"User"> | string + password?: StringFilter<"User"> | string + firebaseUid?: StringNullableFilter<"User"> | string | null + firstName?: StringFilter<"User"> | string + lastName?: StringFilter<"User"> | string + role?: EnumUserRoleFilter<"User"> | $Enums.UserRole + profilePic?: StringNullableFilter<"User"> | string | null + departmentId?: UuidNullableFilter<"User"> | string | null + organizationId?: UuidNullableFilter<"User"> | string | null + isOwner?: BoolFilter<"User"> | boolean + createdAt?: DateTimeFilter<"User"> | Date | string + updatedAt?: DateTimeFilter<"User"> | Date | string + isActive?: BoolFilter<"User"> | boolean + deletedAt?: DateTimeNullableFilter<"User"> | Date | string | null + phoneNumber?: StringNullableFilter<"User"> | string | null + jobTitle?: StringNullableFilter<"User"> | string | null + timezone?: StringNullableFilter<"User"> | string | null + bio?: StringNullableFilter<"User"> | string | null + preferences?: JsonNullableFilter<"User"> + emailVerificationToken?: StringNullableFilter<"User"> | string | null + emailVerificationExpires?: DateTimeNullableFilter<"User"> | Date | string | null + passwordResetToken?: StringNullableFilter<"User"> | string | null + passwordResetExpires?: DateTimeNullableFilter<"User"> | Date | string | null + refreshToken?: StringNullableFilter<"User"> | string | null + lastLogin?: DateTimeNullableFilter<"User"> | Date | string | null + lastLogout?: DateTimeNullableFilter<"User"> | Date | string | null + department?: XOR | null + organization?: XOR | null + createdOrganizations?: OrganizationListRelationFilter + ownedOrganizations?: OrganizationOwnerListRelationFilter + managedDepartments?: DepartmentListRelationFilter + createdTeams?: TeamListRelationFilter + teamMemberships?: TeamMemberListRelationFilter + projectMemberships?: ProjectMemberListRelationFilter + createdProjects?: ProjectListRelationFilter + modifiedProjects?: ProjectListRelationFilter + createdTasks?: TaskListRelationFilter + assignedTasks?: TaskListRelationFilter + modifiedTasks?: TaskListRelationFilter + notifications?: NotificationListRelationFilter + timelogs?: TimelogListRelationFilter + comments?: CommentListRelationFilter + taskAttachments?: TaskAttachmentListRelationFilter + generatedReports?: ReportListRelationFilter + userReports?: ReportListRelationFilter + permissions?: PermissionListRelationFilter + activityLogs?: ActivityLogListRelationFilter + ReportNotification?: ReportNotificationListRelationFilter + chatParticipations?: ChatParticipantListRelationFilter + sentMessages?: ChatMessageListRelationFilter + messageReactions?: MessageReactionListRelationFilter + pinnedMessages?: PinnedMessageListRelationFilter + hostedSessions?: VideoConferenceSessionListRelationFilter + videoParticipations?: VideoParticipantListRelationFilter + videoRecordings?: VideoRecordingListRelationFilter + } + + export type UserOrderByWithRelationInput = { + id?: SortOrder + email?: SortOrder + username?: SortOrder + password?: SortOrder + firebaseUid?: SortOrderInput | SortOrder + firstName?: SortOrder + lastName?: SortOrder + role?: SortOrder + profilePic?: SortOrderInput | SortOrder + departmentId?: SortOrderInput | SortOrder + organizationId?: SortOrderInput | SortOrder + isOwner?: SortOrder + createdAt?: SortOrder + updatedAt?: SortOrder + isActive?: SortOrder + deletedAt?: SortOrderInput | SortOrder + phoneNumber?: SortOrderInput | SortOrder + jobTitle?: SortOrderInput | SortOrder + timezone?: SortOrderInput | SortOrder + bio?: SortOrderInput | SortOrder + preferences?: SortOrderInput | SortOrder + emailVerificationToken?: SortOrderInput | SortOrder + emailVerificationExpires?: SortOrderInput | SortOrder + passwordResetToken?: SortOrderInput | SortOrder + passwordResetExpires?: SortOrderInput | SortOrder + refreshToken?: SortOrderInput | SortOrder + lastLogin?: SortOrderInput | SortOrder + lastLogout?: SortOrderInput | SortOrder + department?: DepartmentOrderByWithRelationInput + organization?: OrganizationOrderByWithRelationInput + createdOrganizations?: OrganizationOrderByRelationAggregateInput + ownedOrganizations?: OrganizationOwnerOrderByRelationAggregateInput + managedDepartments?: DepartmentOrderByRelationAggregateInput + createdTeams?: TeamOrderByRelationAggregateInput + teamMemberships?: TeamMemberOrderByRelationAggregateInput + projectMemberships?: ProjectMemberOrderByRelationAggregateInput + createdProjects?: ProjectOrderByRelationAggregateInput + modifiedProjects?: ProjectOrderByRelationAggregateInput + createdTasks?: TaskOrderByRelationAggregateInput + assignedTasks?: TaskOrderByRelationAggregateInput + modifiedTasks?: TaskOrderByRelationAggregateInput + notifications?: NotificationOrderByRelationAggregateInput + timelogs?: TimelogOrderByRelationAggregateInput + comments?: CommentOrderByRelationAggregateInput + taskAttachments?: TaskAttachmentOrderByRelationAggregateInput + generatedReports?: ReportOrderByRelationAggregateInput + userReports?: ReportOrderByRelationAggregateInput + permissions?: PermissionOrderByRelationAggregateInput + activityLogs?: ActivityLogOrderByRelationAggregateInput + ReportNotification?: ReportNotificationOrderByRelationAggregateInput + chatParticipations?: ChatParticipantOrderByRelationAggregateInput + sentMessages?: ChatMessageOrderByRelationAggregateInput + messageReactions?: MessageReactionOrderByRelationAggregateInput + pinnedMessages?: PinnedMessageOrderByRelationAggregateInput + hostedSessions?: VideoConferenceSessionOrderByRelationAggregateInput + videoParticipations?: VideoParticipantOrderByRelationAggregateInput + videoRecordings?: VideoRecordingOrderByRelationAggregateInput + } + + export type UserWhereUniqueInput = Prisma.AtLeast<{ + id?: string + email?: string + username?: string + firebaseUid?: string + AND?: UserWhereInput | UserWhereInput[] + OR?: UserWhereInput[] + NOT?: UserWhereInput | UserWhereInput[] + password?: StringFilter<"User"> | string + firstName?: StringFilter<"User"> | string + lastName?: StringFilter<"User"> | string + role?: EnumUserRoleFilter<"User"> | $Enums.UserRole + profilePic?: StringNullableFilter<"User"> | string | null + departmentId?: UuidNullableFilter<"User"> | string | null + organizationId?: UuidNullableFilter<"User"> | string | null + isOwner?: BoolFilter<"User"> | boolean + createdAt?: DateTimeFilter<"User"> | Date | string + updatedAt?: DateTimeFilter<"User"> | Date | string + isActive?: BoolFilter<"User"> | boolean + deletedAt?: DateTimeNullableFilter<"User"> | Date | string | null + phoneNumber?: StringNullableFilter<"User"> | string | null + jobTitle?: StringNullableFilter<"User"> | string | null + timezone?: StringNullableFilter<"User"> | string | null + bio?: StringNullableFilter<"User"> | string | null + preferences?: JsonNullableFilter<"User"> + emailVerificationToken?: StringNullableFilter<"User"> | string | null + emailVerificationExpires?: DateTimeNullableFilter<"User"> | Date | string | null + passwordResetToken?: StringNullableFilter<"User"> | string | null + passwordResetExpires?: DateTimeNullableFilter<"User"> | Date | string | null + refreshToken?: StringNullableFilter<"User"> | string | null + lastLogin?: DateTimeNullableFilter<"User"> | Date | string | null + lastLogout?: DateTimeNullableFilter<"User"> | Date | string | null + department?: XOR | null + organization?: XOR | null + createdOrganizations?: OrganizationListRelationFilter + ownedOrganizations?: OrganizationOwnerListRelationFilter + managedDepartments?: DepartmentListRelationFilter + createdTeams?: TeamListRelationFilter + teamMemberships?: TeamMemberListRelationFilter + projectMemberships?: ProjectMemberListRelationFilter + createdProjects?: ProjectListRelationFilter + modifiedProjects?: ProjectListRelationFilter + createdTasks?: TaskListRelationFilter + assignedTasks?: TaskListRelationFilter + modifiedTasks?: TaskListRelationFilter + notifications?: NotificationListRelationFilter + timelogs?: TimelogListRelationFilter + comments?: CommentListRelationFilter + taskAttachments?: TaskAttachmentListRelationFilter + generatedReports?: ReportListRelationFilter + userReports?: ReportListRelationFilter + permissions?: PermissionListRelationFilter + activityLogs?: ActivityLogListRelationFilter + ReportNotification?: ReportNotificationListRelationFilter + chatParticipations?: ChatParticipantListRelationFilter + sentMessages?: ChatMessageListRelationFilter + messageReactions?: MessageReactionListRelationFilter + pinnedMessages?: PinnedMessageListRelationFilter + hostedSessions?: VideoConferenceSessionListRelationFilter + videoParticipations?: VideoParticipantListRelationFilter + videoRecordings?: VideoRecordingListRelationFilter + }, "id" | "email" | "username" | "firebaseUid"> + + export type UserOrderByWithAggregationInput = { + id?: SortOrder + email?: SortOrder + username?: SortOrder + password?: SortOrder + firebaseUid?: SortOrderInput | SortOrder + firstName?: SortOrder + lastName?: SortOrder + role?: SortOrder + profilePic?: SortOrderInput | SortOrder + departmentId?: SortOrderInput | SortOrder + organizationId?: SortOrderInput | SortOrder + isOwner?: SortOrder + createdAt?: SortOrder + updatedAt?: SortOrder + isActive?: SortOrder + deletedAt?: SortOrderInput | SortOrder + phoneNumber?: SortOrderInput | SortOrder + jobTitle?: SortOrderInput | SortOrder + timezone?: SortOrderInput | SortOrder + bio?: SortOrderInput | SortOrder + preferences?: SortOrderInput | SortOrder + emailVerificationToken?: SortOrderInput | SortOrder + emailVerificationExpires?: SortOrderInput | SortOrder + passwordResetToken?: SortOrderInput | SortOrder + passwordResetExpires?: SortOrderInput | SortOrder + refreshToken?: SortOrderInput | SortOrder + lastLogin?: SortOrderInput | SortOrder + lastLogout?: SortOrderInput | SortOrder + _count?: UserCountOrderByAggregateInput + _max?: UserMaxOrderByAggregateInput + _min?: UserMinOrderByAggregateInput + } + + export type UserScalarWhereWithAggregatesInput = { + AND?: UserScalarWhereWithAggregatesInput | UserScalarWhereWithAggregatesInput[] + OR?: UserScalarWhereWithAggregatesInput[] + NOT?: UserScalarWhereWithAggregatesInput | UserScalarWhereWithAggregatesInput[] + id?: UuidWithAggregatesFilter<"User"> | string + email?: StringWithAggregatesFilter<"User"> | string + username?: StringWithAggregatesFilter<"User"> | string + password?: StringWithAggregatesFilter<"User"> | string + firebaseUid?: StringNullableWithAggregatesFilter<"User"> | string | null + firstName?: StringWithAggregatesFilter<"User"> | string + lastName?: StringWithAggregatesFilter<"User"> | string + role?: EnumUserRoleWithAggregatesFilter<"User"> | $Enums.UserRole + profilePic?: StringNullableWithAggregatesFilter<"User"> | string | null + departmentId?: UuidNullableWithAggregatesFilter<"User"> | string | null + organizationId?: UuidNullableWithAggregatesFilter<"User"> | string | null + isOwner?: BoolWithAggregatesFilter<"User"> | boolean + createdAt?: DateTimeWithAggregatesFilter<"User"> | Date | string + updatedAt?: DateTimeWithAggregatesFilter<"User"> | Date | string + isActive?: BoolWithAggregatesFilter<"User"> | boolean + deletedAt?: DateTimeNullableWithAggregatesFilter<"User"> | Date | string | null + phoneNumber?: StringNullableWithAggregatesFilter<"User"> | string | null + jobTitle?: StringNullableWithAggregatesFilter<"User"> | string | null + timezone?: StringNullableWithAggregatesFilter<"User"> | string | null + bio?: StringNullableWithAggregatesFilter<"User"> | string | null + preferences?: JsonNullableWithAggregatesFilter<"User"> + emailVerificationToken?: StringNullableWithAggregatesFilter<"User"> | string | null + emailVerificationExpires?: DateTimeNullableWithAggregatesFilter<"User"> | Date | string | null + passwordResetToken?: StringNullableWithAggregatesFilter<"User"> | string | null + passwordResetExpires?: DateTimeNullableWithAggregatesFilter<"User"> | Date | string | null + refreshToken?: StringNullableWithAggregatesFilter<"User"> | string | null + lastLogin?: DateTimeNullableWithAggregatesFilter<"User"> | Date | string | null + lastLogout?: DateTimeNullableWithAggregatesFilter<"User"> | Date | string | null + } + + export type OrganizationWhereInput = { + AND?: OrganizationWhereInput | OrganizationWhereInput[] + OR?: OrganizationWhereInput[] + NOT?: OrganizationWhereInput | OrganizationWhereInput[] + id?: UuidFilter<"Organization"> | string + name?: StringFilter<"Organization"> | string + description?: StringNullableFilter<"Organization"> | string | null + industry?: StringFilter<"Organization"> | string + sizeRange?: StringFilter<"Organization"> | string + website?: StringNullableFilter<"Organization"> | string | null + logoUrl?: StringNullableFilter<"Organization"> | string | null + isVerified?: BoolFilter<"Organization"> | boolean + status?: StringFilter<"Organization"> | string + createdAt?: DateTimeFilter<"Organization"> | Date | string + updatedAt?: DateTimeFilter<"Organization"> | Date | string + deletedAt?: DateTimeNullableFilter<"Organization"> | Date | string | null + createdBy?: UuidFilter<"Organization"> | string + address?: StringNullableFilter<"Organization"> | string | null + contactEmail?: StringNullableFilter<"Organization"> | string | null + contactPhone?: StringNullableFilter<"Organization"> | string | null + emailVerificationOTP?: StringNullableFilter<"Organization"> | string | null + emailVerificationExpires?: DateTimeNullableFilter<"Organization"> | Date | string | null + creator?: XOR + departments?: DepartmentListRelationFilter + teams?: TeamListRelationFilter + projects?: ProjectListRelationFilter + users?: UserListRelationFilter + reports?: ReportListRelationFilter + owners?: OrganizationOwnerListRelationFilter + templates?: TaskTemplateListRelationFilter + activityLogs?: ActivityLogListRelationFilter + } + + export type OrganizationOrderByWithRelationInput = { + id?: SortOrder + name?: SortOrder + description?: SortOrderInput | SortOrder + industry?: SortOrder + sizeRange?: SortOrder + website?: SortOrderInput | SortOrder + logoUrl?: SortOrderInput | SortOrder + isVerified?: SortOrder + status?: SortOrder + createdAt?: SortOrder + updatedAt?: SortOrder + deletedAt?: SortOrderInput | SortOrder + createdBy?: SortOrder + address?: SortOrderInput | SortOrder + contactEmail?: SortOrderInput | SortOrder + contactPhone?: SortOrderInput | SortOrder + emailVerificationOTP?: SortOrderInput | SortOrder + emailVerificationExpires?: SortOrderInput | SortOrder + creator?: UserOrderByWithRelationInput + departments?: DepartmentOrderByRelationAggregateInput + teams?: TeamOrderByRelationAggregateInput + projects?: ProjectOrderByRelationAggregateInput + users?: UserOrderByRelationAggregateInput + reports?: ReportOrderByRelationAggregateInput + owners?: OrganizationOwnerOrderByRelationAggregateInput + templates?: TaskTemplateOrderByRelationAggregateInput + activityLogs?: ActivityLogOrderByRelationAggregateInput + } + + export type OrganizationWhereUniqueInput = Prisma.AtLeast<{ + id?: string + name?: string + AND?: OrganizationWhereInput | OrganizationWhereInput[] + OR?: OrganizationWhereInput[] + NOT?: OrganizationWhereInput | OrganizationWhereInput[] + description?: StringNullableFilter<"Organization"> | string | null + industry?: StringFilter<"Organization"> | string + sizeRange?: StringFilter<"Organization"> | string + website?: StringNullableFilter<"Organization"> | string | null + logoUrl?: StringNullableFilter<"Organization"> | string | null + isVerified?: BoolFilter<"Organization"> | boolean + status?: StringFilter<"Organization"> | string + createdAt?: DateTimeFilter<"Organization"> | Date | string + updatedAt?: DateTimeFilter<"Organization"> | Date | string + deletedAt?: DateTimeNullableFilter<"Organization"> | Date | string | null + createdBy?: UuidFilter<"Organization"> | string + address?: StringNullableFilter<"Organization"> | string | null + contactEmail?: StringNullableFilter<"Organization"> | string | null + contactPhone?: StringNullableFilter<"Organization"> | string | null + emailVerificationOTP?: StringNullableFilter<"Organization"> | string | null + emailVerificationExpires?: DateTimeNullableFilter<"Organization"> | Date | string | null + creator?: XOR + departments?: DepartmentListRelationFilter + teams?: TeamListRelationFilter + projects?: ProjectListRelationFilter + users?: UserListRelationFilter + reports?: ReportListRelationFilter + owners?: OrganizationOwnerListRelationFilter + templates?: TaskTemplateListRelationFilter + activityLogs?: ActivityLogListRelationFilter + }, "id" | "name"> + + export type OrganizationOrderByWithAggregationInput = { + id?: SortOrder + name?: SortOrder + description?: SortOrderInput | SortOrder + industry?: SortOrder + sizeRange?: SortOrder + website?: SortOrderInput | SortOrder + logoUrl?: SortOrderInput | SortOrder + isVerified?: SortOrder + status?: SortOrder + createdAt?: SortOrder + updatedAt?: SortOrder + deletedAt?: SortOrderInput | SortOrder + createdBy?: SortOrder + address?: SortOrderInput | SortOrder + contactEmail?: SortOrderInput | SortOrder + contactPhone?: SortOrderInput | SortOrder + emailVerificationOTP?: SortOrderInput | SortOrder + emailVerificationExpires?: SortOrderInput | SortOrder + _count?: OrganizationCountOrderByAggregateInput + _max?: OrganizationMaxOrderByAggregateInput + _min?: OrganizationMinOrderByAggregateInput + } + + export type OrganizationScalarWhereWithAggregatesInput = { + AND?: OrganizationScalarWhereWithAggregatesInput | OrganizationScalarWhereWithAggregatesInput[] + OR?: OrganizationScalarWhereWithAggregatesInput[] + NOT?: OrganizationScalarWhereWithAggregatesInput | OrganizationScalarWhereWithAggregatesInput[] + id?: UuidWithAggregatesFilter<"Organization"> | string + name?: StringWithAggregatesFilter<"Organization"> | string + description?: StringNullableWithAggregatesFilter<"Organization"> | string | null + industry?: StringWithAggregatesFilter<"Organization"> | string + sizeRange?: StringWithAggregatesFilter<"Organization"> | string + website?: StringNullableWithAggregatesFilter<"Organization"> | string | null + logoUrl?: StringNullableWithAggregatesFilter<"Organization"> | string | null + isVerified?: BoolWithAggregatesFilter<"Organization"> | boolean + status?: StringWithAggregatesFilter<"Organization"> | string + createdAt?: DateTimeWithAggregatesFilter<"Organization"> | Date | string + updatedAt?: DateTimeWithAggregatesFilter<"Organization"> | Date | string + deletedAt?: DateTimeNullableWithAggregatesFilter<"Organization"> | Date | string | null + createdBy?: UuidWithAggregatesFilter<"Organization"> | string + address?: StringNullableWithAggregatesFilter<"Organization"> | string | null + contactEmail?: StringNullableWithAggregatesFilter<"Organization"> | string | null + contactPhone?: StringNullableWithAggregatesFilter<"Organization"> | string | null + emailVerificationOTP?: StringNullableWithAggregatesFilter<"Organization"> | string | null + emailVerificationExpires?: DateTimeNullableWithAggregatesFilter<"Organization"> | Date | string | null + } + + export type OrganizationOwnerWhereInput = { + AND?: OrganizationOwnerWhereInput | OrganizationOwnerWhereInput[] + OR?: OrganizationOwnerWhereInput[] + NOT?: OrganizationOwnerWhereInput | OrganizationOwnerWhereInput[] + id?: UuidFilter<"OrganizationOwner"> | string + organizationId?: UuidFilter<"OrganizationOwner"> | string + userId?: UuidFilter<"OrganizationOwner"> | string + createdAt?: DateTimeFilter<"OrganizationOwner"> | Date | string + updatedAt?: DateTimeFilter<"OrganizationOwner"> | Date | string + organization?: XOR + user?: XOR + } + + export type OrganizationOwnerOrderByWithRelationInput = { + id?: SortOrder + organizationId?: SortOrder + userId?: SortOrder + createdAt?: SortOrder + updatedAt?: SortOrder + organization?: OrganizationOrderByWithRelationInput + user?: UserOrderByWithRelationInput + } + + export type OrganizationOwnerWhereUniqueInput = Prisma.AtLeast<{ + id?: string + organizationId_userId?: OrganizationOwnerOrganizationIdUserIdCompoundUniqueInput + AND?: OrganizationOwnerWhereInput | OrganizationOwnerWhereInput[] + OR?: OrganizationOwnerWhereInput[] + NOT?: OrganizationOwnerWhereInput | OrganizationOwnerWhereInput[] + organizationId?: UuidFilter<"OrganizationOwner"> | string + userId?: UuidFilter<"OrganizationOwner"> | string + createdAt?: DateTimeFilter<"OrganizationOwner"> | Date | string + updatedAt?: DateTimeFilter<"OrganizationOwner"> | Date | string + organization?: XOR + user?: XOR + }, "id" | "organizationId_userId"> + + export type OrganizationOwnerOrderByWithAggregationInput = { + id?: SortOrder + organizationId?: SortOrder + userId?: SortOrder + createdAt?: SortOrder + updatedAt?: SortOrder + _count?: OrganizationOwnerCountOrderByAggregateInput + _max?: OrganizationOwnerMaxOrderByAggregateInput + _min?: OrganizationOwnerMinOrderByAggregateInput + } + + export type OrganizationOwnerScalarWhereWithAggregatesInput = { + AND?: OrganizationOwnerScalarWhereWithAggregatesInput | OrganizationOwnerScalarWhereWithAggregatesInput[] + OR?: OrganizationOwnerScalarWhereWithAggregatesInput[] + NOT?: OrganizationOwnerScalarWhereWithAggregatesInput | OrganizationOwnerScalarWhereWithAggregatesInput[] + id?: UuidWithAggregatesFilter<"OrganizationOwner"> | string + organizationId?: UuidWithAggregatesFilter<"OrganizationOwner"> | string + userId?: UuidWithAggregatesFilter<"OrganizationOwner"> | string + createdAt?: DateTimeWithAggregatesFilter<"OrganizationOwner"> | Date | string + updatedAt?: DateTimeWithAggregatesFilter<"OrganizationOwner"> | Date | string + } + + export type DepartmentWhereInput = { + AND?: DepartmentWhereInput | DepartmentWhereInput[] + OR?: DepartmentWhereInput[] + NOT?: DepartmentWhereInput | DepartmentWhereInput[] + id?: UuidFilter<"Department"> | string + name?: StringFilter<"Department"> | string + description?: StringNullableFilter<"Department"> | string | null + organizationId?: UuidFilter<"Department"> | string + managerId?: UuidFilter<"Department"> | string + createdAt?: DateTimeFilter<"Department"> | Date | string + updatedAt?: DateTimeFilter<"Department"> | Date | string + deletedAt?: DateTimeNullableFilter<"Department"> | Date | string | null + organization?: XOR + manager?: XOR + teams?: TeamListRelationFilter + users?: UserListRelationFilter + activityLogs?: ActivityLogListRelationFilter + Report?: ReportListRelationFilter + } + + export type DepartmentOrderByWithRelationInput = { + id?: SortOrder + name?: SortOrder + description?: SortOrderInput | SortOrder + organizationId?: SortOrder + managerId?: SortOrder + createdAt?: SortOrder + updatedAt?: SortOrder + deletedAt?: SortOrderInput | SortOrder + organization?: OrganizationOrderByWithRelationInput + manager?: UserOrderByWithRelationInput + teams?: TeamOrderByRelationAggregateInput + users?: UserOrderByRelationAggregateInput + activityLogs?: ActivityLogOrderByRelationAggregateInput + Report?: ReportOrderByRelationAggregateInput + } + + export type DepartmentWhereUniqueInput = Prisma.AtLeast<{ + id?: string + organizationId_name?: DepartmentOrganizationIdNameCompoundUniqueInput + AND?: DepartmentWhereInput | DepartmentWhereInput[] + OR?: DepartmentWhereInput[] + NOT?: DepartmentWhereInput | DepartmentWhereInput[] + name?: StringFilter<"Department"> | string + description?: StringNullableFilter<"Department"> | string | null + organizationId?: UuidFilter<"Department"> | string + managerId?: UuidFilter<"Department"> | string + createdAt?: DateTimeFilter<"Department"> | Date | string + updatedAt?: DateTimeFilter<"Department"> | Date | string + deletedAt?: DateTimeNullableFilter<"Department"> | Date | string | null + organization?: XOR + manager?: XOR + teams?: TeamListRelationFilter + users?: UserListRelationFilter + activityLogs?: ActivityLogListRelationFilter + Report?: ReportListRelationFilter + }, "id" | "organizationId_name"> + + export type DepartmentOrderByWithAggregationInput = { + id?: SortOrder + name?: SortOrder + description?: SortOrderInput | SortOrder + organizationId?: SortOrder + managerId?: SortOrder + createdAt?: SortOrder + updatedAt?: SortOrder + deletedAt?: SortOrderInput | SortOrder + _count?: DepartmentCountOrderByAggregateInput + _max?: DepartmentMaxOrderByAggregateInput + _min?: DepartmentMinOrderByAggregateInput + } + + export type DepartmentScalarWhereWithAggregatesInput = { + AND?: DepartmentScalarWhereWithAggregatesInput | DepartmentScalarWhereWithAggregatesInput[] + OR?: DepartmentScalarWhereWithAggregatesInput[] + NOT?: DepartmentScalarWhereWithAggregatesInput | DepartmentScalarWhereWithAggregatesInput[] + id?: UuidWithAggregatesFilter<"Department"> | string + name?: StringWithAggregatesFilter<"Department"> | string + description?: StringNullableWithAggregatesFilter<"Department"> | string | null + organizationId?: UuidWithAggregatesFilter<"Department"> | string + managerId?: UuidWithAggregatesFilter<"Department"> | string + createdAt?: DateTimeWithAggregatesFilter<"Department"> | Date | string + updatedAt?: DateTimeWithAggregatesFilter<"Department"> | Date | string + deletedAt?: DateTimeNullableWithAggregatesFilter<"Department"> | Date | string | null + } + + export type TeamWhereInput = { + AND?: TeamWhereInput | TeamWhereInput[] + OR?: TeamWhereInput[] + NOT?: TeamWhereInput | TeamWhereInput[] + id?: UuidFilter<"Team"> | string + name?: StringFilter<"Team"> | string + description?: StringNullableFilter<"Team"> | string | null + createdBy?: UuidFilter<"Team"> | string + organizationId?: UuidFilter<"Team"> | string + departmentId?: UuidNullableFilter<"Team"> | string | null + createdAt?: DateTimeFilter<"Team"> | Date | string + updatedAt?: DateTimeFilter<"Team"> | Date | string + deletedAt?: DateTimeNullableFilter<"Team"> | Date | string | null + avatar?: StringNullableFilter<"Team"> | string | null + creator?: XOR + organization?: XOR + department?: XOR | null + members?: TeamMemberListRelationFilter + projects?: ProjectListRelationFilter + reports?: ReportListRelationFilter + activityLogs?: ActivityLogListRelationFilter + } + + export type TeamOrderByWithRelationInput = { + id?: SortOrder + name?: SortOrder + description?: SortOrderInput | SortOrder + createdBy?: SortOrder + organizationId?: SortOrder + departmentId?: SortOrderInput | SortOrder + createdAt?: SortOrder + updatedAt?: SortOrder + deletedAt?: SortOrderInput | SortOrder + avatar?: SortOrderInput | SortOrder + creator?: UserOrderByWithRelationInput + organization?: OrganizationOrderByWithRelationInput + department?: DepartmentOrderByWithRelationInput + members?: TeamMemberOrderByRelationAggregateInput + projects?: ProjectOrderByRelationAggregateInput + reports?: ReportOrderByRelationAggregateInput + activityLogs?: ActivityLogOrderByRelationAggregateInput + } + + export type TeamWhereUniqueInput = Prisma.AtLeast<{ + id?: string + organizationId_name?: TeamOrganizationIdNameCompoundUniqueInput + AND?: TeamWhereInput | TeamWhereInput[] + OR?: TeamWhereInput[] + NOT?: TeamWhereInput | TeamWhereInput[] + name?: StringFilter<"Team"> | string + description?: StringNullableFilter<"Team"> | string | null + createdBy?: UuidFilter<"Team"> | string + organizationId?: UuidFilter<"Team"> | string + departmentId?: UuidNullableFilter<"Team"> | string | null + createdAt?: DateTimeFilter<"Team"> | Date | string + updatedAt?: DateTimeFilter<"Team"> | Date | string + deletedAt?: DateTimeNullableFilter<"Team"> | Date | string | null + avatar?: StringNullableFilter<"Team"> | string | null + creator?: XOR + organization?: XOR + department?: XOR | null + members?: TeamMemberListRelationFilter + projects?: ProjectListRelationFilter + reports?: ReportListRelationFilter + activityLogs?: ActivityLogListRelationFilter + }, "id" | "organizationId_name"> + + export type TeamOrderByWithAggregationInput = { + id?: SortOrder + name?: SortOrder + description?: SortOrderInput | SortOrder + createdBy?: SortOrder + organizationId?: SortOrder + departmentId?: SortOrderInput | SortOrder + createdAt?: SortOrder + updatedAt?: SortOrder + deletedAt?: SortOrderInput | SortOrder + avatar?: SortOrderInput | SortOrder + _count?: TeamCountOrderByAggregateInput + _max?: TeamMaxOrderByAggregateInput + _min?: TeamMinOrderByAggregateInput + } + + export type TeamScalarWhereWithAggregatesInput = { + AND?: TeamScalarWhereWithAggregatesInput | TeamScalarWhereWithAggregatesInput[] + OR?: TeamScalarWhereWithAggregatesInput[] + NOT?: TeamScalarWhereWithAggregatesInput | TeamScalarWhereWithAggregatesInput[] + id?: UuidWithAggregatesFilter<"Team"> | string + name?: StringWithAggregatesFilter<"Team"> | string + description?: StringNullableWithAggregatesFilter<"Team"> | string | null + createdBy?: UuidWithAggregatesFilter<"Team"> | string + organizationId?: UuidWithAggregatesFilter<"Team"> | string + departmentId?: UuidNullableWithAggregatesFilter<"Team"> | string | null + createdAt?: DateTimeWithAggregatesFilter<"Team"> | Date | string + updatedAt?: DateTimeWithAggregatesFilter<"Team"> | Date | string + deletedAt?: DateTimeNullableWithAggregatesFilter<"Team"> | Date | string | null + avatar?: StringNullableWithAggregatesFilter<"Team"> | string | null + } + + export type TeamMemberWhereInput = { + AND?: TeamMemberWhereInput | TeamMemberWhereInput[] + OR?: TeamMemberWhereInput[] + NOT?: TeamMemberWhereInput | TeamMemberWhereInput[] + id?: UuidFilter<"TeamMember"> | string + teamId?: UuidFilter<"TeamMember"> | string + userId?: UuidFilter<"TeamMember"> | string + role?: EnumTeamMemberRoleFilter<"TeamMember"> | $Enums.TeamMemberRole + joinedAt?: DateTimeFilter<"TeamMember"> | Date | string + isActive?: BoolFilter<"TeamMember"> | boolean + deletedAt?: DateTimeNullableFilter<"TeamMember"> | Date | string | null + team?: XOR + user?: XOR + } + + export type TeamMemberOrderByWithRelationInput = { + id?: SortOrder + teamId?: SortOrder + userId?: SortOrder + role?: SortOrder + joinedAt?: SortOrder + isActive?: SortOrder + deletedAt?: SortOrderInput | SortOrder + team?: TeamOrderByWithRelationInput + user?: UserOrderByWithRelationInput + } + + export type TeamMemberWhereUniqueInput = Prisma.AtLeast<{ + id?: string + teamId_userId?: TeamMemberTeamIdUserIdCompoundUniqueInput + AND?: TeamMemberWhereInput | TeamMemberWhereInput[] + OR?: TeamMemberWhereInput[] + NOT?: TeamMemberWhereInput | TeamMemberWhereInput[] + teamId?: UuidFilter<"TeamMember"> | string + userId?: UuidFilter<"TeamMember"> | string + role?: EnumTeamMemberRoleFilter<"TeamMember"> | $Enums.TeamMemberRole + joinedAt?: DateTimeFilter<"TeamMember"> | Date | string + isActive?: BoolFilter<"TeamMember"> | boolean + deletedAt?: DateTimeNullableFilter<"TeamMember"> | Date | string | null + team?: XOR + user?: XOR + }, "id" | "teamId_userId"> + + export type TeamMemberOrderByWithAggregationInput = { + id?: SortOrder + teamId?: SortOrder + userId?: SortOrder + role?: SortOrder + joinedAt?: SortOrder + isActive?: SortOrder + deletedAt?: SortOrderInput | SortOrder + _count?: TeamMemberCountOrderByAggregateInput + _max?: TeamMemberMaxOrderByAggregateInput + _min?: TeamMemberMinOrderByAggregateInput + } + + export type TeamMemberScalarWhereWithAggregatesInput = { + AND?: TeamMemberScalarWhereWithAggregatesInput | TeamMemberScalarWhereWithAggregatesInput[] + OR?: TeamMemberScalarWhereWithAggregatesInput[] + NOT?: TeamMemberScalarWhereWithAggregatesInput | TeamMemberScalarWhereWithAggregatesInput[] + id?: UuidWithAggregatesFilter<"TeamMember"> | string + teamId?: UuidWithAggregatesFilter<"TeamMember"> | string + userId?: UuidWithAggregatesFilter<"TeamMember"> | string + role?: EnumTeamMemberRoleWithAggregatesFilter<"TeamMember"> | $Enums.TeamMemberRole + joinedAt?: DateTimeWithAggregatesFilter<"TeamMember"> | Date | string + isActive?: BoolWithAggregatesFilter<"TeamMember"> | boolean + deletedAt?: DateTimeNullableWithAggregatesFilter<"TeamMember"> | Date | string | null + } + + export type ProjectWhereInput = { + AND?: ProjectWhereInput | ProjectWhereInput[] + OR?: ProjectWhereInput[] + NOT?: ProjectWhereInput | ProjectWhereInput[] + id?: UuidFilter<"Project"> | string + name?: StringFilter<"Project"> | string + description?: StringNullableFilter<"Project"> | string | null + status?: StringFilter<"Project"> | string + createdBy?: UuidFilter<"Project"> | string + organizationId?: UuidFilter<"Project"> | string + teamId?: UuidFilter<"Project"> | string + startDate?: DateTimeFilter<"Project"> | Date | string + endDate?: DateTimeFilter<"Project"> | Date | string + createdAt?: DateTimeFilter<"Project"> | Date | string + updatedAt?: DateTimeFilter<"Project"> | Date | string + deletedAt?: DateTimeNullableFilter<"Project"> | Date | string | null + priority?: EnumTaskPriorityFilter<"Project"> | $Enums.TaskPriority + progress?: FloatNullableFilter<"Project"> | number | null + budget?: FloatNullableFilter<"Project"> | number | null + lastModifiedBy?: UuidNullableFilter<"Project"> | string | null + creator?: XOR + modifier?: XOR | null + organization?: XOR + team?: XOR + sprints?: SprintListRelationFilter + tasks?: TaskListRelationFilter + reports?: ReportListRelationFilter + activityLogs?: ActivityLogListRelationFilter + ProjectMember?: ProjectMemberListRelationFilter + } + + export type ProjectOrderByWithRelationInput = { + id?: SortOrder + name?: SortOrder + description?: SortOrderInput | SortOrder + status?: SortOrder + createdBy?: SortOrder + organizationId?: SortOrder + teamId?: SortOrder + startDate?: SortOrder + endDate?: SortOrder + createdAt?: SortOrder + updatedAt?: SortOrder + deletedAt?: SortOrderInput | SortOrder + priority?: SortOrder + progress?: SortOrderInput | SortOrder + budget?: SortOrderInput | SortOrder + lastModifiedBy?: SortOrderInput | SortOrder + creator?: UserOrderByWithRelationInput + modifier?: UserOrderByWithRelationInput + organization?: OrganizationOrderByWithRelationInput + team?: TeamOrderByWithRelationInput + sprints?: SprintOrderByRelationAggregateInput + tasks?: TaskOrderByRelationAggregateInput + reports?: ReportOrderByRelationAggregateInput + activityLogs?: ActivityLogOrderByRelationAggregateInput + ProjectMember?: ProjectMemberOrderByRelationAggregateInput + } + + export type ProjectWhereUniqueInput = Prisma.AtLeast<{ + id?: string + organizationId_name?: ProjectOrganizationIdNameCompoundUniqueInput + AND?: ProjectWhereInput | ProjectWhereInput[] + OR?: ProjectWhereInput[] + NOT?: ProjectWhereInput | ProjectWhereInput[] + name?: StringFilter<"Project"> | string + description?: StringNullableFilter<"Project"> | string | null + status?: StringFilter<"Project"> | string + createdBy?: UuidFilter<"Project"> | string + organizationId?: UuidFilter<"Project"> | string + teamId?: UuidFilter<"Project"> | string + startDate?: DateTimeFilter<"Project"> | Date | string + endDate?: DateTimeFilter<"Project"> | Date | string + createdAt?: DateTimeFilter<"Project"> | Date | string + updatedAt?: DateTimeFilter<"Project"> | Date | string + deletedAt?: DateTimeNullableFilter<"Project"> | Date | string | null + priority?: EnumTaskPriorityFilter<"Project"> | $Enums.TaskPriority + progress?: FloatNullableFilter<"Project"> | number | null + budget?: FloatNullableFilter<"Project"> | number | null + lastModifiedBy?: UuidNullableFilter<"Project"> | string | null + creator?: XOR + modifier?: XOR | null + organization?: XOR + team?: XOR + sprints?: SprintListRelationFilter + tasks?: TaskListRelationFilter + reports?: ReportListRelationFilter + activityLogs?: ActivityLogListRelationFilter + ProjectMember?: ProjectMemberListRelationFilter + }, "id" | "organizationId_name"> + + export type ProjectOrderByWithAggregationInput = { + id?: SortOrder + name?: SortOrder + description?: SortOrderInput | SortOrder + status?: SortOrder + createdBy?: SortOrder + organizationId?: SortOrder + teamId?: SortOrder + startDate?: SortOrder + endDate?: SortOrder + createdAt?: SortOrder + updatedAt?: SortOrder + deletedAt?: SortOrderInput | SortOrder + priority?: SortOrder + progress?: SortOrderInput | SortOrder + budget?: SortOrderInput | SortOrder + lastModifiedBy?: SortOrderInput | SortOrder + _count?: ProjectCountOrderByAggregateInput + _avg?: ProjectAvgOrderByAggregateInput + _max?: ProjectMaxOrderByAggregateInput + _min?: ProjectMinOrderByAggregateInput + _sum?: ProjectSumOrderByAggregateInput + } + + export type ProjectScalarWhereWithAggregatesInput = { + AND?: ProjectScalarWhereWithAggregatesInput | ProjectScalarWhereWithAggregatesInput[] + OR?: ProjectScalarWhereWithAggregatesInput[] + NOT?: ProjectScalarWhereWithAggregatesInput | ProjectScalarWhereWithAggregatesInput[] + id?: UuidWithAggregatesFilter<"Project"> | string + name?: StringWithAggregatesFilter<"Project"> | string + description?: StringNullableWithAggregatesFilter<"Project"> | string | null + status?: StringWithAggregatesFilter<"Project"> | string + createdBy?: UuidWithAggregatesFilter<"Project"> | string + organizationId?: UuidWithAggregatesFilter<"Project"> | string + teamId?: UuidWithAggregatesFilter<"Project"> | string + startDate?: DateTimeWithAggregatesFilter<"Project"> | Date | string + endDate?: DateTimeWithAggregatesFilter<"Project"> | Date | string + createdAt?: DateTimeWithAggregatesFilter<"Project"> | Date | string + updatedAt?: DateTimeWithAggregatesFilter<"Project"> | Date | string + deletedAt?: DateTimeNullableWithAggregatesFilter<"Project"> | Date | string | null + priority?: EnumTaskPriorityWithAggregatesFilter<"Project"> | $Enums.TaskPriority + progress?: FloatNullableWithAggregatesFilter<"Project"> | number | null + budget?: FloatNullableWithAggregatesFilter<"Project"> | number | null + lastModifiedBy?: UuidNullableWithAggregatesFilter<"Project"> | string | null + } + + export type ProjectMemberWhereInput = { + AND?: ProjectMemberWhereInput | ProjectMemberWhereInput[] + OR?: ProjectMemberWhereInput[] + NOT?: ProjectMemberWhereInput | ProjectMemberWhereInput[] + id?: UuidFilter<"ProjectMember"> | string + projectId?: UuidFilter<"ProjectMember"> | string + userId?: UuidFilter<"ProjectMember"> | string + role?: StringFilter<"ProjectMember"> | string + isActive?: BoolFilter<"ProjectMember"> | boolean + joinedAt?: DateTimeFilter<"ProjectMember"> | Date | string + leftAt?: DateTimeNullableFilter<"ProjectMember"> | Date | string | null + deletedAt?: DateTimeNullableFilter<"ProjectMember"> | Date | string | null + project?: XOR + user?: XOR + } + + export type ProjectMemberOrderByWithRelationInput = { + id?: SortOrder + projectId?: SortOrder + userId?: SortOrder + role?: SortOrder + isActive?: SortOrder + joinedAt?: SortOrder + leftAt?: SortOrderInput | SortOrder + deletedAt?: SortOrderInput | SortOrder + project?: ProjectOrderByWithRelationInput + user?: UserOrderByWithRelationInput + } + + export type ProjectMemberWhereUniqueInput = Prisma.AtLeast<{ + id?: string + projectId_userId?: ProjectMemberProjectIdUserIdCompoundUniqueInput + AND?: ProjectMemberWhereInput | ProjectMemberWhereInput[] + OR?: ProjectMemberWhereInput[] + NOT?: ProjectMemberWhereInput | ProjectMemberWhereInput[] + projectId?: UuidFilter<"ProjectMember"> | string + userId?: UuidFilter<"ProjectMember"> | string + role?: StringFilter<"ProjectMember"> | string + isActive?: BoolFilter<"ProjectMember"> | boolean + joinedAt?: DateTimeFilter<"ProjectMember"> | Date | string + leftAt?: DateTimeNullableFilter<"ProjectMember"> | Date | string | null + deletedAt?: DateTimeNullableFilter<"ProjectMember"> | Date | string | null + project?: XOR + user?: XOR + }, "id" | "projectId_userId"> + + export type ProjectMemberOrderByWithAggregationInput = { + id?: SortOrder + projectId?: SortOrder + userId?: SortOrder + role?: SortOrder + isActive?: SortOrder + joinedAt?: SortOrder + leftAt?: SortOrderInput | SortOrder + deletedAt?: SortOrderInput | SortOrder + _count?: ProjectMemberCountOrderByAggregateInput + _max?: ProjectMemberMaxOrderByAggregateInput + _min?: ProjectMemberMinOrderByAggregateInput + } + + export type ProjectMemberScalarWhereWithAggregatesInput = { + AND?: ProjectMemberScalarWhereWithAggregatesInput | ProjectMemberScalarWhereWithAggregatesInput[] + OR?: ProjectMemberScalarWhereWithAggregatesInput[] + NOT?: ProjectMemberScalarWhereWithAggregatesInput | ProjectMemberScalarWhereWithAggregatesInput[] + id?: UuidWithAggregatesFilter<"ProjectMember"> | string + projectId?: UuidWithAggregatesFilter<"ProjectMember"> | string + userId?: UuidWithAggregatesFilter<"ProjectMember"> | string + role?: StringWithAggregatesFilter<"ProjectMember"> | string + isActive?: BoolWithAggregatesFilter<"ProjectMember"> | boolean + joinedAt?: DateTimeWithAggregatesFilter<"ProjectMember"> | Date | string + leftAt?: DateTimeNullableWithAggregatesFilter<"ProjectMember"> | Date | string | null + deletedAt?: DateTimeNullableWithAggregatesFilter<"ProjectMember"> | Date | string | null + } + + export type SprintWhereInput = { + AND?: SprintWhereInput | SprintWhereInput[] + OR?: SprintWhereInput[] + NOT?: SprintWhereInput | SprintWhereInput[] + id?: UuidFilter<"Sprint"> | string + projectId?: UuidFilter<"Sprint"> | string + name?: StringFilter<"Sprint"> | string + description?: StringNullableFilter<"Sprint"> | string | null + startDate?: DateTimeFilter<"Sprint"> | Date | string + endDate?: DateTimeFilter<"Sprint"> | Date | string + status?: StringFilter<"Sprint"> | string + goal?: StringNullableFilter<"Sprint"> | string | null + order?: IntFilter<"Sprint"> | number + project?: XOR + tasks?: TaskListRelationFilter + activityLogs?: ActivityLogListRelationFilter + } + + export type SprintOrderByWithRelationInput = { + id?: SortOrder + projectId?: SortOrder + name?: SortOrder + description?: SortOrderInput | SortOrder + startDate?: SortOrder + endDate?: SortOrder + status?: SortOrder + goal?: SortOrderInput | SortOrder + order?: SortOrder + project?: ProjectOrderByWithRelationInput + tasks?: TaskOrderByRelationAggregateInput + activityLogs?: ActivityLogOrderByRelationAggregateInput + } + + export type SprintWhereUniqueInput = Prisma.AtLeast<{ + id?: string + projectId_name?: SprintProjectIdNameCompoundUniqueInput + AND?: SprintWhereInput | SprintWhereInput[] + OR?: SprintWhereInput[] + NOT?: SprintWhereInput | SprintWhereInput[] + projectId?: UuidFilter<"Sprint"> | string + name?: StringFilter<"Sprint"> | string + description?: StringNullableFilter<"Sprint"> | string | null + startDate?: DateTimeFilter<"Sprint"> | Date | string + endDate?: DateTimeFilter<"Sprint"> | Date | string + status?: StringFilter<"Sprint"> | string + goal?: StringNullableFilter<"Sprint"> | string | null + order?: IntFilter<"Sprint"> | number + project?: XOR + tasks?: TaskListRelationFilter + activityLogs?: ActivityLogListRelationFilter + }, "id" | "projectId_name"> + + export type SprintOrderByWithAggregationInput = { + id?: SortOrder + projectId?: SortOrder + name?: SortOrder + description?: SortOrderInput | SortOrder + startDate?: SortOrder + endDate?: SortOrder + status?: SortOrder + goal?: SortOrderInput | SortOrder + order?: SortOrder + _count?: SprintCountOrderByAggregateInput + _avg?: SprintAvgOrderByAggregateInput + _max?: SprintMaxOrderByAggregateInput + _min?: SprintMinOrderByAggregateInput + _sum?: SprintSumOrderByAggregateInput + } + + export type SprintScalarWhereWithAggregatesInput = { + AND?: SprintScalarWhereWithAggregatesInput | SprintScalarWhereWithAggregatesInput[] + OR?: SprintScalarWhereWithAggregatesInput[] + NOT?: SprintScalarWhereWithAggregatesInput | SprintScalarWhereWithAggregatesInput[] + id?: UuidWithAggregatesFilter<"Sprint"> | string + projectId?: UuidWithAggregatesFilter<"Sprint"> | string + name?: StringWithAggregatesFilter<"Sprint"> | string + description?: StringNullableWithAggregatesFilter<"Sprint"> | string | null + startDate?: DateTimeWithAggregatesFilter<"Sprint"> | Date | string + endDate?: DateTimeWithAggregatesFilter<"Sprint"> | Date | string + status?: StringWithAggregatesFilter<"Sprint"> | string + goal?: StringNullableWithAggregatesFilter<"Sprint"> | string | null + order?: IntWithAggregatesFilter<"Sprint"> | number + } + + export type TaskWhereInput = { + AND?: TaskWhereInput | TaskWhereInput[] + OR?: TaskWhereInput[] + NOT?: TaskWhereInput | TaskWhereInput[] + id?: UuidFilter<"Task"> | string + title?: StringFilter<"Task"> | string + description?: StringNullableFilter<"Task"> | string | null + priority?: EnumTaskPriorityFilter<"Task"> | $Enums.TaskPriority + status?: EnumTaskStatusFilter<"Task"> | $Enums.TaskStatus + rate?: FloatNullableFilter<"Task"> | number | null + projectId?: UuidFilter<"Task"> | string + sprintId?: UuidNullableFilter<"Task"> | string | null + createdBy?: UuidFilter<"Task"> | string + assignedTo?: UuidNullableFilter<"Task"> | string | null + dueDate?: DateTimeFilter<"Task"> | Date | string + createdAt?: DateTimeFilter<"Task"> | Date | string + updatedAt?: DateTimeFilter<"Task"> | Date | string + deletedAt?: DateTimeNullableFilter<"Task"> | Date | string | null + estimatedTime?: FloatNullableFilter<"Task"> | number | null + actualTime?: FloatNullableFilter<"Task"> | number | null + parentId?: UuidNullableFilter<"Task"> | string | null + order?: IntFilter<"Task"> | number + labels?: StringNullableListFilter<"Task"> + lastModifiedBy?: UuidNullableFilter<"Task"> | string | null + project?: XOR + sprint?: XOR | null + creator?: XOR + assignee?: XOR | null + modifier?: XOR | null + attachments?: TaskAttachmentListRelationFilter + comments?: CommentListRelationFilter + timelogs?: TimelogListRelationFilter + dependencies?: TaskDependencyListRelationFilter + dependentOn?: TaskDependencyListRelationFilter + parent?: XOR | null + subtasks?: TaskListRelationFilter + activityLogs?: ActivityLogListRelationFilter + } + + export type TaskOrderByWithRelationInput = { + id?: SortOrder + title?: SortOrder + description?: SortOrderInput | SortOrder + priority?: SortOrder + status?: SortOrder + rate?: SortOrderInput | SortOrder + projectId?: SortOrder + sprintId?: SortOrderInput | SortOrder + createdBy?: SortOrder + assignedTo?: SortOrderInput | SortOrder + dueDate?: SortOrder + createdAt?: SortOrder + updatedAt?: SortOrder + deletedAt?: SortOrderInput | SortOrder + estimatedTime?: SortOrderInput | SortOrder + actualTime?: SortOrderInput | SortOrder + parentId?: SortOrderInput | SortOrder + order?: SortOrder + labels?: SortOrder + lastModifiedBy?: SortOrderInput | SortOrder + project?: ProjectOrderByWithRelationInput + sprint?: SprintOrderByWithRelationInput + creator?: UserOrderByWithRelationInput + assignee?: UserOrderByWithRelationInput + modifier?: UserOrderByWithRelationInput + attachments?: TaskAttachmentOrderByRelationAggregateInput + comments?: CommentOrderByRelationAggregateInput + timelogs?: TimelogOrderByRelationAggregateInput + dependencies?: TaskDependencyOrderByRelationAggregateInput + dependentOn?: TaskDependencyOrderByRelationAggregateInput + parent?: TaskOrderByWithRelationInput + subtasks?: TaskOrderByRelationAggregateInput + activityLogs?: ActivityLogOrderByRelationAggregateInput + } + + export type TaskWhereUniqueInput = Prisma.AtLeast<{ + id?: string + AND?: TaskWhereInput | TaskWhereInput[] + OR?: TaskWhereInput[] + NOT?: TaskWhereInput | TaskWhereInput[] + title?: StringFilter<"Task"> | string + description?: StringNullableFilter<"Task"> | string | null + priority?: EnumTaskPriorityFilter<"Task"> | $Enums.TaskPriority + status?: EnumTaskStatusFilter<"Task"> | $Enums.TaskStatus + rate?: FloatNullableFilter<"Task"> | number | null + projectId?: UuidFilter<"Task"> | string + sprintId?: UuidNullableFilter<"Task"> | string | null + createdBy?: UuidFilter<"Task"> | string + assignedTo?: UuidNullableFilter<"Task"> | string | null + dueDate?: DateTimeFilter<"Task"> | Date | string + createdAt?: DateTimeFilter<"Task"> | Date | string + updatedAt?: DateTimeFilter<"Task"> | Date | string + deletedAt?: DateTimeNullableFilter<"Task"> | Date | string | null + estimatedTime?: FloatNullableFilter<"Task"> | number | null + actualTime?: FloatNullableFilter<"Task"> | number | null + parentId?: UuidNullableFilter<"Task"> | string | null + order?: IntFilter<"Task"> | number + labels?: StringNullableListFilter<"Task"> + lastModifiedBy?: UuidNullableFilter<"Task"> | string | null + project?: XOR + sprint?: XOR | null + creator?: XOR + assignee?: XOR | null + modifier?: XOR | null + attachments?: TaskAttachmentListRelationFilter + comments?: CommentListRelationFilter + timelogs?: TimelogListRelationFilter + dependencies?: TaskDependencyListRelationFilter + dependentOn?: TaskDependencyListRelationFilter + parent?: XOR | null + subtasks?: TaskListRelationFilter + activityLogs?: ActivityLogListRelationFilter + }, "id"> + + export type TaskOrderByWithAggregationInput = { + id?: SortOrder + title?: SortOrder + description?: SortOrderInput | SortOrder + priority?: SortOrder + status?: SortOrder + rate?: SortOrderInput | SortOrder + projectId?: SortOrder + sprintId?: SortOrderInput | SortOrder + createdBy?: SortOrder + assignedTo?: SortOrderInput | SortOrder + dueDate?: SortOrder + createdAt?: SortOrder + updatedAt?: SortOrder + deletedAt?: SortOrderInput | SortOrder + estimatedTime?: SortOrderInput | SortOrder + actualTime?: SortOrderInput | SortOrder + parentId?: SortOrderInput | SortOrder + order?: SortOrder + labels?: SortOrder + lastModifiedBy?: SortOrderInput | SortOrder + _count?: TaskCountOrderByAggregateInput + _avg?: TaskAvgOrderByAggregateInput + _max?: TaskMaxOrderByAggregateInput + _min?: TaskMinOrderByAggregateInput + _sum?: TaskSumOrderByAggregateInput + } + + export type TaskScalarWhereWithAggregatesInput = { + AND?: TaskScalarWhereWithAggregatesInput | TaskScalarWhereWithAggregatesInput[] + OR?: TaskScalarWhereWithAggregatesInput[] + NOT?: TaskScalarWhereWithAggregatesInput | TaskScalarWhereWithAggregatesInput[] + id?: UuidWithAggregatesFilter<"Task"> | string + title?: StringWithAggregatesFilter<"Task"> | string + description?: StringNullableWithAggregatesFilter<"Task"> | string | null + priority?: EnumTaskPriorityWithAggregatesFilter<"Task"> | $Enums.TaskPriority + status?: EnumTaskStatusWithAggregatesFilter<"Task"> | $Enums.TaskStatus + rate?: FloatNullableWithAggregatesFilter<"Task"> | number | null + projectId?: UuidWithAggregatesFilter<"Task"> | string + sprintId?: UuidNullableWithAggregatesFilter<"Task"> | string | null + createdBy?: UuidWithAggregatesFilter<"Task"> | string + assignedTo?: UuidNullableWithAggregatesFilter<"Task"> | string | null + dueDate?: DateTimeWithAggregatesFilter<"Task"> | Date | string + createdAt?: DateTimeWithAggregatesFilter<"Task"> | Date | string + updatedAt?: DateTimeWithAggregatesFilter<"Task"> | Date | string + deletedAt?: DateTimeNullableWithAggregatesFilter<"Task"> | Date | string | null + estimatedTime?: FloatNullableWithAggregatesFilter<"Task"> | number | null + actualTime?: FloatNullableWithAggregatesFilter<"Task"> | number | null + parentId?: UuidNullableWithAggregatesFilter<"Task"> | string | null + order?: IntWithAggregatesFilter<"Task"> | number + labels?: StringNullableListFilter<"Task"> + lastModifiedBy?: UuidNullableWithAggregatesFilter<"Task"> | string | null + } + + export type TaskAttachmentWhereInput = { + AND?: TaskAttachmentWhereInput | TaskAttachmentWhereInput[] + OR?: TaskAttachmentWhereInput[] + NOT?: TaskAttachmentWhereInput | TaskAttachmentWhereInput[] + id?: UuidFilter<"TaskAttachment"> | string + taskId?: UuidFilter<"TaskAttachment"> | string + fileName?: StringFilter<"TaskAttachment"> | string + fileType?: StringFilter<"TaskAttachment"> | string + filePath?: StringFilter<"TaskAttachment"> | string + fileSize?: IntFilter<"TaskAttachment"> | number + uploadedBy?: UuidFilter<"TaskAttachment"> | string + createdAt?: DateTimeFilter<"TaskAttachment"> | Date | string + storageProvider?: StringNullableFilter<"TaskAttachment"> | string | null + storageKey?: StringFilter<"TaskAttachment"> | string + task?: XOR + uploader?: XOR + } + + export type TaskAttachmentOrderByWithRelationInput = { + id?: SortOrder + taskId?: SortOrder + fileName?: SortOrder + fileType?: SortOrder + filePath?: SortOrder + fileSize?: SortOrder + uploadedBy?: SortOrder + createdAt?: SortOrder + storageProvider?: SortOrderInput | SortOrder + storageKey?: SortOrder + task?: TaskOrderByWithRelationInput + uploader?: UserOrderByWithRelationInput + } + + export type TaskAttachmentWhereUniqueInput = Prisma.AtLeast<{ + id?: string + AND?: TaskAttachmentWhereInput | TaskAttachmentWhereInput[] + OR?: TaskAttachmentWhereInput[] + NOT?: TaskAttachmentWhereInput | TaskAttachmentWhereInput[] + taskId?: UuidFilter<"TaskAttachment"> | string + fileName?: StringFilter<"TaskAttachment"> | string + fileType?: StringFilter<"TaskAttachment"> | string + filePath?: StringFilter<"TaskAttachment"> | string + fileSize?: IntFilter<"TaskAttachment"> | number + uploadedBy?: UuidFilter<"TaskAttachment"> | string + createdAt?: DateTimeFilter<"TaskAttachment"> | Date | string + storageProvider?: StringNullableFilter<"TaskAttachment"> | string | null + storageKey?: StringFilter<"TaskAttachment"> | string + task?: XOR + uploader?: XOR + }, "id"> + + export type TaskAttachmentOrderByWithAggregationInput = { + id?: SortOrder + taskId?: SortOrder + fileName?: SortOrder + fileType?: SortOrder + filePath?: SortOrder + fileSize?: SortOrder + uploadedBy?: SortOrder + createdAt?: SortOrder + storageProvider?: SortOrderInput | SortOrder + storageKey?: SortOrder + _count?: TaskAttachmentCountOrderByAggregateInput + _avg?: TaskAttachmentAvgOrderByAggregateInput + _max?: TaskAttachmentMaxOrderByAggregateInput + _min?: TaskAttachmentMinOrderByAggregateInput + _sum?: TaskAttachmentSumOrderByAggregateInput + } + + export type TaskAttachmentScalarWhereWithAggregatesInput = { + AND?: TaskAttachmentScalarWhereWithAggregatesInput | TaskAttachmentScalarWhereWithAggregatesInput[] + OR?: TaskAttachmentScalarWhereWithAggregatesInput[] + NOT?: TaskAttachmentScalarWhereWithAggregatesInput | TaskAttachmentScalarWhereWithAggregatesInput[] + id?: UuidWithAggregatesFilter<"TaskAttachment"> | string + taskId?: UuidWithAggregatesFilter<"TaskAttachment"> | string + fileName?: StringWithAggregatesFilter<"TaskAttachment"> | string + fileType?: StringWithAggregatesFilter<"TaskAttachment"> | string + filePath?: StringWithAggregatesFilter<"TaskAttachment"> | string + fileSize?: IntWithAggregatesFilter<"TaskAttachment"> | number + uploadedBy?: UuidWithAggregatesFilter<"TaskAttachment"> | string + createdAt?: DateTimeWithAggregatesFilter<"TaskAttachment"> | Date | string + storageProvider?: StringNullableWithAggregatesFilter<"TaskAttachment"> | string | null + storageKey?: StringWithAggregatesFilter<"TaskAttachment"> | string + } + + export type TaskDependencyWhereInput = { + AND?: TaskDependencyWhereInput | TaskDependencyWhereInput[] + OR?: TaskDependencyWhereInput[] + NOT?: TaskDependencyWhereInput | TaskDependencyWhereInput[] + id?: UuidFilter<"TaskDependency"> | string + taskId?: UuidFilter<"TaskDependency"> | string + dependentTaskId?: UuidFilter<"TaskDependency"> | string + dependencyType?: EnumDependencyTypeFilter<"TaskDependency"> | $Enums.DependencyType + description?: StringNullableFilter<"TaskDependency"> | string | null + task?: XOR + dependentTask?: XOR + } + + export type TaskDependencyOrderByWithRelationInput = { + id?: SortOrder + taskId?: SortOrder + dependentTaskId?: SortOrder + dependencyType?: SortOrder + description?: SortOrderInput | SortOrder + task?: TaskOrderByWithRelationInput + dependentTask?: TaskOrderByWithRelationInput + } + + export type TaskDependencyWhereUniqueInput = Prisma.AtLeast<{ + id?: string + taskId_dependentTaskId?: TaskDependencyTaskIdDependentTaskIdCompoundUniqueInput + AND?: TaskDependencyWhereInput | TaskDependencyWhereInput[] + OR?: TaskDependencyWhereInput[] + NOT?: TaskDependencyWhereInput | TaskDependencyWhereInput[] + taskId?: UuidFilter<"TaskDependency"> | string + dependentTaskId?: UuidFilter<"TaskDependency"> | string + dependencyType?: EnumDependencyTypeFilter<"TaskDependency"> | $Enums.DependencyType + description?: StringNullableFilter<"TaskDependency"> | string | null + task?: XOR + dependentTask?: XOR + }, "id" | "taskId_dependentTaskId"> + + export type TaskDependencyOrderByWithAggregationInput = { + id?: SortOrder + taskId?: SortOrder + dependentTaskId?: SortOrder + dependencyType?: SortOrder + description?: SortOrderInput | SortOrder + _count?: TaskDependencyCountOrderByAggregateInput + _max?: TaskDependencyMaxOrderByAggregateInput + _min?: TaskDependencyMinOrderByAggregateInput + } + + export type TaskDependencyScalarWhereWithAggregatesInput = { + AND?: TaskDependencyScalarWhereWithAggregatesInput | TaskDependencyScalarWhereWithAggregatesInput[] + OR?: TaskDependencyScalarWhereWithAggregatesInput[] + NOT?: TaskDependencyScalarWhereWithAggregatesInput | TaskDependencyScalarWhereWithAggregatesInput[] + id?: UuidWithAggregatesFilter<"TaskDependency"> | string + taskId?: UuidWithAggregatesFilter<"TaskDependency"> | string + dependentTaskId?: UuidWithAggregatesFilter<"TaskDependency"> | string + dependencyType?: EnumDependencyTypeWithAggregatesFilter<"TaskDependency"> | $Enums.DependencyType + description?: StringNullableWithAggregatesFilter<"TaskDependency"> | string | null + } + + export type TaskTemplateWhereInput = { + AND?: TaskTemplateWhereInput | TaskTemplateWhereInput[] + OR?: TaskTemplateWhereInput[] + NOT?: TaskTemplateWhereInput | TaskTemplateWhereInput[] + id?: UuidFilter<"TaskTemplate"> | string + name?: StringFilter<"TaskTemplate"> | string + description?: StringNullableFilter<"TaskTemplate"> | string | null + priority?: EnumTaskPriorityFilter<"TaskTemplate"> | $Enums.TaskPriority + estimatedTime?: FloatNullableFilter<"TaskTemplate"> | number | null + organizationId?: UuidFilter<"TaskTemplate"> | string + createdBy?: UuidFilter<"TaskTemplate"> | string + createdAt?: DateTimeFilter<"TaskTemplate"> | Date | string + updatedAt?: DateTimeFilter<"TaskTemplate"> | Date | string + checklist?: JsonNullableFilter<"TaskTemplate"> + labels?: StringNullableListFilter<"TaskTemplate"> + isPublic?: BoolFilter<"TaskTemplate"> | boolean + organization?: XOR + } + + export type TaskTemplateOrderByWithRelationInput = { + id?: SortOrder + name?: SortOrder + description?: SortOrderInput | SortOrder + priority?: SortOrder + estimatedTime?: SortOrderInput | SortOrder + organizationId?: SortOrder + createdBy?: SortOrder + createdAt?: SortOrder + updatedAt?: SortOrder + checklist?: SortOrderInput | SortOrder + labels?: SortOrder + isPublic?: SortOrder + organization?: OrganizationOrderByWithRelationInput + } + + export type TaskTemplateWhereUniqueInput = Prisma.AtLeast<{ + id?: string + organizationId_name?: TaskTemplateOrganizationIdNameCompoundUniqueInput + AND?: TaskTemplateWhereInput | TaskTemplateWhereInput[] + OR?: TaskTemplateWhereInput[] + NOT?: TaskTemplateWhereInput | TaskTemplateWhereInput[] + name?: StringFilter<"TaskTemplate"> | string + description?: StringNullableFilter<"TaskTemplate"> | string | null + priority?: EnumTaskPriorityFilter<"TaskTemplate"> | $Enums.TaskPriority + estimatedTime?: FloatNullableFilter<"TaskTemplate"> | number | null + organizationId?: UuidFilter<"TaskTemplate"> | string + createdBy?: UuidFilter<"TaskTemplate"> | string + createdAt?: DateTimeFilter<"TaskTemplate"> | Date | string + updatedAt?: DateTimeFilter<"TaskTemplate"> | Date | string + checklist?: JsonNullableFilter<"TaskTemplate"> + labels?: StringNullableListFilter<"TaskTemplate"> + isPublic?: BoolFilter<"TaskTemplate"> | boolean + organization?: XOR + }, "id" | "organizationId_name"> + + export type TaskTemplateOrderByWithAggregationInput = { + id?: SortOrder + name?: SortOrder + description?: SortOrderInput | SortOrder + priority?: SortOrder + estimatedTime?: SortOrderInput | SortOrder + organizationId?: SortOrder + createdBy?: SortOrder + createdAt?: SortOrder + updatedAt?: SortOrder + checklist?: SortOrderInput | SortOrder + labels?: SortOrder + isPublic?: SortOrder + _count?: TaskTemplateCountOrderByAggregateInput + _avg?: TaskTemplateAvgOrderByAggregateInput + _max?: TaskTemplateMaxOrderByAggregateInput + _min?: TaskTemplateMinOrderByAggregateInput + _sum?: TaskTemplateSumOrderByAggregateInput + } + + export type TaskTemplateScalarWhereWithAggregatesInput = { + AND?: TaskTemplateScalarWhereWithAggregatesInput | TaskTemplateScalarWhereWithAggregatesInput[] + OR?: TaskTemplateScalarWhereWithAggregatesInput[] + NOT?: TaskTemplateScalarWhereWithAggregatesInput | TaskTemplateScalarWhereWithAggregatesInput[] + id?: UuidWithAggregatesFilter<"TaskTemplate"> | string + name?: StringWithAggregatesFilter<"TaskTemplate"> | string + description?: StringNullableWithAggregatesFilter<"TaskTemplate"> | string | null + priority?: EnumTaskPriorityWithAggregatesFilter<"TaskTemplate"> | $Enums.TaskPriority + estimatedTime?: FloatNullableWithAggregatesFilter<"TaskTemplate"> | number | null + organizationId?: UuidWithAggregatesFilter<"TaskTemplate"> | string + createdBy?: UuidWithAggregatesFilter<"TaskTemplate"> | string + createdAt?: DateTimeWithAggregatesFilter<"TaskTemplate"> | Date | string + updatedAt?: DateTimeWithAggregatesFilter<"TaskTemplate"> | Date | string + checklist?: JsonNullableWithAggregatesFilter<"TaskTemplate"> + labels?: StringNullableListFilter<"TaskTemplate"> + isPublic?: BoolWithAggregatesFilter<"TaskTemplate"> | boolean + } + + export type TimelogWhereInput = { + AND?: TimelogWhereInput | TimelogWhereInput[] + OR?: TimelogWhereInput[] + NOT?: TimelogWhereInput | TimelogWhereInput[] + id?: UuidFilter<"Timelog"> | string + taskId?: UuidFilter<"Timelog"> | string + userId?: UuidFilter<"Timelog"> | string + startTime?: DateTimeFilter<"Timelog"> | Date | string + endTime?: DateTimeFilter<"Timelog"> | Date | string + description?: StringNullableFilter<"Timelog"> | string | null + task?: XOR + user?: XOR + } + + export type TimelogOrderByWithRelationInput = { + id?: SortOrder + taskId?: SortOrder + userId?: SortOrder + startTime?: SortOrder + endTime?: SortOrder + description?: SortOrderInput | SortOrder + task?: TaskOrderByWithRelationInput + user?: UserOrderByWithRelationInput + } + + export type TimelogWhereUniqueInput = Prisma.AtLeast<{ + id?: string + AND?: TimelogWhereInput | TimelogWhereInput[] + OR?: TimelogWhereInput[] + NOT?: TimelogWhereInput | TimelogWhereInput[] + taskId?: UuidFilter<"Timelog"> | string + userId?: UuidFilter<"Timelog"> | string + startTime?: DateTimeFilter<"Timelog"> | Date | string + endTime?: DateTimeFilter<"Timelog"> | Date | string + description?: StringNullableFilter<"Timelog"> | string | null + task?: XOR + user?: XOR + }, "id"> + + export type TimelogOrderByWithAggregationInput = { + id?: SortOrder + taskId?: SortOrder + userId?: SortOrder + startTime?: SortOrder + endTime?: SortOrder + description?: SortOrderInput | SortOrder + _count?: TimelogCountOrderByAggregateInput + _max?: TimelogMaxOrderByAggregateInput + _min?: TimelogMinOrderByAggregateInput + } + + export type TimelogScalarWhereWithAggregatesInput = { + AND?: TimelogScalarWhereWithAggregatesInput | TimelogScalarWhereWithAggregatesInput[] + OR?: TimelogScalarWhereWithAggregatesInput[] + NOT?: TimelogScalarWhereWithAggregatesInput | TimelogScalarWhereWithAggregatesInput[] + id?: UuidWithAggregatesFilter<"Timelog"> | string + taskId?: UuidWithAggregatesFilter<"Timelog"> | string + userId?: UuidWithAggregatesFilter<"Timelog"> | string + startTime?: DateTimeWithAggregatesFilter<"Timelog"> | Date | string + endTime?: DateTimeWithAggregatesFilter<"Timelog"> | Date | string + description?: StringNullableWithAggregatesFilter<"Timelog"> | string | null + } + + export type CommentWhereInput = { + AND?: CommentWhereInput | CommentWhereInput[] + OR?: CommentWhereInput[] + NOT?: CommentWhereInput | CommentWhereInput[] + id?: UuidFilter<"Comment"> | string + taskId?: UuidFilter<"Comment"> | string + userId?: UuidFilter<"Comment"> | string + content?: StringFilter<"Comment"> | string + createdAt?: DateTimeFilter<"Comment"> | Date | string + updatedAt?: DateTimeFilter<"Comment"> | Date | string + task?: XOR + user?: XOR + } + + export type CommentOrderByWithRelationInput = { + id?: SortOrder + taskId?: SortOrder + userId?: SortOrder + content?: SortOrder + createdAt?: SortOrder + updatedAt?: SortOrder + task?: TaskOrderByWithRelationInput + user?: UserOrderByWithRelationInput + } + + export type CommentWhereUniqueInput = Prisma.AtLeast<{ + id?: string + AND?: CommentWhereInput | CommentWhereInput[] + OR?: CommentWhereInput[] + NOT?: CommentWhereInput | CommentWhereInput[] + taskId?: UuidFilter<"Comment"> | string + userId?: UuidFilter<"Comment"> | string + content?: StringFilter<"Comment"> | string + createdAt?: DateTimeFilter<"Comment"> | Date | string + updatedAt?: DateTimeFilter<"Comment"> | Date | string + task?: XOR + user?: XOR + }, "id"> + + export type CommentOrderByWithAggregationInput = { + id?: SortOrder + taskId?: SortOrder + userId?: SortOrder + content?: SortOrder + createdAt?: SortOrder + updatedAt?: SortOrder + _count?: CommentCountOrderByAggregateInput + _max?: CommentMaxOrderByAggregateInput + _min?: CommentMinOrderByAggregateInput + } + + export type CommentScalarWhereWithAggregatesInput = { + AND?: CommentScalarWhereWithAggregatesInput | CommentScalarWhereWithAggregatesInput[] + OR?: CommentScalarWhereWithAggregatesInput[] + NOT?: CommentScalarWhereWithAggregatesInput | CommentScalarWhereWithAggregatesInput[] + id?: UuidWithAggregatesFilter<"Comment"> | string + taskId?: UuidWithAggregatesFilter<"Comment"> | string + userId?: UuidWithAggregatesFilter<"Comment"> | string + content?: StringWithAggregatesFilter<"Comment"> | string + createdAt?: DateTimeWithAggregatesFilter<"Comment"> | Date | string + updatedAt?: DateTimeWithAggregatesFilter<"Comment"> | Date | string + } + + export type ActivityLogWhereInput = { + AND?: ActivityLogWhereInput | ActivityLogWhereInput[] + OR?: ActivityLogWhereInput[] + NOT?: ActivityLogWhereInput | ActivityLogWhereInput[] + id?: UuidFilter<"ActivityLog"> | string + entityType?: EnumEntityTypeFilter<"ActivityLog"> | $Enums.EntityType + action?: EnumActionTypeFilter<"ActivityLog"> | $Enums.ActionType + userId?: UuidFilter<"ActivityLog"> | string + organizationId?: UuidNullableFilter<"ActivityLog"> | string | null + departmentId?: UuidNullableFilter<"ActivityLog"> | string | null + projectId?: UuidNullableFilter<"ActivityLog"> | string | null + teamId?: UuidNullableFilter<"ActivityLog"> | string | null + sprintId?: UuidNullableFilter<"ActivityLog"> | string | null + taskId?: UuidFilter<"ActivityLog"> | string + details?: JsonNullableFilter<"ActivityLog"> + createdAt?: DateTimeFilter<"ActivityLog"> | Date | string + user?: XOR + organization?: XOR | null + department?: XOR | null + project?: XOR | null + team?: XOR | null + sprint?: XOR | null + task?: XOR | null + } + + export type ActivityLogOrderByWithRelationInput = { + id?: SortOrder + entityType?: SortOrder + action?: SortOrder + userId?: SortOrder + organizationId?: SortOrderInput | SortOrder + departmentId?: SortOrderInput | SortOrder + projectId?: SortOrderInput | SortOrder + teamId?: SortOrderInput | SortOrder + sprintId?: SortOrderInput | SortOrder + taskId?: SortOrder + details?: SortOrderInput | SortOrder + createdAt?: SortOrder + user?: UserOrderByWithRelationInput + organization?: OrganizationOrderByWithRelationInput + department?: DepartmentOrderByWithRelationInput + project?: ProjectOrderByWithRelationInput + team?: TeamOrderByWithRelationInput + sprint?: SprintOrderByWithRelationInput + task?: TaskOrderByWithRelationInput + } + + export type ActivityLogWhereUniqueInput = Prisma.AtLeast<{ + id?: string + AND?: ActivityLogWhereInput | ActivityLogWhereInput[] + OR?: ActivityLogWhereInput[] + NOT?: ActivityLogWhereInput | ActivityLogWhereInput[] + entityType?: EnumEntityTypeFilter<"ActivityLog"> | $Enums.EntityType + action?: EnumActionTypeFilter<"ActivityLog"> | $Enums.ActionType + userId?: UuidFilter<"ActivityLog"> | string + organizationId?: UuidNullableFilter<"ActivityLog"> | string | null + departmentId?: UuidNullableFilter<"ActivityLog"> | string | null + projectId?: UuidNullableFilter<"ActivityLog"> | string | null + teamId?: UuidNullableFilter<"ActivityLog"> | string | null + sprintId?: UuidNullableFilter<"ActivityLog"> | string | null + taskId?: UuidFilter<"ActivityLog"> | string + details?: JsonNullableFilter<"ActivityLog"> + createdAt?: DateTimeFilter<"ActivityLog"> | Date | string + user?: XOR + organization?: XOR | null + department?: XOR | null + project?: XOR | null + team?: XOR | null + sprint?: XOR | null + task?: XOR | null + }, "id"> + + export type ActivityLogOrderByWithAggregationInput = { + id?: SortOrder + entityType?: SortOrder + action?: SortOrder + userId?: SortOrder + organizationId?: SortOrderInput | SortOrder + departmentId?: SortOrderInput | SortOrder + projectId?: SortOrderInput | SortOrder + teamId?: SortOrderInput | SortOrder + sprintId?: SortOrderInput | SortOrder + taskId?: SortOrder + details?: SortOrderInput | SortOrder + createdAt?: SortOrder + _count?: ActivityLogCountOrderByAggregateInput + _max?: ActivityLogMaxOrderByAggregateInput + _min?: ActivityLogMinOrderByAggregateInput + } + + export type ActivityLogScalarWhereWithAggregatesInput = { + AND?: ActivityLogScalarWhereWithAggregatesInput | ActivityLogScalarWhereWithAggregatesInput[] + OR?: ActivityLogScalarWhereWithAggregatesInput[] + NOT?: ActivityLogScalarWhereWithAggregatesInput | ActivityLogScalarWhereWithAggregatesInput[] + id?: UuidWithAggregatesFilter<"ActivityLog"> | string + entityType?: EnumEntityTypeWithAggregatesFilter<"ActivityLog"> | $Enums.EntityType + action?: EnumActionTypeWithAggregatesFilter<"ActivityLog"> | $Enums.ActionType + userId?: UuidWithAggregatesFilter<"ActivityLog"> | string + organizationId?: UuidNullableWithAggregatesFilter<"ActivityLog"> | string | null + departmentId?: UuidNullableWithAggregatesFilter<"ActivityLog"> | string | null + projectId?: UuidNullableWithAggregatesFilter<"ActivityLog"> | string | null + teamId?: UuidNullableWithAggregatesFilter<"ActivityLog"> | string | null + sprintId?: UuidNullableWithAggregatesFilter<"ActivityLog"> | string | null + taskId?: UuidWithAggregatesFilter<"ActivityLog"> | string + details?: JsonNullableWithAggregatesFilter<"ActivityLog"> + createdAt?: DateTimeWithAggregatesFilter<"ActivityLog"> | Date | string + } + + export type NotificationWhereInput = { + AND?: NotificationWhereInput | NotificationWhereInput[] + OR?: NotificationWhereInput[] + NOT?: NotificationWhereInput | NotificationWhereInput[] + id?: UuidFilter<"Notification"> | string + userId?: UuidFilter<"Notification"> | string + content?: StringFilter<"Notification"> | string + isRead?: BoolFilter<"Notification"> | boolean + type?: StringFilter<"Notification"> | string + metadata?: JsonNullableFilter<"Notification"> + createdAt?: DateTimeFilter<"Notification"> | Date | string + deletedAt?: DateTimeNullableFilter<"Notification"> | Date | string | null + entityType?: StringNullableFilter<"Notification"> | string | null + entityId?: UuidNullableFilter<"Notification"> | string | null + user?: XOR + } + + export type NotificationOrderByWithRelationInput = { + id?: SortOrder + userId?: SortOrder + content?: SortOrder + isRead?: SortOrder + type?: SortOrder + metadata?: SortOrderInput | SortOrder + createdAt?: SortOrder + deletedAt?: SortOrderInput | SortOrder + entityType?: SortOrderInput | SortOrder + entityId?: SortOrderInput | SortOrder + user?: UserOrderByWithRelationInput + } + + export type NotificationWhereUniqueInput = Prisma.AtLeast<{ + id?: string + AND?: NotificationWhereInput | NotificationWhereInput[] + OR?: NotificationWhereInput[] + NOT?: NotificationWhereInput | NotificationWhereInput[] + userId?: UuidFilter<"Notification"> | string + content?: StringFilter<"Notification"> | string + isRead?: BoolFilter<"Notification"> | boolean + type?: StringFilter<"Notification"> | string + metadata?: JsonNullableFilter<"Notification"> + createdAt?: DateTimeFilter<"Notification"> | Date | string + deletedAt?: DateTimeNullableFilter<"Notification"> | Date | string | null + entityType?: StringNullableFilter<"Notification"> | string | null + entityId?: UuidNullableFilter<"Notification"> | string | null + user?: XOR + }, "id"> + + export type NotificationOrderByWithAggregationInput = { + id?: SortOrder + userId?: SortOrder + content?: SortOrder + isRead?: SortOrder + type?: SortOrder + metadata?: SortOrderInput | SortOrder + createdAt?: SortOrder + deletedAt?: SortOrderInput | SortOrder + entityType?: SortOrderInput | SortOrder + entityId?: SortOrderInput | SortOrder + _count?: NotificationCountOrderByAggregateInput + _max?: NotificationMaxOrderByAggregateInput + _min?: NotificationMinOrderByAggregateInput + } + + export type NotificationScalarWhereWithAggregatesInput = { + AND?: NotificationScalarWhereWithAggregatesInput | NotificationScalarWhereWithAggregatesInput[] + OR?: NotificationScalarWhereWithAggregatesInput[] + NOT?: NotificationScalarWhereWithAggregatesInput | NotificationScalarWhereWithAggregatesInput[] + id?: UuidWithAggregatesFilter<"Notification"> | string + userId?: UuidWithAggregatesFilter<"Notification"> | string + content?: StringWithAggregatesFilter<"Notification"> | string + isRead?: BoolWithAggregatesFilter<"Notification"> | boolean + type?: StringWithAggregatesFilter<"Notification"> | string + metadata?: JsonNullableWithAggregatesFilter<"Notification"> + createdAt?: DateTimeWithAggregatesFilter<"Notification"> | Date | string + deletedAt?: DateTimeNullableWithAggregatesFilter<"Notification"> | Date | string | null + entityType?: StringNullableWithAggregatesFilter<"Notification"> | string | null + entityId?: UuidNullableWithAggregatesFilter<"Notification"> | string | null + } + + export type ReportWhereInput = { + AND?: ReportWhereInput | ReportWhereInput[] + OR?: ReportWhereInput[] + NOT?: ReportWhereInput | ReportWhereInput[] + id?: UuidFilter<"Report"> | string + name?: StringFilter<"Report"> | string + description?: StringNullableFilter<"Report"> | string | null + reportType?: EnumReportTypeFilter<"Report"> | $Enums.ReportType + format?: StringFilter<"Report"> | string + parameters?: JsonNullableFilter<"Report"> + filePath?: StringFilter<"Report"> | string + generatedBy?: UuidFilter<"Report"> | string + createdAt?: DateTimeFilter<"Report"> | Date | string + status?: EnumReportStatusFilter<"Report"> | $Enums.ReportStatus + updatedAt?: DateTimeFilter<"Report"> | Date | string + lastAccessedAt?: DateTimeNullableFilter<"Report"> | Date | string | null + expiresAt?: DateTimeNullableFilter<"Report"> | Date | string | null + tags?: StringNullableFilter<"Report"> | string | null + organizationId?: UuidNullableFilter<"Report"> | string | null + teamId?: UuidNullableFilter<"Report"> | string | null + projectId?: UuidNullableFilter<"Report"> | string | null + departmentId?: UuidNullableFilter<"Report"> | string | null + userId?: UuidNullableFilter<"Report"> | string | null + scheduleId?: UuidNullableFilter<"Report"> | string | null + storageProvider?: StringNullableFilter<"Report"> | string | null + storageKey?: StringFilter<"Report"> | string + generator?: XOR + organization?: XOR | null + team?: XOR | null + project?: XOR | null + department?: XOR | null + user?: XOR | null + reportSchedule?: XOR | null + notifiedUsers?: ReportNotificationListRelationFilter + } + + export type ReportOrderByWithRelationInput = { + id?: SortOrder + name?: SortOrder + description?: SortOrderInput | SortOrder + reportType?: SortOrder + format?: SortOrder + parameters?: SortOrderInput | SortOrder + filePath?: SortOrder + generatedBy?: SortOrder + createdAt?: SortOrder + status?: SortOrder + updatedAt?: SortOrder + lastAccessedAt?: SortOrderInput | SortOrder + expiresAt?: SortOrderInput | SortOrder + tags?: SortOrderInput | SortOrder + organizationId?: SortOrderInput | SortOrder + teamId?: SortOrderInput | SortOrder + projectId?: SortOrderInput | SortOrder + departmentId?: SortOrderInput | SortOrder + userId?: SortOrderInput | SortOrder + scheduleId?: SortOrderInput | SortOrder + storageProvider?: SortOrderInput | SortOrder + storageKey?: SortOrder + generator?: UserOrderByWithRelationInput + organization?: OrganizationOrderByWithRelationInput + team?: TeamOrderByWithRelationInput + project?: ProjectOrderByWithRelationInput + department?: DepartmentOrderByWithRelationInput + user?: UserOrderByWithRelationInput + reportSchedule?: ReportScheduleOrderByWithRelationInput + notifiedUsers?: ReportNotificationOrderByRelationAggregateInput + } + + export type ReportWhereUniqueInput = Prisma.AtLeast<{ + id?: string + AND?: ReportWhereInput | ReportWhereInput[] + OR?: ReportWhereInput[] + NOT?: ReportWhereInput | ReportWhereInput[] + name?: StringFilter<"Report"> | string + description?: StringNullableFilter<"Report"> | string | null + reportType?: EnumReportTypeFilter<"Report"> | $Enums.ReportType + format?: StringFilter<"Report"> | string + parameters?: JsonNullableFilter<"Report"> + filePath?: StringFilter<"Report"> | string + generatedBy?: UuidFilter<"Report"> | string + createdAt?: DateTimeFilter<"Report"> | Date | string + status?: EnumReportStatusFilter<"Report"> | $Enums.ReportStatus + updatedAt?: DateTimeFilter<"Report"> | Date | string + lastAccessedAt?: DateTimeNullableFilter<"Report"> | Date | string | null + expiresAt?: DateTimeNullableFilter<"Report"> | Date | string | null + tags?: StringNullableFilter<"Report"> | string | null + organizationId?: UuidNullableFilter<"Report"> | string | null + teamId?: UuidNullableFilter<"Report"> | string | null + projectId?: UuidNullableFilter<"Report"> | string | null + departmentId?: UuidNullableFilter<"Report"> | string | null + userId?: UuidNullableFilter<"Report"> | string | null + scheduleId?: UuidNullableFilter<"Report"> | string | null + storageProvider?: StringNullableFilter<"Report"> | string | null + storageKey?: StringFilter<"Report"> | string + generator?: XOR + organization?: XOR | null + team?: XOR | null + project?: XOR | null + department?: XOR | null + user?: XOR | null + reportSchedule?: XOR | null + notifiedUsers?: ReportNotificationListRelationFilter + }, "id"> + + export type ReportOrderByWithAggregationInput = { + id?: SortOrder + name?: SortOrder + description?: SortOrderInput | SortOrder + reportType?: SortOrder + format?: SortOrder + parameters?: SortOrderInput | SortOrder + filePath?: SortOrder + generatedBy?: SortOrder + createdAt?: SortOrder + status?: SortOrder + updatedAt?: SortOrder + lastAccessedAt?: SortOrderInput | SortOrder + expiresAt?: SortOrderInput | SortOrder + tags?: SortOrderInput | SortOrder + organizationId?: SortOrderInput | SortOrder + teamId?: SortOrderInput | SortOrder + projectId?: SortOrderInput | SortOrder + departmentId?: SortOrderInput | SortOrder + userId?: SortOrderInput | SortOrder + scheduleId?: SortOrderInput | SortOrder + storageProvider?: SortOrderInput | SortOrder + storageKey?: SortOrder + _count?: ReportCountOrderByAggregateInput + _max?: ReportMaxOrderByAggregateInput + _min?: ReportMinOrderByAggregateInput + } + + export type ReportScalarWhereWithAggregatesInput = { + AND?: ReportScalarWhereWithAggregatesInput | ReportScalarWhereWithAggregatesInput[] + OR?: ReportScalarWhereWithAggregatesInput[] + NOT?: ReportScalarWhereWithAggregatesInput | ReportScalarWhereWithAggregatesInput[] + id?: UuidWithAggregatesFilter<"Report"> | string + name?: StringWithAggregatesFilter<"Report"> | string + description?: StringNullableWithAggregatesFilter<"Report"> | string | null + reportType?: EnumReportTypeWithAggregatesFilter<"Report"> | $Enums.ReportType + format?: StringWithAggregatesFilter<"Report"> | string + parameters?: JsonNullableWithAggregatesFilter<"Report"> + filePath?: StringWithAggregatesFilter<"Report"> | string + generatedBy?: UuidWithAggregatesFilter<"Report"> | string + createdAt?: DateTimeWithAggregatesFilter<"Report"> | Date | string + status?: EnumReportStatusWithAggregatesFilter<"Report"> | $Enums.ReportStatus + updatedAt?: DateTimeWithAggregatesFilter<"Report"> | Date | string + lastAccessedAt?: DateTimeNullableWithAggregatesFilter<"Report"> | Date | string | null + expiresAt?: DateTimeNullableWithAggregatesFilter<"Report"> | Date | string | null + tags?: StringNullableWithAggregatesFilter<"Report"> | string | null + organizationId?: UuidNullableWithAggregatesFilter<"Report"> | string | null + teamId?: UuidNullableWithAggregatesFilter<"Report"> | string | null + projectId?: UuidNullableWithAggregatesFilter<"Report"> | string | null + departmentId?: UuidNullableWithAggregatesFilter<"Report"> | string | null + userId?: UuidNullableWithAggregatesFilter<"Report"> | string | null + scheduleId?: UuidNullableWithAggregatesFilter<"Report"> | string | null + storageProvider?: StringNullableWithAggregatesFilter<"Report"> | string | null + storageKey?: StringWithAggregatesFilter<"Report"> | string + } + + export type ReportScheduleWhereInput = { + AND?: ReportScheduleWhereInput | ReportScheduleWhereInput[] + OR?: ReportScheduleWhereInput[] + NOT?: ReportScheduleWhereInput | ReportScheduleWhereInput[] + id?: UuidFilter<"ReportSchedule"> | string + name?: StringFilter<"ReportSchedule"> | string + cronExpression?: StringFilter<"ReportSchedule"> | string + isActive?: BoolFilter<"ReportSchedule"> | boolean + createdAt?: DateTimeFilter<"ReportSchedule"> | Date | string + createdBy?: UuidFilter<"ReportSchedule"> | string + reports?: ReportListRelationFilter + } + + export type ReportScheduleOrderByWithRelationInput = { + id?: SortOrder + name?: SortOrder + cronExpression?: SortOrder + isActive?: SortOrder + createdAt?: SortOrder + createdBy?: SortOrder + reports?: ReportOrderByRelationAggregateInput + } + + export type ReportScheduleWhereUniqueInput = Prisma.AtLeast<{ + id?: string + AND?: ReportScheduleWhereInput | ReportScheduleWhereInput[] + OR?: ReportScheduleWhereInput[] + NOT?: ReportScheduleWhereInput | ReportScheduleWhereInput[] + name?: StringFilter<"ReportSchedule"> | string + cronExpression?: StringFilter<"ReportSchedule"> | string + isActive?: BoolFilter<"ReportSchedule"> | boolean + createdAt?: DateTimeFilter<"ReportSchedule"> | Date | string + createdBy?: UuidFilter<"ReportSchedule"> | string + reports?: ReportListRelationFilter + }, "id"> + + export type ReportScheduleOrderByWithAggregationInput = { + id?: SortOrder + name?: SortOrder + cronExpression?: SortOrder + isActive?: SortOrder + createdAt?: SortOrder + createdBy?: SortOrder + _count?: ReportScheduleCountOrderByAggregateInput + _max?: ReportScheduleMaxOrderByAggregateInput + _min?: ReportScheduleMinOrderByAggregateInput + } + + export type ReportScheduleScalarWhereWithAggregatesInput = { + AND?: ReportScheduleScalarWhereWithAggregatesInput | ReportScheduleScalarWhereWithAggregatesInput[] + OR?: ReportScheduleScalarWhereWithAggregatesInput[] + NOT?: ReportScheduleScalarWhereWithAggregatesInput | ReportScheduleScalarWhereWithAggregatesInput[] + id?: UuidWithAggregatesFilter<"ReportSchedule"> | string + name?: StringWithAggregatesFilter<"ReportSchedule"> | string + cronExpression?: StringWithAggregatesFilter<"ReportSchedule"> | string + isActive?: BoolWithAggregatesFilter<"ReportSchedule"> | boolean + createdAt?: DateTimeWithAggregatesFilter<"ReportSchedule"> | Date | string + createdBy?: UuidWithAggregatesFilter<"ReportSchedule"> | string + } + + export type ReportNotificationWhereInput = { + AND?: ReportNotificationWhereInput | ReportNotificationWhereInput[] + OR?: ReportNotificationWhereInput[] + NOT?: ReportNotificationWhereInput | ReportNotificationWhereInput[] + id?: UuidFilter<"ReportNotification"> | string + reportId?: UuidFilter<"ReportNotification"> | string + userId?: UuidFilter<"ReportNotification"> | string + notified?: BoolFilter<"ReportNotification"> | boolean + report?: XOR + user?: XOR + } + + export type ReportNotificationOrderByWithRelationInput = { + id?: SortOrder + reportId?: SortOrder + userId?: SortOrder + notified?: SortOrder + report?: ReportOrderByWithRelationInput + user?: UserOrderByWithRelationInput + } + + export type ReportNotificationWhereUniqueInput = Prisma.AtLeast<{ + id?: string + reportId_userId?: ReportNotificationReportIdUserIdCompoundUniqueInput + AND?: ReportNotificationWhereInput | ReportNotificationWhereInput[] + OR?: ReportNotificationWhereInput[] + NOT?: ReportNotificationWhereInput | ReportNotificationWhereInput[] + reportId?: UuidFilter<"ReportNotification"> | string + userId?: UuidFilter<"ReportNotification"> | string + notified?: BoolFilter<"ReportNotification"> | boolean + report?: XOR + user?: XOR + }, "id" | "reportId_userId"> + + export type ReportNotificationOrderByWithAggregationInput = { + id?: SortOrder + reportId?: SortOrder + userId?: SortOrder + notified?: SortOrder + _count?: ReportNotificationCountOrderByAggregateInput + _max?: ReportNotificationMaxOrderByAggregateInput + _min?: ReportNotificationMinOrderByAggregateInput + } + + export type ReportNotificationScalarWhereWithAggregatesInput = { + AND?: ReportNotificationScalarWhereWithAggregatesInput | ReportNotificationScalarWhereWithAggregatesInput[] + OR?: ReportNotificationScalarWhereWithAggregatesInput[] + NOT?: ReportNotificationScalarWhereWithAggregatesInput | ReportNotificationScalarWhereWithAggregatesInput[] + id?: UuidWithAggregatesFilter<"ReportNotification"> | string + reportId?: UuidWithAggregatesFilter<"ReportNotification"> | string + userId?: UuidWithAggregatesFilter<"ReportNotification"> | string + notified?: BoolWithAggregatesFilter<"ReportNotification"> | boolean + } + + export type PermissionWhereInput = { + AND?: PermissionWhereInput | PermissionWhereInput[] + OR?: PermissionWhereInput[] + NOT?: PermissionWhereInput | PermissionWhereInput[] + id?: UuidFilter<"Permission"> | string + userId?: UuidFilter<"Permission"> | string + entityType?: StringFilter<"Permission"> | string + entityId?: UuidFilter<"Permission"> | string + permissions?: JsonFilter<"Permission"> + createdAt?: DateTimeFilter<"Permission"> | Date | string + updatedAt?: DateTimeFilter<"Permission"> | Date | string + user?: XOR + } + + export type PermissionOrderByWithRelationInput = { + id?: SortOrder + userId?: SortOrder + entityType?: SortOrder + entityId?: SortOrder + permissions?: SortOrder + createdAt?: SortOrder + updatedAt?: SortOrder + user?: UserOrderByWithRelationInput + } + + export type PermissionWhereUniqueInput = Prisma.AtLeast<{ + id?: string + userId_entityType_entityId?: PermissionUserIdEntityTypeEntityIdCompoundUniqueInput + AND?: PermissionWhereInput | PermissionWhereInput[] + OR?: PermissionWhereInput[] + NOT?: PermissionWhereInput | PermissionWhereInput[] + userId?: UuidFilter<"Permission"> | string + entityType?: StringFilter<"Permission"> | string + entityId?: UuidFilter<"Permission"> | string + permissions?: JsonFilter<"Permission"> + createdAt?: DateTimeFilter<"Permission"> | Date | string + updatedAt?: DateTimeFilter<"Permission"> | Date | string + user?: XOR + }, "id" | "userId_entityType_entityId"> + + export type PermissionOrderByWithAggregationInput = { + id?: SortOrder + userId?: SortOrder + entityType?: SortOrder + entityId?: SortOrder + permissions?: SortOrder + createdAt?: SortOrder + updatedAt?: SortOrder + _count?: PermissionCountOrderByAggregateInput + _max?: PermissionMaxOrderByAggregateInput + _min?: PermissionMinOrderByAggregateInput + } + + export type PermissionScalarWhereWithAggregatesInput = { + AND?: PermissionScalarWhereWithAggregatesInput | PermissionScalarWhereWithAggregatesInput[] + OR?: PermissionScalarWhereWithAggregatesInput[] + NOT?: PermissionScalarWhereWithAggregatesInput | PermissionScalarWhereWithAggregatesInput[] + id?: UuidWithAggregatesFilter<"Permission"> | string + userId?: UuidWithAggregatesFilter<"Permission"> | string + entityType?: StringWithAggregatesFilter<"Permission"> | string + entityId?: UuidWithAggregatesFilter<"Permission"> | string + permissions?: JsonWithAggregatesFilter<"Permission"> + createdAt?: DateTimeWithAggregatesFilter<"Permission"> | Date | string + updatedAt?: DateTimeWithAggregatesFilter<"Permission"> | Date | string + } + + export type ChatRoomWhereInput = { + AND?: ChatRoomWhereInput | ChatRoomWhereInput[] + OR?: ChatRoomWhereInput[] + NOT?: ChatRoomWhereInput | ChatRoomWhereInput[] + id?: UuidFilter<"ChatRoom"> | string + name?: StringFilter<"ChatRoom"> | string + description?: StringNullableFilter<"ChatRoom"> | string | null + type?: EnumChatRoomTypeFilter<"ChatRoom"> | $Enums.ChatRoomType + entityType?: EnumEntityTypeFilter<"ChatRoom"> | $Enums.EntityType + entityId?: UuidFilter<"ChatRoom"> | string + createdAt?: DateTimeFilter<"ChatRoom"> | Date | string + updatedAt?: DateTimeFilter<"ChatRoom"> | Date | string + isActive?: BoolFilter<"ChatRoom"> | boolean + isArchived?: BoolFilter<"ChatRoom"> | boolean + archivedAt?: DateTimeNullableFilter<"ChatRoom"> | Date | string | null + avatarUrl?: StringNullableFilter<"ChatRoom"> | string | null + lastMessageAt?: DateTimeNullableFilter<"ChatRoom"> | Date | string | null + messages?: ChatMessageListRelationFilter + participants?: ChatParticipantListRelationFilter + pinnedMessages?: PinnedMessageListRelationFilter + videoSessions?: VideoConferenceSessionListRelationFilter + } + + export type ChatRoomOrderByWithRelationInput = { + id?: SortOrder + name?: SortOrder + description?: SortOrderInput | SortOrder + type?: SortOrder + entityType?: SortOrder + entityId?: SortOrder + createdAt?: SortOrder + updatedAt?: SortOrder + isActive?: SortOrder + isArchived?: SortOrder + archivedAt?: SortOrderInput | SortOrder + avatarUrl?: SortOrderInput | SortOrder + lastMessageAt?: SortOrderInput | SortOrder + messages?: ChatMessageOrderByRelationAggregateInput + participants?: ChatParticipantOrderByRelationAggregateInput + pinnedMessages?: PinnedMessageOrderByRelationAggregateInput + videoSessions?: VideoConferenceSessionOrderByRelationAggregateInput + } + + export type ChatRoomWhereUniqueInput = Prisma.AtLeast<{ + id?: string + entityType_entityId?: ChatRoomEntityTypeEntityIdCompoundUniqueInput + AND?: ChatRoomWhereInput | ChatRoomWhereInput[] + OR?: ChatRoomWhereInput[] + NOT?: ChatRoomWhereInput | ChatRoomWhereInput[] + name?: StringFilter<"ChatRoom"> | string + description?: StringNullableFilter<"ChatRoom"> | string | null + type?: EnumChatRoomTypeFilter<"ChatRoom"> | $Enums.ChatRoomType + entityType?: EnumEntityTypeFilter<"ChatRoom"> | $Enums.EntityType + entityId?: UuidFilter<"ChatRoom"> | string + createdAt?: DateTimeFilter<"ChatRoom"> | Date | string + updatedAt?: DateTimeFilter<"ChatRoom"> | Date | string + isActive?: BoolFilter<"ChatRoom"> | boolean + isArchived?: BoolFilter<"ChatRoom"> | boolean + archivedAt?: DateTimeNullableFilter<"ChatRoom"> | Date | string | null + avatarUrl?: StringNullableFilter<"ChatRoom"> | string | null + lastMessageAt?: DateTimeNullableFilter<"ChatRoom"> | Date | string | null + messages?: ChatMessageListRelationFilter + participants?: ChatParticipantListRelationFilter + pinnedMessages?: PinnedMessageListRelationFilter + videoSessions?: VideoConferenceSessionListRelationFilter + }, "id" | "entityType_entityId"> + + export type ChatRoomOrderByWithAggregationInput = { + id?: SortOrder + name?: SortOrder + description?: SortOrderInput | SortOrder + type?: SortOrder + entityType?: SortOrder + entityId?: SortOrder + createdAt?: SortOrder + updatedAt?: SortOrder + isActive?: SortOrder + isArchived?: SortOrder + archivedAt?: SortOrderInput | SortOrder + avatarUrl?: SortOrderInput | SortOrder + lastMessageAt?: SortOrderInput | SortOrder + _count?: ChatRoomCountOrderByAggregateInput + _max?: ChatRoomMaxOrderByAggregateInput + _min?: ChatRoomMinOrderByAggregateInput + } + + export type ChatRoomScalarWhereWithAggregatesInput = { + AND?: ChatRoomScalarWhereWithAggregatesInput | ChatRoomScalarWhereWithAggregatesInput[] + OR?: ChatRoomScalarWhereWithAggregatesInput[] + NOT?: ChatRoomScalarWhereWithAggregatesInput | ChatRoomScalarWhereWithAggregatesInput[] + id?: UuidWithAggregatesFilter<"ChatRoom"> | string + name?: StringWithAggregatesFilter<"ChatRoom"> | string + description?: StringNullableWithAggregatesFilter<"ChatRoom"> | string | null + type?: EnumChatRoomTypeWithAggregatesFilter<"ChatRoom"> | $Enums.ChatRoomType + entityType?: EnumEntityTypeWithAggregatesFilter<"ChatRoom"> | $Enums.EntityType + entityId?: UuidWithAggregatesFilter<"ChatRoom"> | string + createdAt?: DateTimeWithAggregatesFilter<"ChatRoom"> | Date | string + updatedAt?: DateTimeWithAggregatesFilter<"ChatRoom"> | Date | string + isActive?: BoolWithAggregatesFilter<"ChatRoom"> | boolean + isArchived?: BoolWithAggregatesFilter<"ChatRoom"> | boolean + archivedAt?: DateTimeNullableWithAggregatesFilter<"ChatRoom"> | Date | string | null + avatarUrl?: StringNullableWithAggregatesFilter<"ChatRoom"> | string | null + lastMessageAt?: DateTimeNullableWithAggregatesFilter<"ChatRoom"> | Date | string | null + } + + export type ChatParticipantWhereInput = { + AND?: ChatParticipantWhereInput | ChatParticipantWhereInput[] + OR?: ChatParticipantWhereInput[] + NOT?: ChatParticipantWhereInput | ChatParticipantWhereInput[] + id?: UuidFilter<"ChatParticipant"> | string + chatRoomId?: UuidFilter<"ChatParticipant"> | string + userId?: UuidFilter<"ChatParticipant"> | string + joinedAt?: DateTimeFilter<"ChatParticipant"> | Date | string + lastReadMessageId?: UuidNullableFilter<"ChatParticipant"> | string | null + lastReadAt?: DateTimeNullableFilter<"ChatParticipant"> | Date | string | null + isAdmin?: BoolFilter<"ChatParticipant"> | boolean + notificationsOn?: BoolFilter<"ChatParticipant"> | boolean + status?: EnumParticipantStatusFilter<"ChatParticipant"> | $Enums.ParticipantStatus + chatRoom?: XOR + user?: XOR + lastReadMessage?: XOR | null + } + + export type ChatParticipantOrderByWithRelationInput = { + id?: SortOrder + chatRoomId?: SortOrder + userId?: SortOrder + joinedAt?: SortOrder + lastReadMessageId?: SortOrderInput | SortOrder + lastReadAt?: SortOrderInput | SortOrder + isAdmin?: SortOrder + notificationsOn?: SortOrder + status?: SortOrder + chatRoom?: ChatRoomOrderByWithRelationInput + user?: UserOrderByWithRelationInput + lastReadMessage?: ChatMessageOrderByWithRelationInput + } + + export type ChatParticipantWhereUniqueInput = Prisma.AtLeast<{ + id?: string + chatRoomId_userId?: ChatParticipantChatRoomIdUserIdCompoundUniqueInput + AND?: ChatParticipantWhereInput | ChatParticipantWhereInput[] + OR?: ChatParticipantWhereInput[] + NOT?: ChatParticipantWhereInput | ChatParticipantWhereInput[] + chatRoomId?: UuidFilter<"ChatParticipant"> | string + userId?: UuidFilter<"ChatParticipant"> | string + joinedAt?: DateTimeFilter<"ChatParticipant"> | Date | string + lastReadMessageId?: UuidNullableFilter<"ChatParticipant"> | string | null + lastReadAt?: DateTimeNullableFilter<"ChatParticipant"> | Date | string | null + isAdmin?: BoolFilter<"ChatParticipant"> | boolean + notificationsOn?: BoolFilter<"ChatParticipant"> | boolean + status?: EnumParticipantStatusFilter<"ChatParticipant"> | $Enums.ParticipantStatus + chatRoom?: XOR + user?: XOR + lastReadMessage?: XOR | null + }, "id" | "chatRoomId_userId"> + + export type ChatParticipantOrderByWithAggregationInput = { + id?: SortOrder + chatRoomId?: SortOrder + userId?: SortOrder + joinedAt?: SortOrder + lastReadMessageId?: SortOrderInput | SortOrder + lastReadAt?: SortOrderInput | SortOrder + isAdmin?: SortOrder + notificationsOn?: SortOrder + status?: SortOrder + _count?: ChatParticipantCountOrderByAggregateInput + _max?: ChatParticipantMaxOrderByAggregateInput + _min?: ChatParticipantMinOrderByAggregateInput + } + + export type ChatParticipantScalarWhereWithAggregatesInput = { + AND?: ChatParticipantScalarWhereWithAggregatesInput | ChatParticipantScalarWhereWithAggregatesInput[] + OR?: ChatParticipantScalarWhereWithAggregatesInput[] + NOT?: ChatParticipantScalarWhereWithAggregatesInput | ChatParticipantScalarWhereWithAggregatesInput[] + id?: UuidWithAggregatesFilter<"ChatParticipant"> | string + chatRoomId?: UuidWithAggregatesFilter<"ChatParticipant"> | string + userId?: UuidWithAggregatesFilter<"ChatParticipant"> | string + joinedAt?: DateTimeWithAggregatesFilter<"ChatParticipant"> | Date | string + lastReadMessageId?: UuidNullableWithAggregatesFilter<"ChatParticipant"> | string | null + lastReadAt?: DateTimeNullableWithAggregatesFilter<"ChatParticipant"> | Date | string | null + isAdmin?: BoolWithAggregatesFilter<"ChatParticipant"> | boolean + notificationsOn?: BoolWithAggregatesFilter<"ChatParticipant"> | boolean + status?: EnumParticipantStatusWithAggregatesFilter<"ChatParticipant"> | $Enums.ParticipantStatus + } + + export type ChatMessageWhereInput = { + AND?: ChatMessageWhereInput | ChatMessageWhereInput[] + OR?: ChatMessageWhereInput[] + NOT?: ChatMessageWhereInput | ChatMessageWhereInput[] + id?: UuidFilter<"ChatMessage"> | string + chatRoomId?: UuidFilter<"ChatMessage"> | string + senderId?: UuidFilter<"ChatMessage"> | string + content?: StringFilter<"ChatMessage"> | string + contentType?: EnumMessageContentTypeFilter<"ChatMessage"> | $Enums.MessageContentType + createdAt?: DateTimeFilter<"ChatMessage"> | Date | string + updatedAt?: DateTimeFilter<"ChatMessage"> | Date | string + isEdited?: BoolFilter<"ChatMessage"> | boolean + isDeleted?: BoolFilter<"ChatMessage"> | boolean + deletedAt?: DateTimeNullableFilter<"ChatMessage"> | Date | string | null + replyToId?: UuidNullableFilter<"ChatMessage"> | string | null + metadata?: JsonNullableFilter<"ChatMessage"> + chatRoom?: XOR + sender?: XOR + replyTo?: XOR | null + replies?: ChatMessageListRelationFilter + attachments?: MessageAttachmentListRelationFilter + reactions?: MessageReactionListRelationFilter + readBy?: ChatParticipantListRelationFilter + pinnedIn?: PinnedMessageListRelationFilter + } + + export type ChatMessageOrderByWithRelationInput = { + id?: SortOrder + chatRoomId?: SortOrder + senderId?: SortOrder + content?: SortOrder + contentType?: SortOrder + createdAt?: SortOrder + updatedAt?: SortOrder + isEdited?: SortOrder + isDeleted?: SortOrder + deletedAt?: SortOrderInput | SortOrder + replyToId?: SortOrderInput | SortOrder + metadata?: SortOrderInput | SortOrder + chatRoom?: ChatRoomOrderByWithRelationInput + sender?: UserOrderByWithRelationInput + replyTo?: ChatMessageOrderByWithRelationInput + replies?: ChatMessageOrderByRelationAggregateInput + attachments?: MessageAttachmentOrderByRelationAggregateInput + reactions?: MessageReactionOrderByRelationAggregateInput + readBy?: ChatParticipantOrderByRelationAggregateInput + pinnedIn?: PinnedMessageOrderByRelationAggregateInput + } + + export type ChatMessageWhereUniqueInput = Prisma.AtLeast<{ + id?: string + AND?: ChatMessageWhereInput | ChatMessageWhereInput[] + OR?: ChatMessageWhereInput[] + NOT?: ChatMessageWhereInput | ChatMessageWhereInput[] + chatRoomId?: UuidFilter<"ChatMessage"> | string + senderId?: UuidFilter<"ChatMessage"> | string + content?: StringFilter<"ChatMessage"> | string + contentType?: EnumMessageContentTypeFilter<"ChatMessage"> | $Enums.MessageContentType + createdAt?: DateTimeFilter<"ChatMessage"> | Date | string + updatedAt?: DateTimeFilter<"ChatMessage"> | Date | string + isEdited?: BoolFilter<"ChatMessage"> | boolean + isDeleted?: BoolFilter<"ChatMessage"> | boolean + deletedAt?: DateTimeNullableFilter<"ChatMessage"> | Date | string | null + replyToId?: UuidNullableFilter<"ChatMessage"> | string | null + metadata?: JsonNullableFilter<"ChatMessage"> + chatRoom?: XOR + sender?: XOR + replyTo?: XOR | null + replies?: ChatMessageListRelationFilter + attachments?: MessageAttachmentListRelationFilter + reactions?: MessageReactionListRelationFilter + readBy?: ChatParticipantListRelationFilter + pinnedIn?: PinnedMessageListRelationFilter + }, "id"> + + export type ChatMessageOrderByWithAggregationInput = { + id?: SortOrder + chatRoomId?: SortOrder + senderId?: SortOrder + content?: SortOrder + contentType?: SortOrder + createdAt?: SortOrder + updatedAt?: SortOrder + isEdited?: SortOrder + isDeleted?: SortOrder + deletedAt?: SortOrderInput | SortOrder + replyToId?: SortOrderInput | SortOrder + metadata?: SortOrderInput | SortOrder + _count?: ChatMessageCountOrderByAggregateInput + _max?: ChatMessageMaxOrderByAggregateInput + _min?: ChatMessageMinOrderByAggregateInput + } + + export type ChatMessageScalarWhereWithAggregatesInput = { + AND?: ChatMessageScalarWhereWithAggregatesInput | ChatMessageScalarWhereWithAggregatesInput[] + OR?: ChatMessageScalarWhereWithAggregatesInput[] + NOT?: ChatMessageScalarWhereWithAggregatesInput | ChatMessageScalarWhereWithAggregatesInput[] + id?: UuidWithAggregatesFilter<"ChatMessage"> | string + chatRoomId?: UuidWithAggregatesFilter<"ChatMessage"> | string + senderId?: UuidWithAggregatesFilter<"ChatMessage"> | string + content?: StringWithAggregatesFilter<"ChatMessage"> | string + contentType?: EnumMessageContentTypeWithAggregatesFilter<"ChatMessage"> | $Enums.MessageContentType + createdAt?: DateTimeWithAggregatesFilter<"ChatMessage"> | Date | string + updatedAt?: DateTimeWithAggregatesFilter<"ChatMessage"> | Date | string + isEdited?: BoolWithAggregatesFilter<"ChatMessage"> | boolean + isDeleted?: BoolWithAggregatesFilter<"ChatMessage"> | boolean + deletedAt?: DateTimeNullableWithAggregatesFilter<"ChatMessage"> | Date | string | null + replyToId?: UuidNullableWithAggregatesFilter<"ChatMessage"> | string | null + metadata?: JsonNullableWithAggregatesFilter<"ChatMessage"> + } + + export type MessageAttachmentWhereInput = { + AND?: MessageAttachmentWhereInput | MessageAttachmentWhereInput[] + OR?: MessageAttachmentWhereInput[] + NOT?: MessageAttachmentWhereInput | MessageAttachmentWhereInput[] + id?: UuidFilter<"MessageAttachment"> | string + messageId?: UuidFilter<"MessageAttachment"> | string + fileName?: StringFilter<"MessageAttachment"> | string + fileType?: StringFilter<"MessageAttachment"> | string + filePath?: StringFilter<"MessageAttachment"> | string + fileSize?: IntFilter<"MessageAttachment"> | number + thumbnailPath?: StringNullableFilter<"MessageAttachment"> | string | null + storageProvider?: StringNullableFilter<"MessageAttachment"> | string | null + storageKey?: StringFilter<"MessageAttachment"> | string + createdAt?: DateTimeFilter<"MessageAttachment"> | Date | string + message?: XOR + } + + export type MessageAttachmentOrderByWithRelationInput = { + id?: SortOrder + messageId?: SortOrder + fileName?: SortOrder + fileType?: SortOrder + filePath?: SortOrder + fileSize?: SortOrder + thumbnailPath?: SortOrderInput | SortOrder + storageProvider?: SortOrderInput | SortOrder + storageKey?: SortOrder + createdAt?: SortOrder + message?: ChatMessageOrderByWithRelationInput + } + + export type MessageAttachmentWhereUniqueInput = Prisma.AtLeast<{ + id?: string + AND?: MessageAttachmentWhereInput | MessageAttachmentWhereInput[] + OR?: MessageAttachmentWhereInput[] + NOT?: MessageAttachmentWhereInput | MessageAttachmentWhereInput[] + messageId?: UuidFilter<"MessageAttachment"> | string + fileName?: StringFilter<"MessageAttachment"> | string + fileType?: StringFilter<"MessageAttachment"> | string + filePath?: StringFilter<"MessageAttachment"> | string + fileSize?: IntFilter<"MessageAttachment"> | number + thumbnailPath?: StringNullableFilter<"MessageAttachment"> | string | null + storageProvider?: StringNullableFilter<"MessageAttachment"> | string | null + storageKey?: StringFilter<"MessageAttachment"> | string + createdAt?: DateTimeFilter<"MessageAttachment"> | Date | string + message?: XOR + }, "id"> + + export type MessageAttachmentOrderByWithAggregationInput = { + id?: SortOrder + messageId?: SortOrder + fileName?: SortOrder + fileType?: SortOrder + filePath?: SortOrder + fileSize?: SortOrder + thumbnailPath?: SortOrderInput | SortOrder + storageProvider?: SortOrderInput | SortOrder + storageKey?: SortOrder + createdAt?: SortOrder + _count?: MessageAttachmentCountOrderByAggregateInput + _avg?: MessageAttachmentAvgOrderByAggregateInput + _max?: MessageAttachmentMaxOrderByAggregateInput + _min?: MessageAttachmentMinOrderByAggregateInput + _sum?: MessageAttachmentSumOrderByAggregateInput + } + + export type MessageAttachmentScalarWhereWithAggregatesInput = { + AND?: MessageAttachmentScalarWhereWithAggregatesInput | MessageAttachmentScalarWhereWithAggregatesInput[] + OR?: MessageAttachmentScalarWhereWithAggregatesInput[] + NOT?: MessageAttachmentScalarWhereWithAggregatesInput | MessageAttachmentScalarWhereWithAggregatesInput[] + id?: UuidWithAggregatesFilter<"MessageAttachment"> | string + messageId?: UuidWithAggregatesFilter<"MessageAttachment"> | string + fileName?: StringWithAggregatesFilter<"MessageAttachment"> | string + fileType?: StringWithAggregatesFilter<"MessageAttachment"> | string + filePath?: StringWithAggregatesFilter<"MessageAttachment"> | string + fileSize?: IntWithAggregatesFilter<"MessageAttachment"> | number + thumbnailPath?: StringNullableWithAggregatesFilter<"MessageAttachment"> | string | null + storageProvider?: StringNullableWithAggregatesFilter<"MessageAttachment"> | string | null + storageKey?: StringWithAggregatesFilter<"MessageAttachment"> | string + createdAt?: DateTimeWithAggregatesFilter<"MessageAttachment"> | Date | string + } + + export type MessageReactionWhereInput = { + AND?: MessageReactionWhereInput | MessageReactionWhereInput[] + OR?: MessageReactionWhereInput[] + NOT?: MessageReactionWhereInput | MessageReactionWhereInput[] + id?: UuidFilter<"MessageReaction"> | string + messageId?: UuidFilter<"MessageReaction"> | string + userId?: UuidFilter<"MessageReaction"> | string + reaction?: StringFilter<"MessageReaction"> | string + createdAt?: DateTimeFilter<"MessageReaction"> | Date | string + message?: XOR + user?: XOR + } + + export type MessageReactionOrderByWithRelationInput = { + id?: SortOrder + messageId?: SortOrder + userId?: SortOrder + reaction?: SortOrder + createdAt?: SortOrder + message?: ChatMessageOrderByWithRelationInput + user?: UserOrderByWithRelationInput + } + + export type MessageReactionWhereUniqueInput = Prisma.AtLeast<{ + id?: string + messageId_userId_reaction?: MessageReactionMessageIdUserIdReactionCompoundUniqueInput + AND?: MessageReactionWhereInput | MessageReactionWhereInput[] + OR?: MessageReactionWhereInput[] + NOT?: MessageReactionWhereInput | MessageReactionWhereInput[] + messageId?: UuidFilter<"MessageReaction"> | string + userId?: UuidFilter<"MessageReaction"> | string + reaction?: StringFilter<"MessageReaction"> | string + createdAt?: DateTimeFilter<"MessageReaction"> | Date | string + message?: XOR + user?: XOR + }, "id" | "messageId_userId_reaction"> + + export type MessageReactionOrderByWithAggregationInput = { + id?: SortOrder + messageId?: SortOrder + userId?: SortOrder + reaction?: SortOrder + createdAt?: SortOrder + _count?: MessageReactionCountOrderByAggregateInput + _max?: MessageReactionMaxOrderByAggregateInput + _min?: MessageReactionMinOrderByAggregateInput + } + + export type MessageReactionScalarWhereWithAggregatesInput = { + AND?: MessageReactionScalarWhereWithAggregatesInput | MessageReactionScalarWhereWithAggregatesInput[] + OR?: MessageReactionScalarWhereWithAggregatesInput[] + NOT?: MessageReactionScalarWhereWithAggregatesInput | MessageReactionScalarWhereWithAggregatesInput[] + id?: UuidWithAggregatesFilter<"MessageReaction"> | string + messageId?: UuidWithAggregatesFilter<"MessageReaction"> | string + userId?: UuidWithAggregatesFilter<"MessageReaction"> | string + reaction?: StringWithAggregatesFilter<"MessageReaction"> | string + createdAt?: DateTimeWithAggregatesFilter<"MessageReaction"> | Date | string + } + + export type PinnedMessageWhereInput = { + AND?: PinnedMessageWhereInput | PinnedMessageWhereInput[] + OR?: PinnedMessageWhereInput[] + NOT?: PinnedMessageWhereInput | PinnedMessageWhereInput[] + id?: UuidFilter<"PinnedMessage"> | string + chatRoomId?: UuidFilter<"PinnedMessage"> | string + messageId?: UuidFilter<"PinnedMessage"> | string + pinnedBy?: UuidFilter<"PinnedMessage"> | string + pinnedAt?: DateTimeFilter<"PinnedMessage"> | Date | string + chatRoom?: XOR + message?: XOR + user?: XOR + } + + export type PinnedMessageOrderByWithRelationInput = { + id?: SortOrder + chatRoomId?: SortOrder + messageId?: SortOrder + pinnedBy?: SortOrder + pinnedAt?: SortOrder + chatRoom?: ChatRoomOrderByWithRelationInput + message?: ChatMessageOrderByWithRelationInput + user?: UserOrderByWithRelationInput + } + + export type PinnedMessageWhereUniqueInput = Prisma.AtLeast<{ + id?: string + chatRoomId_messageId?: PinnedMessageChatRoomIdMessageIdCompoundUniqueInput + AND?: PinnedMessageWhereInput | PinnedMessageWhereInput[] + OR?: PinnedMessageWhereInput[] + NOT?: PinnedMessageWhereInput | PinnedMessageWhereInput[] + chatRoomId?: UuidFilter<"PinnedMessage"> | string + messageId?: UuidFilter<"PinnedMessage"> | string + pinnedBy?: UuidFilter<"PinnedMessage"> | string + pinnedAt?: DateTimeFilter<"PinnedMessage"> | Date | string + chatRoom?: XOR + message?: XOR + user?: XOR + }, "id" | "chatRoomId_messageId"> + + export type PinnedMessageOrderByWithAggregationInput = { + id?: SortOrder + chatRoomId?: SortOrder + messageId?: SortOrder + pinnedBy?: SortOrder + pinnedAt?: SortOrder + _count?: PinnedMessageCountOrderByAggregateInput + _max?: PinnedMessageMaxOrderByAggregateInput + _min?: PinnedMessageMinOrderByAggregateInput + } + + export type PinnedMessageScalarWhereWithAggregatesInput = { + AND?: PinnedMessageScalarWhereWithAggregatesInput | PinnedMessageScalarWhereWithAggregatesInput[] + OR?: PinnedMessageScalarWhereWithAggregatesInput[] + NOT?: PinnedMessageScalarWhereWithAggregatesInput | PinnedMessageScalarWhereWithAggregatesInput[] + id?: UuidWithAggregatesFilter<"PinnedMessage"> | string + chatRoomId?: UuidWithAggregatesFilter<"PinnedMessage"> | string + messageId?: UuidWithAggregatesFilter<"PinnedMessage"> | string + pinnedBy?: UuidWithAggregatesFilter<"PinnedMessage"> | string + pinnedAt?: DateTimeWithAggregatesFilter<"PinnedMessage"> | Date | string + } + + export type VideoConferenceSessionWhereInput = { + AND?: VideoConferenceSessionWhereInput | VideoConferenceSessionWhereInput[] + OR?: VideoConferenceSessionWhereInput[] + NOT?: VideoConferenceSessionWhereInput | VideoConferenceSessionWhereInput[] + id?: UuidFilter<"VideoConferenceSession"> | string + chatRoomId?: UuidFilter<"VideoConferenceSession"> | string + title?: StringFilter<"VideoConferenceSession"> | string + description?: StringNullableFilter<"VideoConferenceSession"> | string | null + startTime?: DateTimeFilter<"VideoConferenceSession"> | Date | string + endTime?: DateTimeNullableFilter<"VideoConferenceSession"> | Date | string | null + status?: EnumSessionStatusFilter<"VideoConferenceSession"> | $Enums.SessionStatus + hostId?: UuidFilter<"VideoConferenceSession"> | string + meetingUrl?: StringFilter<"VideoConferenceSession"> | string + recordingUrl?: StringNullableFilter<"VideoConferenceSession"> | string | null + settings?: JsonNullableFilter<"VideoConferenceSession"> + chatRoom?: XOR + host?: XOR + participants?: VideoParticipantListRelationFilter + recordings?: VideoRecordingListRelationFilter + } + + export type VideoConferenceSessionOrderByWithRelationInput = { + id?: SortOrder + chatRoomId?: SortOrder + title?: SortOrder + description?: SortOrderInput | SortOrder + startTime?: SortOrder + endTime?: SortOrderInput | SortOrder + status?: SortOrder + hostId?: SortOrder + meetingUrl?: SortOrder + recordingUrl?: SortOrderInput | SortOrder + settings?: SortOrderInput | SortOrder + chatRoom?: ChatRoomOrderByWithRelationInput + host?: UserOrderByWithRelationInput + participants?: VideoParticipantOrderByRelationAggregateInput + recordings?: VideoRecordingOrderByRelationAggregateInput + } + + export type VideoConferenceSessionWhereUniqueInput = Prisma.AtLeast<{ + id?: string + meetingUrl?: string + AND?: VideoConferenceSessionWhereInput | VideoConferenceSessionWhereInput[] + OR?: VideoConferenceSessionWhereInput[] + NOT?: VideoConferenceSessionWhereInput | VideoConferenceSessionWhereInput[] + chatRoomId?: UuidFilter<"VideoConferenceSession"> | string + title?: StringFilter<"VideoConferenceSession"> | string + description?: StringNullableFilter<"VideoConferenceSession"> | string | null + startTime?: DateTimeFilter<"VideoConferenceSession"> | Date | string + endTime?: DateTimeNullableFilter<"VideoConferenceSession"> | Date | string | null + status?: EnumSessionStatusFilter<"VideoConferenceSession"> | $Enums.SessionStatus + hostId?: UuidFilter<"VideoConferenceSession"> | string + recordingUrl?: StringNullableFilter<"VideoConferenceSession"> | string | null + settings?: JsonNullableFilter<"VideoConferenceSession"> + chatRoom?: XOR + host?: XOR + participants?: VideoParticipantListRelationFilter + recordings?: VideoRecordingListRelationFilter + }, "id" | "meetingUrl"> + + export type VideoConferenceSessionOrderByWithAggregationInput = { + id?: SortOrder + chatRoomId?: SortOrder + title?: SortOrder + description?: SortOrderInput | SortOrder + startTime?: SortOrder + endTime?: SortOrderInput | SortOrder + status?: SortOrder + hostId?: SortOrder + meetingUrl?: SortOrder + recordingUrl?: SortOrderInput | SortOrder + settings?: SortOrderInput | SortOrder + _count?: VideoConferenceSessionCountOrderByAggregateInput + _max?: VideoConferenceSessionMaxOrderByAggregateInput + _min?: VideoConferenceSessionMinOrderByAggregateInput + } + + export type VideoConferenceSessionScalarWhereWithAggregatesInput = { + AND?: VideoConferenceSessionScalarWhereWithAggregatesInput | VideoConferenceSessionScalarWhereWithAggregatesInput[] + OR?: VideoConferenceSessionScalarWhereWithAggregatesInput[] + NOT?: VideoConferenceSessionScalarWhereWithAggregatesInput | VideoConferenceSessionScalarWhereWithAggregatesInput[] + id?: UuidWithAggregatesFilter<"VideoConferenceSession"> | string + chatRoomId?: UuidWithAggregatesFilter<"VideoConferenceSession"> | string + title?: StringWithAggregatesFilter<"VideoConferenceSession"> | string + description?: StringNullableWithAggregatesFilter<"VideoConferenceSession"> | string | null + startTime?: DateTimeWithAggregatesFilter<"VideoConferenceSession"> | Date | string + endTime?: DateTimeNullableWithAggregatesFilter<"VideoConferenceSession"> | Date | string | null + status?: EnumSessionStatusWithAggregatesFilter<"VideoConferenceSession"> | $Enums.SessionStatus + hostId?: UuidWithAggregatesFilter<"VideoConferenceSession"> | string + meetingUrl?: StringWithAggregatesFilter<"VideoConferenceSession"> | string + recordingUrl?: StringNullableWithAggregatesFilter<"VideoConferenceSession"> | string | null + settings?: JsonNullableWithAggregatesFilter<"VideoConferenceSession"> + } + + export type VideoParticipantWhereInput = { + AND?: VideoParticipantWhereInput | VideoParticipantWhereInput[] + OR?: VideoParticipantWhereInput[] + NOT?: VideoParticipantWhereInput | VideoParticipantWhereInput[] + id?: UuidFilter<"VideoParticipant"> | string + sessionId?: UuidFilter<"VideoParticipant"> | string + userId?: UuidFilter<"VideoParticipant"> | string + joinedAt?: DateTimeFilter<"VideoParticipant"> | Date | string + leftAt?: DateTimeNullableFilter<"VideoParticipant"> | Date | string | null + role?: EnumVideoParticipantRoleFilter<"VideoParticipant"> | $Enums.VideoParticipantRole + deviceInfo?: JsonNullableFilter<"VideoParticipant"> + connectionQuality?: StringNullableFilter<"VideoParticipant"> | string | null + hasVideo?: BoolFilter<"VideoParticipant"> | boolean + hasAudio?: BoolFilter<"VideoParticipant"> | boolean + session?: XOR + user?: XOR + } + + export type VideoParticipantOrderByWithRelationInput = { + id?: SortOrder + sessionId?: SortOrder + userId?: SortOrder + joinedAt?: SortOrder + leftAt?: SortOrderInput | SortOrder + role?: SortOrder + deviceInfo?: SortOrderInput | SortOrder + connectionQuality?: SortOrderInput | SortOrder + hasVideo?: SortOrder + hasAudio?: SortOrder + session?: VideoConferenceSessionOrderByWithRelationInput + user?: UserOrderByWithRelationInput + } + + export type VideoParticipantWhereUniqueInput = Prisma.AtLeast<{ + id?: string + sessionId_userId?: VideoParticipantSessionIdUserIdCompoundUniqueInput + AND?: VideoParticipantWhereInput | VideoParticipantWhereInput[] + OR?: VideoParticipantWhereInput[] + NOT?: VideoParticipantWhereInput | VideoParticipantWhereInput[] + sessionId?: UuidFilter<"VideoParticipant"> | string + userId?: UuidFilter<"VideoParticipant"> | string + joinedAt?: DateTimeFilter<"VideoParticipant"> | Date | string + leftAt?: DateTimeNullableFilter<"VideoParticipant"> | Date | string | null + role?: EnumVideoParticipantRoleFilter<"VideoParticipant"> | $Enums.VideoParticipantRole + deviceInfo?: JsonNullableFilter<"VideoParticipant"> + connectionQuality?: StringNullableFilter<"VideoParticipant"> | string | null + hasVideo?: BoolFilter<"VideoParticipant"> | boolean + hasAudio?: BoolFilter<"VideoParticipant"> | boolean + session?: XOR + user?: XOR + }, "id" | "sessionId_userId"> + + export type VideoParticipantOrderByWithAggregationInput = { + id?: SortOrder + sessionId?: SortOrder + userId?: SortOrder + joinedAt?: SortOrder + leftAt?: SortOrderInput | SortOrder + role?: SortOrder + deviceInfo?: SortOrderInput | SortOrder + connectionQuality?: SortOrderInput | SortOrder + hasVideo?: SortOrder + hasAudio?: SortOrder + _count?: VideoParticipantCountOrderByAggregateInput + _max?: VideoParticipantMaxOrderByAggregateInput + _min?: VideoParticipantMinOrderByAggregateInput + } + + export type VideoParticipantScalarWhereWithAggregatesInput = { + AND?: VideoParticipantScalarWhereWithAggregatesInput | VideoParticipantScalarWhereWithAggregatesInput[] + OR?: VideoParticipantScalarWhereWithAggregatesInput[] + NOT?: VideoParticipantScalarWhereWithAggregatesInput | VideoParticipantScalarWhereWithAggregatesInput[] + id?: UuidWithAggregatesFilter<"VideoParticipant"> | string + sessionId?: UuidWithAggregatesFilter<"VideoParticipant"> | string + userId?: UuidWithAggregatesFilter<"VideoParticipant"> | string + joinedAt?: DateTimeWithAggregatesFilter<"VideoParticipant"> | Date | string + leftAt?: DateTimeNullableWithAggregatesFilter<"VideoParticipant"> | Date | string | null + role?: EnumVideoParticipantRoleWithAggregatesFilter<"VideoParticipant"> | $Enums.VideoParticipantRole + deviceInfo?: JsonNullableWithAggregatesFilter<"VideoParticipant"> + connectionQuality?: StringNullableWithAggregatesFilter<"VideoParticipant"> | string | null + hasVideo?: BoolWithAggregatesFilter<"VideoParticipant"> | boolean + hasAudio?: BoolWithAggregatesFilter<"VideoParticipant"> | boolean + } + + export type VideoRecordingWhereInput = { + AND?: VideoRecordingWhereInput | VideoRecordingWhereInput[] + OR?: VideoRecordingWhereInput[] + NOT?: VideoRecordingWhereInput | VideoRecordingWhereInput[] + id?: UuidFilter<"VideoRecording"> | string + sessionId?: UuidFilter<"VideoRecording"> | string + fileName?: StringFilter<"VideoRecording"> | string + fileSize?: IntFilter<"VideoRecording"> | number + duration?: IntFilter<"VideoRecording"> | number + recordedBy?: UuidFilter<"VideoRecording"> | string + startTime?: DateTimeFilter<"VideoRecording"> | Date | string + endTime?: DateTimeFilter<"VideoRecording"> | Date | string + storageProvider?: StringFilter<"VideoRecording"> | string + storageKey?: StringFilter<"VideoRecording"> | string + processingStatus?: EnumProcessingStatusFilter<"VideoRecording"> | $Enums.ProcessingStatus + visibility?: EnumRecordingVisibilityFilter<"VideoRecording"> | $Enums.RecordingVisibility + createdAt?: DateTimeFilter<"VideoRecording"> | Date | string + session?: XOR + recorder?: XOR + } + + export type VideoRecordingOrderByWithRelationInput = { + id?: SortOrder + sessionId?: SortOrder + fileName?: SortOrder + fileSize?: SortOrder + duration?: SortOrder + recordedBy?: SortOrder + startTime?: SortOrder + endTime?: SortOrder + storageProvider?: SortOrder + storageKey?: SortOrder + processingStatus?: SortOrder + visibility?: SortOrder + createdAt?: SortOrder + session?: VideoConferenceSessionOrderByWithRelationInput + recorder?: UserOrderByWithRelationInput + } + + export type VideoRecordingWhereUniqueInput = Prisma.AtLeast<{ + id?: string + AND?: VideoRecordingWhereInput | VideoRecordingWhereInput[] + OR?: VideoRecordingWhereInput[] + NOT?: VideoRecordingWhereInput | VideoRecordingWhereInput[] + sessionId?: UuidFilter<"VideoRecording"> | string + fileName?: StringFilter<"VideoRecording"> | string + fileSize?: IntFilter<"VideoRecording"> | number + duration?: IntFilter<"VideoRecording"> | number + recordedBy?: UuidFilter<"VideoRecording"> | string + startTime?: DateTimeFilter<"VideoRecording"> | Date | string + endTime?: DateTimeFilter<"VideoRecording"> | Date | string + storageProvider?: StringFilter<"VideoRecording"> | string + storageKey?: StringFilter<"VideoRecording"> | string + processingStatus?: EnumProcessingStatusFilter<"VideoRecording"> | $Enums.ProcessingStatus + visibility?: EnumRecordingVisibilityFilter<"VideoRecording"> | $Enums.RecordingVisibility + createdAt?: DateTimeFilter<"VideoRecording"> | Date | string + session?: XOR + recorder?: XOR + }, "id"> + + export type VideoRecordingOrderByWithAggregationInput = { + id?: SortOrder + sessionId?: SortOrder + fileName?: SortOrder + fileSize?: SortOrder + duration?: SortOrder + recordedBy?: SortOrder + startTime?: SortOrder + endTime?: SortOrder + storageProvider?: SortOrder + storageKey?: SortOrder + processingStatus?: SortOrder + visibility?: SortOrder + createdAt?: SortOrder + _count?: VideoRecordingCountOrderByAggregateInput + _avg?: VideoRecordingAvgOrderByAggregateInput + _max?: VideoRecordingMaxOrderByAggregateInput + _min?: VideoRecordingMinOrderByAggregateInput + _sum?: VideoRecordingSumOrderByAggregateInput + } + + export type VideoRecordingScalarWhereWithAggregatesInput = { + AND?: VideoRecordingScalarWhereWithAggregatesInput | VideoRecordingScalarWhereWithAggregatesInput[] + OR?: VideoRecordingScalarWhereWithAggregatesInput[] + NOT?: VideoRecordingScalarWhereWithAggregatesInput | VideoRecordingScalarWhereWithAggregatesInput[] + id?: UuidWithAggregatesFilter<"VideoRecording"> | string + sessionId?: UuidWithAggregatesFilter<"VideoRecording"> | string + fileName?: StringWithAggregatesFilter<"VideoRecording"> | string + fileSize?: IntWithAggregatesFilter<"VideoRecording"> | number + duration?: IntWithAggregatesFilter<"VideoRecording"> | number + recordedBy?: UuidWithAggregatesFilter<"VideoRecording"> | string + startTime?: DateTimeWithAggregatesFilter<"VideoRecording"> | Date | string + endTime?: DateTimeWithAggregatesFilter<"VideoRecording"> | Date | string + storageProvider?: StringWithAggregatesFilter<"VideoRecording"> | string + storageKey?: StringWithAggregatesFilter<"VideoRecording"> | string + processingStatus?: EnumProcessingStatusWithAggregatesFilter<"VideoRecording"> | $Enums.ProcessingStatus + visibility?: EnumRecordingVisibilityWithAggregatesFilter<"VideoRecording"> | $Enums.RecordingVisibility + createdAt?: DateTimeWithAggregatesFilter<"VideoRecording"> | Date | string + } + + export type UserCreateInput = { + id?: string + email: string + username: string + password: string + firebaseUid?: string | null + firstName: string + lastName: string + role: $Enums.UserRole + profilePic?: string | null + isOwner?: boolean + createdAt?: Date | string + updatedAt?: Date | string + isActive?: boolean + deletedAt?: Date | string | null + phoneNumber?: string | null + jobTitle?: string | null + timezone?: string | null + bio?: string | null + preferences?: NullableJsonNullValueInput | InputJsonValue + emailVerificationToken?: string | null + emailVerificationExpires?: Date | string | null + passwordResetToken?: string | null + passwordResetExpires?: Date | string | null + refreshToken?: string | null + lastLogin?: Date | string | null + lastLogout?: Date | string | null + department?: DepartmentCreateNestedOneWithoutUsersInput + organization?: OrganizationCreateNestedOneWithoutUsersInput + createdOrganizations?: OrganizationCreateNestedManyWithoutCreatorInput + ownedOrganizations?: OrganizationOwnerCreateNestedManyWithoutUserInput + managedDepartments?: DepartmentCreateNestedManyWithoutManagerInput + createdTeams?: TeamCreateNestedManyWithoutCreatorInput + teamMemberships?: TeamMemberCreateNestedManyWithoutUserInput + projectMemberships?: ProjectMemberCreateNestedManyWithoutUserInput + createdProjects?: ProjectCreateNestedManyWithoutCreatorInput + modifiedProjects?: ProjectCreateNestedManyWithoutModifierInput + createdTasks?: TaskCreateNestedManyWithoutCreatorInput + assignedTasks?: TaskCreateNestedManyWithoutAssigneeInput + modifiedTasks?: TaskCreateNestedManyWithoutModifierInput + notifications?: NotificationCreateNestedManyWithoutUserInput + timelogs?: TimelogCreateNestedManyWithoutUserInput + comments?: CommentCreateNestedManyWithoutUserInput + taskAttachments?: TaskAttachmentCreateNestedManyWithoutUploaderInput + generatedReports?: ReportCreateNestedManyWithoutGeneratorInput + userReports?: ReportCreateNestedManyWithoutUserInput + permissions?: PermissionCreateNestedManyWithoutUserInput + activityLogs?: ActivityLogCreateNestedManyWithoutUserInput + ReportNotification?: ReportNotificationCreateNestedManyWithoutUserInput + chatParticipations?: ChatParticipantCreateNestedManyWithoutUserInput + sentMessages?: ChatMessageCreateNestedManyWithoutSenderInput + messageReactions?: MessageReactionCreateNestedManyWithoutUserInput + pinnedMessages?: PinnedMessageCreateNestedManyWithoutUserInput + hostedSessions?: VideoConferenceSessionCreateNestedManyWithoutHostInput + videoParticipations?: VideoParticipantCreateNestedManyWithoutUserInput + videoRecordings?: VideoRecordingCreateNestedManyWithoutRecorderInput + } + + export type UserUncheckedCreateInput = { + id?: string + email: string + username: string + password: string + firebaseUid?: string | null + firstName: string + lastName: string + role: $Enums.UserRole + profilePic?: string | null + departmentId?: string | null + organizationId?: string | null + isOwner?: boolean + createdAt?: Date | string + updatedAt?: Date | string + isActive?: boolean + deletedAt?: Date | string | null + phoneNumber?: string | null + jobTitle?: string | null + timezone?: string | null + bio?: string | null + preferences?: NullableJsonNullValueInput | InputJsonValue + emailVerificationToken?: string | null + emailVerificationExpires?: Date | string | null + passwordResetToken?: string | null + passwordResetExpires?: Date | string | null + refreshToken?: string | null + lastLogin?: Date | string | null + lastLogout?: Date | string | null + createdOrganizations?: OrganizationUncheckedCreateNestedManyWithoutCreatorInput + ownedOrganizations?: OrganizationOwnerUncheckedCreateNestedManyWithoutUserInput + managedDepartments?: DepartmentUncheckedCreateNestedManyWithoutManagerInput + createdTeams?: TeamUncheckedCreateNestedManyWithoutCreatorInput + teamMemberships?: TeamMemberUncheckedCreateNestedManyWithoutUserInput + projectMemberships?: ProjectMemberUncheckedCreateNestedManyWithoutUserInput + createdProjects?: ProjectUncheckedCreateNestedManyWithoutCreatorInput + modifiedProjects?: ProjectUncheckedCreateNestedManyWithoutModifierInput + createdTasks?: TaskUncheckedCreateNestedManyWithoutCreatorInput + assignedTasks?: TaskUncheckedCreateNestedManyWithoutAssigneeInput + modifiedTasks?: TaskUncheckedCreateNestedManyWithoutModifierInput + notifications?: NotificationUncheckedCreateNestedManyWithoutUserInput + timelogs?: TimelogUncheckedCreateNestedManyWithoutUserInput + comments?: CommentUncheckedCreateNestedManyWithoutUserInput + taskAttachments?: TaskAttachmentUncheckedCreateNestedManyWithoutUploaderInput + generatedReports?: ReportUncheckedCreateNestedManyWithoutGeneratorInput + userReports?: ReportUncheckedCreateNestedManyWithoutUserInput + permissions?: PermissionUncheckedCreateNestedManyWithoutUserInput + activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutUserInput + ReportNotification?: ReportNotificationUncheckedCreateNestedManyWithoutUserInput + chatParticipations?: ChatParticipantUncheckedCreateNestedManyWithoutUserInput + sentMessages?: ChatMessageUncheckedCreateNestedManyWithoutSenderInput + messageReactions?: MessageReactionUncheckedCreateNestedManyWithoutUserInput + pinnedMessages?: PinnedMessageUncheckedCreateNestedManyWithoutUserInput + hostedSessions?: VideoConferenceSessionUncheckedCreateNestedManyWithoutHostInput + videoParticipations?: VideoParticipantUncheckedCreateNestedManyWithoutUserInput + videoRecordings?: VideoRecordingUncheckedCreateNestedManyWithoutRecorderInput + } + + export type UserUpdateInput = { + id?: StringFieldUpdateOperationsInput | string + email?: StringFieldUpdateOperationsInput | string + username?: StringFieldUpdateOperationsInput | string + password?: StringFieldUpdateOperationsInput | string + firebaseUid?: NullableStringFieldUpdateOperationsInput | string | null + firstName?: StringFieldUpdateOperationsInput | string + lastName?: StringFieldUpdateOperationsInput | string + role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole + profilePic?: NullableStringFieldUpdateOperationsInput | string | null + isOwner?: BoolFieldUpdateOperationsInput | boolean + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + isActive?: BoolFieldUpdateOperationsInput | boolean + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + phoneNumber?: NullableStringFieldUpdateOperationsInput | string | null + jobTitle?: NullableStringFieldUpdateOperationsInput | string | null + timezone?: NullableStringFieldUpdateOperationsInput | string | null + bio?: NullableStringFieldUpdateOperationsInput | string | null + preferences?: NullableJsonNullValueInput | InputJsonValue + emailVerificationToken?: NullableStringFieldUpdateOperationsInput | string | null + emailVerificationExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + passwordResetToken?: NullableStringFieldUpdateOperationsInput | string | null + passwordResetExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + refreshToken?: NullableStringFieldUpdateOperationsInput | string | null + lastLogin?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + lastLogout?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + department?: DepartmentUpdateOneWithoutUsersNestedInput + organization?: OrganizationUpdateOneWithoutUsersNestedInput + createdOrganizations?: OrganizationUpdateManyWithoutCreatorNestedInput + ownedOrganizations?: OrganizationOwnerUpdateManyWithoutUserNestedInput + managedDepartments?: DepartmentUpdateManyWithoutManagerNestedInput + createdTeams?: TeamUpdateManyWithoutCreatorNestedInput + teamMemberships?: TeamMemberUpdateManyWithoutUserNestedInput + projectMemberships?: ProjectMemberUpdateManyWithoutUserNestedInput + createdProjects?: ProjectUpdateManyWithoutCreatorNestedInput + modifiedProjects?: ProjectUpdateManyWithoutModifierNestedInput + createdTasks?: TaskUpdateManyWithoutCreatorNestedInput + assignedTasks?: TaskUpdateManyWithoutAssigneeNestedInput + modifiedTasks?: TaskUpdateManyWithoutModifierNestedInput + notifications?: NotificationUpdateManyWithoutUserNestedInput + timelogs?: TimelogUpdateManyWithoutUserNestedInput + comments?: CommentUpdateManyWithoutUserNestedInput + taskAttachments?: TaskAttachmentUpdateManyWithoutUploaderNestedInput + generatedReports?: ReportUpdateManyWithoutGeneratorNestedInput + userReports?: ReportUpdateManyWithoutUserNestedInput + permissions?: PermissionUpdateManyWithoutUserNestedInput + activityLogs?: ActivityLogUpdateManyWithoutUserNestedInput + ReportNotification?: ReportNotificationUpdateManyWithoutUserNestedInput + chatParticipations?: ChatParticipantUpdateManyWithoutUserNestedInput + sentMessages?: ChatMessageUpdateManyWithoutSenderNestedInput + messageReactions?: MessageReactionUpdateManyWithoutUserNestedInput + pinnedMessages?: PinnedMessageUpdateManyWithoutUserNestedInput + hostedSessions?: VideoConferenceSessionUpdateManyWithoutHostNestedInput + videoParticipations?: VideoParticipantUpdateManyWithoutUserNestedInput + videoRecordings?: VideoRecordingUpdateManyWithoutRecorderNestedInput + } + + export type UserUncheckedUpdateInput = { + id?: StringFieldUpdateOperationsInput | string + email?: StringFieldUpdateOperationsInput | string + username?: StringFieldUpdateOperationsInput | string + password?: StringFieldUpdateOperationsInput | string + firebaseUid?: NullableStringFieldUpdateOperationsInput | string | null + firstName?: StringFieldUpdateOperationsInput | string + lastName?: StringFieldUpdateOperationsInput | string + role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole + profilePic?: NullableStringFieldUpdateOperationsInput | string | null + departmentId?: NullableStringFieldUpdateOperationsInput | string | null + organizationId?: NullableStringFieldUpdateOperationsInput | string | null + isOwner?: BoolFieldUpdateOperationsInput | boolean + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + isActive?: BoolFieldUpdateOperationsInput | boolean + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + phoneNumber?: NullableStringFieldUpdateOperationsInput | string | null + jobTitle?: NullableStringFieldUpdateOperationsInput | string | null + timezone?: NullableStringFieldUpdateOperationsInput | string | null + bio?: NullableStringFieldUpdateOperationsInput | string | null + preferences?: NullableJsonNullValueInput | InputJsonValue + emailVerificationToken?: NullableStringFieldUpdateOperationsInput | string | null + emailVerificationExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + passwordResetToken?: NullableStringFieldUpdateOperationsInput | string | null + passwordResetExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + refreshToken?: NullableStringFieldUpdateOperationsInput | string | null + lastLogin?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + lastLogout?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + createdOrganizations?: OrganizationUncheckedUpdateManyWithoutCreatorNestedInput + ownedOrganizations?: OrganizationOwnerUncheckedUpdateManyWithoutUserNestedInput + managedDepartments?: DepartmentUncheckedUpdateManyWithoutManagerNestedInput + createdTeams?: TeamUncheckedUpdateManyWithoutCreatorNestedInput + teamMemberships?: TeamMemberUncheckedUpdateManyWithoutUserNestedInput + projectMemberships?: ProjectMemberUncheckedUpdateManyWithoutUserNestedInput + createdProjects?: ProjectUncheckedUpdateManyWithoutCreatorNestedInput + modifiedProjects?: ProjectUncheckedUpdateManyWithoutModifierNestedInput + createdTasks?: TaskUncheckedUpdateManyWithoutCreatorNestedInput + assignedTasks?: TaskUncheckedUpdateManyWithoutAssigneeNestedInput + modifiedTasks?: TaskUncheckedUpdateManyWithoutModifierNestedInput + notifications?: NotificationUncheckedUpdateManyWithoutUserNestedInput + timelogs?: TimelogUncheckedUpdateManyWithoutUserNestedInput + comments?: CommentUncheckedUpdateManyWithoutUserNestedInput + taskAttachments?: TaskAttachmentUncheckedUpdateManyWithoutUploaderNestedInput + generatedReports?: ReportUncheckedUpdateManyWithoutGeneratorNestedInput + userReports?: ReportUncheckedUpdateManyWithoutUserNestedInput + permissions?: PermissionUncheckedUpdateManyWithoutUserNestedInput + activityLogs?: ActivityLogUncheckedUpdateManyWithoutUserNestedInput + ReportNotification?: ReportNotificationUncheckedUpdateManyWithoutUserNestedInput + chatParticipations?: ChatParticipantUncheckedUpdateManyWithoutUserNestedInput + sentMessages?: ChatMessageUncheckedUpdateManyWithoutSenderNestedInput + messageReactions?: MessageReactionUncheckedUpdateManyWithoutUserNestedInput + pinnedMessages?: PinnedMessageUncheckedUpdateManyWithoutUserNestedInput + hostedSessions?: VideoConferenceSessionUncheckedUpdateManyWithoutHostNestedInput + videoParticipations?: VideoParticipantUncheckedUpdateManyWithoutUserNestedInput + videoRecordings?: VideoRecordingUncheckedUpdateManyWithoutRecorderNestedInput + } + + export type UserCreateManyInput = { + id?: string + email: string + username: string + password: string + firebaseUid?: string | null + firstName: string + lastName: string + role: $Enums.UserRole + profilePic?: string | null + departmentId?: string | null + organizationId?: string | null + isOwner?: boolean + createdAt?: Date | string + updatedAt?: Date | string + isActive?: boolean + deletedAt?: Date | string | null + phoneNumber?: string | null + jobTitle?: string | null + timezone?: string | null + bio?: string | null + preferences?: NullableJsonNullValueInput | InputJsonValue + emailVerificationToken?: string | null + emailVerificationExpires?: Date | string | null + passwordResetToken?: string | null + passwordResetExpires?: Date | string | null + refreshToken?: string | null + lastLogin?: Date | string | null + lastLogout?: Date | string | null + } + + export type UserUpdateManyMutationInput = { + id?: StringFieldUpdateOperationsInput | string + email?: StringFieldUpdateOperationsInput | string + username?: StringFieldUpdateOperationsInput | string + password?: StringFieldUpdateOperationsInput | string + firebaseUid?: NullableStringFieldUpdateOperationsInput | string | null + firstName?: StringFieldUpdateOperationsInput | string + lastName?: StringFieldUpdateOperationsInput | string + role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole + profilePic?: NullableStringFieldUpdateOperationsInput | string | null + isOwner?: BoolFieldUpdateOperationsInput | boolean + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + isActive?: BoolFieldUpdateOperationsInput | boolean + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + phoneNumber?: NullableStringFieldUpdateOperationsInput | string | null + jobTitle?: NullableStringFieldUpdateOperationsInput | string | null + timezone?: NullableStringFieldUpdateOperationsInput | string | null + bio?: NullableStringFieldUpdateOperationsInput | string | null + preferences?: NullableJsonNullValueInput | InputJsonValue + emailVerificationToken?: NullableStringFieldUpdateOperationsInput | string | null + emailVerificationExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + passwordResetToken?: NullableStringFieldUpdateOperationsInput | string | null + passwordResetExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + refreshToken?: NullableStringFieldUpdateOperationsInput | string | null + lastLogin?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + lastLogout?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + } + + export type UserUncheckedUpdateManyInput = { + id?: StringFieldUpdateOperationsInput | string + email?: StringFieldUpdateOperationsInput | string + username?: StringFieldUpdateOperationsInput | string + password?: StringFieldUpdateOperationsInput | string + firebaseUid?: NullableStringFieldUpdateOperationsInput | string | null + firstName?: StringFieldUpdateOperationsInput | string + lastName?: StringFieldUpdateOperationsInput | string + role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole + profilePic?: NullableStringFieldUpdateOperationsInput | string | null + departmentId?: NullableStringFieldUpdateOperationsInput | string | null + organizationId?: NullableStringFieldUpdateOperationsInput | string | null + isOwner?: BoolFieldUpdateOperationsInput | boolean + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + isActive?: BoolFieldUpdateOperationsInput | boolean + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + phoneNumber?: NullableStringFieldUpdateOperationsInput | string | null + jobTitle?: NullableStringFieldUpdateOperationsInput | string | null + timezone?: NullableStringFieldUpdateOperationsInput | string | null + bio?: NullableStringFieldUpdateOperationsInput | string | null + preferences?: NullableJsonNullValueInput | InputJsonValue + emailVerificationToken?: NullableStringFieldUpdateOperationsInput | string | null + emailVerificationExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + passwordResetToken?: NullableStringFieldUpdateOperationsInput | string | null + passwordResetExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + refreshToken?: NullableStringFieldUpdateOperationsInput | string | null + lastLogin?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + lastLogout?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + } + + export type OrganizationCreateInput = { + id?: string + name: string + description?: string | null + industry: string + sizeRange: string + website?: string | null + logoUrl?: string | null + isVerified?: boolean + status: string + createdAt?: Date | string + updatedAt?: Date | string + deletedAt?: Date | string | null + address?: string | null + contactEmail?: string | null + contactPhone?: string | null + emailVerificationOTP?: string | null + emailVerificationExpires?: Date | string | null + creator: UserCreateNestedOneWithoutCreatedOrganizationsInput + departments?: DepartmentCreateNestedManyWithoutOrganizationInput + teams?: TeamCreateNestedManyWithoutOrganizationInput + projects?: ProjectCreateNestedManyWithoutOrganizationInput + users?: UserCreateNestedManyWithoutOrganizationInput + reports?: ReportCreateNestedManyWithoutOrganizationInput + owners?: OrganizationOwnerCreateNestedManyWithoutOrganizationInput + templates?: TaskTemplateCreateNestedManyWithoutOrganizationInput + activityLogs?: ActivityLogCreateNestedManyWithoutOrganizationInput + } + + export type OrganizationUncheckedCreateInput = { + id?: string + name: string + description?: string | null + industry: string + sizeRange: string + website?: string | null + logoUrl?: string | null + isVerified?: boolean + status: string + createdAt?: Date | string + updatedAt?: Date | string + deletedAt?: Date | string | null + createdBy: string + address?: string | null + contactEmail?: string | null + contactPhone?: string | null + emailVerificationOTP?: string | null + emailVerificationExpires?: Date | string | null + departments?: DepartmentUncheckedCreateNestedManyWithoutOrganizationInput + teams?: TeamUncheckedCreateNestedManyWithoutOrganizationInput + projects?: ProjectUncheckedCreateNestedManyWithoutOrganizationInput + users?: UserUncheckedCreateNestedManyWithoutOrganizationInput + reports?: ReportUncheckedCreateNestedManyWithoutOrganizationInput + owners?: OrganizationOwnerUncheckedCreateNestedManyWithoutOrganizationInput + templates?: TaskTemplateUncheckedCreateNestedManyWithoutOrganizationInput + activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutOrganizationInput + } + + export type OrganizationUpdateInput = { + id?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + industry?: StringFieldUpdateOperationsInput | string + sizeRange?: StringFieldUpdateOperationsInput | string + website?: NullableStringFieldUpdateOperationsInput | string | null + logoUrl?: NullableStringFieldUpdateOperationsInput | string | null + isVerified?: BoolFieldUpdateOperationsInput | boolean + status?: StringFieldUpdateOperationsInput | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + address?: NullableStringFieldUpdateOperationsInput | string | null + contactEmail?: NullableStringFieldUpdateOperationsInput | string | null + contactPhone?: NullableStringFieldUpdateOperationsInput | string | null + emailVerificationOTP?: NullableStringFieldUpdateOperationsInput | string | null + emailVerificationExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + creator?: UserUpdateOneRequiredWithoutCreatedOrganizationsNestedInput + departments?: DepartmentUpdateManyWithoutOrganizationNestedInput + teams?: TeamUpdateManyWithoutOrganizationNestedInput + projects?: ProjectUpdateManyWithoutOrganizationNestedInput + users?: UserUpdateManyWithoutOrganizationNestedInput + reports?: ReportUpdateManyWithoutOrganizationNestedInput + owners?: OrganizationOwnerUpdateManyWithoutOrganizationNestedInput + templates?: TaskTemplateUpdateManyWithoutOrganizationNestedInput + activityLogs?: ActivityLogUpdateManyWithoutOrganizationNestedInput + } + + export type OrganizationUncheckedUpdateInput = { + id?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + industry?: StringFieldUpdateOperationsInput | string + sizeRange?: StringFieldUpdateOperationsInput | string + website?: NullableStringFieldUpdateOperationsInput | string | null + logoUrl?: NullableStringFieldUpdateOperationsInput | string | null + isVerified?: BoolFieldUpdateOperationsInput | boolean + status?: StringFieldUpdateOperationsInput | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + createdBy?: StringFieldUpdateOperationsInput | string + address?: NullableStringFieldUpdateOperationsInput | string | null + contactEmail?: NullableStringFieldUpdateOperationsInput | string | null + contactPhone?: NullableStringFieldUpdateOperationsInput | string | null + emailVerificationOTP?: NullableStringFieldUpdateOperationsInput | string | null + emailVerificationExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + departments?: DepartmentUncheckedUpdateManyWithoutOrganizationNestedInput + teams?: TeamUncheckedUpdateManyWithoutOrganizationNestedInput + projects?: ProjectUncheckedUpdateManyWithoutOrganizationNestedInput + users?: UserUncheckedUpdateManyWithoutOrganizationNestedInput + reports?: ReportUncheckedUpdateManyWithoutOrganizationNestedInput + owners?: OrganizationOwnerUncheckedUpdateManyWithoutOrganizationNestedInput + templates?: TaskTemplateUncheckedUpdateManyWithoutOrganizationNestedInput + activityLogs?: ActivityLogUncheckedUpdateManyWithoutOrganizationNestedInput + } + + export type OrganizationCreateManyInput = { + id?: string + name: string + description?: string | null + industry: string + sizeRange: string + website?: string | null + logoUrl?: string | null + isVerified?: boolean + status: string + createdAt?: Date | string + updatedAt?: Date | string + deletedAt?: Date | string | null + createdBy: string + address?: string | null + contactEmail?: string | null + contactPhone?: string | null + emailVerificationOTP?: string | null + emailVerificationExpires?: Date | string | null + } + + export type OrganizationUpdateManyMutationInput = { + id?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + industry?: StringFieldUpdateOperationsInput | string + sizeRange?: StringFieldUpdateOperationsInput | string + website?: NullableStringFieldUpdateOperationsInput | string | null + logoUrl?: NullableStringFieldUpdateOperationsInput | string | null + isVerified?: BoolFieldUpdateOperationsInput | boolean + status?: StringFieldUpdateOperationsInput | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + address?: NullableStringFieldUpdateOperationsInput | string | null + contactEmail?: NullableStringFieldUpdateOperationsInput | string | null + contactPhone?: NullableStringFieldUpdateOperationsInput | string | null + emailVerificationOTP?: NullableStringFieldUpdateOperationsInput | string | null + emailVerificationExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + } + + export type OrganizationUncheckedUpdateManyInput = { + id?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + industry?: StringFieldUpdateOperationsInput | string + sizeRange?: StringFieldUpdateOperationsInput | string + website?: NullableStringFieldUpdateOperationsInput | string | null + logoUrl?: NullableStringFieldUpdateOperationsInput | string | null + isVerified?: BoolFieldUpdateOperationsInput | boolean + status?: StringFieldUpdateOperationsInput | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + createdBy?: StringFieldUpdateOperationsInput | string + address?: NullableStringFieldUpdateOperationsInput | string | null + contactEmail?: NullableStringFieldUpdateOperationsInput | string | null + contactPhone?: NullableStringFieldUpdateOperationsInput | string | null + emailVerificationOTP?: NullableStringFieldUpdateOperationsInput | string | null + emailVerificationExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + } + + export type OrganizationOwnerCreateInput = { + id?: string + createdAt?: Date | string + updatedAt?: Date | string + organization: OrganizationCreateNestedOneWithoutOwnersInput + user: UserCreateNestedOneWithoutOwnedOrganizationsInput + } + + export type OrganizationOwnerUncheckedCreateInput = { + id?: string + organizationId: string + userId: string + createdAt?: Date | string + updatedAt?: Date | string + } + + export type OrganizationOwnerUpdateInput = { + id?: StringFieldUpdateOperationsInput | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + organization?: OrganizationUpdateOneRequiredWithoutOwnersNestedInput + user?: UserUpdateOneRequiredWithoutOwnedOrganizationsNestedInput + } + + export type OrganizationOwnerUncheckedUpdateInput = { + id?: StringFieldUpdateOperationsInput | string + organizationId?: StringFieldUpdateOperationsInput | string + userId?: StringFieldUpdateOperationsInput | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + } + + export type OrganizationOwnerCreateManyInput = { + id?: string + organizationId: string + userId: string + createdAt?: Date | string + updatedAt?: Date | string + } + + export type OrganizationOwnerUpdateManyMutationInput = { + id?: StringFieldUpdateOperationsInput | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + } + + export type OrganizationOwnerUncheckedUpdateManyInput = { + id?: StringFieldUpdateOperationsInput | string + organizationId?: StringFieldUpdateOperationsInput | string + userId?: StringFieldUpdateOperationsInput | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + } + + export type DepartmentCreateInput = { + id?: string + name: string + description?: string | null + createdAt?: Date | string + updatedAt?: Date | string + deletedAt?: Date | string | null + organization: OrganizationCreateNestedOneWithoutDepartmentsInput + manager: UserCreateNestedOneWithoutManagedDepartmentsInput + teams?: TeamCreateNestedManyWithoutDepartmentInput + users?: UserCreateNestedManyWithoutDepartmentInput + activityLogs?: ActivityLogCreateNestedManyWithoutDepartmentInput + Report?: ReportCreateNestedManyWithoutDepartmentInput + } + + export type DepartmentUncheckedCreateInput = { + id?: string + name: string + description?: string | null + organizationId: string + managerId: string + createdAt?: Date | string + updatedAt?: Date | string + deletedAt?: Date | string | null + teams?: TeamUncheckedCreateNestedManyWithoutDepartmentInput + users?: UserUncheckedCreateNestedManyWithoutDepartmentInput + activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutDepartmentInput + Report?: ReportUncheckedCreateNestedManyWithoutDepartmentInput + } + + export type DepartmentUpdateInput = { + id?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + organization?: OrganizationUpdateOneRequiredWithoutDepartmentsNestedInput + manager?: UserUpdateOneRequiredWithoutManagedDepartmentsNestedInput + teams?: TeamUpdateManyWithoutDepartmentNestedInput + users?: UserUpdateManyWithoutDepartmentNestedInput + activityLogs?: ActivityLogUpdateManyWithoutDepartmentNestedInput + Report?: ReportUpdateManyWithoutDepartmentNestedInput + } + + export type DepartmentUncheckedUpdateInput = { + id?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + organizationId?: StringFieldUpdateOperationsInput | string + managerId?: StringFieldUpdateOperationsInput | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + teams?: TeamUncheckedUpdateManyWithoutDepartmentNestedInput + users?: UserUncheckedUpdateManyWithoutDepartmentNestedInput + activityLogs?: ActivityLogUncheckedUpdateManyWithoutDepartmentNestedInput + Report?: ReportUncheckedUpdateManyWithoutDepartmentNestedInput + } + + export type DepartmentCreateManyInput = { + id?: string + name: string + description?: string | null + organizationId: string + managerId: string + createdAt?: Date | string + updatedAt?: Date | string + deletedAt?: Date | string | null + } + + export type DepartmentUpdateManyMutationInput = { + id?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + } + + export type DepartmentUncheckedUpdateManyInput = { + id?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + organizationId?: StringFieldUpdateOperationsInput | string + managerId?: StringFieldUpdateOperationsInput | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + } + + export type TeamCreateInput = { + id?: string + name: string + description?: string | null + createdAt?: Date | string + updatedAt?: Date | string + deletedAt?: Date | string | null + avatar?: string | null + creator: UserCreateNestedOneWithoutCreatedTeamsInput + organization: OrganizationCreateNestedOneWithoutTeamsInput + department?: DepartmentCreateNestedOneWithoutTeamsInput + members?: TeamMemberCreateNestedManyWithoutTeamInput + projects?: ProjectCreateNestedManyWithoutTeamInput + reports?: ReportCreateNestedManyWithoutTeamInput + activityLogs?: ActivityLogCreateNestedManyWithoutTeamInput + } + + export type TeamUncheckedCreateInput = { + id?: string + name: string + description?: string | null + createdBy: string + organizationId: string + departmentId?: string | null + createdAt?: Date | string + updatedAt?: Date | string + deletedAt?: Date | string | null + avatar?: string | null + members?: TeamMemberUncheckedCreateNestedManyWithoutTeamInput + projects?: ProjectUncheckedCreateNestedManyWithoutTeamInput + reports?: ReportUncheckedCreateNestedManyWithoutTeamInput + activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutTeamInput + } + + export type TeamUpdateInput = { + id?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + avatar?: NullableStringFieldUpdateOperationsInput | string | null + creator?: UserUpdateOneRequiredWithoutCreatedTeamsNestedInput + organization?: OrganizationUpdateOneRequiredWithoutTeamsNestedInput + department?: DepartmentUpdateOneWithoutTeamsNestedInput + members?: TeamMemberUpdateManyWithoutTeamNestedInput + projects?: ProjectUpdateManyWithoutTeamNestedInput + reports?: ReportUpdateManyWithoutTeamNestedInput + activityLogs?: ActivityLogUpdateManyWithoutTeamNestedInput + } + + export type TeamUncheckedUpdateInput = { + id?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + createdBy?: StringFieldUpdateOperationsInput | string + organizationId?: StringFieldUpdateOperationsInput | string + departmentId?: NullableStringFieldUpdateOperationsInput | string | null + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + avatar?: NullableStringFieldUpdateOperationsInput | string | null + members?: TeamMemberUncheckedUpdateManyWithoutTeamNestedInput + projects?: ProjectUncheckedUpdateManyWithoutTeamNestedInput + reports?: ReportUncheckedUpdateManyWithoutTeamNestedInput + activityLogs?: ActivityLogUncheckedUpdateManyWithoutTeamNestedInput + } + + export type TeamCreateManyInput = { + id?: string + name: string + description?: string | null + createdBy: string + organizationId: string + departmentId?: string | null + createdAt?: Date | string + updatedAt?: Date | string + deletedAt?: Date | string | null + avatar?: string | null + } + + export type TeamUpdateManyMutationInput = { + id?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + avatar?: NullableStringFieldUpdateOperationsInput | string | null + } + + export type TeamUncheckedUpdateManyInput = { + id?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + createdBy?: StringFieldUpdateOperationsInput | string + organizationId?: StringFieldUpdateOperationsInput | string + departmentId?: NullableStringFieldUpdateOperationsInput | string | null + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + avatar?: NullableStringFieldUpdateOperationsInput | string | null + } + + export type TeamMemberCreateInput = { + id?: string + role: $Enums.TeamMemberRole + joinedAt?: Date | string + isActive?: boolean + deletedAt?: Date | string | null + team: TeamCreateNestedOneWithoutMembersInput + user: UserCreateNestedOneWithoutTeamMembershipsInput + } + + export type TeamMemberUncheckedCreateInput = { + id?: string + teamId: string + userId: string + role: $Enums.TeamMemberRole + joinedAt?: Date | string + isActive?: boolean + deletedAt?: Date | string | null + } + + export type TeamMemberUpdateInput = { + id?: StringFieldUpdateOperationsInput | string + role?: EnumTeamMemberRoleFieldUpdateOperationsInput | $Enums.TeamMemberRole + joinedAt?: DateTimeFieldUpdateOperationsInput | Date | string + isActive?: BoolFieldUpdateOperationsInput | boolean + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + team?: TeamUpdateOneRequiredWithoutMembersNestedInput + user?: UserUpdateOneRequiredWithoutTeamMembershipsNestedInput + } + + export type TeamMemberUncheckedUpdateInput = { + id?: StringFieldUpdateOperationsInput | string + teamId?: StringFieldUpdateOperationsInput | string + userId?: StringFieldUpdateOperationsInput | string + role?: EnumTeamMemberRoleFieldUpdateOperationsInput | $Enums.TeamMemberRole + joinedAt?: DateTimeFieldUpdateOperationsInput | Date | string + isActive?: BoolFieldUpdateOperationsInput | boolean + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + } + + export type TeamMemberCreateManyInput = { + id?: string + teamId: string + userId: string + role: $Enums.TeamMemberRole + joinedAt?: Date | string + isActive?: boolean + deletedAt?: Date | string | null + } + + export type TeamMemberUpdateManyMutationInput = { + id?: StringFieldUpdateOperationsInput | string + role?: EnumTeamMemberRoleFieldUpdateOperationsInput | $Enums.TeamMemberRole + joinedAt?: DateTimeFieldUpdateOperationsInput | Date | string + isActive?: BoolFieldUpdateOperationsInput | boolean + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + } + + export type TeamMemberUncheckedUpdateManyInput = { + id?: StringFieldUpdateOperationsInput | string + teamId?: StringFieldUpdateOperationsInput | string + userId?: StringFieldUpdateOperationsInput | string + role?: EnumTeamMemberRoleFieldUpdateOperationsInput | $Enums.TeamMemberRole + joinedAt?: DateTimeFieldUpdateOperationsInput | Date | string + isActive?: BoolFieldUpdateOperationsInput | boolean + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + } + + export type ProjectCreateInput = { + id?: string + name: string + description?: string | null + status: string + startDate: Date | string + endDate: Date | string + createdAt?: Date | string + updatedAt?: Date | string + deletedAt?: Date | string | null + priority?: $Enums.TaskPriority + progress?: number | null + budget?: number | null + creator: UserCreateNestedOneWithoutCreatedProjectsInput + modifier?: UserCreateNestedOneWithoutModifiedProjectsInput + organization: OrganizationCreateNestedOneWithoutProjectsInput + team: TeamCreateNestedOneWithoutProjectsInput + sprints?: SprintCreateNestedManyWithoutProjectInput + tasks?: TaskCreateNestedManyWithoutProjectInput + reports?: ReportCreateNestedManyWithoutProjectInput + activityLogs?: ActivityLogCreateNestedManyWithoutProjectInput + ProjectMember?: ProjectMemberCreateNestedManyWithoutProjectInput + } + + export type ProjectUncheckedCreateInput = { + id?: string + name: string + description?: string | null + status: string + createdBy: string + organizationId: string + teamId: string + startDate: Date | string + endDate: Date | string + createdAt?: Date | string + updatedAt?: Date | string + deletedAt?: Date | string | null + priority?: $Enums.TaskPriority + progress?: number | null + budget?: number | null + lastModifiedBy?: string | null + sprints?: SprintUncheckedCreateNestedManyWithoutProjectInput + tasks?: TaskUncheckedCreateNestedManyWithoutProjectInput + reports?: ReportUncheckedCreateNestedManyWithoutProjectInput + activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutProjectInput + ProjectMember?: ProjectMemberUncheckedCreateNestedManyWithoutProjectInput + } + + export type ProjectUpdateInput = { + id?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + status?: StringFieldUpdateOperationsInput | string + startDate?: DateTimeFieldUpdateOperationsInput | Date | string + endDate?: DateTimeFieldUpdateOperationsInput | Date | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + priority?: EnumTaskPriorityFieldUpdateOperationsInput | $Enums.TaskPriority + progress?: NullableFloatFieldUpdateOperationsInput | number | null + budget?: NullableFloatFieldUpdateOperationsInput | number | null + creator?: UserUpdateOneRequiredWithoutCreatedProjectsNestedInput + modifier?: UserUpdateOneWithoutModifiedProjectsNestedInput + organization?: OrganizationUpdateOneRequiredWithoutProjectsNestedInput + team?: TeamUpdateOneRequiredWithoutProjectsNestedInput + sprints?: SprintUpdateManyWithoutProjectNestedInput + tasks?: TaskUpdateManyWithoutProjectNestedInput + reports?: ReportUpdateManyWithoutProjectNestedInput + activityLogs?: ActivityLogUpdateManyWithoutProjectNestedInput + ProjectMember?: ProjectMemberUpdateManyWithoutProjectNestedInput + } + + export type ProjectUncheckedUpdateInput = { + id?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + status?: StringFieldUpdateOperationsInput | string + createdBy?: StringFieldUpdateOperationsInput | string + organizationId?: StringFieldUpdateOperationsInput | string + teamId?: StringFieldUpdateOperationsInput | string + startDate?: DateTimeFieldUpdateOperationsInput | Date | string + endDate?: DateTimeFieldUpdateOperationsInput | Date | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + priority?: EnumTaskPriorityFieldUpdateOperationsInput | $Enums.TaskPriority + progress?: NullableFloatFieldUpdateOperationsInput | number | null + budget?: NullableFloatFieldUpdateOperationsInput | number | null + lastModifiedBy?: NullableStringFieldUpdateOperationsInput | string | null + sprints?: SprintUncheckedUpdateManyWithoutProjectNestedInput + tasks?: TaskUncheckedUpdateManyWithoutProjectNestedInput + reports?: ReportUncheckedUpdateManyWithoutProjectNestedInput + activityLogs?: ActivityLogUncheckedUpdateManyWithoutProjectNestedInput + ProjectMember?: ProjectMemberUncheckedUpdateManyWithoutProjectNestedInput + } + + export type ProjectCreateManyInput = { + id?: string + name: string + description?: string | null + status: string + createdBy: string + organizationId: string + teamId: string + startDate: Date | string + endDate: Date | string + createdAt?: Date | string + updatedAt?: Date | string + deletedAt?: Date | string | null + priority?: $Enums.TaskPriority + progress?: number | null + budget?: number | null + lastModifiedBy?: string | null + } + + export type ProjectUpdateManyMutationInput = { + id?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + status?: StringFieldUpdateOperationsInput | string + startDate?: DateTimeFieldUpdateOperationsInput | Date | string + endDate?: DateTimeFieldUpdateOperationsInput | Date | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + priority?: EnumTaskPriorityFieldUpdateOperationsInput | $Enums.TaskPriority + progress?: NullableFloatFieldUpdateOperationsInput | number | null + budget?: NullableFloatFieldUpdateOperationsInput | number | null + } + + export type ProjectUncheckedUpdateManyInput = { + id?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + status?: StringFieldUpdateOperationsInput | string + createdBy?: StringFieldUpdateOperationsInput | string + organizationId?: StringFieldUpdateOperationsInput | string + teamId?: StringFieldUpdateOperationsInput | string + startDate?: DateTimeFieldUpdateOperationsInput | Date | string + endDate?: DateTimeFieldUpdateOperationsInput | Date | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + priority?: EnumTaskPriorityFieldUpdateOperationsInput | $Enums.TaskPriority + progress?: NullableFloatFieldUpdateOperationsInput | number | null + budget?: NullableFloatFieldUpdateOperationsInput | number | null + lastModifiedBy?: NullableStringFieldUpdateOperationsInput | string | null + } + + export type ProjectMemberCreateInput = { + id?: string + role: string + isActive?: boolean + joinedAt?: Date | string + leftAt?: Date | string | null + deletedAt?: Date | string | null + project: ProjectCreateNestedOneWithoutProjectMemberInput + user: UserCreateNestedOneWithoutProjectMembershipsInput + } + + export type ProjectMemberUncheckedCreateInput = { + id?: string + projectId: string + userId: string + role: string + isActive?: boolean + joinedAt?: Date | string + leftAt?: Date | string | null + deletedAt?: Date | string | null + } + + export type ProjectMemberUpdateInput = { + id?: StringFieldUpdateOperationsInput | string + role?: StringFieldUpdateOperationsInput | string + isActive?: BoolFieldUpdateOperationsInput | boolean + joinedAt?: DateTimeFieldUpdateOperationsInput | Date | string + leftAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + project?: ProjectUpdateOneRequiredWithoutProjectMemberNestedInput + user?: UserUpdateOneRequiredWithoutProjectMembershipsNestedInput + } + + export type ProjectMemberUncheckedUpdateInput = { + id?: StringFieldUpdateOperationsInput | string + projectId?: StringFieldUpdateOperationsInput | string + userId?: StringFieldUpdateOperationsInput | string + role?: StringFieldUpdateOperationsInput | string + isActive?: BoolFieldUpdateOperationsInput | boolean + joinedAt?: DateTimeFieldUpdateOperationsInput | Date | string + leftAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + } + + export type ProjectMemberCreateManyInput = { + id?: string + projectId: string + userId: string + role: string + isActive?: boolean + joinedAt?: Date | string + leftAt?: Date | string | null + deletedAt?: Date | string | null + } + + export type ProjectMemberUpdateManyMutationInput = { + id?: StringFieldUpdateOperationsInput | string + role?: StringFieldUpdateOperationsInput | string + isActive?: BoolFieldUpdateOperationsInput | boolean + joinedAt?: DateTimeFieldUpdateOperationsInput | Date | string + leftAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + } + + export type ProjectMemberUncheckedUpdateManyInput = { + id?: StringFieldUpdateOperationsInput | string + projectId?: StringFieldUpdateOperationsInput | string + userId?: StringFieldUpdateOperationsInput | string + role?: StringFieldUpdateOperationsInput | string + isActive?: BoolFieldUpdateOperationsInput | boolean + joinedAt?: DateTimeFieldUpdateOperationsInput | Date | string + leftAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + } + + export type SprintCreateInput = { + id?: string + name: string + description?: string | null + startDate: Date | string + endDate: Date | string + status: string + goal?: string | null + order?: number + project: ProjectCreateNestedOneWithoutSprintsInput + tasks?: TaskCreateNestedManyWithoutSprintInput + activityLogs?: ActivityLogCreateNestedManyWithoutSprintInput + } + + export type SprintUncheckedCreateInput = { + id?: string + projectId: string + name: string + description?: string | null + startDate: Date | string + endDate: Date | string + status: string + goal?: string | null + order?: number + tasks?: TaskUncheckedCreateNestedManyWithoutSprintInput + activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutSprintInput + } + + export type SprintUpdateInput = { + id?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + startDate?: DateTimeFieldUpdateOperationsInput | Date | string + endDate?: DateTimeFieldUpdateOperationsInput | Date | string + status?: StringFieldUpdateOperationsInput | string + goal?: NullableStringFieldUpdateOperationsInput | string | null + order?: IntFieldUpdateOperationsInput | number + project?: ProjectUpdateOneRequiredWithoutSprintsNestedInput + tasks?: TaskUpdateManyWithoutSprintNestedInput + activityLogs?: ActivityLogUpdateManyWithoutSprintNestedInput + } + + export type SprintUncheckedUpdateInput = { + id?: StringFieldUpdateOperationsInput | string + projectId?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + startDate?: DateTimeFieldUpdateOperationsInput | Date | string + endDate?: DateTimeFieldUpdateOperationsInput | Date | string + status?: StringFieldUpdateOperationsInput | string + goal?: NullableStringFieldUpdateOperationsInput | string | null + order?: IntFieldUpdateOperationsInput | number + tasks?: TaskUncheckedUpdateManyWithoutSprintNestedInput + activityLogs?: ActivityLogUncheckedUpdateManyWithoutSprintNestedInput + } + + export type SprintCreateManyInput = { + id?: string + projectId: string + name: string + description?: string | null + startDate: Date | string + endDate: Date | string + status: string + goal?: string | null + order?: number + } + + export type SprintUpdateManyMutationInput = { + id?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + startDate?: DateTimeFieldUpdateOperationsInput | Date | string + endDate?: DateTimeFieldUpdateOperationsInput | Date | string + status?: StringFieldUpdateOperationsInput | string + goal?: NullableStringFieldUpdateOperationsInput | string | null + order?: IntFieldUpdateOperationsInput | number + } + + export type SprintUncheckedUpdateManyInput = { + id?: StringFieldUpdateOperationsInput | string + projectId?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + startDate?: DateTimeFieldUpdateOperationsInput | Date | string + endDate?: DateTimeFieldUpdateOperationsInput | Date | string + status?: StringFieldUpdateOperationsInput | string + goal?: NullableStringFieldUpdateOperationsInput | string | null + order?: IntFieldUpdateOperationsInput | number + } + + export type TaskCreateInput = { + id?: string + title: string + description?: string | null + priority: $Enums.TaskPriority + status: $Enums.TaskStatus + rate?: number | null + dueDate: Date | string + createdAt?: Date | string + updatedAt?: Date | string + deletedAt?: Date | string | null + estimatedTime?: number | null + actualTime?: number | null + order?: number + labels?: TaskCreatelabelsInput | string[] + project: ProjectCreateNestedOneWithoutTasksInput + sprint?: SprintCreateNestedOneWithoutTasksInput + creator: UserCreateNestedOneWithoutCreatedTasksInput + assignee?: UserCreateNestedOneWithoutAssignedTasksInput + modifier?: UserCreateNestedOneWithoutModifiedTasksInput + attachments?: TaskAttachmentCreateNestedManyWithoutTaskInput + comments?: CommentCreateNestedManyWithoutTaskInput + timelogs?: TimelogCreateNestedManyWithoutTaskInput + dependencies?: TaskDependencyCreateNestedManyWithoutDependentTaskInput + dependentOn?: TaskDependencyCreateNestedManyWithoutTaskInput + parent?: TaskCreateNestedOneWithoutSubtasksInput + subtasks?: TaskCreateNestedManyWithoutParentInput + activityLogs?: ActivityLogCreateNestedManyWithoutTaskInput + } + + export type TaskUncheckedCreateInput = { + id?: string + title: string + description?: string | null + priority: $Enums.TaskPriority + status: $Enums.TaskStatus + rate?: number | null + projectId: string + sprintId?: string | null + createdBy: string + assignedTo?: string | null + dueDate: Date | string + createdAt?: Date | string + updatedAt?: Date | string + deletedAt?: Date | string | null + estimatedTime?: number | null + actualTime?: number | null + parentId?: string | null + order?: number + labels?: TaskCreatelabelsInput | string[] + lastModifiedBy?: string | null + attachments?: TaskAttachmentUncheckedCreateNestedManyWithoutTaskInput + comments?: CommentUncheckedCreateNestedManyWithoutTaskInput + timelogs?: TimelogUncheckedCreateNestedManyWithoutTaskInput + dependencies?: TaskDependencyUncheckedCreateNestedManyWithoutDependentTaskInput + dependentOn?: TaskDependencyUncheckedCreateNestedManyWithoutTaskInput + subtasks?: TaskUncheckedCreateNestedManyWithoutParentInput + activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutTaskInput + } + + export type TaskUpdateInput = { + id?: StringFieldUpdateOperationsInput | string + title?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + priority?: EnumTaskPriorityFieldUpdateOperationsInput | $Enums.TaskPriority + status?: EnumTaskStatusFieldUpdateOperationsInput | $Enums.TaskStatus + rate?: NullableFloatFieldUpdateOperationsInput | number | null + dueDate?: DateTimeFieldUpdateOperationsInput | Date | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + estimatedTime?: NullableFloatFieldUpdateOperationsInput | number | null + actualTime?: NullableFloatFieldUpdateOperationsInput | number | null + order?: IntFieldUpdateOperationsInput | number + labels?: TaskUpdatelabelsInput | string[] + project?: ProjectUpdateOneRequiredWithoutTasksNestedInput + sprint?: SprintUpdateOneWithoutTasksNestedInput + creator?: UserUpdateOneRequiredWithoutCreatedTasksNestedInput + assignee?: UserUpdateOneWithoutAssignedTasksNestedInput + modifier?: UserUpdateOneWithoutModifiedTasksNestedInput + attachments?: TaskAttachmentUpdateManyWithoutTaskNestedInput + comments?: CommentUpdateManyWithoutTaskNestedInput + timelogs?: TimelogUpdateManyWithoutTaskNestedInput + dependencies?: TaskDependencyUpdateManyWithoutDependentTaskNestedInput + dependentOn?: TaskDependencyUpdateManyWithoutTaskNestedInput + parent?: TaskUpdateOneWithoutSubtasksNestedInput + subtasks?: TaskUpdateManyWithoutParentNestedInput + activityLogs?: ActivityLogUpdateManyWithoutTaskNestedInput + } + + export type TaskUncheckedUpdateInput = { + id?: StringFieldUpdateOperationsInput | string + title?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + priority?: EnumTaskPriorityFieldUpdateOperationsInput | $Enums.TaskPriority + status?: EnumTaskStatusFieldUpdateOperationsInput | $Enums.TaskStatus + rate?: NullableFloatFieldUpdateOperationsInput | number | null + projectId?: StringFieldUpdateOperationsInput | string + sprintId?: NullableStringFieldUpdateOperationsInput | string | null + createdBy?: StringFieldUpdateOperationsInput | string + assignedTo?: NullableStringFieldUpdateOperationsInput | string | null + dueDate?: DateTimeFieldUpdateOperationsInput | Date | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + estimatedTime?: NullableFloatFieldUpdateOperationsInput | number | null + actualTime?: NullableFloatFieldUpdateOperationsInput | number | null + parentId?: NullableStringFieldUpdateOperationsInput | string | null + order?: IntFieldUpdateOperationsInput | number + labels?: TaskUpdatelabelsInput | string[] + lastModifiedBy?: NullableStringFieldUpdateOperationsInput | string | null + attachments?: TaskAttachmentUncheckedUpdateManyWithoutTaskNestedInput + comments?: CommentUncheckedUpdateManyWithoutTaskNestedInput + timelogs?: TimelogUncheckedUpdateManyWithoutTaskNestedInput + dependencies?: TaskDependencyUncheckedUpdateManyWithoutDependentTaskNestedInput + dependentOn?: TaskDependencyUncheckedUpdateManyWithoutTaskNestedInput + subtasks?: TaskUncheckedUpdateManyWithoutParentNestedInput + activityLogs?: ActivityLogUncheckedUpdateManyWithoutTaskNestedInput + } + + export type TaskCreateManyInput = { + id?: string + title: string + description?: string | null + priority: $Enums.TaskPriority + status: $Enums.TaskStatus + rate?: number | null + projectId: string + sprintId?: string | null + createdBy: string + assignedTo?: string | null + dueDate: Date | string + createdAt?: Date | string + updatedAt?: Date | string + deletedAt?: Date | string | null + estimatedTime?: number | null + actualTime?: number | null + parentId?: string | null + order?: number + labels?: TaskCreatelabelsInput | string[] + lastModifiedBy?: string | null + } + + export type TaskUpdateManyMutationInput = { + id?: StringFieldUpdateOperationsInput | string + title?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + priority?: EnumTaskPriorityFieldUpdateOperationsInput | $Enums.TaskPriority + status?: EnumTaskStatusFieldUpdateOperationsInput | $Enums.TaskStatus + rate?: NullableFloatFieldUpdateOperationsInput | number | null + dueDate?: DateTimeFieldUpdateOperationsInput | Date | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + estimatedTime?: NullableFloatFieldUpdateOperationsInput | number | null + actualTime?: NullableFloatFieldUpdateOperationsInput | number | null + order?: IntFieldUpdateOperationsInput | number + labels?: TaskUpdatelabelsInput | string[] + } + + export type TaskUncheckedUpdateManyInput = { + id?: StringFieldUpdateOperationsInput | string + title?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + priority?: EnumTaskPriorityFieldUpdateOperationsInput | $Enums.TaskPriority + status?: EnumTaskStatusFieldUpdateOperationsInput | $Enums.TaskStatus + rate?: NullableFloatFieldUpdateOperationsInput | number | null + projectId?: StringFieldUpdateOperationsInput | string + sprintId?: NullableStringFieldUpdateOperationsInput | string | null + createdBy?: StringFieldUpdateOperationsInput | string + assignedTo?: NullableStringFieldUpdateOperationsInput | string | null + dueDate?: DateTimeFieldUpdateOperationsInput | Date | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + estimatedTime?: NullableFloatFieldUpdateOperationsInput | number | null + actualTime?: NullableFloatFieldUpdateOperationsInput | number | null + parentId?: NullableStringFieldUpdateOperationsInput | string | null + order?: IntFieldUpdateOperationsInput | number + labels?: TaskUpdatelabelsInput | string[] + lastModifiedBy?: NullableStringFieldUpdateOperationsInput | string | null + } + + export type TaskAttachmentCreateInput = { + id?: string + fileName: string + fileType: string + filePath: string + fileSize: number + createdAt?: Date | string + storageProvider?: string | null + storageKey: string + task: TaskCreateNestedOneWithoutAttachmentsInput + uploader: UserCreateNestedOneWithoutTaskAttachmentsInput + } + + export type TaskAttachmentUncheckedCreateInput = { + id?: string + taskId: string + fileName: string + fileType: string + filePath: string + fileSize: number + uploadedBy: string + createdAt?: Date | string + storageProvider?: string | null + storageKey: string + } + + export type TaskAttachmentUpdateInput = { + id?: StringFieldUpdateOperationsInput | string + fileName?: StringFieldUpdateOperationsInput | string + fileType?: StringFieldUpdateOperationsInput | string + filePath?: StringFieldUpdateOperationsInput | string + fileSize?: IntFieldUpdateOperationsInput | number + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + storageProvider?: NullableStringFieldUpdateOperationsInput | string | null + storageKey?: StringFieldUpdateOperationsInput | string + task?: TaskUpdateOneRequiredWithoutAttachmentsNestedInput + uploader?: UserUpdateOneRequiredWithoutTaskAttachmentsNestedInput + } + + export type TaskAttachmentUncheckedUpdateInput = { + id?: StringFieldUpdateOperationsInput | string + taskId?: StringFieldUpdateOperationsInput | string + fileName?: StringFieldUpdateOperationsInput | string + fileType?: StringFieldUpdateOperationsInput | string + filePath?: StringFieldUpdateOperationsInput | string + fileSize?: IntFieldUpdateOperationsInput | number + uploadedBy?: StringFieldUpdateOperationsInput | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + storageProvider?: NullableStringFieldUpdateOperationsInput | string | null + storageKey?: StringFieldUpdateOperationsInput | string + } + + export type TaskAttachmentCreateManyInput = { + id?: string + taskId: string + fileName: string + fileType: string + filePath: string + fileSize: number + uploadedBy: string + createdAt?: Date | string + storageProvider?: string | null + storageKey: string + } + + export type TaskAttachmentUpdateManyMutationInput = { + id?: StringFieldUpdateOperationsInput | string + fileName?: StringFieldUpdateOperationsInput | string + fileType?: StringFieldUpdateOperationsInput | string + filePath?: StringFieldUpdateOperationsInput | string + fileSize?: IntFieldUpdateOperationsInput | number + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + storageProvider?: NullableStringFieldUpdateOperationsInput | string | null + storageKey?: StringFieldUpdateOperationsInput | string + } + + export type TaskAttachmentUncheckedUpdateManyInput = { + id?: StringFieldUpdateOperationsInput | string + taskId?: StringFieldUpdateOperationsInput | string + fileName?: StringFieldUpdateOperationsInput | string + fileType?: StringFieldUpdateOperationsInput | string + filePath?: StringFieldUpdateOperationsInput | string + fileSize?: IntFieldUpdateOperationsInput | number + uploadedBy?: StringFieldUpdateOperationsInput | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + storageProvider?: NullableStringFieldUpdateOperationsInput | string | null + storageKey?: StringFieldUpdateOperationsInput | string + } + + export type TaskDependencyCreateInput = { + id?: string + dependencyType: $Enums.DependencyType + description?: string | null + task: TaskCreateNestedOneWithoutDependentOnInput + dependentTask: TaskCreateNestedOneWithoutDependenciesInput + } + + export type TaskDependencyUncheckedCreateInput = { + id?: string + taskId: string + dependentTaskId: string + dependencyType: $Enums.DependencyType + description?: string | null + } + + export type TaskDependencyUpdateInput = { + id?: StringFieldUpdateOperationsInput | string + dependencyType?: EnumDependencyTypeFieldUpdateOperationsInput | $Enums.DependencyType + description?: NullableStringFieldUpdateOperationsInput | string | null + task?: TaskUpdateOneRequiredWithoutDependentOnNestedInput + dependentTask?: TaskUpdateOneRequiredWithoutDependenciesNestedInput + } + + export type TaskDependencyUncheckedUpdateInput = { + id?: StringFieldUpdateOperationsInput | string + taskId?: StringFieldUpdateOperationsInput | string + dependentTaskId?: StringFieldUpdateOperationsInput | string + dependencyType?: EnumDependencyTypeFieldUpdateOperationsInput | $Enums.DependencyType + description?: NullableStringFieldUpdateOperationsInput | string | null + } + + export type TaskDependencyCreateManyInput = { + id?: string + taskId: string + dependentTaskId: string + dependencyType: $Enums.DependencyType + description?: string | null + } + + export type TaskDependencyUpdateManyMutationInput = { + id?: StringFieldUpdateOperationsInput | string + dependencyType?: EnumDependencyTypeFieldUpdateOperationsInput | $Enums.DependencyType + description?: NullableStringFieldUpdateOperationsInput | string | null + } + + export type TaskDependencyUncheckedUpdateManyInput = { + id?: StringFieldUpdateOperationsInput | string + taskId?: StringFieldUpdateOperationsInput | string + dependentTaskId?: StringFieldUpdateOperationsInput | string + dependencyType?: EnumDependencyTypeFieldUpdateOperationsInput | $Enums.DependencyType + description?: NullableStringFieldUpdateOperationsInput | string | null + } + + export type TaskTemplateCreateInput = { + id?: string + name: string + description?: string | null + priority: $Enums.TaskPriority + estimatedTime?: number | null + createdBy: string + createdAt?: Date | string + updatedAt?: Date | string + checklist?: NullableJsonNullValueInput | InputJsonValue + labels?: TaskTemplateCreatelabelsInput | string[] + isPublic?: boolean + organization: OrganizationCreateNestedOneWithoutTemplatesInput + } + + export type TaskTemplateUncheckedCreateInput = { + id?: string + name: string + description?: string | null + priority: $Enums.TaskPriority + estimatedTime?: number | null + organizationId: string + createdBy: string + createdAt?: Date | string + updatedAt?: Date | string + checklist?: NullableJsonNullValueInput | InputJsonValue + labels?: TaskTemplateCreatelabelsInput | string[] + isPublic?: boolean + } + + export type TaskTemplateUpdateInput = { + id?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + priority?: EnumTaskPriorityFieldUpdateOperationsInput | $Enums.TaskPriority + estimatedTime?: NullableFloatFieldUpdateOperationsInput | number | null + createdBy?: StringFieldUpdateOperationsInput | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + checklist?: NullableJsonNullValueInput | InputJsonValue + labels?: TaskTemplateUpdatelabelsInput | string[] + isPublic?: BoolFieldUpdateOperationsInput | boolean + organization?: OrganizationUpdateOneRequiredWithoutTemplatesNestedInput + } + + export type TaskTemplateUncheckedUpdateInput = { + id?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + priority?: EnumTaskPriorityFieldUpdateOperationsInput | $Enums.TaskPriority + estimatedTime?: NullableFloatFieldUpdateOperationsInput | number | null + organizationId?: StringFieldUpdateOperationsInput | string + createdBy?: StringFieldUpdateOperationsInput | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + checklist?: NullableJsonNullValueInput | InputJsonValue + labels?: TaskTemplateUpdatelabelsInput | string[] + isPublic?: BoolFieldUpdateOperationsInput | boolean + } + + export type TaskTemplateCreateManyInput = { + id?: string + name: string + description?: string | null + priority: $Enums.TaskPriority + estimatedTime?: number | null + organizationId: string + createdBy: string + createdAt?: Date | string + updatedAt?: Date | string + checklist?: NullableJsonNullValueInput | InputJsonValue + labels?: TaskTemplateCreatelabelsInput | string[] + isPublic?: boolean + } + + export type TaskTemplateUpdateManyMutationInput = { + id?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + priority?: EnumTaskPriorityFieldUpdateOperationsInput | $Enums.TaskPriority + estimatedTime?: NullableFloatFieldUpdateOperationsInput | number | null + createdBy?: StringFieldUpdateOperationsInput | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + checklist?: NullableJsonNullValueInput | InputJsonValue + labels?: TaskTemplateUpdatelabelsInput | string[] + isPublic?: BoolFieldUpdateOperationsInput | boolean + } + + export type TaskTemplateUncheckedUpdateManyInput = { + id?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + priority?: EnumTaskPriorityFieldUpdateOperationsInput | $Enums.TaskPriority + estimatedTime?: NullableFloatFieldUpdateOperationsInput | number | null + organizationId?: StringFieldUpdateOperationsInput | string + createdBy?: StringFieldUpdateOperationsInput | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + checklist?: NullableJsonNullValueInput | InputJsonValue + labels?: TaskTemplateUpdatelabelsInput | string[] + isPublic?: BoolFieldUpdateOperationsInput | boolean + } + + export type TimelogCreateInput = { + id?: string + startTime: Date | string + endTime: Date | string + description?: string | null + task: TaskCreateNestedOneWithoutTimelogsInput + user: UserCreateNestedOneWithoutTimelogsInput + } + + export type TimelogUncheckedCreateInput = { + id?: string + taskId: string + userId: string + startTime: Date | string + endTime: Date | string + description?: string | null + } + + export type TimelogUpdateInput = { + id?: StringFieldUpdateOperationsInput | string + startTime?: DateTimeFieldUpdateOperationsInput | Date | string + endTime?: DateTimeFieldUpdateOperationsInput | Date | string + description?: NullableStringFieldUpdateOperationsInput | string | null + task?: TaskUpdateOneRequiredWithoutTimelogsNestedInput + user?: UserUpdateOneRequiredWithoutTimelogsNestedInput + } + + export type TimelogUncheckedUpdateInput = { + id?: StringFieldUpdateOperationsInput | string + taskId?: StringFieldUpdateOperationsInput | string + userId?: StringFieldUpdateOperationsInput | string + startTime?: DateTimeFieldUpdateOperationsInput | Date | string + endTime?: DateTimeFieldUpdateOperationsInput | Date | string + description?: NullableStringFieldUpdateOperationsInput | string | null + } + + export type TimelogCreateManyInput = { + id?: string + taskId: string + userId: string + startTime: Date | string + endTime: Date | string + description?: string | null + } + + export type TimelogUpdateManyMutationInput = { + id?: StringFieldUpdateOperationsInput | string + startTime?: DateTimeFieldUpdateOperationsInput | Date | string + endTime?: DateTimeFieldUpdateOperationsInput | Date | string + description?: NullableStringFieldUpdateOperationsInput | string | null + } + + export type TimelogUncheckedUpdateManyInput = { + id?: StringFieldUpdateOperationsInput | string + taskId?: StringFieldUpdateOperationsInput | string + userId?: StringFieldUpdateOperationsInput | string + startTime?: DateTimeFieldUpdateOperationsInput | Date | string + endTime?: DateTimeFieldUpdateOperationsInput | Date | string + description?: NullableStringFieldUpdateOperationsInput | string | null + } + + export type CommentCreateInput = { + id?: string + content: string + createdAt?: Date | string + updatedAt?: Date | string + task: TaskCreateNestedOneWithoutCommentsInput + user: UserCreateNestedOneWithoutCommentsInput + } + + export type CommentUncheckedCreateInput = { + id?: string + taskId: string + userId: string + content: string + createdAt?: Date | string + updatedAt?: Date | string + } + + export type CommentUpdateInput = { + id?: StringFieldUpdateOperationsInput | string + content?: StringFieldUpdateOperationsInput | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + task?: TaskUpdateOneRequiredWithoutCommentsNestedInput + user?: UserUpdateOneRequiredWithoutCommentsNestedInput + } + + export type CommentUncheckedUpdateInput = { + id?: StringFieldUpdateOperationsInput | string + taskId?: StringFieldUpdateOperationsInput | string + userId?: StringFieldUpdateOperationsInput | string + content?: StringFieldUpdateOperationsInput | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + } + + export type CommentCreateManyInput = { + id?: string + taskId: string + userId: string + content: string + createdAt?: Date | string + updatedAt?: Date | string + } + + export type CommentUpdateManyMutationInput = { + id?: StringFieldUpdateOperationsInput | string + content?: StringFieldUpdateOperationsInput | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + } + + export type CommentUncheckedUpdateManyInput = { + id?: StringFieldUpdateOperationsInput | string + taskId?: StringFieldUpdateOperationsInput | string + userId?: StringFieldUpdateOperationsInput | string + content?: StringFieldUpdateOperationsInput | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + } + + export type ActivityLogCreateInput = { + id?: string + entityType: $Enums.EntityType + action: $Enums.ActionType + details?: NullableJsonNullValueInput | InputJsonValue + createdAt?: Date | string + user: UserCreateNestedOneWithoutActivityLogsInput + organization?: OrganizationCreateNestedOneWithoutActivityLogsInput + department?: DepartmentCreateNestedOneWithoutActivityLogsInput + project?: ProjectCreateNestedOneWithoutActivityLogsInput + team?: TeamCreateNestedOneWithoutActivityLogsInput + sprint?: SprintCreateNestedOneWithoutActivityLogsInput + task?: TaskCreateNestedOneWithoutActivityLogsInput + } + + export type ActivityLogUncheckedCreateInput = { + id?: string + entityType: $Enums.EntityType + action: $Enums.ActionType + userId: string + organizationId?: string | null + departmentId?: string | null + projectId?: string | null + teamId?: string | null + sprintId?: string | null + taskId: string + details?: NullableJsonNullValueInput | InputJsonValue + createdAt?: Date | string + } + + export type ActivityLogUpdateInput = { + id?: StringFieldUpdateOperationsInput | string + entityType?: EnumEntityTypeFieldUpdateOperationsInput | $Enums.EntityType + action?: EnumActionTypeFieldUpdateOperationsInput | $Enums.ActionType + details?: NullableJsonNullValueInput | InputJsonValue + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + user?: UserUpdateOneRequiredWithoutActivityLogsNestedInput + organization?: OrganizationUpdateOneWithoutActivityLogsNestedInput + department?: DepartmentUpdateOneWithoutActivityLogsNestedInput + project?: ProjectUpdateOneWithoutActivityLogsNestedInput + team?: TeamUpdateOneWithoutActivityLogsNestedInput + sprint?: SprintUpdateOneWithoutActivityLogsNestedInput + task?: TaskUpdateOneWithoutActivityLogsNestedInput + } + + export type ActivityLogUncheckedUpdateInput = { + id?: StringFieldUpdateOperationsInput | string + entityType?: EnumEntityTypeFieldUpdateOperationsInput | $Enums.EntityType + action?: EnumActionTypeFieldUpdateOperationsInput | $Enums.ActionType + userId?: StringFieldUpdateOperationsInput | string + organizationId?: NullableStringFieldUpdateOperationsInput | string | null + departmentId?: NullableStringFieldUpdateOperationsInput | string | null + projectId?: NullableStringFieldUpdateOperationsInput | string | null + teamId?: NullableStringFieldUpdateOperationsInput | string | null + sprintId?: NullableStringFieldUpdateOperationsInput | string | null + taskId?: StringFieldUpdateOperationsInput | string + details?: NullableJsonNullValueInput | InputJsonValue + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + } + + export type ActivityLogCreateManyInput = { + id?: string + entityType: $Enums.EntityType + action: $Enums.ActionType + userId: string + organizationId?: string | null + departmentId?: string | null + projectId?: string | null + teamId?: string | null + sprintId?: string | null + taskId: string + details?: NullableJsonNullValueInput | InputJsonValue + createdAt?: Date | string + } + + export type ActivityLogUpdateManyMutationInput = { + id?: StringFieldUpdateOperationsInput | string + entityType?: EnumEntityTypeFieldUpdateOperationsInput | $Enums.EntityType + action?: EnumActionTypeFieldUpdateOperationsInput | $Enums.ActionType + details?: NullableJsonNullValueInput | InputJsonValue + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + } + + export type ActivityLogUncheckedUpdateManyInput = { + id?: StringFieldUpdateOperationsInput | string + entityType?: EnumEntityTypeFieldUpdateOperationsInput | $Enums.EntityType + action?: EnumActionTypeFieldUpdateOperationsInput | $Enums.ActionType + userId?: StringFieldUpdateOperationsInput | string + organizationId?: NullableStringFieldUpdateOperationsInput | string | null + departmentId?: NullableStringFieldUpdateOperationsInput | string | null + projectId?: NullableStringFieldUpdateOperationsInput | string | null + teamId?: NullableStringFieldUpdateOperationsInput | string | null + sprintId?: NullableStringFieldUpdateOperationsInput | string | null + taskId?: StringFieldUpdateOperationsInput | string + details?: NullableJsonNullValueInput | InputJsonValue + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + } + + export type NotificationCreateInput = { + id?: string + content: string + isRead?: boolean + type: string + metadata?: NullableJsonNullValueInput | InputJsonValue + createdAt?: Date | string + deletedAt?: Date | string | null + entityType?: string | null + entityId?: string | null + user: UserCreateNestedOneWithoutNotificationsInput + } + + export type NotificationUncheckedCreateInput = { + id?: string + userId: string + content: string + isRead?: boolean + type: string + metadata?: NullableJsonNullValueInput | InputJsonValue + createdAt?: Date | string + deletedAt?: Date | string | null + entityType?: string | null + entityId?: string | null + } + + export type NotificationUpdateInput = { + id?: StringFieldUpdateOperationsInput | string + content?: StringFieldUpdateOperationsInput | string + isRead?: BoolFieldUpdateOperationsInput | boolean + type?: StringFieldUpdateOperationsInput | string + metadata?: NullableJsonNullValueInput | InputJsonValue + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + entityType?: NullableStringFieldUpdateOperationsInput | string | null + entityId?: NullableStringFieldUpdateOperationsInput | string | null + user?: UserUpdateOneRequiredWithoutNotificationsNestedInput + } + + export type NotificationUncheckedUpdateInput = { + id?: StringFieldUpdateOperationsInput | string + userId?: StringFieldUpdateOperationsInput | string + content?: StringFieldUpdateOperationsInput | string + isRead?: BoolFieldUpdateOperationsInput | boolean + type?: StringFieldUpdateOperationsInput | string + metadata?: NullableJsonNullValueInput | InputJsonValue + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + entityType?: NullableStringFieldUpdateOperationsInput | string | null + entityId?: NullableStringFieldUpdateOperationsInput | string | null + } + + export type NotificationCreateManyInput = { + id?: string + userId: string + content: string + isRead?: boolean + type: string + metadata?: NullableJsonNullValueInput | InputJsonValue + createdAt?: Date | string + deletedAt?: Date | string | null + entityType?: string | null + entityId?: string | null + } + + export type NotificationUpdateManyMutationInput = { + id?: StringFieldUpdateOperationsInput | string + content?: StringFieldUpdateOperationsInput | string + isRead?: BoolFieldUpdateOperationsInput | boolean + type?: StringFieldUpdateOperationsInput | string + metadata?: NullableJsonNullValueInput | InputJsonValue + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + entityType?: NullableStringFieldUpdateOperationsInput | string | null + entityId?: NullableStringFieldUpdateOperationsInput | string | null + } + + export type NotificationUncheckedUpdateManyInput = { + id?: StringFieldUpdateOperationsInput | string + userId?: StringFieldUpdateOperationsInput | string + content?: StringFieldUpdateOperationsInput | string + isRead?: BoolFieldUpdateOperationsInput | boolean + type?: StringFieldUpdateOperationsInput | string + metadata?: NullableJsonNullValueInput | InputJsonValue + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + entityType?: NullableStringFieldUpdateOperationsInput | string | null + entityId?: NullableStringFieldUpdateOperationsInput | string | null + } + + export type ReportCreateInput = { + id?: string + name: string + description?: string | null + reportType: $Enums.ReportType + format: string + parameters?: NullableJsonNullValueInput | InputJsonValue + filePath: string + createdAt?: Date | string + status?: $Enums.ReportStatus + updatedAt?: Date | string + lastAccessedAt?: Date | string | null + expiresAt?: Date | string | null + tags?: string | null + storageProvider?: string | null + storageKey: string + generator: UserCreateNestedOneWithoutGeneratedReportsInput + organization?: OrganizationCreateNestedOneWithoutReportsInput + team?: TeamCreateNestedOneWithoutReportsInput + project?: ProjectCreateNestedOneWithoutReportsInput + department?: DepartmentCreateNestedOneWithoutReportInput + user?: UserCreateNestedOneWithoutUserReportsInput + reportSchedule?: ReportScheduleCreateNestedOneWithoutReportsInput + notifiedUsers?: ReportNotificationCreateNestedManyWithoutReportInput + } + + export type ReportUncheckedCreateInput = { + id?: string + name: string + description?: string | null + reportType: $Enums.ReportType + format: string + parameters?: NullableJsonNullValueInput | InputJsonValue + filePath: string + generatedBy: string + createdAt?: Date | string + status?: $Enums.ReportStatus + updatedAt?: Date | string + lastAccessedAt?: Date | string | null + expiresAt?: Date | string | null + tags?: string | null + organizationId?: string | null + teamId?: string | null + projectId?: string | null + departmentId?: string | null + userId?: string | null + scheduleId?: string | null + storageProvider?: string | null + storageKey: string + notifiedUsers?: ReportNotificationUncheckedCreateNestedManyWithoutReportInput + } + + export type ReportUpdateInput = { + id?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + reportType?: EnumReportTypeFieldUpdateOperationsInput | $Enums.ReportType + format?: StringFieldUpdateOperationsInput | string + parameters?: NullableJsonNullValueInput | InputJsonValue + filePath?: StringFieldUpdateOperationsInput | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + status?: EnumReportStatusFieldUpdateOperationsInput | $Enums.ReportStatus + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + lastAccessedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + expiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + tags?: NullableStringFieldUpdateOperationsInput | string | null + storageProvider?: NullableStringFieldUpdateOperationsInput | string | null + storageKey?: StringFieldUpdateOperationsInput | string + generator?: UserUpdateOneRequiredWithoutGeneratedReportsNestedInput + organization?: OrganizationUpdateOneWithoutReportsNestedInput + team?: TeamUpdateOneWithoutReportsNestedInput + project?: ProjectUpdateOneWithoutReportsNestedInput + department?: DepartmentUpdateOneWithoutReportNestedInput + user?: UserUpdateOneWithoutUserReportsNestedInput + reportSchedule?: ReportScheduleUpdateOneWithoutReportsNestedInput + notifiedUsers?: ReportNotificationUpdateManyWithoutReportNestedInput + } + + export type ReportUncheckedUpdateInput = { + id?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + reportType?: EnumReportTypeFieldUpdateOperationsInput | $Enums.ReportType + format?: StringFieldUpdateOperationsInput | string + parameters?: NullableJsonNullValueInput | InputJsonValue + filePath?: StringFieldUpdateOperationsInput | string + generatedBy?: StringFieldUpdateOperationsInput | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + status?: EnumReportStatusFieldUpdateOperationsInput | $Enums.ReportStatus + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + lastAccessedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + expiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + tags?: NullableStringFieldUpdateOperationsInput | string | null + organizationId?: NullableStringFieldUpdateOperationsInput | string | null + teamId?: NullableStringFieldUpdateOperationsInput | string | null + projectId?: NullableStringFieldUpdateOperationsInput | string | null + departmentId?: NullableStringFieldUpdateOperationsInput | string | null + userId?: NullableStringFieldUpdateOperationsInput | string | null + scheduleId?: NullableStringFieldUpdateOperationsInput | string | null + storageProvider?: NullableStringFieldUpdateOperationsInput | string | null + storageKey?: StringFieldUpdateOperationsInput | string + notifiedUsers?: ReportNotificationUncheckedUpdateManyWithoutReportNestedInput + } + + export type ReportCreateManyInput = { + id?: string + name: string + description?: string | null + reportType: $Enums.ReportType + format: string + parameters?: NullableJsonNullValueInput | InputJsonValue + filePath: string + generatedBy: string + createdAt?: Date | string + status?: $Enums.ReportStatus + updatedAt?: Date | string + lastAccessedAt?: Date | string | null + expiresAt?: Date | string | null + tags?: string | null + organizationId?: string | null + teamId?: string | null + projectId?: string | null + departmentId?: string | null + userId?: string | null + scheduleId?: string | null + storageProvider?: string | null + storageKey: string + } + + export type ReportUpdateManyMutationInput = { + id?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + reportType?: EnumReportTypeFieldUpdateOperationsInput | $Enums.ReportType + format?: StringFieldUpdateOperationsInput | string + parameters?: NullableJsonNullValueInput | InputJsonValue + filePath?: StringFieldUpdateOperationsInput | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + status?: EnumReportStatusFieldUpdateOperationsInput | $Enums.ReportStatus + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + lastAccessedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + expiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + tags?: NullableStringFieldUpdateOperationsInput | string | null + storageProvider?: NullableStringFieldUpdateOperationsInput | string | null + storageKey?: StringFieldUpdateOperationsInput | string + } + + export type ReportUncheckedUpdateManyInput = { + id?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + reportType?: EnumReportTypeFieldUpdateOperationsInput | $Enums.ReportType + format?: StringFieldUpdateOperationsInput | string + parameters?: NullableJsonNullValueInput | InputJsonValue + filePath?: StringFieldUpdateOperationsInput | string + generatedBy?: StringFieldUpdateOperationsInput | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + status?: EnumReportStatusFieldUpdateOperationsInput | $Enums.ReportStatus + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + lastAccessedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + expiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + tags?: NullableStringFieldUpdateOperationsInput | string | null + organizationId?: NullableStringFieldUpdateOperationsInput | string | null + teamId?: NullableStringFieldUpdateOperationsInput | string | null + projectId?: NullableStringFieldUpdateOperationsInput | string | null + departmentId?: NullableStringFieldUpdateOperationsInput | string | null + userId?: NullableStringFieldUpdateOperationsInput | string | null + scheduleId?: NullableStringFieldUpdateOperationsInput | string | null + storageProvider?: NullableStringFieldUpdateOperationsInput | string | null + storageKey?: StringFieldUpdateOperationsInput | string + } + + export type ReportScheduleCreateInput = { + id?: string + name: string + cronExpression: string + isActive?: boolean + createdAt?: Date | string + createdBy: string + reports?: ReportCreateNestedManyWithoutReportScheduleInput + } + + export type ReportScheduleUncheckedCreateInput = { + id?: string + name: string + cronExpression: string + isActive?: boolean + createdAt?: Date | string + createdBy: string + reports?: ReportUncheckedCreateNestedManyWithoutReportScheduleInput + } + + export type ReportScheduleUpdateInput = { + id?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string + cronExpression?: StringFieldUpdateOperationsInput | string + isActive?: BoolFieldUpdateOperationsInput | boolean + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + createdBy?: StringFieldUpdateOperationsInput | string + reports?: ReportUpdateManyWithoutReportScheduleNestedInput + } + + export type ReportScheduleUncheckedUpdateInput = { + id?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string + cronExpression?: StringFieldUpdateOperationsInput | string + isActive?: BoolFieldUpdateOperationsInput | boolean + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + createdBy?: StringFieldUpdateOperationsInput | string + reports?: ReportUncheckedUpdateManyWithoutReportScheduleNestedInput + } + + export type ReportScheduleCreateManyInput = { + id?: string + name: string + cronExpression: string + isActive?: boolean + createdAt?: Date | string + createdBy: string + } + + export type ReportScheduleUpdateManyMutationInput = { + id?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string + cronExpression?: StringFieldUpdateOperationsInput | string + isActive?: BoolFieldUpdateOperationsInput | boolean + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + createdBy?: StringFieldUpdateOperationsInput | string + } + + export type ReportScheduleUncheckedUpdateManyInput = { + id?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string + cronExpression?: StringFieldUpdateOperationsInput | string + isActive?: BoolFieldUpdateOperationsInput | boolean + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + createdBy?: StringFieldUpdateOperationsInput | string + } + + export type ReportNotificationCreateInput = { + id?: string + notified?: boolean + report: ReportCreateNestedOneWithoutNotifiedUsersInput + user: UserCreateNestedOneWithoutReportNotificationInput + } + + export type ReportNotificationUncheckedCreateInput = { + id?: string + reportId: string + userId: string + notified?: boolean + } + + export type ReportNotificationUpdateInput = { + id?: StringFieldUpdateOperationsInput | string + notified?: BoolFieldUpdateOperationsInput | boolean + report?: ReportUpdateOneRequiredWithoutNotifiedUsersNestedInput + user?: UserUpdateOneRequiredWithoutReportNotificationNestedInput + } + + export type ReportNotificationUncheckedUpdateInput = { + id?: StringFieldUpdateOperationsInput | string + reportId?: StringFieldUpdateOperationsInput | string + userId?: StringFieldUpdateOperationsInput | string + notified?: BoolFieldUpdateOperationsInput | boolean + } + + export type ReportNotificationCreateManyInput = { + id?: string + reportId: string + userId: string + notified?: boolean + } + + export type ReportNotificationUpdateManyMutationInput = { + id?: StringFieldUpdateOperationsInput | string + notified?: BoolFieldUpdateOperationsInput | boolean + } + + export type ReportNotificationUncheckedUpdateManyInput = { + id?: StringFieldUpdateOperationsInput | string + reportId?: StringFieldUpdateOperationsInput | string + userId?: StringFieldUpdateOperationsInput | string + notified?: BoolFieldUpdateOperationsInput | boolean + } + + export type PermissionCreateInput = { + id?: string + entityType: string + entityId: string + permissions: JsonNullValueInput | InputJsonValue + createdAt?: Date | string + updatedAt?: Date | string + user: UserCreateNestedOneWithoutPermissionsInput + } + + export type PermissionUncheckedCreateInput = { + id?: string + userId: string + entityType: string + entityId: string + permissions: JsonNullValueInput | InputJsonValue + createdAt?: Date | string + updatedAt?: Date | string + } + export type PermissionUpdateInput = { + id?: StringFieldUpdateOperationsInput | string + entityType?: StringFieldUpdateOperationsInput | string + entityId?: StringFieldUpdateOperationsInput | string + permissions?: JsonNullValueInput | InputJsonValue + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + user?: UserUpdateOneRequiredWithoutPermissionsNestedInput + } - export const SprintScalarFieldEnum: { - id: 'id', - projectId: 'projectId', - name: 'name', - description: 'description', - startDate: 'startDate', - endDate: 'endDate', - status: 'status', - goal: 'goal', - order: 'order' - }; + export type PermissionUncheckedUpdateInput = { + id?: StringFieldUpdateOperationsInput | string + userId?: StringFieldUpdateOperationsInput | string + entityType?: StringFieldUpdateOperationsInput | string + entityId?: StringFieldUpdateOperationsInput | string + permissions?: JsonNullValueInput | InputJsonValue + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + } - export type SprintScalarFieldEnum = (typeof SprintScalarFieldEnum)[keyof typeof SprintScalarFieldEnum] + export type PermissionCreateManyInput = { + id?: string + userId: string + entityType: string + entityId: string + permissions: JsonNullValueInput | InputJsonValue + createdAt?: Date | string + updatedAt?: Date | string + } + export type PermissionUpdateManyMutationInput = { + id?: StringFieldUpdateOperationsInput | string + entityType?: StringFieldUpdateOperationsInput | string + entityId?: StringFieldUpdateOperationsInput | string + permissions?: JsonNullValueInput | InputJsonValue + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + } - export const TaskScalarFieldEnum: { - id: 'id', - title: 'title', - description: 'description', - priority: 'priority', - status: 'status', - rate: 'rate', - projectId: 'projectId', - sprintId: 'sprintId', - createdBy: 'createdBy', - assignedTo: 'assignedTo', - dueDate: 'dueDate', - createdAt: 'createdAt', - updatedAt: 'updatedAt', - deletedAt: 'deletedAt', - estimatedTime: 'estimatedTime', - actualTime: 'actualTime', - parentId: 'parentId', - order: 'order', - labels: 'labels', - lastModifiedBy: 'lastModifiedBy' - }; + export type PermissionUncheckedUpdateManyInput = { + id?: StringFieldUpdateOperationsInput | string + userId?: StringFieldUpdateOperationsInput | string + entityType?: StringFieldUpdateOperationsInput | string + entityId?: StringFieldUpdateOperationsInput | string + permissions?: JsonNullValueInput | InputJsonValue + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + } - export type TaskScalarFieldEnum = (typeof TaskScalarFieldEnum)[keyof typeof TaskScalarFieldEnum] + export type ChatRoomCreateInput = { + id?: string + name: string + description?: string | null + type: $Enums.ChatRoomType + entityType: $Enums.EntityType + entityId: string + createdAt?: Date | string + updatedAt?: Date | string + isActive?: boolean + isArchived?: boolean + archivedAt?: Date | string | null + avatarUrl?: string | null + lastMessageAt?: Date | string | null + messages?: ChatMessageCreateNestedManyWithoutChatRoomInput + participants?: ChatParticipantCreateNestedManyWithoutChatRoomInput + pinnedMessages?: PinnedMessageCreateNestedManyWithoutChatRoomInput + videoSessions?: VideoConferenceSessionCreateNestedManyWithoutChatRoomInput + } + export type ChatRoomUncheckedCreateInput = { + id?: string + name: string + description?: string | null + type: $Enums.ChatRoomType + entityType: $Enums.EntityType + entityId: string + createdAt?: Date | string + updatedAt?: Date | string + isActive?: boolean + isArchived?: boolean + archivedAt?: Date | string | null + avatarUrl?: string | null + lastMessageAt?: Date | string | null + messages?: ChatMessageUncheckedCreateNestedManyWithoutChatRoomInput + participants?: ChatParticipantUncheckedCreateNestedManyWithoutChatRoomInput + pinnedMessages?: PinnedMessageUncheckedCreateNestedManyWithoutChatRoomInput + videoSessions?: VideoConferenceSessionUncheckedCreateNestedManyWithoutChatRoomInput + } - export const TaskAttachmentScalarFieldEnum: { - id: 'id', - taskId: 'taskId', - fileName: 'fileName', - fileType: 'fileType', - filePath: 'filePath', - fileSize: 'fileSize', - uploadedBy: 'uploadedBy', - createdAt: 'createdAt', - storageProvider: 'storageProvider', - storageKey: 'storageKey' - }; + export type ChatRoomUpdateInput = { + id?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + type?: EnumChatRoomTypeFieldUpdateOperationsInput | $Enums.ChatRoomType + entityType?: EnumEntityTypeFieldUpdateOperationsInput | $Enums.EntityType + entityId?: StringFieldUpdateOperationsInput | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + isActive?: BoolFieldUpdateOperationsInput | boolean + isArchived?: BoolFieldUpdateOperationsInput | boolean + archivedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + avatarUrl?: NullableStringFieldUpdateOperationsInput | string | null + lastMessageAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + messages?: ChatMessageUpdateManyWithoutChatRoomNestedInput + participants?: ChatParticipantUpdateManyWithoutChatRoomNestedInput + pinnedMessages?: PinnedMessageUpdateManyWithoutChatRoomNestedInput + videoSessions?: VideoConferenceSessionUpdateManyWithoutChatRoomNestedInput + } - export type TaskAttachmentScalarFieldEnum = (typeof TaskAttachmentScalarFieldEnum)[keyof typeof TaskAttachmentScalarFieldEnum] + export type ChatRoomUncheckedUpdateInput = { + id?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + type?: EnumChatRoomTypeFieldUpdateOperationsInput | $Enums.ChatRoomType + entityType?: EnumEntityTypeFieldUpdateOperationsInput | $Enums.EntityType + entityId?: StringFieldUpdateOperationsInput | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + isActive?: BoolFieldUpdateOperationsInput | boolean + isArchived?: BoolFieldUpdateOperationsInput | boolean + archivedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + avatarUrl?: NullableStringFieldUpdateOperationsInput | string | null + lastMessageAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + messages?: ChatMessageUncheckedUpdateManyWithoutChatRoomNestedInput + participants?: ChatParticipantUncheckedUpdateManyWithoutChatRoomNestedInput + pinnedMessages?: PinnedMessageUncheckedUpdateManyWithoutChatRoomNestedInput + videoSessions?: VideoConferenceSessionUncheckedUpdateManyWithoutChatRoomNestedInput + } + export type ChatRoomCreateManyInput = { + id?: string + name: string + description?: string | null + type: $Enums.ChatRoomType + entityType: $Enums.EntityType + entityId: string + createdAt?: Date | string + updatedAt?: Date | string + isActive?: boolean + isArchived?: boolean + archivedAt?: Date | string | null + avatarUrl?: string | null + lastMessageAt?: Date | string | null + } - export const TaskDependencyScalarFieldEnum: { - id: 'id', - taskId: 'taskId', - dependentTaskId: 'dependentTaskId', - dependencyType: 'dependencyType', - description: 'description' - }; + export type ChatRoomUpdateManyMutationInput = { + id?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + type?: EnumChatRoomTypeFieldUpdateOperationsInput | $Enums.ChatRoomType + entityType?: EnumEntityTypeFieldUpdateOperationsInput | $Enums.EntityType + entityId?: StringFieldUpdateOperationsInput | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + isActive?: BoolFieldUpdateOperationsInput | boolean + isArchived?: BoolFieldUpdateOperationsInput | boolean + archivedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + avatarUrl?: NullableStringFieldUpdateOperationsInput | string | null + lastMessageAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + } - export type TaskDependencyScalarFieldEnum = (typeof TaskDependencyScalarFieldEnum)[keyof typeof TaskDependencyScalarFieldEnum] + export type ChatRoomUncheckedUpdateManyInput = { + id?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + type?: EnumChatRoomTypeFieldUpdateOperationsInput | $Enums.ChatRoomType + entityType?: EnumEntityTypeFieldUpdateOperationsInput | $Enums.EntityType + entityId?: StringFieldUpdateOperationsInput | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + isActive?: BoolFieldUpdateOperationsInput | boolean + isArchived?: BoolFieldUpdateOperationsInput | boolean + archivedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + avatarUrl?: NullableStringFieldUpdateOperationsInput | string | null + lastMessageAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + } + export type ChatParticipantCreateInput = { + id?: string + joinedAt?: Date | string + lastReadAt?: Date | string | null + isAdmin?: boolean + notificationsOn?: boolean + status?: $Enums.ParticipantStatus + chatRoom: ChatRoomCreateNestedOneWithoutParticipantsInput + user: UserCreateNestedOneWithoutChatParticipationsInput + lastReadMessage?: ChatMessageCreateNestedOneWithoutReadByInput + } - export const TaskTemplateScalarFieldEnum: { - id: 'id', - name: 'name', - description: 'description', - priority: 'priority', - estimatedTime: 'estimatedTime', - organizationId: 'organizationId', - createdBy: 'createdBy', - createdAt: 'createdAt', - updatedAt: 'updatedAt', - checklist: 'checklist', - labels: 'labels', - isPublic: 'isPublic' - }; + export type ChatParticipantUncheckedCreateInput = { + id?: string + chatRoomId: string + userId: string + joinedAt?: Date | string + lastReadMessageId?: string | null + lastReadAt?: Date | string | null + isAdmin?: boolean + notificationsOn?: boolean + status?: $Enums.ParticipantStatus + } - export type TaskTemplateScalarFieldEnum = (typeof TaskTemplateScalarFieldEnum)[keyof typeof TaskTemplateScalarFieldEnum] + export type ChatParticipantUpdateInput = { + id?: StringFieldUpdateOperationsInput | string + joinedAt?: DateTimeFieldUpdateOperationsInput | Date | string + lastReadAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + isAdmin?: BoolFieldUpdateOperationsInput | boolean + notificationsOn?: BoolFieldUpdateOperationsInput | boolean + status?: EnumParticipantStatusFieldUpdateOperationsInput | $Enums.ParticipantStatus + chatRoom?: ChatRoomUpdateOneRequiredWithoutParticipantsNestedInput + user?: UserUpdateOneRequiredWithoutChatParticipationsNestedInput + lastReadMessage?: ChatMessageUpdateOneWithoutReadByNestedInput + } + export type ChatParticipantUncheckedUpdateInput = { + id?: StringFieldUpdateOperationsInput | string + chatRoomId?: StringFieldUpdateOperationsInput | string + userId?: StringFieldUpdateOperationsInput | string + joinedAt?: DateTimeFieldUpdateOperationsInput | Date | string + lastReadMessageId?: NullableStringFieldUpdateOperationsInput | string | null + lastReadAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + isAdmin?: BoolFieldUpdateOperationsInput | boolean + notificationsOn?: BoolFieldUpdateOperationsInput | boolean + status?: EnumParticipantStatusFieldUpdateOperationsInput | $Enums.ParticipantStatus + } - export const TimelogScalarFieldEnum: { - id: 'id', - taskId: 'taskId', - userId: 'userId', - startTime: 'startTime', - endTime: 'endTime', - description: 'description' - }; + export type ChatParticipantCreateManyInput = { + id?: string + chatRoomId: string + userId: string + joinedAt?: Date | string + lastReadMessageId?: string | null + lastReadAt?: Date | string | null + isAdmin?: boolean + notificationsOn?: boolean + status?: $Enums.ParticipantStatus + } - export type TimelogScalarFieldEnum = (typeof TimelogScalarFieldEnum)[keyof typeof TimelogScalarFieldEnum] + export type ChatParticipantUpdateManyMutationInput = { + id?: StringFieldUpdateOperationsInput | string + joinedAt?: DateTimeFieldUpdateOperationsInput | Date | string + lastReadAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + isAdmin?: BoolFieldUpdateOperationsInput | boolean + notificationsOn?: BoolFieldUpdateOperationsInput | boolean + status?: EnumParticipantStatusFieldUpdateOperationsInput | $Enums.ParticipantStatus + } + export type ChatParticipantUncheckedUpdateManyInput = { + id?: StringFieldUpdateOperationsInput | string + chatRoomId?: StringFieldUpdateOperationsInput | string + userId?: StringFieldUpdateOperationsInput | string + joinedAt?: DateTimeFieldUpdateOperationsInput | Date | string + lastReadMessageId?: NullableStringFieldUpdateOperationsInput | string | null + lastReadAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + isAdmin?: BoolFieldUpdateOperationsInput | boolean + notificationsOn?: BoolFieldUpdateOperationsInput | boolean + status?: EnumParticipantStatusFieldUpdateOperationsInput | $Enums.ParticipantStatus + } - export const CommentScalarFieldEnum: { - id: 'id', - taskId: 'taskId', - userId: 'userId', - content: 'content', - createdAt: 'createdAt', - updatedAt: 'updatedAt' - }; + export type ChatMessageCreateInput = { + id?: string + content: string + contentType?: $Enums.MessageContentType + createdAt?: Date | string + updatedAt?: Date | string + isEdited?: boolean + isDeleted?: boolean + deletedAt?: Date | string | null + metadata?: NullableJsonNullValueInput | InputJsonValue + chatRoom: ChatRoomCreateNestedOneWithoutMessagesInput + sender: UserCreateNestedOneWithoutSentMessagesInput + replyTo?: ChatMessageCreateNestedOneWithoutRepliesInput + replies?: ChatMessageCreateNestedManyWithoutReplyToInput + attachments?: MessageAttachmentCreateNestedManyWithoutMessageInput + reactions?: MessageReactionCreateNestedManyWithoutMessageInput + readBy?: ChatParticipantCreateNestedManyWithoutLastReadMessageInput + pinnedIn?: PinnedMessageCreateNestedManyWithoutMessageInput + } - export type CommentScalarFieldEnum = (typeof CommentScalarFieldEnum)[keyof typeof CommentScalarFieldEnum] + export type ChatMessageUncheckedCreateInput = { + id?: string + chatRoomId: string + senderId: string + content: string + contentType?: $Enums.MessageContentType + createdAt?: Date | string + updatedAt?: Date | string + isEdited?: boolean + isDeleted?: boolean + deletedAt?: Date | string | null + replyToId?: string | null + metadata?: NullableJsonNullValueInput | InputJsonValue + replies?: ChatMessageUncheckedCreateNestedManyWithoutReplyToInput + attachments?: MessageAttachmentUncheckedCreateNestedManyWithoutMessageInput + reactions?: MessageReactionUncheckedCreateNestedManyWithoutMessageInput + readBy?: ChatParticipantUncheckedCreateNestedManyWithoutLastReadMessageInput + pinnedIn?: PinnedMessageUncheckedCreateNestedManyWithoutMessageInput + } + + export type ChatMessageUpdateInput = { + id?: StringFieldUpdateOperationsInput | string + content?: StringFieldUpdateOperationsInput | string + contentType?: EnumMessageContentTypeFieldUpdateOperationsInput | $Enums.MessageContentType + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + isEdited?: BoolFieldUpdateOperationsInput | boolean + isDeleted?: BoolFieldUpdateOperationsInput | boolean + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + metadata?: NullableJsonNullValueInput | InputJsonValue + chatRoom?: ChatRoomUpdateOneRequiredWithoutMessagesNestedInput + sender?: UserUpdateOneRequiredWithoutSentMessagesNestedInput + replyTo?: ChatMessageUpdateOneWithoutRepliesNestedInput + replies?: ChatMessageUpdateManyWithoutReplyToNestedInput + attachments?: MessageAttachmentUpdateManyWithoutMessageNestedInput + reactions?: MessageReactionUpdateManyWithoutMessageNestedInput + readBy?: ChatParticipantUpdateManyWithoutLastReadMessageNestedInput + pinnedIn?: PinnedMessageUpdateManyWithoutMessageNestedInput + } + export type ChatMessageUncheckedUpdateInput = { + id?: StringFieldUpdateOperationsInput | string + chatRoomId?: StringFieldUpdateOperationsInput | string + senderId?: StringFieldUpdateOperationsInput | string + content?: StringFieldUpdateOperationsInput | string + contentType?: EnumMessageContentTypeFieldUpdateOperationsInput | $Enums.MessageContentType + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + isEdited?: BoolFieldUpdateOperationsInput | boolean + isDeleted?: BoolFieldUpdateOperationsInput | boolean + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + replyToId?: NullableStringFieldUpdateOperationsInput | string | null + metadata?: NullableJsonNullValueInput | InputJsonValue + replies?: ChatMessageUncheckedUpdateManyWithoutReplyToNestedInput + attachments?: MessageAttachmentUncheckedUpdateManyWithoutMessageNestedInput + reactions?: MessageReactionUncheckedUpdateManyWithoutMessageNestedInput + readBy?: ChatParticipantUncheckedUpdateManyWithoutLastReadMessageNestedInput + pinnedIn?: PinnedMessageUncheckedUpdateManyWithoutMessageNestedInput + } - export const ActivityLogScalarFieldEnum: { - id: 'id', - entityType: 'entityType', - action: 'action', - userId: 'userId', - organizationId: 'organizationId', - departmentId: 'departmentId', - projectId: 'projectId', - teamId: 'teamId', - sprintId: 'sprintId', - taskId: 'taskId', - details: 'details', - createdAt: 'createdAt' - }; + export type ChatMessageCreateManyInput = { + id?: string + chatRoomId: string + senderId: string + content: string + contentType?: $Enums.MessageContentType + createdAt?: Date | string + updatedAt?: Date | string + isEdited?: boolean + isDeleted?: boolean + deletedAt?: Date | string | null + replyToId?: string | null + metadata?: NullableJsonNullValueInput | InputJsonValue + } - export type ActivityLogScalarFieldEnum = (typeof ActivityLogScalarFieldEnum)[keyof typeof ActivityLogScalarFieldEnum] + export type ChatMessageUpdateManyMutationInput = { + id?: StringFieldUpdateOperationsInput | string + content?: StringFieldUpdateOperationsInput | string + contentType?: EnumMessageContentTypeFieldUpdateOperationsInput | $Enums.MessageContentType + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + isEdited?: BoolFieldUpdateOperationsInput | boolean + isDeleted?: BoolFieldUpdateOperationsInput | boolean + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + metadata?: NullableJsonNullValueInput | InputJsonValue + } + export type ChatMessageUncheckedUpdateManyInput = { + id?: StringFieldUpdateOperationsInput | string + chatRoomId?: StringFieldUpdateOperationsInput | string + senderId?: StringFieldUpdateOperationsInput | string + content?: StringFieldUpdateOperationsInput | string + contentType?: EnumMessageContentTypeFieldUpdateOperationsInput | $Enums.MessageContentType + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + isEdited?: BoolFieldUpdateOperationsInput | boolean + isDeleted?: BoolFieldUpdateOperationsInput | boolean + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + replyToId?: NullableStringFieldUpdateOperationsInput | string | null + metadata?: NullableJsonNullValueInput | InputJsonValue + } - export const NotificationScalarFieldEnum: { - id: 'id', - userId: 'userId', - content: 'content', - isRead: 'isRead', - type: 'type', - metadata: 'metadata', - createdAt: 'createdAt', - deletedAt: 'deletedAt', - entityType: 'entityType', - entityId: 'entityId' - }; + export type MessageAttachmentCreateInput = { + id?: string + fileName: string + fileType: string + filePath: string + fileSize: number + thumbnailPath?: string | null + storageProvider?: string | null + storageKey: string + createdAt?: Date | string + message: ChatMessageCreateNestedOneWithoutAttachmentsInput + } - export type NotificationScalarFieldEnum = (typeof NotificationScalarFieldEnum)[keyof typeof NotificationScalarFieldEnum] + export type MessageAttachmentUncheckedCreateInput = { + id?: string + messageId: string + fileName: string + fileType: string + filePath: string + fileSize: number + thumbnailPath?: string | null + storageProvider?: string | null + storageKey: string + createdAt?: Date | string + } + export type MessageAttachmentUpdateInput = { + id?: StringFieldUpdateOperationsInput | string + fileName?: StringFieldUpdateOperationsInput | string + fileType?: StringFieldUpdateOperationsInput | string + filePath?: StringFieldUpdateOperationsInput | string + fileSize?: IntFieldUpdateOperationsInput | number + thumbnailPath?: NullableStringFieldUpdateOperationsInput | string | null + storageProvider?: NullableStringFieldUpdateOperationsInput | string | null + storageKey?: StringFieldUpdateOperationsInput | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + message?: ChatMessageUpdateOneRequiredWithoutAttachmentsNestedInput + } - export const ReportScalarFieldEnum: { - id: 'id', - name: 'name', - description: 'description', - reportType: 'reportType', - format: 'format', - parameters: 'parameters', - filePath: 'filePath', - generatedBy: 'generatedBy', - createdAt: 'createdAt', - status: 'status', - updatedAt: 'updatedAt', - lastAccessedAt: 'lastAccessedAt', - expiresAt: 'expiresAt', - tags: 'tags', - organizationId: 'organizationId', - teamId: 'teamId', - projectId: 'projectId', - departmentId: 'departmentId', - userId: 'userId', - scheduleId: 'scheduleId', - storageProvider: 'storageProvider', - storageKey: 'storageKey' - }; + export type MessageAttachmentUncheckedUpdateInput = { + id?: StringFieldUpdateOperationsInput | string + messageId?: StringFieldUpdateOperationsInput | string + fileName?: StringFieldUpdateOperationsInput | string + fileType?: StringFieldUpdateOperationsInput | string + filePath?: StringFieldUpdateOperationsInput | string + fileSize?: IntFieldUpdateOperationsInput | number + thumbnailPath?: NullableStringFieldUpdateOperationsInput | string | null + storageProvider?: NullableStringFieldUpdateOperationsInput | string | null + storageKey?: StringFieldUpdateOperationsInput | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + } - export type ReportScalarFieldEnum = (typeof ReportScalarFieldEnum)[keyof typeof ReportScalarFieldEnum] + export type MessageAttachmentCreateManyInput = { + id?: string + messageId: string + fileName: string + fileType: string + filePath: string + fileSize: number + thumbnailPath?: string | null + storageProvider?: string | null + storageKey: string + createdAt?: Date | string + } + export type MessageAttachmentUpdateManyMutationInput = { + id?: StringFieldUpdateOperationsInput | string + fileName?: StringFieldUpdateOperationsInput | string + fileType?: StringFieldUpdateOperationsInput | string + filePath?: StringFieldUpdateOperationsInput | string + fileSize?: IntFieldUpdateOperationsInput | number + thumbnailPath?: NullableStringFieldUpdateOperationsInput | string | null + storageProvider?: NullableStringFieldUpdateOperationsInput | string | null + storageKey?: StringFieldUpdateOperationsInput | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + } - export const ReportScheduleScalarFieldEnum: { - id: 'id', - name: 'name', - cronExpression: 'cronExpression', - isActive: 'isActive', - createdAt: 'createdAt', - createdBy: 'createdBy' - }; + export type MessageAttachmentUncheckedUpdateManyInput = { + id?: StringFieldUpdateOperationsInput | string + messageId?: StringFieldUpdateOperationsInput | string + fileName?: StringFieldUpdateOperationsInput | string + fileType?: StringFieldUpdateOperationsInput | string + filePath?: StringFieldUpdateOperationsInput | string + fileSize?: IntFieldUpdateOperationsInput | number + thumbnailPath?: NullableStringFieldUpdateOperationsInput | string | null + storageProvider?: NullableStringFieldUpdateOperationsInput | string | null + storageKey?: StringFieldUpdateOperationsInput | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + } - export type ReportScheduleScalarFieldEnum = (typeof ReportScheduleScalarFieldEnum)[keyof typeof ReportScheduleScalarFieldEnum] + export type MessageReactionCreateInput = { + id?: string + reaction: string + createdAt?: Date | string + message: ChatMessageCreateNestedOneWithoutReactionsInput + user: UserCreateNestedOneWithoutMessageReactionsInput + } + export type MessageReactionUncheckedCreateInput = { + id?: string + messageId: string + userId: string + reaction: string + createdAt?: Date | string + } - export const ReportNotificationScalarFieldEnum: { - id: 'id', - reportId: 'reportId', - userId: 'userId', - notified: 'notified' - }; + export type MessageReactionUpdateInput = { + id?: StringFieldUpdateOperationsInput | string + reaction?: StringFieldUpdateOperationsInput | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + message?: ChatMessageUpdateOneRequiredWithoutReactionsNestedInput + user?: UserUpdateOneRequiredWithoutMessageReactionsNestedInput + } - export type ReportNotificationScalarFieldEnum = (typeof ReportNotificationScalarFieldEnum)[keyof typeof ReportNotificationScalarFieldEnum] + export type MessageReactionUncheckedUpdateInput = { + id?: StringFieldUpdateOperationsInput | string + messageId?: StringFieldUpdateOperationsInput | string + userId?: StringFieldUpdateOperationsInput | string + reaction?: StringFieldUpdateOperationsInput | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + } + export type MessageReactionCreateManyInput = { + id?: string + messageId: string + userId: string + reaction: string + createdAt?: Date | string + } - export const PermissionScalarFieldEnum: { - id: 'id', - userId: 'userId', - entityType: 'entityType', - entityId: 'entityId', - permissions: 'permissions', - createdAt: 'createdAt', - updatedAt: 'updatedAt' - }; + export type MessageReactionUpdateManyMutationInput = { + id?: StringFieldUpdateOperationsInput | string + reaction?: StringFieldUpdateOperationsInput | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + } - export type PermissionScalarFieldEnum = (typeof PermissionScalarFieldEnum)[keyof typeof PermissionScalarFieldEnum] + export type MessageReactionUncheckedUpdateManyInput = { + id?: StringFieldUpdateOperationsInput | string + messageId?: StringFieldUpdateOperationsInput | string + userId?: StringFieldUpdateOperationsInput | string + reaction?: StringFieldUpdateOperationsInput | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + } + export type PinnedMessageCreateInput = { + id?: string + pinnedAt?: Date | string + chatRoom: ChatRoomCreateNestedOneWithoutPinnedMessagesInput + message: ChatMessageCreateNestedOneWithoutPinnedInInput + user: UserCreateNestedOneWithoutPinnedMessagesInput + } - export const SortOrder: { - asc: 'asc', - desc: 'desc' - }; + export type PinnedMessageUncheckedCreateInput = { + id?: string + chatRoomId: string + messageId: string + pinnedBy: string + pinnedAt?: Date | string + } - export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder] + export type PinnedMessageUpdateInput = { + id?: StringFieldUpdateOperationsInput | string + pinnedAt?: DateTimeFieldUpdateOperationsInput | Date | string + chatRoom?: ChatRoomUpdateOneRequiredWithoutPinnedMessagesNestedInput + message?: ChatMessageUpdateOneRequiredWithoutPinnedInNestedInput + user?: UserUpdateOneRequiredWithoutPinnedMessagesNestedInput + } + export type PinnedMessageUncheckedUpdateInput = { + id?: StringFieldUpdateOperationsInput | string + chatRoomId?: StringFieldUpdateOperationsInput | string + messageId?: StringFieldUpdateOperationsInput | string + pinnedBy?: StringFieldUpdateOperationsInput | string + pinnedAt?: DateTimeFieldUpdateOperationsInput | Date | string + } - export const NullableJsonNullValueInput: { - DbNull: typeof DbNull, - JsonNull: typeof JsonNull - }; + export type PinnedMessageCreateManyInput = { + id?: string + chatRoomId: string + messageId: string + pinnedBy: string + pinnedAt?: Date | string + } - export type NullableJsonNullValueInput = (typeof NullableJsonNullValueInput)[keyof typeof NullableJsonNullValueInput] + export type PinnedMessageUpdateManyMutationInput = { + id?: StringFieldUpdateOperationsInput | string + pinnedAt?: DateTimeFieldUpdateOperationsInput | Date | string + } + + export type PinnedMessageUncheckedUpdateManyInput = { + id?: StringFieldUpdateOperationsInput | string + chatRoomId?: StringFieldUpdateOperationsInput | string + messageId?: StringFieldUpdateOperationsInput | string + pinnedBy?: StringFieldUpdateOperationsInput | string + pinnedAt?: DateTimeFieldUpdateOperationsInput | Date | string + } + + export type VideoConferenceSessionCreateInput = { + id?: string + title: string + description?: string | null + startTime?: Date | string + endTime?: Date | string | null + status?: $Enums.SessionStatus + meetingUrl: string + recordingUrl?: string | null + settings?: NullableJsonNullValueInput | InputJsonValue + chatRoom: ChatRoomCreateNestedOneWithoutVideoSessionsInput + host: UserCreateNestedOneWithoutHostedSessionsInput + participants?: VideoParticipantCreateNestedManyWithoutSessionInput + recordings?: VideoRecordingCreateNestedManyWithoutSessionInput + } + + export type VideoConferenceSessionUncheckedCreateInput = { + id?: string + chatRoomId: string + title: string + description?: string | null + startTime?: Date | string + endTime?: Date | string | null + status?: $Enums.SessionStatus + hostId: string + meetingUrl: string + recordingUrl?: string | null + settings?: NullableJsonNullValueInput | InputJsonValue + participants?: VideoParticipantUncheckedCreateNestedManyWithoutSessionInput + recordings?: VideoRecordingUncheckedCreateNestedManyWithoutSessionInput + } + + export type VideoConferenceSessionUpdateInput = { + id?: StringFieldUpdateOperationsInput | string + title?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + startTime?: DateTimeFieldUpdateOperationsInput | Date | string + endTime?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + status?: EnumSessionStatusFieldUpdateOperationsInput | $Enums.SessionStatus + meetingUrl?: StringFieldUpdateOperationsInput | string + recordingUrl?: NullableStringFieldUpdateOperationsInput | string | null + settings?: NullableJsonNullValueInput | InputJsonValue + chatRoom?: ChatRoomUpdateOneRequiredWithoutVideoSessionsNestedInput + host?: UserUpdateOneRequiredWithoutHostedSessionsNestedInput + participants?: VideoParticipantUpdateManyWithoutSessionNestedInput + recordings?: VideoRecordingUpdateManyWithoutSessionNestedInput + } + + export type VideoConferenceSessionUncheckedUpdateInput = { + id?: StringFieldUpdateOperationsInput | string + chatRoomId?: StringFieldUpdateOperationsInput | string + title?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + startTime?: DateTimeFieldUpdateOperationsInput | Date | string + endTime?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + status?: EnumSessionStatusFieldUpdateOperationsInput | $Enums.SessionStatus + hostId?: StringFieldUpdateOperationsInput | string + meetingUrl?: StringFieldUpdateOperationsInput | string + recordingUrl?: NullableStringFieldUpdateOperationsInput | string | null + settings?: NullableJsonNullValueInput | InputJsonValue + participants?: VideoParticipantUncheckedUpdateManyWithoutSessionNestedInput + recordings?: VideoRecordingUncheckedUpdateManyWithoutSessionNestedInput + } + export type VideoConferenceSessionCreateManyInput = { + id?: string + chatRoomId: string + title: string + description?: string | null + startTime?: Date | string + endTime?: Date | string | null + status?: $Enums.SessionStatus + hostId: string + meetingUrl: string + recordingUrl?: string | null + settings?: NullableJsonNullValueInput | InputJsonValue + } - export const JsonNullValueInput: { - JsonNull: typeof JsonNull - }; + export type VideoConferenceSessionUpdateManyMutationInput = { + id?: StringFieldUpdateOperationsInput | string + title?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + startTime?: DateTimeFieldUpdateOperationsInput | Date | string + endTime?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + status?: EnumSessionStatusFieldUpdateOperationsInput | $Enums.SessionStatus + meetingUrl?: StringFieldUpdateOperationsInput | string + recordingUrl?: NullableStringFieldUpdateOperationsInput | string | null + settings?: NullableJsonNullValueInput | InputJsonValue + } + + export type VideoConferenceSessionUncheckedUpdateManyInput = { + id?: StringFieldUpdateOperationsInput | string + chatRoomId?: StringFieldUpdateOperationsInput | string + title?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + startTime?: DateTimeFieldUpdateOperationsInput | Date | string + endTime?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + status?: EnumSessionStatusFieldUpdateOperationsInput | $Enums.SessionStatus + hostId?: StringFieldUpdateOperationsInput | string + meetingUrl?: StringFieldUpdateOperationsInput | string + recordingUrl?: NullableStringFieldUpdateOperationsInput | string | null + settings?: NullableJsonNullValueInput | InputJsonValue + } - export type JsonNullValueInput = (typeof JsonNullValueInput)[keyof typeof JsonNullValueInput] + export type VideoParticipantCreateInput = { + id?: string + joinedAt?: Date | string + leftAt?: Date | string | null + role?: $Enums.VideoParticipantRole + deviceInfo?: NullableJsonNullValueInput | InputJsonValue + connectionQuality?: string | null + hasVideo?: boolean + hasAudio?: boolean + session: VideoConferenceSessionCreateNestedOneWithoutParticipantsInput + user: UserCreateNestedOneWithoutVideoParticipationsInput + } + export type VideoParticipantUncheckedCreateInput = { + id?: string + sessionId: string + userId: string + joinedAt?: Date | string + leftAt?: Date | string | null + role?: $Enums.VideoParticipantRole + deviceInfo?: NullableJsonNullValueInput | InputJsonValue + connectionQuality?: string | null + hasVideo?: boolean + hasAudio?: boolean + } - export const QueryMode: { - default: 'default', - insensitive: 'insensitive' - }; + export type VideoParticipantUpdateInput = { + id?: StringFieldUpdateOperationsInput | string + joinedAt?: DateTimeFieldUpdateOperationsInput | Date | string + leftAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + role?: EnumVideoParticipantRoleFieldUpdateOperationsInput | $Enums.VideoParticipantRole + deviceInfo?: NullableJsonNullValueInput | InputJsonValue + connectionQuality?: NullableStringFieldUpdateOperationsInput | string | null + hasVideo?: BoolFieldUpdateOperationsInput | boolean + hasAudio?: BoolFieldUpdateOperationsInput | boolean + session?: VideoConferenceSessionUpdateOneRequiredWithoutParticipantsNestedInput + user?: UserUpdateOneRequiredWithoutVideoParticipationsNestedInput + } - export type QueryMode = (typeof QueryMode)[keyof typeof QueryMode] + export type VideoParticipantUncheckedUpdateInput = { + id?: StringFieldUpdateOperationsInput | string + sessionId?: StringFieldUpdateOperationsInput | string + userId?: StringFieldUpdateOperationsInput | string + joinedAt?: DateTimeFieldUpdateOperationsInput | Date | string + leftAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + role?: EnumVideoParticipantRoleFieldUpdateOperationsInput | $Enums.VideoParticipantRole + deviceInfo?: NullableJsonNullValueInput | InputJsonValue + connectionQuality?: NullableStringFieldUpdateOperationsInput | string | null + hasVideo?: BoolFieldUpdateOperationsInput | boolean + hasAudio?: BoolFieldUpdateOperationsInput | boolean + } + export type VideoParticipantCreateManyInput = { + id?: string + sessionId: string + userId: string + joinedAt?: Date | string + leftAt?: Date | string | null + role?: $Enums.VideoParticipantRole + deviceInfo?: NullableJsonNullValueInput | InputJsonValue + connectionQuality?: string | null + hasVideo?: boolean + hasAudio?: boolean + } - export const JsonNullValueFilter: { - DbNull: typeof DbNull, - JsonNull: typeof JsonNull, - AnyNull: typeof AnyNull - }; + export type VideoParticipantUpdateManyMutationInput = { + id?: StringFieldUpdateOperationsInput | string + joinedAt?: DateTimeFieldUpdateOperationsInput | Date | string + leftAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + role?: EnumVideoParticipantRoleFieldUpdateOperationsInput | $Enums.VideoParticipantRole + deviceInfo?: NullableJsonNullValueInput | InputJsonValue + connectionQuality?: NullableStringFieldUpdateOperationsInput | string | null + hasVideo?: BoolFieldUpdateOperationsInput | boolean + hasAudio?: BoolFieldUpdateOperationsInput | boolean + } - export type JsonNullValueFilter = (typeof JsonNullValueFilter)[keyof typeof JsonNullValueFilter] + export type VideoParticipantUncheckedUpdateManyInput = { + id?: StringFieldUpdateOperationsInput | string + sessionId?: StringFieldUpdateOperationsInput | string + userId?: StringFieldUpdateOperationsInput | string + joinedAt?: DateTimeFieldUpdateOperationsInput | Date | string + leftAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + role?: EnumVideoParticipantRoleFieldUpdateOperationsInput | $Enums.VideoParticipantRole + deviceInfo?: NullableJsonNullValueInput | InputJsonValue + connectionQuality?: NullableStringFieldUpdateOperationsInput | string | null + hasVideo?: BoolFieldUpdateOperationsInput | boolean + hasAudio?: BoolFieldUpdateOperationsInput | boolean + } + export type VideoRecordingCreateInput = { + id?: string + fileName: string + fileSize: number + duration: number + startTime: Date | string + endTime: Date | string + storageProvider: string + storageKey: string + processingStatus?: $Enums.ProcessingStatus + visibility?: $Enums.RecordingVisibility + createdAt?: Date | string + session: VideoConferenceSessionCreateNestedOneWithoutRecordingsInput + recorder: UserCreateNestedOneWithoutVideoRecordingsInput + } - export const NullsOrder: { - first: 'first', - last: 'last' - }; + export type VideoRecordingUncheckedCreateInput = { + id?: string + sessionId: string + fileName: string + fileSize: number + duration: number + recordedBy: string + startTime: Date | string + endTime: Date | string + storageProvider: string + storageKey: string + processingStatus?: $Enums.ProcessingStatus + visibility?: $Enums.RecordingVisibility + createdAt?: Date | string + } - export type NullsOrder = (typeof NullsOrder)[keyof typeof NullsOrder] + export type VideoRecordingUpdateInput = { + id?: StringFieldUpdateOperationsInput | string + fileName?: StringFieldUpdateOperationsInput | string + fileSize?: IntFieldUpdateOperationsInput | number + duration?: IntFieldUpdateOperationsInput | number + startTime?: DateTimeFieldUpdateOperationsInput | Date | string + endTime?: DateTimeFieldUpdateOperationsInput | Date | string + storageProvider?: StringFieldUpdateOperationsInput | string + storageKey?: StringFieldUpdateOperationsInput | string + processingStatus?: EnumProcessingStatusFieldUpdateOperationsInput | $Enums.ProcessingStatus + visibility?: EnumRecordingVisibilityFieldUpdateOperationsInput | $Enums.RecordingVisibility + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + session?: VideoConferenceSessionUpdateOneRequiredWithoutRecordingsNestedInput + recorder?: UserUpdateOneRequiredWithoutVideoRecordingsNestedInput + } + export type VideoRecordingUncheckedUpdateInput = { + id?: StringFieldUpdateOperationsInput | string + sessionId?: StringFieldUpdateOperationsInput | string + fileName?: StringFieldUpdateOperationsInput | string + fileSize?: IntFieldUpdateOperationsInput | number + duration?: IntFieldUpdateOperationsInput | number + recordedBy?: StringFieldUpdateOperationsInput | string + startTime?: DateTimeFieldUpdateOperationsInput | Date | string + endTime?: DateTimeFieldUpdateOperationsInput | Date | string + storageProvider?: StringFieldUpdateOperationsInput | string + storageKey?: StringFieldUpdateOperationsInput | string + processingStatus?: EnumProcessingStatusFieldUpdateOperationsInput | $Enums.ProcessingStatus + visibility?: EnumRecordingVisibilityFieldUpdateOperationsInput | $Enums.RecordingVisibility + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + } - /** - * Field references - */ + export type VideoRecordingCreateManyInput = { + id?: string + sessionId: string + fileName: string + fileSize: number + duration: number + recordedBy: string + startTime: Date | string + endTime: Date | string + storageProvider: string + storageKey: string + processingStatus?: $Enums.ProcessingStatus + visibility?: $Enums.RecordingVisibility + createdAt?: Date | string + } + export type VideoRecordingUpdateManyMutationInput = { + id?: StringFieldUpdateOperationsInput | string + fileName?: StringFieldUpdateOperationsInput | string + fileSize?: IntFieldUpdateOperationsInput | number + duration?: IntFieldUpdateOperationsInput | number + startTime?: DateTimeFieldUpdateOperationsInput | Date | string + endTime?: DateTimeFieldUpdateOperationsInput | Date | string + storageProvider?: StringFieldUpdateOperationsInput | string + storageKey?: StringFieldUpdateOperationsInput | string + processingStatus?: EnumProcessingStatusFieldUpdateOperationsInput | $Enums.ProcessingStatus + visibility?: EnumRecordingVisibilityFieldUpdateOperationsInput | $Enums.RecordingVisibility + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + } - /** - * Reference to a field of type 'String' - */ - export type StringFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'String'> - + export type VideoRecordingUncheckedUpdateManyInput = { + id?: StringFieldUpdateOperationsInput | string + sessionId?: StringFieldUpdateOperationsInput | string + fileName?: StringFieldUpdateOperationsInput | string + fileSize?: IntFieldUpdateOperationsInput | number + duration?: IntFieldUpdateOperationsInput | number + recordedBy?: StringFieldUpdateOperationsInput | string + startTime?: DateTimeFieldUpdateOperationsInput | Date | string + endTime?: DateTimeFieldUpdateOperationsInput | Date | string + storageProvider?: StringFieldUpdateOperationsInput | string + storageKey?: StringFieldUpdateOperationsInput | string + processingStatus?: EnumProcessingStatusFieldUpdateOperationsInput | $Enums.ProcessingStatus + visibility?: EnumRecordingVisibilityFieldUpdateOperationsInput | $Enums.RecordingVisibility + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + } + export type UuidFilter<$PrismaModel = never> = { + equals?: string | StringFieldRefInput<$PrismaModel> + in?: string[] | ListStringFieldRefInput<$PrismaModel> + notIn?: string[] | ListStringFieldRefInput<$PrismaModel> + lt?: string | StringFieldRefInput<$PrismaModel> + lte?: string | StringFieldRefInput<$PrismaModel> + gt?: string | StringFieldRefInput<$PrismaModel> + gte?: string | StringFieldRefInput<$PrismaModel> + mode?: QueryMode + not?: NestedUuidFilter<$PrismaModel> | string + } - /** - * Reference to a field of type 'String[]' - */ - export type ListStringFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'String[]'> - + export type StringFilter<$PrismaModel = never> = { + equals?: string | StringFieldRefInput<$PrismaModel> + in?: string[] | ListStringFieldRefInput<$PrismaModel> + notIn?: string[] | ListStringFieldRefInput<$PrismaModel> + lt?: string | StringFieldRefInput<$PrismaModel> + lte?: string | StringFieldRefInput<$PrismaModel> + gt?: string | StringFieldRefInput<$PrismaModel> + gte?: string | StringFieldRefInput<$PrismaModel> + contains?: string | StringFieldRefInput<$PrismaModel> + startsWith?: string | StringFieldRefInput<$PrismaModel> + endsWith?: string | StringFieldRefInput<$PrismaModel> + mode?: QueryMode + not?: NestedStringFilter<$PrismaModel> | string + } + export type StringNullableFilter<$PrismaModel = never> = { + equals?: string | StringFieldRefInput<$PrismaModel> | null + in?: string[] | ListStringFieldRefInput<$PrismaModel> | null + notIn?: string[] | ListStringFieldRefInput<$PrismaModel> | null + lt?: string | StringFieldRefInput<$PrismaModel> + lte?: string | StringFieldRefInput<$PrismaModel> + gt?: string | StringFieldRefInput<$PrismaModel> + gte?: string | StringFieldRefInput<$PrismaModel> + contains?: string | StringFieldRefInput<$PrismaModel> + startsWith?: string | StringFieldRefInput<$PrismaModel> + endsWith?: string | StringFieldRefInput<$PrismaModel> + mode?: QueryMode + not?: NestedStringNullableFilter<$PrismaModel> | string | null + } - /** - * Reference to a field of type 'UserRole' - */ - export type EnumUserRoleFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'UserRole'> - + export type EnumUserRoleFilter<$PrismaModel = never> = { + equals?: $Enums.UserRole | EnumUserRoleFieldRefInput<$PrismaModel> + in?: $Enums.UserRole[] | ListEnumUserRoleFieldRefInput<$PrismaModel> + notIn?: $Enums.UserRole[] | ListEnumUserRoleFieldRefInput<$PrismaModel> + not?: NestedEnumUserRoleFilter<$PrismaModel> | $Enums.UserRole + } + export type UuidNullableFilter<$PrismaModel = never> = { + equals?: string | StringFieldRefInput<$PrismaModel> | null + in?: string[] | ListStringFieldRefInput<$PrismaModel> | null + notIn?: string[] | ListStringFieldRefInput<$PrismaModel> | null + lt?: string | StringFieldRefInput<$PrismaModel> + lte?: string | StringFieldRefInput<$PrismaModel> + gt?: string | StringFieldRefInput<$PrismaModel> + gte?: string | StringFieldRefInput<$PrismaModel> + mode?: QueryMode + not?: NestedUuidNullableFilter<$PrismaModel> | string | null + } - /** - * Reference to a field of type 'UserRole[]' - */ - export type ListEnumUserRoleFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'UserRole[]'> - + export type BoolFilter<$PrismaModel = never> = { + equals?: boolean | BooleanFieldRefInput<$PrismaModel> + not?: NestedBoolFilter<$PrismaModel> | boolean + } + export type DateTimeFilter<$PrismaModel = never> = { + equals?: Date | string | DateTimeFieldRefInput<$PrismaModel> + in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> + notIn?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> + lt?: Date | string | DateTimeFieldRefInput<$PrismaModel> + lte?: Date | string | DateTimeFieldRefInput<$PrismaModel> + gt?: Date | string | DateTimeFieldRefInput<$PrismaModel> + gte?: Date | string | DateTimeFieldRefInput<$PrismaModel> + not?: NestedDateTimeFilter<$PrismaModel> | Date | string + } - /** - * Reference to a field of type 'Boolean' - */ - export type BooleanFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Boolean'> - + export type DateTimeNullableFilter<$PrismaModel = never> = { + equals?: Date | string | DateTimeFieldRefInput<$PrismaModel> | null + in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null + notIn?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null + lt?: Date | string | DateTimeFieldRefInput<$PrismaModel> + lte?: Date | string | DateTimeFieldRefInput<$PrismaModel> + gt?: Date | string | DateTimeFieldRefInput<$PrismaModel> + gte?: Date | string | DateTimeFieldRefInput<$PrismaModel> + not?: NestedDateTimeNullableFilter<$PrismaModel> | Date | string | null + } + export type JsonNullableFilter<$PrismaModel = never> = + | PatchUndefined< + Either>, Exclude>, 'path'>>, + Required> + > + | OptionalFlat>, 'path'>> + export type JsonNullableFilterBase<$PrismaModel = never> = { + equals?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter + path?: string[] + mode?: QueryMode | EnumQueryModeFieldRefInput<$PrismaModel> + string_contains?: string | StringFieldRefInput<$PrismaModel> + string_starts_with?: string | StringFieldRefInput<$PrismaModel> + string_ends_with?: string | StringFieldRefInput<$PrismaModel> + array_starts_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null + array_ends_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null + array_contains?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null + lt?: InputJsonValue | JsonFieldRefInput<$PrismaModel> + lte?: InputJsonValue | JsonFieldRefInput<$PrismaModel> + gt?: InputJsonValue | JsonFieldRefInput<$PrismaModel> + gte?: InputJsonValue | JsonFieldRefInput<$PrismaModel> + not?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter + } - /** - * Reference to a field of type 'DateTime' - */ - export type DateTimeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'DateTime'> - + export type DepartmentNullableScalarRelationFilter = { + is?: DepartmentWhereInput | null + isNot?: DepartmentWhereInput | null + } + export type OrganizationNullableScalarRelationFilter = { + is?: OrganizationWhereInput | null + isNot?: OrganizationWhereInput | null + } - /** - * Reference to a field of type 'DateTime[]' - */ - export type ListDateTimeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'DateTime[]'> - + export type OrganizationListRelationFilter = { + every?: OrganizationWhereInput + some?: OrganizationWhereInput + none?: OrganizationWhereInput + } + export type OrganizationOwnerListRelationFilter = { + every?: OrganizationOwnerWhereInput + some?: OrganizationOwnerWhereInput + none?: OrganizationOwnerWhereInput + } - /** - * Reference to a field of type 'Json' - */ - export type JsonFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Json'> - + export type DepartmentListRelationFilter = { + every?: DepartmentWhereInput + some?: DepartmentWhereInput + none?: DepartmentWhereInput + } + export type TeamListRelationFilter = { + every?: TeamWhereInput + some?: TeamWhereInput + none?: TeamWhereInput + } - /** - * Reference to a field of type 'QueryMode' - */ - export type EnumQueryModeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'QueryMode'> - + export type TeamMemberListRelationFilter = { + every?: TeamMemberWhereInput + some?: TeamMemberWhereInput + none?: TeamMemberWhereInput + } + export type ProjectMemberListRelationFilter = { + every?: ProjectMemberWhereInput + some?: ProjectMemberWhereInput + none?: ProjectMemberWhereInput + } - /** - * Reference to a field of type 'TeamMemberRole' - */ - export type EnumTeamMemberRoleFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'TeamMemberRole'> - + export type ProjectListRelationFilter = { + every?: ProjectWhereInput + some?: ProjectWhereInput + none?: ProjectWhereInput + } + export type TaskListRelationFilter = { + every?: TaskWhereInput + some?: TaskWhereInput + none?: TaskWhereInput + } - /** - * Reference to a field of type 'TeamMemberRole[]' - */ - export type ListEnumTeamMemberRoleFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'TeamMemberRole[]'> - + export type NotificationListRelationFilter = { + every?: NotificationWhereInput + some?: NotificationWhereInput + none?: NotificationWhereInput + } + export type TimelogListRelationFilter = { + every?: TimelogWhereInput + some?: TimelogWhereInput + none?: TimelogWhereInput + } - /** - * Reference to a field of type 'TaskPriority' - */ - export type EnumTaskPriorityFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'TaskPriority'> - + export type CommentListRelationFilter = { + every?: CommentWhereInput + some?: CommentWhereInput + none?: CommentWhereInput + } + export type TaskAttachmentListRelationFilter = { + every?: TaskAttachmentWhereInput + some?: TaskAttachmentWhereInput + none?: TaskAttachmentWhereInput + } - /** - * Reference to a field of type 'TaskPriority[]' - */ - export type ListEnumTaskPriorityFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'TaskPriority[]'> - + export type ReportListRelationFilter = { + every?: ReportWhereInput + some?: ReportWhereInput + none?: ReportWhereInput + } + export type PermissionListRelationFilter = { + every?: PermissionWhereInput + some?: PermissionWhereInput + none?: PermissionWhereInput + } - /** - * Reference to a field of type 'Float' - */ - export type FloatFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Float'> - + export type ActivityLogListRelationFilter = { + every?: ActivityLogWhereInput + some?: ActivityLogWhereInput + none?: ActivityLogWhereInput + } + export type ReportNotificationListRelationFilter = { + every?: ReportNotificationWhereInput + some?: ReportNotificationWhereInput + none?: ReportNotificationWhereInput + } - /** - * Reference to a field of type 'Float[]' - */ - export type ListFloatFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Float[]'> - + export type ChatParticipantListRelationFilter = { + every?: ChatParticipantWhereInput + some?: ChatParticipantWhereInput + none?: ChatParticipantWhereInput + } + export type ChatMessageListRelationFilter = { + every?: ChatMessageWhereInput + some?: ChatMessageWhereInput + none?: ChatMessageWhereInput + } - /** - * Reference to a field of type 'Int' - */ - export type IntFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Int'> - + export type MessageReactionListRelationFilter = { + every?: MessageReactionWhereInput + some?: MessageReactionWhereInput + none?: MessageReactionWhereInput + } + export type PinnedMessageListRelationFilter = { + every?: PinnedMessageWhereInput + some?: PinnedMessageWhereInput + none?: PinnedMessageWhereInput + } - /** - * Reference to a field of type 'Int[]' - */ - export type ListIntFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Int[]'> - + export type VideoConferenceSessionListRelationFilter = { + every?: VideoConferenceSessionWhereInput + some?: VideoConferenceSessionWhereInput + none?: VideoConferenceSessionWhereInput + } + export type VideoParticipantListRelationFilter = { + every?: VideoParticipantWhereInput + some?: VideoParticipantWhereInput + none?: VideoParticipantWhereInput + } - /** - * Reference to a field of type 'TaskStatus' - */ - export type EnumTaskStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'TaskStatus'> - + export type VideoRecordingListRelationFilter = { + every?: VideoRecordingWhereInput + some?: VideoRecordingWhereInput + none?: VideoRecordingWhereInput + } + export type SortOrderInput = { + sort: SortOrder + nulls?: NullsOrder + } - /** - * Reference to a field of type 'TaskStatus[]' - */ - export type ListEnumTaskStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'TaskStatus[]'> - + export type OrganizationOrderByRelationAggregateInput = { + _count?: SortOrder + } + export type OrganizationOwnerOrderByRelationAggregateInput = { + _count?: SortOrder + } - /** - * Reference to a field of type 'DependencyType' - */ - export type EnumDependencyTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'DependencyType'> - + export type DepartmentOrderByRelationAggregateInput = { + _count?: SortOrder + } + export type TeamOrderByRelationAggregateInput = { + _count?: SortOrder + } - /** - * Reference to a field of type 'DependencyType[]' - */ - export type ListEnumDependencyTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'DependencyType[]'> - + export type TeamMemberOrderByRelationAggregateInput = { + _count?: SortOrder + } + export type ProjectMemberOrderByRelationAggregateInput = { + _count?: SortOrder + } - /** - * Reference to a field of type 'EntityType' - */ - export type EnumEntityTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'EntityType'> - + export type ProjectOrderByRelationAggregateInput = { + _count?: SortOrder + } + export type TaskOrderByRelationAggregateInput = { + _count?: SortOrder + } - /** - * Reference to a field of type 'EntityType[]' - */ - export type ListEnumEntityTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'EntityType[]'> - + export type NotificationOrderByRelationAggregateInput = { + _count?: SortOrder + } + export type TimelogOrderByRelationAggregateInput = { + _count?: SortOrder + } - /** - * Reference to a field of type 'ActionType' - */ - export type EnumActionTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ActionType'> - + export type CommentOrderByRelationAggregateInput = { + _count?: SortOrder + } + export type TaskAttachmentOrderByRelationAggregateInput = { + _count?: SortOrder + } - /** - * Reference to a field of type 'ActionType[]' - */ - export type ListEnumActionTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ActionType[]'> - + export type ReportOrderByRelationAggregateInput = { + _count?: SortOrder + } + export type PermissionOrderByRelationAggregateInput = { + _count?: SortOrder + } - /** - * Reference to a field of type 'ReportType' - */ - export type EnumReportTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ReportType'> - + export type ActivityLogOrderByRelationAggregateInput = { + _count?: SortOrder + } + export type ReportNotificationOrderByRelationAggregateInput = { + _count?: SortOrder + } - /** - * Reference to a field of type 'ReportType[]' - */ - export type ListEnumReportTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ReportType[]'> - + export type ChatParticipantOrderByRelationAggregateInput = { + _count?: SortOrder + } + export type ChatMessageOrderByRelationAggregateInput = { + _count?: SortOrder + } - /** - * Reference to a field of type 'ReportStatus' - */ - export type EnumReportStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ReportStatus'> - + export type MessageReactionOrderByRelationAggregateInput = { + _count?: SortOrder + } + export type PinnedMessageOrderByRelationAggregateInput = { + _count?: SortOrder + } - /** - * Reference to a field of type 'ReportStatus[]' - */ - export type ListEnumReportStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ReportStatus[]'> - - /** - * Deep Input Types - */ + export type VideoConferenceSessionOrderByRelationAggregateInput = { + _count?: SortOrder + } + export type VideoParticipantOrderByRelationAggregateInput = { + _count?: SortOrder + } - export type UserWhereInput = { - AND?: UserWhereInput | UserWhereInput[] - OR?: UserWhereInput[] - NOT?: UserWhereInput | UserWhereInput[] - id?: UuidFilter<"User"> | string - email?: StringFilter<"User"> | string - username?: StringFilter<"User"> | string - password?: StringFilter<"User"> | string - firebaseUid?: StringNullableFilter<"User"> | string | null - firstName?: StringFilter<"User"> | string - lastName?: StringFilter<"User"> | string - role?: EnumUserRoleFilter<"User"> | $Enums.UserRole - profilePic?: StringNullableFilter<"User"> | string | null - departmentId?: UuidNullableFilter<"User"> | string | null - organizationId?: UuidNullableFilter<"User"> | string | null - isOwner?: BoolFilter<"User"> | boolean - createdAt?: DateTimeFilter<"User"> | Date | string - updatedAt?: DateTimeFilter<"User"> | Date | string - isActive?: BoolFilter<"User"> | boolean - deletedAt?: DateTimeNullableFilter<"User"> | Date | string | null - phoneNumber?: StringNullableFilter<"User"> | string | null - jobTitle?: StringNullableFilter<"User"> | string | null - timezone?: StringNullableFilter<"User"> | string | null - bio?: StringNullableFilter<"User"> | string | null - preferences?: JsonNullableFilter<"User"> - emailVerificationToken?: StringNullableFilter<"User"> | string | null - emailVerificationExpires?: DateTimeNullableFilter<"User"> | Date | string | null - passwordResetToken?: StringNullableFilter<"User"> | string | null - passwordResetExpires?: DateTimeNullableFilter<"User"> | Date | string | null - refreshToken?: StringNullableFilter<"User"> | string | null - lastLogin?: DateTimeNullableFilter<"User"> | Date | string | null - lastLogout?: DateTimeNullableFilter<"User"> | Date | string | null - department?: XOR | null - organization?: XOR | null - createdOrganizations?: OrganizationListRelationFilter - ownedOrganizations?: OrganizationOwnerListRelationFilter - managedDepartments?: DepartmentListRelationFilter - createdTeams?: TeamListRelationFilter - teamMemberships?: TeamMemberListRelationFilter - projectMemberships?: ProjectMemberListRelationFilter - createdProjects?: ProjectListRelationFilter - modifiedProjects?: ProjectListRelationFilter - createdTasks?: TaskListRelationFilter - assignedTasks?: TaskListRelationFilter - modifiedTasks?: TaskListRelationFilter - notifications?: NotificationListRelationFilter - timelogs?: TimelogListRelationFilter - comments?: CommentListRelationFilter - taskAttachments?: TaskAttachmentListRelationFilter - generatedReports?: ReportListRelationFilter - userReports?: ReportListRelationFilter - permissions?: PermissionListRelationFilter - activityLogs?: ActivityLogListRelationFilter - ReportNotification?: ReportNotificationListRelationFilter + export type VideoRecordingOrderByRelationAggregateInput = { + _count?: SortOrder } - export type UserOrderByWithRelationInput = { + export type UserCountOrderByAggregateInput = { id?: SortOrder email?: SortOrder username?: SortOrder password?: SortOrder - firebaseUid?: SortOrderInput | SortOrder + firebaseUid?: SortOrder firstName?: SortOrder lastName?: SortOrder role?: SortOrder - profilePic?: SortOrderInput | SortOrder - departmentId?: SortOrderInput | SortOrder - organizationId?: SortOrderInput | SortOrder + profilePic?: SortOrder + departmentId?: SortOrder + organizationId?: SortOrder isOwner?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder isActive?: SortOrder - deletedAt?: SortOrderInput | SortOrder - phoneNumber?: SortOrderInput | SortOrder - jobTitle?: SortOrderInput | SortOrder - timezone?: SortOrderInput | SortOrder - bio?: SortOrderInput | SortOrder - preferences?: SortOrderInput | SortOrder - emailVerificationToken?: SortOrderInput | SortOrder - emailVerificationExpires?: SortOrderInput | SortOrder - passwordResetToken?: SortOrderInput | SortOrder - passwordResetExpires?: SortOrderInput | SortOrder - refreshToken?: SortOrderInput | SortOrder - lastLogin?: SortOrderInput | SortOrder - lastLogout?: SortOrderInput | SortOrder - department?: DepartmentOrderByWithRelationInput - organization?: OrganizationOrderByWithRelationInput - createdOrganizations?: OrganizationOrderByRelationAggregateInput - ownedOrganizations?: OrganizationOwnerOrderByRelationAggregateInput - managedDepartments?: DepartmentOrderByRelationAggregateInput - createdTeams?: TeamOrderByRelationAggregateInput - teamMemberships?: TeamMemberOrderByRelationAggregateInput - projectMemberships?: ProjectMemberOrderByRelationAggregateInput - createdProjects?: ProjectOrderByRelationAggregateInput - modifiedProjects?: ProjectOrderByRelationAggregateInput - createdTasks?: TaskOrderByRelationAggregateInput - assignedTasks?: TaskOrderByRelationAggregateInput - modifiedTasks?: TaskOrderByRelationAggregateInput - notifications?: NotificationOrderByRelationAggregateInput - timelogs?: TimelogOrderByRelationAggregateInput - comments?: CommentOrderByRelationAggregateInput - taskAttachments?: TaskAttachmentOrderByRelationAggregateInput - generatedReports?: ReportOrderByRelationAggregateInput - userReports?: ReportOrderByRelationAggregateInput - permissions?: PermissionOrderByRelationAggregateInput - activityLogs?: ActivityLogOrderByRelationAggregateInput - ReportNotification?: ReportNotificationOrderByRelationAggregateInput + deletedAt?: SortOrder + phoneNumber?: SortOrder + jobTitle?: SortOrder + timezone?: SortOrder + bio?: SortOrder + preferences?: SortOrder + emailVerificationToken?: SortOrder + emailVerificationExpires?: SortOrder + passwordResetToken?: SortOrder + passwordResetExpires?: SortOrder + refreshToken?: SortOrder + lastLogin?: SortOrder + lastLogout?: SortOrder } - export type UserWhereUniqueInput = Prisma.AtLeast<{ - id?: string - email?: string - username?: string - firebaseUid?: string - AND?: UserWhereInput | UserWhereInput[] - OR?: UserWhereInput[] - NOT?: UserWhereInput | UserWhereInput[] - password?: StringFilter<"User"> | string - firstName?: StringFilter<"User"> | string - lastName?: StringFilter<"User"> | string - role?: EnumUserRoleFilter<"User"> | $Enums.UserRole - profilePic?: StringNullableFilter<"User"> | string | null - departmentId?: UuidNullableFilter<"User"> | string | null - organizationId?: UuidNullableFilter<"User"> | string | null - isOwner?: BoolFilter<"User"> | boolean - createdAt?: DateTimeFilter<"User"> | Date | string - updatedAt?: DateTimeFilter<"User"> | Date | string - isActive?: BoolFilter<"User"> | boolean - deletedAt?: DateTimeNullableFilter<"User"> | Date | string | null - phoneNumber?: StringNullableFilter<"User"> | string | null - jobTitle?: StringNullableFilter<"User"> | string | null - timezone?: StringNullableFilter<"User"> | string | null - bio?: StringNullableFilter<"User"> | string | null - preferences?: JsonNullableFilter<"User"> - emailVerificationToken?: StringNullableFilter<"User"> | string | null - emailVerificationExpires?: DateTimeNullableFilter<"User"> | Date | string | null - passwordResetToken?: StringNullableFilter<"User"> | string | null - passwordResetExpires?: DateTimeNullableFilter<"User"> | Date | string | null - refreshToken?: StringNullableFilter<"User"> | string | null - lastLogin?: DateTimeNullableFilter<"User"> | Date | string | null - lastLogout?: DateTimeNullableFilter<"User"> | Date | string | null - department?: XOR | null - organization?: XOR | null - createdOrganizations?: OrganizationListRelationFilter - ownedOrganizations?: OrganizationOwnerListRelationFilter - managedDepartments?: DepartmentListRelationFilter - createdTeams?: TeamListRelationFilter - teamMemberships?: TeamMemberListRelationFilter - projectMemberships?: ProjectMemberListRelationFilter - createdProjects?: ProjectListRelationFilter - modifiedProjects?: ProjectListRelationFilter - createdTasks?: TaskListRelationFilter - assignedTasks?: TaskListRelationFilter - modifiedTasks?: TaskListRelationFilter - notifications?: NotificationListRelationFilter - timelogs?: TimelogListRelationFilter - comments?: CommentListRelationFilter - taskAttachments?: TaskAttachmentListRelationFilter - generatedReports?: ReportListRelationFilter - userReports?: ReportListRelationFilter - permissions?: PermissionListRelationFilter - activityLogs?: ActivityLogListRelationFilter - ReportNotification?: ReportNotificationListRelationFilter - }, "id" | "email" | "username" | "firebaseUid"> + export type UserMaxOrderByAggregateInput = { + id?: SortOrder + email?: SortOrder + username?: SortOrder + password?: SortOrder + firebaseUid?: SortOrder + firstName?: SortOrder + lastName?: SortOrder + role?: SortOrder + profilePic?: SortOrder + departmentId?: SortOrder + organizationId?: SortOrder + isOwner?: SortOrder + createdAt?: SortOrder + updatedAt?: SortOrder + isActive?: SortOrder + deletedAt?: SortOrder + phoneNumber?: SortOrder + jobTitle?: SortOrder + timezone?: SortOrder + bio?: SortOrder + emailVerificationToken?: SortOrder + emailVerificationExpires?: SortOrder + passwordResetToken?: SortOrder + passwordResetExpires?: SortOrder + refreshToken?: SortOrder + lastLogin?: SortOrder + lastLogout?: SortOrder + } - export type UserOrderByWithAggregationInput = { + export type UserMinOrderByAggregateInput = { id?: SortOrder email?: SortOrder username?: SortOrder password?: SortOrder - firebaseUid?: SortOrderInput | SortOrder + firebaseUid?: SortOrder firstName?: SortOrder lastName?: SortOrder role?: SortOrder - profilePic?: SortOrderInput | SortOrder - departmentId?: SortOrderInput | SortOrder - organizationId?: SortOrderInput | SortOrder + profilePic?: SortOrder + departmentId?: SortOrder + organizationId?: SortOrder isOwner?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder isActive?: SortOrder - deletedAt?: SortOrderInput | SortOrder - phoneNumber?: SortOrderInput | SortOrder - jobTitle?: SortOrderInput | SortOrder - timezone?: SortOrderInput | SortOrder - bio?: SortOrderInput | SortOrder - preferences?: SortOrderInput | SortOrder - emailVerificationToken?: SortOrderInput | SortOrder - emailVerificationExpires?: SortOrderInput | SortOrder - passwordResetToken?: SortOrderInput | SortOrder - passwordResetExpires?: SortOrderInput | SortOrder - refreshToken?: SortOrderInput | SortOrder - lastLogin?: SortOrderInput | SortOrder - lastLogout?: SortOrderInput | SortOrder - _count?: UserCountOrderByAggregateInput - _max?: UserMaxOrderByAggregateInput - _min?: UserMinOrderByAggregateInput + deletedAt?: SortOrder + phoneNumber?: SortOrder + jobTitle?: SortOrder + timezone?: SortOrder + bio?: SortOrder + emailVerificationToken?: SortOrder + emailVerificationExpires?: SortOrder + passwordResetToken?: SortOrder + passwordResetExpires?: SortOrder + refreshToken?: SortOrder + lastLogin?: SortOrder + lastLogout?: SortOrder } - export type UserScalarWhereWithAggregatesInput = { - AND?: UserScalarWhereWithAggregatesInput | UserScalarWhereWithAggregatesInput[] - OR?: UserScalarWhereWithAggregatesInput[] - NOT?: UserScalarWhereWithAggregatesInput | UserScalarWhereWithAggregatesInput[] - id?: UuidWithAggregatesFilter<"User"> | string - email?: StringWithAggregatesFilter<"User"> | string - username?: StringWithAggregatesFilter<"User"> | string - password?: StringWithAggregatesFilter<"User"> | string - firebaseUid?: StringNullableWithAggregatesFilter<"User"> | string | null - firstName?: StringWithAggregatesFilter<"User"> | string - lastName?: StringWithAggregatesFilter<"User"> | string - role?: EnumUserRoleWithAggregatesFilter<"User"> | $Enums.UserRole - profilePic?: StringNullableWithAggregatesFilter<"User"> | string | null - departmentId?: UuidNullableWithAggregatesFilter<"User"> | string | null - organizationId?: UuidNullableWithAggregatesFilter<"User"> | string | null - isOwner?: BoolWithAggregatesFilter<"User"> | boolean - createdAt?: DateTimeWithAggregatesFilter<"User"> | Date | string - updatedAt?: DateTimeWithAggregatesFilter<"User"> | Date | string - isActive?: BoolWithAggregatesFilter<"User"> | boolean - deletedAt?: DateTimeNullableWithAggregatesFilter<"User"> | Date | string | null - phoneNumber?: StringNullableWithAggregatesFilter<"User"> | string | null - jobTitle?: StringNullableWithAggregatesFilter<"User"> | string | null - timezone?: StringNullableWithAggregatesFilter<"User"> | string | null - bio?: StringNullableWithAggregatesFilter<"User"> | string | null - preferences?: JsonNullableWithAggregatesFilter<"User"> - emailVerificationToken?: StringNullableWithAggregatesFilter<"User"> | string | null - emailVerificationExpires?: DateTimeNullableWithAggregatesFilter<"User"> | Date | string | null - passwordResetToken?: StringNullableWithAggregatesFilter<"User"> | string | null - passwordResetExpires?: DateTimeNullableWithAggregatesFilter<"User"> | Date | string | null - refreshToken?: StringNullableWithAggregatesFilter<"User"> | string | null - lastLogin?: DateTimeNullableWithAggregatesFilter<"User"> | Date | string | null - lastLogout?: DateTimeNullableWithAggregatesFilter<"User"> | Date | string | null + export type UuidWithAggregatesFilter<$PrismaModel = never> = { + equals?: string | StringFieldRefInput<$PrismaModel> + in?: string[] | ListStringFieldRefInput<$PrismaModel> + notIn?: string[] | ListStringFieldRefInput<$PrismaModel> + lt?: string | StringFieldRefInput<$PrismaModel> + lte?: string | StringFieldRefInput<$PrismaModel> + gt?: string | StringFieldRefInput<$PrismaModel> + gte?: string | StringFieldRefInput<$PrismaModel> + mode?: QueryMode + not?: NestedUuidWithAggregatesFilter<$PrismaModel> | string + _count?: NestedIntFilter<$PrismaModel> + _min?: NestedStringFilter<$PrismaModel> + _max?: NestedStringFilter<$PrismaModel> } - export type OrganizationWhereInput = { - AND?: OrganizationWhereInput | OrganizationWhereInput[] - OR?: OrganizationWhereInput[] - NOT?: OrganizationWhereInput | OrganizationWhereInput[] - id?: UuidFilter<"Organization"> | string - name?: StringFilter<"Organization"> | string - description?: StringNullableFilter<"Organization"> | string | null - industry?: StringFilter<"Organization"> | string - sizeRange?: StringFilter<"Organization"> | string - website?: StringNullableFilter<"Organization"> | string | null - logoUrl?: StringNullableFilter<"Organization"> | string | null - isVerified?: BoolFilter<"Organization"> | boolean - status?: StringFilter<"Organization"> | string - createdAt?: DateTimeFilter<"Organization"> | Date | string - updatedAt?: DateTimeFilter<"Organization"> | Date | string - deletedAt?: DateTimeNullableFilter<"Organization"> | Date | string | null - createdBy?: UuidFilter<"Organization"> | string - address?: StringNullableFilter<"Organization"> | string | null - contactEmail?: StringNullableFilter<"Organization"> | string | null - contactPhone?: StringNullableFilter<"Organization"> | string | null - emailVerificationOTP?: StringNullableFilter<"Organization"> | string | null - emailVerificationExpires?: DateTimeNullableFilter<"Organization"> | Date | string | null - creator?: XOR - departments?: DepartmentListRelationFilter - teams?: TeamListRelationFilter - projects?: ProjectListRelationFilter - users?: UserListRelationFilter - reports?: ReportListRelationFilter - owners?: OrganizationOwnerListRelationFilter - templates?: TaskTemplateListRelationFilter - activityLogs?: ActivityLogListRelationFilter + export type StringWithAggregatesFilter<$PrismaModel = never> = { + equals?: string | StringFieldRefInput<$PrismaModel> + in?: string[] | ListStringFieldRefInput<$PrismaModel> + notIn?: string[] | ListStringFieldRefInput<$PrismaModel> + lt?: string | StringFieldRefInput<$PrismaModel> + lte?: string | StringFieldRefInput<$PrismaModel> + gt?: string | StringFieldRefInput<$PrismaModel> + gte?: string | StringFieldRefInput<$PrismaModel> + contains?: string | StringFieldRefInput<$PrismaModel> + startsWith?: string | StringFieldRefInput<$PrismaModel> + endsWith?: string | StringFieldRefInput<$PrismaModel> + mode?: QueryMode + not?: NestedStringWithAggregatesFilter<$PrismaModel> | string + _count?: NestedIntFilter<$PrismaModel> + _min?: NestedStringFilter<$PrismaModel> + _max?: NestedStringFilter<$PrismaModel> } - export type OrganizationOrderByWithRelationInput = { + export type StringNullableWithAggregatesFilter<$PrismaModel = never> = { + equals?: string | StringFieldRefInput<$PrismaModel> | null + in?: string[] | ListStringFieldRefInput<$PrismaModel> | null + notIn?: string[] | ListStringFieldRefInput<$PrismaModel> | null + lt?: string | StringFieldRefInput<$PrismaModel> + lte?: string | StringFieldRefInput<$PrismaModel> + gt?: string | StringFieldRefInput<$PrismaModel> + gte?: string | StringFieldRefInput<$PrismaModel> + contains?: string | StringFieldRefInput<$PrismaModel> + startsWith?: string | StringFieldRefInput<$PrismaModel> + endsWith?: string | StringFieldRefInput<$PrismaModel> + mode?: QueryMode + not?: NestedStringNullableWithAggregatesFilter<$PrismaModel> | string | null + _count?: NestedIntNullableFilter<$PrismaModel> + _min?: NestedStringNullableFilter<$PrismaModel> + _max?: NestedStringNullableFilter<$PrismaModel> + } + + export type EnumUserRoleWithAggregatesFilter<$PrismaModel = never> = { + equals?: $Enums.UserRole | EnumUserRoleFieldRefInput<$PrismaModel> + in?: $Enums.UserRole[] | ListEnumUserRoleFieldRefInput<$PrismaModel> + notIn?: $Enums.UserRole[] | ListEnumUserRoleFieldRefInput<$PrismaModel> + not?: NestedEnumUserRoleWithAggregatesFilter<$PrismaModel> | $Enums.UserRole + _count?: NestedIntFilter<$PrismaModel> + _min?: NestedEnumUserRoleFilter<$PrismaModel> + _max?: NestedEnumUserRoleFilter<$PrismaModel> + } + + export type UuidNullableWithAggregatesFilter<$PrismaModel = never> = { + equals?: string | StringFieldRefInput<$PrismaModel> | null + in?: string[] | ListStringFieldRefInput<$PrismaModel> | null + notIn?: string[] | ListStringFieldRefInput<$PrismaModel> | null + lt?: string | StringFieldRefInput<$PrismaModel> + lte?: string | StringFieldRefInput<$PrismaModel> + gt?: string | StringFieldRefInput<$PrismaModel> + gte?: string | StringFieldRefInput<$PrismaModel> + mode?: QueryMode + not?: NestedUuidNullableWithAggregatesFilter<$PrismaModel> | string | null + _count?: NestedIntNullableFilter<$PrismaModel> + _min?: NestedStringNullableFilter<$PrismaModel> + _max?: NestedStringNullableFilter<$PrismaModel> + } + + export type BoolWithAggregatesFilter<$PrismaModel = never> = { + equals?: boolean | BooleanFieldRefInput<$PrismaModel> + not?: NestedBoolWithAggregatesFilter<$PrismaModel> | boolean + _count?: NestedIntFilter<$PrismaModel> + _min?: NestedBoolFilter<$PrismaModel> + _max?: NestedBoolFilter<$PrismaModel> + } + + export type DateTimeWithAggregatesFilter<$PrismaModel = never> = { + equals?: Date | string | DateTimeFieldRefInput<$PrismaModel> + in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> + notIn?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> + lt?: Date | string | DateTimeFieldRefInput<$PrismaModel> + lte?: Date | string | DateTimeFieldRefInput<$PrismaModel> + gt?: Date | string | DateTimeFieldRefInput<$PrismaModel> + gte?: Date | string | DateTimeFieldRefInput<$PrismaModel> + not?: NestedDateTimeWithAggregatesFilter<$PrismaModel> | Date | string + _count?: NestedIntFilter<$PrismaModel> + _min?: NestedDateTimeFilter<$PrismaModel> + _max?: NestedDateTimeFilter<$PrismaModel> + } + + export type DateTimeNullableWithAggregatesFilter<$PrismaModel = never> = { + equals?: Date | string | DateTimeFieldRefInput<$PrismaModel> | null + in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null + notIn?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null + lt?: Date | string | DateTimeFieldRefInput<$PrismaModel> + lte?: Date | string | DateTimeFieldRefInput<$PrismaModel> + gt?: Date | string | DateTimeFieldRefInput<$PrismaModel> + gte?: Date | string | DateTimeFieldRefInput<$PrismaModel> + not?: NestedDateTimeNullableWithAggregatesFilter<$PrismaModel> | Date | string | null + _count?: NestedIntNullableFilter<$PrismaModel> + _min?: NestedDateTimeNullableFilter<$PrismaModel> + _max?: NestedDateTimeNullableFilter<$PrismaModel> + } + export type JsonNullableWithAggregatesFilter<$PrismaModel = never> = + | PatchUndefined< + Either>, Exclude>, 'path'>>, + Required> + > + | OptionalFlat>, 'path'>> + + export type JsonNullableWithAggregatesFilterBase<$PrismaModel = never> = { + equals?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter + path?: string[] + mode?: QueryMode | EnumQueryModeFieldRefInput<$PrismaModel> + string_contains?: string | StringFieldRefInput<$PrismaModel> + string_starts_with?: string | StringFieldRefInput<$PrismaModel> + string_ends_with?: string | StringFieldRefInput<$PrismaModel> + array_starts_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null + array_ends_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null + array_contains?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null + lt?: InputJsonValue | JsonFieldRefInput<$PrismaModel> + lte?: InputJsonValue | JsonFieldRefInput<$PrismaModel> + gt?: InputJsonValue | JsonFieldRefInput<$PrismaModel> + gte?: InputJsonValue | JsonFieldRefInput<$PrismaModel> + not?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter + _count?: NestedIntNullableFilter<$PrismaModel> + _min?: NestedJsonNullableFilter<$PrismaModel> + _max?: NestedJsonNullableFilter<$PrismaModel> + } + + export type UserScalarRelationFilter = { + is?: UserWhereInput + isNot?: UserWhereInput + } + + export type UserListRelationFilter = { + every?: UserWhereInput + some?: UserWhereInput + none?: UserWhereInput + } + + export type TaskTemplateListRelationFilter = { + every?: TaskTemplateWhereInput + some?: TaskTemplateWhereInput + none?: TaskTemplateWhereInput + } + + export type UserOrderByRelationAggregateInput = { + _count?: SortOrder + } + + export type TaskTemplateOrderByRelationAggregateInput = { + _count?: SortOrder + } + + export type OrganizationCountOrderByAggregateInput = { id?: SortOrder name?: SortOrder - description?: SortOrderInput | SortOrder + description?: SortOrder industry?: SortOrder sizeRange?: SortOrder - website?: SortOrderInput | SortOrder - logoUrl?: SortOrderInput | SortOrder + website?: SortOrder + logoUrl?: SortOrder isVerified?: SortOrder status?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder - deletedAt?: SortOrderInput | SortOrder + deletedAt?: SortOrder createdBy?: SortOrder - address?: SortOrderInput | SortOrder - contactEmail?: SortOrderInput | SortOrder - contactPhone?: SortOrderInput | SortOrder - emailVerificationOTP?: SortOrderInput | SortOrder - emailVerificationExpires?: SortOrderInput | SortOrder - creator?: UserOrderByWithRelationInput - departments?: DepartmentOrderByRelationAggregateInput - teams?: TeamOrderByRelationAggregateInput - projects?: ProjectOrderByRelationAggregateInput - users?: UserOrderByRelationAggregateInput - reports?: ReportOrderByRelationAggregateInput - owners?: OrganizationOwnerOrderByRelationAggregateInput - templates?: TaskTemplateOrderByRelationAggregateInput - activityLogs?: ActivityLogOrderByRelationAggregateInput + address?: SortOrder + contactEmail?: SortOrder + contactPhone?: SortOrder + emailVerificationOTP?: SortOrder + emailVerificationExpires?: SortOrder + } + + export type OrganizationMaxOrderByAggregateInput = { + id?: SortOrder + name?: SortOrder + description?: SortOrder + industry?: SortOrder + sizeRange?: SortOrder + website?: SortOrder + logoUrl?: SortOrder + isVerified?: SortOrder + status?: SortOrder + createdAt?: SortOrder + updatedAt?: SortOrder + deletedAt?: SortOrder + createdBy?: SortOrder + address?: SortOrder + contactEmail?: SortOrder + contactPhone?: SortOrder + emailVerificationOTP?: SortOrder + emailVerificationExpires?: SortOrder } - export type OrganizationWhereUniqueInput = Prisma.AtLeast<{ - id?: string - name?: string - AND?: OrganizationWhereInput | OrganizationWhereInput[] - OR?: OrganizationWhereInput[] - NOT?: OrganizationWhereInput | OrganizationWhereInput[] - description?: StringNullableFilter<"Organization"> | string | null - industry?: StringFilter<"Organization"> | string - sizeRange?: StringFilter<"Organization"> | string - website?: StringNullableFilter<"Organization"> | string | null - logoUrl?: StringNullableFilter<"Organization"> | string | null - isVerified?: BoolFilter<"Organization"> | boolean - status?: StringFilter<"Organization"> | string - createdAt?: DateTimeFilter<"Organization"> | Date | string - updatedAt?: DateTimeFilter<"Organization"> | Date | string - deletedAt?: DateTimeNullableFilter<"Organization"> | Date | string | null - createdBy?: UuidFilter<"Organization"> | string - address?: StringNullableFilter<"Organization"> | string | null - contactEmail?: StringNullableFilter<"Organization"> | string | null - contactPhone?: StringNullableFilter<"Organization"> | string | null - emailVerificationOTP?: StringNullableFilter<"Organization"> | string | null - emailVerificationExpires?: DateTimeNullableFilter<"Organization"> | Date | string | null - creator?: XOR - departments?: DepartmentListRelationFilter - teams?: TeamListRelationFilter - projects?: ProjectListRelationFilter - users?: UserListRelationFilter - reports?: ReportListRelationFilter - owners?: OrganizationOwnerListRelationFilter - templates?: TaskTemplateListRelationFilter - activityLogs?: ActivityLogListRelationFilter - }, "id" | "name"> - - export type OrganizationOrderByWithAggregationInput = { + export type OrganizationMinOrderByAggregateInput = { id?: SortOrder name?: SortOrder - description?: SortOrderInput | SortOrder + description?: SortOrder industry?: SortOrder sizeRange?: SortOrder - website?: SortOrderInput | SortOrder - logoUrl?: SortOrderInput | SortOrder + website?: SortOrder + logoUrl?: SortOrder isVerified?: SortOrder status?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder - deletedAt?: SortOrderInput | SortOrder + deletedAt?: SortOrder createdBy?: SortOrder - address?: SortOrderInput | SortOrder - contactEmail?: SortOrderInput | SortOrder - contactPhone?: SortOrderInput | SortOrder - emailVerificationOTP?: SortOrderInput | SortOrder - emailVerificationExpires?: SortOrderInput | SortOrder - _count?: OrganizationCountOrderByAggregateInput - _max?: OrganizationMaxOrderByAggregateInput - _min?: OrganizationMinOrderByAggregateInput + address?: SortOrder + contactEmail?: SortOrder + contactPhone?: SortOrder + emailVerificationOTP?: SortOrder + emailVerificationExpires?: SortOrder } - export type OrganizationScalarWhereWithAggregatesInput = { - AND?: OrganizationScalarWhereWithAggregatesInput | OrganizationScalarWhereWithAggregatesInput[] - OR?: OrganizationScalarWhereWithAggregatesInput[] - NOT?: OrganizationScalarWhereWithAggregatesInput | OrganizationScalarWhereWithAggregatesInput[] - id?: UuidWithAggregatesFilter<"Organization"> | string - name?: StringWithAggregatesFilter<"Organization"> | string - description?: StringNullableWithAggregatesFilter<"Organization"> | string | null - industry?: StringWithAggregatesFilter<"Organization"> | string - sizeRange?: StringWithAggregatesFilter<"Organization"> | string - website?: StringNullableWithAggregatesFilter<"Organization"> | string | null - logoUrl?: StringNullableWithAggregatesFilter<"Organization"> | string | null - isVerified?: BoolWithAggregatesFilter<"Organization"> | boolean - status?: StringWithAggregatesFilter<"Organization"> | string - createdAt?: DateTimeWithAggregatesFilter<"Organization"> | Date | string - updatedAt?: DateTimeWithAggregatesFilter<"Organization"> | Date | string - deletedAt?: DateTimeNullableWithAggregatesFilter<"Organization"> | Date | string | null - createdBy?: UuidWithAggregatesFilter<"Organization"> | string - address?: StringNullableWithAggregatesFilter<"Organization"> | string | null - contactEmail?: StringNullableWithAggregatesFilter<"Organization"> | string | null - contactPhone?: StringNullableWithAggregatesFilter<"Organization"> | string | null - emailVerificationOTP?: StringNullableWithAggregatesFilter<"Organization"> | string | null - emailVerificationExpires?: DateTimeNullableWithAggregatesFilter<"Organization"> | Date | string | null + export type OrganizationScalarRelationFilter = { + is?: OrganizationWhereInput + isNot?: OrganizationWhereInput } - export type OrganizationOwnerWhereInput = { - AND?: OrganizationOwnerWhereInput | OrganizationOwnerWhereInput[] - OR?: OrganizationOwnerWhereInput[] - NOT?: OrganizationOwnerWhereInput | OrganizationOwnerWhereInput[] - id?: UuidFilter<"OrganizationOwner"> | string - organizationId?: UuidFilter<"OrganizationOwner"> | string - userId?: UuidFilter<"OrganizationOwner"> | string - createdAt?: DateTimeFilter<"OrganizationOwner"> | Date | string - updatedAt?: DateTimeFilter<"OrganizationOwner"> | Date | string - organization?: XOR - user?: XOR + export type OrganizationOwnerOrganizationIdUserIdCompoundUniqueInput = { + organizationId: string + userId: string } - export type OrganizationOwnerOrderByWithRelationInput = { + export type OrganizationOwnerCountOrderByAggregateInput = { id?: SortOrder organizationId?: SortOrder userId?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder - organization?: OrganizationOrderByWithRelationInput - user?: UserOrderByWithRelationInput } - export type OrganizationOwnerWhereUniqueInput = Prisma.AtLeast<{ - id?: string - organizationId_userId?: OrganizationOwnerOrganizationIdUserIdCompoundUniqueInput - AND?: OrganizationOwnerWhereInput | OrganizationOwnerWhereInput[] - OR?: OrganizationOwnerWhereInput[] - NOT?: OrganizationOwnerWhereInput | OrganizationOwnerWhereInput[] - organizationId?: UuidFilter<"OrganizationOwner"> | string - userId?: UuidFilter<"OrganizationOwner"> | string - createdAt?: DateTimeFilter<"OrganizationOwner"> | Date | string - updatedAt?: DateTimeFilter<"OrganizationOwner"> | Date | string - organization?: XOR - user?: XOR - }, "id" | "organizationId_userId"> - - export type OrganizationOwnerOrderByWithAggregationInput = { + export type OrganizationOwnerMaxOrderByAggregateInput = { id?: SortOrder organizationId?: SortOrder userId?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder - _count?: OrganizationOwnerCountOrderByAggregateInput - _max?: OrganizationOwnerMaxOrderByAggregateInput - _min?: OrganizationOwnerMinOrderByAggregateInput } - export type OrganizationOwnerScalarWhereWithAggregatesInput = { - AND?: OrganizationOwnerScalarWhereWithAggregatesInput | OrganizationOwnerScalarWhereWithAggregatesInput[] - OR?: OrganizationOwnerScalarWhereWithAggregatesInput[] - NOT?: OrganizationOwnerScalarWhereWithAggregatesInput | OrganizationOwnerScalarWhereWithAggregatesInput[] - id?: UuidWithAggregatesFilter<"OrganizationOwner"> | string - organizationId?: UuidWithAggregatesFilter<"OrganizationOwner"> | string - userId?: UuidWithAggregatesFilter<"OrganizationOwner"> | string - createdAt?: DateTimeWithAggregatesFilter<"OrganizationOwner"> | Date | string - updatedAt?: DateTimeWithAggregatesFilter<"OrganizationOwner"> | Date | string + export type OrganizationOwnerMinOrderByAggregateInput = { + id?: SortOrder + organizationId?: SortOrder + userId?: SortOrder + createdAt?: SortOrder + updatedAt?: SortOrder } - export type DepartmentWhereInput = { - AND?: DepartmentWhereInput | DepartmentWhereInput[] - OR?: DepartmentWhereInput[] - NOT?: DepartmentWhereInput | DepartmentWhereInput[] - id?: UuidFilter<"Department"> | string - name?: StringFilter<"Department"> | string - description?: StringNullableFilter<"Department"> | string | null - organizationId?: UuidFilter<"Department"> | string - managerId?: UuidFilter<"Department"> | string - createdAt?: DateTimeFilter<"Department"> | Date | string - updatedAt?: DateTimeFilter<"Department"> | Date | string - deletedAt?: DateTimeNullableFilter<"Department"> | Date | string | null - organization?: XOR - manager?: XOR - teams?: TeamListRelationFilter - users?: UserListRelationFilter - activityLogs?: ActivityLogListRelationFilter - Report?: ReportListRelationFilter + export type DepartmentOrganizationIdNameCompoundUniqueInput = { + organizationId: string + name: string } - export type DepartmentOrderByWithRelationInput = { + export type DepartmentCountOrderByAggregateInput = { id?: SortOrder name?: SortOrder - description?: SortOrderInput | SortOrder + description?: SortOrder organizationId?: SortOrder managerId?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder - deletedAt?: SortOrderInput | SortOrder - organization?: OrganizationOrderByWithRelationInput - manager?: UserOrderByWithRelationInput - teams?: TeamOrderByRelationAggregateInput - users?: UserOrderByRelationAggregateInput - activityLogs?: ActivityLogOrderByRelationAggregateInput - Report?: ReportOrderByRelationAggregateInput + deletedAt?: SortOrder } - export type DepartmentWhereUniqueInput = Prisma.AtLeast<{ - id?: string - organizationId_name?: DepartmentOrganizationIdNameCompoundUniqueInput - AND?: DepartmentWhereInput | DepartmentWhereInput[] - OR?: DepartmentWhereInput[] - NOT?: DepartmentWhereInput | DepartmentWhereInput[] - name?: StringFilter<"Department"> | string - description?: StringNullableFilter<"Department"> | string | null - organizationId?: UuidFilter<"Department"> | string - managerId?: UuidFilter<"Department"> | string - createdAt?: DateTimeFilter<"Department"> | Date | string - updatedAt?: DateTimeFilter<"Department"> | Date | string - deletedAt?: DateTimeNullableFilter<"Department"> | Date | string | null - organization?: XOR - manager?: XOR - teams?: TeamListRelationFilter - users?: UserListRelationFilter - activityLogs?: ActivityLogListRelationFilter - Report?: ReportListRelationFilter - }, "id" | "organizationId_name"> - - export type DepartmentOrderByWithAggregationInput = { + export type DepartmentMaxOrderByAggregateInput = { id?: SortOrder name?: SortOrder - description?: SortOrderInput | SortOrder + description?: SortOrder organizationId?: SortOrder managerId?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder - deletedAt?: SortOrderInput | SortOrder - _count?: DepartmentCountOrderByAggregateInput - _max?: DepartmentMaxOrderByAggregateInput - _min?: DepartmentMinOrderByAggregateInput + deletedAt?: SortOrder } - export type DepartmentScalarWhereWithAggregatesInput = { - AND?: DepartmentScalarWhereWithAggregatesInput | DepartmentScalarWhereWithAggregatesInput[] - OR?: DepartmentScalarWhereWithAggregatesInput[] - NOT?: DepartmentScalarWhereWithAggregatesInput | DepartmentScalarWhereWithAggregatesInput[] - id?: UuidWithAggregatesFilter<"Department"> | string - name?: StringWithAggregatesFilter<"Department"> | string - description?: StringNullableWithAggregatesFilter<"Department"> | string | null - organizationId?: UuidWithAggregatesFilter<"Department"> | string - managerId?: UuidWithAggregatesFilter<"Department"> | string - createdAt?: DateTimeWithAggregatesFilter<"Department"> | Date | string - updatedAt?: DateTimeWithAggregatesFilter<"Department"> | Date | string - deletedAt?: DateTimeNullableWithAggregatesFilter<"Department"> | Date | string | null + export type DepartmentMinOrderByAggregateInput = { + id?: SortOrder + name?: SortOrder + description?: SortOrder + organizationId?: SortOrder + managerId?: SortOrder + createdAt?: SortOrder + updatedAt?: SortOrder + deletedAt?: SortOrder } - export type TeamWhereInput = { - AND?: TeamWhereInput | TeamWhereInput[] - OR?: TeamWhereInput[] - NOT?: TeamWhereInput | TeamWhereInput[] - id?: UuidFilter<"Team"> | string - name?: StringFilter<"Team"> | string - description?: StringNullableFilter<"Team"> | string | null - createdBy?: UuidFilter<"Team"> | string - organizationId?: UuidFilter<"Team"> | string - departmentId?: UuidNullableFilter<"Team"> | string | null - createdAt?: DateTimeFilter<"Team"> | Date | string - updatedAt?: DateTimeFilter<"Team"> | Date | string - deletedAt?: DateTimeNullableFilter<"Team"> | Date | string | null - avatar?: StringNullableFilter<"Team"> | string | null - creator?: XOR - organization?: XOR - department?: XOR | null - members?: TeamMemberListRelationFilter - projects?: ProjectListRelationFilter - reports?: ReportListRelationFilter - activityLogs?: ActivityLogListRelationFilter + export type TeamOrganizationIdNameCompoundUniqueInput = { + organizationId: string + name: string } - export type TeamOrderByWithRelationInput = { + export type TeamCountOrderByAggregateInput = { id?: SortOrder name?: SortOrder - description?: SortOrderInput | SortOrder + description?: SortOrder createdBy?: SortOrder organizationId?: SortOrder - departmentId?: SortOrderInput | SortOrder + departmentId?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder - deletedAt?: SortOrderInput | SortOrder - avatar?: SortOrderInput | SortOrder - creator?: UserOrderByWithRelationInput - organization?: OrganizationOrderByWithRelationInput - department?: DepartmentOrderByWithRelationInput - members?: TeamMemberOrderByRelationAggregateInput - projects?: ProjectOrderByRelationAggregateInput - reports?: ReportOrderByRelationAggregateInput - activityLogs?: ActivityLogOrderByRelationAggregateInput + deletedAt?: SortOrder + avatar?: SortOrder } - export type TeamWhereUniqueInput = Prisma.AtLeast<{ - id?: string - organizationId_name?: TeamOrganizationIdNameCompoundUniqueInput - AND?: TeamWhereInput | TeamWhereInput[] - OR?: TeamWhereInput[] - NOT?: TeamWhereInput | TeamWhereInput[] - name?: StringFilter<"Team"> | string - description?: StringNullableFilter<"Team"> | string | null - createdBy?: UuidFilter<"Team"> | string - organizationId?: UuidFilter<"Team"> | string - departmentId?: UuidNullableFilter<"Team"> | string | null - createdAt?: DateTimeFilter<"Team"> | Date | string - updatedAt?: DateTimeFilter<"Team"> | Date | string - deletedAt?: DateTimeNullableFilter<"Team"> | Date | string | null - avatar?: StringNullableFilter<"Team"> | string | null - creator?: XOR - organization?: XOR - department?: XOR | null - members?: TeamMemberListRelationFilter - projects?: ProjectListRelationFilter - reports?: ReportListRelationFilter - activityLogs?: ActivityLogListRelationFilter - }, "id" | "organizationId_name"> + export type TeamMaxOrderByAggregateInput = { + id?: SortOrder + name?: SortOrder + description?: SortOrder + createdBy?: SortOrder + organizationId?: SortOrder + departmentId?: SortOrder + createdAt?: SortOrder + updatedAt?: SortOrder + deletedAt?: SortOrder + avatar?: SortOrder + } - export type TeamOrderByWithAggregationInput = { + export type TeamMinOrderByAggregateInput = { id?: SortOrder name?: SortOrder - description?: SortOrderInput | SortOrder + description?: SortOrder createdBy?: SortOrder organizationId?: SortOrder - departmentId?: SortOrderInput | SortOrder + departmentId?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder - deletedAt?: SortOrderInput | SortOrder - avatar?: SortOrderInput | SortOrder - _count?: TeamCountOrderByAggregateInput - _max?: TeamMaxOrderByAggregateInput - _min?: TeamMinOrderByAggregateInput + deletedAt?: SortOrder + avatar?: SortOrder } - export type TeamScalarWhereWithAggregatesInput = { - AND?: TeamScalarWhereWithAggregatesInput | TeamScalarWhereWithAggregatesInput[] - OR?: TeamScalarWhereWithAggregatesInput[] - NOT?: TeamScalarWhereWithAggregatesInput | TeamScalarWhereWithAggregatesInput[] - id?: UuidWithAggregatesFilter<"Team"> | string - name?: StringWithAggregatesFilter<"Team"> | string - description?: StringNullableWithAggregatesFilter<"Team"> | string | null - createdBy?: UuidWithAggregatesFilter<"Team"> | string - organizationId?: UuidWithAggregatesFilter<"Team"> | string - departmentId?: UuidNullableWithAggregatesFilter<"Team"> | string | null - createdAt?: DateTimeWithAggregatesFilter<"Team"> | Date | string - updatedAt?: DateTimeWithAggregatesFilter<"Team"> | Date | string - deletedAt?: DateTimeNullableWithAggregatesFilter<"Team"> | Date | string | null - avatar?: StringNullableWithAggregatesFilter<"Team"> | string | null + export type EnumTeamMemberRoleFilter<$PrismaModel = never> = { + equals?: $Enums.TeamMemberRole | EnumTeamMemberRoleFieldRefInput<$PrismaModel> + in?: $Enums.TeamMemberRole[] | ListEnumTeamMemberRoleFieldRefInput<$PrismaModel> + notIn?: $Enums.TeamMemberRole[] | ListEnumTeamMemberRoleFieldRefInput<$PrismaModel> + not?: NestedEnumTeamMemberRoleFilter<$PrismaModel> | $Enums.TeamMemberRole } - export type TeamMemberWhereInput = { - AND?: TeamMemberWhereInput | TeamMemberWhereInput[] - OR?: TeamMemberWhereInput[] - NOT?: TeamMemberWhereInput | TeamMemberWhereInput[] - id?: UuidFilter<"TeamMember"> | string - teamId?: UuidFilter<"TeamMember"> | string - userId?: UuidFilter<"TeamMember"> | string - role?: EnumTeamMemberRoleFilter<"TeamMember"> | $Enums.TeamMemberRole - joinedAt?: DateTimeFilter<"TeamMember"> | Date | string - isActive?: BoolFilter<"TeamMember"> | boolean - deletedAt?: DateTimeNullableFilter<"TeamMember"> | Date | string | null - team?: XOR - user?: XOR + export type TeamScalarRelationFilter = { + is?: TeamWhereInput + isNot?: TeamWhereInput } - export type TeamMemberOrderByWithRelationInput = { + export type TeamMemberTeamIdUserIdCompoundUniqueInput = { + teamId: string + userId: string + } + + export type TeamMemberCountOrderByAggregateInput = { id?: SortOrder teamId?: SortOrder userId?: SortOrder role?: SortOrder joinedAt?: SortOrder isActive?: SortOrder - deletedAt?: SortOrderInput | SortOrder - team?: TeamOrderByWithRelationInput - user?: UserOrderByWithRelationInput + deletedAt?: SortOrder } - export type TeamMemberWhereUniqueInput = Prisma.AtLeast<{ - id?: string - teamId_userId?: TeamMemberTeamIdUserIdCompoundUniqueInput - AND?: TeamMemberWhereInput | TeamMemberWhereInput[] - OR?: TeamMemberWhereInput[] - NOT?: TeamMemberWhereInput | TeamMemberWhereInput[] - teamId?: UuidFilter<"TeamMember"> | string - userId?: UuidFilter<"TeamMember"> | string - role?: EnumTeamMemberRoleFilter<"TeamMember"> | $Enums.TeamMemberRole - joinedAt?: DateTimeFilter<"TeamMember"> | Date | string - isActive?: BoolFilter<"TeamMember"> | boolean - deletedAt?: DateTimeNullableFilter<"TeamMember"> | Date | string | null - team?: XOR - user?: XOR - }, "id" | "teamId_userId"> + export type TeamMemberMaxOrderByAggregateInput = { + id?: SortOrder + teamId?: SortOrder + userId?: SortOrder + role?: SortOrder + joinedAt?: SortOrder + isActive?: SortOrder + deletedAt?: SortOrder + } - export type TeamMemberOrderByWithAggregationInput = { + export type TeamMemberMinOrderByAggregateInput = { id?: SortOrder teamId?: SortOrder userId?: SortOrder role?: SortOrder joinedAt?: SortOrder isActive?: SortOrder - deletedAt?: SortOrderInput | SortOrder - _count?: TeamMemberCountOrderByAggregateInput - _max?: TeamMemberMaxOrderByAggregateInput - _min?: TeamMemberMinOrderByAggregateInput + deletedAt?: SortOrder } - export type TeamMemberScalarWhereWithAggregatesInput = { - AND?: TeamMemberScalarWhereWithAggregatesInput | TeamMemberScalarWhereWithAggregatesInput[] - OR?: TeamMemberScalarWhereWithAggregatesInput[] - NOT?: TeamMemberScalarWhereWithAggregatesInput | TeamMemberScalarWhereWithAggregatesInput[] - id?: UuidWithAggregatesFilter<"TeamMember"> | string - teamId?: UuidWithAggregatesFilter<"TeamMember"> | string - userId?: UuidWithAggregatesFilter<"TeamMember"> | string - role?: EnumTeamMemberRoleWithAggregatesFilter<"TeamMember"> | $Enums.TeamMemberRole - joinedAt?: DateTimeWithAggregatesFilter<"TeamMember"> | Date | string - isActive?: BoolWithAggregatesFilter<"TeamMember"> | boolean - deletedAt?: DateTimeNullableWithAggregatesFilter<"TeamMember"> | Date | string | null + export type EnumTeamMemberRoleWithAggregatesFilter<$PrismaModel = never> = { + equals?: $Enums.TeamMemberRole | EnumTeamMemberRoleFieldRefInput<$PrismaModel> + in?: $Enums.TeamMemberRole[] | ListEnumTeamMemberRoleFieldRefInput<$PrismaModel> + notIn?: $Enums.TeamMemberRole[] | ListEnumTeamMemberRoleFieldRefInput<$PrismaModel> + not?: NestedEnumTeamMemberRoleWithAggregatesFilter<$PrismaModel> | $Enums.TeamMemberRole + _count?: NestedIntFilter<$PrismaModel> + _min?: NestedEnumTeamMemberRoleFilter<$PrismaModel> + _max?: NestedEnumTeamMemberRoleFilter<$PrismaModel> } - export type ProjectWhereInput = { - AND?: ProjectWhereInput | ProjectWhereInput[] - OR?: ProjectWhereInput[] - NOT?: ProjectWhereInput | ProjectWhereInput[] - id?: UuidFilter<"Project"> | string - name?: StringFilter<"Project"> | string - description?: StringNullableFilter<"Project"> | string | null - status?: StringFilter<"Project"> | string - createdBy?: UuidFilter<"Project"> | string - organizationId?: UuidFilter<"Project"> | string - teamId?: UuidFilter<"Project"> | string - startDate?: DateTimeFilter<"Project"> | Date | string - endDate?: DateTimeFilter<"Project"> | Date | string - createdAt?: DateTimeFilter<"Project"> | Date | string - updatedAt?: DateTimeFilter<"Project"> | Date | string - deletedAt?: DateTimeNullableFilter<"Project"> | Date | string | null - priority?: EnumTaskPriorityFilter<"Project"> | $Enums.TaskPriority - progress?: FloatNullableFilter<"Project"> | number | null - budget?: FloatNullableFilter<"Project"> | number | null - lastModifiedBy?: UuidNullableFilter<"Project"> | string | null - creator?: XOR - modifier?: XOR | null - organization?: XOR - team?: XOR - sprints?: SprintListRelationFilter - tasks?: TaskListRelationFilter - reports?: ReportListRelationFilter - activityLogs?: ActivityLogListRelationFilter - ProjectMember?: ProjectMemberListRelationFilter + export type EnumTaskPriorityFilter<$PrismaModel = never> = { + equals?: $Enums.TaskPriority | EnumTaskPriorityFieldRefInput<$PrismaModel> + in?: $Enums.TaskPriority[] | ListEnumTaskPriorityFieldRefInput<$PrismaModel> + notIn?: $Enums.TaskPriority[] | ListEnumTaskPriorityFieldRefInput<$PrismaModel> + not?: NestedEnumTaskPriorityFilter<$PrismaModel> | $Enums.TaskPriority } - export type ProjectOrderByWithRelationInput = { + export type FloatNullableFilter<$PrismaModel = never> = { + equals?: number | FloatFieldRefInput<$PrismaModel> | null + in?: number[] | ListFloatFieldRefInput<$PrismaModel> | null + notIn?: number[] | ListFloatFieldRefInput<$PrismaModel> | null + lt?: number | FloatFieldRefInput<$PrismaModel> + lte?: number | FloatFieldRefInput<$PrismaModel> + gt?: number | FloatFieldRefInput<$PrismaModel> + gte?: number | FloatFieldRefInput<$PrismaModel> + not?: NestedFloatNullableFilter<$PrismaModel> | number | null + } + + export type UserNullableScalarRelationFilter = { + is?: UserWhereInput | null + isNot?: UserWhereInput | null + } + + export type SprintListRelationFilter = { + every?: SprintWhereInput + some?: SprintWhereInput + none?: SprintWhereInput + } + + export type SprintOrderByRelationAggregateInput = { + _count?: SortOrder + } + + export type ProjectOrganizationIdNameCompoundUniqueInput = { + organizationId: string + name: string + } + + export type ProjectCountOrderByAggregateInput = { id?: SortOrder name?: SortOrder - description?: SortOrderInput | SortOrder + description?: SortOrder status?: SortOrder createdBy?: SortOrder organizationId?: SortOrder @@ -30961,58 +49170,41 @@ export namespace Prisma { endDate?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder - deletedAt?: SortOrderInput | SortOrder + deletedAt?: SortOrder priority?: SortOrder - progress?: SortOrderInput | SortOrder - budget?: SortOrderInput | SortOrder - lastModifiedBy?: SortOrderInput | SortOrder - creator?: UserOrderByWithRelationInput - modifier?: UserOrderByWithRelationInput - organization?: OrganizationOrderByWithRelationInput - team?: TeamOrderByWithRelationInput - sprints?: SprintOrderByRelationAggregateInput - tasks?: TaskOrderByRelationAggregateInput - reports?: ReportOrderByRelationAggregateInput - activityLogs?: ActivityLogOrderByRelationAggregateInput - ProjectMember?: ProjectMemberOrderByRelationAggregateInput + progress?: SortOrder + budget?: SortOrder + lastModifiedBy?: SortOrder + } + + export type ProjectAvgOrderByAggregateInput = { + progress?: SortOrder + budget?: SortOrder + } + + export type ProjectMaxOrderByAggregateInput = { + id?: SortOrder + name?: SortOrder + description?: SortOrder + status?: SortOrder + createdBy?: SortOrder + organizationId?: SortOrder + teamId?: SortOrder + startDate?: SortOrder + endDate?: SortOrder + createdAt?: SortOrder + updatedAt?: SortOrder + deletedAt?: SortOrder + priority?: SortOrder + progress?: SortOrder + budget?: SortOrder + lastModifiedBy?: SortOrder } - export type ProjectWhereUniqueInput = Prisma.AtLeast<{ - id?: string - organizationId_name?: ProjectOrganizationIdNameCompoundUniqueInput - AND?: ProjectWhereInput | ProjectWhereInput[] - OR?: ProjectWhereInput[] - NOT?: ProjectWhereInput | ProjectWhereInput[] - name?: StringFilter<"Project"> | string - description?: StringNullableFilter<"Project"> | string | null - status?: StringFilter<"Project"> | string - createdBy?: UuidFilter<"Project"> | string - organizationId?: UuidFilter<"Project"> | string - teamId?: UuidFilter<"Project"> | string - startDate?: DateTimeFilter<"Project"> | Date | string - endDate?: DateTimeFilter<"Project"> | Date | string - createdAt?: DateTimeFilter<"Project"> | Date | string - updatedAt?: DateTimeFilter<"Project"> | Date | string - deletedAt?: DateTimeNullableFilter<"Project"> | Date | string | null - priority?: EnumTaskPriorityFilter<"Project"> | $Enums.TaskPriority - progress?: FloatNullableFilter<"Project"> | number | null - budget?: FloatNullableFilter<"Project"> | number | null - lastModifiedBy?: UuidNullableFilter<"Project"> | string | null - creator?: XOR - modifier?: XOR | null - organization?: XOR - team?: XOR - sprints?: SprintListRelationFilter - tasks?: TaskListRelationFilter - reports?: ReportListRelationFilter - activityLogs?: ActivityLogListRelationFilter - ProjectMember?: ProjectMemberListRelationFilter - }, "id" | "organizationId_name"> - - export type ProjectOrderByWithAggregationInput = { + export type ProjectMinOrderByAggregateInput = { id?: SortOrder name?: SortOrder - description?: SortOrderInput | SortOrder + description?: SortOrder status?: SortOrder createdBy?: SortOrder organizationId?: SortOrder @@ -31021,385 +49213,295 @@ export namespace Prisma { endDate?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder - deletedAt?: SortOrderInput | SortOrder + deletedAt?: SortOrder priority?: SortOrder - progress?: SortOrderInput | SortOrder - budget?: SortOrderInput | SortOrder - lastModifiedBy?: SortOrderInput | SortOrder - _count?: ProjectCountOrderByAggregateInput - _avg?: ProjectAvgOrderByAggregateInput - _max?: ProjectMaxOrderByAggregateInput - _min?: ProjectMinOrderByAggregateInput - _sum?: ProjectSumOrderByAggregateInput + progress?: SortOrder + budget?: SortOrder + lastModifiedBy?: SortOrder } - export type ProjectScalarWhereWithAggregatesInput = { - AND?: ProjectScalarWhereWithAggregatesInput | ProjectScalarWhereWithAggregatesInput[] - OR?: ProjectScalarWhereWithAggregatesInput[] - NOT?: ProjectScalarWhereWithAggregatesInput | ProjectScalarWhereWithAggregatesInput[] - id?: UuidWithAggregatesFilter<"Project"> | string - name?: StringWithAggregatesFilter<"Project"> | string - description?: StringNullableWithAggregatesFilter<"Project"> | string | null - status?: StringWithAggregatesFilter<"Project"> | string - createdBy?: UuidWithAggregatesFilter<"Project"> | string - organizationId?: UuidWithAggregatesFilter<"Project"> | string - teamId?: UuidWithAggregatesFilter<"Project"> | string - startDate?: DateTimeWithAggregatesFilter<"Project"> | Date | string - endDate?: DateTimeWithAggregatesFilter<"Project"> | Date | string - createdAt?: DateTimeWithAggregatesFilter<"Project"> | Date | string - updatedAt?: DateTimeWithAggregatesFilter<"Project"> | Date | string - deletedAt?: DateTimeNullableWithAggregatesFilter<"Project"> | Date | string | null - priority?: EnumTaskPriorityWithAggregatesFilter<"Project"> | $Enums.TaskPriority - progress?: FloatNullableWithAggregatesFilter<"Project"> | number | null - budget?: FloatNullableWithAggregatesFilter<"Project"> | number | null - lastModifiedBy?: UuidNullableWithAggregatesFilter<"Project"> | string | null + export type ProjectSumOrderByAggregateInput = { + progress?: SortOrder + budget?: SortOrder } - export type ProjectMemberWhereInput = { - AND?: ProjectMemberWhereInput | ProjectMemberWhereInput[] - OR?: ProjectMemberWhereInput[] - NOT?: ProjectMemberWhereInput | ProjectMemberWhereInput[] - id?: UuidFilter<"ProjectMember"> | string - projectId?: UuidFilter<"ProjectMember"> | string - userId?: UuidFilter<"ProjectMember"> | string - role?: StringFilter<"ProjectMember"> | string - isActive?: BoolFilter<"ProjectMember"> | boolean - joinedAt?: DateTimeFilter<"ProjectMember"> | Date | string - leftAt?: DateTimeNullableFilter<"ProjectMember"> | Date | string | null - deletedAt?: DateTimeNullableFilter<"ProjectMember"> | Date | string | null - project?: XOR - user?: XOR + export type EnumTaskPriorityWithAggregatesFilter<$PrismaModel = never> = { + equals?: $Enums.TaskPriority | EnumTaskPriorityFieldRefInput<$PrismaModel> + in?: $Enums.TaskPriority[] | ListEnumTaskPriorityFieldRefInput<$PrismaModel> + notIn?: $Enums.TaskPriority[] | ListEnumTaskPriorityFieldRefInput<$PrismaModel> + not?: NestedEnumTaskPriorityWithAggregatesFilter<$PrismaModel> | $Enums.TaskPriority + _count?: NestedIntFilter<$PrismaModel> + _min?: NestedEnumTaskPriorityFilter<$PrismaModel> + _max?: NestedEnumTaskPriorityFilter<$PrismaModel> } - export type ProjectMemberOrderByWithRelationInput = { + export type FloatNullableWithAggregatesFilter<$PrismaModel = never> = { + equals?: number | FloatFieldRefInput<$PrismaModel> | null + in?: number[] | ListFloatFieldRefInput<$PrismaModel> | null + notIn?: number[] | ListFloatFieldRefInput<$PrismaModel> | null + lt?: number | FloatFieldRefInput<$PrismaModel> + lte?: number | FloatFieldRefInput<$PrismaModel> + gt?: number | FloatFieldRefInput<$PrismaModel> + gte?: number | FloatFieldRefInput<$PrismaModel> + not?: NestedFloatNullableWithAggregatesFilter<$PrismaModel> | number | null + _count?: NestedIntNullableFilter<$PrismaModel> + _avg?: NestedFloatNullableFilter<$PrismaModel> + _sum?: NestedFloatNullableFilter<$PrismaModel> + _min?: NestedFloatNullableFilter<$PrismaModel> + _max?: NestedFloatNullableFilter<$PrismaModel> + } + + export type ProjectScalarRelationFilter = { + is?: ProjectWhereInput + isNot?: ProjectWhereInput + } + + export type ProjectMemberProjectIdUserIdCompoundUniqueInput = { + projectId: string + userId: string + } + + export type ProjectMemberCountOrderByAggregateInput = { id?: SortOrder projectId?: SortOrder userId?: SortOrder role?: SortOrder isActive?: SortOrder joinedAt?: SortOrder - leftAt?: SortOrderInput | SortOrder - deletedAt?: SortOrderInput | SortOrder - project?: ProjectOrderByWithRelationInput - user?: UserOrderByWithRelationInput + leftAt?: SortOrder + deletedAt?: SortOrder } - export type ProjectMemberWhereUniqueInput = Prisma.AtLeast<{ - id?: string - projectId_userId?: ProjectMemberProjectIdUserIdCompoundUniqueInput - AND?: ProjectMemberWhereInput | ProjectMemberWhereInput[] - OR?: ProjectMemberWhereInput[] - NOT?: ProjectMemberWhereInput | ProjectMemberWhereInput[] - projectId?: UuidFilter<"ProjectMember"> | string - userId?: UuidFilter<"ProjectMember"> | string - role?: StringFilter<"ProjectMember"> | string - isActive?: BoolFilter<"ProjectMember"> | boolean - joinedAt?: DateTimeFilter<"ProjectMember"> | Date | string - leftAt?: DateTimeNullableFilter<"ProjectMember"> | Date | string | null - deletedAt?: DateTimeNullableFilter<"ProjectMember"> | Date | string | null - project?: XOR - user?: XOR - }, "id" | "projectId_userId"> + export type ProjectMemberMaxOrderByAggregateInput = { + id?: SortOrder + projectId?: SortOrder + userId?: SortOrder + role?: SortOrder + isActive?: SortOrder + joinedAt?: SortOrder + leftAt?: SortOrder + deletedAt?: SortOrder + } - export type ProjectMemberOrderByWithAggregationInput = { + export type ProjectMemberMinOrderByAggregateInput = { id?: SortOrder projectId?: SortOrder userId?: SortOrder role?: SortOrder isActive?: SortOrder joinedAt?: SortOrder - leftAt?: SortOrderInput | SortOrder - deletedAt?: SortOrderInput | SortOrder - _count?: ProjectMemberCountOrderByAggregateInput - _max?: ProjectMemberMaxOrderByAggregateInput - _min?: ProjectMemberMinOrderByAggregateInput + leftAt?: SortOrder + deletedAt?: SortOrder } - export type ProjectMemberScalarWhereWithAggregatesInput = { - AND?: ProjectMemberScalarWhereWithAggregatesInput | ProjectMemberScalarWhereWithAggregatesInput[] - OR?: ProjectMemberScalarWhereWithAggregatesInput[] - NOT?: ProjectMemberScalarWhereWithAggregatesInput | ProjectMemberScalarWhereWithAggregatesInput[] - id?: UuidWithAggregatesFilter<"ProjectMember"> | string - projectId?: UuidWithAggregatesFilter<"ProjectMember"> | string - userId?: UuidWithAggregatesFilter<"ProjectMember"> | string - role?: StringWithAggregatesFilter<"ProjectMember"> | string - isActive?: BoolWithAggregatesFilter<"ProjectMember"> | boolean - joinedAt?: DateTimeWithAggregatesFilter<"ProjectMember"> | Date | string - leftAt?: DateTimeNullableWithAggregatesFilter<"ProjectMember"> | Date | string | null - deletedAt?: DateTimeNullableWithAggregatesFilter<"ProjectMember"> | Date | string | null + export type IntFilter<$PrismaModel = never> = { + equals?: number | IntFieldRefInput<$PrismaModel> + in?: number[] | ListIntFieldRefInput<$PrismaModel> + notIn?: number[] | ListIntFieldRefInput<$PrismaModel> + lt?: number | IntFieldRefInput<$PrismaModel> + lte?: number | IntFieldRefInput<$PrismaModel> + gt?: number | IntFieldRefInput<$PrismaModel> + gte?: number | IntFieldRefInput<$PrismaModel> + not?: NestedIntFilter<$PrismaModel> | number } - export type SprintWhereInput = { - AND?: SprintWhereInput | SprintWhereInput[] - OR?: SprintWhereInput[] - NOT?: SprintWhereInput | SprintWhereInput[] - id?: UuidFilter<"Sprint"> | string - projectId?: UuidFilter<"Sprint"> | string - name?: StringFilter<"Sprint"> | string - description?: StringNullableFilter<"Sprint"> | string | null - startDate?: DateTimeFilter<"Sprint"> | Date | string - endDate?: DateTimeFilter<"Sprint"> | Date | string - status?: StringFilter<"Sprint"> | string - goal?: StringNullableFilter<"Sprint"> | string | null - order?: IntFilter<"Sprint"> | number - project?: XOR - tasks?: TaskListRelationFilter - activityLogs?: ActivityLogListRelationFilter + export type SprintProjectIdNameCompoundUniqueInput = { + projectId: string + name: string } - export type SprintOrderByWithRelationInput = { + export type SprintCountOrderByAggregateInput = { id?: SortOrder projectId?: SortOrder name?: SortOrder - description?: SortOrderInput | SortOrder + description?: SortOrder startDate?: SortOrder endDate?: SortOrder status?: SortOrder - goal?: SortOrderInput | SortOrder + goal?: SortOrder order?: SortOrder - project?: ProjectOrderByWithRelationInput - tasks?: TaskOrderByRelationAggregateInput - activityLogs?: ActivityLogOrderByRelationAggregateInput } - export type SprintWhereUniqueInput = Prisma.AtLeast<{ - id?: string - projectId_name?: SprintProjectIdNameCompoundUniqueInput - AND?: SprintWhereInput | SprintWhereInput[] - OR?: SprintWhereInput[] - NOT?: SprintWhereInput | SprintWhereInput[] - projectId?: UuidFilter<"Sprint"> | string - name?: StringFilter<"Sprint"> | string - description?: StringNullableFilter<"Sprint"> | string | null - startDate?: DateTimeFilter<"Sprint"> | Date | string - endDate?: DateTimeFilter<"Sprint"> | Date | string - status?: StringFilter<"Sprint"> | string - goal?: StringNullableFilter<"Sprint"> | string | null - order?: IntFilter<"Sprint"> | number - project?: XOR - tasks?: TaskListRelationFilter - activityLogs?: ActivityLogListRelationFilter - }, "id" | "projectId_name"> + export type SprintAvgOrderByAggregateInput = { + order?: SortOrder + } - export type SprintOrderByWithAggregationInput = { + export type SprintMaxOrderByAggregateInput = { id?: SortOrder projectId?: SortOrder name?: SortOrder - description?: SortOrderInput | SortOrder + description?: SortOrder startDate?: SortOrder endDate?: SortOrder status?: SortOrder - goal?: SortOrderInput | SortOrder + goal?: SortOrder order?: SortOrder - _count?: SprintCountOrderByAggregateInput - _avg?: SprintAvgOrderByAggregateInput - _max?: SprintMaxOrderByAggregateInput - _min?: SprintMinOrderByAggregateInput - _sum?: SprintSumOrderByAggregateInput } - export type SprintScalarWhereWithAggregatesInput = { - AND?: SprintScalarWhereWithAggregatesInput | SprintScalarWhereWithAggregatesInput[] - OR?: SprintScalarWhereWithAggregatesInput[] - NOT?: SprintScalarWhereWithAggregatesInput | SprintScalarWhereWithAggregatesInput[] - id?: UuidWithAggregatesFilter<"Sprint"> | string - projectId?: UuidWithAggregatesFilter<"Sprint"> | string - name?: StringWithAggregatesFilter<"Sprint"> | string - description?: StringNullableWithAggregatesFilter<"Sprint"> | string | null - startDate?: DateTimeWithAggregatesFilter<"Sprint"> | Date | string - endDate?: DateTimeWithAggregatesFilter<"Sprint"> | Date | string - status?: StringWithAggregatesFilter<"Sprint"> | string - goal?: StringNullableWithAggregatesFilter<"Sprint"> | string | null - order?: IntWithAggregatesFilter<"Sprint"> | number + export type SprintMinOrderByAggregateInput = { + id?: SortOrder + projectId?: SortOrder + name?: SortOrder + description?: SortOrder + startDate?: SortOrder + endDate?: SortOrder + status?: SortOrder + goal?: SortOrder + order?: SortOrder } - export type TaskWhereInput = { - AND?: TaskWhereInput | TaskWhereInput[] - OR?: TaskWhereInput[] - NOT?: TaskWhereInput | TaskWhereInput[] - id?: UuidFilter<"Task"> | string - title?: StringFilter<"Task"> | string - description?: StringNullableFilter<"Task"> | string | null - priority?: EnumTaskPriorityFilter<"Task"> | $Enums.TaskPriority - status?: EnumTaskStatusFilter<"Task"> | $Enums.TaskStatus - rate?: FloatNullableFilter<"Task"> | number | null - projectId?: UuidFilter<"Task"> | string - sprintId?: UuidNullableFilter<"Task"> | string | null - createdBy?: UuidFilter<"Task"> | string - assignedTo?: UuidNullableFilter<"Task"> | string | null - dueDate?: DateTimeFilter<"Task"> | Date | string - createdAt?: DateTimeFilter<"Task"> | Date | string - updatedAt?: DateTimeFilter<"Task"> | Date | string - deletedAt?: DateTimeNullableFilter<"Task"> | Date | string | null - estimatedTime?: FloatNullableFilter<"Task"> | number | null - actualTime?: FloatNullableFilter<"Task"> | number | null - parentId?: UuidNullableFilter<"Task"> | string | null - order?: IntFilter<"Task"> | number - labels?: StringNullableListFilter<"Task"> - lastModifiedBy?: UuidNullableFilter<"Task"> | string | null - project?: XOR - sprint?: XOR | null - creator?: XOR - assignee?: XOR | null - modifier?: XOR | null - attachments?: TaskAttachmentListRelationFilter - comments?: CommentListRelationFilter - timelogs?: TimelogListRelationFilter - dependencies?: TaskDependencyListRelationFilter - dependentOn?: TaskDependencyListRelationFilter - parent?: XOR | null - subtasks?: TaskListRelationFilter - activityLogs?: ActivityLogListRelationFilter + export type SprintSumOrderByAggregateInput = { + order?: SortOrder } - export type TaskOrderByWithRelationInput = { + export type IntWithAggregatesFilter<$PrismaModel = never> = { + equals?: number | IntFieldRefInput<$PrismaModel> + in?: number[] | ListIntFieldRefInput<$PrismaModel> + notIn?: number[] | ListIntFieldRefInput<$PrismaModel> + lt?: number | IntFieldRefInput<$PrismaModel> + lte?: number | IntFieldRefInput<$PrismaModel> + gt?: number | IntFieldRefInput<$PrismaModel> + gte?: number | IntFieldRefInput<$PrismaModel> + not?: NestedIntWithAggregatesFilter<$PrismaModel> | number + _count?: NestedIntFilter<$PrismaModel> + _avg?: NestedFloatFilter<$PrismaModel> + _sum?: NestedIntFilter<$PrismaModel> + _min?: NestedIntFilter<$PrismaModel> + _max?: NestedIntFilter<$PrismaModel> + } + + export type EnumTaskStatusFilter<$PrismaModel = never> = { + equals?: $Enums.TaskStatus | EnumTaskStatusFieldRefInput<$PrismaModel> + in?: $Enums.TaskStatus[] | ListEnumTaskStatusFieldRefInput<$PrismaModel> + notIn?: $Enums.TaskStatus[] | ListEnumTaskStatusFieldRefInput<$PrismaModel> + not?: NestedEnumTaskStatusFilter<$PrismaModel> | $Enums.TaskStatus + } + + export type StringNullableListFilter<$PrismaModel = never> = { + equals?: string[] | ListStringFieldRefInput<$PrismaModel> | null + has?: string | StringFieldRefInput<$PrismaModel> | null + hasEvery?: string[] | ListStringFieldRefInput<$PrismaModel> + hasSome?: string[] | ListStringFieldRefInput<$PrismaModel> + isEmpty?: boolean + } + + export type SprintNullableScalarRelationFilter = { + is?: SprintWhereInput | null + isNot?: SprintWhereInput | null + } + + export type TaskDependencyListRelationFilter = { + every?: TaskDependencyWhereInput + some?: TaskDependencyWhereInput + none?: TaskDependencyWhereInput + } + + export type TaskNullableScalarRelationFilter = { + is?: TaskWhereInput | null + isNot?: TaskWhereInput | null + } + + export type TaskDependencyOrderByRelationAggregateInput = { + _count?: SortOrder + } + + export type TaskCountOrderByAggregateInput = { id?: SortOrder title?: SortOrder - description?: SortOrderInput | SortOrder + description?: SortOrder priority?: SortOrder status?: SortOrder - rate?: SortOrderInput | SortOrder + rate?: SortOrder projectId?: SortOrder - sprintId?: SortOrderInput | SortOrder + sprintId?: SortOrder createdBy?: SortOrder - assignedTo?: SortOrderInput | SortOrder + assignedTo?: SortOrder dueDate?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder - deletedAt?: SortOrderInput | SortOrder - estimatedTime?: SortOrderInput | SortOrder - actualTime?: SortOrderInput | SortOrder - parentId?: SortOrderInput | SortOrder + deletedAt?: SortOrder + estimatedTime?: SortOrder + actualTime?: SortOrder + parentId?: SortOrder order?: SortOrder labels?: SortOrder - lastModifiedBy?: SortOrderInput | SortOrder - project?: ProjectOrderByWithRelationInput - sprint?: SprintOrderByWithRelationInput - creator?: UserOrderByWithRelationInput - assignee?: UserOrderByWithRelationInput - modifier?: UserOrderByWithRelationInput - attachments?: TaskAttachmentOrderByRelationAggregateInput - comments?: CommentOrderByRelationAggregateInput - timelogs?: TimelogOrderByRelationAggregateInput - dependencies?: TaskDependencyOrderByRelationAggregateInput - dependentOn?: TaskDependencyOrderByRelationAggregateInput - parent?: TaskOrderByWithRelationInput - subtasks?: TaskOrderByRelationAggregateInput - activityLogs?: ActivityLogOrderByRelationAggregateInput + lastModifiedBy?: SortOrder } - export type TaskWhereUniqueInput = Prisma.AtLeast<{ - id?: string - AND?: TaskWhereInput | TaskWhereInput[] - OR?: TaskWhereInput[] - NOT?: TaskWhereInput | TaskWhereInput[] - title?: StringFilter<"Task"> | string - description?: StringNullableFilter<"Task"> | string | null - priority?: EnumTaskPriorityFilter<"Task"> | $Enums.TaskPriority - status?: EnumTaskStatusFilter<"Task"> | $Enums.TaskStatus - rate?: FloatNullableFilter<"Task"> | number | null - projectId?: UuidFilter<"Task"> | string - sprintId?: UuidNullableFilter<"Task"> | string | null - createdBy?: UuidFilter<"Task"> | string - assignedTo?: UuidNullableFilter<"Task"> | string | null - dueDate?: DateTimeFilter<"Task"> | Date | string - createdAt?: DateTimeFilter<"Task"> | Date | string - updatedAt?: DateTimeFilter<"Task"> | Date | string - deletedAt?: DateTimeNullableFilter<"Task"> | Date | string | null - estimatedTime?: FloatNullableFilter<"Task"> | number | null - actualTime?: FloatNullableFilter<"Task"> | number | null - parentId?: UuidNullableFilter<"Task"> | string | null - order?: IntFilter<"Task"> | number - labels?: StringNullableListFilter<"Task"> - lastModifiedBy?: UuidNullableFilter<"Task"> | string | null - project?: XOR - sprint?: XOR | null - creator?: XOR - assignee?: XOR | null - modifier?: XOR | null - attachments?: TaskAttachmentListRelationFilter - comments?: CommentListRelationFilter - timelogs?: TimelogListRelationFilter - dependencies?: TaskDependencyListRelationFilter - dependentOn?: TaskDependencyListRelationFilter - parent?: XOR | null - subtasks?: TaskListRelationFilter - activityLogs?: ActivityLogListRelationFilter - }, "id"> + export type TaskAvgOrderByAggregateInput = { + rate?: SortOrder + estimatedTime?: SortOrder + actualTime?: SortOrder + order?: SortOrder + } - export type TaskOrderByWithAggregationInput = { + export type TaskMaxOrderByAggregateInput = { id?: SortOrder title?: SortOrder - description?: SortOrderInput | SortOrder + description?: SortOrder priority?: SortOrder status?: SortOrder - rate?: SortOrderInput | SortOrder + rate?: SortOrder projectId?: SortOrder - sprintId?: SortOrderInput | SortOrder + sprintId?: SortOrder createdBy?: SortOrder - assignedTo?: SortOrderInput | SortOrder + assignedTo?: SortOrder dueDate?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder - deletedAt?: SortOrderInput | SortOrder - estimatedTime?: SortOrderInput | SortOrder - actualTime?: SortOrderInput | SortOrder - parentId?: SortOrderInput | SortOrder + deletedAt?: SortOrder + estimatedTime?: SortOrder + actualTime?: SortOrder + parentId?: SortOrder order?: SortOrder - labels?: SortOrder - lastModifiedBy?: SortOrderInput | SortOrder - _count?: TaskCountOrderByAggregateInput - _avg?: TaskAvgOrderByAggregateInput - _max?: TaskMaxOrderByAggregateInput - _min?: TaskMinOrderByAggregateInput - _sum?: TaskSumOrderByAggregateInput + lastModifiedBy?: SortOrder } - export type TaskScalarWhereWithAggregatesInput = { - AND?: TaskScalarWhereWithAggregatesInput | TaskScalarWhereWithAggregatesInput[] - OR?: TaskScalarWhereWithAggregatesInput[] - NOT?: TaskScalarWhereWithAggregatesInput | TaskScalarWhereWithAggregatesInput[] - id?: UuidWithAggregatesFilter<"Task"> | string - title?: StringWithAggregatesFilter<"Task"> | string - description?: StringNullableWithAggregatesFilter<"Task"> | string | null - priority?: EnumTaskPriorityWithAggregatesFilter<"Task"> | $Enums.TaskPriority - status?: EnumTaskStatusWithAggregatesFilter<"Task"> | $Enums.TaskStatus - rate?: FloatNullableWithAggregatesFilter<"Task"> | number | null - projectId?: UuidWithAggregatesFilter<"Task"> | string - sprintId?: UuidNullableWithAggregatesFilter<"Task"> | string | null - createdBy?: UuidWithAggregatesFilter<"Task"> | string - assignedTo?: UuidNullableWithAggregatesFilter<"Task"> | string | null - dueDate?: DateTimeWithAggregatesFilter<"Task"> | Date | string - createdAt?: DateTimeWithAggregatesFilter<"Task"> | Date | string - updatedAt?: DateTimeWithAggregatesFilter<"Task"> | Date | string - deletedAt?: DateTimeNullableWithAggregatesFilter<"Task"> | Date | string | null - estimatedTime?: FloatNullableWithAggregatesFilter<"Task"> | number | null - actualTime?: FloatNullableWithAggregatesFilter<"Task"> | number | null - parentId?: UuidNullableWithAggregatesFilter<"Task"> | string | null - order?: IntWithAggregatesFilter<"Task"> | number - labels?: StringNullableListFilter<"Task"> - lastModifiedBy?: UuidNullableWithAggregatesFilter<"Task"> | string | null + export type TaskMinOrderByAggregateInput = { + id?: SortOrder + title?: SortOrder + description?: SortOrder + priority?: SortOrder + status?: SortOrder + rate?: SortOrder + projectId?: SortOrder + sprintId?: SortOrder + createdBy?: SortOrder + assignedTo?: SortOrder + dueDate?: SortOrder + createdAt?: SortOrder + updatedAt?: SortOrder + deletedAt?: SortOrder + estimatedTime?: SortOrder + actualTime?: SortOrder + parentId?: SortOrder + order?: SortOrder + lastModifiedBy?: SortOrder + } + + export type TaskSumOrderByAggregateInput = { + rate?: SortOrder + estimatedTime?: SortOrder + actualTime?: SortOrder + order?: SortOrder } - export type TaskAttachmentWhereInput = { - AND?: TaskAttachmentWhereInput | TaskAttachmentWhereInput[] - OR?: TaskAttachmentWhereInput[] - NOT?: TaskAttachmentWhereInput | TaskAttachmentWhereInput[] - id?: UuidFilter<"TaskAttachment"> | string - taskId?: UuidFilter<"TaskAttachment"> | string - fileName?: StringFilter<"TaskAttachment"> | string - fileType?: StringFilter<"TaskAttachment"> | string - filePath?: StringFilter<"TaskAttachment"> | string - fileSize?: IntFilter<"TaskAttachment"> | number - uploadedBy?: UuidFilter<"TaskAttachment"> | string - createdAt?: DateTimeFilter<"TaskAttachment"> | Date | string - storageProvider?: StringNullableFilter<"TaskAttachment"> | string | null - storageKey?: StringFilter<"TaskAttachment"> | string - task?: XOR - uploader?: XOR + export type EnumTaskStatusWithAggregatesFilter<$PrismaModel = never> = { + equals?: $Enums.TaskStatus | EnumTaskStatusFieldRefInput<$PrismaModel> + in?: $Enums.TaskStatus[] | ListEnumTaskStatusFieldRefInput<$PrismaModel> + notIn?: $Enums.TaskStatus[] | ListEnumTaskStatusFieldRefInput<$PrismaModel> + not?: NestedEnumTaskStatusWithAggregatesFilter<$PrismaModel> | $Enums.TaskStatus + _count?: NestedIntFilter<$PrismaModel> + _min?: NestedEnumTaskStatusFilter<$PrismaModel> + _max?: NestedEnumTaskStatusFilter<$PrismaModel> } - export type TaskAttachmentOrderByWithRelationInput = { + export type TaskScalarRelationFilter = { + is?: TaskWhereInput + isNot?: TaskWhereInput + } + + export type TaskAttachmentCountOrderByAggregateInput = { id?: SortOrder taskId?: SortOrder fileName?: SortOrder @@ -31408,31 +49510,15 @@ export namespace Prisma { fileSize?: SortOrder uploadedBy?: SortOrder createdAt?: SortOrder - storageProvider?: SortOrderInput | SortOrder + storageProvider?: SortOrder storageKey?: SortOrder - task?: TaskOrderByWithRelationInput - uploader?: UserOrderByWithRelationInput } - export type TaskAttachmentWhereUniqueInput = Prisma.AtLeast<{ - id?: string - AND?: TaskAttachmentWhereInput | TaskAttachmentWhereInput[] - OR?: TaskAttachmentWhereInput[] - NOT?: TaskAttachmentWhereInput | TaskAttachmentWhereInput[] - taskId?: UuidFilter<"TaskAttachment"> | string - fileName?: StringFilter<"TaskAttachment"> | string - fileType?: StringFilter<"TaskAttachment"> | string - filePath?: StringFilter<"TaskAttachment"> | string - fileSize?: IntFilter<"TaskAttachment"> | number - uploadedBy?: UuidFilter<"TaskAttachment"> | string - createdAt?: DateTimeFilter<"TaskAttachment"> | Date | string - storageProvider?: StringNullableFilter<"TaskAttachment"> | string | null - storageKey?: StringFilter<"TaskAttachment"> | string - task?: XOR - uploader?: XOR - }, "id"> + export type TaskAttachmentAvgOrderByAggregateInput = { + fileSize?: SortOrder + } - export type TaskAttachmentOrderByWithAggregationInput = { + export type TaskAttachmentMaxOrderByAggregateInput = { id?: SortOrder taskId?: SortOrder fileName?: SortOrder @@ -31441,8468 +49527,7997 @@ export namespace Prisma { fileSize?: SortOrder uploadedBy?: SortOrder createdAt?: SortOrder - storageProvider?: SortOrderInput | SortOrder + storageProvider?: SortOrder storageKey?: SortOrder - _count?: TaskAttachmentCountOrderByAggregateInput - _avg?: TaskAttachmentAvgOrderByAggregateInput - _max?: TaskAttachmentMaxOrderByAggregateInput - _min?: TaskAttachmentMinOrderByAggregateInput - _sum?: TaskAttachmentSumOrderByAggregateInput } - export type TaskAttachmentScalarWhereWithAggregatesInput = { - AND?: TaskAttachmentScalarWhereWithAggregatesInput | TaskAttachmentScalarWhereWithAggregatesInput[] - OR?: TaskAttachmentScalarWhereWithAggregatesInput[] - NOT?: TaskAttachmentScalarWhereWithAggregatesInput | TaskAttachmentScalarWhereWithAggregatesInput[] - id?: UuidWithAggregatesFilter<"TaskAttachment"> | string - taskId?: UuidWithAggregatesFilter<"TaskAttachment"> | string - fileName?: StringWithAggregatesFilter<"TaskAttachment"> | string - fileType?: StringWithAggregatesFilter<"TaskAttachment"> | string - filePath?: StringWithAggregatesFilter<"TaskAttachment"> | string - fileSize?: IntWithAggregatesFilter<"TaskAttachment"> | number - uploadedBy?: UuidWithAggregatesFilter<"TaskAttachment"> | string - createdAt?: DateTimeWithAggregatesFilter<"TaskAttachment"> | Date | string - storageProvider?: StringNullableWithAggregatesFilter<"TaskAttachment"> | string | null - storageKey?: StringWithAggregatesFilter<"TaskAttachment"> | string + export type TaskAttachmentMinOrderByAggregateInput = { + id?: SortOrder + taskId?: SortOrder + fileName?: SortOrder + fileType?: SortOrder + filePath?: SortOrder + fileSize?: SortOrder + uploadedBy?: SortOrder + createdAt?: SortOrder + storageProvider?: SortOrder + storageKey?: SortOrder } - export type TaskDependencyWhereInput = { - AND?: TaskDependencyWhereInput | TaskDependencyWhereInput[] - OR?: TaskDependencyWhereInput[] - NOT?: TaskDependencyWhereInput | TaskDependencyWhereInput[] - id?: UuidFilter<"TaskDependency"> | string - taskId?: UuidFilter<"TaskDependency"> | string - dependentTaskId?: UuidFilter<"TaskDependency"> | string - dependencyType?: EnumDependencyTypeFilter<"TaskDependency"> | $Enums.DependencyType - description?: StringNullableFilter<"TaskDependency"> | string | null - task?: XOR - dependentTask?: XOR + export type TaskAttachmentSumOrderByAggregateInput = { + fileSize?: SortOrder } - export type TaskDependencyOrderByWithRelationInput = { + export type EnumDependencyTypeFilter<$PrismaModel = never> = { + equals?: $Enums.DependencyType | EnumDependencyTypeFieldRefInput<$PrismaModel> + in?: $Enums.DependencyType[] | ListEnumDependencyTypeFieldRefInput<$PrismaModel> + notIn?: $Enums.DependencyType[] | ListEnumDependencyTypeFieldRefInput<$PrismaModel> + not?: NestedEnumDependencyTypeFilter<$PrismaModel> | $Enums.DependencyType + } + + export type TaskDependencyTaskIdDependentTaskIdCompoundUniqueInput = { + taskId: string + dependentTaskId: string + } + + export type TaskDependencyCountOrderByAggregateInput = { id?: SortOrder taskId?: SortOrder dependentTaskId?: SortOrder dependencyType?: SortOrder - description?: SortOrderInput | SortOrder - task?: TaskOrderByWithRelationInput - dependentTask?: TaskOrderByWithRelationInput + description?: SortOrder } - export type TaskDependencyWhereUniqueInput = Prisma.AtLeast<{ - id?: string - taskId_dependentTaskId?: TaskDependencyTaskIdDependentTaskIdCompoundUniqueInput - AND?: TaskDependencyWhereInput | TaskDependencyWhereInput[] - OR?: TaskDependencyWhereInput[] - NOT?: TaskDependencyWhereInput | TaskDependencyWhereInput[] - taskId?: UuidFilter<"TaskDependency"> | string - dependentTaskId?: UuidFilter<"TaskDependency"> | string - dependencyType?: EnumDependencyTypeFilter<"TaskDependency"> | $Enums.DependencyType - description?: StringNullableFilter<"TaskDependency"> | string | null - task?: XOR - dependentTask?: XOR - }, "id" | "taskId_dependentTaskId"> + export type TaskDependencyMaxOrderByAggregateInput = { + id?: SortOrder + taskId?: SortOrder + dependentTaskId?: SortOrder + dependencyType?: SortOrder + description?: SortOrder + } - export type TaskDependencyOrderByWithAggregationInput = { + export type TaskDependencyMinOrderByAggregateInput = { id?: SortOrder taskId?: SortOrder dependentTaskId?: SortOrder dependencyType?: SortOrder - description?: SortOrderInput | SortOrder - _count?: TaskDependencyCountOrderByAggregateInput - _max?: TaskDependencyMaxOrderByAggregateInput - _min?: TaskDependencyMinOrderByAggregateInput + description?: SortOrder } - export type TaskDependencyScalarWhereWithAggregatesInput = { - AND?: TaskDependencyScalarWhereWithAggregatesInput | TaskDependencyScalarWhereWithAggregatesInput[] - OR?: TaskDependencyScalarWhereWithAggregatesInput[] - NOT?: TaskDependencyScalarWhereWithAggregatesInput | TaskDependencyScalarWhereWithAggregatesInput[] - id?: UuidWithAggregatesFilter<"TaskDependency"> | string - taskId?: UuidWithAggregatesFilter<"TaskDependency"> | string - dependentTaskId?: UuidWithAggregatesFilter<"TaskDependency"> | string - dependencyType?: EnumDependencyTypeWithAggregatesFilter<"TaskDependency"> | $Enums.DependencyType - description?: StringNullableWithAggregatesFilter<"TaskDependency"> | string | null + export type EnumDependencyTypeWithAggregatesFilter<$PrismaModel = never> = { + equals?: $Enums.DependencyType | EnumDependencyTypeFieldRefInput<$PrismaModel> + in?: $Enums.DependencyType[] | ListEnumDependencyTypeFieldRefInput<$PrismaModel> + notIn?: $Enums.DependencyType[] | ListEnumDependencyTypeFieldRefInput<$PrismaModel> + not?: NestedEnumDependencyTypeWithAggregatesFilter<$PrismaModel> | $Enums.DependencyType + _count?: NestedIntFilter<$PrismaModel> + _min?: NestedEnumDependencyTypeFilter<$PrismaModel> + _max?: NestedEnumDependencyTypeFilter<$PrismaModel> } - export type TaskTemplateWhereInput = { - AND?: TaskTemplateWhereInput | TaskTemplateWhereInput[] - OR?: TaskTemplateWhereInput[] - NOT?: TaskTemplateWhereInput | TaskTemplateWhereInput[] - id?: UuidFilter<"TaskTemplate"> | string - name?: StringFilter<"TaskTemplate"> | string - description?: StringNullableFilter<"TaskTemplate"> | string | null - priority?: EnumTaskPriorityFilter<"TaskTemplate"> | $Enums.TaskPriority - estimatedTime?: FloatNullableFilter<"TaskTemplate"> | number | null - organizationId?: UuidFilter<"TaskTemplate"> | string - createdBy?: UuidFilter<"TaskTemplate"> | string - createdAt?: DateTimeFilter<"TaskTemplate"> | Date | string - updatedAt?: DateTimeFilter<"TaskTemplate"> | Date | string - checklist?: JsonNullableFilter<"TaskTemplate"> - labels?: StringNullableListFilter<"TaskTemplate"> - isPublic?: BoolFilter<"TaskTemplate"> | boolean - organization?: XOR + export type TaskTemplateOrganizationIdNameCompoundUniqueInput = { + organizationId: string + name: string } - export type TaskTemplateOrderByWithRelationInput = { + export type TaskTemplateCountOrderByAggregateInput = { id?: SortOrder name?: SortOrder - description?: SortOrderInput | SortOrder + description?: SortOrder priority?: SortOrder - estimatedTime?: SortOrderInput | SortOrder + estimatedTime?: SortOrder organizationId?: SortOrder createdBy?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder - checklist?: SortOrderInput | SortOrder + checklist?: SortOrder labels?: SortOrder isPublic?: SortOrder - organization?: OrganizationOrderByWithRelationInput } - export type TaskTemplateWhereUniqueInput = Prisma.AtLeast<{ - id?: string - organizationId_name?: TaskTemplateOrganizationIdNameCompoundUniqueInput - AND?: TaskTemplateWhereInput | TaskTemplateWhereInput[] - OR?: TaskTemplateWhereInput[] - NOT?: TaskTemplateWhereInput | TaskTemplateWhereInput[] - name?: StringFilter<"TaskTemplate"> | string - description?: StringNullableFilter<"TaskTemplate"> | string | null - priority?: EnumTaskPriorityFilter<"TaskTemplate"> | $Enums.TaskPriority - estimatedTime?: FloatNullableFilter<"TaskTemplate"> | number | null - organizationId?: UuidFilter<"TaskTemplate"> | string - createdBy?: UuidFilter<"TaskTemplate"> | string - createdAt?: DateTimeFilter<"TaskTemplate"> | Date | string - updatedAt?: DateTimeFilter<"TaskTemplate"> | Date | string - checklist?: JsonNullableFilter<"TaskTemplate"> - labels?: StringNullableListFilter<"TaskTemplate"> - isPublic?: BoolFilter<"TaskTemplate"> | boolean - organization?: XOR - }, "id" | "organizationId_name"> + export type TaskTemplateAvgOrderByAggregateInput = { + estimatedTime?: SortOrder + } - export type TaskTemplateOrderByWithAggregationInput = { + export type TaskTemplateMaxOrderByAggregateInput = { id?: SortOrder name?: SortOrder - description?: SortOrderInput | SortOrder + description?: SortOrder priority?: SortOrder - estimatedTime?: SortOrderInput | SortOrder + estimatedTime?: SortOrder organizationId?: SortOrder createdBy?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder - checklist?: SortOrderInput | SortOrder - labels?: SortOrder isPublic?: SortOrder - _count?: TaskTemplateCountOrderByAggregateInput - _avg?: TaskTemplateAvgOrderByAggregateInput - _max?: TaskTemplateMaxOrderByAggregateInput - _min?: TaskTemplateMinOrderByAggregateInput - _sum?: TaskTemplateSumOrderByAggregateInput } - export type TaskTemplateScalarWhereWithAggregatesInput = { - AND?: TaskTemplateScalarWhereWithAggregatesInput | TaskTemplateScalarWhereWithAggregatesInput[] - OR?: TaskTemplateScalarWhereWithAggregatesInput[] - NOT?: TaskTemplateScalarWhereWithAggregatesInput | TaskTemplateScalarWhereWithAggregatesInput[] - id?: UuidWithAggregatesFilter<"TaskTemplate"> | string - name?: StringWithAggregatesFilter<"TaskTemplate"> | string - description?: StringNullableWithAggregatesFilter<"TaskTemplate"> | string | null - priority?: EnumTaskPriorityWithAggregatesFilter<"TaskTemplate"> | $Enums.TaskPriority - estimatedTime?: FloatNullableWithAggregatesFilter<"TaskTemplate"> | number | null - organizationId?: UuidWithAggregatesFilter<"TaskTemplate"> | string - createdBy?: UuidWithAggregatesFilter<"TaskTemplate"> | string - createdAt?: DateTimeWithAggregatesFilter<"TaskTemplate"> | Date | string - updatedAt?: DateTimeWithAggregatesFilter<"TaskTemplate"> | Date | string - checklist?: JsonNullableWithAggregatesFilter<"TaskTemplate"> - labels?: StringNullableListFilter<"TaskTemplate"> - isPublic?: BoolWithAggregatesFilter<"TaskTemplate"> | boolean + export type TaskTemplateMinOrderByAggregateInput = { + id?: SortOrder + name?: SortOrder + description?: SortOrder + priority?: SortOrder + estimatedTime?: SortOrder + organizationId?: SortOrder + createdBy?: SortOrder + createdAt?: SortOrder + updatedAt?: SortOrder + isPublic?: SortOrder } - export type TimelogWhereInput = { - AND?: TimelogWhereInput | TimelogWhereInput[] - OR?: TimelogWhereInput[] - NOT?: TimelogWhereInput | TimelogWhereInput[] - id?: UuidFilter<"Timelog"> | string - taskId?: UuidFilter<"Timelog"> | string - userId?: UuidFilter<"Timelog"> | string - startTime?: DateTimeFilter<"Timelog"> | Date | string - endTime?: DateTimeFilter<"Timelog"> | Date | string - description?: StringNullableFilter<"Timelog"> | string | null - task?: XOR - user?: XOR + export type TaskTemplateSumOrderByAggregateInput = { + estimatedTime?: SortOrder } - export type TimelogOrderByWithRelationInput = { + export type TimelogCountOrderByAggregateInput = { id?: SortOrder taskId?: SortOrder userId?: SortOrder startTime?: SortOrder endTime?: SortOrder - description?: SortOrderInput | SortOrder - task?: TaskOrderByWithRelationInput - user?: UserOrderByWithRelationInput + description?: SortOrder } - export type TimelogWhereUniqueInput = Prisma.AtLeast<{ - id?: string - AND?: TimelogWhereInput | TimelogWhereInput[] - OR?: TimelogWhereInput[] - NOT?: TimelogWhereInput | TimelogWhereInput[] - taskId?: UuidFilter<"Timelog"> | string - userId?: UuidFilter<"Timelog"> | string - startTime?: DateTimeFilter<"Timelog"> | Date | string - endTime?: DateTimeFilter<"Timelog"> | Date | string - description?: StringNullableFilter<"Timelog"> | string | null - task?: XOR - user?: XOR - }, "id"> - - export type TimelogOrderByWithAggregationInput = { + export type TimelogMaxOrderByAggregateInput = { id?: SortOrder taskId?: SortOrder userId?: SortOrder startTime?: SortOrder endTime?: SortOrder - description?: SortOrderInput | SortOrder - _count?: TimelogCountOrderByAggregateInput - _max?: TimelogMaxOrderByAggregateInput - _min?: TimelogMinOrderByAggregateInput + description?: SortOrder } - export type TimelogScalarWhereWithAggregatesInput = { - AND?: TimelogScalarWhereWithAggregatesInput | TimelogScalarWhereWithAggregatesInput[] - OR?: TimelogScalarWhereWithAggregatesInput[] - NOT?: TimelogScalarWhereWithAggregatesInput | TimelogScalarWhereWithAggregatesInput[] - id?: UuidWithAggregatesFilter<"Timelog"> | string - taskId?: UuidWithAggregatesFilter<"Timelog"> | string - userId?: UuidWithAggregatesFilter<"Timelog"> | string - startTime?: DateTimeWithAggregatesFilter<"Timelog"> | Date | string - endTime?: DateTimeWithAggregatesFilter<"Timelog"> | Date | string - description?: StringNullableWithAggregatesFilter<"Timelog"> | string | null + export type TimelogMinOrderByAggregateInput = { + id?: SortOrder + taskId?: SortOrder + userId?: SortOrder + startTime?: SortOrder + endTime?: SortOrder + description?: SortOrder } - export type CommentWhereInput = { - AND?: CommentWhereInput | CommentWhereInput[] - OR?: CommentWhereInput[] - NOT?: CommentWhereInput | CommentWhereInput[] - id?: UuidFilter<"Comment"> | string - taskId?: UuidFilter<"Comment"> | string - userId?: UuidFilter<"Comment"> | string - content?: StringFilter<"Comment"> | string - createdAt?: DateTimeFilter<"Comment"> | Date | string - updatedAt?: DateTimeFilter<"Comment"> | Date | string - task?: XOR - user?: XOR + export type CommentCountOrderByAggregateInput = { + id?: SortOrder + taskId?: SortOrder + userId?: SortOrder + content?: SortOrder + createdAt?: SortOrder + updatedAt?: SortOrder } - export type CommentOrderByWithRelationInput = { + export type CommentMaxOrderByAggregateInput = { id?: SortOrder taskId?: SortOrder userId?: SortOrder content?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder - task?: TaskOrderByWithRelationInput - user?: UserOrderByWithRelationInput } - export type CommentWhereUniqueInput = Prisma.AtLeast<{ - id?: string - AND?: CommentWhereInput | CommentWhereInput[] - OR?: CommentWhereInput[] - NOT?: CommentWhereInput | CommentWhereInput[] - taskId?: UuidFilter<"Comment"> | string - userId?: UuidFilter<"Comment"> | string - content?: StringFilter<"Comment"> | string - createdAt?: DateTimeFilter<"Comment"> | Date | string - updatedAt?: DateTimeFilter<"Comment"> | Date | string - task?: XOR - user?: XOR - }, "id"> - - export type CommentOrderByWithAggregationInput = { + export type CommentMinOrderByAggregateInput = { id?: SortOrder taskId?: SortOrder userId?: SortOrder content?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder - _count?: CommentCountOrderByAggregateInput - _max?: CommentMaxOrderByAggregateInput - _min?: CommentMinOrderByAggregateInput } - export type CommentScalarWhereWithAggregatesInput = { - AND?: CommentScalarWhereWithAggregatesInput | CommentScalarWhereWithAggregatesInput[] - OR?: CommentScalarWhereWithAggregatesInput[] - NOT?: CommentScalarWhereWithAggregatesInput | CommentScalarWhereWithAggregatesInput[] - id?: UuidWithAggregatesFilter<"Comment"> | string - taskId?: UuidWithAggregatesFilter<"Comment"> | string - userId?: UuidWithAggregatesFilter<"Comment"> | string - content?: StringWithAggregatesFilter<"Comment"> | string - createdAt?: DateTimeWithAggregatesFilter<"Comment"> | Date | string - updatedAt?: DateTimeWithAggregatesFilter<"Comment"> | Date | string + export type EnumEntityTypeFilter<$PrismaModel = never> = { + equals?: $Enums.EntityType | EnumEntityTypeFieldRefInput<$PrismaModel> + in?: $Enums.EntityType[] | ListEnumEntityTypeFieldRefInput<$PrismaModel> + notIn?: $Enums.EntityType[] | ListEnumEntityTypeFieldRefInput<$PrismaModel> + not?: NestedEnumEntityTypeFilter<$PrismaModel> | $Enums.EntityType } - export type ActivityLogWhereInput = { - AND?: ActivityLogWhereInput | ActivityLogWhereInput[] - OR?: ActivityLogWhereInput[] - NOT?: ActivityLogWhereInput | ActivityLogWhereInput[] - id?: UuidFilter<"ActivityLog"> | string - entityType?: EnumEntityTypeFilter<"ActivityLog"> | $Enums.EntityType - action?: EnumActionTypeFilter<"ActivityLog"> | $Enums.ActionType - userId?: UuidFilter<"ActivityLog"> | string - organizationId?: UuidNullableFilter<"ActivityLog"> | string | null - departmentId?: UuidNullableFilter<"ActivityLog"> | string | null - projectId?: UuidNullableFilter<"ActivityLog"> | string | null - teamId?: UuidNullableFilter<"ActivityLog"> | string | null - sprintId?: UuidNullableFilter<"ActivityLog"> | string | null - taskId?: UuidFilter<"ActivityLog"> | string - details?: JsonNullableFilter<"ActivityLog"> - createdAt?: DateTimeFilter<"ActivityLog"> | Date | string - user?: XOR - organization?: XOR | null - department?: XOR | null - project?: XOR | null - team?: XOR | null - sprint?: XOR | null - task?: XOR | null + export type EnumActionTypeFilter<$PrismaModel = never> = { + equals?: $Enums.ActionType | EnumActionTypeFieldRefInput<$PrismaModel> + in?: $Enums.ActionType[] | ListEnumActionTypeFieldRefInput<$PrismaModel> + notIn?: $Enums.ActionType[] | ListEnumActionTypeFieldRefInput<$PrismaModel> + not?: NestedEnumActionTypeFilter<$PrismaModel> | $Enums.ActionType } - export type ActivityLogOrderByWithRelationInput = { + export type ProjectNullableScalarRelationFilter = { + is?: ProjectWhereInput | null + isNot?: ProjectWhereInput | null + } + + export type TeamNullableScalarRelationFilter = { + is?: TeamWhereInput | null + isNot?: TeamWhereInput | null + } + + export type ActivityLogCountOrderByAggregateInput = { id?: SortOrder entityType?: SortOrder action?: SortOrder userId?: SortOrder - organizationId?: SortOrderInput | SortOrder - departmentId?: SortOrderInput | SortOrder - projectId?: SortOrderInput | SortOrder - teamId?: SortOrderInput | SortOrder - sprintId?: SortOrderInput | SortOrder + organizationId?: SortOrder + departmentId?: SortOrder + projectId?: SortOrder + teamId?: SortOrder + sprintId?: SortOrder taskId?: SortOrder - details?: SortOrderInput | SortOrder + details?: SortOrder createdAt?: SortOrder - user?: UserOrderByWithRelationInput - organization?: OrganizationOrderByWithRelationInput - department?: DepartmentOrderByWithRelationInput - project?: ProjectOrderByWithRelationInput - team?: TeamOrderByWithRelationInput - sprint?: SprintOrderByWithRelationInput - task?: TaskOrderByWithRelationInput } - export type ActivityLogWhereUniqueInput = Prisma.AtLeast<{ - id?: string - AND?: ActivityLogWhereInput | ActivityLogWhereInput[] - OR?: ActivityLogWhereInput[] - NOT?: ActivityLogWhereInput | ActivityLogWhereInput[] - entityType?: EnumEntityTypeFilter<"ActivityLog"> | $Enums.EntityType - action?: EnumActionTypeFilter<"ActivityLog"> | $Enums.ActionType - userId?: UuidFilter<"ActivityLog"> | string - organizationId?: UuidNullableFilter<"ActivityLog"> | string | null - departmentId?: UuidNullableFilter<"ActivityLog"> | string | null - projectId?: UuidNullableFilter<"ActivityLog"> | string | null - teamId?: UuidNullableFilter<"ActivityLog"> | string | null - sprintId?: UuidNullableFilter<"ActivityLog"> | string | null - taskId?: UuidFilter<"ActivityLog"> | string - details?: JsonNullableFilter<"ActivityLog"> - createdAt?: DateTimeFilter<"ActivityLog"> | Date | string - user?: XOR - organization?: XOR | null - department?: XOR | null - project?: XOR | null - team?: XOR | null - sprint?: XOR | null - task?: XOR | null - }, "id"> + export type ActivityLogMaxOrderByAggregateInput = { + id?: SortOrder + entityType?: SortOrder + action?: SortOrder + userId?: SortOrder + organizationId?: SortOrder + departmentId?: SortOrder + projectId?: SortOrder + teamId?: SortOrder + sprintId?: SortOrder + taskId?: SortOrder + createdAt?: SortOrder + } - export type ActivityLogOrderByWithAggregationInput = { + export type ActivityLogMinOrderByAggregateInput = { id?: SortOrder entityType?: SortOrder action?: SortOrder userId?: SortOrder - organizationId?: SortOrderInput | SortOrder - departmentId?: SortOrderInput | SortOrder - projectId?: SortOrderInput | SortOrder - teamId?: SortOrderInput | SortOrder - sprintId?: SortOrderInput | SortOrder + organizationId?: SortOrder + departmentId?: SortOrder + projectId?: SortOrder + teamId?: SortOrder + sprintId?: SortOrder taskId?: SortOrder - details?: SortOrderInput | SortOrder createdAt?: SortOrder - _count?: ActivityLogCountOrderByAggregateInput - _max?: ActivityLogMaxOrderByAggregateInput - _min?: ActivityLogMinOrderByAggregateInput } - export type ActivityLogScalarWhereWithAggregatesInput = { - AND?: ActivityLogScalarWhereWithAggregatesInput | ActivityLogScalarWhereWithAggregatesInput[] - OR?: ActivityLogScalarWhereWithAggregatesInput[] - NOT?: ActivityLogScalarWhereWithAggregatesInput | ActivityLogScalarWhereWithAggregatesInput[] - id?: UuidWithAggregatesFilter<"ActivityLog"> | string - entityType?: EnumEntityTypeWithAggregatesFilter<"ActivityLog"> | $Enums.EntityType - action?: EnumActionTypeWithAggregatesFilter<"ActivityLog"> | $Enums.ActionType - userId?: UuidWithAggregatesFilter<"ActivityLog"> | string - organizationId?: UuidNullableWithAggregatesFilter<"ActivityLog"> | string | null - departmentId?: UuidNullableWithAggregatesFilter<"ActivityLog"> | string | null - projectId?: UuidNullableWithAggregatesFilter<"ActivityLog"> | string | null - teamId?: UuidNullableWithAggregatesFilter<"ActivityLog"> | string | null - sprintId?: UuidNullableWithAggregatesFilter<"ActivityLog"> | string | null - taskId?: UuidWithAggregatesFilter<"ActivityLog"> | string - details?: JsonNullableWithAggregatesFilter<"ActivityLog"> - createdAt?: DateTimeWithAggregatesFilter<"ActivityLog"> | Date | string + export type EnumEntityTypeWithAggregatesFilter<$PrismaModel = never> = { + equals?: $Enums.EntityType | EnumEntityTypeFieldRefInput<$PrismaModel> + in?: $Enums.EntityType[] | ListEnumEntityTypeFieldRefInput<$PrismaModel> + notIn?: $Enums.EntityType[] | ListEnumEntityTypeFieldRefInput<$PrismaModel> + not?: NestedEnumEntityTypeWithAggregatesFilter<$PrismaModel> | $Enums.EntityType + _count?: NestedIntFilter<$PrismaModel> + _min?: NestedEnumEntityTypeFilter<$PrismaModel> + _max?: NestedEnumEntityTypeFilter<$PrismaModel> } - export type NotificationWhereInput = { - AND?: NotificationWhereInput | NotificationWhereInput[] - OR?: NotificationWhereInput[] - NOT?: NotificationWhereInput | NotificationWhereInput[] - id?: UuidFilter<"Notification"> | string - userId?: UuidFilter<"Notification"> | string - content?: StringFilter<"Notification"> | string - isRead?: BoolFilter<"Notification"> | boolean - type?: StringFilter<"Notification"> | string - metadata?: JsonNullableFilter<"Notification"> - createdAt?: DateTimeFilter<"Notification"> | Date | string - deletedAt?: DateTimeNullableFilter<"Notification"> | Date | string | null - entityType?: StringNullableFilter<"Notification"> | string | null - entityId?: UuidNullableFilter<"Notification"> | string | null - user?: XOR + export type EnumActionTypeWithAggregatesFilter<$PrismaModel = never> = { + equals?: $Enums.ActionType | EnumActionTypeFieldRefInput<$PrismaModel> + in?: $Enums.ActionType[] | ListEnumActionTypeFieldRefInput<$PrismaModel> + notIn?: $Enums.ActionType[] | ListEnumActionTypeFieldRefInput<$PrismaModel> + not?: NestedEnumActionTypeWithAggregatesFilter<$PrismaModel> | $Enums.ActionType + _count?: NestedIntFilter<$PrismaModel> + _min?: NestedEnumActionTypeFilter<$PrismaModel> + _max?: NestedEnumActionTypeFilter<$PrismaModel> } - export type NotificationOrderByWithRelationInput = { + export type NotificationCountOrderByAggregateInput = { id?: SortOrder userId?: SortOrder content?: SortOrder isRead?: SortOrder type?: SortOrder - metadata?: SortOrderInput | SortOrder + metadata?: SortOrder createdAt?: SortOrder - deletedAt?: SortOrderInput | SortOrder - entityType?: SortOrderInput | SortOrder - entityId?: SortOrderInput | SortOrder - user?: UserOrderByWithRelationInput + deletedAt?: SortOrder + entityType?: SortOrder + entityId?: SortOrder } - export type NotificationWhereUniqueInput = Prisma.AtLeast<{ - id?: string - AND?: NotificationWhereInput | NotificationWhereInput[] - OR?: NotificationWhereInput[] - NOT?: NotificationWhereInput | NotificationWhereInput[] - userId?: UuidFilter<"Notification"> | string - content?: StringFilter<"Notification"> | string - isRead?: BoolFilter<"Notification"> | boolean - type?: StringFilter<"Notification"> | string - metadata?: JsonNullableFilter<"Notification"> - createdAt?: DateTimeFilter<"Notification"> | Date | string - deletedAt?: DateTimeNullableFilter<"Notification"> | Date | string | null - entityType?: StringNullableFilter<"Notification"> | string | null - entityId?: UuidNullableFilter<"Notification"> | string | null - user?: XOR - }, "id"> + export type NotificationMaxOrderByAggregateInput = { + id?: SortOrder + userId?: SortOrder + content?: SortOrder + isRead?: SortOrder + type?: SortOrder + createdAt?: SortOrder + deletedAt?: SortOrder + entityType?: SortOrder + entityId?: SortOrder + } - export type NotificationOrderByWithAggregationInput = { + export type NotificationMinOrderByAggregateInput = { id?: SortOrder userId?: SortOrder content?: SortOrder isRead?: SortOrder type?: SortOrder - metadata?: SortOrderInput | SortOrder createdAt?: SortOrder - deletedAt?: SortOrderInput | SortOrder - entityType?: SortOrderInput | SortOrder - entityId?: SortOrderInput | SortOrder - _count?: NotificationCountOrderByAggregateInput - _max?: NotificationMaxOrderByAggregateInput - _min?: NotificationMinOrderByAggregateInput + deletedAt?: SortOrder + entityType?: SortOrder + entityId?: SortOrder } - export type NotificationScalarWhereWithAggregatesInput = { - AND?: NotificationScalarWhereWithAggregatesInput | NotificationScalarWhereWithAggregatesInput[] - OR?: NotificationScalarWhereWithAggregatesInput[] - NOT?: NotificationScalarWhereWithAggregatesInput | NotificationScalarWhereWithAggregatesInput[] - id?: UuidWithAggregatesFilter<"Notification"> | string - userId?: UuidWithAggregatesFilter<"Notification"> | string - content?: StringWithAggregatesFilter<"Notification"> | string - isRead?: BoolWithAggregatesFilter<"Notification"> | boolean - type?: StringWithAggregatesFilter<"Notification"> | string - metadata?: JsonNullableWithAggregatesFilter<"Notification"> - createdAt?: DateTimeWithAggregatesFilter<"Notification"> | Date | string - deletedAt?: DateTimeNullableWithAggregatesFilter<"Notification"> | Date | string | null - entityType?: StringNullableWithAggregatesFilter<"Notification"> | string | null - entityId?: UuidNullableWithAggregatesFilter<"Notification"> | string | null + export type EnumReportTypeFilter<$PrismaModel = never> = { + equals?: $Enums.ReportType | EnumReportTypeFieldRefInput<$PrismaModel> + in?: $Enums.ReportType[] | ListEnumReportTypeFieldRefInput<$PrismaModel> + notIn?: $Enums.ReportType[] | ListEnumReportTypeFieldRefInput<$PrismaModel> + not?: NestedEnumReportTypeFilter<$PrismaModel> | $Enums.ReportType } - export type ReportWhereInput = { - AND?: ReportWhereInput | ReportWhereInput[] - OR?: ReportWhereInput[] - NOT?: ReportWhereInput | ReportWhereInput[] - id?: UuidFilter<"Report"> | string - name?: StringFilter<"Report"> | string - description?: StringNullableFilter<"Report"> | string | null - reportType?: EnumReportTypeFilter<"Report"> | $Enums.ReportType - format?: StringFilter<"Report"> | string - parameters?: JsonNullableFilter<"Report"> - filePath?: StringFilter<"Report"> | string - generatedBy?: UuidFilter<"Report"> | string - createdAt?: DateTimeFilter<"Report"> | Date | string - status?: EnumReportStatusFilter<"Report"> | $Enums.ReportStatus - updatedAt?: DateTimeFilter<"Report"> | Date | string - lastAccessedAt?: DateTimeNullableFilter<"Report"> | Date | string | null - expiresAt?: DateTimeNullableFilter<"Report"> | Date | string | null - tags?: StringNullableFilter<"Report"> | string | null - organizationId?: UuidNullableFilter<"Report"> | string | null - teamId?: UuidNullableFilter<"Report"> | string | null - projectId?: UuidNullableFilter<"Report"> | string | null - departmentId?: UuidNullableFilter<"Report"> | string | null - userId?: UuidNullableFilter<"Report"> | string | null - scheduleId?: UuidNullableFilter<"Report"> | string | null - storageProvider?: StringNullableFilter<"Report"> | string | null - storageKey?: StringFilter<"Report"> | string - generator?: XOR - organization?: XOR | null - team?: XOR | null - project?: XOR | null - department?: XOR | null - user?: XOR | null - reportSchedule?: XOR | null - notifiedUsers?: ReportNotificationListRelationFilter + export type EnumReportStatusFilter<$PrismaModel = never> = { + equals?: $Enums.ReportStatus | EnumReportStatusFieldRefInput<$PrismaModel> + in?: $Enums.ReportStatus[] | ListEnumReportStatusFieldRefInput<$PrismaModel> + notIn?: $Enums.ReportStatus[] | ListEnumReportStatusFieldRefInput<$PrismaModel> + not?: NestedEnumReportStatusFilter<$PrismaModel> | $Enums.ReportStatus } - export type ReportOrderByWithRelationInput = { + export type ReportScheduleNullableScalarRelationFilter = { + is?: ReportScheduleWhereInput | null + isNot?: ReportScheduleWhereInput | null + } + + export type ReportCountOrderByAggregateInput = { id?: SortOrder name?: SortOrder - description?: SortOrderInput | SortOrder + description?: SortOrder reportType?: SortOrder format?: SortOrder - parameters?: SortOrderInput | SortOrder + parameters?: SortOrder filePath?: SortOrder generatedBy?: SortOrder createdAt?: SortOrder status?: SortOrder updatedAt?: SortOrder - lastAccessedAt?: SortOrderInput | SortOrder - expiresAt?: SortOrderInput | SortOrder - tags?: SortOrderInput | SortOrder - organizationId?: SortOrderInput | SortOrder - teamId?: SortOrderInput | SortOrder - projectId?: SortOrderInput | SortOrder - departmentId?: SortOrderInput | SortOrder - userId?: SortOrderInput | SortOrder - scheduleId?: SortOrderInput | SortOrder - storageProvider?: SortOrderInput | SortOrder + lastAccessedAt?: SortOrder + expiresAt?: SortOrder + tags?: SortOrder + organizationId?: SortOrder + teamId?: SortOrder + projectId?: SortOrder + departmentId?: SortOrder + userId?: SortOrder + scheduleId?: SortOrder + storageProvider?: SortOrder storageKey?: SortOrder - generator?: UserOrderByWithRelationInput - organization?: OrganizationOrderByWithRelationInput - team?: TeamOrderByWithRelationInput - project?: ProjectOrderByWithRelationInput - department?: DepartmentOrderByWithRelationInput - user?: UserOrderByWithRelationInput - reportSchedule?: ReportScheduleOrderByWithRelationInput - notifiedUsers?: ReportNotificationOrderByRelationAggregateInput } - export type ReportWhereUniqueInput = Prisma.AtLeast<{ - id?: string - AND?: ReportWhereInput | ReportWhereInput[] - OR?: ReportWhereInput[] - NOT?: ReportWhereInput | ReportWhereInput[] - name?: StringFilter<"Report"> | string - description?: StringNullableFilter<"Report"> | string | null - reportType?: EnumReportTypeFilter<"Report"> | $Enums.ReportType - format?: StringFilter<"Report"> | string - parameters?: JsonNullableFilter<"Report"> - filePath?: StringFilter<"Report"> | string - generatedBy?: UuidFilter<"Report"> | string - createdAt?: DateTimeFilter<"Report"> | Date | string - status?: EnumReportStatusFilter<"Report"> | $Enums.ReportStatus - updatedAt?: DateTimeFilter<"Report"> | Date | string - lastAccessedAt?: DateTimeNullableFilter<"Report"> | Date | string | null - expiresAt?: DateTimeNullableFilter<"Report"> | Date | string | null - tags?: StringNullableFilter<"Report"> | string | null - organizationId?: UuidNullableFilter<"Report"> | string | null - teamId?: UuidNullableFilter<"Report"> | string | null - projectId?: UuidNullableFilter<"Report"> | string | null - departmentId?: UuidNullableFilter<"Report"> | string | null - userId?: UuidNullableFilter<"Report"> | string | null - scheduleId?: UuidNullableFilter<"Report"> | string | null - storageProvider?: StringNullableFilter<"Report"> | string | null - storageKey?: StringFilter<"Report"> | string - generator?: XOR - organization?: XOR | null - team?: XOR | null - project?: XOR | null - department?: XOR | null - user?: XOR | null - reportSchedule?: XOR | null - notifiedUsers?: ReportNotificationListRelationFilter - }, "id"> + export type ReportMaxOrderByAggregateInput = { + id?: SortOrder + name?: SortOrder + description?: SortOrder + reportType?: SortOrder + format?: SortOrder + filePath?: SortOrder + generatedBy?: SortOrder + createdAt?: SortOrder + status?: SortOrder + updatedAt?: SortOrder + lastAccessedAt?: SortOrder + expiresAt?: SortOrder + tags?: SortOrder + organizationId?: SortOrder + teamId?: SortOrder + projectId?: SortOrder + departmentId?: SortOrder + userId?: SortOrder + scheduleId?: SortOrder + storageProvider?: SortOrder + storageKey?: SortOrder + } - export type ReportOrderByWithAggregationInput = { + export type ReportMinOrderByAggregateInput = { id?: SortOrder name?: SortOrder - description?: SortOrderInput | SortOrder + description?: SortOrder reportType?: SortOrder format?: SortOrder - parameters?: SortOrderInput | SortOrder filePath?: SortOrder generatedBy?: SortOrder createdAt?: SortOrder status?: SortOrder updatedAt?: SortOrder - lastAccessedAt?: SortOrderInput | SortOrder - expiresAt?: SortOrderInput | SortOrder - tags?: SortOrderInput | SortOrder - organizationId?: SortOrderInput | SortOrder - teamId?: SortOrderInput | SortOrder - projectId?: SortOrderInput | SortOrder - departmentId?: SortOrderInput | SortOrder - userId?: SortOrderInput | SortOrder - scheduleId?: SortOrderInput | SortOrder - storageProvider?: SortOrderInput | SortOrder + lastAccessedAt?: SortOrder + expiresAt?: SortOrder + tags?: SortOrder + organizationId?: SortOrder + teamId?: SortOrder + projectId?: SortOrder + departmentId?: SortOrder + userId?: SortOrder + scheduleId?: SortOrder + storageProvider?: SortOrder storageKey?: SortOrder - _count?: ReportCountOrderByAggregateInput - _max?: ReportMaxOrderByAggregateInput - _min?: ReportMinOrderByAggregateInput } - export type ReportScalarWhereWithAggregatesInput = { - AND?: ReportScalarWhereWithAggregatesInput | ReportScalarWhereWithAggregatesInput[] - OR?: ReportScalarWhereWithAggregatesInput[] - NOT?: ReportScalarWhereWithAggregatesInput | ReportScalarWhereWithAggregatesInput[] - id?: UuidWithAggregatesFilter<"Report"> | string - name?: StringWithAggregatesFilter<"Report"> | string - description?: StringNullableWithAggregatesFilter<"Report"> | string | null - reportType?: EnumReportTypeWithAggregatesFilter<"Report"> | $Enums.ReportType - format?: StringWithAggregatesFilter<"Report"> | string - parameters?: JsonNullableWithAggregatesFilter<"Report"> - filePath?: StringWithAggregatesFilter<"Report"> | string - generatedBy?: UuidWithAggregatesFilter<"Report"> | string - createdAt?: DateTimeWithAggregatesFilter<"Report"> | Date | string - status?: EnumReportStatusWithAggregatesFilter<"Report"> | $Enums.ReportStatus - updatedAt?: DateTimeWithAggregatesFilter<"Report"> | Date | string - lastAccessedAt?: DateTimeNullableWithAggregatesFilter<"Report"> | Date | string | null - expiresAt?: DateTimeNullableWithAggregatesFilter<"Report"> | Date | string | null - tags?: StringNullableWithAggregatesFilter<"Report"> | string | null - organizationId?: UuidNullableWithAggregatesFilter<"Report"> | string | null - teamId?: UuidNullableWithAggregatesFilter<"Report"> | string | null - projectId?: UuidNullableWithAggregatesFilter<"Report"> | string | null - departmentId?: UuidNullableWithAggregatesFilter<"Report"> | string | null - userId?: UuidNullableWithAggregatesFilter<"Report"> | string | null - scheduleId?: UuidNullableWithAggregatesFilter<"Report"> | string | null - storageProvider?: StringNullableWithAggregatesFilter<"Report"> | string | null - storageKey?: StringWithAggregatesFilter<"Report"> | string + export type EnumReportTypeWithAggregatesFilter<$PrismaModel = never> = { + equals?: $Enums.ReportType | EnumReportTypeFieldRefInput<$PrismaModel> + in?: $Enums.ReportType[] | ListEnumReportTypeFieldRefInput<$PrismaModel> + notIn?: $Enums.ReportType[] | ListEnumReportTypeFieldRefInput<$PrismaModel> + not?: NestedEnumReportTypeWithAggregatesFilter<$PrismaModel> | $Enums.ReportType + _count?: NestedIntFilter<$PrismaModel> + _min?: NestedEnumReportTypeFilter<$PrismaModel> + _max?: NestedEnumReportTypeFilter<$PrismaModel> } - export type ReportScheduleWhereInput = { - AND?: ReportScheduleWhereInput | ReportScheduleWhereInput[] - OR?: ReportScheduleWhereInput[] - NOT?: ReportScheduleWhereInput | ReportScheduleWhereInput[] - id?: UuidFilter<"ReportSchedule"> | string - name?: StringFilter<"ReportSchedule"> | string - cronExpression?: StringFilter<"ReportSchedule"> | string - isActive?: BoolFilter<"ReportSchedule"> | boolean - createdAt?: DateTimeFilter<"ReportSchedule"> | Date | string - createdBy?: UuidFilter<"ReportSchedule"> | string - reports?: ReportListRelationFilter + export type EnumReportStatusWithAggregatesFilter<$PrismaModel = never> = { + equals?: $Enums.ReportStatus | EnumReportStatusFieldRefInput<$PrismaModel> + in?: $Enums.ReportStatus[] | ListEnumReportStatusFieldRefInput<$PrismaModel> + notIn?: $Enums.ReportStatus[] | ListEnumReportStatusFieldRefInput<$PrismaModel> + not?: NestedEnumReportStatusWithAggregatesFilter<$PrismaModel> | $Enums.ReportStatus + _count?: NestedIntFilter<$PrismaModel> + _min?: NestedEnumReportStatusFilter<$PrismaModel> + _max?: NestedEnumReportStatusFilter<$PrismaModel> } - export type ReportScheduleOrderByWithRelationInput = { + export type ReportScheduleCountOrderByAggregateInput = { id?: SortOrder name?: SortOrder cronExpression?: SortOrder isActive?: SortOrder createdAt?: SortOrder createdBy?: SortOrder - reports?: ReportOrderByRelationAggregateInput } - export type ReportScheduleWhereUniqueInput = Prisma.AtLeast<{ - id?: string - AND?: ReportScheduleWhereInput | ReportScheduleWhereInput[] - OR?: ReportScheduleWhereInput[] - NOT?: ReportScheduleWhereInput | ReportScheduleWhereInput[] - name?: StringFilter<"ReportSchedule"> | string - cronExpression?: StringFilter<"ReportSchedule"> | string - isActive?: BoolFilter<"ReportSchedule"> | boolean - createdAt?: DateTimeFilter<"ReportSchedule"> | Date | string - createdBy?: UuidFilter<"ReportSchedule"> | string - reports?: ReportListRelationFilter - }, "id"> + export type ReportScheduleMaxOrderByAggregateInput = { + id?: SortOrder + name?: SortOrder + cronExpression?: SortOrder + isActive?: SortOrder + createdAt?: SortOrder + createdBy?: SortOrder + } - export type ReportScheduleOrderByWithAggregationInput = { + export type ReportScheduleMinOrderByAggregateInput = { id?: SortOrder name?: SortOrder cronExpression?: SortOrder isActive?: SortOrder createdAt?: SortOrder createdBy?: SortOrder - _count?: ReportScheduleCountOrderByAggregateInput - _max?: ReportScheduleMaxOrderByAggregateInput - _min?: ReportScheduleMinOrderByAggregateInput } - export type ReportScheduleScalarWhereWithAggregatesInput = { - AND?: ReportScheduleScalarWhereWithAggregatesInput | ReportScheduleScalarWhereWithAggregatesInput[] - OR?: ReportScheduleScalarWhereWithAggregatesInput[] - NOT?: ReportScheduleScalarWhereWithAggregatesInput | ReportScheduleScalarWhereWithAggregatesInput[] - id?: UuidWithAggregatesFilter<"ReportSchedule"> | string - name?: StringWithAggregatesFilter<"ReportSchedule"> | string - cronExpression?: StringWithAggregatesFilter<"ReportSchedule"> | string - isActive?: BoolWithAggregatesFilter<"ReportSchedule"> | boolean - createdAt?: DateTimeWithAggregatesFilter<"ReportSchedule"> | Date | string - createdBy?: UuidWithAggregatesFilter<"ReportSchedule"> | string + export type ReportScalarRelationFilter = { + is?: ReportWhereInput + isNot?: ReportWhereInput } - export type ReportNotificationWhereInput = { - AND?: ReportNotificationWhereInput | ReportNotificationWhereInput[] - OR?: ReportNotificationWhereInput[] - NOT?: ReportNotificationWhereInput | ReportNotificationWhereInput[] - id?: UuidFilter<"ReportNotification"> | string - reportId?: UuidFilter<"ReportNotification"> | string - userId?: UuidFilter<"ReportNotification"> | string - notified?: BoolFilter<"ReportNotification"> | boolean - report?: XOR - user?: XOR + export type ReportNotificationReportIdUserIdCompoundUniqueInput = { + reportId: string + userId: string } - export type ReportNotificationOrderByWithRelationInput = { + export type ReportNotificationCountOrderByAggregateInput = { id?: SortOrder reportId?: SortOrder userId?: SortOrder notified?: SortOrder - report?: ReportOrderByWithRelationInput - user?: UserOrderByWithRelationInput } - export type ReportNotificationWhereUniqueInput = Prisma.AtLeast<{ - id?: string - reportId_userId?: ReportNotificationReportIdUserIdCompoundUniqueInput - AND?: ReportNotificationWhereInput | ReportNotificationWhereInput[] - OR?: ReportNotificationWhereInput[] - NOT?: ReportNotificationWhereInput | ReportNotificationWhereInput[] - reportId?: UuidFilter<"ReportNotification"> | string - userId?: UuidFilter<"ReportNotification"> | string - notified?: BoolFilter<"ReportNotification"> | boolean - report?: XOR - user?: XOR - }, "id" | "reportId_userId"> + export type ReportNotificationMaxOrderByAggregateInput = { + id?: SortOrder + reportId?: SortOrder + userId?: SortOrder + notified?: SortOrder + } - export type ReportNotificationOrderByWithAggregationInput = { + export type ReportNotificationMinOrderByAggregateInput = { id?: SortOrder reportId?: SortOrder userId?: SortOrder notified?: SortOrder - _count?: ReportNotificationCountOrderByAggregateInput - _max?: ReportNotificationMaxOrderByAggregateInput - _min?: ReportNotificationMinOrderByAggregateInput } + export type JsonFilter<$PrismaModel = never> = + | PatchUndefined< + Either>, Exclude>, 'path'>>, + Required> + > + | OptionalFlat>, 'path'>> - export type ReportNotificationScalarWhereWithAggregatesInput = { - AND?: ReportNotificationScalarWhereWithAggregatesInput | ReportNotificationScalarWhereWithAggregatesInput[] - OR?: ReportNotificationScalarWhereWithAggregatesInput[] - NOT?: ReportNotificationScalarWhereWithAggregatesInput | ReportNotificationScalarWhereWithAggregatesInput[] - id?: UuidWithAggregatesFilter<"ReportNotification"> | string - reportId?: UuidWithAggregatesFilter<"ReportNotification"> | string - userId?: UuidWithAggregatesFilter<"ReportNotification"> | string - notified?: BoolWithAggregatesFilter<"ReportNotification"> | boolean + export type JsonFilterBase<$PrismaModel = never> = { + equals?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter + path?: string[] + mode?: QueryMode | EnumQueryModeFieldRefInput<$PrismaModel> + string_contains?: string | StringFieldRefInput<$PrismaModel> + string_starts_with?: string | StringFieldRefInput<$PrismaModel> + string_ends_with?: string | StringFieldRefInput<$PrismaModel> + array_starts_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null + array_ends_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null + array_contains?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null + lt?: InputJsonValue | JsonFieldRefInput<$PrismaModel> + lte?: InputJsonValue | JsonFieldRefInput<$PrismaModel> + gt?: InputJsonValue | JsonFieldRefInput<$PrismaModel> + gte?: InputJsonValue | JsonFieldRefInput<$PrismaModel> + not?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter } - export type PermissionWhereInput = { - AND?: PermissionWhereInput | PermissionWhereInput[] - OR?: PermissionWhereInput[] - NOT?: PermissionWhereInput | PermissionWhereInput[] - id?: UuidFilter<"Permission"> | string - userId?: UuidFilter<"Permission"> | string - entityType?: StringFilter<"Permission"> | string - entityId?: UuidFilter<"Permission"> | string - permissions?: JsonFilter<"Permission"> - createdAt?: DateTimeFilter<"Permission"> | Date | string - updatedAt?: DateTimeFilter<"Permission"> | Date | string - user?: XOR + export type PermissionUserIdEntityTypeEntityIdCompoundUniqueInput = { + userId: string + entityType: string + entityId: string + } + + export type PermissionCountOrderByAggregateInput = { + id?: SortOrder + userId?: SortOrder + entityType?: SortOrder + entityId?: SortOrder + permissions?: SortOrder + createdAt?: SortOrder + updatedAt?: SortOrder + } + + export type PermissionMaxOrderByAggregateInput = { + id?: SortOrder + userId?: SortOrder + entityType?: SortOrder + entityId?: SortOrder + createdAt?: SortOrder + updatedAt?: SortOrder + } + + export type PermissionMinOrderByAggregateInput = { + id?: SortOrder + userId?: SortOrder + entityType?: SortOrder + entityId?: SortOrder + createdAt?: SortOrder + updatedAt?: SortOrder + } + export type JsonWithAggregatesFilter<$PrismaModel = never> = + | PatchUndefined< + Either>, Exclude>, 'path'>>, + Required> + > + | OptionalFlat>, 'path'>> + + export type JsonWithAggregatesFilterBase<$PrismaModel = never> = { + equals?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter + path?: string[] + mode?: QueryMode | EnumQueryModeFieldRefInput<$PrismaModel> + string_contains?: string | StringFieldRefInput<$PrismaModel> + string_starts_with?: string | StringFieldRefInput<$PrismaModel> + string_ends_with?: string | StringFieldRefInput<$PrismaModel> + array_starts_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null + array_ends_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null + array_contains?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null + lt?: InputJsonValue | JsonFieldRefInput<$PrismaModel> + lte?: InputJsonValue | JsonFieldRefInput<$PrismaModel> + gt?: InputJsonValue | JsonFieldRefInput<$PrismaModel> + gte?: InputJsonValue | JsonFieldRefInput<$PrismaModel> + not?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter + _count?: NestedIntFilter<$PrismaModel> + _min?: NestedJsonFilter<$PrismaModel> + _max?: NestedJsonFilter<$PrismaModel> + } + + export type EnumChatRoomTypeFilter<$PrismaModel = never> = { + equals?: $Enums.ChatRoomType | EnumChatRoomTypeFieldRefInput<$PrismaModel> + in?: $Enums.ChatRoomType[] | ListEnumChatRoomTypeFieldRefInput<$PrismaModel> + notIn?: $Enums.ChatRoomType[] | ListEnumChatRoomTypeFieldRefInput<$PrismaModel> + not?: NestedEnumChatRoomTypeFilter<$PrismaModel> | $Enums.ChatRoomType + } + + export type ChatRoomEntityTypeEntityIdCompoundUniqueInput = { + entityType: $Enums.EntityType + entityId: string + } + + export type ChatRoomCountOrderByAggregateInput = { + id?: SortOrder + name?: SortOrder + description?: SortOrder + type?: SortOrder + entityType?: SortOrder + entityId?: SortOrder + createdAt?: SortOrder + updatedAt?: SortOrder + isActive?: SortOrder + isArchived?: SortOrder + archivedAt?: SortOrder + avatarUrl?: SortOrder + lastMessageAt?: SortOrder + } + + export type ChatRoomMaxOrderByAggregateInput = { + id?: SortOrder + name?: SortOrder + description?: SortOrder + type?: SortOrder + entityType?: SortOrder + entityId?: SortOrder + createdAt?: SortOrder + updatedAt?: SortOrder + isActive?: SortOrder + isArchived?: SortOrder + archivedAt?: SortOrder + avatarUrl?: SortOrder + lastMessageAt?: SortOrder } - export type PermissionOrderByWithRelationInput = { + export type ChatRoomMinOrderByAggregateInput = { id?: SortOrder - userId?: SortOrder + name?: SortOrder + description?: SortOrder + type?: SortOrder entityType?: SortOrder entityId?: SortOrder - permissions?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder - user?: UserOrderByWithRelationInput + isActive?: SortOrder + isArchived?: SortOrder + archivedAt?: SortOrder + avatarUrl?: SortOrder + lastMessageAt?: SortOrder } - export type PermissionWhereUniqueInput = Prisma.AtLeast<{ - id?: string - userId_entityType_entityId?: PermissionUserIdEntityTypeEntityIdCompoundUniqueInput - AND?: PermissionWhereInput | PermissionWhereInput[] - OR?: PermissionWhereInput[] - NOT?: PermissionWhereInput | PermissionWhereInput[] - userId?: UuidFilter<"Permission"> | string - entityType?: StringFilter<"Permission"> | string - entityId?: UuidFilter<"Permission"> | string - permissions?: JsonFilter<"Permission"> - createdAt?: DateTimeFilter<"Permission"> | Date | string - updatedAt?: DateTimeFilter<"Permission"> | Date | string - user?: XOR - }, "id" | "userId_entityType_entityId"> + export type EnumChatRoomTypeWithAggregatesFilter<$PrismaModel = never> = { + equals?: $Enums.ChatRoomType | EnumChatRoomTypeFieldRefInput<$PrismaModel> + in?: $Enums.ChatRoomType[] | ListEnumChatRoomTypeFieldRefInput<$PrismaModel> + notIn?: $Enums.ChatRoomType[] | ListEnumChatRoomTypeFieldRefInput<$PrismaModel> + not?: NestedEnumChatRoomTypeWithAggregatesFilter<$PrismaModel> | $Enums.ChatRoomType + _count?: NestedIntFilter<$PrismaModel> + _min?: NestedEnumChatRoomTypeFilter<$PrismaModel> + _max?: NestedEnumChatRoomTypeFilter<$PrismaModel> + } - export type PermissionOrderByWithAggregationInput = { + export type EnumParticipantStatusFilter<$PrismaModel = never> = { + equals?: $Enums.ParticipantStatus | EnumParticipantStatusFieldRefInput<$PrismaModel> + in?: $Enums.ParticipantStatus[] | ListEnumParticipantStatusFieldRefInput<$PrismaModel> + notIn?: $Enums.ParticipantStatus[] | ListEnumParticipantStatusFieldRefInput<$PrismaModel> + not?: NestedEnumParticipantStatusFilter<$PrismaModel> | $Enums.ParticipantStatus + } + + export type ChatRoomScalarRelationFilter = { + is?: ChatRoomWhereInput + isNot?: ChatRoomWhereInput + } + + export type ChatMessageNullableScalarRelationFilter = { + is?: ChatMessageWhereInput | null + isNot?: ChatMessageWhereInput | null + } + + export type ChatParticipantChatRoomIdUserIdCompoundUniqueInput = { + chatRoomId: string + userId: string + } + + export type ChatParticipantCountOrderByAggregateInput = { id?: SortOrder + chatRoomId?: SortOrder userId?: SortOrder - entityType?: SortOrder - entityId?: SortOrder - permissions?: SortOrder - createdAt?: SortOrder - updatedAt?: SortOrder - _count?: PermissionCountOrderByAggregateInput - _max?: PermissionMaxOrderByAggregateInput - _min?: PermissionMinOrderByAggregateInput + joinedAt?: SortOrder + lastReadMessageId?: SortOrder + lastReadAt?: SortOrder + isAdmin?: SortOrder + notificationsOn?: SortOrder + status?: SortOrder } - export type PermissionScalarWhereWithAggregatesInput = { - AND?: PermissionScalarWhereWithAggregatesInput | PermissionScalarWhereWithAggregatesInput[] - OR?: PermissionScalarWhereWithAggregatesInput[] - NOT?: PermissionScalarWhereWithAggregatesInput | PermissionScalarWhereWithAggregatesInput[] - id?: UuidWithAggregatesFilter<"Permission"> | string - userId?: UuidWithAggregatesFilter<"Permission"> | string - entityType?: StringWithAggregatesFilter<"Permission"> | string - entityId?: UuidWithAggregatesFilter<"Permission"> | string - permissions?: JsonWithAggregatesFilter<"Permission"> - createdAt?: DateTimeWithAggregatesFilter<"Permission"> | Date | string - updatedAt?: DateTimeWithAggregatesFilter<"Permission"> | Date | string + export type ChatParticipantMaxOrderByAggregateInput = { + id?: SortOrder + chatRoomId?: SortOrder + userId?: SortOrder + joinedAt?: SortOrder + lastReadMessageId?: SortOrder + lastReadAt?: SortOrder + isAdmin?: SortOrder + notificationsOn?: SortOrder + status?: SortOrder } - export type UserCreateInput = { - id?: string - email: string - username: string - password: string - firebaseUid?: string | null - firstName: string - lastName: string - role: $Enums.UserRole - profilePic?: string | null - isOwner?: boolean - createdAt?: Date | string - updatedAt?: Date | string - isActive?: boolean - deletedAt?: Date | string | null - phoneNumber?: string | null - jobTitle?: string | null - timezone?: string | null - bio?: string | null - preferences?: NullableJsonNullValueInput | InputJsonValue - emailVerificationToken?: string | null - emailVerificationExpires?: Date | string | null - passwordResetToken?: string | null - passwordResetExpires?: Date | string | null - refreshToken?: string | null - lastLogin?: Date | string | null - lastLogout?: Date | string | null - department?: DepartmentCreateNestedOneWithoutUsersInput - organization?: OrganizationCreateNestedOneWithoutUsersInput - createdOrganizations?: OrganizationCreateNestedManyWithoutCreatorInput - ownedOrganizations?: OrganizationOwnerCreateNestedManyWithoutUserInput - managedDepartments?: DepartmentCreateNestedManyWithoutManagerInput - createdTeams?: TeamCreateNestedManyWithoutCreatorInput - teamMemberships?: TeamMemberCreateNestedManyWithoutUserInput - projectMemberships?: ProjectMemberCreateNestedManyWithoutUserInput - createdProjects?: ProjectCreateNestedManyWithoutCreatorInput - modifiedProjects?: ProjectCreateNestedManyWithoutModifierInput - createdTasks?: TaskCreateNestedManyWithoutCreatorInput - assignedTasks?: TaskCreateNestedManyWithoutAssigneeInput - modifiedTasks?: TaskCreateNestedManyWithoutModifierInput - notifications?: NotificationCreateNestedManyWithoutUserInput - timelogs?: TimelogCreateNestedManyWithoutUserInput - comments?: CommentCreateNestedManyWithoutUserInput - taskAttachments?: TaskAttachmentCreateNestedManyWithoutUploaderInput - generatedReports?: ReportCreateNestedManyWithoutGeneratorInput - userReports?: ReportCreateNestedManyWithoutUserInput - permissions?: PermissionCreateNestedManyWithoutUserInput - activityLogs?: ActivityLogCreateNestedManyWithoutUserInput - ReportNotification?: ReportNotificationCreateNestedManyWithoutUserInput + export type ChatParticipantMinOrderByAggregateInput = { + id?: SortOrder + chatRoomId?: SortOrder + userId?: SortOrder + joinedAt?: SortOrder + lastReadMessageId?: SortOrder + lastReadAt?: SortOrder + isAdmin?: SortOrder + notificationsOn?: SortOrder + status?: SortOrder } - export type UserUncheckedCreateInput = { - id?: string - email: string - username: string - password: string - firebaseUid?: string | null - firstName: string - lastName: string - role: $Enums.UserRole - profilePic?: string | null - departmentId?: string | null - organizationId?: string | null - isOwner?: boolean - createdAt?: Date | string - updatedAt?: Date | string - isActive?: boolean - deletedAt?: Date | string | null - phoneNumber?: string | null - jobTitle?: string | null - timezone?: string | null - bio?: string | null - preferences?: NullableJsonNullValueInput | InputJsonValue - emailVerificationToken?: string | null - emailVerificationExpires?: Date | string | null - passwordResetToken?: string | null - passwordResetExpires?: Date | string | null - refreshToken?: string | null - lastLogin?: Date | string | null - lastLogout?: Date | string | null - createdOrganizations?: OrganizationUncheckedCreateNestedManyWithoutCreatorInput - ownedOrganizations?: OrganizationOwnerUncheckedCreateNestedManyWithoutUserInput - managedDepartments?: DepartmentUncheckedCreateNestedManyWithoutManagerInput - createdTeams?: TeamUncheckedCreateNestedManyWithoutCreatorInput - teamMemberships?: TeamMemberUncheckedCreateNestedManyWithoutUserInput - projectMemberships?: ProjectMemberUncheckedCreateNestedManyWithoutUserInput - createdProjects?: ProjectUncheckedCreateNestedManyWithoutCreatorInput - modifiedProjects?: ProjectUncheckedCreateNestedManyWithoutModifierInput - createdTasks?: TaskUncheckedCreateNestedManyWithoutCreatorInput - assignedTasks?: TaskUncheckedCreateNestedManyWithoutAssigneeInput - modifiedTasks?: TaskUncheckedCreateNestedManyWithoutModifierInput - notifications?: NotificationUncheckedCreateNestedManyWithoutUserInput - timelogs?: TimelogUncheckedCreateNestedManyWithoutUserInput - comments?: CommentUncheckedCreateNestedManyWithoutUserInput - taskAttachments?: TaskAttachmentUncheckedCreateNestedManyWithoutUploaderInput - generatedReports?: ReportUncheckedCreateNestedManyWithoutGeneratorInput - userReports?: ReportUncheckedCreateNestedManyWithoutUserInput - permissions?: PermissionUncheckedCreateNestedManyWithoutUserInput - activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutUserInput - ReportNotification?: ReportNotificationUncheckedCreateNestedManyWithoutUserInput + export type EnumParticipantStatusWithAggregatesFilter<$PrismaModel = never> = { + equals?: $Enums.ParticipantStatus | EnumParticipantStatusFieldRefInput<$PrismaModel> + in?: $Enums.ParticipantStatus[] | ListEnumParticipantStatusFieldRefInput<$PrismaModel> + notIn?: $Enums.ParticipantStatus[] | ListEnumParticipantStatusFieldRefInput<$PrismaModel> + not?: NestedEnumParticipantStatusWithAggregatesFilter<$PrismaModel> | $Enums.ParticipantStatus + _count?: NestedIntFilter<$PrismaModel> + _min?: NestedEnumParticipantStatusFilter<$PrismaModel> + _max?: NestedEnumParticipantStatusFilter<$PrismaModel> } - export type UserUpdateInput = { - id?: StringFieldUpdateOperationsInput | string - email?: StringFieldUpdateOperationsInput | string - username?: StringFieldUpdateOperationsInput | string - password?: StringFieldUpdateOperationsInput | string - firebaseUid?: NullableStringFieldUpdateOperationsInput | string | null - firstName?: StringFieldUpdateOperationsInput | string - lastName?: StringFieldUpdateOperationsInput | string - role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole - profilePic?: NullableStringFieldUpdateOperationsInput | string | null - isOwner?: BoolFieldUpdateOperationsInput | boolean - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string - isActive?: BoolFieldUpdateOperationsInput | boolean - deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - phoneNumber?: NullableStringFieldUpdateOperationsInput | string | null - jobTitle?: NullableStringFieldUpdateOperationsInput | string | null - timezone?: NullableStringFieldUpdateOperationsInput | string | null - bio?: NullableStringFieldUpdateOperationsInput | string | null - preferences?: NullableJsonNullValueInput | InputJsonValue - emailVerificationToken?: NullableStringFieldUpdateOperationsInput | string | null - emailVerificationExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - passwordResetToken?: NullableStringFieldUpdateOperationsInput | string | null - passwordResetExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - refreshToken?: NullableStringFieldUpdateOperationsInput | string | null - lastLogin?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - lastLogout?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - department?: DepartmentUpdateOneWithoutUsersNestedInput - organization?: OrganizationUpdateOneWithoutUsersNestedInput - createdOrganizations?: OrganizationUpdateManyWithoutCreatorNestedInput - ownedOrganizations?: OrganizationOwnerUpdateManyWithoutUserNestedInput - managedDepartments?: DepartmentUpdateManyWithoutManagerNestedInput - createdTeams?: TeamUpdateManyWithoutCreatorNestedInput - teamMemberships?: TeamMemberUpdateManyWithoutUserNestedInput - projectMemberships?: ProjectMemberUpdateManyWithoutUserNestedInput - createdProjects?: ProjectUpdateManyWithoutCreatorNestedInput - modifiedProjects?: ProjectUpdateManyWithoutModifierNestedInput - createdTasks?: TaskUpdateManyWithoutCreatorNestedInput - assignedTasks?: TaskUpdateManyWithoutAssigneeNestedInput - modifiedTasks?: TaskUpdateManyWithoutModifierNestedInput - notifications?: NotificationUpdateManyWithoutUserNestedInput - timelogs?: TimelogUpdateManyWithoutUserNestedInput - comments?: CommentUpdateManyWithoutUserNestedInput - taskAttachments?: TaskAttachmentUpdateManyWithoutUploaderNestedInput - generatedReports?: ReportUpdateManyWithoutGeneratorNestedInput - userReports?: ReportUpdateManyWithoutUserNestedInput - permissions?: PermissionUpdateManyWithoutUserNestedInput - activityLogs?: ActivityLogUpdateManyWithoutUserNestedInput - ReportNotification?: ReportNotificationUpdateManyWithoutUserNestedInput + export type EnumMessageContentTypeFilter<$PrismaModel = never> = { + equals?: $Enums.MessageContentType | EnumMessageContentTypeFieldRefInput<$PrismaModel> + in?: $Enums.MessageContentType[] | ListEnumMessageContentTypeFieldRefInput<$PrismaModel> + notIn?: $Enums.MessageContentType[] | ListEnumMessageContentTypeFieldRefInput<$PrismaModel> + not?: NestedEnumMessageContentTypeFilter<$PrismaModel> | $Enums.MessageContentType } - export type UserUncheckedUpdateInput = { - id?: StringFieldUpdateOperationsInput | string - email?: StringFieldUpdateOperationsInput | string - username?: StringFieldUpdateOperationsInput | string - password?: StringFieldUpdateOperationsInput | string - firebaseUid?: NullableStringFieldUpdateOperationsInput | string | null - firstName?: StringFieldUpdateOperationsInput | string - lastName?: StringFieldUpdateOperationsInput | string - role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole - profilePic?: NullableStringFieldUpdateOperationsInput | string | null - departmentId?: NullableStringFieldUpdateOperationsInput | string | null - organizationId?: NullableStringFieldUpdateOperationsInput | string | null - isOwner?: BoolFieldUpdateOperationsInput | boolean - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string - isActive?: BoolFieldUpdateOperationsInput | boolean - deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - phoneNumber?: NullableStringFieldUpdateOperationsInput | string | null - jobTitle?: NullableStringFieldUpdateOperationsInput | string | null - timezone?: NullableStringFieldUpdateOperationsInput | string | null - bio?: NullableStringFieldUpdateOperationsInput | string | null - preferences?: NullableJsonNullValueInput | InputJsonValue - emailVerificationToken?: NullableStringFieldUpdateOperationsInput | string | null - emailVerificationExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - passwordResetToken?: NullableStringFieldUpdateOperationsInput | string | null - passwordResetExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - refreshToken?: NullableStringFieldUpdateOperationsInput | string | null - lastLogin?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - lastLogout?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - createdOrganizations?: OrganizationUncheckedUpdateManyWithoutCreatorNestedInput - ownedOrganizations?: OrganizationOwnerUncheckedUpdateManyWithoutUserNestedInput - managedDepartments?: DepartmentUncheckedUpdateManyWithoutManagerNestedInput - createdTeams?: TeamUncheckedUpdateManyWithoutCreatorNestedInput - teamMemberships?: TeamMemberUncheckedUpdateManyWithoutUserNestedInput - projectMemberships?: ProjectMemberUncheckedUpdateManyWithoutUserNestedInput - createdProjects?: ProjectUncheckedUpdateManyWithoutCreatorNestedInput - modifiedProjects?: ProjectUncheckedUpdateManyWithoutModifierNestedInput - createdTasks?: TaskUncheckedUpdateManyWithoutCreatorNestedInput - assignedTasks?: TaskUncheckedUpdateManyWithoutAssigneeNestedInput - modifiedTasks?: TaskUncheckedUpdateManyWithoutModifierNestedInput - notifications?: NotificationUncheckedUpdateManyWithoutUserNestedInput - timelogs?: TimelogUncheckedUpdateManyWithoutUserNestedInput - comments?: CommentUncheckedUpdateManyWithoutUserNestedInput - taskAttachments?: TaskAttachmentUncheckedUpdateManyWithoutUploaderNestedInput - generatedReports?: ReportUncheckedUpdateManyWithoutGeneratorNestedInput - userReports?: ReportUncheckedUpdateManyWithoutUserNestedInput - permissions?: PermissionUncheckedUpdateManyWithoutUserNestedInput - activityLogs?: ActivityLogUncheckedUpdateManyWithoutUserNestedInput - ReportNotification?: ReportNotificationUncheckedUpdateManyWithoutUserNestedInput + export type MessageAttachmentListRelationFilter = { + every?: MessageAttachmentWhereInput + some?: MessageAttachmentWhereInput + none?: MessageAttachmentWhereInput } - export type UserCreateManyInput = { - id?: string - email: string - username: string - password: string - firebaseUid?: string | null - firstName: string - lastName: string - role: $Enums.UserRole - profilePic?: string | null - departmentId?: string | null - organizationId?: string | null - isOwner?: boolean - createdAt?: Date | string - updatedAt?: Date | string - isActive?: boolean - deletedAt?: Date | string | null - phoneNumber?: string | null - jobTitle?: string | null - timezone?: string | null - bio?: string | null - preferences?: NullableJsonNullValueInput | InputJsonValue - emailVerificationToken?: string | null - emailVerificationExpires?: Date | string | null - passwordResetToken?: string | null - passwordResetExpires?: Date | string | null - refreshToken?: string | null - lastLogin?: Date | string | null - lastLogout?: Date | string | null + export type MessageAttachmentOrderByRelationAggregateInput = { + _count?: SortOrder } - export type UserUpdateManyMutationInput = { - id?: StringFieldUpdateOperationsInput | string - email?: StringFieldUpdateOperationsInput | string - username?: StringFieldUpdateOperationsInput | string - password?: StringFieldUpdateOperationsInput | string - firebaseUid?: NullableStringFieldUpdateOperationsInput | string | null - firstName?: StringFieldUpdateOperationsInput | string - lastName?: StringFieldUpdateOperationsInput | string - role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole - profilePic?: NullableStringFieldUpdateOperationsInput | string | null - isOwner?: BoolFieldUpdateOperationsInput | boolean - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string - isActive?: BoolFieldUpdateOperationsInput | boolean - deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - phoneNumber?: NullableStringFieldUpdateOperationsInput | string | null - jobTitle?: NullableStringFieldUpdateOperationsInput | string | null - timezone?: NullableStringFieldUpdateOperationsInput | string | null - bio?: NullableStringFieldUpdateOperationsInput | string | null - preferences?: NullableJsonNullValueInput | InputJsonValue - emailVerificationToken?: NullableStringFieldUpdateOperationsInput | string | null - emailVerificationExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - passwordResetToken?: NullableStringFieldUpdateOperationsInput | string | null - passwordResetExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - refreshToken?: NullableStringFieldUpdateOperationsInput | string | null - lastLogin?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - lastLogout?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + export type ChatMessageCountOrderByAggregateInput = { + id?: SortOrder + chatRoomId?: SortOrder + senderId?: SortOrder + content?: SortOrder + contentType?: SortOrder + createdAt?: SortOrder + updatedAt?: SortOrder + isEdited?: SortOrder + isDeleted?: SortOrder + deletedAt?: SortOrder + replyToId?: SortOrder + metadata?: SortOrder } - export type UserUncheckedUpdateManyInput = { - id?: StringFieldUpdateOperationsInput | string - email?: StringFieldUpdateOperationsInput | string - username?: StringFieldUpdateOperationsInput | string - password?: StringFieldUpdateOperationsInput | string - firebaseUid?: NullableStringFieldUpdateOperationsInput | string | null - firstName?: StringFieldUpdateOperationsInput | string - lastName?: StringFieldUpdateOperationsInput | string - role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole - profilePic?: NullableStringFieldUpdateOperationsInput | string | null - departmentId?: NullableStringFieldUpdateOperationsInput | string | null - organizationId?: NullableStringFieldUpdateOperationsInput | string | null - isOwner?: BoolFieldUpdateOperationsInput | boolean - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string - isActive?: BoolFieldUpdateOperationsInput | boolean - deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - phoneNumber?: NullableStringFieldUpdateOperationsInput | string | null - jobTitle?: NullableStringFieldUpdateOperationsInput | string | null - timezone?: NullableStringFieldUpdateOperationsInput | string | null - bio?: NullableStringFieldUpdateOperationsInput | string | null - preferences?: NullableJsonNullValueInput | InputJsonValue - emailVerificationToken?: NullableStringFieldUpdateOperationsInput | string | null - emailVerificationExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - passwordResetToken?: NullableStringFieldUpdateOperationsInput | string | null - passwordResetExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - refreshToken?: NullableStringFieldUpdateOperationsInput | string | null - lastLogin?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - lastLogout?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + export type ChatMessageMaxOrderByAggregateInput = { + id?: SortOrder + chatRoomId?: SortOrder + senderId?: SortOrder + content?: SortOrder + contentType?: SortOrder + createdAt?: SortOrder + updatedAt?: SortOrder + isEdited?: SortOrder + isDeleted?: SortOrder + deletedAt?: SortOrder + replyToId?: SortOrder } - export type OrganizationCreateInput = { - id?: string - name: string - description?: string | null - industry: string - sizeRange: string - website?: string | null - logoUrl?: string | null - isVerified?: boolean - status: string - createdAt?: Date | string - updatedAt?: Date | string - deletedAt?: Date | string | null - address?: string | null - contactEmail?: string | null - contactPhone?: string | null - emailVerificationOTP?: string | null - emailVerificationExpires?: Date | string | null - creator: UserCreateNestedOneWithoutCreatedOrganizationsInput - departments?: DepartmentCreateNestedManyWithoutOrganizationInput - teams?: TeamCreateNestedManyWithoutOrganizationInput - projects?: ProjectCreateNestedManyWithoutOrganizationInput - users?: UserCreateNestedManyWithoutOrganizationInput - reports?: ReportCreateNestedManyWithoutOrganizationInput - owners?: OrganizationOwnerCreateNestedManyWithoutOrganizationInput - templates?: TaskTemplateCreateNestedManyWithoutOrganizationInput - activityLogs?: ActivityLogCreateNestedManyWithoutOrganizationInput + export type ChatMessageMinOrderByAggregateInput = { + id?: SortOrder + chatRoomId?: SortOrder + senderId?: SortOrder + content?: SortOrder + contentType?: SortOrder + createdAt?: SortOrder + updatedAt?: SortOrder + isEdited?: SortOrder + isDeleted?: SortOrder + deletedAt?: SortOrder + replyToId?: SortOrder } - export type OrganizationUncheckedCreateInput = { - id?: string - name: string - description?: string | null - industry: string - sizeRange: string - website?: string | null - logoUrl?: string | null - isVerified?: boolean - status: string - createdAt?: Date | string - updatedAt?: Date | string - deletedAt?: Date | string | null - createdBy: string - address?: string | null - contactEmail?: string | null - contactPhone?: string | null - emailVerificationOTP?: string | null - emailVerificationExpires?: Date | string | null - departments?: DepartmentUncheckedCreateNestedManyWithoutOrganizationInput - teams?: TeamUncheckedCreateNestedManyWithoutOrganizationInput - projects?: ProjectUncheckedCreateNestedManyWithoutOrganizationInput - users?: UserUncheckedCreateNestedManyWithoutOrganizationInput - reports?: ReportUncheckedCreateNestedManyWithoutOrganizationInput - owners?: OrganizationOwnerUncheckedCreateNestedManyWithoutOrganizationInput - templates?: TaskTemplateUncheckedCreateNestedManyWithoutOrganizationInput - activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutOrganizationInput + export type EnumMessageContentTypeWithAggregatesFilter<$PrismaModel = never> = { + equals?: $Enums.MessageContentType | EnumMessageContentTypeFieldRefInput<$PrismaModel> + in?: $Enums.MessageContentType[] | ListEnumMessageContentTypeFieldRefInput<$PrismaModel> + notIn?: $Enums.MessageContentType[] | ListEnumMessageContentTypeFieldRefInput<$PrismaModel> + not?: NestedEnumMessageContentTypeWithAggregatesFilter<$PrismaModel> | $Enums.MessageContentType + _count?: NestedIntFilter<$PrismaModel> + _min?: NestedEnumMessageContentTypeFilter<$PrismaModel> + _max?: NestedEnumMessageContentTypeFilter<$PrismaModel> } - export type OrganizationUpdateInput = { - id?: StringFieldUpdateOperationsInput | string - name?: StringFieldUpdateOperationsInput | string - description?: NullableStringFieldUpdateOperationsInput | string | null - industry?: StringFieldUpdateOperationsInput | string - sizeRange?: StringFieldUpdateOperationsInput | string - website?: NullableStringFieldUpdateOperationsInput | string | null - logoUrl?: NullableStringFieldUpdateOperationsInput | string | null - isVerified?: BoolFieldUpdateOperationsInput | boolean - status?: StringFieldUpdateOperationsInput | string - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string - deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - address?: NullableStringFieldUpdateOperationsInput | string | null - contactEmail?: NullableStringFieldUpdateOperationsInput | string | null - contactPhone?: NullableStringFieldUpdateOperationsInput | string | null - emailVerificationOTP?: NullableStringFieldUpdateOperationsInput | string | null - emailVerificationExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - creator?: UserUpdateOneRequiredWithoutCreatedOrganizationsNestedInput - departments?: DepartmentUpdateManyWithoutOrganizationNestedInput - teams?: TeamUpdateManyWithoutOrganizationNestedInput - projects?: ProjectUpdateManyWithoutOrganizationNestedInput - users?: UserUpdateManyWithoutOrganizationNestedInput - reports?: ReportUpdateManyWithoutOrganizationNestedInput - owners?: OrganizationOwnerUpdateManyWithoutOrganizationNestedInput - templates?: TaskTemplateUpdateManyWithoutOrganizationNestedInput - activityLogs?: ActivityLogUpdateManyWithoutOrganizationNestedInput + export type ChatMessageScalarRelationFilter = { + is?: ChatMessageWhereInput + isNot?: ChatMessageWhereInput } - export type OrganizationUncheckedUpdateInput = { - id?: StringFieldUpdateOperationsInput | string - name?: StringFieldUpdateOperationsInput | string - description?: NullableStringFieldUpdateOperationsInput | string | null - industry?: StringFieldUpdateOperationsInput | string - sizeRange?: StringFieldUpdateOperationsInput | string - website?: NullableStringFieldUpdateOperationsInput | string | null - logoUrl?: NullableStringFieldUpdateOperationsInput | string | null - isVerified?: BoolFieldUpdateOperationsInput | boolean - status?: StringFieldUpdateOperationsInput | string - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string - deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - createdBy?: StringFieldUpdateOperationsInput | string - address?: NullableStringFieldUpdateOperationsInput | string | null - contactEmail?: NullableStringFieldUpdateOperationsInput | string | null - contactPhone?: NullableStringFieldUpdateOperationsInput | string | null - emailVerificationOTP?: NullableStringFieldUpdateOperationsInput | string | null - emailVerificationExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - departments?: DepartmentUncheckedUpdateManyWithoutOrganizationNestedInput - teams?: TeamUncheckedUpdateManyWithoutOrganizationNestedInput - projects?: ProjectUncheckedUpdateManyWithoutOrganizationNestedInput - users?: UserUncheckedUpdateManyWithoutOrganizationNestedInput - reports?: ReportUncheckedUpdateManyWithoutOrganizationNestedInput - owners?: OrganizationOwnerUncheckedUpdateManyWithoutOrganizationNestedInput - templates?: TaskTemplateUncheckedUpdateManyWithoutOrganizationNestedInput - activityLogs?: ActivityLogUncheckedUpdateManyWithoutOrganizationNestedInput + export type MessageAttachmentCountOrderByAggregateInput = { + id?: SortOrder + messageId?: SortOrder + fileName?: SortOrder + fileType?: SortOrder + filePath?: SortOrder + fileSize?: SortOrder + thumbnailPath?: SortOrder + storageProvider?: SortOrder + storageKey?: SortOrder + createdAt?: SortOrder } - export type OrganizationCreateManyInput = { - id?: string - name: string - description?: string | null - industry: string - sizeRange: string - website?: string | null - logoUrl?: string | null - isVerified?: boolean - status: string - createdAt?: Date | string - updatedAt?: Date | string - deletedAt?: Date | string | null - createdBy: string - address?: string | null - contactEmail?: string | null - contactPhone?: string | null - emailVerificationOTP?: string | null - emailVerificationExpires?: Date | string | null + export type MessageAttachmentAvgOrderByAggregateInput = { + fileSize?: SortOrder + } + + export type MessageAttachmentMaxOrderByAggregateInput = { + id?: SortOrder + messageId?: SortOrder + fileName?: SortOrder + fileType?: SortOrder + filePath?: SortOrder + fileSize?: SortOrder + thumbnailPath?: SortOrder + storageProvider?: SortOrder + storageKey?: SortOrder + createdAt?: SortOrder } - export type OrganizationUpdateManyMutationInput = { - id?: StringFieldUpdateOperationsInput | string - name?: StringFieldUpdateOperationsInput | string - description?: NullableStringFieldUpdateOperationsInput | string | null - industry?: StringFieldUpdateOperationsInput | string - sizeRange?: StringFieldUpdateOperationsInput | string - website?: NullableStringFieldUpdateOperationsInput | string | null - logoUrl?: NullableStringFieldUpdateOperationsInput | string | null - isVerified?: BoolFieldUpdateOperationsInput | boolean - status?: StringFieldUpdateOperationsInput | string - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string - deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - address?: NullableStringFieldUpdateOperationsInput | string | null - contactEmail?: NullableStringFieldUpdateOperationsInput | string | null - contactPhone?: NullableStringFieldUpdateOperationsInput | string | null - emailVerificationOTP?: NullableStringFieldUpdateOperationsInput | string | null - emailVerificationExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + export type MessageAttachmentMinOrderByAggregateInput = { + id?: SortOrder + messageId?: SortOrder + fileName?: SortOrder + fileType?: SortOrder + filePath?: SortOrder + fileSize?: SortOrder + thumbnailPath?: SortOrder + storageProvider?: SortOrder + storageKey?: SortOrder + createdAt?: SortOrder } - export type OrganizationUncheckedUpdateManyInput = { - id?: StringFieldUpdateOperationsInput | string - name?: StringFieldUpdateOperationsInput | string - description?: NullableStringFieldUpdateOperationsInput | string | null - industry?: StringFieldUpdateOperationsInput | string - sizeRange?: StringFieldUpdateOperationsInput | string - website?: NullableStringFieldUpdateOperationsInput | string | null - logoUrl?: NullableStringFieldUpdateOperationsInput | string | null - isVerified?: BoolFieldUpdateOperationsInput | boolean - status?: StringFieldUpdateOperationsInput | string - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string - deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - createdBy?: StringFieldUpdateOperationsInput | string - address?: NullableStringFieldUpdateOperationsInput | string | null - contactEmail?: NullableStringFieldUpdateOperationsInput | string | null - contactPhone?: NullableStringFieldUpdateOperationsInput | string | null - emailVerificationOTP?: NullableStringFieldUpdateOperationsInput | string | null - emailVerificationExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + export type MessageAttachmentSumOrderByAggregateInput = { + fileSize?: SortOrder } - export type OrganizationOwnerCreateInput = { - id?: string - createdAt?: Date | string - updatedAt?: Date | string - organization: OrganizationCreateNestedOneWithoutOwnersInput - user: UserCreateNestedOneWithoutOwnedOrganizationsInput + export type MessageReactionMessageIdUserIdReactionCompoundUniqueInput = { + messageId: string + userId: string + reaction: string } - export type OrganizationOwnerUncheckedCreateInput = { - id?: string - organizationId: string - userId: string - createdAt?: Date | string - updatedAt?: Date | string + export type MessageReactionCountOrderByAggregateInput = { + id?: SortOrder + messageId?: SortOrder + userId?: SortOrder + reaction?: SortOrder + createdAt?: SortOrder } - export type OrganizationOwnerUpdateInput = { - id?: StringFieldUpdateOperationsInput | string - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string - organization?: OrganizationUpdateOneRequiredWithoutOwnersNestedInput - user?: UserUpdateOneRequiredWithoutOwnedOrganizationsNestedInput + export type MessageReactionMaxOrderByAggregateInput = { + id?: SortOrder + messageId?: SortOrder + userId?: SortOrder + reaction?: SortOrder + createdAt?: SortOrder } - export type OrganizationOwnerUncheckedUpdateInput = { - id?: StringFieldUpdateOperationsInput | string - organizationId?: StringFieldUpdateOperationsInput | string - userId?: StringFieldUpdateOperationsInput | string - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + export type MessageReactionMinOrderByAggregateInput = { + id?: SortOrder + messageId?: SortOrder + userId?: SortOrder + reaction?: SortOrder + createdAt?: SortOrder } - export type OrganizationOwnerCreateManyInput = { - id?: string - organizationId: string - userId: string - createdAt?: Date | string - updatedAt?: Date | string + export type PinnedMessageChatRoomIdMessageIdCompoundUniqueInput = { + chatRoomId: string + messageId: string } - export type OrganizationOwnerUpdateManyMutationInput = { - id?: StringFieldUpdateOperationsInput | string - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + export type PinnedMessageCountOrderByAggregateInput = { + id?: SortOrder + chatRoomId?: SortOrder + messageId?: SortOrder + pinnedBy?: SortOrder + pinnedAt?: SortOrder } - export type OrganizationOwnerUncheckedUpdateManyInput = { - id?: StringFieldUpdateOperationsInput | string - organizationId?: StringFieldUpdateOperationsInput | string - userId?: StringFieldUpdateOperationsInput | string - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + export type PinnedMessageMaxOrderByAggregateInput = { + id?: SortOrder + chatRoomId?: SortOrder + messageId?: SortOrder + pinnedBy?: SortOrder + pinnedAt?: SortOrder } - export type DepartmentCreateInput = { - id?: string - name: string - description?: string | null - createdAt?: Date | string - updatedAt?: Date | string - deletedAt?: Date | string | null - organization: OrganizationCreateNestedOneWithoutDepartmentsInput - manager: UserCreateNestedOneWithoutManagedDepartmentsInput - teams?: TeamCreateNestedManyWithoutDepartmentInput - users?: UserCreateNestedManyWithoutDepartmentInput - activityLogs?: ActivityLogCreateNestedManyWithoutDepartmentInput - Report?: ReportCreateNestedManyWithoutDepartmentInput + export type PinnedMessageMinOrderByAggregateInput = { + id?: SortOrder + chatRoomId?: SortOrder + messageId?: SortOrder + pinnedBy?: SortOrder + pinnedAt?: SortOrder } - export type DepartmentUncheckedCreateInput = { - id?: string - name: string - description?: string | null - organizationId: string - managerId: string - createdAt?: Date | string - updatedAt?: Date | string - deletedAt?: Date | string | null - teams?: TeamUncheckedCreateNestedManyWithoutDepartmentInput - users?: UserUncheckedCreateNestedManyWithoutDepartmentInput - activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutDepartmentInput - Report?: ReportUncheckedCreateNestedManyWithoutDepartmentInput + export type EnumSessionStatusFilter<$PrismaModel = never> = { + equals?: $Enums.SessionStatus | EnumSessionStatusFieldRefInput<$PrismaModel> + in?: $Enums.SessionStatus[] | ListEnumSessionStatusFieldRefInput<$PrismaModel> + notIn?: $Enums.SessionStatus[] | ListEnumSessionStatusFieldRefInput<$PrismaModel> + not?: NestedEnumSessionStatusFilter<$PrismaModel> | $Enums.SessionStatus } - export type DepartmentUpdateInput = { - id?: StringFieldUpdateOperationsInput | string - name?: StringFieldUpdateOperationsInput | string - description?: NullableStringFieldUpdateOperationsInput | string | null - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string - deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - organization?: OrganizationUpdateOneRequiredWithoutDepartmentsNestedInput - manager?: UserUpdateOneRequiredWithoutManagedDepartmentsNestedInput - teams?: TeamUpdateManyWithoutDepartmentNestedInput - users?: UserUpdateManyWithoutDepartmentNestedInput - activityLogs?: ActivityLogUpdateManyWithoutDepartmentNestedInput - Report?: ReportUpdateManyWithoutDepartmentNestedInput + export type VideoConferenceSessionCountOrderByAggregateInput = { + id?: SortOrder + chatRoomId?: SortOrder + title?: SortOrder + description?: SortOrder + startTime?: SortOrder + endTime?: SortOrder + status?: SortOrder + hostId?: SortOrder + meetingUrl?: SortOrder + recordingUrl?: SortOrder + settings?: SortOrder } - export type DepartmentUncheckedUpdateInput = { - id?: StringFieldUpdateOperationsInput | string - name?: StringFieldUpdateOperationsInput | string - description?: NullableStringFieldUpdateOperationsInput | string | null - organizationId?: StringFieldUpdateOperationsInput | string - managerId?: StringFieldUpdateOperationsInput | string - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string - deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - teams?: TeamUncheckedUpdateManyWithoutDepartmentNestedInput - users?: UserUncheckedUpdateManyWithoutDepartmentNestedInput - activityLogs?: ActivityLogUncheckedUpdateManyWithoutDepartmentNestedInput - Report?: ReportUncheckedUpdateManyWithoutDepartmentNestedInput + export type VideoConferenceSessionMaxOrderByAggregateInput = { + id?: SortOrder + chatRoomId?: SortOrder + title?: SortOrder + description?: SortOrder + startTime?: SortOrder + endTime?: SortOrder + status?: SortOrder + hostId?: SortOrder + meetingUrl?: SortOrder + recordingUrl?: SortOrder } - export type DepartmentCreateManyInput = { - id?: string - name: string - description?: string | null - organizationId: string - managerId: string - createdAt?: Date | string - updatedAt?: Date | string - deletedAt?: Date | string | null + export type VideoConferenceSessionMinOrderByAggregateInput = { + id?: SortOrder + chatRoomId?: SortOrder + title?: SortOrder + description?: SortOrder + startTime?: SortOrder + endTime?: SortOrder + status?: SortOrder + hostId?: SortOrder + meetingUrl?: SortOrder + recordingUrl?: SortOrder } - export type DepartmentUpdateManyMutationInput = { - id?: StringFieldUpdateOperationsInput | string - name?: StringFieldUpdateOperationsInput | string - description?: NullableStringFieldUpdateOperationsInput | string | null - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string - deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + export type EnumSessionStatusWithAggregatesFilter<$PrismaModel = never> = { + equals?: $Enums.SessionStatus | EnumSessionStatusFieldRefInput<$PrismaModel> + in?: $Enums.SessionStatus[] | ListEnumSessionStatusFieldRefInput<$PrismaModel> + notIn?: $Enums.SessionStatus[] | ListEnumSessionStatusFieldRefInput<$PrismaModel> + not?: NestedEnumSessionStatusWithAggregatesFilter<$PrismaModel> | $Enums.SessionStatus + _count?: NestedIntFilter<$PrismaModel> + _min?: NestedEnumSessionStatusFilter<$PrismaModel> + _max?: NestedEnumSessionStatusFilter<$PrismaModel> } - export type DepartmentUncheckedUpdateManyInput = { - id?: StringFieldUpdateOperationsInput | string - name?: StringFieldUpdateOperationsInput | string - description?: NullableStringFieldUpdateOperationsInput | string | null - organizationId?: StringFieldUpdateOperationsInput | string - managerId?: StringFieldUpdateOperationsInput | string - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string - deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + export type EnumVideoParticipantRoleFilter<$PrismaModel = never> = { + equals?: $Enums.VideoParticipantRole | EnumVideoParticipantRoleFieldRefInput<$PrismaModel> + in?: $Enums.VideoParticipantRole[] | ListEnumVideoParticipantRoleFieldRefInput<$PrismaModel> + notIn?: $Enums.VideoParticipantRole[] | ListEnumVideoParticipantRoleFieldRefInput<$PrismaModel> + not?: NestedEnumVideoParticipantRoleFilter<$PrismaModel> | $Enums.VideoParticipantRole } - export type TeamCreateInput = { - id?: string - name: string - description?: string | null - createdAt?: Date | string - updatedAt?: Date | string - deletedAt?: Date | string | null - avatar?: string | null - creator: UserCreateNestedOneWithoutCreatedTeamsInput - organization: OrganizationCreateNestedOneWithoutTeamsInput - department?: DepartmentCreateNestedOneWithoutTeamsInput - members?: TeamMemberCreateNestedManyWithoutTeamInput - projects?: ProjectCreateNestedManyWithoutTeamInput - reports?: ReportCreateNestedManyWithoutTeamInput - activityLogs?: ActivityLogCreateNestedManyWithoutTeamInput + export type VideoConferenceSessionScalarRelationFilter = { + is?: VideoConferenceSessionWhereInput + isNot?: VideoConferenceSessionWhereInput } - export type TeamUncheckedCreateInput = { - id?: string - name: string - description?: string | null - createdBy: string - organizationId: string - departmentId?: string | null - createdAt?: Date | string - updatedAt?: Date | string - deletedAt?: Date | string | null - avatar?: string | null - members?: TeamMemberUncheckedCreateNestedManyWithoutTeamInput - projects?: ProjectUncheckedCreateNestedManyWithoutTeamInput - reports?: ReportUncheckedCreateNestedManyWithoutTeamInput - activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutTeamInput + export type VideoParticipantSessionIdUserIdCompoundUniqueInput = { + sessionId: string + userId: string } - export type TeamUpdateInput = { - id?: StringFieldUpdateOperationsInput | string - name?: StringFieldUpdateOperationsInput | string - description?: NullableStringFieldUpdateOperationsInput | string | null - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string - deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - avatar?: NullableStringFieldUpdateOperationsInput | string | null - creator?: UserUpdateOneRequiredWithoutCreatedTeamsNestedInput - organization?: OrganizationUpdateOneRequiredWithoutTeamsNestedInput - department?: DepartmentUpdateOneWithoutTeamsNestedInput - members?: TeamMemberUpdateManyWithoutTeamNestedInput - projects?: ProjectUpdateManyWithoutTeamNestedInput - reports?: ReportUpdateManyWithoutTeamNestedInput - activityLogs?: ActivityLogUpdateManyWithoutTeamNestedInput + export type VideoParticipantCountOrderByAggregateInput = { + id?: SortOrder + sessionId?: SortOrder + userId?: SortOrder + joinedAt?: SortOrder + leftAt?: SortOrder + role?: SortOrder + deviceInfo?: SortOrder + connectionQuality?: SortOrder + hasVideo?: SortOrder + hasAudio?: SortOrder } - export type TeamUncheckedUpdateInput = { - id?: StringFieldUpdateOperationsInput | string - name?: StringFieldUpdateOperationsInput | string - description?: NullableStringFieldUpdateOperationsInput | string | null - createdBy?: StringFieldUpdateOperationsInput | string - organizationId?: StringFieldUpdateOperationsInput | string - departmentId?: NullableStringFieldUpdateOperationsInput | string | null - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string - deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - avatar?: NullableStringFieldUpdateOperationsInput | string | null - members?: TeamMemberUncheckedUpdateManyWithoutTeamNestedInput - projects?: ProjectUncheckedUpdateManyWithoutTeamNestedInput - reports?: ReportUncheckedUpdateManyWithoutTeamNestedInput - activityLogs?: ActivityLogUncheckedUpdateManyWithoutTeamNestedInput + export type VideoParticipantMaxOrderByAggregateInput = { + id?: SortOrder + sessionId?: SortOrder + userId?: SortOrder + joinedAt?: SortOrder + leftAt?: SortOrder + role?: SortOrder + connectionQuality?: SortOrder + hasVideo?: SortOrder + hasAudio?: SortOrder } - export type TeamCreateManyInput = { - id?: string - name: string - description?: string | null - createdBy: string - organizationId: string - departmentId?: string | null - createdAt?: Date | string - updatedAt?: Date | string - deletedAt?: Date | string | null - avatar?: string | null + export type VideoParticipantMinOrderByAggregateInput = { + id?: SortOrder + sessionId?: SortOrder + userId?: SortOrder + joinedAt?: SortOrder + leftAt?: SortOrder + role?: SortOrder + connectionQuality?: SortOrder + hasVideo?: SortOrder + hasAudio?: SortOrder } - export type TeamUpdateManyMutationInput = { - id?: StringFieldUpdateOperationsInput | string - name?: StringFieldUpdateOperationsInput | string - description?: NullableStringFieldUpdateOperationsInput | string | null - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string - deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - avatar?: NullableStringFieldUpdateOperationsInput | string | null + export type EnumVideoParticipantRoleWithAggregatesFilter<$PrismaModel = never> = { + equals?: $Enums.VideoParticipantRole | EnumVideoParticipantRoleFieldRefInput<$PrismaModel> + in?: $Enums.VideoParticipantRole[] | ListEnumVideoParticipantRoleFieldRefInput<$PrismaModel> + notIn?: $Enums.VideoParticipantRole[] | ListEnumVideoParticipantRoleFieldRefInput<$PrismaModel> + not?: NestedEnumVideoParticipantRoleWithAggregatesFilter<$PrismaModel> | $Enums.VideoParticipantRole + _count?: NestedIntFilter<$PrismaModel> + _min?: NestedEnumVideoParticipantRoleFilter<$PrismaModel> + _max?: NestedEnumVideoParticipantRoleFilter<$PrismaModel> } - export type TeamUncheckedUpdateManyInput = { - id?: StringFieldUpdateOperationsInput | string - name?: StringFieldUpdateOperationsInput | string - description?: NullableStringFieldUpdateOperationsInput | string | null - createdBy?: StringFieldUpdateOperationsInput | string - organizationId?: StringFieldUpdateOperationsInput | string - departmentId?: NullableStringFieldUpdateOperationsInput | string | null - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string - deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - avatar?: NullableStringFieldUpdateOperationsInput | string | null + export type EnumProcessingStatusFilter<$PrismaModel = never> = { + equals?: $Enums.ProcessingStatus | EnumProcessingStatusFieldRefInput<$PrismaModel> + in?: $Enums.ProcessingStatus[] | ListEnumProcessingStatusFieldRefInput<$PrismaModel> + notIn?: $Enums.ProcessingStatus[] | ListEnumProcessingStatusFieldRefInput<$PrismaModel> + not?: NestedEnumProcessingStatusFilter<$PrismaModel> | $Enums.ProcessingStatus } - export type TeamMemberCreateInput = { - id?: string - role: $Enums.TeamMemberRole - joinedAt?: Date | string - isActive?: boolean - deletedAt?: Date | string | null - team: TeamCreateNestedOneWithoutMembersInput - user: UserCreateNestedOneWithoutTeamMembershipsInput + export type EnumRecordingVisibilityFilter<$PrismaModel = never> = { + equals?: $Enums.RecordingVisibility | EnumRecordingVisibilityFieldRefInput<$PrismaModel> + in?: $Enums.RecordingVisibility[] | ListEnumRecordingVisibilityFieldRefInput<$PrismaModel> + notIn?: $Enums.RecordingVisibility[] | ListEnumRecordingVisibilityFieldRefInput<$PrismaModel> + not?: NestedEnumRecordingVisibilityFilter<$PrismaModel> | $Enums.RecordingVisibility } - export type TeamMemberUncheckedCreateInput = { - id?: string - teamId: string - userId: string - role: $Enums.TeamMemberRole - joinedAt?: Date | string - isActive?: boolean - deletedAt?: Date | string | null + export type VideoRecordingCountOrderByAggregateInput = { + id?: SortOrder + sessionId?: SortOrder + fileName?: SortOrder + fileSize?: SortOrder + duration?: SortOrder + recordedBy?: SortOrder + startTime?: SortOrder + endTime?: SortOrder + storageProvider?: SortOrder + storageKey?: SortOrder + processingStatus?: SortOrder + visibility?: SortOrder + createdAt?: SortOrder } - export type TeamMemberUpdateInput = { - id?: StringFieldUpdateOperationsInput | string - role?: EnumTeamMemberRoleFieldUpdateOperationsInput | $Enums.TeamMemberRole - joinedAt?: DateTimeFieldUpdateOperationsInput | Date | string - isActive?: BoolFieldUpdateOperationsInput | boolean - deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - team?: TeamUpdateOneRequiredWithoutMembersNestedInput - user?: UserUpdateOneRequiredWithoutTeamMembershipsNestedInput + export type VideoRecordingAvgOrderByAggregateInput = { + fileSize?: SortOrder + duration?: SortOrder } - export type TeamMemberUncheckedUpdateInput = { - id?: StringFieldUpdateOperationsInput | string - teamId?: StringFieldUpdateOperationsInput | string - userId?: StringFieldUpdateOperationsInput | string - role?: EnumTeamMemberRoleFieldUpdateOperationsInput | $Enums.TeamMemberRole - joinedAt?: DateTimeFieldUpdateOperationsInput | Date | string - isActive?: BoolFieldUpdateOperationsInput | boolean - deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + export type VideoRecordingMaxOrderByAggregateInput = { + id?: SortOrder + sessionId?: SortOrder + fileName?: SortOrder + fileSize?: SortOrder + duration?: SortOrder + recordedBy?: SortOrder + startTime?: SortOrder + endTime?: SortOrder + storageProvider?: SortOrder + storageKey?: SortOrder + processingStatus?: SortOrder + visibility?: SortOrder + createdAt?: SortOrder } - export type TeamMemberCreateManyInput = { - id?: string - teamId: string - userId: string - role: $Enums.TeamMemberRole - joinedAt?: Date | string - isActive?: boolean - deletedAt?: Date | string | null + export type VideoRecordingMinOrderByAggregateInput = { + id?: SortOrder + sessionId?: SortOrder + fileName?: SortOrder + fileSize?: SortOrder + duration?: SortOrder + recordedBy?: SortOrder + startTime?: SortOrder + endTime?: SortOrder + storageProvider?: SortOrder + storageKey?: SortOrder + processingStatus?: SortOrder + visibility?: SortOrder + createdAt?: SortOrder } - export type TeamMemberUpdateManyMutationInput = { - id?: StringFieldUpdateOperationsInput | string - role?: EnumTeamMemberRoleFieldUpdateOperationsInput | $Enums.TeamMemberRole - joinedAt?: DateTimeFieldUpdateOperationsInput | Date | string - isActive?: BoolFieldUpdateOperationsInput | boolean - deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + export type VideoRecordingSumOrderByAggregateInput = { + fileSize?: SortOrder + duration?: SortOrder } - export type TeamMemberUncheckedUpdateManyInput = { - id?: StringFieldUpdateOperationsInput | string - teamId?: StringFieldUpdateOperationsInput | string - userId?: StringFieldUpdateOperationsInput | string - role?: EnumTeamMemberRoleFieldUpdateOperationsInput | $Enums.TeamMemberRole - joinedAt?: DateTimeFieldUpdateOperationsInput | Date | string - isActive?: BoolFieldUpdateOperationsInput | boolean - deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + export type EnumProcessingStatusWithAggregatesFilter<$PrismaModel = never> = { + equals?: $Enums.ProcessingStatus | EnumProcessingStatusFieldRefInput<$PrismaModel> + in?: $Enums.ProcessingStatus[] | ListEnumProcessingStatusFieldRefInput<$PrismaModel> + notIn?: $Enums.ProcessingStatus[] | ListEnumProcessingStatusFieldRefInput<$PrismaModel> + not?: NestedEnumProcessingStatusWithAggregatesFilter<$PrismaModel> | $Enums.ProcessingStatus + _count?: NestedIntFilter<$PrismaModel> + _min?: NestedEnumProcessingStatusFilter<$PrismaModel> + _max?: NestedEnumProcessingStatusFilter<$PrismaModel> } - export type ProjectCreateInput = { - id?: string - name: string - description?: string | null - status: string - startDate: Date | string - endDate: Date | string - createdAt?: Date | string - updatedAt?: Date | string - deletedAt?: Date | string | null - priority?: $Enums.TaskPriority - progress?: number | null - budget?: number | null - creator: UserCreateNestedOneWithoutCreatedProjectsInput - modifier?: UserCreateNestedOneWithoutModifiedProjectsInput - organization: OrganizationCreateNestedOneWithoutProjectsInput - team: TeamCreateNestedOneWithoutProjectsInput - sprints?: SprintCreateNestedManyWithoutProjectInput - tasks?: TaskCreateNestedManyWithoutProjectInput - reports?: ReportCreateNestedManyWithoutProjectInput - activityLogs?: ActivityLogCreateNestedManyWithoutProjectInput - ProjectMember?: ProjectMemberCreateNestedManyWithoutProjectInput + export type EnumRecordingVisibilityWithAggregatesFilter<$PrismaModel = never> = { + equals?: $Enums.RecordingVisibility | EnumRecordingVisibilityFieldRefInput<$PrismaModel> + in?: $Enums.RecordingVisibility[] | ListEnumRecordingVisibilityFieldRefInput<$PrismaModel> + notIn?: $Enums.RecordingVisibility[] | ListEnumRecordingVisibilityFieldRefInput<$PrismaModel> + not?: NestedEnumRecordingVisibilityWithAggregatesFilter<$PrismaModel> | $Enums.RecordingVisibility + _count?: NestedIntFilter<$PrismaModel> + _min?: NestedEnumRecordingVisibilityFilter<$PrismaModel> + _max?: NestedEnumRecordingVisibilityFilter<$PrismaModel> } - export type ProjectUncheckedCreateInput = { - id?: string - name: string - description?: string | null - status: string - createdBy: string - organizationId: string - teamId: string - startDate: Date | string - endDate: Date | string - createdAt?: Date | string - updatedAt?: Date | string - deletedAt?: Date | string | null - priority?: $Enums.TaskPriority - progress?: number | null - budget?: number | null - lastModifiedBy?: string | null - sprints?: SprintUncheckedCreateNestedManyWithoutProjectInput - tasks?: TaskUncheckedCreateNestedManyWithoutProjectInput - reports?: ReportUncheckedCreateNestedManyWithoutProjectInput - activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutProjectInput - ProjectMember?: ProjectMemberUncheckedCreateNestedManyWithoutProjectInput + export type DepartmentCreateNestedOneWithoutUsersInput = { + create?: XOR + connectOrCreate?: DepartmentCreateOrConnectWithoutUsersInput + connect?: DepartmentWhereUniqueInput } - export type ProjectUpdateInput = { - id?: StringFieldUpdateOperationsInput | string - name?: StringFieldUpdateOperationsInput | string - description?: NullableStringFieldUpdateOperationsInput | string | null - status?: StringFieldUpdateOperationsInput | string - startDate?: DateTimeFieldUpdateOperationsInput | Date | string - endDate?: DateTimeFieldUpdateOperationsInput | Date | string - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string - deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - priority?: EnumTaskPriorityFieldUpdateOperationsInput | $Enums.TaskPriority - progress?: NullableFloatFieldUpdateOperationsInput | number | null - budget?: NullableFloatFieldUpdateOperationsInput | number | null - creator?: UserUpdateOneRequiredWithoutCreatedProjectsNestedInput - modifier?: UserUpdateOneWithoutModifiedProjectsNestedInput - organization?: OrganizationUpdateOneRequiredWithoutProjectsNestedInput - team?: TeamUpdateOneRequiredWithoutProjectsNestedInput - sprints?: SprintUpdateManyWithoutProjectNestedInput - tasks?: TaskUpdateManyWithoutProjectNestedInput - reports?: ReportUpdateManyWithoutProjectNestedInput - activityLogs?: ActivityLogUpdateManyWithoutProjectNestedInput - ProjectMember?: ProjectMemberUpdateManyWithoutProjectNestedInput + export type OrganizationCreateNestedOneWithoutUsersInput = { + create?: XOR + connectOrCreate?: OrganizationCreateOrConnectWithoutUsersInput + connect?: OrganizationWhereUniqueInput } - export type ProjectUncheckedUpdateInput = { - id?: StringFieldUpdateOperationsInput | string - name?: StringFieldUpdateOperationsInput | string - description?: NullableStringFieldUpdateOperationsInput | string | null - status?: StringFieldUpdateOperationsInput | string - createdBy?: StringFieldUpdateOperationsInput | string - organizationId?: StringFieldUpdateOperationsInput | string - teamId?: StringFieldUpdateOperationsInput | string - startDate?: DateTimeFieldUpdateOperationsInput | Date | string - endDate?: DateTimeFieldUpdateOperationsInput | Date | string - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string - deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - priority?: EnumTaskPriorityFieldUpdateOperationsInput | $Enums.TaskPriority - progress?: NullableFloatFieldUpdateOperationsInput | number | null - budget?: NullableFloatFieldUpdateOperationsInput | number | null - lastModifiedBy?: NullableStringFieldUpdateOperationsInput | string | null - sprints?: SprintUncheckedUpdateManyWithoutProjectNestedInput - tasks?: TaskUncheckedUpdateManyWithoutProjectNestedInput - reports?: ReportUncheckedUpdateManyWithoutProjectNestedInput - activityLogs?: ActivityLogUncheckedUpdateManyWithoutProjectNestedInput - ProjectMember?: ProjectMemberUncheckedUpdateManyWithoutProjectNestedInput + export type OrganizationCreateNestedManyWithoutCreatorInput = { + create?: XOR | OrganizationCreateWithoutCreatorInput[] | OrganizationUncheckedCreateWithoutCreatorInput[] + connectOrCreate?: OrganizationCreateOrConnectWithoutCreatorInput | OrganizationCreateOrConnectWithoutCreatorInput[] + createMany?: OrganizationCreateManyCreatorInputEnvelope + connect?: OrganizationWhereUniqueInput | OrganizationWhereUniqueInput[] } - export type ProjectCreateManyInput = { - id?: string - name: string - description?: string | null - status: string - createdBy: string - organizationId: string - teamId: string - startDate: Date | string - endDate: Date | string - createdAt?: Date | string - updatedAt?: Date | string - deletedAt?: Date | string | null - priority?: $Enums.TaskPriority - progress?: number | null - budget?: number | null - lastModifiedBy?: string | null + export type OrganizationOwnerCreateNestedManyWithoutUserInput = { + create?: XOR | OrganizationOwnerCreateWithoutUserInput[] | OrganizationOwnerUncheckedCreateWithoutUserInput[] + connectOrCreate?: OrganizationOwnerCreateOrConnectWithoutUserInput | OrganizationOwnerCreateOrConnectWithoutUserInput[] + createMany?: OrganizationOwnerCreateManyUserInputEnvelope + connect?: OrganizationOwnerWhereUniqueInput | OrganizationOwnerWhereUniqueInput[] + } + + export type DepartmentCreateNestedManyWithoutManagerInput = { + create?: XOR | DepartmentCreateWithoutManagerInput[] | DepartmentUncheckedCreateWithoutManagerInput[] + connectOrCreate?: DepartmentCreateOrConnectWithoutManagerInput | DepartmentCreateOrConnectWithoutManagerInput[] + createMany?: DepartmentCreateManyManagerInputEnvelope + connect?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[] } - export type ProjectUpdateManyMutationInput = { - id?: StringFieldUpdateOperationsInput | string - name?: StringFieldUpdateOperationsInput | string - description?: NullableStringFieldUpdateOperationsInput | string | null - status?: StringFieldUpdateOperationsInput | string - startDate?: DateTimeFieldUpdateOperationsInput | Date | string - endDate?: DateTimeFieldUpdateOperationsInput | Date | string - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string - deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - priority?: EnumTaskPriorityFieldUpdateOperationsInput | $Enums.TaskPriority - progress?: NullableFloatFieldUpdateOperationsInput | number | null - budget?: NullableFloatFieldUpdateOperationsInput | number | null + export type TeamCreateNestedManyWithoutCreatorInput = { + create?: XOR | TeamCreateWithoutCreatorInput[] | TeamUncheckedCreateWithoutCreatorInput[] + connectOrCreate?: TeamCreateOrConnectWithoutCreatorInput | TeamCreateOrConnectWithoutCreatorInput[] + createMany?: TeamCreateManyCreatorInputEnvelope + connect?: TeamWhereUniqueInput | TeamWhereUniqueInput[] } - export type ProjectUncheckedUpdateManyInput = { - id?: StringFieldUpdateOperationsInput | string - name?: StringFieldUpdateOperationsInput | string - description?: NullableStringFieldUpdateOperationsInput | string | null - status?: StringFieldUpdateOperationsInput | string - createdBy?: StringFieldUpdateOperationsInput | string - organizationId?: StringFieldUpdateOperationsInput | string - teamId?: StringFieldUpdateOperationsInput | string - startDate?: DateTimeFieldUpdateOperationsInput | Date | string - endDate?: DateTimeFieldUpdateOperationsInput | Date | string - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string - deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - priority?: EnumTaskPriorityFieldUpdateOperationsInput | $Enums.TaskPriority - progress?: NullableFloatFieldUpdateOperationsInput | number | null - budget?: NullableFloatFieldUpdateOperationsInput | number | null - lastModifiedBy?: NullableStringFieldUpdateOperationsInput | string | null + export type TeamMemberCreateNestedManyWithoutUserInput = { + create?: XOR | TeamMemberCreateWithoutUserInput[] | TeamMemberUncheckedCreateWithoutUserInput[] + connectOrCreate?: TeamMemberCreateOrConnectWithoutUserInput | TeamMemberCreateOrConnectWithoutUserInput[] + createMany?: TeamMemberCreateManyUserInputEnvelope + connect?: TeamMemberWhereUniqueInput | TeamMemberWhereUniqueInput[] } - export type ProjectMemberCreateInput = { - id?: string - role: string - isActive?: boolean - joinedAt?: Date | string - leftAt?: Date | string | null - deletedAt?: Date | string | null - project: ProjectCreateNestedOneWithoutProjectMemberInput - user: UserCreateNestedOneWithoutProjectMembershipsInput + export type ProjectMemberCreateNestedManyWithoutUserInput = { + create?: XOR | ProjectMemberCreateWithoutUserInput[] | ProjectMemberUncheckedCreateWithoutUserInput[] + connectOrCreate?: ProjectMemberCreateOrConnectWithoutUserInput | ProjectMemberCreateOrConnectWithoutUserInput[] + createMany?: ProjectMemberCreateManyUserInputEnvelope + connect?: ProjectMemberWhereUniqueInput | ProjectMemberWhereUniqueInput[] } - export type ProjectMemberUncheckedCreateInput = { - id?: string - projectId: string - userId: string - role: string - isActive?: boolean - joinedAt?: Date | string - leftAt?: Date | string | null - deletedAt?: Date | string | null + export type ProjectCreateNestedManyWithoutCreatorInput = { + create?: XOR | ProjectCreateWithoutCreatorInput[] | ProjectUncheckedCreateWithoutCreatorInput[] + connectOrCreate?: ProjectCreateOrConnectWithoutCreatorInput | ProjectCreateOrConnectWithoutCreatorInput[] + createMany?: ProjectCreateManyCreatorInputEnvelope + connect?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] } - export type ProjectMemberUpdateInput = { - id?: StringFieldUpdateOperationsInput | string - role?: StringFieldUpdateOperationsInput | string - isActive?: BoolFieldUpdateOperationsInput | boolean - joinedAt?: DateTimeFieldUpdateOperationsInput | Date | string - leftAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - project?: ProjectUpdateOneRequiredWithoutProjectMemberNestedInput - user?: UserUpdateOneRequiredWithoutProjectMembershipsNestedInput + export type ProjectCreateNestedManyWithoutModifierInput = { + create?: XOR | ProjectCreateWithoutModifierInput[] | ProjectUncheckedCreateWithoutModifierInput[] + connectOrCreate?: ProjectCreateOrConnectWithoutModifierInput | ProjectCreateOrConnectWithoutModifierInput[] + createMany?: ProjectCreateManyModifierInputEnvelope + connect?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] } - export type ProjectMemberUncheckedUpdateInput = { - id?: StringFieldUpdateOperationsInput | string - projectId?: StringFieldUpdateOperationsInput | string - userId?: StringFieldUpdateOperationsInput | string - role?: StringFieldUpdateOperationsInput | string - isActive?: BoolFieldUpdateOperationsInput | boolean - joinedAt?: DateTimeFieldUpdateOperationsInput | Date | string - leftAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + export type TaskCreateNestedManyWithoutCreatorInput = { + create?: XOR | TaskCreateWithoutCreatorInput[] | TaskUncheckedCreateWithoutCreatorInput[] + connectOrCreate?: TaskCreateOrConnectWithoutCreatorInput | TaskCreateOrConnectWithoutCreatorInput[] + createMany?: TaskCreateManyCreatorInputEnvelope + connect?: TaskWhereUniqueInput | TaskWhereUniqueInput[] } - export type ProjectMemberCreateManyInput = { - id?: string - projectId: string - userId: string - role: string - isActive?: boolean - joinedAt?: Date | string - leftAt?: Date | string | null - deletedAt?: Date | string | null + export type TaskCreateNestedManyWithoutAssigneeInput = { + create?: XOR | TaskCreateWithoutAssigneeInput[] | TaskUncheckedCreateWithoutAssigneeInput[] + connectOrCreate?: TaskCreateOrConnectWithoutAssigneeInput | TaskCreateOrConnectWithoutAssigneeInput[] + createMany?: TaskCreateManyAssigneeInputEnvelope + connect?: TaskWhereUniqueInput | TaskWhereUniqueInput[] } - export type ProjectMemberUpdateManyMutationInput = { - id?: StringFieldUpdateOperationsInput | string - role?: StringFieldUpdateOperationsInput | string - isActive?: BoolFieldUpdateOperationsInput | boolean - joinedAt?: DateTimeFieldUpdateOperationsInput | Date | string - leftAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + export type TaskCreateNestedManyWithoutModifierInput = { + create?: XOR | TaskCreateWithoutModifierInput[] | TaskUncheckedCreateWithoutModifierInput[] + connectOrCreate?: TaskCreateOrConnectWithoutModifierInput | TaskCreateOrConnectWithoutModifierInput[] + createMany?: TaskCreateManyModifierInputEnvelope + connect?: TaskWhereUniqueInput | TaskWhereUniqueInput[] } - export type ProjectMemberUncheckedUpdateManyInput = { - id?: StringFieldUpdateOperationsInput | string - projectId?: StringFieldUpdateOperationsInput | string - userId?: StringFieldUpdateOperationsInput | string - role?: StringFieldUpdateOperationsInput | string - isActive?: BoolFieldUpdateOperationsInput | boolean - joinedAt?: DateTimeFieldUpdateOperationsInput | Date | string - leftAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + export type NotificationCreateNestedManyWithoutUserInput = { + create?: XOR | NotificationCreateWithoutUserInput[] | NotificationUncheckedCreateWithoutUserInput[] + connectOrCreate?: NotificationCreateOrConnectWithoutUserInput | NotificationCreateOrConnectWithoutUserInput[] + createMany?: NotificationCreateManyUserInputEnvelope + connect?: NotificationWhereUniqueInput | NotificationWhereUniqueInput[] } - export type SprintCreateInput = { - id?: string - name: string - description?: string | null - startDate: Date | string - endDate: Date | string - status: string - goal?: string | null - order?: number - project: ProjectCreateNestedOneWithoutSprintsInput - tasks?: TaskCreateNestedManyWithoutSprintInput - activityLogs?: ActivityLogCreateNestedManyWithoutSprintInput + export type TimelogCreateNestedManyWithoutUserInput = { + create?: XOR | TimelogCreateWithoutUserInput[] | TimelogUncheckedCreateWithoutUserInput[] + connectOrCreate?: TimelogCreateOrConnectWithoutUserInput | TimelogCreateOrConnectWithoutUserInput[] + createMany?: TimelogCreateManyUserInputEnvelope + connect?: TimelogWhereUniqueInput | TimelogWhereUniqueInput[] } - export type SprintUncheckedCreateInput = { - id?: string - projectId: string - name: string - description?: string | null - startDate: Date | string - endDate: Date | string - status: string - goal?: string | null - order?: number - tasks?: TaskUncheckedCreateNestedManyWithoutSprintInput - activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutSprintInput + export type CommentCreateNestedManyWithoutUserInput = { + create?: XOR | CommentCreateWithoutUserInput[] | CommentUncheckedCreateWithoutUserInput[] + connectOrCreate?: CommentCreateOrConnectWithoutUserInput | CommentCreateOrConnectWithoutUserInput[] + createMany?: CommentCreateManyUserInputEnvelope + connect?: CommentWhereUniqueInput | CommentWhereUniqueInput[] } - export type SprintUpdateInput = { - id?: StringFieldUpdateOperationsInput | string - name?: StringFieldUpdateOperationsInput | string - description?: NullableStringFieldUpdateOperationsInput | string | null - startDate?: DateTimeFieldUpdateOperationsInput | Date | string - endDate?: DateTimeFieldUpdateOperationsInput | Date | string - status?: StringFieldUpdateOperationsInput | string - goal?: NullableStringFieldUpdateOperationsInput | string | null - order?: IntFieldUpdateOperationsInput | number - project?: ProjectUpdateOneRequiredWithoutSprintsNestedInput - tasks?: TaskUpdateManyWithoutSprintNestedInput - activityLogs?: ActivityLogUpdateManyWithoutSprintNestedInput + export type TaskAttachmentCreateNestedManyWithoutUploaderInput = { + create?: XOR | TaskAttachmentCreateWithoutUploaderInput[] | TaskAttachmentUncheckedCreateWithoutUploaderInput[] + connectOrCreate?: TaskAttachmentCreateOrConnectWithoutUploaderInput | TaskAttachmentCreateOrConnectWithoutUploaderInput[] + createMany?: TaskAttachmentCreateManyUploaderInputEnvelope + connect?: TaskAttachmentWhereUniqueInput | TaskAttachmentWhereUniqueInput[] } - export type SprintUncheckedUpdateInput = { - id?: StringFieldUpdateOperationsInput | string - projectId?: StringFieldUpdateOperationsInput | string - name?: StringFieldUpdateOperationsInput | string - description?: NullableStringFieldUpdateOperationsInput | string | null - startDate?: DateTimeFieldUpdateOperationsInput | Date | string - endDate?: DateTimeFieldUpdateOperationsInput | Date | string - status?: StringFieldUpdateOperationsInput | string - goal?: NullableStringFieldUpdateOperationsInput | string | null - order?: IntFieldUpdateOperationsInput | number - tasks?: TaskUncheckedUpdateManyWithoutSprintNestedInput - activityLogs?: ActivityLogUncheckedUpdateManyWithoutSprintNestedInput + export type ReportCreateNestedManyWithoutGeneratorInput = { + create?: XOR | ReportCreateWithoutGeneratorInput[] | ReportUncheckedCreateWithoutGeneratorInput[] + connectOrCreate?: ReportCreateOrConnectWithoutGeneratorInput | ReportCreateOrConnectWithoutGeneratorInput[] + createMany?: ReportCreateManyGeneratorInputEnvelope + connect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] } - export type SprintCreateManyInput = { - id?: string - projectId: string - name: string - description?: string | null - startDate: Date | string - endDate: Date | string - status: string - goal?: string | null - order?: number + export type ReportCreateNestedManyWithoutUserInput = { + create?: XOR | ReportCreateWithoutUserInput[] | ReportUncheckedCreateWithoutUserInput[] + connectOrCreate?: ReportCreateOrConnectWithoutUserInput | ReportCreateOrConnectWithoutUserInput[] + createMany?: ReportCreateManyUserInputEnvelope + connect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] } - export type SprintUpdateManyMutationInput = { - id?: StringFieldUpdateOperationsInput | string - name?: StringFieldUpdateOperationsInput | string - description?: NullableStringFieldUpdateOperationsInput | string | null - startDate?: DateTimeFieldUpdateOperationsInput | Date | string - endDate?: DateTimeFieldUpdateOperationsInput | Date | string - status?: StringFieldUpdateOperationsInput | string - goal?: NullableStringFieldUpdateOperationsInput | string | null - order?: IntFieldUpdateOperationsInput | number + export type PermissionCreateNestedManyWithoutUserInput = { + create?: XOR | PermissionCreateWithoutUserInput[] | PermissionUncheckedCreateWithoutUserInput[] + connectOrCreate?: PermissionCreateOrConnectWithoutUserInput | PermissionCreateOrConnectWithoutUserInput[] + createMany?: PermissionCreateManyUserInputEnvelope + connect?: PermissionWhereUniqueInput | PermissionWhereUniqueInput[] } - export type SprintUncheckedUpdateManyInput = { - id?: StringFieldUpdateOperationsInput | string - projectId?: StringFieldUpdateOperationsInput | string - name?: StringFieldUpdateOperationsInput | string - description?: NullableStringFieldUpdateOperationsInput | string | null - startDate?: DateTimeFieldUpdateOperationsInput | Date | string - endDate?: DateTimeFieldUpdateOperationsInput | Date | string - status?: StringFieldUpdateOperationsInput | string - goal?: NullableStringFieldUpdateOperationsInput | string | null - order?: IntFieldUpdateOperationsInput | number + export type ActivityLogCreateNestedManyWithoutUserInput = { + create?: XOR | ActivityLogCreateWithoutUserInput[] | ActivityLogUncheckedCreateWithoutUserInput[] + connectOrCreate?: ActivityLogCreateOrConnectWithoutUserInput | ActivityLogCreateOrConnectWithoutUserInput[] + createMany?: ActivityLogCreateManyUserInputEnvelope + connect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] } - export type TaskCreateInput = { - id?: string - title: string - description?: string | null - priority: $Enums.TaskPriority - status: $Enums.TaskStatus - rate?: number | null - dueDate: Date | string - createdAt?: Date | string - updatedAt?: Date | string - deletedAt?: Date | string | null - estimatedTime?: number | null - actualTime?: number | null - order?: number - labels?: TaskCreatelabelsInput | string[] - project: ProjectCreateNestedOneWithoutTasksInput - sprint?: SprintCreateNestedOneWithoutTasksInput - creator: UserCreateNestedOneWithoutCreatedTasksInput - assignee?: UserCreateNestedOneWithoutAssignedTasksInput - modifier?: UserCreateNestedOneWithoutModifiedTasksInput - attachments?: TaskAttachmentCreateNestedManyWithoutTaskInput - comments?: CommentCreateNestedManyWithoutTaskInput - timelogs?: TimelogCreateNestedManyWithoutTaskInput - dependencies?: TaskDependencyCreateNestedManyWithoutDependentTaskInput - dependentOn?: TaskDependencyCreateNestedManyWithoutTaskInput - parent?: TaskCreateNestedOneWithoutSubtasksInput - subtasks?: TaskCreateNestedManyWithoutParentInput - activityLogs?: ActivityLogCreateNestedManyWithoutTaskInput + export type ReportNotificationCreateNestedManyWithoutUserInput = { + create?: XOR | ReportNotificationCreateWithoutUserInput[] | ReportNotificationUncheckedCreateWithoutUserInput[] + connectOrCreate?: ReportNotificationCreateOrConnectWithoutUserInput | ReportNotificationCreateOrConnectWithoutUserInput[] + createMany?: ReportNotificationCreateManyUserInputEnvelope + connect?: ReportNotificationWhereUniqueInput | ReportNotificationWhereUniqueInput[] } - export type TaskUncheckedCreateInput = { - id?: string - title: string - description?: string | null - priority: $Enums.TaskPriority - status: $Enums.TaskStatus - rate?: number | null - projectId: string - sprintId?: string | null - createdBy: string - assignedTo?: string | null - dueDate: Date | string - createdAt?: Date | string - updatedAt?: Date | string - deletedAt?: Date | string | null - estimatedTime?: number | null - actualTime?: number | null - parentId?: string | null - order?: number - labels?: TaskCreatelabelsInput | string[] - lastModifiedBy?: string | null - attachments?: TaskAttachmentUncheckedCreateNestedManyWithoutTaskInput - comments?: CommentUncheckedCreateNestedManyWithoutTaskInput - timelogs?: TimelogUncheckedCreateNestedManyWithoutTaskInput - dependencies?: TaskDependencyUncheckedCreateNestedManyWithoutDependentTaskInput - dependentOn?: TaskDependencyUncheckedCreateNestedManyWithoutTaskInput - subtasks?: TaskUncheckedCreateNestedManyWithoutParentInput - activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutTaskInput + export type ChatParticipantCreateNestedManyWithoutUserInput = { + create?: XOR | ChatParticipantCreateWithoutUserInput[] | ChatParticipantUncheckedCreateWithoutUserInput[] + connectOrCreate?: ChatParticipantCreateOrConnectWithoutUserInput | ChatParticipantCreateOrConnectWithoutUserInput[] + createMany?: ChatParticipantCreateManyUserInputEnvelope + connect?: ChatParticipantWhereUniqueInput | ChatParticipantWhereUniqueInput[] } - export type TaskUpdateInput = { - id?: StringFieldUpdateOperationsInput | string - title?: StringFieldUpdateOperationsInput | string - description?: NullableStringFieldUpdateOperationsInput | string | null - priority?: EnumTaskPriorityFieldUpdateOperationsInput | $Enums.TaskPriority - status?: EnumTaskStatusFieldUpdateOperationsInput | $Enums.TaskStatus - rate?: NullableFloatFieldUpdateOperationsInput | number | null - dueDate?: DateTimeFieldUpdateOperationsInput | Date | string - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string - deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - estimatedTime?: NullableFloatFieldUpdateOperationsInput | number | null - actualTime?: NullableFloatFieldUpdateOperationsInput | number | null - order?: IntFieldUpdateOperationsInput | number - labels?: TaskUpdatelabelsInput | string[] - project?: ProjectUpdateOneRequiredWithoutTasksNestedInput - sprint?: SprintUpdateOneWithoutTasksNestedInput - creator?: UserUpdateOneRequiredWithoutCreatedTasksNestedInput - assignee?: UserUpdateOneWithoutAssignedTasksNestedInput - modifier?: UserUpdateOneWithoutModifiedTasksNestedInput - attachments?: TaskAttachmentUpdateManyWithoutTaskNestedInput - comments?: CommentUpdateManyWithoutTaskNestedInput - timelogs?: TimelogUpdateManyWithoutTaskNestedInput - dependencies?: TaskDependencyUpdateManyWithoutDependentTaskNestedInput - dependentOn?: TaskDependencyUpdateManyWithoutTaskNestedInput - parent?: TaskUpdateOneWithoutSubtasksNestedInput - subtasks?: TaskUpdateManyWithoutParentNestedInput - activityLogs?: ActivityLogUpdateManyWithoutTaskNestedInput + export type ChatMessageCreateNestedManyWithoutSenderInput = { + create?: XOR | ChatMessageCreateWithoutSenderInput[] | ChatMessageUncheckedCreateWithoutSenderInput[] + connectOrCreate?: ChatMessageCreateOrConnectWithoutSenderInput | ChatMessageCreateOrConnectWithoutSenderInput[] + createMany?: ChatMessageCreateManySenderInputEnvelope + connect?: ChatMessageWhereUniqueInput | ChatMessageWhereUniqueInput[] } - export type TaskUncheckedUpdateInput = { - id?: StringFieldUpdateOperationsInput | string - title?: StringFieldUpdateOperationsInput | string - description?: NullableStringFieldUpdateOperationsInput | string | null - priority?: EnumTaskPriorityFieldUpdateOperationsInput | $Enums.TaskPriority - status?: EnumTaskStatusFieldUpdateOperationsInput | $Enums.TaskStatus - rate?: NullableFloatFieldUpdateOperationsInput | number | null - projectId?: StringFieldUpdateOperationsInput | string - sprintId?: NullableStringFieldUpdateOperationsInput | string | null - createdBy?: StringFieldUpdateOperationsInput | string - assignedTo?: NullableStringFieldUpdateOperationsInput | string | null - dueDate?: DateTimeFieldUpdateOperationsInput | Date | string - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string - deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - estimatedTime?: NullableFloatFieldUpdateOperationsInput | number | null - actualTime?: NullableFloatFieldUpdateOperationsInput | number | null - parentId?: NullableStringFieldUpdateOperationsInput | string | null - order?: IntFieldUpdateOperationsInput | number - labels?: TaskUpdatelabelsInput | string[] - lastModifiedBy?: NullableStringFieldUpdateOperationsInput | string | null - attachments?: TaskAttachmentUncheckedUpdateManyWithoutTaskNestedInput - comments?: CommentUncheckedUpdateManyWithoutTaskNestedInput - timelogs?: TimelogUncheckedUpdateManyWithoutTaskNestedInput - dependencies?: TaskDependencyUncheckedUpdateManyWithoutDependentTaskNestedInput - dependentOn?: TaskDependencyUncheckedUpdateManyWithoutTaskNestedInput - subtasks?: TaskUncheckedUpdateManyWithoutParentNestedInput - activityLogs?: ActivityLogUncheckedUpdateManyWithoutTaskNestedInput + export type MessageReactionCreateNestedManyWithoutUserInput = { + create?: XOR | MessageReactionCreateWithoutUserInput[] | MessageReactionUncheckedCreateWithoutUserInput[] + connectOrCreate?: MessageReactionCreateOrConnectWithoutUserInput | MessageReactionCreateOrConnectWithoutUserInput[] + createMany?: MessageReactionCreateManyUserInputEnvelope + connect?: MessageReactionWhereUniqueInput | MessageReactionWhereUniqueInput[] } - export type TaskCreateManyInput = { - id?: string - title: string - description?: string | null - priority: $Enums.TaskPriority - status: $Enums.TaskStatus - rate?: number | null - projectId: string - sprintId?: string | null - createdBy: string - assignedTo?: string | null - dueDate: Date | string - createdAt?: Date | string - updatedAt?: Date | string - deletedAt?: Date | string | null - estimatedTime?: number | null - actualTime?: number | null - parentId?: string | null - order?: number - labels?: TaskCreatelabelsInput | string[] - lastModifiedBy?: string | null + export type PinnedMessageCreateNestedManyWithoutUserInput = { + create?: XOR | PinnedMessageCreateWithoutUserInput[] | PinnedMessageUncheckedCreateWithoutUserInput[] + connectOrCreate?: PinnedMessageCreateOrConnectWithoutUserInput | PinnedMessageCreateOrConnectWithoutUserInput[] + createMany?: PinnedMessageCreateManyUserInputEnvelope + connect?: PinnedMessageWhereUniqueInput | PinnedMessageWhereUniqueInput[] } - export type TaskUpdateManyMutationInput = { - id?: StringFieldUpdateOperationsInput | string - title?: StringFieldUpdateOperationsInput | string - description?: NullableStringFieldUpdateOperationsInput | string | null - priority?: EnumTaskPriorityFieldUpdateOperationsInput | $Enums.TaskPriority - status?: EnumTaskStatusFieldUpdateOperationsInput | $Enums.TaskStatus - rate?: NullableFloatFieldUpdateOperationsInput | number | null - dueDate?: DateTimeFieldUpdateOperationsInput | Date | string - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string - deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - estimatedTime?: NullableFloatFieldUpdateOperationsInput | number | null - actualTime?: NullableFloatFieldUpdateOperationsInput | number | null - order?: IntFieldUpdateOperationsInput | number - labels?: TaskUpdatelabelsInput | string[] + export type VideoConferenceSessionCreateNestedManyWithoutHostInput = { + create?: XOR | VideoConferenceSessionCreateWithoutHostInput[] | VideoConferenceSessionUncheckedCreateWithoutHostInput[] + connectOrCreate?: VideoConferenceSessionCreateOrConnectWithoutHostInput | VideoConferenceSessionCreateOrConnectWithoutHostInput[] + createMany?: VideoConferenceSessionCreateManyHostInputEnvelope + connect?: VideoConferenceSessionWhereUniqueInput | VideoConferenceSessionWhereUniqueInput[] } - export type TaskUncheckedUpdateManyInput = { - id?: StringFieldUpdateOperationsInput | string - title?: StringFieldUpdateOperationsInput | string - description?: NullableStringFieldUpdateOperationsInput | string | null - priority?: EnumTaskPriorityFieldUpdateOperationsInput | $Enums.TaskPriority - status?: EnumTaskStatusFieldUpdateOperationsInput | $Enums.TaskStatus - rate?: NullableFloatFieldUpdateOperationsInput | number | null - projectId?: StringFieldUpdateOperationsInput | string - sprintId?: NullableStringFieldUpdateOperationsInput | string | null - createdBy?: StringFieldUpdateOperationsInput | string - assignedTo?: NullableStringFieldUpdateOperationsInput | string | null - dueDate?: DateTimeFieldUpdateOperationsInput | Date | string - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string - deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - estimatedTime?: NullableFloatFieldUpdateOperationsInput | number | null - actualTime?: NullableFloatFieldUpdateOperationsInput | number | null - parentId?: NullableStringFieldUpdateOperationsInput | string | null - order?: IntFieldUpdateOperationsInput | number - labels?: TaskUpdatelabelsInput | string[] - lastModifiedBy?: NullableStringFieldUpdateOperationsInput | string | null + export type VideoParticipantCreateNestedManyWithoutUserInput = { + create?: XOR | VideoParticipantCreateWithoutUserInput[] | VideoParticipantUncheckedCreateWithoutUserInput[] + connectOrCreate?: VideoParticipantCreateOrConnectWithoutUserInput | VideoParticipantCreateOrConnectWithoutUserInput[] + createMany?: VideoParticipantCreateManyUserInputEnvelope + connect?: VideoParticipantWhereUniqueInput | VideoParticipantWhereUniqueInput[] } - export type TaskAttachmentCreateInput = { - id?: string - fileName: string - fileType: string - filePath: string - fileSize: number - createdAt?: Date | string - storageProvider?: string | null - storageKey: string - task: TaskCreateNestedOneWithoutAttachmentsInput - uploader: UserCreateNestedOneWithoutTaskAttachmentsInput + export type VideoRecordingCreateNestedManyWithoutRecorderInput = { + create?: XOR | VideoRecordingCreateWithoutRecorderInput[] | VideoRecordingUncheckedCreateWithoutRecorderInput[] + connectOrCreate?: VideoRecordingCreateOrConnectWithoutRecorderInput | VideoRecordingCreateOrConnectWithoutRecorderInput[] + createMany?: VideoRecordingCreateManyRecorderInputEnvelope + connect?: VideoRecordingWhereUniqueInput | VideoRecordingWhereUniqueInput[] } - export type TaskAttachmentUncheckedCreateInput = { - id?: string - taskId: string - fileName: string - fileType: string - filePath: string - fileSize: number - uploadedBy: string - createdAt?: Date | string - storageProvider?: string | null - storageKey: string + export type OrganizationUncheckedCreateNestedManyWithoutCreatorInput = { + create?: XOR | OrganizationCreateWithoutCreatorInput[] | OrganizationUncheckedCreateWithoutCreatorInput[] + connectOrCreate?: OrganizationCreateOrConnectWithoutCreatorInput | OrganizationCreateOrConnectWithoutCreatorInput[] + createMany?: OrganizationCreateManyCreatorInputEnvelope + connect?: OrganizationWhereUniqueInput | OrganizationWhereUniqueInput[] } - export type TaskAttachmentUpdateInput = { - id?: StringFieldUpdateOperationsInput | string - fileName?: StringFieldUpdateOperationsInput | string - fileType?: StringFieldUpdateOperationsInput | string - filePath?: StringFieldUpdateOperationsInput | string - fileSize?: IntFieldUpdateOperationsInput | number - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - storageProvider?: NullableStringFieldUpdateOperationsInput | string | null - storageKey?: StringFieldUpdateOperationsInput | string - task?: TaskUpdateOneRequiredWithoutAttachmentsNestedInput - uploader?: UserUpdateOneRequiredWithoutTaskAttachmentsNestedInput + export type OrganizationOwnerUncheckedCreateNestedManyWithoutUserInput = { + create?: XOR | OrganizationOwnerCreateWithoutUserInput[] | OrganizationOwnerUncheckedCreateWithoutUserInput[] + connectOrCreate?: OrganizationOwnerCreateOrConnectWithoutUserInput | OrganizationOwnerCreateOrConnectWithoutUserInput[] + createMany?: OrganizationOwnerCreateManyUserInputEnvelope + connect?: OrganizationOwnerWhereUniqueInput | OrganizationOwnerWhereUniqueInput[] } - export type TaskAttachmentUncheckedUpdateInput = { - id?: StringFieldUpdateOperationsInput | string - taskId?: StringFieldUpdateOperationsInput | string - fileName?: StringFieldUpdateOperationsInput | string - fileType?: StringFieldUpdateOperationsInput | string - filePath?: StringFieldUpdateOperationsInput | string - fileSize?: IntFieldUpdateOperationsInput | number - uploadedBy?: StringFieldUpdateOperationsInput | string - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - storageProvider?: NullableStringFieldUpdateOperationsInput | string | null - storageKey?: StringFieldUpdateOperationsInput | string + export type DepartmentUncheckedCreateNestedManyWithoutManagerInput = { + create?: XOR | DepartmentCreateWithoutManagerInput[] | DepartmentUncheckedCreateWithoutManagerInput[] + connectOrCreate?: DepartmentCreateOrConnectWithoutManagerInput | DepartmentCreateOrConnectWithoutManagerInput[] + createMany?: DepartmentCreateManyManagerInputEnvelope + connect?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[] } - export type TaskAttachmentCreateManyInput = { - id?: string - taskId: string - fileName: string - fileType: string - filePath: string - fileSize: number - uploadedBy: string - createdAt?: Date | string - storageProvider?: string | null - storageKey: string + export type TeamUncheckedCreateNestedManyWithoutCreatorInput = { + create?: XOR | TeamCreateWithoutCreatorInput[] | TeamUncheckedCreateWithoutCreatorInput[] + connectOrCreate?: TeamCreateOrConnectWithoutCreatorInput | TeamCreateOrConnectWithoutCreatorInput[] + createMany?: TeamCreateManyCreatorInputEnvelope + connect?: TeamWhereUniqueInput | TeamWhereUniqueInput[] + } + + export type TeamMemberUncheckedCreateNestedManyWithoutUserInput = { + create?: XOR | TeamMemberCreateWithoutUserInput[] | TeamMemberUncheckedCreateWithoutUserInput[] + connectOrCreate?: TeamMemberCreateOrConnectWithoutUserInput | TeamMemberCreateOrConnectWithoutUserInput[] + createMany?: TeamMemberCreateManyUserInputEnvelope + connect?: TeamMemberWhereUniqueInput | TeamMemberWhereUniqueInput[] + } + + export type ProjectMemberUncheckedCreateNestedManyWithoutUserInput = { + create?: XOR | ProjectMemberCreateWithoutUserInput[] | ProjectMemberUncheckedCreateWithoutUserInput[] + connectOrCreate?: ProjectMemberCreateOrConnectWithoutUserInput | ProjectMemberCreateOrConnectWithoutUserInput[] + createMany?: ProjectMemberCreateManyUserInputEnvelope + connect?: ProjectMemberWhereUniqueInput | ProjectMemberWhereUniqueInput[] } - export type TaskAttachmentUpdateManyMutationInput = { - id?: StringFieldUpdateOperationsInput | string - fileName?: StringFieldUpdateOperationsInput | string - fileType?: StringFieldUpdateOperationsInput | string - filePath?: StringFieldUpdateOperationsInput | string - fileSize?: IntFieldUpdateOperationsInput | number - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - storageProvider?: NullableStringFieldUpdateOperationsInput | string | null - storageKey?: StringFieldUpdateOperationsInput | string + export type ProjectUncheckedCreateNestedManyWithoutCreatorInput = { + create?: XOR | ProjectCreateWithoutCreatorInput[] | ProjectUncheckedCreateWithoutCreatorInput[] + connectOrCreate?: ProjectCreateOrConnectWithoutCreatorInput | ProjectCreateOrConnectWithoutCreatorInput[] + createMany?: ProjectCreateManyCreatorInputEnvelope + connect?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] } - export type TaskAttachmentUncheckedUpdateManyInput = { - id?: StringFieldUpdateOperationsInput | string - taskId?: StringFieldUpdateOperationsInput | string - fileName?: StringFieldUpdateOperationsInput | string - fileType?: StringFieldUpdateOperationsInput | string - filePath?: StringFieldUpdateOperationsInput | string - fileSize?: IntFieldUpdateOperationsInput | number - uploadedBy?: StringFieldUpdateOperationsInput | string - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - storageProvider?: NullableStringFieldUpdateOperationsInput | string | null - storageKey?: StringFieldUpdateOperationsInput | string + export type ProjectUncheckedCreateNestedManyWithoutModifierInput = { + create?: XOR | ProjectCreateWithoutModifierInput[] | ProjectUncheckedCreateWithoutModifierInput[] + connectOrCreate?: ProjectCreateOrConnectWithoutModifierInput | ProjectCreateOrConnectWithoutModifierInput[] + createMany?: ProjectCreateManyModifierInputEnvelope + connect?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] } - export type TaskDependencyCreateInput = { - id?: string - dependencyType: $Enums.DependencyType - description?: string | null - task: TaskCreateNestedOneWithoutDependentOnInput - dependentTask: TaskCreateNestedOneWithoutDependenciesInput + export type TaskUncheckedCreateNestedManyWithoutCreatorInput = { + create?: XOR | TaskCreateWithoutCreatorInput[] | TaskUncheckedCreateWithoutCreatorInput[] + connectOrCreate?: TaskCreateOrConnectWithoutCreatorInput | TaskCreateOrConnectWithoutCreatorInput[] + createMany?: TaskCreateManyCreatorInputEnvelope + connect?: TaskWhereUniqueInput | TaskWhereUniqueInput[] } - export type TaskDependencyUncheckedCreateInput = { - id?: string - taskId: string - dependentTaskId: string - dependencyType: $Enums.DependencyType - description?: string | null + export type TaskUncheckedCreateNestedManyWithoutAssigneeInput = { + create?: XOR | TaskCreateWithoutAssigneeInput[] | TaskUncheckedCreateWithoutAssigneeInput[] + connectOrCreate?: TaskCreateOrConnectWithoutAssigneeInput | TaskCreateOrConnectWithoutAssigneeInput[] + createMany?: TaskCreateManyAssigneeInputEnvelope + connect?: TaskWhereUniqueInput | TaskWhereUniqueInput[] } - export type TaskDependencyUpdateInput = { - id?: StringFieldUpdateOperationsInput | string - dependencyType?: EnumDependencyTypeFieldUpdateOperationsInput | $Enums.DependencyType - description?: NullableStringFieldUpdateOperationsInput | string | null - task?: TaskUpdateOneRequiredWithoutDependentOnNestedInput - dependentTask?: TaskUpdateOneRequiredWithoutDependenciesNestedInput + export type TaskUncheckedCreateNestedManyWithoutModifierInput = { + create?: XOR | TaskCreateWithoutModifierInput[] | TaskUncheckedCreateWithoutModifierInput[] + connectOrCreate?: TaskCreateOrConnectWithoutModifierInput | TaskCreateOrConnectWithoutModifierInput[] + createMany?: TaskCreateManyModifierInputEnvelope + connect?: TaskWhereUniqueInput | TaskWhereUniqueInput[] } - export type TaskDependencyUncheckedUpdateInput = { - id?: StringFieldUpdateOperationsInput | string - taskId?: StringFieldUpdateOperationsInput | string - dependentTaskId?: StringFieldUpdateOperationsInput | string - dependencyType?: EnumDependencyTypeFieldUpdateOperationsInput | $Enums.DependencyType - description?: NullableStringFieldUpdateOperationsInput | string | null + export type NotificationUncheckedCreateNestedManyWithoutUserInput = { + create?: XOR | NotificationCreateWithoutUserInput[] | NotificationUncheckedCreateWithoutUserInput[] + connectOrCreate?: NotificationCreateOrConnectWithoutUserInput | NotificationCreateOrConnectWithoutUserInput[] + createMany?: NotificationCreateManyUserInputEnvelope + connect?: NotificationWhereUniqueInput | NotificationWhereUniqueInput[] } - export type TaskDependencyCreateManyInput = { - id?: string - taskId: string - dependentTaskId: string - dependencyType: $Enums.DependencyType - description?: string | null + export type TimelogUncheckedCreateNestedManyWithoutUserInput = { + create?: XOR | TimelogCreateWithoutUserInput[] | TimelogUncheckedCreateWithoutUserInput[] + connectOrCreate?: TimelogCreateOrConnectWithoutUserInput | TimelogCreateOrConnectWithoutUserInput[] + createMany?: TimelogCreateManyUserInputEnvelope + connect?: TimelogWhereUniqueInput | TimelogWhereUniqueInput[] } - export type TaskDependencyUpdateManyMutationInput = { - id?: StringFieldUpdateOperationsInput | string - dependencyType?: EnumDependencyTypeFieldUpdateOperationsInput | $Enums.DependencyType - description?: NullableStringFieldUpdateOperationsInput | string | null + export type CommentUncheckedCreateNestedManyWithoutUserInput = { + create?: XOR | CommentCreateWithoutUserInput[] | CommentUncheckedCreateWithoutUserInput[] + connectOrCreate?: CommentCreateOrConnectWithoutUserInput | CommentCreateOrConnectWithoutUserInput[] + createMany?: CommentCreateManyUserInputEnvelope + connect?: CommentWhereUniqueInput | CommentWhereUniqueInput[] } - export type TaskDependencyUncheckedUpdateManyInput = { - id?: StringFieldUpdateOperationsInput | string - taskId?: StringFieldUpdateOperationsInput | string - dependentTaskId?: StringFieldUpdateOperationsInput | string - dependencyType?: EnumDependencyTypeFieldUpdateOperationsInput | $Enums.DependencyType - description?: NullableStringFieldUpdateOperationsInput | string | null + export type TaskAttachmentUncheckedCreateNestedManyWithoutUploaderInput = { + create?: XOR | TaskAttachmentCreateWithoutUploaderInput[] | TaskAttachmentUncheckedCreateWithoutUploaderInput[] + connectOrCreate?: TaskAttachmentCreateOrConnectWithoutUploaderInput | TaskAttachmentCreateOrConnectWithoutUploaderInput[] + createMany?: TaskAttachmentCreateManyUploaderInputEnvelope + connect?: TaskAttachmentWhereUniqueInput | TaskAttachmentWhereUniqueInput[] } - export type TaskTemplateCreateInput = { - id?: string - name: string - description?: string | null - priority: $Enums.TaskPriority - estimatedTime?: number | null - createdBy: string - createdAt?: Date | string - updatedAt?: Date | string - checklist?: NullableJsonNullValueInput | InputJsonValue - labels?: TaskTemplateCreatelabelsInput | string[] - isPublic?: boolean - organization: OrganizationCreateNestedOneWithoutTemplatesInput + export type ReportUncheckedCreateNestedManyWithoutGeneratorInput = { + create?: XOR | ReportCreateWithoutGeneratorInput[] | ReportUncheckedCreateWithoutGeneratorInput[] + connectOrCreate?: ReportCreateOrConnectWithoutGeneratorInput | ReportCreateOrConnectWithoutGeneratorInput[] + createMany?: ReportCreateManyGeneratorInputEnvelope + connect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] } - export type TaskTemplateUncheckedCreateInput = { - id?: string - name: string - description?: string | null - priority: $Enums.TaskPriority - estimatedTime?: number | null - organizationId: string - createdBy: string - createdAt?: Date | string - updatedAt?: Date | string - checklist?: NullableJsonNullValueInput | InputJsonValue - labels?: TaskTemplateCreatelabelsInput | string[] - isPublic?: boolean + export type ReportUncheckedCreateNestedManyWithoutUserInput = { + create?: XOR | ReportCreateWithoutUserInput[] | ReportUncheckedCreateWithoutUserInput[] + connectOrCreate?: ReportCreateOrConnectWithoutUserInput | ReportCreateOrConnectWithoutUserInput[] + createMany?: ReportCreateManyUserInputEnvelope + connect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] } - export type TaskTemplateUpdateInput = { - id?: StringFieldUpdateOperationsInput | string - name?: StringFieldUpdateOperationsInput | string - description?: NullableStringFieldUpdateOperationsInput | string | null - priority?: EnumTaskPriorityFieldUpdateOperationsInput | $Enums.TaskPriority - estimatedTime?: NullableFloatFieldUpdateOperationsInput | number | null - createdBy?: StringFieldUpdateOperationsInput | string - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string - checklist?: NullableJsonNullValueInput | InputJsonValue - labels?: TaskTemplateUpdatelabelsInput | string[] - isPublic?: BoolFieldUpdateOperationsInput | boolean - organization?: OrganizationUpdateOneRequiredWithoutTemplatesNestedInput + export type PermissionUncheckedCreateNestedManyWithoutUserInput = { + create?: XOR | PermissionCreateWithoutUserInput[] | PermissionUncheckedCreateWithoutUserInput[] + connectOrCreate?: PermissionCreateOrConnectWithoutUserInput | PermissionCreateOrConnectWithoutUserInput[] + createMany?: PermissionCreateManyUserInputEnvelope + connect?: PermissionWhereUniqueInput | PermissionWhereUniqueInput[] } - export type TaskTemplateUncheckedUpdateInput = { - id?: StringFieldUpdateOperationsInput | string - name?: StringFieldUpdateOperationsInput | string - description?: NullableStringFieldUpdateOperationsInput | string | null - priority?: EnumTaskPriorityFieldUpdateOperationsInput | $Enums.TaskPriority - estimatedTime?: NullableFloatFieldUpdateOperationsInput | number | null - organizationId?: StringFieldUpdateOperationsInput | string - createdBy?: StringFieldUpdateOperationsInput | string - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string - checklist?: NullableJsonNullValueInput | InputJsonValue - labels?: TaskTemplateUpdatelabelsInput | string[] - isPublic?: BoolFieldUpdateOperationsInput | boolean + export type ActivityLogUncheckedCreateNestedManyWithoutUserInput = { + create?: XOR | ActivityLogCreateWithoutUserInput[] | ActivityLogUncheckedCreateWithoutUserInput[] + connectOrCreate?: ActivityLogCreateOrConnectWithoutUserInput | ActivityLogCreateOrConnectWithoutUserInput[] + createMany?: ActivityLogCreateManyUserInputEnvelope + connect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] } - export type TaskTemplateCreateManyInput = { - id?: string - name: string - description?: string | null - priority: $Enums.TaskPriority - estimatedTime?: number | null - organizationId: string - createdBy: string - createdAt?: Date | string - updatedAt?: Date | string - checklist?: NullableJsonNullValueInput | InputJsonValue - labels?: TaskTemplateCreatelabelsInput | string[] - isPublic?: boolean + export type ReportNotificationUncheckedCreateNestedManyWithoutUserInput = { + create?: XOR | ReportNotificationCreateWithoutUserInput[] | ReportNotificationUncheckedCreateWithoutUserInput[] + connectOrCreate?: ReportNotificationCreateOrConnectWithoutUserInput | ReportNotificationCreateOrConnectWithoutUserInput[] + createMany?: ReportNotificationCreateManyUserInputEnvelope + connect?: ReportNotificationWhereUniqueInput | ReportNotificationWhereUniqueInput[] } - export type TaskTemplateUpdateManyMutationInput = { - id?: StringFieldUpdateOperationsInput | string - name?: StringFieldUpdateOperationsInput | string - description?: NullableStringFieldUpdateOperationsInput | string | null - priority?: EnumTaskPriorityFieldUpdateOperationsInput | $Enums.TaskPriority - estimatedTime?: NullableFloatFieldUpdateOperationsInput | number | null - createdBy?: StringFieldUpdateOperationsInput | string - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string - checklist?: NullableJsonNullValueInput | InputJsonValue - labels?: TaskTemplateUpdatelabelsInput | string[] - isPublic?: BoolFieldUpdateOperationsInput | boolean + export type ChatParticipantUncheckedCreateNestedManyWithoutUserInput = { + create?: XOR | ChatParticipantCreateWithoutUserInput[] | ChatParticipantUncheckedCreateWithoutUserInput[] + connectOrCreate?: ChatParticipantCreateOrConnectWithoutUserInput | ChatParticipantCreateOrConnectWithoutUserInput[] + createMany?: ChatParticipantCreateManyUserInputEnvelope + connect?: ChatParticipantWhereUniqueInput | ChatParticipantWhereUniqueInput[] } - export type TaskTemplateUncheckedUpdateManyInput = { - id?: StringFieldUpdateOperationsInput | string - name?: StringFieldUpdateOperationsInput | string - description?: NullableStringFieldUpdateOperationsInput | string | null - priority?: EnumTaskPriorityFieldUpdateOperationsInput | $Enums.TaskPriority - estimatedTime?: NullableFloatFieldUpdateOperationsInput | number | null - organizationId?: StringFieldUpdateOperationsInput | string - createdBy?: StringFieldUpdateOperationsInput | string - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string - checklist?: NullableJsonNullValueInput | InputJsonValue - labels?: TaskTemplateUpdatelabelsInput | string[] - isPublic?: BoolFieldUpdateOperationsInput | boolean + export type ChatMessageUncheckedCreateNestedManyWithoutSenderInput = { + create?: XOR | ChatMessageCreateWithoutSenderInput[] | ChatMessageUncheckedCreateWithoutSenderInput[] + connectOrCreate?: ChatMessageCreateOrConnectWithoutSenderInput | ChatMessageCreateOrConnectWithoutSenderInput[] + createMany?: ChatMessageCreateManySenderInputEnvelope + connect?: ChatMessageWhereUniqueInput | ChatMessageWhereUniqueInput[] } - export type TimelogCreateInput = { - id?: string - startTime: Date | string - endTime: Date | string - description?: string | null - task: TaskCreateNestedOneWithoutTimelogsInput - user: UserCreateNestedOneWithoutTimelogsInput + export type MessageReactionUncheckedCreateNestedManyWithoutUserInput = { + create?: XOR | MessageReactionCreateWithoutUserInput[] | MessageReactionUncheckedCreateWithoutUserInput[] + connectOrCreate?: MessageReactionCreateOrConnectWithoutUserInput | MessageReactionCreateOrConnectWithoutUserInput[] + createMany?: MessageReactionCreateManyUserInputEnvelope + connect?: MessageReactionWhereUniqueInput | MessageReactionWhereUniqueInput[] } - export type TimelogUncheckedCreateInput = { - id?: string - taskId: string - userId: string - startTime: Date | string - endTime: Date | string - description?: string | null + export type PinnedMessageUncheckedCreateNestedManyWithoutUserInput = { + create?: XOR | PinnedMessageCreateWithoutUserInput[] | PinnedMessageUncheckedCreateWithoutUserInput[] + connectOrCreate?: PinnedMessageCreateOrConnectWithoutUserInput | PinnedMessageCreateOrConnectWithoutUserInput[] + createMany?: PinnedMessageCreateManyUserInputEnvelope + connect?: PinnedMessageWhereUniqueInput | PinnedMessageWhereUniqueInput[] } - export type TimelogUpdateInput = { - id?: StringFieldUpdateOperationsInput | string - startTime?: DateTimeFieldUpdateOperationsInput | Date | string - endTime?: DateTimeFieldUpdateOperationsInput | Date | string - description?: NullableStringFieldUpdateOperationsInput | string | null - task?: TaskUpdateOneRequiredWithoutTimelogsNestedInput - user?: UserUpdateOneRequiredWithoutTimelogsNestedInput + export type VideoConferenceSessionUncheckedCreateNestedManyWithoutHostInput = { + create?: XOR | VideoConferenceSessionCreateWithoutHostInput[] | VideoConferenceSessionUncheckedCreateWithoutHostInput[] + connectOrCreate?: VideoConferenceSessionCreateOrConnectWithoutHostInput | VideoConferenceSessionCreateOrConnectWithoutHostInput[] + createMany?: VideoConferenceSessionCreateManyHostInputEnvelope + connect?: VideoConferenceSessionWhereUniqueInput | VideoConferenceSessionWhereUniqueInput[] } - export type TimelogUncheckedUpdateInput = { - id?: StringFieldUpdateOperationsInput | string - taskId?: StringFieldUpdateOperationsInput | string - userId?: StringFieldUpdateOperationsInput | string - startTime?: DateTimeFieldUpdateOperationsInput | Date | string - endTime?: DateTimeFieldUpdateOperationsInput | Date | string - description?: NullableStringFieldUpdateOperationsInput | string | null + export type VideoParticipantUncheckedCreateNestedManyWithoutUserInput = { + create?: XOR | VideoParticipantCreateWithoutUserInput[] | VideoParticipantUncheckedCreateWithoutUserInput[] + connectOrCreate?: VideoParticipantCreateOrConnectWithoutUserInput | VideoParticipantCreateOrConnectWithoutUserInput[] + createMany?: VideoParticipantCreateManyUserInputEnvelope + connect?: VideoParticipantWhereUniqueInput | VideoParticipantWhereUniqueInput[] } - export type TimelogCreateManyInput = { - id?: string - taskId: string - userId: string - startTime: Date | string - endTime: Date | string - description?: string | null + export type VideoRecordingUncheckedCreateNestedManyWithoutRecorderInput = { + create?: XOR | VideoRecordingCreateWithoutRecorderInput[] | VideoRecordingUncheckedCreateWithoutRecorderInput[] + connectOrCreate?: VideoRecordingCreateOrConnectWithoutRecorderInput | VideoRecordingCreateOrConnectWithoutRecorderInput[] + createMany?: VideoRecordingCreateManyRecorderInputEnvelope + connect?: VideoRecordingWhereUniqueInput | VideoRecordingWhereUniqueInput[] } - export type TimelogUpdateManyMutationInput = { - id?: StringFieldUpdateOperationsInput | string - startTime?: DateTimeFieldUpdateOperationsInput | Date | string - endTime?: DateTimeFieldUpdateOperationsInput | Date | string - description?: NullableStringFieldUpdateOperationsInput | string | null + export type StringFieldUpdateOperationsInput = { + set?: string } - export type TimelogUncheckedUpdateManyInput = { - id?: StringFieldUpdateOperationsInput | string - taskId?: StringFieldUpdateOperationsInput | string - userId?: StringFieldUpdateOperationsInput | string - startTime?: DateTimeFieldUpdateOperationsInput | Date | string - endTime?: DateTimeFieldUpdateOperationsInput | Date | string - description?: NullableStringFieldUpdateOperationsInput | string | null + export type NullableStringFieldUpdateOperationsInput = { + set?: string | null } - export type CommentCreateInput = { - id?: string - content: string - createdAt?: Date | string - updatedAt?: Date | string - task: TaskCreateNestedOneWithoutCommentsInput - user: UserCreateNestedOneWithoutCommentsInput + export type EnumUserRoleFieldUpdateOperationsInput = { + set?: $Enums.UserRole } - export type CommentUncheckedCreateInput = { - id?: string - taskId: string - userId: string - content: string - createdAt?: Date | string - updatedAt?: Date | string + export type BoolFieldUpdateOperationsInput = { + set?: boolean } - export type CommentUpdateInput = { - id?: StringFieldUpdateOperationsInput | string - content?: StringFieldUpdateOperationsInput | string - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string - task?: TaskUpdateOneRequiredWithoutCommentsNestedInput - user?: UserUpdateOneRequiredWithoutCommentsNestedInput + export type DateTimeFieldUpdateOperationsInput = { + set?: Date | string } - export type CommentUncheckedUpdateInput = { - id?: StringFieldUpdateOperationsInput | string - taskId?: StringFieldUpdateOperationsInput | string - userId?: StringFieldUpdateOperationsInput | string - content?: StringFieldUpdateOperationsInput | string - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + export type NullableDateTimeFieldUpdateOperationsInput = { + set?: Date | string | null } - export type CommentCreateManyInput = { - id?: string - taskId: string - userId: string - content: string - createdAt?: Date | string - updatedAt?: Date | string + export type DepartmentUpdateOneWithoutUsersNestedInput = { + create?: XOR + connectOrCreate?: DepartmentCreateOrConnectWithoutUsersInput + upsert?: DepartmentUpsertWithoutUsersInput + disconnect?: DepartmentWhereInput | boolean + delete?: DepartmentWhereInput | boolean + connect?: DepartmentWhereUniqueInput + update?: XOR, DepartmentUncheckedUpdateWithoutUsersInput> } - export type CommentUpdateManyMutationInput = { - id?: StringFieldUpdateOperationsInput | string - content?: StringFieldUpdateOperationsInput | string - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + export type OrganizationUpdateOneWithoutUsersNestedInput = { + create?: XOR + connectOrCreate?: OrganizationCreateOrConnectWithoutUsersInput + upsert?: OrganizationUpsertWithoutUsersInput + disconnect?: OrganizationWhereInput | boolean + delete?: OrganizationWhereInput | boolean + connect?: OrganizationWhereUniqueInput + update?: XOR, OrganizationUncheckedUpdateWithoutUsersInput> } - export type CommentUncheckedUpdateManyInput = { - id?: StringFieldUpdateOperationsInput | string - taskId?: StringFieldUpdateOperationsInput | string - userId?: StringFieldUpdateOperationsInput | string - content?: StringFieldUpdateOperationsInput | string - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + export type OrganizationUpdateManyWithoutCreatorNestedInput = { + create?: XOR | OrganizationCreateWithoutCreatorInput[] | OrganizationUncheckedCreateWithoutCreatorInput[] + connectOrCreate?: OrganizationCreateOrConnectWithoutCreatorInput | OrganizationCreateOrConnectWithoutCreatorInput[] + upsert?: OrganizationUpsertWithWhereUniqueWithoutCreatorInput | OrganizationUpsertWithWhereUniqueWithoutCreatorInput[] + createMany?: OrganizationCreateManyCreatorInputEnvelope + set?: OrganizationWhereUniqueInput | OrganizationWhereUniqueInput[] + disconnect?: OrganizationWhereUniqueInput | OrganizationWhereUniqueInput[] + delete?: OrganizationWhereUniqueInput | OrganizationWhereUniqueInput[] + connect?: OrganizationWhereUniqueInput | OrganizationWhereUniqueInput[] + update?: OrganizationUpdateWithWhereUniqueWithoutCreatorInput | OrganizationUpdateWithWhereUniqueWithoutCreatorInput[] + updateMany?: OrganizationUpdateManyWithWhereWithoutCreatorInput | OrganizationUpdateManyWithWhereWithoutCreatorInput[] + deleteMany?: OrganizationScalarWhereInput | OrganizationScalarWhereInput[] } - export type ActivityLogCreateInput = { - id?: string - entityType: $Enums.EntityType - action: $Enums.ActionType - details?: NullableJsonNullValueInput | InputJsonValue - createdAt?: Date | string - user: UserCreateNestedOneWithoutActivityLogsInput - organization?: OrganizationCreateNestedOneWithoutActivityLogsInput - department?: DepartmentCreateNestedOneWithoutActivityLogsInput - project?: ProjectCreateNestedOneWithoutActivityLogsInput - team?: TeamCreateNestedOneWithoutActivityLogsInput - sprint?: SprintCreateNestedOneWithoutActivityLogsInput - task?: TaskCreateNestedOneWithoutActivityLogsInput + export type OrganizationOwnerUpdateManyWithoutUserNestedInput = { + create?: XOR | OrganizationOwnerCreateWithoutUserInput[] | OrganizationOwnerUncheckedCreateWithoutUserInput[] + connectOrCreate?: OrganizationOwnerCreateOrConnectWithoutUserInput | OrganizationOwnerCreateOrConnectWithoutUserInput[] + upsert?: OrganizationOwnerUpsertWithWhereUniqueWithoutUserInput | OrganizationOwnerUpsertWithWhereUniqueWithoutUserInput[] + createMany?: OrganizationOwnerCreateManyUserInputEnvelope + set?: OrganizationOwnerWhereUniqueInput | OrganizationOwnerWhereUniqueInput[] + disconnect?: OrganizationOwnerWhereUniqueInput | OrganizationOwnerWhereUniqueInput[] + delete?: OrganizationOwnerWhereUniqueInput | OrganizationOwnerWhereUniqueInput[] + connect?: OrganizationOwnerWhereUniqueInput | OrganizationOwnerWhereUniqueInput[] + update?: OrganizationOwnerUpdateWithWhereUniqueWithoutUserInput | OrganizationOwnerUpdateWithWhereUniqueWithoutUserInput[] + updateMany?: OrganizationOwnerUpdateManyWithWhereWithoutUserInput | OrganizationOwnerUpdateManyWithWhereWithoutUserInput[] + deleteMany?: OrganizationOwnerScalarWhereInput | OrganizationOwnerScalarWhereInput[] } - export type ActivityLogUncheckedCreateInput = { - id?: string - entityType: $Enums.EntityType - action: $Enums.ActionType - userId: string - organizationId?: string | null - departmentId?: string | null - projectId?: string | null - teamId?: string | null - sprintId?: string | null - taskId: string - details?: NullableJsonNullValueInput | InputJsonValue - createdAt?: Date | string + export type DepartmentUpdateManyWithoutManagerNestedInput = { + create?: XOR | DepartmentCreateWithoutManagerInput[] | DepartmentUncheckedCreateWithoutManagerInput[] + connectOrCreate?: DepartmentCreateOrConnectWithoutManagerInput | DepartmentCreateOrConnectWithoutManagerInput[] + upsert?: DepartmentUpsertWithWhereUniqueWithoutManagerInput | DepartmentUpsertWithWhereUniqueWithoutManagerInput[] + createMany?: DepartmentCreateManyManagerInputEnvelope + set?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[] + disconnect?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[] + delete?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[] + connect?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[] + update?: DepartmentUpdateWithWhereUniqueWithoutManagerInput | DepartmentUpdateWithWhereUniqueWithoutManagerInput[] + updateMany?: DepartmentUpdateManyWithWhereWithoutManagerInput | DepartmentUpdateManyWithWhereWithoutManagerInput[] + deleteMany?: DepartmentScalarWhereInput | DepartmentScalarWhereInput[] } - export type ActivityLogUpdateInput = { - id?: StringFieldUpdateOperationsInput | string - entityType?: EnumEntityTypeFieldUpdateOperationsInput | $Enums.EntityType - action?: EnumActionTypeFieldUpdateOperationsInput | $Enums.ActionType - details?: NullableJsonNullValueInput | InputJsonValue - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - user?: UserUpdateOneRequiredWithoutActivityLogsNestedInput - organization?: OrganizationUpdateOneWithoutActivityLogsNestedInput - department?: DepartmentUpdateOneWithoutActivityLogsNestedInput - project?: ProjectUpdateOneWithoutActivityLogsNestedInput - team?: TeamUpdateOneWithoutActivityLogsNestedInput - sprint?: SprintUpdateOneWithoutActivityLogsNestedInput - task?: TaskUpdateOneWithoutActivityLogsNestedInput + export type TeamUpdateManyWithoutCreatorNestedInput = { + create?: XOR | TeamCreateWithoutCreatorInput[] | TeamUncheckedCreateWithoutCreatorInput[] + connectOrCreate?: TeamCreateOrConnectWithoutCreatorInput | TeamCreateOrConnectWithoutCreatorInput[] + upsert?: TeamUpsertWithWhereUniqueWithoutCreatorInput | TeamUpsertWithWhereUniqueWithoutCreatorInput[] + createMany?: TeamCreateManyCreatorInputEnvelope + set?: TeamWhereUniqueInput | TeamWhereUniqueInput[] + disconnect?: TeamWhereUniqueInput | TeamWhereUniqueInput[] + delete?: TeamWhereUniqueInput | TeamWhereUniqueInput[] + connect?: TeamWhereUniqueInput | TeamWhereUniqueInput[] + update?: TeamUpdateWithWhereUniqueWithoutCreatorInput | TeamUpdateWithWhereUniqueWithoutCreatorInput[] + updateMany?: TeamUpdateManyWithWhereWithoutCreatorInput | TeamUpdateManyWithWhereWithoutCreatorInput[] + deleteMany?: TeamScalarWhereInput | TeamScalarWhereInput[] } - export type ActivityLogUncheckedUpdateInput = { - id?: StringFieldUpdateOperationsInput | string - entityType?: EnumEntityTypeFieldUpdateOperationsInput | $Enums.EntityType - action?: EnumActionTypeFieldUpdateOperationsInput | $Enums.ActionType - userId?: StringFieldUpdateOperationsInput | string - organizationId?: NullableStringFieldUpdateOperationsInput | string | null - departmentId?: NullableStringFieldUpdateOperationsInput | string | null - projectId?: NullableStringFieldUpdateOperationsInput | string | null - teamId?: NullableStringFieldUpdateOperationsInput | string | null - sprintId?: NullableStringFieldUpdateOperationsInput | string | null - taskId?: StringFieldUpdateOperationsInput | string - details?: NullableJsonNullValueInput | InputJsonValue - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + export type TeamMemberUpdateManyWithoutUserNestedInput = { + create?: XOR | TeamMemberCreateWithoutUserInput[] | TeamMemberUncheckedCreateWithoutUserInput[] + connectOrCreate?: TeamMemberCreateOrConnectWithoutUserInput | TeamMemberCreateOrConnectWithoutUserInput[] + upsert?: TeamMemberUpsertWithWhereUniqueWithoutUserInput | TeamMemberUpsertWithWhereUniqueWithoutUserInput[] + createMany?: TeamMemberCreateManyUserInputEnvelope + set?: TeamMemberWhereUniqueInput | TeamMemberWhereUniqueInput[] + disconnect?: TeamMemberWhereUniqueInput | TeamMemberWhereUniqueInput[] + delete?: TeamMemberWhereUniqueInput | TeamMemberWhereUniqueInput[] + connect?: TeamMemberWhereUniqueInput | TeamMemberWhereUniqueInput[] + update?: TeamMemberUpdateWithWhereUniqueWithoutUserInput | TeamMemberUpdateWithWhereUniqueWithoutUserInput[] + updateMany?: TeamMemberUpdateManyWithWhereWithoutUserInput | TeamMemberUpdateManyWithWhereWithoutUserInput[] + deleteMany?: TeamMemberScalarWhereInput | TeamMemberScalarWhereInput[] } - export type ActivityLogCreateManyInput = { - id?: string - entityType: $Enums.EntityType - action: $Enums.ActionType - userId: string - organizationId?: string | null - departmentId?: string | null - projectId?: string | null - teamId?: string | null - sprintId?: string | null - taskId: string - details?: NullableJsonNullValueInput | InputJsonValue - createdAt?: Date | string + export type ProjectMemberUpdateManyWithoutUserNestedInput = { + create?: XOR | ProjectMemberCreateWithoutUserInput[] | ProjectMemberUncheckedCreateWithoutUserInput[] + connectOrCreate?: ProjectMemberCreateOrConnectWithoutUserInput | ProjectMemberCreateOrConnectWithoutUserInput[] + upsert?: ProjectMemberUpsertWithWhereUniqueWithoutUserInput | ProjectMemberUpsertWithWhereUniqueWithoutUserInput[] + createMany?: ProjectMemberCreateManyUserInputEnvelope + set?: ProjectMemberWhereUniqueInput | ProjectMemberWhereUniqueInput[] + disconnect?: ProjectMemberWhereUniqueInput | ProjectMemberWhereUniqueInput[] + delete?: ProjectMemberWhereUniqueInput | ProjectMemberWhereUniqueInput[] + connect?: ProjectMemberWhereUniqueInput | ProjectMemberWhereUniqueInput[] + update?: ProjectMemberUpdateWithWhereUniqueWithoutUserInput | ProjectMemberUpdateWithWhereUniqueWithoutUserInput[] + updateMany?: ProjectMemberUpdateManyWithWhereWithoutUserInput | ProjectMemberUpdateManyWithWhereWithoutUserInput[] + deleteMany?: ProjectMemberScalarWhereInput | ProjectMemberScalarWhereInput[] } - export type ActivityLogUpdateManyMutationInput = { - id?: StringFieldUpdateOperationsInput | string - entityType?: EnumEntityTypeFieldUpdateOperationsInput | $Enums.EntityType - action?: EnumActionTypeFieldUpdateOperationsInput | $Enums.ActionType - details?: NullableJsonNullValueInput | InputJsonValue - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + export type ProjectUpdateManyWithoutCreatorNestedInput = { + create?: XOR | ProjectCreateWithoutCreatorInput[] | ProjectUncheckedCreateWithoutCreatorInput[] + connectOrCreate?: ProjectCreateOrConnectWithoutCreatorInput | ProjectCreateOrConnectWithoutCreatorInput[] + upsert?: ProjectUpsertWithWhereUniqueWithoutCreatorInput | ProjectUpsertWithWhereUniqueWithoutCreatorInput[] + createMany?: ProjectCreateManyCreatorInputEnvelope + set?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] + disconnect?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] + delete?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] + connect?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] + update?: ProjectUpdateWithWhereUniqueWithoutCreatorInput | ProjectUpdateWithWhereUniqueWithoutCreatorInput[] + updateMany?: ProjectUpdateManyWithWhereWithoutCreatorInput | ProjectUpdateManyWithWhereWithoutCreatorInput[] + deleteMany?: ProjectScalarWhereInput | ProjectScalarWhereInput[] + } + + export type ProjectUpdateManyWithoutModifierNestedInput = { + create?: XOR | ProjectCreateWithoutModifierInput[] | ProjectUncheckedCreateWithoutModifierInput[] + connectOrCreate?: ProjectCreateOrConnectWithoutModifierInput | ProjectCreateOrConnectWithoutModifierInput[] + upsert?: ProjectUpsertWithWhereUniqueWithoutModifierInput | ProjectUpsertWithWhereUniqueWithoutModifierInput[] + createMany?: ProjectCreateManyModifierInputEnvelope + set?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] + disconnect?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] + delete?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] + connect?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] + update?: ProjectUpdateWithWhereUniqueWithoutModifierInput | ProjectUpdateWithWhereUniqueWithoutModifierInput[] + updateMany?: ProjectUpdateManyWithWhereWithoutModifierInput | ProjectUpdateManyWithWhereWithoutModifierInput[] + deleteMany?: ProjectScalarWhereInput | ProjectScalarWhereInput[] } - export type ActivityLogUncheckedUpdateManyInput = { - id?: StringFieldUpdateOperationsInput | string - entityType?: EnumEntityTypeFieldUpdateOperationsInput | $Enums.EntityType - action?: EnumActionTypeFieldUpdateOperationsInput | $Enums.ActionType - userId?: StringFieldUpdateOperationsInput | string - organizationId?: NullableStringFieldUpdateOperationsInput | string | null - departmentId?: NullableStringFieldUpdateOperationsInput | string | null - projectId?: NullableStringFieldUpdateOperationsInput | string | null - teamId?: NullableStringFieldUpdateOperationsInput | string | null - sprintId?: NullableStringFieldUpdateOperationsInput | string | null - taskId?: StringFieldUpdateOperationsInput | string - details?: NullableJsonNullValueInput | InputJsonValue - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + export type TaskUpdateManyWithoutCreatorNestedInput = { + create?: XOR | TaskCreateWithoutCreatorInput[] | TaskUncheckedCreateWithoutCreatorInput[] + connectOrCreate?: TaskCreateOrConnectWithoutCreatorInput | TaskCreateOrConnectWithoutCreatorInput[] + upsert?: TaskUpsertWithWhereUniqueWithoutCreatorInput | TaskUpsertWithWhereUniqueWithoutCreatorInput[] + createMany?: TaskCreateManyCreatorInputEnvelope + set?: TaskWhereUniqueInput | TaskWhereUniqueInput[] + disconnect?: TaskWhereUniqueInput | TaskWhereUniqueInput[] + delete?: TaskWhereUniqueInput | TaskWhereUniqueInput[] + connect?: TaskWhereUniqueInput | TaskWhereUniqueInput[] + update?: TaskUpdateWithWhereUniqueWithoutCreatorInput | TaskUpdateWithWhereUniqueWithoutCreatorInput[] + updateMany?: TaskUpdateManyWithWhereWithoutCreatorInput | TaskUpdateManyWithWhereWithoutCreatorInput[] + deleteMany?: TaskScalarWhereInput | TaskScalarWhereInput[] } - export type NotificationCreateInput = { - id?: string - content: string - isRead?: boolean - type: string - metadata?: NullableJsonNullValueInput | InputJsonValue - createdAt?: Date | string - deletedAt?: Date | string | null - entityType?: string | null - entityId?: string | null - user: UserCreateNestedOneWithoutNotificationsInput + export type TaskUpdateManyWithoutAssigneeNestedInput = { + create?: XOR | TaskCreateWithoutAssigneeInput[] | TaskUncheckedCreateWithoutAssigneeInput[] + connectOrCreate?: TaskCreateOrConnectWithoutAssigneeInput | TaskCreateOrConnectWithoutAssigneeInput[] + upsert?: TaskUpsertWithWhereUniqueWithoutAssigneeInput | TaskUpsertWithWhereUniqueWithoutAssigneeInput[] + createMany?: TaskCreateManyAssigneeInputEnvelope + set?: TaskWhereUniqueInput | TaskWhereUniqueInput[] + disconnect?: TaskWhereUniqueInput | TaskWhereUniqueInput[] + delete?: TaskWhereUniqueInput | TaskWhereUniqueInput[] + connect?: TaskWhereUniqueInput | TaskWhereUniqueInput[] + update?: TaskUpdateWithWhereUniqueWithoutAssigneeInput | TaskUpdateWithWhereUniqueWithoutAssigneeInput[] + updateMany?: TaskUpdateManyWithWhereWithoutAssigneeInput | TaskUpdateManyWithWhereWithoutAssigneeInput[] + deleteMany?: TaskScalarWhereInput | TaskScalarWhereInput[] } - export type NotificationUncheckedCreateInput = { - id?: string - userId: string - content: string - isRead?: boolean - type: string - metadata?: NullableJsonNullValueInput | InputJsonValue - createdAt?: Date | string - deletedAt?: Date | string | null - entityType?: string | null - entityId?: string | null + export type TaskUpdateManyWithoutModifierNestedInput = { + create?: XOR | TaskCreateWithoutModifierInput[] | TaskUncheckedCreateWithoutModifierInput[] + connectOrCreate?: TaskCreateOrConnectWithoutModifierInput | TaskCreateOrConnectWithoutModifierInput[] + upsert?: TaskUpsertWithWhereUniqueWithoutModifierInput | TaskUpsertWithWhereUniqueWithoutModifierInput[] + createMany?: TaskCreateManyModifierInputEnvelope + set?: TaskWhereUniqueInput | TaskWhereUniqueInput[] + disconnect?: TaskWhereUniqueInput | TaskWhereUniqueInput[] + delete?: TaskWhereUniqueInput | TaskWhereUniqueInput[] + connect?: TaskWhereUniqueInput | TaskWhereUniqueInput[] + update?: TaskUpdateWithWhereUniqueWithoutModifierInput | TaskUpdateWithWhereUniqueWithoutModifierInput[] + updateMany?: TaskUpdateManyWithWhereWithoutModifierInput | TaskUpdateManyWithWhereWithoutModifierInput[] + deleteMany?: TaskScalarWhereInput | TaskScalarWhereInput[] } - export type NotificationUpdateInput = { - id?: StringFieldUpdateOperationsInput | string - content?: StringFieldUpdateOperationsInput | string - isRead?: BoolFieldUpdateOperationsInput | boolean - type?: StringFieldUpdateOperationsInput | string - metadata?: NullableJsonNullValueInput | InputJsonValue - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - entityType?: NullableStringFieldUpdateOperationsInput | string | null - entityId?: NullableStringFieldUpdateOperationsInput | string | null - user?: UserUpdateOneRequiredWithoutNotificationsNestedInput + export type NotificationUpdateManyWithoutUserNestedInput = { + create?: XOR | NotificationCreateWithoutUserInput[] | NotificationUncheckedCreateWithoutUserInput[] + connectOrCreate?: NotificationCreateOrConnectWithoutUserInput | NotificationCreateOrConnectWithoutUserInput[] + upsert?: NotificationUpsertWithWhereUniqueWithoutUserInput | NotificationUpsertWithWhereUniqueWithoutUserInput[] + createMany?: NotificationCreateManyUserInputEnvelope + set?: NotificationWhereUniqueInput | NotificationWhereUniqueInput[] + disconnect?: NotificationWhereUniqueInput | NotificationWhereUniqueInput[] + delete?: NotificationWhereUniqueInput | NotificationWhereUniqueInput[] + connect?: NotificationWhereUniqueInput | NotificationWhereUniqueInput[] + update?: NotificationUpdateWithWhereUniqueWithoutUserInput | NotificationUpdateWithWhereUniqueWithoutUserInput[] + updateMany?: NotificationUpdateManyWithWhereWithoutUserInput | NotificationUpdateManyWithWhereWithoutUserInput[] + deleteMany?: NotificationScalarWhereInput | NotificationScalarWhereInput[] } - export type NotificationUncheckedUpdateInput = { - id?: StringFieldUpdateOperationsInput | string - userId?: StringFieldUpdateOperationsInput | string - content?: StringFieldUpdateOperationsInput | string - isRead?: BoolFieldUpdateOperationsInput | boolean - type?: StringFieldUpdateOperationsInput | string - metadata?: NullableJsonNullValueInput | InputJsonValue - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - entityType?: NullableStringFieldUpdateOperationsInput | string | null - entityId?: NullableStringFieldUpdateOperationsInput | string | null + export type TimelogUpdateManyWithoutUserNestedInput = { + create?: XOR | TimelogCreateWithoutUserInput[] | TimelogUncheckedCreateWithoutUserInput[] + connectOrCreate?: TimelogCreateOrConnectWithoutUserInput | TimelogCreateOrConnectWithoutUserInput[] + upsert?: TimelogUpsertWithWhereUniqueWithoutUserInput | TimelogUpsertWithWhereUniqueWithoutUserInput[] + createMany?: TimelogCreateManyUserInputEnvelope + set?: TimelogWhereUniqueInput | TimelogWhereUniqueInput[] + disconnect?: TimelogWhereUniqueInput | TimelogWhereUniqueInput[] + delete?: TimelogWhereUniqueInput | TimelogWhereUniqueInput[] + connect?: TimelogWhereUniqueInput | TimelogWhereUniqueInput[] + update?: TimelogUpdateWithWhereUniqueWithoutUserInput | TimelogUpdateWithWhereUniqueWithoutUserInput[] + updateMany?: TimelogUpdateManyWithWhereWithoutUserInput | TimelogUpdateManyWithWhereWithoutUserInput[] + deleteMany?: TimelogScalarWhereInput | TimelogScalarWhereInput[] } - export type NotificationCreateManyInput = { - id?: string - userId: string - content: string - isRead?: boolean - type: string - metadata?: NullableJsonNullValueInput | InputJsonValue - createdAt?: Date | string - deletedAt?: Date | string | null - entityType?: string | null - entityId?: string | null + export type CommentUpdateManyWithoutUserNestedInput = { + create?: XOR | CommentCreateWithoutUserInput[] | CommentUncheckedCreateWithoutUserInput[] + connectOrCreate?: CommentCreateOrConnectWithoutUserInput | CommentCreateOrConnectWithoutUserInput[] + upsert?: CommentUpsertWithWhereUniqueWithoutUserInput | CommentUpsertWithWhereUniqueWithoutUserInput[] + createMany?: CommentCreateManyUserInputEnvelope + set?: CommentWhereUniqueInput | CommentWhereUniqueInput[] + disconnect?: CommentWhereUniqueInput | CommentWhereUniqueInput[] + delete?: CommentWhereUniqueInput | CommentWhereUniqueInput[] + connect?: CommentWhereUniqueInput | CommentWhereUniqueInput[] + update?: CommentUpdateWithWhereUniqueWithoutUserInput | CommentUpdateWithWhereUniqueWithoutUserInput[] + updateMany?: CommentUpdateManyWithWhereWithoutUserInput | CommentUpdateManyWithWhereWithoutUserInput[] + deleteMany?: CommentScalarWhereInput | CommentScalarWhereInput[] } - export type NotificationUpdateManyMutationInput = { - id?: StringFieldUpdateOperationsInput | string - content?: StringFieldUpdateOperationsInput | string - isRead?: BoolFieldUpdateOperationsInput | boolean - type?: StringFieldUpdateOperationsInput | string - metadata?: NullableJsonNullValueInput | InputJsonValue - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - entityType?: NullableStringFieldUpdateOperationsInput | string | null - entityId?: NullableStringFieldUpdateOperationsInput | string | null + export type TaskAttachmentUpdateManyWithoutUploaderNestedInput = { + create?: XOR | TaskAttachmentCreateWithoutUploaderInput[] | TaskAttachmentUncheckedCreateWithoutUploaderInput[] + connectOrCreate?: TaskAttachmentCreateOrConnectWithoutUploaderInput | TaskAttachmentCreateOrConnectWithoutUploaderInput[] + upsert?: TaskAttachmentUpsertWithWhereUniqueWithoutUploaderInput | TaskAttachmentUpsertWithWhereUniqueWithoutUploaderInput[] + createMany?: TaskAttachmentCreateManyUploaderInputEnvelope + set?: TaskAttachmentWhereUniqueInput | TaskAttachmentWhereUniqueInput[] + disconnect?: TaskAttachmentWhereUniqueInput | TaskAttachmentWhereUniqueInput[] + delete?: TaskAttachmentWhereUniqueInput | TaskAttachmentWhereUniqueInput[] + connect?: TaskAttachmentWhereUniqueInput | TaskAttachmentWhereUniqueInput[] + update?: TaskAttachmentUpdateWithWhereUniqueWithoutUploaderInput | TaskAttachmentUpdateWithWhereUniqueWithoutUploaderInput[] + updateMany?: TaskAttachmentUpdateManyWithWhereWithoutUploaderInput | TaskAttachmentUpdateManyWithWhereWithoutUploaderInput[] + deleteMany?: TaskAttachmentScalarWhereInput | TaskAttachmentScalarWhereInput[] } - export type NotificationUncheckedUpdateManyInput = { - id?: StringFieldUpdateOperationsInput | string - userId?: StringFieldUpdateOperationsInput | string - content?: StringFieldUpdateOperationsInput | string - isRead?: BoolFieldUpdateOperationsInput | boolean - type?: StringFieldUpdateOperationsInput | string - metadata?: NullableJsonNullValueInput | InputJsonValue - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - entityType?: NullableStringFieldUpdateOperationsInput | string | null - entityId?: NullableStringFieldUpdateOperationsInput | string | null + export type ReportUpdateManyWithoutGeneratorNestedInput = { + create?: XOR | ReportCreateWithoutGeneratorInput[] | ReportUncheckedCreateWithoutGeneratorInput[] + connectOrCreate?: ReportCreateOrConnectWithoutGeneratorInput | ReportCreateOrConnectWithoutGeneratorInput[] + upsert?: ReportUpsertWithWhereUniqueWithoutGeneratorInput | ReportUpsertWithWhereUniqueWithoutGeneratorInput[] + createMany?: ReportCreateManyGeneratorInputEnvelope + set?: ReportWhereUniqueInput | ReportWhereUniqueInput[] + disconnect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] + delete?: ReportWhereUniqueInput | ReportWhereUniqueInput[] + connect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] + update?: ReportUpdateWithWhereUniqueWithoutGeneratorInput | ReportUpdateWithWhereUniqueWithoutGeneratorInput[] + updateMany?: ReportUpdateManyWithWhereWithoutGeneratorInput | ReportUpdateManyWithWhereWithoutGeneratorInput[] + deleteMany?: ReportScalarWhereInput | ReportScalarWhereInput[] } - export type ReportCreateInput = { - id?: string - name: string - description?: string | null - reportType: $Enums.ReportType - format: string - parameters?: NullableJsonNullValueInput | InputJsonValue - filePath: string - createdAt?: Date | string - status?: $Enums.ReportStatus - updatedAt?: Date | string - lastAccessedAt?: Date | string | null - expiresAt?: Date | string | null - tags?: string | null - storageProvider?: string | null - storageKey: string - generator: UserCreateNestedOneWithoutGeneratedReportsInput - organization?: OrganizationCreateNestedOneWithoutReportsInput - team?: TeamCreateNestedOneWithoutReportsInput - project?: ProjectCreateNestedOneWithoutReportsInput - department?: DepartmentCreateNestedOneWithoutReportInput - user?: UserCreateNestedOneWithoutUserReportsInput - reportSchedule?: ReportScheduleCreateNestedOneWithoutReportsInput - notifiedUsers?: ReportNotificationCreateNestedManyWithoutReportInput + export type ReportUpdateManyWithoutUserNestedInput = { + create?: XOR | ReportCreateWithoutUserInput[] | ReportUncheckedCreateWithoutUserInput[] + connectOrCreate?: ReportCreateOrConnectWithoutUserInput | ReportCreateOrConnectWithoutUserInput[] + upsert?: ReportUpsertWithWhereUniqueWithoutUserInput | ReportUpsertWithWhereUniqueWithoutUserInput[] + createMany?: ReportCreateManyUserInputEnvelope + set?: ReportWhereUniqueInput | ReportWhereUniqueInput[] + disconnect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] + delete?: ReportWhereUniqueInput | ReportWhereUniqueInput[] + connect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] + update?: ReportUpdateWithWhereUniqueWithoutUserInput | ReportUpdateWithWhereUniqueWithoutUserInput[] + updateMany?: ReportUpdateManyWithWhereWithoutUserInput | ReportUpdateManyWithWhereWithoutUserInput[] + deleteMany?: ReportScalarWhereInput | ReportScalarWhereInput[] } - export type ReportUncheckedCreateInput = { - id?: string - name: string - description?: string | null - reportType: $Enums.ReportType - format: string - parameters?: NullableJsonNullValueInput | InputJsonValue - filePath: string - generatedBy: string - createdAt?: Date | string - status?: $Enums.ReportStatus - updatedAt?: Date | string - lastAccessedAt?: Date | string | null - expiresAt?: Date | string | null - tags?: string | null - organizationId?: string | null - teamId?: string | null - projectId?: string | null - departmentId?: string | null - userId?: string | null - scheduleId?: string | null - storageProvider?: string | null - storageKey: string - notifiedUsers?: ReportNotificationUncheckedCreateNestedManyWithoutReportInput + export type PermissionUpdateManyWithoutUserNestedInput = { + create?: XOR | PermissionCreateWithoutUserInput[] | PermissionUncheckedCreateWithoutUserInput[] + connectOrCreate?: PermissionCreateOrConnectWithoutUserInput | PermissionCreateOrConnectWithoutUserInput[] + upsert?: PermissionUpsertWithWhereUniqueWithoutUserInput | PermissionUpsertWithWhereUniqueWithoutUserInput[] + createMany?: PermissionCreateManyUserInputEnvelope + set?: PermissionWhereUniqueInput | PermissionWhereUniqueInput[] + disconnect?: PermissionWhereUniqueInput | PermissionWhereUniqueInput[] + delete?: PermissionWhereUniqueInput | PermissionWhereUniqueInput[] + connect?: PermissionWhereUniqueInput | PermissionWhereUniqueInput[] + update?: PermissionUpdateWithWhereUniqueWithoutUserInput | PermissionUpdateWithWhereUniqueWithoutUserInput[] + updateMany?: PermissionUpdateManyWithWhereWithoutUserInput | PermissionUpdateManyWithWhereWithoutUserInput[] + deleteMany?: PermissionScalarWhereInput | PermissionScalarWhereInput[] } - export type ReportUpdateInput = { - id?: StringFieldUpdateOperationsInput | string - name?: StringFieldUpdateOperationsInput | string - description?: NullableStringFieldUpdateOperationsInput | string | null - reportType?: EnumReportTypeFieldUpdateOperationsInput | $Enums.ReportType - format?: StringFieldUpdateOperationsInput | string - parameters?: NullableJsonNullValueInput | InputJsonValue - filePath?: StringFieldUpdateOperationsInput | string - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - status?: EnumReportStatusFieldUpdateOperationsInput | $Enums.ReportStatus - updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string - lastAccessedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - expiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - tags?: NullableStringFieldUpdateOperationsInput | string | null - storageProvider?: NullableStringFieldUpdateOperationsInput | string | null - storageKey?: StringFieldUpdateOperationsInput | string - generator?: UserUpdateOneRequiredWithoutGeneratedReportsNestedInput - organization?: OrganizationUpdateOneWithoutReportsNestedInput - team?: TeamUpdateOneWithoutReportsNestedInput - project?: ProjectUpdateOneWithoutReportsNestedInput - department?: DepartmentUpdateOneWithoutReportNestedInput - user?: UserUpdateOneWithoutUserReportsNestedInput - reportSchedule?: ReportScheduleUpdateOneWithoutReportsNestedInput - notifiedUsers?: ReportNotificationUpdateManyWithoutReportNestedInput + export type ActivityLogUpdateManyWithoutUserNestedInput = { + create?: XOR | ActivityLogCreateWithoutUserInput[] | ActivityLogUncheckedCreateWithoutUserInput[] + connectOrCreate?: ActivityLogCreateOrConnectWithoutUserInput | ActivityLogCreateOrConnectWithoutUserInput[] + upsert?: ActivityLogUpsertWithWhereUniqueWithoutUserInput | ActivityLogUpsertWithWhereUniqueWithoutUserInput[] + createMany?: ActivityLogCreateManyUserInputEnvelope + set?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] + disconnect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] + delete?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] + connect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] + update?: ActivityLogUpdateWithWhereUniqueWithoutUserInput | ActivityLogUpdateWithWhereUniqueWithoutUserInput[] + updateMany?: ActivityLogUpdateManyWithWhereWithoutUserInput | ActivityLogUpdateManyWithWhereWithoutUserInput[] + deleteMany?: ActivityLogScalarWhereInput | ActivityLogScalarWhereInput[] } - export type ReportUncheckedUpdateInput = { - id?: StringFieldUpdateOperationsInput | string - name?: StringFieldUpdateOperationsInput | string - description?: NullableStringFieldUpdateOperationsInput | string | null - reportType?: EnumReportTypeFieldUpdateOperationsInput | $Enums.ReportType - format?: StringFieldUpdateOperationsInput | string - parameters?: NullableJsonNullValueInput | InputJsonValue - filePath?: StringFieldUpdateOperationsInput | string - generatedBy?: StringFieldUpdateOperationsInput | string - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - status?: EnumReportStatusFieldUpdateOperationsInput | $Enums.ReportStatus - updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string - lastAccessedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - expiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - tags?: NullableStringFieldUpdateOperationsInput | string | null - organizationId?: NullableStringFieldUpdateOperationsInput | string | null - teamId?: NullableStringFieldUpdateOperationsInput | string | null - projectId?: NullableStringFieldUpdateOperationsInput | string | null - departmentId?: NullableStringFieldUpdateOperationsInput | string | null - userId?: NullableStringFieldUpdateOperationsInput | string | null - scheduleId?: NullableStringFieldUpdateOperationsInput | string | null - storageProvider?: NullableStringFieldUpdateOperationsInput | string | null - storageKey?: StringFieldUpdateOperationsInput | string - notifiedUsers?: ReportNotificationUncheckedUpdateManyWithoutReportNestedInput + export type ReportNotificationUpdateManyWithoutUserNestedInput = { + create?: XOR | ReportNotificationCreateWithoutUserInput[] | ReportNotificationUncheckedCreateWithoutUserInput[] + connectOrCreate?: ReportNotificationCreateOrConnectWithoutUserInput | ReportNotificationCreateOrConnectWithoutUserInput[] + upsert?: ReportNotificationUpsertWithWhereUniqueWithoutUserInput | ReportNotificationUpsertWithWhereUniqueWithoutUserInput[] + createMany?: ReportNotificationCreateManyUserInputEnvelope + set?: ReportNotificationWhereUniqueInput | ReportNotificationWhereUniqueInput[] + disconnect?: ReportNotificationWhereUniqueInput | ReportNotificationWhereUniqueInput[] + delete?: ReportNotificationWhereUniqueInput | ReportNotificationWhereUniqueInput[] + connect?: ReportNotificationWhereUniqueInput | ReportNotificationWhereUniqueInput[] + update?: ReportNotificationUpdateWithWhereUniqueWithoutUserInput | ReportNotificationUpdateWithWhereUniqueWithoutUserInput[] + updateMany?: ReportNotificationUpdateManyWithWhereWithoutUserInput | ReportNotificationUpdateManyWithWhereWithoutUserInput[] + deleteMany?: ReportNotificationScalarWhereInput | ReportNotificationScalarWhereInput[] } - export type ReportCreateManyInput = { - id?: string - name: string - description?: string | null - reportType: $Enums.ReportType - format: string - parameters?: NullableJsonNullValueInput | InputJsonValue - filePath: string - generatedBy: string - createdAt?: Date | string - status?: $Enums.ReportStatus - updatedAt?: Date | string - lastAccessedAt?: Date | string | null - expiresAt?: Date | string | null - tags?: string | null - organizationId?: string | null - teamId?: string | null - projectId?: string | null - departmentId?: string | null - userId?: string | null - scheduleId?: string | null - storageProvider?: string | null - storageKey: string + export type ChatParticipantUpdateManyWithoutUserNestedInput = { + create?: XOR | ChatParticipantCreateWithoutUserInput[] | ChatParticipantUncheckedCreateWithoutUserInput[] + connectOrCreate?: ChatParticipantCreateOrConnectWithoutUserInput | ChatParticipantCreateOrConnectWithoutUserInput[] + upsert?: ChatParticipantUpsertWithWhereUniqueWithoutUserInput | ChatParticipantUpsertWithWhereUniqueWithoutUserInput[] + createMany?: ChatParticipantCreateManyUserInputEnvelope + set?: ChatParticipantWhereUniqueInput | ChatParticipantWhereUniqueInput[] + disconnect?: ChatParticipantWhereUniqueInput | ChatParticipantWhereUniqueInput[] + delete?: ChatParticipantWhereUniqueInput | ChatParticipantWhereUniqueInput[] + connect?: ChatParticipantWhereUniqueInput | ChatParticipantWhereUniqueInput[] + update?: ChatParticipantUpdateWithWhereUniqueWithoutUserInput | ChatParticipantUpdateWithWhereUniqueWithoutUserInput[] + updateMany?: ChatParticipantUpdateManyWithWhereWithoutUserInput | ChatParticipantUpdateManyWithWhereWithoutUserInput[] + deleteMany?: ChatParticipantScalarWhereInput | ChatParticipantScalarWhereInput[] + } + + export type ChatMessageUpdateManyWithoutSenderNestedInput = { + create?: XOR | ChatMessageCreateWithoutSenderInput[] | ChatMessageUncheckedCreateWithoutSenderInput[] + connectOrCreate?: ChatMessageCreateOrConnectWithoutSenderInput | ChatMessageCreateOrConnectWithoutSenderInput[] + upsert?: ChatMessageUpsertWithWhereUniqueWithoutSenderInput | ChatMessageUpsertWithWhereUniqueWithoutSenderInput[] + createMany?: ChatMessageCreateManySenderInputEnvelope + set?: ChatMessageWhereUniqueInput | ChatMessageWhereUniqueInput[] + disconnect?: ChatMessageWhereUniqueInput | ChatMessageWhereUniqueInput[] + delete?: ChatMessageWhereUniqueInput | ChatMessageWhereUniqueInput[] + connect?: ChatMessageWhereUniqueInput | ChatMessageWhereUniqueInput[] + update?: ChatMessageUpdateWithWhereUniqueWithoutSenderInput | ChatMessageUpdateWithWhereUniqueWithoutSenderInput[] + updateMany?: ChatMessageUpdateManyWithWhereWithoutSenderInput | ChatMessageUpdateManyWithWhereWithoutSenderInput[] + deleteMany?: ChatMessageScalarWhereInput | ChatMessageScalarWhereInput[] + } + + export type MessageReactionUpdateManyWithoutUserNestedInput = { + create?: XOR | MessageReactionCreateWithoutUserInput[] | MessageReactionUncheckedCreateWithoutUserInput[] + connectOrCreate?: MessageReactionCreateOrConnectWithoutUserInput | MessageReactionCreateOrConnectWithoutUserInput[] + upsert?: MessageReactionUpsertWithWhereUniqueWithoutUserInput | MessageReactionUpsertWithWhereUniqueWithoutUserInput[] + createMany?: MessageReactionCreateManyUserInputEnvelope + set?: MessageReactionWhereUniqueInput | MessageReactionWhereUniqueInput[] + disconnect?: MessageReactionWhereUniqueInput | MessageReactionWhereUniqueInput[] + delete?: MessageReactionWhereUniqueInput | MessageReactionWhereUniqueInput[] + connect?: MessageReactionWhereUniqueInput | MessageReactionWhereUniqueInput[] + update?: MessageReactionUpdateWithWhereUniqueWithoutUserInput | MessageReactionUpdateWithWhereUniqueWithoutUserInput[] + updateMany?: MessageReactionUpdateManyWithWhereWithoutUserInput | MessageReactionUpdateManyWithWhereWithoutUserInput[] + deleteMany?: MessageReactionScalarWhereInput | MessageReactionScalarWhereInput[] + } + + export type PinnedMessageUpdateManyWithoutUserNestedInput = { + create?: XOR | PinnedMessageCreateWithoutUserInput[] | PinnedMessageUncheckedCreateWithoutUserInput[] + connectOrCreate?: PinnedMessageCreateOrConnectWithoutUserInput | PinnedMessageCreateOrConnectWithoutUserInput[] + upsert?: PinnedMessageUpsertWithWhereUniqueWithoutUserInput | PinnedMessageUpsertWithWhereUniqueWithoutUserInput[] + createMany?: PinnedMessageCreateManyUserInputEnvelope + set?: PinnedMessageWhereUniqueInput | PinnedMessageWhereUniqueInput[] + disconnect?: PinnedMessageWhereUniqueInput | PinnedMessageWhereUniqueInput[] + delete?: PinnedMessageWhereUniqueInput | PinnedMessageWhereUniqueInput[] + connect?: PinnedMessageWhereUniqueInput | PinnedMessageWhereUniqueInput[] + update?: PinnedMessageUpdateWithWhereUniqueWithoutUserInput | PinnedMessageUpdateWithWhereUniqueWithoutUserInput[] + updateMany?: PinnedMessageUpdateManyWithWhereWithoutUserInput | PinnedMessageUpdateManyWithWhereWithoutUserInput[] + deleteMany?: PinnedMessageScalarWhereInput | PinnedMessageScalarWhereInput[] + } + + export type VideoConferenceSessionUpdateManyWithoutHostNestedInput = { + create?: XOR | VideoConferenceSessionCreateWithoutHostInput[] | VideoConferenceSessionUncheckedCreateWithoutHostInput[] + connectOrCreate?: VideoConferenceSessionCreateOrConnectWithoutHostInput | VideoConferenceSessionCreateOrConnectWithoutHostInput[] + upsert?: VideoConferenceSessionUpsertWithWhereUniqueWithoutHostInput | VideoConferenceSessionUpsertWithWhereUniqueWithoutHostInput[] + createMany?: VideoConferenceSessionCreateManyHostInputEnvelope + set?: VideoConferenceSessionWhereUniqueInput | VideoConferenceSessionWhereUniqueInput[] + disconnect?: VideoConferenceSessionWhereUniqueInput | VideoConferenceSessionWhereUniqueInput[] + delete?: VideoConferenceSessionWhereUniqueInput | VideoConferenceSessionWhereUniqueInput[] + connect?: VideoConferenceSessionWhereUniqueInput | VideoConferenceSessionWhereUniqueInput[] + update?: VideoConferenceSessionUpdateWithWhereUniqueWithoutHostInput | VideoConferenceSessionUpdateWithWhereUniqueWithoutHostInput[] + updateMany?: VideoConferenceSessionUpdateManyWithWhereWithoutHostInput | VideoConferenceSessionUpdateManyWithWhereWithoutHostInput[] + deleteMany?: VideoConferenceSessionScalarWhereInput | VideoConferenceSessionScalarWhereInput[] + } + + export type VideoParticipantUpdateManyWithoutUserNestedInput = { + create?: XOR | VideoParticipantCreateWithoutUserInput[] | VideoParticipantUncheckedCreateWithoutUserInput[] + connectOrCreate?: VideoParticipantCreateOrConnectWithoutUserInput | VideoParticipantCreateOrConnectWithoutUserInput[] + upsert?: VideoParticipantUpsertWithWhereUniqueWithoutUserInput | VideoParticipantUpsertWithWhereUniqueWithoutUserInput[] + createMany?: VideoParticipantCreateManyUserInputEnvelope + set?: VideoParticipantWhereUniqueInput | VideoParticipantWhereUniqueInput[] + disconnect?: VideoParticipantWhereUniqueInput | VideoParticipantWhereUniqueInput[] + delete?: VideoParticipantWhereUniqueInput | VideoParticipantWhereUniqueInput[] + connect?: VideoParticipantWhereUniqueInput | VideoParticipantWhereUniqueInput[] + update?: VideoParticipantUpdateWithWhereUniqueWithoutUserInput | VideoParticipantUpdateWithWhereUniqueWithoutUserInput[] + updateMany?: VideoParticipantUpdateManyWithWhereWithoutUserInput | VideoParticipantUpdateManyWithWhereWithoutUserInput[] + deleteMany?: VideoParticipantScalarWhereInput | VideoParticipantScalarWhereInput[] + } + + export type VideoRecordingUpdateManyWithoutRecorderNestedInput = { + create?: XOR | VideoRecordingCreateWithoutRecorderInput[] | VideoRecordingUncheckedCreateWithoutRecorderInput[] + connectOrCreate?: VideoRecordingCreateOrConnectWithoutRecorderInput | VideoRecordingCreateOrConnectWithoutRecorderInput[] + upsert?: VideoRecordingUpsertWithWhereUniqueWithoutRecorderInput | VideoRecordingUpsertWithWhereUniqueWithoutRecorderInput[] + createMany?: VideoRecordingCreateManyRecorderInputEnvelope + set?: VideoRecordingWhereUniqueInput | VideoRecordingWhereUniqueInput[] + disconnect?: VideoRecordingWhereUniqueInput | VideoRecordingWhereUniqueInput[] + delete?: VideoRecordingWhereUniqueInput | VideoRecordingWhereUniqueInput[] + connect?: VideoRecordingWhereUniqueInput | VideoRecordingWhereUniqueInput[] + update?: VideoRecordingUpdateWithWhereUniqueWithoutRecorderInput | VideoRecordingUpdateWithWhereUniqueWithoutRecorderInput[] + updateMany?: VideoRecordingUpdateManyWithWhereWithoutRecorderInput | VideoRecordingUpdateManyWithWhereWithoutRecorderInput[] + deleteMany?: VideoRecordingScalarWhereInput | VideoRecordingScalarWhereInput[] } - export type ReportUpdateManyMutationInput = { - id?: StringFieldUpdateOperationsInput | string - name?: StringFieldUpdateOperationsInput | string - description?: NullableStringFieldUpdateOperationsInput | string | null - reportType?: EnumReportTypeFieldUpdateOperationsInput | $Enums.ReportType - format?: StringFieldUpdateOperationsInput | string - parameters?: NullableJsonNullValueInput | InputJsonValue - filePath?: StringFieldUpdateOperationsInput | string - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - status?: EnumReportStatusFieldUpdateOperationsInput | $Enums.ReportStatus - updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string - lastAccessedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - expiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - tags?: NullableStringFieldUpdateOperationsInput | string | null - storageProvider?: NullableStringFieldUpdateOperationsInput | string | null - storageKey?: StringFieldUpdateOperationsInput | string + export type OrganizationUncheckedUpdateManyWithoutCreatorNestedInput = { + create?: XOR | OrganizationCreateWithoutCreatorInput[] | OrganizationUncheckedCreateWithoutCreatorInput[] + connectOrCreate?: OrganizationCreateOrConnectWithoutCreatorInput | OrganizationCreateOrConnectWithoutCreatorInput[] + upsert?: OrganizationUpsertWithWhereUniqueWithoutCreatorInput | OrganizationUpsertWithWhereUniqueWithoutCreatorInput[] + createMany?: OrganizationCreateManyCreatorInputEnvelope + set?: OrganizationWhereUniqueInput | OrganizationWhereUniqueInput[] + disconnect?: OrganizationWhereUniqueInput | OrganizationWhereUniqueInput[] + delete?: OrganizationWhereUniqueInput | OrganizationWhereUniqueInput[] + connect?: OrganizationWhereUniqueInput | OrganizationWhereUniqueInput[] + update?: OrganizationUpdateWithWhereUniqueWithoutCreatorInput | OrganizationUpdateWithWhereUniqueWithoutCreatorInput[] + updateMany?: OrganizationUpdateManyWithWhereWithoutCreatorInput | OrganizationUpdateManyWithWhereWithoutCreatorInput[] + deleteMany?: OrganizationScalarWhereInput | OrganizationScalarWhereInput[] } - export type ReportUncheckedUpdateManyInput = { - id?: StringFieldUpdateOperationsInput | string - name?: StringFieldUpdateOperationsInput | string - description?: NullableStringFieldUpdateOperationsInput | string | null - reportType?: EnumReportTypeFieldUpdateOperationsInput | $Enums.ReportType - format?: StringFieldUpdateOperationsInput | string - parameters?: NullableJsonNullValueInput | InputJsonValue - filePath?: StringFieldUpdateOperationsInput | string - generatedBy?: StringFieldUpdateOperationsInput | string - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - status?: EnumReportStatusFieldUpdateOperationsInput | $Enums.ReportStatus - updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string - lastAccessedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - expiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - tags?: NullableStringFieldUpdateOperationsInput | string | null - organizationId?: NullableStringFieldUpdateOperationsInput | string | null - teamId?: NullableStringFieldUpdateOperationsInput | string | null - projectId?: NullableStringFieldUpdateOperationsInput | string | null - departmentId?: NullableStringFieldUpdateOperationsInput | string | null - userId?: NullableStringFieldUpdateOperationsInput | string | null - scheduleId?: NullableStringFieldUpdateOperationsInput | string | null - storageProvider?: NullableStringFieldUpdateOperationsInput | string | null - storageKey?: StringFieldUpdateOperationsInput | string + export type OrganizationOwnerUncheckedUpdateManyWithoutUserNestedInput = { + create?: XOR | OrganizationOwnerCreateWithoutUserInput[] | OrganizationOwnerUncheckedCreateWithoutUserInput[] + connectOrCreate?: OrganizationOwnerCreateOrConnectWithoutUserInput | OrganizationOwnerCreateOrConnectWithoutUserInput[] + upsert?: OrganizationOwnerUpsertWithWhereUniqueWithoutUserInput | OrganizationOwnerUpsertWithWhereUniqueWithoutUserInput[] + createMany?: OrganizationOwnerCreateManyUserInputEnvelope + set?: OrganizationOwnerWhereUniqueInput | OrganizationOwnerWhereUniqueInput[] + disconnect?: OrganizationOwnerWhereUniqueInput | OrganizationOwnerWhereUniqueInput[] + delete?: OrganizationOwnerWhereUniqueInput | OrganizationOwnerWhereUniqueInput[] + connect?: OrganizationOwnerWhereUniqueInput | OrganizationOwnerWhereUniqueInput[] + update?: OrganizationOwnerUpdateWithWhereUniqueWithoutUserInput | OrganizationOwnerUpdateWithWhereUniqueWithoutUserInput[] + updateMany?: OrganizationOwnerUpdateManyWithWhereWithoutUserInput | OrganizationOwnerUpdateManyWithWhereWithoutUserInput[] + deleteMany?: OrganizationOwnerScalarWhereInput | OrganizationOwnerScalarWhereInput[] } - export type ReportScheduleCreateInput = { - id?: string - name: string - cronExpression: string - isActive?: boolean - createdAt?: Date | string - createdBy: string - reports?: ReportCreateNestedManyWithoutReportScheduleInput + export type DepartmentUncheckedUpdateManyWithoutManagerNestedInput = { + create?: XOR | DepartmentCreateWithoutManagerInput[] | DepartmentUncheckedCreateWithoutManagerInput[] + connectOrCreate?: DepartmentCreateOrConnectWithoutManagerInput | DepartmentCreateOrConnectWithoutManagerInput[] + upsert?: DepartmentUpsertWithWhereUniqueWithoutManagerInput | DepartmentUpsertWithWhereUniqueWithoutManagerInput[] + createMany?: DepartmentCreateManyManagerInputEnvelope + set?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[] + disconnect?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[] + delete?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[] + connect?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[] + update?: DepartmentUpdateWithWhereUniqueWithoutManagerInput | DepartmentUpdateWithWhereUniqueWithoutManagerInput[] + updateMany?: DepartmentUpdateManyWithWhereWithoutManagerInput | DepartmentUpdateManyWithWhereWithoutManagerInput[] + deleteMany?: DepartmentScalarWhereInput | DepartmentScalarWhereInput[] } - export type ReportScheduleUncheckedCreateInput = { - id?: string - name: string - cronExpression: string - isActive?: boolean - createdAt?: Date | string - createdBy: string - reports?: ReportUncheckedCreateNestedManyWithoutReportScheduleInput + export type TeamUncheckedUpdateManyWithoutCreatorNestedInput = { + create?: XOR | TeamCreateWithoutCreatorInput[] | TeamUncheckedCreateWithoutCreatorInput[] + connectOrCreate?: TeamCreateOrConnectWithoutCreatorInput | TeamCreateOrConnectWithoutCreatorInput[] + upsert?: TeamUpsertWithWhereUniqueWithoutCreatorInput | TeamUpsertWithWhereUniqueWithoutCreatorInput[] + createMany?: TeamCreateManyCreatorInputEnvelope + set?: TeamWhereUniqueInput | TeamWhereUniqueInput[] + disconnect?: TeamWhereUniqueInput | TeamWhereUniqueInput[] + delete?: TeamWhereUniqueInput | TeamWhereUniqueInput[] + connect?: TeamWhereUniqueInput | TeamWhereUniqueInput[] + update?: TeamUpdateWithWhereUniqueWithoutCreatorInput | TeamUpdateWithWhereUniqueWithoutCreatorInput[] + updateMany?: TeamUpdateManyWithWhereWithoutCreatorInput | TeamUpdateManyWithWhereWithoutCreatorInput[] + deleteMany?: TeamScalarWhereInput | TeamScalarWhereInput[] } - export type ReportScheduleUpdateInput = { - id?: StringFieldUpdateOperationsInput | string - name?: StringFieldUpdateOperationsInput | string - cronExpression?: StringFieldUpdateOperationsInput | string - isActive?: BoolFieldUpdateOperationsInput | boolean - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - createdBy?: StringFieldUpdateOperationsInput | string - reports?: ReportUpdateManyWithoutReportScheduleNestedInput + export type TeamMemberUncheckedUpdateManyWithoutUserNestedInput = { + create?: XOR | TeamMemberCreateWithoutUserInput[] | TeamMemberUncheckedCreateWithoutUserInput[] + connectOrCreate?: TeamMemberCreateOrConnectWithoutUserInput | TeamMemberCreateOrConnectWithoutUserInput[] + upsert?: TeamMemberUpsertWithWhereUniqueWithoutUserInput | TeamMemberUpsertWithWhereUniqueWithoutUserInput[] + createMany?: TeamMemberCreateManyUserInputEnvelope + set?: TeamMemberWhereUniqueInput | TeamMemberWhereUniqueInput[] + disconnect?: TeamMemberWhereUniqueInput | TeamMemberWhereUniqueInput[] + delete?: TeamMemberWhereUniqueInput | TeamMemberWhereUniqueInput[] + connect?: TeamMemberWhereUniqueInput | TeamMemberWhereUniqueInput[] + update?: TeamMemberUpdateWithWhereUniqueWithoutUserInput | TeamMemberUpdateWithWhereUniqueWithoutUserInput[] + updateMany?: TeamMemberUpdateManyWithWhereWithoutUserInput | TeamMemberUpdateManyWithWhereWithoutUserInput[] + deleteMany?: TeamMemberScalarWhereInput | TeamMemberScalarWhereInput[] } - export type ReportScheduleUncheckedUpdateInput = { - id?: StringFieldUpdateOperationsInput | string - name?: StringFieldUpdateOperationsInput | string - cronExpression?: StringFieldUpdateOperationsInput | string - isActive?: BoolFieldUpdateOperationsInput | boolean - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - createdBy?: StringFieldUpdateOperationsInput | string - reports?: ReportUncheckedUpdateManyWithoutReportScheduleNestedInput + export type ProjectMemberUncheckedUpdateManyWithoutUserNestedInput = { + create?: XOR | ProjectMemberCreateWithoutUserInput[] | ProjectMemberUncheckedCreateWithoutUserInput[] + connectOrCreate?: ProjectMemberCreateOrConnectWithoutUserInput | ProjectMemberCreateOrConnectWithoutUserInput[] + upsert?: ProjectMemberUpsertWithWhereUniqueWithoutUserInput | ProjectMemberUpsertWithWhereUniqueWithoutUserInput[] + createMany?: ProjectMemberCreateManyUserInputEnvelope + set?: ProjectMemberWhereUniqueInput | ProjectMemberWhereUniqueInput[] + disconnect?: ProjectMemberWhereUniqueInput | ProjectMemberWhereUniqueInput[] + delete?: ProjectMemberWhereUniqueInput | ProjectMemberWhereUniqueInput[] + connect?: ProjectMemberWhereUniqueInput | ProjectMemberWhereUniqueInput[] + update?: ProjectMemberUpdateWithWhereUniqueWithoutUserInput | ProjectMemberUpdateWithWhereUniqueWithoutUserInput[] + updateMany?: ProjectMemberUpdateManyWithWhereWithoutUserInput | ProjectMemberUpdateManyWithWhereWithoutUserInput[] + deleteMany?: ProjectMemberScalarWhereInput | ProjectMemberScalarWhereInput[] } - export type ReportScheduleCreateManyInput = { - id?: string - name: string - cronExpression: string - isActive?: boolean - createdAt?: Date | string - createdBy: string + export type ProjectUncheckedUpdateManyWithoutCreatorNestedInput = { + create?: XOR | ProjectCreateWithoutCreatorInput[] | ProjectUncheckedCreateWithoutCreatorInput[] + connectOrCreate?: ProjectCreateOrConnectWithoutCreatorInput | ProjectCreateOrConnectWithoutCreatorInput[] + upsert?: ProjectUpsertWithWhereUniqueWithoutCreatorInput | ProjectUpsertWithWhereUniqueWithoutCreatorInput[] + createMany?: ProjectCreateManyCreatorInputEnvelope + set?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] + disconnect?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] + delete?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] + connect?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] + update?: ProjectUpdateWithWhereUniqueWithoutCreatorInput | ProjectUpdateWithWhereUniqueWithoutCreatorInput[] + updateMany?: ProjectUpdateManyWithWhereWithoutCreatorInput | ProjectUpdateManyWithWhereWithoutCreatorInput[] + deleteMany?: ProjectScalarWhereInput | ProjectScalarWhereInput[] } - export type ReportScheduleUpdateManyMutationInput = { - id?: StringFieldUpdateOperationsInput | string - name?: StringFieldUpdateOperationsInput | string - cronExpression?: StringFieldUpdateOperationsInput | string - isActive?: BoolFieldUpdateOperationsInput | boolean - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - createdBy?: StringFieldUpdateOperationsInput | string + export type ProjectUncheckedUpdateManyWithoutModifierNestedInput = { + create?: XOR | ProjectCreateWithoutModifierInput[] | ProjectUncheckedCreateWithoutModifierInput[] + connectOrCreate?: ProjectCreateOrConnectWithoutModifierInput | ProjectCreateOrConnectWithoutModifierInput[] + upsert?: ProjectUpsertWithWhereUniqueWithoutModifierInput | ProjectUpsertWithWhereUniqueWithoutModifierInput[] + createMany?: ProjectCreateManyModifierInputEnvelope + set?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] + disconnect?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] + delete?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] + connect?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] + update?: ProjectUpdateWithWhereUniqueWithoutModifierInput | ProjectUpdateWithWhereUniqueWithoutModifierInput[] + updateMany?: ProjectUpdateManyWithWhereWithoutModifierInput | ProjectUpdateManyWithWhereWithoutModifierInput[] + deleteMany?: ProjectScalarWhereInput | ProjectScalarWhereInput[] } - export type ReportScheduleUncheckedUpdateManyInput = { - id?: StringFieldUpdateOperationsInput | string - name?: StringFieldUpdateOperationsInput | string - cronExpression?: StringFieldUpdateOperationsInput | string - isActive?: BoolFieldUpdateOperationsInput | boolean - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - createdBy?: StringFieldUpdateOperationsInput | string + export type TaskUncheckedUpdateManyWithoutCreatorNestedInput = { + create?: XOR | TaskCreateWithoutCreatorInput[] | TaskUncheckedCreateWithoutCreatorInput[] + connectOrCreate?: TaskCreateOrConnectWithoutCreatorInput | TaskCreateOrConnectWithoutCreatorInput[] + upsert?: TaskUpsertWithWhereUniqueWithoutCreatorInput | TaskUpsertWithWhereUniqueWithoutCreatorInput[] + createMany?: TaskCreateManyCreatorInputEnvelope + set?: TaskWhereUniqueInput | TaskWhereUniqueInput[] + disconnect?: TaskWhereUniqueInput | TaskWhereUniqueInput[] + delete?: TaskWhereUniqueInput | TaskWhereUniqueInput[] + connect?: TaskWhereUniqueInput | TaskWhereUniqueInput[] + update?: TaskUpdateWithWhereUniqueWithoutCreatorInput | TaskUpdateWithWhereUniqueWithoutCreatorInput[] + updateMany?: TaskUpdateManyWithWhereWithoutCreatorInput | TaskUpdateManyWithWhereWithoutCreatorInput[] + deleteMany?: TaskScalarWhereInput | TaskScalarWhereInput[] } - export type ReportNotificationCreateInput = { - id?: string - notified?: boolean - report: ReportCreateNestedOneWithoutNotifiedUsersInput - user: UserCreateNestedOneWithoutReportNotificationInput + export type TaskUncheckedUpdateManyWithoutAssigneeNestedInput = { + create?: XOR | TaskCreateWithoutAssigneeInput[] | TaskUncheckedCreateWithoutAssigneeInput[] + connectOrCreate?: TaskCreateOrConnectWithoutAssigneeInput | TaskCreateOrConnectWithoutAssigneeInput[] + upsert?: TaskUpsertWithWhereUniqueWithoutAssigneeInput | TaskUpsertWithWhereUniqueWithoutAssigneeInput[] + createMany?: TaskCreateManyAssigneeInputEnvelope + set?: TaskWhereUniqueInput | TaskWhereUniqueInput[] + disconnect?: TaskWhereUniqueInput | TaskWhereUniqueInput[] + delete?: TaskWhereUniqueInput | TaskWhereUniqueInput[] + connect?: TaskWhereUniqueInput | TaskWhereUniqueInput[] + update?: TaskUpdateWithWhereUniqueWithoutAssigneeInput | TaskUpdateWithWhereUniqueWithoutAssigneeInput[] + updateMany?: TaskUpdateManyWithWhereWithoutAssigneeInput | TaskUpdateManyWithWhereWithoutAssigneeInput[] + deleteMany?: TaskScalarWhereInput | TaskScalarWhereInput[] } - export type ReportNotificationUncheckedCreateInput = { - id?: string - reportId: string - userId: string - notified?: boolean + export type TaskUncheckedUpdateManyWithoutModifierNestedInput = { + create?: XOR | TaskCreateWithoutModifierInput[] | TaskUncheckedCreateWithoutModifierInput[] + connectOrCreate?: TaskCreateOrConnectWithoutModifierInput | TaskCreateOrConnectWithoutModifierInput[] + upsert?: TaskUpsertWithWhereUniqueWithoutModifierInput | TaskUpsertWithWhereUniqueWithoutModifierInput[] + createMany?: TaskCreateManyModifierInputEnvelope + set?: TaskWhereUniqueInput | TaskWhereUniqueInput[] + disconnect?: TaskWhereUniqueInput | TaskWhereUniqueInput[] + delete?: TaskWhereUniqueInput | TaskWhereUniqueInput[] + connect?: TaskWhereUniqueInput | TaskWhereUniqueInput[] + update?: TaskUpdateWithWhereUniqueWithoutModifierInput | TaskUpdateWithWhereUniqueWithoutModifierInput[] + updateMany?: TaskUpdateManyWithWhereWithoutModifierInput | TaskUpdateManyWithWhereWithoutModifierInput[] + deleteMany?: TaskScalarWhereInput | TaskScalarWhereInput[] } - export type ReportNotificationUpdateInput = { - id?: StringFieldUpdateOperationsInput | string - notified?: BoolFieldUpdateOperationsInput | boolean - report?: ReportUpdateOneRequiredWithoutNotifiedUsersNestedInput - user?: UserUpdateOneRequiredWithoutReportNotificationNestedInput + export type NotificationUncheckedUpdateManyWithoutUserNestedInput = { + create?: XOR | NotificationCreateWithoutUserInput[] | NotificationUncheckedCreateWithoutUserInput[] + connectOrCreate?: NotificationCreateOrConnectWithoutUserInput | NotificationCreateOrConnectWithoutUserInput[] + upsert?: NotificationUpsertWithWhereUniqueWithoutUserInput | NotificationUpsertWithWhereUniqueWithoutUserInput[] + createMany?: NotificationCreateManyUserInputEnvelope + set?: NotificationWhereUniqueInput | NotificationWhereUniqueInput[] + disconnect?: NotificationWhereUniqueInput | NotificationWhereUniqueInput[] + delete?: NotificationWhereUniqueInput | NotificationWhereUniqueInput[] + connect?: NotificationWhereUniqueInput | NotificationWhereUniqueInput[] + update?: NotificationUpdateWithWhereUniqueWithoutUserInput | NotificationUpdateWithWhereUniqueWithoutUserInput[] + updateMany?: NotificationUpdateManyWithWhereWithoutUserInput | NotificationUpdateManyWithWhereWithoutUserInput[] + deleteMany?: NotificationScalarWhereInput | NotificationScalarWhereInput[] } - export type ReportNotificationUncheckedUpdateInput = { - id?: StringFieldUpdateOperationsInput | string - reportId?: StringFieldUpdateOperationsInput | string - userId?: StringFieldUpdateOperationsInput | string - notified?: BoolFieldUpdateOperationsInput | boolean + export type TimelogUncheckedUpdateManyWithoutUserNestedInput = { + create?: XOR | TimelogCreateWithoutUserInput[] | TimelogUncheckedCreateWithoutUserInput[] + connectOrCreate?: TimelogCreateOrConnectWithoutUserInput | TimelogCreateOrConnectWithoutUserInput[] + upsert?: TimelogUpsertWithWhereUniqueWithoutUserInput | TimelogUpsertWithWhereUniqueWithoutUserInput[] + createMany?: TimelogCreateManyUserInputEnvelope + set?: TimelogWhereUniqueInput | TimelogWhereUniqueInput[] + disconnect?: TimelogWhereUniqueInput | TimelogWhereUniqueInput[] + delete?: TimelogWhereUniqueInput | TimelogWhereUniqueInput[] + connect?: TimelogWhereUniqueInput | TimelogWhereUniqueInput[] + update?: TimelogUpdateWithWhereUniqueWithoutUserInput | TimelogUpdateWithWhereUniqueWithoutUserInput[] + updateMany?: TimelogUpdateManyWithWhereWithoutUserInput | TimelogUpdateManyWithWhereWithoutUserInput[] + deleteMany?: TimelogScalarWhereInput | TimelogScalarWhereInput[] } - export type ReportNotificationCreateManyInput = { - id?: string - reportId: string - userId: string - notified?: boolean + export type CommentUncheckedUpdateManyWithoutUserNestedInput = { + create?: XOR | CommentCreateWithoutUserInput[] | CommentUncheckedCreateWithoutUserInput[] + connectOrCreate?: CommentCreateOrConnectWithoutUserInput | CommentCreateOrConnectWithoutUserInput[] + upsert?: CommentUpsertWithWhereUniqueWithoutUserInput | CommentUpsertWithWhereUniqueWithoutUserInput[] + createMany?: CommentCreateManyUserInputEnvelope + set?: CommentWhereUniqueInput | CommentWhereUniqueInput[] + disconnect?: CommentWhereUniqueInput | CommentWhereUniqueInput[] + delete?: CommentWhereUniqueInput | CommentWhereUniqueInput[] + connect?: CommentWhereUniqueInput | CommentWhereUniqueInput[] + update?: CommentUpdateWithWhereUniqueWithoutUserInput | CommentUpdateWithWhereUniqueWithoutUserInput[] + updateMany?: CommentUpdateManyWithWhereWithoutUserInput | CommentUpdateManyWithWhereWithoutUserInput[] + deleteMany?: CommentScalarWhereInput | CommentScalarWhereInput[] } - export type ReportNotificationUpdateManyMutationInput = { - id?: StringFieldUpdateOperationsInput | string - notified?: BoolFieldUpdateOperationsInput | boolean + export type TaskAttachmentUncheckedUpdateManyWithoutUploaderNestedInput = { + create?: XOR | TaskAttachmentCreateWithoutUploaderInput[] | TaskAttachmentUncheckedCreateWithoutUploaderInput[] + connectOrCreate?: TaskAttachmentCreateOrConnectWithoutUploaderInput | TaskAttachmentCreateOrConnectWithoutUploaderInput[] + upsert?: TaskAttachmentUpsertWithWhereUniqueWithoutUploaderInput | TaskAttachmentUpsertWithWhereUniqueWithoutUploaderInput[] + createMany?: TaskAttachmentCreateManyUploaderInputEnvelope + set?: TaskAttachmentWhereUniqueInput | TaskAttachmentWhereUniqueInput[] + disconnect?: TaskAttachmentWhereUniqueInput | TaskAttachmentWhereUniqueInput[] + delete?: TaskAttachmentWhereUniqueInput | TaskAttachmentWhereUniqueInput[] + connect?: TaskAttachmentWhereUniqueInput | TaskAttachmentWhereUniqueInput[] + update?: TaskAttachmentUpdateWithWhereUniqueWithoutUploaderInput | TaskAttachmentUpdateWithWhereUniqueWithoutUploaderInput[] + updateMany?: TaskAttachmentUpdateManyWithWhereWithoutUploaderInput | TaskAttachmentUpdateManyWithWhereWithoutUploaderInput[] + deleteMany?: TaskAttachmentScalarWhereInput | TaskAttachmentScalarWhereInput[] } - export type ReportNotificationUncheckedUpdateManyInput = { - id?: StringFieldUpdateOperationsInput | string - reportId?: StringFieldUpdateOperationsInput | string - userId?: StringFieldUpdateOperationsInput | string - notified?: BoolFieldUpdateOperationsInput | boolean + export type ReportUncheckedUpdateManyWithoutGeneratorNestedInput = { + create?: XOR | ReportCreateWithoutGeneratorInput[] | ReportUncheckedCreateWithoutGeneratorInput[] + connectOrCreate?: ReportCreateOrConnectWithoutGeneratorInput | ReportCreateOrConnectWithoutGeneratorInput[] + upsert?: ReportUpsertWithWhereUniqueWithoutGeneratorInput | ReportUpsertWithWhereUniqueWithoutGeneratorInput[] + createMany?: ReportCreateManyGeneratorInputEnvelope + set?: ReportWhereUniqueInput | ReportWhereUniqueInput[] + disconnect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] + delete?: ReportWhereUniqueInput | ReportWhereUniqueInput[] + connect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] + update?: ReportUpdateWithWhereUniqueWithoutGeneratorInput | ReportUpdateWithWhereUniqueWithoutGeneratorInput[] + updateMany?: ReportUpdateManyWithWhereWithoutGeneratorInput | ReportUpdateManyWithWhereWithoutGeneratorInput[] + deleteMany?: ReportScalarWhereInput | ReportScalarWhereInput[] } - export type PermissionCreateInput = { - id?: string - entityType: string - entityId: string - permissions: JsonNullValueInput | InputJsonValue - createdAt?: Date | string - updatedAt?: Date | string - user: UserCreateNestedOneWithoutPermissionsInput + export type ReportUncheckedUpdateManyWithoutUserNestedInput = { + create?: XOR | ReportCreateWithoutUserInput[] | ReportUncheckedCreateWithoutUserInput[] + connectOrCreate?: ReportCreateOrConnectWithoutUserInput | ReportCreateOrConnectWithoutUserInput[] + upsert?: ReportUpsertWithWhereUniqueWithoutUserInput | ReportUpsertWithWhereUniqueWithoutUserInput[] + createMany?: ReportCreateManyUserInputEnvelope + set?: ReportWhereUniqueInput | ReportWhereUniqueInput[] + disconnect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] + delete?: ReportWhereUniqueInput | ReportWhereUniqueInput[] + connect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] + update?: ReportUpdateWithWhereUniqueWithoutUserInput | ReportUpdateWithWhereUniqueWithoutUserInput[] + updateMany?: ReportUpdateManyWithWhereWithoutUserInput | ReportUpdateManyWithWhereWithoutUserInput[] + deleteMany?: ReportScalarWhereInput | ReportScalarWhereInput[] } - export type PermissionUncheckedCreateInput = { - id?: string - userId: string - entityType: string - entityId: string - permissions: JsonNullValueInput | InputJsonValue - createdAt?: Date | string - updatedAt?: Date | string + export type PermissionUncheckedUpdateManyWithoutUserNestedInput = { + create?: XOR | PermissionCreateWithoutUserInput[] | PermissionUncheckedCreateWithoutUserInput[] + connectOrCreate?: PermissionCreateOrConnectWithoutUserInput | PermissionCreateOrConnectWithoutUserInput[] + upsert?: PermissionUpsertWithWhereUniqueWithoutUserInput | PermissionUpsertWithWhereUniqueWithoutUserInput[] + createMany?: PermissionCreateManyUserInputEnvelope + set?: PermissionWhereUniqueInput | PermissionWhereUniqueInput[] + disconnect?: PermissionWhereUniqueInput | PermissionWhereUniqueInput[] + delete?: PermissionWhereUniqueInput | PermissionWhereUniqueInput[] + connect?: PermissionWhereUniqueInput | PermissionWhereUniqueInput[] + update?: PermissionUpdateWithWhereUniqueWithoutUserInput | PermissionUpdateWithWhereUniqueWithoutUserInput[] + updateMany?: PermissionUpdateManyWithWhereWithoutUserInput | PermissionUpdateManyWithWhereWithoutUserInput[] + deleteMany?: PermissionScalarWhereInput | PermissionScalarWhereInput[] } - export type PermissionUpdateInput = { - id?: StringFieldUpdateOperationsInput | string - entityType?: StringFieldUpdateOperationsInput | string - entityId?: StringFieldUpdateOperationsInput | string - permissions?: JsonNullValueInput | InputJsonValue - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string - user?: UserUpdateOneRequiredWithoutPermissionsNestedInput + export type ActivityLogUncheckedUpdateManyWithoutUserNestedInput = { + create?: XOR | ActivityLogCreateWithoutUserInput[] | ActivityLogUncheckedCreateWithoutUserInput[] + connectOrCreate?: ActivityLogCreateOrConnectWithoutUserInput | ActivityLogCreateOrConnectWithoutUserInput[] + upsert?: ActivityLogUpsertWithWhereUniqueWithoutUserInput | ActivityLogUpsertWithWhereUniqueWithoutUserInput[] + createMany?: ActivityLogCreateManyUserInputEnvelope + set?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] + disconnect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] + delete?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] + connect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] + update?: ActivityLogUpdateWithWhereUniqueWithoutUserInput | ActivityLogUpdateWithWhereUniqueWithoutUserInput[] + updateMany?: ActivityLogUpdateManyWithWhereWithoutUserInput | ActivityLogUpdateManyWithWhereWithoutUserInput[] + deleteMany?: ActivityLogScalarWhereInput | ActivityLogScalarWhereInput[] } - export type PermissionUncheckedUpdateInput = { - id?: StringFieldUpdateOperationsInput | string - userId?: StringFieldUpdateOperationsInput | string - entityType?: StringFieldUpdateOperationsInput | string - entityId?: StringFieldUpdateOperationsInput | string - permissions?: JsonNullValueInput | InputJsonValue - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + export type ReportNotificationUncheckedUpdateManyWithoutUserNestedInput = { + create?: XOR | ReportNotificationCreateWithoutUserInput[] | ReportNotificationUncheckedCreateWithoutUserInput[] + connectOrCreate?: ReportNotificationCreateOrConnectWithoutUserInput | ReportNotificationCreateOrConnectWithoutUserInput[] + upsert?: ReportNotificationUpsertWithWhereUniqueWithoutUserInput | ReportNotificationUpsertWithWhereUniqueWithoutUserInput[] + createMany?: ReportNotificationCreateManyUserInputEnvelope + set?: ReportNotificationWhereUniqueInput | ReportNotificationWhereUniqueInput[] + disconnect?: ReportNotificationWhereUniqueInput | ReportNotificationWhereUniqueInput[] + delete?: ReportNotificationWhereUniqueInput | ReportNotificationWhereUniqueInput[] + connect?: ReportNotificationWhereUniqueInput | ReportNotificationWhereUniqueInput[] + update?: ReportNotificationUpdateWithWhereUniqueWithoutUserInput | ReportNotificationUpdateWithWhereUniqueWithoutUserInput[] + updateMany?: ReportNotificationUpdateManyWithWhereWithoutUserInput | ReportNotificationUpdateManyWithWhereWithoutUserInput[] + deleteMany?: ReportNotificationScalarWhereInput | ReportNotificationScalarWhereInput[] } - export type PermissionCreateManyInput = { - id?: string - userId: string - entityType: string - entityId: string - permissions: JsonNullValueInput | InputJsonValue - createdAt?: Date | string - updatedAt?: Date | string + export type ChatParticipantUncheckedUpdateManyWithoutUserNestedInput = { + create?: XOR | ChatParticipantCreateWithoutUserInput[] | ChatParticipantUncheckedCreateWithoutUserInput[] + connectOrCreate?: ChatParticipantCreateOrConnectWithoutUserInput | ChatParticipantCreateOrConnectWithoutUserInput[] + upsert?: ChatParticipantUpsertWithWhereUniqueWithoutUserInput | ChatParticipantUpsertWithWhereUniqueWithoutUserInput[] + createMany?: ChatParticipantCreateManyUserInputEnvelope + set?: ChatParticipantWhereUniqueInput | ChatParticipantWhereUniqueInput[] + disconnect?: ChatParticipantWhereUniqueInput | ChatParticipantWhereUniqueInput[] + delete?: ChatParticipantWhereUniqueInput | ChatParticipantWhereUniqueInput[] + connect?: ChatParticipantWhereUniqueInput | ChatParticipantWhereUniqueInput[] + update?: ChatParticipantUpdateWithWhereUniqueWithoutUserInput | ChatParticipantUpdateWithWhereUniqueWithoutUserInput[] + updateMany?: ChatParticipantUpdateManyWithWhereWithoutUserInput | ChatParticipantUpdateManyWithWhereWithoutUserInput[] + deleteMany?: ChatParticipantScalarWhereInput | ChatParticipantScalarWhereInput[] + } + + export type ChatMessageUncheckedUpdateManyWithoutSenderNestedInput = { + create?: XOR | ChatMessageCreateWithoutSenderInput[] | ChatMessageUncheckedCreateWithoutSenderInput[] + connectOrCreate?: ChatMessageCreateOrConnectWithoutSenderInput | ChatMessageCreateOrConnectWithoutSenderInput[] + upsert?: ChatMessageUpsertWithWhereUniqueWithoutSenderInput | ChatMessageUpsertWithWhereUniqueWithoutSenderInput[] + createMany?: ChatMessageCreateManySenderInputEnvelope + set?: ChatMessageWhereUniqueInput | ChatMessageWhereUniqueInput[] + disconnect?: ChatMessageWhereUniqueInput | ChatMessageWhereUniqueInput[] + delete?: ChatMessageWhereUniqueInput | ChatMessageWhereUniqueInput[] + connect?: ChatMessageWhereUniqueInput | ChatMessageWhereUniqueInput[] + update?: ChatMessageUpdateWithWhereUniqueWithoutSenderInput | ChatMessageUpdateWithWhereUniqueWithoutSenderInput[] + updateMany?: ChatMessageUpdateManyWithWhereWithoutSenderInput | ChatMessageUpdateManyWithWhereWithoutSenderInput[] + deleteMany?: ChatMessageScalarWhereInput | ChatMessageScalarWhereInput[] + } + + export type MessageReactionUncheckedUpdateManyWithoutUserNestedInput = { + create?: XOR | MessageReactionCreateWithoutUserInput[] | MessageReactionUncheckedCreateWithoutUserInput[] + connectOrCreate?: MessageReactionCreateOrConnectWithoutUserInput | MessageReactionCreateOrConnectWithoutUserInput[] + upsert?: MessageReactionUpsertWithWhereUniqueWithoutUserInput | MessageReactionUpsertWithWhereUniqueWithoutUserInput[] + createMany?: MessageReactionCreateManyUserInputEnvelope + set?: MessageReactionWhereUniqueInput | MessageReactionWhereUniqueInput[] + disconnect?: MessageReactionWhereUniqueInput | MessageReactionWhereUniqueInput[] + delete?: MessageReactionWhereUniqueInput | MessageReactionWhereUniqueInput[] + connect?: MessageReactionWhereUniqueInput | MessageReactionWhereUniqueInput[] + update?: MessageReactionUpdateWithWhereUniqueWithoutUserInput | MessageReactionUpdateWithWhereUniqueWithoutUserInput[] + updateMany?: MessageReactionUpdateManyWithWhereWithoutUserInput | MessageReactionUpdateManyWithWhereWithoutUserInput[] + deleteMany?: MessageReactionScalarWhereInput | MessageReactionScalarWhereInput[] + } + + export type PinnedMessageUncheckedUpdateManyWithoutUserNestedInput = { + create?: XOR | PinnedMessageCreateWithoutUserInput[] | PinnedMessageUncheckedCreateWithoutUserInput[] + connectOrCreate?: PinnedMessageCreateOrConnectWithoutUserInput | PinnedMessageCreateOrConnectWithoutUserInput[] + upsert?: PinnedMessageUpsertWithWhereUniqueWithoutUserInput | PinnedMessageUpsertWithWhereUniqueWithoutUserInput[] + createMany?: PinnedMessageCreateManyUserInputEnvelope + set?: PinnedMessageWhereUniqueInput | PinnedMessageWhereUniqueInput[] + disconnect?: PinnedMessageWhereUniqueInput | PinnedMessageWhereUniqueInput[] + delete?: PinnedMessageWhereUniqueInput | PinnedMessageWhereUniqueInput[] + connect?: PinnedMessageWhereUniqueInput | PinnedMessageWhereUniqueInput[] + update?: PinnedMessageUpdateWithWhereUniqueWithoutUserInput | PinnedMessageUpdateWithWhereUniqueWithoutUserInput[] + updateMany?: PinnedMessageUpdateManyWithWhereWithoutUserInput | PinnedMessageUpdateManyWithWhereWithoutUserInput[] + deleteMany?: PinnedMessageScalarWhereInput | PinnedMessageScalarWhereInput[] + } + + export type VideoConferenceSessionUncheckedUpdateManyWithoutHostNestedInput = { + create?: XOR | VideoConferenceSessionCreateWithoutHostInput[] | VideoConferenceSessionUncheckedCreateWithoutHostInput[] + connectOrCreate?: VideoConferenceSessionCreateOrConnectWithoutHostInput | VideoConferenceSessionCreateOrConnectWithoutHostInput[] + upsert?: VideoConferenceSessionUpsertWithWhereUniqueWithoutHostInput | VideoConferenceSessionUpsertWithWhereUniqueWithoutHostInput[] + createMany?: VideoConferenceSessionCreateManyHostInputEnvelope + set?: VideoConferenceSessionWhereUniqueInput | VideoConferenceSessionWhereUniqueInput[] + disconnect?: VideoConferenceSessionWhereUniqueInput | VideoConferenceSessionWhereUniqueInput[] + delete?: VideoConferenceSessionWhereUniqueInput | VideoConferenceSessionWhereUniqueInput[] + connect?: VideoConferenceSessionWhereUniqueInput | VideoConferenceSessionWhereUniqueInput[] + update?: VideoConferenceSessionUpdateWithWhereUniqueWithoutHostInput | VideoConferenceSessionUpdateWithWhereUniqueWithoutHostInput[] + updateMany?: VideoConferenceSessionUpdateManyWithWhereWithoutHostInput | VideoConferenceSessionUpdateManyWithWhereWithoutHostInput[] + deleteMany?: VideoConferenceSessionScalarWhereInput | VideoConferenceSessionScalarWhereInput[] + } + + export type VideoParticipantUncheckedUpdateManyWithoutUserNestedInput = { + create?: XOR | VideoParticipantCreateWithoutUserInput[] | VideoParticipantUncheckedCreateWithoutUserInput[] + connectOrCreate?: VideoParticipantCreateOrConnectWithoutUserInput | VideoParticipantCreateOrConnectWithoutUserInput[] + upsert?: VideoParticipantUpsertWithWhereUniqueWithoutUserInput | VideoParticipantUpsertWithWhereUniqueWithoutUserInput[] + createMany?: VideoParticipantCreateManyUserInputEnvelope + set?: VideoParticipantWhereUniqueInput | VideoParticipantWhereUniqueInput[] + disconnect?: VideoParticipantWhereUniqueInput | VideoParticipantWhereUniqueInput[] + delete?: VideoParticipantWhereUniqueInput | VideoParticipantWhereUniqueInput[] + connect?: VideoParticipantWhereUniqueInput | VideoParticipantWhereUniqueInput[] + update?: VideoParticipantUpdateWithWhereUniqueWithoutUserInput | VideoParticipantUpdateWithWhereUniqueWithoutUserInput[] + updateMany?: VideoParticipantUpdateManyWithWhereWithoutUserInput | VideoParticipantUpdateManyWithWhereWithoutUserInput[] + deleteMany?: VideoParticipantScalarWhereInput | VideoParticipantScalarWhereInput[] + } + + export type VideoRecordingUncheckedUpdateManyWithoutRecorderNestedInput = { + create?: XOR | VideoRecordingCreateWithoutRecorderInput[] | VideoRecordingUncheckedCreateWithoutRecorderInput[] + connectOrCreate?: VideoRecordingCreateOrConnectWithoutRecorderInput | VideoRecordingCreateOrConnectWithoutRecorderInput[] + upsert?: VideoRecordingUpsertWithWhereUniqueWithoutRecorderInput | VideoRecordingUpsertWithWhereUniqueWithoutRecorderInput[] + createMany?: VideoRecordingCreateManyRecorderInputEnvelope + set?: VideoRecordingWhereUniqueInput | VideoRecordingWhereUniqueInput[] + disconnect?: VideoRecordingWhereUniqueInput | VideoRecordingWhereUniqueInput[] + delete?: VideoRecordingWhereUniqueInput | VideoRecordingWhereUniqueInput[] + connect?: VideoRecordingWhereUniqueInput | VideoRecordingWhereUniqueInput[] + update?: VideoRecordingUpdateWithWhereUniqueWithoutRecorderInput | VideoRecordingUpdateWithWhereUniqueWithoutRecorderInput[] + updateMany?: VideoRecordingUpdateManyWithWhereWithoutRecorderInput | VideoRecordingUpdateManyWithWhereWithoutRecorderInput[] + deleteMany?: VideoRecordingScalarWhereInput | VideoRecordingScalarWhereInput[] } - export type PermissionUpdateManyMutationInput = { - id?: StringFieldUpdateOperationsInput | string - entityType?: StringFieldUpdateOperationsInput | string - entityId?: StringFieldUpdateOperationsInput | string - permissions?: JsonNullValueInput | InputJsonValue - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + export type UserCreateNestedOneWithoutCreatedOrganizationsInput = { + create?: XOR + connectOrCreate?: UserCreateOrConnectWithoutCreatedOrganizationsInput + connect?: UserWhereUniqueInput } - export type PermissionUncheckedUpdateManyInput = { - id?: StringFieldUpdateOperationsInput | string - userId?: StringFieldUpdateOperationsInput | string - entityType?: StringFieldUpdateOperationsInput | string - entityId?: StringFieldUpdateOperationsInput | string - permissions?: JsonNullValueInput | InputJsonValue - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + export type DepartmentCreateNestedManyWithoutOrganizationInput = { + create?: XOR | DepartmentCreateWithoutOrganizationInput[] | DepartmentUncheckedCreateWithoutOrganizationInput[] + connectOrCreate?: DepartmentCreateOrConnectWithoutOrganizationInput | DepartmentCreateOrConnectWithoutOrganizationInput[] + createMany?: DepartmentCreateManyOrganizationInputEnvelope + connect?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[] } - export type UuidFilter<$PrismaModel = never> = { - equals?: string | StringFieldRefInput<$PrismaModel> - in?: string[] | ListStringFieldRefInput<$PrismaModel> - notIn?: string[] | ListStringFieldRefInput<$PrismaModel> - lt?: string | StringFieldRefInput<$PrismaModel> - lte?: string | StringFieldRefInput<$PrismaModel> - gt?: string | StringFieldRefInput<$PrismaModel> - gte?: string | StringFieldRefInput<$PrismaModel> - mode?: QueryMode - not?: NestedUuidFilter<$PrismaModel> | string + export type TeamCreateNestedManyWithoutOrganizationInput = { + create?: XOR | TeamCreateWithoutOrganizationInput[] | TeamUncheckedCreateWithoutOrganizationInput[] + connectOrCreate?: TeamCreateOrConnectWithoutOrganizationInput | TeamCreateOrConnectWithoutOrganizationInput[] + createMany?: TeamCreateManyOrganizationInputEnvelope + connect?: TeamWhereUniqueInput | TeamWhereUniqueInput[] } - export type StringFilter<$PrismaModel = never> = { - equals?: string | StringFieldRefInput<$PrismaModel> - in?: string[] | ListStringFieldRefInput<$PrismaModel> - notIn?: string[] | ListStringFieldRefInput<$PrismaModel> - lt?: string | StringFieldRefInput<$PrismaModel> - lte?: string | StringFieldRefInput<$PrismaModel> - gt?: string | StringFieldRefInput<$PrismaModel> - gte?: string | StringFieldRefInput<$PrismaModel> - contains?: string | StringFieldRefInput<$PrismaModel> - startsWith?: string | StringFieldRefInput<$PrismaModel> - endsWith?: string | StringFieldRefInput<$PrismaModel> - mode?: QueryMode - not?: NestedStringFilter<$PrismaModel> | string + export type ProjectCreateNestedManyWithoutOrganizationInput = { + create?: XOR | ProjectCreateWithoutOrganizationInput[] | ProjectUncheckedCreateWithoutOrganizationInput[] + connectOrCreate?: ProjectCreateOrConnectWithoutOrganizationInput | ProjectCreateOrConnectWithoutOrganizationInput[] + createMany?: ProjectCreateManyOrganizationInputEnvelope + connect?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] } - export type StringNullableFilter<$PrismaModel = never> = { - equals?: string | StringFieldRefInput<$PrismaModel> | null - in?: string[] | ListStringFieldRefInput<$PrismaModel> | null - notIn?: string[] | ListStringFieldRefInput<$PrismaModel> | null - lt?: string | StringFieldRefInput<$PrismaModel> - lte?: string | StringFieldRefInput<$PrismaModel> - gt?: string | StringFieldRefInput<$PrismaModel> - gte?: string | StringFieldRefInput<$PrismaModel> - contains?: string | StringFieldRefInput<$PrismaModel> - startsWith?: string | StringFieldRefInput<$PrismaModel> - endsWith?: string | StringFieldRefInput<$PrismaModel> - mode?: QueryMode - not?: NestedStringNullableFilter<$PrismaModel> | string | null + export type UserCreateNestedManyWithoutOrganizationInput = { + create?: XOR | UserCreateWithoutOrganizationInput[] | UserUncheckedCreateWithoutOrganizationInput[] + connectOrCreate?: UserCreateOrConnectWithoutOrganizationInput | UserCreateOrConnectWithoutOrganizationInput[] + createMany?: UserCreateManyOrganizationInputEnvelope + connect?: UserWhereUniqueInput | UserWhereUniqueInput[] } - export type EnumUserRoleFilter<$PrismaModel = never> = { - equals?: $Enums.UserRole | EnumUserRoleFieldRefInput<$PrismaModel> - in?: $Enums.UserRole[] | ListEnumUserRoleFieldRefInput<$PrismaModel> - notIn?: $Enums.UserRole[] | ListEnumUserRoleFieldRefInput<$PrismaModel> - not?: NestedEnumUserRoleFilter<$PrismaModel> | $Enums.UserRole + export type ReportCreateNestedManyWithoutOrganizationInput = { + create?: XOR | ReportCreateWithoutOrganizationInput[] | ReportUncheckedCreateWithoutOrganizationInput[] + connectOrCreate?: ReportCreateOrConnectWithoutOrganizationInput | ReportCreateOrConnectWithoutOrganizationInput[] + createMany?: ReportCreateManyOrganizationInputEnvelope + connect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] } - export type UuidNullableFilter<$PrismaModel = never> = { - equals?: string | StringFieldRefInput<$PrismaModel> | null - in?: string[] | ListStringFieldRefInput<$PrismaModel> | null - notIn?: string[] | ListStringFieldRefInput<$PrismaModel> | null - lt?: string | StringFieldRefInput<$PrismaModel> - lte?: string | StringFieldRefInput<$PrismaModel> - gt?: string | StringFieldRefInput<$PrismaModel> - gte?: string | StringFieldRefInput<$PrismaModel> - mode?: QueryMode - not?: NestedUuidNullableFilter<$PrismaModel> | string | null + export type OrganizationOwnerCreateNestedManyWithoutOrganizationInput = { + create?: XOR | OrganizationOwnerCreateWithoutOrganizationInput[] | OrganizationOwnerUncheckedCreateWithoutOrganizationInput[] + connectOrCreate?: OrganizationOwnerCreateOrConnectWithoutOrganizationInput | OrganizationOwnerCreateOrConnectWithoutOrganizationInput[] + createMany?: OrganizationOwnerCreateManyOrganizationInputEnvelope + connect?: OrganizationOwnerWhereUniqueInput | OrganizationOwnerWhereUniqueInput[] } - export type BoolFilter<$PrismaModel = never> = { - equals?: boolean | BooleanFieldRefInput<$PrismaModel> - not?: NestedBoolFilter<$PrismaModel> | boolean + export type TaskTemplateCreateNestedManyWithoutOrganizationInput = { + create?: XOR | TaskTemplateCreateWithoutOrganizationInput[] | TaskTemplateUncheckedCreateWithoutOrganizationInput[] + connectOrCreate?: TaskTemplateCreateOrConnectWithoutOrganizationInput | TaskTemplateCreateOrConnectWithoutOrganizationInput[] + createMany?: TaskTemplateCreateManyOrganizationInputEnvelope + connect?: TaskTemplateWhereUniqueInput | TaskTemplateWhereUniqueInput[] } - export type DateTimeFilter<$PrismaModel = never> = { - equals?: Date | string | DateTimeFieldRefInput<$PrismaModel> - in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> - notIn?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> - lt?: Date | string | DateTimeFieldRefInput<$PrismaModel> - lte?: Date | string | DateTimeFieldRefInput<$PrismaModel> - gt?: Date | string | DateTimeFieldRefInput<$PrismaModel> - gte?: Date | string | DateTimeFieldRefInput<$PrismaModel> - not?: NestedDateTimeFilter<$PrismaModel> | Date | string + export type ActivityLogCreateNestedManyWithoutOrganizationInput = { + create?: XOR | ActivityLogCreateWithoutOrganizationInput[] | ActivityLogUncheckedCreateWithoutOrganizationInput[] + connectOrCreate?: ActivityLogCreateOrConnectWithoutOrganizationInput | ActivityLogCreateOrConnectWithoutOrganizationInput[] + createMany?: ActivityLogCreateManyOrganizationInputEnvelope + connect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] } - export type DateTimeNullableFilter<$PrismaModel = never> = { - equals?: Date | string | DateTimeFieldRefInput<$PrismaModel> | null - in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null - notIn?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null - lt?: Date | string | DateTimeFieldRefInput<$PrismaModel> - lte?: Date | string | DateTimeFieldRefInput<$PrismaModel> - gt?: Date | string | DateTimeFieldRefInput<$PrismaModel> - gte?: Date | string | DateTimeFieldRefInput<$PrismaModel> - not?: NestedDateTimeNullableFilter<$PrismaModel> | Date | string | null + export type DepartmentUncheckedCreateNestedManyWithoutOrganizationInput = { + create?: XOR | DepartmentCreateWithoutOrganizationInput[] | DepartmentUncheckedCreateWithoutOrganizationInput[] + connectOrCreate?: DepartmentCreateOrConnectWithoutOrganizationInput | DepartmentCreateOrConnectWithoutOrganizationInput[] + createMany?: DepartmentCreateManyOrganizationInputEnvelope + connect?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[] } - export type JsonNullableFilter<$PrismaModel = never> = - | PatchUndefined< - Either>, Exclude>, 'path'>>, - Required> - > - | OptionalFlat>, 'path'>> - export type JsonNullableFilterBase<$PrismaModel = never> = { - equals?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter - path?: string[] - mode?: QueryMode | EnumQueryModeFieldRefInput<$PrismaModel> - string_contains?: string | StringFieldRefInput<$PrismaModel> - string_starts_with?: string | StringFieldRefInput<$PrismaModel> - string_ends_with?: string | StringFieldRefInput<$PrismaModel> - array_starts_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null - array_ends_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null - array_contains?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null - lt?: InputJsonValue | JsonFieldRefInput<$PrismaModel> - lte?: InputJsonValue | JsonFieldRefInput<$PrismaModel> - gt?: InputJsonValue | JsonFieldRefInput<$PrismaModel> - gte?: InputJsonValue | JsonFieldRefInput<$PrismaModel> - not?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter + export type TeamUncheckedCreateNestedManyWithoutOrganizationInput = { + create?: XOR | TeamCreateWithoutOrganizationInput[] | TeamUncheckedCreateWithoutOrganizationInput[] + connectOrCreate?: TeamCreateOrConnectWithoutOrganizationInput | TeamCreateOrConnectWithoutOrganizationInput[] + createMany?: TeamCreateManyOrganizationInputEnvelope + connect?: TeamWhereUniqueInput | TeamWhereUniqueInput[] } - export type DepartmentNullableScalarRelationFilter = { - is?: DepartmentWhereInput | null - isNot?: DepartmentWhereInput | null + export type ProjectUncheckedCreateNestedManyWithoutOrganizationInput = { + create?: XOR | ProjectCreateWithoutOrganizationInput[] | ProjectUncheckedCreateWithoutOrganizationInput[] + connectOrCreate?: ProjectCreateOrConnectWithoutOrganizationInput | ProjectCreateOrConnectWithoutOrganizationInput[] + createMany?: ProjectCreateManyOrganizationInputEnvelope + connect?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] } - export type OrganizationNullableScalarRelationFilter = { - is?: OrganizationWhereInput | null - isNot?: OrganizationWhereInput | null + export type UserUncheckedCreateNestedManyWithoutOrganizationInput = { + create?: XOR | UserCreateWithoutOrganizationInput[] | UserUncheckedCreateWithoutOrganizationInput[] + connectOrCreate?: UserCreateOrConnectWithoutOrganizationInput | UserCreateOrConnectWithoutOrganizationInput[] + createMany?: UserCreateManyOrganizationInputEnvelope + connect?: UserWhereUniqueInput | UserWhereUniqueInput[] } - export type OrganizationListRelationFilter = { - every?: OrganizationWhereInput - some?: OrganizationWhereInput - none?: OrganizationWhereInput + export type ReportUncheckedCreateNestedManyWithoutOrganizationInput = { + create?: XOR | ReportCreateWithoutOrganizationInput[] | ReportUncheckedCreateWithoutOrganizationInput[] + connectOrCreate?: ReportCreateOrConnectWithoutOrganizationInput | ReportCreateOrConnectWithoutOrganizationInput[] + createMany?: ReportCreateManyOrganizationInputEnvelope + connect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] } - export type OrganizationOwnerListRelationFilter = { - every?: OrganizationOwnerWhereInput - some?: OrganizationOwnerWhereInput - none?: OrganizationOwnerWhereInput + export type OrganizationOwnerUncheckedCreateNestedManyWithoutOrganizationInput = { + create?: XOR | OrganizationOwnerCreateWithoutOrganizationInput[] | OrganizationOwnerUncheckedCreateWithoutOrganizationInput[] + connectOrCreate?: OrganizationOwnerCreateOrConnectWithoutOrganizationInput | OrganizationOwnerCreateOrConnectWithoutOrganizationInput[] + createMany?: OrganizationOwnerCreateManyOrganizationInputEnvelope + connect?: OrganizationOwnerWhereUniqueInput | OrganizationOwnerWhereUniqueInput[] } - export type DepartmentListRelationFilter = { - every?: DepartmentWhereInput - some?: DepartmentWhereInput - none?: DepartmentWhereInput + export type TaskTemplateUncheckedCreateNestedManyWithoutOrganizationInput = { + create?: XOR | TaskTemplateCreateWithoutOrganizationInput[] | TaskTemplateUncheckedCreateWithoutOrganizationInput[] + connectOrCreate?: TaskTemplateCreateOrConnectWithoutOrganizationInput | TaskTemplateCreateOrConnectWithoutOrganizationInput[] + createMany?: TaskTemplateCreateManyOrganizationInputEnvelope + connect?: TaskTemplateWhereUniqueInput | TaskTemplateWhereUniqueInput[] } - export type TeamListRelationFilter = { - every?: TeamWhereInput - some?: TeamWhereInput - none?: TeamWhereInput + export type ActivityLogUncheckedCreateNestedManyWithoutOrganizationInput = { + create?: XOR | ActivityLogCreateWithoutOrganizationInput[] | ActivityLogUncheckedCreateWithoutOrganizationInput[] + connectOrCreate?: ActivityLogCreateOrConnectWithoutOrganizationInput | ActivityLogCreateOrConnectWithoutOrganizationInput[] + createMany?: ActivityLogCreateManyOrganizationInputEnvelope + connect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] } - export type TeamMemberListRelationFilter = { - every?: TeamMemberWhereInput - some?: TeamMemberWhereInput - none?: TeamMemberWhereInput + export type UserUpdateOneRequiredWithoutCreatedOrganizationsNestedInput = { + create?: XOR + connectOrCreate?: UserCreateOrConnectWithoutCreatedOrganizationsInput + upsert?: UserUpsertWithoutCreatedOrganizationsInput + connect?: UserWhereUniqueInput + update?: XOR, UserUncheckedUpdateWithoutCreatedOrganizationsInput> } - export type ProjectMemberListRelationFilter = { - every?: ProjectMemberWhereInput - some?: ProjectMemberWhereInput - none?: ProjectMemberWhereInput + export type DepartmentUpdateManyWithoutOrganizationNestedInput = { + create?: XOR | DepartmentCreateWithoutOrganizationInput[] | DepartmentUncheckedCreateWithoutOrganizationInput[] + connectOrCreate?: DepartmentCreateOrConnectWithoutOrganizationInput | DepartmentCreateOrConnectWithoutOrganizationInput[] + upsert?: DepartmentUpsertWithWhereUniqueWithoutOrganizationInput | DepartmentUpsertWithWhereUniqueWithoutOrganizationInput[] + createMany?: DepartmentCreateManyOrganizationInputEnvelope + set?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[] + disconnect?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[] + delete?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[] + connect?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[] + update?: DepartmentUpdateWithWhereUniqueWithoutOrganizationInput | DepartmentUpdateWithWhereUniqueWithoutOrganizationInput[] + updateMany?: DepartmentUpdateManyWithWhereWithoutOrganizationInput | DepartmentUpdateManyWithWhereWithoutOrganizationInput[] + deleteMany?: DepartmentScalarWhereInput | DepartmentScalarWhereInput[] } - export type ProjectListRelationFilter = { - every?: ProjectWhereInput - some?: ProjectWhereInput - none?: ProjectWhereInput + export type TeamUpdateManyWithoutOrganizationNestedInput = { + create?: XOR | TeamCreateWithoutOrganizationInput[] | TeamUncheckedCreateWithoutOrganizationInput[] + connectOrCreate?: TeamCreateOrConnectWithoutOrganizationInput | TeamCreateOrConnectWithoutOrganizationInput[] + upsert?: TeamUpsertWithWhereUniqueWithoutOrganizationInput | TeamUpsertWithWhereUniqueWithoutOrganizationInput[] + createMany?: TeamCreateManyOrganizationInputEnvelope + set?: TeamWhereUniqueInput | TeamWhereUniqueInput[] + disconnect?: TeamWhereUniqueInput | TeamWhereUniqueInput[] + delete?: TeamWhereUniqueInput | TeamWhereUniqueInput[] + connect?: TeamWhereUniqueInput | TeamWhereUniqueInput[] + update?: TeamUpdateWithWhereUniqueWithoutOrganizationInput | TeamUpdateWithWhereUniqueWithoutOrganizationInput[] + updateMany?: TeamUpdateManyWithWhereWithoutOrganizationInput | TeamUpdateManyWithWhereWithoutOrganizationInput[] + deleteMany?: TeamScalarWhereInput | TeamScalarWhereInput[] + } + + export type ProjectUpdateManyWithoutOrganizationNestedInput = { + create?: XOR | ProjectCreateWithoutOrganizationInput[] | ProjectUncheckedCreateWithoutOrganizationInput[] + connectOrCreate?: ProjectCreateOrConnectWithoutOrganizationInput | ProjectCreateOrConnectWithoutOrganizationInput[] + upsert?: ProjectUpsertWithWhereUniqueWithoutOrganizationInput | ProjectUpsertWithWhereUniqueWithoutOrganizationInput[] + createMany?: ProjectCreateManyOrganizationInputEnvelope + set?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] + disconnect?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] + delete?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] + connect?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] + update?: ProjectUpdateWithWhereUniqueWithoutOrganizationInput | ProjectUpdateWithWhereUniqueWithoutOrganizationInput[] + updateMany?: ProjectUpdateManyWithWhereWithoutOrganizationInput | ProjectUpdateManyWithWhereWithoutOrganizationInput[] + deleteMany?: ProjectScalarWhereInput | ProjectScalarWhereInput[] } - export type TaskListRelationFilter = { - every?: TaskWhereInput - some?: TaskWhereInput - none?: TaskWhereInput + export type UserUpdateManyWithoutOrganizationNestedInput = { + create?: XOR | UserCreateWithoutOrganizationInput[] | UserUncheckedCreateWithoutOrganizationInput[] + connectOrCreate?: UserCreateOrConnectWithoutOrganizationInput | UserCreateOrConnectWithoutOrganizationInput[] + upsert?: UserUpsertWithWhereUniqueWithoutOrganizationInput | UserUpsertWithWhereUniqueWithoutOrganizationInput[] + createMany?: UserCreateManyOrganizationInputEnvelope + set?: UserWhereUniqueInput | UserWhereUniqueInput[] + disconnect?: UserWhereUniqueInput | UserWhereUniqueInput[] + delete?: UserWhereUniqueInput | UserWhereUniqueInput[] + connect?: UserWhereUniqueInput | UserWhereUniqueInput[] + update?: UserUpdateWithWhereUniqueWithoutOrganizationInput | UserUpdateWithWhereUniqueWithoutOrganizationInput[] + updateMany?: UserUpdateManyWithWhereWithoutOrganizationInput | UserUpdateManyWithWhereWithoutOrganizationInput[] + deleteMany?: UserScalarWhereInput | UserScalarWhereInput[] } - export type NotificationListRelationFilter = { - every?: NotificationWhereInput - some?: NotificationWhereInput - none?: NotificationWhereInput + export type ReportUpdateManyWithoutOrganizationNestedInput = { + create?: XOR | ReportCreateWithoutOrganizationInput[] | ReportUncheckedCreateWithoutOrganizationInput[] + connectOrCreate?: ReportCreateOrConnectWithoutOrganizationInput | ReportCreateOrConnectWithoutOrganizationInput[] + upsert?: ReportUpsertWithWhereUniqueWithoutOrganizationInput | ReportUpsertWithWhereUniqueWithoutOrganizationInput[] + createMany?: ReportCreateManyOrganizationInputEnvelope + set?: ReportWhereUniqueInput | ReportWhereUniqueInput[] + disconnect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] + delete?: ReportWhereUniqueInput | ReportWhereUniqueInput[] + connect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] + update?: ReportUpdateWithWhereUniqueWithoutOrganizationInput | ReportUpdateWithWhereUniqueWithoutOrganizationInput[] + updateMany?: ReportUpdateManyWithWhereWithoutOrganizationInput | ReportUpdateManyWithWhereWithoutOrganizationInput[] + deleteMany?: ReportScalarWhereInput | ReportScalarWhereInput[] } - export type TimelogListRelationFilter = { - every?: TimelogWhereInput - some?: TimelogWhereInput - none?: TimelogWhereInput + export type OrganizationOwnerUpdateManyWithoutOrganizationNestedInput = { + create?: XOR | OrganizationOwnerCreateWithoutOrganizationInput[] | OrganizationOwnerUncheckedCreateWithoutOrganizationInput[] + connectOrCreate?: OrganizationOwnerCreateOrConnectWithoutOrganizationInput | OrganizationOwnerCreateOrConnectWithoutOrganizationInput[] + upsert?: OrganizationOwnerUpsertWithWhereUniqueWithoutOrganizationInput | OrganizationOwnerUpsertWithWhereUniqueWithoutOrganizationInput[] + createMany?: OrganizationOwnerCreateManyOrganizationInputEnvelope + set?: OrganizationOwnerWhereUniqueInput | OrganizationOwnerWhereUniqueInput[] + disconnect?: OrganizationOwnerWhereUniqueInput | OrganizationOwnerWhereUniqueInput[] + delete?: OrganizationOwnerWhereUniqueInput | OrganizationOwnerWhereUniqueInput[] + connect?: OrganizationOwnerWhereUniqueInput | OrganizationOwnerWhereUniqueInput[] + update?: OrganizationOwnerUpdateWithWhereUniqueWithoutOrganizationInput | OrganizationOwnerUpdateWithWhereUniqueWithoutOrganizationInput[] + updateMany?: OrganizationOwnerUpdateManyWithWhereWithoutOrganizationInput | OrganizationOwnerUpdateManyWithWhereWithoutOrganizationInput[] + deleteMany?: OrganizationOwnerScalarWhereInput | OrganizationOwnerScalarWhereInput[] } - export type CommentListRelationFilter = { - every?: CommentWhereInput - some?: CommentWhereInput - none?: CommentWhereInput + export type TaskTemplateUpdateManyWithoutOrganizationNestedInput = { + create?: XOR | TaskTemplateCreateWithoutOrganizationInput[] | TaskTemplateUncheckedCreateWithoutOrganizationInput[] + connectOrCreate?: TaskTemplateCreateOrConnectWithoutOrganizationInput | TaskTemplateCreateOrConnectWithoutOrganizationInput[] + upsert?: TaskTemplateUpsertWithWhereUniqueWithoutOrganizationInput | TaskTemplateUpsertWithWhereUniqueWithoutOrganizationInput[] + createMany?: TaskTemplateCreateManyOrganizationInputEnvelope + set?: TaskTemplateWhereUniqueInput | TaskTemplateWhereUniqueInput[] + disconnect?: TaskTemplateWhereUniqueInput | TaskTemplateWhereUniqueInput[] + delete?: TaskTemplateWhereUniqueInput | TaskTemplateWhereUniqueInput[] + connect?: TaskTemplateWhereUniqueInput | TaskTemplateWhereUniqueInput[] + update?: TaskTemplateUpdateWithWhereUniqueWithoutOrganizationInput | TaskTemplateUpdateWithWhereUniqueWithoutOrganizationInput[] + updateMany?: TaskTemplateUpdateManyWithWhereWithoutOrganizationInput | TaskTemplateUpdateManyWithWhereWithoutOrganizationInput[] + deleteMany?: TaskTemplateScalarWhereInput | TaskTemplateScalarWhereInput[] } - export type TaskAttachmentListRelationFilter = { - every?: TaskAttachmentWhereInput - some?: TaskAttachmentWhereInput - none?: TaskAttachmentWhereInput + export type ActivityLogUpdateManyWithoutOrganizationNestedInput = { + create?: XOR | ActivityLogCreateWithoutOrganizationInput[] | ActivityLogUncheckedCreateWithoutOrganizationInput[] + connectOrCreate?: ActivityLogCreateOrConnectWithoutOrganizationInput | ActivityLogCreateOrConnectWithoutOrganizationInput[] + upsert?: ActivityLogUpsertWithWhereUniqueWithoutOrganizationInput | ActivityLogUpsertWithWhereUniqueWithoutOrganizationInput[] + createMany?: ActivityLogCreateManyOrganizationInputEnvelope + set?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] + disconnect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] + delete?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] + connect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] + update?: ActivityLogUpdateWithWhereUniqueWithoutOrganizationInput | ActivityLogUpdateWithWhereUniqueWithoutOrganizationInput[] + updateMany?: ActivityLogUpdateManyWithWhereWithoutOrganizationInput | ActivityLogUpdateManyWithWhereWithoutOrganizationInput[] + deleteMany?: ActivityLogScalarWhereInput | ActivityLogScalarWhereInput[] } - export type ReportListRelationFilter = { - every?: ReportWhereInput - some?: ReportWhereInput - none?: ReportWhereInput + export type DepartmentUncheckedUpdateManyWithoutOrganizationNestedInput = { + create?: XOR | DepartmentCreateWithoutOrganizationInput[] | DepartmentUncheckedCreateWithoutOrganizationInput[] + connectOrCreate?: DepartmentCreateOrConnectWithoutOrganizationInput | DepartmentCreateOrConnectWithoutOrganizationInput[] + upsert?: DepartmentUpsertWithWhereUniqueWithoutOrganizationInput | DepartmentUpsertWithWhereUniqueWithoutOrganizationInput[] + createMany?: DepartmentCreateManyOrganizationInputEnvelope + set?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[] + disconnect?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[] + delete?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[] + connect?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[] + update?: DepartmentUpdateWithWhereUniqueWithoutOrganizationInput | DepartmentUpdateWithWhereUniqueWithoutOrganizationInput[] + updateMany?: DepartmentUpdateManyWithWhereWithoutOrganizationInput | DepartmentUpdateManyWithWhereWithoutOrganizationInput[] + deleteMany?: DepartmentScalarWhereInput | DepartmentScalarWhereInput[] } - export type PermissionListRelationFilter = { - every?: PermissionWhereInput - some?: PermissionWhereInput - none?: PermissionWhereInput + export type TeamUncheckedUpdateManyWithoutOrganizationNestedInput = { + create?: XOR | TeamCreateWithoutOrganizationInput[] | TeamUncheckedCreateWithoutOrganizationInput[] + connectOrCreate?: TeamCreateOrConnectWithoutOrganizationInput | TeamCreateOrConnectWithoutOrganizationInput[] + upsert?: TeamUpsertWithWhereUniqueWithoutOrganizationInput | TeamUpsertWithWhereUniqueWithoutOrganizationInput[] + createMany?: TeamCreateManyOrganizationInputEnvelope + set?: TeamWhereUniqueInput | TeamWhereUniqueInput[] + disconnect?: TeamWhereUniqueInput | TeamWhereUniqueInput[] + delete?: TeamWhereUniqueInput | TeamWhereUniqueInput[] + connect?: TeamWhereUniqueInput | TeamWhereUniqueInput[] + update?: TeamUpdateWithWhereUniqueWithoutOrganizationInput | TeamUpdateWithWhereUniqueWithoutOrganizationInput[] + updateMany?: TeamUpdateManyWithWhereWithoutOrganizationInput | TeamUpdateManyWithWhereWithoutOrganizationInput[] + deleteMany?: TeamScalarWhereInput | TeamScalarWhereInput[] } - export type ActivityLogListRelationFilter = { - every?: ActivityLogWhereInput - some?: ActivityLogWhereInput - none?: ActivityLogWhereInput + export type ProjectUncheckedUpdateManyWithoutOrganizationNestedInput = { + create?: XOR | ProjectCreateWithoutOrganizationInput[] | ProjectUncheckedCreateWithoutOrganizationInput[] + connectOrCreate?: ProjectCreateOrConnectWithoutOrganizationInput | ProjectCreateOrConnectWithoutOrganizationInput[] + upsert?: ProjectUpsertWithWhereUniqueWithoutOrganizationInput | ProjectUpsertWithWhereUniqueWithoutOrganizationInput[] + createMany?: ProjectCreateManyOrganizationInputEnvelope + set?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] + disconnect?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] + delete?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] + connect?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] + update?: ProjectUpdateWithWhereUniqueWithoutOrganizationInput | ProjectUpdateWithWhereUniqueWithoutOrganizationInput[] + updateMany?: ProjectUpdateManyWithWhereWithoutOrganizationInput | ProjectUpdateManyWithWhereWithoutOrganizationInput[] + deleteMany?: ProjectScalarWhereInput | ProjectScalarWhereInput[] } - export type ReportNotificationListRelationFilter = { - every?: ReportNotificationWhereInput - some?: ReportNotificationWhereInput - none?: ReportNotificationWhereInput + export type UserUncheckedUpdateManyWithoutOrganizationNestedInput = { + create?: XOR | UserCreateWithoutOrganizationInput[] | UserUncheckedCreateWithoutOrganizationInput[] + connectOrCreate?: UserCreateOrConnectWithoutOrganizationInput | UserCreateOrConnectWithoutOrganizationInput[] + upsert?: UserUpsertWithWhereUniqueWithoutOrganizationInput | UserUpsertWithWhereUniqueWithoutOrganizationInput[] + createMany?: UserCreateManyOrganizationInputEnvelope + set?: UserWhereUniqueInput | UserWhereUniqueInput[] + disconnect?: UserWhereUniqueInput | UserWhereUniqueInput[] + delete?: UserWhereUniqueInput | UserWhereUniqueInput[] + connect?: UserWhereUniqueInput | UserWhereUniqueInput[] + update?: UserUpdateWithWhereUniqueWithoutOrganizationInput | UserUpdateWithWhereUniqueWithoutOrganizationInput[] + updateMany?: UserUpdateManyWithWhereWithoutOrganizationInput | UserUpdateManyWithWhereWithoutOrganizationInput[] + deleteMany?: UserScalarWhereInput | UserScalarWhereInput[] } - export type SortOrderInput = { - sort: SortOrder - nulls?: NullsOrder + export type ReportUncheckedUpdateManyWithoutOrganizationNestedInput = { + create?: XOR | ReportCreateWithoutOrganizationInput[] | ReportUncheckedCreateWithoutOrganizationInput[] + connectOrCreate?: ReportCreateOrConnectWithoutOrganizationInput | ReportCreateOrConnectWithoutOrganizationInput[] + upsert?: ReportUpsertWithWhereUniqueWithoutOrganizationInput | ReportUpsertWithWhereUniqueWithoutOrganizationInput[] + createMany?: ReportCreateManyOrganizationInputEnvelope + set?: ReportWhereUniqueInput | ReportWhereUniqueInput[] + disconnect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] + delete?: ReportWhereUniqueInput | ReportWhereUniqueInput[] + connect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] + update?: ReportUpdateWithWhereUniqueWithoutOrganizationInput | ReportUpdateWithWhereUniqueWithoutOrganizationInput[] + updateMany?: ReportUpdateManyWithWhereWithoutOrganizationInput | ReportUpdateManyWithWhereWithoutOrganizationInput[] + deleteMany?: ReportScalarWhereInput | ReportScalarWhereInput[] } - export type OrganizationOrderByRelationAggregateInput = { - _count?: SortOrder + export type OrganizationOwnerUncheckedUpdateManyWithoutOrganizationNestedInput = { + create?: XOR | OrganizationOwnerCreateWithoutOrganizationInput[] | OrganizationOwnerUncheckedCreateWithoutOrganizationInput[] + connectOrCreate?: OrganizationOwnerCreateOrConnectWithoutOrganizationInput | OrganizationOwnerCreateOrConnectWithoutOrganizationInput[] + upsert?: OrganizationOwnerUpsertWithWhereUniqueWithoutOrganizationInput | OrganizationOwnerUpsertWithWhereUniqueWithoutOrganizationInput[] + createMany?: OrganizationOwnerCreateManyOrganizationInputEnvelope + set?: OrganizationOwnerWhereUniqueInput | OrganizationOwnerWhereUniqueInput[] + disconnect?: OrganizationOwnerWhereUniqueInput | OrganizationOwnerWhereUniqueInput[] + delete?: OrganizationOwnerWhereUniqueInput | OrganizationOwnerWhereUniqueInput[] + connect?: OrganizationOwnerWhereUniqueInput | OrganizationOwnerWhereUniqueInput[] + update?: OrganizationOwnerUpdateWithWhereUniqueWithoutOrganizationInput | OrganizationOwnerUpdateWithWhereUniqueWithoutOrganizationInput[] + updateMany?: OrganizationOwnerUpdateManyWithWhereWithoutOrganizationInput | OrganizationOwnerUpdateManyWithWhereWithoutOrganizationInput[] + deleteMany?: OrganizationOwnerScalarWhereInput | OrganizationOwnerScalarWhereInput[] } - export type OrganizationOwnerOrderByRelationAggregateInput = { - _count?: SortOrder + export type TaskTemplateUncheckedUpdateManyWithoutOrganizationNestedInput = { + create?: XOR | TaskTemplateCreateWithoutOrganizationInput[] | TaskTemplateUncheckedCreateWithoutOrganizationInput[] + connectOrCreate?: TaskTemplateCreateOrConnectWithoutOrganizationInput | TaskTemplateCreateOrConnectWithoutOrganizationInput[] + upsert?: TaskTemplateUpsertWithWhereUniqueWithoutOrganizationInput | TaskTemplateUpsertWithWhereUniqueWithoutOrganizationInput[] + createMany?: TaskTemplateCreateManyOrganizationInputEnvelope + set?: TaskTemplateWhereUniqueInput | TaskTemplateWhereUniqueInput[] + disconnect?: TaskTemplateWhereUniqueInput | TaskTemplateWhereUniqueInput[] + delete?: TaskTemplateWhereUniqueInput | TaskTemplateWhereUniqueInput[] + connect?: TaskTemplateWhereUniqueInput | TaskTemplateWhereUniqueInput[] + update?: TaskTemplateUpdateWithWhereUniqueWithoutOrganizationInput | TaskTemplateUpdateWithWhereUniqueWithoutOrganizationInput[] + updateMany?: TaskTemplateUpdateManyWithWhereWithoutOrganizationInput | TaskTemplateUpdateManyWithWhereWithoutOrganizationInput[] + deleteMany?: TaskTemplateScalarWhereInput | TaskTemplateScalarWhereInput[] } - export type DepartmentOrderByRelationAggregateInput = { - _count?: SortOrder + export type ActivityLogUncheckedUpdateManyWithoutOrganizationNestedInput = { + create?: XOR | ActivityLogCreateWithoutOrganizationInput[] | ActivityLogUncheckedCreateWithoutOrganizationInput[] + connectOrCreate?: ActivityLogCreateOrConnectWithoutOrganizationInput | ActivityLogCreateOrConnectWithoutOrganizationInput[] + upsert?: ActivityLogUpsertWithWhereUniqueWithoutOrganizationInput | ActivityLogUpsertWithWhereUniqueWithoutOrganizationInput[] + createMany?: ActivityLogCreateManyOrganizationInputEnvelope + set?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] + disconnect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] + delete?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] + connect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] + update?: ActivityLogUpdateWithWhereUniqueWithoutOrganizationInput | ActivityLogUpdateWithWhereUniqueWithoutOrganizationInput[] + updateMany?: ActivityLogUpdateManyWithWhereWithoutOrganizationInput | ActivityLogUpdateManyWithWhereWithoutOrganizationInput[] + deleteMany?: ActivityLogScalarWhereInput | ActivityLogScalarWhereInput[] } - export type TeamOrderByRelationAggregateInput = { - _count?: SortOrder + export type OrganizationCreateNestedOneWithoutOwnersInput = { + create?: XOR + connectOrCreate?: OrganizationCreateOrConnectWithoutOwnersInput + connect?: OrganizationWhereUniqueInput } - export type TeamMemberOrderByRelationAggregateInput = { - _count?: SortOrder + export type UserCreateNestedOneWithoutOwnedOrganizationsInput = { + create?: XOR + connectOrCreate?: UserCreateOrConnectWithoutOwnedOrganizationsInput + connect?: UserWhereUniqueInput } - export type ProjectMemberOrderByRelationAggregateInput = { - _count?: SortOrder + export type OrganizationUpdateOneRequiredWithoutOwnersNestedInput = { + create?: XOR + connectOrCreate?: OrganizationCreateOrConnectWithoutOwnersInput + upsert?: OrganizationUpsertWithoutOwnersInput + connect?: OrganizationWhereUniqueInput + update?: XOR, OrganizationUncheckedUpdateWithoutOwnersInput> } - export type ProjectOrderByRelationAggregateInput = { - _count?: SortOrder + export type UserUpdateOneRequiredWithoutOwnedOrganizationsNestedInput = { + create?: XOR + connectOrCreate?: UserCreateOrConnectWithoutOwnedOrganizationsInput + upsert?: UserUpsertWithoutOwnedOrganizationsInput + connect?: UserWhereUniqueInput + update?: XOR, UserUncheckedUpdateWithoutOwnedOrganizationsInput> } - export type TaskOrderByRelationAggregateInput = { - _count?: SortOrder + export type OrganizationCreateNestedOneWithoutDepartmentsInput = { + create?: XOR + connectOrCreate?: OrganizationCreateOrConnectWithoutDepartmentsInput + connect?: OrganizationWhereUniqueInput } - export type NotificationOrderByRelationAggregateInput = { - _count?: SortOrder + export type UserCreateNestedOneWithoutManagedDepartmentsInput = { + create?: XOR + connectOrCreate?: UserCreateOrConnectWithoutManagedDepartmentsInput + connect?: UserWhereUniqueInput } - export type TimelogOrderByRelationAggregateInput = { - _count?: SortOrder + export type TeamCreateNestedManyWithoutDepartmentInput = { + create?: XOR | TeamCreateWithoutDepartmentInput[] | TeamUncheckedCreateWithoutDepartmentInput[] + connectOrCreate?: TeamCreateOrConnectWithoutDepartmentInput | TeamCreateOrConnectWithoutDepartmentInput[] + createMany?: TeamCreateManyDepartmentInputEnvelope + connect?: TeamWhereUniqueInput | TeamWhereUniqueInput[] } - export type CommentOrderByRelationAggregateInput = { - _count?: SortOrder + export type UserCreateNestedManyWithoutDepartmentInput = { + create?: XOR | UserCreateWithoutDepartmentInput[] | UserUncheckedCreateWithoutDepartmentInput[] + connectOrCreate?: UserCreateOrConnectWithoutDepartmentInput | UserCreateOrConnectWithoutDepartmentInput[] + createMany?: UserCreateManyDepartmentInputEnvelope + connect?: UserWhereUniqueInput | UserWhereUniqueInput[] } - export type TaskAttachmentOrderByRelationAggregateInput = { - _count?: SortOrder + export type ActivityLogCreateNestedManyWithoutDepartmentInput = { + create?: XOR | ActivityLogCreateWithoutDepartmentInput[] | ActivityLogUncheckedCreateWithoutDepartmentInput[] + connectOrCreate?: ActivityLogCreateOrConnectWithoutDepartmentInput | ActivityLogCreateOrConnectWithoutDepartmentInput[] + createMany?: ActivityLogCreateManyDepartmentInputEnvelope + connect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] } - export type ReportOrderByRelationAggregateInput = { - _count?: SortOrder + export type ReportCreateNestedManyWithoutDepartmentInput = { + create?: XOR | ReportCreateWithoutDepartmentInput[] | ReportUncheckedCreateWithoutDepartmentInput[] + connectOrCreate?: ReportCreateOrConnectWithoutDepartmentInput | ReportCreateOrConnectWithoutDepartmentInput[] + createMany?: ReportCreateManyDepartmentInputEnvelope + connect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] } - export type PermissionOrderByRelationAggregateInput = { - _count?: SortOrder + export type TeamUncheckedCreateNestedManyWithoutDepartmentInput = { + create?: XOR | TeamCreateWithoutDepartmentInput[] | TeamUncheckedCreateWithoutDepartmentInput[] + connectOrCreate?: TeamCreateOrConnectWithoutDepartmentInput | TeamCreateOrConnectWithoutDepartmentInput[] + createMany?: TeamCreateManyDepartmentInputEnvelope + connect?: TeamWhereUniqueInput | TeamWhereUniqueInput[] } - export type ActivityLogOrderByRelationAggregateInput = { - _count?: SortOrder + export type UserUncheckedCreateNestedManyWithoutDepartmentInput = { + create?: XOR | UserCreateWithoutDepartmentInput[] | UserUncheckedCreateWithoutDepartmentInput[] + connectOrCreate?: UserCreateOrConnectWithoutDepartmentInput | UserCreateOrConnectWithoutDepartmentInput[] + createMany?: UserCreateManyDepartmentInputEnvelope + connect?: UserWhereUniqueInput | UserWhereUniqueInput[] } - export type ReportNotificationOrderByRelationAggregateInput = { - _count?: SortOrder + export type ActivityLogUncheckedCreateNestedManyWithoutDepartmentInput = { + create?: XOR | ActivityLogCreateWithoutDepartmentInput[] | ActivityLogUncheckedCreateWithoutDepartmentInput[] + connectOrCreate?: ActivityLogCreateOrConnectWithoutDepartmentInput | ActivityLogCreateOrConnectWithoutDepartmentInput[] + createMany?: ActivityLogCreateManyDepartmentInputEnvelope + connect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] } - export type UserCountOrderByAggregateInput = { - id?: SortOrder - email?: SortOrder - username?: SortOrder - password?: SortOrder - firebaseUid?: SortOrder - firstName?: SortOrder - lastName?: SortOrder - role?: SortOrder - profilePic?: SortOrder - departmentId?: SortOrder - organizationId?: SortOrder - isOwner?: SortOrder - createdAt?: SortOrder - updatedAt?: SortOrder - isActive?: SortOrder - deletedAt?: SortOrder - phoneNumber?: SortOrder - jobTitle?: SortOrder - timezone?: SortOrder - bio?: SortOrder - preferences?: SortOrder - emailVerificationToken?: SortOrder - emailVerificationExpires?: SortOrder - passwordResetToken?: SortOrder - passwordResetExpires?: SortOrder - refreshToken?: SortOrder - lastLogin?: SortOrder - lastLogout?: SortOrder + export type ReportUncheckedCreateNestedManyWithoutDepartmentInput = { + create?: XOR | ReportCreateWithoutDepartmentInput[] | ReportUncheckedCreateWithoutDepartmentInput[] + connectOrCreate?: ReportCreateOrConnectWithoutDepartmentInput | ReportCreateOrConnectWithoutDepartmentInput[] + createMany?: ReportCreateManyDepartmentInputEnvelope + connect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] } - export type UserMaxOrderByAggregateInput = { - id?: SortOrder - email?: SortOrder - username?: SortOrder - password?: SortOrder - firebaseUid?: SortOrder - firstName?: SortOrder - lastName?: SortOrder - role?: SortOrder - profilePic?: SortOrder - departmentId?: SortOrder - organizationId?: SortOrder - isOwner?: SortOrder - createdAt?: SortOrder - updatedAt?: SortOrder - isActive?: SortOrder - deletedAt?: SortOrder - phoneNumber?: SortOrder - jobTitle?: SortOrder - timezone?: SortOrder - bio?: SortOrder - emailVerificationToken?: SortOrder - emailVerificationExpires?: SortOrder - passwordResetToken?: SortOrder - passwordResetExpires?: SortOrder - refreshToken?: SortOrder - lastLogin?: SortOrder - lastLogout?: SortOrder + export type OrganizationUpdateOneRequiredWithoutDepartmentsNestedInput = { + create?: XOR + connectOrCreate?: OrganizationCreateOrConnectWithoutDepartmentsInput + upsert?: OrganizationUpsertWithoutDepartmentsInput + connect?: OrganizationWhereUniqueInput + update?: XOR, OrganizationUncheckedUpdateWithoutDepartmentsInput> } - export type UserMinOrderByAggregateInput = { - id?: SortOrder - email?: SortOrder - username?: SortOrder - password?: SortOrder - firebaseUid?: SortOrder - firstName?: SortOrder - lastName?: SortOrder - role?: SortOrder - profilePic?: SortOrder - departmentId?: SortOrder - organizationId?: SortOrder - isOwner?: SortOrder - createdAt?: SortOrder - updatedAt?: SortOrder - isActive?: SortOrder - deletedAt?: SortOrder - phoneNumber?: SortOrder - jobTitle?: SortOrder - timezone?: SortOrder - bio?: SortOrder - emailVerificationToken?: SortOrder - emailVerificationExpires?: SortOrder - passwordResetToken?: SortOrder - passwordResetExpires?: SortOrder - refreshToken?: SortOrder - lastLogin?: SortOrder - lastLogout?: SortOrder + export type UserUpdateOneRequiredWithoutManagedDepartmentsNestedInput = { + create?: XOR + connectOrCreate?: UserCreateOrConnectWithoutManagedDepartmentsInput + upsert?: UserUpsertWithoutManagedDepartmentsInput + connect?: UserWhereUniqueInput + update?: XOR, UserUncheckedUpdateWithoutManagedDepartmentsInput> } - export type UuidWithAggregatesFilter<$PrismaModel = never> = { - equals?: string | StringFieldRefInput<$PrismaModel> - in?: string[] | ListStringFieldRefInput<$PrismaModel> - notIn?: string[] | ListStringFieldRefInput<$PrismaModel> - lt?: string | StringFieldRefInput<$PrismaModel> - lte?: string | StringFieldRefInput<$PrismaModel> - gt?: string | StringFieldRefInput<$PrismaModel> - gte?: string | StringFieldRefInput<$PrismaModel> - mode?: QueryMode - not?: NestedUuidWithAggregatesFilter<$PrismaModel> | string - _count?: NestedIntFilter<$PrismaModel> - _min?: NestedStringFilter<$PrismaModel> - _max?: NestedStringFilter<$PrismaModel> + export type TeamUpdateManyWithoutDepartmentNestedInput = { + create?: XOR | TeamCreateWithoutDepartmentInput[] | TeamUncheckedCreateWithoutDepartmentInput[] + connectOrCreate?: TeamCreateOrConnectWithoutDepartmentInput | TeamCreateOrConnectWithoutDepartmentInput[] + upsert?: TeamUpsertWithWhereUniqueWithoutDepartmentInput | TeamUpsertWithWhereUniqueWithoutDepartmentInput[] + createMany?: TeamCreateManyDepartmentInputEnvelope + set?: TeamWhereUniqueInput | TeamWhereUniqueInput[] + disconnect?: TeamWhereUniqueInput | TeamWhereUniqueInput[] + delete?: TeamWhereUniqueInput | TeamWhereUniqueInput[] + connect?: TeamWhereUniqueInput | TeamWhereUniqueInput[] + update?: TeamUpdateWithWhereUniqueWithoutDepartmentInput | TeamUpdateWithWhereUniqueWithoutDepartmentInput[] + updateMany?: TeamUpdateManyWithWhereWithoutDepartmentInput | TeamUpdateManyWithWhereWithoutDepartmentInput[] + deleteMany?: TeamScalarWhereInput | TeamScalarWhereInput[] } - export type StringWithAggregatesFilter<$PrismaModel = never> = { - equals?: string | StringFieldRefInput<$PrismaModel> - in?: string[] | ListStringFieldRefInput<$PrismaModel> - notIn?: string[] | ListStringFieldRefInput<$PrismaModel> - lt?: string | StringFieldRefInput<$PrismaModel> - lte?: string | StringFieldRefInput<$PrismaModel> - gt?: string | StringFieldRefInput<$PrismaModel> - gte?: string | StringFieldRefInput<$PrismaModel> - contains?: string | StringFieldRefInput<$PrismaModel> - startsWith?: string | StringFieldRefInput<$PrismaModel> - endsWith?: string | StringFieldRefInput<$PrismaModel> - mode?: QueryMode - not?: NestedStringWithAggregatesFilter<$PrismaModel> | string - _count?: NestedIntFilter<$PrismaModel> - _min?: NestedStringFilter<$PrismaModel> - _max?: NestedStringFilter<$PrismaModel> + export type UserUpdateManyWithoutDepartmentNestedInput = { + create?: XOR | UserCreateWithoutDepartmentInput[] | UserUncheckedCreateWithoutDepartmentInput[] + connectOrCreate?: UserCreateOrConnectWithoutDepartmentInput | UserCreateOrConnectWithoutDepartmentInput[] + upsert?: UserUpsertWithWhereUniqueWithoutDepartmentInput | UserUpsertWithWhereUniqueWithoutDepartmentInput[] + createMany?: UserCreateManyDepartmentInputEnvelope + set?: UserWhereUniqueInput | UserWhereUniqueInput[] + disconnect?: UserWhereUniqueInput | UserWhereUniqueInput[] + delete?: UserWhereUniqueInput | UserWhereUniqueInput[] + connect?: UserWhereUniqueInput | UserWhereUniqueInput[] + update?: UserUpdateWithWhereUniqueWithoutDepartmentInput | UserUpdateWithWhereUniqueWithoutDepartmentInput[] + updateMany?: UserUpdateManyWithWhereWithoutDepartmentInput | UserUpdateManyWithWhereWithoutDepartmentInput[] + deleteMany?: UserScalarWhereInput | UserScalarWhereInput[] } - export type StringNullableWithAggregatesFilter<$PrismaModel = never> = { - equals?: string | StringFieldRefInput<$PrismaModel> | null - in?: string[] | ListStringFieldRefInput<$PrismaModel> | null - notIn?: string[] | ListStringFieldRefInput<$PrismaModel> | null - lt?: string | StringFieldRefInput<$PrismaModel> - lte?: string | StringFieldRefInput<$PrismaModel> - gt?: string | StringFieldRefInput<$PrismaModel> - gte?: string | StringFieldRefInput<$PrismaModel> - contains?: string | StringFieldRefInput<$PrismaModel> - startsWith?: string | StringFieldRefInput<$PrismaModel> - endsWith?: string | StringFieldRefInput<$PrismaModel> - mode?: QueryMode - not?: NestedStringNullableWithAggregatesFilter<$PrismaModel> | string | null - _count?: NestedIntNullableFilter<$PrismaModel> - _min?: NestedStringNullableFilter<$PrismaModel> - _max?: NestedStringNullableFilter<$PrismaModel> + export type ActivityLogUpdateManyWithoutDepartmentNestedInput = { + create?: XOR | ActivityLogCreateWithoutDepartmentInput[] | ActivityLogUncheckedCreateWithoutDepartmentInput[] + connectOrCreate?: ActivityLogCreateOrConnectWithoutDepartmentInput | ActivityLogCreateOrConnectWithoutDepartmentInput[] + upsert?: ActivityLogUpsertWithWhereUniqueWithoutDepartmentInput | ActivityLogUpsertWithWhereUniqueWithoutDepartmentInput[] + createMany?: ActivityLogCreateManyDepartmentInputEnvelope + set?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] + disconnect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] + delete?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] + connect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] + update?: ActivityLogUpdateWithWhereUniqueWithoutDepartmentInput | ActivityLogUpdateWithWhereUniqueWithoutDepartmentInput[] + updateMany?: ActivityLogUpdateManyWithWhereWithoutDepartmentInput | ActivityLogUpdateManyWithWhereWithoutDepartmentInput[] + deleteMany?: ActivityLogScalarWhereInput | ActivityLogScalarWhereInput[] } - export type EnumUserRoleWithAggregatesFilter<$PrismaModel = never> = { - equals?: $Enums.UserRole | EnumUserRoleFieldRefInput<$PrismaModel> - in?: $Enums.UserRole[] | ListEnumUserRoleFieldRefInput<$PrismaModel> - notIn?: $Enums.UserRole[] | ListEnumUserRoleFieldRefInput<$PrismaModel> - not?: NestedEnumUserRoleWithAggregatesFilter<$PrismaModel> | $Enums.UserRole - _count?: NestedIntFilter<$PrismaModel> - _min?: NestedEnumUserRoleFilter<$PrismaModel> - _max?: NestedEnumUserRoleFilter<$PrismaModel> + export type ReportUpdateManyWithoutDepartmentNestedInput = { + create?: XOR | ReportCreateWithoutDepartmentInput[] | ReportUncheckedCreateWithoutDepartmentInput[] + connectOrCreate?: ReportCreateOrConnectWithoutDepartmentInput | ReportCreateOrConnectWithoutDepartmentInput[] + upsert?: ReportUpsertWithWhereUniqueWithoutDepartmentInput | ReportUpsertWithWhereUniqueWithoutDepartmentInput[] + createMany?: ReportCreateManyDepartmentInputEnvelope + set?: ReportWhereUniqueInput | ReportWhereUniqueInput[] + disconnect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] + delete?: ReportWhereUniqueInput | ReportWhereUniqueInput[] + connect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] + update?: ReportUpdateWithWhereUniqueWithoutDepartmentInput | ReportUpdateWithWhereUniqueWithoutDepartmentInput[] + updateMany?: ReportUpdateManyWithWhereWithoutDepartmentInput | ReportUpdateManyWithWhereWithoutDepartmentInput[] + deleteMany?: ReportScalarWhereInput | ReportScalarWhereInput[] } - export type UuidNullableWithAggregatesFilter<$PrismaModel = never> = { - equals?: string | StringFieldRefInput<$PrismaModel> | null - in?: string[] | ListStringFieldRefInput<$PrismaModel> | null - notIn?: string[] | ListStringFieldRefInput<$PrismaModel> | null - lt?: string | StringFieldRefInput<$PrismaModel> - lte?: string | StringFieldRefInput<$PrismaModel> - gt?: string | StringFieldRefInput<$PrismaModel> - gte?: string | StringFieldRefInput<$PrismaModel> - mode?: QueryMode - not?: NestedUuidNullableWithAggregatesFilter<$PrismaModel> | string | null - _count?: NestedIntNullableFilter<$PrismaModel> - _min?: NestedStringNullableFilter<$PrismaModel> - _max?: NestedStringNullableFilter<$PrismaModel> + export type TeamUncheckedUpdateManyWithoutDepartmentNestedInput = { + create?: XOR | TeamCreateWithoutDepartmentInput[] | TeamUncheckedCreateWithoutDepartmentInput[] + connectOrCreate?: TeamCreateOrConnectWithoutDepartmentInput | TeamCreateOrConnectWithoutDepartmentInput[] + upsert?: TeamUpsertWithWhereUniqueWithoutDepartmentInput | TeamUpsertWithWhereUniqueWithoutDepartmentInput[] + createMany?: TeamCreateManyDepartmentInputEnvelope + set?: TeamWhereUniqueInput | TeamWhereUniqueInput[] + disconnect?: TeamWhereUniqueInput | TeamWhereUniqueInput[] + delete?: TeamWhereUniqueInput | TeamWhereUniqueInput[] + connect?: TeamWhereUniqueInput | TeamWhereUniqueInput[] + update?: TeamUpdateWithWhereUniqueWithoutDepartmentInput | TeamUpdateWithWhereUniqueWithoutDepartmentInput[] + updateMany?: TeamUpdateManyWithWhereWithoutDepartmentInput | TeamUpdateManyWithWhereWithoutDepartmentInput[] + deleteMany?: TeamScalarWhereInput | TeamScalarWhereInput[] } - export type BoolWithAggregatesFilter<$PrismaModel = never> = { - equals?: boolean | BooleanFieldRefInput<$PrismaModel> - not?: NestedBoolWithAggregatesFilter<$PrismaModel> | boolean - _count?: NestedIntFilter<$PrismaModel> - _min?: NestedBoolFilter<$PrismaModel> - _max?: NestedBoolFilter<$PrismaModel> + export type UserUncheckedUpdateManyWithoutDepartmentNestedInput = { + create?: XOR | UserCreateWithoutDepartmentInput[] | UserUncheckedCreateWithoutDepartmentInput[] + connectOrCreate?: UserCreateOrConnectWithoutDepartmentInput | UserCreateOrConnectWithoutDepartmentInput[] + upsert?: UserUpsertWithWhereUniqueWithoutDepartmentInput | UserUpsertWithWhereUniqueWithoutDepartmentInput[] + createMany?: UserCreateManyDepartmentInputEnvelope + set?: UserWhereUniqueInput | UserWhereUniqueInput[] + disconnect?: UserWhereUniqueInput | UserWhereUniqueInput[] + delete?: UserWhereUniqueInput | UserWhereUniqueInput[] + connect?: UserWhereUniqueInput | UserWhereUniqueInput[] + update?: UserUpdateWithWhereUniqueWithoutDepartmentInput | UserUpdateWithWhereUniqueWithoutDepartmentInput[] + updateMany?: UserUpdateManyWithWhereWithoutDepartmentInput | UserUpdateManyWithWhereWithoutDepartmentInput[] + deleteMany?: UserScalarWhereInput | UserScalarWhereInput[] } - export type DateTimeWithAggregatesFilter<$PrismaModel = never> = { - equals?: Date | string | DateTimeFieldRefInput<$PrismaModel> - in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> - notIn?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> - lt?: Date | string | DateTimeFieldRefInput<$PrismaModel> - lte?: Date | string | DateTimeFieldRefInput<$PrismaModel> - gt?: Date | string | DateTimeFieldRefInput<$PrismaModel> - gte?: Date | string | DateTimeFieldRefInput<$PrismaModel> - not?: NestedDateTimeWithAggregatesFilter<$PrismaModel> | Date | string - _count?: NestedIntFilter<$PrismaModel> - _min?: NestedDateTimeFilter<$PrismaModel> - _max?: NestedDateTimeFilter<$PrismaModel> + export type ActivityLogUncheckedUpdateManyWithoutDepartmentNestedInput = { + create?: XOR | ActivityLogCreateWithoutDepartmentInput[] | ActivityLogUncheckedCreateWithoutDepartmentInput[] + connectOrCreate?: ActivityLogCreateOrConnectWithoutDepartmentInput | ActivityLogCreateOrConnectWithoutDepartmentInput[] + upsert?: ActivityLogUpsertWithWhereUniqueWithoutDepartmentInput | ActivityLogUpsertWithWhereUniqueWithoutDepartmentInput[] + createMany?: ActivityLogCreateManyDepartmentInputEnvelope + set?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] + disconnect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] + delete?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] + connect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] + update?: ActivityLogUpdateWithWhereUniqueWithoutDepartmentInput | ActivityLogUpdateWithWhereUniqueWithoutDepartmentInput[] + updateMany?: ActivityLogUpdateManyWithWhereWithoutDepartmentInput | ActivityLogUpdateManyWithWhereWithoutDepartmentInput[] + deleteMany?: ActivityLogScalarWhereInput | ActivityLogScalarWhereInput[] } - export type DateTimeNullableWithAggregatesFilter<$PrismaModel = never> = { - equals?: Date | string | DateTimeFieldRefInput<$PrismaModel> | null - in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null - notIn?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null - lt?: Date | string | DateTimeFieldRefInput<$PrismaModel> - lte?: Date | string | DateTimeFieldRefInput<$PrismaModel> - gt?: Date | string | DateTimeFieldRefInput<$PrismaModel> - gte?: Date | string | DateTimeFieldRefInput<$PrismaModel> - not?: NestedDateTimeNullableWithAggregatesFilter<$PrismaModel> | Date | string | null - _count?: NestedIntNullableFilter<$PrismaModel> - _min?: NestedDateTimeNullableFilter<$PrismaModel> - _max?: NestedDateTimeNullableFilter<$PrismaModel> + export type ReportUncheckedUpdateManyWithoutDepartmentNestedInput = { + create?: XOR | ReportCreateWithoutDepartmentInput[] | ReportUncheckedCreateWithoutDepartmentInput[] + connectOrCreate?: ReportCreateOrConnectWithoutDepartmentInput | ReportCreateOrConnectWithoutDepartmentInput[] + upsert?: ReportUpsertWithWhereUniqueWithoutDepartmentInput | ReportUpsertWithWhereUniqueWithoutDepartmentInput[] + createMany?: ReportCreateManyDepartmentInputEnvelope + set?: ReportWhereUniqueInput | ReportWhereUniqueInput[] + disconnect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] + delete?: ReportWhereUniqueInput | ReportWhereUniqueInput[] + connect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] + update?: ReportUpdateWithWhereUniqueWithoutDepartmentInput | ReportUpdateWithWhereUniqueWithoutDepartmentInput[] + updateMany?: ReportUpdateManyWithWhereWithoutDepartmentInput | ReportUpdateManyWithWhereWithoutDepartmentInput[] + deleteMany?: ReportScalarWhereInput | ReportScalarWhereInput[] } - export type JsonNullableWithAggregatesFilter<$PrismaModel = never> = - | PatchUndefined< - Either>, Exclude>, 'path'>>, - Required> - > - | OptionalFlat>, 'path'>> - export type JsonNullableWithAggregatesFilterBase<$PrismaModel = never> = { - equals?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter - path?: string[] - mode?: QueryMode | EnumQueryModeFieldRefInput<$PrismaModel> - string_contains?: string | StringFieldRefInput<$PrismaModel> - string_starts_with?: string | StringFieldRefInput<$PrismaModel> - string_ends_with?: string | StringFieldRefInput<$PrismaModel> - array_starts_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null - array_ends_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null - array_contains?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null - lt?: InputJsonValue | JsonFieldRefInput<$PrismaModel> - lte?: InputJsonValue | JsonFieldRefInput<$PrismaModel> - gt?: InputJsonValue | JsonFieldRefInput<$PrismaModel> - gte?: InputJsonValue | JsonFieldRefInput<$PrismaModel> - not?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter - _count?: NestedIntNullableFilter<$PrismaModel> - _min?: NestedJsonNullableFilter<$PrismaModel> - _max?: NestedJsonNullableFilter<$PrismaModel> + export type UserCreateNestedOneWithoutCreatedTeamsInput = { + create?: XOR + connectOrCreate?: UserCreateOrConnectWithoutCreatedTeamsInput + connect?: UserWhereUniqueInput } - export type UserScalarRelationFilter = { - is?: UserWhereInput - isNot?: UserWhereInput + export type OrganizationCreateNestedOneWithoutTeamsInput = { + create?: XOR + connectOrCreate?: OrganizationCreateOrConnectWithoutTeamsInput + connect?: OrganizationWhereUniqueInput } - export type UserListRelationFilter = { - every?: UserWhereInput - some?: UserWhereInput - none?: UserWhereInput + export type DepartmentCreateNestedOneWithoutTeamsInput = { + create?: XOR + connectOrCreate?: DepartmentCreateOrConnectWithoutTeamsInput + connect?: DepartmentWhereUniqueInput } - export type TaskTemplateListRelationFilter = { - every?: TaskTemplateWhereInput - some?: TaskTemplateWhereInput - none?: TaskTemplateWhereInput + export type TeamMemberCreateNestedManyWithoutTeamInput = { + create?: XOR | TeamMemberCreateWithoutTeamInput[] | TeamMemberUncheckedCreateWithoutTeamInput[] + connectOrCreate?: TeamMemberCreateOrConnectWithoutTeamInput | TeamMemberCreateOrConnectWithoutTeamInput[] + createMany?: TeamMemberCreateManyTeamInputEnvelope + connect?: TeamMemberWhereUniqueInput | TeamMemberWhereUniqueInput[] } - export type UserOrderByRelationAggregateInput = { - _count?: SortOrder + export type ProjectCreateNestedManyWithoutTeamInput = { + create?: XOR | ProjectCreateWithoutTeamInput[] | ProjectUncheckedCreateWithoutTeamInput[] + connectOrCreate?: ProjectCreateOrConnectWithoutTeamInput | ProjectCreateOrConnectWithoutTeamInput[] + createMany?: ProjectCreateManyTeamInputEnvelope + connect?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] } - export type TaskTemplateOrderByRelationAggregateInput = { - _count?: SortOrder + export type ReportCreateNestedManyWithoutTeamInput = { + create?: XOR | ReportCreateWithoutTeamInput[] | ReportUncheckedCreateWithoutTeamInput[] + connectOrCreate?: ReportCreateOrConnectWithoutTeamInput | ReportCreateOrConnectWithoutTeamInput[] + createMany?: ReportCreateManyTeamInputEnvelope + connect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] } - export type OrganizationCountOrderByAggregateInput = { - id?: SortOrder - name?: SortOrder - description?: SortOrder - industry?: SortOrder - sizeRange?: SortOrder - website?: SortOrder - logoUrl?: SortOrder - isVerified?: SortOrder - status?: SortOrder - createdAt?: SortOrder - updatedAt?: SortOrder - deletedAt?: SortOrder - createdBy?: SortOrder - address?: SortOrder - contactEmail?: SortOrder - contactPhone?: SortOrder - emailVerificationOTP?: SortOrder - emailVerificationExpires?: SortOrder + export type ActivityLogCreateNestedManyWithoutTeamInput = { + create?: XOR | ActivityLogCreateWithoutTeamInput[] | ActivityLogUncheckedCreateWithoutTeamInput[] + connectOrCreate?: ActivityLogCreateOrConnectWithoutTeamInput | ActivityLogCreateOrConnectWithoutTeamInput[] + createMany?: ActivityLogCreateManyTeamInputEnvelope + connect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] } - export type OrganizationMaxOrderByAggregateInput = { - id?: SortOrder - name?: SortOrder - description?: SortOrder - industry?: SortOrder - sizeRange?: SortOrder - website?: SortOrder - logoUrl?: SortOrder - isVerified?: SortOrder - status?: SortOrder - createdAt?: SortOrder - updatedAt?: SortOrder - deletedAt?: SortOrder - createdBy?: SortOrder - address?: SortOrder - contactEmail?: SortOrder - contactPhone?: SortOrder - emailVerificationOTP?: SortOrder - emailVerificationExpires?: SortOrder + export type TeamMemberUncheckedCreateNestedManyWithoutTeamInput = { + create?: XOR | TeamMemberCreateWithoutTeamInput[] | TeamMemberUncheckedCreateWithoutTeamInput[] + connectOrCreate?: TeamMemberCreateOrConnectWithoutTeamInput | TeamMemberCreateOrConnectWithoutTeamInput[] + createMany?: TeamMemberCreateManyTeamInputEnvelope + connect?: TeamMemberWhereUniqueInput | TeamMemberWhereUniqueInput[] } - export type OrganizationMinOrderByAggregateInput = { - id?: SortOrder - name?: SortOrder - description?: SortOrder - industry?: SortOrder - sizeRange?: SortOrder - website?: SortOrder - logoUrl?: SortOrder - isVerified?: SortOrder - status?: SortOrder - createdAt?: SortOrder - updatedAt?: SortOrder - deletedAt?: SortOrder - createdBy?: SortOrder - address?: SortOrder - contactEmail?: SortOrder - contactPhone?: SortOrder - emailVerificationOTP?: SortOrder - emailVerificationExpires?: SortOrder + export type ProjectUncheckedCreateNestedManyWithoutTeamInput = { + create?: XOR | ProjectCreateWithoutTeamInput[] | ProjectUncheckedCreateWithoutTeamInput[] + connectOrCreate?: ProjectCreateOrConnectWithoutTeamInput | ProjectCreateOrConnectWithoutTeamInput[] + createMany?: ProjectCreateManyTeamInputEnvelope + connect?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] } - export type OrganizationScalarRelationFilter = { - is?: OrganizationWhereInput - isNot?: OrganizationWhereInput + export type ReportUncheckedCreateNestedManyWithoutTeamInput = { + create?: XOR | ReportCreateWithoutTeamInput[] | ReportUncheckedCreateWithoutTeamInput[] + connectOrCreate?: ReportCreateOrConnectWithoutTeamInput | ReportCreateOrConnectWithoutTeamInput[] + createMany?: ReportCreateManyTeamInputEnvelope + connect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] } - export type OrganizationOwnerOrganizationIdUserIdCompoundUniqueInput = { - organizationId: string - userId: string + export type ActivityLogUncheckedCreateNestedManyWithoutTeamInput = { + create?: XOR | ActivityLogCreateWithoutTeamInput[] | ActivityLogUncheckedCreateWithoutTeamInput[] + connectOrCreate?: ActivityLogCreateOrConnectWithoutTeamInput | ActivityLogCreateOrConnectWithoutTeamInput[] + createMany?: ActivityLogCreateManyTeamInputEnvelope + connect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] } - export type OrganizationOwnerCountOrderByAggregateInput = { - id?: SortOrder - organizationId?: SortOrder - userId?: SortOrder - createdAt?: SortOrder - updatedAt?: SortOrder + export type UserUpdateOneRequiredWithoutCreatedTeamsNestedInput = { + create?: XOR + connectOrCreate?: UserCreateOrConnectWithoutCreatedTeamsInput + upsert?: UserUpsertWithoutCreatedTeamsInput + connect?: UserWhereUniqueInput + update?: XOR, UserUncheckedUpdateWithoutCreatedTeamsInput> } - export type OrganizationOwnerMaxOrderByAggregateInput = { - id?: SortOrder - organizationId?: SortOrder - userId?: SortOrder - createdAt?: SortOrder - updatedAt?: SortOrder + export type OrganizationUpdateOneRequiredWithoutTeamsNestedInput = { + create?: XOR + connectOrCreate?: OrganizationCreateOrConnectWithoutTeamsInput + upsert?: OrganizationUpsertWithoutTeamsInput + connect?: OrganizationWhereUniqueInput + update?: XOR, OrganizationUncheckedUpdateWithoutTeamsInput> } - export type OrganizationOwnerMinOrderByAggregateInput = { - id?: SortOrder - organizationId?: SortOrder - userId?: SortOrder - createdAt?: SortOrder - updatedAt?: SortOrder + export type DepartmentUpdateOneWithoutTeamsNestedInput = { + create?: XOR + connectOrCreate?: DepartmentCreateOrConnectWithoutTeamsInput + upsert?: DepartmentUpsertWithoutTeamsInput + disconnect?: DepartmentWhereInput | boolean + delete?: DepartmentWhereInput | boolean + connect?: DepartmentWhereUniqueInput + update?: XOR, DepartmentUncheckedUpdateWithoutTeamsInput> } - export type DepartmentOrganizationIdNameCompoundUniqueInput = { - organizationId: string - name: string + export type TeamMemberUpdateManyWithoutTeamNestedInput = { + create?: XOR | TeamMemberCreateWithoutTeamInput[] | TeamMemberUncheckedCreateWithoutTeamInput[] + connectOrCreate?: TeamMemberCreateOrConnectWithoutTeamInput | TeamMemberCreateOrConnectWithoutTeamInput[] + upsert?: TeamMemberUpsertWithWhereUniqueWithoutTeamInput | TeamMemberUpsertWithWhereUniqueWithoutTeamInput[] + createMany?: TeamMemberCreateManyTeamInputEnvelope + set?: TeamMemberWhereUniqueInput | TeamMemberWhereUniqueInput[] + disconnect?: TeamMemberWhereUniqueInput | TeamMemberWhereUniqueInput[] + delete?: TeamMemberWhereUniqueInput | TeamMemberWhereUniqueInput[] + connect?: TeamMemberWhereUniqueInput | TeamMemberWhereUniqueInput[] + update?: TeamMemberUpdateWithWhereUniqueWithoutTeamInput | TeamMemberUpdateWithWhereUniqueWithoutTeamInput[] + updateMany?: TeamMemberUpdateManyWithWhereWithoutTeamInput | TeamMemberUpdateManyWithWhereWithoutTeamInput[] + deleteMany?: TeamMemberScalarWhereInput | TeamMemberScalarWhereInput[] } - export type DepartmentCountOrderByAggregateInput = { - id?: SortOrder - name?: SortOrder - description?: SortOrder - organizationId?: SortOrder - managerId?: SortOrder - createdAt?: SortOrder - updatedAt?: SortOrder - deletedAt?: SortOrder + export type ProjectUpdateManyWithoutTeamNestedInput = { + create?: XOR | ProjectCreateWithoutTeamInput[] | ProjectUncheckedCreateWithoutTeamInput[] + connectOrCreate?: ProjectCreateOrConnectWithoutTeamInput | ProjectCreateOrConnectWithoutTeamInput[] + upsert?: ProjectUpsertWithWhereUniqueWithoutTeamInput | ProjectUpsertWithWhereUniqueWithoutTeamInput[] + createMany?: ProjectCreateManyTeamInputEnvelope + set?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] + disconnect?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] + delete?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] + connect?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] + update?: ProjectUpdateWithWhereUniqueWithoutTeamInput | ProjectUpdateWithWhereUniqueWithoutTeamInput[] + updateMany?: ProjectUpdateManyWithWhereWithoutTeamInput | ProjectUpdateManyWithWhereWithoutTeamInput[] + deleteMany?: ProjectScalarWhereInput | ProjectScalarWhereInput[] } - export type DepartmentMaxOrderByAggregateInput = { - id?: SortOrder - name?: SortOrder - description?: SortOrder - organizationId?: SortOrder - managerId?: SortOrder - createdAt?: SortOrder - updatedAt?: SortOrder - deletedAt?: SortOrder + export type ReportUpdateManyWithoutTeamNestedInput = { + create?: XOR | ReportCreateWithoutTeamInput[] | ReportUncheckedCreateWithoutTeamInput[] + connectOrCreate?: ReportCreateOrConnectWithoutTeamInput | ReportCreateOrConnectWithoutTeamInput[] + upsert?: ReportUpsertWithWhereUniqueWithoutTeamInput | ReportUpsertWithWhereUniqueWithoutTeamInput[] + createMany?: ReportCreateManyTeamInputEnvelope + set?: ReportWhereUniqueInput | ReportWhereUniqueInput[] + disconnect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] + delete?: ReportWhereUniqueInput | ReportWhereUniqueInput[] + connect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] + update?: ReportUpdateWithWhereUniqueWithoutTeamInput | ReportUpdateWithWhereUniqueWithoutTeamInput[] + updateMany?: ReportUpdateManyWithWhereWithoutTeamInput | ReportUpdateManyWithWhereWithoutTeamInput[] + deleteMany?: ReportScalarWhereInput | ReportScalarWhereInput[] } - export type DepartmentMinOrderByAggregateInput = { - id?: SortOrder - name?: SortOrder - description?: SortOrder - organizationId?: SortOrder - managerId?: SortOrder - createdAt?: SortOrder - updatedAt?: SortOrder - deletedAt?: SortOrder + export type ActivityLogUpdateManyWithoutTeamNestedInput = { + create?: XOR | ActivityLogCreateWithoutTeamInput[] | ActivityLogUncheckedCreateWithoutTeamInput[] + connectOrCreate?: ActivityLogCreateOrConnectWithoutTeamInput | ActivityLogCreateOrConnectWithoutTeamInput[] + upsert?: ActivityLogUpsertWithWhereUniqueWithoutTeamInput | ActivityLogUpsertWithWhereUniqueWithoutTeamInput[] + createMany?: ActivityLogCreateManyTeamInputEnvelope + set?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] + disconnect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] + delete?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] + connect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] + update?: ActivityLogUpdateWithWhereUniqueWithoutTeamInput | ActivityLogUpdateWithWhereUniqueWithoutTeamInput[] + updateMany?: ActivityLogUpdateManyWithWhereWithoutTeamInput | ActivityLogUpdateManyWithWhereWithoutTeamInput[] + deleteMany?: ActivityLogScalarWhereInput | ActivityLogScalarWhereInput[] } - export type TeamOrganizationIdNameCompoundUniqueInput = { - organizationId: string - name: string + export type TeamMemberUncheckedUpdateManyWithoutTeamNestedInput = { + create?: XOR | TeamMemberCreateWithoutTeamInput[] | TeamMemberUncheckedCreateWithoutTeamInput[] + connectOrCreate?: TeamMemberCreateOrConnectWithoutTeamInput | TeamMemberCreateOrConnectWithoutTeamInput[] + upsert?: TeamMemberUpsertWithWhereUniqueWithoutTeamInput | TeamMemberUpsertWithWhereUniqueWithoutTeamInput[] + createMany?: TeamMemberCreateManyTeamInputEnvelope + set?: TeamMemberWhereUniqueInput | TeamMemberWhereUniqueInput[] + disconnect?: TeamMemberWhereUniqueInput | TeamMemberWhereUniqueInput[] + delete?: TeamMemberWhereUniqueInput | TeamMemberWhereUniqueInput[] + connect?: TeamMemberWhereUniqueInput | TeamMemberWhereUniqueInput[] + update?: TeamMemberUpdateWithWhereUniqueWithoutTeamInput | TeamMemberUpdateWithWhereUniqueWithoutTeamInput[] + updateMany?: TeamMemberUpdateManyWithWhereWithoutTeamInput | TeamMemberUpdateManyWithWhereWithoutTeamInput[] + deleteMany?: TeamMemberScalarWhereInput | TeamMemberScalarWhereInput[] } - export type TeamCountOrderByAggregateInput = { - id?: SortOrder - name?: SortOrder - description?: SortOrder - createdBy?: SortOrder - organizationId?: SortOrder - departmentId?: SortOrder - createdAt?: SortOrder - updatedAt?: SortOrder - deletedAt?: SortOrder - avatar?: SortOrder + export type ProjectUncheckedUpdateManyWithoutTeamNestedInput = { + create?: XOR | ProjectCreateWithoutTeamInput[] | ProjectUncheckedCreateWithoutTeamInput[] + connectOrCreate?: ProjectCreateOrConnectWithoutTeamInput | ProjectCreateOrConnectWithoutTeamInput[] + upsert?: ProjectUpsertWithWhereUniqueWithoutTeamInput | ProjectUpsertWithWhereUniqueWithoutTeamInput[] + createMany?: ProjectCreateManyTeamInputEnvelope + set?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] + disconnect?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] + delete?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] + connect?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] + update?: ProjectUpdateWithWhereUniqueWithoutTeamInput | ProjectUpdateWithWhereUniqueWithoutTeamInput[] + updateMany?: ProjectUpdateManyWithWhereWithoutTeamInput | ProjectUpdateManyWithWhereWithoutTeamInput[] + deleteMany?: ProjectScalarWhereInput | ProjectScalarWhereInput[] } - export type TeamMaxOrderByAggregateInput = { - id?: SortOrder - name?: SortOrder - description?: SortOrder - createdBy?: SortOrder - organizationId?: SortOrder - departmentId?: SortOrder - createdAt?: SortOrder - updatedAt?: SortOrder - deletedAt?: SortOrder - avatar?: SortOrder + export type ReportUncheckedUpdateManyWithoutTeamNestedInput = { + create?: XOR | ReportCreateWithoutTeamInput[] | ReportUncheckedCreateWithoutTeamInput[] + connectOrCreate?: ReportCreateOrConnectWithoutTeamInput | ReportCreateOrConnectWithoutTeamInput[] + upsert?: ReportUpsertWithWhereUniqueWithoutTeamInput | ReportUpsertWithWhereUniqueWithoutTeamInput[] + createMany?: ReportCreateManyTeamInputEnvelope + set?: ReportWhereUniqueInput | ReportWhereUniqueInput[] + disconnect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] + delete?: ReportWhereUniqueInput | ReportWhereUniqueInput[] + connect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] + update?: ReportUpdateWithWhereUniqueWithoutTeamInput | ReportUpdateWithWhereUniqueWithoutTeamInput[] + updateMany?: ReportUpdateManyWithWhereWithoutTeamInput | ReportUpdateManyWithWhereWithoutTeamInput[] + deleteMany?: ReportScalarWhereInput | ReportScalarWhereInput[] } - export type TeamMinOrderByAggregateInput = { - id?: SortOrder - name?: SortOrder - description?: SortOrder - createdBy?: SortOrder - organizationId?: SortOrder - departmentId?: SortOrder - createdAt?: SortOrder - updatedAt?: SortOrder - deletedAt?: SortOrder - avatar?: SortOrder + export type ActivityLogUncheckedUpdateManyWithoutTeamNestedInput = { + create?: XOR | ActivityLogCreateWithoutTeamInput[] | ActivityLogUncheckedCreateWithoutTeamInput[] + connectOrCreate?: ActivityLogCreateOrConnectWithoutTeamInput | ActivityLogCreateOrConnectWithoutTeamInput[] + upsert?: ActivityLogUpsertWithWhereUniqueWithoutTeamInput | ActivityLogUpsertWithWhereUniqueWithoutTeamInput[] + createMany?: ActivityLogCreateManyTeamInputEnvelope + set?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] + disconnect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] + delete?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] + connect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] + update?: ActivityLogUpdateWithWhereUniqueWithoutTeamInput | ActivityLogUpdateWithWhereUniqueWithoutTeamInput[] + updateMany?: ActivityLogUpdateManyWithWhereWithoutTeamInput | ActivityLogUpdateManyWithWhereWithoutTeamInput[] + deleteMany?: ActivityLogScalarWhereInput | ActivityLogScalarWhereInput[] } - export type EnumTeamMemberRoleFilter<$PrismaModel = never> = { - equals?: $Enums.TeamMemberRole | EnumTeamMemberRoleFieldRefInput<$PrismaModel> - in?: $Enums.TeamMemberRole[] | ListEnumTeamMemberRoleFieldRefInput<$PrismaModel> - notIn?: $Enums.TeamMemberRole[] | ListEnumTeamMemberRoleFieldRefInput<$PrismaModel> - not?: NestedEnumTeamMemberRoleFilter<$PrismaModel> | $Enums.TeamMemberRole + export type TeamCreateNestedOneWithoutMembersInput = { + create?: XOR + connectOrCreate?: TeamCreateOrConnectWithoutMembersInput + connect?: TeamWhereUniqueInput } - export type TeamScalarRelationFilter = { - is?: TeamWhereInput - isNot?: TeamWhereInput + export type UserCreateNestedOneWithoutTeamMembershipsInput = { + create?: XOR + connectOrCreate?: UserCreateOrConnectWithoutTeamMembershipsInput + connect?: UserWhereUniqueInput } - export type TeamMemberTeamIdUserIdCompoundUniqueInput = { - teamId: string - userId: string + export type EnumTeamMemberRoleFieldUpdateOperationsInput = { + set?: $Enums.TeamMemberRole } - export type TeamMemberCountOrderByAggregateInput = { - id?: SortOrder - teamId?: SortOrder - userId?: SortOrder - role?: SortOrder - joinedAt?: SortOrder - isActive?: SortOrder - deletedAt?: SortOrder + export type TeamUpdateOneRequiredWithoutMembersNestedInput = { + create?: XOR + connectOrCreate?: TeamCreateOrConnectWithoutMembersInput + upsert?: TeamUpsertWithoutMembersInput + connect?: TeamWhereUniqueInput + update?: XOR, TeamUncheckedUpdateWithoutMembersInput> } - export type TeamMemberMaxOrderByAggregateInput = { - id?: SortOrder - teamId?: SortOrder - userId?: SortOrder - role?: SortOrder - joinedAt?: SortOrder - isActive?: SortOrder - deletedAt?: SortOrder + export type UserUpdateOneRequiredWithoutTeamMembershipsNestedInput = { + create?: XOR + connectOrCreate?: UserCreateOrConnectWithoutTeamMembershipsInput + upsert?: UserUpsertWithoutTeamMembershipsInput + connect?: UserWhereUniqueInput + update?: XOR, UserUncheckedUpdateWithoutTeamMembershipsInput> } - export type TeamMemberMinOrderByAggregateInput = { - id?: SortOrder - teamId?: SortOrder - userId?: SortOrder - role?: SortOrder - joinedAt?: SortOrder - isActive?: SortOrder - deletedAt?: SortOrder + export type UserCreateNestedOneWithoutCreatedProjectsInput = { + create?: XOR + connectOrCreate?: UserCreateOrConnectWithoutCreatedProjectsInput + connect?: UserWhereUniqueInput } - export type EnumTeamMemberRoleWithAggregatesFilter<$PrismaModel = never> = { - equals?: $Enums.TeamMemberRole | EnumTeamMemberRoleFieldRefInput<$PrismaModel> - in?: $Enums.TeamMemberRole[] | ListEnumTeamMemberRoleFieldRefInput<$PrismaModel> - notIn?: $Enums.TeamMemberRole[] | ListEnumTeamMemberRoleFieldRefInput<$PrismaModel> - not?: NestedEnumTeamMemberRoleWithAggregatesFilter<$PrismaModel> | $Enums.TeamMemberRole - _count?: NestedIntFilter<$PrismaModel> - _min?: NestedEnumTeamMemberRoleFilter<$PrismaModel> - _max?: NestedEnumTeamMemberRoleFilter<$PrismaModel> + export type UserCreateNestedOneWithoutModifiedProjectsInput = { + create?: XOR + connectOrCreate?: UserCreateOrConnectWithoutModifiedProjectsInput + connect?: UserWhereUniqueInput } - export type EnumTaskPriorityFilter<$PrismaModel = never> = { - equals?: $Enums.TaskPriority | EnumTaskPriorityFieldRefInput<$PrismaModel> - in?: $Enums.TaskPriority[] | ListEnumTaskPriorityFieldRefInput<$PrismaModel> - notIn?: $Enums.TaskPriority[] | ListEnumTaskPriorityFieldRefInput<$PrismaModel> - not?: NestedEnumTaskPriorityFilter<$PrismaModel> | $Enums.TaskPriority + export type OrganizationCreateNestedOneWithoutProjectsInput = { + create?: XOR + connectOrCreate?: OrganizationCreateOrConnectWithoutProjectsInput + connect?: OrganizationWhereUniqueInput } - export type FloatNullableFilter<$PrismaModel = never> = { - equals?: number | FloatFieldRefInput<$PrismaModel> | null - in?: number[] | ListFloatFieldRefInput<$PrismaModel> | null - notIn?: number[] | ListFloatFieldRefInput<$PrismaModel> | null - lt?: number | FloatFieldRefInput<$PrismaModel> - lte?: number | FloatFieldRefInput<$PrismaModel> - gt?: number | FloatFieldRefInput<$PrismaModel> - gte?: number | FloatFieldRefInput<$PrismaModel> - not?: NestedFloatNullableFilter<$PrismaModel> | number | null + export type TeamCreateNestedOneWithoutProjectsInput = { + create?: XOR + connectOrCreate?: TeamCreateOrConnectWithoutProjectsInput + connect?: TeamWhereUniqueInput } - export type UserNullableScalarRelationFilter = { - is?: UserWhereInput | null - isNot?: UserWhereInput | null + export type SprintCreateNestedManyWithoutProjectInput = { + create?: XOR | SprintCreateWithoutProjectInput[] | SprintUncheckedCreateWithoutProjectInput[] + connectOrCreate?: SprintCreateOrConnectWithoutProjectInput | SprintCreateOrConnectWithoutProjectInput[] + createMany?: SprintCreateManyProjectInputEnvelope + connect?: SprintWhereUniqueInput | SprintWhereUniqueInput[] } - export type SprintListRelationFilter = { - every?: SprintWhereInput - some?: SprintWhereInput - none?: SprintWhereInput + export type TaskCreateNestedManyWithoutProjectInput = { + create?: XOR | TaskCreateWithoutProjectInput[] | TaskUncheckedCreateWithoutProjectInput[] + connectOrCreate?: TaskCreateOrConnectWithoutProjectInput | TaskCreateOrConnectWithoutProjectInput[] + createMany?: TaskCreateManyProjectInputEnvelope + connect?: TaskWhereUniqueInput | TaskWhereUniqueInput[] } - export type SprintOrderByRelationAggregateInput = { - _count?: SortOrder + export type ReportCreateNestedManyWithoutProjectInput = { + create?: XOR | ReportCreateWithoutProjectInput[] | ReportUncheckedCreateWithoutProjectInput[] + connectOrCreate?: ReportCreateOrConnectWithoutProjectInput | ReportCreateOrConnectWithoutProjectInput[] + createMany?: ReportCreateManyProjectInputEnvelope + connect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] } - export type ProjectOrganizationIdNameCompoundUniqueInput = { - organizationId: string - name: string + export type ActivityLogCreateNestedManyWithoutProjectInput = { + create?: XOR | ActivityLogCreateWithoutProjectInput[] | ActivityLogUncheckedCreateWithoutProjectInput[] + connectOrCreate?: ActivityLogCreateOrConnectWithoutProjectInput | ActivityLogCreateOrConnectWithoutProjectInput[] + createMany?: ActivityLogCreateManyProjectInputEnvelope + connect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] } - export type ProjectCountOrderByAggregateInput = { - id?: SortOrder - name?: SortOrder - description?: SortOrder - status?: SortOrder - createdBy?: SortOrder - organizationId?: SortOrder - teamId?: SortOrder - startDate?: SortOrder - endDate?: SortOrder - createdAt?: SortOrder - updatedAt?: SortOrder - deletedAt?: SortOrder - priority?: SortOrder - progress?: SortOrder - budget?: SortOrder - lastModifiedBy?: SortOrder + export type ProjectMemberCreateNestedManyWithoutProjectInput = { + create?: XOR | ProjectMemberCreateWithoutProjectInput[] | ProjectMemberUncheckedCreateWithoutProjectInput[] + connectOrCreate?: ProjectMemberCreateOrConnectWithoutProjectInput | ProjectMemberCreateOrConnectWithoutProjectInput[] + createMany?: ProjectMemberCreateManyProjectInputEnvelope + connect?: ProjectMemberWhereUniqueInput | ProjectMemberWhereUniqueInput[] } - export type ProjectAvgOrderByAggregateInput = { - progress?: SortOrder - budget?: SortOrder + export type SprintUncheckedCreateNestedManyWithoutProjectInput = { + create?: XOR | SprintCreateWithoutProjectInput[] | SprintUncheckedCreateWithoutProjectInput[] + connectOrCreate?: SprintCreateOrConnectWithoutProjectInput | SprintCreateOrConnectWithoutProjectInput[] + createMany?: SprintCreateManyProjectInputEnvelope + connect?: SprintWhereUniqueInput | SprintWhereUniqueInput[] } - export type ProjectMaxOrderByAggregateInput = { - id?: SortOrder - name?: SortOrder - description?: SortOrder - status?: SortOrder - createdBy?: SortOrder - organizationId?: SortOrder - teamId?: SortOrder - startDate?: SortOrder - endDate?: SortOrder - createdAt?: SortOrder - updatedAt?: SortOrder - deletedAt?: SortOrder - priority?: SortOrder - progress?: SortOrder - budget?: SortOrder - lastModifiedBy?: SortOrder + export type TaskUncheckedCreateNestedManyWithoutProjectInput = { + create?: XOR | TaskCreateWithoutProjectInput[] | TaskUncheckedCreateWithoutProjectInput[] + connectOrCreate?: TaskCreateOrConnectWithoutProjectInput | TaskCreateOrConnectWithoutProjectInput[] + createMany?: TaskCreateManyProjectInputEnvelope + connect?: TaskWhereUniqueInput | TaskWhereUniqueInput[] } - export type ProjectMinOrderByAggregateInput = { - id?: SortOrder - name?: SortOrder - description?: SortOrder - status?: SortOrder - createdBy?: SortOrder - organizationId?: SortOrder - teamId?: SortOrder - startDate?: SortOrder - endDate?: SortOrder - createdAt?: SortOrder - updatedAt?: SortOrder - deletedAt?: SortOrder - priority?: SortOrder - progress?: SortOrder - budget?: SortOrder - lastModifiedBy?: SortOrder + export type ReportUncheckedCreateNestedManyWithoutProjectInput = { + create?: XOR | ReportCreateWithoutProjectInput[] | ReportUncheckedCreateWithoutProjectInput[] + connectOrCreate?: ReportCreateOrConnectWithoutProjectInput | ReportCreateOrConnectWithoutProjectInput[] + createMany?: ReportCreateManyProjectInputEnvelope + connect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] } - export type ProjectSumOrderByAggregateInput = { - progress?: SortOrder - budget?: SortOrder + export type ActivityLogUncheckedCreateNestedManyWithoutProjectInput = { + create?: XOR | ActivityLogCreateWithoutProjectInput[] | ActivityLogUncheckedCreateWithoutProjectInput[] + connectOrCreate?: ActivityLogCreateOrConnectWithoutProjectInput | ActivityLogCreateOrConnectWithoutProjectInput[] + createMany?: ActivityLogCreateManyProjectInputEnvelope + connect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] } - export type EnumTaskPriorityWithAggregatesFilter<$PrismaModel = never> = { - equals?: $Enums.TaskPriority | EnumTaskPriorityFieldRefInput<$PrismaModel> - in?: $Enums.TaskPriority[] | ListEnumTaskPriorityFieldRefInput<$PrismaModel> - notIn?: $Enums.TaskPriority[] | ListEnumTaskPriorityFieldRefInput<$PrismaModel> - not?: NestedEnumTaskPriorityWithAggregatesFilter<$PrismaModel> | $Enums.TaskPriority - _count?: NestedIntFilter<$PrismaModel> - _min?: NestedEnumTaskPriorityFilter<$PrismaModel> - _max?: NestedEnumTaskPriorityFilter<$PrismaModel> + export type ProjectMemberUncheckedCreateNestedManyWithoutProjectInput = { + create?: XOR | ProjectMemberCreateWithoutProjectInput[] | ProjectMemberUncheckedCreateWithoutProjectInput[] + connectOrCreate?: ProjectMemberCreateOrConnectWithoutProjectInput | ProjectMemberCreateOrConnectWithoutProjectInput[] + createMany?: ProjectMemberCreateManyProjectInputEnvelope + connect?: ProjectMemberWhereUniqueInput | ProjectMemberWhereUniqueInput[] } - export type FloatNullableWithAggregatesFilter<$PrismaModel = never> = { - equals?: number | FloatFieldRefInput<$PrismaModel> | null - in?: number[] | ListFloatFieldRefInput<$PrismaModel> | null - notIn?: number[] | ListFloatFieldRefInput<$PrismaModel> | null - lt?: number | FloatFieldRefInput<$PrismaModel> - lte?: number | FloatFieldRefInput<$PrismaModel> - gt?: number | FloatFieldRefInput<$PrismaModel> - gte?: number | FloatFieldRefInput<$PrismaModel> - not?: NestedFloatNullableWithAggregatesFilter<$PrismaModel> | number | null - _count?: NestedIntNullableFilter<$PrismaModel> - _avg?: NestedFloatNullableFilter<$PrismaModel> - _sum?: NestedFloatNullableFilter<$PrismaModel> - _min?: NestedFloatNullableFilter<$PrismaModel> - _max?: NestedFloatNullableFilter<$PrismaModel> + export type EnumTaskPriorityFieldUpdateOperationsInput = { + set?: $Enums.TaskPriority } - export type ProjectScalarRelationFilter = { - is?: ProjectWhereInput - isNot?: ProjectWhereInput + export type NullableFloatFieldUpdateOperationsInput = { + set?: number | null + increment?: number + decrement?: number + multiply?: number + divide?: number } - export type ProjectMemberProjectIdUserIdCompoundUniqueInput = { - projectId: string - userId: string + export type UserUpdateOneRequiredWithoutCreatedProjectsNestedInput = { + create?: XOR + connectOrCreate?: UserCreateOrConnectWithoutCreatedProjectsInput + upsert?: UserUpsertWithoutCreatedProjectsInput + connect?: UserWhereUniqueInput + update?: XOR, UserUncheckedUpdateWithoutCreatedProjectsInput> } - export type ProjectMemberCountOrderByAggregateInput = { - id?: SortOrder - projectId?: SortOrder - userId?: SortOrder - role?: SortOrder - isActive?: SortOrder - joinedAt?: SortOrder - leftAt?: SortOrder - deletedAt?: SortOrder + export type UserUpdateOneWithoutModifiedProjectsNestedInput = { + create?: XOR + connectOrCreate?: UserCreateOrConnectWithoutModifiedProjectsInput + upsert?: UserUpsertWithoutModifiedProjectsInput + disconnect?: UserWhereInput | boolean + delete?: UserWhereInput | boolean + connect?: UserWhereUniqueInput + update?: XOR, UserUncheckedUpdateWithoutModifiedProjectsInput> } - export type ProjectMemberMaxOrderByAggregateInput = { - id?: SortOrder - projectId?: SortOrder - userId?: SortOrder - role?: SortOrder - isActive?: SortOrder - joinedAt?: SortOrder - leftAt?: SortOrder - deletedAt?: SortOrder + export type OrganizationUpdateOneRequiredWithoutProjectsNestedInput = { + create?: XOR + connectOrCreate?: OrganizationCreateOrConnectWithoutProjectsInput + upsert?: OrganizationUpsertWithoutProjectsInput + connect?: OrganizationWhereUniqueInput + update?: XOR, OrganizationUncheckedUpdateWithoutProjectsInput> } - export type ProjectMemberMinOrderByAggregateInput = { - id?: SortOrder - projectId?: SortOrder - userId?: SortOrder - role?: SortOrder - isActive?: SortOrder - joinedAt?: SortOrder - leftAt?: SortOrder - deletedAt?: SortOrder + export type TeamUpdateOneRequiredWithoutProjectsNestedInput = { + create?: XOR + connectOrCreate?: TeamCreateOrConnectWithoutProjectsInput + upsert?: TeamUpsertWithoutProjectsInput + connect?: TeamWhereUniqueInput + update?: XOR, TeamUncheckedUpdateWithoutProjectsInput> } - export type IntFilter<$PrismaModel = never> = { - equals?: number | IntFieldRefInput<$PrismaModel> - in?: number[] | ListIntFieldRefInput<$PrismaModel> - notIn?: number[] | ListIntFieldRefInput<$PrismaModel> - lt?: number | IntFieldRefInput<$PrismaModel> - lte?: number | IntFieldRefInput<$PrismaModel> - gt?: number | IntFieldRefInput<$PrismaModel> - gte?: number | IntFieldRefInput<$PrismaModel> - not?: NestedIntFilter<$PrismaModel> | number + export type SprintUpdateManyWithoutProjectNestedInput = { + create?: XOR | SprintCreateWithoutProjectInput[] | SprintUncheckedCreateWithoutProjectInput[] + connectOrCreate?: SprintCreateOrConnectWithoutProjectInput | SprintCreateOrConnectWithoutProjectInput[] + upsert?: SprintUpsertWithWhereUniqueWithoutProjectInput | SprintUpsertWithWhereUniqueWithoutProjectInput[] + createMany?: SprintCreateManyProjectInputEnvelope + set?: SprintWhereUniqueInput | SprintWhereUniqueInput[] + disconnect?: SprintWhereUniqueInput | SprintWhereUniqueInput[] + delete?: SprintWhereUniqueInput | SprintWhereUniqueInput[] + connect?: SprintWhereUniqueInput | SprintWhereUniqueInput[] + update?: SprintUpdateWithWhereUniqueWithoutProjectInput | SprintUpdateWithWhereUniqueWithoutProjectInput[] + updateMany?: SprintUpdateManyWithWhereWithoutProjectInput | SprintUpdateManyWithWhereWithoutProjectInput[] + deleteMany?: SprintScalarWhereInput | SprintScalarWhereInput[] } - export type SprintProjectIdNameCompoundUniqueInput = { - projectId: string - name: string + export type TaskUpdateManyWithoutProjectNestedInput = { + create?: XOR | TaskCreateWithoutProjectInput[] | TaskUncheckedCreateWithoutProjectInput[] + connectOrCreate?: TaskCreateOrConnectWithoutProjectInput | TaskCreateOrConnectWithoutProjectInput[] + upsert?: TaskUpsertWithWhereUniqueWithoutProjectInput | TaskUpsertWithWhereUniqueWithoutProjectInput[] + createMany?: TaskCreateManyProjectInputEnvelope + set?: TaskWhereUniqueInput | TaskWhereUniqueInput[] + disconnect?: TaskWhereUniqueInput | TaskWhereUniqueInput[] + delete?: TaskWhereUniqueInput | TaskWhereUniqueInput[] + connect?: TaskWhereUniqueInput | TaskWhereUniqueInput[] + update?: TaskUpdateWithWhereUniqueWithoutProjectInput | TaskUpdateWithWhereUniqueWithoutProjectInput[] + updateMany?: TaskUpdateManyWithWhereWithoutProjectInput | TaskUpdateManyWithWhereWithoutProjectInput[] + deleteMany?: TaskScalarWhereInput | TaskScalarWhereInput[] } - export type SprintCountOrderByAggregateInput = { - id?: SortOrder - projectId?: SortOrder - name?: SortOrder - description?: SortOrder - startDate?: SortOrder - endDate?: SortOrder - status?: SortOrder - goal?: SortOrder - order?: SortOrder + export type ReportUpdateManyWithoutProjectNestedInput = { + create?: XOR | ReportCreateWithoutProjectInput[] | ReportUncheckedCreateWithoutProjectInput[] + connectOrCreate?: ReportCreateOrConnectWithoutProjectInput | ReportCreateOrConnectWithoutProjectInput[] + upsert?: ReportUpsertWithWhereUniqueWithoutProjectInput | ReportUpsertWithWhereUniqueWithoutProjectInput[] + createMany?: ReportCreateManyProjectInputEnvelope + set?: ReportWhereUniqueInput | ReportWhereUniqueInput[] + disconnect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] + delete?: ReportWhereUniqueInput | ReportWhereUniqueInput[] + connect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] + update?: ReportUpdateWithWhereUniqueWithoutProjectInput | ReportUpdateWithWhereUniqueWithoutProjectInput[] + updateMany?: ReportUpdateManyWithWhereWithoutProjectInput | ReportUpdateManyWithWhereWithoutProjectInput[] + deleteMany?: ReportScalarWhereInput | ReportScalarWhereInput[] } - export type SprintAvgOrderByAggregateInput = { - order?: SortOrder + export type ActivityLogUpdateManyWithoutProjectNestedInput = { + create?: XOR | ActivityLogCreateWithoutProjectInput[] | ActivityLogUncheckedCreateWithoutProjectInput[] + connectOrCreate?: ActivityLogCreateOrConnectWithoutProjectInput | ActivityLogCreateOrConnectWithoutProjectInput[] + upsert?: ActivityLogUpsertWithWhereUniqueWithoutProjectInput | ActivityLogUpsertWithWhereUniqueWithoutProjectInput[] + createMany?: ActivityLogCreateManyProjectInputEnvelope + set?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] + disconnect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] + delete?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] + connect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] + update?: ActivityLogUpdateWithWhereUniqueWithoutProjectInput | ActivityLogUpdateWithWhereUniqueWithoutProjectInput[] + updateMany?: ActivityLogUpdateManyWithWhereWithoutProjectInput | ActivityLogUpdateManyWithWhereWithoutProjectInput[] + deleteMany?: ActivityLogScalarWhereInput | ActivityLogScalarWhereInput[] } - export type SprintMaxOrderByAggregateInput = { - id?: SortOrder - projectId?: SortOrder - name?: SortOrder - description?: SortOrder - startDate?: SortOrder - endDate?: SortOrder - status?: SortOrder - goal?: SortOrder - order?: SortOrder + export type ProjectMemberUpdateManyWithoutProjectNestedInput = { + create?: XOR | ProjectMemberCreateWithoutProjectInput[] | ProjectMemberUncheckedCreateWithoutProjectInput[] + connectOrCreate?: ProjectMemberCreateOrConnectWithoutProjectInput | ProjectMemberCreateOrConnectWithoutProjectInput[] + upsert?: ProjectMemberUpsertWithWhereUniqueWithoutProjectInput | ProjectMemberUpsertWithWhereUniqueWithoutProjectInput[] + createMany?: ProjectMemberCreateManyProjectInputEnvelope + set?: ProjectMemberWhereUniqueInput | ProjectMemberWhereUniqueInput[] + disconnect?: ProjectMemberWhereUniqueInput | ProjectMemberWhereUniqueInput[] + delete?: ProjectMemberWhereUniqueInput | ProjectMemberWhereUniqueInput[] + connect?: ProjectMemberWhereUniqueInput | ProjectMemberWhereUniqueInput[] + update?: ProjectMemberUpdateWithWhereUniqueWithoutProjectInput | ProjectMemberUpdateWithWhereUniqueWithoutProjectInput[] + updateMany?: ProjectMemberUpdateManyWithWhereWithoutProjectInput | ProjectMemberUpdateManyWithWhereWithoutProjectInput[] + deleteMany?: ProjectMemberScalarWhereInput | ProjectMemberScalarWhereInput[] } - export type SprintMinOrderByAggregateInput = { - id?: SortOrder - projectId?: SortOrder - name?: SortOrder - description?: SortOrder - startDate?: SortOrder - endDate?: SortOrder - status?: SortOrder - goal?: SortOrder - order?: SortOrder + export type SprintUncheckedUpdateManyWithoutProjectNestedInput = { + create?: XOR | SprintCreateWithoutProjectInput[] | SprintUncheckedCreateWithoutProjectInput[] + connectOrCreate?: SprintCreateOrConnectWithoutProjectInput | SprintCreateOrConnectWithoutProjectInput[] + upsert?: SprintUpsertWithWhereUniqueWithoutProjectInput | SprintUpsertWithWhereUniqueWithoutProjectInput[] + createMany?: SprintCreateManyProjectInputEnvelope + set?: SprintWhereUniqueInput | SprintWhereUniqueInput[] + disconnect?: SprintWhereUniqueInput | SprintWhereUniqueInput[] + delete?: SprintWhereUniqueInput | SprintWhereUniqueInput[] + connect?: SprintWhereUniqueInput | SprintWhereUniqueInput[] + update?: SprintUpdateWithWhereUniqueWithoutProjectInput | SprintUpdateWithWhereUniqueWithoutProjectInput[] + updateMany?: SprintUpdateManyWithWhereWithoutProjectInput | SprintUpdateManyWithWhereWithoutProjectInput[] + deleteMany?: SprintScalarWhereInput | SprintScalarWhereInput[] } - export type SprintSumOrderByAggregateInput = { - order?: SortOrder + export type TaskUncheckedUpdateManyWithoutProjectNestedInput = { + create?: XOR | TaskCreateWithoutProjectInput[] | TaskUncheckedCreateWithoutProjectInput[] + connectOrCreate?: TaskCreateOrConnectWithoutProjectInput | TaskCreateOrConnectWithoutProjectInput[] + upsert?: TaskUpsertWithWhereUniqueWithoutProjectInput | TaskUpsertWithWhereUniqueWithoutProjectInput[] + createMany?: TaskCreateManyProjectInputEnvelope + set?: TaskWhereUniqueInput | TaskWhereUniqueInput[] + disconnect?: TaskWhereUniqueInput | TaskWhereUniqueInput[] + delete?: TaskWhereUniqueInput | TaskWhereUniqueInput[] + connect?: TaskWhereUniqueInput | TaskWhereUniqueInput[] + update?: TaskUpdateWithWhereUniqueWithoutProjectInput | TaskUpdateWithWhereUniqueWithoutProjectInput[] + updateMany?: TaskUpdateManyWithWhereWithoutProjectInput | TaskUpdateManyWithWhereWithoutProjectInput[] + deleteMany?: TaskScalarWhereInput | TaskScalarWhereInput[] } - export type IntWithAggregatesFilter<$PrismaModel = never> = { - equals?: number | IntFieldRefInput<$PrismaModel> - in?: number[] | ListIntFieldRefInput<$PrismaModel> - notIn?: number[] | ListIntFieldRefInput<$PrismaModel> - lt?: number | IntFieldRefInput<$PrismaModel> - lte?: number | IntFieldRefInput<$PrismaModel> - gt?: number | IntFieldRefInput<$PrismaModel> - gte?: number | IntFieldRefInput<$PrismaModel> - not?: NestedIntWithAggregatesFilter<$PrismaModel> | number - _count?: NestedIntFilter<$PrismaModel> - _avg?: NestedFloatFilter<$PrismaModel> - _sum?: NestedIntFilter<$PrismaModel> - _min?: NestedIntFilter<$PrismaModel> - _max?: NestedIntFilter<$PrismaModel> + export type ReportUncheckedUpdateManyWithoutProjectNestedInput = { + create?: XOR | ReportCreateWithoutProjectInput[] | ReportUncheckedCreateWithoutProjectInput[] + connectOrCreate?: ReportCreateOrConnectWithoutProjectInput | ReportCreateOrConnectWithoutProjectInput[] + upsert?: ReportUpsertWithWhereUniqueWithoutProjectInput | ReportUpsertWithWhereUniqueWithoutProjectInput[] + createMany?: ReportCreateManyProjectInputEnvelope + set?: ReportWhereUniqueInput | ReportWhereUniqueInput[] + disconnect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] + delete?: ReportWhereUniqueInput | ReportWhereUniqueInput[] + connect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] + update?: ReportUpdateWithWhereUniqueWithoutProjectInput | ReportUpdateWithWhereUniqueWithoutProjectInput[] + updateMany?: ReportUpdateManyWithWhereWithoutProjectInput | ReportUpdateManyWithWhereWithoutProjectInput[] + deleteMany?: ReportScalarWhereInput | ReportScalarWhereInput[] } - export type EnumTaskStatusFilter<$PrismaModel = never> = { - equals?: $Enums.TaskStatus | EnumTaskStatusFieldRefInput<$PrismaModel> - in?: $Enums.TaskStatus[] | ListEnumTaskStatusFieldRefInput<$PrismaModel> - notIn?: $Enums.TaskStatus[] | ListEnumTaskStatusFieldRefInput<$PrismaModel> - not?: NestedEnumTaskStatusFilter<$PrismaModel> | $Enums.TaskStatus + export type ActivityLogUncheckedUpdateManyWithoutProjectNestedInput = { + create?: XOR | ActivityLogCreateWithoutProjectInput[] | ActivityLogUncheckedCreateWithoutProjectInput[] + connectOrCreate?: ActivityLogCreateOrConnectWithoutProjectInput | ActivityLogCreateOrConnectWithoutProjectInput[] + upsert?: ActivityLogUpsertWithWhereUniqueWithoutProjectInput | ActivityLogUpsertWithWhereUniqueWithoutProjectInput[] + createMany?: ActivityLogCreateManyProjectInputEnvelope + set?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] + disconnect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] + delete?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] + connect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] + update?: ActivityLogUpdateWithWhereUniqueWithoutProjectInput | ActivityLogUpdateWithWhereUniqueWithoutProjectInput[] + updateMany?: ActivityLogUpdateManyWithWhereWithoutProjectInput | ActivityLogUpdateManyWithWhereWithoutProjectInput[] + deleteMany?: ActivityLogScalarWhereInput | ActivityLogScalarWhereInput[] } - export type StringNullableListFilter<$PrismaModel = never> = { - equals?: string[] | ListStringFieldRefInput<$PrismaModel> | null - has?: string | StringFieldRefInput<$PrismaModel> | null - hasEvery?: string[] | ListStringFieldRefInput<$PrismaModel> - hasSome?: string[] | ListStringFieldRefInput<$PrismaModel> - isEmpty?: boolean + export type ProjectMemberUncheckedUpdateManyWithoutProjectNestedInput = { + create?: XOR | ProjectMemberCreateWithoutProjectInput[] | ProjectMemberUncheckedCreateWithoutProjectInput[] + connectOrCreate?: ProjectMemberCreateOrConnectWithoutProjectInput | ProjectMemberCreateOrConnectWithoutProjectInput[] + upsert?: ProjectMemberUpsertWithWhereUniqueWithoutProjectInput | ProjectMemberUpsertWithWhereUniqueWithoutProjectInput[] + createMany?: ProjectMemberCreateManyProjectInputEnvelope + set?: ProjectMemberWhereUniqueInput | ProjectMemberWhereUniqueInput[] + disconnect?: ProjectMemberWhereUniqueInput | ProjectMemberWhereUniqueInput[] + delete?: ProjectMemberWhereUniqueInput | ProjectMemberWhereUniqueInput[] + connect?: ProjectMemberWhereUniqueInput | ProjectMemberWhereUniqueInput[] + update?: ProjectMemberUpdateWithWhereUniqueWithoutProjectInput | ProjectMemberUpdateWithWhereUniqueWithoutProjectInput[] + updateMany?: ProjectMemberUpdateManyWithWhereWithoutProjectInput | ProjectMemberUpdateManyWithWhereWithoutProjectInput[] + deleteMany?: ProjectMemberScalarWhereInput | ProjectMemberScalarWhereInput[] } - export type SprintNullableScalarRelationFilter = { - is?: SprintWhereInput | null - isNot?: SprintWhereInput | null + export type ProjectCreateNestedOneWithoutProjectMemberInput = { + create?: XOR + connectOrCreate?: ProjectCreateOrConnectWithoutProjectMemberInput + connect?: ProjectWhereUniqueInput } - export type TaskDependencyListRelationFilter = { - every?: TaskDependencyWhereInput - some?: TaskDependencyWhereInput - none?: TaskDependencyWhereInput + export type UserCreateNestedOneWithoutProjectMembershipsInput = { + create?: XOR + connectOrCreate?: UserCreateOrConnectWithoutProjectMembershipsInput + connect?: UserWhereUniqueInput } - export type TaskNullableScalarRelationFilter = { - is?: TaskWhereInput | null - isNot?: TaskWhereInput | null + export type ProjectUpdateOneRequiredWithoutProjectMemberNestedInput = { + create?: XOR + connectOrCreate?: ProjectCreateOrConnectWithoutProjectMemberInput + upsert?: ProjectUpsertWithoutProjectMemberInput + connect?: ProjectWhereUniqueInput + update?: XOR, ProjectUncheckedUpdateWithoutProjectMemberInput> } - export type TaskDependencyOrderByRelationAggregateInput = { - _count?: SortOrder + export type UserUpdateOneRequiredWithoutProjectMembershipsNestedInput = { + create?: XOR + connectOrCreate?: UserCreateOrConnectWithoutProjectMembershipsInput + upsert?: UserUpsertWithoutProjectMembershipsInput + connect?: UserWhereUniqueInput + update?: XOR, UserUncheckedUpdateWithoutProjectMembershipsInput> } - export type TaskCountOrderByAggregateInput = { - id?: SortOrder - title?: SortOrder - description?: SortOrder - priority?: SortOrder - status?: SortOrder - rate?: SortOrder - projectId?: SortOrder - sprintId?: SortOrder - createdBy?: SortOrder - assignedTo?: SortOrder - dueDate?: SortOrder - createdAt?: SortOrder - updatedAt?: SortOrder - deletedAt?: SortOrder - estimatedTime?: SortOrder - actualTime?: SortOrder - parentId?: SortOrder - order?: SortOrder - labels?: SortOrder - lastModifiedBy?: SortOrder + export type ProjectCreateNestedOneWithoutSprintsInput = { + create?: XOR + connectOrCreate?: ProjectCreateOrConnectWithoutSprintsInput + connect?: ProjectWhereUniqueInput } - export type TaskAvgOrderByAggregateInput = { - rate?: SortOrder - estimatedTime?: SortOrder - actualTime?: SortOrder - order?: SortOrder + export type TaskCreateNestedManyWithoutSprintInput = { + create?: XOR | TaskCreateWithoutSprintInput[] | TaskUncheckedCreateWithoutSprintInput[] + connectOrCreate?: TaskCreateOrConnectWithoutSprintInput | TaskCreateOrConnectWithoutSprintInput[] + createMany?: TaskCreateManySprintInputEnvelope + connect?: TaskWhereUniqueInput | TaskWhereUniqueInput[] } - export type TaskMaxOrderByAggregateInput = { - id?: SortOrder - title?: SortOrder - description?: SortOrder - priority?: SortOrder - status?: SortOrder - rate?: SortOrder - projectId?: SortOrder - sprintId?: SortOrder - createdBy?: SortOrder - assignedTo?: SortOrder - dueDate?: SortOrder - createdAt?: SortOrder - updatedAt?: SortOrder - deletedAt?: SortOrder - estimatedTime?: SortOrder - actualTime?: SortOrder - parentId?: SortOrder - order?: SortOrder - lastModifiedBy?: SortOrder + export type ActivityLogCreateNestedManyWithoutSprintInput = { + create?: XOR | ActivityLogCreateWithoutSprintInput[] | ActivityLogUncheckedCreateWithoutSprintInput[] + connectOrCreate?: ActivityLogCreateOrConnectWithoutSprintInput | ActivityLogCreateOrConnectWithoutSprintInput[] + createMany?: ActivityLogCreateManySprintInputEnvelope + connect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] + } + + export type TaskUncheckedCreateNestedManyWithoutSprintInput = { + create?: XOR | TaskCreateWithoutSprintInput[] | TaskUncheckedCreateWithoutSprintInput[] + connectOrCreate?: TaskCreateOrConnectWithoutSprintInput | TaskCreateOrConnectWithoutSprintInput[] + createMany?: TaskCreateManySprintInputEnvelope + connect?: TaskWhereUniqueInput | TaskWhereUniqueInput[] } - export type TaskMinOrderByAggregateInput = { - id?: SortOrder - title?: SortOrder - description?: SortOrder - priority?: SortOrder - status?: SortOrder - rate?: SortOrder - projectId?: SortOrder - sprintId?: SortOrder - createdBy?: SortOrder - assignedTo?: SortOrder - dueDate?: SortOrder - createdAt?: SortOrder - updatedAt?: SortOrder - deletedAt?: SortOrder - estimatedTime?: SortOrder - actualTime?: SortOrder - parentId?: SortOrder - order?: SortOrder - lastModifiedBy?: SortOrder + export type ActivityLogUncheckedCreateNestedManyWithoutSprintInput = { + create?: XOR | ActivityLogCreateWithoutSprintInput[] | ActivityLogUncheckedCreateWithoutSprintInput[] + connectOrCreate?: ActivityLogCreateOrConnectWithoutSprintInput | ActivityLogCreateOrConnectWithoutSprintInput[] + createMany?: ActivityLogCreateManySprintInputEnvelope + connect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] } - export type TaskSumOrderByAggregateInput = { - rate?: SortOrder - estimatedTime?: SortOrder - actualTime?: SortOrder - order?: SortOrder + export type IntFieldUpdateOperationsInput = { + set?: number + increment?: number + decrement?: number + multiply?: number + divide?: number } - export type EnumTaskStatusWithAggregatesFilter<$PrismaModel = never> = { - equals?: $Enums.TaskStatus | EnumTaskStatusFieldRefInput<$PrismaModel> - in?: $Enums.TaskStatus[] | ListEnumTaskStatusFieldRefInput<$PrismaModel> - notIn?: $Enums.TaskStatus[] | ListEnumTaskStatusFieldRefInput<$PrismaModel> - not?: NestedEnumTaskStatusWithAggregatesFilter<$PrismaModel> | $Enums.TaskStatus - _count?: NestedIntFilter<$PrismaModel> - _min?: NestedEnumTaskStatusFilter<$PrismaModel> - _max?: NestedEnumTaskStatusFilter<$PrismaModel> + export type ProjectUpdateOneRequiredWithoutSprintsNestedInput = { + create?: XOR + connectOrCreate?: ProjectCreateOrConnectWithoutSprintsInput + upsert?: ProjectUpsertWithoutSprintsInput + connect?: ProjectWhereUniqueInput + update?: XOR, ProjectUncheckedUpdateWithoutSprintsInput> } - export type TaskScalarRelationFilter = { - is?: TaskWhereInput - isNot?: TaskWhereInput + export type TaskUpdateManyWithoutSprintNestedInput = { + create?: XOR | TaskCreateWithoutSprintInput[] | TaskUncheckedCreateWithoutSprintInput[] + connectOrCreate?: TaskCreateOrConnectWithoutSprintInput | TaskCreateOrConnectWithoutSprintInput[] + upsert?: TaskUpsertWithWhereUniqueWithoutSprintInput | TaskUpsertWithWhereUniqueWithoutSprintInput[] + createMany?: TaskCreateManySprintInputEnvelope + set?: TaskWhereUniqueInput | TaskWhereUniqueInput[] + disconnect?: TaskWhereUniqueInput | TaskWhereUniqueInput[] + delete?: TaskWhereUniqueInput | TaskWhereUniqueInput[] + connect?: TaskWhereUniqueInput | TaskWhereUniqueInput[] + update?: TaskUpdateWithWhereUniqueWithoutSprintInput | TaskUpdateWithWhereUniqueWithoutSprintInput[] + updateMany?: TaskUpdateManyWithWhereWithoutSprintInput | TaskUpdateManyWithWhereWithoutSprintInput[] + deleteMany?: TaskScalarWhereInput | TaskScalarWhereInput[] } - export type TaskAttachmentCountOrderByAggregateInput = { - id?: SortOrder - taskId?: SortOrder - fileName?: SortOrder - fileType?: SortOrder - filePath?: SortOrder - fileSize?: SortOrder - uploadedBy?: SortOrder - createdAt?: SortOrder - storageProvider?: SortOrder - storageKey?: SortOrder + export type ActivityLogUpdateManyWithoutSprintNestedInput = { + create?: XOR | ActivityLogCreateWithoutSprintInput[] | ActivityLogUncheckedCreateWithoutSprintInput[] + connectOrCreate?: ActivityLogCreateOrConnectWithoutSprintInput | ActivityLogCreateOrConnectWithoutSprintInput[] + upsert?: ActivityLogUpsertWithWhereUniqueWithoutSprintInput | ActivityLogUpsertWithWhereUniqueWithoutSprintInput[] + createMany?: ActivityLogCreateManySprintInputEnvelope + set?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] + disconnect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] + delete?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] + connect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] + update?: ActivityLogUpdateWithWhereUniqueWithoutSprintInput | ActivityLogUpdateWithWhereUniqueWithoutSprintInput[] + updateMany?: ActivityLogUpdateManyWithWhereWithoutSprintInput | ActivityLogUpdateManyWithWhereWithoutSprintInput[] + deleteMany?: ActivityLogScalarWhereInput | ActivityLogScalarWhereInput[] } - export type TaskAttachmentAvgOrderByAggregateInput = { - fileSize?: SortOrder + export type TaskUncheckedUpdateManyWithoutSprintNestedInput = { + create?: XOR | TaskCreateWithoutSprintInput[] | TaskUncheckedCreateWithoutSprintInput[] + connectOrCreate?: TaskCreateOrConnectWithoutSprintInput | TaskCreateOrConnectWithoutSprintInput[] + upsert?: TaskUpsertWithWhereUniqueWithoutSprintInput | TaskUpsertWithWhereUniqueWithoutSprintInput[] + createMany?: TaskCreateManySprintInputEnvelope + set?: TaskWhereUniqueInput | TaskWhereUniqueInput[] + disconnect?: TaskWhereUniqueInput | TaskWhereUniqueInput[] + delete?: TaskWhereUniqueInput | TaskWhereUniqueInput[] + connect?: TaskWhereUniqueInput | TaskWhereUniqueInput[] + update?: TaskUpdateWithWhereUniqueWithoutSprintInput | TaskUpdateWithWhereUniqueWithoutSprintInput[] + updateMany?: TaskUpdateManyWithWhereWithoutSprintInput | TaskUpdateManyWithWhereWithoutSprintInput[] + deleteMany?: TaskScalarWhereInput | TaskScalarWhereInput[] } - export type TaskAttachmentMaxOrderByAggregateInput = { - id?: SortOrder - taskId?: SortOrder - fileName?: SortOrder - fileType?: SortOrder - filePath?: SortOrder - fileSize?: SortOrder - uploadedBy?: SortOrder - createdAt?: SortOrder - storageProvider?: SortOrder - storageKey?: SortOrder + export type ActivityLogUncheckedUpdateManyWithoutSprintNestedInput = { + create?: XOR | ActivityLogCreateWithoutSprintInput[] | ActivityLogUncheckedCreateWithoutSprintInput[] + connectOrCreate?: ActivityLogCreateOrConnectWithoutSprintInput | ActivityLogCreateOrConnectWithoutSprintInput[] + upsert?: ActivityLogUpsertWithWhereUniqueWithoutSprintInput | ActivityLogUpsertWithWhereUniqueWithoutSprintInput[] + createMany?: ActivityLogCreateManySprintInputEnvelope + set?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] + disconnect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] + delete?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] + connect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] + update?: ActivityLogUpdateWithWhereUniqueWithoutSprintInput | ActivityLogUpdateWithWhereUniqueWithoutSprintInput[] + updateMany?: ActivityLogUpdateManyWithWhereWithoutSprintInput | ActivityLogUpdateManyWithWhereWithoutSprintInput[] + deleteMany?: ActivityLogScalarWhereInput | ActivityLogScalarWhereInput[] } - export type TaskAttachmentMinOrderByAggregateInput = { - id?: SortOrder - taskId?: SortOrder - fileName?: SortOrder - fileType?: SortOrder - filePath?: SortOrder - fileSize?: SortOrder - uploadedBy?: SortOrder - createdAt?: SortOrder - storageProvider?: SortOrder - storageKey?: SortOrder + export type TaskCreatelabelsInput = { + set: string[] } - export type TaskAttachmentSumOrderByAggregateInput = { - fileSize?: SortOrder + export type ProjectCreateNestedOneWithoutTasksInput = { + create?: XOR + connectOrCreate?: ProjectCreateOrConnectWithoutTasksInput + connect?: ProjectWhereUniqueInput } - export type EnumDependencyTypeFilter<$PrismaModel = never> = { - equals?: $Enums.DependencyType | EnumDependencyTypeFieldRefInput<$PrismaModel> - in?: $Enums.DependencyType[] | ListEnumDependencyTypeFieldRefInput<$PrismaModel> - notIn?: $Enums.DependencyType[] | ListEnumDependencyTypeFieldRefInput<$PrismaModel> - not?: NestedEnumDependencyTypeFilter<$PrismaModel> | $Enums.DependencyType + export type SprintCreateNestedOneWithoutTasksInput = { + create?: XOR + connectOrCreate?: SprintCreateOrConnectWithoutTasksInput + connect?: SprintWhereUniqueInput } - export type TaskDependencyTaskIdDependentTaskIdCompoundUniqueInput = { - taskId: string - dependentTaskId: string + export type UserCreateNestedOneWithoutCreatedTasksInput = { + create?: XOR + connectOrCreate?: UserCreateOrConnectWithoutCreatedTasksInput + connect?: UserWhereUniqueInput } - export type TaskDependencyCountOrderByAggregateInput = { - id?: SortOrder - taskId?: SortOrder - dependentTaskId?: SortOrder - dependencyType?: SortOrder - description?: SortOrder + export type UserCreateNestedOneWithoutAssignedTasksInput = { + create?: XOR + connectOrCreate?: UserCreateOrConnectWithoutAssignedTasksInput + connect?: UserWhereUniqueInput } - export type TaskDependencyMaxOrderByAggregateInput = { - id?: SortOrder - taskId?: SortOrder - dependentTaskId?: SortOrder - dependencyType?: SortOrder - description?: SortOrder + export type UserCreateNestedOneWithoutModifiedTasksInput = { + create?: XOR + connectOrCreate?: UserCreateOrConnectWithoutModifiedTasksInput + connect?: UserWhereUniqueInput } - export type TaskDependencyMinOrderByAggregateInput = { - id?: SortOrder - taskId?: SortOrder - dependentTaskId?: SortOrder - dependencyType?: SortOrder - description?: SortOrder + export type TaskAttachmentCreateNestedManyWithoutTaskInput = { + create?: XOR | TaskAttachmentCreateWithoutTaskInput[] | TaskAttachmentUncheckedCreateWithoutTaskInput[] + connectOrCreate?: TaskAttachmentCreateOrConnectWithoutTaskInput | TaskAttachmentCreateOrConnectWithoutTaskInput[] + createMany?: TaskAttachmentCreateManyTaskInputEnvelope + connect?: TaskAttachmentWhereUniqueInput | TaskAttachmentWhereUniqueInput[] } - export type EnumDependencyTypeWithAggregatesFilter<$PrismaModel = never> = { - equals?: $Enums.DependencyType | EnumDependencyTypeFieldRefInput<$PrismaModel> - in?: $Enums.DependencyType[] | ListEnumDependencyTypeFieldRefInput<$PrismaModel> - notIn?: $Enums.DependencyType[] | ListEnumDependencyTypeFieldRefInput<$PrismaModel> - not?: NestedEnumDependencyTypeWithAggregatesFilter<$PrismaModel> | $Enums.DependencyType - _count?: NestedIntFilter<$PrismaModel> - _min?: NestedEnumDependencyTypeFilter<$PrismaModel> - _max?: NestedEnumDependencyTypeFilter<$PrismaModel> + export type CommentCreateNestedManyWithoutTaskInput = { + create?: XOR | CommentCreateWithoutTaskInput[] | CommentUncheckedCreateWithoutTaskInput[] + connectOrCreate?: CommentCreateOrConnectWithoutTaskInput | CommentCreateOrConnectWithoutTaskInput[] + createMany?: CommentCreateManyTaskInputEnvelope + connect?: CommentWhereUniqueInput | CommentWhereUniqueInput[] } - export type TaskTemplateOrganizationIdNameCompoundUniqueInput = { - organizationId: string - name: string + export type TimelogCreateNestedManyWithoutTaskInput = { + create?: XOR | TimelogCreateWithoutTaskInput[] | TimelogUncheckedCreateWithoutTaskInput[] + connectOrCreate?: TimelogCreateOrConnectWithoutTaskInput | TimelogCreateOrConnectWithoutTaskInput[] + createMany?: TimelogCreateManyTaskInputEnvelope + connect?: TimelogWhereUniqueInput | TimelogWhereUniqueInput[] } - export type TaskTemplateCountOrderByAggregateInput = { - id?: SortOrder - name?: SortOrder - description?: SortOrder - priority?: SortOrder - estimatedTime?: SortOrder - organizationId?: SortOrder - createdBy?: SortOrder - createdAt?: SortOrder - updatedAt?: SortOrder - checklist?: SortOrder - labels?: SortOrder - isPublic?: SortOrder + export type TaskDependencyCreateNestedManyWithoutDependentTaskInput = { + create?: XOR | TaskDependencyCreateWithoutDependentTaskInput[] | TaskDependencyUncheckedCreateWithoutDependentTaskInput[] + connectOrCreate?: TaskDependencyCreateOrConnectWithoutDependentTaskInput | TaskDependencyCreateOrConnectWithoutDependentTaskInput[] + createMany?: TaskDependencyCreateManyDependentTaskInputEnvelope + connect?: TaskDependencyWhereUniqueInput | TaskDependencyWhereUniqueInput[] } - export type TaskTemplateAvgOrderByAggregateInput = { - estimatedTime?: SortOrder + export type TaskDependencyCreateNestedManyWithoutTaskInput = { + create?: XOR | TaskDependencyCreateWithoutTaskInput[] | TaskDependencyUncheckedCreateWithoutTaskInput[] + connectOrCreate?: TaskDependencyCreateOrConnectWithoutTaskInput | TaskDependencyCreateOrConnectWithoutTaskInput[] + createMany?: TaskDependencyCreateManyTaskInputEnvelope + connect?: TaskDependencyWhereUniqueInput | TaskDependencyWhereUniqueInput[] } - export type TaskTemplateMaxOrderByAggregateInput = { - id?: SortOrder - name?: SortOrder - description?: SortOrder - priority?: SortOrder - estimatedTime?: SortOrder - organizationId?: SortOrder - createdBy?: SortOrder - createdAt?: SortOrder - updatedAt?: SortOrder - isPublic?: SortOrder + export type TaskCreateNestedOneWithoutSubtasksInput = { + create?: XOR + connectOrCreate?: TaskCreateOrConnectWithoutSubtasksInput + connect?: TaskWhereUniqueInput } - export type TaskTemplateMinOrderByAggregateInput = { - id?: SortOrder - name?: SortOrder - description?: SortOrder - priority?: SortOrder - estimatedTime?: SortOrder - organizationId?: SortOrder - createdBy?: SortOrder - createdAt?: SortOrder - updatedAt?: SortOrder - isPublic?: SortOrder + export type TaskCreateNestedManyWithoutParentInput = { + create?: XOR | TaskCreateWithoutParentInput[] | TaskUncheckedCreateWithoutParentInput[] + connectOrCreate?: TaskCreateOrConnectWithoutParentInput | TaskCreateOrConnectWithoutParentInput[] + createMany?: TaskCreateManyParentInputEnvelope + connect?: TaskWhereUniqueInput | TaskWhereUniqueInput[] } - export type TaskTemplateSumOrderByAggregateInput = { - estimatedTime?: SortOrder + export type ActivityLogCreateNestedManyWithoutTaskInput = { + create?: XOR | ActivityLogCreateWithoutTaskInput[] | ActivityLogUncheckedCreateWithoutTaskInput[] + connectOrCreate?: ActivityLogCreateOrConnectWithoutTaskInput | ActivityLogCreateOrConnectWithoutTaskInput[] + createMany?: ActivityLogCreateManyTaskInputEnvelope + connect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] } - export type TimelogCountOrderByAggregateInput = { - id?: SortOrder - taskId?: SortOrder - userId?: SortOrder - startTime?: SortOrder - endTime?: SortOrder - description?: SortOrder + export type TaskAttachmentUncheckedCreateNestedManyWithoutTaskInput = { + create?: XOR | TaskAttachmentCreateWithoutTaskInput[] | TaskAttachmentUncheckedCreateWithoutTaskInput[] + connectOrCreate?: TaskAttachmentCreateOrConnectWithoutTaskInput | TaskAttachmentCreateOrConnectWithoutTaskInput[] + createMany?: TaskAttachmentCreateManyTaskInputEnvelope + connect?: TaskAttachmentWhereUniqueInput | TaskAttachmentWhereUniqueInput[] } - export type TimelogMaxOrderByAggregateInput = { - id?: SortOrder - taskId?: SortOrder - userId?: SortOrder - startTime?: SortOrder - endTime?: SortOrder - description?: SortOrder + export type CommentUncheckedCreateNestedManyWithoutTaskInput = { + create?: XOR | CommentCreateWithoutTaskInput[] | CommentUncheckedCreateWithoutTaskInput[] + connectOrCreate?: CommentCreateOrConnectWithoutTaskInput | CommentCreateOrConnectWithoutTaskInput[] + createMany?: CommentCreateManyTaskInputEnvelope + connect?: CommentWhereUniqueInput | CommentWhereUniqueInput[] } - export type TimelogMinOrderByAggregateInput = { - id?: SortOrder - taskId?: SortOrder - userId?: SortOrder - startTime?: SortOrder - endTime?: SortOrder - description?: SortOrder + export type TimelogUncheckedCreateNestedManyWithoutTaskInput = { + create?: XOR | TimelogCreateWithoutTaskInput[] | TimelogUncheckedCreateWithoutTaskInput[] + connectOrCreate?: TimelogCreateOrConnectWithoutTaskInput | TimelogCreateOrConnectWithoutTaskInput[] + createMany?: TimelogCreateManyTaskInputEnvelope + connect?: TimelogWhereUniqueInput | TimelogWhereUniqueInput[] } - export type CommentCountOrderByAggregateInput = { - id?: SortOrder - taskId?: SortOrder - userId?: SortOrder - content?: SortOrder - createdAt?: SortOrder - updatedAt?: SortOrder + export type TaskDependencyUncheckedCreateNestedManyWithoutDependentTaskInput = { + create?: XOR | TaskDependencyCreateWithoutDependentTaskInput[] | TaskDependencyUncheckedCreateWithoutDependentTaskInput[] + connectOrCreate?: TaskDependencyCreateOrConnectWithoutDependentTaskInput | TaskDependencyCreateOrConnectWithoutDependentTaskInput[] + createMany?: TaskDependencyCreateManyDependentTaskInputEnvelope + connect?: TaskDependencyWhereUniqueInput | TaskDependencyWhereUniqueInput[] } - export type CommentMaxOrderByAggregateInput = { - id?: SortOrder - taskId?: SortOrder - userId?: SortOrder - content?: SortOrder - createdAt?: SortOrder - updatedAt?: SortOrder + export type TaskDependencyUncheckedCreateNestedManyWithoutTaskInput = { + create?: XOR | TaskDependencyCreateWithoutTaskInput[] | TaskDependencyUncheckedCreateWithoutTaskInput[] + connectOrCreate?: TaskDependencyCreateOrConnectWithoutTaskInput | TaskDependencyCreateOrConnectWithoutTaskInput[] + createMany?: TaskDependencyCreateManyTaskInputEnvelope + connect?: TaskDependencyWhereUniqueInput | TaskDependencyWhereUniqueInput[] } - export type CommentMinOrderByAggregateInput = { - id?: SortOrder - taskId?: SortOrder - userId?: SortOrder - content?: SortOrder - createdAt?: SortOrder - updatedAt?: SortOrder + export type TaskUncheckedCreateNestedManyWithoutParentInput = { + create?: XOR | TaskCreateWithoutParentInput[] | TaskUncheckedCreateWithoutParentInput[] + connectOrCreate?: TaskCreateOrConnectWithoutParentInput | TaskCreateOrConnectWithoutParentInput[] + createMany?: TaskCreateManyParentInputEnvelope + connect?: TaskWhereUniqueInput | TaskWhereUniqueInput[] } - export type EnumEntityTypeFilter<$PrismaModel = never> = { - equals?: $Enums.EntityType | EnumEntityTypeFieldRefInput<$PrismaModel> - in?: $Enums.EntityType[] | ListEnumEntityTypeFieldRefInput<$PrismaModel> - notIn?: $Enums.EntityType[] | ListEnumEntityTypeFieldRefInput<$PrismaModel> - not?: NestedEnumEntityTypeFilter<$PrismaModel> | $Enums.EntityType + export type ActivityLogUncheckedCreateNestedManyWithoutTaskInput = { + create?: XOR | ActivityLogCreateWithoutTaskInput[] | ActivityLogUncheckedCreateWithoutTaskInput[] + connectOrCreate?: ActivityLogCreateOrConnectWithoutTaskInput | ActivityLogCreateOrConnectWithoutTaskInput[] + createMany?: ActivityLogCreateManyTaskInputEnvelope + connect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] } - export type EnumActionTypeFilter<$PrismaModel = never> = { - equals?: $Enums.ActionType | EnumActionTypeFieldRefInput<$PrismaModel> - in?: $Enums.ActionType[] | ListEnumActionTypeFieldRefInput<$PrismaModel> - notIn?: $Enums.ActionType[] | ListEnumActionTypeFieldRefInput<$PrismaModel> - not?: NestedEnumActionTypeFilter<$PrismaModel> | $Enums.ActionType + export type EnumTaskStatusFieldUpdateOperationsInput = { + set?: $Enums.TaskStatus } - export type ProjectNullableScalarRelationFilter = { - is?: ProjectWhereInput | null - isNot?: ProjectWhereInput | null + export type TaskUpdatelabelsInput = { + set?: string[] + push?: string | string[] } - export type TeamNullableScalarRelationFilter = { - is?: TeamWhereInput | null - isNot?: TeamWhereInput | null + export type ProjectUpdateOneRequiredWithoutTasksNestedInput = { + create?: XOR + connectOrCreate?: ProjectCreateOrConnectWithoutTasksInput + upsert?: ProjectUpsertWithoutTasksInput + connect?: ProjectWhereUniqueInput + update?: XOR, ProjectUncheckedUpdateWithoutTasksInput> } - export type ActivityLogCountOrderByAggregateInput = { - id?: SortOrder - entityType?: SortOrder - action?: SortOrder - userId?: SortOrder - organizationId?: SortOrder - departmentId?: SortOrder - projectId?: SortOrder - teamId?: SortOrder - sprintId?: SortOrder - taskId?: SortOrder - details?: SortOrder - createdAt?: SortOrder + export type SprintUpdateOneWithoutTasksNestedInput = { + create?: XOR + connectOrCreate?: SprintCreateOrConnectWithoutTasksInput + upsert?: SprintUpsertWithoutTasksInput + disconnect?: SprintWhereInput | boolean + delete?: SprintWhereInput | boolean + connect?: SprintWhereUniqueInput + update?: XOR, SprintUncheckedUpdateWithoutTasksInput> } - export type ActivityLogMaxOrderByAggregateInput = { - id?: SortOrder - entityType?: SortOrder - action?: SortOrder - userId?: SortOrder - organizationId?: SortOrder - departmentId?: SortOrder - projectId?: SortOrder - teamId?: SortOrder - sprintId?: SortOrder - taskId?: SortOrder - createdAt?: SortOrder + export type UserUpdateOneRequiredWithoutCreatedTasksNestedInput = { + create?: XOR + connectOrCreate?: UserCreateOrConnectWithoutCreatedTasksInput + upsert?: UserUpsertWithoutCreatedTasksInput + connect?: UserWhereUniqueInput + update?: XOR, UserUncheckedUpdateWithoutCreatedTasksInput> } - export type ActivityLogMinOrderByAggregateInput = { - id?: SortOrder - entityType?: SortOrder - action?: SortOrder - userId?: SortOrder - organizationId?: SortOrder - departmentId?: SortOrder - projectId?: SortOrder - teamId?: SortOrder - sprintId?: SortOrder - taskId?: SortOrder - createdAt?: SortOrder + export type UserUpdateOneWithoutAssignedTasksNestedInput = { + create?: XOR + connectOrCreate?: UserCreateOrConnectWithoutAssignedTasksInput + upsert?: UserUpsertWithoutAssignedTasksInput + disconnect?: UserWhereInput | boolean + delete?: UserWhereInput | boolean + connect?: UserWhereUniqueInput + update?: XOR, UserUncheckedUpdateWithoutAssignedTasksInput> } - export type EnumEntityTypeWithAggregatesFilter<$PrismaModel = never> = { - equals?: $Enums.EntityType | EnumEntityTypeFieldRefInput<$PrismaModel> - in?: $Enums.EntityType[] | ListEnumEntityTypeFieldRefInput<$PrismaModel> - notIn?: $Enums.EntityType[] | ListEnumEntityTypeFieldRefInput<$PrismaModel> - not?: NestedEnumEntityTypeWithAggregatesFilter<$PrismaModel> | $Enums.EntityType - _count?: NestedIntFilter<$PrismaModel> - _min?: NestedEnumEntityTypeFilter<$PrismaModel> - _max?: NestedEnumEntityTypeFilter<$PrismaModel> + export type UserUpdateOneWithoutModifiedTasksNestedInput = { + create?: XOR + connectOrCreate?: UserCreateOrConnectWithoutModifiedTasksInput + upsert?: UserUpsertWithoutModifiedTasksInput + disconnect?: UserWhereInput | boolean + delete?: UserWhereInput | boolean + connect?: UserWhereUniqueInput + update?: XOR, UserUncheckedUpdateWithoutModifiedTasksInput> } - export type EnumActionTypeWithAggregatesFilter<$PrismaModel = never> = { - equals?: $Enums.ActionType | EnumActionTypeFieldRefInput<$PrismaModel> - in?: $Enums.ActionType[] | ListEnumActionTypeFieldRefInput<$PrismaModel> - notIn?: $Enums.ActionType[] | ListEnumActionTypeFieldRefInput<$PrismaModel> - not?: NestedEnumActionTypeWithAggregatesFilter<$PrismaModel> | $Enums.ActionType - _count?: NestedIntFilter<$PrismaModel> - _min?: NestedEnumActionTypeFilter<$PrismaModel> - _max?: NestedEnumActionTypeFilter<$PrismaModel> + export type TaskAttachmentUpdateManyWithoutTaskNestedInput = { + create?: XOR | TaskAttachmentCreateWithoutTaskInput[] | TaskAttachmentUncheckedCreateWithoutTaskInput[] + connectOrCreate?: TaskAttachmentCreateOrConnectWithoutTaskInput | TaskAttachmentCreateOrConnectWithoutTaskInput[] + upsert?: TaskAttachmentUpsertWithWhereUniqueWithoutTaskInput | TaskAttachmentUpsertWithWhereUniqueWithoutTaskInput[] + createMany?: TaskAttachmentCreateManyTaskInputEnvelope + set?: TaskAttachmentWhereUniqueInput | TaskAttachmentWhereUniqueInput[] + disconnect?: TaskAttachmentWhereUniqueInput | TaskAttachmentWhereUniqueInput[] + delete?: TaskAttachmentWhereUniqueInput | TaskAttachmentWhereUniqueInput[] + connect?: TaskAttachmentWhereUniqueInput | TaskAttachmentWhereUniqueInput[] + update?: TaskAttachmentUpdateWithWhereUniqueWithoutTaskInput | TaskAttachmentUpdateWithWhereUniqueWithoutTaskInput[] + updateMany?: TaskAttachmentUpdateManyWithWhereWithoutTaskInput | TaskAttachmentUpdateManyWithWhereWithoutTaskInput[] + deleteMany?: TaskAttachmentScalarWhereInput | TaskAttachmentScalarWhereInput[] } - export type NotificationCountOrderByAggregateInput = { - id?: SortOrder - userId?: SortOrder - content?: SortOrder - isRead?: SortOrder - type?: SortOrder - metadata?: SortOrder - createdAt?: SortOrder - deletedAt?: SortOrder - entityType?: SortOrder - entityId?: SortOrder + export type CommentUpdateManyWithoutTaskNestedInput = { + create?: XOR | CommentCreateWithoutTaskInput[] | CommentUncheckedCreateWithoutTaskInput[] + connectOrCreate?: CommentCreateOrConnectWithoutTaskInput | CommentCreateOrConnectWithoutTaskInput[] + upsert?: CommentUpsertWithWhereUniqueWithoutTaskInput | CommentUpsertWithWhereUniqueWithoutTaskInput[] + createMany?: CommentCreateManyTaskInputEnvelope + set?: CommentWhereUniqueInput | CommentWhereUniqueInput[] + disconnect?: CommentWhereUniqueInput | CommentWhereUniqueInput[] + delete?: CommentWhereUniqueInput | CommentWhereUniqueInput[] + connect?: CommentWhereUniqueInput | CommentWhereUniqueInput[] + update?: CommentUpdateWithWhereUniqueWithoutTaskInput | CommentUpdateWithWhereUniqueWithoutTaskInput[] + updateMany?: CommentUpdateManyWithWhereWithoutTaskInput | CommentUpdateManyWithWhereWithoutTaskInput[] + deleteMany?: CommentScalarWhereInput | CommentScalarWhereInput[] } - export type NotificationMaxOrderByAggregateInput = { - id?: SortOrder - userId?: SortOrder - content?: SortOrder - isRead?: SortOrder - type?: SortOrder - createdAt?: SortOrder - deletedAt?: SortOrder - entityType?: SortOrder - entityId?: SortOrder + export type TimelogUpdateManyWithoutTaskNestedInput = { + create?: XOR | TimelogCreateWithoutTaskInput[] | TimelogUncheckedCreateWithoutTaskInput[] + connectOrCreate?: TimelogCreateOrConnectWithoutTaskInput | TimelogCreateOrConnectWithoutTaskInput[] + upsert?: TimelogUpsertWithWhereUniqueWithoutTaskInput | TimelogUpsertWithWhereUniqueWithoutTaskInput[] + createMany?: TimelogCreateManyTaskInputEnvelope + set?: TimelogWhereUniqueInput | TimelogWhereUniqueInput[] + disconnect?: TimelogWhereUniqueInput | TimelogWhereUniqueInput[] + delete?: TimelogWhereUniqueInput | TimelogWhereUniqueInput[] + connect?: TimelogWhereUniqueInput | TimelogWhereUniqueInput[] + update?: TimelogUpdateWithWhereUniqueWithoutTaskInput | TimelogUpdateWithWhereUniqueWithoutTaskInput[] + updateMany?: TimelogUpdateManyWithWhereWithoutTaskInput | TimelogUpdateManyWithWhereWithoutTaskInput[] + deleteMany?: TimelogScalarWhereInput | TimelogScalarWhereInput[] } - export type NotificationMinOrderByAggregateInput = { - id?: SortOrder - userId?: SortOrder - content?: SortOrder - isRead?: SortOrder - type?: SortOrder - createdAt?: SortOrder - deletedAt?: SortOrder - entityType?: SortOrder - entityId?: SortOrder + export type TaskDependencyUpdateManyWithoutDependentTaskNestedInput = { + create?: XOR | TaskDependencyCreateWithoutDependentTaskInput[] | TaskDependencyUncheckedCreateWithoutDependentTaskInput[] + connectOrCreate?: TaskDependencyCreateOrConnectWithoutDependentTaskInput | TaskDependencyCreateOrConnectWithoutDependentTaskInput[] + upsert?: TaskDependencyUpsertWithWhereUniqueWithoutDependentTaskInput | TaskDependencyUpsertWithWhereUniqueWithoutDependentTaskInput[] + createMany?: TaskDependencyCreateManyDependentTaskInputEnvelope + set?: TaskDependencyWhereUniqueInput | TaskDependencyWhereUniqueInput[] + disconnect?: TaskDependencyWhereUniqueInput | TaskDependencyWhereUniqueInput[] + delete?: TaskDependencyWhereUniqueInput | TaskDependencyWhereUniqueInput[] + connect?: TaskDependencyWhereUniqueInput | TaskDependencyWhereUniqueInput[] + update?: TaskDependencyUpdateWithWhereUniqueWithoutDependentTaskInput | TaskDependencyUpdateWithWhereUniqueWithoutDependentTaskInput[] + updateMany?: TaskDependencyUpdateManyWithWhereWithoutDependentTaskInput | TaskDependencyUpdateManyWithWhereWithoutDependentTaskInput[] + deleteMany?: TaskDependencyScalarWhereInput | TaskDependencyScalarWhereInput[] } - export type EnumReportTypeFilter<$PrismaModel = never> = { - equals?: $Enums.ReportType | EnumReportTypeFieldRefInput<$PrismaModel> - in?: $Enums.ReportType[] | ListEnumReportTypeFieldRefInput<$PrismaModel> - notIn?: $Enums.ReportType[] | ListEnumReportTypeFieldRefInput<$PrismaModel> - not?: NestedEnumReportTypeFilter<$PrismaModel> | $Enums.ReportType + export type TaskDependencyUpdateManyWithoutTaskNestedInput = { + create?: XOR | TaskDependencyCreateWithoutTaskInput[] | TaskDependencyUncheckedCreateWithoutTaskInput[] + connectOrCreate?: TaskDependencyCreateOrConnectWithoutTaskInput | TaskDependencyCreateOrConnectWithoutTaskInput[] + upsert?: TaskDependencyUpsertWithWhereUniqueWithoutTaskInput | TaskDependencyUpsertWithWhereUniqueWithoutTaskInput[] + createMany?: TaskDependencyCreateManyTaskInputEnvelope + set?: TaskDependencyWhereUniqueInput | TaskDependencyWhereUniqueInput[] + disconnect?: TaskDependencyWhereUniqueInput | TaskDependencyWhereUniqueInput[] + delete?: TaskDependencyWhereUniqueInput | TaskDependencyWhereUniqueInput[] + connect?: TaskDependencyWhereUniqueInput | TaskDependencyWhereUniqueInput[] + update?: TaskDependencyUpdateWithWhereUniqueWithoutTaskInput | TaskDependencyUpdateWithWhereUniqueWithoutTaskInput[] + updateMany?: TaskDependencyUpdateManyWithWhereWithoutTaskInput | TaskDependencyUpdateManyWithWhereWithoutTaskInput[] + deleteMany?: TaskDependencyScalarWhereInput | TaskDependencyScalarWhereInput[] } - export type EnumReportStatusFilter<$PrismaModel = never> = { - equals?: $Enums.ReportStatus | EnumReportStatusFieldRefInput<$PrismaModel> - in?: $Enums.ReportStatus[] | ListEnumReportStatusFieldRefInput<$PrismaModel> - notIn?: $Enums.ReportStatus[] | ListEnumReportStatusFieldRefInput<$PrismaModel> - not?: NestedEnumReportStatusFilter<$PrismaModel> | $Enums.ReportStatus + export type TaskUpdateOneWithoutSubtasksNestedInput = { + create?: XOR + connectOrCreate?: TaskCreateOrConnectWithoutSubtasksInput + upsert?: TaskUpsertWithoutSubtasksInput + disconnect?: TaskWhereInput | boolean + delete?: TaskWhereInput | boolean + connect?: TaskWhereUniqueInput + update?: XOR, TaskUncheckedUpdateWithoutSubtasksInput> } - export type ReportScheduleNullableScalarRelationFilter = { - is?: ReportScheduleWhereInput | null - isNot?: ReportScheduleWhereInput | null + export type TaskUpdateManyWithoutParentNestedInput = { + create?: XOR | TaskCreateWithoutParentInput[] | TaskUncheckedCreateWithoutParentInput[] + connectOrCreate?: TaskCreateOrConnectWithoutParentInput | TaskCreateOrConnectWithoutParentInput[] + upsert?: TaskUpsertWithWhereUniqueWithoutParentInput | TaskUpsertWithWhereUniqueWithoutParentInput[] + createMany?: TaskCreateManyParentInputEnvelope + set?: TaskWhereUniqueInput | TaskWhereUniqueInput[] + disconnect?: TaskWhereUniqueInput | TaskWhereUniqueInput[] + delete?: TaskWhereUniqueInput | TaskWhereUniqueInput[] + connect?: TaskWhereUniqueInput | TaskWhereUniqueInput[] + update?: TaskUpdateWithWhereUniqueWithoutParentInput | TaskUpdateWithWhereUniqueWithoutParentInput[] + updateMany?: TaskUpdateManyWithWhereWithoutParentInput | TaskUpdateManyWithWhereWithoutParentInput[] + deleteMany?: TaskScalarWhereInput | TaskScalarWhereInput[] } - export type ReportCountOrderByAggregateInput = { - id?: SortOrder - name?: SortOrder - description?: SortOrder - reportType?: SortOrder - format?: SortOrder - parameters?: SortOrder - filePath?: SortOrder - generatedBy?: SortOrder - createdAt?: SortOrder - status?: SortOrder - updatedAt?: SortOrder - lastAccessedAt?: SortOrder - expiresAt?: SortOrder - tags?: SortOrder - organizationId?: SortOrder - teamId?: SortOrder - projectId?: SortOrder - departmentId?: SortOrder - userId?: SortOrder - scheduleId?: SortOrder - storageProvider?: SortOrder - storageKey?: SortOrder + export type ActivityLogUpdateManyWithoutTaskNestedInput = { + create?: XOR | ActivityLogCreateWithoutTaskInput[] | ActivityLogUncheckedCreateWithoutTaskInput[] + connectOrCreate?: ActivityLogCreateOrConnectWithoutTaskInput | ActivityLogCreateOrConnectWithoutTaskInput[] + upsert?: ActivityLogUpsertWithWhereUniqueWithoutTaskInput | ActivityLogUpsertWithWhereUniqueWithoutTaskInput[] + createMany?: ActivityLogCreateManyTaskInputEnvelope + set?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] + disconnect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] + delete?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] + connect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] + update?: ActivityLogUpdateWithWhereUniqueWithoutTaskInput | ActivityLogUpdateWithWhereUniqueWithoutTaskInput[] + updateMany?: ActivityLogUpdateManyWithWhereWithoutTaskInput | ActivityLogUpdateManyWithWhereWithoutTaskInput[] + deleteMany?: ActivityLogScalarWhereInput | ActivityLogScalarWhereInput[] } - export type ReportMaxOrderByAggregateInput = { - id?: SortOrder - name?: SortOrder - description?: SortOrder - reportType?: SortOrder - format?: SortOrder - filePath?: SortOrder - generatedBy?: SortOrder - createdAt?: SortOrder - status?: SortOrder - updatedAt?: SortOrder - lastAccessedAt?: SortOrder - expiresAt?: SortOrder - tags?: SortOrder - organizationId?: SortOrder - teamId?: SortOrder - projectId?: SortOrder - departmentId?: SortOrder - userId?: SortOrder - scheduleId?: SortOrder - storageProvider?: SortOrder - storageKey?: SortOrder + export type TaskAttachmentUncheckedUpdateManyWithoutTaskNestedInput = { + create?: XOR | TaskAttachmentCreateWithoutTaskInput[] | TaskAttachmentUncheckedCreateWithoutTaskInput[] + connectOrCreate?: TaskAttachmentCreateOrConnectWithoutTaskInput | TaskAttachmentCreateOrConnectWithoutTaskInput[] + upsert?: TaskAttachmentUpsertWithWhereUniqueWithoutTaskInput | TaskAttachmentUpsertWithWhereUniqueWithoutTaskInput[] + createMany?: TaskAttachmentCreateManyTaskInputEnvelope + set?: TaskAttachmentWhereUniqueInput | TaskAttachmentWhereUniqueInput[] + disconnect?: TaskAttachmentWhereUniqueInput | TaskAttachmentWhereUniqueInput[] + delete?: TaskAttachmentWhereUniqueInput | TaskAttachmentWhereUniqueInput[] + connect?: TaskAttachmentWhereUniqueInput | TaskAttachmentWhereUniqueInput[] + update?: TaskAttachmentUpdateWithWhereUniqueWithoutTaskInput | TaskAttachmentUpdateWithWhereUniqueWithoutTaskInput[] + updateMany?: TaskAttachmentUpdateManyWithWhereWithoutTaskInput | TaskAttachmentUpdateManyWithWhereWithoutTaskInput[] + deleteMany?: TaskAttachmentScalarWhereInput | TaskAttachmentScalarWhereInput[] } - export type ReportMinOrderByAggregateInput = { - id?: SortOrder - name?: SortOrder - description?: SortOrder - reportType?: SortOrder - format?: SortOrder - filePath?: SortOrder - generatedBy?: SortOrder - createdAt?: SortOrder - status?: SortOrder - updatedAt?: SortOrder - lastAccessedAt?: SortOrder - expiresAt?: SortOrder - tags?: SortOrder - organizationId?: SortOrder - teamId?: SortOrder - projectId?: SortOrder - departmentId?: SortOrder - userId?: SortOrder - scheduleId?: SortOrder - storageProvider?: SortOrder - storageKey?: SortOrder + export type CommentUncheckedUpdateManyWithoutTaskNestedInput = { + create?: XOR | CommentCreateWithoutTaskInput[] | CommentUncheckedCreateWithoutTaskInput[] + connectOrCreate?: CommentCreateOrConnectWithoutTaskInput | CommentCreateOrConnectWithoutTaskInput[] + upsert?: CommentUpsertWithWhereUniqueWithoutTaskInput | CommentUpsertWithWhereUniqueWithoutTaskInput[] + createMany?: CommentCreateManyTaskInputEnvelope + set?: CommentWhereUniqueInput | CommentWhereUniqueInput[] + disconnect?: CommentWhereUniqueInput | CommentWhereUniqueInput[] + delete?: CommentWhereUniqueInput | CommentWhereUniqueInput[] + connect?: CommentWhereUniqueInput | CommentWhereUniqueInput[] + update?: CommentUpdateWithWhereUniqueWithoutTaskInput | CommentUpdateWithWhereUniqueWithoutTaskInput[] + updateMany?: CommentUpdateManyWithWhereWithoutTaskInput | CommentUpdateManyWithWhereWithoutTaskInput[] + deleteMany?: CommentScalarWhereInput | CommentScalarWhereInput[] } - export type EnumReportTypeWithAggregatesFilter<$PrismaModel = never> = { - equals?: $Enums.ReportType | EnumReportTypeFieldRefInput<$PrismaModel> - in?: $Enums.ReportType[] | ListEnumReportTypeFieldRefInput<$PrismaModel> - notIn?: $Enums.ReportType[] | ListEnumReportTypeFieldRefInput<$PrismaModel> - not?: NestedEnumReportTypeWithAggregatesFilter<$PrismaModel> | $Enums.ReportType - _count?: NestedIntFilter<$PrismaModel> - _min?: NestedEnumReportTypeFilter<$PrismaModel> - _max?: NestedEnumReportTypeFilter<$PrismaModel> + export type TimelogUncheckedUpdateManyWithoutTaskNestedInput = { + create?: XOR | TimelogCreateWithoutTaskInput[] | TimelogUncheckedCreateWithoutTaskInput[] + connectOrCreate?: TimelogCreateOrConnectWithoutTaskInput | TimelogCreateOrConnectWithoutTaskInput[] + upsert?: TimelogUpsertWithWhereUniqueWithoutTaskInput | TimelogUpsertWithWhereUniqueWithoutTaskInput[] + createMany?: TimelogCreateManyTaskInputEnvelope + set?: TimelogWhereUniqueInput | TimelogWhereUniqueInput[] + disconnect?: TimelogWhereUniqueInput | TimelogWhereUniqueInput[] + delete?: TimelogWhereUniqueInput | TimelogWhereUniqueInput[] + connect?: TimelogWhereUniqueInput | TimelogWhereUniqueInput[] + update?: TimelogUpdateWithWhereUniqueWithoutTaskInput | TimelogUpdateWithWhereUniqueWithoutTaskInput[] + updateMany?: TimelogUpdateManyWithWhereWithoutTaskInput | TimelogUpdateManyWithWhereWithoutTaskInput[] + deleteMany?: TimelogScalarWhereInput | TimelogScalarWhereInput[] } - export type EnumReportStatusWithAggregatesFilter<$PrismaModel = never> = { - equals?: $Enums.ReportStatus | EnumReportStatusFieldRefInput<$PrismaModel> - in?: $Enums.ReportStatus[] | ListEnumReportStatusFieldRefInput<$PrismaModel> - notIn?: $Enums.ReportStatus[] | ListEnumReportStatusFieldRefInput<$PrismaModel> - not?: NestedEnumReportStatusWithAggregatesFilter<$PrismaModel> | $Enums.ReportStatus - _count?: NestedIntFilter<$PrismaModel> - _min?: NestedEnumReportStatusFilter<$PrismaModel> - _max?: NestedEnumReportStatusFilter<$PrismaModel> + export type TaskDependencyUncheckedUpdateManyWithoutDependentTaskNestedInput = { + create?: XOR | TaskDependencyCreateWithoutDependentTaskInput[] | TaskDependencyUncheckedCreateWithoutDependentTaskInput[] + connectOrCreate?: TaskDependencyCreateOrConnectWithoutDependentTaskInput | TaskDependencyCreateOrConnectWithoutDependentTaskInput[] + upsert?: TaskDependencyUpsertWithWhereUniqueWithoutDependentTaskInput | TaskDependencyUpsertWithWhereUniqueWithoutDependentTaskInput[] + createMany?: TaskDependencyCreateManyDependentTaskInputEnvelope + set?: TaskDependencyWhereUniqueInput | TaskDependencyWhereUniqueInput[] + disconnect?: TaskDependencyWhereUniqueInput | TaskDependencyWhereUniqueInput[] + delete?: TaskDependencyWhereUniqueInput | TaskDependencyWhereUniqueInput[] + connect?: TaskDependencyWhereUniqueInput | TaskDependencyWhereUniqueInput[] + update?: TaskDependencyUpdateWithWhereUniqueWithoutDependentTaskInput | TaskDependencyUpdateWithWhereUniqueWithoutDependentTaskInput[] + updateMany?: TaskDependencyUpdateManyWithWhereWithoutDependentTaskInput | TaskDependencyUpdateManyWithWhereWithoutDependentTaskInput[] + deleteMany?: TaskDependencyScalarWhereInput | TaskDependencyScalarWhereInput[] } - export type ReportScheduleCountOrderByAggregateInput = { - id?: SortOrder - name?: SortOrder - cronExpression?: SortOrder - isActive?: SortOrder - createdAt?: SortOrder - createdBy?: SortOrder + export type TaskDependencyUncheckedUpdateManyWithoutTaskNestedInput = { + create?: XOR | TaskDependencyCreateWithoutTaskInput[] | TaskDependencyUncheckedCreateWithoutTaskInput[] + connectOrCreate?: TaskDependencyCreateOrConnectWithoutTaskInput | TaskDependencyCreateOrConnectWithoutTaskInput[] + upsert?: TaskDependencyUpsertWithWhereUniqueWithoutTaskInput | TaskDependencyUpsertWithWhereUniqueWithoutTaskInput[] + createMany?: TaskDependencyCreateManyTaskInputEnvelope + set?: TaskDependencyWhereUniqueInput | TaskDependencyWhereUniqueInput[] + disconnect?: TaskDependencyWhereUniqueInput | TaskDependencyWhereUniqueInput[] + delete?: TaskDependencyWhereUniqueInput | TaskDependencyWhereUniqueInput[] + connect?: TaskDependencyWhereUniqueInput | TaskDependencyWhereUniqueInput[] + update?: TaskDependencyUpdateWithWhereUniqueWithoutTaskInput | TaskDependencyUpdateWithWhereUniqueWithoutTaskInput[] + updateMany?: TaskDependencyUpdateManyWithWhereWithoutTaskInput | TaskDependencyUpdateManyWithWhereWithoutTaskInput[] + deleteMany?: TaskDependencyScalarWhereInput | TaskDependencyScalarWhereInput[] } - export type ReportScheduleMaxOrderByAggregateInput = { - id?: SortOrder - name?: SortOrder - cronExpression?: SortOrder - isActive?: SortOrder - createdAt?: SortOrder - createdBy?: SortOrder + export type TaskUncheckedUpdateManyWithoutParentNestedInput = { + create?: XOR | TaskCreateWithoutParentInput[] | TaskUncheckedCreateWithoutParentInput[] + connectOrCreate?: TaskCreateOrConnectWithoutParentInput | TaskCreateOrConnectWithoutParentInput[] + upsert?: TaskUpsertWithWhereUniqueWithoutParentInput | TaskUpsertWithWhereUniqueWithoutParentInput[] + createMany?: TaskCreateManyParentInputEnvelope + set?: TaskWhereUniqueInput | TaskWhereUniqueInput[] + disconnect?: TaskWhereUniqueInput | TaskWhereUniqueInput[] + delete?: TaskWhereUniqueInput | TaskWhereUniqueInput[] + connect?: TaskWhereUniqueInput | TaskWhereUniqueInput[] + update?: TaskUpdateWithWhereUniqueWithoutParentInput | TaskUpdateWithWhereUniqueWithoutParentInput[] + updateMany?: TaskUpdateManyWithWhereWithoutParentInput | TaskUpdateManyWithWhereWithoutParentInput[] + deleteMany?: TaskScalarWhereInput | TaskScalarWhereInput[] } - export type ReportScheduleMinOrderByAggregateInput = { - id?: SortOrder - name?: SortOrder - cronExpression?: SortOrder - isActive?: SortOrder - createdAt?: SortOrder - createdBy?: SortOrder + export type ActivityLogUncheckedUpdateManyWithoutTaskNestedInput = { + create?: XOR | ActivityLogCreateWithoutTaskInput[] | ActivityLogUncheckedCreateWithoutTaskInput[] + connectOrCreate?: ActivityLogCreateOrConnectWithoutTaskInput | ActivityLogCreateOrConnectWithoutTaskInput[] + upsert?: ActivityLogUpsertWithWhereUniqueWithoutTaskInput | ActivityLogUpsertWithWhereUniqueWithoutTaskInput[] + createMany?: ActivityLogCreateManyTaskInputEnvelope + set?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] + disconnect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] + delete?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] + connect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] + update?: ActivityLogUpdateWithWhereUniqueWithoutTaskInput | ActivityLogUpdateWithWhereUniqueWithoutTaskInput[] + updateMany?: ActivityLogUpdateManyWithWhereWithoutTaskInput | ActivityLogUpdateManyWithWhereWithoutTaskInput[] + deleteMany?: ActivityLogScalarWhereInput | ActivityLogScalarWhereInput[] } - export type ReportScalarRelationFilter = { - is?: ReportWhereInput - isNot?: ReportWhereInput + export type TaskCreateNestedOneWithoutAttachmentsInput = { + create?: XOR + connectOrCreate?: TaskCreateOrConnectWithoutAttachmentsInput + connect?: TaskWhereUniqueInput } - export type ReportNotificationReportIdUserIdCompoundUniqueInput = { - reportId: string - userId: string + export type UserCreateNestedOneWithoutTaskAttachmentsInput = { + create?: XOR + connectOrCreate?: UserCreateOrConnectWithoutTaskAttachmentsInput + connect?: UserWhereUniqueInput } - export type ReportNotificationCountOrderByAggregateInput = { - id?: SortOrder - reportId?: SortOrder - userId?: SortOrder - notified?: SortOrder + export type TaskUpdateOneRequiredWithoutAttachmentsNestedInput = { + create?: XOR + connectOrCreate?: TaskCreateOrConnectWithoutAttachmentsInput + upsert?: TaskUpsertWithoutAttachmentsInput + connect?: TaskWhereUniqueInput + update?: XOR, TaskUncheckedUpdateWithoutAttachmentsInput> } - export type ReportNotificationMaxOrderByAggregateInput = { - id?: SortOrder - reportId?: SortOrder - userId?: SortOrder - notified?: SortOrder + export type UserUpdateOneRequiredWithoutTaskAttachmentsNestedInput = { + create?: XOR + connectOrCreate?: UserCreateOrConnectWithoutTaskAttachmentsInput + upsert?: UserUpsertWithoutTaskAttachmentsInput + connect?: UserWhereUniqueInput + update?: XOR, UserUncheckedUpdateWithoutTaskAttachmentsInput> } - export type ReportNotificationMinOrderByAggregateInput = { - id?: SortOrder - reportId?: SortOrder - userId?: SortOrder - notified?: SortOrder + export type TaskCreateNestedOneWithoutDependentOnInput = { + create?: XOR + connectOrCreate?: TaskCreateOrConnectWithoutDependentOnInput + connect?: TaskWhereUniqueInput } - export type JsonFilter<$PrismaModel = never> = - | PatchUndefined< - Either>, Exclude>, 'path'>>, - Required> - > - | OptionalFlat>, 'path'>> - export type JsonFilterBase<$PrismaModel = never> = { - equals?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter - path?: string[] - mode?: QueryMode | EnumQueryModeFieldRefInput<$PrismaModel> - string_contains?: string | StringFieldRefInput<$PrismaModel> - string_starts_with?: string | StringFieldRefInput<$PrismaModel> - string_ends_with?: string | StringFieldRefInput<$PrismaModel> - array_starts_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null - array_ends_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null - array_contains?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null - lt?: InputJsonValue | JsonFieldRefInput<$PrismaModel> - lte?: InputJsonValue | JsonFieldRefInput<$PrismaModel> - gt?: InputJsonValue | JsonFieldRefInput<$PrismaModel> - gte?: InputJsonValue | JsonFieldRefInput<$PrismaModel> - not?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter + export type TaskCreateNestedOneWithoutDependenciesInput = { + create?: XOR + connectOrCreate?: TaskCreateOrConnectWithoutDependenciesInput + connect?: TaskWhereUniqueInput } - export type PermissionUserIdEntityTypeEntityIdCompoundUniqueInput = { - userId: string - entityType: string - entityId: string + export type EnumDependencyTypeFieldUpdateOperationsInput = { + set?: $Enums.DependencyType } - export type PermissionCountOrderByAggregateInput = { - id?: SortOrder - userId?: SortOrder - entityType?: SortOrder - entityId?: SortOrder - permissions?: SortOrder - createdAt?: SortOrder - updatedAt?: SortOrder + export type TaskUpdateOneRequiredWithoutDependentOnNestedInput = { + create?: XOR + connectOrCreate?: TaskCreateOrConnectWithoutDependentOnInput + upsert?: TaskUpsertWithoutDependentOnInput + connect?: TaskWhereUniqueInput + update?: XOR, TaskUncheckedUpdateWithoutDependentOnInput> } - export type PermissionMaxOrderByAggregateInput = { - id?: SortOrder - userId?: SortOrder - entityType?: SortOrder - entityId?: SortOrder - createdAt?: SortOrder - updatedAt?: SortOrder + export type TaskUpdateOneRequiredWithoutDependenciesNestedInput = { + create?: XOR + connectOrCreate?: TaskCreateOrConnectWithoutDependenciesInput + upsert?: TaskUpsertWithoutDependenciesInput + connect?: TaskWhereUniqueInput + update?: XOR, TaskUncheckedUpdateWithoutDependenciesInput> } - export type PermissionMinOrderByAggregateInput = { - id?: SortOrder - userId?: SortOrder - entityType?: SortOrder - entityId?: SortOrder - createdAt?: SortOrder - updatedAt?: SortOrder + export type TaskTemplateCreatelabelsInput = { + set: string[] } - export type JsonWithAggregatesFilter<$PrismaModel = never> = - | PatchUndefined< - Either>, Exclude>, 'path'>>, - Required> - > - | OptionalFlat>, 'path'>> - export type JsonWithAggregatesFilterBase<$PrismaModel = never> = { - equals?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter - path?: string[] - mode?: QueryMode | EnumQueryModeFieldRefInput<$PrismaModel> - string_contains?: string | StringFieldRefInput<$PrismaModel> - string_starts_with?: string | StringFieldRefInput<$PrismaModel> - string_ends_with?: string | StringFieldRefInput<$PrismaModel> - array_starts_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null - array_ends_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null - array_contains?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null - lt?: InputJsonValue | JsonFieldRefInput<$PrismaModel> - lte?: InputJsonValue | JsonFieldRefInput<$PrismaModel> - gt?: InputJsonValue | JsonFieldRefInput<$PrismaModel> - gte?: InputJsonValue | JsonFieldRefInput<$PrismaModel> - not?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter - _count?: NestedIntFilter<$PrismaModel> - _min?: NestedJsonFilter<$PrismaModel> - _max?: NestedJsonFilter<$PrismaModel> + export type OrganizationCreateNestedOneWithoutTemplatesInput = { + create?: XOR + connectOrCreate?: OrganizationCreateOrConnectWithoutTemplatesInput + connect?: OrganizationWhereUniqueInput } - export type DepartmentCreateNestedOneWithoutUsersInput = { - create?: XOR - connectOrCreate?: DepartmentCreateOrConnectWithoutUsersInput - connect?: DepartmentWhereUniqueInput + export type TaskTemplateUpdatelabelsInput = { + set?: string[] + push?: string | string[] } - export type OrganizationCreateNestedOneWithoutUsersInput = { - create?: XOR - connectOrCreate?: OrganizationCreateOrConnectWithoutUsersInput + export type OrganizationUpdateOneRequiredWithoutTemplatesNestedInput = { + create?: XOR + connectOrCreate?: OrganizationCreateOrConnectWithoutTemplatesInput + upsert?: OrganizationUpsertWithoutTemplatesInput connect?: OrganizationWhereUniqueInput + update?: XOR, OrganizationUncheckedUpdateWithoutTemplatesInput> } - export type OrganizationCreateNestedManyWithoutCreatorInput = { - create?: XOR | OrganizationCreateWithoutCreatorInput[] | OrganizationUncheckedCreateWithoutCreatorInput[] - connectOrCreate?: OrganizationCreateOrConnectWithoutCreatorInput | OrganizationCreateOrConnectWithoutCreatorInput[] - createMany?: OrganizationCreateManyCreatorInputEnvelope - connect?: OrganizationWhereUniqueInput | OrganizationWhereUniqueInput[] + export type TaskCreateNestedOneWithoutTimelogsInput = { + create?: XOR + connectOrCreate?: TaskCreateOrConnectWithoutTimelogsInput + connect?: TaskWhereUniqueInput } - export type OrganizationOwnerCreateNestedManyWithoutUserInput = { - create?: XOR | OrganizationOwnerCreateWithoutUserInput[] | OrganizationOwnerUncheckedCreateWithoutUserInput[] - connectOrCreate?: OrganizationOwnerCreateOrConnectWithoutUserInput | OrganizationOwnerCreateOrConnectWithoutUserInput[] - createMany?: OrganizationOwnerCreateManyUserInputEnvelope - connect?: OrganizationOwnerWhereUniqueInput | OrganizationOwnerWhereUniqueInput[] + export type UserCreateNestedOneWithoutTimelogsInput = { + create?: XOR + connectOrCreate?: UserCreateOrConnectWithoutTimelogsInput + connect?: UserWhereUniqueInput } - export type DepartmentCreateNestedManyWithoutManagerInput = { - create?: XOR | DepartmentCreateWithoutManagerInput[] | DepartmentUncheckedCreateWithoutManagerInput[] - connectOrCreate?: DepartmentCreateOrConnectWithoutManagerInput | DepartmentCreateOrConnectWithoutManagerInput[] - createMany?: DepartmentCreateManyManagerInputEnvelope - connect?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[] + export type TaskUpdateOneRequiredWithoutTimelogsNestedInput = { + create?: XOR + connectOrCreate?: TaskCreateOrConnectWithoutTimelogsInput + upsert?: TaskUpsertWithoutTimelogsInput + connect?: TaskWhereUniqueInput + update?: XOR, TaskUncheckedUpdateWithoutTimelogsInput> } - export type TeamCreateNestedManyWithoutCreatorInput = { - create?: XOR | TeamCreateWithoutCreatorInput[] | TeamUncheckedCreateWithoutCreatorInput[] - connectOrCreate?: TeamCreateOrConnectWithoutCreatorInput | TeamCreateOrConnectWithoutCreatorInput[] - createMany?: TeamCreateManyCreatorInputEnvelope - connect?: TeamWhereUniqueInput | TeamWhereUniqueInput[] + export type UserUpdateOneRequiredWithoutTimelogsNestedInput = { + create?: XOR + connectOrCreate?: UserCreateOrConnectWithoutTimelogsInput + upsert?: UserUpsertWithoutTimelogsInput + connect?: UserWhereUniqueInput + update?: XOR, UserUncheckedUpdateWithoutTimelogsInput> } - export type TeamMemberCreateNestedManyWithoutUserInput = { - create?: XOR | TeamMemberCreateWithoutUserInput[] | TeamMemberUncheckedCreateWithoutUserInput[] - connectOrCreate?: TeamMemberCreateOrConnectWithoutUserInput | TeamMemberCreateOrConnectWithoutUserInput[] - createMany?: TeamMemberCreateManyUserInputEnvelope - connect?: TeamMemberWhereUniqueInput | TeamMemberWhereUniqueInput[] + export type TaskCreateNestedOneWithoutCommentsInput = { + create?: XOR + connectOrCreate?: TaskCreateOrConnectWithoutCommentsInput + connect?: TaskWhereUniqueInput } - export type ProjectMemberCreateNestedManyWithoutUserInput = { - create?: XOR | ProjectMemberCreateWithoutUserInput[] | ProjectMemberUncheckedCreateWithoutUserInput[] - connectOrCreate?: ProjectMemberCreateOrConnectWithoutUserInput | ProjectMemberCreateOrConnectWithoutUserInput[] - createMany?: ProjectMemberCreateManyUserInputEnvelope - connect?: ProjectMemberWhereUniqueInput | ProjectMemberWhereUniqueInput[] + export type UserCreateNestedOneWithoutCommentsInput = { + create?: XOR + connectOrCreate?: UserCreateOrConnectWithoutCommentsInput + connect?: UserWhereUniqueInput } - export type ProjectCreateNestedManyWithoutCreatorInput = { - create?: XOR | ProjectCreateWithoutCreatorInput[] | ProjectUncheckedCreateWithoutCreatorInput[] - connectOrCreate?: ProjectCreateOrConnectWithoutCreatorInput | ProjectCreateOrConnectWithoutCreatorInput[] - createMany?: ProjectCreateManyCreatorInputEnvelope - connect?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] + export type TaskUpdateOneRequiredWithoutCommentsNestedInput = { + create?: XOR + connectOrCreate?: TaskCreateOrConnectWithoutCommentsInput + upsert?: TaskUpsertWithoutCommentsInput + connect?: TaskWhereUniqueInput + update?: XOR, TaskUncheckedUpdateWithoutCommentsInput> } - export type ProjectCreateNestedManyWithoutModifierInput = { - create?: XOR | ProjectCreateWithoutModifierInput[] | ProjectUncheckedCreateWithoutModifierInput[] - connectOrCreate?: ProjectCreateOrConnectWithoutModifierInput | ProjectCreateOrConnectWithoutModifierInput[] - createMany?: ProjectCreateManyModifierInputEnvelope - connect?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] + export type UserUpdateOneRequiredWithoutCommentsNestedInput = { + create?: XOR + connectOrCreate?: UserCreateOrConnectWithoutCommentsInput + upsert?: UserUpsertWithoutCommentsInput + connect?: UserWhereUniqueInput + update?: XOR, UserUncheckedUpdateWithoutCommentsInput> + } + + export type UserCreateNestedOneWithoutActivityLogsInput = { + create?: XOR + connectOrCreate?: UserCreateOrConnectWithoutActivityLogsInput + connect?: UserWhereUniqueInput } - export type TaskCreateNestedManyWithoutCreatorInput = { - create?: XOR | TaskCreateWithoutCreatorInput[] | TaskUncheckedCreateWithoutCreatorInput[] - connectOrCreate?: TaskCreateOrConnectWithoutCreatorInput | TaskCreateOrConnectWithoutCreatorInput[] - createMany?: TaskCreateManyCreatorInputEnvelope - connect?: TaskWhereUniqueInput | TaskWhereUniqueInput[] + export type OrganizationCreateNestedOneWithoutActivityLogsInput = { + create?: XOR + connectOrCreate?: OrganizationCreateOrConnectWithoutActivityLogsInput + connect?: OrganizationWhereUniqueInput } - export type TaskCreateNestedManyWithoutAssigneeInput = { - create?: XOR | TaskCreateWithoutAssigneeInput[] | TaskUncheckedCreateWithoutAssigneeInput[] - connectOrCreate?: TaskCreateOrConnectWithoutAssigneeInput | TaskCreateOrConnectWithoutAssigneeInput[] - createMany?: TaskCreateManyAssigneeInputEnvelope - connect?: TaskWhereUniqueInput | TaskWhereUniqueInput[] + export type DepartmentCreateNestedOneWithoutActivityLogsInput = { + create?: XOR + connectOrCreate?: DepartmentCreateOrConnectWithoutActivityLogsInput + connect?: DepartmentWhereUniqueInput } - export type TaskCreateNestedManyWithoutModifierInput = { - create?: XOR | TaskCreateWithoutModifierInput[] | TaskUncheckedCreateWithoutModifierInput[] - connectOrCreate?: TaskCreateOrConnectWithoutModifierInput | TaskCreateOrConnectWithoutModifierInput[] - createMany?: TaskCreateManyModifierInputEnvelope - connect?: TaskWhereUniqueInput | TaskWhereUniqueInput[] + export type ProjectCreateNestedOneWithoutActivityLogsInput = { + create?: XOR + connectOrCreate?: ProjectCreateOrConnectWithoutActivityLogsInput + connect?: ProjectWhereUniqueInput } - export type NotificationCreateNestedManyWithoutUserInput = { - create?: XOR | NotificationCreateWithoutUserInput[] | NotificationUncheckedCreateWithoutUserInput[] - connectOrCreate?: NotificationCreateOrConnectWithoutUserInput | NotificationCreateOrConnectWithoutUserInput[] - createMany?: NotificationCreateManyUserInputEnvelope - connect?: NotificationWhereUniqueInput | NotificationWhereUniqueInput[] + export type TeamCreateNestedOneWithoutActivityLogsInput = { + create?: XOR + connectOrCreate?: TeamCreateOrConnectWithoutActivityLogsInput + connect?: TeamWhereUniqueInput } - export type TimelogCreateNestedManyWithoutUserInput = { - create?: XOR | TimelogCreateWithoutUserInput[] | TimelogUncheckedCreateWithoutUserInput[] - connectOrCreate?: TimelogCreateOrConnectWithoutUserInput | TimelogCreateOrConnectWithoutUserInput[] - createMany?: TimelogCreateManyUserInputEnvelope - connect?: TimelogWhereUniqueInput | TimelogWhereUniqueInput[] + export type SprintCreateNestedOneWithoutActivityLogsInput = { + create?: XOR + connectOrCreate?: SprintCreateOrConnectWithoutActivityLogsInput + connect?: SprintWhereUniqueInput } - export type CommentCreateNestedManyWithoutUserInput = { - create?: XOR | CommentCreateWithoutUserInput[] | CommentUncheckedCreateWithoutUserInput[] - connectOrCreate?: CommentCreateOrConnectWithoutUserInput | CommentCreateOrConnectWithoutUserInput[] - createMany?: CommentCreateManyUserInputEnvelope - connect?: CommentWhereUniqueInput | CommentWhereUniqueInput[] + export type TaskCreateNestedOneWithoutActivityLogsInput = { + create?: XOR + connectOrCreate?: TaskCreateOrConnectWithoutActivityLogsInput + connect?: TaskWhereUniqueInput } - export type TaskAttachmentCreateNestedManyWithoutUploaderInput = { - create?: XOR | TaskAttachmentCreateWithoutUploaderInput[] | TaskAttachmentUncheckedCreateWithoutUploaderInput[] - connectOrCreate?: TaskAttachmentCreateOrConnectWithoutUploaderInput | TaskAttachmentCreateOrConnectWithoutUploaderInput[] - createMany?: TaskAttachmentCreateManyUploaderInputEnvelope - connect?: TaskAttachmentWhereUniqueInput | TaskAttachmentWhereUniqueInput[] + export type EnumEntityTypeFieldUpdateOperationsInput = { + set?: $Enums.EntityType } - export type ReportCreateNestedManyWithoutGeneratorInput = { - create?: XOR | ReportCreateWithoutGeneratorInput[] | ReportUncheckedCreateWithoutGeneratorInput[] - connectOrCreate?: ReportCreateOrConnectWithoutGeneratorInput | ReportCreateOrConnectWithoutGeneratorInput[] - createMany?: ReportCreateManyGeneratorInputEnvelope - connect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] + export type EnumActionTypeFieldUpdateOperationsInput = { + set?: $Enums.ActionType } - export type ReportCreateNestedManyWithoutUserInput = { - create?: XOR | ReportCreateWithoutUserInput[] | ReportUncheckedCreateWithoutUserInput[] - connectOrCreate?: ReportCreateOrConnectWithoutUserInput | ReportCreateOrConnectWithoutUserInput[] - createMany?: ReportCreateManyUserInputEnvelope - connect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] + export type UserUpdateOneRequiredWithoutActivityLogsNestedInput = { + create?: XOR + connectOrCreate?: UserCreateOrConnectWithoutActivityLogsInput + upsert?: UserUpsertWithoutActivityLogsInput + connect?: UserWhereUniqueInput + update?: XOR, UserUncheckedUpdateWithoutActivityLogsInput> } - export type PermissionCreateNestedManyWithoutUserInput = { - create?: XOR | PermissionCreateWithoutUserInput[] | PermissionUncheckedCreateWithoutUserInput[] - connectOrCreate?: PermissionCreateOrConnectWithoutUserInput | PermissionCreateOrConnectWithoutUserInput[] - createMany?: PermissionCreateManyUserInputEnvelope - connect?: PermissionWhereUniqueInput | PermissionWhereUniqueInput[] + export type OrganizationUpdateOneWithoutActivityLogsNestedInput = { + create?: XOR + connectOrCreate?: OrganizationCreateOrConnectWithoutActivityLogsInput + upsert?: OrganizationUpsertWithoutActivityLogsInput + disconnect?: OrganizationWhereInput | boolean + delete?: OrganizationWhereInput | boolean + connect?: OrganizationWhereUniqueInput + update?: XOR, OrganizationUncheckedUpdateWithoutActivityLogsInput> } - export type ActivityLogCreateNestedManyWithoutUserInput = { - create?: XOR | ActivityLogCreateWithoutUserInput[] | ActivityLogUncheckedCreateWithoutUserInput[] - connectOrCreate?: ActivityLogCreateOrConnectWithoutUserInput | ActivityLogCreateOrConnectWithoutUserInput[] - createMany?: ActivityLogCreateManyUserInputEnvelope - connect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] + export type DepartmentUpdateOneWithoutActivityLogsNestedInput = { + create?: XOR + connectOrCreate?: DepartmentCreateOrConnectWithoutActivityLogsInput + upsert?: DepartmentUpsertWithoutActivityLogsInput + disconnect?: DepartmentWhereInput | boolean + delete?: DepartmentWhereInput | boolean + connect?: DepartmentWhereUniqueInput + update?: XOR, DepartmentUncheckedUpdateWithoutActivityLogsInput> } - export type ReportNotificationCreateNestedManyWithoutUserInput = { - create?: XOR | ReportNotificationCreateWithoutUserInput[] | ReportNotificationUncheckedCreateWithoutUserInput[] - connectOrCreate?: ReportNotificationCreateOrConnectWithoutUserInput | ReportNotificationCreateOrConnectWithoutUserInput[] - createMany?: ReportNotificationCreateManyUserInputEnvelope - connect?: ReportNotificationWhereUniqueInput | ReportNotificationWhereUniqueInput[] + export type ProjectUpdateOneWithoutActivityLogsNestedInput = { + create?: XOR + connectOrCreate?: ProjectCreateOrConnectWithoutActivityLogsInput + upsert?: ProjectUpsertWithoutActivityLogsInput + disconnect?: ProjectWhereInput | boolean + delete?: ProjectWhereInput | boolean + connect?: ProjectWhereUniqueInput + update?: XOR, ProjectUncheckedUpdateWithoutActivityLogsInput> } - export type OrganizationUncheckedCreateNestedManyWithoutCreatorInput = { - create?: XOR | OrganizationCreateWithoutCreatorInput[] | OrganizationUncheckedCreateWithoutCreatorInput[] - connectOrCreate?: OrganizationCreateOrConnectWithoutCreatorInput | OrganizationCreateOrConnectWithoutCreatorInput[] - createMany?: OrganizationCreateManyCreatorInputEnvelope - connect?: OrganizationWhereUniqueInput | OrganizationWhereUniqueInput[] + export type TeamUpdateOneWithoutActivityLogsNestedInput = { + create?: XOR + connectOrCreate?: TeamCreateOrConnectWithoutActivityLogsInput + upsert?: TeamUpsertWithoutActivityLogsInput + disconnect?: TeamWhereInput | boolean + delete?: TeamWhereInput | boolean + connect?: TeamWhereUniqueInput + update?: XOR, TeamUncheckedUpdateWithoutActivityLogsInput> } - export type OrganizationOwnerUncheckedCreateNestedManyWithoutUserInput = { - create?: XOR | OrganizationOwnerCreateWithoutUserInput[] | OrganizationOwnerUncheckedCreateWithoutUserInput[] - connectOrCreate?: OrganizationOwnerCreateOrConnectWithoutUserInput | OrganizationOwnerCreateOrConnectWithoutUserInput[] - createMany?: OrganizationOwnerCreateManyUserInputEnvelope - connect?: OrganizationOwnerWhereUniqueInput | OrganizationOwnerWhereUniqueInput[] + export type SprintUpdateOneWithoutActivityLogsNestedInput = { + create?: XOR + connectOrCreate?: SprintCreateOrConnectWithoutActivityLogsInput + upsert?: SprintUpsertWithoutActivityLogsInput + disconnect?: SprintWhereInput | boolean + delete?: SprintWhereInput | boolean + connect?: SprintWhereUniqueInput + update?: XOR, SprintUncheckedUpdateWithoutActivityLogsInput> } - export type DepartmentUncheckedCreateNestedManyWithoutManagerInput = { - create?: XOR | DepartmentCreateWithoutManagerInput[] | DepartmentUncheckedCreateWithoutManagerInput[] - connectOrCreate?: DepartmentCreateOrConnectWithoutManagerInput | DepartmentCreateOrConnectWithoutManagerInput[] - createMany?: DepartmentCreateManyManagerInputEnvelope - connect?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[] + export type TaskUpdateOneWithoutActivityLogsNestedInput = { + create?: XOR + connectOrCreate?: TaskCreateOrConnectWithoutActivityLogsInput + upsert?: TaskUpsertWithoutActivityLogsInput + disconnect?: TaskWhereInput | boolean + delete?: TaskWhereInput | boolean + connect?: TaskWhereUniqueInput + update?: XOR, TaskUncheckedUpdateWithoutActivityLogsInput> } - export type TeamUncheckedCreateNestedManyWithoutCreatorInput = { - create?: XOR | TeamCreateWithoutCreatorInput[] | TeamUncheckedCreateWithoutCreatorInput[] - connectOrCreate?: TeamCreateOrConnectWithoutCreatorInput | TeamCreateOrConnectWithoutCreatorInput[] - createMany?: TeamCreateManyCreatorInputEnvelope - connect?: TeamWhereUniqueInput | TeamWhereUniqueInput[] + export type UserCreateNestedOneWithoutNotificationsInput = { + create?: XOR + connectOrCreate?: UserCreateOrConnectWithoutNotificationsInput + connect?: UserWhereUniqueInput } - export type TeamMemberUncheckedCreateNestedManyWithoutUserInput = { - create?: XOR | TeamMemberCreateWithoutUserInput[] | TeamMemberUncheckedCreateWithoutUserInput[] - connectOrCreate?: TeamMemberCreateOrConnectWithoutUserInput | TeamMemberCreateOrConnectWithoutUserInput[] - createMany?: TeamMemberCreateManyUserInputEnvelope - connect?: TeamMemberWhereUniqueInput | TeamMemberWhereUniqueInput[] + export type UserUpdateOneRequiredWithoutNotificationsNestedInput = { + create?: XOR + connectOrCreate?: UserCreateOrConnectWithoutNotificationsInput + upsert?: UserUpsertWithoutNotificationsInput + connect?: UserWhereUniqueInput + update?: XOR, UserUncheckedUpdateWithoutNotificationsInput> } - export type ProjectMemberUncheckedCreateNestedManyWithoutUserInput = { - create?: XOR | ProjectMemberCreateWithoutUserInput[] | ProjectMemberUncheckedCreateWithoutUserInput[] - connectOrCreate?: ProjectMemberCreateOrConnectWithoutUserInput | ProjectMemberCreateOrConnectWithoutUserInput[] - createMany?: ProjectMemberCreateManyUserInputEnvelope - connect?: ProjectMemberWhereUniqueInput | ProjectMemberWhereUniqueInput[] + export type UserCreateNestedOneWithoutGeneratedReportsInput = { + create?: XOR + connectOrCreate?: UserCreateOrConnectWithoutGeneratedReportsInput + connect?: UserWhereUniqueInput } - export type ProjectUncheckedCreateNestedManyWithoutCreatorInput = { - create?: XOR | ProjectCreateWithoutCreatorInput[] | ProjectUncheckedCreateWithoutCreatorInput[] - connectOrCreate?: ProjectCreateOrConnectWithoutCreatorInput | ProjectCreateOrConnectWithoutCreatorInput[] - createMany?: ProjectCreateManyCreatorInputEnvelope - connect?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] + export type OrganizationCreateNestedOneWithoutReportsInput = { + create?: XOR + connectOrCreate?: OrganizationCreateOrConnectWithoutReportsInput + connect?: OrganizationWhereUniqueInput } - export type ProjectUncheckedCreateNestedManyWithoutModifierInput = { - create?: XOR | ProjectCreateWithoutModifierInput[] | ProjectUncheckedCreateWithoutModifierInput[] - connectOrCreate?: ProjectCreateOrConnectWithoutModifierInput | ProjectCreateOrConnectWithoutModifierInput[] - createMany?: ProjectCreateManyModifierInputEnvelope - connect?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] + export type TeamCreateNestedOneWithoutReportsInput = { + create?: XOR + connectOrCreate?: TeamCreateOrConnectWithoutReportsInput + connect?: TeamWhereUniqueInput } - export type TaskUncheckedCreateNestedManyWithoutCreatorInput = { - create?: XOR | TaskCreateWithoutCreatorInput[] | TaskUncheckedCreateWithoutCreatorInput[] - connectOrCreate?: TaskCreateOrConnectWithoutCreatorInput | TaskCreateOrConnectWithoutCreatorInput[] - createMany?: TaskCreateManyCreatorInputEnvelope - connect?: TaskWhereUniqueInput | TaskWhereUniqueInput[] + export type ProjectCreateNestedOneWithoutReportsInput = { + create?: XOR + connectOrCreate?: ProjectCreateOrConnectWithoutReportsInput + connect?: ProjectWhereUniqueInput } - export type TaskUncheckedCreateNestedManyWithoutAssigneeInput = { - create?: XOR | TaskCreateWithoutAssigneeInput[] | TaskUncheckedCreateWithoutAssigneeInput[] - connectOrCreate?: TaskCreateOrConnectWithoutAssigneeInput | TaskCreateOrConnectWithoutAssigneeInput[] - createMany?: TaskCreateManyAssigneeInputEnvelope - connect?: TaskWhereUniqueInput | TaskWhereUniqueInput[] + export type DepartmentCreateNestedOneWithoutReportInput = { + create?: XOR + connectOrCreate?: DepartmentCreateOrConnectWithoutReportInput + connect?: DepartmentWhereUniqueInput } - export type TaskUncheckedCreateNestedManyWithoutModifierInput = { - create?: XOR | TaskCreateWithoutModifierInput[] | TaskUncheckedCreateWithoutModifierInput[] - connectOrCreate?: TaskCreateOrConnectWithoutModifierInput | TaskCreateOrConnectWithoutModifierInput[] - createMany?: TaskCreateManyModifierInputEnvelope - connect?: TaskWhereUniqueInput | TaskWhereUniqueInput[] + export type UserCreateNestedOneWithoutUserReportsInput = { + create?: XOR + connectOrCreate?: UserCreateOrConnectWithoutUserReportsInput + connect?: UserWhereUniqueInput } - export type NotificationUncheckedCreateNestedManyWithoutUserInput = { - create?: XOR | NotificationCreateWithoutUserInput[] | NotificationUncheckedCreateWithoutUserInput[] - connectOrCreate?: NotificationCreateOrConnectWithoutUserInput | NotificationCreateOrConnectWithoutUserInput[] - createMany?: NotificationCreateManyUserInputEnvelope - connect?: NotificationWhereUniqueInput | NotificationWhereUniqueInput[] + export type ReportScheduleCreateNestedOneWithoutReportsInput = { + create?: XOR + connectOrCreate?: ReportScheduleCreateOrConnectWithoutReportsInput + connect?: ReportScheduleWhereUniqueInput } - export type TimelogUncheckedCreateNestedManyWithoutUserInput = { - create?: XOR | TimelogCreateWithoutUserInput[] | TimelogUncheckedCreateWithoutUserInput[] - connectOrCreate?: TimelogCreateOrConnectWithoutUserInput | TimelogCreateOrConnectWithoutUserInput[] - createMany?: TimelogCreateManyUserInputEnvelope - connect?: TimelogWhereUniqueInput | TimelogWhereUniqueInput[] + export type ReportNotificationCreateNestedManyWithoutReportInput = { + create?: XOR | ReportNotificationCreateWithoutReportInput[] | ReportNotificationUncheckedCreateWithoutReportInput[] + connectOrCreate?: ReportNotificationCreateOrConnectWithoutReportInput | ReportNotificationCreateOrConnectWithoutReportInput[] + createMany?: ReportNotificationCreateManyReportInputEnvelope + connect?: ReportNotificationWhereUniqueInput | ReportNotificationWhereUniqueInput[] } - export type CommentUncheckedCreateNestedManyWithoutUserInput = { - create?: XOR | CommentCreateWithoutUserInput[] | CommentUncheckedCreateWithoutUserInput[] - connectOrCreate?: CommentCreateOrConnectWithoutUserInput | CommentCreateOrConnectWithoutUserInput[] - createMany?: CommentCreateManyUserInputEnvelope - connect?: CommentWhereUniqueInput | CommentWhereUniqueInput[] + export type ReportNotificationUncheckedCreateNestedManyWithoutReportInput = { + create?: XOR | ReportNotificationCreateWithoutReportInput[] | ReportNotificationUncheckedCreateWithoutReportInput[] + connectOrCreate?: ReportNotificationCreateOrConnectWithoutReportInput | ReportNotificationCreateOrConnectWithoutReportInput[] + createMany?: ReportNotificationCreateManyReportInputEnvelope + connect?: ReportNotificationWhereUniqueInput | ReportNotificationWhereUniqueInput[] } - export type TaskAttachmentUncheckedCreateNestedManyWithoutUploaderInput = { - create?: XOR | TaskAttachmentCreateWithoutUploaderInput[] | TaskAttachmentUncheckedCreateWithoutUploaderInput[] - connectOrCreate?: TaskAttachmentCreateOrConnectWithoutUploaderInput | TaskAttachmentCreateOrConnectWithoutUploaderInput[] - createMany?: TaskAttachmentCreateManyUploaderInputEnvelope - connect?: TaskAttachmentWhereUniqueInput | TaskAttachmentWhereUniqueInput[] + export type EnumReportTypeFieldUpdateOperationsInput = { + set?: $Enums.ReportType } - export type ReportUncheckedCreateNestedManyWithoutGeneratorInput = { - create?: XOR | ReportCreateWithoutGeneratorInput[] | ReportUncheckedCreateWithoutGeneratorInput[] - connectOrCreate?: ReportCreateOrConnectWithoutGeneratorInput | ReportCreateOrConnectWithoutGeneratorInput[] - createMany?: ReportCreateManyGeneratorInputEnvelope - connect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] + export type EnumReportStatusFieldUpdateOperationsInput = { + set?: $Enums.ReportStatus } - export type ReportUncheckedCreateNestedManyWithoutUserInput = { - create?: XOR | ReportCreateWithoutUserInput[] | ReportUncheckedCreateWithoutUserInput[] - connectOrCreate?: ReportCreateOrConnectWithoutUserInput | ReportCreateOrConnectWithoutUserInput[] - createMany?: ReportCreateManyUserInputEnvelope - connect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] + export type UserUpdateOneRequiredWithoutGeneratedReportsNestedInput = { + create?: XOR + connectOrCreate?: UserCreateOrConnectWithoutGeneratedReportsInput + upsert?: UserUpsertWithoutGeneratedReportsInput + connect?: UserWhereUniqueInput + update?: XOR, UserUncheckedUpdateWithoutGeneratedReportsInput> } - export type PermissionUncheckedCreateNestedManyWithoutUserInput = { - create?: XOR | PermissionCreateWithoutUserInput[] | PermissionUncheckedCreateWithoutUserInput[] - connectOrCreate?: PermissionCreateOrConnectWithoutUserInput | PermissionCreateOrConnectWithoutUserInput[] - createMany?: PermissionCreateManyUserInputEnvelope - connect?: PermissionWhereUniqueInput | PermissionWhereUniqueInput[] + export type OrganizationUpdateOneWithoutReportsNestedInput = { + create?: XOR + connectOrCreate?: OrganizationCreateOrConnectWithoutReportsInput + upsert?: OrganizationUpsertWithoutReportsInput + disconnect?: OrganizationWhereInput | boolean + delete?: OrganizationWhereInput | boolean + connect?: OrganizationWhereUniqueInput + update?: XOR, OrganizationUncheckedUpdateWithoutReportsInput> } - export type ActivityLogUncheckedCreateNestedManyWithoutUserInput = { - create?: XOR | ActivityLogCreateWithoutUserInput[] | ActivityLogUncheckedCreateWithoutUserInput[] - connectOrCreate?: ActivityLogCreateOrConnectWithoutUserInput | ActivityLogCreateOrConnectWithoutUserInput[] - createMany?: ActivityLogCreateManyUserInputEnvelope - connect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] + export type TeamUpdateOneWithoutReportsNestedInput = { + create?: XOR + connectOrCreate?: TeamCreateOrConnectWithoutReportsInput + upsert?: TeamUpsertWithoutReportsInput + disconnect?: TeamWhereInput | boolean + delete?: TeamWhereInput | boolean + connect?: TeamWhereUniqueInput + update?: XOR, TeamUncheckedUpdateWithoutReportsInput> } - export type ReportNotificationUncheckedCreateNestedManyWithoutUserInput = { - create?: XOR | ReportNotificationCreateWithoutUserInput[] | ReportNotificationUncheckedCreateWithoutUserInput[] - connectOrCreate?: ReportNotificationCreateOrConnectWithoutUserInput | ReportNotificationCreateOrConnectWithoutUserInput[] - createMany?: ReportNotificationCreateManyUserInputEnvelope - connect?: ReportNotificationWhereUniqueInput | ReportNotificationWhereUniqueInput[] + export type ProjectUpdateOneWithoutReportsNestedInput = { + create?: XOR + connectOrCreate?: ProjectCreateOrConnectWithoutReportsInput + upsert?: ProjectUpsertWithoutReportsInput + disconnect?: ProjectWhereInput | boolean + delete?: ProjectWhereInput | boolean + connect?: ProjectWhereUniqueInput + update?: XOR, ProjectUncheckedUpdateWithoutReportsInput> } - export type StringFieldUpdateOperationsInput = { - set?: string + export type DepartmentUpdateOneWithoutReportNestedInput = { + create?: XOR + connectOrCreate?: DepartmentCreateOrConnectWithoutReportInput + upsert?: DepartmentUpsertWithoutReportInput + disconnect?: DepartmentWhereInput | boolean + delete?: DepartmentWhereInput | boolean + connect?: DepartmentWhereUniqueInput + update?: XOR, DepartmentUncheckedUpdateWithoutReportInput> } - export type NullableStringFieldUpdateOperationsInput = { - set?: string | null + export type UserUpdateOneWithoutUserReportsNestedInput = { + create?: XOR + connectOrCreate?: UserCreateOrConnectWithoutUserReportsInput + upsert?: UserUpsertWithoutUserReportsInput + disconnect?: UserWhereInput | boolean + delete?: UserWhereInput | boolean + connect?: UserWhereUniqueInput + update?: XOR, UserUncheckedUpdateWithoutUserReportsInput> } - export type EnumUserRoleFieldUpdateOperationsInput = { - set?: $Enums.UserRole + export type ReportScheduleUpdateOneWithoutReportsNestedInput = { + create?: XOR + connectOrCreate?: ReportScheduleCreateOrConnectWithoutReportsInput + upsert?: ReportScheduleUpsertWithoutReportsInput + disconnect?: ReportScheduleWhereInput | boolean + delete?: ReportScheduleWhereInput | boolean + connect?: ReportScheduleWhereUniqueInput + update?: XOR, ReportScheduleUncheckedUpdateWithoutReportsInput> } - export type BoolFieldUpdateOperationsInput = { - set?: boolean + export type ReportNotificationUpdateManyWithoutReportNestedInput = { + create?: XOR | ReportNotificationCreateWithoutReportInput[] | ReportNotificationUncheckedCreateWithoutReportInput[] + connectOrCreate?: ReportNotificationCreateOrConnectWithoutReportInput | ReportNotificationCreateOrConnectWithoutReportInput[] + upsert?: ReportNotificationUpsertWithWhereUniqueWithoutReportInput | ReportNotificationUpsertWithWhereUniqueWithoutReportInput[] + createMany?: ReportNotificationCreateManyReportInputEnvelope + set?: ReportNotificationWhereUniqueInput | ReportNotificationWhereUniqueInput[] + disconnect?: ReportNotificationWhereUniqueInput | ReportNotificationWhereUniqueInput[] + delete?: ReportNotificationWhereUniqueInput | ReportNotificationWhereUniqueInput[] + connect?: ReportNotificationWhereUniqueInput | ReportNotificationWhereUniqueInput[] + update?: ReportNotificationUpdateWithWhereUniqueWithoutReportInput | ReportNotificationUpdateWithWhereUniqueWithoutReportInput[] + updateMany?: ReportNotificationUpdateManyWithWhereWithoutReportInput | ReportNotificationUpdateManyWithWhereWithoutReportInput[] + deleteMany?: ReportNotificationScalarWhereInput | ReportNotificationScalarWhereInput[] } - export type DateTimeFieldUpdateOperationsInput = { - set?: Date | string + export type ReportNotificationUncheckedUpdateManyWithoutReportNestedInput = { + create?: XOR | ReportNotificationCreateWithoutReportInput[] | ReportNotificationUncheckedCreateWithoutReportInput[] + connectOrCreate?: ReportNotificationCreateOrConnectWithoutReportInput | ReportNotificationCreateOrConnectWithoutReportInput[] + upsert?: ReportNotificationUpsertWithWhereUniqueWithoutReportInput | ReportNotificationUpsertWithWhereUniqueWithoutReportInput[] + createMany?: ReportNotificationCreateManyReportInputEnvelope + set?: ReportNotificationWhereUniqueInput | ReportNotificationWhereUniqueInput[] + disconnect?: ReportNotificationWhereUniqueInput | ReportNotificationWhereUniqueInput[] + delete?: ReportNotificationWhereUniqueInput | ReportNotificationWhereUniqueInput[] + connect?: ReportNotificationWhereUniqueInput | ReportNotificationWhereUniqueInput[] + update?: ReportNotificationUpdateWithWhereUniqueWithoutReportInput | ReportNotificationUpdateWithWhereUniqueWithoutReportInput[] + updateMany?: ReportNotificationUpdateManyWithWhereWithoutReportInput | ReportNotificationUpdateManyWithWhereWithoutReportInput[] + deleteMany?: ReportNotificationScalarWhereInput | ReportNotificationScalarWhereInput[] } - export type NullableDateTimeFieldUpdateOperationsInput = { - set?: Date | string | null + export type ReportCreateNestedManyWithoutReportScheduleInput = { + create?: XOR | ReportCreateWithoutReportScheduleInput[] | ReportUncheckedCreateWithoutReportScheduleInput[] + connectOrCreate?: ReportCreateOrConnectWithoutReportScheduleInput | ReportCreateOrConnectWithoutReportScheduleInput[] + createMany?: ReportCreateManyReportScheduleInputEnvelope + connect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] } - export type DepartmentUpdateOneWithoutUsersNestedInput = { - create?: XOR - connectOrCreate?: DepartmentCreateOrConnectWithoutUsersInput - upsert?: DepartmentUpsertWithoutUsersInput - disconnect?: DepartmentWhereInput | boolean - delete?: DepartmentWhereInput | boolean - connect?: DepartmentWhereUniqueInput - update?: XOR, DepartmentUncheckedUpdateWithoutUsersInput> + export type ReportUncheckedCreateNestedManyWithoutReportScheduleInput = { + create?: XOR | ReportCreateWithoutReportScheduleInput[] | ReportUncheckedCreateWithoutReportScheduleInput[] + connectOrCreate?: ReportCreateOrConnectWithoutReportScheduleInput | ReportCreateOrConnectWithoutReportScheduleInput[] + createMany?: ReportCreateManyReportScheduleInputEnvelope + connect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] } - export type OrganizationUpdateOneWithoutUsersNestedInput = { - create?: XOR - connectOrCreate?: OrganizationCreateOrConnectWithoutUsersInput - upsert?: OrganizationUpsertWithoutUsersInput - disconnect?: OrganizationWhereInput | boolean - delete?: OrganizationWhereInput | boolean - connect?: OrganizationWhereUniqueInput - update?: XOR, OrganizationUncheckedUpdateWithoutUsersInput> + export type ReportUpdateManyWithoutReportScheduleNestedInput = { + create?: XOR | ReportCreateWithoutReportScheduleInput[] | ReportUncheckedCreateWithoutReportScheduleInput[] + connectOrCreate?: ReportCreateOrConnectWithoutReportScheduleInput | ReportCreateOrConnectWithoutReportScheduleInput[] + upsert?: ReportUpsertWithWhereUniqueWithoutReportScheduleInput | ReportUpsertWithWhereUniqueWithoutReportScheduleInput[] + createMany?: ReportCreateManyReportScheduleInputEnvelope + set?: ReportWhereUniqueInput | ReportWhereUniqueInput[] + disconnect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] + delete?: ReportWhereUniqueInput | ReportWhereUniqueInput[] + connect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] + update?: ReportUpdateWithWhereUniqueWithoutReportScheduleInput | ReportUpdateWithWhereUniqueWithoutReportScheduleInput[] + updateMany?: ReportUpdateManyWithWhereWithoutReportScheduleInput | ReportUpdateManyWithWhereWithoutReportScheduleInput[] + deleteMany?: ReportScalarWhereInput | ReportScalarWhereInput[] } - export type OrganizationUpdateManyWithoutCreatorNestedInput = { - create?: XOR | OrganizationCreateWithoutCreatorInput[] | OrganizationUncheckedCreateWithoutCreatorInput[] - connectOrCreate?: OrganizationCreateOrConnectWithoutCreatorInput | OrganizationCreateOrConnectWithoutCreatorInput[] - upsert?: OrganizationUpsertWithWhereUniqueWithoutCreatorInput | OrganizationUpsertWithWhereUniqueWithoutCreatorInput[] - createMany?: OrganizationCreateManyCreatorInputEnvelope - set?: OrganizationWhereUniqueInput | OrganizationWhereUniqueInput[] - disconnect?: OrganizationWhereUniqueInput | OrganizationWhereUniqueInput[] - delete?: OrganizationWhereUniqueInput | OrganizationWhereUniqueInput[] - connect?: OrganizationWhereUniqueInput | OrganizationWhereUniqueInput[] - update?: OrganizationUpdateWithWhereUniqueWithoutCreatorInput | OrganizationUpdateWithWhereUniqueWithoutCreatorInput[] - updateMany?: OrganizationUpdateManyWithWhereWithoutCreatorInput | OrganizationUpdateManyWithWhereWithoutCreatorInput[] - deleteMany?: OrganizationScalarWhereInput | OrganizationScalarWhereInput[] + export type ReportUncheckedUpdateManyWithoutReportScheduleNestedInput = { + create?: XOR | ReportCreateWithoutReportScheduleInput[] | ReportUncheckedCreateWithoutReportScheduleInput[] + connectOrCreate?: ReportCreateOrConnectWithoutReportScheduleInput | ReportCreateOrConnectWithoutReportScheduleInput[] + upsert?: ReportUpsertWithWhereUniqueWithoutReportScheduleInput | ReportUpsertWithWhereUniqueWithoutReportScheduleInput[] + createMany?: ReportCreateManyReportScheduleInputEnvelope + set?: ReportWhereUniqueInput | ReportWhereUniqueInput[] + disconnect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] + delete?: ReportWhereUniqueInput | ReportWhereUniqueInput[] + connect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] + update?: ReportUpdateWithWhereUniqueWithoutReportScheduleInput | ReportUpdateWithWhereUniqueWithoutReportScheduleInput[] + updateMany?: ReportUpdateManyWithWhereWithoutReportScheduleInput | ReportUpdateManyWithWhereWithoutReportScheduleInput[] + deleteMany?: ReportScalarWhereInput | ReportScalarWhereInput[] } - export type OrganizationOwnerUpdateManyWithoutUserNestedInput = { - create?: XOR | OrganizationOwnerCreateWithoutUserInput[] | OrganizationOwnerUncheckedCreateWithoutUserInput[] - connectOrCreate?: OrganizationOwnerCreateOrConnectWithoutUserInput | OrganizationOwnerCreateOrConnectWithoutUserInput[] - upsert?: OrganizationOwnerUpsertWithWhereUniqueWithoutUserInput | OrganizationOwnerUpsertWithWhereUniqueWithoutUserInput[] - createMany?: OrganizationOwnerCreateManyUserInputEnvelope - set?: OrganizationOwnerWhereUniqueInput | OrganizationOwnerWhereUniqueInput[] - disconnect?: OrganizationOwnerWhereUniqueInput | OrganizationOwnerWhereUniqueInput[] - delete?: OrganizationOwnerWhereUniqueInput | OrganizationOwnerWhereUniqueInput[] - connect?: OrganizationOwnerWhereUniqueInput | OrganizationOwnerWhereUniqueInput[] - update?: OrganizationOwnerUpdateWithWhereUniqueWithoutUserInput | OrganizationOwnerUpdateWithWhereUniqueWithoutUserInput[] - updateMany?: OrganizationOwnerUpdateManyWithWhereWithoutUserInput | OrganizationOwnerUpdateManyWithWhereWithoutUserInput[] - deleteMany?: OrganizationOwnerScalarWhereInput | OrganizationOwnerScalarWhereInput[] + export type ReportCreateNestedOneWithoutNotifiedUsersInput = { + create?: XOR + connectOrCreate?: ReportCreateOrConnectWithoutNotifiedUsersInput + connect?: ReportWhereUniqueInput } - export type DepartmentUpdateManyWithoutManagerNestedInput = { - create?: XOR | DepartmentCreateWithoutManagerInput[] | DepartmentUncheckedCreateWithoutManagerInput[] - connectOrCreate?: DepartmentCreateOrConnectWithoutManagerInput | DepartmentCreateOrConnectWithoutManagerInput[] - upsert?: DepartmentUpsertWithWhereUniqueWithoutManagerInput | DepartmentUpsertWithWhereUniqueWithoutManagerInput[] - createMany?: DepartmentCreateManyManagerInputEnvelope - set?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[] - disconnect?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[] - delete?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[] - connect?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[] - update?: DepartmentUpdateWithWhereUniqueWithoutManagerInput | DepartmentUpdateWithWhereUniqueWithoutManagerInput[] - updateMany?: DepartmentUpdateManyWithWhereWithoutManagerInput | DepartmentUpdateManyWithWhereWithoutManagerInput[] - deleteMany?: DepartmentScalarWhereInput | DepartmentScalarWhereInput[] + export type UserCreateNestedOneWithoutReportNotificationInput = { + create?: XOR + connectOrCreate?: UserCreateOrConnectWithoutReportNotificationInput + connect?: UserWhereUniqueInput } - export type TeamUpdateManyWithoutCreatorNestedInput = { - create?: XOR | TeamCreateWithoutCreatorInput[] | TeamUncheckedCreateWithoutCreatorInput[] - connectOrCreate?: TeamCreateOrConnectWithoutCreatorInput | TeamCreateOrConnectWithoutCreatorInput[] - upsert?: TeamUpsertWithWhereUniqueWithoutCreatorInput | TeamUpsertWithWhereUniqueWithoutCreatorInput[] - createMany?: TeamCreateManyCreatorInputEnvelope - set?: TeamWhereUniqueInput | TeamWhereUniqueInput[] - disconnect?: TeamWhereUniqueInput | TeamWhereUniqueInput[] - delete?: TeamWhereUniqueInput | TeamWhereUniqueInput[] - connect?: TeamWhereUniqueInput | TeamWhereUniqueInput[] - update?: TeamUpdateWithWhereUniqueWithoutCreatorInput | TeamUpdateWithWhereUniqueWithoutCreatorInput[] - updateMany?: TeamUpdateManyWithWhereWithoutCreatorInput | TeamUpdateManyWithWhereWithoutCreatorInput[] - deleteMany?: TeamScalarWhereInput | TeamScalarWhereInput[] + export type ReportUpdateOneRequiredWithoutNotifiedUsersNestedInput = { + create?: XOR + connectOrCreate?: ReportCreateOrConnectWithoutNotifiedUsersInput + upsert?: ReportUpsertWithoutNotifiedUsersInput + connect?: ReportWhereUniqueInput + update?: XOR, ReportUncheckedUpdateWithoutNotifiedUsersInput> } - export type TeamMemberUpdateManyWithoutUserNestedInput = { - create?: XOR | TeamMemberCreateWithoutUserInput[] | TeamMemberUncheckedCreateWithoutUserInput[] - connectOrCreate?: TeamMemberCreateOrConnectWithoutUserInput | TeamMemberCreateOrConnectWithoutUserInput[] - upsert?: TeamMemberUpsertWithWhereUniqueWithoutUserInput | TeamMemberUpsertWithWhereUniqueWithoutUserInput[] - createMany?: TeamMemberCreateManyUserInputEnvelope - set?: TeamMemberWhereUniqueInput | TeamMemberWhereUniqueInput[] - disconnect?: TeamMemberWhereUniqueInput | TeamMemberWhereUniqueInput[] - delete?: TeamMemberWhereUniqueInput | TeamMemberWhereUniqueInput[] - connect?: TeamMemberWhereUniqueInput | TeamMemberWhereUniqueInput[] - update?: TeamMemberUpdateWithWhereUniqueWithoutUserInput | TeamMemberUpdateWithWhereUniqueWithoutUserInput[] - updateMany?: TeamMemberUpdateManyWithWhereWithoutUserInput | TeamMemberUpdateManyWithWhereWithoutUserInput[] - deleteMany?: TeamMemberScalarWhereInput | TeamMemberScalarWhereInput[] + export type UserUpdateOneRequiredWithoutReportNotificationNestedInput = { + create?: XOR + connectOrCreate?: UserCreateOrConnectWithoutReportNotificationInput + upsert?: UserUpsertWithoutReportNotificationInput + connect?: UserWhereUniqueInput + update?: XOR, UserUncheckedUpdateWithoutReportNotificationInput> } - export type ProjectMemberUpdateManyWithoutUserNestedInput = { - create?: XOR | ProjectMemberCreateWithoutUserInput[] | ProjectMemberUncheckedCreateWithoutUserInput[] - connectOrCreate?: ProjectMemberCreateOrConnectWithoutUserInput | ProjectMemberCreateOrConnectWithoutUserInput[] - upsert?: ProjectMemberUpsertWithWhereUniqueWithoutUserInput | ProjectMemberUpsertWithWhereUniqueWithoutUserInput[] - createMany?: ProjectMemberCreateManyUserInputEnvelope - set?: ProjectMemberWhereUniqueInput | ProjectMemberWhereUniqueInput[] - disconnect?: ProjectMemberWhereUniqueInput | ProjectMemberWhereUniqueInput[] - delete?: ProjectMemberWhereUniqueInput | ProjectMemberWhereUniqueInput[] - connect?: ProjectMemberWhereUniqueInput | ProjectMemberWhereUniqueInput[] - update?: ProjectMemberUpdateWithWhereUniqueWithoutUserInput | ProjectMemberUpdateWithWhereUniqueWithoutUserInput[] - updateMany?: ProjectMemberUpdateManyWithWhereWithoutUserInput | ProjectMemberUpdateManyWithWhereWithoutUserInput[] - deleteMany?: ProjectMemberScalarWhereInput | ProjectMemberScalarWhereInput[] + export type UserCreateNestedOneWithoutPermissionsInput = { + create?: XOR + connectOrCreate?: UserCreateOrConnectWithoutPermissionsInput + connect?: UserWhereUniqueInput } - export type ProjectUpdateManyWithoutCreatorNestedInput = { - create?: XOR | ProjectCreateWithoutCreatorInput[] | ProjectUncheckedCreateWithoutCreatorInput[] - connectOrCreate?: ProjectCreateOrConnectWithoutCreatorInput | ProjectCreateOrConnectWithoutCreatorInput[] - upsert?: ProjectUpsertWithWhereUniqueWithoutCreatorInput | ProjectUpsertWithWhereUniqueWithoutCreatorInput[] - createMany?: ProjectCreateManyCreatorInputEnvelope - set?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] - disconnect?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] - delete?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] - connect?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] - update?: ProjectUpdateWithWhereUniqueWithoutCreatorInput | ProjectUpdateWithWhereUniqueWithoutCreatorInput[] - updateMany?: ProjectUpdateManyWithWhereWithoutCreatorInput | ProjectUpdateManyWithWhereWithoutCreatorInput[] - deleteMany?: ProjectScalarWhereInput | ProjectScalarWhereInput[] + export type UserUpdateOneRequiredWithoutPermissionsNestedInput = { + create?: XOR + connectOrCreate?: UserCreateOrConnectWithoutPermissionsInput + upsert?: UserUpsertWithoutPermissionsInput + connect?: UserWhereUniqueInput + update?: XOR, UserUncheckedUpdateWithoutPermissionsInput> } - export type ProjectUpdateManyWithoutModifierNestedInput = { - create?: XOR | ProjectCreateWithoutModifierInput[] | ProjectUncheckedCreateWithoutModifierInput[] - connectOrCreate?: ProjectCreateOrConnectWithoutModifierInput | ProjectCreateOrConnectWithoutModifierInput[] - upsert?: ProjectUpsertWithWhereUniqueWithoutModifierInput | ProjectUpsertWithWhereUniqueWithoutModifierInput[] - createMany?: ProjectCreateManyModifierInputEnvelope - set?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] - disconnect?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] - delete?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] - connect?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] - update?: ProjectUpdateWithWhereUniqueWithoutModifierInput | ProjectUpdateWithWhereUniqueWithoutModifierInput[] - updateMany?: ProjectUpdateManyWithWhereWithoutModifierInput | ProjectUpdateManyWithWhereWithoutModifierInput[] - deleteMany?: ProjectScalarWhereInput | ProjectScalarWhereInput[] + export type ChatMessageCreateNestedManyWithoutChatRoomInput = { + create?: XOR | ChatMessageCreateWithoutChatRoomInput[] | ChatMessageUncheckedCreateWithoutChatRoomInput[] + connectOrCreate?: ChatMessageCreateOrConnectWithoutChatRoomInput | ChatMessageCreateOrConnectWithoutChatRoomInput[] + createMany?: ChatMessageCreateManyChatRoomInputEnvelope + connect?: ChatMessageWhereUniqueInput | ChatMessageWhereUniqueInput[] + } + + export type ChatParticipantCreateNestedManyWithoutChatRoomInput = { + create?: XOR | ChatParticipantCreateWithoutChatRoomInput[] | ChatParticipantUncheckedCreateWithoutChatRoomInput[] + connectOrCreate?: ChatParticipantCreateOrConnectWithoutChatRoomInput | ChatParticipantCreateOrConnectWithoutChatRoomInput[] + createMany?: ChatParticipantCreateManyChatRoomInputEnvelope + connect?: ChatParticipantWhereUniqueInput | ChatParticipantWhereUniqueInput[] + } + + export type PinnedMessageCreateNestedManyWithoutChatRoomInput = { + create?: XOR | PinnedMessageCreateWithoutChatRoomInput[] | PinnedMessageUncheckedCreateWithoutChatRoomInput[] + connectOrCreate?: PinnedMessageCreateOrConnectWithoutChatRoomInput | PinnedMessageCreateOrConnectWithoutChatRoomInput[] + createMany?: PinnedMessageCreateManyChatRoomInputEnvelope + connect?: PinnedMessageWhereUniqueInput | PinnedMessageWhereUniqueInput[] + } + + export type VideoConferenceSessionCreateNestedManyWithoutChatRoomInput = { + create?: XOR | VideoConferenceSessionCreateWithoutChatRoomInput[] | VideoConferenceSessionUncheckedCreateWithoutChatRoomInput[] + connectOrCreate?: VideoConferenceSessionCreateOrConnectWithoutChatRoomInput | VideoConferenceSessionCreateOrConnectWithoutChatRoomInput[] + createMany?: VideoConferenceSessionCreateManyChatRoomInputEnvelope + connect?: VideoConferenceSessionWhereUniqueInput | VideoConferenceSessionWhereUniqueInput[] + } + + export type ChatMessageUncheckedCreateNestedManyWithoutChatRoomInput = { + create?: XOR | ChatMessageCreateWithoutChatRoomInput[] | ChatMessageUncheckedCreateWithoutChatRoomInput[] + connectOrCreate?: ChatMessageCreateOrConnectWithoutChatRoomInput | ChatMessageCreateOrConnectWithoutChatRoomInput[] + createMany?: ChatMessageCreateManyChatRoomInputEnvelope + connect?: ChatMessageWhereUniqueInput | ChatMessageWhereUniqueInput[] + } + + export type ChatParticipantUncheckedCreateNestedManyWithoutChatRoomInput = { + create?: XOR | ChatParticipantCreateWithoutChatRoomInput[] | ChatParticipantUncheckedCreateWithoutChatRoomInput[] + connectOrCreate?: ChatParticipantCreateOrConnectWithoutChatRoomInput | ChatParticipantCreateOrConnectWithoutChatRoomInput[] + createMany?: ChatParticipantCreateManyChatRoomInputEnvelope + connect?: ChatParticipantWhereUniqueInput | ChatParticipantWhereUniqueInput[] + } + + export type PinnedMessageUncheckedCreateNestedManyWithoutChatRoomInput = { + create?: XOR | PinnedMessageCreateWithoutChatRoomInput[] | PinnedMessageUncheckedCreateWithoutChatRoomInput[] + connectOrCreate?: PinnedMessageCreateOrConnectWithoutChatRoomInput | PinnedMessageCreateOrConnectWithoutChatRoomInput[] + createMany?: PinnedMessageCreateManyChatRoomInputEnvelope + connect?: PinnedMessageWhereUniqueInput | PinnedMessageWhereUniqueInput[] + } + + export type VideoConferenceSessionUncheckedCreateNestedManyWithoutChatRoomInput = { + create?: XOR | VideoConferenceSessionCreateWithoutChatRoomInput[] | VideoConferenceSessionUncheckedCreateWithoutChatRoomInput[] + connectOrCreate?: VideoConferenceSessionCreateOrConnectWithoutChatRoomInput | VideoConferenceSessionCreateOrConnectWithoutChatRoomInput[] + createMany?: VideoConferenceSessionCreateManyChatRoomInputEnvelope + connect?: VideoConferenceSessionWhereUniqueInput | VideoConferenceSessionWhereUniqueInput[] + } + + export type EnumChatRoomTypeFieldUpdateOperationsInput = { + set?: $Enums.ChatRoomType + } + + export type ChatMessageUpdateManyWithoutChatRoomNestedInput = { + create?: XOR | ChatMessageCreateWithoutChatRoomInput[] | ChatMessageUncheckedCreateWithoutChatRoomInput[] + connectOrCreate?: ChatMessageCreateOrConnectWithoutChatRoomInput | ChatMessageCreateOrConnectWithoutChatRoomInput[] + upsert?: ChatMessageUpsertWithWhereUniqueWithoutChatRoomInput | ChatMessageUpsertWithWhereUniqueWithoutChatRoomInput[] + createMany?: ChatMessageCreateManyChatRoomInputEnvelope + set?: ChatMessageWhereUniqueInput | ChatMessageWhereUniqueInput[] + disconnect?: ChatMessageWhereUniqueInput | ChatMessageWhereUniqueInput[] + delete?: ChatMessageWhereUniqueInput | ChatMessageWhereUniqueInput[] + connect?: ChatMessageWhereUniqueInput | ChatMessageWhereUniqueInput[] + update?: ChatMessageUpdateWithWhereUniqueWithoutChatRoomInput | ChatMessageUpdateWithWhereUniqueWithoutChatRoomInput[] + updateMany?: ChatMessageUpdateManyWithWhereWithoutChatRoomInput | ChatMessageUpdateManyWithWhereWithoutChatRoomInput[] + deleteMany?: ChatMessageScalarWhereInput | ChatMessageScalarWhereInput[] + } + + export type ChatParticipantUpdateManyWithoutChatRoomNestedInput = { + create?: XOR | ChatParticipantCreateWithoutChatRoomInput[] | ChatParticipantUncheckedCreateWithoutChatRoomInput[] + connectOrCreate?: ChatParticipantCreateOrConnectWithoutChatRoomInput | ChatParticipantCreateOrConnectWithoutChatRoomInput[] + upsert?: ChatParticipantUpsertWithWhereUniqueWithoutChatRoomInput | ChatParticipantUpsertWithWhereUniqueWithoutChatRoomInput[] + createMany?: ChatParticipantCreateManyChatRoomInputEnvelope + set?: ChatParticipantWhereUniqueInput | ChatParticipantWhereUniqueInput[] + disconnect?: ChatParticipantWhereUniqueInput | ChatParticipantWhereUniqueInput[] + delete?: ChatParticipantWhereUniqueInput | ChatParticipantWhereUniqueInput[] + connect?: ChatParticipantWhereUniqueInput | ChatParticipantWhereUniqueInput[] + update?: ChatParticipantUpdateWithWhereUniqueWithoutChatRoomInput | ChatParticipantUpdateWithWhereUniqueWithoutChatRoomInput[] + updateMany?: ChatParticipantUpdateManyWithWhereWithoutChatRoomInput | ChatParticipantUpdateManyWithWhereWithoutChatRoomInput[] + deleteMany?: ChatParticipantScalarWhereInput | ChatParticipantScalarWhereInput[] + } + + export type PinnedMessageUpdateManyWithoutChatRoomNestedInput = { + create?: XOR | PinnedMessageCreateWithoutChatRoomInput[] | PinnedMessageUncheckedCreateWithoutChatRoomInput[] + connectOrCreate?: PinnedMessageCreateOrConnectWithoutChatRoomInput | PinnedMessageCreateOrConnectWithoutChatRoomInput[] + upsert?: PinnedMessageUpsertWithWhereUniqueWithoutChatRoomInput | PinnedMessageUpsertWithWhereUniqueWithoutChatRoomInput[] + createMany?: PinnedMessageCreateManyChatRoomInputEnvelope + set?: PinnedMessageWhereUniqueInput | PinnedMessageWhereUniqueInput[] + disconnect?: PinnedMessageWhereUniqueInput | PinnedMessageWhereUniqueInput[] + delete?: PinnedMessageWhereUniqueInput | PinnedMessageWhereUniqueInput[] + connect?: PinnedMessageWhereUniqueInput | PinnedMessageWhereUniqueInput[] + update?: PinnedMessageUpdateWithWhereUniqueWithoutChatRoomInput | PinnedMessageUpdateWithWhereUniqueWithoutChatRoomInput[] + updateMany?: PinnedMessageUpdateManyWithWhereWithoutChatRoomInput | PinnedMessageUpdateManyWithWhereWithoutChatRoomInput[] + deleteMany?: PinnedMessageScalarWhereInput | PinnedMessageScalarWhereInput[] + } + + export type VideoConferenceSessionUpdateManyWithoutChatRoomNestedInput = { + create?: XOR | VideoConferenceSessionCreateWithoutChatRoomInput[] | VideoConferenceSessionUncheckedCreateWithoutChatRoomInput[] + connectOrCreate?: VideoConferenceSessionCreateOrConnectWithoutChatRoomInput | VideoConferenceSessionCreateOrConnectWithoutChatRoomInput[] + upsert?: VideoConferenceSessionUpsertWithWhereUniqueWithoutChatRoomInput | VideoConferenceSessionUpsertWithWhereUniqueWithoutChatRoomInput[] + createMany?: VideoConferenceSessionCreateManyChatRoomInputEnvelope + set?: VideoConferenceSessionWhereUniqueInput | VideoConferenceSessionWhereUniqueInput[] + disconnect?: VideoConferenceSessionWhereUniqueInput | VideoConferenceSessionWhereUniqueInput[] + delete?: VideoConferenceSessionWhereUniqueInput | VideoConferenceSessionWhereUniqueInput[] + connect?: VideoConferenceSessionWhereUniqueInput | VideoConferenceSessionWhereUniqueInput[] + update?: VideoConferenceSessionUpdateWithWhereUniqueWithoutChatRoomInput | VideoConferenceSessionUpdateWithWhereUniqueWithoutChatRoomInput[] + updateMany?: VideoConferenceSessionUpdateManyWithWhereWithoutChatRoomInput | VideoConferenceSessionUpdateManyWithWhereWithoutChatRoomInput[] + deleteMany?: VideoConferenceSessionScalarWhereInput | VideoConferenceSessionScalarWhereInput[] + } + + export type ChatMessageUncheckedUpdateManyWithoutChatRoomNestedInput = { + create?: XOR | ChatMessageCreateWithoutChatRoomInput[] | ChatMessageUncheckedCreateWithoutChatRoomInput[] + connectOrCreate?: ChatMessageCreateOrConnectWithoutChatRoomInput | ChatMessageCreateOrConnectWithoutChatRoomInput[] + upsert?: ChatMessageUpsertWithWhereUniqueWithoutChatRoomInput | ChatMessageUpsertWithWhereUniqueWithoutChatRoomInput[] + createMany?: ChatMessageCreateManyChatRoomInputEnvelope + set?: ChatMessageWhereUniqueInput | ChatMessageWhereUniqueInput[] + disconnect?: ChatMessageWhereUniqueInput | ChatMessageWhereUniqueInput[] + delete?: ChatMessageWhereUniqueInput | ChatMessageWhereUniqueInput[] + connect?: ChatMessageWhereUniqueInput | ChatMessageWhereUniqueInput[] + update?: ChatMessageUpdateWithWhereUniqueWithoutChatRoomInput | ChatMessageUpdateWithWhereUniqueWithoutChatRoomInput[] + updateMany?: ChatMessageUpdateManyWithWhereWithoutChatRoomInput | ChatMessageUpdateManyWithWhereWithoutChatRoomInput[] + deleteMany?: ChatMessageScalarWhereInput | ChatMessageScalarWhereInput[] + } + + export type ChatParticipantUncheckedUpdateManyWithoutChatRoomNestedInput = { + create?: XOR | ChatParticipantCreateWithoutChatRoomInput[] | ChatParticipantUncheckedCreateWithoutChatRoomInput[] + connectOrCreate?: ChatParticipantCreateOrConnectWithoutChatRoomInput | ChatParticipantCreateOrConnectWithoutChatRoomInput[] + upsert?: ChatParticipantUpsertWithWhereUniqueWithoutChatRoomInput | ChatParticipantUpsertWithWhereUniqueWithoutChatRoomInput[] + createMany?: ChatParticipantCreateManyChatRoomInputEnvelope + set?: ChatParticipantWhereUniqueInput | ChatParticipantWhereUniqueInput[] + disconnect?: ChatParticipantWhereUniqueInput | ChatParticipantWhereUniqueInput[] + delete?: ChatParticipantWhereUniqueInput | ChatParticipantWhereUniqueInput[] + connect?: ChatParticipantWhereUniqueInput | ChatParticipantWhereUniqueInput[] + update?: ChatParticipantUpdateWithWhereUniqueWithoutChatRoomInput | ChatParticipantUpdateWithWhereUniqueWithoutChatRoomInput[] + updateMany?: ChatParticipantUpdateManyWithWhereWithoutChatRoomInput | ChatParticipantUpdateManyWithWhereWithoutChatRoomInput[] + deleteMany?: ChatParticipantScalarWhereInput | ChatParticipantScalarWhereInput[] + } + + export type PinnedMessageUncheckedUpdateManyWithoutChatRoomNestedInput = { + create?: XOR | PinnedMessageCreateWithoutChatRoomInput[] | PinnedMessageUncheckedCreateWithoutChatRoomInput[] + connectOrCreate?: PinnedMessageCreateOrConnectWithoutChatRoomInput | PinnedMessageCreateOrConnectWithoutChatRoomInput[] + upsert?: PinnedMessageUpsertWithWhereUniqueWithoutChatRoomInput | PinnedMessageUpsertWithWhereUniqueWithoutChatRoomInput[] + createMany?: PinnedMessageCreateManyChatRoomInputEnvelope + set?: PinnedMessageWhereUniqueInput | PinnedMessageWhereUniqueInput[] + disconnect?: PinnedMessageWhereUniqueInput | PinnedMessageWhereUniqueInput[] + delete?: PinnedMessageWhereUniqueInput | PinnedMessageWhereUniqueInput[] + connect?: PinnedMessageWhereUniqueInput | PinnedMessageWhereUniqueInput[] + update?: PinnedMessageUpdateWithWhereUniqueWithoutChatRoomInput | PinnedMessageUpdateWithWhereUniqueWithoutChatRoomInput[] + updateMany?: PinnedMessageUpdateManyWithWhereWithoutChatRoomInput | PinnedMessageUpdateManyWithWhereWithoutChatRoomInput[] + deleteMany?: PinnedMessageScalarWhereInput | PinnedMessageScalarWhereInput[] + } + + export type VideoConferenceSessionUncheckedUpdateManyWithoutChatRoomNestedInput = { + create?: XOR | VideoConferenceSessionCreateWithoutChatRoomInput[] | VideoConferenceSessionUncheckedCreateWithoutChatRoomInput[] + connectOrCreate?: VideoConferenceSessionCreateOrConnectWithoutChatRoomInput | VideoConferenceSessionCreateOrConnectWithoutChatRoomInput[] + upsert?: VideoConferenceSessionUpsertWithWhereUniqueWithoutChatRoomInput | VideoConferenceSessionUpsertWithWhereUniqueWithoutChatRoomInput[] + createMany?: VideoConferenceSessionCreateManyChatRoomInputEnvelope + set?: VideoConferenceSessionWhereUniqueInput | VideoConferenceSessionWhereUniqueInput[] + disconnect?: VideoConferenceSessionWhereUniqueInput | VideoConferenceSessionWhereUniqueInput[] + delete?: VideoConferenceSessionWhereUniqueInput | VideoConferenceSessionWhereUniqueInput[] + connect?: VideoConferenceSessionWhereUniqueInput | VideoConferenceSessionWhereUniqueInput[] + update?: VideoConferenceSessionUpdateWithWhereUniqueWithoutChatRoomInput | VideoConferenceSessionUpdateWithWhereUniqueWithoutChatRoomInput[] + updateMany?: VideoConferenceSessionUpdateManyWithWhereWithoutChatRoomInput | VideoConferenceSessionUpdateManyWithWhereWithoutChatRoomInput[] + deleteMany?: VideoConferenceSessionScalarWhereInput | VideoConferenceSessionScalarWhereInput[] + } + + export type ChatRoomCreateNestedOneWithoutParticipantsInput = { + create?: XOR + connectOrCreate?: ChatRoomCreateOrConnectWithoutParticipantsInput + connect?: ChatRoomWhereUniqueInput + } + + export type UserCreateNestedOneWithoutChatParticipationsInput = { + create?: XOR + connectOrCreate?: UserCreateOrConnectWithoutChatParticipationsInput + connect?: UserWhereUniqueInput } - export type TaskUpdateManyWithoutCreatorNestedInput = { - create?: XOR | TaskCreateWithoutCreatorInput[] | TaskUncheckedCreateWithoutCreatorInput[] - connectOrCreate?: TaskCreateOrConnectWithoutCreatorInput | TaskCreateOrConnectWithoutCreatorInput[] - upsert?: TaskUpsertWithWhereUniqueWithoutCreatorInput | TaskUpsertWithWhereUniqueWithoutCreatorInput[] - createMany?: TaskCreateManyCreatorInputEnvelope - set?: TaskWhereUniqueInput | TaskWhereUniqueInput[] - disconnect?: TaskWhereUniqueInput | TaskWhereUniqueInput[] - delete?: TaskWhereUniqueInput | TaskWhereUniqueInput[] - connect?: TaskWhereUniqueInput | TaskWhereUniqueInput[] - update?: TaskUpdateWithWhereUniqueWithoutCreatorInput | TaskUpdateWithWhereUniqueWithoutCreatorInput[] - updateMany?: TaskUpdateManyWithWhereWithoutCreatorInput | TaskUpdateManyWithWhereWithoutCreatorInput[] - deleteMany?: TaskScalarWhereInput | TaskScalarWhereInput[] + export type ChatMessageCreateNestedOneWithoutReadByInput = { + create?: XOR + connectOrCreate?: ChatMessageCreateOrConnectWithoutReadByInput + connect?: ChatMessageWhereUniqueInput } - export type TaskUpdateManyWithoutAssigneeNestedInput = { - create?: XOR | TaskCreateWithoutAssigneeInput[] | TaskUncheckedCreateWithoutAssigneeInput[] - connectOrCreate?: TaskCreateOrConnectWithoutAssigneeInput | TaskCreateOrConnectWithoutAssigneeInput[] - upsert?: TaskUpsertWithWhereUniqueWithoutAssigneeInput | TaskUpsertWithWhereUniqueWithoutAssigneeInput[] - createMany?: TaskCreateManyAssigneeInputEnvelope - set?: TaskWhereUniqueInput | TaskWhereUniqueInput[] - disconnect?: TaskWhereUniqueInput | TaskWhereUniqueInput[] - delete?: TaskWhereUniqueInput | TaskWhereUniqueInput[] - connect?: TaskWhereUniqueInput | TaskWhereUniqueInput[] - update?: TaskUpdateWithWhereUniqueWithoutAssigneeInput | TaskUpdateWithWhereUniqueWithoutAssigneeInput[] - updateMany?: TaskUpdateManyWithWhereWithoutAssigneeInput | TaskUpdateManyWithWhereWithoutAssigneeInput[] - deleteMany?: TaskScalarWhereInput | TaskScalarWhereInput[] + export type EnumParticipantStatusFieldUpdateOperationsInput = { + set?: $Enums.ParticipantStatus } - export type TaskUpdateManyWithoutModifierNestedInput = { - create?: XOR | TaskCreateWithoutModifierInput[] | TaskUncheckedCreateWithoutModifierInput[] - connectOrCreate?: TaskCreateOrConnectWithoutModifierInput | TaskCreateOrConnectWithoutModifierInput[] - upsert?: TaskUpsertWithWhereUniqueWithoutModifierInput | TaskUpsertWithWhereUniqueWithoutModifierInput[] - createMany?: TaskCreateManyModifierInputEnvelope - set?: TaskWhereUniqueInput | TaskWhereUniqueInput[] - disconnect?: TaskWhereUniqueInput | TaskWhereUniqueInput[] - delete?: TaskWhereUniqueInput | TaskWhereUniqueInput[] - connect?: TaskWhereUniqueInput | TaskWhereUniqueInput[] - update?: TaskUpdateWithWhereUniqueWithoutModifierInput | TaskUpdateWithWhereUniqueWithoutModifierInput[] - updateMany?: TaskUpdateManyWithWhereWithoutModifierInput | TaskUpdateManyWithWhereWithoutModifierInput[] - deleteMany?: TaskScalarWhereInput | TaskScalarWhereInput[] + export type ChatRoomUpdateOneRequiredWithoutParticipantsNestedInput = { + create?: XOR + connectOrCreate?: ChatRoomCreateOrConnectWithoutParticipantsInput + upsert?: ChatRoomUpsertWithoutParticipantsInput + connect?: ChatRoomWhereUniqueInput + update?: XOR, ChatRoomUncheckedUpdateWithoutParticipantsInput> } - export type NotificationUpdateManyWithoutUserNestedInput = { - create?: XOR | NotificationCreateWithoutUserInput[] | NotificationUncheckedCreateWithoutUserInput[] - connectOrCreate?: NotificationCreateOrConnectWithoutUserInput | NotificationCreateOrConnectWithoutUserInput[] - upsert?: NotificationUpsertWithWhereUniqueWithoutUserInput | NotificationUpsertWithWhereUniqueWithoutUserInput[] - createMany?: NotificationCreateManyUserInputEnvelope - set?: NotificationWhereUniqueInput | NotificationWhereUniqueInput[] - disconnect?: NotificationWhereUniqueInput | NotificationWhereUniqueInput[] - delete?: NotificationWhereUniqueInput | NotificationWhereUniqueInput[] - connect?: NotificationWhereUniqueInput | NotificationWhereUniqueInput[] - update?: NotificationUpdateWithWhereUniqueWithoutUserInput | NotificationUpdateWithWhereUniqueWithoutUserInput[] - updateMany?: NotificationUpdateManyWithWhereWithoutUserInput | NotificationUpdateManyWithWhereWithoutUserInput[] - deleteMany?: NotificationScalarWhereInput | NotificationScalarWhereInput[] + export type UserUpdateOneRequiredWithoutChatParticipationsNestedInput = { + create?: XOR + connectOrCreate?: UserCreateOrConnectWithoutChatParticipationsInput + upsert?: UserUpsertWithoutChatParticipationsInput + connect?: UserWhereUniqueInput + update?: XOR, UserUncheckedUpdateWithoutChatParticipationsInput> } - export type TimelogUpdateManyWithoutUserNestedInput = { - create?: XOR | TimelogCreateWithoutUserInput[] | TimelogUncheckedCreateWithoutUserInput[] - connectOrCreate?: TimelogCreateOrConnectWithoutUserInput | TimelogCreateOrConnectWithoutUserInput[] - upsert?: TimelogUpsertWithWhereUniqueWithoutUserInput | TimelogUpsertWithWhereUniqueWithoutUserInput[] - createMany?: TimelogCreateManyUserInputEnvelope - set?: TimelogWhereUniqueInput | TimelogWhereUniqueInput[] - disconnect?: TimelogWhereUniqueInput | TimelogWhereUniqueInput[] - delete?: TimelogWhereUniqueInput | TimelogWhereUniqueInput[] - connect?: TimelogWhereUniqueInput | TimelogWhereUniqueInput[] - update?: TimelogUpdateWithWhereUniqueWithoutUserInput | TimelogUpdateWithWhereUniqueWithoutUserInput[] - updateMany?: TimelogUpdateManyWithWhereWithoutUserInput | TimelogUpdateManyWithWhereWithoutUserInput[] - deleteMany?: TimelogScalarWhereInput | TimelogScalarWhereInput[] + export type ChatMessageUpdateOneWithoutReadByNestedInput = { + create?: XOR + connectOrCreate?: ChatMessageCreateOrConnectWithoutReadByInput + upsert?: ChatMessageUpsertWithoutReadByInput + disconnect?: ChatMessageWhereInput | boolean + delete?: ChatMessageWhereInput | boolean + connect?: ChatMessageWhereUniqueInput + update?: XOR, ChatMessageUncheckedUpdateWithoutReadByInput> } - export type CommentUpdateManyWithoutUserNestedInput = { - create?: XOR | CommentCreateWithoutUserInput[] | CommentUncheckedCreateWithoutUserInput[] - connectOrCreate?: CommentCreateOrConnectWithoutUserInput | CommentCreateOrConnectWithoutUserInput[] - upsert?: CommentUpsertWithWhereUniqueWithoutUserInput | CommentUpsertWithWhereUniqueWithoutUserInput[] - createMany?: CommentCreateManyUserInputEnvelope - set?: CommentWhereUniqueInput | CommentWhereUniqueInput[] - disconnect?: CommentWhereUniqueInput | CommentWhereUniqueInput[] - delete?: CommentWhereUniqueInput | CommentWhereUniqueInput[] - connect?: CommentWhereUniqueInput | CommentWhereUniqueInput[] - update?: CommentUpdateWithWhereUniqueWithoutUserInput | CommentUpdateWithWhereUniqueWithoutUserInput[] - updateMany?: CommentUpdateManyWithWhereWithoutUserInput | CommentUpdateManyWithWhereWithoutUserInput[] - deleteMany?: CommentScalarWhereInput | CommentScalarWhereInput[] + export type ChatRoomCreateNestedOneWithoutMessagesInput = { + create?: XOR + connectOrCreate?: ChatRoomCreateOrConnectWithoutMessagesInput + connect?: ChatRoomWhereUniqueInput } - export type TaskAttachmentUpdateManyWithoutUploaderNestedInput = { - create?: XOR | TaskAttachmentCreateWithoutUploaderInput[] | TaskAttachmentUncheckedCreateWithoutUploaderInput[] - connectOrCreate?: TaskAttachmentCreateOrConnectWithoutUploaderInput | TaskAttachmentCreateOrConnectWithoutUploaderInput[] - upsert?: TaskAttachmentUpsertWithWhereUniqueWithoutUploaderInput | TaskAttachmentUpsertWithWhereUniqueWithoutUploaderInput[] - createMany?: TaskAttachmentCreateManyUploaderInputEnvelope - set?: TaskAttachmentWhereUniqueInput | TaskAttachmentWhereUniqueInput[] - disconnect?: TaskAttachmentWhereUniqueInput | TaskAttachmentWhereUniqueInput[] - delete?: TaskAttachmentWhereUniqueInput | TaskAttachmentWhereUniqueInput[] - connect?: TaskAttachmentWhereUniqueInput | TaskAttachmentWhereUniqueInput[] - update?: TaskAttachmentUpdateWithWhereUniqueWithoutUploaderInput | TaskAttachmentUpdateWithWhereUniqueWithoutUploaderInput[] - updateMany?: TaskAttachmentUpdateManyWithWhereWithoutUploaderInput | TaskAttachmentUpdateManyWithWhereWithoutUploaderInput[] - deleteMany?: TaskAttachmentScalarWhereInput | TaskAttachmentScalarWhereInput[] + export type UserCreateNestedOneWithoutSentMessagesInput = { + create?: XOR + connectOrCreate?: UserCreateOrConnectWithoutSentMessagesInput + connect?: UserWhereUniqueInput } - export type ReportUpdateManyWithoutGeneratorNestedInput = { - create?: XOR | ReportCreateWithoutGeneratorInput[] | ReportUncheckedCreateWithoutGeneratorInput[] - connectOrCreate?: ReportCreateOrConnectWithoutGeneratorInput | ReportCreateOrConnectWithoutGeneratorInput[] - upsert?: ReportUpsertWithWhereUniqueWithoutGeneratorInput | ReportUpsertWithWhereUniqueWithoutGeneratorInput[] - createMany?: ReportCreateManyGeneratorInputEnvelope - set?: ReportWhereUniqueInput | ReportWhereUniqueInput[] - disconnect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] - delete?: ReportWhereUniqueInput | ReportWhereUniqueInput[] - connect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] - update?: ReportUpdateWithWhereUniqueWithoutGeneratorInput | ReportUpdateWithWhereUniqueWithoutGeneratorInput[] - updateMany?: ReportUpdateManyWithWhereWithoutGeneratorInput | ReportUpdateManyWithWhereWithoutGeneratorInput[] - deleteMany?: ReportScalarWhereInput | ReportScalarWhereInput[] + export type ChatMessageCreateNestedOneWithoutRepliesInput = { + create?: XOR + connectOrCreate?: ChatMessageCreateOrConnectWithoutRepliesInput + connect?: ChatMessageWhereUniqueInput } - export type ReportUpdateManyWithoutUserNestedInput = { - create?: XOR | ReportCreateWithoutUserInput[] | ReportUncheckedCreateWithoutUserInput[] - connectOrCreate?: ReportCreateOrConnectWithoutUserInput | ReportCreateOrConnectWithoutUserInput[] - upsert?: ReportUpsertWithWhereUniqueWithoutUserInput | ReportUpsertWithWhereUniqueWithoutUserInput[] - createMany?: ReportCreateManyUserInputEnvelope - set?: ReportWhereUniqueInput | ReportWhereUniqueInput[] - disconnect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] - delete?: ReportWhereUniqueInput | ReportWhereUniqueInput[] - connect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] - update?: ReportUpdateWithWhereUniqueWithoutUserInput | ReportUpdateWithWhereUniqueWithoutUserInput[] - updateMany?: ReportUpdateManyWithWhereWithoutUserInput | ReportUpdateManyWithWhereWithoutUserInput[] - deleteMany?: ReportScalarWhereInput | ReportScalarWhereInput[] + export type ChatMessageCreateNestedManyWithoutReplyToInput = { + create?: XOR | ChatMessageCreateWithoutReplyToInput[] | ChatMessageUncheckedCreateWithoutReplyToInput[] + connectOrCreate?: ChatMessageCreateOrConnectWithoutReplyToInput | ChatMessageCreateOrConnectWithoutReplyToInput[] + createMany?: ChatMessageCreateManyReplyToInputEnvelope + connect?: ChatMessageWhereUniqueInput | ChatMessageWhereUniqueInput[] } - export type PermissionUpdateManyWithoutUserNestedInput = { - create?: XOR | PermissionCreateWithoutUserInput[] | PermissionUncheckedCreateWithoutUserInput[] - connectOrCreate?: PermissionCreateOrConnectWithoutUserInput | PermissionCreateOrConnectWithoutUserInput[] - upsert?: PermissionUpsertWithWhereUniqueWithoutUserInput | PermissionUpsertWithWhereUniqueWithoutUserInput[] - createMany?: PermissionCreateManyUserInputEnvelope - set?: PermissionWhereUniqueInput | PermissionWhereUniqueInput[] - disconnect?: PermissionWhereUniqueInput | PermissionWhereUniqueInput[] - delete?: PermissionWhereUniqueInput | PermissionWhereUniqueInput[] - connect?: PermissionWhereUniqueInput | PermissionWhereUniqueInput[] - update?: PermissionUpdateWithWhereUniqueWithoutUserInput | PermissionUpdateWithWhereUniqueWithoutUserInput[] - updateMany?: PermissionUpdateManyWithWhereWithoutUserInput | PermissionUpdateManyWithWhereWithoutUserInput[] - deleteMany?: PermissionScalarWhereInput | PermissionScalarWhereInput[] + export type MessageAttachmentCreateNestedManyWithoutMessageInput = { + create?: XOR | MessageAttachmentCreateWithoutMessageInput[] | MessageAttachmentUncheckedCreateWithoutMessageInput[] + connectOrCreate?: MessageAttachmentCreateOrConnectWithoutMessageInput | MessageAttachmentCreateOrConnectWithoutMessageInput[] + createMany?: MessageAttachmentCreateManyMessageInputEnvelope + connect?: MessageAttachmentWhereUniqueInput | MessageAttachmentWhereUniqueInput[] } - export type ActivityLogUpdateManyWithoutUserNestedInput = { - create?: XOR | ActivityLogCreateWithoutUserInput[] | ActivityLogUncheckedCreateWithoutUserInput[] - connectOrCreate?: ActivityLogCreateOrConnectWithoutUserInput | ActivityLogCreateOrConnectWithoutUserInput[] - upsert?: ActivityLogUpsertWithWhereUniqueWithoutUserInput | ActivityLogUpsertWithWhereUniqueWithoutUserInput[] - createMany?: ActivityLogCreateManyUserInputEnvelope - set?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] - disconnect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] - delete?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] - connect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] - update?: ActivityLogUpdateWithWhereUniqueWithoutUserInput | ActivityLogUpdateWithWhereUniqueWithoutUserInput[] - updateMany?: ActivityLogUpdateManyWithWhereWithoutUserInput | ActivityLogUpdateManyWithWhereWithoutUserInput[] - deleteMany?: ActivityLogScalarWhereInput | ActivityLogScalarWhereInput[] + export type MessageReactionCreateNestedManyWithoutMessageInput = { + create?: XOR | MessageReactionCreateWithoutMessageInput[] | MessageReactionUncheckedCreateWithoutMessageInput[] + connectOrCreate?: MessageReactionCreateOrConnectWithoutMessageInput | MessageReactionCreateOrConnectWithoutMessageInput[] + createMany?: MessageReactionCreateManyMessageInputEnvelope + connect?: MessageReactionWhereUniqueInput | MessageReactionWhereUniqueInput[] } - export type ReportNotificationUpdateManyWithoutUserNestedInput = { - create?: XOR | ReportNotificationCreateWithoutUserInput[] | ReportNotificationUncheckedCreateWithoutUserInput[] - connectOrCreate?: ReportNotificationCreateOrConnectWithoutUserInput | ReportNotificationCreateOrConnectWithoutUserInput[] - upsert?: ReportNotificationUpsertWithWhereUniqueWithoutUserInput | ReportNotificationUpsertWithWhereUniqueWithoutUserInput[] - createMany?: ReportNotificationCreateManyUserInputEnvelope - set?: ReportNotificationWhereUniqueInput | ReportNotificationWhereUniqueInput[] - disconnect?: ReportNotificationWhereUniqueInput | ReportNotificationWhereUniqueInput[] - delete?: ReportNotificationWhereUniqueInput | ReportNotificationWhereUniqueInput[] - connect?: ReportNotificationWhereUniqueInput | ReportNotificationWhereUniqueInput[] - update?: ReportNotificationUpdateWithWhereUniqueWithoutUserInput | ReportNotificationUpdateWithWhereUniqueWithoutUserInput[] - updateMany?: ReportNotificationUpdateManyWithWhereWithoutUserInput | ReportNotificationUpdateManyWithWhereWithoutUserInput[] - deleteMany?: ReportNotificationScalarWhereInput | ReportNotificationScalarWhereInput[] + export type ChatParticipantCreateNestedManyWithoutLastReadMessageInput = { + create?: XOR | ChatParticipantCreateWithoutLastReadMessageInput[] | ChatParticipantUncheckedCreateWithoutLastReadMessageInput[] + connectOrCreate?: ChatParticipantCreateOrConnectWithoutLastReadMessageInput | ChatParticipantCreateOrConnectWithoutLastReadMessageInput[] + createMany?: ChatParticipantCreateManyLastReadMessageInputEnvelope + connect?: ChatParticipantWhereUniqueInput | ChatParticipantWhereUniqueInput[] } - export type OrganizationUncheckedUpdateManyWithoutCreatorNestedInput = { - create?: XOR | OrganizationCreateWithoutCreatorInput[] | OrganizationUncheckedCreateWithoutCreatorInput[] - connectOrCreate?: OrganizationCreateOrConnectWithoutCreatorInput | OrganizationCreateOrConnectWithoutCreatorInput[] - upsert?: OrganizationUpsertWithWhereUniqueWithoutCreatorInput | OrganizationUpsertWithWhereUniqueWithoutCreatorInput[] - createMany?: OrganizationCreateManyCreatorInputEnvelope - set?: OrganizationWhereUniqueInput | OrganizationWhereUniqueInput[] - disconnect?: OrganizationWhereUniqueInput | OrganizationWhereUniqueInput[] - delete?: OrganizationWhereUniqueInput | OrganizationWhereUniqueInput[] - connect?: OrganizationWhereUniqueInput | OrganizationWhereUniqueInput[] - update?: OrganizationUpdateWithWhereUniqueWithoutCreatorInput | OrganizationUpdateWithWhereUniqueWithoutCreatorInput[] - updateMany?: OrganizationUpdateManyWithWhereWithoutCreatorInput | OrganizationUpdateManyWithWhereWithoutCreatorInput[] - deleteMany?: OrganizationScalarWhereInput | OrganizationScalarWhereInput[] + export type PinnedMessageCreateNestedManyWithoutMessageInput = { + create?: XOR | PinnedMessageCreateWithoutMessageInput[] | PinnedMessageUncheckedCreateWithoutMessageInput[] + connectOrCreate?: PinnedMessageCreateOrConnectWithoutMessageInput | PinnedMessageCreateOrConnectWithoutMessageInput[] + createMany?: PinnedMessageCreateManyMessageInputEnvelope + connect?: PinnedMessageWhereUniqueInput | PinnedMessageWhereUniqueInput[] } - export type OrganizationOwnerUncheckedUpdateManyWithoutUserNestedInput = { - create?: XOR | OrganizationOwnerCreateWithoutUserInput[] | OrganizationOwnerUncheckedCreateWithoutUserInput[] - connectOrCreate?: OrganizationOwnerCreateOrConnectWithoutUserInput | OrganizationOwnerCreateOrConnectWithoutUserInput[] - upsert?: OrganizationOwnerUpsertWithWhereUniqueWithoutUserInput | OrganizationOwnerUpsertWithWhereUniqueWithoutUserInput[] - createMany?: OrganizationOwnerCreateManyUserInputEnvelope - set?: OrganizationOwnerWhereUniqueInput | OrganizationOwnerWhereUniqueInput[] - disconnect?: OrganizationOwnerWhereUniqueInput | OrganizationOwnerWhereUniqueInput[] - delete?: OrganizationOwnerWhereUniqueInput | OrganizationOwnerWhereUniqueInput[] - connect?: OrganizationOwnerWhereUniqueInput | OrganizationOwnerWhereUniqueInput[] - update?: OrganizationOwnerUpdateWithWhereUniqueWithoutUserInput | OrganizationOwnerUpdateWithWhereUniqueWithoutUserInput[] - updateMany?: OrganizationOwnerUpdateManyWithWhereWithoutUserInput | OrganizationOwnerUpdateManyWithWhereWithoutUserInput[] - deleteMany?: OrganizationOwnerScalarWhereInput | OrganizationOwnerScalarWhereInput[] + export type ChatMessageUncheckedCreateNestedManyWithoutReplyToInput = { + create?: XOR | ChatMessageCreateWithoutReplyToInput[] | ChatMessageUncheckedCreateWithoutReplyToInput[] + connectOrCreate?: ChatMessageCreateOrConnectWithoutReplyToInput | ChatMessageCreateOrConnectWithoutReplyToInput[] + createMany?: ChatMessageCreateManyReplyToInputEnvelope + connect?: ChatMessageWhereUniqueInput | ChatMessageWhereUniqueInput[] } - export type DepartmentUncheckedUpdateManyWithoutManagerNestedInput = { - create?: XOR | DepartmentCreateWithoutManagerInput[] | DepartmentUncheckedCreateWithoutManagerInput[] - connectOrCreate?: DepartmentCreateOrConnectWithoutManagerInput | DepartmentCreateOrConnectWithoutManagerInput[] - upsert?: DepartmentUpsertWithWhereUniqueWithoutManagerInput | DepartmentUpsertWithWhereUniqueWithoutManagerInput[] - createMany?: DepartmentCreateManyManagerInputEnvelope - set?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[] - disconnect?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[] - delete?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[] - connect?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[] - update?: DepartmentUpdateWithWhereUniqueWithoutManagerInput | DepartmentUpdateWithWhereUniqueWithoutManagerInput[] - updateMany?: DepartmentUpdateManyWithWhereWithoutManagerInput | DepartmentUpdateManyWithWhereWithoutManagerInput[] - deleteMany?: DepartmentScalarWhereInput | DepartmentScalarWhereInput[] + export type MessageAttachmentUncheckedCreateNestedManyWithoutMessageInput = { + create?: XOR | MessageAttachmentCreateWithoutMessageInput[] | MessageAttachmentUncheckedCreateWithoutMessageInput[] + connectOrCreate?: MessageAttachmentCreateOrConnectWithoutMessageInput | MessageAttachmentCreateOrConnectWithoutMessageInput[] + createMany?: MessageAttachmentCreateManyMessageInputEnvelope + connect?: MessageAttachmentWhereUniqueInput | MessageAttachmentWhereUniqueInput[] } - export type TeamUncheckedUpdateManyWithoutCreatorNestedInput = { - create?: XOR | TeamCreateWithoutCreatorInput[] | TeamUncheckedCreateWithoutCreatorInput[] - connectOrCreate?: TeamCreateOrConnectWithoutCreatorInput | TeamCreateOrConnectWithoutCreatorInput[] - upsert?: TeamUpsertWithWhereUniqueWithoutCreatorInput | TeamUpsertWithWhereUniqueWithoutCreatorInput[] - createMany?: TeamCreateManyCreatorInputEnvelope - set?: TeamWhereUniqueInput | TeamWhereUniqueInput[] - disconnect?: TeamWhereUniqueInput | TeamWhereUniqueInput[] - delete?: TeamWhereUniqueInput | TeamWhereUniqueInput[] - connect?: TeamWhereUniqueInput | TeamWhereUniqueInput[] - update?: TeamUpdateWithWhereUniqueWithoutCreatorInput | TeamUpdateWithWhereUniqueWithoutCreatorInput[] - updateMany?: TeamUpdateManyWithWhereWithoutCreatorInput | TeamUpdateManyWithWhereWithoutCreatorInput[] - deleteMany?: TeamScalarWhereInput | TeamScalarWhereInput[] + export type MessageReactionUncheckedCreateNestedManyWithoutMessageInput = { + create?: XOR | MessageReactionCreateWithoutMessageInput[] | MessageReactionUncheckedCreateWithoutMessageInput[] + connectOrCreate?: MessageReactionCreateOrConnectWithoutMessageInput | MessageReactionCreateOrConnectWithoutMessageInput[] + createMany?: MessageReactionCreateManyMessageInputEnvelope + connect?: MessageReactionWhereUniqueInput | MessageReactionWhereUniqueInput[] } - export type TeamMemberUncheckedUpdateManyWithoutUserNestedInput = { - create?: XOR | TeamMemberCreateWithoutUserInput[] | TeamMemberUncheckedCreateWithoutUserInput[] - connectOrCreate?: TeamMemberCreateOrConnectWithoutUserInput | TeamMemberCreateOrConnectWithoutUserInput[] - upsert?: TeamMemberUpsertWithWhereUniqueWithoutUserInput | TeamMemberUpsertWithWhereUniqueWithoutUserInput[] - createMany?: TeamMemberCreateManyUserInputEnvelope - set?: TeamMemberWhereUniqueInput | TeamMemberWhereUniqueInput[] - disconnect?: TeamMemberWhereUniqueInput | TeamMemberWhereUniqueInput[] - delete?: TeamMemberWhereUniqueInput | TeamMemberWhereUniqueInput[] - connect?: TeamMemberWhereUniqueInput | TeamMemberWhereUniqueInput[] - update?: TeamMemberUpdateWithWhereUniqueWithoutUserInput | TeamMemberUpdateWithWhereUniqueWithoutUserInput[] - updateMany?: TeamMemberUpdateManyWithWhereWithoutUserInput | TeamMemberUpdateManyWithWhereWithoutUserInput[] - deleteMany?: TeamMemberScalarWhereInput | TeamMemberScalarWhereInput[] + export type ChatParticipantUncheckedCreateNestedManyWithoutLastReadMessageInput = { + create?: XOR | ChatParticipantCreateWithoutLastReadMessageInput[] | ChatParticipantUncheckedCreateWithoutLastReadMessageInput[] + connectOrCreate?: ChatParticipantCreateOrConnectWithoutLastReadMessageInput | ChatParticipantCreateOrConnectWithoutLastReadMessageInput[] + createMany?: ChatParticipantCreateManyLastReadMessageInputEnvelope + connect?: ChatParticipantWhereUniqueInput | ChatParticipantWhereUniqueInput[] } - export type ProjectMemberUncheckedUpdateManyWithoutUserNestedInput = { - create?: XOR | ProjectMemberCreateWithoutUserInput[] | ProjectMemberUncheckedCreateWithoutUserInput[] - connectOrCreate?: ProjectMemberCreateOrConnectWithoutUserInput | ProjectMemberCreateOrConnectWithoutUserInput[] - upsert?: ProjectMemberUpsertWithWhereUniqueWithoutUserInput | ProjectMemberUpsertWithWhereUniqueWithoutUserInput[] - createMany?: ProjectMemberCreateManyUserInputEnvelope - set?: ProjectMemberWhereUniqueInput | ProjectMemberWhereUniqueInput[] - disconnect?: ProjectMemberWhereUniqueInput | ProjectMemberWhereUniqueInput[] - delete?: ProjectMemberWhereUniqueInput | ProjectMemberWhereUniqueInput[] - connect?: ProjectMemberWhereUniqueInput | ProjectMemberWhereUniqueInput[] - update?: ProjectMemberUpdateWithWhereUniqueWithoutUserInput | ProjectMemberUpdateWithWhereUniqueWithoutUserInput[] - updateMany?: ProjectMemberUpdateManyWithWhereWithoutUserInput | ProjectMemberUpdateManyWithWhereWithoutUserInput[] - deleteMany?: ProjectMemberScalarWhereInput | ProjectMemberScalarWhereInput[] + export type PinnedMessageUncheckedCreateNestedManyWithoutMessageInput = { + create?: XOR | PinnedMessageCreateWithoutMessageInput[] | PinnedMessageUncheckedCreateWithoutMessageInput[] + connectOrCreate?: PinnedMessageCreateOrConnectWithoutMessageInput | PinnedMessageCreateOrConnectWithoutMessageInput[] + createMany?: PinnedMessageCreateManyMessageInputEnvelope + connect?: PinnedMessageWhereUniqueInput | PinnedMessageWhereUniqueInput[] } - export type ProjectUncheckedUpdateManyWithoutCreatorNestedInput = { - create?: XOR | ProjectCreateWithoutCreatorInput[] | ProjectUncheckedCreateWithoutCreatorInput[] - connectOrCreate?: ProjectCreateOrConnectWithoutCreatorInput | ProjectCreateOrConnectWithoutCreatorInput[] - upsert?: ProjectUpsertWithWhereUniqueWithoutCreatorInput | ProjectUpsertWithWhereUniqueWithoutCreatorInput[] - createMany?: ProjectCreateManyCreatorInputEnvelope - set?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] - disconnect?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] - delete?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] - connect?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] - update?: ProjectUpdateWithWhereUniqueWithoutCreatorInput | ProjectUpdateWithWhereUniqueWithoutCreatorInput[] - updateMany?: ProjectUpdateManyWithWhereWithoutCreatorInput | ProjectUpdateManyWithWhereWithoutCreatorInput[] - deleteMany?: ProjectScalarWhereInput | ProjectScalarWhereInput[] + export type EnumMessageContentTypeFieldUpdateOperationsInput = { + set?: $Enums.MessageContentType } - export type ProjectUncheckedUpdateManyWithoutModifierNestedInput = { - create?: XOR | ProjectCreateWithoutModifierInput[] | ProjectUncheckedCreateWithoutModifierInput[] - connectOrCreate?: ProjectCreateOrConnectWithoutModifierInput | ProjectCreateOrConnectWithoutModifierInput[] - upsert?: ProjectUpsertWithWhereUniqueWithoutModifierInput | ProjectUpsertWithWhereUniqueWithoutModifierInput[] - createMany?: ProjectCreateManyModifierInputEnvelope - set?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] - disconnect?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] - delete?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] - connect?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] - update?: ProjectUpdateWithWhereUniqueWithoutModifierInput | ProjectUpdateWithWhereUniqueWithoutModifierInput[] - updateMany?: ProjectUpdateManyWithWhereWithoutModifierInput | ProjectUpdateManyWithWhereWithoutModifierInput[] - deleteMany?: ProjectScalarWhereInput | ProjectScalarWhereInput[] + export type ChatRoomUpdateOneRequiredWithoutMessagesNestedInput = { + create?: XOR + connectOrCreate?: ChatRoomCreateOrConnectWithoutMessagesInput + upsert?: ChatRoomUpsertWithoutMessagesInput + connect?: ChatRoomWhereUniqueInput + update?: XOR, ChatRoomUncheckedUpdateWithoutMessagesInput> } - export type TaskUncheckedUpdateManyWithoutCreatorNestedInput = { - create?: XOR | TaskCreateWithoutCreatorInput[] | TaskUncheckedCreateWithoutCreatorInput[] - connectOrCreate?: TaskCreateOrConnectWithoutCreatorInput | TaskCreateOrConnectWithoutCreatorInput[] - upsert?: TaskUpsertWithWhereUniqueWithoutCreatorInput | TaskUpsertWithWhereUniqueWithoutCreatorInput[] - createMany?: TaskCreateManyCreatorInputEnvelope - set?: TaskWhereUniqueInput | TaskWhereUniqueInput[] - disconnect?: TaskWhereUniqueInput | TaskWhereUniqueInput[] - delete?: TaskWhereUniqueInput | TaskWhereUniqueInput[] - connect?: TaskWhereUniqueInput | TaskWhereUniqueInput[] - update?: TaskUpdateWithWhereUniqueWithoutCreatorInput | TaskUpdateWithWhereUniqueWithoutCreatorInput[] - updateMany?: TaskUpdateManyWithWhereWithoutCreatorInput | TaskUpdateManyWithWhereWithoutCreatorInput[] - deleteMany?: TaskScalarWhereInput | TaskScalarWhereInput[] + export type UserUpdateOneRequiredWithoutSentMessagesNestedInput = { + create?: XOR + connectOrCreate?: UserCreateOrConnectWithoutSentMessagesInput + upsert?: UserUpsertWithoutSentMessagesInput + connect?: UserWhereUniqueInput + update?: XOR, UserUncheckedUpdateWithoutSentMessagesInput> + } + + export type ChatMessageUpdateOneWithoutRepliesNestedInput = { + create?: XOR + connectOrCreate?: ChatMessageCreateOrConnectWithoutRepliesInput + upsert?: ChatMessageUpsertWithoutRepliesInput + disconnect?: ChatMessageWhereInput | boolean + delete?: ChatMessageWhereInput | boolean + connect?: ChatMessageWhereUniqueInput + update?: XOR, ChatMessageUncheckedUpdateWithoutRepliesInput> + } + + export type ChatMessageUpdateManyWithoutReplyToNestedInput = { + create?: XOR | ChatMessageCreateWithoutReplyToInput[] | ChatMessageUncheckedCreateWithoutReplyToInput[] + connectOrCreate?: ChatMessageCreateOrConnectWithoutReplyToInput | ChatMessageCreateOrConnectWithoutReplyToInput[] + upsert?: ChatMessageUpsertWithWhereUniqueWithoutReplyToInput | ChatMessageUpsertWithWhereUniqueWithoutReplyToInput[] + createMany?: ChatMessageCreateManyReplyToInputEnvelope + set?: ChatMessageWhereUniqueInput | ChatMessageWhereUniqueInput[] + disconnect?: ChatMessageWhereUniqueInput | ChatMessageWhereUniqueInput[] + delete?: ChatMessageWhereUniqueInput | ChatMessageWhereUniqueInput[] + connect?: ChatMessageWhereUniqueInput | ChatMessageWhereUniqueInput[] + update?: ChatMessageUpdateWithWhereUniqueWithoutReplyToInput | ChatMessageUpdateWithWhereUniqueWithoutReplyToInput[] + updateMany?: ChatMessageUpdateManyWithWhereWithoutReplyToInput | ChatMessageUpdateManyWithWhereWithoutReplyToInput[] + deleteMany?: ChatMessageScalarWhereInput | ChatMessageScalarWhereInput[] + } + + export type MessageAttachmentUpdateManyWithoutMessageNestedInput = { + create?: XOR | MessageAttachmentCreateWithoutMessageInput[] | MessageAttachmentUncheckedCreateWithoutMessageInput[] + connectOrCreate?: MessageAttachmentCreateOrConnectWithoutMessageInput | MessageAttachmentCreateOrConnectWithoutMessageInput[] + upsert?: MessageAttachmentUpsertWithWhereUniqueWithoutMessageInput | MessageAttachmentUpsertWithWhereUniqueWithoutMessageInput[] + createMany?: MessageAttachmentCreateManyMessageInputEnvelope + set?: MessageAttachmentWhereUniqueInput | MessageAttachmentWhereUniqueInput[] + disconnect?: MessageAttachmentWhereUniqueInput | MessageAttachmentWhereUniqueInput[] + delete?: MessageAttachmentWhereUniqueInput | MessageAttachmentWhereUniqueInput[] + connect?: MessageAttachmentWhereUniqueInput | MessageAttachmentWhereUniqueInput[] + update?: MessageAttachmentUpdateWithWhereUniqueWithoutMessageInput | MessageAttachmentUpdateWithWhereUniqueWithoutMessageInput[] + updateMany?: MessageAttachmentUpdateManyWithWhereWithoutMessageInput | MessageAttachmentUpdateManyWithWhereWithoutMessageInput[] + deleteMany?: MessageAttachmentScalarWhereInput | MessageAttachmentScalarWhereInput[] + } + + export type MessageReactionUpdateManyWithoutMessageNestedInput = { + create?: XOR | MessageReactionCreateWithoutMessageInput[] | MessageReactionUncheckedCreateWithoutMessageInput[] + connectOrCreate?: MessageReactionCreateOrConnectWithoutMessageInput | MessageReactionCreateOrConnectWithoutMessageInput[] + upsert?: MessageReactionUpsertWithWhereUniqueWithoutMessageInput | MessageReactionUpsertWithWhereUniqueWithoutMessageInput[] + createMany?: MessageReactionCreateManyMessageInputEnvelope + set?: MessageReactionWhereUniqueInput | MessageReactionWhereUniqueInput[] + disconnect?: MessageReactionWhereUniqueInput | MessageReactionWhereUniqueInput[] + delete?: MessageReactionWhereUniqueInput | MessageReactionWhereUniqueInput[] + connect?: MessageReactionWhereUniqueInput | MessageReactionWhereUniqueInput[] + update?: MessageReactionUpdateWithWhereUniqueWithoutMessageInput | MessageReactionUpdateWithWhereUniqueWithoutMessageInput[] + updateMany?: MessageReactionUpdateManyWithWhereWithoutMessageInput | MessageReactionUpdateManyWithWhereWithoutMessageInput[] + deleteMany?: MessageReactionScalarWhereInput | MessageReactionScalarWhereInput[] + } + + export type ChatParticipantUpdateManyWithoutLastReadMessageNestedInput = { + create?: XOR | ChatParticipantCreateWithoutLastReadMessageInput[] | ChatParticipantUncheckedCreateWithoutLastReadMessageInput[] + connectOrCreate?: ChatParticipantCreateOrConnectWithoutLastReadMessageInput | ChatParticipantCreateOrConnectWithoutLastReadMessageInput[] + upsert?: ChatParticipantUpsertWithWhereUniqueWithoutLastReadMessageInput | ChatParticipantUpsertWithWhereUniqueWithoutLastReadMessageInput[] + createMany?: ChatParticipantCreateManyLastReadMessageInputEnvelope + set?: ChatParticipantWhereUniqueInput | ChatParticipantWhereUniqueInput[] + disconnect?: ChatParticipantWhereUniqueInput | ChatParticipantWhereUniqueInput[] + delete?: ChatParticipantWhereUniqueInput | ChatParticipantWhereUniqueInput[] + connect?: ChatParticipantWhereUniqueInput | ChatParticipantWhereUniqueInput[] + update?: ChatParticipantUpdateWithWhereUniqueWithoutLastReadMessageInput | ChatParticipantUpdateWithWhereUniqueWithoutLastReadMessageInput[] + updateMany?: ChatParticipantUpdateManyWithWhereWithoutLastReadMessageInput | ChatParticipantUpdateManyWithWhereWithoutLastReadMessageInput[] + deleteMany?: ChatParticipantScalarWhereInput | ChatParticipantScalarWhereInput[] + } + + export type PinnedMessageUpdateManyWithoutMessageNestedInput = { + create?: XOR | PinnedMessageCreateWithoutMessageInput[] | PinnedMessageUncheckedCreateWithoutMessageInput[] + connectOrCreate?: PinnedMessageCreateOrConnectWithoutMessageInput | PinnedMessageCreateOrConnectWithoutMessageInput[] + upsert?: PinnedMessageUpsertWithWhereUniqueWithoutMessageInput | PinnedMessageUpsertWithWhereUniqueWithoutMessageInput[] + createMany?: PinnedMessageCreateManyMessageInputEnvelope + set?: PinnedMessageWhereUniqueInput | PinnedMessageWhereUniqueInput[] + disconnect?: PinnedMessageWhereUniqueInput | PinnedMessageWhereUniqueInput[] + delete?: PinnedMessageWhereUniqueInput | PinnedMessageWhereUniqueInput[] + connect?: PinnedMessageWhereUniqueInput | PinnedMessageWhereUniqueInput[] + update?: PinnedMessageUpdateWithWhereUniqueWithoutMessageInput | PinnedMessageUpdateWithWhereUniqueWithoutMessageInput[] + updateMany?: PinnedMessageUpdateManyWithWhereWithoutMessageInput | PinnedMessageUpdateManyWithWhereWithoutMessageInput[] + deleteMany?: PinnedMessageScalarWhereInput | PinnedMessageScalarWhereInput[] + } + + export type ChatMessageUncheckedUpdateManyWithoutReplyToNestedInput = { + create?: XOR | ChatMessageCreateWithoutReplyToInput[] | ChatMessageUncheckedCreateWithoutReplyToInput[] + connectOrCreate?: ChatMessageCreateOrConnectWithoutReplyToInput | ChatMessageCreateOrConnectWithoutReplyToInput[] + upsert?: ChatMessageUpsertWithWhereUniqueWithoutReplyToInput | ChatMessageUpsertWithWhereUniqueWithoutReplyToInput[] + createMany?: ChatMessageCreateManyReplyToInputEnvelope + set?: ChatMessageWhereUniqueInput | ChatMessageWhereUniqueInput[] + disconnect?: ChatMessageWhereUniqueInput | ChatMessageWhereUniqueInput[] + delete?: ChatMessageWhereUniqueInput | ChatMessageWhereUniqueInput[] + connect?: ChatMessageWhereUniqueInput | ChatMessageWhereUniqueInput[] + update?: ChatMessageUpdateWithWhereUniqueWithoutReplyToInput | ChatMessageUpdateWithWhereUniqueWithoutReplyToInput[] + updateMany?: ChatMessageUpdateManyWithWhereWithoutReplyToInput | ChatMessageUpdateManyWithWhereWithoutReplyToInput[] + deleteMany?: ChatMessageScalarWhereInput | ChatMessageScalarWhereInput[] + } + + export type MessageAttachmentUncheckedUpdateManyWithoutMessageNestedInput = { + create?: XOR | MessageAttachmentCreateWithoutMessageInput[] | MessageAttachmentUncheckedCreateWithoutMessageInput[] + connectOrCreate?: MessageAttachmentCreateOrConnectWithoutMessageInput | MessageAttachmentCreateOrConnectWithoutMessageInput[] + upsert?: MessageAttachmentUpsertWithWhereUniqueWithoutMessageInput | MessageAttachmentUpsertWithWhereUniqueWithoutMessageInput[] + createMany?: MessageAttachmentCreateManyMessageInputEnvelope + set?: MessageAttachmentWhereUniqueInput | MessageAttachmentWhereUniqueInput[] + disconnect?: MessageAttachmentWhereUniqueInput | MessageAttachmentWhereUniqueInput[] + delete?: MessageAttachmentWhereUniqueInput | MessageAttachmentWhereUniqueInput[] + connect?: MessageAttachmentWhereUniqueInput | MessageAttachmentWhereUniqueInput[] + update?: MessageAttachmentUpdateWithWhereUniqueWithoutMessageInput | MessageAttachmentUpdateWithWhereUniqueWithoutMessageInput[] + updateMany?: MessageAttachmentUpdateManyWithWhereWithoutMessageInput | MessageAttachmentUpdateManyWithWhereWithoutMessageInput[] + deleteMany?: MessageAttachmentScalarWhereInput | MessageAttachmentScalarWhereInput[] + } + + export type MessageReactionUncheckedUpdateManyWithoutMessageNestedInput = { + create?: XOR | MessageReactionCreateWithoutMessageInput[] | MessageReactionUncheckedCreateWithoutMessageInput[] + connectOrCreate?: MessageReactionCreateOrConnectWithoutMessageInput | MessageReactionCreateOrConnectWithoutMessageInput[] + upsert?: MessageReactionUpsertWithWhereUniqueWithoutMessageInput | MessageReactionUpsertWithWhereUniqueWithoutMessageInput[] + createMany?: MessageReactionCreateManyMessageInputEnvelope + set?: MessageReactionWhereUniqueInput | MessageReactionWhereUniqueInput[] + disconnect?: MessageReactionWhereUniqueInput | MessageReactionWhereUniqueInput[] + delete?: MessageReactionWhereUniqueInput | MessageReactionWhereUniqueInput[] + connect?: MessageReactionWhereUniqueInput | MessageReactionWhereUniqueInput[] + update?: MessageReactionUpdateWithWhereUniqueWithoutMessageInput | MessageReactionUpdateWithWhereUniqueWithoutMessageInput[] + updateMany?: MessageReactionUpdateManyWithWhereWithoutMessageInput | MessageReactionUpdateManyWithWhereWithoutMessageInput[] + deleteMany?: MessageReactionScalarWhereInput | MessageReactionScalarWhereInput[] + } + + export type ChatParticipantUncheckedUpdateManyWithoutLastReadMessageNestedInput = { + create?: XOR | ChatParticipantCreateWithoutLastReadMessageInput[] | ChatParticipantUncheckedCreateWithoutLastReadMessageInput[] + connectOrCreate?: ChatParticipantCreateOrConnectWithoutLastReadMessageInput | ChatParticipantCreateOrConnectWithoutLastReadMessageInput[] + upsert?: ChatParticipantUpsertWithWhereUniqueWithoutLastReadMessageInput | ChatParticipantUpsertWithWhereUniqueWithoutLastReadMessageInput[] + createMany?: ChatParticipantCreateManyLastReadMessageInputEnvelope + set?: ChatParticipantWhereUniqueInput | ChatParticipantWhereUniqueInput[] + disconnect?: ChatParticipantWhereUniqueInput | ChatParticipantWhereUniqueInput[] + delete?: ChatParticipantWhereUniqueInput | ChatParticipantWhereUniqueInput[] + connect?: ChatParticipantWhereUniqueInput | ChatParticipantWhereUniqueInput[] + update?: ChatParticipantUpdateWithWhereUniqueWithoutLastReadMessageInput | ChatParticipantUpdateWithWhereUniqueWithoutLastReadMessageInput[] + updateMany?: ChatParticipantUpdateManyWithWhereWithoutLastReadMessageInput | ChatParticipantUpdateManyWithWhereWithoutLastReadMessageInput[] + deleteMany?: ChatParticipantScalarWhereInput | ChatParticipantScalarWhereInput[] + } + + export type PinnedMessageUncheckedUpdateManyWithoutMessageNestedInput = { + create?: XOR | PinnedMessageCreateWithoutMessageInput[] | PinnedMessageUncheckedCreateWithoutMessageInput[] + connectOrCreate?: PinnedMessageCreateOrConnectWithoutMessageInput | PinnedMessageCreateOrConnectWithoutMessageInput[] + upsert?: PinnedMessageUpsertWithWhereUniqueWithoutMessageInput | PinnedMessageUpsertWithWhereUniqueWithoutMessageInput[] + createMany?: PinnedMessageCreateManyMessageInputEnvelope + set?: PinnedMessageWhereUniqueInput | PinnedMessageWhereUniqueInput[] + disconnect?: PinnedMessageWhereUniqueInput | PinnedMessageWhereUniqueInput[] + delete?: PinnedMessageWhereUniqueInput | PinnedMessageWhereUniqueInput[] + connect?: PinnedMessageWhereUniqueInput | PinnedMessageWhereUniqueInput[] + update?: PinnedMessageUpdateWithWhereUniqueWithoutMessageInput | PinnedMessageUpdateWithWhereUniqueWithoutMessageInput[] + updateMany?: PinnedMessageUpdateManyWithWhereWithoutMessageInput | PinnedMessageUpdateManyWithWhereWithoutMessageInput[] + deleteMany?: PinnedMessageScalarWhereInput | PinnedMessageScalarWhereInput[] + } + + export type ChatMessageCreateNestedOneWithoutAttachmentsInput = { + create?: XOR + connectOrCreate?: ChatMessageCreateOrConnectWithoutAttachmentsInput + connect?: ChatMessageWhereUniqueInput + } + + export type ChatMessageUpdateOneRequiredWithoutAttachmentsNestedInput = { + create?: XOR + connectOrCreate?: ChatMessageCreateOrConnectWithoutAttachmentsInput + upsert?: ChatMessageUpsertWithoutAttachmentsInput + connect?: ChatMessageWhereUniqueInput + update?: XOR, ChatMessageUncheckedUpdateWithoutAttachmentsInput> + } + + export type ChatMessageCreateNestedOneWithoutReactionsInput = { + create?: XOR + connectOrCreate?: ChatMessageCreateOrConnectWithoutReactionsInput + connect?: ChatMessageWhereUniqueInput + } + + export type UserCreateNestedOneWithoutMessageReactionsInput = { + create?: XOR + connectOrCreate?: UserCreateOrConnectWithoutMessageReactionsInput + connect?: UserWhereUniqueInput } - export type TaskUncheckedUpdateManyWithoutAssigneeNestedInput = { - create?: XOR | TaskCreateWithoutAssigneeInput[] | TaskUncheckedCreateWithoutAssigneeInput[] - connectOrCreate?: TaskCreateOrConnectWithoutAssigneeInput | TaskCreateOrConnectWithoutAssigneeInput[] - upsert?: TaskUpsertWithWhereUniqueWithoutAssigneeInput | TaskUpsertWithWhereUniqueWithoutAssigneeInput[] - createMany?: TaskCreateManyAssigneeInputEnvelope - set?: TaskWhereUniqueInput | TaskWhereUniqueInput[] - disconnect?: TaskWhereUniqueInput | TaskWhereUniqueInput[] - delete?: TaskWhereUniqueInput | TaskWhereUniqueInput[] - connect?: TaskWhereUniqueInput | TaskWhereUniqueInput[] - update?: TaskUpdateWithWhereUniqueWithoutAssigneeInput | TaskUpdateWithWhereUniqueWithoutAssigneeInput[] - updateMany?: TaskUpdateManyWithWhereWithoutAssigneeInput | TaskUpdateManyWithWhereWithoutAssigneeInput[] - deleteMany?: TaskScalarWhereInput | TaskScalarWhereInput[] + export type ChatMessageUpdateOneRequiredWithoutReactionsNestedInput = { + create?: XOR + connectOrCreate?: ChatMessageCreateOrConnectWithoutReactionsInput + upsert?: ChatMessageUpsertWithoutReactionsInput + connect?: ChatMessageWhereUniqueInput + update?: XOR, ChatMessageUncheckedUpdateWithoutReactionsInput> } - export type TaskUncheckedUpdateManyWithoutModifierNestedInput = { - create?: XOR | TaskCreateWithoutModifierInput[] | TaskUncheckedCreateWithoutModifierInput[] - connectOrCreate?: TaskCreateOrConnectWithoutModifierInput | TaskCreateOrConnectWithoutModifierInput[] - upsert?: TaskUpsertWithWhereUniqueWithoutModifierInput | TaskUpsertWithWhereUniqueWithoutModifierInput[] - createMany?: TaskCreateManyModifierInputEnvelope - set?: TaskWhereUniqueInput | TaskWhereUniqueInput[] - disconnect?: TaskWhereUniqueInput | TaskWhereUniqueInput[] - delete?: TaskWhereUniqueInput | TaskWhereUniqueInput[] - connect?: TaskWhereUniqueInput | TaskWhereUniqueInput[] - update?: TaskUpdateWithWhereUniqueWithoutModifierInput | TaskUpdateWithWhereUniqueWithoutModifierInput[] - updateMany?: TaskUpdateManyWithWhereWithoutModifierInput | TaskUpdateManyWithWhereWithoutModifierInput[] - deleteMany?: TaskScalarWhereInput | TaskScalarWhereInput[] + export type UserUpdateOneRequiredWithoutMessageReactionsNestedInput = { + create?: XOR + connectOrCreate?: UserCreateOrConnectWithoutMessageReactionsInput + upsert?: UserUpsertWithoutMessageReactionsInput + connect?: UserWhereUniqueInput + update?: XOR, UserUncheckedUpdateWithoutMessageReactionsInput> } - export type NotificationUncheckedUpdateManyWithoutUserNestedInput = { - create?: XOR | NotificationCreateWithoutUserInput[] | NotificationUncheckedCreateWithoutUserInput[] - connectOrCreate?: NotificationCreateOrConnectWithoutUserInput | NotificationCreateOrConnectWithoutUserInput[] - upsert?: NotificationUpsertWithWhereUniqueWithoutUserInput | NotificationUpsertWithWhereUniqueWithoutUserInput[] - createMany?: NotificationCreateManyUserInputEnvelope - set?: NotificationWhereUniqueInput | NotificationWhereUniqueInput[] - disconnect?: NotificationWhereUniqueInput | NotificationWhereUniqueInput[] - delete?: NotificationWhereUniqueInput | NotificationWhereUniqueInput[] - connect?: NotificationWhereUniqueInput | NotificationWhereUniqueInput[] - update?: NotificationUpdateWithWhereUniqueWithoutUserInput | NotificationUpdateWithWhereUniqueWithoutUserInput[] - updateMany?: NotificationUpdateManyWithWhereWithoutUserInput | NotificationUpdateManyWithWhereWithoutUserInput[] - deleteMany?: NotificationScalarWhereInput | NotificationScalarWhereInput[] + export type ChatRoomCreateNestedOneWithoutPinnedMessagesInput = { + create?: XOR + connectOrCreate?: ChatRoomCreateOrConnectWithoutPinnedMessagesInput + connect?: ChatRoomWhereUniqueInput } - export type TimelogUncheckedUpdateManyWithoutUserNestedInput = { - create?: XOR | TimelogCreateWithoutUserInput[] | TimelogUncheckedCreateWithoutUserInput[] - connectOrCreate?: TimelogCreateOrConnectWithoutUserInput | TimelogCreateOrConnectWithoutUserInput[] - upsert?: TimelogUpsertWithWhereUniqueWithoutUserInput | TimelogUpsertWithWhereUniqueWithoutUserInput[] - createMany?: TimelogCreateManyUserInputEnvelope - set?: TimelogWhereUniqueInput | TimelogWhereUniqueInput[] - disconnect?: TimelogWhereUniqueInput | TimelogWhereUniqueInput[] - delete?: TimelogWhereUniqueInput | TimelogWhereUniqueInput[] - connect?: TimelogWhereUniqueInput | TimelogWhereUniqueInput[] - update?: TimelogUpdateWithWhereUniqueWithoutUserInput | TimelogUpdateWithWhereUniqueWithoutUserInput[] - updateMany?: TimelogUpdateManyWithWhereWithoutUserInput | TimelogUpdateManyWithWhereWithoutUserInput[] - deleteMany?: TimelogScalarWhereInput | TimelogScalarWhereInput[] + export type ChatMessageCreateNestedOneWithoutPinnedInInput = { + create?: XOR + connectOrCreate?: ChatMessageCreateOrConnectWithoutPinnedInInput + connect?: ChatMessageWhereUniqueInput } - export type CommentUncheckedUpdateManyWithoutUserNestedInput = { - create?: XOR | CommentCreateWithoutUserInput[] | CommentUncheckedCreateWithoutUserInput[] - connectOrCreate?: CommentCreateOrConnectWithoutUserInput | CommentCreateOrConnectWithoutUserInput[] - upsert?: CommentUpsertWithWhereUniqueWithoutUserInput | CommentUpsertWithWhereUniqueWithoutUserInput[] - createMany?: CommentCreateManyUserInputEnvelope - set?: CommentWhereUniqueInput | CommentWhereUniqueInput[] - disconnect?: CommentWhereUniqueInput | CommentWhereUniqueInput[] - delete?: CommentWhereUniqueInput | CommentWhereUniqueInput[] - connect?: CommentWhereUniqueInput | CommentWhereUniqueInput[] - update?: CommentUpdateWithWhereUniqueWithoutUserInput | CommentUpdateWithWhereUniqueWithoutUserInput[] - updateMany?: CommentUpdateManyWithWhereWithoutUserInput | CommentUpdateManyWithWhereWithoutUserInput[] - deleteMany?: CommentScalarWhereInput | CommentScalarWhereInput[] + export type UserCreateNestedOneWithoutPinnedMessagesInput = { + create?: XOR + connectOrCreate?: UserCreateOrConnectWithoutPinnedMessagesInput + connect?: UserWhereUniqueInput } - export type TaskAttachmentUncheckedUpdateManyWithoutUploaderNestedInput = { - create?: XOR | TaskAttachmentCreateWithoutUploaderInput[] | TaskAttachmentUncheckedCreateWithoutUploaderInput[] - connectOrCreate?: TaskAttachmentCreateOrConnectWithoutUploaderInput | TaskAttachmentCreateOrConnectWithoutUploaderInput[] - upsert?: TaskAttachmentUpsertWithWhereUniqueWithoutUploaderInput | TaskAttachmentUpsertWithWhereUniqueWithoutUploaderInput[] - createMany?: TaskAttachmentCreateManyUploaderInputEnvelope - set?: TaskAttachmentWhereUniqueInput | TaskAttachmentWhereUniqueInput[] - disconnect?: TaskAttachmentWhereUniqueInput | TaskAttachmentWhereUniqueInput[] - delete?: TaskAttachmentWhereUniqueInput | TaskAttachmentWhereUniqueInput[] - connect?: TaskAttachmentWhereUniqueInput | TaskAttachmentWhereUniqueInput[] - update?: TaskAttachmentUpdateWithWhereUniqueWithoutUploaderInput | TaskAttachmentUpdateWithWhereUniqueWithoutUploaderInput[] - updateMany?: TaskAttachmentUpdateManyWithWhereWithoutUploaderInput | TaskAttachmentUpdateManyWithWhereWithoutUploaderInput[] - deleteMany?: TaskAttachmentScalarWhereInput | TaskAttachmentScalarWhereInput[] + export type ChatRoomUpdateOneRequiredWithoutPinnedMessagesNestedInput = { + create?: XOR + connectOrCreate?: ChatRoomCreateOrConnectWithoutPinnedMessagesInput + upsert?: ChatRoomUpsertWithoutPinnedMessagesInput + connect?: ChatRoomWhereUniqueInput + update?: XOR, ChatRoomUncheckedUpdateWithoutPinnedMessagesInput> } - export type ReportUncheckedUpdateManyWithoutGeneratorNestedInput = { - create?: XOR | ReportCreateWithoutGeneratorInput[] | ReportUncheckedCreateWithoutGeneratorInput[] - connectOrCreate?: ReportCreateOrConnectWithoutGeneratorInput | ReportCreateOrConnectWithoutGeneratorInput[] - upsert?: ReportUpsertWithWhereUniqueWithoutGeneratorInput | ReportUpsertWithWhereUniqueWithoutGeneratorInput[] - createMany?: ReportCreateManyGeneratorInputEnvelope - set?: ReportWhereUniqueInput | ReportWhereUniqueInput[] - disconnect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] - delete?: ReportWhereUniqueInput | ReportWhereUniqueInput[] - connect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] - update?: ReportUpdateWithWhereUniqueWithoutGeneratorInput | ReportUpdateWithWhereUniqueWithoutGeneratorInput[] - updateMany?: ReportUpdateManyWithWhereWithoutGeneratorInput | ReportUpdateManyWithWhereWithoutGeneratorInput[] - deleteMany?: ReportScalarWhereInput | ReportScalarWhereInput[] + export type ChatMessageUpdateOneRequiredWithoutPinnedInNestedInput = { + create?: XOR + connectOrCreate?: ChatMessageCreateOrConnectWithoutPinnedInInput + upsert?: ChatMessageUpsertWithoutPinnedInInput + connect?: ChatMessageWhereUniqueInput + update?: XOR, ChatMessageUncheckedUpdateWithoutPinnedInInput> } - export type ReportUncheckedUpdateManyWithoutUserNestedInput = { - create?: XOR | ReportCreateWithoutUserInput[] | ReportUncheckedCreateWithoutUserInput[] - connectOrCreate?: ReportCreateOrConnectWithoutUserInput | ReportCreateOrConnectWithoutUserInput[] - upsert?: ReportUpsertWithWhereUniqueWithoutUserInput | ReportUpsertWithWhereUniqueWithoutUserInput[] - createMany?: ReportCreateManyUserInputEnvelope - set?: ReportWhereUniqueInput | ReportWhereUniqueInput[] - disconnect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] - delete?: ReportWhereUniqueInput | ReportWhereUniqueInput[] - connect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] - update?: ReportUpdateWithWhereUniqueWithoutUserInput | ReportUpdateWithWhereUniqueWithoutUserInput[] - updateMany?: ReportUpdateManyWithWhereWithoutUserInput | ReportUpdateManyWithWhereWithoutUserInput[] - deleteMany?: ReportScalarWhereInput | ReportScalarWhereInput[] + export type UserUpdateOneRequiredWithoutPinnedMessagesNestedInput = { + create?: XOR + connectOrCreate?: UserCreateOrConnectWithoutPinnedMessagesInput + upsert?: UserUpsertWithoutPinnedMessagesInput + connect?: UserWhereUniqueInput + update?: XOR, UserUncheckedUpdateWithoutPinnedMessagesInput> } - export type PermissionUncheckedUpdateManyWithoutUserNestedInput = { - create?: XOR | PermissionCreateWithoutUserInput[] | PermissionUncheckedCreateWithoutUserInput[] - connectOrCreate?: PermissionCreateOrConnectWithoutUserInput | PermissionCreateOrConnectWithoutUserInput[] - upsert?: PermissionUpsertWithWhereUniqueWithoutUserInput | PermissionUpsertWithWhereUniqueWithoutUserInput[] - createMany?: PermissionCreateManyUserInputEnvelope - set?: PermissionWhereUniqueInput | PermissionWhereUniqueInput[] - disconnect?: PermissionWhereUniqueInput | PermissionWhereUniqueInput[] - delete?: PermissionWhereUniqueInput | PermissionWhereUniqueInput[] - connect?: PermissionWhereUniqueInput | PermissionWhereUniqueInput[] - update?: PermissionUpdateWithWhereUniqueWithoutUserInput | PermissionUpdateWithWhereUniqueWithoutUserInput[] - updateMany?: PermissionUpdateManyWithWhereWithoutUserInput | PermissionUpdateManyWithWhereWithoutUserInput[] - deleteMany?: PermissionScalarWhereInput | PermissionScalarWhereInput[] + export type ChatRoomCreateNestedOneWithoutVideoSessionsInput = { + create?: XOR + connectOrCreate?: ChatRoomCreateOrConnectWithoutVideoSessionsInput + connect?: ChatRoomWhereUniqueInput } - export type ActivityLogUncheckedUpdateManyWithoutUserNestedInput = { - create?: XOR | ActivityLogCreateWithoutUserInput[] | ActivityLogUncheckedCreateWithoutUserInput[] - connectOrCreate?: ActivityLogCreateOrConnectWithoutUserInput | ActivityLogCreateOrConnectWithoutUserInput[] - upsert?: ActivityLogUpsertWithWhereUniqueWithoutUserInput | ActivityLogUpsertWithWhereUniqueWithoutUserInput[] - createMany?: ActivityLogCreateManyUserInputEnvelope - set?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] - disconnect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] - delete?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] - connect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] - update?: ActivityLogUpdateWithWhereUniqueWithoutUserInput | ActivityLogUpdateWithWhereUniqueWithoutUserInput[] - updateMany?: ActivityLogUpdateManyWithWhereWithoutUserInput | ActivityLogUpdateManyWithWhereWithoutUserInput[] - deleteMany?: ActivityLogScalarWhereInput | ActivityLogScalarWhereInput[] + export type UserCreateNestedOneWithoutHostedSessionsInput = { + create?: XOR + connectOrCreate?: UserCreateOrConnectWithoutHostedSessionsInput + connect?: UserWhereUniqueInput } - export type ReportNotificationUncheckedUpdateManyWithoutUserNestedInput = { - create?: XOR | ReportNotificationCreateWithoutUserInput[] | ReportNotificationUncheckedCreateWithoutUserInput[] - connectOrCreate?: ReportNotificationCreateOrConnectWithoutUserInput | ReportNotificationCreateOrConnectWithoutUserInput[] - upsert?: ReportNotificationUpsertWithWhereUniqueWithoutUserInput | ReportNotificationUpsertWithWhereUniqueWithoutUserInput[] - createMany?: ReportNotificationCreateManyUserInputEnvelope - set?: ReportNotificationWhereUniqueInput | ReportNotificationWhereUniqueInput[] - disconnect?: ReportNotificationWhereUniqueInput | ReportNotificationWhereUniqueInput[] - delete?: ReportNotificationWhereUniqueInput | ReportNotificationWhereUniqueInput[] - connect?: ReportNotificationWhereUniqueInput | ReportNotificationWhereUniqueInput[] - update?: ReportNotificationUpdateWithWhereUniqueWithoutUserInput | ReportNotificationUpdateWithWhereUniqueWithoutUserInput[] - updateMany?: ReportNotificationUpdateManyWithWhereWithoutUserInput | ReportNotificationUpdateManyWithWhereWithoutUserInput[] - deleteMany?: ReportNotificationScalarWhereInput | ReportNotificationScalarWhereInput[] + export type VideoParticipantCreateNestedManyWithoutSessionInput = { + create?: XOR | VideoParticipantCreateWithoutSessionInput[] | VideoParticipantUncheckedCreateWithoutSessionInput[] + connectOrCreate?: VideoParticipantCreateOrConnectWithoutSessionInput | VideoParticipantCreateOrConnectWithoutSessionInput[] + createMany?: VideoParticipantCreateManySessionInputEnvelope + connect?: VideoParticipantWhereUniqueInput | VideoParticipantWhereUniqueInput[] } - export type UserCreateNestedOneWithoutCreatedOrganizationsInput = { - create?: XOR - connectOrCreate?: UserCreateOrConnectWithoutCreatedOrganizationsInput - connect?: UserWhereUniqueInput + export type VideoRecordingCreateNestedManyWithoutSessionInput = { + create?: XOR | VideoRecordingCreateWithoutSessionInput[] | VideoRecordingUncheckedCreateWithoutSessionInput[] + connectOrCreate?: VideoRecordingCreateOrConnectWithoutSessionInput | VideoRecordingCreateOrConnectWithoutSessionInput[] + createMany?: VideoRecordingCreateManySessionInputEnvelope + connect?: VideoRecordingWhereUniqueInput | VideoRecordingWhereUniqueInput[] } - export type DepartmentCreateNestedManyWithoutOrganizationInput = { - create?: XOR | DepartmentCreateWithoutOrganizationInput[] | DepartmentUncheckedCreateWithoutOrganizationInput[] - connectOrCreate?: DepartmentCreateOrConnectWithoutOrganizationInput | DepartmentCreateOrConnectWithoutOrganizationInput[] - createMany?: DepartmentCreateManyOrganizationInputEnvelope - connect?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[] + export type VideoParticipantUncheckedCreateNestedManyWithoutSessionInput = { + create?: XOR | VideoParticipantCreateWithoutSessionInput[] | VideoParticipantUncheckedCreateWithoutSessionInput[] + connectOrCreate?: VideoParticipantCreateOrConnectWithoutSessionInput | VideoParticipantCreateOrConnectWithoutSessionInput[] + createMany?: VideoParticipantCreateManySessionInputEnvelope + connect?: VideoParticipantWhereUniqueInput | VideoParticipantWhereUniqueInput[] } - export type TeamCreateNestedManyWithoutOrganizationInput = { - create?: XOR | TeamCreateWithoutOrganizationInput[] | TeamUncheckedCreateWithoutOrganizationInput[] - connectOrCreate?: TeamCreateOrConnectWithoutOrganizationInput | TeamCreateOrConnectWithoutOrganizationInput[] - createMany?: TeamCreateManyOrganizationInputEnvelope - connect?: TeamWhereUniqueInput | TeamWhereUniqueInput[] + export type VideoRecordingUncheckedCreateNestedManyWithoutSessionInput = { + create?: XOR | VideoRecordingCreateWithoutSessionInput[] | VideoRecordingUncheckedCreateWithoutSessionInput[] + connectOrCreate?: VideoRecordingCreateOrConnectWithoutSessionInput | VideoRecordingCreateOrConnectWithoutSessionInput[] + createMany?: VideoRecordingCreateManySessionInputEnvelope + connect?: VideoRecordingWhereUniqueInput | VideoRecordingWhereUniqueInput[] } - export type ProjectCreateNestedManyWithoutOrganizationInput = { - create?: XOR | ProjectCreateWithoutOrganizationInput[] | ProjectUncheckedCreateWithoutOrganizationInput[] - connectOrCreate?: ProjectCreateOrConnectWithoutOrganizationInput | ProjectCreateOrConnectWithoutOrganizationInput[] - createMany?: ProjectCreateManyOrganizationInputEnvelope - connect?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] + export type EnumSessionStatusFieldUpdateOperationsInput = { + set?: $Enums.SessionStatus } - export type UserCreateNestedManyWithoutOrganizationInput = { - create?: XOR | UserCreateWithoutOrganizationInput[] | UserUncheckedCreateWithoutOrganizationInput[] - connectOrCreate?: UserCreateOrConnectWithoutOrganizationInput | UserCreateOrConnectWithoutOrganizationInput[] - createMany?: UserCreateManyOrganizationInputEnvelope - connect?: UserWhereUniqueInput | UserWhereUniqueInput[] + export type ChatRoomUpdateOneRequiredWithoutVideoSessionsNestedInput = { + create?: XOR + connectOrCreate?: ChatRoomCreateOrConnectWithoutVideoSessionsInput + upsert?: ChatRoomUpsertWithoutVideoSessionsInput + connect?: ChatRoomWhereUniqueInput + update?: XOR, ChatRoomUncheckedUpdateWithoutVideoSessionsInput> } - export type ReportCreateNestedManyWithoutOrganizationInput = { - create?: XOR | ReportCreateWithoutOrganizationInput[] | ReportUncheckedCreateWithoutOrganizationInput[] - connectOrCreate?: ReportCreateOrConnectWithoutOrganizationInput | ReportCreateOrConnectWithoutOrganizationInput[] - createMany?: ReportCreateManyOrganizationInputEnvelope - connect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] + export type UserUpdateOneRequiredWithoutHostedSessionsNestedInput = { + create?: XOR + connectOrCreate?: UserCreateOrConnectWithoutHostedSessionsInput + upsert?: UserUpsertWithoutHostedSessionsInput + connect?: UserWhereUniqueInput + update?: XOR, UserUncheckedUpdateWithoutHostedSessionsInput> + } + + export type VideoParticipantUpdateManyWithoutSessionNestedInput = { + create?: XOR | VideoParticipantCreateWithoutSessionInput[] | VideoParticipantUncheckedCreateWithoutSessionInput[] + connectOrCreate?: VideoParticipantCreateOrConnectWithoutSessionInput | VideoParticipantCreateOrConnectWithoutSessionInput[] + upsert?: VideoParticipantUpsertWithWhereUniqueWithoutSessionInput | VideoParticipantUpsertWithWhereUniqueWithoutSessionInput[] + createMany?: VideoParticipantCreateManySessionInputEnvelope + set?: VideoParticipantWhereUniqueInput | VideoParticipantWhereUniqueInput[] + disconnect?: VideoParticipantWhereUniqueInput | VideoParticipantWhereUniqueInput[] + delete?: VideoParticipantWhereUniqueInput | VideoParticipantWhereUniqueInput[] + connect?: VideoParticipantWhereUniqueInput | VideoParticipantWhereUniqueInput[] + update?: VideoParticipantUpdateWithWhereUniqueWithoutSessionInput | VideoParticipantUpdateWithWhereUniqueWithoutSessionInput[] + updateMany?: VideoParticipantUpdateManyWithWhereWithoutSessionInput | VideoParticipantUpdateManyWithWhereWithoutSessionInput[] + deleteMany?: VideoParticipantScalarWhereInput | VideoParticipantScalarWhereInput[] + } + + export type VideoRecordingUpdateManyWithoutSessionNestedInput = { + create?: XOR | VideoRecordingCreateWithoutSessionInput[] | VideoRecordingUncheckedCreateWithoutSessionInput[] + connectOrCreate?: VideoRecordingCreateOrConnectWithoutSessionInput | VideoRecordingCreateOrConnectWithoutSessionInput[] + upsert?: VideoRecordingUpsertWithWhereUniqueWithoutSessionInput | VideoRecordingUpsertWithWhereUniqueWithoutSessionInput[] + createMany?: VideoRecordingCreateManySessionInputEnvelope + set?: VideoRecordingWhereUniqueInput | VideoRecordingWhereUniqueInput[] + disconnect?: VideoRecordingWhereUniqueInput | VideoRecordingWhereUniqueInput[] + delete?: VideoRecordingWhereUniqueInput | VideoRecordingWhereUniqueInput[] + connect?: VideoRecordingWhereUniqueInput | VideoRecordingWhereUniqueInput[] + update?: VideoRecordingUpdateWithWhereUniqueWithoutSessionInput | VideoRecordingUpdateWithWhereUniqueWithoutSessionInput[] + updateMany?: VideoRecordingUpdateManyWithWhereWithoutSessionInput | VideoRecordingUpdateManyWithWhereWithoutSessionInput[] + deleteMany?: VideoRecordingScalarWhereInput | VideoRecordingScalarWhereInput[] + } + + export type VideoParticipantUncheckedUpdateManyWithoutSessionNestedInput = { + create?: XOR | VideoParticipantCreateWithoutSessionInput[] | VideoParticipantUncheckedCreateWithoutSessionInput[] + connectOrCreate?: VideoParticipantCreateOrConnectWithoutSessionInput | VideoParticipantCreateOrConnectWithoutSessionInput[] + upsert?: VideoParticipantUpsertWithWhereUniqueWithoutSessionInput | VideoParticipantUpsertWithWhereUniqueWithoutSessionInput[] + createMany?: VideoParticipantCreateManySessionInputEnvelope + set?: VideoParticipantWhereUniqueInput | VideoParticipantWhereUniqueInput[] + disconnect?: VideoParticipantWhereUniqueInput | VideoParticipantWhereUniqueInput[] + delete?: VideoParticipantWhereUniqueInput | VideoParticipantWhereUniqueInput[] + connect?: VideoParticipantWhereUniqueInput | VideoParticipantWhereUniqueInput[] + update?: VideoParticipantUpdateWithWhereUniqueWithoutSessionInput | VideoParticipantUpdateWithWhereUniqueWithoutSessionInput[] + updateMany?: VideoParticipantUpdateManyWithWhereWithoutSessionInput | VideoParticipantUpdateManyWithWhereWithoutSessionInput[] + deleteMany?: VideoParticipantScalarWhereInput | VideoParticipantScalarWhereInput[] + } + + export type VideoRecordingUncheckedUpdateManyWithoutSessionNestedInput = { + create?: XOR | VideoRecordingCreateWithoutSessionInput[] | VideoRecordingUncheckedCreateWithoutSessionInput[] + connectOrCreate?: VideoRecordingCreateOrConnectWithoutSessionInput | VideoRecordingCreateOrConnectWithoutSessionInput[] + upsert?: VideoRecordingUpsertWithWhereUniqueWithoutSessionInput | VideoRecordingUpsertWithWhereUniqueWithoutSessionInput[] + createMany?: VideoRecordingCreateManySessionInputEnvelope + set?: VideoRecordingWhereUniqueInput | VideoRecordingWhereUniqueInput[] + disconnect?: VideoRecordingWhereUniqueInput | VideoRecordingWhereUniqueInput[] + delete?: VideoRecordingWhereUniqueInput | VideoRecordingWhereUniqueInput[] + connect?: VideoRecordingWhereUniqueInput | VideoRecordingWhereUniqueInput[] + update?: VideoRecordingUpdateWithWhereUniqueWithoutSessionInput | VideoRecordingUpdateWithWhereUniqueWithoutSessionInput[] + updateMany?: VideoRecordingUpdateManyWithWhereWithoutSessionInput | VideoRecordingUpdateManyWithWhereWithoutSessionInput[] + deleteMany?: VideoRecordingScalarWhereInput | VideoRecordingScalarWhereInput[] + } + + export type VideoConferenceSessionCreateNestedOneWithoutParticipantsInput = { + create?: XOR + connectOrCreate?: VideoConferenceSessionCreateOrConnectWithoutParticipantsInput + connect?: VideoConferenceSessionWhereUniqueInput + } + + export type UserCreateNestedOneWithoutVideoParticipationsInput = { + create?: XOR + connectOrCreate?: UserCreateOrConnectWithoutVideoParticipationsInput + connect?: UserWhereUniqueInput } - export type OrganizationOwnerCreateNestedManyWithoutOrganizationInput = { - create?: XOR | OrganizationOwnerCreateWithoutOrganizationInput[] | OrganizationOwnerUncheckedCreateWithoutOrganizationInput[] - connectOrCreate?: OrganizationOwnerCreateOrConnectWithoutOrganizationInput | OrganizationOwnerCreateOrConnectWithoutOrganizationInput[] - createMany?: OrganizationOwnerCreateManyOrganizationInputEnvelope - connect?: OrganizationOwnerWhereUniqueInput | OrganizationOwnerWhereUniqueInput[] + export type EnumVideoParticipantRoleFieldUpdateOperationsInput = { + set?: $Enums.VideoParticipantRole } - export type TaskTemplateCreateNestedManyWithoutOrganizationInput = { - create?: XOR | TaskTemplateCreateWithoutOrganizationInput[] | TaskTemplateUncheckedCreateWithoutOrganizationInput[] - connectOrCreate?: TaskTemplateCreateOrConnectWithoutOrganizationInput | TaskTemplateCreateOrConnectWithoutOrganizationInput[] - createMany?: TaskTemplateCreateManyOrganizationInputEnvelope - connect?: TaskTemplateWhereUniqueInput | TaskTemplateWhereUniqueInput[] + export type VideoConferenceSessionUpdateOneRequiredWithoutParticipantsNestedInput = { + create?: XOR + connectOrCreate?: VideoConferenceSessionCreateOrConnectWithoutParticipantsInput + upsert?: VideoConferenceSessionUpsertWithoutParticipantsInput + connect?: VideoConferenceSessionWhereUniqueInput + update?: XOR, VideoConferenceSessionUncheckedUpdateWithoutParticipantsInput> } - export type ActivityLogCreateNestedManyWithoutOrganizationInput = { - create?: XOR | ActivityLogCreateWithoutOrganizationInput[] | ActivityLogUncheckedCreateWithoutOrganizationInput[] - connectOrCreate?: ActivityLogCreateOrConnectWithoutOrganizationInput | ActivityLogCreateOrConnectWithoutOrganizationInput[] - createMany?: ActivityLogCreateManyOrganizationInputEnvelope - connect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] + export type UserUpdateOneRequiredWithoutVideoParticipationsNestedInput = { + create?: XOR + connectOrCreate?: UserCreateOrConnectWithoutVideoParticipationsInput + upsert?: UserUpsertWithoutVideoParticipationsInput + connect?: UserWhereUniqueInput + update?: XOR, UserUncheckedUpdateWithoutVideoParticipationsInput> } - export type DepartmentUncheckedCreateNestedManyWithoutOrganizationInput = { - create?: XOR | DepartmentCreateWithoutOrganizationInput[] | DepartmentUncheckedCreateWithoutOrganizationInput[] - connectOrCreate?: DepartmentCreateOrConnectWithoutOrganizationInput | DepartmentCreateOrConnectWithoutOrganizationInput[] - createMany?: DepartmentCreateManyOrganizationInputEnvelope - connect?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[] + export type VideoConferenceSessionCreateNestedOneWithoutRecordingsInput = { + create?: XOR + connectOrCreate?: VideoConferenceSessionCreateOrConnectWithoutRecordingsInput + connect?: VideoConferenceSessionWhereUniqueInput } - export type TeamUncheckedCreateNestedManyWithoutOrganizationInput = { - create?: XOR | TeamCreateWithoutOrganizationInput[] | TeamUncheckedCreateWithoutOrganizationInput[] - connectOrCreate?: TeamCreateOrConnectWithoutOrganizationInput | TeamCreateOrConnectWithoutOrganizationInput[] - createMany?: TeamCreateManyOrganizationInputEnvelope - connect?: TeamWhereUniqueInput | TeamWhereUniqueInput[] + export type UserCreateNestedOneWithoutVideoRecordingsInput = { + create?: XOR + connectOrCreate?: UserCreateOrConnectWithoutVideoRecordingsInput + connect?: UserWhereUniqueInput } - export type ProjectUncheckedCreateNestedManyWithoutOrganizationInput = { - create?: XOR | ProjectCreateWithoutOrganizationInput[] | ProjectUncheckedCreateWithoutOrganizationInput[] - connectOrCreate?: ProjectCreateOrConnectWithoutOrganizationInput | ProjectCreateOrConnectWithoutOrganizationInput[] - createMany?: ProjectCreateManyOrganizationInputEnvelope - connect?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] + export type EnumProcessingStatusFieldUpdateOperationsInput = { + set?: $Enums.ProcessingStatus } - export type UserUncheckedCreateNestedManyWithoutOrganizationInput = { - create?: XOR | UserCreateWithoutOrganizationInput[] | UserUncheckedCreateWithoutOrganizationInput[] - connectOrCreate?: UserCreateOrConnectWithoutOrganizationInput | UserCreateOrConnectWithoutOrganizationInput[] - createMany?: UserCreateManyOrganizationInputEnvelope - connect?: UserWhereUniqueInput | UserWhereUniqueInput[] + export type EnumRecordingVisibilityFieldUpdateOperationsInput = { + set?: $Enums.RecordingVisibility } - export type ReportUncheckedCreateNestedManyWithoutOrganizationInput = { - create?: XOR | ReportCreateWithoutOrganizationInput[] | ReportUncheckedCreateWithoutOrganizationInput[] - connectOrCreate?: ReportCreateOrConnectWithoutOrganizationInput | ReportCreateOrConnectWithoutOrganizationInput[] - createMany?: ReportCreateManyOrganizationInputEnvelope - connect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] + export type VideoConferenceSessionUpdateOneRequiredWithoutRecordingsNestedInput = { + create?: XOR + connectOrCreate?: VideoConferenceSessionCreateOrConnectWithoutRecordingsInput + upsert?: VideoConferenceSessionUpsertWithoutRecordingsInput + connect?: VideoConferenceSessionWhereUniqueInput + update?: XOR, VideoConferenceSessionUncheckedUpdateWithoutRecordingsInput> } - export type OrganizationOwnerUncheckedCreateNestedManyWithoutOrganizationInput = { - create?: XOR | OrganizationOwnerCreateWithoutOrganizationInput[] | OrganizationOwnerUncheckedCreateWithoutOrganizationInput[] - connectOrCreate?: OrganizationOwnerCreateOrConnectWithoutOrganizationInput | OrganizationOwnerCreateOrConnectWithoutOrganizationInput[] - createMany?: OrganizationOwnerCreateManyOrganizationInputEnvelope - connect?: OrganizationOwnerWhereUniqueInput | OrganizationOwnerWhereUniqueInput[] + export type UserUpdateOneRequiredWithoutVideoRecordingsNestedInput = { + create?: XOR + connectOrCreate?: UserCreateOrConnectWithoutVideoRecordingsInput + upsert?: UserUpsertWithoutVideoRecordingsInput + connect?: UserWhereUniqueInput + update?: XOR, UserUncheckedUpdateWithoutVideoRecordingsInput> } - export type TaskTemplateUncheckedCreateNestedManyWithoutOrganizationInput = { - create?: XOR | TaskTemplateCreateWithoutOrganizationInput[] | TaskTemplateUncheckedCreateWithoutOrganizationInput[] - connectOrCreate?: TaskTemplateCreateOrConnectWithoutOrganizationInput | TaskTemplateCreateOrConnectWithoutOrganizationInput[] - createMany?: TaskTemplateCreateManyOrganizationInputEnvelope - connect?: TaskTemplateWhereUniqueInput | TaskTemplateWhereUniqueInput[] + export type NestedUuidFilter<$PrismaModel = never> = { + equals?: string | StringFieldRefInput<$PrismaModel> + in?: string[] | ListStringFieldRefInput<$PrismaModel> + notIn?: string[] | ListStringFieldRefInput<$PrismaModel> + lt?: string | StringFieldRefInput<$PrismaModel> + lte?: string | StringFieldRefInput<$PrismaModel> + gt?: string | StringFieldRefInput<$PrismaModel> + gte?: string | StringFieldRefInput<$PrismaModel> + not?: NestedUuidFilter<$PrismaModel> | string } - export type ActivityLogUncheckedCreateNestedManyWithoutOrganizationInput = { - create?: XOR | ActivityLogCreateWithoutOrganizationInput[] | ActivityLogUncheckedCreateWithoutOrganizationInput[] - connectOrCreate?: ActivityLogCreateOrConnectWithoutOrganizationInput | ActivityLogCreateOrConnectWithoutOrganizationInput[] - createMany?: ActivityLogCreateManyOrganizationInputEnvelope - connect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] + export type NestedStringFilter<$PrismaModel = never> = { + equals?: string | StringFieldRefInput<$PrismaModel> + in?: string[] | ListStringFieldRefInput<$PrismaModel> + notIn?: string[] | ListStringFieldRefInput<$PrismaModel> + lt?: string | StringFieldRefInput<$PrismaModel> + lte?: string | StringFieldRefInput<$PrismaModel> + gt?: string | StringFieldRefInput<$PrismaModel> + gte?: string | StringFieldRefInput<$PrismaModel> + contains?: string | StringFieldRefInput<$PrismaModel> + startsWith?: string | StringFieldRefInput<$PrismaModel> + endsWith?: string | StringFieldRefInput<$PrismaModel> + not?: NestedStringFilter<$PrismaModel> | string } - export type UserUpdateOneRequiredWithoutCreatedOrganizationsNestedInput = { - create?: XOR - connectOrCreate?: UserCreateOrConnectWithoutCreatedOrganizationsInput - upsert?: UserUpsertWithoutCreatedOrganizationsInput - connect?: UserWhereUniqueInput - update?: XOR, UserUncheckedUpdateWithoutCreatedOrganizationsInput> + export type NestedStringNullableFilter<$PrismaModel = never> = { + equals?: string | StringFieldRefInput<$PrismaModel> | null + in?: string[] | ListStringFieldRefInput<$PrismaModel> | null + notIn?: string[] | ListStringFieldRefInput<$PrismaModel> | null + lt?: string | StringFieldRefInput<$PrismaModel> + lte?: string | StringFieldRefInput<$PrismaModel> + gt?: string | StringFieldRefInput<$PrismaModel> + gte?: string | StringFieldRefInput<$PrismaModel> + contains?: string | StringFieldRefInput<$PrismaModel> + startsWith?: string | StringFieldRefInput<$PrismaModel> + endsWith?: string | StringFieldRefInput<$PrismaModel> + not?: NestedStringNullableFilter<$PrismaModel> | string | null } - export type DepartmentUpdateManyWithoutOrganizationNestedInput = { - create?: XOR | DepartmentCreateWithoutOrganizationInput[] | DepartmentUncheckedCreateWithoutOrganizationInput[] - connectOrCreate?: DepartmentCreateOrConnectWithoutOrganizationInput | DepartmentCreateOrConnectWithoutOrganizationInput[] - upsert?: DepartmentUpsertWithWhereUniqueWithoutOrganizationInput | DepartmentUpsertWithWhereUniqueWithoutOrganizationInput[] - createMany?: DepartmentCreateManyOrganizationInputEnvelope - set?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[] - disconnect?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[] - delete?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[] - connect?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[] - update?: DepartmentUpdateWithWhereUniqueWithoutOrganizationInput | DepartmentUpdateWithWhereUniqueWithoutOrganizationInput[] - updateMany?: DepartmentUpdateManyWithWhereWithoutOrganizationInput | DepartmentUpdateManyWithWhereWithoutOrganizationInput[] - deleteMany?: DepartmentScalarWhereInput | DepartmentScalarWhereInput[] + export type NestedEnumUserRoleFilter<$PrismaModel = never> = { + equals?: $Enums.UserRole | EnumUserRoleFieldRefInput<$PrismaModel> + in?: $Enums.UserRole[] | ListEnumUserRoleFieldRefInput<$PrismaModel> + notIn?: $Enums.UserRole[] | ListEnumUserRoleFieldRefInput<$PrismaModel> + not?: NestedEnumUserRoleFilter<$PrismaModel> | $Enums.UserRole } - export type TeamUpdateManyWithoutOrganizationNestedInput = { - create?: XOR | TeamCreateWithoutOrganizationInput[] | TeamUncheckedCreateWithoutOrganizationInput[] - connectOrCreate?: TeamCreateOrConnectWithoutOrganizationInput | TeamCreateOrConnectWithoutOrganizationInput[] - upsert?: TeamUpsertWithWhereUniqueWithoutOrganizationInput | TeamUpsertWithWhereUniqueWithoutOrganizationInput[] - createMany?: TeamCreateManyOrganizationInputEnvelope - set?: TeamWhereUniqueInput | TeamWhereUniqueInput[] - disconnect?: TeamWhereUniqueInput | TeamWhereUniqueInput[] - delete?: TeamWhereUniqueInput | TeamWhereUniqueInput[] - connect?: TeamWhereUniqueInput | TeamWhereUniqueInput[] - update?: TeamUpdateWithWhereUniqueWithoutOrganizationInput | TeamUpdateWithWhereUniqueWithoutOrganizationInput[] - updateMany?: TeamUpdateManyWithWhereWithoutOrganizationInput | TeamUpdateManyWithWhereWithoutOrganizationInput[] - deleteMany?: TeamScalarWhereInput | TeamScalarWhereInput[] + export type NestedUuidNullableFilter<$PrismaModel = never> = { + equals?: string | StringFieldRefInput<$PrismaModel> | null + in?: string[] | ListStringFieldRefInput<$PrismaModel> | null + notIn?: string[] | ListStringFieldRefInput<$PrismaModel> | null + lt?: string | StringFieldRefInput<$PrismaModel> + lte?: string | StringFieldRefInput<$PrismaModel> + gt?: string | StringFieldRefInput<$PrismaModel> + gte?: string | StringFieldRefInput<$PrismaModel> + not?: NestedUuidNullableFilter<$PrismaModel> | string | null } - export type ProjectUpdateManyWithoutOrganizationNestedInput = { - create?: XOR | ProjectCreateWithoutOrganizationInput[] | ProjectUncheckedCreateWithoutOrganizationInput[] - connectOrCreate?: ProjectCreateOrConnectWithoutOrganizationInput | ProjectCreateOrConnectWithoutOrganizationInput[] - upsert?: ProjectUpsertWithWhereUniqueWithoutOrganizationInput | ProjectUpsertWithWhereUniqueWithoutOrganizationInput[] - createMany?: ProjectCreateManyOrganizationInputEnvelope - set?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] - disconnect?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] - delete?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] - connect?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] - update?: ProjectUpdateWithWhereUniqueWithoutOrganizationInput | ProjectUpdateWithWhereUniqueWithoutOrganizationInput[] - updateMany?: ProjectUpdateManyWithWhereWithoutOrganizationInput | ProjectUpdateManyWithWhereWithoutOrganizationInput[] - deleteMany?: ProjectScalarWhereInput | ProjectScalarWhereInput[] + export type NestedBoolFilter<$PrismaModel = never> = { + equals?: boolean | BooleanFieldRefInput<$PrismaModel> + not?: NestedBoolFilter<$PrismaModel> | boolean } - export type UserUpdateManyWithoutOrganizationNestedInput = { - create?: XOR | UserCreateWithoutOrganizationInput[] | UserUncheckedCreateWithoutOrganizationInput[] - connectOrCreate?: UserCreateOrConnectWithoutOrganizationInput | UserCreateOrConnectWithoutOrganizationInput[] - upsert?: UserUpsertWithWhereUniqueWithoutOrganizationInput | UserUpsertWithWhereUniqueWithoutOrganizationInput[] - createMany?: UserCreateManyOrganizationInputEnvelope - set?: UserWhereUniqueInput | UserWhereUniqueInput[] - disconnect?: UserWhereUniqueInput | UserWhereUniqueInput[] - delete?: UserWhereUniqueInput | UserWhereUniqueInput[] - connect?: UserWhereUniqueInput | UserWhereUniqueInput[] - update?: UserUpdateWithWhereUniqueWithoutOrganizationInput | UserUpdateWithWhereUniqueWithoutOrganizationInput[] - updateMany?: UserUpdateManyWithWhereWithoutOrganizationInput | UserUpdateManyWithWhereWithoutOrganizationInput[] - deleteMany?: UserScalarWhereInput | UserScalarWhereInput[] + export type NestedDateTimeFilter<$PrismaModel = never> = { + equals?: Date | string | DateTimeFieldRefInput<$PrismaModel> + in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> + notIn?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> + lt?: Date | string | DateTimeFieldRefInput<$PrismaModel> + lte?: Date | string | DateTimeFieldRefInput<$PrismaModel> + gt?: Date | string | DateTimeFieldRefInput<$PrismaModel> + gte?: Date | string | DateTimeFieldRefInput<$PrismaModel> + not?: NestedDateTimeFilter<$PrismaModel> | Date | string } - export type ReportUpdateManyWithoutOrganizationNestedInput = { - create?: XOR | ReportCreateWithoutOrganizationInput[] | ReportUncheckedCreateWithoutOrganizationInput[] - connectOrCreate?: ReportCreateOrConnectWithoutOrganizationInput | ReportCreateOrConnectWithoutOrganizationInput[] - upsert?: ReportUpsertWithWhereUniqueWithoutOrganizationInput | ReportUpsertWithWhereUniqueWithoutOrganizationInput[] - createMany?: ReportCreateManyOrganizationInputEnvelope - set?: ReportWhereUniqueInput | ReportWhereUniqueInput[] - disconnect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] - delete?: ReportWhereUniqueInput | ReportWhereUniqueInput[] - connect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] - update?: ReportUpdateWithWhereUniqueWithoutOrganizationInput | ReportUpdateWithWhereUniqueWithoutOrganizationInput[] - updateMany?: ReportUpdateManyWithWhereWithoutOrganizationInput | ReportUpdateManyWithWhereWithoutOrganizationInput[] - deleteMany?: ReportScalarWhereInput | ReportScalarWhereInput[] + export type NestedDateTimeNullableFilter<$PrismaModel = never> = { + equals?: Date | string | DateTimeFieldRefInput<$PrismaModel> | null + in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null + notIn?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null + lt?: Date | string | DateTimeFieldRefInput<$PrismaModel> + lte?: Date | string | DateTimeFieldRefInput<$PrismaModel> + gt?: Date | string | DateTimeFieldRefInput<$PrismaModel> + gte?: Date | string | DateTimeFieldRefInput<$PrismaModel> + not?: NestedDateTimeNullableFilter<$PrismaModel> | Date | string | null } - export type OrganizationOwnerUpdateManyWithoutOrganizationNestedInput = { - create?: XOR | OrganizationOwnerCreateWithoutOrganizationInput[] | OrganizationOwnerUncheckedCreateWithoutOrganizationInput[] - connectOrCreate?: OrganizationOwnerCreateOrConnectWithoutOrganizationInput | OrganizationOwnerCreateOrConnectWithoutOrganizationInput[] - upsert?: OrganizationOwnerUpsertWithWhereUniqueWithoutOrganizationInput | OrganizationOwnerUpsertWithWhereUniqueWithoutOrganizationInput[] - createMany?: OrganizationOwnerCreateManyOrganizationInputEnvelope - set?: OrganizationOwnerWhereUniqueInput | OrganizationOwnerWhereUniqueInput[] - disconnect?: OrganizationOwnerWhereUniqueInput | OrganizationOwnerWhereUniqueInput[] - delete?: OrganizationOwnerWhereUniqueInput | OrganizationOwnerWhereUniqueInput[] - connect?: OrganizationOwnerWhereUniqueInput | OrganizationOwnerWhereUniqueInput[] - update?: OrganizationOwnerUpdateWithWhereUniqueWithoutOrganizationInput | OrganizationOwnerUpdateWithWhereUniqueWithoutOrganizationInput[] - updateMany?: OrganizationOwnerUpdateManyWithWhereWithoutOrganizationInput | OrganizationOwnerUpdateManyWithWhereWithoutOrganizationInput[] - deleteMany?: OrganizationOwnerScalarWhereInput | OrganizationOwnerScalarWhereInput[] + export type NestedUuidWithAggregatesFilter<$PrismaModel = never> = { + equals?: string | StringFieldRefInput<$PrismaModel> + in?: string[] | ListStringFieldRefInput<$PrismaModel> + notIn?: string[] | ListStringFieldRefInput<$PrismaModel> + lt?: string | StringFieldRefInput<$PrismaModel> + lte?: string | StringFieldRefInput<$PrismaModel> + gt?: string | StringFieldRefInput<$PrismaModel> + gte?: string | StringFieldRefInput<$PrismaModel> + not?: NestedUuidWithAggregatesFilter<$PrismaModel> | string + _count?: NestedIntFilter<$PrismaModel> + _min?: NestedStringFilter<$PrismaModel> + _max?: NestedStringFilter<$PrismaModel> } - export type TaskTemplateUpdateManyWithoutOrganizationNestedInput = { - create?: XOR | TaskTemplateCreateWithoutOrganizationInput[] | TaskTemplateUncheckedCreateWithoutOrganizationInput[] - connectOrCreate?: TaskTemplateCreateOrConnectWithoutOrganizationInput | TaskTemplateCreateOrConnectWithoutOrganizationInput[] - upsert?: TaskTemplateUpsertWithWhereUniqueWithoutOrganizationInput | TaskTemplateUpsertWithWhereUniqueWithoutOrganizationInput[] - createMany?: TaskTemplateCreateManyOrganizationInputEnvelope - set?: TaskTemplateWhereUniqueInput | TaskTemplateWhereUniqueInput[] - disconnect?: TaskTemplateWhereUniqueInput | TaskTemplateWhereUniqueInput[] - delete?: TaskTemplateWhereUniqueInput | TaskTemplateWhereUniqueInput[] - connect?: TaskTemplateWhereUniqueInput | TaskTemplateWhereUniqueInput[] - update?: TaskTemplateUpdateWithWhereUniqueWithoutOrganizationInput | TaskTemplateUpdateWithWhereUniqueWithoutOrganizationInput[] - updateMany?: TaskTemplateUpdateManyWithWhereWithoutOrganizationInput | TaskTemplateUpdateManyWithWhereWithoutOrganizationInput[] - deleteMany?: TaskTemplateScalarWhereInput | TaskTemplateScalarWhereInput[] + export type NestedIntFilter<$PrismaModel = never> = { + equals?: number | IntFieldRefInput<$PrismaModel> + in?: number[] | ListIntFieldRefInput<$PrismaModel> + notIn?: number[] | ListIntFieldRefInput<$PrismaModel> + lt?: number | IntFieldRefInput<$PrismaModel> + lte?: number | IntFieldRefInput<$PrismaModel> + gt?: number | IntFieldRefInput<$PrismaModel> + gte?: number | IntFieldRefInput<$PrismaModel> + not?: NestedIntFilter<$PrismaModel> | number } - export type ActivityLogUpdateManyWithoutOrganizationNestedInput = { - create?: XOR | ActivityLogCreateWithoutOrganizationInput[] | ActivityLogUncheckedCreateWithoutOrganizationInput[] - connectOrCreate?: ActivityLogCreateOrConnectWithoutOrganizationInput | ActivityLogCreateOrConnectWithoutOrganizationInput[] - upsert?: ActivityLogUpsertWithWhereUniqueWithoutOrganizationInput | ActivityLogUpsertWithWhereUniqueWithoutOrganizationInput[] - createMany?: ActivityLogCreateManyOrganizationInputEnvelope - set?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] - disconnect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] - delete?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] - connect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] - update?: ActivityLogUpdateWithWhereUniqueWithoutOrganizationInput | ActivityLogUpdateWithWhereUniqueWithoutOrganizationInput[] - updateMany?: ActivityLogUpdateManyWithWhereWithoutOrganizationInput | ActivityLogUpdateManyWithWhereWithoutOrganizationInput[] - deleteMany?: ActivityLogScalarWhereInput | ActivityLogScalarWhereInput[] + export type NestedStringWithAggregatesFilter<$PrismaModel = never> = { + equals?: string | StringFieldRefInput<$PrismaModel> + in?: string[] | ListStringFieldRefInput<$PrismaModel> + notIn?: string[] | ListStringFieldRefInput<$PrismaModel> + lt?: string | StringFieldRefInput<$PrismaModel> + lte?: string | StringFieldRefInput<$PrismaModel> + gt?: string | StringFieldRefInput<$PrismaModel> + gte?: string | StringFieldRefInput<$PrismaModel> + contains?: string | StringFieldRefInput<$PrismaModel> + startsWith?: string | StringFieldRefInput<$PrismaModel> + endsWith?: string | StringFieldRefInput<$PrismaModel> + not?: NestedStringWithAggregatesFilter<$PrismaModel> | string + _count?: NestedIntFilter<$PrismaModel> + _min?: NestedStringFilter<$PrismaModel> + _max?: NestedStringFilter<$PrismaModel> } - export type DepartmentUncheckedUpdateManyWithoutOrganizationNestedInput = { - create?: XOR | DepartmentCreateWithoutOrganizationInput[] | DepartmentUncheckedCreateWithoutOrganizationInput[] - connectOrCreate?: DepartmentCreateOrConnectWithoutOrganizationInput | DepartmentCreateOrConnectWithoutOrganizationInput[] - upsert?: DepartmentUpsertWithWhereUniqueWithoutOrganizationInput | DepartmentUpsertWithWhereUniqueWithoutOrganizationInput[] - createMany?: DepartmentCreateManyOrganizationInputEnvelope - set?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[] - disconnect?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[] - delete?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[] - connect?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[] - update?: DepartmentUpdateWithWhereUniqueWithoutOrganizationInput | DepartmentUpdateWithWhereUniqueWithoutOrganizationInput[] - updateMany?: DepartmentUpdateManyWithWhereWithoutOrganizationInput | DepartmentUpdateManyWithWhereWithoutOrganizationInput[] - deleteMany?: DepartmentScalarWhereInput | DepartmentScalarWhereInput[] + export type NestedStringNullableWithAggregatesFilter<$PrismaModel = never> = { + equals?: string | StringFieldRefInput<$PrismaModel> | null + in?: string[] | ListStringFieldRefInput<$PrismaModel> | null + notIn?: string[] | ListStringFieldRefInput<$PrismaModel> | null + lt?: string | StringFieldRefInput<$PrismaModel> + lte?: string | StringFieldRefInput<$PrismaModel> + gt?: string | StringFieldRefInput<$PrismaModel> + gte?: string | StringFieldRefInput<$PrismaModel> + contains?: string | StringFieldRefInput<$PrismaModel> + startsWith?: string | StringFieldRefInput<$PrismaModel> + endsWith?: string | StringFieldRefInput<$PrismaModel> + not?: NestedStringNullableWithAggregatesFilter<$PrismaModel> | string | null + _count?: NestedIntNullableFilter<$PrismaModel> + _min?: NestedStringNullableFilter<$PrismaModel> + _max?: NestedStringNullableFilter<$PrismaModel> } - export type TeamUncheckedUpdateManyWithoutOrganizationNestedInput = { - create?: XOR | TeamCreateWithoutOrganizationInput[] | TeamUncheckedCreateWithoutOrganizationInput[] - connectOrCreate?: TeamCreateOrConnectWithoutOrganizationInput | TeamCreateOrConnectWithoutOrganizationInput[] - upsert?: TeamUpsertWithWhereUniqueWithoutOrganizationInput | TeamUpsertWithWhereUniqueWithoutOrganizationInput[] - createMany?: TeamCreateManyOrganizationInputEnvelope - set?: TeamWhereUniqueInput | TeamWhereUniqueInput[] - disconnect?: TeamWhereUniqueInput | TeamWhereUniqueInput[] - delete?: TeamWhereUniqueInput | TeamWhereUniqueInput[] - connect?: TeamWhereUniqueInput | TeamWhereUniqueInput[] - update?: TeamUpdateWithWhereUniqueWithoutOrganizationInput | TeamUpdateWithWhereUniqueWithoutOrganizationInput[] - updateMany?: TeamUpdateManyWithWhereWithoutOrganizationInput | TeamUpdateManyWithWhereWithoutOrganizationInput[] - deleteMany?: TeamScalarWhereInput | TeamScalarWhereInput[] + export type NestedIntNullableFilter<$PrismaModel = never> = { + equals?: number | IntFieldRefInput<$PrismaModel> | null + in?: number[] | ListIntFieldRefInput<$PrismaModel> | null + notIn?: number[] | ListIntFieldRefInput<$PrismaModel> | null + lt?: number | IntFieldRefInput<$PrismaModel> + lte?: number | IntFieldRefInput<$PrismaModel> + gt?: number | IntFieldRefInput<$PrismaModel> + gte?: number | IntFieldRefInput<$PrismaModel> + not?: NestedIntNullableFilter<$PrismaModel> | number | null } - export type ProjectUncheckedUpdateManyWithoutOrganizationNestedInput = { - create?: XOR | ProjectCreateWithoutOrganizationInput[] | ProjectUncheckedCreateWithoutOrganizationInput[] - connectOrCreate?: ProjectCreateOrConnectWithoutOrganizationInput | ProjectCreateOrConnectWithoutOrganizationInput[] - upsert?: ProjectUpsertWithWhereUniqueWithoutOrganizationInput | ProjectUpsertWithWhereUniqueWithoutOrganizationInput[] - createMany?: ProjectCreateManyOrganizationInputEnvelope - set?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] - disconnect?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] - delete?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] - connect?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] - update?: ProjectUpdateWithWhereUniqueWithoutOrganizationInput | ProjectUpdateWithWhereUniqueWithoutOrganizationInput[] - updateMany?: ProjectUpdateManyWithWhereWithoutOrganizationInput | ProjectUpdateManyWithWhereWithoutOrganizationInput[] - deleteMany?: ProjectScalarWhereInput | ProjectScalarWhereInput[] + export type NestedEnumUserRoleWithAggregatesFilter<$PrismaModel = never> = { + equals?: $Enums.UserRole | EnumUserRoleFieldRefInput<$PrismaModel> + in?: $Enums.UserRole[] | ListEnumUserRoleFieldRefInput<$PrismaModel> + notIn?: $Enums.UserRole[] | ListEnumUserRoleFieldRefInput<$PrismaModel> + not?: NestedEnumUserRoleWithAggregatesFilter<$PrismaModel> | $Enums.UserRole + _count?: NestedIntFilter<$PrismaModel> + _min?: NestedEnumUserRoleFilter<$PrismaModel> + _max?: NestedEnumUserRoleFilter<$PrismaModel> } - export type UserUncheckedUpdateManyWithoutOrganizationNestedInput = { - create?: XOR | UserCreateWithoutOrganizationInput[] | UserUncheckedCreateWithoutOrganizationInput[] - connectOrCreate?: UserCreateOrConnectWithoutOrganizationInput | UserCreateOrConnectWithoutOrganizationInput[] - upsert?: UserUpsertWithWhereUniqueWithoutOrganizationInput | UserUpsertWithWhereUniqueWithoutOrganizationInput[] - createMany?: UserCreateManyOrganizationInputEnvelope - set?: UserWhereUniqueInput | UserWhereUniqueInput[] - disconnect?: UserWhereUniqueInput | UserWhereUniqueInput[] - delete?: UserWhereUniqueInput | UserWhereUniqueInput[] - connect?: UserWhereUniqueInput | UserWhereUniqueInput[] - update?: UserUpdateWithWhereUniqueWithoutOrganizationInput | UserUpdateWithWhereUniqueWithoutOrganizationInput[] - updateMany?: UserUpdateManyWithWhereWithoutOrganizationInput | UserUpdateManyWithWhereWithoutOrganizationInput[] - deleteMany?: UserScalarWhereInput | UserScalarWhereInput[] + export type NestedUuidNullableWithAggregatesFilter<$PrismaModel = never> = { + equals?: string | StringFieldRefInput<$PrismaModel> | null + in?: string[] | ListStringFieldRefInput<$PrismaModel> | null + notIn?: string[] | ListStringFieldRefInput<$PrismaModel> | null + lt?: string | StringFieldRefInput<$PrismaModel> + lte?: string | StringFieldRefInput<$PrismaModel> + gt?: string | StringFieldRefInput<$PrismaModel> + gte?: string | StringFieldRefInput<$PrismaModel> + not?: NestedUuidNullableWithAggregatesFilter<$PrismaModel> | string | null + _count?: NestedIntNullableFilter<$PrismaModel> + _min?: NestedStringNullableFilter<$PrismaModel> + _max?: NestedStringNullableFilter<$PrismaModel> } - export type ReportUncheckedUpdateManyWithoutOrganizationNestedInput = { - create?: XOR | ReportCreateWithoutOrganizationInput[] | ReportUncheckedCreateWithoutOrganizationInput[] - connectOrCreate?: ReportCreateOrConnectWithoutOrganizationInput | ReportCreateOrConnectWithoutOrganizationInput[] - upsert?: ReportUpsertWithWhereUniqueWithoutOrganizationInput | ReportUpsertWithWhereUniqueWithoutOrganizationInput[] - createMany?: ReportCreateManyOrganizationInputEnvelope - set?: ReportWhereUniqueInput | ReportWhereUniqueInput[] - disconnect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] - delete?: ReportWhereUniqueInput | ReportWhereUniqueInput[] - connect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] - update?: ReportUpdateWithWhereUniqueWithoutOrganizationInput | ReportUpdateWithWhereUniqueWithoutOrganizationInput[] - updateMany?: ReportUpdateManyWithWhereWithoutOrganizationInput | ReportUpdateManyWithWhereWithoutOrganizationInput[] - deleteMany?: ReportScalarWhereInput | ReportScalarWhereInput[] + export type NestedBoolWithAggregatesFilter<$PrismaModel = never> = { + equals?: boolean | BooleanFieldRefInput<$PrismaModel> + not?: NestedBoolWithAggregatesFilter<$PrismaModel> | boolean + _count?: NestedIntFilter<$PrismaModel> + _min?: NestedBoolFilter<$PrismaModel> + _max?: NestedBoolFilter<$PrismaModel> } - export type OrganizationOwnerUncheckedUpdateManyWithoutOrganizationNestedInput = { - create?: XOR | OrganizationOwnerCreateWithoutOrganizationInput[] | OrganizationOwnerUncheckedCreateWithoutOrganizationInput[] - connectOrCreate?: OrganizationOwnerCreateOrConnectWithoutOrganizationInput | OrganizationOwnerCreateOrConnectWithoutOrganizationInput[] - upsert?: OrganizationOwnerUpsertWithWhereUniqueWithoutOrganizationInput | OrganizationOwnerUpsertWithWhereUniqueWithoutOrganizationInput[] - createMany?: OrganizationOwnerCreateManyOrganizationInputEnvelope - set?: OrganizationOwnerWhereUniqueInput | OrganizationOwnerWhereUniqueInput[] - disconnect?: OrganizationOwnerWhereUniqueInput | OrganizationOwnerWhereUniqueInput[] - delete?: OrganizationOwnerWhereUniqueInput | OrganizationOwnerWhereUniqueInput[] - connect?: OrganizationOwnerWhereUniqueInput | OrganizationOwnerWhereUniqueInput[] - update?: OrganizationOwnerUpdateWithWhereUniqueWithoutOrganizationInput | OrganizationOwnerUpdateWithWhereUniqueWithoutOrganizationInput[] - updateMany?: OrganizationOwnerUpdateManyWithWhereWithoutOrganizationInput | OrganizationOwnerUpdateManyWithWhereWithoutOrganizationInput[] - deleteMany?: OrganizationOwnerScalarWhereInput | OrganizationOwnerScalarWhereInput[] + export type NestedDateTimeWithAggregatesFilter<$PrismaModel = never> = { + equals?: Date | string | DateTimeFieldRefInput<$PrismaModel> + in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> + notIn?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> + lt?: Date | string | DateTimeFieldRefInput<$PrismaModel> + lte?: Date | string | DateTimeFieldRefInput<$PrismaModel> + gt?: Date | string | DateTimeFieldRefInput<$PrismaModel> + gte?: Date | string | DateTimeFieldRefInput<$PrismaModel> + not?: NestedDateTimeWithAggregatesFilter<$PrismaModel> | Date | string + _count?: NestedIntFilter<$PrismaModel> + _min?: NestedDateTimeFilter<$PrismaModel> + _max?: NestedDateTimeFilter<$PrismaModel> } - export type TaskTemplateUncheckedUpdateManyWithoutOrganizationNestedInput = { - create?: XOR | TaskTemplateCreateWithoutOrganizationInput[] | TaskTemplateUncheckedCreateWithoutOrganizationInput[] - connectOrCreate?: TaskTemplateCreateOrConnectWithoutOrganizationInput | TaskTemplateCreateOrConnectWithoutOrganizationInput[] - upsert?: TaskTemplateUpsertWithWhereUniqueWithoutOrganizationInput | TaskTemplateUpsertWithWhereUniqueWithoutOrganizationInput[] - createMany?: TaskTemplateCreateManyOrganizationInputEnvelope - set?: TaskTemplateWhereUniqueInput | TaskTemplateWhereUniqueInput[] - disconnect?: TaskTemplateWhereUniqueInput | TaskTemplateWhereUniqueInput[] - delete?: TaskTemplateWhereUniqueInput | TaskTemplateWhereUniqueInput[] - connect?: TaskTemplateWhereUniqueInput | TaskTemplateWhereUniqueInput[] - update?: TaskTemplateUpdateWithWhereUniqueWithoutOrganizationInput | TaskTemplateUpdateWithWhereUniqueWithoutOrganizationInput[] - updateMany?: TaskTemplateUpdateManyWithWhereWithoutOrganizationInput | TaskTemplateUpdateManyWithWhereWithoutOrganizationInput[] - deleteMany?: TaskTemplateScalarWhereInput | TaskTemplateScalarWhereInput[] + export type NestedDateTimeNullableWithAggregatesFilter<$PrismaModel = never> = { + equals?: Date | string | DateTimeFieldRefInput<$PrismaModel> | null + in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null + notIn?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null + lt?: Date | string | DateTimeFieldRefInput<$PrismaModel> + lte?: Date | string | DateTimeFieldRefInput<$PrismaModel> + gt?: Date | string | DateTimeFieldRefInput<$PrismaModel> + gte?: Date | string | DateTimeFieldRefInput<$PrismaModel> + not?: NestedDateTimeNullableWithAggregatesFilter<$PrismaModel> | Date | string | null + _count?: NestedIntNullableFilter<$PrismaModel> + _min?: NestedDateTimeNullableFilter<$PrismaModel> + _max?: NestedDateTimeNullableFilter<$PrismaModel> } + export type NestedJsonNullableFilter<$PrismaModel = never> = + | PatchUndefined< + Either>, Exclude>, 'path'>>, + Required> + > + | OptionalFlat>, 'path'>> - export type ActivityLogUncheckedUpdateManyWithoutOrganizationNestedInput = { - create?: XOR | ActivityLogCreateWithoutOrganizationInput[] | ActivityLogUncheckedCreateWithoutOrganizationInput[] - connectOrCreate?: ActivityLogCreateOrConnectWithoutOrganizationInput | ActivityLogCreateOrConnectWithoutOrganizationInput[] - upsert?: ActivityLogUpsertWithWhereUniqueWithoutOrganizationInput | ActivityLogUpsertWithWhereUniqueWithoutOrganizationInput[] - createMany?: ActivityLogCreateManyOrganizationInputEnvelope - set?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] - disconnect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] - delete?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] - connect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] - update?: ActivityLogUpdateWithWhereUniqueWithoutOrganizationInput | ActivityLogUpdateWithWhereUniqueWithoutOrganizationInput[] - updateMany?: ActivityLogUpdateManyWithWhereWithoutOrganizationInput | ActivityLogUpdateManyWithWhereWithoutOrganizationInput[] - deleteMany?: ActivityLogScalarWhereInput | ActivityLogScalarWhereInput[] + export type NestedJsonNullableFilterBase<$PrismaModel = never> = { + equals?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter + path?: string[] + mode?: QueryMode | EnumQueryModeFieldRefInput<$PrismaModel> + string_contains?: string | StringFieldRefInput<$PrismaModel> + string_starts_with?: string | StringFieldRefInput<$PrismaModel> + string_ends_with?: string | StringFieldRefInput<$PrismaModel> + array_starts_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null + array_ends_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null + array_contains?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null + lt?: InputJsonValue | JsonFieldRefInput<$PrismaModel> + lte?: InputJsonValue | JsonFieldRefInput<$PrismaModel> + gt?: InputJsonValue | JsonFieldRefInput<$PrismaModel> + gte?: InputJsonValue | JsonFieldRefInput<$PrismaModel> + not?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter } - export type OrganizationCreateNestedOneWithoutOwnersInput = { - create?: XOR - connectOrCreate?: OrganizationCreateOrConnectWithoutOwnersInput - connect?: OrganizationWhereUniqueInput + export type NestedEnumTeamMemberRoleFilter<$PrismaModel = never> = { + equals?: $Enums.TeamMemberRole | EnumTeamMemberRoleFieldRefInput<$PrismaModel> + in?: $Enums.TeamMemberRole[] | ListEnumTeamMemberRoleFieldRefInput<$PrismaModel> + notIn?: $Enums.TeamMemberRole[] | ListEnumTeamMemberRoleFieldRefInput<$PrismaModel> + not?: NestedEnumTeamMemberRoleFilter<$PrismaModel> | $Enums.TeamMemberRole } - export type UserCreateNestedOneWithoutOwnedOrganizationsInput = { - create?: XOR - connectOrCreate?: UserCreateOrConnectWithoutOwnedOrganizationsInput - connect?: UserWhereUniqueInput + export type NestedEnumTeamMemberRoleWithAggregatesFilter<$PrismaModel = never> = { + equals?: $Enums.TeamMemberRole | EnumTeamMemberRoleFieldRefInput<$PrismaModel> + in?: $Enums.TeamMemberRole[] | ListEnumTeamMemberRoleFieldRefInput<$PrismaModel> + notIn?: $Enums.TeamMemberRole[] | ListEnumTeamMemberRoleFieldRefInput<$PrismaModel> + not?: NestedEnumTeamMemberRoleWithAggregatesFilter<$PrismaModel> | $Enums.TeamMemberRole + _count?: NestedIntFilter<$PrismaModel> + _min?: NestedEnumTeamMemberRoleFilter<$PrismaModel> + _max?: NestedEnumTeamMemberRoleFilter<$PrismaModel> } - export type OrganizationUpdateOneRequiredWithoutOwnersNestedInput = { - create?: XOR - connectOrCreate?: OrganizationCreateOrConnectWithoutOwnersInput - upsert?: OrganizationUpsertWithoutOwnersInput - connect?: OrganizationWhereUniqueInput - update?: XOR, OrganizationUncheckedUpdateWithoutOwnersInput> + export type NestedEnumTaskPriorityFilter<$PrismaModel = never> = { + equals?: $Enums.TaskPriority | EnumTaskPriorityFieldRefInput<$PrismaModel> + in?: $Enums.TaskPriority[] | ListEnumTaskPriorityFieldRefInput<$PrismaModel> + notIn?: $Enums.TaskPriority[] | ListEnumTaskPriorityFieldRefInput<$PrismaModel> + not?: NestedEnumTaskPriorityFilter<$PrismaModel> | $Enums.TaskPriority } - export type UserUpdateOneRequiredWithoutOwnedOrganizationsNestedInput = { - create?: XOR - connectOrCreate?: UserCreateOrConnectWithoutOwnedOrganizationsInput - upsert?: UserUpsertWithoutOwnedOrganizationsInput - connect?: UserWhereUniqueInput - update?: XOR, UserUncheckedUpdateWithoutOwnedOrganizationsInput> + export type NestedFloatNullableFilter<$PrismaModel = never> = { + equals?: number | FloatFieldRefInput<$PrismaModel> | null + in?: number[] | ListFloatFieldRefInput<$PrismaModel> | null + notIn?: number[] | ListFloatFieldRefInput<$PrismaModel> | null + lt?: number | FloatFieldRefInput<$PrismaModel> + lte?: number | FloatFieldRefInput<$PrismaModel> + gt?: number | FloatFieldRefInput<$PrismaModel> + gte?: number | FloatFieldRefInput<$PrismaModel> + not?: NestedFloatNullableFilter<$PrismaModel> | number | null } - export type OrganizationCreateNestedOneWithoutDepartmentsInput = { - create?: XOR - connectOrCreate?: OrganizationCreateOrConnectWithoutDepartmentsInput - connect?: OrganizationWhereUniqueInput + export type NestedEnumTaskPriorityWithAggregatesFilter<$PrismaModel = never> = { + equals?: $Enums.TaskPriority | EnumTaskPriorityFieldRefInput<$PrismaModel> + in?: $Enums.TaskPriority[] | ListEnumTaskPriorityFieldRefInput<$PrismaModel> + notIn?: $Enums.TaskPriority[] | ListEnumTaskPriorityFieldRefInput<$PrismaModel> + not?: NestedEnumTaskPriorityWithAggregatesFilter<$PrismaModel> | $Enums.TaskPriority + _count?: NestedIntFilter<$PrismaModel> + _min?: NestedEnumTaskPriorityFilter<$PrismaModel> + _max?: NestedEnumTaskPriorityFilter<$PrismaModel> } - export type UserCreateNestedOneWithoutManagedDepartmentsInput = { - create?: XOR - connectOrCreate?: UserCreateOrConnectWithoutManagedDepartmentsInput - connect?: UserWhereUniqueInput + export type NestedFloatNullableWithAggregatesFilter<$PrismaModel = never> = { + equals?: number | FloatFieldRefInput<$PrismaModel> | null + in?: number[] | ListFloatFieldRefInput<$PrismaModel> | null + notIn?: number[] | ListFloatFieldRefInput<$PrismaModel> | null + lt?: number | FloatFieldRefInput<$PrismaModel> + lte?: number | FloatFieldRefInput<$PrismaModel> + gt?: number | FloatFieldRefInput<$PrismaModel> + gte?: number | FloatFieldRefInput<$PrismaModel> + not?: NestedFloatNullableWithAggregatesFilter<$PrismaModel> | number | null + _count?: NestedIntNullableFilter<$PrismaModel> + _avg?: NestedFloatNullableFilter<$PrismaModel> + _sum?: NestedFloatNullableFilter<$PrismaModel> + _min?: NestedFloatNullableFilter<$PrismaModel> + _max?: NestedFloatNullableFilter<$PrismaModel> } - export type TeamCreateNestedManyWithoutDepartmentInput = { - create?: XOR | TeamCreateWithoutDepartmentInput[] | TeamUncheckedCreateWithoutDepartmentInput[] - connectOrCreate?: TeamCreateOrConnectWithoutDepartmentInput | TeamCreateOrConnectWithoutDepartmentInput[] - createMany?: TeamCreateManyDepartmentInputEnvelope - connect?: TeamWhereUniqueInput | TeamWhereUniqueInput[] + export type NestedIntWithAggregatesFilter<$PrismaModel = never> = { + equals?: number | IntFieldRefInput<$PrismaModel> + in?: number[] | ListIntFieldRefInput<$PrismaModel> + notIn?: number[] | ListIntFieldRefInput<$PrismaModel> + lt?: number | IntFieldRefInput<$PrismaModel> + lte?: number | IntFieldRefInput<$PrismaModel> + gt?: number | IntFieldRefInput<$PrismaModel> + gte?: number | IntFieldRefInput<$PrismaModel> + not?: NestedIntWithAggregatesFilter<$PrismaModel> | number + _count?: NestedIntFilter<$PrismaModel> + _avg?: NestedFloatFilter<$PrismaModel> + _sum?: NestedIntFilter<$PrismaModel> + _min?: NestedIntFilter<$PrismaModel> + _max?: NestedIntFilter<$PrismaModel> } - export type UserCreateNestedManyWithoutDepartmentInput = { - create?: XOR | UserCreateWithoutDepartmentInput[] | UserUncheckedCreateWithoutDepartmentInput[] - connectOrCreate?: UserCreateOrConnectWithoutDepartmentInput | UserCreateOrConnectWithoutDepartmentInput[] - createMany?: UserCreateManyDepartmentInputEnvelope - connect?: UserWhereUniqueInput | UserWhereUniqueInput[] + export type NestedFloatFilter<$PrismaModel = never> = { + equals?: number | FloatFieldRefInput<$PrismaModel> + in?: number[] | ListFloatFieldRefInput<$PrismaModel> + notIn?: number[] | ListFloatFieldRefInput<$PrismaModel> + lt?: number | FloatFieldRefInput<$PrismaModel> + lte?: number | FloatFieldRefInput<$PrismaModel> + gt?: number | FloatFieldRefInput<$PrismaModel> + gte?: number | FloatFieldRefInput<$PrismaModel> + not?: NestedFloatFilter<$PrismaModel> | number } - export type ActivityLogCreateNestedManyWithoutDepartmentInput = { - create?: XOR | ActivityLogCreateWithoutDepartmentInput[] | ActivityLogUncheckedCreateWithoutDepartmentInput[] - connectOrCreate?: ActivityLogCreateOrConnectWithoutDepartmentInput | ActivityLogCreateOrConnectWithoutDepartmentInput[] - createMany?: ActivityLogCreateManyDepartmentInputEnvelope - connect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] + export type NestedEnumTaskStatusFilter<$PrismaModel = never> = { + equals?: $Enums.TaskStatus | EnumTaskStatusFieldRefInput<$PrismaModel> + in?: $Enums.TaskStatus[] | ListEnumTaskStatusFieldRefInput<$PrismaModel> + notIn?: $Enums.TaskStatus[] | ListEnumTaskStatusFieldRefInput<$PrismaModel> + not?: NestedEnumTaskStatusFilter<$PrismaModel> | $Enums.TaskStatus } - export type ReportCreateNestedManyWithoutDepartmentInput = { - create?: XOR | ReportCreateWithoutDepartmentInput[] | ReportUncheckedCreateWithoutDepartmentInput[] - connectOrCreate?: ReportCreateOrConnectWithoutDepartmentInput | ReportCreateOrConnectWithoutDepartmentInput[] - createMany?: ReportCreateManyDepartmentInputEnvelope - connect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] + export type NestedEnumTaskStatusWithAggregatesFilter<$PrismaModel = never> = { + equals?: $Enums.TaskStatus | EnumTaskStatusFieldRefInput<$PrismaModel> + in?: $Enums.TaskStatus[] | ListEnumTaskStatusFieldRefInput<$PrismaModel> + notIn?: $Enums.TaskStatus[] | ListEnumTaskStatusFieldRefInput<$PrismaModel> + not?: NestedEnumTaskStatusWithAggregatesFilter<$PrismaModel> | $Enums.TaskStatus + _count?: NestedIntFilter<$PrismaModel> + _min?: NestedEnumTaskStatusFilter<$PrismaModel> + _max?: NestedEnumTaskStatusFilter<$PrismaModel> } - export type TeamUncheckedCreateNestedManyWithoutDepartmentInput = { - create?: XOR | TeamCreateWithoutDepartmentInput[] | TeamUncheckedCreateWithoutDepartmentInput[] - connectOrCreate?: TeamCreateOrConnectWithoutDepartmentInput | TeamCreateOrConnectWithoutDepartmentInput[] - createMany?: TeamCreateManyDepartmentInputEnvelope - connect?: TeamWhereUniqueInput | TeamWhereUniqueInput[] + export type NestedEnumDependencyTypeFilter<$PrismaModel = never> = { + equals?: $Enums.DependencyType | EnumDependencyTypeFieldRefInput<$PrismaModel> + in?: $Enums.DependencyType[] | ListEnumDependencyTypeFieldRefInput<$PrismaModel> + notIn?: $Enums.DependencyType[] | ListEnumDependencyTypeFieldRefInput<$PrismaModel> + not?: NestedEnumDependencyTypeFilter<$PrismaModel> | $Enums.DependencyType } - export type UserUncheckedCreateNestedManyWithoutDepartmentInput = { - create?: XOR | UserCreateWithoutDepartmentInput[] | UserUncheckedCreateWithoutDepartmentInput[] - connectOrCreate?: UserCreateOrConnectWithoutDepartmentInput | UserCreateOrConnectWithoutDepartmentInput[] - createMany?: UserCreateManyDepartmentInputEnvelope - connect?: UserWhereUniqueInput | UserWhereUniqueInput[] + export type NestedEnumDependencyTypeWithAggregatesFilter<$PrismaModel = never> = { + equals?: $Enums.DependencyType | EnumDependencyTypeFieldRefInput<$PrismaModel> + in?: $Enums.DependencyType[] | ListEnumDependencyTypeFieldRefInput<$PrismaModel> + notIn?: $Enums.DependencyType[] | ListEnumDependencyTypeFieldRefInput<$PrismaModel> + not?: NestedEnumDependencyTypeWithAggregatesFilter<$PrismaModel> | $Enums.DependencyType + _count?: NestedIntFilter<$PrismaModel> + _min?: NestedEnumDependencyTypeFilter<$PrismaModel> + _max?: NestedEnumDependencyTypeFilter<$PrismaModel> } - export type ActivityLogUncheckedCreateNestedManyWithoutDepartmentInput = { - create?: XOR | ActivityLogCreateWithoutDepartmentInput[] | ActivityLogUncheckedCreateWithoutDepartmentInput[] - connectOrCreate?: ActivityLogCreateOrConnectWithoutDepartmentInput | ActivityLogCreateOrConnectWithoutDepartmentInput[] - createMany?: ActivityLogCreateManyDepartmentInputEnvelope - connect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] + export type NestedEnumEntityTypeFilter<$PrismaModel = never> = { + equals?: $Enums.EntityType | EnumEntityTypeFieldRefInput<$PrismaModel> + in?: $Enums.EntityType[] | ListEnumEntityTypeFieldRefInput<$PrismaModel> + notIn?: $Enums.EntityType[] | ListEnumEntityTypeFieldRefInput<$PrismaModel> + not?: NestedEnumEntityTypeFilter<$PrismaModel> | $Enums.EntityType } - export type ReportUncheckedCreateNestedManyWithoutDepartmentInput = { - create?: XOR | ReportCreateWithoutDepartmentInput[] | ReportUncheckedCreateWithoutDepartmentInput[] - connectOrCreate?: ReportCreateOrConnectWithoutDepartmentInput | ReportCreateOrConnectWithoutDepartmentInput[] - createMany?: ReportCreateManyDepartmentInputEnvelope - connect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] + export type NestedEnumActionTypeFilter<$PrismaModel = never> = { + equals?: $Enums.ActionType | EnumActionTypeFieldRefInput<$PrismaModel> + in?: $Enums.ActionType[] | ListEnumActionTypeFieldRefInput<$PrismaModel> + notIn?: $Enums.ActionType[] | ListEnumActionTypeFieldRefInput<$PrismaModel> + not?: NestedEnumActionTypeFilter<$PrismaModel> | $Enums.ActionType } - export type OrganizationUpdateOneRequiredWithoutDepartmentsNestedInput = { - create?: XOR - connectOrCreate?: OrganizationCreateOrConnectWithoutDepartmentsInput - upsert?: OrganizationUpsertWithoutDepartmentsInput - connect?: OrganizationWhereUniqueInput - update?: XOR, OrganizationUncheckedUpdateWithoutDepartmentsInput> + export type NestedEnumEntityTypeWithAggregatesFilter<$PrismaModel = never> = { + equals?: $Enums.EntityType | EnumEntityTypeFieldRefInput<$PrismaModel> + in?: $Enums.EntityType[] | ListEnumEntityTypeFieldRefInput<$PrismaModel> + notIn?: $Enums.EntityType[] | ListEnumEntityTypeFieldRefInput<$PrismaModel> + not?: NestedEnumEntityTypeWithAggregatesFilter<$PrismaModel> | $Enums.EntityType + _count?: NestedIntFilter<$PrismaModel> + _min?: NestedEnumEntityTypeFilter<$PrismaModel> + _max?: NestedEnumEntityTypeFilter<$PrismaModel> } - export type UserUpdateOneRequiredWithoutManagedDepartmentsNestedInput = { - create?: XOR - connectOrCreate?: UserCreateOrConnectWithoutManagedDepartmentsInput - upsert?: UserUpsertWithoutManagedDepartmentsInput - connect?: UserWhereUniqueInput - update?: XOR, UserUncheckedUpdateWithoutManagedDepartmentsInput> + export type NestedEnumActionTypeWithAggregatesFilter<$PrismaModel = never> = { + equals?: $Enums.ActionType | EnumActionTypeFieldRefInput<$PrismaModel> + in?: $Enums.ActionType[] | ListEnumActionTypeFieldRefInput<$PrismaModel> + notIn?: $Enums.ActionType[] | ListEnumActionTypeFieldRefInput<$PrismaModel> + not?: NestedEnumActionTypeWithAggregatesFilter<$PrismaModel> | $Enums.ActionType + _count?: NestedIntFilter<$PrismaModel> + _min?: NestedEnumActionTypeFilter<$PrismaModel> + _max?: NestedEnumActionTypeFilter<$PrismaModel> } - export type TeamUpdateManyWithoutDepartmentNestedInput = { - create?: XOR | TeamCreateWithoutDepartmentInput[] | TeamUncheckedCreateWithoutDepartmentInput[] - connectOrCreate?: TeamCreateOrConnectWithoutDepartmentInput | TeamCreateOrConnectWithoutDepartmentInput[] - upsert?: TeamUpsertWithWhereUniqueWithoutDepartmentInput | TeamUpsertWithWhereUniqueWithoutDepartmentInput[] - createMany?: TeamCreateManyDepartmentInputEnvelope - set?: TeamWhereUniqueInput | TeamWhereUniqueInput[] - disconnect?: TeamWhereUniqueInput | TeamWhereUniqueInput[] - delete?: TeamWhereUniqueInput | TeamWhereUniqueInput[] - connect?: TeamWhereUniqueInput | TeamWhereUniqueInput[] - update?: TeamUpdateWithWhereUniqueWithoutDepartmentInput | TeamUpdateWithWhereUniqueWithoutDepartmentInput[] - updateMany?: TeamUpdateManyWithWhereWithoutDepartmentInput | TeamUpdateManyWithWhereWithoutDepartmentInput[] - deleteMany?: TeamScalarWhereInput | TeamScalarWhereInput[] + export type NestedEnumReportTypeFilter<$PrismaModel = never> = { + equals?: $Enums.ReportType | EnumReportTypeFieldRefInput<$PrismaModel> + in?: $Enums.ReportType[] | ListEnumReportTypeFieldRefInput<$PrismaModel> + notIn?: $Enums.ReportType[] | ListEnumReportTypeFieldRefInput<$PrismaModel> + not?: NestedEnumReportTypeFilter<$PrismaModel> | $Enums.ReportType } - export type UserUpdateManyWithoutDepartmentNestedInput = { - create?: XOR | UserCreateWithoutDepartmentInput[] | UserUncheckedCreateWithoutDepartmentInput[] - connectOrCreate?: UserCreateOrConnectWithoutDepartmentInput | UserCreateOrConnectWithoutDepartmentInput[] - upsert?: UserUpsertWithWhereUniqueWithoutDepartmentInput | UserUpsertWithWhereUniqueWithoutDepartmentInput[] - createMany?: UserCreateManyDepartmentInputEnvelope - set?: UserWhereUniqueInput | UserWhereUniqueInput[] - disconnect?: UserWhereUniqueInput | UserWhereUniqueInput[] - delete?: UserWhereUniqueInput | UserWhereUniqueInput[] - connect?: UserWhereUniqueInput | UserWhereUniqueInput[] - update?: UserUpdateWithWhereUniqueWithoutDepartmentInput | UserUpdateWithWhereUniqueWithoutDepartmentInput[] - updateMany?: UserUpdateManyWithWhereWithoutDepartmentInput | UserUpdateManyWithWhereWithoutDepartmentInput[] - deleteMany?: UserScalarWhereInput | UserScalarWhereInput[] + export type NestedEnumReportStatusFilter<$PrismaModel = never> = { + equals?: $Enums.ReportStatus | EnumReportStatusFieldRefInput<$PrismaModel> + in?: $Enums.ReportStatus[] | ListEnumReportStatusFieldRefInput<$PrismaModel> + notIn?: $Enums.ReportStatus[] | ListEnumReportStatusFieldRefInput<$PrismaModel> + not?: NestedEnumReportStatusFilter<$PrismaModel> | $Enums.ReportStatus } - export type ActivityLogUpdateManyWithoutDepartmentNestedInput = { - create?: XOR | ActivityLogCreateWithoutDepartmentInput[] | ActivityLogUncheckedCreateWithoutDepartmentInput[] - connectOrCreate?: ActivityLogCreateOrConnectWithoutDepartmentInput | ActivityLogCreateOrConnectWithoutDepartmentInput[] - upsert?: ActivityLogUpsertWithWhereUniqueWithoutDepartmentInput | ActivityLogUpsertWithWhereUniqueWithoutDepartmentInput[] - createMany?: ActivityLogCreateManyDepartmentInputEnvelope - set?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] - disconnect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] - delete?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] - connect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] - update?: ActivityLogUpdateWithWhereUniqueWithoutDepartmentInput | ActivityLogUpdateWithWhereUniqueWithoutDepartmentInput[] - updateMany?: ActivityLogUpdateManyWithWhereWithoutDepartmentInput | ActivityLogUpdateManyWithWhereWithoutDepartmentInput[] - deleteMany?: ActivityLogScalarWhereInput | ActivityLogScalarWhereInput[] + export type NestedEnumReportTypeWithAggregatesFilter<$PrismaModel = never> = { + equals?: $Enums.ReportType | EnumReportTypeFieldRefInput<$PrismaModel> + in?: $Enums.ReportType[] | ListEnumReportTypeFieldRefInput<$PrismaModel> + notIn?: $Enums.ReportType[] | ListEnumReportTypeFieldRefInput<$PrismaModel> + not?: NestedEnumReportTypeWithAggregatesFilter<$PrismaModel> | $Enums.ReportType + _count?: NestedIntFilter<$PrismaModel> + _min?: NestedEnumReportTypeFilter<$PrismaModel> + _max?: NestedEnumReportTypeFilter<$PrismaModel> } - export type ReportUpdateManyWithoutDepartmentNestedInput = { - create?: XOR | ReportCreateWithoutDepartmentInput[] | ReportUncheckedCreateWithoutDepartmentInput[] - connectOrCreate?: ReportCreateOrConnectWithoutDepartmentInput | ReportCreateOrConnectWithoutDepartmentInput[] - upsert?: ReportUpsertWithWhereUniqueWithoutDepartmentInput | ReportUpsertWithWhereUniqueWithoutDepartmentInput[] - createMany?: ReportCreateManyDepartmentInputEnvelope - set?: ReportWhereUniqueInput | ReportWhereUniqueInput[] - disconnect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] - delete?: ReportWhereUniqueInput | ReportWhereUniqueInput[] - connect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] - update?: ReportUpdateWithWhereUniqueWithoutDepartmentInput | ReportUpdateWithWhereUniqueWithoutDepartmentInput[] - updateMany?: ReportUpdateManyWithWhereWithoutDepartmentInput | ReportUpdateManyWithWhereWithoutDepartmentInput[] - deleteMany?: ReportScalarWhereInput | ReportScalarWhereInput[] + export type NestedEnumReportStatusWithAggregatesFilter<$PrismaModel = never> = { + equals?: $Enums.ReportStatus | EnumReportStatusFieldRefInput<$PrismaModel> + in?: $Enums.ReportStatus[] | ListEnumReportStatusFieldRefInput<$PrismaModel> + notIn?: $Enums.ReportStatus[] | ListEnumReportStatusFieldRefInput<$PrismaModel> + not?: NestedEnumReportStatusWithAggregatesFilter<$PrismaModel> | $Enums.ReportStatus + _count?: NestedIntFilter<$PrismaModel> + _min?: NestedEnumReportStatusFilter<$PrismaModel> + _max?: NestedEnumReportStatusFilter<$PrismaModel> } + export type NestedJsonFilter<$PrismaModel = never> = + | PatchUndefined< + Either>, Exclude>, 'path'>>, + Required> + > + | OptionalFlat>, 'path'>> - export type TeamUncheckedUpdateManyWithoutDepartmentNestedInput = { - create?: XOR | TeamCreateWithoutDepartmentInput[] | TeamUncheckedCreateWithoutDepartmentInput[] - connectOrCreate?: TeamCreateOrConnectWithoutDepartmentInput | TeamCreateOrConnectWithoutDepartmentInput[] - upsert?: TeamUpsertWithWhereUniqueWithoutDepartmentInput | TeamUpsertWithWhereUniqueWithoutDepartmentInput[] - createMany?: TeamCreateManyDepartmentInputEnvelope - set?: TeamWhereUniqueInput | TeamWhereUniqueInput[] - disconnect?: TeamWhereUniqueInput | TeamWhereUniqueInput[] - delete?: TeamWhereUniqueInput | TeamWhereUniqueInput[] - connect?: TeamWhereUniqueInput | TeamWhereUniqueInput[] - update?: TeamUpdateWithWhereUniqueWithoutDepartmentInput | TeamUpdateWithWhereUniqueWithoutDepartmentInput[] - updateMany?: TeamUpdateManyWithWhereWithoutDepartmentInput | TeamUpdateManyWithWhereWithoutDepartmentInput[] - deleteMany?: TeamScalarWhereInput | TeamScalarWhereInput[] + export type NestedJsonFilterBase<$PrismaModel = never> = { + equals?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter + path?: string[] + mode?: QueryMode | EnumQueryModeFieldRefInput<$PrismaModel> + string_contains?: string | StringFieldRefInput<$PrismaModel> + string_starts_with?: string | StringFieldRefInput<$PrismaModel> + string_ends_with?: string | StringFieldRefInput<$PrismaModel> + array_starts_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null + array_ends_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null + array_contains?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null + lt?: InputJsonValue | JsonFieldRefInput<$PrismaModel> + lte?: InputJsonValue | JsonFieldRefInput<$PrismaModel> + gt?: InputJsonValue | JsonFieldRefInput<$PrismaModel> + gte?: InputJsonValue | JsonFieldRefInput<$PrismaModel> + not?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter } - export type UserUncheckedUpdateManyWithoutDepartmentNestedInput = { - create?: XOR | UserCreateWithoutDepartmentInput[] | UserUncheckedCreateWithoutDepartmentInput[] - connectOrCreate?: UserCreateOrConnectWithoutDepartmentInput | UserCreateOrConnectWithoutDepartmentInput[] - upsert?: UserUpsertWithWhereUniqueWithoutDepartmentInput | UserUpsertWithWhereUniqueWithoutDepartmentInput[] - createMany?: UserCreateManyDepartmentInputEnvelope - set?: UserWhereUniqueInput | UserWhereUniqueInput[] - disconnect?: UserWhereUniqueInput | UserWhereUniqueInput[] - delete?: UserWhereUniqueInput | UserWhereUniqueInput[] - connect?: UserWhereUniqueInput | UserWhereUniqueInput[] - update?: UserUpdateWithWhereUniqueWithoutDepartmentInput | UserUpdateWithWhereUniqueWithoutDepartmentInput[] - updateMany?: UserUpdateManyWithWhereWithoutDepartmentInput | UserUpdateManyWithWhereWithoutDepartmentInput[] - deleteMany?: UserScalarWhereInput | UserScalarWhereInput[] + export type NestedEnumChatRoomTypeFilter<$PrismaModel = never> = { + equals?: $Enums.ChatRoomType | EnumChatRoomTypeFieldRefInput<$PrismaModel> + in?: $Enums.ChatRoomType[] | ListEnumChatRoomTypeFieldRefInput<$PrismaModel> + notIn?: $Enums.ChatRoomType[] | ListEnumChatRoomTypeFieldRefInput<$PrismaModel> + not?: NestedEnumChatRoomTypeFilter<$PrismaModel> | $Enums.ChatRoomType } - export type ActivityLogUncheckedUpdateManyWithoutDepartmentNestedInput = { - create?: XOR | ActivityLogCreateWithoutDepartmentInput[] | ActivityLogUncheckedCreateWithoutDepartmentInput[] - connectOrCreate?: ActivityLogCreateOrConnectWithoutDepartmentInput | ActivityLogCreateOrConnectWithoutDepartmentInput[] - upsert?: ActivityLogUpsertWithWhereUniqueWithoutDepartmentInput | ActivityLogUpsertWithWhereUniqueWithoutDepartmentInput[] - createMany?: ActivityLogCreateManyDepartmentInputEnvelope - set?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] - disconnect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] - delete?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] - connect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] - update?: ActivityLogUpdateWithWhereUniqueWithoutDepartmentInput | ActivityLogUpdateWithWhereUniqueWithoutDepartmentInput[] - updateMany?: ActivityLogUpdateManyWithWhereWithoutDepartmentInput | ActivityLogUpdateManyWithWhereWithoutDepartmentInput[] - deleteMany?: ActivityLogScalarWhereInput | ActivityLogScalarWhereInput[] + export type NestedEnumChatRoomTypeWithAggregatesFilter<$PrismaModel = never> = { + equals?: $Enums.ChatRoomType | EnumChatRoomTypeFieldRefInput<$PrismaModel> + in?: $Enums.ChatRoomType[] | ListEnumChatRoomTypeFieldRefInput<$PrismaModel> + notIn?: $Enums.ChatRoomType[] | ListEnumChatRoomTypeFieldRefInput<$PrismaModel> + not?: NestedEnumChatRoomTypeWithAggregatesFilter<$PrismaModel> | $Enums.ChatRoomType + _count?: NestedIntFilter<$PrismaModel> + _min?: NestedEnumChatRoomTypeFilter<$PrismaModel> + _max?: NestedEnumChatRoomTypeFilter<$PrismaModel> } - export type ReportUncheckedUpdateManyWithoutDepartmentNestedInput = { - create?: XOR | ReportCreateWithoutDepartmentInput[] | ReportUncheckedCreateWithoutDepartmentInput[] - connectOrCreate?: ReportCreateOrConnectWithoutDepartmentInput | ReportCreateOrConnectWithoutDepartmentInput[] - upsert?: ReportUpsertWithWhereUniqueWithoutDepartmentInput | ReportUpsertWithWhereUniqueWithoutDepartmentInput[] - createMany?: ReportCreateManyDepartmentInputEnvelope - set?: ReportWhereUniqueInput | ReportWhereUniqueInput[] - disconnect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] - delete?: ReportWhereUniqueInput | ReportWhereUniqueInput[] - connect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] - update?: ReportUpdateWithWhereUniqueWithoutDepartmentInput | ReportUpdateWithWhereUniqueWithoutDepartmentInput[] - updateMany?: ReportUpdateManyWithWhereWithoutDepartmentInput | ReportUpdateManyWithWhereWithoutDepartmentInput[] - deleteMany?: ReportScalarWhereInput | ReportScalarWhereInput[] + export type NestedEnumParticipantStatusFilter<$PrismaModel = never> = { + equals?: $Enums.ParticipantStatus | EnumParticipantStatusFieldRefInput<$PrismaModel> + in?: $Enums.ParticipantStatus[] | ListEnumParticipantStatusFieldRefInput<$PrismaModel> + notIn?: $Enums.ParticipantStatus[] | ListEnumParticipantStatusFieldRefInput<$PrismaModel> + not?: NestedEnumParticipantStatusFilter<$PrismaModel> | $Enums.ParticipantStatus } - export type UserCreateNestedOneWithoutCreatedTeamsInput = { - create?: XOR - connectOrCreate?: UserCreateOrConnectWithoutCreatedTeamsInput - connect?: UserWhereUniqueInput + export type NestedEnumParticipantStatusWithAggregatesFilter<$PrismaModel = never> = { + equals?: $Enums.ParticipantStatus | EnumParticipantStatusFieldRefInput<$PrismaModel> + in?: $Enums.ParticipantStatus[] | ListEnumParticipantStatusFieldRefInput<$PrismaModel> + notIn?: $Enums.ParticipantStatus[] | ListEnumParticipantStatusFieldRefInput<$PrismaModel> + not?: NestedEnumParticipantStatusWithAggregatesFilter<$PrismaModel> | $Enums.ParticipantStatus + _count?: NestedIntFilter<$PrismaModel> + _min?: NestedEnumParticipantStatusFilter<$PrismaModel> + _max?: NestedEnumParticipantStatusFilter<$PrismaModel> } - export type OrganizationCreateNestedOneWithoutTeamsInput = { - create?: XOR - connectOrCreate?: OrganizationCreateOrConnectWithoutTeamsInput - connect?: OrganizationWhereUniqueInput + export type NestedEnumMessageContentTypeFilter<$PrismaModel = never> = { + equals?: $Enums.MessageContentType | EnumMessageContentTypeFieldRefInput<$PrismaModel> + in?: $Enums.MessageContentType[] | ListEnumMessageContentTypeFieldRefInput<$PrismaModel> + notIn?: $Enums.MessageContentType[] | ListEnumMessageContentTypeFieldRefInput<$PrismaModel> + not?: NestedEnumMessageContentTypeFilter<$PrismaModel> | $Enums.MessageContentType } - export type DepartmentCreateNestedOneWithoutTeamsInput = { - create?: XOR - connectOrCreate?: DepartmentCreateOrConnectWithoutTeamsInput - connect?: DepartmentWhereUniqueInput + export type NestedEnumMessageContentTypeWithAggregatesFilter<$PrismaModel = never> = { + equals?: $Enums.MessageContentType | EnumMessageContentTypeFieldRefInput<$PrismaModel> + in?: $Enums.MessageContentType[] | ListEnumMessageContentTypeFieldRefInput<$PrismaModel> + notIn?: $Enums.MessageContentType[] | ListEnumMessageContentTypeFieldRefInput<$PrismaModel> + not?: NestedEnumMessageContentTypeWithAggregatesFilter<$PrismaModel> | $Enums.MessageContentType + _count?: NestedIntFilter<$PrismaModel> + _min?: NestedEnumMessageContentTypeFilter<$PrismaModel> + _max?: NestedEnumMessageContentTypeFilter<$PrismaModel> } - export type TeamMemberCreateNestedManyWithoutTeamInput = { - create?: XOR | TeamMemberCreateWithoutTeamInput[] | TeamMemberUncheckedCreateWithoutTeamInput[] - connectOrCreate?: TeamMemberCreateOrConnectWithoutTeamInput | TeamMemberCreateOrConnectWithoutTeamInput[] - createMany?: TeamMemberCreateManyTeamInputEnvelope - connect?: TeamMemberWhereUniqueInput | TeamMemberWhereUniqueInput[] + export type NestedEnumSessionStatusFilter<$PrismaModel = never> = { + equals?: $Enums.SessionStatus | EnumSessionStatusFieldRefInput<$PrismaModel> + in?: $Enums.SessionStatus[] | ListEnumSessionStatusFieldRefInput<$PrismaModel> + notIn?: $Enums.SessionStatus[] | ListEnumSessionStatusFieldRefInput<$PrismaModel> + not?: NestedEnumSessionStatusFilter<$PrismaModel> | $Enums.SessionStatus } - export type ProjectCreateNestedManyWithoutTeamInput = { - create?: XOR | ProjectCreateWithoutTeamInput[] | ProjectUncheckedCreateWithoutTeamInput[] - connectOrCreate?: ProjectCreateOrConnectWithoutTeamInput | ProjectCreateOrConnectWithoutTeamInput[] - createMany?: ProjectCreateManyTeamInputEnvelope - connect?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] + export type NestedEnumSessionStatusWithAggregatesFilter<$PrismaModel = never> = { + equals?: $Enums.SessionStatus | EnumSessionStatusFieldRefInput<$PrismaModel> + in?: $Enums.SessionStatus[] | ListEnumSessionStatusFieldRefInput<$PrismaModel> + notIn?: $Enums.SessionStatus[] | ListEnumSessionStatusFieldRefInput<$PrismaModel> + not?: NestedEnumSessionStatusWithAggregatesFilter<$PrismaModel> | $Enums.SessionStatus + _count?: NestedIntFilter<$PrismaModel> + _min?: NestedEnumSessionStatusFilter<$PrismaModel> + _max?: NestedEnumSessionStatusFilter<$PrismaModel> } - export type ReportCreateNestedManyWithoutTeamInput = { - create?: XOR | ReportCreateWithoutTeamInput[] | ReportUncheckedCreateWithoutTeamInput[] - connectOrCreate?: ReportCreateOrConnectWithoutTeamInput | ReportCreateOrConnectWithoutTeamInput[] - createMany?: ReportCreateManyTeamInputEnvelope - connect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] + export type NestedEnumVideoParticipantRoleFilter<$PrismaModel = never> = { + equals?: $Enums.VideoParticipantRole | EnumVideoParticipantRoleFieldRefInput<$PrismaModel> + in?: $Enums.VideoParticipantRole[] | ListEnumVideoParticipantRoleFieldRefInput<$PrismaModel> + notIn?: $Enums.VideoParticipantRole[] | ListEnumVideoParticipantRoleFieldRefInput<$PrismaModel> + not?: NestedEnumVideoParticipantRoleFilter<$PrismaModel> | $Enums.VideoParticipantRole } - export type ActivityLogCreateNestedManyWithoutTeamInput = { - create?: XOR | ActivityLogCreateWithoutTeamInput[] | ActivityLogUncheckedCreateWithoutTeamInput[] - connectOrCreate?: ActivityLogCreateOrConnectWithoutTeamInput | ActivityLogCreateOrConnectWithoutTeamInput[] - createMany?: ActivityLogCreateManyTeamInputEnvelope - connect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] + export type NestedEnumVideoParticipantRoleWithAggregatesFilter<$PrismaModel = never> = { + equals?: $Enums.VideoParticipantRole | EnumVideoParticipantRoleFieldRefInput<$PrismaModel> + in?: $Enums.VideoParticipantRole[] | ListEnumVideoParticipantRoleFieldRefInput<$PrismaModel> + notIn?: $Enums.VideoParticipantRole[] | ListEnumVideoParticipantRoleFieldRefInput<$PrismaModel> + not?: NestedEnumVideoParticipantRoleWithAggregatesFilter<$PrismaModel> | $Enums.VideoParticipantRole + _count?: NestedIntFilter<$PrismaModel> + _min?: NestedEnumVideoParticipantRoleFilter<$PrismaModel> + _max?: NestedEnumVideoParticipantRoleFilter<$PrismaModel> } - export type TeamMemberUncheckedCreateNestedManyWithoutTeamInput = { - create?: XOR | TeamMemberCreateWithoutTeamInput[] | TeamMemberUncheckedCreateWithoutTeamInput[] - connectOrCreate?: TeamMemberCreateOrConnectWithoutTeamInput | TeamMemberCreateOrConnectWithoutTeamInput[] - createMany?: TeamMemberCreateManyTeamInputEnvelope - connect?: TeamMemberWhereUniqueInput | TeamMemberWhereUniqueInput[] + export type NestedEnumProcessingStatusFilter<$PrismaModel = never> = { + equals?: $Enums.ProcessingStatus | EnumProcessingStatusFieldRefInput<$PrismaModel> + in?: $Enums.ProcessingStatus[] | ListEnumProcessingStatusFieldRefInput<$PrismaModel> + notIn?: $Enums.ProcessingStatus[] | ListEnumProcessingStatusFieldRefInput<$PrismaModel> + not?: NestedEnumProcessingStatusFilter<$PrismaModel> | $Enums.ProcessingStatus } - export type ProjectUncheckedCreateNestedManyWithoutTeamInput = { - create?: XOR | ProjectCreateWithoutTeamInput[] | ProjectUncheckedCreateWithoutTeamInput[] - connectOrCreate?: ProjectCreateOrConnectWithoutTeamInput | ProjectCreateOrConnectWithoutTeamInput[] - createMany?: ProjectCreateManyTeamInputEnvelope - connect?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] + export type NestedEnumRecordingVisibilityFilter<$PrismaModel = never> = { + equals?: $Enums.RecordingVisibility | EnumRecordingVisibilityFieldRefInput<$PrismaModel> + in?: $Enums.RecordingVisibility[] | ListEnumRecordingVisibilityFieldRefInput<$PrismaModel> + notIn?: $Enums.RecordingVisibility[] | ListEnumRecordingVisibilityFieldRefInput<$PrismaModel> + not?: NestedEnumRecordingVisibilityFilter<$PrismaModel> | $Enums.RecordingVisibility } - export type ReportUncheckedCreateNestedManyWithoutTeamInput = { - create?: XOR | ReportCreateWithoutTeamInput[] | ReportUncheckedCreateWithoutTeamInput[] - connectOrCreate?: ReportCreateOrConnectWithoutTeamInput | ReportCreateOrConnectWithoutTeamInput[] - createMany?: ReportCreateManyTeamInputEnvelope - connect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] + export type NestedEnumProcessingStatusWithAggregatesFilter<$PrismaModel = never> = { + equals?: $Enums.ProcessingStatus | EnumProcessingStatusFieldRefInput<$PrismaModel> + in?: $Enums.ProcessingStatus[] | ListEnumProcessingStatusFieldRefInput<$PrismaModel> + notIn?: $Enums.ProcessingStatus[] | ListEnumProcessingStatusFieldRefInput<$PrismaModel> + not?: NestedEnumProcessingStatusWithAggregatesFilter<$PrismaModel> | $Enums.ProcessingStatus + _count?: NestedIntFilter<$PrismaModel> + _min?: NestedEnumProcessingStatusFilter<$PrismaModel> + _max?: NestedEnumProcessingStatusFilter<$PrismaModel> } - export type ActivityLogUncheckedCreateNestedManyWithoutTeamInput = { - create?: XOR | ActivityLogCreateWithoutTeamInput[] | ActivityLogUncheckedCreateWithoutTeamInput[] - connectOrCreate?: ActivityLogCreateOrConnectWithoutTeamInput | ActivityLogCreateOrConnectWithoutTeamInput[] - createMany?: ActivityLogCreateManyTeamInputEnvelope - connect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] + export type NestedEnumRecordingVisibilityWithAggregatesFilter<$PrismaModel = never> = { + equals?: $Enums.RecordingVisibility | EnumRecordingVisibilityFieldRefInput<$PrismaModel> + in?: $Enums.RecordingVisibility[] | ListEnumRecordingVisibilityFieldRefInput<$PrismaModel> + notIn?: $Enums.RecordingVisibility[] | ListEnumRecordingVisibilityFieldRefInput<$PrismaModel> + not?: NestedEnumRecordingVisibilityWithAggregatesFilter<$PrismaModel> | $Enums.RecordingVisibility + _count?: NestedIntFilter<$PrismaModel> + _min?: NestedEnumRecordingVisibilityFilter<$PrismaModel> + _max?: NestedEnumRecordingVisibilityFilter<$PrismaModel> } - export type UserUpdateOneRequiredWithoutCreatedTeamsNestedInput = { - create?: XOR - connectOrCreate?: UserCreateOrConnectWithoutCreatedTeamsInput - upsert?: UserUpsertWithoutCreatedTeamsInput - connect?: UserWhereUniqueInput - update?: XOR, UserUncheckedUpdateWithoutCreatedTeamsInput> + export type DepartmentCreateWithoutUsersInput = { + id?: string + name: string + description?: string | null + createdAt?: Date | string + updatedAt?: Date | string + deletedAt?: Date | string | null + organization: OrganizationCreateNestedOneWithoutDepartmentsInput + manager: UserCreateNestedOneWithoutManagedDepartmentsInput + teams?: TeamCreateNestedManyWithoutDepartmentInput + activityLogs?: ActivityLogCreateNestedManyWithoutDepartmentInput + Report?: ReportCreateNestedManyWithoutDepartmentInput } - export type OrganizationUpdateOneRequiredWithoutTeamsNestedInput = { - create?: XOR - connectOrCreate?: OrganizationCreateOrConnectWithoutTeamsInput - upsert?: OrganizationUpsertWithoutTeamsInput - connect?: OrganizationWhereUniqueInput - update?: XOR, OrganizationUncheckedUpdateWithoutTeamsInput> + export type DepartmentUncheckedCreateWithoutUsersInput = { + id?: string + name: string + description?: string | null + organizationId: string + managerId: string + createdAt?: Date | string + updatedAt?: Date | string + deletedAt?: Date | string | null + teams?: TeamUncheckedCreateNestedManyWithoutDepartmentInput + activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutDepartmentInput + Report?: ReportUncheckedCreateNestedManyWithoutDepartmentInput } - export type DepartmentUpdateOneWithoutTeamsNestedInput = { - create?: XOR - connectOrCreate?: DepartmentCreateOrConnectWithoutTeamsInput - upsert?: DepartmentUpsertWithoutTeamsInput - disconnect?: DepartmentWhereInput | boolean - delete?: DepartmentWhereInput | boolean - connect?: DepartmentWhereUniqueInput - update?: XOR, DepartmentUncheckedUpdateWithoutTeamsInput> + export type DepartmentCreateOrConnectWithoutUsersInput = { + where: DepartmentWhereUniqueInput + create: XOR } - export type TeamMemberUpdateManyWithoutTeamNestedInput = { - create?: XOR | TeamMemberCreateWithoutTeamInput[] | TeamMemberUncheckedCreateWithoutTeamInput[] - connectOrCreate?: TeamMemberCreateOrConnectWithoutTeamInput | TeamMemberCreateOrConnectWithoutTeamInput[] - upsert?: TeamMemberUpsertWithWhereUniqueWithoutTeamInput | TeamMemberUpsertWithWhereUniqueWithoutTeamInput[] - createMany?: TeamMemberCreateManyTeamInputEnvelope - set?: TeamMemberWhereUniqueInput | TeamMemberWhereUniqueInput[] - disconnect?: TeamMemberWhereUniqueInput | TeamMemberWhereUniqueInput[] - delete?: TeamMemberWhereUniqueInput | TeamMemberWhereUniqueInput[] - connect?: TeamMemberWhereUniqueInput | TeamMemberWhereUniqueInput[] - update?: TeamMemberUpdateWithWhereUniqueWithoutTeamInput | TeamMemberUpdateWithWhereUniqueWithoutTeamInput[] - updateMany?: TeamMemberUpdateManyWithWhereWithoutTeamInput | TeamMemberUpdateManyWithWhereWithoutTeamInput[] - deleteMany?: TeamMemberScalarWhereInput | TeamMemberScalarWhereInput[] + export type OrganizationCreateWithoutUsersInput = { + id?: string + name: string + description?: string | null + industry: string + sizeRange: string + website?: string | null + logoUrl?: string | null + isVerified?: boolean + status: string + createdAt?: Date | string + updatedAt?: Date | string + deletedAt?: Date | string | null + address?: string | null + contactEmail?: string | null + contactPhone?: string | null + emailVerificationOTP?: string | null + emailVerificationExpires?: Date | string | null + creator: UserCreateNestedOneWithoutCreatedOrganizationsInput + departments?: DepartmentCreateNestedManyWithoutOrganizationInput + teams?: TeamCreateNestedManyWithoutOrganizationInput + projects?: ProjectCreateNestedManyWithoutOrganizationInput + reports?: ReportCreateNestedManyWithoutOrganizationInput + owners?: OrganizationOwnerCreateNestedManyWithoutOrganizationInput + templates?: TaskTemplateCreateNestedManyWithoutOrganizationInput + activityLogs?: ActivityLogCreateNestedManyWithoutOrganizationInput } - export type ProjectUpdateManyWithoutTeamNestedInput = { - create?: XOR | ProjectCreateWithoutTeamInput[] | ProjectUncheckedCreateWithoutTeamInput[] - connectOrCreate?: ProjectCreateOrConnectWithoutTeamInput | ProjectCreateOrConnectWithoutTeamInput[] - upsert?: ProjectUpsertWithWhereUniqueWithoutTeamInput | ProjectUpsertWithWhereUniqueWithoutTeamInput[] - createMany?: ProjectCreateManyTeamInputEnvelope - set?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] - disconnect?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] - delete?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] - connect?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] - update?: ProjectUpdateWithWhereUniqueWithoutTeamInput | ProjectUpdateWithWhereUniqueWithoutTeamInput[] - updateMany?: ProjectUpdateManyWithWhereWithoutTeamInput | ProjectUpdateManyWithWhereWithoutTeamInput[] - deleteMany?: ProjectScalarWhereInput | ProjectScalarWhereInput[] + export type OrganizationUncheckedCreateWithoutUsersInput = { + id?: string + name: string + description?: string | null + industry: string + sizeRange: string + website?: string | null + logoUrl?: string | null + isVerified?: boolean + status: string + createdAt?: Date | string + updatedAt?: Date | string + deletedAt?: Date | string | null + createdBy: string + address?: string | null + contactEmail?: string | null + contactPhone?: string | null + emailVerificationOTP?: string | null + emailVerificationExpires?: Date | string | null + departments?: DepartmentUncheckedCreateNestedManyWithoutOrganizationInput + teams?: TeamUncheckedCreateNestedManyWithoutOrganizationInput + projects?: ProjectUncheckedCreateNestedManyWithoutOrganizationInput + reports?: ReportUncheckedCreateNestedManyWithoutOrganizationInput + owners?: OrganizationOwnerUncheckedCreateNestedManyWithoutOrganizationInput + templates?: TaskTemplateUncheckedCreateNestedManyWithoutOrganizationInput + activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutOrganizationInput } - export type ReportUpdateManyWithoutTeamNestedInput = { - create?: XOR | ReportCreateWithoutTeamInput[] | ReportUncheckedCreateWithoutTeamInput[] - connectOrCreate?: ReportCreateOrConnectWithoutTeamInput | ReportCreateOrConnectWithoutTeamInput[] - upsert?: ReportUpsertWithWhereUniqueWithoutTeamInput | ReportUpsertWithWhereUniqueWithoutTeamInput[] - createMany?: ReportCreateManyTeamInputEnvelope - set?: ReportWhereUniqueInput | ReportWhereUniqueInput[] - disconnect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] - delete?: ReportWhereUniqueInput | ReportWhereUniqueInput[] - connect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] - update?: ReportUpdateWithWhereUniqueWithoutTeamInput | ReportUpdateWithWhereUniqueWithoutTeamInput[] - updateMany?: ReportUpdateManyWithWhereWithoutTeamInput | ReportUpdateManyWithWhereWithoutTeamInput[] - deleteMany?: ReportScalarWhereInput | ReportScalarWhereInput[] + export type OrganizationCreateOrConnectWithoutUsersInput = { + where: OrganizationWhereUniqueInput + create: XOR } - export type ActivityLogUpdateManyWithoutTeamNestedInput = { - create?: XOR | ActivityLogCreateWithoutTeamInput[] | ActivityLogUncheckedCreateWithoutTeamInput[] - connectOrCreate?: ActivityLogCreateOrConnectWithoutTeamInput | ActivityLogCreateOrConnectWithoutTeamInput[] - upsert?: ActivityLogUpsertWithWhereUniqueWithoutTeamInput | ActivityLogUpsertWithWhereUniqueWithoutTeamInput[] - createMany?: ActivityLogCreateManyTeamInputEnvelope - set?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] - disconnect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] - delete?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] - connect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] - update?: ActivityLogUpdateWithWhereUniqueWithoutTeamInput | ActivityLogUpdateWithWhereUniqueWithoutTeamInput[] - updateMany?: ActivityLogUpdateManyWithWhereWithoutTeamInput | ActivityLogUpdateManyWithWhereWithoutTeamInput[] - deleteMany?: ActivityLogScalarWhereInput | ActivityLogScalarWhereInput[] + export type OrganizationCreateWithoutCreatorInput = { + id?: string + name: string + description?: string | null + industry: string + sizeRange: string + website?: string | null + logoUrl?: string | null + isVerified?: boolean + status: string + createdAt?: Date | string + updatedAt?: Date | string + deletedAt?: Date | string | null + address?: string | null + contactEmail?: string | null + contactPhone?: string | null + emailVerificationOTP?: string | null + emailVerificationExpires?: Date | string | null + departments?: DepartmentCreateNestedManyWithoutOrganizationInput + teams?: TeamCreateNestedManyWithoutOrganizationInput + projects?: ProjectCreateNestedManyWithoutOrganizationInput + users?: UserCreateNestedManyWithoutOrganizationInput + reports?: ReportCreateNestedManyWithoutOrganizationInput + owners?: OrganizationOwnerCreateNestedManyWithoutOrganizationInput + templates?: TaskTemplateCreateNestedManyWithoutOrganizationInput + activityLogs?: ActivityLogCreateNestedManyWithoutOrganizationInput } - export type TeamMemberUncheckedUpdateManyWithoutTeamNestedInput = { - create?: XOR | TeamMemberCreateWithoutTeamInput[] | TeamMemberUncheckedCreateWithoutTeamInput[] - connectOrCreate?: TeamMemberCreateOrConnectWithoutTeamInput | TeamMemberCreateOrConnectWithoutTeamInput[] - upsert?: TeamMemberUpsertWithWhereUniqueWithoutTeamInput | TeamMemberUpsertWithWhereUniqueWithoutTeamInput[] - createMany?: TeamMemberCreateManyTeamInputEnvelope - set?: TeamMemberWhereUniqueInput | TeamMemberWhereUniqueInput[] - disconnect?: TeamMemberWhereUniqueInput | TeamMemberWhereUniqueInput[] - delete?: TeamMemberWhereUniqueInput | TeamMemberWhereUniqueInput[] - connect?: TeamMemberWhereUniqueInput | TeamMemberWhereUniqueInput[] - update?: TeamMemberUpdateWithWhereUniqueWithoutTeamInput | TeamMemberUpdateWithWhereUniqueWithoutTeamInput[] - updateMany?: TeamMemberUpdateManyWithWhereWithoutTeamInput | TeamMemberUpdateManyWithWhereWithoutTeamInput[] - deleteMany?: TeamMemberScalarWhereInput | TeamMemberScalarWhereInput[] + export type OrganizationUncheckedCreateWithoutCreatorInput = { + id?: string + name: string + description?: string | null + industry: string + sizeRange: string + website?: string | null + logoUrl?: string | null + isVerified?: boolean + status: string + createdAt?: Date | string + updatedAt?: Date | string + deletedAt?: Date | string | null + address?: string | null + contactEmail?: string | null + contactPhone?: string | null + emailVerificationOTP?: string | null + emailVerificationExpires?: Date | string | null + departments?: DepartmentUncheckedCreateNestedManyWithoutOrganizationInput + teams?: TeamUncheckedCreateNestedManyWithoutOrganizationInput + projects?: ProjectUncheckedCreateNestedManyWithoutOrganizationInput + users?: UserUncheckedCreateNestedManyWithoutOrganizationInput + reports?: ReportUncheckedCreateNestedManyWithoutOrganizationInput + owners?: OrganizationOwnerUncheckedCreateNestedManyWithoutOrganizationInput + templates?: TaskTemplateUncheckedCreateNestedManyWithoutOrganizationInput + activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutOrganizationInput } - export type ProjectUncheckedUpdateManyWithoutTeamNestedInput = { - create?: XOR | ProjectCreateWithoutTeamInput[] | ProjectUncheckedCreateWithoutTeamInput[] - connectOrCreate?: ProjectCreateOrConnectWithoutTeamInput | ProjectCreateOrConnectWithoutTeamInput[] - upsert?: ProjectUpsertWithWhereUniqueWithoutTeamInput | ProjectUpsertWithWhereUniqueWithoutTeamInput[] - createMany?: ProjectCreateManyTeamInputEnvelope - set?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] - disconnect?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] - delete?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] - connect?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] - update?: ProjectUpdateWithWhereUniqueWithoutTeamInput | ProjectUpdateWithWhereUniqueWithoutTeamInput[] - updateMany?: ProjectUpdateManyWithWhereWithoutTeamInput | ProjectUpdateManyWithWhereWithoutTeamInput[] - deleteMany?: ProjectScalarWhereInput | ProjectScalarWhereInput[] + export type OrganizationCreateOrConnectWithoutCreatorInput = { + where: OrganizationWhereUniqueInput + create: XOR } - export type ReportUncheckedUpdateManyWithoutTeamNestedInput = { - create?: XOR | ReportCreateWithoutTeamInput[] | ReportUncheckedCreateWithoutTeamInput[] - connectOrCreate?: ReportCreateOrConnectWithoutTeamInput | ReportCreateOrConnectWithoutTeamInput[] - upsert?: ReportUpsertWithWhereUniqueWithoutTeamInput | ReportUpsertWithWhereUniqueWithoutTeamInput[] - createMany?: ReportCreateManyTeamInputEnvelope - set?: ReportWhereUniqueInput | ReportWhereUniqueInput[] - disconnect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] - delete?: ReportWhereUniqueInput | ReportWhereUniqueInput[] - connect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] - update?: ReportUpdateWithWhereUniqueWithoutTeamInput | ReportUpdateWithWhereUniqueWithoutTeamInput[] - updateMany?: ReportUpdateManyWithWhereWithoutTeamInput | ReportUpdateManyWithWhereWithoutTeamInput[] - deleteMany?: ReportScalarWhereInput | ReportScalarWhereInput[] + export type OrganizationCreateManyCreatorInputEnvelope = { + data: OrganizationCreateManyCreatorInput | OrganizationCreateManyCreatorInput[] + skipDuplicates?: boolean } - export type ActivityLogUncheckedUpdateManyWithoutTeamNestedInput = { - create?: XOR | ActivityLogCreateWithoutTeamInput[] | ActivityLogUncheckedCreateWithoutTeamInput[] - connectOrCreate?: ActivityLogCreateOrConnectWithoutTeamInput | ActivityLogCreateOrConnectWithoutTeamInput[] - upsert?: ActivityLogUpsertWithWhereUniqueWithoutTeamInput | ActivityLogUpsertWithWhereUniqueWithoutTeamInput[] - createMany?: ActivityLogCreateManyTeamInputEnvelope - set?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] - disconnect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] - delete?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] - connect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] - update?: ActivityLogUpdateWithWhereUniqueWithoutTeamInput | ActivityLogUpdateWithWhereUniqueWithoutTeamInput[] - updateMany?: ActivityLogUpdateManyWithWhereWithoutTeamInput | ActivityLogUpdateManyWithWhereWithoutTeamInput[] - deleteMany?: ActivityLogScalarWhereInput | ActivityLogScalarWhereInput[] + export type OrganizationOwnerCreateWithoutUserInput = { + id?: string + createdAt?: Date | string + updatedAt?: Date | string + organization: OrganizationCreateNestedOneWithoutOwnersInput } - export type TeamCreateNestedOneWithoutMembersInput = { - create?: XOR - connectOrCreate?: TeamCreateOrConnectWithoutMembersInput - connect?: TeamWhereUniqueInput + export type OrganizationOwnerUncheckedCreateWithoutUserInput = { + id?: string + organizationId: string + createdAt?: Date | string + updatedAt?: Date | string } - export type UserCreateNestedOneWithoutTeamMembershipsInput = { - create?: XOR - connectOrCreate?: UserCreateOrConnectWithoutTeamMembershipsInput - connect?: UserWhereUniqueInput + export type OrganizationOwnerCreateOrConnectWithoutUserInput = { + where: OrganizationOwnerWhereUniqueInput + create: XOR } - export type EnumTeamMemberRoleFieldUpdateOperationsInput = { - set?: $Enums.TeamMemberRole + export type OrganizationOwnerCreateManyUserInputEnvelope = { + data: OrganizationOwnerCreateManyUserInput | OrganizationOwnerCreateManyUserInput[] + skipDuplicates?: boolean } - export type TeamUpdateOneRequiredWithoutMembersNestedInput = { - create?: XOR - connectOrCreate?: TeamCreateOrConnectWithoutMembersInput - upsert?: TeamUpsertWithoutMembersInput - connect?: TeamWhereUniqueInput - update?: XOR, TeamUncheckedUpdateWithoutMembersInput> + export type DepartmentCreateWithoutManagerInput = { + id?: string + name: string + description?: string | null + createdAt?: Date | string + updatedAt?: Date | string + deletedAt?: Date | string | null + organization: OrganizationCreateNestedOneWithoutDepartmentsInput + teams?: TeamCreateNestedManyWithoutDepartmentInput + users?: UserCreateNestedManyWithoutDepartmentInput + activityLogs?: ActivityLogCreateNestedManyWithoutDepartmentInput + Report?: ReportCreateNestedManyWithoutDepartmentInput } - export type UserUpdateOneRequiredWithoutTeamMembershipsNestedInput = { - create?: XOR - connectOrCreate?: UserCreateOrConnectWithoutTeamMembershipsInput - upsert?: UserUpsertWithoutTeamMembershipsInput - connect?: UserWhereUniqueInput - update?: XOR, UserUncheckedUpdateWithoutTeamMembershipsInput> + export type DepartmentUncheckedCreateWithoutManagerInput = { + id?: string + name: string + description?: string | null + organizationId: string + createdAt?: Date | string + updatedAt?: Date | string + deletedAt?: Date | string | null + teams?: TeamUncheckedCreateNestedManyWithoutDepartmentInput + users?: UserUncheckedCreateNestedManyWithoutDepartmentInput + activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutDepartmentInput + Report?: ReportUncheckedCreateNestedManyWithoutDepartmentInput } - export type UserCreateNestedOneWithoutCreatedProjectsInput = { - create?: XOR - connectOrCreate?: UserCreateOrConnectWithoutCreatedProjectsInput - connect?: UserWhereUniqueInput + export type DepartmentCreateOrConnectWithoutManagerInput = { + where: DepartmentWhereUniqueInput + create: XOR } - export type UserCreateNestedOneWithoutModifiedProjectsInput = { - create?: XOR - connectOrCreate?: UserCreateOrConnectWithoutModifiedProjectsInput - connect?: UserWhereUniqueInput + export type DepartmentCreateManyManagerInputEnvelope = { + data: DepartmentCreateManyManagerInput | DepartmentCreateManyManagerInput[] + skipDuplicates?: boolean } - export type OrganizationCreateNestedOneWithoutProjectsInput = { - create?: XOR - connectOrCreate?: OrganizationCreateOrConnectWithoutProjectsInput - connect?: OrganizationWhereUniqueInput + export type TeamCreateWithoutCreatorInput = { + id?: string + name: string + description?: string | null + createdAt?: Date | string + updatedAt?: Date | string + deletedAt?: Date | string | null + avatar?: string | null + organization: OrganizationCreateNestedOneWithoutTeamsInput + department?: DepartmentCreateNestedOneWithoutTeamsInput + members?: TeamMemberCreateNestedManyWithoutTeamInput + projects?: ProjectCreateNestedManyWithoutTeamInput + reports?: ReportCreateNestedManyWithoutTeamInput + activityLogs?: ActivityLogCreateNestedManyWithoutTeamInput } - export type TeamCreateNestedOneWithoutProjectsInput = { - create?: XOR - connectOrCreate?: TeamCreateOrConnectWithoutProjectsInput - connect?: TeamWhereUniqueInput + export type TeamUncheckedCreateWithoutCreatorInput = { + id?: string + name: string + description?: string | null + organizationId: string + departmentId?: string | null + createdAt?: Date | string + updatedAt?: Date | string + deletedAt?: Date | string | null + avatar?: string | null + members?: TeamMemberUncheckedCreateNestedManyWithoutTeamInput + projects?: ProjectUncheckedCreateNestedManyWithoutTeamInput + reports?: ReportUncheckedCreateNestedManyWithoutTeamInput + activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutTeamInput } - export type SprintCreateNestedManyWithoutProjectInput = { - create?: XOR | SprintCreateWithoutProjectInput[] | SprintUncheckedCreateWithoutProjectInput[] - connectOrCreate?: SprintCreateOrConnectWithoutProjectInput | SprintCreateOrConnectWithoutProjectInput[] - createMany?: SprintCreateManyProjectInputEnvelope - connect?: SprintWhereUniqueInput | SprintWhereUniqueInput[] + export type TeamCreateOrConnectWithoutCreatorInput = { + where: TeamWhereUniqueInput + create: XOR } - export type TaskCreateNestedManyWithoutProjectInput = { - create?: XOR | TaskCreateWithoutProjectInput[] | TaskUncheckedCreateWithoutProjectInput[] - connectOrCreate?: TaskCreateOrConnectWithoutProjectInput | TaskCreateOrConnectWithoutProjectInput[] - createMany?: TaskCreateManyProjectInputEnvelope - connect?: TaskWhereUniqueInput | TaskWhereUniqueInput[] + export type TeamCreateManyCreatorInputEnvelope = { + data: TeamCreateManyCreatorInput | TeamCreateManyCreatorInput[] + skipDuplicates?: boolean } - export type ReportCreateNestedManyWithoutProjectInput = { - create?: XOR | ReportCreateWithoutProjectInput[] | ReportUncheckedCreateWithoutProjectInput[] - connectOrCreate?: ReportCreateOrConnectWithoutProjectInput | ReportCreateOrConnectWithoutProjectInput[] - createMany?: ReportCreateManyProjectInputEnvelope - connect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] + export type TeamMemberCreateWithoutUserInput = { + id?: string + role: $Enums.TeamMemberRole + joinedAt?: Date | string + isActive?: boolean + deletedAt?: Date | string | null + team: TeamCreateNestedOneWithoutMembersInput } - export type ActivityLogCreateNestedManyWithoutProjectInput = { - create?: XOR | ActivityLogCreateWithoutProjectInput[] | ActivityLogUncheckedCreateWithoutProjectInput[] - connectOrCreate?: ActivityLogCreateOrConnectWithoutProjectInput | ActivityLogCreateOrConnectWithoutProjectInput[] - createMany?: ActivityLogCreateManyProjectInputEnvelope - connect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] + export type TeamMemberUncheckedCreateWithoutUserInput = { + id?: string + teamId: string + role: $Enums.TeamMemberRole + joinedAt?: Date | string + isActive?: boolean + deletedAt?: Date | string | null } - export type ProjectMemberCreateNestedManyWithoutProjectInput = { - create?: XOR | ProjectMemberCreateWithoutProjectInput[] | ProjectMemberUncheckedCreateWithoutProjectInput[] - connectOrCreate?: ProjectMemberCreateOrConnectWithoutProjectInput | ProjectMemberCreateOrConnectWithoutProjectInput[] - createMany?: ProjectMemberCreateManyProjectInputEnvelope - connect?: ProjectMemberWhereUniqueInput | ProjectMemberWhereUniqueInput[] + export type TeamMemberCreateOrConnectWithoutUserInput = { + where: TeamMemberWhereUniqueInput + create: XOR } - export type SprintUncheckedCreateNestedManyWithoutProjectInput = { - create?: XOR | SprintCreateWithoutProjectInput[] | SprintUncheckedCreateWithoutProjectInput[] - connectOrCreate?: SprintCreateOrConnectWithoutProjectInput | SprintCreateOrConnectWithoutProjectInput[] - createMany?: SprintCreateManyProjectInputEnvelope - connect?: SprintWhereUniqueInput | SprintWhereUniqueInput[] + export type TeamMemberCreateManyUserInputEnvelope = { + data: TeamMemberCreateManyUserInput | TeamMemberCreateManyUserInput[] + skipDuplicates?: boolean } - export type TaskUncheckedCreateNestedManyWithoutProjectInput = { - create?: XOR | TaskCreateWithoutProjectInput[] | TaskUncheckedCreateWithoutProjectInput[] - connectOrCreate?: TaskCreateOrConnectWithoutProjectInput | TaskCreateOrConnectWithoutProjectInput[] - createMany?: TaskCreateManyProjectInputEnvelope - connect?: TaskWhereUniqueInput | TaskWhereUniqueInput[] + export type ProjectMemberCreateWithoutUserInput = { + id?: string + role: string + isActive?: boolean + joinedAt?: Date | string + leftAt?: Date | string | null + deletedAt?: Date | string | null + project: ProjectCreateNestedOneWithoutProjectMemberInput } - export type ReportUncheckedCreateNestedManyWithoutProjectInput = { - create?: XOR | ReportCreateWithoutProjectInput[] | ReportUncheckedCreateWithoutProjectInput[] - connectOrCreate?: ReportCreateOrConnectWithoutProjectInput | ReportCreateOrConnectWithoutProjectInput[] - createMany?: ReportCreateManyProjectInputEnvelope - connect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] + export type ProjectMemberUncheckedCreateWithoutUserInput = { + id?: string + projectId: string + role: string + isActive?: boolean + joinedAt?: Date | string + leftAt?: Date | string | null + deletedAt?: Date | string | null } - export type ActivityLogUncheckedCreateNestedManyWithoutProjectInput = { - create?: XOR | ActivityLogCreateWithoutProjectInput[] | ActivityLogUncheckedCreateWithoutProjectInput[] - connectOrCreate?: ActivityLogCreateOrConnectWithoutProjectInput | ActivityLogCreateOrConnectWithoutProjectInput[] - createMany?: ActivityLogCreateManyProjectInputEnvelope - connect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] + export type ProjectMemberCreateOrConnectWithoutUserInput = { + where: ProjectMemberWhereUniqueInput + create: XOR } - export type ProjectMemberUncheckedCreateNestedManyWithoutProjectInput = { - create?: XOR | ProjectMemberCreateWithoutProjectInput[] | ProjectMemberUncheckedCreateWithoutProjectInput[] - connectOrCreate?: ProjectMemberCreateOrConnectWithoutProjectInput | ProjectMemberCreateOrConnectWithoutProjectInput[] - createMany?: ProjectMemberCreateManyProjectInputEnvelope - connect?: ProjectMemberWhereUniqueInput | ProjectMemberWhereUniqueInput[] + export type ProjectMemberCreateManyUserInputEnvelope = { + data: ProjectMemberCreateManyUserInput | ProjectMemberCreateManyUserInput[] + skipDuplicates?: boolean } - export type EnumTaskPriorityFieldUpdateOperationsInput = { - set?: $Enums.TaskPriority + export type ProjectCreateWithoutCreatorInput = { + id?: string + name: string + description?: string | null + status: string + startDate: Date | string + endDate: Date | string + createdAt?: Date | string + updatedAt?: Date | string + deletedAt?: Date | string | null + priority?: $Enums.TaskPriority + progress?: number | null + budget?: number | null + modifier?: UserCreateNestedOneWithoutModifiedProjectsInput + organization: OrganizationCreateNestedOneWithoutProjectsInput + team: TeamCreateNestedOneWithoutProjectsInput + sprints?: SprintCreateNestedManyWithoutProjectInput + tasks?: TaskCreateNestedManyWithoutProjectInput + reports?: ReportCreateNestedManyWithoutProjectInput + activityLogs?: ActivityLogCreateNestedManyWithoutProjectInput + ProjectMember?: ProjectMemberCreateNestedManyWithoutProjectInput } - export type NullableFloatFieldUpdateOperationsInput = { - set?: number | null - increment?: number - decrement?: number - multiply?: number - divide?: number + export type ProjectUncheckedCreateWithoutCreatorInput = { + id?: string + name: string + description?: string | null + status: string + organizationId: string + teamId: string + startDate: Date | string + endDate: Date | string + createdAt?: Date | string + updatedAt?: Date | string + deletedAt?: Date | string | null + priority?: $Enums.TaskPriority + progress?: number | null + budget?: number | null + lastModifiedBy?: string | null + sprints?: SprintUncheckedCreateNestedManyWithoutProjectInput + tasks?: TaskUncheckedCreateNestedManyWithoutProjectInput + reports?: ReportUncheckedCreateNestedManyWithoutProjectInput + activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutProjectInput + ProjectMember?: ProjectMemberUncheckedCreateNestedManyWithoutProjectInput } - export type UserUpdateOneRequiredWithoutCreatedProjectsNestedInput = { - create?: XOR - connectOrCreate?: UserCreateOrConnectWithoutCreatedProjectsInput - upsert?: UserUpsertWithoutCreatedProjectsInput - connect?: UserWhereUniqueInput - update?: XOR, UserUncheckedUpdateWithoutCreatedProjectsInput> + export type ProjectCreateOrConnectWithoutCreatorInput = { + where: ProjectWhereUniqueInput + create: XOR } - export type UserUpdateOneWithoutModifiedProjectsNestedInput = { - create?: XOR - connectOrCreate?: UserCreateOrConnectWithoutModifiedProjectsInput - upsert?: UserUpsertWithoutModifiedProjectsInput - disconnect?: UserWhereInput | boolean - delete?: UserWhereInput | boolean - connect?: UserWhereUniqueInput - update?: XOR, UserUncheckedUpdateWithoutModifiedProjectsInput> + export type ProjectCreateManyCreatorInputEnvelope = { + data: ProjectCreateManyCreatorInput | ProjectCreateManyCreatorInput[] + skipDuplicates?: boolean } - export type OrganizationUpdateOneRequiredWithoutProjectsNestedInput = { - create?: XOR - connectOrCreate?: OrganizationCreateOrConnectWithoutProjectsInput - upsert?: OrganizationUpsertWithoutProjectsInput - connect?: OrganizationWhereUniqueInput - update?: XOR, OrganizationUncheckedUpdateWithoutProjectsInput> + export type ProjectCreateWithoutModifierInput = { + id?: string + name: string + description?: string | null + status: string + startDate: Date | string + endDate: Date | string + createdAt?: Date | string + updatedAt?: Date | string + deletedAt?: Date | string | null + priority?: $Enums.TaskPriority + progress?: number | null + budget?: number | null + creator: UserCreateNestedOneWithoutCreatedProjectsInput + organization: OrganizationCreateNestedOneWithoutProjectsInput + team: TeamCreateNestedOneWithoutProjectsInput + sprints?: SprintCreateNestedManyWithoutProjectInput + tasks?: TaskCreateNestedManyWithoutProjectInput + reports?: ReportCreateNestedManyWithoutProjectInput + activityLogs?: ActivityLogCreateNestedManyWithoutProjectInput + ProjectMember?: ProjectMemberCreateNestedManyWithoutProjectInput } - export type TeamUpdateOneRequiredWithoutProjectsNestedInput = { - create?: XOR - connectOrCreate?: TeamCreateOrConnectWithoutProjectsInput - upsert?: TeamUpsertWithoutProjectsInput - connect?: TeamWhereUniqueInput - update?: XOR, TeamUncheckedUpdateWithoutProjectsInput> + export type ProjectUncheckedCreateWithoutModifierInput = { + id?: string + name: string + description?: string | null + status: string + createdBy: string + organizationId: string + teamId: string + startDate: Date | string + endDate: Date | string + createdAt?: Date | string + updatedAt?: Date | string + deletedAt?: Date | string | null + priority?: $Enums.TaskPriority + progress?: number | null + budget?: number | null + sprints?: SprintUncheckedCreateNestedManyWithoutProjectInput + tasks?: TaskUncheckedCreateNestedManyWithoutProjectInput + reports?: ReportUncheckedCreateNestedManyWithoutProjectInput + activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutProjectInput + ProjectMember?: ProjectMemberUncheckedCreateNestedManyWithoutProjectInput } - export type SprintUpdateManyWithoutProjectNestedInput = { - create?: XOR | SprintCreateWithoutProjectInput[] | SprintUncheckedCreateWithoutProjectInput[] - connectOrCreate?: SprintCreateOrConnectWithoutProjectInput | SprintCreateOrConnectWithoutProjectInput[] - upsert?: SprintUpsertWithWhereUniqueWithoutProjectInput | SprintUpsertWithWhereUniqueWithoutProjectInput[] - createMany?: SprintCreateManyProjectInputEnvelope - set?: SprintWhereUniqueInput | SprintWhereUniqueInput[] - disconnect?: SprintWhereUniqueInput | SprintWhereUniqueInput[] - delete?: SprintWhereUniqueInput | SprintWhereUniqueInput[] - connect?: SprintWhereUniqueInput | SprintWhereUniqueInput[] - update?: SprintUpdateWithWhereUniqueWithoutProjectInput | SprintUpdateWithWhereUniqueWithoutProjectInput[] - updateMany?: SprintUpdateManyWithWhereWithoutProjectInput | SprintUpdateManyWithWhereWithoutProjectInput[] - deleteMany?: SprintScalarWhereInput | SprintScalarWhereInput[] + export type ProjectCreateOrConnectWithoutModifierInput = { + where: ProjectWhereUniqueInput + create: XOR } - export type TaskUpdateManyWithoutProjectNestedInput = { - create?: XOR | TaskCreateWithoutProjectInput[] | TaskUncheckedCreateWithoutProjectInput[] - connectOrCreate?: TaskCreateOrConnectWithoutProjectInput | TaskCreateOrConnectWithoutProjectInput[] - upsert?: TaskUpsertWithWhereUniqueWithoutProjectInput | TaskUpsertWithWhereUniqueWithoutProjectInput[] - createMany?: TaskCreateManyProjectInputEnvelope - set?: TaskWhereUniqueInput | TaskWhereUniqueInput[] - disconnect?: TaskWhereUniqueInput | TaskWhereUniqueInput[] - delete?: TaskWhereUniqueInput | TaskWhereUniqueInput[] - connect?: TaskWhereUniqueInput | TaskWhereUniqueInput[] - update?: TaskUpdateWithWhereUniqueWithoutProjectInput | TaskUpdateWithWhereUniqueWithoutProjectInput[] - updateMany?: TaskUpdateManyWithWhereWithoutProjectInput | TaskUpdateManyWithWhereWithoutProjectInput[] - deleteMany?: TaskScalarWhereInput | TaskScalarWhereInput[] + export type ProjectCreateManyModifierInputEnvelope = { + data: ProjectCreateManyModifierInput | ProjectCreateManyModifierInput[] + skipDuplicates?: boolean } - export type ReportUpdateManyWithoutProjectNestedInput = { - create?: XOR | ReportCreateWithoutProjectInput[] | ReportUncheckedCreateWithoutProjectInput[] - connectOrCreate?: ReportCreateOrConnectWithoutProjectInput | ReportCreateOrConnectWithoutProjectInput[] - upsert?: ReportUpsertWithWhereUniqueWithoutProjectInput | ReportUpsertWithWhereUniqueWithoutProjectInput[] - createMany?: ReportCreateManyProjectInputEnvelope - set?: ReportWhereUniqueInput | ReportWhereUniqueInput[] - disconnect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] - delete?: ReportWhereUniqueInput | ReportWhereUniqueInput[] - connect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] - update?: ReportUpdateWithWhereUniqueWithoutProjectInput | ReportUpdateWithWhereUniqueWithoutProjectInput[] - updateMany?: ReportUpdateManyWithWhereWithoutProjectInput | ReportUpdateManyWithWhereWithoutProjectInput[] - deleteMany?: ReportScalarWhereInput | ReportScalarWhereInput[] + export type TaskCreateWithoutCreatorInput = { + id?: string + title: string + description?: string | null + priority: $Enums.TaskPriority + status: $Enums.TaskStatus + rate?: number | null + dueDate: Date | string + createdAt?: Date | string + updatedAt?: Date | string + deletedAt?: Date | string | null + estimatedTime?: number | null + actualTime?: number | null + order?: number + labels?: TaskCreatelabelsInput | string[] + project: ProjectCreateNestedOneWithoutTasksInput + sprint?: SprintCreateNestedOneWithoutTasksInput + assignee?: UserCreateNestedOneWithoutAssignedTasksInput + modifier?: UserCreateNestedOneWithoutModifiedTasksInput + attachments?: TaskAttachmentCreateNestedManyWithoutTaskInput + comments?: CommentCreateNestedManyWithoutTaskInput + timelogs?: TimelogCreateNestedManyWithoutTaskInput + dependencies?: TaskDependencyCreateNestedManyWithoutDependentTaskInput + dependentOn?: TaskDependencyCreateNestedManyWithoutTaskInput + parent?: TaskCreateNestedOneWithoutSubtasksInput + subtasks?: TaskCreateNestedManyWithoutParentInput + activityLogs?: ActivityLogCreateNestedManyWithoutTaskInput } - export type ActivityLogUpdateManyWithoutProjectNestedInput = { - create?: XOR | ActivityLogCreateWithoutProjectInput[] | ActivityLogUncheckedCreateWithoutProjectInput[] - connectOrCreate?: ActivityLogCreateOrConnectWithoutProjectInput | ActivityLogCreateOrConnectWithoutProjectInput[] - upsert?: ActivityLogUpsertWithWhereUniqueWithoutProjectInput | ActivityLogUpsertWithWhereUniqueWithoutProjectInput[] - createMany?: ActivityLogCreateManyProjectInputEnvelope - set?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] - disconnect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] - delete?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] - connect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] - update?: ActivityLogUpdateWithWhereUniqueWithoutProjectInput | ActivityLogUpdateWithWhereUniqueWithoutProjectInput[] - updateMany?: ActivityLogUpdateManyWithWhereWithoutProjectInput | ActivityLogUpdateManyWithWhereWithoutProjectInput[] - deleteMany?: ActivityLogScalarWhereInput | ActivityLogScalarWhereInput[] + export type TaskUncheckedCreateWithoutCreatorInput = { + id?: string + title: string + description?: string | null + priority: $Enums.TaskPriority + status: $Enums.TaskStatus + rate?: number | null + projectId: string + sprintId?: string | null + assignedTo?: string | null + dueDate: Date | string + createdAt?: Date | string + updatedAt?: Date | string + deletedAt?: Date | string | null + estimatedTime?: number | null + actualTime?: number | null + parentId?: string | null + order?: number + labels?: TaskCreatelabelsInput | string[] + lastModifiedBy?: string | null + attachments?: TaskAttachmentUncheckedCreateNestedManyWithoutTaskInput + comments?: CommentUncheckedCreateNestedManyWithoutTaskInput + timelogs?: TimelogUncheckedCreateNestedManyWithoutTaskInput + dependencies?: TaskDependencyUncheckedCreateNestedManyWithoutDependentTaskInput + dependentOn?: TaskDependencyUncheckedCreateNestedManyWithoutTaskInput + subtasks?: TaskUncheckedCreateNestedManyWithoutParentInput + activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutTaskInput } - export type ProjectMemberUpdateManyWithoutProjectNestedInput = { - create?: XOR | ProjectMemberCreateWithoutProjectInput[] | ProjectMemberUncheckedCreateWithoutProjectInput[] - connectOrCreate?: ProjectMemberCreateOrConnectWithoutProjectInput | ProjectMemberCreateOrConnectWithoutProjectInput[] - upsert?: ProjectMemberUpsertWithWhereUniqueWithoutProjectInput | ProjectMemberUpsertWithWhereUniqueWithoutProjectInput[] - createMany?: ProjectMemberCreateManyProjectInputEnvelope - set?: ProjectMemberWhereUniqueInput | ProjectMemberWhereUniqueInput[] - disconnect?: ProjectMemberWhereUniqueInput | ProjectMemberWhereUniqueInput[] - delete?: ProjectMemberWhereUniqueInput | ProjectMemberWhereUniqueInput[] - connect?: ProjectMemberWhereUniqueInput | ProjectMemberWhereUniqueInput[] - update?: ProjectMemberUpdateWithWhereUniqueWithoutProjectInput | ProjectMemberUpdateWithWhereUniqueWithoutProjectInput[] - updateMany?: ProjectMemberUpdateManyWithWhereWithoutProjectInput | ProjectMemberUpdateManyWithWhereWithoutProjectInput[] - deleteMany?: ProjectMemberScalarWhereInput | ProjectMemberScalarWhereInput[] + export type TaskCreateOrConnectWithoutCreatorInput = { + where: TaskWhereUniqueInput + create: XOR } - export type SprintUncheckedUpdateManyWithoutProjectNestedInput = { - create?: XOR | SprintCreateWithoutProjectInput[] | SprintUncheckedCreateWithoutProjectInput[] - connectOrCreate?: SprintCreateOrConnectWithoutProjectInput | SprintCreateOrConnectWithoutProjectInput[] - upsert?: SprintUpsertWithWhereUniqueWithoutProjectInput | SprintUpsertWithWhereUniqueWithoutProjectInput[] - createMany?: SprintCreateManyProjectInputEnvelope - set?: SprintWhereUniqueInput | SprintWhereUniqueInput[] - disconnect?: SprintWhereUniqueInput | SprintWhereUniqueInput[] - delete?: SprintWhereUniqueInput | SprintWhereUniqueInput[] - connect?: SprintWhereUniqueInput | SprintWhereUniqueInput[] - update?: SprintUpdateWithWhereUniqueWithoutProjectInput | SprintUpdateWithWhereUniqueWithoutProjectInput[] - updateMany?: SprintUpdateManyWithWhereWithoutProjectInput | SprintUpdateManyWithWhereWithoutProjectInput[] - deleteMany?: SprintScalarWhereInput | SprintScalarWhereInput[] + export type TaskCreateManyCreatorInputEnvelope = { + data: TaskCreateManyCreatorInput | TaskCreateManyCreatorInput[] + skipDuplicates?: boolean } - export type TaskUncheckedUpdateManyWithoutProjectNestedInput = { - create?: XOR | TaskCreateWithoutProjectInput[] | TaskUncheckedCreateWithoutProjectInput[] - connectOrCreate?: TaskCreateOrConnectWithoutProjectInput | TaskCreateOrConnectWithoutProjectInput[] - upsert?: TaskUpsertWithWhereUniqueWithoutProjectInput | TaskUpsertWithWhereUniqueWithoutProjectInput[] - createMany?: TaskCreateManyProjectInputEnvelope - set?: TaskWhereUniqueInput | TaskWhereUniqueInput[] - disconnect?: TaskWhereUniqueInput | TaskWhereUniqueInput[] - delete?: TaskWhereUniqueInput | TaskWhereUniqueInput[] - connect?: TaskWhereUniqueInput | TaskWhereUniqueInput[] - update?: TaskUpdateWithWhereUniqueWithoutProjectInput | TaskUpdateWithWhereUniqueWithoutProjectInput[] - updateMany?: TaskUpdateManyWithWhereWithoutProjectInput | TaskUpdateManyWithWhereWithoutProjectInput[] - deleteMany?: TaskScalarWhereInput | TaskScalarWhereInput[] + export type TaskCreateWithoutAssigneeInput = { + id?: string + title: string + description?: string | null + priority: $Enums.TaskPriority + status: $Enums.TaskStatus + rate?: number | null + dueDate: Date | string + createdAt?: Date | string + updatedAt?: Date | string + deletedAt?: Date | string | null + estimatedTime?: number | null + actualTime?: number | null + order?: number + labels?: TaskCreatelabelsInput | string[] + project: ProjectCreateNestedOneWithoutTasksInput + sprint?: SprintCreateNestedOneWithoutTasksInput + creator: UserCreateNestedOneWithoutCreatedTasksInput + modifier?: UserCreateNestedOneWithoutModifiedTasksInput + attachments?: TaskAttachmentCreateNestedManyWithoutTaskInput + comments?: CommentCreateNestedManyWithoutTaskInput + timelogs?: TimelogCreateNestedManyWithoutTaskInput + dependencies?: TaskDependencyCreateNestedManyWithoutDependentTaskInput + dependentOn?: TaskDependencyCreateNestedManyWithoutTaskInput + parent?: TaskCreateNestedOneWithoutSubtasksInput + subtasks?: TaskCreateNestedManyWithoutParentInput + activityLogs?: ActivityLogCreateNestedManyWithoutTaskInput } - export type ReportUncheckedUpdateManyWithoutProjectNestedInput = { - create?: XOR | ReportCreateWithoutProjectInput[] | ReportUncheckedCreateWithoutProjectInput[] - connectOrCreate?: ReportCreateOrConnectWithoutProjectInput | ReportCreateOrConnectWithoutProjectInput[] - upsert?: ReportUpsertWithWhereUniqueWithoutProjectInput | ReportUpsertWithWhereUniqueWithoutProjectInput[] - createMany?: ReportCreateManyProjectInputEnvelope - set?: ReportWhereUniqueInput | ReportWhereUniqueInput[] - disconnect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] - delete?: ReportWhereUniqueInput | ReportWhereUniqueInput[] - connect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] - update?: ReportUpdateWithWhereUniqueWithoutProjectInput | ReportUpdateWithWhereUniqueWithoutProjectInput[] - updateMany?: ReportUpdateManyWithWhereWithoutProjectInput | ReportUpdateManyWithWhereWithoutProjectInput[] - deleteMany?: ReportScalarWhereInput | ReportScalarWhereInput[] + export type TaskUncheckedCreateWithoutAssigneeInput = { + id?: string + title: string + description?: string | null + priority: $Enums.TaskPriority + status: $Enums.TaskStatus + rate?: number | null + projectId: string + sprintId?: string | null + createdBy: string + dueDate: Date | string + createdAt?: Date | string + updatedAt?: Date | string + deletedAt?: Date | string | null + estimatedTime?: number | null + actualTime?: number | null + parentId?: string | null + order?: number + labels?: TaskCreatelabelsInput | string[] + lastModifiedBy?: string | null + attachments?: TaskAttachmentUncheckedCreateNestedManyWithoutTaskInput + comments?: CommentUncheckedCreateNestedManyWithoutTaskInput + timelogs?: TimelogUncheckedCreateNestedManyWithoutTaskInput + dependencies?: TaskDependencyUncheckedCreateNestedManyWithoutDependentTaskInput + dependentOn?: TaskDependencyUncheckedCreateNestedManyWithoutTaskInput + subtasks?: TaskUncheckedCreateNestedManyWithoutParentInput + activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutTaskInput } - export type ActivityLogUncheckedUpdateManyWithoutProjectNestedInput = { - create?: XOR | ActivityLogCreateWithoutProjectInput[] | ActivityLogUncheckedCreateWithoutProjectInput[] - connectOrCreate?: ActivityLogCreateOrConnectWithoutProjectInput | ActivityLogCreateOrConnectWithoutProjectInput[] - upsert?: ActivityLogUpsertWithWhereUniqueWithoutProjectInput | ActivityLogUpsertWithWhereUniqueWithoutProjectInput[] - createMany?: ActivityLogCreateManyProjectInputEnvelope - set?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] - disconnect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] - delete?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] - connect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] - update?: ActivityLogUpdateWithWhereUniqueWithoutProjectInput | ActivityLogUpdateWithWhereUniqueWithoutProjectInput[] - updateMany?: ActivityLogUpdateManyWithWhereWithoutProjectInput | ActivityLogUpdateManyWithWhereWithoutProjectInput[] - deleteMany?: ActivityLogScalarWhereInput | ActivityLogScalarWhereInput[] + export type TaskCreateOrConnectWithoutAssigneeInput = { + where: TaskWhereUniqueInput + create: XOR } - export type ProjectMemberUncheckedUpdateManyWithoutProjectNestedInput = { - create?: XOR | ProjectMemberCreateWithoutProjectInput[] | ProjectMemberUncheckedCreateWithoutProjectInput[] - connectOrCreate?: ProjectMemberCreateOrConnectWithoutProjectInput | ProjectMemberCreateOrConnectWithoutProjectInput[] - upsert?: ProjectMemberUpsertWithWhereUniqueWithoutProjectInput | ProjectMemberUpsertWithWhereUniqueWithoutProjectInput[] - createMany?: ProjectMemberCreateManyProjectInputEnvelope - set?: ProjectMemberWhereUniqueInput | ProjectMemberWhereUniqueInput[] - disconnect?: ProjectMemberWhereUniqueInput | ProjectMemberWhereUniqueInput[] - delete?: ProjectMemberWhereUniqueInput | ProjectMemberWhereUniqueInput[] - connect?: ProjectMemberWhereUniqueInput | ProjectMemberWhereUniqueInput[] - update?: ProjectMemberUpdateWithWhereUniqueWithoutProjectInput | ProjectMemberUpdateWithWhereUniqueWithoutProjectInput[] - updateMany?: ProjectMemberUpdateManyWithWhereWithoutProjectInput | ProjectMemberUpdateManyWithWhereWithoutProjectInput[] - deleteMany?: ProjectMemberScalarWhereInput | ProjectMemberScalarWhereInput[] + export type TaskCreateManyAssigneeInputEnvelope = { + data: TaskCreateManyAssigneeInput | TaskCreateManyAssigneeInput[] + skipDuplicates?: boolean } - export type ProjectCreateNestedOneWithoutProjectMemberInput = { - create?: XOR - connectOrCreate?: ProjectCreateOrConnectWithoutProjectMemberInput - connect?: ProjectWhereUniqueInput + export type TaskCreateWithoutModifierInput = { + id?: string + title: string + description?: string | null + priority: $Enums.TaskPriority + status: $Enums.TaskStatus + rate?: number | null + dueDate: Date | string + createdAt?: Date | string + updatedAt?: Date | string + deletedAt?: Date | string | null + estimatedTime?: number | null + actualTime?: number | null + order?: number + labels?: TaskCreatelabelsInput | string[] + project: ProjectCreateNestedOneWithoutTasksInput + sprint?: SprintCreateNestedOneWithoutTasksInput + creator: UserCreateNestedOneWithoutCreatedTasksInput + assignee?: UserCreateNestedOneWithoutAssignedTasksInput + attachments?: TaskAttachmentCreateNestedManyWithoutTaskInput + comments?: CommentCreateNestedManyWithoutTaskInput + timelogs?: TimelogCreateNestedManyWithoutTaskInput + dependencies?: TaskDependencyCreateNestedManyWithoutDependentTaskInput + dependentOn?: TaskDependencyCreateNestedManyWithoutTaskInput + parent?: TaskCreateNestedOneWithoutSubtasksInput + subtasks?: TaskCreateNestedManyWithoutParentInput + activityLogs?: ActivityLogCreateNestedManyWithoutTaskInput } - export type UserCreateNestedOneWithoutProjectMembershipsInput = { - create?: XOR - connectOrCreate?: UserCreateOrConnectWithoutProjectMembershipsInput - connect?: UserWhereUniqueInput + export type TaskUncheckedCreateWithoutModifierInput = { + id?: string + title: string + description?: string | null + priority: $Enums.TaskPriority + status: $Enums.TaskStatus + rate?: number | null + projectId: string + sprintId?: string | null + createdBy: string + assignedTo?: string | null + dueDate: Date | string + createdAt?: Date | string + updatedAt?: Date | string + deletedAt?: Date | string | null + estimatedTime?: number | null + actualTime?: number | null + parentId?: string | null + order?: number + labels?: TaskCreatelabelsInput | string[] + attachments?: TaskAttachmentUncheckedCreateNestedManyWithoutTaskInput + comments?: CommentUncheckedCreateNestedManyWithoutTaskInput + timelogs?: TimelogUncheckedCreateNestedManyWithoutTaskInput + dependencies?: TaskDependencyUncheckedCreateNestedManyWithoutDependentTaskInput + dependentOn?: TaskDependencyUncheckedCreateNestedManyWithoutTaskInput + subtasks?: TaskUncheckedCreateNestedManyWithoutParentInput + activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutTaskInput } - export type ProjectUpdateOneRequiredWithoutProjectMemberNestedInput = { - create?: XOR - connectOrCreate?: ProjectCreateOrConnectWithoutProjectMemberInput - upsert?: ProjectUpsertWithoutProjectMemberInput - connect?: ProjectWhereUniqueInput - update?: XOR, ProjectUncheckedUpdateWithoutProjectMemberInput> + export type TaskCreateOrConnectWithoutModifierInput = { + where: TaskWhereUniqueInput + create: XOR } - export type UserUpdateOneRequiredWithoutProjectMembershipsNestedInput = { - create?: XOR - connectOrCreate?: UserCreateOrConnectWithoutProjectMembershipsInput - upsert?: UserUpsertWithoutProjectMembershipsInput - connect?: UserWhereUniqueInput - update?: XOR, UserUncheckedUpdateWithoutProjectMembershipsInput> + export type TaskCreateManyModifierInputEnvelope = { + data: TaskCreateManyModifierInput | TaskCreateManyModifierInput[] + skipDuplicates?: boolean } - export type ProjectCreateNestedOneWithoutSprintsInput = { - create?: XOR - connectOrCreate?: ProjectCreateOrConnectWithoutSprintsInput - connect?: ProjectWhereUniqueInput + export type NotificationCreateWithoutUserInput = { + id?: string + content: string + isRead?: boolean + type: string + metadata?: NullableJsonNullValueInput | InputJsonValue + createdAt?: Date | string + deletedAt?: Date | string | null + entityType?: string | null + entityId?: string | null } - export type TaskCreateNestedManyWithoutSprintInput = { - create?: XOR | TaskCreateWithoutSprintInput[] | TaskUncheckedCreateWithoutSprintInput[] - connectOrCreate?: TaskCreateOrConnectWithoutSprintInput | TaskCreateOrConnectWithoutSprintInput[] - createMany?: TaskCreateManySprintInputEnvelope - connect?: TaskWhereUniqueInput | TaskWhereUniqueInput[] + export type NotificationUncheckedCreateWithoutUserInput = { + id?: string + content: string + isRead?: boolean + type: string + metadata?: NullableJsonNullValueInput | InputJsonValue + createdAt?: Date | string + deletedAt?: Date | string | null + entityType?: string | null + entityId?: string | null } - export type ActivityLogCreateNestedManyWithoutSprintInput = { - create?: XOR | ActivityLogCreateWithoutSprintInput[] | ActivityLogUncheckedCreateWithoutSprintInput[] - connectOrCreate?: ActivityLogCreateOrConnectWithoutSprintInput | ActivityLogCreateOrConnectWithoutSprintInput[] - createMany?: ActivityLogCreateManySprintInputEnvelope - connect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] + export type NotificationCreateOrConnectWithoutUserInput = { + where: NotificationWhereUniqueInput + create: XOR } - export type TaskUncheckedCreateNestedManyWithoutSprintInput = { - create?: XOR | TaskCreateWithoutSprintInput[] | TaskUncheckedCreateWithoutSprintInput[] - connectOrCreate?: TaskCreateOrConnectWithoutSprintInput | TaskCreateOrConnectWithoutSprintInput[] - createMany?: TaskCreateManySprintInputEnvelope - connect?: TaskWhereUniqueInput | TaskWhereUniqueInput[] + export type NotificationCreateManyUserInputEnvelope = { + data: NotificationCreateManyUserInput | NotificationCreateManyUserInput[] + skipDuplicates?: boolean } - export type ActivityLogUncheckedCreateNestedManyWithoutSprintInput = { - create?: XOR | ActivityLogCreateWithoutSprintInput[] | ActivityLogUncheckedCreateWithoutSprintInput[] - connectOrCreate?: ActivityLogCreateOrConnectWithoutSprintInput | ActivityLogCreateOrConnectWithoutSprintInput[] - createMany?: ActivityLogCreateManySprintInputEnvelope - connect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] + export type TimelogCreateWithoutUserInput = { + id?: string + startTime: Date | string + endTime: Date | string + description?: string | null + task: TaskCreateNestedOneWithoutTimelogsInput } - export type IntFieldUpdateOperationsInput = { - set?: number - increment?: number - decrement?: number - multiply?: number - divide?: number + export type TimelogUncheckedCreateWithoutUserInput = { + id?: string + taskId: string + startTime: Date | string + endTime: Date | string + description?: string | null } - export type ProjectUpdateOneRequiredWithoutSprintsNestedInput = { - create?: XOR - connectOrCreate?: ProjectCreateOrConnectWithoutSprintsInput - upsert?: ProjectUpsertWithoutSprintsInput - connect?: ProjectWhereUniqueInput - update?: XOR, ProjectUncheckedUpdateWithoutSprintsInput> + export type TimelogCreateOrConnectWithoutUserInput = { + where: TimelogWhereUniqueInput + create: XOR } - export type TaskUpdateManyWithoutSprintNestedInput = { - create?: XOR | TaskCreateWithoutSprintInput[] | TaskUncheckedCreateWithoutSprintInput[] - connectOrCreate?: TaskCreateOrConnectWithoutSprintInput | TaskCreateOrConnectWithoutSprintInput[] - upsert?: TaskUpsertWithWhereUniqueWithoutSprintInput | TaskUpsertWithWhereUniqueWithoutSprintInput[] - createMany?: TaskCreateManySprintInputEnvelope - set?: TaskWhereUniqueInput | TaskWhereUniqueInput[] - disconnect?: TaskWhereUniqueInput | TaskWhereUniqueInput[] - delete?: TaskWhereUniqueInput | TaskWhereUniqueInput[] - connect?: TaskWhereUniqueInput | TaskWhereUniqueInput[] - update?: TaskUpdateWithWhereUniqueWithoutSprintInput | TaskUpdateWithWhereUniqueWithoutSprintInput[] - updateMany?: TaskUpdateManyWithWhereWithoutSprintInput | TaskUpdateManyWithWhereWithoutSprintInput[] - deleteMany?: TaskScalarWhereInput | TaskScalarWhereInput[] + export type TimelogCreateManyUserInputEnvelope = { + data: TimelogCreateManyUserInput | TimelogCreateManyUserInput[] + skipDuplicates?: boolean } - export type ActivityLogUpdateManyWithoutSprintNestedInput = { - create?: XOR | ActivityLogCreateWithoutSprintInput[] | ActivityLogUncheckedCreateWithoutSprintInput[] - connectOrCreate?: ActivityLogCreateOrConnectWithoutSprintInput | ActivityLogCreateOrConnectWithoutSprintInput[] - upsert?: ActivityLogUpsertWithWhereUniqueWithoutSprintInput | ActivityLogUpsertWithWhereUniqueWithoutSprintInput[] - createMany?: ActivityLogCreateManySprintInputEnvelope - set?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] - disconnect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] - delete?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] - connect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] - update?: ActivityLogUpdateWithWhereUniqueWithoutSprintInput | ActivityLogUpdateWithWhereUniqueWithoutSprintInput[] - updateMany?: ActivityLogUpdateManyWithWhereWithoutSprintInput | ActivityLogUpdateManyWithWhereWithoutSprintInput[] - deleteMany?: ActivityLogScalarWhereInput | ActivityLogScalarWhereInput[] + export type CommentCreateWithoutUserInput = { + id?: string + content: string + createdAt?: Date | string + updatedAt?: Date | string + task: TaskCreateNestedOneWithoutCommentsInput } - export type TaskUncheckedUpdateManyWithoutSprintNestedInput = { - create?: XOR | TaskCreateWithoutSprintInput[] | TaskUncheckedCreateWithoutSprintInput[] - connectOrCreate?: TaskCreateOrConnectWithoutSprintInput | TaskCreateOrConnectWithoutSprintInput[] - upsert?: TaskUpsertWithWhereUniqueWithoutSprintInput | TaskUpsertWithWhereUniqueWithoutSprintInput[] - createMany?: TaskCreateManySprintInputEnvelope - set?: TaskWhereUniqueInput | TaskWhereUniqueInput[] - disconnect?: TaskWhereUniqueInput | TaskWhereUniqueInput[] - delete?: TaskWhereUniqueInput | TaskWhereUniqueInput[] - connect?: TaskWhereUniqueInput | TaskWhereUniqueInput[] - update?: TaskUpdateWithWhereUniqueWithoutSprintInput | TaskUpdateWithWhereUniqueWithoutSprintInput[] - updateMany?: TaskUpdateManyWithWhereWithoutSprintInput | TaskUpdateManyWithWhereWithoutSprintInput[] - deleteMany?: TaskScalarWhereInput | TaskScalarWhereInput[] + export type CommentUncheckedCreateWithoutUserInput = { + id?: string + taskId: string + content: string + createdAt?: Date | string + updatedAt?: Date | string } - export type ActivityLogUncheckedUpdateManyWithoutSprintNestedInput = { - create?: XOR | ActivityLogCreateWithoutSprintInput[] | ActivityLogUncheckedCreateWithoutSprintInput[] - connectOrCreate?: ActivityLogCreateOrConnectWithoutSprintInput | ActivityLogCreateOrConnectWithoutSprintInput[] - upsert?: ActivityLogUpsertWithWhereUniqueWithoutSprintInput | ActivityLogUpsertWithWhereUniqueWithoutSprintInput[] - createMany?: ActivityLogCreateManySprintInputEnvelope - set?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] - disconnect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] - delete?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] - connect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] - update?: ActivityLogUpdateWithWhereUniqueWithoutSprintInput | ActivityLogUpdateWithWhereUniqueWithoutSprintInput[] - updateMany?: ActivityLogUpdateManyWithWhereWithoutSprintInput | ActivityLogUpdateManyWithWhereWithoutSprintInput[] - deleteMany?: ActivityLogScalarWhereInput | ActivityLogScalarWhereInput[] + export type CommentCreateOrConnectWithoutUserInput = { + where: CommentWhereUniqueInput + create: XOR } - export type TaskCreatelabelsInput = { - set: string[] + export type CommentCreateManyUserInputEnvelope = { + data: CommentCreateManyUserInput | CommentCreateManyUserInput[] + skipDuplicates?: boolean } - export type ProjectCreateNestedOneWithoutTasksInput = { - create?: XOR - connectOrCreate?: ProjectCreateOrConnectWithoutTasksInput - connect?: ProjectWhereUniqueInput + export type TaskAttachmentCreateWithoutUploaderInput = { + id?: string + fileName: string + fileType: string + filePath: string + fileSize: number + createdAt?: Date | string + storageProvider?: string | null + storageKey: string + task: TaskCreateNestedOneWithoutAttachmentsInput } - export type SprintCreateNestedOneWithoutTasksInput = { - create?: XOR - connectOrCreate?: SprintCreateOrConnectWithoutTasksInput - connect?: SprintWhereUniqueInput + export type TaskAttachmentUncheckedCreateWithoutUploaderInput = { + id?: string + taskId: string + fileName: string + fileType: string + filePath: string + fileSize: number + createdAt?: Date | string + storageProvider?: string | null + storageKey: string } - export type UserCreateNestedOneWithoutCreatedTasksInput = { - create?: XOR - connectOrCreate?: UserCreateOrConnectWithoutCreatedTasksInput - connect?: UserWhereUniqueInput + export type TaskAttachmentCreateOrConnectWithoutUploaderInput = { + where: TaskAttachmentWhereUniqueInput + create: XOR } - export type UserCreateNestedOneWithoutAssignedTasksInput = { - create?: XOR - connectOrCreate?: UserCreateOrConnectWithoutAssignedTasksInput - connect?: UserWhereUniqueInput + export type TaskAttachmentCreateManyUploaderInputEnvelope = { + data: TaskAttachmentCreateManyUploaderInput | TaskAttachmentCreateManyUploaderInput[] + skipDuplicates?: boolean } - export type UserCreateNestedOneWithoutModifiedTasksInput = { - create?: XOR - connectOrCreate?: UserCreateOrConnectWithoutModifiedTasksInput - connect?: UserWhereUniqueInput + export type ReportCreateWithoutGeneratorInput = { + id?: string + name: string + description?: string | null + reportType: $Enums.ReportType + format: string + parameters?: NullableJsonNullValueInput | InputJsonValue + filePath: string + createdAt?: Date | string + status?: $Enums.ReportStatus + updatedAt?: Date | string + lastAccessedAt?: Date | string | null + expiresAt?: Date | string | null + tags?: string | null + storageProvider?: string | null + storageKey: string + organization?: OrganizationCreateNestedOneWithoutReportsInput + team?: TeamCreateNestedOneWithoutReportsInput + project?: ProjectCreateNestedOneWithoutReportsInput + department?: DepartmentCreateNestedOneWithoutReportInput + user?: UserCreateNestedOneWithoutUserReportsInput + reportSchedule?: ReportScheduleCreateNestedOneWithoutReportsInput + notifiedUsers?: ReportNotificationCreateNestedManyWithoutReportInput } - export type TaskAttachmentCreateNestedManyWithoutTaskInput = { - create?: XOR | TaskAttachmentCreateWithoutTaskInput[] | TaskAttachmentUncheckedCreateWithoutTaskInput[] - connectOrCreate?: TaskAttachmentCreateOrConnectWithoutTaskInput | TaskAttachmentCreateOrConnectWithoutTaskInput[] - createMany?: TaskAttachmentCreateManyTaskInputEnvelope - connect?: TaskAttachmentWhereUniqueInput | TaskAttachmentWhereUniqueInput[] + export type ReportUncheckedCreateWithoutGeneratorInput = { + id?: string + name: string + description?: string | null + reportType: $Enums.ReportType + format: string + parameters?: NullableJsonNullValueInput | InputJsonValue + filePath: string + createdAt?: Date | string + status?: $Enums.ReportStatus + updatedAt?: Date | string + lastAccessedAt?: Date | string | null + expiresAt?: Date | string | null + tags?: string | null + organizationId?: string | null + teamId?: string | null + projectId?: string | null + departmentId?: string | null + userId?: string | null + scheduleId?: string | null + storageProvider?: string | null + storageKey: string + notifiedUsers?: ReportNotificationUncheckedCreateNestedManyWithoutReportInput } - export type CommentCreateNestedManyWithoutTaskInput = { - create?: XOR | CommentCreateWithoutTaskInput[] | CommentUncheckedCreateWithoutTaskInput[] - connectOrCreate?: CommentCreateOrConnectWithoutTaskInput | CommentCreateOrConnectWithoutTaskInput[] - createMany?: CommentCreateManyTaskInputEnvelope - connect?: CommentWhereUniqueInput | CommentWhereUniqueInput[] + export type ReportCreateOrConnectWithoutGeneratorInput = { + where: ReportWhereUniqueInput + create: XOR } - export type TimelogCreateNestedManyWithoutTaskInput = { - create?: XOR | TimelogCreateWithoutTaskInput[] | TimelogUncheckedCreateWithoutTaskInput[] - connectOrCreate?: TimelogCreateOrConnectWithoutTaskInput | TimelogCreateOrConnectWithoutTaskInput[] - createMany?: TimelogCreateManyTaskInputEnvelope - connect?: TimelogWhereUniqueInput | TimelogWhereUniqueInput[] + export type ReportCreateManyGeneratorInputEnvelope = { + data: ReportCreateManyGeneratorInput | ReportCreateManyGeneratorInput[] + skipDuplicates?: boolean } - export type TaskDependencyCreateNestedManyWithoutDependentTaskInput = { - create?: XOR | TaskDependencyCreateWithoutDependentTaskInput[] | TaskDependencyUncheckedCreateWithoutDependentTaskInput[] - connectOrCreate?: TaskDependencyCreateOrConnectWithoutDependentTaskInput | TaskDependencyCreateOrConnectWithoutDependentTaskInput[] - createMany?: TaskDependencyCreateManyDependentTaskInputEnvelope - connect?: TaskDependencyWhereUniqueInput | TaskDependencyWhereUniqueInput[] + export type ReportCreateWithoutUserInput = { + id?: string + name: string + description?: string | null + reportType: $Enums.ReportType + format: string + parameters?: NullableJsonNullValueInput | InputJsonValue + filePath: string + createdAt?: Date | string + status?: $Enums.ReportStatus + updatedAt?: Date | string + lastAccessedAt?: Date | string | null + expiresAt?: Date | string | null + tags?: string | null + storageProvider?: string | null + storageKey: string + generator: UserCreateNestedOneWithoutGeneratedReportsInput + organization?: OrganizationCreateNestedOneWithoutReportsInput + team?: TeamCreateNestedOneWithoutReportsInput + project?: ProjectCreateNestedOneWithoutReportsInput + department?: DepartmentCreateNestedOneWithoutReportInput + reportSchedule?: ReportScheduleCreateNestedOneWithoutReportsInput + notifiedUsers?: ReportNotificationCreateNestedManyWithoutReportInput } - export type TaskDependencyCreateNestedManyWithoutTaskInput = { - create?: XOR | TaskDependencyCreateWithoutTaskInput[] | TaskDependencyUncheckedCreateWithoutTaskInput[] - connectOrCreate?: TaskDependencyCreateOrConnectWithoutTaskInput | TaskDependencyCreateOrConnectWithoutTaskInput[] - createMany?: TaskDependencyCreateManyTaskInputEnvelope - connect?: TaskDependencyWhereUniqueInput | TaskDependencyWhereUniqueInput[] + export type ReportUncheckedCreateWithoutUserInput = { + id?: string + name: string + description?: string | null + reportType: $Enums.ReportType + format: string + parameters?: NullableJsonNullValueInput | InputJsonValue + filePath: string + generatedBy: string + createdAt?: Date | string + status?: $Enums.ReportStatus + updatedAt?: Date | string + lastAccessedAt?: Date | string | null + expiresAt?: Date | string | null + tags?: string | null + organizationId?: string | null + teamId?: string | null + projectId?: string | null + departmentId?: string | null + scheduleId?: string | null + storageProvider?: string | null + storageKey: string + notifiedUsers?: ReportNotificationUncheckedCreateNestedManyWithoutReportInput } - export type TaskCreateNestedOneWithoutSubtasksInput = { - create?: XOR - connectOrCreate?: TaskCreateOrConnectWithoutSubtasksInput - connect?: TaskWhereUniqueInput + export type ReportCreateOrConnectWithoutUserInput = { + where: ReportWhereUniqueInput + create: XOR } - export type TaskCreateNestedManyWithoutParentInput = { - create?: XOR | TaskCreateWithoutParentInput[] | TaskUncheckedCreateWithoutParentInput[] - connectOrCreate?: TaskCreateOrConnectWithoutParentInput | TaskCreateOrConnectWithoutParentInput[] - createMany?: TaskCreateManyParentInputEnvelope - connect?: TaskWhereUniqueInput | TaskWhereUniqueInput[] + export type ReportCreateManyUserInputEnvelope = { + data: ReportCreateManyUserInput | ReportCreateManyUserInput[] + skipDuplicates?: boolean } - export type ActivityLogCreateNestedManyWithoutTaskInput = { - create?: XOR | ActivityLogCreateWithoutTaskInput[] | ActivityLogUncheckedCreateWithoutTaskInput[] - connectOrCreate?: ActivityLogCreateOrConnectWithoutTaskInput | ActivityLogCreateOrConnectWithoutTaskInput[] - createMany?: ActivityLogCreateManyTaskInputEnvelope - connect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] + export type PermissionCreateWithoutUserInput = { + id?: string + entityType: string + entityId: string + permissions: JsonNullValueInput | InputJsonValue + createdAt?: Date | string + updatedAt?: Date | string } - export type TaskAttachmentUncheckedCreateNestedManyWithoutTaskInput = { - create?: XOR | TaskAttachmentCreateWithoutTaskInput[] | TaskAttachmentUncheckedCreateWithoutTaskInput[] - connectOrCreate?: TaskAttachmentCreateOrConnectWithoutTaskInput | TaskAttachmentCreateOrConnectWithoutTaskInput[] - createMany?: TaskAttachmentCreateManyTaskInputEnvelope - connect?: TaskAttachmentWhereUniqueInput | TaskAttachmentWhereUniqueInput[] + export type PermissionUncheckedCreateWithoutUserInput = { + id?: string + entityType: string + entityId: string + permissions: JsonNullValueInput | InputJsonValue + createdAt?: Date | string + updatedAt?: Date | string } - export type CommentUncheckedCreateNestedManyWithoutTaskInput = { - create?: XOR | CommentCreateWithoutTaskInput[] | CommentUncheckedCreateWithoutTaskInput[] - connectOrCreate?: CommentCreateOrConnectWithoutTaskInput | CommentCreateOrConnectWithoutTaskInput[] - createMany?: CommentCreateManyTaskInputEnvelope - connect?: CommentWhereUniqueInput | CommentWhereUniqueInput[] + export type PermissionCreateOrConnectWithoutUserInput = { + where: PermissionWhereUniqueInput + create: XOR } - export type TimelogUncheckedCreateNestedManyWithoutTaskInput = { - create?: XOR | TimelogCreateWithoutTaskInput[] | TimelogUncheckedCreateWithoutTaskInput[] - connectOrCreate?: TimelogCreateOrConnectWithoutTaskInput | TimelogCreateOrConnectWithoutTaskInput[] - createMany?: TimelogCreateManyTaskInputEnvelope - connect?: TimelogWhereUniqueInput | TimelogWhereUniqueInput[] + export type PermissionCreateManyUserInputEnvelope = { + data: PermissionCreateManyUserInput | PermissionCreateManyUserInput[] + skipDuplicates?: boolean } - export type TaskDependencyUncheckedCreateNestedManyWithoutDependentTaskInput = { - create?: XOR | TaskDependencyCreateWithoutDependentTaskInput[] | TaskDependencyUncheckedCreateWithoutDependentTaskInput[] - connectOrCreate?: TaskDependencyCreateOrConnectWithoutDependentTaskInput | TaskDependencyCreateOrConnectWithoutDependentTaskInput[] - createMany?: TaskDependencyCreateManyDependentTaskInputEnvelope - connect?: TaskDependencyWhereUniqueInput | TaskDependencyWhereUniqueInput[] + export type ActivityLogCreateWithoutUserInput = { + id?: string + entityType: $Enums.EntityType + action: $Enums.ActionType + details?: NullableJsonNullValueInput | InputJsonValue + createdAt?: Date | string + organization?: OrganizationCreateNestedOneWithoutActivityLogsInput + department?: DepartmentCreateNestedOneWithoutActivityLogsInput + project?: ProjectCreateNestedOneWithoutActivityLogsInput + team?: TeamCreateNestedOneWithoutActivityLogsInput + sprint?: SprintCreateNestedOneWithoutActivityLogsInput + task?: TaskCreateNestedOneWithoutActivityLogsInput } - export type TaskDependencyUncheckedCreateNestedManyWithoutTaskInput = { - create?: XOR | TaskDependencyCreateWithoutTaskInput[] | TaskDependencyUncheckedCreateWithoutTaskInput[] - connectOrCreate?: TaskDependencyCreateOrConnectWithoutTaskInput | TaskDependencyCreateOrConnectWithoutTaskInput[] - createMany?: TaskDependencyCreateManyTaskInputEnvelope - connect?: TaskDependencyWhereUniqueInput | TaskDependencyWhereUniqueInput[] + export type ActivityLogUncheckedCreateWithoutUserInput = { + id?: string + entityType: $Enums.EntityType + action: $Enums.ActionType + organizationId?: string | null + departmentId?: string | null + projectId?: string | null + teamId?: string | null + sprintId?: string | null + taskId: string + details?: NullableJsonNullValueInput | InputJsonValue + createdAt?: Date | string } - export type TaskUncheckedCreateNestedManyWithoutParentInput = { - create?: XOR | TaskCreateWithoutParentInput[] | TaskUncheckedCreateWithoutParentInput[] - connectOrCreate?: TaskCreateOrConnectWithoutParentInput | TaskCreateOrConnectWithoutParentInput[] - createMany?: TaskCreateManyParentInputEnvelope - connect?: TaskWhereUniqueInput | TaskWhereUniqueInput[] + export type ActivityLogCreateOrConnectWithoutUserInput = { + where: ActivityLogWhereUniqueInput + create: XOR } - export type ActivityLogUncheckedCreateNestedManyWithoutTaskInput = { - create?: XOR | ActivityLogCreateWithoutTaskInput[] | ActivityLogUncheckedCreateWithoutTaskInput[] - connectOrCreate?: ActivityLogCreateOrConnectWithoutTaskInput | ActivityLogCreateOrConnectWithoutTaskInput[] - createMany?: ActivityLogCreateManyTaskInputEnvelope - connect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] + export type ActivityLogCreateManyUserInputEnvelope = { + data: ActivityLogCreateManyUserInput | ActivityLogCreateManyUserInput[] + skipDuplicates?: boolean } - export type EnumTaskStatusFieldUpdateOperationsInput = { - set?: $Enums.TaskStatus + export type ReportNotificationCreateWithoutUserInput = { + id?: string + notified?: boolean + report: ReportCreateNestedOneWithoutNotifiedUsersInput } - export type TaskUpdatelabelsInput = { - set?: string[] - push?: string | string[] + export type ReportNotificationUncheckedCreateWithoutUserInput = { + id?: string + reportId: string + notified?: boolean } - export type ProjectUpdateOneRequiredWithoutTasksNestedInput = { - create?: XOR - connectOrCreate?: ProjectCreateOrConnectWithoutTasksInput - upsert?: ProjectUpsertWithoutTasksInput - connect?: ProjectWhereUniqueInput - update?: XOR, ProjectUncheckedUpdateWithoutTasksInput> + export type ReportNotificationCreateOrConnectWithoutUserInput = { + where: ReportNotificationWhereUniqueInput + create: XOR } - export type SprintUpdateOneWithoutTasksNestedInput = { - create?: XOR - connectOrCreate?: SprintCreateOrConnectWithoutTasksInput - upsert?: SprintUpsertWithoutTasksInput - disconnect?: SprintWhereInput | boolean - delete?: SprintWhereInput | boolean - connect?: SprintWhereUniqueInput - update?: XOR, SprintUncheckedUpdateWithoutTasksInput> + export type ReportNotificationCreateManyUserInputEnvelope = { + data: ReportNotificationCreateManyUserInput | ReportNotificationCreateManyUserInput[] + skipDuplicates?: boolean } - export type UserUpdateOneRequiredWithoutCreatedTasksNestedInput = { - create?: XOR - connectOrCreate?: UserCreateOrConnectWithoutCreatedTasksInput - upsert?: UserUpsertWithoutCreatedTasksInput - connect?: UserWhereUniqueInput - update?: XOR, UserUncheckedUpdateWithoutCreatedTasksInput> + export type ChatParticipantCreateWithoutUserInput = { + id?: string + joinedAt?: Date | string + lastReadAt?: Date | string | null + isAdmin?: boolean + notificationsOn?: boolean + status?: $Enums.ParticipantStatus + chatRoom: ChatRoomCreateNestedOneWithoutParticipantsInput + lastReadMessage?: ChatMessageCreateNestedOneWithoutReadByInput } - export type UserUpdateOneWithoutAssignedTasksNestedInput = { - create?: XOR - connectOrCreate?: UserCreateOrConnectWithoutAssignedTasksInput - upsert?: UserUpsertWithoutAssignedTasksInput - disconnect?: UserWhereInput | boolean - delete?: UserWhereInput | boolean - connect?: UserWhereUniqueInput - update?: XOR, UserUncheckedUpdateWithoutAssignedTasksInput> + export type ChatParticipantUncheckedCreateWithoutUserInput = { + id?: string + chatRoomId: string + joinedAt?: Date | string + lastReadMessageId?: string | null + lastReadAt?: Date | string | null + isAdmin?: boolean + notificationsOn?: boolean + status?: $Enums.ParticipantStatus } - export type UserUpdateOneWithoutModifiedTasksNestedInput = { - create?: XOR - connectOrCreate?: UserCreateOrConnectWithoutModifiedTasksInput - upsert?: UserUpsertWithoutModifiedTasksInput - disconnect?: UserWhereInput | boolean - delete?: UserWhereInput | boolean - connect?: UserWhereUniqueInput - update?: XOR, UserUncheckedUpdateWithoutModifiedTasksInput> + export type ChatParticipantCreateOrConnectWithoutUserInput = { + where: ChatParticipantWhereUniqueInput + create: XOR } - export type TaskAttachmentUpdateManyWithoutTaskNestedInput = { - create?: XOR | TaskAttachmentCreateWithoutTaskInput[] | TaskAttachmentUncheckedCreateWithoutTaskInput[] - connectOrCreate?: TaskAttachmentCreateOrConnectWithoutTaskInput | TaskAttachmentCreateOrConnectWithoutTaskInput[] - upsert?: TaskAttachmentUpsertWithWhereUniqueWithoutTaskInput | TaskAttachmentUpsertWithWhereUniqueWithoutTaskInput[] - createMany?: TaskAttachmentCreateManyTaskInputEnvelope - set?: TaskAttachmentWhereUniqueInput | TaskAttachmentWhereUniqueInput[] - disconnect?: TaskAttachmentWhereUniqueInput | TaskAttachmentWhereUniqueInput[] - delete?: TaskAttachmentWhereUniqueInput | TaskAttachmentWhereUniqueInput[] - connect?: TaskAttachmentWhereUniqueInput | TaskAttachmentWhereUniqueInput[] - update?: TaskAttachmentUpdateWithWhereUniqueWithoutTaskInput | TaskAttachmentUpdateWithWhereUniqueWithoutTaskInput[] - updateMany?: TaskAttachmentUpdateManyWithWhereWithoutTaskInput | TaskAttachmentUpdateManyWithWhereWithoutTaskInput[] - deleteMany?: TaskAttachmentScalarWhereInput | TaskAttachmentScalarWhereInput[] + export type ChatParticipantCreateManyUserInputEnvelope = { + data: ChatParticipantCreateManyUserInput | ChatParticipantCreateManyUserInput[] + skipDuplicates?: boolean } - export type CommentUpdateManyWithoutTaskNestedInput = { - create?: XOR | CommentCreateWithoutTaskInput[] | CommentUncheckedCreateWithoutTaskInput[] - connectOrCreate?: CommentCreateOrConnectWithoutTaskInput | CommentCreateOrConnectWithoutTaskInput[] - upsert?: CommentUpsertWithWhereUniqueWithoutTaskInput | CommentUpsertWithWhereUniqueWithoutTaskInput[] - createMany?: CommentCreateManyTaskInputEnvelope - set?: CommentWhereUniqueInput | CommentWhereUniqueInput[] - disconnect?: CommentWhereUniqueInput | CommentWhereUniqueInput[] - delete?: CommentWhereUniqueInput | CommentWhereUniqueInput[] - connect?: CommentWhereUniqueInput | CommentWhereUniqueInput[] - update?: CommentUpdateWithWhereUniqueWithoutTaskInput | CommentUpdateWithWhereUniqueWithoutTaskInput[] - updateMany?: CommentUpdateManyWithWhereWithoutTaskInput | CommentUpdateManyWithWhereWithoutTaskInput[] - deleteMany?: CommentScalarWhereInput | CommentScalarWhereInput[] + export type ChatMessageCreateWithoutSenderInput = { + id?: string + content: string + contentType?: $Enums.MessageContentType + createdAt?: Date | string + updatedAt?: Date | string + isEdited?: boolean + isDeleted?: boolean + deletedAt?: Date | string | null + metadata?: NullableJsonNullValueInput | InputJsonValue + chatRoom: ChatRoomCreateNestedOneWithoutMessagesInput + replyTo?: ChatMessageCreateNestedOneWithoutRepliesInput + replies?: ChatMessageCreateNestedManyWithoutReplyToInput + attachments?: MessageAttachmentCreateNestedManyWithoutMessageInput + reactions?: MessageReactionCreateNestedManyWithoutMessageInput + readBy?: ChatParticipantCreateNestedManyWithoutLastReadMessageInput + pinnedIn?: PinnedMessageCreateNestedManyWithoutMessageInput } - export type TimelogUpdateManyWithoutTaskNestedInput = { - create?: XOR | TimelogCreateWithoutTaskInput[] | TimelogUncheckedCreateWithoutTaskInput[] - connectOrCreate?: TimelogCreateOrConnectWithoutTaskInput | TimelogCreateOrConnectWithoutTaskInput[] - upsert?: TimelogUpsertWithWhereUniqueWithoutTaskInput | TimelogUpsertWithWhereUniqueWithoutTaskInput[] - createMany?: TimelogCreateManyTaskInputEnvelope - set?: TimelogWhereUniqueInput | TimelogWhereUniqueInput[] - disconnect?: TimelogWhereUniqueInput | TimelogWhereUniqueInput[] - delete?: TimelogWhereUniqueInput | TimelogWhereUniqueInput[] - connect?: TimelogWhereUniqueInput | TimelogWhereUniqueInput[] - update?: TimelogUpdateWithWhereUniqueWithoutTaskInput | TimelogUpdateWithWhereUniqueWithoutTaskInput[] - updateMany?: TimelogUpdateManyWithWhereWithoutTaskInput | TimelogUpdateManyWithWhereWithoutTaskInput[] - deleteMany?: TimelogScalarWhereInput | TimelogScalarWhereInput[] + export type ChatMessageUncheckedCreateWithoutSenderInput = { + id?: string + chatRoomId: string + content: string + contentType?: $Enums.MessageContentType + createdAt?: Date | string + updatedAt?: Date | string + isEdited?: boolean + isDeleted?: boolean + deletedAt?: Date | string | null + replyToId?: string | null + metadata?: NullableJsonNullValueInput | InputJsonValue + replies?: ChatMessageUncheckedCreateNestedManyWithoutReplyToInput + attachments?: MessageAttachmentUncheckedCreateNestedManyWithoutMessageInput + reactions?: MessageReactionUncheckedCreateNestedManyWithoutMessageInput + readBy?: ChatParticipantUncheckedCreateNestedManyWithoutLastReadMessageInput + pinnedIn?: PinnedMessageUncheckedCreateNestedManyWithoutMessageInput } - export type TaskDependencyUpdateManyWithoutDependentTaskNestedInput = { - create?: XOR | TaskDependencyCreateWithoutDependentTaskInput[] | TaskDependencyUncheckedCreateWithoutDependentTaskInput[] - connectOrCreate?: TaskDependencyCreateOrConnectWithoutDependentTaskInput | TaskDependencyCreateOrConnectWithoutDependentTaskInput[] - upsert?: TaskDependencyUpsertWithWhereUniqueWithoutDependentTaskInput | TaskDependencyUpsertWithWhereUniqueWithoutDependentTaskInput[] - createMany?: TaskDependencyCreateManyDependentTaskInputEnvelope - set?: TaskDependencyWhereUniqueInput | TaskDependencyWhereUniqueInput[] - disconnect?: TaskDependencyWhereUniqueInput | TaskDependencyWhereUniqueInput[] - delete?: TaskDependencyWhereUniqueInput | TaskDependencyWhereUniqueInput[] - connect?: TaskDependencyWhereUniqueInput | TaskDependencyWhereUniqueInput[] - update?: TaskDependencyUpdateWithWhereUniqueWithoutDependentTaskInput | TaskDependencyUpdateWithWhereUniqueWithoutDependentTaskInput[] - updateMany?: TaskDependencyUpdateManyWithWhereWithoutDependentTaskInput | TaskDependencyUpdateManyWithWhereWithoutDependentTaskInput[] - deleteMany?: TaskDependencyScalarWhereInput | TaskDependencyScalarWhereInput[] + export type ChatMessageCreateOrConnectWithoutSenderInput = { + where: ChatMessageWhereUniqueInput + create: XOR } - export type TaskDependencyUpdateManyWithoutTaskNestedInput = { - create?: XOR | TaskDependencyCreateWithoutTaskInput[] | TaskDependencyUncheckedCreateWithoutTaskInput[] - connectOrCreate?: TaskDependencyCreateOrConnectWithoutTaskInput | TaskDependencyCreateOrConnectWithoutTaskInput[] - upsert?: TaskDependencyUpsertWithWhereUniqueWithoutTaskInput | TaskDependencyUpsertWithWhereUniqueWithoutTaskInput[] - createMany?: TaskDependencyCreateManyTaskInputEnvelope - set?: TaskDependencyWhereUniqueInput | TaskDependencyWhereUniqueInput[] - disconnect?: TaskDependencyWhereUniqueInput | TaskDependencyWhereUniqueInput[] - delete?: TaskDependencyWhereUniqueInput | TaskDependencyWhereUniqueInput[] - connect?: TaskDependencyWhereUniqueInput | TaskDependencyWhereUniqueInput[] - update?: TaskDependencyUpdateWithWhereUniqueWithoutTaskInput | TaskDependencyUpdateWithWhereUniqueWithoutTaskInput[] - updateMany?: TaskDependencyUpdateManyWithWhereWithoutTaskInput | TaskDependencyUpdateManyWithWhereWithoutTaskInput[] - deleteMany?: TaskDependencyScalarWhereInput | TaskDependencyScalarWhereInput[] + export type ChatMessageCreateManySenderInputEnvelope = { + data: ChatMessageCreateManySenderInput | ChatMessageCreateManySenderInput[] + skipDuplicates?: boolean } - export type TaskUpdateOneWithoutSubtasksNestedInput = { - create?: XOR - connectOrCreate?: TaskCreateOrConnectWithoutSubtasksInput - upsert?: TaskUpsertWithoutSubtasksInput - disconnect?: TaskWhereInput | boolean - delete?: TaskWhereInput | boolean - connect?: TaskWhereUniqueInput - update?: XOR, TaskUncheckedUpdateWithoutSubtasksInput> + export type MessageReactionCreateWithoutUserInput = { + id?: string + reaction: string + createdAt?: Date | string + message: ChatMessageCreateNestedOneWithoutReactionsInput } - export type TaskUpdateManyWithoutParentNestedInput = { - create?: XOR | TaskCreateWithoutParentInput[] | TaskUncheckedCreateWithoutParentInput[] - connectOrCreate?: TaskCreateOrConnectWithoutParentInput | TaskCreateOrConnectWithoutParentInput[] - upsert?: TaskUpsertWithWhereUniqueWithoutParentInput | TaskUpsertWithWhereUniqueWithoutParentInput[] - createMany?: TaskCreateManyParentInputEnvelope - set?: TaskWhereUniqueInput | TaskWhereUniqueInput[] - disconnect?: TaskWhereUniqueInput | TaskWhereUniqueInput[] - delete?: TaskWhereUniqueInput | TaskWhereUniqueInput[] - connect?: TaskWhereUniqueInput | TaskWhereUniqueInput[] - update?: TaskUpdateWithWhereUniqueWithoutParentInput | TaskUpdateWithWhereUniqueWithoutParentInput[] - updateMany?: TaskUpdateManyWithWhereWithoutParentInput | TaskUpdateManyWithWhereWithoutParentInput[] - deleteMany?: TaskScalarWhereInput | TaskScalarWhereInput[] + export type MessageReactionUncheckedCreateWithoutUserInput = { + id?: string + messageId: string + reaction: string + createdAt?: Date | string } - export type ActivityLogUpdateManyWithoutTaskNestedInput = { - create?: XOR | ActivityLogCreateWithoutTaskInput[] | ActivityLogUncheckedCreateWithoutTaskInput[] - connectOrCreate?: ActivityLogCreateOrConnectWithoutTaskInput | ActivityLogCreateOrConnectWithoutTaskInput[] - upsert?: ActivityLogUpsertWithWhereUniqueWithoutTaskInput | ActivityLogUpsertWithWhereUniqueWithoutTaskInput[] - createMany?: ActivityLogCreateManyTaskInputEnvelope - set?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] - disconnect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] - delete?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] - connect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] - update?: ActivityLogUpdateWithWhereUniqueWithoutTaskInput | ActivityLogUpdateWithWhereUniqueWithoutTaskInput[] - updateMany?: ActivityLogUpdateManyWithWhereWithoutTaskInput | ActivityLogUpdateManyWithWhereWithoutTaskInput[] - deleteMany?: ActivityLogScalarWhereInput | ActivityLogScalarWhereInput[] + export type MessageReactionCreateOrConnectWithoutUserInput = { + where: MessageReactionWhereUniqueInput + create: XOR } - export type TaskAttachmentUncheckedUpdateManyWithoutTaskNestedInput = { - create?: XOR | TaskAttachmentCreateWithoutTaskInput[] | TaskAttachmentUncheckedCreateWithoutTaskInput[] - connectOrCreate?: TaskAttachmentCreateOrConnectWithoutTaskInput | TaskAttachmentCreateOrConnectWithoutTaskInput[] - upsert?: TaskAttachmentUpsertWithWhereUniqueWithoutTaskInput | TaskAttachmentUpsertWithWhereUniqueWithoutTaskInput[] - createMany?: TaskAttachmentCreateManyTaskInputEnvelope - set?: TaskAttachmentWhereUniqueInput | TaskAttachmentWhereUniqueInput[] - disconnect?: TaskAttachmentWhereUniqueInput | TaskAttachmentWhereUniqueInput[] - delete?: TaskAttachmentWhereUniqueInput | TaskAttachmentWhereUniqueInput[] - connect?: TaskAttachmentWhereUniqueInput | TaskAttachmentWhereUniqueInput[] - update?: TaskAttachmentUpdateWithWhereUniqueWithoutTaskInput | TaskAttachmentUpdateWithWhereUniqueWithoutTaskInput[] - updateMany?: TaskAttachmentUpdateManyWithWhereWithoutTaskInput | TaskAttachmentUpdateManyWithWhereWithoutTaskInput[] - deleteMany?: TaskAttachmentScalarWhereInput | TaskAttachmentScalarWhereInput[] + export type MessageReactionCreateManyUserInputEnvelope = { + data: MessageReactionCreateManyUserInput | MessageReactionCreateManyUserInput[] + skipDuplicates?: boolean } - export type CommentUncheckedUpdateManyWithoutTaskNestedInput = { - create?: XOR | CommentCreateWithoutTaskInput[] | CommentUncheckedCreateWithoutTaskInput[] - connectOrCreate?: CommentCreateOrConnectWithoutTaskInput | CommentCreateOrConnectWithoutTaskInput[] - upsert?: CommentUpsertWithWhereUniqueWithoutTaskInput | CommentUpsertWithWhereUniqueWithoutTaskInput[] - createMany?: CommentCreateManyTaskInputEnvelope - set?: CommentWhereUniqueInput | CommentWhereUniqueInput[] - disconnect?: CommentWhereUniqueInput | CommentWhereUniqueInput[] - delete?: CommentWhereUniqueInput | CommentWhereUniqueInput[] - connect?: CommentWhereUniqueInput | CommentWhereUniqueInput[] - update?: CommentUpdateWithWhereUniqueWithoutTaskInput | CommentUpdateWithWhereUniqueWithoutTaskInput[] - updateMany?: CommentUpdateManyWithWhereWithoutTaskInput | CommentUpdateManyWithWhereWithoutTaskInput[] - deleteMany?: CommentScalarWhereInput | CommentScalarWhereInput[] + export type PinnedMessageCreateWithoutUserInput = { + id?: string + pinnedAt?: Date | string + chatRoom: ChatRoomCreateNestedOneWithoutPinnedMessagesInput + message: ChatMessageCreateNestedOneWithoutPinnedInInput } - export type TimelogUncheckedUpdateManyWithoutTaskNestedInput = { - create?: XOR | TimelogCreateWithoutTaskInput[] | TimelogUncheckedCreateWithoutTaskInput[] - connectOrCreate?: TimelogCreateOrConnectWithoutTaskInput | TimelogCreateOrConnectWithoutTaskInput[] - upsert?: TimelogUpsertWithWhereUniqueWithoutTaskInput | TimelogUpsertWithWhereUniqueWithoutTaskInput[] - createMany?: TimelogCreateManyTaskInputEnvelope - set?: TimelogWhereUniqueInput | TimelogWhereUniqueInput[] - disconnect?: TimelogWhereUniqueInput | TimelogWhereUniqueInput[] - delete?: TimelogWhereUniqueInput | TimelogWhereUniqueInput[] - connect?: TimelogWhereUniqueInput | TimelogWhereUniqueInput[] - update?: TimelogUpdateWithWhereUniqueWithoutTaskInput | TimelogUpdateWithWhereUniqueWithoutTaskInput[] - updateMany?: TimelogUpdateManyWithWhereWithoutTaskInput | TimelogUpdateManyWithWhereWithoutTaskInput[] - deleteMany?: TimelogScalarWhereInput | TimelogScalarWhereInput[] + export type PinnedMessageUncheckedCreateWithoutUserInput = { + id?: string + chatRoomId: string + messageId: string + pinnedAt?: Date | string } - export type TaskDependencyUncheckedUpdateManyWithoutDependentTaskNestedInput = { - create?: XOR | TaskDependencyCreateWithoutDependentTaskInput[] | TaskDependencyUncheckedCreateWithoutDependentTaskInput[] - connectOrCreate?: TaskDependencyCreateOrConnectWithoutDependentTaskInput | TaskDependencyCreateOrConnectWithoutDependentTaskInput[] - upsert?: TaskDependencyUpsertWithWhereUniqueWithoutDependentTaskInput | TaskDependencyUpsertWithWhereUniqueWithoutDependentTaskInput[] - createMany?: TaskDependencyCreateManyDependentTaskInputEnvelope - set?: TaskDependencyWhereUniqueInput | TaskDependencyWhereUniqueInput[] - disconnect?: TaskDependencyWhereUniqueInput | TaskDependencyWhereUniqueInput[] - delete?: TaskDependencyWhereUniqueInput | TaskDependencyWhereUniqueInput[] - connect?: TaskDependencyWhereUniqueInput | TaskDependencyWhereUniqueInput[] - update?: TaskDependencyUpdateWithWhereUniqueWithoutDependentTaskInput | TaskDependencyUpdateWithWhereUniqueWithoutDependentTaskInput[] - updateMany?: TaskDependencyUpdateManyWithWhereWithoutDependentTaskInput | TaskDependencyUpdateManyWithWhereWithoutDependentTaskInput[] - deleteMany?: TaskDependencyScalarWhereInput | TaskDependencyScalarWhereInput[] + export type PinnedMessageCreateOrConnectWithoutUserInput = { + where: PinnedMessageWhereUniqueInput + create: XOR } - export type TaskDependencyUncheckedUpdateManyWithoutTaskNestedInput = { - create?: XOR | TaskDependencyCreateWithoutTaskInput[] | TaskDependencyUncheckedCreateWithoutTaskInput[] - connectOrCreate?: TaskDependencyCreateOrConnectWithoutTaskInput | TaskDependencyCreateOrConnectWithoutTaskInput[] - upsert?: TaskDependencyUpsertWithWhereUniqueWithoutTaskInput | TaskDependencyUpsertWithWhereUniqueWithoutTaskInput[] - createMany?: TaskDependencyCreateManyTaskInputEnvelope - set?: TaskDependencyWhereUniqueInput | TaskDependencyWhereUniqueInput[] - disconnect?: TaskDependencyWhereUniqueInput | TaskDependencyWhereUniqueInput[] - delete?: TaskDependencyWhereUniqueInput | TaskDependencyWhereUniqueInput[] - connect?: TaskDependencyWhereUniqueInput | TaskDependencyWhereUniqueInput[] - update?: TaskDependencyUpdateWithWhereUniqueWithoutTaskInput | TaskDependencyUpdateWithWhereUniqueWithoutTaskInput[] - updateMany?: TaskDependencyUpdateManyWithWhereWithoutTaskInput | TaskDependencyUpdateManyWithWhereWithoutTaskInput[] - deleteMany?: TaskDependencyScalarWhereInput | TaskDependencyScalarWhereInput[] + export type PinnedMessageCreateManyUserInputEnvelope = { + data: PinnedMessageCreateManyUserInput | PinnedMessageCreateManyUserInput[] + skipDuplicates?: boolean } - export type TaskUncheckedUpdateManyWithoutParentNestedInput = { - create?: XOR | TaskCreateWithoutParentInput[] | TaskUncheckedCreateWithoutParentInput[] - connectOrCreate?: TaskCreateOrConnectWithoutParentInput | TaskCreateOrConnectWithoutParentInput[] - upsert?: TaskUpsertWithWhereUniqueWithoutParentInput | TaskUpsertWithWhereUniqueWithoutParentInput[] - createMany?: TaskCreateManyParentInputEnvelope - set?: TaskWhereUniqueInput | TaskWhereUniqueInput[] - disconnect?: TaskWhereUniqueInput | TaskWhereUniqueInput[] - delete?: TaskWhereUniqueInput | TaskWhereUniqueInput[] - connect?: TaskWhereUniqueInput | TaskWhereUniqueInput[] - update?: TaskUpdateWithWhereUniqueWithoutParentInput | TaskUpdateWithWhereUniqueWithoutParentInput[] - updateMany?: TaskUpdateManyWithWhereWithoutParentInput | TaskUpdateManyWithWhereWithoutParentInput[] - deleteMany?: TaskScalarWhereInput | TaskScalarWhereInput[] + export type VideoConferenceSessionCreateWithoutHostInput = { + id?: string + title: string + description?: string | null + startTime?: Date | string + endTime?: Date | string | null + status?: $Enums.SessionStatus + meetingUrl: string + recordingUrl?: string | null + settings?: NullableJsonNullValueInput | InputJsonValue + chatRoom: ChatRoomCreateNestedOneWithoutVideoSessionsInput + participants?: VideoParticipantCreateNestedManyWithoutSessionInput + recordings?: VideoRecordingCreateNestedManyWithoutSessionInput + } + + export type VideoConferenceSessionUncheckedCreateWithoutHostInput = { + id?: string + chatRoomId: string + title: string + description?: string | null + startTime?: Date | string + endTime?: Date | string | null + status?: $Enums.SessionStatus + meetingUrl: string + recordingUrl?: string | null + settings?: NullableJsonNullValueInput | InputJsonValue + participants?: VideoParticipantUncheckedCreateNestedManyWithoutSessionInput + recordings?: VideoRecordingUncheckedCreateNestedManyWithoutSessionInput } - export type ActivityLogUncheckedUpdateManyWithoutTaskNestedInput = { - create?: XOR | ActivityLogCreateWithoutTaskInput[] | ActivityLogUncheckedCreateWithoutTaskInput[] - connectOrCreate?: ActivityLogCreateOrConnectWithoutTaskInput | ActivityLogCreateOrConnectWithoutTaskInput[] - upsert?: ActivityLogUpsertWithWhereUniqueWithoutTaskInput | ActivityLogUpsertWithWhereUniqueWithoutTaskInput[] - createMany?: ActivityLogCreateManyTaskInputEnvelope - set?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] - disconnect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] - delete?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] - connect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] - update?: ActivityLogUpdateWithWhereUniqueWithoutTaskInput | ActivityLogUpdateWithWhereUniqueWithoutTaskInput[] - updateMany?: ActivityLogUpdateManyWithWhereWithoutTaskInput | ActivityLogUpdateManyWithWhereWithoutTaskInput[] - deleteMany?: ActivityLogScalarWhereInput | ActivityLogScalarWhereInput[] + export type VideoConferenceSessionCreateOrConnectWithoutHostInput = { + where: VideoConferenceSessionWhereUniqueInput + create: XOR } - export type TaskCreateNestedOneWithoutAttachmentsInput = { - create?: XOR - connectOrCreate?: TaskCreateOrConnectWithoutAttachmentsInput - connect?: TaskWhereUniqueInput + export type VideoConferenceSessionCreateManyHostInputEnvelope = { + data: VideoConferenceSessionCreateManyHostInput | VideoConferenceSessionCreateManyHostInput[] + skipDuplicates?: boolean } - export type UserCreateNestedOneWithoutTaskAttachmentsInput = { - create?: XOR - connectOrCreate?: UserCreateOrConnectWithoutTaskAttachmentsInput - connect?: UserWhereUniqueInput + export type VideoParticipantCreateWithoutUserInput = { + id?: string + joinedAt?: Date | string + leftAt?: Date | string | null + role?: $Enums.VideoParticipantRole + deviceInfo?: NullableJsonNullValueInput | InputJsonValue + connectionQuality?: string | null + hasVideo?: boolean + hasAudio?: boolean + session: VideoConferenceSessionCreateNestedOneWithoutParticipantsInput } - export type TaskUpdateOneRequiredWithoutAttachmentsNestedInput = { - create?: XOR - connectOrCreate?: TaskCreateOrConnectWithoutAttachmentsInput - upsert?: TaskUpsertWithoutAttachmentsInput - connect?: TaskWhereUniqueInput - update?: XOR, TaskUncheckedUpdateWithoutAttachmentsInput> + export type VideoParticipantUncheckedCreateWithoutUserInput = { + id?: string + sessionId: string + joinedAt?: Date | string + leftAt?: Date | string | null + role?: $Enums.VideoParticipantRole + deviceInfo?: NullableJsonNullValueInput | InputJsonValue + connectionQuality?: string | null + hasVideo?: boolean + hasAudio?: boolean } - export type UserUpdateOneRequiredWithoutTaskAttachmentsNestedInput = { - create?: XOR - connectOrCreate?: UserCreateOrConnectWithoutTaskAttachmentsInput - upsert?: UserUpsertWithoutTaskAttachmentsInput - connect?: UserWhereUniqueInput - update?: XOR, UserUncheckedUpdateWithoutTaskAttachmentsInput> + export type VideoParticipantCreateOrConnectWithoutUserInput = { + where: VideoParticipantWhereUniqueInput + create: XOR } - export type TaskCreateNestedOneWithoutDependentOnInput = { - create?: XOR - connectOrCreate?: TaskCreateOrConnectWithoutDependentOnInput - connect?: TaskWhereUniqueInput + export type VideoParticipantCreateManyUserInputEnvelope = { + data: VideoParticipantCreateManyUserInput | VideoParticipantCreateManyUserInput[] + skipDuplicates?: boolean } - export type TaskCreateNestedOneWithoutDependenciesInput = { - create?: XOR - connectOrCreate?: TaskCreateOrConnectWithoutDependenciesInput - connect?: TaskWhereUniqueInput + export type VideoRecordingCreateWithoutRecorderInput = { + id?: string + fileName: string + fileSize: number + duration: number + startTime: Date | string + endTime: Date | string + storageProvider: string + storageKey: string + processingStatus?: $Enums.ProcessingStatus + visibility?: $Enums.RecordingVisibility + createdAt?: Date | string + session: VideoConferenceSessionCreateNestedOneWithoutRecordingsInput } - export type EnumDependencyTypeFieldUpdateOperationsInput = { - set?: $Enums.DependencyType + export type VideoRecordingUncheckedCreateWithoutRecorderInput = { + id?: string + sessionId: string + fileName: string + fileSize: number + duration: number + startTime: Date | string + endTime: Date | string + storageProvider: string + storageKey: string + processingStatus?: $Enums.ProcessingStatus + visibility?: $Enums.RecordingVisibility + createdAt?: Date | string } - export type TaskUpdateOneRequiredWithoutDependentOnNestedInput = { - create?: XOR - connectOrCreate?: TaskCreateOrConnectWithoutDependentOnInput - upsert?: TaskUpsertWithoutDependentOnInput - connect?: TaskWhereUniqueInput - update?: XOR, TaskUncheckedUpdateWithoutDependentOnInput> + export type VideoRecordingCreateOrConnectWithoutRecorderInput = { + where: VideoRecordingWhereUniqueInput + create: XOR } - export type TaskUpdateOneRequiredWithoutDependenciesNestedInput = { - create?: XOR - connectOrCreate?: TaskCreateOrConnectWithoutDependenciesInput - upsert?: TaskUpsertWithoutDependenciesInput - connect?: TaskWhereUniqueInput - update?: XOR, TaskUncheckedUpdateWithoutDependenciesInput> + export type VideoRecordingCreateManyRecorderInputEnvelope = { + data: VideoRecordingCreateManyRecorderInput | VideoRecordingCreateManyRecorderInput[] + skipDuplicates?: boolean } - export type TaskTemplateCreatelabelsInput = { - set: string[] + export type DepartmentUpsertWithoutUsersInput = { + update: XOR + create: XOR + where?: DepartmentWhereInput } - export type OrganizationCreateNestedOneWithoutTemplatesInput = { - create?: XOR - connectOrCreate?: OrganizationCreateOrConnectWithoutTemplatesInput - connect?: OrganizationWhereUniqueInput + export type DepartmentUpdateToOneWithWhereWithoutUsersInput = { + where?: DepartmentWhereInput + data: XOR } - export type TaskTemplateUpdatelabelsInput = { - set?: string[] - push?: string | string[] + export type DepartmentUpdateWithoutUsersInput = { + id?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + organization?: OrganizationUpdateOneRequiredWithoutDepartmentsNestedInput + manager?: UserUpdateOneRequiredWithoutManagedDepartmentsNestedInput + teams?: TeamUpdateManyWithoutDepartmentNestedInput + activityLogs?: ActivityLogUpdateManyWithoutDepartmentNestedInput + Report?: ReportUpdateManyWithoutDepartmentNestedInput } - export type OrganizationUpdateOneRequiredWithoutTemplatesNestedInput = { - create?: XOR - connectOrCreate?: OrganizationCreateOrConnectWithoutTemplatesInput - upsert?: OrganizationUpsertWithoutTemplatesInput - connect?: OrganizationWhereUniqueInput - update?: XOR, OrganizationUncheckedUpdateWithoutTemplatesInput> + export type DepartmentUncheckedUpdateWithoutUsersInput = { + id?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + organizationId?: StringFieldUpdateOperationsInput | string + managerId?: StringFieldUpdateOperationsInput | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + teams?: TeamUncheckedUpdateManyWithoutDepartmentNestedInput + activityLogs?: ActivityLogUncheckedUpdateManyWithoutDepartmentNestedInput + Report?: ReportUncheckedUpdateManyWithoutDepartmentNestedInput } - export type TaskCreateNestedOneWithoutTimelogsInput = { - create?: XOR - connectOrCreate?: TaskCreateOrConnectWithoutTimelogsInput - connect?: TaskWhereUniqueInput + export type OrganizationUpsertWithoutUsersInput = { + update: XOR + create: XOR + where?: OrganizationWhereInput } - export type UserCreateNestedOneWithoutTimelogsInput = { - create?: XOR - connectOrCreate?: UserCreateOrConnectWithoutTimelogsInput - connect?: UserWhereUniqueInput + export type OrganizationUpdateToOneWithWhereWithoutUsersInput = { + where?: OrganizationWhereInput + data: XOR } - export type TaskUpdateOneRequiredWithoutTimelogsNestedInput = { - create?: XOR - connectOrCreate?: TaskCreateOrConnectWithoutTimelogsInput - upsert?: TaskUpsertWithoutTimelogsInput - connect?: TaskWhereUniqueInput - update?: XOR, TaskUncheckedUpdateWithoutTimelogsInput> + export type OrganizationUpdateWithoutUsersInput = { + id?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + industry?: StringFieldUpdateOperationsInput | string + sizeRange?: StringFieldUpdateOperationsInput | string + website?: NullableStringFieldUpdateOperationsInput | string | null + logoUrl?: NullableStringFieldUpdateOperationsInput | string | null + isVerified?: BoolFieldUpdateOperationsInput | boolean + status?: StringFieldUpdateOperationsInput | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + address?: NullableStringFieldUpdateOperationsInput | string | null + contactEmail?: NullableStringFieldUpdateOperationsInput | string | null + contactPhone?: NullableStringFieldUpdateOperationsInput | string | null + emailVerificationOTP?: NullableStringFieldUpdateOperationsInput | string | null + emailVerificationExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + creator?: UserUpdateOneRequiredWithoutCreatedOrganizationsNestedInput + departments?: DepartmentUpdateManyWithoutOrganizationNestedInput + teams?: TeamUpdateManyWithoutOrganizationNestedInput + projects?: ProjectUpdateManyWithoutOrganizationNestedInput + reports?: ReportUpdateManyWithoutOrganizationNestedInput + owners?: OrganizationOwnerUpdateManyWithoutOrganizationNestedInput + templates?: TaskTemplateUpdateManyWithoutOrganizationNestedInput + activityLogs?: ActivityLogUpdateManyWithoutOrganizationNestedInput } - export type UserUpdateOneRequiredWithoutTimelogsNestedInput = { - create?: XOR - connectOrCreate?: UserCreateOrConnectWithoutTimelogsInput - upsert?: UserUpsertWithoutTimelogsInput - connect?: UserWhereUniqueInput - update?: XOR, UserUncheckedUpdateWithoutTimelogsInput> + export type OrganizationUncheckedUpdateWithoutUsersInput = { + id?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + industry?: StringFieldUpdateOperationsInput | string + sizeRange?: StringFieldUpdateOperationsInput | string + website?: NullableStringFieldUpdateOperationsInput | string | null + logoUrl?: NullableStringFieldUpdateOperationsInput | string | null + isVerified?: BoolFieldUpdateOperationsInput | boolean + status?: StringFieldUpdateOperationsInput | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + createdBy?: StringFieldUpdateOperationsInput | string + address?: NullableStringFieldUpdateOperationsInput | string | null + contactEmail?: NullableStringFieldUpdateOperationsInput | string | null + contactPhone?: NullableStringFieldUpdateOperationsInput | string | null + emailVerificationOTP?: NullableStringFieldUpdateOperationsInput | string | null + emailVerificationExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + departments?: DepartmentUncheckedUpdateManyWithoutOrganizationNestedInput + teams?: TeamUncheckedUpdateManyWithoutOrganizationNestedInput + projects?: ProjectUncheckedUpdateManyWithoutOrganizationNestedInput + reports?: ReportUncheckedUpdateManyWithoutOrganizationNestedInput + owners?: OrganizationOwnerUncheckedUpdateManyWithoutOrganizationNestedInput + templates?: TaskTemplateUncheckedUpdateManyWithoutOrganizationNestedInput + activityLogs?: ActivityLogUncheckedUpdateManyWithoutOrganizationNestedInput } - export type TaskCreateNestedOneWithoutCommentsInput = { - create?: XOR - connectOrCreate?: TaskCreateOrConnectWithoutCommentsInput - connect?: TaskWhereUniqueInput + export type OrganizationUpsertWithWhereUniqueWithoutCreatorInput = { + where: OrganizationWhereUniqueInput + update: XOR + create: XOR } - export type UserCreateNestedOneWithoutCommentsInput = { - create?: XOR - connectOrCreate?: UserCreateOrConnectWithoutCommentsInput - connect?: UserWhereUniqueInput + export type OrganizationUpdateWithWhereUniqueWithoutCreatorInput = { + where: OrganizationWhereUniqueInput + data: XOR } - export type TaskUpdateOneRequiredWithoutCommentsNestedInput = { - create?: XOR - connectOrCreate?: TaskCreateOrConnectWithoutCommentsInput - upsert?: TaskUpsertWithoutCommentsInput - connect?: TaskWhereUniqueInput - update?: XOR, TaskUncheckedUpdateWithoutCommentsInput> + export type OrganizationUpdateManyWithWhereWithoutCreatorInput = { + where: OrganizationScalarWhereInput + data: XOR } - export type UserUpdateOneRequiredWithoutCommentsNestedInput = { - create?: XOR - connectOrCreate?: UserCreateOrConnectWithoutCommentsInput - upsert?: UserUpsertWithoutCommentsInput - connect?: UserWhereUniqueInput - update?: XOR, UserUncheckedUpdateWithoutCommentsInput> + export type OrganizationScalarWhereInput = { + AND?: OrganizationScalarWhereInput | OrganizationScalarWhereInput[] + OR?: OrganizationScalarWhereInput[] + NOT?: OrganizationScalarWhereInput | OrganizationScalarWhereInput[] + id?: UuidFilter<"Organization"> | string + name?: StringFilter<"Organization"> | string + description?: StringNullableFilter<"Organization"> | string | null + industry?: StringFilter<"Organization"> | string + sizeRange?: StringFilter<"Organization"> | string + website?: StringNullableFilter<"Organization"> | string | null + logoUrl?: StringNullableFilter<"Organization"> | string | null + isVerified?: BoolFilter<"Organization"> | boolean + status?: StringFilter<"Organization"> | string + createdAt?: DateTimeFilter<"Organization"> | Date | string + updatedAt?: DateTimeFilter<"Organization"> | Date | string + deletedAt?: DateTimeNullableFilter<"Organization"> | Date | string | null + createdBy?: UuidFilter<"Organization"> | string + address?: StringNullableFilter<"Organization"> | string | null + contactEmail?: StringNullableFilter<"Organization"> | string | null + contactPhone?: StringNullableFilter<"Organization"> | string | null + emailVerificationOTP?: StringNullableFilter<"Organization"> | string | null + emailVerificationExpires?: DateTimeNullableFilter<"Organization"> | Date | string | null } - export type UserCreateNestedOneWithoutActivityLogsInput = { - create?: XOR - connectOrCreate?: UserCreateOrConnectWithoutActivityLogsInput - connect?: UserWhereUniqueInput + export type OrganizationOwnerUpsertWithWhereUniqueWithoutUserInput = { + where: OrganizationOwnerWhereUniqueInput + update: XOR + create: XOR } - export type OrganizationCreateNestedOneWithoutActivityLogsInput = { - create?: XOR - connectOrCreate?: OrganizationCreateOrConnectWithoutActivityLogsInput - connect?: OrganizationWhereUniqueInput + export type OrganizationOwnerUpdateWithWhereUniqueWithoutUserInput = { + where: OrganizationOwnerWhereUniqueInput + data: XOR } - export type DepartmentCreateNestedOneWithoutActivityLogsInput = { - create?: XOR - connectOrCreate?: DepartmentCreateOrConnectWithoutActivityLogsInput - connect?: DepartmentWhereUniqueInput + export type OrganizationOwnerUpdateManyWithWhereWithoutUserInput = { + where: OrganizationOwnerScalarWhereInput + data: XOR } - export type ProjectCreateNestedOneWithoutActivityLogsInput = { - create?: XOR - connectOrCreate?: ProjectCreateOrConnectWithoutActivityLogsInput - connect?: ProjectWhereUniqueInput + export type OrganizationOwnerScalarWhereInput = { + AND?: OrganizationOwnerScalarWhereInput | OrganizationOwnerScalarWhereInput[] + OR?: OrganizationOwnerScalarWhereInput[] + NOT?: OrganizationOwnerScalarWhereInput | OrganizationOwnerScalarWhereInput[] + id?: UuidFilter<"OrganizationOwner"> | string + organizationId?: UuidFilter<"OrganizationOwner"> | string + userId?: UuidFilter<"OrganizationOwner"> | string + createdAt?: DateTimeFilter<"OrganizationOwner"> | Date | string + updatedAt?: DateTimeFilter<"OrganizationOwner"> | Date | string } - export type TeamCreateNestedOneWithoutActivityLogsInput = { - create?: XOR - connectOrCreate?: TeamCreateOrConnectWithoutActivityLogsInput - connect?: TeamWhereUniqueInput + export type DepartmentUpsertWithWhereUniqueWithoutManagerInput = { + where: DepartmentWhereUniqueInput + update: XOR + create: XOR } - export type SprintCreateNestedOneWithoutActivityLogsInput = { - create?: XOR - connectOrCreate?: SprintCreateOrConnectWithoutActivityLogsInput - connect?: SprintWhereUniqueInput + export type DepartmentUpdateWithWhereUniqueWithoutManagerInput = { + where: DepartmentWhereUniqueInput + data: XOR } - export type TaskCreateNestedOneWithoutActivityLogsInput = { - create?: XOR - connectOrCreate?: TaskCreateOrConnectWithoutActivityLogsInput - connect?: TaskWhereUniqueInput + export type DepartmentUpdateManyWithWhereWithoutManagerInput = { + where: DepartmentScalarWhereInput + data: XOR } - export type EnumEntityTypeFieldUpdateOperationsInput = { - set?: $Enums.EntityType + export type DepartmentScalarWhereInput = { + AND?: DepartmentScalarWhereInput | DepartmentScalarWhereInput[] + OR?: DepartmentScalarWhereInput[] + NOT?: DepartmentScalarWhereInput | DepartmentScalarWhereInput[] + id?: UuidFilter<"Department"> | string + name?: StringFilter<"Department"> | string + description?: StringNullableFilter<"Department"> | string | null + organizationId?: UuidFilter<"Department"> | string + managerId?: UuidFilter<"Department"> | string + createdAt?: DateTimeFilter<"Department"> | Date | string + updatedAt?: DateTimeFilter<"Department"> | Date | string + deletedAt?: DateTimeNullableFilter<"Department"> | Date | string | null } - export type EnumActionTypeFieldUpdateOperationsInput = { - set?: $Enums.ActionType + export type TeamUpsertWithWhereUniqueWithoutCreatorInput = { + where: TeamWhereUniqueInput + update: XOR + create: XOR } - export type UserUpdateOneRequiredWithoutActivityLogsNestedInput = { - create?: XOR - connectOrCreate?: UserCreateOrConnectWithoutActivityLogsInput - upsert?: UserUpsertWithoutActivityLogsInput - connect?: UserWhereUniqueInput - update?: XOR, UserUncheckedUpdateWithoutActivityLogsInput> + export type TeamUpdateWithWhereUniqueWithoutCreatorInput = { + where: TeamWhereUniqueInput + data: XOR } - export type OrganizationUpdateOneWithoutActivityLogsNestedInput = { - create?: XOR - connectOrCreate?: OrganizationCreateOrConnectWithoutActivityLogsInput - upsert?: OrganizationUpsertWithoutActivityLogsInput - disconnect?: OrganizationWhereInput | boolean - delete?: OrganizationWhereInput | boolean - connect?: OrganizationWhereUniqueInput - update?: XOR, OrganizationUncheckedUpdateWithoutActivityLogsInput> + export type TeamUpdateManyWithWhereWithoutCreatorInput = { + where: TeamScalarWhereInput + data: XOR } - export type DepartmentUpdateOneWithoutActivityLogsNestedInput = { - create?: XOR - connectOrCreate?: DepartmentCreateOrConnectWithoutActivityLogsInput - upsert?: DepartmentUpsertWithoutActivityLogsInput - disconnect?: DepartmentWhereInput | boolean - delete?: DepartmentWhereInput | boolean - connect?: DepartmentWhereUniqueInput - update?: XOR, DepartmentUncheckedUpdateWithoutActivityLogsInput> + export type TeamScalarWhereInput = { + AND?: TeamScalarWhereInput | TeamScalarWhereInput[] + OR?: TeamScalarWhereInput[] + NOT?: TeamScalarWhereInput | TeamScalarWhereInput[] + id?: UuidFilter<"Team"> | string + name?: StringFilter<"Team"> | string + description?: StringNullableFilter<"Team"> | string | null + createdBy?: UuidFilter<"Team"> | string + organizationId?: UuidFilter<"Team"> | string + departmentId?: UuidNullableFilter<"Team"> | string | null + createdAt?: DateTimeFilter<"Team"> | Date | string + updatedAt?: DateTimeFilter<"Team"> | Date | string + deletedAt?: DateTimeNullableFilter<"Team"> | Date | string | null + avatar?: StringNullableFilter<"Team"> | string | null } - export type ProjectUpdateOneWithoutActivityLogsNestedInput = { - create?: XOR - connectOrCreate?: ProjectCreateOrConnectWithoutActivityLogsInput - upsert?: ProjectUpsertWithoutActivityLogsInput - disconnect?: ProjectWhereInput | boolean - delete?: ProjectWhereInput | boolean - connect?: ProjectWhereUniqueInput - update?: XOR, ProjectUncheckedUpdateWithoutActivityLogsInput> + export type TeamMemberUpsertWithWhereUniqueWithoutUserInput = { + where: TeamMemberWhereUniqueInput + update: XOR + create: XOR } - export type TeamUpdateOneWithoutActivityLogsNestedInput = { - create?: XOR - connectOrCreate?: TeamCreateOrConnectWithoutActivityLogsInput - upsert?: TeamUpsertWithoutActivityLogsInput - disconnect?: TeamWhereInput | boolean - delete?: TeamWhereInput | boolean - connect?: TeamWhereUniqueInput - update?: XOR, TeamUncheckedUpdateWithoutActivityLogsInput> + export type TeamMemberUpdateWithWhereUniqueWithoutUserInput = { + where: TeamMemberWhereUniqueInput + data: XOR } - export type SprintUpdateOneWithoutActivityLogsNestedInput = { - create?: XOR - connectOrCreate?: SprintCreateOrConnectWithoutActivityLogsInput - upsert?: SprintUpsertWithoutActivityLogsInput - disconnect?: SprintWhereInput | boolean - delete?: SprintWhereInput | boolean - connect?: SprintWhereUniqueInput - update?: XOR, SprintUncheckedUpdateWithoutActivityLogsInput> + export type TeamMemberUpdateManyWithWhereWithoutUserInput = { + where: TeamMemberScalarWhereInput + data: XOR } - export type TaskUpdateOneWithoutActivityLogsNestedInput = { - create?: XOR - connectOrCreate?: TaskCreateOrConnectWithoutActivityLogsInput - upsert?: TaskUpsertWithoutActivityLogsInput - disconnect?: TaskWhereInput | boolean - delete?: TaskWhereInput | boolean - connect?: TaskWhereUniqueInput - update?: XOR, TaskUncheckedUpdateWithoutActivityLogsInput> + export type TeamMemberScalarWhereInput = { + AND?: TeamMemberScalarWhereInput | TeamMemberScalarWhereInput[] + OR?: TeamMemberScalarWhereInput[] + NOT?: TeamMemberScalarWhereInput | TeamMemberScalarWhereInput[] + id?: UuidFilter<"TeamMember"> | string + teamId?: UuidFilter<"TeamMember"> | string + userId?: UuidFilter<"TeamMember"> | string + role?: EnumTeamMemberRoleFilter<"TeamMember"> | $Enums.TeamMemberRole + joinedAt?: DateTimeFilter<"TeamMember"> | Date | string + isActive?: BoolFilter<"TeamMember"> | boolean + deletedAt?: DateTimeNullableFilter<"TeamMember"> | Date | string | null } - export type UserCreateNestedOneWithoutNotificationsInput = { - create?: XOR - connectOrCreate?: UserCreateOrConnectWithoutNotificationsInput - connect?: UserWhereUniqueInput + export type ProjectMemberUpsertWithWhereUniqueWithoutUserInput = { + where: ProjectMemberWhereUniqueInput + update: XOR + create: XOR } - export type UserUpdateOneRequiredWithoutNotificationsNestedInput = { - create?: XOR - connectOrCreate?: UserCreateOrConnectWithoutNotificationsInput - upsert?: UserUpsertWithoutNotificationsInput - connect?: UserWhereUniqueInput - update?: XOR, UserUncheckedUpdateWithoutNotificationsInput> + export type ProjectMemberUpdateWithWhereUniqueWithoutUserInput = { + where: ProjectMemberWhereUniqueInput + data: XOR } - export type UserCreateNestedOneWithoutGeneratedReportsInput = { - create?: XOR - connectOrCreate?: UserCreateOrConnectWithoutGeneratedReportsInput - connect?: UserWhereUniqueInput + export type ProjectMemberUpdateManyWithWhereWithoutUserInput = { + where: ProjectMemberScalarWhereInput + data: XOR } - export type OrganizationCreateNestedOneWithoutReportsInput = { - create?: XOR - connectOrCreate?: OrganizationCreateOrConnectWithoutReportsInput - connect?: OrganizationWhereUniqueInput + export type ProjectMemberScalarWhereInput = { + AND?: ProjectMemberScalarWhereInput | ProjectMemberScalarWhereInput[] + OR?: ProjectMemberScalarWhereInput[] + NOT?: ProjectMemberScalarWhereInput | ProjectMemberScalarWhereInput[] + id?: UuidFilter<"ProjectMember"> | string + projectId?: UuidFilter<"ProjectMember"> | string + userId?: UuidFilter<"ProjectMember"> | string + role?: StringFilter<"ProjectMember"> | string + isActive?: BoolFilter<"ProjectMember"> | boolean + joinedAt?: DateTimeFilter<"ProjectMember"> | Date | string + leftAt?: DateTimeNullableFilter<"ProjectMember"> | Date | string | null + deletedAt?: DateTimeNullableFilter<"ProjectMember"> | Date | string | null } - export type TeamCreateNestedOneWithoutReportsInput = { - create?: XOR - connectOrCreate?: TeamCreateOrConnectWithoutReportsInput - connect?: TeamWhereUniqueInput + export type ProjectUpsertWithWhereUniqueWithoutCreatorInput = { + where: ProjectWhereUniqueInput + update: XOR + create: XOR } - export type ProjectCreateNestedOneWithoutReportsInput = { - create?: XOR - connectOrCreate?: ProjectCreateOrConnectWithoutReportsInput - connect?: ProjectWhereUniqueInput + export type ProjectUpdateWithWhereUniqueWithoutCreatorInput = { + where: ProjectWhereUniqueInput + data: XOR } - export type DepartmentCreateNestedOneWithoutReportInput = { - create?: XOR - connectOrCreate?: DepartmentCreateOrConnectWithoutReportInput - connect?: DepartmentWhereUniqueInput + export type ProjectUpdateManyWithWhereWithoutCreatorInput = { + where: ProjectScalarWhereInput + data: XOR } - export type UserCreateNestedOneWithoutUserReportsInput = { - create?: XOR - connectOrCreate?: UserCreateOrConnectWithoutUserReportsInput - connect?: UserWhereUniqueInput + export type ProjectScalarWhereInput = { + AND?: ProjectScalarWhereInput | ProjectScalarWhereInput[] + OR?: ProjectScalarWhereInput[] + NOT?: ProjectScalarWhereInput | ProjectScalarWhereInput[] + id?: UuidFilter<"Project"> | string + name?: StringFilter<"Project"> | string + description?: StringNullableFilter<"Project"> | string | null + status?: StringFilter<"Project"> | string + createdBy?: UuidFilter<"Project"> | string + organizationId?: UuidFilter<"Project"> | string + teamId?: UuidFilter<"Project"> | string + startDate?: DateTimeFilter<"Project"> | Date | string + endDate?: DateTimeFilter<"Project"> | Date | string + createdAt?: DateTimeFilter<"Project"> | Date | string + updatedAt?: DateTimeFilter<"Project"> | Date | string + deletedAt?: DateTimeNullableFilter<"Project"> | Date | string | null + priority?: EnumTaskPriorityFilter<"Project"> | $Enums.TaskPriority + progress?: FloatNullableFilter<"Project"> | number | null + budget?: FloatNullableFilter<"Project"> | number | null + lastModifiedBy?: UuidNullableFilter<"Project"> | string | null } - export type ReportScheduleCreateNestedOneWithoutReportsInput = { - create?: XOR - connectOrCreate?: ReportScheduleCreateOrConnectWithoutReportsInput - connect?: ReportScheduleWhereUniqueInput + export type ProjectUpsertWithWhereUniqueWithoutModifierInput = { + where: ProjectWhereUniqueInput + update: XOR + create: XOR } - export type ReportNotificationCreateNestedManyWithoutReportInput = { - create?: XOR | ReportNotificationCreateWithoutReportInput[] | ReportNotificationUncheckedCreateWithoutReportInput[] - connectOrCreate?: ReportNotificationCreateOrConnectWithoutReportInput | ReportNotificationCreateOrConnectWithoutReportInput[] - createMany?: ReportNotificationCreateManyReportInputEnvelope - connect?: ReportNotificationWhereUniqueInput | ReportNotificationWhereUniqueInput[] + export type ProjectUpdateWithWhereUniqueWithoutModifierInput = { + where: ProjectWhereUniqueInput + data: XOR } - export type ReportNotificationUncheckedCreateNestedManyWithoutReportInput = { - create?: XOR | ReportNotificationCreateWithoutReportInput[] | ReportNotificationUncheckedCreateWithoutReportInput[] - connectOrCreate?: ReportNotificationCreateOrConnectWithoutReportInput | ReportNotificationCreateOrConnectWithoutReportInput[] - createMany?: ReportNotificationCreateManyReportInputEnvelope - connect?: ReportNotificationWhereUniqueInput | ReportNotificationWhereUniqueInput[] + export type ProjectUpdateManyWithWhereWithoutModifierInput = { + where: ProjectScalarWhereInput + data: XOR } - export type EnumReportTypeFieldUpdateOperationsInput = { - set?: $Enums.ReportType + export type TaskUpsertWithWhereUniqueWithoutCreatorInput = { + where: TaskWhereUniqueInput + update: XOR + create: XOR } - export type EnumReportStatusFieldUpdateOperationsInput = { - set?: $Enums.ReportStatus + export type TaskUpdateWithWhereUniqueWithoutCreatorInput = { + where: TaskWhereUniqueInput + data: XOR } - export type UserUpdateOneRequiredWithoutGeneratedReportsNestedInput = { - create?: XOR - connectOrCreate?: UserCreateOrConnectWithoutGeneratedReportsInput - upsert?: UserUpsertWithoutGeneratedReportsInput - connect?: UserWhereUniqueInput - update?: XOR, UserUncheckedUpdateWithoutGeneratedReportsInput> + export type TaskUpdateManyWithWhereWithoutCreatorInput = { + where: TaskScalarWhereInput + data: XOR } - export type OrganizationUpdateOneWithoutReportsNestedInput = { - create?: XOR - connectOrCreate?: OrganizationCreateOrConnectWithoutReportsInput - upsert?: OrganizationUpsertWithoutReportsInput - disconnect?: OrganizationWhereInput | boolean - delete?: OrganizationWhereInput | boolean - connect?: OrganizationWhereUniqueInput - update?: XOR, OrganizationUncheckedUpdateWithoutReportsInput> + export type TaskScalarWhereInput = { + AND?: TaskScalarWhereInput | TaskScalarWhereInput[] + OR?: TaskScalarWhereInput[] + NOT?: TaskScalarWhereInput | TaskScalarWhereInput[] + id?: UuidFilter<"Task"> | string + title?: StringFilter<"Task"> | string + description?: StringNullableFilter<"Task"> | string | null + priority?: EnumTaskPriorityFilter<"Task"> | $Enums.TaskPriority + status?: EnumTaskStatusFilter<"Task"> | $Enums.TaskStatus + rate?: FloatNullableFilter<"Task"> | number | null + projectId?: UuidFilter<"Task"> | string + sprintId?: UuidNullableFilter<"Task"> | string | null + createdBy?: UuidFilter<"Task"> | string + assignedTo?: UuidNullableFilter<"Task"> | string | null + dueDate?: DateTimeFilter<"Task"> | Date | string + createdAt?: DateTimeFilter<"Task"> | Date | string + updatedAt?: DateTimeFilter<"Task"> | Date | string + deletedAt?: DateTimeNullableFilter<"Task"> | Date | string | null + estimatedTime?: FloatNullableFilter<"Task"> | number | null + actualTime?: FloatNullableFilter<"Task"> | number | null + parentId?: UuidNullableFilter<"Task"> | string | null + order?: IntFilter<"Task"> | number + labels?: StringNullableListFilter<"Task"> + lastModifiedBy?: UuidNullableFilter<"Task"> | string | null } - export type TeamUpdateOneWithoutReportsNestedInput = { - create?: XOR - connectOrCreate?: TeamCreateOrConnectWithoutReportsInput - upsert?: TeamUpsertWithoutReportsInput - disconnect?: TeamWhereInput | boolean - delete?: TeamWhereInput | boolean - connect?: TeamWhereUniqueInput - update?: XOR, TeamUncheckedUpdateWithoutReportsInput> + export type TaskUpsertWithWhereUniqueWithoutAssigneeInput = { + where: TaskWhereUniqueInput + update: XOR + create: XOR } - export type ProjectUpdateOneWithoutReportsNestedInput = { - create?: XOR - connectOrCreate?: ProjectCreateOrConnectWithoutReportsInput - upsert?: ProjectUpsertWithoutReportsInput - disconnect?: ProjectWhereInput | boolean - delete?: ProjectWhereInput | boolean - connect?: ProjectWhereUniqueInput - update?: XOR, ProjectUncheckedUpdateWithoutReportsInput> + export type TaskUpdateWithWhereUniqueWithoutAssigneeInput = { + where: TaskWhereUniqueInput + data: XOR } - export type DepartmentUpdateOneWithoutReportNestedInput = { - create?: XOR - connectOrCreate?: DepartmentCreateOrConnectWithoutReportInput - upsert?: DepartmentUpsertWithoutReportInput - disconnect?: DepartmentWhereInput | boolean - delete?: DepartmentWhereInput | boolean - connect?: DepartmentWhereUniqueInput - update?: XOR, DepartmentUncheckedUpdateWithoutReportInput> + export type TaskUpdateManyWithWhereWithoutAssigneeInput = { + where: TaskScalarWhereInput + data: XOR } - export type UserUpdateOneWithoutUserReportsNestedInput = { - create?: XOR - connectOrCreate?: UserCreateOrConnectWithoutUserReportsInput - upsert?: UserUpsertWithoutUserReportsInput - disconnect?: UserWhereInput | boolean - delete?: UserWhereInput | boolean - connect?: UserWhereUniqueInput - update?: XOR, UserUncheckedUpdateWithoutUserReportsInput> + export type TaskUpsertWithWhereUniqueWithoutModifierInput = { + where: TaskWhereUniqueInput + update: XOR + create: XOR } - export type ReportScheduleUpdateOneWithoutReportsNestedInput = { - create?: XOR - connectOrCreate?: ReportScheduleCreateOrConnectWithoutReportsInput - upsert?: ReportScheduleUpsertWithoutReportsInput - disconnect?: ReportScheduleWhereInput | boolean - delete?: ReportScheduleWhereInput | boolean - connect?: ReportScheduleWhereUniqueInput - update?: XOR, ReportScheduleUncheckedUpdateWithoutReportsInput> + export type TaskUpdateWithWhereUniqueWithoutModifierInput = { + where: TaskWhereUniqueInput + data: XOR } - export type ReportNotificationUpdateManyWithoutReportNestedInput = { - create?: XOR | ReportNotificationCreateWithoutReportInput[] | ReportNotificationUncheckedCreateWithoutReportInput[] - connectOrCreate?: ReportNotificationCreateOrConnectWithoutReportInput | ReportNotificationCreateOrConnectWithoutReportInput[] - upsert?: ReportNotificationUpsertWithWhereUniqueWithoutReportInput | ReportNotificationUpsertWithWhereUniqueWithoutReportInput[] - createMany?: ReportNotificationCreateManyReportInputEnvelope - set?: ReportNotificationWhereUniqueInput | ReportNotificationWhereUniqueInput[] - disconnect?: ReportNotificationWhereUniqueInput | ReportNotificationWhereUniqueInput[] - delete?: ReportNotificationWhereUniqueInput | ReportNotificationWhereUniqueInput[] - connect?: ReportNotificationWhereUniqueInput | ReportNotificationWhereUniqueInput[] - update?: ReportNotificationUpdateWithWhereUniqueWithoutReportInput | ReportNotificationUpdateWithWhereUniqueWithoutReportInput[] - updateMany?: ReportNotificationUpdateManyWithWhereWithoutReportInput | ReportNotificationUpdateManyWithWhereWithoutReportInput[] - deleteMany?: ReportNotificationScalarWhereInput | ReportNotificationScalarWhereInput[] + export type TaskUpdateManyWithWhereWithoutModifierInput = { + where: TaskScalarWhereInput + data: XOR } - export type ReportNotificationUncheckedUpdateManyWithoutReportNestedInput = { - create?: XOR | ReportNotificationCreateWithoutReportInput[] | ReportNotificationUncheckedCreateWithoutReportInput[] - connectOrCreate?: ReportNotificationCreateOrConnectWithoutReportInput | ReportNotificationCreateOrConnectWithoutReportInput[] - upsert?: ReportNotificationUpsertWithWhereUniqueWithoutReportInput | ReportNotificationUpsertWithWhereUniqueWithoutReportInput[] - createMany?: ReportNotificationCreateManyReportInputEnvelope - set?: ReportNotificationWhereUniqueInput | ReportNotificationWhereUniqueInput[] - disconnect?: ReportNotificationWhereUniqueInput | ReportNotificationWhereUniqueInput[] - delete?: ReportNotificationWhereUniqueInput | ReportNotificationWhereUniqueInput[] - connect?: ReportNotificationWhereUniqueInput | ReportNotificationWhereUniqueInput[] - update?: ReportNotificationUpdateWithWhereUniqueWithoutReportInput | ReportNotificationUpdateWithWhereUniqueWithoutReportInput[] - updateMany?: ReportNotificationUpdateManyWithWhereWithoutReportInput | ReportNotificationUpdateManyWithWhereWithoutReportInput[] - deleteMany?: ReportNotificationScalarWhereInput | ReportNotificationScalarWhereInput[] + export type NotificationUpsertWithWhereUniqueWithoutUserInput = { + where: NotificationWhereUniqueInput + update: XOR + create: XOR } - export type ReportCreateNestedManyWithoutReportScheduleInput = { - create?: XOR | ReportCreateWithoutReportScheduleInput[] | ReportUncheckedCreateWithoutReportScheduleInput[] - connectOrCreate?: ReportCreateOrConnectWithoutReportScheduleInput | ReportCreateOrConnectWithoutReportScheduleInput[] - createMany?: ReportCreateManyReportScheduleInputEnvelope - connect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] + export type NotificationUpdateWithWhereUniqueWithoutUserInput = { + where: NotificationWhereUniqueInput + data: XOR } - export type ReportUncheckedCreateNestedManyWithoutReportScheduleInput = { - create?: XOR | ReportCreateWithoutReportScheduleInput[] | ReportUncheckedCreateWithoutReportScheduleInput[] - connectOrCreate?: ReportCreateOrConnectWithoutReportScheduleInput | ReportCreateOrConnectWithoutReportScheduleInput[] - createMany?: ReportCreateManyReportScheduleInputEnvelope - connect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] + export type NotificationUpdateManyWithWhereWithoutUserInput = { + where: NotificationScalarWhereInput + data: XOR } - export type ReportUpdateManyWithoutReportScheduleNestedInput = { - create?: XOR | ReportCreateWithoutReportScheduleInput[] | ReportUncheckedCreateWithoutReportScheduleInput[] - connectOrCreate?: ReportCreateOrConnectWithoutReportScheduleInput | ReportCreateOrConnectWithoutReportScheduleInput[] - upsert?: ReportUpsertWithWhereUniqueWithoutReportScheduleInput | ReportUpsertWithWhereUniqueWithoutReportScheduleInput[] - createMany?: ReportCreateManyReportScheduleInputEnvelope - set?: ReportWhereUniqueInput | ReportWhereUniqueInput[] - disconnect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] - delete?: ReportWhereUniqueInput | ReportWhereUniqueInput[] - connect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] - update?: ReportUpdateWithWhereUniqueWithoutReportScheduleInput | ReportUpdateWithWhereUniqueWithoutReportScheduleInput[] - updateMany?: ReportUpdateManyWithWhereWithoutReportScheduleInput | ReportUpdateManyWithWhereWithoutReportScheduleInput[] - deleteMany?: ReportScalarWhereInput | ReportScalarWhereInput[] + export type NotificationScalarWhereInput = { + AND?: NotificationScalarWhereInput | NotificationScalarWhereInput[] + OR?: NotificationScalarWhereInput[] + NOT?: NotificationScalarWhereInput | NotificationScalarWhereInput[] + id?: UuidFilter<"Notification"> | string + userId?: UuidFilter<"Notification"> | string + content?: StringFilter<"Notification"> | string + isRead?: BoolFilter<"Notification"> | boolean + type?: StringFilter<"Notification"> | string + metadata?: JsonNullableFilter<"Notification"> + createdAt?: DateTimeFilter<"Notification"> | Date | string + deletedAt?: DateTimeNullableFilter<"Notification"> | Date | string | null + entityType?: StringNullableFilter<"Notification"> | string | null + entityId?: UuidNullableFilter<"Notification"> | string | null } - export type ReportUncheckedUpdateManyWithoutReportScheduleNestedInput = { - create?: XOR | ReportCreateWithoutReportScheduleInput[] | ReportUncheckedCreateWithoutReportScheduleInput[] - connectOrCreate?: ReportCreateOrConnectWithoutReportScheduleInput | ReportCreateOrConnectWithoutReportScheduleInput[] - upsert?: ReportUpsertWithWhereUniqueWithoutReportScheduleInput | ReportUpsertWithWhereUniqueWithoutReportScheduleInput[] - createMany?: ReportCreateManyReportScheduleInputEnvelope - set?: ReportWhereUniqueInput | ReportWhereUniqueInput[] - disconnect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] - delete?: ReportWhereUniqueInput | ReportWhereUniqueInput[] - connect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] - update?: ReportUpdateWithWhereUniqueWithoutReportScheduleInput | ReportUpdateWithWhereUniqueWithoutReportScheduleInput[] - updateMany?: ReportUpdateManyWithWhereWithoutReportScheduleInput | ReportUpdateManyWithWhereWithoutReportScheduleInput[] - deleteMany?: ReportScalarWhereInput | ReportScalarWhereInput[] + export type TimelogUpsertWithWhereUniqueWithoutUserInput = { + where: TimelogWhereUniqueInput + update: XOR + create: XOR } - export type ReportCreateNestedOneWithoutNotifiedUsersInput = { - create?: XOR - connectOrCreate?: ReportCreateOrConnectWithoutNotifiedUsersInput - connect?: ReportWhereUniqueInput + export type TimelogUpdateWithWhereUniqueWithoutUserInput = { + where: TimelogWhereUniqueInput + data: XOR } - export type UserCreateNestedOneWithoutReportNotificationInput = { - create?: XOR - connectOrCreate?: UserCreateOrConnectWithoutReportNotificationInput - connect?: UserWhereUniqueInput + export type TimelogUpdateManyWithWhereWithoutUserInput = { + where: TimelogScalarWhereInput + data: XOR } - export type ReportUpdateOneRequiredWithoutNotifiedUsersNestedInput = { - create?: XOR - connectOrCreate?: ReportCreateOrConnectWithoutNotifiedUsersInput - upsert?: ReportUpsertWithoutNotifiedUsersInput - connect?: ReportWhereUniqueInput - update?: XOR, ReportUncheckedUpdateWithoutNotifiedUsersInput> + export type TimelogScalarWhereInput = { + AND?: TimelogScalarWhereInput | TimelogScalarWhereInput[] + OR?: TimelogScalarWhereInput[] + NOT?: TimelogScalarWhereInput | TimelogScalarWhereInput[] + id?: UuidFilter<"Timelog"> | string + taskId?: UuidFilter<"Timelog"> | string + userId?: UuidFilter<"Timelog"> | string + startTime?: DateTimeFilter<"Timelog"> | Date | string + endTime?: DateTimeFilter<"Timelog"> | Date | string + description?: StringNullableFilter<"Timelog"> | string | null } - export type UserUpdateOneRequiredWithoutReportNotificationNestedInput = { - create?: XOR - connectOrCreate?: UserCreateOrConnectWithoutReportNotificationInput - upsert?: UserUpsertWithoutReportNotificationInput - connect?: UserWhereUniqueInput - update?: XOR, UserUncheckedUpdateWithoutReportNotificationInput> + export type CommentUpsertWithWhereUniqueWithoutUserInput = { + where: CommentWhereUniqueInput + update: XOR + create: XOR } - export type UserCreateNestedOneWithoutPermissionsInput = { - create?: XOR - connectOrCreate?: UserCreateOrConnectWithoutPermissionsInput - connect?: UserWhereUniqueInput + export type CommentUpdateWithWhereUniqueWithoutUserInput = { + where: CommentWhereUniqueInput + data: XOR } - export type UserUpdateOneRequiredWithoutPermissionsNestedInput = { - create?: XOR - connectOrCreate?: UserCreateOrConnectWithoutPermissionsInput - upsert?: UserUpsertWithoutPermissionsInput - connect?: UserWhereUniqueInput - update?: XOR, UserUncheckedUpdateWithoutPermissionsInput> + export type CommentUpdateManyWithWhereWithoutUserInput = { + where: CommentScalarWhereInput + data: XOR } - export type NestedUuidFilter<$PrismaModel = never> = { - equals?: string | StringFieldRefInput<$PrismaModel> - in?: string[] | ListStringFieldRefInput<$PrismaModel> - notIn?: string[] | ListStringFieldRefInput<$PrismaModel> - lt?: string | StringFieldRefInput<$PrismaModel> - lte?: string | StringFieldRefInput<$PrismaModel> - gt?: string | StringFieldRefInput<$PrismaModel> - gte?: string | StringFieldRefInput<$PrismaModel> - not?: NestedUuidFilter<$PrismaModel> | string + export type CommentScalarWhereInput = { + AND?: CommentScalarWhereInput | CommentScalarWhereInput[] + OR?: CommentScalarWhereInput[] + NOT?: CommentScalarWhereInput | CommentScalarWhereInput[] + id?: UuidFilter<"Comment"> | string + taskId?: UuidFilter<"Comment"> | string + userId?: UuidFilter<"Comment"> | string + content?: StringFilter<"Comment"> | string + createdAt?: DateTimeFilter<"Comment"> | Date | string + updatedAt?: DateTimeFilter<"Comment"> | Date | string } - export type NestedStringFilter<$PrismaModel = never> = { - equals?: string | StringFieldRefInput<$PrismaModel> - in?: string[] | ListStringFieldRefInput<$PrismaModel> - notIn?: string[] | ListStringFieldRefInput<$PrismaModel> - lt?: string | StringFieldRefInput<$PrismaModel> - lte?: string | StringFieldRefInput<$PrismaModel> - gt?: string | StringFieldRefInput<$PrismaModel> - gte?: string | StringFieldRefInput<$PrismaModel> - contains?: string | StringFieldRefInput<$PrismaModel> - startsWith?: string | StringFieldRefInput<$PrismaModel> - endsWith?: string | StringFieldRefInput<$PrismaModel> - not?: NestedStringFilter<$PrismaModel> | string + export type TaskAttachmentUpsertWithWhereUniqueWithoutUploaderInput = { + where: TaskAttachmentWhereUniqueInput + update: XOR + create: XOR } - export type NestedStringNullableFilter<$PrismaModel = never> = { - equals?: string | StringFieldRefInput<$PrismaModel> | null - in?: string[] | ListStringFieldRefInput<$PrismaModel> | null - notIn?: string[] | ListStringFieldRefInput<$PrismaModel> | null - lt?: string | StringFieldRefInput<$PrismaModel> - lte?: string | StringFieldRefInput<$PrismaModel> - gt?: string | StringFieldRefInput<$PrismaModel> - gte?: string | StringFieldRefInput<$PrismaModel> - contains?: string | StringFieldRefInput<$PrismaModel> - startsWith?: string | StringFieldRefInput<$PrismaModel> - endsWith?: string | StringFieldRefInput<$PrismaModel> - not?: NestedStringNullableFilter<$PrismaModel> | string | null + export type TaskAttachmentUpdateWithWhereUniqueWithoutUploaderInput = { + where: TaskAttachmentWhereUniqueInput + data: XOR } - export type NestedEnumUserRoleFilter<$PrismaModel = never> = { - equals?: $Enums.UserRole | EnumUserRoleFieldRefInput<$PrismaModel> - in?: $Enums.UserRole[] | ListEnumUserRoleFieldRefInput<$PrismaModel> - notIn?: $Enums.UserRole[] | ListEnumUserRoleFieldRefInput<$PrismaModel> - not?: NestedEnumUserRoleFilter<$PrismaModel> | $Enums.UserRole + export type TaskAttachmentUpdateManyWithWhereWithoutUploaderInput = { + where: TaskAttachmentScalarWhereInput + data: XOR } - export type NestedUuidNullableFilter<$PrismaModel = never> = { - equals?: string | StringFieldRefInput<$PrismaModel> | null - in?: string[] | ListStringFieldRefInput<$PrismaModel> | null - notIn?: string[] | ListStringFieldRefInput<$PrismaModel> | null - lt?: string | StringFieldRefInput<$PrismaModel> - lte?: string | StringFieldRefInput<$PrismaModel> - gt?: string | StringFieldRefInput<$PrismaModel> - gte?: string | StringFieldRefInput<$PrismaModel> - not?: NestedUuidNullableFilter<$PrismaModel> | string | null + export type TaskAttachmentScalarWhereInput = { + AND?: TaskAttachmentScalarWhereInput | TaskAttachmentScalarWhereInput[] + OR?: TaskAttachmentScalarWhereInput[] + NOT?: TaskAttachmentScalarWhereInput | TaskAttachmentScalarWhereInput[] + id?: UuidFilter<"TaskAttachment"> | string + taskId?: UuidFilter<"TaskAttachment"> | string + fileName?: StringFilter<"TaskAttachment"> | string + fileType?: StringFilter<"TaskAttachment"> | string + filePath?: StringFilter<"TaskAttachment"> | string + fileSize?: IntFilter<"TaskAttachment"> | number + uploadedBy?: UuidFilter<"TaskAttachment"> | string + createdAt?: DateTimeFilter<"TaskAttachment"> | Date | string + storageProvider?: StringNullableFilter<"TaskAttachment"> | string | null + storageKey?: StringFilter<"TaskAttachment"> | string } - export type NestedBoolFilter<$PrismaModel = never> = { - equals?: boolean | BooleanFieldRefInput<$PrismaModel> - not?: NestedBoolFilter<$PrismaModel> | boolean + export type ReportUpsertWithWhereUniqueWithoutGeneratorInput = { + where: ReportWhereUniqueInput + update: XOR + create: XOR } - export type NestedDateTimeFilter<$PrismaModel = never> = { - equals?: Date | string | DateTimeFieldRefInput<$PrismaModel> - in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> - notIn?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> - lt?: Date | string | DateTimeFieldRefInput<$PrismaModel> - lte?: Date | string | DateTimeFieldRefInput<$PrismaModel> - gt?: Date | string | DateTimeFieldRefInput<$PrismaModel> - gte?: Date | string | DateTimeFieldRefInput<$PrismaModel> - not?: NestedDateTimeFilter<$PrismaModel> | Date | string + export type ReportUpdateWithWhereUniqueWithoutGeneratorInput = { + where: ReportWhereUniqueInput + data: XOR } - export type NestedDateTimeNullableFilter<$PrismaModel = never> = { - equals?: Date | string | DateTimeFieldRefInput<$PrismaModel> | null - in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null - notIn?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null - lt?: Date | string | DateTimeFieldRefInput<$PrismaModel> - lte?: Date | string | DateTimeFieldRefInput<$PrismaModel> - gt?: Date | string | DateTimeFieldRefInput<$PrismaModel> - gte?: Date | string | DateTimeFieldRefInput<$PrismaModel> - not?: NestedDateTimeNullableFilter<$PrismaModel> | Date | string | null + export type ReportUpdateManyWithWhereWithoutGeneratorInput = { + where: ReportScalarWhereInput + data: XOR } - export type NestedUuidWithAggregatesFilter<$PrismaModel = never> = { - equals?: string | StringFieldRefInput<$PrismaModel> - in?: string[] | ListStringFieldRefInput<$PrismaModel> - notIn?: string[] | ListStringFieldRefInput<$PrismaModel> - lt?: string | StringFieldRefInput<$PrismaModel> - lte?: string | StringFieldRefInput<$PrismaModel> - gt?: string | StringFieldRefInput<$PrismaModel> - gte?: string | StringFieldRefInput<$PrismaModel> - not?: NestedUuidWithAggregatesFilter<$PrismaModel> | string - _count?: NestedIntFilter<$PrismaModel> - _min?: NestedStringFilter<$PrismaModel> - _max?: NestedStringFilter<$PrismaModel> + export type ReportScalarWhereInput = { + AND?: ReportScalarWhereInput | ReportScalarWhereInput[] + OR?: ReportScalarWhereInput[] + NOT?: ReportScalarWhereInput | ReportScalarWhereInput[] + id?: UuidFilter<"Report"> | string + name?: StringFilter<"Report"> | string + description?: StringNullableFilter<"Report"> | string | null + reportType?: EnumReportTypeFilter<"Report"> | $Enums.ReportType + format?: StringFilter<"Report"> | string + parameters?: JsonNullableFilter<"Report"> + filePath?: StringFilter<"Report"> | string + generatedBy?: UuidFilter<"Report"> | string + createdAt?: DateTimeFilter<"Report"> | Date | string + status?: EnumReportStatusFilter<"Report"> | $Enums.ReportStatus + updatedAt?: DateTimeFilter<"Report"> | Date | string + lastAccessedAt?: DateTimeNullableFilter<"Report"> | Date | string | null + expiresAt?: DateTimeNullableFilter<"Report"> | Date | string | null + tags?: StringNullableFilter<"Report"> | string | null + organizationId?: UuidNullableFilter<"Report"> | string | null + teamId?: UuidNullableFilter<"Report"> | string | null + projectId?: UuidNullableFilter<"Report"> | string | null + departmentId?: UuidNullableFilter<"Report"> | string | null + userId?: UuidNullableFilter<"Report"> | string | null + scheduleId?: UuidNullableFilter<"Report"> | string | null + storageProvider?: StringNullableFilter<"Report"> | string | null + storageKey?: StringFilter<"Report"> | string } - export type NestedIntFilter<$PrismaModel = never> = { - equals?: number | IntFieldRefInput<$PrismaModel> - in?: number[] | ListIntFieldRefInput<$PrismaModel> - notIn?: number[] | ListIntFieldRefInput<$PrismaModel> - lt?: number | IntFieldRefInput<$PrismaModel> - lte?: number | IntFieldRefInput<$PrismaModel> - gt?: number | IntFieldRefInput<$PrismaModel> - gte?: number | IntFieldRefInput<$PrismaModel> - not?: NestedIntFilter<$PrismaModel> | number + export type ReportUpsertWithWhereUniqueWithoutUserInput = { + where: ReportWhereUniqueInput + update: XOR + create: XOR } - export type NestedStringWithAggregatesFilter<$PrismaModel = never> = { - equals?: string | StringFieldRefInput<$PrismaModel> - in?: string[] | ListStringFieldRefInput<$PrismaModel> - notIn?: string[] | ListStringFieldRefInput<$PrismaModel> - lt?: string | StringFieldRefInput<$PrismaModel> - lte?: string | StringFieldRefInput<$PrismaModel> - gt?: string | StringFieldRefInput<$PrismaModel> - gte?: string | StringFieldRefInput<$PrismaModel> - contains?: string | StringFieldRefInput<$PrismaModel> - startsWith?: string | StringFieldRefInput<$PrismaModel> - endsWith?: string | StringFieldRefInput<$PrismaModel> - not?: NestedStringWithAggregatesFilter<$PrismaModel> | string - _count?: NestedIntFilter<$PrismaModel> - _min?: NestedStringFilter<$PrismaModel> - _max?: NestedStringFilter<$PrismaModel> + export type ReportUpdateWithWhereUniqueWithoutUserInput = { + where: ReportWhereUniqueInput + data: XOR } - export type NestedStringNullableWithAggregatesFilter<$PrismaModel = never> = { - equals?: string | StringFieldRefInput<$PrismaModel> | null - in?: string[] | ListStringFieldRefInput<$PrismaModel> | null - notIn?: string[] | ListStringFieldRefInput<$PrismaModel> | null - lt?: string | StringFieldRefInput<$PrismaModel> - lte?: string | StringFieldRefInput<$PrismaModel> - gt?: string | StringFieldRefInput<$PrismaModel> - gte?: string | StringFieldRefInput<$PrismaModel> - contains?: string | StringFieldRefInput<$PrismaModel> - startsWith?: string | StringFieldRefInput<$PrismaModel> - endsWith?: string | StringFieldRefInput<$PrismaModel> - not?: NestedStringNullableWithAggregatesFilter<$PrismaModel> | string | null - _count?: NestedIntNullableFilter<$PrismaModel> - _min?: NestedStringNullableFilter<$PrismaModel> - _max?: NestedStringNullableFilter<$PrismaModel> + export type ReportUpdateManyWithWhereWithoutUserInput = { + where: ReportScalarWhereInput + data: XOR } - export type NestedIntNullableFilter<$PrismaModel = never> = { - equals?: number | IntFieldRefInput<$PrismaModel> | null - in?: number[] | ListIntFieldRefInput<$PrismaModel> | null - notIn?: number[] | ListIntFieldRefInput<$PrismaModel> | null - lt?: number | IntFieldRefInput<$PrismaModel> - lte?: number | IntFieldRefInput<$PrismaModel> - gt?: number | IntFieldRefInput<$PrismaModel> - gte?: number | IntFieldRefInput<$PrismaModel> - not?: NestedIntNullableFilter<$PrismaModel> | number | null + export type PermissionUpsertWithWhereUniqueWithoutUserInput = { + where: PermissionWhereUniqueInput + update: XOR + create: XOR } - export type NestedEnumUserRoleWithAggregatesFilter<$PrismaModel = never> = { - equals?: $Enums.UserRole | EnumUserRoleFieldRefInput<$PrismaModel> - in?: $Enums.UserRole[] | ListEnumUserRoleFieldRefInput<$PrismaModel> - notIn?: $Enums.UserRole[] | ListEnumUserRoleFieldRefInput<$PrismaModel> - not?: NestedEnumUserRoleWithAggregatesFilter<$PrismaModel> | $Enums.UserRole - _count?: NestedIntFilter<$PrismaModel> - _min?: NestedEnumUserRoleFilter<$PrismaModel> - _max?: NestedEnumUserRoleFilter<$PrismaModel> + export type PermissionUpdateWithWhereUniqueWithoutUserInput = { + where: PermissionWhereUniqueInput + data: XOR } - export type NestedUuidNullableWithAggregatesFilter<$PrismaModel = never> = { - equals?: string | StringFieldRefInput<$PrismaModel> | null - in?: string[] | ListStringFieldRefInput<$PrismaModel> | null - notIn?: string[] | ListStringFieldRefInput<$PrismaModel> | null - lt?: string | StringFieldRefInput<$PrismaModel> - lte?: string | StringFieldRefInput<$PrismaModel> - gt?: string | StringFieldRefInput<$PrismaModel> - gte?: string | StringFieldRefInput<$PrismaModel> - not?: NestedUuidNullableWithAggregatesFilter<$PrismaModel> | string | null - _count?: NestedIntNullableFilter<$PrismaModel> - _min?: NestedStringNullableFilter<$PrismaModel> - _max?: NestedStringNullableFilter<$PrismaModel> + export type PermissionUpdateManyWithWhereWithoutUserInput = { + where: PermissionScalarWhereInput + data: XOR } - export type NestedBoolWithAggregatesFilter<$PrismaModel = never> = { - equals?: boolean | BooleanFieldRefInput<$PrismaModel> - not?: NestedBoolWithAggregatesFilter<$PrismaModel> | boolean - _count?: NestedIntFilter<$PrismaModel> - _min?: NestedBoolFilter<$PrismaModel> - _max?: NestedBoolFilter<$PrismaModel> + export type PermissionScalarWhereInput = { + AND?: PermissionScalarWhereInput | PermissionScalarWhereInput[] + OR?: PermissionScalarWhereInput[] + NOT?: PermissionScalarWhereInput | PermissionScalarWhereInput[] + id?: UuidFilter<"Permission"> | string + userId?: UuidFilter<"Permission"> | string + entityType?: StringFilter<"Permission"> | string + entityId?: UuidFilter<"Permission"> | string + permissions?: JsonFilter<"Permission"> + createdAt?: DateTimeFilter<"Permission"> | Date | string + updatedAt?: DateTimeFilter<"Permission"> | Date | string } - export type NestedDateTimeWithAggregatesFilter<$PrismaModel = never> = { - equals?: Date | string | DateTimeFieldRefInput<$PrismaModel> - in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> - notIn?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> - lt?: Date | string | DateTimeFieldRefInput<$PrismaModel> - lte?: Date | string | DateTimeFieldRefInput<$PrismaModel> - gt?: Date | string | DateTimeFieldRefInput<$PrismaModel> - gte?: Date | string | DateTimeFieldRefInput<$PrismaModel> - not?: NestedDateTimeWithAggregatesFilter<$PrismaModel> | Date | string - _count?: NestedIntFilter<$PrismaModel> - _min?: NestedDateTimeFilter<$PrismaModel> - _max?: NestedDateTimeFilter<$PrismaModel> + export type ActivityLogUpsertWithWhereUniqueWithoutUserInput = { + where: ActivityLogWhereUniqueInput + update: XOR + create: XOR } - export type NestedDateTimeNullableWithAggregatesFilter<$PrismaModel = never> = { - equals?: Date | string | DateTimeFieldRefInput<$PrismaModel> | null - in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null - notIn?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null - lt?: Date | string | DateTimeFieldRefInput<$PrismaModel> - lte?: Date | string | DateTimeFieldRefInput<$PrismaModel> - gt?: Date | string | DateTimeFieldRefInput<$PrismaModel> - gte?: Date | string | DateTimeFieldRefInput<$PrismaModel> - not?: NestedDateTimeNullableWithAggregatesFilter<$PrismaModel> | Date | string | null - _count?: NestedIntNullableFilter<$PrismaModel> - _min?: NestedDateTimeNullableFilter<$PrismaModel> - _max?: NestedDateTimeNullableFilter<$PrismaModel> + export type ActivityLogUpdateWithWhereUniqueWithoutUserInput = { + where: ActivityLogWhereUniqueInput + data: XOR } - export type NestedJsonNullableFilter<$PrismaModel = never> = - | PatchUndefined< - Either>, Exclude>, 'path'>>, - Required> - > - | OptionalFlat>, 'path'>> - export type NestedJsonNullableFilterBase<$PrismaModel = never> = { - equals?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter - path?: string[] - mode?: QueryMode | EnumQueryModeFieldRefInput<$PrismaModel> - string_contains?: string | StringFieldRefInput<$PrismaModel> - string_starts_with?: string | StringFieldRefInput<$PrismaModel> - string_ends_with?: string | StringFieldRefInput<$PrismaModel> - array_starts_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null - array_ends_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null - array_contains?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null - lt?: InputJsonValue | JsonFieldRefInput<$PrismaModel> - lte?: InputJsonValue | JsonFieldRefInput<$PrismaModel> - gt?: InputJsonValue | JsonFieldRefInput<$PrismaModel> - gte?: InputJsonValue | JsonFieldRefInput<$PrismaModel> - not?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter + export type ActivityLogUpdateManyWithWhereWithoutUserInput = { + where: ActivityLogScalarWhereInput + data: XOR } - export type NestedEnumTeamMemberRoleFilter<$PrismaModel = never> = { - equals?: $Enums.TeamMemberRole | EnumTeamMemberRoleFieldRefInput<$PrismaModel> - in?: $Enums.TeamMemberRole[] | ListEnumTeamMemberRoleFieldRefInput<$PrismaModel> - notIn?: $Enums.TeamMemberRole[] | ListEnumTeamMemberRoleFieldRefInput<$PrismaModel> - not?: NestedEnumTeamMemberRoleFilter<$PrismaModel> | $Enums.TeamMemberRole + export type ActivityLogScalarWhereInput = { + AND?: ActivityLogScalarWhereInput | ActivityLogScalarWhereInput[] + OR?: ActivityLogScalarWhereInput[] + NOT?: ActivityLogScalarWhereInput | ActivityLogScalarWhereInput[] + id?: UuidFilter<"ActivityLog"> | string + entityType?: EnumEntityTypeFilter<"ActivityLog"> | $Enums.EntityType + action?: EnumActionTypeFilter<"ActivityLog"> | $Enums.ActionType + userId?: UuidFilter<"ActivityLog"> | string + organizationId?: UuidNullableFilter<"ActivityLog"> | string | null + departmentId?: UuidNullableFilter<"ActivityLog"> | string | null + projectId?: UuidNullableFilter<"ActivityLog"> | string | null + teamId?: UuidNullableFilter<"ActivityLog"> | string | null + sprintId?: UuidNullableFilter<"ActivityLog"> | string | null + taskId?: UuidFilter<"ActivityLog"> | string + details?: JsonNullableFilter<"ActivityLog"> + createdAt?: DateTimeFilter<"ActivityLog"> | Date | string } - export type NestedEnumTeamMemberRoleWithAggregatesFilter<$PrismaModel = never> = { - equals?: $Enums.TeamMemberRole | EnumTeamMemberRoleFieldRefInput<$PrismaModel> - in?: $Enums.TeamMemberRole[] | ListEnumTeamMemberRoleFieldRefInput<$PrismaModel> - notIn?: $Enums.TeamMemberRole[] | ListEnumTeamMemberRoleFieldRefInput<$PrismaModel> - not?: NestedEnumTeamMemberRoleWithAggregatesFilter<$PrismaModel> | $Enums.TeamMemberRole - _count?: NestedIntFilter<$PrismaModel> - _min?: NestedEnumTeamMemberRoleFilter<$PrismaModel> - _max?: NestedEnumTeamMemberRoleFilter<$PrismaModel> + export type ReportNotificationUpsertWithWhereUniqueWithoutUserInput = { + where: ReportNotificationWhereUniqueInput + update: XOR + create: XOR } - export type NestedEnumTaskPriorityFilter<$PrismaModel = never> = { - equals?: $Enums.TaskPriority | EnumTaskPriorityFieldRefInput<$PrismaModel> - in?: $Enums.TaskPriority[] | ListEnumTaskPriorityFieldRefInput<$PrismaModel> - notIn?: $Enums.TaskPriority[] | ListEnumTaskPriorityFieldRefInput<$PrismaModel> - not?: NestedEnumTaskPriorityFilter<$PrismaModel> | $Enums.TaskPriority + export type ReportNotificationUpdateWithWhereUniqueWithoutUserInput = { + where: ReportNotificationWhereUniqueInput + data: XOR } - export type NestedFloatNullableFilter<$PrismaModel = never> = { - equals?: number | FloatFieldRefInput<$PrismaModel> | null - in?: number[] | ListFloatFieldRefInput<$PrismaModel> | null - notIn?: number[] | ListFloatFieldRefInput<$PrismaModel> | null - lt?: number | FloatFieldRefInput<$PrismaModel> - lte?: number | FloatFieldRefInput<$PrismaModel> - gt?: number | FloatFieldRefInput<$PrismaModel> - gte?: number | FloatFieldRefInput<$PrismaModel> - not?: NestedFloatNullableFilter<$PrismaModel> | number | null + export type ReportNotificationUpdateManyWithWhereWithoutUserInput = { + where: ReportNotificationScalarWhereInput + data: XOR } - export type NestedEnumTaskPriorityWithAggregatesFilter<$PrismaModel = never> = { - equals?: $Enums.TaskPriority | EnumTaskPriorityFieldRefInput<$PrismaModel> - in?: $Enums.TaskPriority[] | ListEnumTaskPriorityFieldRefInput<$PrismaModel> - notIn?: $Enums.TaskPriority[] | ListEnumTaskPriorityFieldRefInput<$PrismaModel> - not?: NestedEnumTaskPriorityWithAggregatesFilter<$PrismaModel> | $Enums.TaskPriority - _count?: NestedIntFilter<$PrismaModel> - _min?: NestedEnumTaskPriorityFilter<$PrismaModel> - _max?: NestedEnumTaskPriorityFilter<$PrismaModel> + export type ReportNotificationScalarWhereInput = { + AND?: ReportNotificationScalarWhereInput | ReportNotificationScalarWhereInput[] + OR?: ReportNotificationScalarWhereInput[] + NOT?: ReportNotificationScalarWhereInput | ReportNotificationScalarWhereInput[] + id?: UuidFilter<"ReportNotification"> | string + reportId?: UuidFilter<"ReportNotification"> | string + userId?: UuidFilter<"ReportNotification"> | string + notified?: BoolFilter<"ReportNotification"> | boolean } - export type NestedFloatNullableWithAggregatesFilter<$PrismaModel = never> = { - equals?: number | FloatFieldRefInput<$PrismaModel> | null - in?: number[] | ListFloatFieldRefInput<$PrismaModel> | null - notIn?: number[] | ListFloatFieldRefInput<$PrismaModel> | null - lt?: number | FloatFieldRefInput<$PrismaModel> - lte?: number | FloatFieldRefInput<$PrismaModel> - gt?: number | FloatFieldRefInput<$PrismaModel> - gte?: number | FloatFieldRefInput<$PrismaModel> - not?: NestedFloatNullableWithAggregatesFilter<$PrismaModel> | number | null - _count?: NestedIntNullableFilter<$PrismaModel> - _avg?: NestedFloatNullableFilter<$PrismaModel> - _sum?: NestedFloatNullableFilter<$PrismaModel> - _min?: NestedFloatNullableFilter<$PrismaModel> - _max?: NestedFloatNullableFilter<$PrismaModel> + export type ChatParticipantUpsertWithWhereUniqueWithoutUserInput = { + where: ChatParticipantWhereUniqueInput + update: XOR + create: XOR } - export type NestedIntWithAggregatesFilter<$PrismaModel = never> = { - equals?: number | IntFieldRefInput<$PrismaModel> - in?: number[] | ListIntFieldRefInput<$PrismaModel> - notIn?: number[] | ListIntFieldRefInput<$PrismaModel> - lt?: number | IntFieldRefInput<$PrismaModel> - lte?: number | IntFieldRefInput<$PrismaModel> - gt?: number | IntFieldRefInput<$PrismaModel> - gte?: number | IntFieldRefInput<$PrismaModel> - not?: NestedIntWithAggregatesFilter<$PrismaModel> | number - _count?: NestedIntFilter<$PrismaModel> - _avg?: NestedFloatFilter<$PrismaModel> - _sum?: NestedIntFilter<$PrismaModel> - _min?: NestedIntFilter<$PrismaModel> - _max?: NestedIntFilter<$PrismaModel> + export type ChatParticipantUpdateWithWhereUniqueWithoutUserInput = { + where: ChatParticipantWhereUniqueInput + data: XOR } - export type NestedFloatFilter<$PrismaModel = never> = { - equals?: number | FloatFieldRefInput<$PrismaModel> - in?: number[] | ListFloatFieldRefInput<$PrismaModel> - notIn?: number[] | ListFloatFieldRefInput<$PrismaModel> - lt?: number | FloatFieldRefInput<$PrismaModel> - lte?: number | FloatFieldRefInput<$PrismaModel> - gt?: number | FloatFieldRefInput<$PrismaModel> - gte?: number | FloatFieldRefInput<$PrismaModel> - not?: NestedFloatFilter<$PrismaModel> | number + export type ChatParticipantUpdateManyWithWhereWithoutUserInput = { + where: ChatParticipantScalarWhereInput + data: XOR } - export type NestedEnumTaskStatusFilter<$PrismaModel = never> = { - equals?: $Enums.TaskStatus | EnumTaskStatusFieldRefInput<$PrismaModel> - in?: $Enums.TaskStatus[] | ListEnumTaskStatusFieldRefInput<$PrismaModel> - notIn?: $Enums.TaskStatus[] | ListEnumTaskStatusFieldRefInput<$PrismaModel> - not?: NestedEnumTaskStatusFilter<$PrismaModel> | $Enums.TaskStatus + export type ChatParticipantScalarWhereInput = { + AND?: ChatParticipantScalarWhereInput | ChatParticipantScalarWhereInput[] + OR?: ChatParticipantScalarWhereInput[] + NOT?: ChatParticipantScalarWhereInput | ChatParticipantScalarWhereInput[] + id?: UuidFilter<"ChatParticipant"> | string + chatRoomId?: UuidFilter<"ChatParticipant"> | string + userId?: UuidFilter<"ChatParticipant"> | string + joinedAt?: DateTimeFilter<"ChatParticipant"> | Date | string + lastReadMessageId?: UuidNullableFilter<"ChatParticipant"> | string | null + lastReadAt?: DateTimeNullableFilter<"ChatParticipant"> | Date | string | null + isAdmin?: BoolFilter<"ChatParticipant"> | boolean + notificationsOn?: BoolFilter<"ChatParticipant"> | boolean + status?: EnumParticipantStatusFilter<"ChatParticipant"> | $Enums.ParticipantStatus } - export type NestedEnumTaskStatusWithAggregatesFilter<$PrismaModel = never> = { - equals?: $Enums.TaskStatus | EnumTaskStatusFieldRefInput<$PrismaModel> - in?: $Enums.TaskStatus[] | ListEnumTaskStatusFieldRefInput<$PrismaModel> - notIn?: $Enums.TaskStatus[] | ListEnumTaskStatusFieldRefInput<$PrismaModel> - not?: NestedEnumTaskStatusWithAggregatesFilter<$PrismaModel> | $Enums.TaskStatus - _count?: NestedIntFilter<$PrismaModel> - _min?: NestedEnumTaskStatusFilter<$PrismaModel> - _max?: NestedEnumTaskStatusFilter<$PrismaModel> + export type ChatMessageUpsertWithWhereUniqueWithoutSenderInput = { + where: ChatMessageWhereUniqueInput + update: XOR + create: XOR } - export type NestedEnumDependencyTypeFilter<$PrismaModel = never> = { - equals?: $Enums.DependencyType | EnumDependencyTypeFieldRefInput<$PrismaModel> - in?: $Enums.DependencyType[] | ListEnumDependencyTypeFieldRefInput<$PrismaModel> - notIn?: $Enums.DependencyType[] | ListEnumDependencyTypeFieldRefInput<$PrismaModel> - not?: NestedEnumDependencyTypeFilter<$PrismaModel> | $Enums.DependencyType + export type ChatMessageUpdateWithWhereUniqueWithoutSenderInput = { + where: ChatMessageWhereUniqueInput + data: XOR } - export type NestedEnumDependencyTypeWithAggregatesFilter<$PrismaModel = never> = { - equals?: $Enums.DependencyType | EnumDependencyTypeFieldRefInput<$PrismaModel> - in?: $Enums.DependencyType[] | ListEnumDependencyTypeFieldRefInput<$PrismaModel> - notIn?: $Enums.DependencyType[] | ListEnumDependencyTypeFieldRefInput<$PrismaModel> - not?: NestedEnumDependencyTypeWithAggregatesFilter<$PrismaModel> | $Enums.DependencyType - _count?: NestedIntFilter<$PrismaModel> - _min?: NestedEnumDependencyTypeFilter<$PrismaModel> - _max?: NestedEnumDependencyTypeFilter<$PrismaModel> + export type ChatMessageUpdateManyWithWhereWithoutSenderInput = { + where: ChatMessageScalarWhereInput + data: XOR } - export type NestedEnumEntityTypeFilter<$PrismaModel = never> = { - equals?: $Enums.EntityType | EnumEntityTypeFieldRefInput<$PrismaModel> - in?: $Enums.EntityType[] | ListEnumEntityTypeFieldRefInput<$PrismaModel> - notIn?: $Enums.EntityType[] | ListEnumEntityTypeFieldRefInput<$PrismaModel> - not?: NestedEnumEntityTypeFilter<$PrismaModel> | $Enums.EntityType + export type ChatMessageScalarWhereInput = { + AND?: ChatMessageScalarWhereInput | ChatMessageScalarWhereInput[] + OR?: ChatMessageScalarWhereInput[] + NOT?: ChatMessageScalarWhereInput | ChatMessageScalarWhereInput[] + id?: UuidFilter<"ChatMessage"> | string + chatRoomId?: UuidFilter<"ChatMessage"> | string + senderId?: UuidFilter<"ChatMessage"> | string + content?: StringFilter<"ChatMessage"> | string + contentType?: EnumMessageContentTypeFilter<"ChatMessage"> | $Enums.MessageContentType + createdAt?: DateTimeFilter<"ChatMessage"> | Date | string + updatedAt?: DateTimeFilter<"ChatMessage"> | Date | string + isEdited?: BoolFilter<"ChatMessage"> | boolean + isDeleted?: BoolFilter<"ChatMessage"> | boolean + deletedAt?: DateTimeNullableFilter<"ChatMessage"> | Date | string | null + replyToId?: UuidNullableFilter<"ChatMessage"> | string | null + metadata?: JsonNullableFilter<"ChatMessage"> } - export type NestedEnumActionTypeFilter<$PrismaModel = never> = { - equals?: $Enums.ActionType | EnumActionTypeFieldRefInput<$PrismaModel> - in?: $Enums.ActionType[] | ListEnumActionTypeFieldRefInput<$PrismaModel> - notIn?: $Enums.ActionType[] | ListEnumActionTypeFieldRefInput<$PrismaModel> - not?: NestedEnumActionTypeFilter<$PrismaModel> | $Enums.ActionType + export type MessageReactionUpsertWithWhereUniqueWithoutUserInput = { + where: MessageReactionWhereUniqueInput + update: XOR + create: XOR } - export type NestedEnumEntityTypeWithAggregatesFilter<$PrismaModel = never> = { - equals?: $Enums.EntityType | EnumEntityTypeFieldRefInput<$PrismaModel> - in?: $Enums.EntityType[] | ListEnumEntityTypeFieldRefInput<$PrismaModel> - notIn?: $Enums.EntityType[] | ListEnumEntityTypeFieldRefInput<$PrismaModel> - not?: NestedEnumEntityTypeWithAggregatesFilter<$PrismaModel> | $Enums.EntityType - _count?: NestedIntFilter<$PrismaModel> - _min?: NestedEnumEntityTypeFilter<$PrismaModel> - _max?: NestedEnumEntityTypeFilter<$PrismaModel> + export type MessageReactionUpdateWithWhereUniqueWithoutUserInput = { + where: MessageReactionWhereUniqueInput + data: XOR } - export type NestedEnumActionTypeWithAggregatesFilter<$PrismaModel = never> = { - equals?: $Enums.ActionType | EnumActionTypeFieldRefInput<$PrismaModel> - in?: $Enums.ActionType[] | ListEnumActionTypeFieldRefInput<$PrismaModel> - notIn?: $Enums.ActionType[] | ListEnumActionTypeFieldRefInput<$PrismaModel> - not?: NestedEnumActionTypeWithAggregatesFilter<$PrismaModel> | $Enums.ActionType - _count?: NestedIntFilter<$PrismaModel> - _min?: NestedEnumActionTypeFilter<$PrismaModel> - _max?: NestedEnumActionTypeFilter<$PrismaModel> + export type MessageReactionUpdateManyWithWhereWithoutUserInput = { + where: MessageReactionScalarWhereInput + data: XOR } - export type NestedEnumReportTypeFilter<$PrismaModel = never> = { - equals?: $Enums.ReportType | EnumReportTypeFieldRefInput<$PrismaModel> - in?: $Enums.ReportType[] | ListEnumReportTypeFieldRefInput<$PrismaModel> - notIn?: $Enums.ReportType[] | ListEnumReportTypeFieldRefInput<$PrismaModel> - not?: NestedEnumReportTypeFilter<$PrismaModel> | $Enums.ReportType + export type MessageReactionScalarWhereInput = { + AND?: MessageReactionScalarWhereInput | MessageReactionScalarWhereInput[] + OR?: MessageReactionScalarWhereInput[] + NOT?: MessageReactionScalarWhereInput | MessageReactionScalarWhereInput[] + id?: UuidFilter<"MessageReaction"> | string + messageId?: UuidFilter<"MessageReaction"> | string + userId?: UuidFilter<"MessageReaction"> | string + reaction?: StringFilter<"MessageReaction"> | string + createdAt?: DateTimeFilter<"MessageReaction"> | Date | string } - export type NestedEnumReportStatusFilter<$PrismaModel = never> = { - equals?: $Enums.ReportStatus | EnumReportStatusFieldRefInput<$PrismaModel> - in?: $Enums.ReportStatus[] | ListEnumReportStatusFieldRefInput<$PrismaModel> - notIn?: $Enums.ReportStatus[] | ListEnumReportStatusFieldRefInput<$PrismaModel> - not?: NestedEnumReportStatusFilter<$PrismaModel> | $Enums.ReportStatus + export type PinnedMessageUpsertWithWhereUniqueWithoutUserInput = { + where: PinnedMessageWhereUniqueInput + update: XOR + create: XOR } - export type NestedEnumReportTypeWithAggregatesFilter<$PrismaModel = never> = { - equals?: $Enums.ReportType | EnumReportTypeFieldRefInput<$PrismaModel> - in?: $Enums.ReportType[] | ListEnumReportTypeFieldRefInput<$PrismaModel> - notIn?: $Enums.ReportType[] | ListEnumReportTypeFieldRefInput<$PrismaModel> - not?: NestedEnumReportTypeWithAggregatesFilter<$PrismaModel> | $Enums.ReportType - _count?: NestedIntFilter<$PrismaModel> - _min?: NestedEnumReportTypeFilter<$PrismaModel> - _max?: NestedEnumReportTypeFilter<$PrismaModel> + export type PinnedMessageUpdateWithWhereUniqueWithoutUserInput = { + where: PinnedMessageWhereUniqueInput + data: XOR } - export type NestedEnumReportStatusWithAggregatesFilter<$PrismaModel = never> = { - equals?: $Enums.ReportStatus | EnumReportStatusFieldRefInput<$PrismaModel> - in?: $Enums.ReportStatus[] | ListEnumReportStatusFieldRefInput<$PrismaModel> - notIn?: $Enums.ReportStatus[] | ListEnumReportStatusFieldRefInput<$PrismaModel> - not?: NestedEnumReportStatusWithAggregatesFilter<$PrismaModel> | $Enums.ReportStatus - _count?: NestedIntFilter<$PrismaModel> - _min?: NestedEnumReportStatusFilter<$PrismaModel> - _max?: NestedEnumReportStatusFilter<$PrismaModel> + export type PinnedMessageUpdateManyWithWhereWithoutUserInput = { + where: PinnedMessageScalarWhereInput + data: XOR } - export type NestedJsonFilter<$PrismaModel = never> = - | PatchUndefined< - Either>, Exclude>, 'path'>>, - Required> - > - | OptionalFlat>, 'path'>> - export type NestedJsonFilterBase<$PrismaModel = never> = { - equals?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter - path?: string[] - mode?: QueryMode | EnumQueryModeFieldRefInput<$PrismaModel> - string_contains?: string | StringFieldRefInput<$PrismaModel> - string_starts_with?: string | StringFieldRefInput<$PrismaModel> - string_ends_with?: string | StringFieldRefInput<$PrismaModel> - array_starts_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null - array_ends_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null - array_contains?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null - lt?: InputJsonValue | JsonFieldRefInput<$PrismaModel> - lte?: InputJsonValue | JsonFieldRefInput<$PrismaModel> - gt?: InputJsonValue | JsonFieldRefInput<$PrismaModel> - gte?: InputJsonValue | JsonFieldRefInput<$PrismaModel> - not?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter + export type PinnedMessageScalarWhereInput = { + AND?: PinnedMessageScalarWhereInput | PinnedMessageScalarWhereInput[] + OR?: PinnedMessageScalarWhereInput[] + NOT?: PinnedMessageScalarWhereInput | PinnedMessageScalarWhereInput[] + id?: UuidFilter<"PinnedMessage"> | string + chatRoomId?: UuidFilter<"PinnedMessage"> | string + messageId?: UuidFilter<"PinnedMessage"> | string + pinnedBy?: UuidFilter<"PinnedMessage"> | string + pinnedAt?: DateTimeFilter<"PinnedMessage"> | Date | string + } + + export type VideoConferenceSessionUpsertWithWhereUniqueWithoutHostInput = { + where: VideoConferenceSessionWhereUniqueInput + update: XOR + create: XOR } - export type DepartmentCreateWithoutUsersInput = { - id?: string - name: string - description?: string | null - createdAt?: Date | string - updatedAt?: Date | string - deletedAt?: Date | string | null - organization: OrganizationCreateNestedOneWithoutDepartmentsInput - manager: UserCreateNestedOneWithoutManagedDepartmentsInput - teams?: TeamCreateNestedManyWithoutDepartmentInput - activityLogs?: ActivityLogCreateNestedManyWithoutDepartmentInput - Report?: ReportCreateNestedManyWithoutDepartmentInput + export type VideoConferenceSessionUpdateWithWhereUniqueWithoutHostInput = { + where: VideoConferenceSessionWhereUniqueInput + data: XOR } - export type DepartmentUncheckedCreateWithoutUsersInput = { - id?: string - name: string - description?: string | null - organizationId: string - managerId: string - createdAt?: Date | string - updatedAt?: Date | string - deletedAt?: Date | string | null - teams?: TeamUncheckedCreateNestedManyWithoutDepartmentInput - activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutDepartmentInput - Report?: ReportUncheckedCreateNestedManyWithoutDepartmentInput + export type VideoConferenceSessionUpdateManyWithWhereWithoutHostInput = { + where: VideoConferenceSessionScalarWhereInput + data: XOR } - export type DepartmentCreateOrConnectWithoutUsersInput = { - where: DepartmentWhereUniqueInput - create: XOR + export type VideoConferenceSessionScalarWhereInput = { + AND?: VideoConferenceSessionScalarWhereInput | VideoConferenceSessionScalarWhereInput[] + OR?: VideoConferenceSessionScalarWhereInput[] + NOT?: VideoConferenceSessionScalarWhereInput | VideoConferenceSessionScalarWhereInput[] + id?: UuidFilter<"VideoConferenceSession"> | string + chatRoomId?: UuidFilter<"VideoConferenceSession"> | string + title?: StringFilter<"VideoConferenceSession"> | string + description?: StringNullableFilter<"VideoConferenceSession"> | string | null + startTime?: DateTimeFilter<"VideoConferenceSession"> | Date | string + endTime?: DateTimeNullableFilter<"VideoConferenceSession"> | Date | string | null + status?: EnumSessionStatusFilter<"VideoConferenceSession"> | $Enums.SessionStatus + hostId?: UuidFilter<"VideoConferenceSession"> | string + meetingUrl?: StringFilter<"VideoConferenceSession"> | string + recordingUrl?: StringNullableFilter<"VideoConferenceSession"> | string | null + settings?: JsonNullableFilter<"VideoConferenceSession"> } - export type OrganizationCreateWithoutUsersInput = { - id?: string - name: string - description?: string | null - industry: string - sizeRange: string - website?: string | null - logoUrl?: string | null - isVerified?: boolean - status: string - createdAt?: Date | string - updatedAt?: Date | string - deletedAt?: Date | string | null - address?: string | null - contactEmail?: string | null - contactPhone?: string | null - emailVerificationOTP?: string | null - emailVerificationExpires?: Date | string | null - creator: UserCreateNestedOneWithoutCreatedOrganizationsInput - departments?: DepartmentCreateNestedManyWithoutOrganizationInput - teams?: TeamCreateNestedManyWithoutOrganizationInput - projects?: ProjectCreateNestedManyWithoutOrganizationInput - reports?: ReportCreateNestedManyWithoutOrganizationInput - owners?: OrganizationOwnerCreateNestedManyWithoutOrganizationInput - templates?: TaskTemplateCreateNestedManyWithoutOrganizationInput - activityLogs?: ActivityLogCreateNestedManyWithoutOrganizationInput + export type VideoParticipantUpsertWithWhereUniqueWithoutUserInput = { + where: VideoParticipantWhereUniqueInput + update: XOR + create: XOR } - export type OrganizationUncheckedCreateWithoutUsersInput = { - id?: string - name: string - description?: string | null - industry: string - sizeRange: string - website?: string | null - logoUrl?: string | null - isVerified?: boolean - status: string - createdAt?: Date | string - updatedAt?: Date | string - deletedAt?: Date | string | null - createdBy: string - address?: string | null - contactEmail?: string | null - contactPhone?: string | null - emailVerificationOTP?: string | null - emailVerificationExpires?: Date | string | null - departments?: DepartmentUncheckedCreateNestedManyWithoutOrganizationInput - teams?: TeamUncheckedCreateNestedManyWithoutOrganizationInput - projects?: ProjectUncheckedCreateNestedManyWithoutOrganizationInput - reports?: ReportUncheckedCreateNestedManyWithoutOrganizationInput - owners?: OrganizationOwnerUncheckedCreateNestedManyWithoutOrganizationInput - templates?: TaskTemplateUncheckedCreateNestedManyWithoutOrganizationInput - activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutOrganizationInput + export type VideoParticipantUpdateWithWhereUniqueWithoutUserInput = { + where: VideoParticipantWhereUniqueInput + data: XOR } - export type OrganizationCreateOrConnectWithoutUsersInput = { - where: OrganizationWhereUniqueInput - create: XOR + export type VideoParticipantUpdateManyWithWhereWithoutUserInput = { + where: VideoParticipantScalarWhereInput + data: XOR } - export type OrganizationCreateWithoutCreatorInput = { - id?: string - name: string - description?: string | null - industry: string - sizeRange: string - website?: string | null - logoUrl?: string | null - isVerified?: boolean - status: string - createdAt?: Date | string - updatedAt?: Date | string - deletedAt?: Date | string | null - address?: string | null - contactEmail?: string | null - contactPhone?: string | null - emailVerificationOTP?: string | null - emailVerificationExpires?: Date | string | null - departments?: DepartmentCreateNestedManyWithoutOrganizationInput - teams?: TeamCreateNestedManyWithoutOrganizationInput - projects?: ProjectCreateNestedManyWithoutOrganizationInput - users?: UserCreateNestedManyWithoutOrganizationInput - reports?: ReportCreateNestedManyWithoutOrganizationInput - owners?: OrganizationOwnerCreateNestedManyWithoutOrganizationInput - templates?: TaskTemplateCreateNestedManyWithoutOrganizationInput - activityLogs?: ActivityLogCreateNestedManyWithoutOrganizationInput + export type VideoParticipantScalarWhereInput = { + AND?: VideoParticipantScalarWhereInput | VideoParticipantScalarWhereInput[] + OR?: VideoParticipantScalarWhereInput[] + NOT?: VideoParticipantScalarWhereInput | VideoParticipantScalarWhereInput[] + id?: UuidFilter<"VideoParticipant"> | string + sessionId?: UuidFilter<"VideoParticipant"> | string + userId?: UuidFilter<"VideoParticipant"> | string + joinedAt?: DateTimeFilter<"VideoParticipant"> | Date | string + leftAt?: DateTimeNullableFilter<"VideoParticipant"> | Date | string | null + role?: EnumVideoParticipantRoleFilter<"VideoParticipant"> | $Enums.VideoParticipantRole + deviceInfo?: JsonNullableFilter<"VideoParticipant"> + connectionQuality?: StringNullableFilter<"VideoParticipant"> | string | null + hasVideo?: BoolFilter<"VideoParticipant"> | boolean + hasAudio?: BoolFilter<"VideoParticipant"> | boolean } - export type OrganizationUncheckedCreateWithoutCreatorInput = { - id?: string - name: string - description?: string | null - industry: string - sizeRange: string - website?: string | null - logoUrl?: string | null - isVerified?: boolean - status: string - createdAt?: Date | string - updatedAt?: Date | string - deletedAt?: Date | string | null - address?: string | null - contactEmail?: string | null - contactPhone?: string | null - emailVerificationOTP?: string | null - emailVerificationExpires?: Date | string | null - departments?: DepartmentUncheckedCreateNestedManyWithoutOrganizationInput - teams?: TeamUncheckedCreateNestedManyWithoutOrganizationInput - projects?: ProjectUncheckedCreateNestedManyWithoutOrganizationInput - users?: UserUncheckedCreateNestedManyWithoutOrganizationInput - reports?: ReportUncheckedCreateNestedManyWithoutOrganizationInput - owners?: OrganizationOwnerUncheckedCreateNestedManyWithoutOrganizationInput - templates?: TaskTemplateUncheckedCreateNestedManyWithoutOrganizationInput - activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutOrganizationInput + export type VideoRecordingUpsertWithWhereUniqueWithoutRecorderInput = { + where: VideoRecordingWhereUniqueInput + update: XOR + create: XOR } - export type OrganizationCreateOrConnectWithoutCreatorInput = { - where: OrganizationWhereUniqueInput - create: XOR + export type VideoRecordingUpdateWithWhereUniqueWithoutRecorderInput = { + where: VideoRecordingWhereUniqueInput + data: XOR } - export type OrganizationCreateManyCreatorInputEnvelope = { - data: OrganizationCreateManyCreatorInput | OrganizationCreateManyCreatorInput[] - skipDuplicates?: boolean + export type VideoRecordingUpdateManyWithWhereWithoutRecorderInput = { + where: VideoRecordingScalarWhereInput + data: XOR } - export type OrganizationOwnerCreateWithoutUserInput = { + export type VideoRecordingScalarWhereInput = { + AND?: VideoRecordingScalarWhereInput | VideoRecordingScalarWhereInput[] + OR?: VideoRecordingScalarWhereInput[] + NOT?: VideoRecordingScalarWhereInput | VideoRecordingScalarWhereInput[] + id?: UuidFilter<"VideoRecording"> | string + sessionId?: UuidFilter<"VideoRecording"> | string + fileName?: StringFilter<"VideoRecording"> | string + fileSize?: IntFilter<"VideoRecording"> | number + duration?: IntFilter<"VideoRecording"> | number + recordedBy?: UuidFilter<"VideoRecording"> | string + startTime?: DateTimeFilter<"VideoRecording"> | Date | string + endTime?: DateTimeFilter<"VideoRecording"> | Date | string + storageProvider?: StringFilter<"VideoRecording"> | string + storageKey?: StringFilter<"VideoRecording"> | string + processingStatus?: EnumProcessingStatusFilter<"VideoRecording"> | $Enums.ProcessingStatus + visibility?: EnumRecordingVisibilityFilter<"VideoRecording"> | $Enums.RecordingVisibility + createdAt?: DateTimeFilter<"VideoRecording"> | Date | string + } + + export type UserCreateWithoutCreatedOrganizationsInput = { id?: string + email: string + username: string + password: string + firebaseUid?: string | null + firstName: string + lastName: string + role: $Enums.UserRole + profilePic?: string | null + isOwner?: boolean createdAt?: Date | string updatedAt?: Date | string - organization: OrganizationCreateNestedOneWithoutOwnersInput + isActive?: boolean + deletedAt?: Date | string | null + phoneNumber?: string | null + jobTitle?: string | null + timezone?: string | null + bio?: string | null + preferences?: NullableJsonNullValueInput | InputJsonValue + emailVerificationToken?: string | null + emailVerificationExpires?: Date | string | null + passwordResetToken?: string | null + passwordResetExpires?: Date | string | null + refreshToken?: string | null + lastLogin?: Date | string | null + lastLogout?: Date | string | null + department?: DepartmentCreateNestedOneWithoutUsersInput + organization?: OrganizationCreateNestedOneWithoutUsersInput + ownedOrganizations?: OrganizationOwnerCreateNestedManyWithoutUserInput + managedDepartments?: DepartmentCreateNestedManyWithoutManagerInput + createdTeams?: TeamCreateNestedManyWithoutCreatorInput + teamMemberships?: TeamMemberCreateNestedManyWithoutUserInput + projectMemberships?: ProjectMemberCreateNestedManyWithoutUserInput + createdProjects?: ProjectCreateNestedManyWithoutCreatorInput + modifiedProjects?: ProjectCreateNestedManyWithoutModifierInput + createdTasks?: TaskCreateNestedManyWithoutCreatorInput + assignedTasks?: TaskCreateNestedManyWithoutAssigneeInput + modifiedTasks?: TaskCreateNestedManyWithoutModifierInput + notifications?: NotificationCreateNestedManyWithoutUserInput + timelogs?: TimelogCreateNestedManyWithoutUserInput + comments?: CommentCreateNestedManyWithoutUserInput + taskAttachments?: TaskAttachmentCreateNestedManyWithoutUploaderInput + generatedReports?: ReportCreateNestedManyWithoutGeneratorInput + userReports?: ReportCreateNestedManyWithoutUserInput + permissions?: PermissionCreateNestedManyWithoutUserInput + activityLogs?: ActivityLogCreateNestedManyWithoutUserInput + ReportNotification?: ReportNotificationCreateNestedManyWithoutUserInput + chatParticipations?: ChatParticipantCreateNestedManyWithoutUserInput + sentMessages?: ChatMessageCreateNestedManyWithoutSenderInput + messageReactions?: MessageReactionCreateNestedManyWithoutUserInput + pinnedMessages?: PinnedMessageCreateNestedManyWithoutUserInput + hostedSessions?: VideoConferenceSessionCreateNestedManyWithoutHostInput + videoParticipations?: VideoParticipantCreateNestedManyWithoutUserInput + videoRecordings?: VideoRecordingCreateNestedManyWithoutRecorderInput } - export type OrganizationOwnerUncheckedCreateWithoutUserInput = { + export type UserUncheckedCreateWithoutCreatedOrganizationsInput = { id?: string - organizationId: string + email: string + username: string + password: string + firebaseUid?: string | null + firstName: string + lastName: string + role: $Enums.UserRole + profilePic?: string | null + departmentId?: string | null + organizationId?: string | null + isOwner?: boolean createdAt?: Date | string updatedAt?: Date | string + isActive?: boolean + deletedAt?: Date | string | null + phoneNumber?: string | null + jobTitle?: string | null + timezone?: string | null + bio?: string | null + preferences?: NullableJsonNullValueInput | InputJsonValue + emailVerificationToken?: string | null + emailVerificationExpires?: Date | string | null + passwordResetToken?: string | null + passwordResetExpires?: Date | string | null + refreshToken?: string | null + lastLogin?: Date | string | null + lastLogout?: Date | string | null + ownedOrganizations?: OrganizationOwnerUncheckedCreateNestedManyWithoutUserInput + managedDepartments?: DepartmentUncheckedCreateNestedManyWithoutManagerInput + createdTeams?: TeamUncheckedCreateNestedManyWithoutCreatorInput + teamMemberships?: TeamMemberUncheckedCreateNestedManyWithoutUserInput + projectMemberships?: ProjectMemberUncheckedCreateNestedManyWithoutUserInput + createdProjects?: ProjectUncheckedCreateNestedManyWithoutCreatorInput + modifiedProjects?: ProjectUncheckedCreateNestedManyWithoutModifierInput + createdTasks?: TaskUncheckedCreateNestedManyWithoutCreatorInput + assignedTasks?: TaskUncheckedCreateNestedManyWithoutAssigneeInput + modifiedTasks?: TaskUncheckedCreateNestedManyWithoutModifierInput + notifications?: NotificationUncheckedCreateNestedManyWithoutUserInput + timelogs?: TimelogUncheckedCreateNestedManyWithoutUserInput + comments?: CommentUncheckedCreateNestedManyWithoutUserInput + taskAttachments?: TaskAttachmentUncheckedCreateNestedManyWithoutUploaderInput + generatedReports?: ReportUncheckedCreateNestedManyWithoutGeneratorInput + userReports?: ReportUncheckedCreateNestedManyWithoutUserInput + permissions?: PermissionUncheckedCreateNestedManyWithoutUserInput + activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutUserInput + ReportNotification?: ReportNotificationUncheckedCreateNestedManyWithoutUserInput + chatParticipations?: ChatParticipantUncheckedCreateNestedManyWithoutUserInput + sentMessages?: ChatMessageUncheckedCreateNestedManyWithoutSenderInput + messageReactions?: MessageReactionUncheckedCreateNestedManyWithoutUserInput + pinnedMessages?: PinnedMessageUncheckedCreateNestedManyWithoutUserInput + hostedSessions?: VideoConferenceSessionUncheckedCreateNestedManyWithoutHostInput + videoParticipations?: VideoParticipantUncheckedCreateNestedManyWithoutUserInput + videoRecordings?: VideoRecordingUncheckedCreateNestedManyWithoutRecorderInput } - export type OrganizationOwnerCreateOrConnectWithoutUserInput = { - where: OrganizationOwnerWhereUniqueInput - create: XOR - } - - export type OrganizationOwnerCreateManyUserInputEnvelope = { - data: OrganizationOwnerCreateManyUserInput | OrganizationOwnerCreateManyUserInput[] - skipDuplicates?: boolean + export type UserCreateOrConnectWithoutCreatedOrganizationsInput = { + where: UserWhereUniqueInput + create: XOR } - export type DepartmentCreateWithoutManagerInput = { + export type DepartmentCreateWithoutOrganizationInput = { id?: string name: string description?: string | null createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null - organization: OrganizationCreateNestedOneWithoutDepartmentsInput + manager: UserCreateNestedOneWithoutManagedDepartmentsInput teams?: TeamCreateNestedManyWithoutDepartmentInput users?: UserCreateNestedManyWithoutDepartmentInput activityLogs?: ActivityLogCreateNestedManyWithoutDepartmentInput Report?: ReportCreateNestedManyWithoutDepartmentInput } - export type DepartmentUncheckedCreateWithoutManagerInput = { + export type DepartmentUncheckedCreateWithoutOrganizationInput = { id?: string name: string description?: string | null - organizationId: string + managerId: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null @@ -39912,17 +57527,17 @@ export namespace Prisma { Report?: ReportUncheckedCreateNestedManyWithoutDepartmentInput } - export type DepartmentCreateOrConnectWithoutManagerInput = { + export type DepartmentCreateOrConnectWithoutOrganizationInput = { where: DepartmentWhereUniqueInput - create: XOR + create: XOR } - export type DepartmentCreateManyManagerInputEnvelope = { - data: DepartmentCreateManyManagerInput | DepartmentCreateManyManagerInput[] + export type DepartmentCreateManyOrganizationInputEnvelope = { + data: DepartmentCreateManyOrganizationInput | DepartmentCreateManyOrganizationInput[] skipDuplicates?: boolean } - export type TeamCreateWithoutCreatorInput = { + export type TeamCreateWithoutOrganizationInput = { id?: string name: string description?: string | null @@ -39930,155 +57545,41 @@ export namespace Prisma { updatedAt?: Date | string deletedAt?: Date | string | null avatar?: string | null - organization: OrganizationCreateNestedOneWithoutTeamsInput + creator: UserCreateNestedOneWithoutCreatedTeamsInput department?: DepartmentCreateNestedOneWithoutTeamsInput members?: TeamMemberCreateNestedManyWithoutTeamInput projects?: ProjectCreateNestedManyWithoutTeamInput reports?: ReportCreateNestedManyWithoutTeamInput - activityLogs?: ActivityLogCreateNestedManyWithoutTeamInput - } - - export type TeamUncheckedCreateWithoutCreatorInput = { - id?: string - name: string - description?: string | null - organizationId: string - departmentId?: string | null - createdAt?: Date | string - updatedAt?: Date | string - deletedAt?: Date | string | null - avatar?: string | null - members?: TeamMemberUncheckedCreateNestedManyWithoutTeamInput - projects?: ProjectUncheckedCreateNestedManyWithoutTeamInput - reports?: ReportUncheckedCreateNestedManyWithoutTeamInput - activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutTeamInput - } - - export type TeamCreateOrConnectWithoutCreatorInput = { - where: TeamWhereUniqueInput - create: XOR - } - - export type TeamCreateManyCreatorInputEnvelope = { - data: TeamCreateManyCreatorInput | TeamCreateManyCreatorInput[] - skipDuplicates?: boolean - } - - export type TeamMemberCreateWithoutUserInput = { - id?: string - role: $Enums.TeamMemberRole - joinedAt?: Date | string - isActive?: boolean - deletedAt?: Date | string | null - team: TeamCreateNestedOneWithoutMembersInput - } - - export type TeamMemberUncheckedCreateWithoutUserInput = { - id?: string - teamId: string - role: $Enums.TeamMemberRole - joinedAt?: Date | string - isActive?: boolean - deletedAt?: Date | string | null - } - - export type TeamMemberCreateOrConnectWithoutUserInput = { - where: TeamMemberWhereUniqueInput - create: XOR - } - - export type TeamMemberCreateManyUserInputEnvelope = { - data: TeamMemberCreateManyUserInput | TeamMemberCreateManyUserInput[] - skipDuplicates?: boolean - } - - export type ProjectMemberCreateWithoutUserInput = { - id?: string - role: string - isActive?: boolean - joinedAt?: Date | string - leftAt?: Date | string | null - deletedAt?: Date | string | null - project: ProjectCreateNestedOneWithoutProjectMemberInput - } - - export type ProjectMemberUncheckedCreateWithoutUserInput = { - id?: string - projectId: string - role: string - isActive?: boolean - joinedAt?: Date | string - leftAt?: Date | string | null - deletedAt?: Date | string | null - } - - export type ProjectMemberCreateOrConnectWithoutUserInput = { - where: ProjectMemberWhereUniqueInput - create: XOR - } - - export type ProjectMemberCreateManyUserInputEnvelope = { - data: ProjectMemberCreateManyUserInput | ProjectMemberCreateManyUserInput[] - skipDuplicates?: boolean - } - - export type ProjectCreateWithoutCreatorInput = { - id?: string - name: string - description?: string | null - status: string - startDate: Date | string - endDate: Date | string - createdAt?: Date | string - updatedAt?: Date | string - deletedAt?: Date | string | null - priority?: $Enums.TaskPriority - progress?: number | null - budget?: number | null - modifier?: UserCreateNestedOneWithoutModifiedProjectsInput - organization: OrganizationCreateNestedOneWithoutProjectsInput - team: TeamCreateNestedOneWithoutProjectsInput - sprints?: SprintCreateNestedManyWithoutProjectInput - tasks?: TaskCreateNestedManyWithoutProjectInput - reports?: ReportCreateNestedManyWithoutProjectInput - activityLogs?: ActivityLogCreateNestedManyWithoutProjectInput - ProjectMember?: ProjectMemberCreateNestedManyWithoutProjectInput + activityLogs?: ActivityLogCreateNestedManyWithoutTeamInput } - export type ProjectUncheckedCreateWithoutCreatorInput = { + export type TeamUncheckedCreateWithoutOrganizationInput = { id?: string name: string description?: string | null - status: string - organizationId: string - teamId: string - startDate: Date | string - endDate: Date | string + createdBy: string + departmentId?: string | null createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null - priority?: $Enums.TaskPriority - progress?: number | null - budget?: number | null - lastModifiedBy?: string | null - sprints?: SprintUncheckedCreateNestedManyWithoutProjectInput - tasks?: TaskUncheckedCreateNestedManyWithoutProjectInput - reports?: ReportUncheckedCreateNestedManyWithoutProjectInput - activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutProjectInput - ProjectMember?: ProjectMemberUncheckedCreateNestedManyWithoutProjectInput + avatar?: string | null + members?: TeamMemberUncheckedCreateNestedManyWithoutTeamInput + projects?: ProjectUncheckedCreateNestedManyWithoutTeamInput + reports?: ReportUncheckedCreateNestedManyWithoutTeamInput + activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutTeamInput } - export type ProjectCreateOrConnectWithoutCreatorInput = { - where: ProjectWhereUniqueInput - create: XOR + export type TeamCreateOrConnectWithoutOrganizationInput = { + where: TeamWhereUniqueInput + create: XOR } - export type ProjectCreateManyCreatorInputEnvelope = { - data: ProjectCreateManyCreatorInput | ProjectCreateManyCreatorInput[] + export type TeamCreateManyOrganizationInputEnvelope = { + data: TeamCreateManyOrganizationInput | TeamCreateManyOrganizationInput[] skipDuplicates?: boolean } - export type ProjectCreateWithoutModifierInput = { + export type ProjectCreateWithoutOrganizationInput = { id?: string name: string description?: string | null @@ -40092,7 +57593,7 @@ export namespace Prisma { progress?: number | null budget?: number | null creator: UserCreateNestedOneWithoutCreatedProjectsInput - organization: OrganizationCreateNestedOneWithoutProjectsInput + modifier?: UserCreateNestedOneWithoutModifiedProjectsInput team: TeamCreateNestedOneWithoutProjectsInput sprints?: SprintCreateNestedManyWithoutProjectInput tasks?: TaskCreateNestedManyWithoutProjectInput @@ -40101,13 +57602,12 @@ export namespace Prisma { ProjectMember?: ProjectMemberCreateNestedManyWithoutProjectInput } - export type ProjectUncheckedCreateWithoutModifierInput = { + export type ProjectUncheckedCreateWithoutOrganizationInput = { id?: string name: string description?: string | null status: string createdBy: string - organizationId: string teamId: string startDate: Date | string endDate: Date | string @@ -40117,6 +57617,7 @@ export namespace Prisma { priority?: $Enums.TaskPriority progress?: number | null budget?: number | null + lastModifiedBy?: string | null sprints?: SprintUncheckedCreateNestedManyWithoutProjectInput tasks?: TaskUncheckedCreateNestedManyWithoutProjectInput reports?: ReportUncheckedCreateNestedManyWithoutProjectInput @@ -40124,341 +57625,141 @@ export namespace Prisma { ProjectMember?: ProjectMemberUncheckedCreateNestedManyWithoutProjectInput } - export type ProjectCreateOrConnectWithoutModifierInput = { + export type ProjectCreateOrConnectWithoutOrganizationInput = { where: ProjectWhereUniqueInput - create: XOR - } - - export type ProjectCreateManyModifierInputEnvelope = { - data: ProjectCreateManyModifierInput | ProjectCreateManyModifierInput[] - skipDuplicates?: boolean - } - - export type TaskCreateWithoutCreatorInput = { - id?: string - title: string - description?: string | null - priority: $Enums.TaskPriority - status: $Enums.TaskStatus - rate?: number | null - dueDate: Date | string - createdAt?: Date | string - updatedAt?: Date | string - deletedAt?: Date | string | null - estimatedTime?: number | null - actualTime?: number | null - order?: number - labels?: TaskCreatelabelsInput | string[] - project: ProjectCreateNestedOneWithoutTasksInput - sprint?: SprintCreateNestedOneWithoutTasksInput - assignee?: UserCreateNestedOneWithoutAssignedTasksInput - modifier?: UserCreateNestedOneWithoutModifiedTasksInput - attachments?: TaskAttachmentCreateNestedManyWithoutTaskInput - comments?: CommentCreateNestedManyWithoutTaskInput - timelogs?: TimelogCreateNestedManyWithoutTaskInput - dependencies?: TaskDependencyCreateNestedManyWithoutDependentTaskInput - dependentOn?: TaskDependencyCreateNestedManyWithoutTaskInput - parent?: TaskCreateNestedOneWithoutSubtasksInput - subtasks?: TaskCreateNestedManyWithoutParentInput - activityLogs?: ActivityLogCreateNestedManyWithoutTaskInput - } - - export type TaskUncheckedCreateWithoutCreatorInput = { - id?: string - title: string - description?: string | null - priority: $Enums.TaskPriority - status: $Enums.TaskStatus - rate?: number | null - projectId: string - sprintId?: string | null - assignedTo?: string | null - dueDate: Date | string - createdAt?: Date | string - updatedAt?: Date | string - deletedAt?: Date | string | null - estimatedTime?: number | null - actualTime?: number | null - parentId?: string | null - order?: number - labels?: TaskCreatelabelsInput | string[] - lastModifiedBy?: string | null - attachments?: TaskAttachmentUncheckedCreateNestedManyWithoutTaskInput - comments?: CommentUncheckedCreateNestedManyWithoutTaskInput - timelogs?: TimelogUncheckedCreateNestedManyWithoutTaskInput - dependencies?: TaskDependencyUncheckedCreateNestedManyWithoutDependentTaskInput - dependentOn?: TaskDependencyUncheckedCreateNestedManyWithoutTaskInput - subtasks?: TaskUncheckedCreateNestedManyWithoutParentInput - activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutTaskInput - } - - export type TaskCreateOrConnectWithoutCreatorInput = { - where: TaskWhereUniqueInput - create: XOR - } - - export type TaskCreateManyCreatorInputEnvelope = { - data: TaskCreateManyCreatorInput | TaskCreateManyCreatorInput[] - skipDuplicates?: boolean - } - - export type TaskCreateWithoutAssigneeInput = { - id?: string - title: string - description?: string | null - priority: $Enums.TaskPriority - status: $Enums.TaskStatus - rate?: number | null - dueDate: Date | string - createdAt?: Date | string - updatedAt?: Date | string - deletedAt?: Date | string | null - estimatedTime?: number | null - actualTime?: number | null - order?: number - labels?: TaskCreatelabelsInput | string[] - project: ProjectCreateNestedOneWithoutTasksInput - sprint?: SprintCreateNestedOneWithoutTasksInput - creator: UserCreateNestedOneWithoutCreatedTasksInput - modifier?: UserCreateNestedOneWithoutModifiedTasksInput - attachments?: TaskAttachmentCreateNestedManyWithoutTaskInput - comments?: CommentCreateNestedManyWithoutTaskInput - timelogs?: TimelogCreateNestedManyWithoutTaskInput - dependencies?: TaskDependencyCreateNestedManyWithoutDependentTaskInput - dependentOn?: TaskDependencyCreateNestedManyWithoutTaskInput - parent?: TaskCreateNestedOneWithoutSubtasksInput - subtasks?: TaskCreateNestedManyWithoutParentInput - activityLogs?: ActivityLogCreateNestedManyWithoutTaskInput - } - - export type TaskUncheckedCreateWithoutAssigneeInput = { - id?: string - title: string - description?: string | null - priority: $Enums.TaskPriority - status: $Enums.TaskStatus - rate?: number | null - projectId: string - sprintId?: string | null - createdBy: string - dueDate: Date | string - createdAt?: Date | string - updatedAt?: Date | string - deletedAt?: Date | string | null - estimatedTime?: number | null - actualTime?: number | null - parentId?: string | null - order?: number - labels?: TaskCreatelabelsInput | string[] - lastModifiedBy?: string | null - attachments?: TaskAttachmentUncheckedCreateNestedManyWithoutTaskInput - comments?: CommentUncheckedCreateNestedManyWithoutTaskInput - timelogs?: TimelogUncheckedCreateNestedManyWithoutTaskInput - dependencies?: TaskDependencyUncheckedCreateNestedManyWithoutDependentTaskInput - dependentOn?: TaskDependencyUncheckedCreateNestedManyWithoutTaskInput - subtasks?: TaskUncheckedCreateNestedManyWithoutParentInput - activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutTaskInput - } - - export type TaskCreateOrConnectWithoutAssigneeInput = { - where: TaskWhereUniqueInput - create: XOR + create: XOR } - export type TaskCreateManyAssigneeInputEnvelope = { - data: TaskCreateManyAssigneeInput | TaskCreateManyAssigneeInput[] + export type ProjectCreateManyOrganizationInputEnvelope = { + data: ProjectCreateManyOrganizationInput | ProjectCreateManyOrganizationInput[] skipDuplicates?: boolean } - export type TaskCreateWithoutModifierInput = { + export type UserCreateWithoutOrganizationInput = { id?: string - title: string - description?: string | null - priority: $Enums.TaskPriority - status: $Enums.TaskStatus - rate?: number | null - dueDate: Date | string + email: string + username: string + password: string + firebaseUid?: string | null + firstName: string + lastName: string + role: $Enums.UserRole + profilePic?: string | null + isOwner?: boolean createdAt?: Date | string updatedAt?: Date | string + isActive?: boolean deletedAt?: Date | string | null - estimatedTime?: number | null - actualTime?: number | null - order?: number - labels?: TaskCreatelabelsInput | string[] - project: ProjectCreateNestedOneWithoutTasksInput - sprint?: SprintCreateNestedOneWithoutTasksInput - creator: UserCreateNestedOneWithoutCreatedTasksInput - assignee?: UserCreateNestedOneWithoutAssignedTasksInput - attachments?: TaskAttachmentCreateNestedManyWithoutTaskInput - comments?: CommentCreateNestedManyWithoutTaskInput - timelogs?: TimelogCreateNestedManyWithoutTaskInput - dependencies?: TaskDependencyCreateNestedManyWithoutDependentTaskInput - dependentOn?: TaskDependencyCreateNestedManyWithoutTaskInput - parent?: TaskCreateNestedOneWithoutSubtasksInput - subtasks?: TaskCreateNestedManyWithoutParentInput - activityLogs?: ActivityLogCreateNestedManyWithoutTaskInput + phoneNumber?: string | null + jobTitle?: string | null + timezone?: string | null + bio?: string | null + preferences?: NullableJsonNullValueInput | InputJsonValue + emailVerificationToken?: string | null + emailVerificationExpires?: Date | string | null + passwordResetToken?: string | null + passwordResetExpires?: Date | string | null + refreshToken?: string | null + lastLogin?: Date | string | null + lastLogout?: Date | string | null + department?: DepartmentCreateNestedOneWithoutUsersInput + createdOrganizations?: OrganizationCreateNestedManyWithoutCreatorInput + ownedOrganizations?: OrganizationOwnerCreateNestedManyWithoutUserInput + managedDepartments?: DepartmentCreateNestedManyWithoutManagerInput + createdTeams?: TeamCreateNestedManyWithoutCreatorInput + teamMemberships?: TeamMemberCreateNestedManyWithoutUserInput + projectMemberships?: ProjectMemberCreateNestedManyWithoutUserInput + createdProjects?: ProjectCreateNestedManyWithoutCreatorInput + modifiedProjects?: ProjectCreateNestedManyWithoutModifierInput + createdTasks?: TaskCreateNestedManyWithoutCreatorInput + assignedTasks?: TaskCreateNestedManyWithoutAssigneeInput + modifiedTasks?: TaskCreateNestedManyWithoutModifierInput + notifications?: NotificationCreateNestedManyWithoutUserInput + timelogs?: TimelogCreateNestedManyWithoutUserInput + comments?: CommentCreateNestedManyWithoutUserInput + taskAttachments?: TaskAttachmentCreateNestedManyWithoutUploaderInput + generatedReports?: ReportCreateNestedManyWithoutGeneratorInput + userReports?: ReportCreateNestedManyWithoutUserInput + permissions?: PermissionCreateNestedManyWithoutUserInput + activityLogs?: ActivityLogCreateNestedManyWithoutUserInput + ReportNotification?: ReportNotificationCreateNestedManyWithoutUserInput + chatParticipations?: ChatParticipantCreateNestedManyWithoutUserInput + sentMessages?: ChatMessageCreateNestedManyWithoutSenderInput + messageReactions?: MessageReactionCreateNestedManyWithoutUserInput + pinnedMessages?: PinnedMessageCreateNestedManyWithoutUserInput + hostedSessions?: VideoConferenceSessionCreateNestedManyWithoutHostInput + videoParticipations?: VideoParticipantCreateNestedManyWithoutUserInput + videoRecordings?: VideoRecordingCreateNestedManyWithoutRecorderInput } - export type TaskUncheckedCreateWithoutModifierInput = { + export type UserUncheckedCreateWithoutOrganizationInput = { id?: string - title: string - description?: string | null - priority: $Enums.TaskPriority - status: $Enums.TaskStatus - rate?: number | null - projectId: string - sprintId?: string | null - createdBy: string - assignedTo?: string | null - dueDate: Date | string + email: string + username: string + password: string + firebaseUid?: string | null + firstName: string + lastName: string + role: $Enums.UserRole + profilePic?: string | null + departmentId?: string | null + isOwner?: boolean createdAt?: Date | string updatedAt?: Date | string + isActive?: boolean deletedAt?: Date | string | null - estimatedTime?: number | null - actualTime?: number | null - parentId?: string | null - order?: number - labels?: TaskCreatelabelsInput | string[] - attachments?: TaskAttachmentUncheckedCreateNestedManyWithoutTaskInput - comments?: CommentUncheckedCreateNestedManyWithoutTaskInput - timelogs?: TimelogUncheckedCreateNestedManyWithoutTaskInput - dependencies?: TaskDependencyUncheckedCreateNestedManyWithoutDependentTaskInput - dependentOn?: TaskDependencyUncheckedCreateNestedManyWithoutTaskInput - subtasks?: TaskUncheckedCreateNestedManyWithoutParentInput - activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutTaskInput - } - - export type TaskCreateOrConnectWithoutModifierInput = { - where: TaskWhereUniqueInput - create: XOR - } - - export type TaskCreateManyModifierInputEnvelope = { - data: TaskCreateManyModifierInput | TaskCreateManyModifierInput[] - skipDuplicates?: boolean - } - - export type NotificationCreateWithoutUserInput = { - id?: string - content: string - isRead?: boolean - type: string - metadata?: NullableJsonNullValueInput | InputJsonValue - createdAt?: Date | string - deletedAt?: Date | string | null - entityType?: string | null - entityId?: string | null - } - - export type NotificationUncheckedCreateWithoutUserInput = { - id?: string - content: string - isRead?: boolean - type: string - metadata?: NullableJsonNullValueInput | InputJsonValue - createdAt?: Date | string - deletedAt?: Date | string | null - entityType?: string | null - entityId?: string | null - } - - export type NotificationCreateOrConnectWithoutUserInput = { - where: NotificationWhereUniqueInput - create: XOR - } - - export type NotificationCreateManyUserInputEnvelope = { - data: NotificationCreateManyUserInput | NotificationCreateManyUserInput[] - skipDuplicates?: boolean - } - - export type TimelogCreateWithoutUserInput = { - id?: string - startTime: Date | string - endTime: Date | string - description?: string | null - task: TaskCreateNestedOneWithoutTimelogsInput - } - - export type TimelogUncheckedCreateWithoutUserInput = { - id?: string - taskId: string - startTime: Date | string - endTime: Date | string - description?: string | null - } - - export type TimelogCreateOrConnectWithoutUserInput = { - where: TimelogWhereUniqueInput - create: XOR - } - - export type TimelogCreateManyUserInputEnvelope = { - data: TimelogCreateManyUserInput | TimelogCreateManyUserInput[] - skipDuplicates?: boolean - } - - export type CommentCreateWithoutUserInput = { - id?: string - content: string - createdAt?: Date | string - updatedAt?: Date | string - task: TaskCreateNestedOneWithoutCommentsInput - } - - export type CommentUncheckedCreateWithoutUserInput = { - id?: string - taskId: string - content: string - createdAt?: Date | string - updatedAt?: Date | string - } - - export type CommentCreateOrConnectWithoutUserInput = { - where: CommentWhereUniqueInput - create: XOR - } - - export type CommentCreateManyUserInputEnvelope = { - data: CommentCreateManyUserInput | CommentCreateManyUserInput[] - skipDuplicates?: boolean - } - - export type TaskAttachmentCreateWithoutUploaderInput = { - id?: string - fileName: string - fileType: string - filePath: string - fileSize: number - createdAt?: Date | string - storageProvider?: string | null - storageKey: string - task: TaskCreateNestedOneWithoutAttachmentsInput - } - - export type TaskAttachmentUncheckedCreateWithoutUploaderInput = { - id?: string - taskId: string - fileName: string - fileType: string - filePath: string - fileSize: number - createdAt?: Date | string - storageProvider?: string | null - storageKey: string + phoneNumber?: string | null + jobTitle?: string | null + timezone?: string | null + bio?: string | null + preferences?: NullableJsonNullValueInput | InputJsonValue + emailVerificationToken?: string | null + emailVerificationExpires?: Date | string | null + passwordResetToken?: string | null + passwordResetExpires?: Date | string | null + refreshToken?: string | null + lastLogin?: Date | string | null + lastLogout?: Date | string | null + createdOrganizations?: OrganizationUncheckedCreateNestedManyWithoutCreatorInput + ownedOrganizations?: OrganizationOwnerUncheckedCreateNestedManyWithoutUserInput + managedDepartments?: DepartmentUncheckedCreateNestedManyWithoutManagerInput + createdTeams?: TeamUncheckedCreateNestedManyWithoutCreatorInput + teamMemberships?: TeamMemberUncheckedCreateNestedManyWithoutUserInput + projectMemberships?: ProjectMemberUncheckedCreateNestedManyWithoutUserInput + createdProjects?: ProjectUncheckedCreateNestedManyWithoutCreatorInput + modifiedProjects?: ProjectUncheckedCreateNestedManyWithoutModifierInput + createdTasks?: TaskUncheckedCreateNestedManyWithoutCreatorInput + assignedTasks?: TaskUncheckedCreateNestedManyWithoutAssigneeInput + modifiedTasks?: TaskUncheckedCreateNestedManyWithoutModifierInput + notifications?: NotificationUncheckedCreateNestedManyWithoutUserInput + timelogs?: TimelogUncheckedCreateNestedManyWithoutUserInput + comments?: CommentUncheckedCreateNestedManyWithoutUserInput + taskAttachments?: TaskAttachmentUncheckedCreateNestedManyWithoutUploaderInput + generatedReports?: ReportUncheckedCreateNestedManyWithoutGeneratorInput + userReports?: ReportUncheckedCreateNestedManyWithoutUserInput + permissions?: PermissionUncheckedCreateNestedManyWithoutUserInput + activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutUserInput + ReportNotification?: ReportNotificationUncheckedCreateNestedManyWithoutUserInput + chatParticipations?: ChatParticipantUncheckedCreateNestedManyWithoutUserInput + sentMessages?: ChatMessageUncheckedCreateNestedManyWithoutSenderInput + messageReactions?: MessageReactionUncheckedCreateNestedManyWithoutUserInput + pinnedMessages?: PinnedMessageUncheckedCreateNestedManyWithoutUserInput + hostedSessions?: VideoConferenceSessionUncheckedCreateNestedManyWithoutHostInput + videoParticipations?: VideoParticipantUncheckedCreateNestedManyWithoutUserInput + videoRecordings?: VideoRecordingUncheckedCreateNestedManyWithoutRecorderInput } - export type TaskAttachmentCreateOrConnectWithoutUploaderInput = { - where: TaskAttachmentWhereUniqueInput - create: XOR + export type UserCreateOrConnectWithoutOrganizationInput = { + where: UserWhereUniqueInput + create: XOR } - export type TaskAttachmentCreateManyUploaderInputEnvelope = { - data: TaskAttachmentCreateManyUploaderInput | TaskAttachmentCreateManyUploaderInput[] + export type UserCreateManyOrganizationInputEnvelope = { + data: UserCreateManyOrganizationInput | UserCreateManyOrganizationInput[] skipDuplicates?: boolean } - export type ReportCreateWithoutGeneratorInput = { + export type ReportCreateWithoutOrganizationInput = { id?: string name: string description?: string | null @@ -40474,7 +57775,7 @@ export namespace Prisma { tags?: string | null storageProvider?: string | null storageKey: string - organization?: OrganizationCreateNestedOneWithoutReportsInput + generator: UserCreateNestedOneWithoutGeneratedReportsInput team?: TeamCreateNestedOneWithoutReportsInput project?: ProjectCreateNestedOneWithoutReportsInput department?: DepartmentCreateNestedOneWithoutReportInput @@ -40483,7 +57784,7 @@ export namespace Prisma { notifiedUsers?: ReportNotificationCreateNestedManyWithoutReportInput } - export type ReportUncheckedCreateWithoutGeneratorInput = { + export type ReportUncheckedCreateWithoutOrganizationInput = { id?: string name: string description?: string | null @@ -40491,13 +57792,13 @@ export namespace Prisma { format: string parameters?: NullableJsonNullValueInput | InputJsonValue filePath: string + generatedBy: string createdAt?: Date | string status?: $Enums.ReportStatus updatedAt?: Date | string lastAccessedAt?: Date | string | null expiresAt?: Date | string | null tags?: string | null - organizationId?: string | null teamId?: string | null projectId?: string | null departmentId?: string | null @@ -40508,111 +57809,85 @@ export namespace Prisma { notifiedUsers?: ReportNotificationUncheckedCreateNestedManyWithoutReportInput } - export type ReportCreateOrConnectWithoutGeneratorInput = { + export type ReportCreateOrConnectWithoutOrganizationInput = { where: ReportWhereUniqueInput - create: XOR + create: XOR } - export type ReportCreateManyGeneratorInputEnvelope = { - data: ReportCreateManyGeneratorInput | ReportCreateManyGeneratorInput[] + export type ReportCreateManyOrganizationInputEnvelope = { + data: ReportCreateManyOrganizationInput | ReportCreateManyOrganizationInput[] skipDuplicates?: boolean } - export type ReportCreateWithoutUserInput = { + export type OrganizationOwnerCreateWithoutOrganizationInput = { id?: string - name: string - description?: string | null - reportType: $Enums.ReportType - format: string - parameters?: NullableJsonNullValueInput | InputJsonValue - filePath: string createdAt?: Date | string - status?: $Enums.ReportStatus updatedAt?: Date | string - lastAccessedAt?: Date | string | null - expiresAt?: Date | string | null - tags?: string | null - storageProvider?: string | null - storageKey: string - generator: UserCreateNestedOneWithoutGeneratedReportsInput - organization?: OrganizationCreateNestedOneWithoutReportsInput - team?: TeamCreateNestedOneWithoutReportsInput - project?: ProjectCreateNestedOneWithoutReportsInput - department?: DepartmentCreateNestedOneWithoutReportInput - reportSchedule?: ReportScheduleCreateNestedOneWithoutReportsInput - notifiedUsers?: ReportNotificationCreateNestedManyWithoutReportInput + user: UserCreateNestedOneWithoutOwnedOrganizationsInput } - export type ReportUncheckedCreateWithoutUserInput = { + export type OrganizationOwnerUncheckedCreateWithoutOrganizationInput = { id?: string - name: string - description?: string | null - reportType: $Enums.ReportType - format: string - parameters?: NullableJsonNullValueInput | InputJsonValue - filePath: string - generatedBy: string - createdAt?: Date | string - status?: $Enums.ReportStatus - updatedAt?: Date | string - lastAccessedAt?: Date | string | null - expiresAt?: Date | string | null - tags?: string | null - organizationId?: string | null - teamId?: string | null - projectId?: string | null - departmentId?: string | null - scheduleId?: string | null - storageProvider?: string | null - storageKey: string - notifiedUsers?: ReportNotificationUncheckedCreateNestedManyWithoutReportInput + userId: string + createdAt?: Date | string + updatedAt?: Date | string } - export type ReportCreateOrConnectWithoutUserInput = { - where: ReportWhereUniqueInput - create: XOR + export type OrganizationOwnerCreateOrConnectWithoutOrganizationInput = { + where: OrganizationOwnerWhereUniqueInput + create: XOR } - export type ReportCreateManyUserInputEnvelope = { - data: ReportCreateManyUserInput | ReportCreateManyUserInput[] + export type OrganizationOwnerCreateManyOrganizationInputEnvelope = { + data: OrganizationOwnerCreateManyOrganizationInput | OrganizationOwnerCreateManyOrganizationInput[] skipDuplicates?: boolean } - export type PermissionCreateWithoutUserInput = { + export type TaskTemplateCreateWithoutOrganizationInput = { id?: string - entityType: string - entityId: string - permissions: JsonNullValueInput | InputJsonValue + name: string + description?: string | null + priority: $Enums.TaskPriority + estimatedTime?: number | null + createdBy: string createdAt?: Date | string updatedAt?: Date | string + checklist?: NullableJsonNullValueInput | InputJsonValue + labels?: TaskTemplateCreatelabelsInput | string[] + isPublic?: boolean } - export type PermissionUncheckedCreateWithoutUserInput = { + export type TaskTemplateUncheckedCreateWithoutOrganizationInput = { id?: string - entityType: string - entityId: string - permissions: JsonNullValueInput | InputJsonValue + name: string + description?: string | null + priority: $Enums.TaskPriority + estimatedTime?: number | null + createdBy: string createdAt?: Date | string updatedAt?: Date | string + checklist?: NullableJsonNullValueInput | InputJsonValue + labels?: TaskTemplateCreatelabelsInput | string[] + isPublic?: boolean } - export type PermissionCreateOrConnectWithoutUserInput = { - where: PermissionWhereUniqueInput - create: XOR + export type TaskTemplateCreateOrConnectWithoutOrganizationInput = { + where: TaskTemplateWhereUniqueInput + create: XOR } - export type PermissionCreateManyUserInputEnvelope = { - data: PermissionCreateManyUserInput | PermissionCreateManyUserInput[] + export type TaskTemplateCreateManyOrganizationInputEnvelope = { + data: TaskTemplateCreateManyOrganizationInput | TaskTemplateCreateManyOrganizationInput[] skipDuplicates?: boolean } - export type ActivityLogCreateWithoutUserInput = { + export type ActivityLogCreateWithoutOrganizationInput = { id?: string entityType: $Enums.EntityType action: $Enums.ActionType details?: NullableJsonNullValueInput | InputJsonValue createdAt?: Date | string - organization?: OrganizationCreateNestedOneWithoutActivityLogsInput + user: UserCreateNestedOneWithoutActivityLogsInput department?: DepartmentCreateNestedOneWithoutActivityLogsInput project?: ProjectCreateNestedOneWithoutActivityLogsInput team?: TeamCreateNestedOneWithoutActivityLogsInput @@ -40620,11 +57895,11 @@ export namespace Prisma { task?: TaskCreateNestedOneWithoutActivityLogsInput } - export type ActivityLogUncheckedCreateWithoutUserInput = { + export type ActivityLogUncheckedCreateWithoutOrganizationInput = { id?: string entityType: $Enums.EntityType action: $Enums.ActionType - organizationId?: string | null + userId: string departmentId?: string | null projectId?: string | null teamId?: string | null @@ -40634,730 +57909,755 @@ export namespace Prisma { createdAt?: Date | string } - export type ActivityLogCreateOrConnectWithoutUserInput = { + export type ActivityLogCreateOrConnectWithoutOrganizationInput = { where: ActivityLogWhereUniqueInput - create: XOR - } - - export type ActivityLogCreateManyUserInputEnvelope = { - data: ActivityLogCreateManyUserInput | ActivityLogCreateManyUserInput[] - skipDuplicates?: boolean - } - - export type ReportNotificationCreateWithoutUserInput = { - id?: string - notified?: boolean - report: ReportCreateNestedOneWithoutNotifiedUsersInput - } - - export type ReportNotificationUncheckedCreateWithoutUserInput = { - id?: string - reportId: string - notified?: boolean - } - - export type ReportNotificationCreateOrConnectWithoutUserInput = { - where: ReportNotificationWhereUniqueInput - create: XOR + create: XOR } - export type ReportNotificationCreateManyUserInputEnvelope = { - data: ReportNotificationCreateManyUserInput | ReportNotificationCreateManyUserInput[] + export type ActivityLogCreateManyOrganizationInputEnvelope = { + data: ActivityLogCreateManyOrganizationInput | ActivityLogCreateManyOrganizationInput[] skipDuplicates?: boolean } - export type DepartmentUpsertWithoutUsersInput = { - update: XOR - create: XOR - where?: DepartmentWhereInput - } - - export type DepartmentUpdateToOneWithWhereWithoutUsersInput = { - where?: DepartmentWhereInput - data: XOR - } - - export type DepartmentUpdateWithoutUsersInput = { - id?: StringFieldUpdateOperationsInput | string - name?: StringFieldUpdateOperationsInput | string - description?: NullableStringFieldUpdateOperationsInput | string | null - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string - deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - organization?: OrganizationUpdateOneRequiredWithoutDepartmentsNestedInput - manager?: UserUpdateOneRequiredWithoutManagedDepartmentsNestedInput - teams?: TeamUpdateManyWithoutDepartmentNestedInput - activityLogs?: ActivityLogUpdateManyWithoutDepartmentNestedInput - Report?: ReportUpdateManyWithoutDepartmentNestedInput - } - - export type DepartmentUncheckedUpdateWithoutUsersInput = { - id?: StringFieldUpdateOperationsInput | string - name?: StringFieldUpdateOperationsInput | string - description?: NullableStringFieldUpdateOperationsInput | string | null - organizationId?: StringFieldUpdateOperationsInput | string - managerId?: StringFieldUpdateOperationsInput | string - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string - deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - teams?: TeamUncheckedUpdateManyWithoutDepartmentNestedInput - activityLogs?: ActivityLogUncheckedUpdateManyWithoutDepartmentNestedInput - Report?: ReportUncheckedUpdateManyWithoutDepartmentNestedInput - } - - export type OrganizationUpsertWithoutUsersInput = { - update: XOR - create: XOR - where?: OrganizationWhereInput - } - - export type OrganizationUpdateToOneWithWhereWithoutUsersInput = { - where?: OrganizationWhereInput - data: XOR + export type UserUpsertWithoutCreatedOrganizationsInput = { + update: XOR + create: XOR + where?: UserWhereInput } - export type OrganizationUpdateWithoutUsersInput = { - id?: StringFieldUpdateOperationsInput | string - name?: StringFieldUpdateOperationsInput | string - description?: NullableStringFieldUpdateOperationsInput | string | null - industry?: StringFieldUpdateOperationsInput | string - sizeRange?: StringFieldUpdateOperationsInput | string - website?: NullableStringFieldUpdateOperationsInput | string | null - logoUrl?: NullableStringFieldUpdateOperationsInput | string | null - isVerified?: BoolFieldUpdateOperationsInput | boolean - status?: StringFieldUpdateOperationsInput | string - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string - deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - address?: NullableStringFieldUpdateOperationsInput | string | null - contactEmail?: NullableStringFieldUpdateOperationsInput | string | null - contactPhone?: NullableStringFieldUpdateOperationsInput | string | null - emailVerificationOTP?: NullableStringFieldUpdateOperationsInput | string | null - emailVerificationExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - creator?: UserUpdateOneRequiredWithoutCreatedOrganizationsNestedInput - departments?: DepartmentUpdateManyWithoutOrganizationNestedInput - teams?: TeamUpdateManyWithoutOrganizationNestedInput - projects?: ProjectUpdateManyWithoutOrganizationNestedInput - reports?: ReportUpdateManyWithoutOrganizationNestedInput - owners?: OrganizationOwnerUpdateManyWithoutOrganizationNestedInput - templates?: TaskTemplateUpdateManyWithoutOrganizationNestedInput - activityLogs?: ActivityLogUpdateManyWithoutOrganizationNestedInput + export type UserUpdateToOneWithWhereWithoutCreatedOrganizationsInput = { + where?: UserWhereInput + data: XOR } - export type OrganizationUncheckedUpdateWithoutUsersInput = { + export type UserUpdateWithoutCreatedOrganizationsInput = { id?: StringFieldUpdateOperationsInput | string - name?: StringFieldUpdateOperationsInput | string - description?: NullableStringFieldUpdateOperationsInput | string | null - industry?: StringFieldUpdateOperationsInput | string - sizeRange?: StringFieldUpdateOperationsInput | string - website?: NullableStringFieldUpdateOperationsInput | string | null - logoUrl?: NullableStringFieldUpdateOperationsInput | string | null - isVerified?: BoolFieldUpdateOperationsInput | boolean - status?: StringFieldUpdateOperationsInput | string + email?: StringFieldUpdateOperationsInput | string + username?: StringFieldUpdateOperationsInput | string + password?: StringFieldUpdateOperationsInput | string + firebaseUid?: NullableStringFieldUpdateOperationsInput | string | null + firstName?: StringFieldUpdateOperationsInput | string + lastName?: StringFieldUpdateOperationsInput | string + role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole + profilePic?: NullableStringFieldUpdateOperationsInput | string | null + isOwner?: BoolFieldUpdateOperationsInput | boolean createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + isActive?: BoolFieldUpdateOperationsInput | boolean deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - createdBy?: StringFieldUpdateOperationsInput | string - address?: NullableStringFieldUpdateOperationsInput | string | null - contactEmail?: NullableStringFieldUpdateOperationsInput | string | null - contactPhone?: NullableStringFieldUpdateOperationsInput | string | null - emailVerificationOTP?: NullableStringFieldUpdateOperationsInput | string | null + phoneNumber?: NullableStringFieldUpdateOperationsInput | string | null + jobTitle?: NullableStringFieldUpdateOperationsInput | string | null + timezone?: NullableStringFieldUpdateOperationsInput | string | null + bio?: NullableStringFieldUpdateOperationsInput | string | null + preferences?: NullableJsonNullValueInput | InputJsonValue + emailVerificationToken?: NullableStringFieldUpdateOperationsInput | string | null emailVerificationExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - departments?: DepartmentUncheckedUpdateManyWithoutOrganizationNestedInput - teams?: TeamUncheckedUpdateManyWithoutOrganizationNestedInput - projects?: ProjectUncheckedUpdateManyWithoutOrganizationNestedInput - reports?: ReportUncheckedUpdateManyWithoutOrganizationNestedInput - owners?: OrganizationOwnerUncheckedUpdateManyWithoutOrganizationNestedInput - templates?: TaskTemplateUncheckedUpdateManyWithoutOrganizationNestedInput - activityLogs?: ActivityLogUncheckedUpdateManyWithoutOrganizationNestedInput - } - - export type OrganizationUpsertWithWhereUniqueWithoutCreatorInput = { - where: OrganizationWhereUniqueInput - update: XOR - create: XOR - } - - export type OrganizationUpdateWithWhereUniqueWithoutCreatorInput = { - where: OrganizationWhereUniqueInput - data: XOR - } - - export type OrganizationUpdateManyWithWhereWithoutCreatorInput = { - where: OrganizationScalarWhereInput - data: XOR - } - - export type OrganizationScalarWhereInput = { - AND?: OrganizationScalarWhereInput | OrganizationScalarWhereInput[] - OR?: OrganizationScalarWhereInput[] - NOT?: OrganizationScalarWhereInput | OrganizationScalarWhereInput[] - id?: UuidFilter<"Organization"> | string - name?: StringFilter<"Organization"> | string - description?: StringNullableFilter<"Organization"> | string | null - industry?: StringFilter<"Organization"> | string - sizeRange?: StringFilter<"Organization"> | string - website?: StringNullableFilter<"Organization"> | string | null - logoUrl?: StringNullableFilter<"Organization"> | string | null - isVerified?: BoolFilter<"Organization"> | boolean - status?: StringFilter<"Organization"> | string - createdAt?: DateTimeFilter<"Organization"> | Date | string - updatedAt?: DateTimeFilter<"Organization"> | Date | string - deletedAt?: DateTimeNullableFilter<"Organization"> | Date | string | null - createdBy?: UuidFilter<"Organization"> | string - address?: StringNullableFilter<"Organization"> | string | null - contactEmail?: StringNullableFilter<"Organization"> | string | null - contactPhone?: StringNullableFilter<"Organization"> | string | null - emailVerificationOTP?: StringNullableFilter<"Organization"> | string | null - emailVerificationExpires?: DateTimeNullableFilter<"Organization"> | Date | string | null - } - - export type OrganizationOwnerUpsertWithWhereUniqueWithoutUserInput = { - where: OrganizationOwnerWhereUniqueInput - update: XOR - create: XOR - } - - export type OrganizationOwnerUpdateWithWhereUniqueWithoutUserInput = { - where: OrganizationOwnerWhereUniqueInput - data: XOR - } - - export type OrganizationOwnerUpdateManyWithWhereWithoutUserInput = { - where: OrganizationOwnerScalarWhereInput - data: XOR - } - - export type OrganizationOwnerScalarWhereInput = { - AND?: OrganizationOwnerScalarWhereInput | OrganizationOwnerScalarWhereInput[] - OR?: OrganizationOwnerScalarWhereInput[] - NOT?: OrganizationOwnerScalarWhereInput | OrganizationOwnerScalarWhereInput[] - id?: UuidFilter<"OrganizationOwner"> | string - organizationId?: UuidFilter<"OrganizationOwner"> | string - userId?: UuidFilter<"OrganizationOwner"> | string - createdAt?: DateTimeFilter<"OrganizationOwner"> | Date | string - updatedAt?: DateTimeFilter<"OrganizationOwner"> | Date | string - } - - export type DepartmentUpsertWithWhereUniqueWithoutManagerInput = { - where: DepartmentWhereUniqueInput - update: XOR - create: XOR - } - - export type DepartmentUpdateWithWhereUniqueWithoutManagerInput = { - where: DepartmentWhereUniqueInput - data: XOR - } - - export type DepartmentUpdateManyWithWhereWithoutManagerInput = { - where: DepartmentScalarWhereInput - data: XOR - } - - export type DepartmentScalarWhereInput = { - AND?: DepartmentScalarWhereInput | DepartmentScalarWhereInput[] - OR?: DepartmentScalarWhereInput[] - NOT?: DepartmentScalarWhereInput | DepartmentScalarWhereInput[] - id?: UuidFilter<"Department"> | string - name?: StringFilter<"Department"> | string - description?: StringNullableFilter<"Department"> | string | null - organizationId?: UuidFilter<"Department"> | string - managerId?: UuidFilter<"Department"> | string - createdAt?: DateTimeFilter<"Department"> | Date | string - updatedAt?: DateTimeFilter<"Department"> | Date | string - deletedAt?: DateTimeNullableFilter<"Department"> | Date | string | null - } - - export type TeamUpsertWithWhereUniqueWithoutCreatorInput = { - where: TeamWhereUniqueInput - update: XOR - create: XOR - } - - export type TeamUpdateWithWhereUniqueWithoutCreatorInput = { - where: TeamWhereUniqueInput - data: XOR - } - - export type TeamUpdateManyWithWhereWithoutCreatorInput = { - where: TeamScalarWhereInput - data: XOR - } - - export type TeamScalarWhereInput = { - AND?: TeamScalarWhereInput | TeamScalarWhereInput[] - OR?: TeamScalarWhereInput[] - NOT?: TeamScalarWhereInput | TeamScalarWhereInput[] - id?: UuidFilter<"Team"> | string - name?: StringFilter<"Team"> | string - description?: StringNullableFilter<"Team"> | string | null - createdBy?: UuidFilter<"Team"> | string - organizationId?: UuidFilter<"Team"> | string - departmentId?: UuidNullableFilter<"Team"> | string | null - createdAt?: DateTimeFilter<"Team"> | Date | string - updatedAt?: DateTimeFilter<"Team"> | Date | string - deletedAt?: DateTimeNullableFilter<"Team"> | Date | string | null - avatar?: StringNullableFilter<"Team"> | string | null - } - - export type TeamMemberUpsertWithWhereUniqueWithoutUserInput = { - where: TeamMemberWhereUniqueInput - update: XOR - create: XOR - } - - export type TeamMemberUpdateWithWhereUniqueWithoutUserInput = { - where: TeamMemberWhereUniqueInput - data: XOR - } - - export type TeamMemberUpdateManyWithWhereWithoutUserInput = { - where: TeamMemberScalarWhereInput - data: XOR - } - - export type TeamMemberScalarWhereInput = { - AND?: TeamMemberScalarWhereInput | TeamMemberScalarWhereInput[] - OR?: TeamMemberScalarWhereInput[] - NOT?: TeamMemberScalarWhereInput | TeamMemberScalarWhereInput[] - id?: UuidFilter<"TeamMember"> | string - teamId?: UuidFilter<"TeamMember"> | string - userId?: UuidFilter<"TeamMember"> | string - role?: EnumTeamMemberRoleFilter<"TeamMember"> | $Enums.TeamMemberRole - joinedAt?: DateTimeFilter<"TeamMember"> | Date | string - isActive?: BoolFilter<"TeamMember"> | boolean - deletedAt?: DateTimeNullableFilter<"TeamMember"> | Date | string | null - } - - export type ProjectMemberUpsertWithWhereUniqueWithoutUserInput = { - where: ProjectMemberWhereUniqueInput - update: XOR - create: XOR - } - - export type ProjectMemberUpdateWithWhereUniqueWithoutUserInput = { - where: ProjectMemberWhereUniqueInput - data: XOR - } - - export type ProjectMemberUpdateManyWithWhereWithoutUserInput = { - where: ProjectMemberScalarWhereInput - data: XOR - } - - export type ProjectMemberScalarWhereInput = { - AND?: ProjectMemberScalarWhereInput | ProjectMemberScalarWhereInput[] - OR?: ProjectMemberScalarWhereInput[] - NOT?: ProjectMemberScalarWhereInput | ProjectMemberScalarWhereInput[] - id?: UuidFilter<"ProjectMember"> | string - projectId?: UuidFilter<"ProjectMember"> | string - userId?: UuidFilter<"ProjectMember"> | string - role?: StringFilter<"ProjectMember"> | string - isActive?: BoolFilter<"ProjectMember"> | boolean - joinedAt?: DateTimeFilter<"ProjectMember"> | Date | string - leftAt?: DateTimeNullableFilter<"ProjectMember"> | Date | string | null - deletedAt?: DateTimeNullableFilter<"ProjectMember"> | Date | string | null - } - - export type ProjectUpsertWithWhereUniqueWithoutCreatorInput = { - where: ProjectWhereUniqueInput - update: XOR - create: XOR - } - - export type ProjectUpdateWithWhereUniqueWithoutCreatorInput = { - where: ProjectWhereUniqueInput - data: XOR - } - - export type ProjectUpdateManyWithWhereWithoutCreatorInput = { - where: ProjectScalarWhereInput - data: XOR - } - - export type ProjectScalarWhereInput = { - AND?: ProjectScalarWhereInput | ProjectScalarWhereInput[] - OR?: ProjectScalarWhereInput[] - NOT?: ProjectScalarWhereInput | ProjectScalarWhereInput[] - id?: UuidFilter<"Project"> | string - name?: StringFilter<"Project"> | string - description?: StringNullableFilter<"Project"> | string | null - status?: StringFilter<"Project"> | string - createdBy?: UuidFilter<"Project"> | string - organizationId?: UuidFilter<"Project"> | string - teamId?: UuidFilter<"Project"> | string - startDate?: DateTimeFilter<"Project"> | Date | string - endDate?: DateTimeFilter<"Project"> | Date | string - createdAt?: DateTimeFilter<"Project"> | Date | string - updatedAt?: DateTimeFilter<"Project"> | Date | string - deletedAt?: DateTimeNullableFilter<"Project"> | Date | string | null - priority?: EnumTaskPriorityFilter<"Project"> | $Enums.TaskPriority - progress?: FloatNullableFilter<"Project"> | number | null - budget?: FloatNullableFilter<"Project"> | number | null - lastModifiedBy?: UuidNullableFilter<"Project"> | string | null - } - - export type ProjectUpsertWithWhereUniqueWithoutModifierInput = { - where: ProjectWhereUniqueInput - update: XOR - create: XOR - } - - export type ProjectUpdateWithWhereUniqueWithoutModifierInput = { - where: ProjectWhereUniqueInput - data: XOR - } - - export type ProjectUpdateManyWithWhereWithoutModifierInput = { - where: ProjectScalarWhereInput - data: XOR - } - - export type TaskUpsertWithWhereUniqueWithoutCreatorInput = { - where: TaskWhereUniqueInput - update: XOR - create: XOR - } - - export type TaskUpdateWithWhereUniqueWithoutCreatorInput = { - where: TaskWhereUniqueInput - data: XOR - } - - export type TaskUpdateManyWithWhereWithoutCreatorInput = { - where: TaskScalarWhereInput - data: XOR - } - - export type TaskScalarWhereInput = { - AND?: TaskScalarWhereInput | TaskScalarWhereInput[] - OR?: TaskScalarWhereInput[] - NOT?: TaskScalarWhereInput | TaskScalarWhereInput[] - id?: UuidFilter<"Task"> | string - title?: StringFilter<"Task"> | string - description?: StringNullableFilter<"Task"> | string | null - priority?: EnumTaskPriorityFilter<"Task"> | $Enums.TaskPriority - status?: EnumTaskStatusFilter<"Task"> | $Enums.TaskStatus - rate?: FloatNullableFilter<"Task"> | number | null - projectId?: UuidFilter<"Task"> | string - sprintId?: UuidNullableFilter<"Task"> | string | null - createdBy?: UuidFilter<"Task"> | string - assignedTo?: UuidNullableFilter<"Task"> | string | null - dueDate?: DateTimeFilter<"Task"> | Date | string - createdAt?: DateTimeFilter<"Task"> | Date | string - updatedAt?: DateTimeFilter<"Task"> | Date | string - deletedAt?: DateTimeNullableFilter<"Task"> | Date | string | null - estimatedTime?: FloatNullableFilter<"Task"> | number | null - actualTime?: FloatNullableFilter<"Task"> | number | null - parentId?: UuidNullableFilter<"Task"> | string | null - order?: IntFilter<"Task"> | number - labels?: StringNullableListFilter<"Task"> - lastModifiedBy?: UuidNullableFilter<"Task"> | string | null + passwordResetToken?: NullableStringFieldUpdateOperationsInput | string | null + passwordResetExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + refreshToken?: NullableStringFieldUpdateOperationsInput | string | null + lastLogin?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + lastLogout?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + department?: DepartmentUpdateOneWithoutUsersNestedInput + organization?: OrganizationUpdateOneWithoutUsersNestedInput + ownedOrganizations?: OrganizationOwnerUpdateManyWithoutUserNestedInput + managedDepartments?: DepartmentUpdateManyWithoutManagerNestedInput + createdTeams?: TeamUpdateManyWithoutCreatorNestedInput + teamMemberships?: TeamMemberUpdateManyWithoutUserNestedInput + projectMemberships?: ProjectMemberUpdateManyWithoutUserNestedInput + createdProjects?: ProjectUpdateManyWithoutCreatorNestedInput + modifiedProjects?: ProjectUpdateManyWithoutModifierNestedInput + createdTasks?: TaskUpdateManyWithoutCreatorNestedInput + assignedTasks?: TaskUpdateManyWithoutAssigneeNestedInput + modifiedTasks?: TaskUpdateManyWithoutModifierNestedInput + notifications?: NotificationUpdateManyWithoutUserNestedInput + timelogs?: TimelogUpdateManyWithoutUserNestedInput + comments?: CommentUpdateManyWithoutUserNestedInput + taskAttachments?: TaskAttachmentUpdateManyWithoutUploaderNestedInput + generatedReports?: ReportUpdateManyWithoutGeneratorNestedInput + userReports?: ReportUpdateManyWithoutUserNestedInput + permissions?: PermissionUpdateManyWithoutUserNestedInput + activityLogs?: ActivityLogUpdateManyWithoutUserNestedInput + ReportNotification?: ReportNotificationUpdateManyWithoutUserNestedInput + chatParticipations?: ChatParticipantUpdateManyWithoutUserNestedInput + sentMessages?: ChatMessageUpdateManyWithoutSenderNestedInput + messageReactions?: MessageReactionUpdateManyWithoutUserNestedInput + pinnedMessages?: PinnedMessageUpdateManyWithoutUserNestedInput + hostedSessions?: VideoConferenceSessionUpdateManyWithoutHostNestedInput + videoParticipations?: VideoParticipantUpdateManyWithoutUserNestedInput + videoRecordings?: VideoRecordingUpdateManyWithoutRecorderNestedInput } - export type TaskUpsertWithWhereUniqueWithoutAssigneeInput = { - where: TaskWhereUniqueInput - update: XOR - create: XOR + export type UserUncheckedUpdateWithoutCreatedOrganizationsInput = { + id?: StringFieldUpdateOperationsInput | string + email?: StringFieldUpdateOperationsInput | string + username?: StringFieldUpdateOperationsInput | string + password?: StringFieldUpdateOperationsInput | string + firebaseUid?: NullableStringFieldUpdateOperationsInput | string | null + firstName?: StringFieldUpdateOperationsInput | string + lastName?: StringFieldUpdateOperationsInput | string + role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole + profilePic?: NullableStringFieldUpdateOperationsInput | string | null + departmentId?: NullableStringFieldUpdateOperationsInput | string | null + organizationId?: NullableStringFieldUpdateOperationsInput | string | null + isOwner?: BoolFieldUpdateOperationsInput | boolean + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + isActive?: BoolFieldUpdateOperationsInput | boolean + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + phoneNumber?: NullableStringFieldUpdateOperationsInput | string | null + jobTitle?: NullableStringFieldUpdateOperationsInput | string | null + timezone?: NullableStringFieldUpdateOperationsInput | string | null + bio?: NullableStringFieldUpdateOperationsInput | string | null + preferences?: NullableJsonNullValueInput | InputJsonValue + emailVerificationToken?: NullableStringFieldUpdateOperationsInput | string | null + emailVerificationExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + passwordResetToken?: NullableStringFieldUpdateOperationsInput | string | null + passwordResetExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + refreshToken?: NullableStringFieldUpdateOperationsInput | string | null + lastLogin?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + lastLogout?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + ownedOrganizations?: OrganizationOwnerUncheckedUpdateManyWithoutUserNestedInput + managedDepartments?: DepartmentUncheckedUpdateManyWithoutManagerNestedInput + createdTeams?: TeamUncheckedUpdateManyWithoutCreatorNestedInput + teamMemberships?: TeamMemberUncheckedUpdateManyWithoutUserNestedInput + projectMemberships?: ProjectMemberUncheckedUpdateManyWithoutUserNestedInput + createdProjects?: ProjectUncheckedUpdateManyWithoutCreatorNestedInput + modifiedProjects?: ProjectUncheckedUpdateManyWithoutModifierNestedInput + createdTasks?: TaskUncheckedUpdateManyWithoutCreatorNestedInput + assignedTasks?: TaskUncheckedUpdateManyWithoutAssigneeNestedInput + modifiedTasks?: TaskUncheckedUpdateManyWithoutModifierNestedInput + notifications?: NotificationUncheckedUpdateManyWithoutUserNestedInput + timelogs?: TimelogUncheckedUpdateManyWithoutUserNestedInput + comments?: CommentUncheckedUpdateManyWithoutUserNestedInput + taskAttachments?: TaskAttachmentUncheckedUpdateManyWithoutUploaderNestedInput + generatedReports?: ReportUncheckedUpdateManyWithoutGeneratorNestedInput + userReports?: ReportUncheckedUpdateManyWithoutUserNestedInput + permissions?: PermissionUncheckedUpdateManyWithoutUserNestedInput + activityLogs?: ActivityLogUncheckedUpdateManyWithoutUserNestedInput + ReportNotification?: ReportNotificationUncheckedUpdateManyWithoutUserNestedInput + chatParticipations?: ChatParticipantUncheckedUpdateManyWithoutUserNestedInput + sentMessages?: ChatMessageUncheckedUpdateManyWithoutSenderNestedInput + messageReactions?: MessageReactionUncheckedUpdateManyWithoutUserNestedInput + pinnedMessages?: PinnedMessageUncheckedUpdateManyWithoutUserNestedInput + hostedSessions?: VideoConferenceSessionUncheckedUpdateManyWithoutHostNestedInput + videoParticipations?: VideoParticipantUncheckedUpdateManyWithoutUserNestedInput + videoRecordings?: VideoRecordingUncheckedUpdateManyWithoutRecorderNestedInput } - export type TaskUpdateWithWhereUniqueWithoutAssigneeInput = { - where: TaskWhereUniqueInput - data: XOR + export type DepartmentUpsertWithWhereUniqueWithoutOrganizationInput = { + where: DepartmentWhereUniqueInput + update: XOR + create: XOR } - export type TaskUpdateManyWithWhereWithoutAssigneeInput = { - where: TaskScalarWhereInput - data: XOR + export type DepartmentUpdateWithWhereUniqueWithoutOrganizationInput = { + where: DepartmentWhereUniqueInput + data: XOR } - export type TaskUpsertWithWhereUniqueWithoutModifierInput = { - where: TaskWhereUniqueInput - update: XOR - create: XOR + export type DepartmentUpdateManyWithWhereWithoutOrganizationInput = { + where: DepartmentScalarWhereInput + data: XOR } - export type TaskUpdateWithWhereUniqueWithoutModifierInput = { - where: TaskWhereUniqueInput - data: XOR + export type TeamUpsertWithWhereUniqueWithoutOrganizationInput = { + where: TeamWhereUniqueInput + update: XOR + create: XOR } - export type TaskUpdateManyWithWhereWithoutModifierInput = { - where: TaskScalarWhereInput - data: XOR + export type TeamUpdateWithWhereUniqueWithoutOrganizationInput = { + where: TeamWhereUniqueInput + data: XOR } - export type NotificationUpsertWithWhereUniqueWithoutUserInput = { - where: NotificationWhereUniqueInput - update: XOR - create: XOR + export type TeamUpdateManyWithWhereWithoutOrganizationInput = { + where: TeamScalarWhereInput + data: XOR } - export type NotificationUpdateWithWhereUniqueWithoutUserInput = { - where: NotificationWhereUniqueInput - data: XOR + export type ProjectUpsertWithWhereUniqueWithoutOrganizationInput = { + where: ProjectWhereUniqueInput + update: XOR + create: XOR } - export type NotificationUpdateManyWithWhereWithoutUserInput = { - where: NotificationScalarWhereInput - data: XOR + export type ProjectUpdateWithWhereUniqueWithoutOrganizationInput = { + where: ProjectWhereUniqueInput + data: XOR } - export type NotificationScalarWhereInput = { - AND?: NotificationScalarWhereInput | NotificationScalarWhereInput[] - OR?: NotificationScalarWhereInput[] - NOT?: NotificationScalarWhereInput | NotificationScalarWhereInput[] - id?: UuidFilter<"Notification"> | string - userId?: UuidFilter<"Notification"> | string - content?: StringFilter<"Notification"> | string - isRead?: BoolFilter<"Notification"> | boolean - type?: StringFilter<"Notification"> | string - metadata?: JsonNullableFilter<"Notification"> - createdAt?: DateTimeFilter<"Notification"> | Date | string - deletedAt?: DateTimeNullableFilter<"Notification"> | Date | string | null - entityType?: StringNullableFilter<"Notification"> | string | null - entityId?: UuidNullableFilter<"Notification"> | string | null + export type ProjectUpdateManyWithWhereWithoutOrganizationInput = { + where: ProjectScalarWhereInput + data: XOR } - export type TimelogUpsertWithWhereUniqueWithoutUserInput = { - where: TimelogWhereUniqueInput - update: XOR - create: XOR + export type UserUpsertWithWhereUniqueWithoutOrganizationInput = { + where: UserWhereUniqueInput + update: XOR + create: XOR } - export type TimelogUpdateWithWhereUniqueWithoutUserInput = { - where: TimelogWhereUniqueInput - data: XOR + export type UserUpdateWithWhereUniqueWithoutOrganizationInput = { + where: UserWhereUniqueInput + data: XOR } - export type TimelogUpdateManyWithWhereWithoutUserInput = { - where: TimelogScalarWhereInput - data: XOR + export type UserUpdateManyWithWhereWithoutOrganizationInput = { + where: UserScalarWhereInput + data: XOR } - export type TimelogScalarWhereInput = { - AND?: TimelogScalarWhereInput | TimelogScalarWhereInput[] - OR?: TimelogScalarWhereInput[] - NOT?: TimelogScalarWhereInput | TimelogScalarWhereInput[] - id?: UuidFilter<"Timelog"> | string - taskId?: UuidFilter<"Timelog"> | string - userId?: UuidFilter<"Timelog"> | string - startTime?: DateTimeFilter<"Timelog"> | Date | string - endTime?: DateTimeFilter<"Timelog"> | Date | string - description?: StringNullableFilter<"Timelog"> | string | null + export type UserScalarWhereInput = { + AND?: UserScalarWhereInput | UserScalarWhereInput[] + OR?: UserScalarWhereInput[] + NOT?: UserScalarWhereInput | UserScalarWhereInput[] + id?: UuidFilter<"User"> | string + email?: StringFilter<"User"> | string + username?: StringFilter<"User"> | string + password?: StringFilter<"User"> | string + firebaseUid?: StringNullableFilter<"User"> | string | null + firstName?: StringFilter<"User"> | string + lastName?: StringFilter<"User"> | string + role?: EnumUserRoleFilter<"User"> | $Enums.UserRole + profilePic?: StringNullableFilter<"User"> | string | null + departmentId?: UuidNullableFilter<"User"> | string | null + organizationId?: UuidNullableFilter<"User"> | string | null + isOwner?: BoolFilter<"User"> | boolean + createdAt?: DateTimeFilter<"User"> | Date | string + updatedAt?: DateTimeFilter<"User"> | Date | string + isActive?: BoolFilter<"User"> | boolean + deletedAt?: DateTimeNullableFilter<"User"> | Date | string | null + phoneNumber?: StringNullableFilter<"User"> | string | null + jobTitle?: StringNullableFilter<"User"> | string | null + timezone?: StringNullableFilter<"User"> | string | null + bio?: StringNullableFilter<"User"> | string | null + preferences?: JsonNullableFilter<"User"> + emailVerificationToken?: StringNullableFilter<"User"> | string | null + emailVerificationExpires?: DateTimeNullableFilter<"User"> | Date | string | null + passwordResetToken?: StringNullableFilter<"User"> | string | null + passwordResetExpires?: DateTimeNullableFilter<"User"> | Date | string | null + refreshToken?: StringNullableFilter<"User"> | string | null + lastLogin?: DateTimeNullableFilter<"User"> | Date | string | null + lastLogout?: DateTimeNullableFilter<"User"> | Date | string | null } - export type CommentUpsertWithWhereUniqueWithoutUserInput = { - where: CommentWhereUniqueInput - update: XOR - create: XOR + export type ReportUpsertWithWhereUniqueWithoutOrganizationInput = { + where: ReportWhereUniqueInput + update: XOR + create: XOR } - export type CommentUpdateWithWhereUniqueWithoutUserInput = { - where: CommentWhereUniqueInput - data: XOR + export type ReportUpdateWithWhereUniqueWithoutOrganizationInput = { + where: ReportWhereUniqueInput + data: XOR } - export type CommentUpdateManyWithWhereWithoutUserInput = { - where: CommentScalarWhereInput - data: XOR + export type ReportUpdateManyWithWhereWithoutOrganizationInput = { + where: ReportScalarWhereInput + data: XOR } - export type CommentScalarWhereInput = { - AND?: CommentScalarWhereInput | CommentScalarWhereInput[] - OR?: CommentScalarWhereInput[] - NOT?: CommentScalarWhereInput | CommentScalarWhereInput[] - id?: UuidFilter<"Comment"> | string - taskId?: UuidFilter<"Comment"> | string - userId?: UuidFilter<"Comment"> | string - content?: StringFilter<"Comment"> | string - createdAt?: DateTimeFilter<"Comment"> | Date | string - updatedAt?: DateTimeFilter<"Comment"> | Date | string + export type OrganizationOwnerUpsertWithWhereUniqueWithoutOrganizationInput = { + where: OrganizationOwnerWhereUniqueInput + update: XOR + create: XOR } - export type TaskAttachmentUpsertWithWhereUniqueWithoutUploaderInput = { - where: TaskAttachmentWhereUniqueInput - update: XOR - create: XOR + export type OrganizationOwnerUpdateWithWhereUniqueWithoutOrganizationInput = { + where: OrganizationOwnerWhereUniqueInput + data: XOR } - export type TaskAttachmentUpdateWithWhereUniqueWithoutUploaderInput = { - where: TaskAttachmentWhereUniqueInput - data: XOR + export type OrganizationOwnerUpdateManyWithWhereWithoutOrganizationInput = { + where: OrganizationOwnerScalarWhereInput + data: XOR } - export type TaskAttachmentUpdateManyWithWhereWithoutUploaderInput = { - where: TaskAttachmentScalarWhereInput - data: XOR + export type TaskTemplateUpsertWithWhereUniqueWithoutOrganizationInput = { + where: TaskTemplateWhereUniqueInput + update: XOR + create: XOR } - export type TaskAttachmentScalarWhereInput = { - AND?: TaskAttachmentScalarWhereInput | TaskAttachmentScalarWhereInput[] - OR?: TaskAttachmentScalarWhereInput[] - NOT?: TaskAttachmentScalarWhereInput | TaskAttachmentScalarWhereInput[] - id?: UuidFilter<"TaskAttachment"> | string - taskId?: UuidFilter<"TaskAttachment"> | string - fileName?: StringFilter<"TaskAttachment"> | string - fileType?: StringFilter<"TaskAttachment"> | string - filePath?: StringFilter<"TaskAttachment"> | string - fileSize?: IntFilter<"TaskAttachment"> | number - uploadedBy?: UuidFilter<"TaskAttachment"> | string - createdAt?: DateTimeFilter<"TaskAttachment"> | Date | string - storageProvider?: StringNullableFilter<"TaskAttachment"> | string | null - storageKey?: StringFilter<"TaskAttachment"> | string + export type TaskTemplateUpdateWithWhereUniqueWithoutOrganizationInput = { + where: TaskTemplateWhereUniqueInput + data: XOR } - export type ReportUpsertWithWhereUniqueWithoutGeneratorInput = { - where: ReportWhereUniqueInput - update: XOR - create: XOR + export type TaskTemplateUpdateManyWithWhereWithoutOrganizationInput = { + where: TaskTemplateScalarWhereInput + data: XOR } - export type ReportUpdateWithWhereUniqueWithoutGeneratorInput = { - where: ReportWhereUniqueInput - data: XOR + export type TaskTemplateScalarWhereInput = { + AND?: TaskTemplateScalarWhereInput | TaskTemplateScalarWhereInput[] + OR?: TaskTemplateScalarWhereInput[] + NOT?: TaskTemplateScalarWhereInput | TaskTemplateScalarWhereInput[] + id?: UuidFilter<"TaskTemplate"> | string + name?: StringFilter<"TaskTemplate"> | string + description?: StringNullableFilter<"TaskTemplate"> | string | null + priority?: EnumTaskPriorityFilter<"TaskTemplate"> | $Enums.TaskPriority + estimatedTime?: FloatNullableFilter<"TaskTemplate"> | number | null + organizationId?: UuidFilter<"TaskTemplate"> | string + createdBy?: UuidFilter<"TaskTemplate"> | string + createdAt?: DateTimeFilter<"TaskTemplate"> | Date | string + updatedAt?: DateTimeFilter<"TaskTemplate"> | Date | string + checklist?: JsonNullableFilter<"TaskTemplate"> + labels?: StringNullableListFilter<"TaskTemplate"> + isPublic?: BoolFilter<"TaskTemplate"> | boolean } - export type ReportUpdateManyWithWhereWithoutGeneratorInput = { - where: ReportScalarWhereInput - data: XOR + export type ActivityLogUpsertWithWhereUniqueWithoutOrganizationInput = { + where: ActivityLogWhereUniqueInput + update: XOR + create: XOR } - export type ReportScalarWhereInput = { - AND?: ReportScalarWhereInput | ReportScalarWhereInput[] - OR?: ReportScalarWhereInput[] - NOT?: ReportScalarWhereInput | ReportScalarWhereInput[] - id?: UuidFilter<"Report"> | string - name?: StringFilter<"Report"> | string - description?: StringNullableFilter<"Report"> | string | null - reportType?: EnumReportTypeFilter<"Report"> | $Enums.ReportType - format?: StringFilter<"Report"> | string - parameters?: JsonNullableFilter<"Report"> - filePath?: StringFilter<"Report"> | string - generatedBy?: UuidFilter<"Report"> | string - createdAt?: DateTimeFilter<"Report"> | Date | string - status?: EnumReportStatusFilter<"Report"> | $Enums.ReportStatus - updatedAt?: DateTimeFilter<"Report"> | Date | string - lastAccessedAt?: DateTimeNullableFilter<"Report"> | Date | string | null - expiresAt?: DateTimeNullableFilter<"Report"> | Date | string | null - tags?: StringNullableFilter<"Report"> | string | null - organizationId?: UuidNullableFilter<"Report"> | string | null - teamId?: UuidNullableFilter<"Report"> | string | null - projectId?: UuidNullableFilter<"Report"> | string | null - departmentId?: UuidNullableFilter<"Report"> | string | null - userId?: UuidNullableFilter<"Report"> | string | null - scheduleId?: UuidNullableFilter<"Report"> | string | null - storageProvider?: StringNullableFilter<"Report"> | string | null - storageKey?: StringFilter<"Report"> | string + export type ActivityLogUpdateWithWhereUniqueWithoutOrganizationInput = { + where: ActivityLogWhereUniqueInput + data: XOR } - export type ReportUpsertWithWhereUniqueWithoutUserInput = { - where: ReportWhereUniqueInput - update: XOR - create: XOR + export type ActivityLogUpdateManyWithWhereWithoutOrganizationInput = { + where: ActivityLogScalarWhereInput + data: XOR } - export type ReportUpdateWithWhereUniqueWithoutUserInput = { - where: ReportWhereUniqueInput - data: XOR + export type OrganizationCreateWithoutOwnersInput = { + id?: string + name: string + description?: string | null + industry: string + sizeRange: string + website?: string | null + logoUrl?: string | null + isVerified?: boolean + status: string + createdAt?: Date | string + updatedAt?: Date | string + deletedAt?: Date | string | null + address?: string | null + contactEmail?: string | null + contactPhone?: string | null + emailVerificationOTP?: string | null + emailVerificationExpires?: Date | string | null + creator: UserCreateNestedOneWithoutCreatedOrganizationsInput + departments?: DepartmentCreateNestedManyWithoutOrganizationInput + teams?: TeamCreateNestedManyWithoutOrganizationInput + projects?: ProjectCreateNestedManyWithoutOrganizationInput + users?: UserCreateNestedManyWithoutOrganizationInput + reports?: ReportCreateNestedManyWithoutOrganizationInput + templates?: TaskTemplateCreateNestedManyWithoutOrganizationInput + activityLogs?: ActivityLogCreateNestedManyWithoutOrganizationInput } - export type ReportUpdateManyWithWhereWithoutUserInput = { - where: ReportScalarWhereInput - data: XOR + export type OrganizationUncheckedCreateWithoutOwnersInput = { + id?: string + name: string + description?: string | null + industry: string + sizeRange: string + website?: string | null + logoUrl?: string | null + isVerified?: boolean + status: string + createdAt?: Date | string + updatedAt?: Date | string + deletedAt?: Date | string | null + createdBy: string + address?: string | null + contactEmail?: string | null + contactPhone?: string | null + emailVerificationOTP?: string | null + emailVerificationExpires?: Date | string | null + departments?: DepartmentUncheckedCreateNestedManyWithoutOrganizationInput + teams?: TeamUncheckedCreateNestedManyWithoutOrganizationInput + projects?: ProjectUncheckedCreateNestedManyWithoutOrganizationInput + users?: UserUncheckedCreateNestedManyWithoutOrganizationInput + reports?: ReportUncheckedCreateNestedManyWithoutOrganizationInput + templates?: TaskTemplateUncheckedCreateNestedManyWithoutOrganizationInput + activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutOrganizationInput } - export type PermissionUpsertWithWhereUniqueWithoutUserInput = { - where: PermissionWhereUniqueInput - update: XOR - create: XOR + export type OrganizationCreateOrConnectWithoutOwnersInput = { + where: OrganizationWhereUniqueInput + create: XOR } - export type PermissionUpdateWithWhereUniqueWithoutUserInput = { - where: PermissionWhereUniqueInput - data: XOR + export type UserCreateWithoutOwnedOrganizationsInput = { + id?: string + email: string + username: string + password: string + firebaseUid?: string | null + firstName: string + lastName: string + role: $Enums.UserRole + profilePic?: string | null + isOwner?: boolean + createdAt?: Date | string + updatedAt?: Date | string + isActive?: boolean + deletedAt?: Date | string | null + phoneNumber?: string | null + jobTitle?: string | null + timezone?: string | null + bio?: string | null + preferences?: NullableJsonNullValueInput | InputJsonValue + emailVerificationToken?: string | null + emailVerificationExpires?: Date | string | null + passwordResetToken?: string | null + passwordResetExpires?: Date | string | null + refreshToken?: string | null + lastLogin?: Date | string | null + lastLogout?: Date | string | null + department?: DepartmentCreateNestedOneWithoutUsersInput + organization?: OrganizationCreateNestedOneWithoutUsersInput + createdOrganizations?: OrganizationCreateNestedManyWithoutCreatorInput + managedDepartments?: DepartmentCreateNestedManyWithoutManagerInput + createdTeams?: TeamCreateNestedManyWithoutCreatorInput + teamMemberships?: TeamMemberCreateNestedManyWithoutUserInput + projectMemberships?: ProjectMemberCreateNestedManyWithoutUserInput + createdProjects?: ProjectCreateNestedManyWithoutCreatorInput + modifiedProjects?: ProjectCreateNestedManyWithoutModifierInput + createdTasks?: TaskCreateNestedManyWithoutCreatorInput + assignedTasks?: TaskCreateNestedManyWithoutAssigneeInput + modifiedTasks?: TaskCreateNestedManyWithoutModifierInput + notifications?: NotificationCreateNestedManyWithoutUserInput + timelogs?: TimelogCreateNestedManyWithoutUserInput + comments?: CommentCreateNestedManyWithoutUserInput + taskAttachments?: TaskAttachmentCreateNestedManyWithoutUploaderInput + generatedReports?: ReportCreateNestedManyWithoutGeneratorInput + userReports?: ReportCreateNestedManyWithoutUserInput + permissions?: PermissionCreateNestedManyWithoutUserInput + activityLogs?: ActivityLogCreateNestedManyWithoutUserInput + ReportNotification?: ReportNotificationCreateNestedManyWithoutUserInput + chatParticipations?: ChatParticipantCreateNestedManyWithoutUserInput + sentMessages?: ChatMessageCreateNestedManyWithoutSenderInput + messageReactions?: MessageReactionCreateNestedManyWithoutUserInput + pinnedMessages?: PinnedMessageCreateNestedManyWithoutUserInput + hostedSessions?: VideoConferenceSessionCreateNestedManyWithoutHostInput + videoParticipations?: VideoParticipantCreateNestedManyWithoutUserInput + videoRecordings?: VideoRecordingCreateNestedManyWithoutRecorderInput } - export type PermissionUpdateManyWithWhereWithoutUserInput = { - where: PermissionScalarWhereInput - data: XOR + export type UserUncheckedCreateWithoutOwnedOrganizationsInput = { + id?: string + email: string + username: string + password: string + firebaseUid?: string | null + firstName: string + lastName: string + role: $Enums.UserRole + profilePic?: string | null + departmentId?: string | null + organizationId?: string | null + isOwner?: boolean + createdAt?: Date | string + updatedAt?: Date | string + isActive?: boolean + deletedAt?: Date | string | null + phoneNumber?: string | null + jobTitle?: string | null + timezone?: string | null + bio?: string | null + preferences?: NullableJsonNullValueInput | InputJsonValue + emailVerificationToken?: string | null + emailVerificationExpires?: Date | string | null + passwordResetToken?: string | null + passwordResetExpires?: Date | string | null + refreshToken?: string | null + lastLogin?: Date | string | null + lastLogout?: Date | string | null + createdOrganizations?: OrganizationUncheckedCreateNestedManyWithoutCreatorInput + managedDepartments?: DepartmentUncheckedCreateNestedManyWithoutManagerInput + createdTeams?: TeamUncheckedCreateNestedManyWithoutCreatorInput + teamMemberships?: TeamMemberUncheckedCreateNestedManyWithoutUserInput + projectMemberships?: ProjectMemberUncheckedCreateNestedManyWithoutUserInput + createdProjects?: ProjectUncheckedCreateNestedManyWithoutCreatorInput + modifiedProjects?: ProjectUncheckedCreateNestedManyWithoutModifierInput + createdTasks?: TaskUncheckedCreateNestedManyWithoutCreatorInput + assignedTasks?: TaskUncheckedCreateNestedManyWithoutAssigneeInput + modifiedTasks?: TaskUncheckedCreateNestedManyWithoutModifierInput + notifications?: NotificationUncheckedCreateNestedManyWithoutUserInput + timelogs?: TimelogUncheckedCreateNestedManyWithoutUserInput + comments?: CommentUncheckedCreateNestedManyWithoutUserInput + taskAttachments?: TaskAttachmentUncheckedCreateNestedManyWithoutUploaderInput + generatedReports?: ReportUncheckedCreateNestedManyWithoutGeneratorInput + userReports?: ReportUncheckedCreateNestedManyWithoutUserInput + permissions?: PermissionUncheckedCreateNestedManyWithoutUserInput + activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutUserInput + ReportNotification?: ReportNotificationUncheckedCreateNestedManyWithoutUserInput + chatParticipations?: ChatParticipantUncheckedCreateNestedManyWithoutUserInput + sentMessages?: ChatMessageUncheckedCreateNestedManyWithoutSenderInput + messageReactions?: MessageReactionUncheckedCreateNestedManyWithoutUserInput + pinnedMessages?: PinnedMessageUncheckedCreateNestedManyWithoutUserInput + hostedSessions?: VideoConferenceSessionUncheckedCreateNestedManyWithoutHostInput + videoParticipations?: VideoParticipantUncheckedCreateNestedManyWithoutUserInput + videoRecordings?: VideoRecordingUncheckedCreateNestedManyWithoutRecorderInput } - export type PermissionScalarWhereInput = { - AND?: PermissionScalarWhereInput | PermissionScalarWhereInput[] - OR?: PermissionScalarWhereInput[] - NOT?: PermissionScalarWhereInput | PermissionScalarWhereInput[] - id?: UuidFilter<"Permission"> | string - userId?: UuidFilter<"Permission"> | string - entityType?: StringFilter<"Permission"> | string - entityId?: UuidFilter<"Permission"> | string - permissions?: JsonFilter<"Permission"> - createdAt?: DateTimeFilter<"Permission"> | Date | string - updatedAt?: DateTimeFilter<"Permission"> | Date | string + export type UserCreateOrConnectWithoutOwnedOrganizationsInput = { + where: UserWhereUniqueInput + create: XOR + } + + export type OrganizationUpsertWithoutOwnersInput = { + update: XOR + create: XOR + where?: OrganizationWhereInput } - export type ActivityLogUpsertWithWhereUniqueWithoutUserInput = { - where: ActivityLogWhereUniqueInput - update: XOR - create: XOR + export type OrganizationUpdateToOneWithWhereWithoutOwnersInput = { + where?: OrganizationWhereInput + data: XOR } - export type ActivityLogUpdateWithWhereUniqueWithoutUserInput = { - where: ActivityLogWhereUniqueInput - data: XOR + export type OrganizationUpdateWithoutOwnersInput = { + id?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + industry?: StringFieldUpdateOperationsInput | string + sizeRange?: StringFieldUpdateOperationsInput | string + website?: NullableStringFieldUpdateOperationsInput | string | null + logoUrl?: NullableStringFieldUpdateOperationsInput | string | null + isVerified?: BoolFieldUpdateOperationsInput | boolean + status?: StringFieldUpdateOperationsInput | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + address?: NullableStringFieldUpdateOperationsInput | string | null + contactEmail?: NullableStringFieldUpdateOperationsInput | string | null + contactPhone?: NullableStringFieldUpdateOperationsInput | string | null + emailVerificationOTP?: NullableStringFieldUpdateOperationsInput | string | null + emailVerificationExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + creator?: UserUpdateOneRequiredWithoutCreatedOrganizationsNestedInput + departments?: DepartmentUpdateManyWithoutOrganizationNestedInput + teams?: TeamUpdateManyWithoutOrganizationNestedInput + projects?: ProjectUpdateManyWithoutOrganizationNestedInput + users?: UserUpdateManyWithoutOrganizationNestedInput + reports?: ReportUpdateManyWithoutOrganizationNestedInput + templates?: TaskTemplateUpdateManyWithoutOrganizationNestedInput + activityLogs?: ActivityLogUpdateManyWithoutOrganizationNestedInput } - export type ActivityLogUpdateManyWithWhereWithoutUserInput = { - where: ActivityLogScalarWhereInput - data: XOR + export type OrganizationUncheckedUpdateWithoutOwnersInput = { + id?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + industry?: StringFieldUpdateOperationsInput | string + sizeRange?: StringFieldUpdateOperationsInput | string + website?: NullableStringFieldUpdateOperationsInput | string | null + logoUrl?: NullableStringFieldUpdateOperationsInput | string | null + isVerified?: BoolFieldUpdateOperationsInput | boolean + status?: StringFieldUpdateOperationsInput | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + createdBy?: StringFieldUpdateOperationsInput | string + address?: NullableStringFieldUpdateOperationsInput | string | null + contactEmail?: NullableStringFieldUpdateOperationsInput | string | null + contactPhone?: NullableStringFieldUpdateOperationsInput | string | null + emailVerificationOTP?: NullableStringFieldUpdateOperationsInput | string | null + emailVerificationExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + departments?: DepartmentUncheckedUpdateManyWithoutOrganizationNestedInput + teams?: TeamUncheckedUpdateManyWithoutOrganizationNestedInput + projects?: ProjectUncheckedUpdateManyWithoutOrganizationNestedInput + users?: UserUncheckedUpdateManyWithoutOrganizationNestedInput + reports?: ReportUncheckedUpdateManyWithoutOrganizationNestedInput + templates?: TaskTemplateUncheckedUpdateManyWithoutOrganizationNestedInput + activityLogs?: ActivityLogUncheckedUpdateManyWithoutOrganizationNestedInput } - export type ActivityLogScalarWhereInput = { - AND?: ActivityLogScalarWhereInput | ActivityLogScalarWhereInput[] - OR?: ActivityLogScalarWhereInput[] - NOT?: ActivityLogScalarWhereInput | ActivityLogScalarWhereInput[] - id?: UuidFilter<"ActivityLog"> | string - entityType?: EnumEntityTypeFilter<"ActivityLog"> | $Enums.EntityType - action?: EnumActionTypeFilter<"ActivityLog"> | $Enums.ActionType - userId?: UuidFilter<"ActivityLog"> | string - organizationId?: UuidNullableFilter<"ActivityLog"> | string | null - departmentId?: UuidNullableFilter<"ActivityLog"> | string | null - projectId?: UuidNullableFilter<"ActivityLog"> | string | null - teamId?: UuidNullableFilter<"ActivityLog"> | string | null - sprintId?: UuidNullableFilter<"ActivityLog"> | string | null - taskId?: UuidFilter<"ActivityLog"> | string - details?: JsonNullableFilter<"ActivityLog"> - createdAt?: DateTimeFilter<"ActivityLog"> | Date | string + export type UserUpsertWithoutOwnedOrganizationsInput = { + update: XOR + create: XOR + where?: UserWhereInput } - export type ReportNotificationUpsertWithWhereUniqueWithoutUserInput = { - where: ReportNotificationWhereUniqueInput - update: XOR - create: XOR + export type UserUpdateToOneWithWhereWithoutOwnedOrganizationsInput = { + where?: UserWhereInput + data: XOR } - export type ReportNotificationUpdateWithWhereUniqueWithoutUserInput = { - where: ReportNotificationWhereUniqueInput - data: XOR + export type UserUpdateWithoutOwnedOrganizationsInput = { + id?: StringFieldUpdateOperationsInput | string + email?: StringFieldUpdateOperationsInput | string + username?: StringFieldUpdateOperationsInput | string + password?: StringFieldUpdateOperationsInput | string + firebaseUid?: NullableStringFieldUpdateOperationsInput | string | null + firstName?: StringFieldUpdateOperationsInput | string + lastName?: StringFieldUpdateOperationsInput | string + role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole + profilePic?: NullableStringFieldUpdateOperationsInput | string | null + isOwner?: BoolFieldUpdateOperationsInput | boolean + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + isActive?: BoolFieldUpdateOperationsInput | boolean + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + phoneNumber?: NullableStringFieldUpdateOperationsInput | string | null + jobTitle?: NullableStringFieldUpdateOperationsInput | string | null + timezone?: NullableStringFieldUpdateOperationsInput | string | null + bio?: NullableStringFieldUpdateOperationsInput | string | null + preferences?: NullableJsonNullValueInput | InputJsonValue + emailVerificationToken?: NullableStringFieldUpdateOperationsInput | string | null + emailVerificationExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + passwordResetToken?: NullableStringFieldUpdateOperationsInput | string | null + passwordResetExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + refreshToken?: NullableStringFieldUpdateOperationsInput | string | null + lastLogin?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + lastLogout?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + department?: DepartmentUpdateOneWithoutUsersNestedInput + organization?: OrganizationUpdateOneWithoutUsersNestedInput + createdOrganizations?: OrganizationUpdateManyWithoutCreatorNestedInput + managedDepartments?: DepartmentUpdateManyWithoutManagerNestedInput + createdTeams?: TeamUpdateManyWithoutCreatorNestedInput + teamMemberships?: TeamMemberUpdateManyWithoutUserNestedInput + projectMemberships?: ProjectMemberUpdateManyWithoutUserNestedInput + createdProjects?: ProjectUpdateManyWithoutCreatorNestedInput + modifiedProjects?: ProjectUpdateManyWithoutModifierNestedInput + createdTasks?: TaskUpdateManyWithoutCreatorNestedInput + assignedTasks?: TaskUpdateManyWithoutAssigneeNestedInput + modifiedTasks?: TaskUpdateManyWithoutModifierNestedInput + notifications?: NotificationUpdateManyWithoutUserNestedInput + timelogs?: TimelogUpdateManyWithoutUserNestedInput + comments?: CommentUpdateManyWithoutUserNestedInput + taskAttachments?: TaskAttachmentUpdateManyWithoutUploaderNestedInput + generatedReports?: ReportUpdateManyWithoutGeneratorNestedInput + userReports?: ReportUpdateManyWithoutUserNestedInput + permissions?: PermissionUpdateManyWithoutUserNestedInput + activityLogs?: ActivityLogUpdateManyWithoutUserNestedInput + ReportNotification?: ReportNotificationUpdateManyWithoutUserNestedInput + chatParticipations?: ChatParticipantUpdateManyWithoutUserNestedInput + sentMessages?: ChatMessageUpdateManyWithoutSenderNestedInput + messageReactions?: MessageReactionUpdateManyWithoutUserNestedInput + pinnedMessages?: PinnedMessageUpdateManyWithoutUserNestedInput + hostedSessions?: VideoConferenceSessionUpdateManyWithoutHostNestedInput + videoParticipations?: VideoParticipantUpdateManyWithoutUserNestedInput + videoRecordings?: VideoRecordingUpdateManyWithoutRecorderNestedInput } - export type ReportNotificationUpdateManyWithWhereWithoutUserInput = { - where: ReportNotificationScalarWhereInput - data: XOR + export type UserUncheckedUpdateWithoutOwnedOrganizationsInput = { + id?: StringFieldUpdateOperationsInput | string + email?: StringFieldUpdateOperationsInput | string + username?: StringFieldUpdateOperationsInput | string + password?: StringFieldUpdateOperationsInput | string + firebaseUid?: NullableStringFieldUpdateOperationsInput | string | null + firstName?: StringFieldUpdateOperationsInput | string + lastName?: StringFieldUpdateOperationsInput | string + role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole + profilePic?: NullableStringFieldUpdateOperationsInput | string | null + departmentId?: NullableStringFieldUpdateOperationsInput | string | null + organizationId?: NullableStringFieldUpdateOperationsInput | string | null + isOwner?: BoolFieldUpdateOperationsInput | boolean + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + isActive?: BoolFieldUpdateOperationsInput | boolean + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + phoneNumber?: NullableStringFieldUpdateOperationsInput | string | null + jobTitle?: NullableStringFieldUpdateOperationsInput | string | null + timezone?: NullableStringFieldUpdateOperationsInput | string | null + bio?: NullableStringFieldUpdateOperationsInput | string | null + preferences?: NullableJsonNullValueInput | InputJsonValue + emailVerificationToken?: NullableStringFieldUpdateOperationsInput | string | null + emailVerificationExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + passwordResetToken?: NullableStringFieldUpdateOperationsInput | string | null + passwordResetExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + refreshToken?: NullableStringFieldUpdateOperationsInput | string | null + lastLogin?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + lastLogout?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + createdOrganizations?: OrganizationUncheckedUpdateManyWithoutCreatorNestedInput + managedDepartments?: DepartmentUncheckedUpdateManyWithoutManagerNestedInput + createdTeams?: TeamUncheckedUpdateManyWithoutCreatorNestedInput + teamMemberships?: TeamMemberUncheckedUpdateManyWithoutUserNestedInput + projectMemberships?: ProjectMemberUncheckedUpdateManyWithoutUserNestedInput + createdProjects?: ProjectUncheckedUpdateManyWithoutCreatorNestedInput + modifiedProjects?: ProjectUncheckedUpdateManyWithoutModifierNestedInput + createdTasks?: TaskUncheckedUpdateManyWithoutCreatorNestedInput + assignedTasks?: TaskUncheckedUpdateManyWithoutAssigneeNestedInput + modifiedTasks?: TaskUncheckedUpdateManyWithoutModifierNestedInput + notifications?: NotificationUncheckedUpdateManyWithoutUserNestedInput + timelogs?: TimelogUncheckedUpdateManyWithoutUserNestedInput + comments?: CommentUncheckedUpdateManyWithoutUserNestedInput + taskAttachments?: TaskAttachmentUncheckedUpdateManyWithoutUploaderNestedInput + generatedReports?: ReportUncheckedUpdateManyWithoutGeneratorNestedInput + userReports?: ReportUncheckedUpdateManyWithoutUserNestedInput + permissions?: PermissionUncheckedUpdateManyWithoutUserNestedInput + activityLogs?: ActivityLogUncheckedUpdateManyWithoutUserNestedInput + ReportNotification?: ReportNotificationUncheckedUpdateManyWithoutUserNestedInput + chatParticipations?: ChatParticipantUncheckedUpdateManyWithoutUserNestedInput + sentMessages?: ChatMessageUncheckedUpdateManyWithoutSenderNestedInput + messageReactions?: MessageReactionUncheckedUpdateManyWithoutUserNestedInput + pinnedMessages?: PinnedMessageUncheckedUpdateManyWithoutUserNestedInput + hostedSessions?: VideoConferenceSessionUncheckedUpdateManyWithoutHostNestedInput + videoParticipations?: VideoParticipantUncheckedUpdateManyWithoutUserNestedInput + videoRecordings?: VideoRecordingUncheckedUpdateManyWithoutRecorderNestedInput } - export type ReportNotificationScalarWhereInput = { - AND?: ReportNotificationScalarWhereInput | ReportNotificationScalarWhereInput[] - OR?: ReportNotificationScalarWhereInput[] - NOT?: ReportNotificationScalarWhereInput | ReportNotificationScalarWhereInput[] - id?: UuidFilter<"ReportNotification"> | string - reportId?: UuidFilter<"ReportNotification"> | string - userId?: UuidFilter<"ReportNotification"> | string - notified?: BoolFilter<"ReportNotification"> | boolean + export type OrganizationCreateWithoutDepartmentsInput = { + id?: string + name: string + description?: string | null + industry: string + sizeRange: string + website?: string | null + logoUrl?: string | null + isVerified?: boolean + status: string + createdAt?: Date | string + updatedAt?: Date | string + deletedAt?: Date | string | null + address?: string | null + contactEmail?: string | null + contactPhone?: string | null + emailVerificationOTP?: string | null + emailVerificationExpires?: Date | string | null + creator: UserCreateNestedOneWithoutCreatedOrganizationsInput + teams?: TeamCreateNestedManyWithoutOrganizationInput + projects?: ProjectCreateNestedManyWithoutOrganizationInput + users?: UserCreateNestedManyWithoutOrganizationInput + reports?: ReportCreateNestedManyWithoutOrganizationInput + owners?: OrganizationOwnerCreateNestedManyWithoutOrganizationInput + templates?: TaskTemplateCreateNestedManyWithoutOrganizationInput + activityLogs?: ActivityLogCreateNestedManyWithoutOrganizationInput } - export type UserCreateWithoutCreatedOrganizationsInput = { + export type OrganizationUncheckedCreateWithoutDepartmentsInput = { + id?: string + name: string + description?: string | null + industry: string + sizeRange: string + website?: string | null + logoUrl?: string | null + isVerified?: boolean + status: string + createdAt?: Date | string + updatedAt?: Date | string + deletedAt?: Date | string | null + createdBy: string + address?: string | null + contactEmail?: string | null + contactPhone?: string | null + emailVerificationOTP?: string | null + emailVerificationExpires?: Date | string | null + teams?: TeamUncheckedCreateNestedManyWithoutOrganizationInput + projects?: ProjectUncheckedCreateNestedManyWithoutOrganizationInput + users?: UserUncheckedCreateNestedManyWithoutOrganizationInput + reports?: ReportUncheckedCreateNestedManyWithoutOrganizationInput + owners?: OrganizationOwnerUncheckedCreateNestedManyWithoutOrganizationInput + templates?: TaskTemplateUncheckedCreateNestedManyWithoutOrganizationInput + activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutOrganizationInput + } + + export type OrganizationCreateOrConnectWithoutDepartmentsInput = { + where: OrganizationWhereUniqueInput + create: XOR + } + + export type UserCreateWithoutManagedDepartmentsInput = { id?: string email: string username: string @@ -41386,8 +58686,8 @@ export namespace Prisma { lastLogout?: Date | string | null department?: DepartmentCreateNestedOneWithoutUsersInput organization?: OrganizationCreateNestedOneWithoutUsersInput + createdOrganizations?: OrganizationCreateNestedManyWithoutCreatorInput ownedOrganizations?: OrganizationOwnerCreateNestedManyWithoutUserInput - managedDepartments?: DepartmentCreateNestedManyWithoutManagerInput createdTeams?: TeamCreateNestedManyWithoutCreatorInput teamMemberships?: TeamMemberCreateNestedManyWithoutUserInput projectMemberships?: ProjectMemberCreateNestedManyWithoutUserInput @@ -41405,9 +58705,16 @@ export namespace Prisma { permissions?: PermissionCreateNestedManyWithoutUserInput activityLogs?: ActivityLogCreateNestedManyWithoutUserInput ReportNotification?: ReportNotificationCreateNestedManyWithoutUserInput + chatParticipations?: ChatParticipantCreateNestedManyWithoutUserInput + sentMessages?: ChatMessageCreateNestedManyWithoutSenderInput + messageReactions?: MessageReactionCreateNestedManyWithoutUserInput + pinnedMessages?: PinnedMessageCreateNestedManyWithoutUserInput + hostedSessions?: VideoConferenceSessionCreateNestedManyWithoutHostInput + videoParticipations?: VideoParticipantCreateNestedManyWithoutUserInput + videoRecordings?: VideoRecordingCreateNestedManyWithoutRecorderInput } - export type UserUncheckedCreateWithoutCreatedOrganizationsInput = { + export type UserUncheckedCreateWithoutManagedDepartmentsInput = { id?: string email: string username: string @@ -41436,8 +58743,8 @@ export namespace Prisma { refreshToken?: string | null lastLogin?: Date | string | null lastLogout?: Date | string | null + createdOrganizations?: OrganizationUncheckedCreateNestedManyWithoutCreatorInput ownedOrganizations?: OrganizationOwnerUncheckedCreateNestedManyWithoutUserInput - managedDepartments?: DepartmentUncheckedCreateNestedManyWithoutManagerInput createdTeams?: TeamUncheckedCreateNestedManyWithoutCreatorInput teamMemberships?: TeamMemberUncheckedCreateNestedManyWithoutUserInput projectMemberships?: ProjectMemberUncheckedCreateNestedManyWithoutUserInput @@ -41455,52 +58762,21 @@ export namespace Prisma { permissions?: PermissionUncheckedCreateNestedManyWithoutUserInput activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutUserInput ReportNotification?: ReportNotificationUncheckedCreateNestedManyWithoutUserInput + chatParticipations?: ChatParticipantUncheckedCreateNestedManyWithoutUserInput + sentMessages?: ChatMessageUncheckedCreateNestedManyWithoutSenderInput + messageReactions?: MessageReactionUncheckedCreateNestedManyWithoutUserInput + pinnedMessages?: PinnedMessageUncheckedCreateNestedManyWithoutUserInput + hostedSessions?: VideoConferenceSessionUncheckedCreateNestedManyWithoutHostInput + videoParticipations?: VideoParticipantUncheckedCreateNestedManyWithoutUserInput + videoRecordings?: VideoRecordingUncheckedCreateNestedManyWithoutRecorderInput } - export type UserCreateOrConnectWithoutCreatedOrganizationsInput = { + export type UserCreateOrConnectWithoutManagedDepartmentsInput = { where: UserWhereUniqueInput - create: XOR - } - - export type DepartmentCreateWithoutOrganizationInput = { - id?: string - name: string - description?: string | null - createdAt?: Date | string - updatedAt?: Date | string - deletedAt?: Date | string | null - manager: UserCreateNestedOneWithoutManagedDepartmentsInput - teams?: TeamCreateNestedManyWithoutDepartmentInput - users?: UserCreateNestedManyWithoutDepartmentInput - activityLogs?: ActivityLogCreateNestedManyWithoutDepartmentInput - Report?: ReportCreateNestedManyWithoutDepartmentInput - } - - export type DepartmentUncheckedCreateWithoutOrganizationInput = { - id?: string - name: string - description?: string | null - managerId: string - createdAt?: Date | string - updatedAt?: Date | string - deletedAt?: Date | string | null - teams?: TeamUncheckedCreateNestedManyWithoutDepartmentInput - users?: UserUncheckedCreateNestedManyWithoutDepartmentInput - activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutDepartmentInput - Report?: ReportUncheckedCreateNestedManyWithoutDepartmentInput - } - - export type DepartmentCreateOrConnectWithoutOrganizationInput = { - where: DepartmentWhereUniqueInput - create: XOR - } - - export type DepartmentCreateManyOrganizationInputEnvelope = { - data: DepartmentCreateManyOrganizationInput | DepartmentCreateManyOrganizationInput[] - skipDuplicates?: boolean + create: XOR } - export type TeamCreateWithoutOrganizationInput = { + export type TeamCreateWithoutDepartmentInput = { id?: string name: string description?: string | null @@ -41509,19 +58785,19 @@ export namespace Prisma { deletedAt?: Date | string | null avatar?: string | null creator: UserCreateNestedOneWithoutCreatedTeamsInput - department?: DepartmentCreateNestedOneWithoutTeamsInput + organization: OrganizationCreateNestedOneWithoutTeamsInput members?: TeamMemberCreateNestedManyWithoutTeamInput projects?: ProjectCreateNestedManyWithoutTeamInput reports?: ReportCreateNestedManyWithoutTeamInput activityLogs?: ActivityLogCreateNestedManyWithoutTeamInput } - export type TeamUncheckedCreateWithoutOrganizationInput = { + export type TeamUncheckedCreateWithoutDepartmentInput = { id?: string name: string description?: string | null createdBy: string - departmentId?: string | null + organizationId: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null @@ -41532,73 +58808,17 @@ export namespace Prisma { activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutTeamInput } - export type TeamCreateOrConnectWithoutOrganizationInput = { + export type TeamCreateOrConnectWithoutDepartmentInput = { where: TeamWhereUniqueInput - create: XOR - } - - export type TeamCreateManyOrganizationInputEnvelope = { - data: TeamCreateManyOrganizationInput | TeamCreateManyOrganizationInput[] - skipDuplicates?: boolean - } - - export type ProjectCreateWithoutOrganizationInput = { - id?: string - name: string - description?: string | null - status: string - startDate: Date | string - endDate: Date | string - createdAt?: Date | string - updatedAt?: Date | string - deletedAt?: Date | string | null - priority?: $Enums.TaskPriority - progress?: number | null - budget?: number | null - creator: UserCreateNestedOneWithoutCreatedProjectsInput - modifier?: UserCreateNestedOneWithoutModifiedProjectsInput - team: TeamCreateNestedOneWithoutProjectsInput - sprints?: SprintCreateNestedManyWithoutProjectInput - tasks?: TaskCreateNestedManyWithoutProjectInput - reports?: ReportCreateNestedManyWithoutProjectInput - activityLogs?: ActivityLogCreateNestedManyWithoutProjectInput - ProjectMember?: ProjectMemberCreateNestedManyWithoutProjectInput - } - - export type ProjectUncheckedCreateWithoutOrganizationInput = { - id?: string - name: string - description?: string | null - status: string - createdBy: string - teamId: string - startDate: Date | string - endDate: Date | string - createdAt?: Date | string - updatedAt?: Date | string - deletedAt?: Date | string | null - priority?: $Enums.TaskPriority - progress?: number | null - budget?: number | null - lastModifiedBy?: string | null - sprints?: SprintUncheckedCreateNestedManyWithoutProjectInput - tasks?: TaskUncheckedCreateNestedManyWithoutProjectInput - reports?: ReportUncheckedCreateNestedManyWithoutProjectInput - activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutProjectInput - ProjectMember?: ProjectMemberUncheckedCreateNestedManyWithoutProjectInput - } - - export type ProjectCreateOrConnectWithoutOrganizationInput = { - where: ProjectWhereUniqueInput - create: XOR + create: XOR } - export type ProjectCreateManyOrganizationInputEnvelope = { - data: ProjectCreateManyOrganizationInput | ProjectCreateManyOrganizationInput[] + export type TeamCreateManyDepartmentInputEnvelope = { + data: TeamCreateManyDepartmentInput | TeamCreateManyDepartmentInput[] skipDuplicates?: boolean } - export type UserCreateWithoutOrganizationInput = { + export type UserCreateWithoutDepartmentInput = { id?: string email: string username: string @@ -41625,7 +58845,7 @@ export namespace Prisma { refreshToken?: string | null lastLogin?: Date | string | null lastLogout?: Date | string | null - department?: DepartmentCreateNestedOneWithoutUsersInput + organization?: OrganizationCreateNestedOneWithoutUsersInput createdOrganizations?: OrganizationCreateNestedManyWithoutCreatorInput ownedOrganizations?: OrganizationOwnerCreateNestedManyWithoutUserInput managedDepartments?: DepartmentCreateNestedManyWithoutManagerInput @@ -41646,9 +58866,16 @@ export namespace Prisma { permissions?: PermissionCreateNestedManyWithoutUserInput activityLogs?: ActivityLogCreateNestedManyWithoutUserInput ReportNotification?: ReportNotificationCreateNestedManyWithoutUserInput + chatParticipations?: ChatParticipantCreateNestedManyWithoutUserInput + sentMessages?: ChatMessageCreateNestedManyWithoutSenderInput + messageReactions?: MessageReactionCreateNestedManyWithoutUserInput + pinnedMessages?: PinnedMessageCreateNestedManyWithoutUserInput + hostedSessions?: VideoConferenceSessionCreateNestedManyWithoutHostInput + videoParticipations?: VideoParticipantCreateNestedManyWithoutUserInput + videoRecordings?: VideoRecordingCreateNestedManyWithoutRecorderInput } - export type UserUncheckedCreateWithoutOrganizationInput = { + export type UserUncheckedCreateWithoutDepartmentInput = { id?: string email: string username: string @@ -41658,7 +58885,7 @@ export namespace Prisma { lastName: string role: $Enums.UserRole profilePic?: string | null - departmentId?: string | null + organizationId?: string | null isOwner?: boolean createdAt?: Date | string updatedAt?: Date | string @@ -41696,19 +58923,64 @@ export namespace Prisma { permissions?: PermissionUncheckedCreateNestedManyWithoutUserInput activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutUserInput ReportNotification?: ReportNotificationUncheckedCreateNestedManyWithoutUserInput + chatParticipations?: ChatParticipantUncheckedCreateNestedManyWithoutUserInput + sentMessages?: ChatMessageUncheckedCreateNestedManyWithoutSenderInput + messageReactions?: MessageReactionUncheckedCreateNestedManyWithoutUserInput + pinnedMessages?: PinnedMessageUncheckedCreateNestedManyWithoutUserInput + hostedSessions?: VideoConferenceSessionUncheckedCreateNestedManyWithoutHostInput + videoParticipations?: VideoParticipantUncheckedCreateNestedManyWithoutUserInput + videoRecordings?: VideoRecordingUncheckedCreateNestedManyWithoutRecorderInput } - export type UserCreateOrConnectWithoutOrganizationInput = { + export type UserCreateOrConnectWithoutDepartmentInput = { where: UserWhereUniqueInput - create: XOR + create: XOR } - export type UserCreateManyOrganizationInputEnvelope = { - data: UserCreateManyOrganizationInput | UserCreateManyOrganizationInput[] + export type UserCreateManyDepartmentInputEnvelope = { + data: UserCreateManyDepartmentInput | UserCreateManyDepartmentInput[] skipDuplicates?: boolean } - export type ReportCreateWithoutOrganizationInput = { + export type ActivityLogCreateWithoutDepartmentInput = { + id?: string + entityType: $Enums.EntityType + action: $Enums.ActionType + details?: NullableJsonNullValueInput | InputJsonValue + createdAt?: Date | string + user: UserCreateNestedOneWithoutActivityLogsInput + organization?: OrganizationCreateNestedOneWithoutActivityLogsInput + project?: ProjectCreateNestedOneWithoutActivityLogsInput + team?: TeamCreateNestedOneWithoutActivityLogsInput + sprint?: SprintCreateNestedOneWithoutActivityLogsInput + task?: TaskCreateNestedOneWithoutActivityLogsInput + } + + export type ActivityLogUncheckedCreateWithoutDepartmentInput = { + id?: string + entityType: $Enums.EntityType + action: $Enums.ActionType + userId: string + organizationId?: string | null + projectId?: string | null + teamId?: string | null + sprintId?: string | null + taskId: string + details?: NullableJsonNullValueInput | InputJsonValue + createdAt?: Date | string + } + + export type ActivityLogCreateOrConnectWithoutDepartmentInput = { + where: ActivityLogWhereUniqueInput + create: XOR + } + + export type ActivityLogCreateManyDepartmentInputEnvelope = { + data: ActivityLogCreateManyDepartmentInput | ActivityLogCreateManyDepartmentInput[] + skipDuplicates?: boolean + } + + export type ReportCreateWithoutDepartmentInput = { id?: string name: string description?: string | null @@ -41725,15 +58997,15 @@ export namespace Prisma { storageProvider?: string | null storageKey: string generator: UserCreateNestedOneWithoutGeneratedReportsInput + organization?: OrganizationCreateNestedOneWithoutReportsInput team?: TeamCreateNestedOneWithoutReportsInput project?: ProjectCreateNestedOneWithoutReportsInput - department?: DepartmentCreateNestedOneWithoutReportInput user?: UserCreateNestedOneWithoutUserReportsInput reportSchedule?: ReportScheduleCreateNestedOneWithoutReportsInput notifiedUsers?: ReportNotificationCreateNestedManyWithoutReportInput } - export type ReportUncheckedCreateWithoutOrganizationInput = { + export type ReportUncheckedCreateWithoutDepartmentInput = { id?: string name: string description?: string | null @@ -41748,9 +59020,9 @@ export namespace Prisma { lastAccessedAt?: Date | string | null expiresAt?: Date | string | null tags?: string | null + organizationId?: string | null teamId?: string | null projectId?: string | null - departmentId?: string | null userId?: string | null scheduleId?: string | null storageProvider?: string | null @@ -41758,128 +59030,95 @@ export namespace Prisma { notifiedUsers?: ReportNotificationUncheckedCreateNestedManyWithoutReportInput } - export type ReportCreateOrConnectWithoutOrganizationInput = { - where: ReportWhereUniqueInput - create: XOR - } - - export type ReportCreateManyOrganizationInputEnvelope = { - data: ReportCreateManyOrganizationInput | ReportCreateManyOrganizationInput[] - skipDuplicates?: boolean - } - - export type OrganizationOwnerCreateWithoutOrganizationInput = { - id?: string - createdAt?: Date | string - updatedAt?: Date | string - user: UserCreateNestedOneWithoutOwnedOrganizationsInput - } - - export type OrganizationOwnerUncheckedCreateWithoutOrganizationInput = { - id?: string - userId: string - createdAt?: Date | string - updatedAt?: Date | string - } - - export type OrganizationOwnerCreateOrConnectWithoutOrganizationInput = { - where: OrganizationOwnerWhereUniqueInput - create: XOR - } - - export type OrganizationOwnerCreateManyOrganizationInputEnvelope = { - data: OrganizationOwnerCreateManyOrganizationInput | OrganizationOwnerCreateManyOrganizationInput[] - skipDuplicates?: boolean - } - - export type TaskTemplateCreateWithoutOrganizationInput = { - id?: string - name: string - description?: string | null - priority: $Enums.TaskPriority - estimatedTime?: number | null - createdBy: string - createdAt?: Date | string - updatedAt?: Date | string - checklist?: NullableJsonNullValueInput | InputJsonValue - labels?: TaskTemplateCreatelabelsInput | string[] - isPublic?: boolean - } - - export type TaskTemplateUncheckedCreateWithoutOrganizationInput = { - id?: string - name: string - description?: string | null - priority: $Enums.TaskPriority - estimatedTime?: number | null - createdBy: string - createdAt?: Date | string - updatedAt?: Date | string - checklist?: NullableJsonNullValueInput | InputJsonValue - labels?: TaskTemplateCreatelabelsInput | string[] - isPublic?: boolean - } - - export type TaskTemplateCreateOrConnectWithoutOrganizationInput = { - where: TaskTemplateWhereUniqueInput - create: XOR + export type ReportCreateOrConnectWithoutDepartmentInput = { + where: ReportWhereUniqueInput + create: XOR } - export type TaskTemplateCreateManyOrganizationInputEnvelope = { - data: TaskTemplateCreateManyOrganizationInput | TaskTemplateCreateManyOrganizationInput[] + export type ReportCreateManyDepartmentInputEnvelope = { + data: ReportCreateManyDepartmentInput | ReportCreateManyDepartmentInput[] skipDuplicates?: boolean } - export type ActivityLogCreateWithoutOrganizationInput = { - id?: string - entityType: $Enums.EntityType - action: $Enums.ActionType - details?: NullableJsonNullValueInput | InputJsonValue - createdAt?: Date | string - user: UserCreateNestedOneWithoutActivityLogsInput - department?: DepartmentCreateNestedOneWithoutActivityLogsInput - project?: ProjectCreateNestedOneWithoutActivityLogsInput - team?: TeamCreateNestedOneWithoutActivityLogsInput - sprint?: SprintCreateNestedOneWithoutActivityLogsInput - task?: TaskCreateNestedOneWithoutActivityLogsInput + export type OrganizationUpsertWithoutDepartmentsInput = { + update: XOR + create: XOR + where?: OrganizationWhereInput } - export type ActivityLogUncheckedCreateWithoutOrganizationInput = { - id?: string - entityType: $Enums.EntityType - action: $Enums.ActionType - userId: string - departmentId?: string | null - projectId?: string | null - teamId?: string | null - sprintId?: string | null - taskId: string - details?: NullableJsonNullValueInput | InputJsonValue - createdAt?: Date | string + export type OrganizationUpdateToOneWithWhereWithoutDepartmentsInput = { + where?: OrganizationWhereInput + data: XOR } - export type ActivityLogCreateOrConnectWithoutOrganizationInput = { - where: ActivityLogWhereUniqueInput - create: XOR + export type OrganizationUpdateWithoutDepartmentsInput = { + id?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + industry?: StringFieldUpdateOperationsInput | string + sizeRange?: StringFieldUpdateOperationsInput | string + website?: NullableStringFieldUpdateOperationsInput | string | null + logoUrl?: NullableStringFieldUpdateOperationsInput | string | null + isVerified?: BoolFieldUpdateOperationsInput | boolean + status?: StringFieldUpdateOperationsInput | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + address?: NullableStringFieldUpdateOperationsInput | string | null + contactEmail?: NullableStringFieldUpdateOperationsInput | string | null + contactPhone?: NullableStringFieldUpdateOperationsInput | string | null + emailVerificationOTP?: NullableStringFieldUpdateOperationsInput | string | null + emailVerificationExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + creator?: UserUpdateOneRequiredWithoutCreatedOrganizationsNestedInput + teams?: TeamUpdateManyWithoutOrganizationNestedInput + projects?: ProjectUpdateManyWithoutOrganizationNestedInput + users?: UserUpdateManyWithoutOrganizationNestedInput + reports?: ReportUpdateManyWithoutOrganizationNestedInput + owners?: OrganizationOwnerUpdateManyWithoutOrganizationNestedInput + templates?: TaskTemplateUpdateManyWithoutOrganizationNestedInput + activityLogs?: ActivityLogUpdateManyWithoutOrganizationNestedInput } - export type ActivityLogCreateManyOrganizationInputEnvelope = { - data: ActivityLogCreateManyOrganizationInput | ActivityLogCreateManyOrganizationInput[] - skipDuplicates?: boolean + export type OrganizationUncheckedUpdateWithoutDepartmentsInput = { + id?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + industry?: StringFieldUpdateOperationsInput | string + sizeRange?: StringFieldUpdateOperationsInput | string + website?: NullableStringFieldUpdateOperationsInput | string | null + logoUrl?: NullableStringFieldUpdateOperationsInput | string | null + isVerified?: BoolFieldUpdateOperationsInput | boolean + status?: StringFieldUpdateOperationsInput | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + createdBy?: StringFieldUpdateOperationsInput | string + address?: NullableStringFieldUpdateOperationsInput | string | null + contactEmail?: NullableStringFieldUpdateOperationsInput | string | null + contactPhone?: NullableStringFieldUpdateOperationsInput | string | null + emailVerificationOTP?: NullableStringFieldUpdateOperationsInput | string | null + emailVerificationExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + teams?: TeamUncheckedUpdateManyWithoutOrganizationNestedInput + projects?: ProjectUncheckedUpdateManyWithoutOrganizationNestedInput + users?: UserUncheckedUpdateManyWithoutOrganizationNestedInput + reports?: ReportUncheckedUpdateManyWithoutOrganizationNestedInput + owners?: OrganizationOwnerUncheckedUpdateManyWithoutOrganizationNestedInput + templates?: TaskTemplateUncheckedUpdateManyWithoutOrganizationNestedInput + activityLogs?: ActivityLogUncheckedUpdateManyWithoutOrganizationNestedInput } - export type UserUpsertWithoutCreatedOrganizationsInput = { - update: XOR - create: XOR + export type UserUpsertWithoutManagedDepartmentsInput = { + update: XOR + create: XOR where?: UserWhereInput } - export type UserUpdateToOneWithWhereWithoutCreatedOrganizationsInput = { + export type UserUpdateToOneWithWhereWithoutManagedDepartmentsInput = { where?: UserWhereInput - data: XOR + data: XOR } - export type UserUpdateWithoutCreatedOrganizationsInput = { + export type UserUpdateWithoutManagedDepartmentsInput = { id?: StringFieldUpdateOperationsInput | string email?: StringFieldUpdateOperationsInput | string username?: StringFieldUpdateOperationsInput | string @@ -41908,8 +59147,8 @@ export namespace Prisma { lastLogout?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null department?: DepartmentUpdateOneWithoutUsersNestedInput organization?: OrganizationUpdateOneWithoutUsersNestedInput + createdOrganizations?: OrganizationUpdateManyWithoutCreatorNestedInput ownedOrganizations?: OrganizationOwnerUpdateManyWithoutUserNestedInput - managedDepartments?: DepartmentUpdateManyWithoutManagerNestedInput createdTeams?: TeamUpdateManyWithoutCreatorNestedInput teamMemberships?: TeamMemberUpdateManyWithoutUserNestedInput projectMemberships?: ProjectMemberUpdateManyWithoutUserNestedInput @@ -41927,9 +59166,16 @@ export namespace Prisma { permissions?: PermissionUpdateManyWithoutUserNestedInput activityLogs?: ActivityLogUpdateManyWithoutUserNestedInput ReportNotification?: ReportNotificationUpdateManyWithoutUserNestedInput + chatParticipations?: ChatParticipantUpdateManyWithoutUserNestedInput + sentMessages?: ChatMessageUpdateManyWithoutSenderNestedInput + messageReactions?: MessageReactionUpdateManyWithoutUserNestedInput + pinnedMessages?: PinnedMessageUpdateManyWithoutUserNestedInput + hostedSessions?: VideoConferenceSessionUpdateManyWithoutHostNestedInput + videoParticipations?: VideoParticipantUpdateManyWithoutUserNestedInput + videoRecordings?: VideoRecordingUpdateManyWithoutRecorderNestedInput } - export type UserUncheckedUpdateWithoutCreatedOrganizationsInput = { + export type UserUncheckedUpdateWithoutManagedDepartmentsInput = { id?: StringFieldUpdateOperationsInput | string email?: StringFieldUpdateOperationsInput | string username?: StringFieldUpdateOperationsInput | string @@ -41958,8 +59204,8 @@ export namespace Prisma { refreshToken?: NullableStringFieldUpdateOperationsInput | string | null lastLogin?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null lastLogout?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + createdOrganizations?: OrganizationUncheckedUpdateManyWithoutCreatorNestedInput ownedOrganizations?: OrganizationOwnerUncheckedUpdateManyWithoutUserNestedInput - managedDepartments?: DepartmentUncheckedUpdateManyWithoutManagerNestedInput createdTeams?: TeamUncheckedUpdateManyWithoutCreatorNestedInput teamMemberships?: TeamMemberUncheckedUpdateManyWithoutUserNestedInput projectMemberships?: ProjectMemberUncheckedUpdateManyWithoutUserNestedInput @@ -41977,189 +59223,199 @@ export namespace Prisma { permissions?: PermissionUncheckedUpdateManyWithoutUserNestedInput activityLogs?: ActivityLogUncheckedUpdateManyWithoutUserNestedInput ReportNotification?: ReportNotificationUncheckedUpdateManyWithoutUserNestedInput + chatParticipations?: ChatParticipantUncheckedUpdateManyWithoutUserNestedInput + sentMessages?: ChatMessageUncheckedUpdateManyWithoutSenderNestedInput + messageReactions?: MessageReactionUncheckedUpdateManyWithoutUserNestedInput + pinnedMessages?: PinnedMessageUncheckedUpdateManyWithoutUserNestedInput + hostedSessions?: VideoConferenceSessionUncheckedUpdateManyWithoutHostNestedInput + videoParticipations?: VideoParticipantUncheckedUpdateManyWithoutUserNestedInput + videoRecordings?: VideoRecordingUncheckedUpdateManyWithoutRecorderNestedInput } - export type DepartmentUpsertWithWhereUniqueWithoutOrganizationInput = { - where: DepartmentWhereUniqueInput - update: XOR - create: XOR - } - - export type DepartmentUpdateWithWhereUniqueWithoutOrganizationInput = { - where: DepartmentWhereUniqueInput - data: XOR - } - - export type DepartmentUpdateManyWithWhereWithoutOrganizationInput = { - where: DepartmentScalarWhereInput - data: XOR - } - - export type TeamUpsertWithWhereUniqueWithoutOrganizationInput = { + export type TeamUpsertWithWhereUniqueWithoutDepartmentInput = { where: TeamWhereUniqueInput - update: XOR - create: XOR + update: XOR + create: XOR } - export type TeamUpdateWithWhereUniqueWithoutOrganizationInput = { + export type TeamUpdateWithWhereUniqueWithoutDepartmentInput = { where: TeamWhereUniqueInput - data: XOR + data: XOR } - export type TeamUpdateManyWithWhereWithoutOrganizationInput = { + export type TeamUpdateManyWithWhereWithoutDepartmentInput = { where: TeamScalarWhereInput - data: XOR - } - - export type ProjectUpsertWithWhereUniqueWithoutOrganizationInput = { - where: ProjectWhereUniqueInput - update: XOR - create: XOR - } - - export type ProjectUpdateWithWhereUniqueWithoutOrganizationInput = { - where: ProjectWhereUniqueInput - data: XOR - } - - export type ProjectUpdateManyWithWhereWithoutOrganizationInput = { - where: ProjectScalarWhereInput - data: XOR + data: XOR } - export type UserUpsertWithWhereUniqueWithoutOrganizationInput = { + export type UserUpsertWithWhereUniqueWithoutDepartmentInput = { where: UserWhereUniqueInput - update: XOR - create: XOR + update: XOR + create: XOR } - export type UserUpdateWithWhereUniqueWithoutOrganizationInput = { + export type UserUpdateWithWhereUniqueWithoutDepartmentInput = { where: UserWhereUniqueInput - data: XOR + data: XOR } - export type UserUpdateManyWithWhereWithoutOrganizationInput = { + export type UserUpdateManyWithWhereWithoutDepartmentInput = { where: UserScalarWhereInput - data: XOR - } - - export type UserScalarWhereInput = { - AND?: UserScalarWhereInput | UserScalarWhereInput[] - OR?: UserScalarWhereInput[] - NOT?: UserScalarWhereInput | UserScalarWhereInput[] - id?: UuidFilter<"User"> | string - email?: StringFilter<"User"> | string - username?: StringFilter<"User"> | string - password?: StringFilter<"User"> | string - firebaseUid?: StringNullableFilter<"User"> | string | null - firstName?: StringFilter<"User"> | string - lastName?: StringFilter<"User"> | string - role?: EnumUserRoleFilter<"User"> | $Enums.UserRole - profilePic?: StringNullableFilter<"User"> | string | null - departmentId?: UuidNullableFilter<"User"> | string | null - organizationId?: UuidNullableFilter<"User"> | string | null - isOwner?: BoolFilter<"User"> | boolean - createdAt?: DateTimeFilter<"User"> | Date | string - updatedAt?: DateTimeFilter<"User"> | Date | string - isActive?: BoolFilter<"User"> | boolean - deletedAt?: DateTimeNullableFilter<"User"> | Date | string | null - phoneNumber?: StringNullableFilter<"User"> | string | null - jobTitle?: StringNullableFilter<"User"> | string | null - timezone?: StringNullableFilter<"User"> | string | null - bio?: StringNullableFilter<"User"> | string | null - preferences?: JsonNullableFilter<"User"> - emailVerificationToken?: StringNullableFilter<"User"> | string | null - emailVerificationExpires?: DateTimeNullableFilter<"User"> | Date | string | null - passwordResetToken?: StringNullableFilter<"User"> | string | null - passwordResetExpires?: DateTimeNullableFilter<"User"> | Date | string | null - refreshToken?: StringNullableFilter<"User"> | string | null - lastLogin?: DateTimeNullableFilter<"User"> | Date | string | null - lastLogout?: DateTimeNullableFilter<"User"> | Date | string | null - } - - export type ReportUpsertWithWhereUniqueWithoutOrganizationInput = { - where: ReportWhereUniqueInput - update: XOR - create: XOR - } - - export type ReportUpdateWithWhereUniqueWithoutOrganizationInput = { - where: ReportWhereUniqueInput - data: XOR - } - - export type ReportUpdateManyWithWhereWithoutOrganizationInput = { - where: ReportScalarWhereInput - data: XOR - } - - export type OrganizationOwnerUpsertWithWhereUniqueWithoutOrganizationInput = { - where: OrganizationOwnerWhereUniqueInput - update: XOR - create: XOR + data: XOR } - export type OrganizationOwnerUpdateWithWhereUniqueWithoutOrganizationInput = { - where: OrganizationOwnerWhereUniqueInput - data: XOR + export type ActivityLogUpsertWithWhereUniqueWithoutDepartmentInput = { + where: ActivityLogWhereUniqueInput + update: XOR + create: XOR } - export type OrganizationOwnerUpdateManyWithWhereWithoutOrganizationInput = { - where: OrganizationOwnerScalarWhereInput - data: XOR + export type ActivityLogUpdateWithWhereUniqueWithoutDepartmentInput = { + where: ActivityLogWhereUniqueInput + data: XOR } - export type TaskTemplateUpsertWithWhereUniqueWithoutOrganizationInput = { - where: TaskTemplateWhereUniqueInput - update: XOR - create: XOR + export type ActivityLogUpdateManyWithWhereWithoutDepartmentInput = { + where: ActivityLogScalarWhereInput + data: XOR } - export type TaskTemplateUpdateWithWhereUniqueWithoutOrganizationInput = { - where: TaskTemplateWhereUniqueInput - data: XOR + export type ReportUpsertWithWhereUniqueWithoutDepartmentInput = { + where: ReportWhereUniqueInput + update: XOR + create: XOR } - export type TaskTemplateUpdateManyWithWhereWithoutOrganizationInput = { - where: TaskTemplateScalarWhereInput - data: XOR + export type ReportUpdateWithWhereUniqueWithoutDepartmentInput = { + where: ReportWhereUniqueInput + data: XOR } - export type TaskTemplateScalarWhereInput = { - AND?: TaskTemplateScalarWhereInput | TaskTemplateScalarWhereInput[] - OR?: TaskTemplateScalarWhereInput[] - NOT?: TaskTemplateScalarWhereInput | TaskTemplateScalarWhereInput[] - id?: UuidFilter<"TaskTemplate"> | string - name?: StringFilter<"TaskTemplate"> | string - description?: StringNullableFilter<"TaskTemplate"> | string | null - priority?: EnumTaskPriorityFilter<"TaskTemplate"> | $Enums.TaskPriority - estimatedTime?: FloatNullableFilter<"TaskTemplate"> | number | null - organizationId?: UuidFilter<"TaskTemplate"> | string - createdBy?: UuidFilter<"TaskTemplate"> | string - createdAt?: DateTimeFilter<"TaskTemplate"> | Date | string - updatedAt?: DateTimeFilter<"TaskTemplate"> | Date | string - checklist?: JsonNullableFilter<"TaskTemplate"> - labels?: StringNullableListFilter<"TaskTemplate"> - isPublic?: BoolFilter<"TaskTemplate"> | boolean + export type ReportUpdateManyWithWhereWithoutDepartmentInput = { + where: ReportScalarWhereInput + data: XOR } - export type ActivityLogUpsertWithWhereUniqueWithoutOrganizationInput = { - where: ActivityLogWhereUniqueInput - update: XOR - create: XOR + export type UserCreateWithoutCreatedTeamsInput = { + id?: string + email: string + username: string + password: string + firebaseUid?: string | null + firstName: string + lastName: string + role: $Enums.UserRole + profilePic?: string | null + isOwner?: boolean + createdAt?: Date | string + updatedAt?: Date | string + isActive?: boolean + deletedAt?: Date | string | null + phoneNumber?: string | null + jobTitle?: string | null + timezone?: string | null + bio?: string | null + preferences?: NullableJsonNullValueInput | InputJsonValue + emailVerificationToken?: string | null + emailVerificationExpires?: Date | string | null + passwordResetToken?: string | null + passwordResetExpires?: Date | string | null + refreshToken?: string | null + lastLogin?: Date | string | null + lastLogout?: Date | string | null + department?: DepartmentCreateNestedOneWithoutUsersInput + organization?: OrganizationCreateNestedOneWithoutUsersInput + createdOrganizations?: OrganizationCreateNestedManyWithoutCreatorInput + ownedOrganizations?: OrganizationOwnerCreateNestedManyWithoutUserInput + managedDepartments?: DepartmentCreateNestedManyWithoutManagerInput + teamMemberships?: TeamMemberCreateNestedManyWithoutUserInput + projectMemberships?: ProjectMemberCreateNestedManyWithoutUserInput + createdProjects?: ProjectCreateNestedManyWithoutCreatorInput + modifiedProjects?: ProjectCreateNestedManyWithoutModifierInput + createdTasks?: TaskCreateNestedManyWithoutCreatorInput + assignedTasks?: TaskCreateNestedManyWithoutAssigneeInput + modifiedTasks?: TaskCreateNestedManyWithoutModifierInput + notifications?: NotificationCreateNestedManyWithoutUserInput + timelogs?: TimelogCreateNestedManyWithoutUserInput + comments?: CommentCreateNestedManyWithoutUserInput + taskAttachments?: TaskAttachmentCreateNestedManyWithoutUploaderInput + generatedReports?: ReportCreateNestedManyWithoutGeneratorInput + userReports?: ReportCreateNestedManyWithoutUserInput + permissions?: PermissionCreateNestedManyWithoutUserInput + activityLogs?: ActivityLogCreateNestedManyWithoutUserInput + ReportNotification?: ReportNotificationCreateNestedManyWithoutUserInput + chatParticipations?: ChatParticipantCreateNestedManyWithoutUserInput + sentMessages?: ChatMessageCreateNestedManyWithoutSenderInput + messageReactions?: MessageReactionCreateNestedManyWithoutUserInput + pinnedMessages?: PinnedMessageCreateNestedManyWithoutUserInput + hostedSessions?: VideoConferenceSessionCreateNestedManyWithoutHostInput + videoParticipations?: VideoParticipantCreateNestedManyWithoutUserInput + videoRecordings?: VideoRecordingCreateNestedManyWithoutRecorderInput } - export type ActivityLogUpdateWithWhereUniqueWithoutOrganizationInput = { - where: ActivityLogWhereUniqueInput - data: XOR + export type UserUncheckedCreateWithoutCreatedTeamsInput = { + id?: string + email: string + username: string + password: string + firebaseUid?: string | null + firstName: string + lastName: string + role: $Enums.UserRole + profilePic?: string | null + departmentId?: string | null + organizationId?: string | null + isOwner?: boolean + createdAt?: Date | string + updatedAt?: Date | string + isActive?: boolean + deletedAt?: Date | string | null + phoneNumber?: string | null + jobTitle?: string | null + timezone?: string | null + bio?: string | null + preferences?: NullableJsonNullValueInput | InputJsonValue + emailVerificationToken?: string | null + emailVerificationExpires?: Date | string | null + passwordResetToken?: string | null + passwordResetExpires?: Date | string | null + refreshToken?: string | null + lastLogin?: Date | string | null + lastLogout?: Date | string | null + createdOrganizations?: OrganizationUncheckedCreateNestedManyWithoutCreatorInput + ownedOrganizations?: OrganizationOwnerUncheckedCreateNestedManyWithoutUserInput + managedDepartments?: DepartmentUncheckedCreateNestedManyWithoutManagerInput + teamMemberships?: TeamMemberUncheckedCreateNestedManyWithoutUserInput + projectMemberships?: ProjectMemberUncheckedCreateNestedManyWithoutUserInput + createdProjects?: ProjectUncheckedCreateNestedManyWithoutCreatorInput + modifiedProjects?: ProjectUncheckedCreateNestedManyWithoutModifierInput + createdTasks?: TaskUncheckedCreateNestedManyWithoutCreatorInput + assignedTasks?: TaskUncheckedCreateNestedManyWithoutAssigneeInput + modifiedTasks?: TaskUncheckedCreateNestedManyWithoutModifierInput + notifications?: NotificationUncheckedCreateNestedManyWithoutUserInput + timelogs?: TimelogUncheckedCreateNestedManyWithoutUserInput + comments?: CommentUncheckedCreateNestedManyWithoutUserInput + taskAttachments?: TaskAttachmentUncheckedCreateNestedManyWithoutUploaderInput + generatedReports?: ReportUncheckedCreateNestedManyWithoutGeneratorInput + userReports?: ReportUncheckedCreateNestedManyWithoutUserInput + permissions?: PermissionUncheckedCreateNestedManyWithoutUserInput + activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutUserInput + ReportNotification?: ReportNotificationUncheckedCreateNestedManyWithoutUserInput + chatParticipations?: ChatParticipantUncheckedCreateNestedManyWithoutUserInput + sentMessages?: ChatMessageUncheckedCreateNestedManyWithoutSenderInput + messageReactions?: MessageReactionUncheckedCreateNestedManyWithoutUserInput + pinnedMessages?: PinnedMessageUncheckedCreateNestedManyWithoutUserInput + hostedSessions?: VideoConferenceSessionUncheckedCreateNestedManyWithoutHostInput + videoParticipations?: VideoParticipantUncheckedCreateNestedManyWithoutUserInput + videoRecordings?: VideoRecordingUncheckedCreateNestedManyWithoutRecorderInput } - export type ActivityLogUpdateManyWithWhereWithoutOrganizationInput = { - where: ActivityLogScalarWhereInput - data: XOR + export type UserCreateOrConnectWithoutCreatedTeamsInput = { + where: UserWhereUniqueInput + create: XOR } - export type OrganizationCreateWithoutOwnersInput = { + export type OrganizationCreateWithoutTeamsInput = { id?: string name: string description?: string | null @@ -42179,15 +59435,15 @@ export namespace Prisma { emailVerificationExpires?: Date | string | null creator: UserCreateNestedOneWithoutCreatedOrganizationsInput departments?: DepartmentCreateNestedManyWithoutOrganizationInput - teams?: TeamCreateNestedManyWithoutOrganizationInput projects?: ProjectCreateNestedManyWithoutOrganizationInput users?: UserCreateNestedManyWithoutOrganizationInput reports?: ReportCreateNestedManyWithoutOrganizationInput + owners?: OrganizationOwnerCreateNestedManyWithoutOrganizationInput templates?: TaskTemplateCreateNestedManyWithoutOrganizationInput activityLogs?: ActivityLogCreateNestedManyWithoutOrganizationInput } - export type OrganizationUncheckedCreateWithoutOwnersInput = { + export type OrganizationUncheckedCreateWithoutTeamsInput = { id?: string name: string description?: string | null @@ -42200,210 +59456,253 @@ export namespace Prisma { createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null - createdBy: string - address?: string | null - contactEmail?: string | null - contactPhone?: string | null - emailVerificationOTP?: string | null - emailVerificationExpires?: Date | string | null - departments?: DepartmentUncheckedCreateNestedManyWithoutOrganizationInput - teams?: TeamUncheckedCreateNestedManyWithoutOrganizationInput - projects?: ProjectUncheckedCreateNestedManyWithoutOrganizationInput - users?: UserUncheckedCreateNestedManyWithoutOrganizationInput - reports?: ReportUncheckedCreateNestedManyWithoutOrganizationInput - templates?: TaskTemplateUncheckedCreateNestedManyWithoutOrganizationInput - activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutOrganizationInput + createdBy: string + address?: string | null + contactEmail?: string | null + contactPhone?: string | null + emailVerificationOTP?: string | null + emailVerificationExpires?: Date | string | null + departments?: DepartmentUncheckedCreateNestedManyWithoutOrganizationInput + projects?: ProjectUncheckedCreateNestedManyWithoutOrganizationInput + users?: UserUncheckedCreateNestedManyWithoutOrganizationInput + reports?: ReportUncheckedCreateNestedManyWithoutOrganizationInput + owners?: OrganizationOwnerUncheckedCreateNestedManyWithoutOrganizationInput + templates?: TaskTemplateUncheckedCreateNestedManyWithoutOrganizationInput + activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutOrganizationInput + } + + export type OrganizationCreateOrConnectWithoutTeamsInput = { + where: OrganizationWhereUniqueInput + create: XOR + } + + export type DepartmentCreateWithoutTeamsInput = { + id?: string + name: string + description?: string | null + createdAt?: Date | string + updatedAt?: Date | string + deletedAt?: Date | string | null + organization: OrganizationCreateNestedOneWithoutDepartmentsInput + manager: UserCreateNestedOneWithoutManagedDepartmentsInput + users?: UserCreateNestedManyWithoutDepartmentInput + activityLogs?: ActivityLogCreateNestedManyWithoutDepartmentInput + Report?: ReportCreateNestedManyWithoutDepartmentInput + } + + export type DepartmentUncheckedCreateWithoutTeamsInput = { + id?: string + name: string + description?: string | null + organizationId: string + managerId: string + createdAt?: Date | string + updatedAt?: Date | string + deletedAt?: Date | string | null + users?: UserUncheckedCreateNestedManyWithoutDepartmentInput + activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutDepartmentInput + Report?: ReportUncheckedCreateNestedManyWithoutDepartmentInput + } + + export type DepartmentCreateOrConnectWithoutTeamsInput = { + where: DepartmentWhereUniqueInput + create: XOR + } + + export type TeamMemberCreateWithoutTeamInput = { + id?: string + role: $Enums.TeamMemberRole + joinedAt?: Date | string + isActive?: boolean + deletedAt?: Date | string | null + user: UserCreateNestedOneWithoutTeamMembershipsInput + } + + export type TeamMemberUncheckedCreateWithoutTeamInput = { + id?: string + userId: string + role: $Enums.TeamMemberRole + joinedAt?: Date | string + isActive?: boolean + deletedAt?: Date | string | null + } + + export type TeamMemberCreateOrConnectWithoutTeamInput = { + where: TeamMemberWhereUniqueInput + create: XOR + } + + export type TeamMemberCreateManyTeamInputEnvelope = { + data: TeamMemberCreateManyTeamInput | TeamMemberCreateManyTeamInput[] + skipDuplicates?: boolean + } + + export type ProjectCreateWithoutTeamInput = { + id?: string + name: string + description?: string | null + status: string + startDate: Date | string + endDate: Date | string + createdAt?: Date | string + updatedAt?: Date | string + deletedAt?: Date | string | null + priority?: $Enums.TaskPriority + progress?: number | null + budget?: number | null + creator: UserCreateNestedOneWithoutCreatedProjectsInput + modifier?: UserCreateNestedOneWithoutModifiedProjectsInput + organization: OrganizationCreateNestedOneWithoutProjectsInput + sprints?: SprintCreateNestedManyWithoutProjectInput + tasks?: TaskCreateNestedManyWithoutProjectInput + reports?: ReportCreateNestedManyWithoutProjectInput + activityLogs?: ActivityLogCreateNestedManyWithoutProjectInput + ProjectMember?: ProjectMemberCreateNestedManyWithoutProjectInput + } + + export type ProjectUncheckedCreateWithoutTeamInput = { + id?: string + name: string + description?: string | null + status: string + createdBy: string + organizationId: string + startDate: Date | string + endDate: Date | string + createdAt?: Date | string + updatedAt?: Date | string + deletedAt?: Date | string | null + priority?: $Enums.TaskPriority + progress?: number | null + budget?: number | null + lastModifiedBy?: string | null + sprints?: SprintUncheckedCreateNestedManyWithoutProjectInput + tasks?: TaskUncheckedCreateNestedManyWithoutProjectInput + reports?: ReportUncheckedCreateNestedManyWithoutProjectInput + activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutProjectInput + ProjectMember?: ProjectMemberUncheckedCreateNestedManyWithoutProjectInput } - export type OrganizationCreateOrConnectWithoutOwnersInput = { - where: OrganizationWhereUniqueInput - create: XOR + export type ProjectCreateOrConnectWithoutTeamInput = { + where: ProjectWhereUniqueInput + create: XOR } - export type UserCreateWithoutOwnedOrganizationsInput = { + export type ProjectCreateManyTeamInputEnvelope = { + data: ProjectCreateManyTeamInput | ProjectCreateManyTeamInput[] + skipDuplicates?: boolean + } + + export type ReportCreateWithoutTeamInput = { id?: string - email: string - username: string - password: string - firebaseUid?: string | null - firstName: string - lastName: string - role: $Enums.UserRole - profilePic?: string | null - isOwner?: boolean + name: string + description?: string | null + reportType: $Enums.ReportType + format: string + parameters?: NullableJsonNullValueInput | InputJsonValue + filePath: string createdAt?: Date | string + status?: $Enums.ReportStatus updatedAt?: Date | string - isActive?: boolean - deletedAt?: Date | string | null - phoneNumber?: string | null - jobTitle?: string | null - timezone?: string | null - bio?: string | null - preferences?: NullableJsonNullValueInput | InputJsonValue - emailVerificationToken?: string | null - emailVerificationExpires?: Date | string | null - passwordResetToken?: string | null - passwordResetExpires?: Date | string | null - refreshToken?: string | null - lastLogin?: Date | string | null - lastLogout?: Date | string | null - department?: DepartmentCreateNestedOneWithoutUsersInput - organization?: OrganizationCreateNestedOneWithoutUsersInput - createdOrganizations?: OrganizationCreateNestedManyWithoutCreatorInput - managedDepartments?: DepartmentCreateNestedManyWithoutManagerInput - createdTeams?: TeamCreateNestedManyWithoutCreatorInput - teamMemberships?: TeamMemberCreateNestedManyWithoutUserInput - projectMemberships?: ProjectMemberCreateNestedManyWithoutUserInput - createdProjects?: ProjectCreateNestedManyWithoutCreatorInput - modifiedProjects?: ProjectCreateNestedManyWithoutModifierInput - createdTasks?: TaskCreateNestedManyWithoutCreatorInput - assignedTasks?: TaskCreateNestedManyWithoutAssigneeInput - modifiedTasks?: TaskCreateNestedManyWithoutModifierInput - notifications?: NotificationCreateNestedManyWithoutUserInput - timelogs?: TimelogCreateNestedManyWithoutUserInput - comments?: CommentCreateNestedManyWithoutUserInput - taskAttachments?: TaskAttachmentCreateNestedManyWithoutUploaderInput - generatedReports?: ReportCreateNestedManyWithoutGeneratorInput - userReports?: ReportCreateNestedManyWithoutUserInput - permissions?: PermissionCreateNestedManyWithoutUserInput - activityLogs?: ActivityLogCreateNestedManyWithoutUserInput - ReportNotification?: ReportNotificationCreateNestedManyWithoutUserInput + lastAccessedAt?: Date | string | null + expiresAt?: Date | string | null + tags?: string | null + storageProvider?: string | null + storageKey: string + generator: UserCreateNestedOneWithoutGeneratedReportsInput + organization?: OrganizationCreateNestedOneWithoutReportsInput + project?: ProjectCreateNestedOneWithoutReportsInput + department?: DepartmentCreateNestedOneWithoutReportInput + user?: UserCreateNestedOneWithoutUserReportsInput + reportSchedule?: ReportScheduleCreateNestedOneWithoutReportsInput + notifiedUsers?: ReportNotificationCreateNestedManyWithoutReportInput } - export type UserUncheckedCreateWithoutOwnedOrganizationsInput = { + export type ReportUncheckedCreateWithoutTeamInput = { id?: string - email: string - username: string - password: string - firebaseUid?: string | null - firstName: string - lastName: string - role: $Enums.UserRole - profilePic?: string | null - departmentId?: string | null - organizationId?: string | null - isOwner?: boolean + name: string + description?: string | null + reportType: $Enums.ReportType + format: string + parameters?: NullableJsonNullValueInput | InputJsonValue + filePath: string + generatedBy: string createdAt?: Date | string + status?: $Enums.ReportStatus updatedAt?: Date | string - isActive?: boolean - deletedAt?: Date | string | null - phoneNumber?: string | null - jobTitle?: string | null - timezone?: string | null - bio?: string | null - preferences?: NullableJsonNullValueInput | InputJsonValue - emailVerificationToken?: string | null - emailVerificationExpires?: Date | string | null - passwordResetToken?: string | null - passwordResetExpires?: Date | string | null - refreshToken?: string | null - lastLogin?: Date | string | null - lastLogout?: Date | string | null - createdOrganizations?: OrganizationUncheckedCreateNestedManyWithoutCreatorInput - managedDepartments?: DepartmentUncheckedCreateNestedManyWithoutManagerInput - createdTeams?: TeamUncheckedCreateNestedManyWithoutCreatorInput - teamMemberships?: TeamMemberUncheckedCreateNestedManyWithoutUserInput - projectMemberships?: ProjectMemberUncheckedCreateNestedManyWithoutUserInput - createdProjects?: ProjectUncheckedCreateNestedManyWithoutCreatorInput - modifiedProjects?: ProjectUncheckedCreateNestedManyWithoutModifierInput - createdTasks?: TaskUncheckedCreateNestedManyWithoutCreatorInput - assignedTasks?: TaskUncheckedCreateNestedManyWithoutAssigneeInput - modifiedTasks?: TaskUncheckedCreateNestedManyWithoutModifierInput - notifications?: NotificationUncheckedCreateNestedManyWithoutUserInput - timelogs?: TimelogUncheckedCreateNestedManyWithoutUserInput - comments?: CommentUncheckedCreateNestedManyWithoutUserInput - taskAttachments?: TaskAttachmentUncheckedCreateNestedManyWithoutUploaderInput - generatedReports?: ReportUncheckedCreateNestedManyWithoutGeneratorInput - userReports?: ReportUncheckedCreateNestedManyWithoutUserInput - permissions?: PermissionUncheckedCreateNestedManyWithoutUserInput - activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutUserInput - ReportNotification?: ReportNotificationUncheckedCreateNestedManyWithoutUserInput + lastAccessedAt?: Date | string | null + expiresAt?: Date | string | null + tags?: string | null + organizationId?: string | null + projectId?: string | null + departmentId?: string | null + userId?: string | null + scheduleId?: string | null + storageProvider?: string | null + storageKey: string + notifiedUsers?: ReportNotificationUncheckedCreateNestedManyWithoutReportInput } - export type UserCreateOrConnectWithoutOwnedOrganizationsInput = { - where: UserWhereUniqueInput - create: XOR + export type ReportCreateOrConnectWithoutTeamInput = { + where: ReportWhereUniqueInput + create: XOR } - export type OrganizationUpsertWithoutOwnersInput = { - update: XOR - create: XOR - where?: OrganizationWhereInput + export type ReportCreateManyTeamInputEnvelope = { + data: ReportCreateManyTeamInput | ReportCreateManyTeamInput[] + skipDuplicates?: boolean } - export type OrganizationUpdateToOneWithWhereWithoutOwnersInput = { - where?: OrganizationWhereInput - data: XOR + export type ActivityLogCreateWithoutTeamInput = { + id?: string + entityType: $Enums.EntityType + action: $Enums.ActionType + details?: NullableJsonNullValueInput | InputJsonValue + createdAt?: Date | string + user: UserCreateNestedOneWithoutActivityLogsInput + organization?: OrganizationCreateNestedOneWithoutActivityLogsInput + department?: DepartmentCreateNestedOneWithoutActivityLogsInput + project?: ProjectCreateNestedOneWithoutActivityLogsInput + sprint?: SprintCreateNestedOneWithoutActivityLogsInput + task?: TaskCreateNestedOneWithoutActivityLogsInput } - export type OrganizationUpdateWithoutOwnersInput = { - id?: StringFieldUpdateOperationsInput | string - name?: StringFieldUpdateOperationsInput | string - description?: NullableStringFieldUpdateOperationsInput | string | null - industry?: StringFieldUpdateOperationsInput | string - sizeRange?: StringFieldUpdateOperationsInput | string - website?: NullableStringFieldUpdateOperationsInput | string | null - logoUrl?: NullableStringFieldUpdateOperationsInput | string | null - isVerified?: BoolFieldUpdateOperationsInput | boolean - status?: StringFieldUpdateOperationsInput | string - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string - deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - address?: NullableStringFieldUpdateOperationsInput | string | null - contactEmail?: NullableStringFieldUpdateOperationsInput | string | null - contactPhone?: NullableStringFieldUpdateOperationsInput | string | null - emailVerificationOTP?: NullableStringFieldUpdateOperationsInput | string | null - emailVerificationExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - creator?: UserUpdateOneRequiredWithoutCreatedOrganizationsNestedInput - departments?: DepartmentUpdateManyWithoutOrganizationNestedInput - teams?: TeamUpdateManyWithoutOrganizationNestedInput - projects?: ProjectUpdateManyWithoutOrganizationNestedInput - users?: UserUpdateManyWithoutOrganizationNestedInput - reports?: ReportUpdateManyWithoutOrganizationNestedInput - templates?: TaskTemplateUpdateManyWithoutOrganizationNestedInput - activityLogs?: ActivityLogUpdateManyWithoutOrganizationNestedInput + export type ActivityLogUncheckedCreateWithoutTeamInput = { + id?: string + entityType: $Enums.EntityType + action: $Enums.ActionType + userId: string + organizationId?: string | null + departmentId?: string | null + projectId?: string | null + sprintId?: string | null + taskId: string + details?: NullableJsonNullValueInput | InputJsonValue + createdAt?: Date | string } - export type OrganizationUncheckedUpdateWithoutOwnersInput = { - id?: StringFieldUpdateOperationsInput | string - name?: StringFieldUpdateOperationsInput | string - description?: NullableStringFieldUpdateOperationsInput | string | null - industry?: StringFieldUpdateOperationsInput | string - sizeRange?: StringFieldUpdateOperationsInput | string - website?: NullableStringFieldUpdateOperationsInput | string | null - logoUrl?: NullableStringFieldUpdateOperationsInput | string | null - isVerified?: BoolFieldUpdateOperationsInput | boolean - status?: StringFieldUpdateOperationsInput | string - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string - deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - createdBy?: StringFieldUpdateOperationsInput | string - address?: NullableStringFieldUpdateOperationsInput | string | null - contactEmail?: NullableStringFieldUpdateOperationsInput | string | null - contactPhone?: NullableStringFieldUpdateOperationsInput | string | null - emailVerificationOTP?: NullableStringFieldUpdateOperationsInput | string | null - emailVerificationExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - departments?: DepartmentUncheckedUpdateManyWithoutOrganizationNestedInput - teams?: TeamUncheckedUpdateManyWithoutOrganizationNestedInput - projects?: ProjectUncheckedUpdateManyWithoutOrganizationNestedInput - users?: UserUncheckedUpdateManyWithoutOrganizationNestedInput - reports?: ReportUncheckedUpdateManyWithoutOrganizationNestedInput - templates?: TaskTemplateUncheckedUpdateManyWithoutOrganizationNestedInput - activityLogs?: ActivityLogUncheckedUpdateManyWithoutOrganizationNestedInput + export type ActivityLogCreateOrConnectWithoutTeamInput = { + where: ActivityLogWhereUniqueInput + create: XOR } - export type UserUpsertWithoutOwnedOrganizationsInput = { - update: XOR - create: XOR + export type ActivityLogCreateManyTeamInputEnvelope = { + data: ActivityLogCreateManyTeamInput | ActivityLogCreateManyTeamInput[] + skipDuplicates?: boolean + } + + export type UserUpsertWithoutCreatedTeamsInput = { + update: XOR + create: XOR where?: UserWhereInput } - export type UserUpdateToOneWithWhereWithoutOwnedOrganizationsInput = { + export type UserUpdateToOneWithWhereWithoutCreatedTeamsInput = { where?: UserWhereInput - data: XOR + data: XOR } - export type UserUpdateWithoutOwnedOrganizationsInput = { + export type UserUpdateWithoutCreatedTeamsInput = { id?: StringFieldUpdateOperationsInput | string email?: StringFieldUpdateOperationsInput | string username?: StringFieldUpdateOperationsInput | string @@ -42433,8 +59732,8 @@ export namespace Prisma { department?: DepartmentUpdateOneWithoutUsersNestedInput organization?: OrganizationUpdateOneWithoutUsersNestedInput createdOrganizations?: OrganizationUpdateManyWithoutCreatorNestedInput + ownedOrganizations?: OrganizationOwnerUpdateManyWithoutUserNestedInput managedDepartments?: DepartmentUpdateManyWithoutManagerNestedInput - createdTeams?: TeamUpdateManyWithoutCreatorNestedInput teamMemberships?: TeamMemberUpdateManyWithoutUserNestedInput projectMemberships?: ProjectMemberUpdateManyWithoutUserNestedInput createdProjects?: ProjectUpdateManyWithoutCreatorNestedInput @@ -42451,9 +59750,16 @@ export namespace Prisma { permissions?: PermissionUpdateManyWithoutUserNestedInput activityLogs?: ActivityLogUpdateManyWithoutUserNestedInput ReportNotification?: ReportNotificationUpdateManyWithoutUserNestedInput + chatParticipations?: ChatParticipantUpdateManyWithoutUserNestedInput + sentMessages?: ChatMessageUpdateManyWithoutSenderNestedInput + messageReactions?: MessageReactionUpdateManyWithoutUserNestedInput + pinnedMessages?: PinnedMessageUpdateManyWithoutUserNestedInput + hostedSessions?: VideoConferenceSessionUpdateManyWithoutHostNestedInput + videoParticipations?: VideoParticipantUpdateManyWithoutUserNestedInput + videoRecordings?: VideoRecordingUpdateManyWithoutRecorderNestedInput } - export type UserUncheckedUpdateWithoutOwnedOrganizationsInput = { + export type UserUncheckedUpdateWithoutCreatedTeamsInput = { id?: StringFieldUpdateOperationsInput | string email?: StringFieldUpdateOperationsInput | string username?: StringFieldUpdateOperationsInput | string @@ -42483,8 +59789,8 @@ export namespace Prisma { lastLogin?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null lastLogout?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null createdOrganizations?: OrganizationUncheckedUpdateManyWithoutCreatorNestedInput + ownedOrganizations?: OrganizationOwnerUncheckedUpdateManyWithoutUserNestedInput managedDepartments?: DepartmentUncheckedUpdateManyWithoutManagerNestedInput - createdTeams?: TeamUncheckedUpdateManyWithoutCreatorNestedInput teamMemberships?: TeamMemberUncheckedUpdateManyWithoutUserNestedInput projectMemberships?: ProjectMemberUncheckedUpdateManyWithoutUserNestedInput createdProjects?: ProjectUncheckedUpdateManyWithoutCreatorNestedInput @@ -42501,175 +59807,186 @@ export namespace Prisma { permissions?: PermissionUncheckedUpdateManyWithoutUserNestedInput activityLogs?: ActivityLogUncheckedUpdateManyWithoutUserNestedInput ReportNotification?: ReportNotificationUncheckedUpdateManyWithoutUserNestedInput + chatParticipations?: ChatParticipantUncheckedUpdateManyWithoutUserNestedInput + sentMessages?: ChatMessageUncheckedUpdateManyWithoutSenderNestedInput + messageReactions?: MessageReactionUncheckedUpdateManyWithoutUserNestedInput + pinnedMessages?: PinnedMessageUncheckedUpdateManyWithoutUserNestedInput + hostedSessions?: VideoConferenceSessionUncheckedUpdateManyWithoutHostNestedInput + videoParticipations?: VideoParticipantUncheckedUpdateManyWithoutUserNestedInput + videoRecordings?: VideoRecordingUncheckedUpdateManyWithoutRecorderNestedInput } - export type OrganizationCreateWithoutDepartmentsInput = { - id?: string - name: string - description?: string | null - industry: string - sizeRange: string - website?: string | null - logoUrl?: string | null - isVerified?: boolean - status: string - createdAt?: Date | string - updatedAt?: Date | string - deletedAt?: Date | string | null - address?: string | null - contactEmail?: string | null - contactPhone?: string | null - emailVerificationOTP?: string | null - emailVerificationExpires?: Date | string | null - creator: UserCreateNestedOneWithoutCreatedOrganizationsInput - teams?: TeamCreateNestedManyWithoutOrganizationInput - projects?: ProjectCreateNestedManyWithoutOrganizationInput - users?: UserCreateNestedManyWithoutOrganizationInput - reports?: ReportCreateNestedManyWithoutOrganizationInput - owners?: OrganizationOwnerCreateNestedManyWithoutOrganizationInput - templates?: TaskTemplateCreateNestedManyWithoutOrganizationInput - activityLogs?: ActivityLogCreateNestedManyWithoutOrganizationInput + export type OrganizationUpsertWithoutTeamsInput = { + update: XOR + create: XOR + where?: OrganizationWhereInput } - export type OrganizationUncheckedCreateWithoutDepartmentsInput = { - id?: string - name: string - description?: string | null - industry: string - sizeRange: string - website?: string | null - logoUrl?: string | null - isVerified?: boolean - status: string - createdAt?: Date | string - updatedAt?: Date | string - deletedAt?: Date | string | null - createdBy: string - address?: string | null - contactEmail?: string | null - contactPhone?: string | null - emailVerificationOTP?: string | null - emailVerificationExpires?: Date | string | null - teams?: TeamUncheckedCreateNestedManyWithoutOrganizationInput - projects?: ProjectUncheckedCreateNestedManyWithoutOrganizationInput - users?: UserUncheckedCreateNestedManyWithoutOrganizationInput - reports?: ReportUncheckedCreateNestedManyWithoutOrganizationInput - owners?: OrganizationOwnerUncheckedCreateNestedManyWithoutOrganizationInput - templates?: TaskTemplateUncheckedCreateNestedManyWithoutOrganizationInput - activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutOrganizationInput + export type OrganizationUpdateToOneWithWhereWithoutTeamsInput = { + where?: OrganizationWhereInput + data: XOR } - export type OrganizationCreateOrConnectWithoutDepartmentsInput = { - where: OrganizationWhereUniqueInput - create: XOR + export type OrganizationUpdateWithoutTeamsInput = { + id?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + industry?: StringFieldUpdateOperationsInput | string + sizeRange?: StringFieldUpdateOperationsInput | string + website?: NullableStringFieldUpdateOperationsInput | string | null + logoUrl?: NullableStringFieldUpdateOperationsInput | string | null + isVerified?: BoolFieldUpdateOperationsInput | boolean + status?: StringFieldUpdateOperationsInput | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + address?: NullableStringFieldUpdateOperationsInput | string | null + contactEmail?: NullableStringFieldUpdateOperationsInput | string | null + contactPhone?: NullableStringFieldUpdateOperationsInput | string | null + emailVerificationOTP?: NullableStringFieldUpdateOperationsInput | string | null + emailVerificationExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + creator?: UserUpdateOneRequiredWithoutCreatedOrganizationsNestedInput + departments?: DepartmentUpdateManyWithoutOrganizationNestedInput + projects?: ProjectUpdateManyWithoutOrganizationNestedInput + users?: UserUpdateManyWithoutOrganizationNestedInput + reports?: ReportUpdateManyWithoutOrganizationNestedInput + owners?: OrganizationOwnerUpdateManyWithoutOrganizationNestedInput + templates?: TaskTemplateUpdateManyWithoutOrganizationNestedInput + activityLogs?: ActivityLogUpdateManyWithoutOrganizationNestedInput } - export type UserCreateWithoutManagedDepartmentsInput = { - id?: string - email: string - username: string - password: string - firebaseUid?: string | null - firstName: string - lastName: string - role: $Enums.UserRole - profilePic?: string | null - isOwner?: boolean - createdAt?: Date | string - updatedAt?: Date | string - isActive?: boolean - deletedAt?: Date | string | null - phoneNumber?: string | null - jobTitle?: string | null - timezone?: string | null - bio?: string | null - preferences?: NullableJsonNullValueInput | InputJsonValue - emailVerificationToken?: string | null - emailVerificationExpires?: Date | string | null - passwordResetToken?: string | null - passwordResetExpires?: Date | string | null - refreshToken?: string | null - lastLogin?: Date | string | null - lastLogout?: Date | string | null - department?: DepartmentCreateNestedOneWithoutUsersInput - organization?: OrganizationCreateNestedOneWithoutUsersInput - createdOrganizations?: OrganizationCreateNestedManyWithoutCreatorInput - ownedOrganizations?: OrganizationOwnerCreateNestedManyWithoutUserInput - createdTeams?: TeamCreateNestedManyWithoutCreatorInput - teamMemberships?: TeamMemberCreateNestedManyWithoutUserInput - projectMemberships?: ProjectMemberCreateNestedManyWithoutUserInput - createdProjects?: ProjectCreateNestedManyWithoutCreatorInput - modifiedProjects?: ProjectCreateNestedManyWithoutModifierInput - createdTasks?: TaskCreateNestedManyWithoutCreatorInput - assignedTasks?: TaskCreateNestedManyWithoutAssigneeInput - modifiedTasks?: TaskCreateNestedManyWithoutModifierInput - notifications?: NotificationCreateNestedManyWithoutUserInput - timelogs?: TimelogCreateNestedManyWithoutUserInput - comments?: CommentCreateNestedManyWithoutUserInput - taskAttachments?: TaskAttachmentCreateNestedManyWithoutUploaderInput - generatedReports?: ReportCreateNestedManyWithoutGeneratorInput - userReports?: ReportCreateNestedManyWithoutUserInput - permissions?: PermissionCreateNestedManyWithoutUserInput - activityLogs?: ActivityLogCreateNestedManyWithoutUserInput - ReportNotification?: ReportNotificationCreateNestedManyWithoutUserInput + export type OrganizationUncheckedUpdateWithoutTeamsInput = { + id?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + industry?: StringFieldUpdateOperationsInput | string + sizeRange?: StringFieldUpdateOperationsInput | string + website?: NullableStringFieldUpdateOperationsInput | string | null + logoUrl?: NullableStringFieldUpdateOperationsInput | string | null + isVerified?: BoolFieldUpdateOperationsInput | boolean + status?: StringFieldUpdateOperationsInput | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + createdBy?: StringFieldUpdateOperationsInput | string + address?: NullableStringFieldUpdateOperationsInput | string | null + contactEmail?: NullableStringFieldUpdateOperationsInput | string | null + contactPhone?: NullableStringFieldUpdateOperationsInput | string | null + emailVerificationOTP?: NullableStringFieldUpdateOperationsInput | string | null + emailVerificationExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + departments?: DepartmentUncheckedUpdateManyWithoutOrganizationNestedInput + projects?: ProjectUncheckedUpdateManyWithoutOrganizationNestedInput + users?: UserUncheckedUpdateManyWithoutOrganizationNestedInput + reports?: ReportUncheckedUpdateManyWithoutOrganizationNestedInput + owners?: OrganizationOwnerUncheckedUpdateManyWithoutOrganizationNestedInput + templates?: TaskTemplateUncheckedUpdateManyWithoutOrganizationNestedInput + activityLogs?: ActivityLogUncheckedUpdateManyWithoutOrganizationNestedInput + } + + export type DepartmentUpsertWithoutTeamsInput = { + update: XOR + create: XOR + where?: DepartmentWhereInput + } + + export type DepartmentUpdateToOneWithWhereWithoutTeamsInput = { + where?: DepartmentWhereInput + data: XOR + } + + export type DepartmentUpdateWithoutTeamsInput = { + id?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + organization?: OrganizationUpdateOneRequiredWithoutDepartmentsNestedInput + manager?: UserUpdateOneRequiredWithoutManagedDepartmentsNestedInput + users?: UserUpdateManyWithoutDepartmentNestedInput + activityLogs?: ActivityLogUpdateManyWithoutDepartmentNestedInput + Report?: ReportUpdateManyWithoutDepartmentNestedInput + } + + export type DepartmentUncheckedUpdateWithoutTeamsInput = { + id?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + organizationId?: StringFieldUpdateOperationsInput | string + managerId?: StringFieldUpdateOperationsInput | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + users?: UserUncheckedUpdateManyWithoutDepartmentNestedInput + activityLogs?: ActivityLogUncheckedUpdateManyWithoutDepartmentNestedInput + Report?: ReportUncheckedUpdateManyWithoutDepartmentNestedInput + } + + export type TeamMemberUpsertWithWhereUniqueWithoutTeamInput = { + where: TeamMemberWhereUniqueInput + update: XOR + create: XOR + } + + export type TeamMemberUpdateWithWhereUniqueWithoutTeamInput = { + where: TeamMemberWhereUniqueInput + data: XOR + } + + export type TeamMemberUpdateManyWithWhereWithoutTeamInput = { + where: TeamMemberScalarWhereInput + data: XOR + } + + export type ProjectUpsertWithWhereUniqueWithoutTeamInput = { + where: ProjectWhereUniqueInput + update: XOR + create: XOR + } + + export type ProjectUpdateWithWhereUniqueWithoutTeamInput = { + where: ProjectWhereUniqueInput + data: XOR + } + + export type ProjectUpdateManyWithWhereWithoutTeamInput = { + where: ProjectScalarWhereInput + data: XOR } - export type UserUncheckedCreateWithoutManagedDepartmentsInput = { - id?: string - email: string - username: string - password: string - firebaseUid?: string | null - firstName: string - lastName: string - role: $Enums.UserRole - profilePic?: string | null - departmentId?: string | null - organizationId?: string | null - isOwner?: boolean - createdAt?: Date | string - updatedAt?: Date | string - isActive?: boolean - deletedAt?: Date | string | null - phoneNumber?: string | null - jobTitle?: string | null - timezone?: string | null - bio?: string | null - preferences?: NullableJsonNullValueInput | InputJsonValue - emailVerificationToken?: string | null - emailVerificationExpires?: Date | string | null - passwordResetToken?: string | null - passwordResetExpires?: Date | string | null - refreshToken?: string | null - lastLogin?: Date | string | null - lastLogout?: Date | string | null - createdOrganizations?: OrganizationUncheckedCreateNestedManyWithoutCreatorInput - ownedOrganizations?: OrganizationOwnerUncheckedCreateNestedManyWithoutUserInput - createdTeams?: TeamUncheckedCreateNestedManyWithoutCreatorInput - teamMemberships?: TeamMemberUncheckedCreateNestedManyWithoutUserInput - projectMemberships?: ProjectMemberUncheckedCreateNestedManyWithoutUserInput - createdProjects?: ProjectUncheckedCreateNestedManyWithoutCreatorInput - modifiedProjects?: ProjectUncheckedCreateNestedManyWithoutModifierInput - createdTasks?: TaskUncheckedCreateNestedManyWithoutCreatorInput - assignedTasks?: TaskUncheckedCreateNestedManyWithoutAssigneeInput - modifiedTasks?: TaskUncheckedCreateNestedManyWithoutModifierInput - notifications?: NotificationUncheckedCreateNestedManyWithoutUserInput - timelogs?: TimelogUncheckedCreateNestedManyWithoutUserInput - comments?: CommentUncheckedCreateNestedManyWithoutUserInput - taskAttachments?: TaskAttachmentUncheckedCreateNestedManyWithoutUploaderInput - generatedReports?: ReportUncheckedCreateNestedManyWithoutGeneratorInput - userReports?: ReportUncheckedCreateNestedManyWithoutUserInput - permissions?: PermissionUncheckedCreateNestedManyWithoutUserInput - activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutUserInput - ReportNotification?: ReportNotificationUncheckedCreateNestedManyWithoutUserInput + export type ReportUpsertWithWhereUniqueWithoutTeamInput = { + where: ReportWhereUniqueInput + update: XOR + create: XOR } - export type UserCreateOrConnectWithoutManagedDepartmentsInput = { - where: UserWhereUniqueInput - create: XOR + export type ReportUpdateWithWhereUniqueWithoutTeamInput = { + where: ReportWhereUniqueInput + data: XOR } - export type TeamCreateWithoutDepartmentInput = { + export type ReportUpdateManyWithWhereWithoutTeamInput = { + where: ReportScalarWhereInput + data: XOR + } + + export type ActivityLogUpsertWithWhereUniqueWithoutTeamInput = { + where: ActivityLogWhereUniqueInput + update: XOR + create: XOR + } + + export type ActivityLogUpdateWithWhereUniqueWithoutTeamInput = { + where: ActivityLogWhereUniqueInput + data: XOR + } + + export type ActivityLogUpdateManyWithWhereWithoutTeamInput = { + where: ActivityLogScalarWhereInput + data: XOR + } + + export type TeamCreateWithoutMembersInput = { id?: string name: string description?: string | null @@ -42679,39 +59996,34 @@ export namespace Prisma { avatar?: string | null creator: UserCreateNestedOneWithoutCreatedTeamsInput organization: OrganizationCreateNestedOneWithoutTeamsInput - members?: TeamMemberCreateNestedManyWithoutTeamInput + department?: DepartmentCreateNestedOneWithoutTeamsInput projects?: ProjectCreateNestedManyWithoutTeamInput reports?: ReportCreateNestedManyWithoutTeamInput activityLogs?: ActivityLogCreateNestedManyWithoutTeamInput } - export type TeamUncheckedCreateWithoutDepartmentInput = { + export type TeamUncheckedCreateWithoutMembersInput = { id?: string name: string description?: string | null createdBy: string organizationId: string + departmentId?: string | null createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null avatar?: string | null - members?: TeamMemberUncheckedCreateNestedManyWithoutTeamInput projects?: ProjectUncheckedCreateNestedManyWithoutTeamInput reports?: ReportUncheckedCreateNestedManyWithoutTeamInput activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutTeamInput } - export type TeamCreateOrConnectWithoutDepartmentInput = { + export type TeamCreateOrConnectWithoutMembersInput = { where: TeamWhereUniqueInput - create: XOR - } - - export type TeamCreateManyDepartmentInputEnvelope = { - data: TeamCreateManyDepartmentInput | TeamCreateManyDepartmentInput[] - skipDuplicates?: boolean + create: XOR } - export type UserCreateWithoutDepartmentInput = { + export type UserCreateWithoutTeamMembershipsInput = { id?: string email: string username: string @@ -42738,12 +60050,12 @@ export namespace Prisma { refreshToken?: string | null lastLogin?: Date | string | null lastLogout?: Date | string | null + department?: DepartmentCreateNestedOneWithoutUsersInput organization?: OrganizationCreateNestedOneWithoutUsersInput createdOrganizations?: OrganizationCreateNestedManyWithoutCreatorInput ownedOrganizations?: OrganizationOwnerCreateNestedManyWithoutUserInput managedDepartments?: DepartmentCreateNestedManyWithoutManagerInput createdTeams?: TeamCreateNestedManyWithoutCreatorInput - teamMemberships?: TeamMemberCreateNestedManyWithoutUserInput projectMemberships?: ProjectMemberCreateNestedManyWithoutUserInput createdProjects?: ProjectCreateNestedManyWithoutCreatorInput modifiedProjects?: ProjectCreateNestedManyWithoutModifierInput @@ -42759,9 +60071,16 @@ export namespace Prisma { permissions?: PermissionCreateNestedManyWithoutUserInput activityLogs?: ActivityLogCreateNestedManyWithoutUserInput ReportNotification?: ReportNotificationCreateNestedManyWithoutUserInput + chatParticipations?: ChatParticipantCreateNestedManyWithoutUserInput + sentMessages?: ChatMessageCreateNestedManyWithoutSenderInput + messageReactions?: MessageReactionCreateNestedManyWithoutUserInput + pinnedMessages?: PinnedMessageCreateNestedManyWithoutUserInput + hostedSessions?: VideoConferenceSessionCreateNestedManyWithoutHostInput + videoParticipations?: VideoParticipantCreateNestedManyWithoutUserInput + videoRecordings?: VideoRecordingCreateNestedManyWithoutRecorderInput } - export type UserUncheckedCreateWithoutDepartmentInput = { + export type UserUncheckedCreateWithoutTeamMembershipsInput = { id?: string email: string username: string @@ -42771,6 +60090,7 @@ export namespace Prisma { lastName: string role: $Enums.UserRole profilePic?: string | null + departmentId?: string | null organizationId?: string | null isOwner?: boolean createdAt?: Date | string @@ -42793,7 +60113,6 @@ export namespace Prisma { ownedOrganizations?: OrganizationOwnerUncheckedCreateNestedManyWithoutUserInput managedDepartments?: DepartmentUncheckedCreateNestedManyWithoutManagerInput createdTeams?: TeamUncheckedCreateNestedManyWithoutCreatorInput - teamMemberships?: TeamMemberUncheckedCreateNestedManyWithoutUserInput projectMemberships?: ProjectMemberUncheckedCreateNestedManyWithoutUserInput createdProjects?: ProjectUncheckedCreateNestedManyWithoutCreatorInput modifiedProjects?: ProjectUncheckedCreateNestedManyWithoutModifierInput @@ -42809,195 +60128,75 @@ export namespace Prisma { permissions?: PermissionUncheckedCreateNestedManyWithoutUserInput activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutUserInput ReportNotification?: ReportNotificationUncheckedCreateNestedManyWithoutUserInput + chatParticipations?: ChatParticipantUncheckedCreateNestedManyWithoutUserInput + sentMessages?: ChatMessageUncheckedCreateNestedManyWithoutSenderInput + messageReactions?: MessageReactionUncheckedCreateNestedManyWithoutUserInput + pinnedMessages?: PinnedMessageUncheckedCreateNestedManyWithoutUserInput + hostedSessions?: VideoConferenceSessionUncheckedCreateNestedManyWithoutHostInput + videoParticipations?: VideoParticipantUncheckedCreateNestedManyWithoutUserInput + videoRecordings?: VideoRecordingUncheckedCreateNestedManyWithoutRecorderInput } - export type UserCreateOrConnectWithoutDepartmentInput = { + export type UserCreateOrConnectWithoutTeamMembershipsInput = { where: UserWhereUniqueInput - create: XOR - } - - export type UserCreateManyDepartmentInputEnvelope = { - data: UserCreateManyDepartmentInput | UserCreateManyDepartmentInput[] - skipDuplicates?: boolean - } - - export type ActivityLogCreateWithoutDepartmentInput = { - id?: string - entityType: $Enums.EntityType - action: $Enums.ActionType - details?: NullableJsonNullValueInput | InputJsonValue - createdAt?: Date | string - user: UserCreateNestedOneWithoutActivityLogsInput - organization?: OrganizationCreateNestedOneWithoutActivityLogsInput - project?: ProjectCreateNestedOneWithoutActivityLogsInput - team?: TeamCreateNestedOneWithoutActivityLogsInput - sprint?: SprintCreateNestedOneWithoutActivityLogsInput - task?: TaskCreateNestedOneWithoutActivityLogsInput - } - - export type ActivityLogUncheckedCreateWithoutDepartmentInput = { - id?: string - entityType: $Enums.EntityType - action: $Enums.ActionType - userId: string - organizationId?: string | null - projectId?: string | null - teamId?: string | null - sprintId?: string | null - taskId: string - details?: NullableJsonNullValueInput | InputJsonValue - createdAt?: Date | string - } - - export type ActivityLogCreateOrConnectWithoutDepartmentInput = { - where: ActivityLogWhereUniqueInput - create: XOR - } - - export type ActivityLogCreateManyDepartmentInputEnvelope = { - data: ActivityLogCreateManyDepartmentInput | ActivityLogCreateManyDepartmentInput[] - skipDuplicates?: boolean - } - - export type ReportCreateWithoutDepartmentInput = { - id?: string - name: string - description?: string | null - reportType: $Enums.ReportType - format: string - parameters?: NullableJsonNullValueInput | InputJsonValue - filePath: string - createdAt?: Date | string - status?: $Enums.ReportStatus - updatedAt?: Date | string - lastAccessedAt?: Date | string | null - expiresAt?: Date | string | null - tags?: string | null - storageProvider?: string | null - storageKey: string - generator: UserCreateNestedOneWithoutGeneratedReportsInput - organization?: OrganizationCreateNestedOneWithoutReportsInput - team?: TeamCreateNestedOneWithoutReportsInput - project?: ProjectCreateNestedOneWithoutReportsInput - user?: UserCreateNestedOneWithoutUserReportsInput - reportSchedule?: ReportScheduleCreateNestedOneWithoutReportsInput - notifiedUsers?: ReportNotificationCreateNestedManyWithoutReportInput - } - - export type ReportUncheckedCreateWithoutDepartmentInput = { - id?: string - name: string - description?: string | null - reportType: $Enums.ReportType - format: string - parameters?: NullableJsonNullValueInput | InputJsonValue - filePath: string - generatedBy: string - createdAt?: Date | string - status?: $Enums.ReportStatus - updatedAt?: Date | string - lastAccessedAt?: Date | string | null - expiresAt?: Date | string | null - tags?: string | null - organizationId?: string | null - teamId?: string | null - projectId?: string | null - userId?: string | null - scheduleId?: string | null - storageProvider?: string | null - storageKey: string - notifiedUsers?: ReportNotificationUncheckedCreateNestedManyWithoutReportInput - } - - export type ReportCreateOrConnectWithoutDepartmentInput = { - where: ReportWhereUniqueInput - create: XOR - } - - export type ReportCreateManyDepartmentInputEnvelope = { - data: ReportCreateManyDepartmentInput | ReportCreateManyDepartmentInput[] - skipDuplicates?: boolean + create: XOR } - export type OrganizationUpsertWithoutDepartmentsInput = { - update: XOR - create: XOR - where?: OrganizationWhereInput + export type TeamUpsertWithoutMembersInput = { + update: XOR + create: XOR + where?: TeamWhereInput } - export type OrganizationUpdateToOneWithWhereWithoutDepartmentsInput = { - where?: OrganizationWhereInput - data: XOR + export type TeamUpdateToOneWithWhereWithoutMembersInput = { + where?: TeamWhereInput + data: XOR } - export type OrganizationUpdateWithoutDepartmentsInput = { + export type TeamUpdateWithoutMembersInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string description?: NullableStringFieldUpdateOperationsInput | string | null - industry?: StringFieldUpdateOperationsInput | string - sizeRange?: StringFieldUpdateOperationsInput | string - website?: NullableStringFieldUpdateOperationsInput | string | null - logoUrl?: NullableStringFieldUpdateOperationsInput | string | null - isVerified?: BoolFieldUpdateOperationsInput | boolean - status?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - address?: NullableStringFieldUpdateOperationsInput | string | null - contactEmail?: NullableStringFieldUpdateOperationsInput | string | null - contactPhone?: NullableStringFieldUpdateOperationsInput | string | null - emailVerificationOTP?: NullableStringFieldUpdateOperationsInput | string | null - emailVerificationExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - creator?: UserUpdateOneRequiredWithoutCreatedOrganizationsNestedInput - teams?: TeamUpdateManyWithoutOrganizationNestedInput - projects?: ProjectUpdateManyWithoutOrganizationNestedInput - users?: UserUpdateManyWithoutOrganizationNestedInput - reports?: ReportUpdateManyWithoutOrganizationNestedInput - owners?: OrganizationOwnerUpdateManyWithoutOrganizationNestedInput - templates?: TaskTemplateUpdateManyWithoutOrganizationNestedInput - activityLogs?: ActivityLogUpdateManyWithoutOrganizationNestedInput + avatar?: NullableStringFieldUpdateOperationsInput | string | null + creator?: UserUpdateOneRequiredWithoutCreatedTeamsNestedInput + organization?: OrganizationUpdateOneRequiredWithoutTeamsNestedInput + department?: DepartmentUpdateOneWithoutTeamsNestedInput + projects?: ProjectUpdateManyWithoutTeamNestedInput + reports?: ReportUpdateManyWithoutTeamNestedInput + activityLogs?: ActivityLogUpdateManyWithoutTeamNestedInput } - export type OrganizationUncheckedUpdateWithoutDepartmentsInput = { + export type TeamUncheckedUpdateWithoutMembersInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string description?: NullableStringFieldUpdateOperationsInput | string | null - industry?: StringFieldUpdateOperationsInput | string - sizeRange?: StringFieldUpdateOperationsInput | string - website?: NullableStringFieldUpdateOperationsInput | string | null - logoUrl?: NullableStringFieldUpdateOperationsInput | string | null - isVerified?: BoolFieldUpdateOperationsInput | boolean - status?: StringFieldUpdateOperationsInput | string + createdBy?: StringFieldUpdateOperationsInput | string + organizationId?: StringFieldUpdateOperationsInput | string + departmentId?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - createdBy?: StringFieldUpdateOperationsInput | string - address?: NullableStringFieldUpdateOperationsInput | string | null - contactEmail?: NullableStringFieldUpdateOperationsInput | string | null - contactPhone?: NullableStringFieldUpdateOperationsInput | string | null - emailVerificationOTP?: NullableStringFieldUpdateOperationsInput | string | null - emailVerificationExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - teams?: TeamUncheckedUpdateManyWithoutOrganizationNestedInput - projects?: ProjectUncheckedUpdateManyWithoutOrganizationNestedInput - users?: UserUncheckedUpdateManyWithoutOrganizationNestedInput - reports?: ReportUncheckedUpdateManyWithoutOrganizationNestedInput - owners?: OrganizationOwnerUncheckedUpdateManyWithoutOrganizationNestedInput - templates?: TaskTemplateUncheckedUpdateManyWithoutOrganizationNestedInput - activityLogs?: ActivityLogUncheckedUpdateManyWithoutOrganizationNestedInput + avatar?: NullableStringFieldUpdateOperationsInput | string | null + projects?: ProjectUncheckedUpdateManyWithoutTeamNestedInput + reports?: ReportUncheckedUpdateManyWithoutTeamNestedInput + activityLogs?: ActivityLogUncheckedUpdateManyWithoutTeamNestedInput } - export type UserUpsertWithoutManagedDepartmentsInput = { - update: XOR - create: XOR + export type UserUpsertWithoutTeamMembershipsInput = { + update: XOR + create: XOR where?: UserWhereInput } - export type UserUpdateToOneWithWhereWithoutManagedDepartmentsInput = { + export type UserUpdateToOneWithWhereWithoutTeamMembershipsInput = { where?: UserWhereInput - data: XOR + data: XOR } - export type UserUpdateWithoutManagedDepartmentsInput = { + export type UserUpdateWithoutTeamMembershipsInput = { id?: StringFieldUpdateOperationsInput | string email?: StringFieldUpdateOperationsInput | string username?: StringFieldUpdateOperationsInput | string @@ -43028,8 +60227,8 @@ export namespace Prisma { organization?: OrganizationUpdateOneWithoutUsersNestedInput createdOrganizations?: OrganizationUpdateManyWithoutCreatorNestedInput ownedOrganizations?: OrganizationOwnerUpdateManyWithoutUserNestedInput + managedDepartments?: DepartmentUpdateManyWithoutManagerNestedInput createdTeams?: TeamUpdateManyWithoutCreatorNestedInput - teamMemberships?: TeamMemberUpdateManyWithoutUserNestedInput projectMemberships?: ProjectMemberUpdateManyWithoutUserNestedInput createdProjects?: ProjectUpdateManyWithoutCreatorNestedInput modifiedProjects?: ProjectUpdateManyWithoutModifierNestedInput @@ -43045,9 +60244,16 @@ export namespace Prisma { permissions?: PermissionUpdateManyWithoutUserNestedInput activityLogs?: ActivityLogUpdateManyWithoutUserNestedInput ReportNotification?: ReportNotificationUpdateManyWithoutUserNestedInput + chatParticipations?: ChatParticipantUpdateManyWithoutUserNestedInput + sentMessages?: ChatMessageUpdateManyWithoutSenderNestedInput + messageReactions?: MessageReactionUpdateManyWithoutUserNestedInput + pinnedMessages?: PinnedMessageUpdateManyWithoutUserNestedInput + hostedSessions?: VideoConferenceSessionUpdateManyWithoutHostNestedInput + videoParticipations?: VideoParticipantUpdateManyWithoutUserNestedInput + videoRecordings?: VideoRecordingUpdateManyWithoutRecorderNestedInput } - export type UserUncheckedUpdateWithoutManagedDepartmentsInput = { + export type UserUncheckedUpdateWithoutTeamMembershipsInput = { id?: StringFieldUpdateOperationsInput | string email?: StringFieldUpdateOperationsInput | string username?: StringFieldUpdateOperationsInput | string @@ -43078,8 +60284,8 @@ export namespace Prisma { lastLogout?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null createdOrganizations?: OrganizationUncheckedUpdateManyWithoutCreatorNestedInput ownedOrganizations?: OrganizationOwnerUncheckedUpdateManyWithoutUserNestedInput + managedDepartments?: DepartmentUncheckedUpdateManyWithoutManagerNestedInput createdTeams?: TeamUncheckedUpdateManyWithoutCreatorNestedInput - teamMemberships?: TeamMemberUncheckedUpdateManyWithoutUserNestedInput projectMemberships?: ProjectMemberUncheckedUpdateManyWithoutUserNestedInput createdProjects?: ProjectUncheckedUpdateManyWithoutCreatorNestedInput modifiedProjects?: ProjectUncheckedUpdateManyWithoutModifierNestedInput @@ -43095,73 +60301,135 @@ export namespace Prisma { permissions?: PermissionUncheckedUpdateManyWithoutUserNestedInput activityLogs?: ActivityLogUncheckedUpdateManyWithoutUserNestedInput ReportNotification?: ReportNotificationUncheckedUpdateManyWithoutUserNestedInput + chatParticipations?: ChatParticipantUncheckedUpdateManyWithoutUserNestedInput + sentMessages?: ChatMessageUncheckedUpdateManyWithoutSenderNestedInput + messageReactions?: MessageReactionUncheckedUpdateManyWithoutUserNestedInput + pinnedMessages?: PinnedMessageUncheckedUpdateManyWithoutUserNestedInput + hostedSessions?: VideoConferenceSessionUncheckedUpdateManyWithoutHostNestedInput + videoParticipations?: VideoParticipantUncheckedUpdateManyWithoutUserNestedInput + videoRecordings?: VideoRecordingUncheckedUpdateManyWithoutRecorderNestedInput } - export type TeamUpsertWithWhereUniqueWithoutDepartmentInput = { - where: TeamWhereUniqueInput - update: XOR - create: XOR - } - - export type TeamUpdateWithWhereUniqueWithoutDepartmentInput = { - where: TeamWhereUniqueInput - data: XOR - } - - export type TeamUpdateManyWithWhereWithoutDepartmentInput = { - where: TeamScalarWhereInput - data: XOR + export type UserCreateWithoutCreatedProjectsInput = { + id?: string + email: string + username: string + password: string + firebaseUid?: string | null + firstName: string + lastName: string + role: $Enums.UserRole + profilePic?: string | null + isOwner?: boolean + createdAt?: Date | string + updatedAt?: Date | string + isActive?: boolean + deletedAt?: Date | string | null + phoneNumber?: string | null + jobTitle?: string | null + timezone?: string | null + bio?: string | null + preferences?: NullableJsonNullValueInput | InputJsonValue + emailVerificationToken?: string | null + emailVerificationExpires?: Date | string | null + passwordResetToken?: string | null + passwordResetExpires?: Date | string | null + refreshToken?: string | null + lastLogin?: Date | string | null + lastLogout?: Date | string | null + department?: DepartmentCreateNestedOneWithoutUsersInput + organization?: OrganizationCreateNestedOneWithoutUsersInput + createdOrganizations?: OrganizationCreateNestedManyWithoutCreatorInput + ownedOrganizations?: OrganizationOwnerCreateNestedManyWithoutUserInput + managedDepartments?: DepartmentCreateNestedManyWithoutManagerInput + createdTeams?: TeamCreateNestedManyWithoutCreatorInput + teamMemberships?: TeamMemberCreateNestedManyWithoutUserInput + projectMemberships?: ProjectMemberCreateNestedManyWithoutUserInput + modifiedProjects?: ProjectCreateNestedManyWithoutModifierInput + createdTasks?: TaskCreateNestedManyWithoutCreatorInput + assignedTasks?: TaskCreateNestedManyWithoutAssigneeInput + modifiedTasks?: TaskCreateNestedManyWithoutModifierInput + notifications?: NotificationCreateNestedManyWithoutUserInput + timelogs?: TimelogCreateNestedManyWithoutUserInput + comments?: CommentCreateNestedManyWithoutUserInput + taskAttachments?: TaskAttachmentCreateNestedManyWithoutUploaderInput + generatedReports?: ReportCreateNestedManyWithoutGeneratorInput + userReports?: ReportCreateNestedManyWithoutUserInput + permissions?: PermissionCreateNestedManyWithoutUserInput + activityLogs?: ActivityLogCreateNestedManyWithoutUserInput + ReportNotification?: ReportNotificationCreateNestedManyWithoutUserInput + chatParticipations?: ChatParticipantCreateNestedManyWithoutUserInput + sentMessages?: ChatMessageCreateNestedManyWithoutSenderInput + messageReactions?: MessageReactionCreateNestedManyWithoutUserInput + pinnedMessages?: PinnedMessageCreateNestedManyWithoutUserInput + hostedSessions?: VideoConferenceSessionCreateNestedManyWithoutHostInput + videoParticipations?: VideoParticipantCreateNestedManyWithoutUserInput + videoRecordings?: VideoRecordingCreateNestedManyWithoutRecorderInput } - export type UserUpsertWithWhereUniqueWithoutDepartmentInput = { - where: UserWhereUniqueInput - update: XOR - create: XOR + export type UserUncheckedCreateWithoutCreatedProjectsInput = { + id?: string + email: string + username: string + password: string + firebaseUid?: string | null + firstName: string + lastName: string + role: $Enums.UserRole + profilePic?: string | null + departmentId?: string | null + organizationId?: string | null + isOwner?: boolean + createdAt?: Date | string + updatedAt?: Date | string + isActive?: boolean + deletedAt?: Date | string | null + phoneNumber?: string | null + jobTitle?: string | null + timezone?: string | null + bio?: string | null + preferences?: NullableJsonNullValueInput | InputJsonValue + emailVerificationToken?: string | null + emailVerificationExpires?: Date | string | null + passwordResetToken?: string | null + passwordResetExpires?: Date | string | null + refreshToken?: string | null + lastLogin?: Date | string | null + lastLogout?: Date | string | null + createdOrganizations?: OrganizationUncheckedCreateNestedManyWithoutCreatorInput + ownedOrganizations?: OrganizationOwnerUncheckedCreateNestedManyWithoutUserInput + managedDepartments?: DepartmentUncheckedCreateNestedManyWithoutManagerInput + createdTeams?: TeamUncheckedCreateNestedManyWithoutCreatorInput + teamMemberships?: TeamMemberUncheckedCreateNestedManyWithoutUserInput + projectMemberships?: ProjectMemberUncheckedCreateNestedManyWithoutUserInput + modifiedProjects?: ProjectUncheckedCreateNestedManyWithoutModifierInput + createdTasks?: TaskUncheckedCreateNestedManyWithoutCreatorInput + assignedTasks?: TaskUncheckedCreateNestedManyWithoutAssigneeInput + modifiedTasks?: TaskUncheckedCreateNestedManyWithoutModifierInput + notifications?: NotificationUncheckedCreateNestedManyWithoutUserInput + timelogs?: TimelogUncheckedCreateNestedManyWithoutUserInput + comments?: CommentUncheckedCreateNestedManyWithoutUserInput + taskAttachments?: TaskAttachmentUncheckedCreateNestedManyWithoutUploaderInput + generatedReports?: ReportUncheckedCreateNestedManyWithoutGeneratorInput + userReports?: ReportUncheckedCreateNestedManyWithoutUserInput + permissions?: PermissionUncheckedCreateNestedManyWithoutUserInput + activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutUserInput + ReportNotification?: ReportNotificationUncheckedCreateNestedManyWithoutUserInput + chatParticipations?: ChatParticipantUncheckedCreateNestedManyWithoutUserInput + sentMessages?: ChatMessageUncheckedCreateNestedManyWithoutSenderInput + messageReactions?: MessageReactionUncheckedCreateNestedManyWithoutUserInput + pinnedMessages?: PinnedMessageUncheckedCreateNestedManyWithoutUserInput + hostedSessions?: VideoConferenceSessionUncheckedCreateNestedManyWithoutHostInput + videoParticipations?: VideoParticipantUncheckedCreateNestedManyWithoutUserInput + videoRecordings?: VideoRecordingUncheckedCreateNestedManyWithoutRecorderInput } - export type UserUpdateWithWhereUniqueWithoutDepartmentInput = { + export type UserCreateOrConnectWithoutCreatedProjectsInput = { where: UserWhereUniqueInput - data: XOR - } - - export type UserUpdateManyWithWhereWithoutDepartmentInput = { - where: UserScalarWhereInput - data: XOR - } - - export type ActivityLogUpsertWithWhereUniqueWithoutDepartmentInput = { - where: ActivityLogWhereUniqueInput - update: XOR - create: XOR - } - - export type ActivityLogUpdateWithWhereUniqueWithoutDepartmentInput = { - where: ActivityLogWhereUniqueInput - data: XOR - } - - export type ActivityLogUpdateManyWithWhereWithoutDepartmentInput = { - where: ActivityLogScalarWhereInput - data: XOR - } - - export type ReportUpsertWithWhereUniqueWithoutDepartmentInput = { - where: ReportWhereUniqueInput - update: XOR - create: XOR - } - - export type ReportUpdateWithWhereUniqueWithoutDepartmentInput = { - where: ReportWhereUniqueInput - data: XOR - } - - export type ReportUpdateManyWithWhereWithoutDepartmentInput = { - where: ReportScalarWhereInput - data: XOR + create: XOR } - export type UserCreateWithoutCreatedTeamsInput = { + export type UserCreateWithoutModifiedProjectsInput = { id?: string email: string username: string @@ -43193,10 +60461,10 @@ export namespace Prisma { createdOrganizations?: OrganizationCreateNestedManyWithoutCreatorInput ownedOrganizations?: OrganizationOwnerCreateNestedManyWithoutUserInput managedDepartments?: DepartmentCreateNestedManyWithoutManagerInput + createdTeams?: TeamCreateNestedManyWithoutCreatorInput teamMemberships?: TeamMemberCreateNestedManyWithoutUserInput projectMemberships?: ProjectMemberCreateNestedManyWithoutUserInput createdProjects?: ProjectCreateNestedManyWithoutCreatorInput - modifiedProjects?: ProjectCreateNestedManyWithoutModifierInput createdTasks?: TaskCreateNestedManyWithoutCreatorInput assignedTasks?: TaskCreateNestedManyWithoutAssigneeInput modifiedTasks?: TaskCreateNestedManyWithoutModifierInput @@ -43209,9 +60477,16 @@ export namespace Prisma { permissions?: PermissionCreateNestedManyWithoutUserInput activityLogs?: ActivityLogCreateNestedManyWithoutUserInput ReportNotification?: ReportNotificationCreateNestedManyWithoutUserInput + chatParticipations?: ChatParticipantCreateNestedManyWithoutUserInput + sentMessages?: ChatMessageCreateNestedManyWithoutSenderInput + messageReactions?: MessageReactionCreateNestedManyWithoutUserInput + pinnedMessages?: PinnedMessageCreateNestedManyWithoutUserInput + hostedSessions?: VideoConferenceSessionCreateNestedManyWithoutHostInput + videoParticipations?: VideoParticipantCreateNestedManyWithoutUserInput + videoRecordings?: VideoRecordingCreateNestedManyWithoutRecorderInput } - export type UserUncheckedCreateWithoutCreatedTeamsInput = { + export type UserUncheckedCreateWithoutModifiedProjectsInput = { id?: string email: string username: string @@ -43243,10 +60518,10 @@ export namespace Prisma { createdOrganizations?: OrganizationUncheckedCreateNestedManyWithoutCreatorInput ownedOrganizations?: OrganizationOwnerUncheckedCreateNestedManyWithoutUserInput managedDepartments?: DepartmentUncheckedCreateNestedManyWithoutManagerInput + createdTeams?: TeamUncheckedCreateNestedManyWithoutCreatorInput teamMemberships?: TeamMemberUncheckedCreateNestedManyWithoutUserInput projectMemberships?: ProjectMemberUncheckedCreateNestedManyWithoutUserInput createdProjects?: ProjectUncheckedCreateNestedManyWithoutCreatorInput - modifiedProjects?: ProjectUncheckedCreateNestedManyWithoutModifierInput createdTasks?: TaskUncheckedCreateNestedManyWithoutCreatorInput assignedTasks?: TaskUncheckedCreateNestedManyWithoutAssigneeInput modifiedTasks?: TaskUncheckedCreateNestedManyWithoutModifierInput @@ -43259,14 +60534,21 @@ export namespace Prisma { permissions?: PermissionUncheckedCreateNestedManyWithoutUserInput activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutUserInput ReportNotification?: ReportNotificationUncheckedCreateNestedManyWithoutUserInput + chatParticipations?: ChatParticipantUncheckedCreateNestedManyWithoutUserInput + sentMessages?: ChatMessageUncheckedCreateNestedManyWithoutSenderInput + messageReactions?: MessageReactionUncheckedCreateNestedManyWithoutUserInput + pinnedMessages?: PinnedMessageUncheckedCreateNestedManyWithoutUserInput + hostedSessions?: VideoConferenceSessionUncheckedCreateNestedManyWithoutHostInput + videoParticipations?: VideoParticipantUncheckedCreateNestedManyWithoutUserInput + videoRecordings?: VideoRecordingUncheckedCreateNestedManyWithoutRecorderInput } - export type UserCreateOrConnectWithoutCreatedTeamsInput = { + export type UserCreateOrConnectWithoutModifiedProjectsInput = { where: UserWhereUniqueInput - create: XOR + create: XOR } - export type OrganizationCreateWithoutTeamsInput = { + export type OrganizationCreateWithoutProjectsInput = { id?: string name: string description?: string | null @@ -43286,7 +60568,7 @@ export namespace Prisma { emailVerificationExpires?: Date | string | null creator: UserCreateNestedOneWithoutCreatedOrganizationsInput departments?: DepartmentCreateNestedManyWithoutOrganizationInput - projects?: ProjectCreateNestedManyWithoutOrganizationInput + teams?: TeamCreateNestedManyWithoutOrganizationInput users?: UserCreateNestedManyWithoutOrganizationInput reports?: ReportCreateNestedManyWithoutOrganizationInput owners?: OrganizationOwnerCreateNestedManyWithoutOrganizationInput @@ -43294,7 +60576,7 @@ export namespace Prisma { activityLogs?: ActivityLogCreateNestedManyWithoutOrganizationInput } - export type OrganizationUncheckedCreateWithoutTeamsInput = { + export type OrganizationUncheckedCreateWithoutProjectsInput = { id?: string name: string description?: string | null @@ -43314,7 +60596,7 @@ export namespace Prisma { emailVerificationOTP?: string | null emailVerificationExpires?: Date | string | null departments?: DepartmentUncheckedCreateNestedManyWithoutOrganizationInput - projects?: ProjectUncheckedCreateNestedManyWithoutOrganizationInput + teams?: TeamUncheckedCreateNestedManyWithoutOrganizationInput users?: UserUncheckedCreateNestedManyWithoutOrganizationInput reports?: ReportUncheckedCreateNestedManyWithoutOrganizationInput owners?: OrganizationOwnerUncheckedCreateNestedManyWithoutOrganizationInput @@ -43322,129 +60604,153 @@ export namespace Prisma { activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutOrganizationInput } - export type OrganizationCreateOrConnectWithoutTeamsInput = { + export type OrganizationCreateOrConnectWithoutProjectsInput = { where: OrganizationWhereUniqueInput - create: XOR + create: XOR } - export type DepartmentCreateWithoutTeamsInput = { + export type TeamCreateWithoutProjectsInput = { id?: string name: string description?: string | null createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null - organization: OrganizationCreateNestedOneWithoutDepartmentsInput - manager: UserCreateNestedOneWithoutManagedDepartmentsInput - users?: UserCreateNestedManyWithoutDepartmentInput - activityLogs?: ActivityLogCreateNestedManyWithoutDepartmentInput - Report?: ReportCreateNestedManyWithoutDepartmentInput + avatar?: string | null + creator: UserCreateNestedOneWithoutCreatedTeamsInput + organization: OrganizationCreateNestedOneWithoutTeamsInput + department?: DepartmentCreateNestedOneWithoutTeamsInput + members?: TeamMemberCreateNestedManyWithoutTeamInput + reports?: ReportCreateNestedManyWithoutTeamInput + activityLogs?: ActivityLogCreateNestedManyWithoutTeamInput } - export type DepartmentUncheckedCreateWithoutTeamsInput = { + export type TeamUncheckedCreateWithoutProjectsInput = { id?: string name: string description?: string | null + createdBy: string organizationId: string - managerId: string + departmentId?: string | null createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null - users?: UserUncheckedCreateNestedManyWithoutDepartmentInput - activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutDepartmentInput - Report?: ReportUncheckedCreateNestedManyWithoutDepartmentInput - } - - export type DepartmentCreateOrConnectWithoutTeamsInput = { - where: DepartmentWhereUniqueInput - create: XOR + avatar?: string | null + members?: TeamMemberUncheckedCreateNestedManyWithoutTeamInput + reports?: ReportUncheckedCreateNestedManyWithoutTeamInput + activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutTeamInput } - export type TeamMemberCreateWithoutTeamInput = { + export type TeamCreateOrConnectWithoutProjectsInput = { + where: TeamWhereUniqueInput + create: XOR + } + + export type SprintCreateWithoutProjectInput = { id?: string - role: $Enums.TeamMemberRole - joinedAt?: Date | string - isActive?: boolean - deletedAt?: Date | string | null - user: UserCreateNestedOneWithoutTeamMembershipsInput + name: string + description?: string | null + startDate: Date | string + endDate: Date | string + status: string + goal?: string | null + order?: number + tasks?: TaskCreateNestedManyWithoutSprintInput + activityLogs?: ActivityLogCreateNestedManyWithoutSprintInput } - export type TeamMemberUncheckedCreateWithoutTeamInput = { + export type SprintUncheckedCreateWithoutProjectInput = { id?: string - userId: string - role: $Enums.TeamMemberRole - joinedAt?: Date | string - isActive?: boolean - deletedAt?: Date | string | null + name: string + description?: string | null + startDate: Date | string + endDate: Date | string + status: string + goal?: string | null + order?: number + tasks?: TaskUncheckedCreateNestedManyWithoutSprintInput + activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutSprintInput } - export type TeamMemberCreateOrConnectWithoutTeamInput = { - where: TeamMemberWhereUniqueInput - create: XOR + export type SprintCreateOrConnectWithoutProjectInput = { + where: SprintWhereUniqueInput + create: XOR } - export type TeamMemberCreateManyTeamInputEnvelope = { - data: TeamMemberCreateManyTeamInput | TeamMemberCreateManyTeamInput[] + export type SprintCreateManyProjectInputEnvelope = { + data: SprintCreateManyProjectInput | SprintCreateManyProjectInput[] skipDuplicates?: boolean } - export type ProjectCreateWithoutTeamInput = { + export type TaskCreateWithoutProjectInput = { id?: string - name: string + title: string description?: string | null - status: string - startDate: Date | string - endDate: Date | string + priority: $Enums.TaskPriority + status: $Enums.TaskStatus + rate?: number | null + dueDate: Date | string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null - priority?: $Enums.TaskPriority - progress?: number | null - budget?: number | null - creator: UserCreateNestedOneWithoutCreatedProjectsInput - modifier?: UserCreateNestedOneWithoutModifiedProjectsInput - organization: OrganizationCreateNestedOneWithoutProjectsInput - sprints?: SprintCreateNestedManyWithoutProjectInput - tasks?: TaskCreateNestedManyWithoutProjectInput - reports?: ReportCreateNestedManyWithoutProjectInput - activityLogs?: ActivityLogCreateNestedManyWithoutProjectInput - ProjectMember?: ProjectMemberCreateNestedManyWithoutProjectInput + estimatedTime?: number | null + actualTime?: number | null + order?: number + labels?: TaskCreatelabelsInput | string[] + sprint?: SprintCreateNestedOneWithoutTasksInput + creator: UserCreateNestedOneWithoutCreatedTasksInput + assignee?: UserCreateNestedOneWithoutAssignedTasksInput + modifier?: UserCreateNestedOneWithoutModifiedTasksInput + attachments?: TaskAttachmentCreateNestedManyWithoutTaskInput + comments?: CommentCreateNestedManyWithoutTaskInput + timelogs?: TimelogCreateNestedManyWithoutTaskInput + dependencies?: TaskDependencyCreateNestedManyWithoutDependentTaskInput + dependentOn?: TaskDependencyCreateNestedManyWithoutTaskInput + parent?: TaskCreateNestedOneWithoutSubtasksInput + subtasks?: TaskCreateNestedManyWithoutParentInput + activityLogs?: ActivityLogCreateNestedManyWithoutTaskInput } - export type ProjectUncheckedCreateWithoutTeamInput = { + export type TaskUncheckedCreateWithoutProjectInput = { id?: string - name: string + title: string description?: string | null - status: string + priority: $Enums.TaskPriority + status: $Enums.TaskStatus + rate?: number | null + sprintId?: string | null createdBy: string - organizationId: string - startDate: Date | string - endDate: Date | string + assignedTo?: string | null + dueDate: Date | string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null - priority?: $Enums.TaskPriority - progress?: number | null - budget?: number | null + estimatedTime?: number | null + actualTime?: number | null + parentId?: string | null + order?: number + labels?: TaskCreatelabelsInput | string[] lastModifiedBy?: string | null - sprints?: SprintUncheckedCreateNestedManyWithoutProjectInput - tasks?: TaskUncheckedCreateNestedManyWithoutProjectInput - reports?: ReportUncheckedCreateNestedManyWithoutProjectInput - activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutProjectInput - ProjectMember?: ProjectMemberUncheckedCreateNestedManyWithoutProjectInput + attachments?: TaskAttachmentUncheckedCreateNestedManyWithoutTaskInput + comments?: CommentUncheckedCreateNestedManyWithoutTaskInput + timelogs?: TimelogUncheckedCreateNestedManyWithoutTaskInput + dependencies?: TaskDependencyUncheckedCreateNestedManyWithoutDependentTaskInput + dependentOn?: TaskDependencyUncheckedCreateNestedManyWithoutTaskInput + subtasks?: TaskUncheckedCreateNestedManyWithoutParentInput + activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutTaskInput } - export type ProjectCreateOrConnectWithoutTeamInput = { - where: ProjectWhereUniqueInput - create: XOR + export type TaskCreateOrConnectWithoutProjectInput = { + where: TaskWhereUniqueInput + create: XOR } - export type ProjectCreateManyTeamInputEnvelope = { - data: ProjectCreateManyTeamInput | ProjectCreateManyTeamInput[] + export type TaskCreateManyProjectInputEnvelope = { + data: TaskCreateManyProjectInput | TaskCreateManyProjectInput[] skipDuplicates?: boolean } - export type ReportCreateWithoutTeamInput = { + export type ReportCreateWithoutProjectInput = { id?: string name: string description?: string | null @@ -43462,14 +60768,14 @@ export namespace Prisma { storageKey: string generator: UserCreateNestedOneWithoutGeneratedReportsInput organization?: OrganizationCreateNestedOneWithoutReportsInput - project?: ProjectCreateNestedOneWithoutReportsInput + team?: TeamCreateNestedOneWithoutReportsInput department?: DepartmentCreateNestedOneWithoutReportInput user?: UserCreateNestedOneWithoutUserReportsInput reportSchedule?: ReportScheduleCreateNestedOneWithoutReportsInput notifiedUsers?: ReportNotificationCreateNestedManyWithoutReportInput } - export type ReportUncheckedCreateWithoutTeamInput = { + export type ReportUncheckedCreateWithoutProjectInput = { id?: string name: string description?: string | null @@ -43485,7 +60791,7 @@ export namespace Prisma { expiresAt?: Date | string | null tags?: string | null organizationId?: string | null - projectId?: string | null + teamId?: string | null departmentId?: string | null userId?: string | null scheduleId?: string | null @@ -43494,17 +60800,17 @@ export namespace Prisma { notifiedUsers?: ReportNotificationUncheckedCreateNestedManyWithoutReportInput } - export type ReportCreateOrConnectWithoutTeamInput = { + export type ReportCreateOrConnectWithoutProjectInput = { where: ReportWhereUniqueInput - create: XOR + create: XOR } - export type ReportCreateManyTeamInputEnvelope = { - data: ReportCreateManyTeamInput | ReportCreateManyTeamInput[] + export type ReportCreateManyProjectInputEnvelope = { + data: ReportCreateManyProjectInput | ReportCreateManyProjectInput[] skipDuplicates?: boolean } - export type ActivityLogCreateWithoutTeamInput = { + export type ActivityLogCreateWithoutProjectInput = { id?: string entityType: $Enums.EntityType action: $Enums.ActionType @@ -43513,47 +60819,77 @@ export namespace Prisma { user: UserCreateNestedOneWithoutActivityLogsInput organization?: OrganizationCreateNestedOneWithoutActivityLogsInput department?: DepartmentCreateNestedOneWithoutActivityLogsInput - project?: ProjectCreateNestedOneWithoutActivityLogsInput + team?: TeamCreateNestedOneWithoutActivityLogsInput sprint?: SprintCreateNestedOneWithoutActivityLogsInput task?: TaskCreateNestedOneWithoutActivityLogsInput } - export type ActivityLogUncheckedCreateWithoutTeamInput = { + export type ActivityLogUncheckedCreateWithoutProjectInput = { id?: string entityType: $Enums.EntityType action: $Enums.ActionType userId: string organizationId?: string | null departmentId?: string | null - projectId?: string | null + teamId?: string | null sprintId?: string | null taskId: string details?: NullableJsonNullValueInput | InputJsonValue createdAt?: Date | string } - export type ActivityLogCreateOrConnectWithoutTeamInput = { + export type ActivityLogCreateOrConnectWithoutProjectInput = { where: ActivityLogWhereUniqueInput - create: XOR + create: XOR } - export type ActivityLogCreateManyTeamInputEnvelope = { - data: ActivityLogCreateManyTeamInput | ActivityLogCreateManyTeamInput[] + export type ActivityLogCreateManyProjectInputEnvelope = { + data: ActivityLogCreateManyProjectInput | ActivityLogCreateManyProjectInput[] skipDuplicates?: boolean } - export type UserUpsertWithoutCreatedTeamsInput = { - update: XOR - create: XOR + export type ProjectMemberCreateWithoutProjectInput = { + id?: string + role: string + isActive?: boolean + joinedAt?: Date | string + leftAt?: Date | string | null + deletedAt?: Date | string | null + user: UserCreateNestedOneWithoutProjectMembershipsInput + } + + export type ProjectMemberUncheckedCreateWithoutProjectInput = { + id?: string + userId: string + role: string + isActive?: boolean + joinedAt?: Date | string + leftAt?: Date | string | null + deletedAt?: Date | string | null + } + + export type ProjectMemberCreateOrConnectWithoutProjectInput = { + where: ProjectMemberWhereUniqueInput + create: XOR + } + + export type ProjectMemberCreateManyProjectInputEnvelope = { + data: ProjectMemberCreateManyProjectInput | ProjectMemberCreateManyProjectInput[] + skipDuplicates?: boolean + } + + export type UserUpsertWithoutCreatedProjectsInput = { + update: XOR + create: XOR where?: UserWhereInput } - export type UserUpdateToOneWithWhereWithoutCreatedTeamsInput = { + export type UserUpdateToOneWithWhereWithoutCreatedProjectsInput = { where?: UserWhereInput - data: XOR + data: XOR } - export type UserUpdateWithoutCreatedTeamsInput = { + export type UserUpdateWithoutCreatedProjectsInput = { id?: StringFieldUpdateOperationsInput | string email?: StringFieldUpdateOperationsInput | string username?: StringFieldUpdateOperationsInput | string @@ -43585,9 +60921,9 @@ export namespace Prisma { createdOrganizations?: OrganizationUpdateManyWithoutCreatorNestedInput ownedOrganizations?: OrganizationOwnerUpdateManyWithoutUserNestedInput managedDepartments?: DepartmentUpdateManyWithoutManagerNestedInput + createdTeams?: TeamUpdateManyWithoutCreatorNestedInput teamMemberships?: TeamMemberUpdateManyWithoutUserNestedInput projectMemberships?: ProjectMemberUpdateManyWithoutUserNestedInput - createdProjects?: ProjectUpdateManyWithoutCreatorNestedInput modifiedProjects?: ProjectUpdateManyWithoutModifierNestedInput createdTasks?: TaskUpdateManyWithoutCreatorNestedInput assignedTasks?: TaskUpdateManyWithoutAssigneeNestedInput @@ -43601,9 +60937,16 @@ export namespace Prisma { permissions?: PermissionUpdateManyWithoutUserNestedInput activityLogs?: ActivityLogUpdateManyWithoutUserNestedInput ReportNotification?: ReportNotificationUpdateManyWithoutUserNestedInput + chatParticipations?: ChatParticipantUpdateManyWithoutUserNestedInput + sentMessages?: ChatMessageUpdateManyWithoutSenderNestedInput + messageReactions?: MessageReactionUpdateManyWithoutUserNestedInput + pinnedMessages?: PinnedMessageUpdateManyWithoutUserNestedInput + hostedSessions?: VideoConferenceSessionUpdateManyWithoutHostNestedInput + videoParticipations?: VideoParticipantUpdateManyWithoutUserNestedInput + videoRecordings?: VideoRecordingUpdateManyWithoutRecorderNestedInput } - export type UserUncheckedUpdateWithoutCreatedTeamsInput = { + export type UserUncheckedUpdateWithoutCreatedProjectsInput = { id?: StringFieldUpdateOperationsInput | string email?: StringFieldUpdateOperationsInput | string username?: StringFieldUpdateOperationsInput | string @@ -43635,9 +60978,9 @@ export namespace Prisma { createdOrganizations?: OrganizationUncheckedUpdateManyWithoutCreatorNestedInput ownedOrganizations?: OrganizationOwnerUncheckedUpdateManyWithoutUserNestedInput managedDepartments?: DepartmentUncheckedUpdateManyWithoutManagerNestedInput + createdTeams?: TeamUncheckedUpdateManyWithoutCreatorNestedInput teamMemberships?: TeamMemberUncheckedUpdateManyWithoutUserNestedInput projectMemberships?: ProjectMemberUncheckedUpdateManyWithoutUserNestedInput - createdProjects?: ProjectUncheckedUpdateManyWithoutCreatorNestedInput modifiedProjects?: ProjectUncheckedUpdateManyWithoutModifierNestedInput createdTasks?: TaskUncheckedUpdateManyWithoutCreatorNestedInput assignedTasks?: TaskUncheckedUpdateManyWithoutAssigneeNestedInput @@ -43651,20 +60994,152 @@ export namespace Prisma { permissions?: PermissionUncheckedUpdateManyWithoutUserNestedInput activityLogs?: ActivityLogUncheckedUpdateManyWithoutUserNestedInput ReportNotification?: ReportNotificationUncheckedUpdateManyWithoutUserNestedInput + chatParticipations?: ChatParticipantUncheckedUpdateManyWithoutUserNestedInput + sentMessages?: ChatMessageUncheckedUpdateManyWithoutSenderNestedInput + messageReactions?: MessageReactionUncheckedUpdateManyWithoutUserNestedInput + pinnedMessages?: PinnedMessageUncheckedUpdateManyWithoutUserNestedInput + hostedSessions?: VideoConferenceSessionUncheckedUpdateManyWithoutHostNestedInput + videoParticipations?: VideoParticipantUncheckedUpdateManyWithoutUserNestedInput + videoRecordings?: VideoRecordingUncheckedUpdateManyWithoutRecorderNestedInput } - export type OrganizationUpsertWithoutTeamsInput = { - update: XOR - create: XOR + export type UserUpsertWithoutModifiedProjectsInput = { + update: XOR + create: XOR + where?: UserWhereInput + } + + export type UserUpdateToOneWithWhereWithoutModifiedProjectsInput = { + where?: UserWhereInput + data: XOR + } + + export type UserUpdateWithoutModifiedProjectsInput = { + id?: StringFieldUpdateOperationsInput | string + email?: StringFieldUpdateOperationsInput | string + username?: StringFieldUpdateOperationsInput | string + password?: StringFieldUpdateOperationsInput | string + firebaseUid?: NullableStringFieldUpdateOperationsInput | string | null + firstName?: StringFieldUpdateOperationsInput | string + lastName?: StringFieldUpdateOperationsInput | string + role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole + profilePic?: NullableStringFieldUpdateOperationsInput | string | null + isOwner?: BoolFieldUpdateOperationsInput | boolean + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + isActive?: BoolFieldUpdateOperationsInput | boolean + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + phoneNumber?: NullableStringFieldUpdateOperationsInput | string | null + jobTitle?: NullableStringFieldUpdateOperationsInput | string | null + timezone?: NullableStringFieldUpdateOperationsInput | string | null + bio?: NullableStringFieldUpdateOperationsInput | string | null + preferences?: NullableJsonNullValueInput | InputJsonValue + emailVerificationToken?: NullableStringFieldUpdateOperationsInput | string | null + emailVerificationExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + passwordResetToken?: NullableStringFieldUpdateOperationsInput | string | null + passwordResetExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + refreshToken?: NullableStringFieldUpdateOperationsInput | string | null + lastLogin?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + lastLogout?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + department?: DepartmentUpdateOneWithoutUsersNestedInput + organization?: OrganizationUpdateOneWithoutUsersNestedInput + createdOrganizations?: OrganizationUpdateManyWithoutCreatorNestedInput + ownedOrganizations?: OrganizationOwnerUpdateManyWithoutUserNestedInput + managedDepartments?: DepartmentUpdateManyWithoutManagerNestedInput + createdTeams?: TeamUpdateManyWithoutCreatorNestedInput + teamMemberships?: TeamMemberUpdateManyWithoutUserNestedInput + projectMemberships?: ProjectMemberUpdateManyWithoutUserNestedInput + createdProjects?: ProjectUpdateManyWithoutCreatorNestedInput + createdTasks?: TaskUpdateManyWithoutCreatorNestedInput + assignedTasks?: TaskUpdateManyWithoutAssigneeNestedInput + modifiedTasks?: TaskUpdateManyWithoutModifierNestedInput + notifications?: NotificationUpdateManyWithoutUserNestedInput + timelogs?: TimelogUpdateManyWithoutUserNestedInput + comments?: CommentUpdateManyWithoutUserNestedInput + taskAttachments?: TaskAttachmentUpdateManyWithoutUploaderNestedInput + generatedReports?: ReportUpdateManyWithoutGeneratorNestedInput + userReports?: ReportUpdateManyWithoutUserNestedInput + permissions?: PermissionUpdateManyWithoutUserNestedInput + activityLogs?: ActivityLogUpdateManyWithoutUserNestedInput + ReportNotification?: ReportNotificationUpdateManyWithoutUserNestedInput + chatParticipations?: ChatParticipantUpdateManyWithoutUserNestedInput + sentMessages?: ChatMessageUpdateManyWithoutSenderNestedInput + messageReactions?: MessageReactionUpdateManyWithoutUserNestedInput + pinnedMessages?: PinnedMessageUpdateManyWithoutUserNestedInput + hostedSessions?: VideoConferenceSessionUpdateManyWithoutHostNestedInput + videoParticipations?: VideoParticipantUpdateManyWithoutUserNestedInput + videoRecordings?: VideoRecordingUpdateManyWithoutRecorderNestedInput + } + + export type UserUncheckedUpdateWithoutModifiedProjectsInput = { + id?: StringFieldUpdateOperationsInput | string + email?: StringFieldUpdateOperationsInput | string + username?: StringFieldUpdateOperationsInput | string + password?: StringFieldUpdateOperationsInput | string + firebaseUid?: NullableStringFieldUpdateOperationsInput | string | null + firstName?: StringFieldUpdateOperationsInput | string + lastName?: StringFieldUpdateOperationsInput | string + role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole + profilePic?: NullableStringFieldUpdateOperationsInput | string | null + departmentId?: NullableStringFieldUpdateOperationsInput | string | null + organizationId?: NullableStringFieldUpdateOperationsInput | string | null + isOwner?: BoolFieldUpdateOperationsInput | boolean + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + isActive?: BoolFieldUpdateOperationsInput | boolean + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + phoneNumber?: NullableStringFieldUpdateOperationsInput | string | null + jobTitle?: NullableStringFieldUpdateOperationsInput | string | null + timezone?: NullableStringFieldUpdateOperationsInput | string | null + bio?: NullableStringFieldUpdateOperationsInput | string | null + preferences?: NullableJsonNullValueInput | InputJsonValue + emailVerificationToken?: NullableStringFieldUpdateOperationsInput | string | null + emailVerificationExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + passwordResetToken?: NullableStringFieldUpdateOperationsInput | string | null + passwordResetExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + refreshToken?: NullableStringFieldUpdateOperationsInput | string | null + lastLogin?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + lastLogout?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + createdOrganizations?: OrganizationUncheckedUpdateManyWithoutCreatorNestedInput + ownedOrganizations?: OrganizationOwnerUncheckedUpdateManyWithoutUserNestedInput + managedDepartments?: DepartmentUncheckedUpdateManyWithoutManagerNestedInput + createdTeams?: TeamUncheckedUpdateManyWithoutCreatorNestedInput + teamMemberships?: TeamMemberUncheckedUpdateManyWithoutUserNestedInput + projectMemberships?: ProjectMemberUncheckedUpdateManyWithoutUserNestedInput + createdProjects?: ProjectUncheckedUpdateManyWithoutCreatorNestedInput + createdTasks?: TaskUncheckedUpdateManyWithoutCreatorNestedInput + assignedTasks?: TaskUncheckedUpdateManyWithoutAssigneeNestedInput + modifiedTasks?: TaskUncheckedUpdateManyWithoutModifierNestedInput + notifications?: NotificationUncheckedUpdateManyWithoutUserNestedInput + timelogs?: TimelogUncheckedUpdateManyWithoutUserNestedInput + comments?: CommentUncheckedUpdateManyWithoutUserNestedInput + taskAttachments?: TaskAttachmentUncheckedUpdateManyWithoutUploaderNestedInput + generatedReports?: ReportUncheckedUpdateManyWithoutGeneratorNestedInput + userReports?: ReportUncheckedUpdateManyWithoutUserNestedInput + permissions?: PermissionUncheckedUpdateManyWithoutUserNestedInput + activityLogs?: ActivityLogUncheckedUpdateManyWithoutUserNestedInput + ReportNotification?: ReportNotificationUncheckedUpdateManyWithoutUserNestedInput + chatParticipations?: ChatParticipantUncheckedUpdateManyWithoutUserNestedInput + sentMessages?: ChatMessageUncheckedUpdateManyWithoutSenderNestedInput + messageReactions?: MessageReactionUncheckedUpdateManyWithoutUserNestedInput + pinnedMessages?: PinnedMessageUncheckedUpdateManyWithoutUserNestedInput + hostedSessions?: VideoConferenceSessionUncheckedUpdateManyWithoutHostNestedInput + videoParticipations?: VideoParticipantUncheckedUpdateManyWithoutUserNestedInput + videoRecordings?: VideoRecordingUncheckedUpdateManyWithoutRecorderNestedInput + } + + export type OrganizationUpsertWithoutProjectsInput = { + update: XOR + create: XOR where?: OrganizationWhereInput } - export type OrganizationUpdateToOneWithWhereWithoutTeamsInput = { + export type OrganizationUpdateToOneWithWhereWithoutProjectsInput = { where?: OrganizationWhereInput - data: XOR + data: XOR } - export type OrganizationUpdateWithoutTeamsInput = { + export type OrganizationUpdateWithoutProjectsInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string description?: NullableStringFieldUpdateOperationsInput | string | null @@ -43684,7 +61159,7 @@ export namespace Prisma { emailVerificationExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null creator?: UserUpdateOneRequiredWithoutCreatedOrganizationsNestedInput departments?: DepartmentUpdateManyWithoutOrganizationNestedInput - projects?: ProjectUpdateManyWithoutOrganizationNestedInput + teams?: TeamUpdateManyWithoutOrganizationNestedInput users?: UserUpdateManyWithoutOrganizationNestedInput reports?: ReportUpdateManyWithoutOrganizationNestedInput owners?: OrganizationOwnerUpdateManyWithoutOrganizationNestedInput @@ -43692,7 +61167,7 @@ export namespace Prisma { activityLogs?: ActivityLogUpdateManyWithoutOrganizationNestedInput } - export type OrganizationUncheckedUpdateWithoutTeamsInput = { + export type OrganizationUncheckedUpdateWithoutProjectsInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string description?: NullableStringFieldUpdateOperationsInput | string | null @@ -43712,7 +61187,7 @@ export namespace Prisma { emailVerificationOTP?: NullableStringFieldUpdateOperationsInput | string | null emailVerificationExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null departments?: DepartmentUncheckedUpdateManyWithoutOrganizationNestedInput - projects?: ProjectUncheckedUpdateManyWithoutOrganizationNestedInput + teams?: TeamUncheckedUpdateManyWithoutOrganizationNestedInput users?: UserUncheckedUpdateManyWithoutOrganizationNestedInput reports?: ReportUncheckedUpdateManyWithoutOrganizationNestedInput owners?: OrganizationOwnerUncheckedUpdateManyWithoutOrganizationNestedInput @@ -43720,147 +61195,196 @@ export namespace Prisma { activityLogs?: ActivityLogUncheckedUpdateManyWithoutOrganizationNestedInput } - export type DepartmentUpsertWithoutTeamsInput = { - update: XOR - create: XOR - where?: DepartmentWhereInput + export type TeamUpsertWithoutProjectsInput = { + update: XOR + create: XOR + where?: TeamWhereInput } - export type DepartmentUpdateToOneWithWhereWithoutTeamsInput = { - where?: DepartmentWhereInput - data: XOR + export type TeamUpdateToOneWithWhereWithoutProjectsInput = { + where?: TeamWhereInput + data: XOR } - export type DepartmentUpdateWithoutTeamsInput = { + export type TeamUpdateWithoutProjectsInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string description?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - organization?: OrganizationUpdateOneRequiredWithoutDepartmentsNestedInput - manager?: UserUpdateOneRequiredWithoutManagedDepartmentsNestedInput - users?: UserUpdateManyWithoutDepartmentNestedInput - activityLogs?: ActivityLogUpdateManyWithoutDepartmentNestedInput - Report?: ReportUpdateManyWithoutDepartmentNestedInput + avatar?: NullableStringFieldUpdateOperationsInput | string | null + creator?: UserUpdateOneRequiredWithoutCreatedTeamsNestedInput + organization?: OrganizationUpdateOneRequiredWithoutTeamsNestedInput + department?: DepartmentUpdateOneWithoutTeamsNestedInput + members?: TeamMemberUpdateManyWithoutTeamNestedInput + reports?: ReportUpdateManyWithoutTeamNestedInput + activityLogs?: ActivityLogUpdateManyWithoutTeamNestedInput } - export type DepartmentUncheckedUpdateWithoutTeamsInput = { + export type TeamUncheckedUpdateWithoutProjectsInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string description?: NullableStringFieldUpdateOperationsInput | string | null + createdBy?: StringFieldUpdateOperationsInput | string organizationId?: StringFieldUpdateOperationsInput | string - managerId?: StringFieldUpdateOperationsInput | string + departmentId?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - users?: UserUncheckedUpdateManyWithoutDepartmentNestedInput - activityLogs?: ActivityLogUncheckedUpdateManyWithoutDepartmentNestedInput - Report?: ReportUncheckedUpdateManyWithoutDepartmentNestedInput + avatar?: NullableStringFieldUpdateOperationsInput | string | null + members?: TeamMemberUncheckedUpdateManyWithoutTeamNestedInput + reports?: ReportUncheckedUpdateManyWithoutTeamNestedInput + activityLogs?: ActivityLogUncheckedUpdateManyWithoutTeamNestedInput } - export type TeamMemberUpsertWithWhereUniqueWithoutTeamInput = { - where: TeamMemberWhereUniqueInput - update: XOR - create: XOR + export type SprintUpsertWithWhereUniqueWithoutProjectInput = { + where: SprintWhereUniqueInput + update: XOR + create: XOR } - export type TeamMemberUpdateWithWhereUniqueWithoutTeamInput = { - where: TeamMemberWhereUniqueInput - data: XOR + export type SprintUpdateWithWhereUniqueWithoutProjectInput = { + where: SprintWhereUniqueInput + data: XOR } - export type TeamMemberUpdateManyWithWhereWithoutTeamInput = { - where: TeamMemberScalarWhereInput - data: XOR + export type SprintUpdateManyWithWhereWithoutProjectInput = { + where: SprintScalarWhereInput + data: XOR } - export type ProjectUpsertWithWhereUniqueWithoutTeamInput = { - where: ProjectWhereUniqueInput - update: XOR - create: XOR + export type SprintScalarWhereInput = { + AND?: SprintScalarWhereInput | SprintScalarWhereInput[] + OR?: SprintScalarWhereInput[] + NOT?: SprintScalarWhereInput | SprintScalarWhereInput[] + id?: UuidFilter<"Sprint"> | string + projectId?: UuidFilter<"Sprint"> | string + name?: StringFilter<"Sprint"> | string + description?: StringNullableFilter<"Sprint"> | string | null + startDate?: DateTimeFilter<"Sprint"> | Date | string + endDate?: DateTimeFilter<"Sprint"> | Date | string + status?: StringFilter<"Sprint"> | string + goal?: StringNullableFilter<"Sprint"> | string | null + order?: IntFilter<"Sprint"> | number } - export type ProjectUpdateWithWhereUniqueWithoutTeamInput = { - where: ProjectWhereUniqueInput - data: XOR + export type TaskUpsertWithWhereUniqueWithoutProjectInput = { + where: TaskWhereUniqueInput + update: XOR + create: XOR } - export type ProjectUpdateManyWithWhereWithoutTeamInput = { - where: ProjectScalarWhereInput - data: XOR + export type TaskUpdateWithWhereUniqueWithoutProjectInput = { + where: TaskWhereUniqueInput + data: XOR } - export type ReportUpsertWithWhereUniqueWithoutTeamInput = { + export type TaskUpdateManyWithWhereWithoutProjectInput = { + where: TaskScalarWhereInput + data: XOR + } + + export type ReportUpsertWithWhereUniqueWithoutProjectInput = { where: ReportWhereUniqueInput - update: XOR - create: XOR + update: XOR + create: XOR } - export type ReportUpdateWithWhereUniqueWithoutTeamInput = { + export type ReportUpdateWithWhereUniqueWithoutProjectInput = { where: ReportWhereUniqueInput - data: XOR + data: XOR } - export type ReportUpdateManyWithWhereWithoutTeamInput = { + export type ReportUpdateManyWithWhereWithoutProjectInput = { where: ReportScalarWhereInput - data: XOR + data: XOR } - export type ActivityLogUpsertWithWhereUniqueWithoutTeamInput = { + export type ActivityLogUpsertWithWhereUniqueWithoutProjectInput = { where: ActivityLogWhereUniqueInput - update: XOR - create: XOR + update: XOR + create: XOR } - export type ActivityLogUpdateWithWhereUniqueWithoutTeamInput = { + export type ActivityLogUpdateWithWhereUniqueWithoutProjectInput = { where: ActivityLogWhereUniqueInput - data: XOR + data: XOR } - export type ActivityLogUpdateManyWithWhereWithoutTeamInput = { + export type ActivityLogUpdateManyWithWhereWithoutProjectInput = { where: ActivityLogScalarWhereInput - data: XOR + data: XOR } - export type TeamCreateWithoutMembersInput = { + export type ProjectMemberUpsertWithWhereUniqueWithoutProjectInput = { + where: ProjectMemberWhereUniqueInput + update: XOR + create: XOR + } + + export type ProjectMemberUpdateWithWhereUniqueWithoutProjectInput = { + where: ProjectMemberWhereUniqueInput + data: XOR + } + + export type ProjectMemberUpdateManyWithWhereWithoutProjectInput = { + where: ProjectMemberScalarWhereInput + data: XOR + } + + export type ProjectCreateWithoutProjectMemberInput = { id?: string name: string description?: string | null + status: string + startDate: Date | string + endDate: Date | string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null - avatar?: string | null - creator: UserCreateNestedOneWithoutCreatedTeamsInput - organization: OrganizationCreateNestedOneWithoutTeamsInput - department?: DepartmentCreateNestedOneWithoutTeamsInput - projects?: ProjectCreateNestedManyWithoutTeamInput - reports?: ReportCreateNestedManyWithoutTeamInput - activityLogs?: ActivityLogCreateNestedManyWithoutTeamInput + priority?: $Enums.TaskPriority + progress?: number | null + budget?: number | null + creator: UserCreateNestedOneWithoutCreatedProjectsInput + modifier?: UserCreateNestedOneWithoutModifiedProjectsInput + organization: OrganizationCreateNestedOneWithoutProjectsInput + team: TeamCreateNestedOneWithoutProjectsInput + sprints?: SprintCreateNestedManyWithoutProjectInput + tasks?: TaskCreateNestedManyWithoutProjectInput + reports?: ReportCreateNestedManyWithoutProjectInput + activityLogs?: ActivityLogCreateNestedManyWithoutProjectInput } - export type TeamUncheckedCreateWithoutMembersInput = { + export type ProjectUncheckedCreateWithoutProjectMemberInput = { id?: string name: string description?: string | null + status: string createdBy: string organizationId: string - departmentId?: string | null + teamId: string + startDate: Date | string + endDate: Date | string createdAt?: Date | string updatedAt?: Date | string - deletedAt?: Date | string | null - avatar?: string | null - projects?: ProjectUncheckedCreateNestedManyWithoutTeamInput - reports?: ReportUncheckedCreateNestedManyWithoutTeamInput - activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutTeamInput + deletedAt?: Date | string | null + priority?: $Enums.TaskPriority + progress?: number | null + budget?: number | null + lastModifiedBy?: string | null + sprints?: SprintUncheckedCreateNestedManyWithoutProjectInput + tasks?: TaskUncheckedCreateNestedManyWithoutProjectInput + reports?: ReportUncheckedCreateNestedManyWithoutProjectInput + activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutProjectInput } - export type TeamCreateOrConnectWithoutMembersInput = { - where: TeamWhereUniqueInput - create: XOR + export type ProjectCreateOrConnectWithoutProjectMemberInput = { + where: ProjectWhereUniqueInput + create: XOR } - export type UserCreateWithoutTeamMembershipsInput = { + export type UserCreateWithoutProjectMembershipsInput = { id?: string email: string username: string @@ -43893,7 +61417,7 @@ export namespace Prisma { ownedOrganizations?: OrganizationOwnerCreateNestedManyWithoutUserInput managedDepartments?: DepartmentCreateNestedManyWithoutManagerInput createdTeams?: TeamCreateNestedManyWithoutCreatorInput - projectMemberships?: ProjectMemberCreateNestedManyWithoutUserInput + teamMemberships?: TeamMemberCreateNestedManyWithoutUserInput createdProjects?: ProjectCreateNestedManyWithoutCreatorInput modifiedProjects?: ProjectCreateNestedManyWithoutModifierInput createdTasks?: TaskCreateNestedManyWithoutCreatorInput @@ -43908,9 +61432,16 @@ export namespace Prisma { permissions?: PermissionCreateNestedManyWithoutUserInput activityLogs?: ActivityLogCreateNestedManyWithoutUserInput ReportNotification?: ReportNotificationCreateNestedManyWithoutUserInput + chatParticipations?: ChatParticipantCreateNestedManyWithoutUserInput + sentMessages?: ChatMessageCreateNestedManyWithoutSenderInput + messageReactions?: MessageReactionCreateNestedManyWithoutUserInput + pinnedMessages?: PinnedMessageCreateNestedManyWithoutUserInput + hostedSessions?: VideoConferenceSessionCreateNestedManyWithoutHostInput + videoParticipations?: VideoParticipantCreateNestedManyWithoutUserInput + videoRecordings?: VideoRecordingCreateNestedManyWithoutRecorderInput } - export type UserUncheckedCreateWithoutTeamMembershipsInput = { + export type UserUncheckedCreateWithoutProjectMembershipsInput = { id?: string email: string username: string @@ -43943,7 +61474,7 @@ export namespace Prisma { ownedOrganizations?: OrganizationOwnerUncheckedCreateNestedManyWithoutUserInput managedDepartments?: DepartmentUncheckedCreateNestedManyWithoutManagerInput createdTeams?: TeamUncheckedCreateNestedManyWithoutCreatorInput - projectMemberships?: ProjectMemberUncheckedCreateNestedManyWithoutUserInput + teamMemberships?: TeamMemberUncheckedCreateNestedManyWithoutUserInput createdProjects?: ProjectUncheckedCreateNestedManyWithoutCreatorInput modifiedProjects?: ProjectUncheckedCreateNestedManyWithoutModifierInput createdTasks?: TaskUncheckedCreateNestedManyWithoutCreatorInput @@ -43958,68 +61489,89 @@ export namespace Prisma { permissions?: PermissionUncheckedCreateNestedManyWithoutUserInput activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutUserInput ReportNotification?: ReportNotificationUncheckedCreateNestedManyWithoutUserInput + chatParticipations?: ChatParticipantUncheckedCreateNestedManyWithoutUserInput + sentMessages?: ChatMessageUncheckedCreateNestedManyWithoutSenderInput + messageReactions?: MessageReactionUncheckedCreateNestedManyWithoutUserInput + pinnedMessages?: PinnedMessageUncheckedCreateNestedManyWithoutUserInput + hostedSessions?: VideoConferenceSessionUncheckedCreateNestedManyWithoutHostInput + videoParticipations?: VideoParticipantUncheckedCreateNestedManyWithoutUserInput + videoRecordings?: VideoRecordingUncheckedCreateNestedManyWithoutRecorderInput } - export type UserCreateOrConnectWithoutTeamMembershipsInput = { + export type UserCreateOrConnectWithoutProjectMembershipsInput = { where: UserWhereUniqueInput - create: XOR + create: XOR } - export type TeamUpsertWithoutMembersInput = { - update: XOR - create: XOR - where?: TeamWhereInput + export type ProjectUpsertWithoutProjectMemberInput = { + update: XOR + create: XOR + where?: ProjectWhereInput } - export type TeamUpdateToOneWithWhereWithoutMembersInput = { - where?: TeamWhereInput - data: XOR + export type ProjectUpdateToOneWithWhereWithoutProjectMemberInput = { + where?: ProjectWhereInput + data: XOR } - export type TeamUpdateWithoutMembersInput = { + export type ProjectUpdateWithoutProjectMemberInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string description?: NullableStringFieldUpdateOperationsInput | string | null + status?: StringFieldUpdateOperationsInput | string + startDate?: DateTimeFieldUpdateOperationsInput | Date | string + endDate?: DateTimeFieldUpdateOperationsInput | Date | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - avatar?: NullableStringFieldUpdateOperationsInput | string | null - creator?: UserUpdateOneRequiredWithoutCreatedTeamsNestedInput - organization?: OrganizationUpdateOneRequiredWithoutTeamsNestedInput - department?: DepartmentUpdateOneWithoutTeamsNestedInput - projects?: ProjectUpdateManyWithoutTeamNestedInput - reports?: ReportUpdateManyWithoutTeamNestedInput - activityLogs?: ActivityLogUpdateManyWithoutTeamNestedInput + priority?: EnumTaskPriorityFieldUpdateOperationsInput | $Enums.TaskPriority + progress?: NullableFloatFieldUpdateOperationsInput | number | null + budget?: NullableFloatFieldUpdateOperationsInput | number | null + creator?: UserUpdateOneRequiredWithoutCreatedProjectsNestedInput + modifier?: UserUpdateOneWithoutModifiedProjectsNestedInput + organization?: OrganizationUpdateOneRequiredWithoutProjectsNestedInput + team?: TeamUpdateOneRequiredWithoutProjectsNestedInput + sprints?: SprintUpdateManyWithoutProjectNestedInput + tasks?: TaskUpdateManyWithoutProjectNestedInput + reports?: ReportUpdateManyWithoutProjectNestedInput + activityLogs?: ActivityLogUpdateManyWithoutProjectNestedInput } - export type TeamUncheckedUpdateWithoutMembersInput = { + export type ProjectUncheckedUpdateWithoutProjectMemberInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string description?: NullableStringFieldUpdateOperationsInput | string | null + status?: StringFieldUpdateOperationsInput | string createdBy?: StringFieldUpdateOperationsInput | string organizationId?: StringFieldUpdateOperationsInput | string - departmentId?: NullableStringFieldUpdateOperationsInput | string | null + teamId?: StringFieldUpdateOperationsInput | string + startDate?: DateTimeFieldUpdateOperationsInput | Date | string + endDate?: DateTimeFieldUpdateOperationsInput | Date | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - avatar?: NullableStringFieldUpdateOperationsInput | string | null - projects?: ProjectUncheckedUpdateManyWithoutTeamNestedInput - reports?: ReportUncheckedUpdateManyWithoutTeamNestedInput - activityLogs?: ActivityLogUncheckedUpdateManyWithoutTeamNestedInput + priority?: EnumTaskPriorityFieldUpdateOperationsInput | $Enums.TaskPriority + progress?: NullableFloatFieldUpdateOperationsInput | number | null + budget?: NullableFloatFieldUpdateOperationsInput | number | null + lastModifiedBy?: NullableStringFieldUpdateOperationsInput | string | null + sprints?: SprintUncheckedUpdateManyWithoutProjectNestedInput + tasks?: TaskUncheckedUpdateManyWithoutProjectNestedInput + reports?: ReportUncheckedUpdateManyWithoutProjectNestedInput + activityLogs?: ActivityLogUncheckedUpdateManyWithoutProjectNestedInput } - export type UserUpsertWithoutTeamMembershipsInput = { - update: XOR - create: XOR + export type UserUpsertWithoutProjectMembershipsInput = { + update: XOR + create: XOR where?: UserWhereInput } - export type UserUpdateToOneWithWhereWithoutTeamMembershipsInput = { + export type UserUpdateToOneWithWhereWithoutProjectMembershipsInput = { where?: UserWhereInput - data: XOR + data: XOR } - export type UserUpdateWithoutTeamMembershipsInput = { + export type UserUpdateWithoutProjectMembershipsInput = { id?: StringFieldUpdateOperationsInput | string email?: StringFieldUpdateOperationsInput | string username?: StringFieldUpdateOperationsInput | string @@ -44052,7 +61604,7 @@ export namespace Prisma { ownedOrganizations?: OrganizationOwnerUpdateManyWithoutUserNestedInput managedDepartments?: DepartmentUpdateManyWithoutManagerNestedInput createdTeams?: TeamUpdateManyWithoutCreatorNestedInput - projectMemberships?: ProjectMemberUpdateManyWithoutUserNestedInput + teamMemberships?: TeamMemberUpdateManyWithoutUserNestedInput createdProjects?: ProjectUpdateManyWithoutCreatorNestedInput modifiedProjects?: ProjectUpdateManyWithoutModifierNestedInput createdTasks?: TaskUpdateManyWithoutCreatorNestedInput @@ -44067,9 +61619,16 @@ export namespace Prisma { permissions?: PermissionUpdateManyWithoutUserNestedInput activityLogs?: ActivityLogUpdateManyWithoutUserNestedInput ReportNotification?: ReportNotificationUpdateManyWithoutUserNestedInput + chatParticipations?: ChatParticipantUpdateManyWithoutUserNestedInput + sentMessages?: ChatMessageUpdateManyWithoutSenderNestedInput + messageReactions?: MessageReactionUpdateManyWithoutUserNestedInput + pinnedMessages?: PinnedMessageUpdateManyWithoutUserNestedInput + hostedSessions?: VideoConferenceSessionUpdateManyWithoutHostNestedInput + videoParticipations?: VideoParticipantUpdateManyWithoutUserNestedInput + videoRecordings?: VideoRecordingUpdateManyWithoutRecorderNestedInput } - export type UserUncheckedUpdateWithoutTeamMembershipsInput = { + export type UserUncheckedUpdateWithoutProjectMembershipsInput = { id?: StringFieldUpdateOperationsInput | string email?: StringFieldUpdateOperationsInput | string username?: StringFieldUpdateOperationsInput | string @@ -44102,7 +61661,7 @@ export namespace Prisma { ownedOrganizations?: OrganizationOwnerUncheckedUpdateManyWithoutUserNestedInput managedDepartments?: DepartmentUncheckedUpdateManyWithoutManagerNestedInput createdTeams?: TeamUncheckedUpdateManyWithoutCreatorNestedInput - projectMemberships?: ProjectMemberUncheckedUpdateManyWithoutUserNestedInput + teamMemberships?: TeamMemberUncheckedUpdateManyWithoutUserNestedInput createdProjects?: ProjectUncheckedUpdateManyWithoutCreatorNestedInput modifiedProjects?: ProjectUncheckedUpdateManyWithoutModifierNestedInput createdTasks?: TaskUncheckedUpdateManyWithoutCreatorNestedInput @@ -44117,9 +61676,463 @@ export namespace Prisma { permissions?: PermissionUncheckedUpdateManyWithoutUserNestedInput activityLogs?: ActivityLogUncheckedUpdateManyWithoutUserNestedInput ReportNotification?: ReportNotificationUncheckedUpdateManyWithoutUserNestedInput + chatParticipations?: ChatParticipantUncheckedUpdateManyWithoutUserNestedInput + sentMessages?: ChatMessageUncheckedUpdateManyWithoutSenderNestedInput + messageReactions?: MessageReactionUncheckedUpdateManyWithoutUserNestedInput + pinnedMessages?: PinnedMessageUncheckedUpdateManyWithoutUserNestedInput + hostedSessions?: VideoConferenceSessionUncheckedUpdateManyWithoutHostNestedInput + videoParticipations?: VideoParticipantUncheckedUpdateManyWithoutUserNestedInput + videoRecordings?: VideoRecordingUncheckedUpdateManyWithoutRecorderNestedInput + } + + export type ProjectCreateWithoutSprintsInput = { + id?: string + name: string + description?: string | null + status: string + startDate: Date | string + endDate: Date | string + createdAt?: Date | string + updatedAt?: Date | string + deletedAt?: Date | string | null + priority?: $Enums.TaskPriority + progress?: number | null + budget?: number | null + creator: UserCreateNestedOneWithoutCreatedProjectsInput + modifier?: UserCreateNestedOneWithoutModifiedProjectsInput + organization: OrganizationCreateNestedOneWithoutProjectsInput + team: TeamCreateNestedOneWithoutProjectsInput + tasks?: TaskCreateNestedManyWithoutProjectInput + reports?: ReportCreateNestedManyWithoutProjectInput + activityLogs?: ActivityLogCreateNestedManyWithoutProjectInput + ProjectMember?: ProjectMemberCreateNestedManyWithoutProjectInput + } + + export type ProjectUncheckedCreateWithoutSprintsInput = { + id?: string + name: string + description?: string | null + status: string + createdBy: string + organizationId: string + teamId: string + startDate: Date | string + endDate: Date | string + createdAt?: Date | string + updatedAt?: Date | string + deletedAt?: Date | string | null + priority?: $Enums.TaskPriority + progress?: number | null + budget?: number | null + lastModifiedBy?: string | null + tasks?: TaskUncheckedCreateNestedManyWithoutProjectInput + reports?: ReportUncheckedCreateNestedManyWithoutProjectInput + activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutProjectInput + ProjectMember?: ProjectMemberUncheckedCreateNestedManyWithoutProjectInput + } + + export type ProjectCreateOrConnectWithoutSprintsInput = { + where: ProjectWhereUniqueInput + create: XOR + } + + export type TaskCreateWithoutSprintInput = { + id?: string + title: string + description?: string | null + priority: $Enums.TaskPriority + status: $Enums.TaskStatus + rate?: number | null + dueDate: Date | string + createdAt?: Date | string + updatedAt?: Date | string + deletedAt?: Date | string | null + estimatedTime?: number | null + actualTime?: number | null + order?: number + labels?: TaskCreatelabelsInput | string[] + project: ProjectCreateNestedOneWithoutTasksInput + creator: UserCreateNestedOneWithoutCreatedTasksInput + assignee?: UserCreateNestedOneWithoutAssignedTasksInput + modifier?: UserCreateNestedOneWithoutModifiedTasksInput + attachments?: TaskAttachmentCreateNestedManyWithoutTaskInput + comments?: CommentCreateNestedManyWithoutTaskInput + timelogs?: TimelogCreateNestedManyWithoutTaskInput + dependencies?: TaskDependencyCreateNestedManyWithoutDependentTaskInput + dependentOn?: TaskDependencyCreateNestedManyWithoutTaskInput + parent?: TaskCreateNestedOneWithoutSubtasksInput + subtasks?: TaskCreateNestedManyWithoutParentInput + activityLogs?: ActivityLogCreateNestedManyWithoutTaskInput + } + + export type TaskUncheckedCreateWithoutSprintInput = { + id?: string + title: string + description?: string | null + priority: $Enums.TaskPriority + status: $Enums.TaskStatus + rate?: number | null + projectId: string + createdBy: string + assignedTo?: string | null + dueDate: Date | string + createdAt?: Date | string + updatedAt?: Date | string + deletedAt?: Date | string | null + estimatedTime?: number | null + actualTime?: number | null + parentId?: string | null + order?: number + labels?: TaskCreatelabelsInput | string[] + lastModifiedBy?: string | null + attachments?: TaskAttachmentUncheckedCreateNestedManyWithoutTaskInput + comments?: CommentUncheckedCreateNestedManyWithoutTaskInput + timelogs?: TimelogUncheckedCreateNestedManyWithoutTaskInput + dependencies?: TaskDependencyUncheckedCreateNestedManyWithoutDependentTaskInput + dependentOn?: TaskDependencyUncheckedCreateNestedManyWithoutTaskInput + subtasks?: TaskUncheckedCreateNestedManyWithoutParentInput + activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutTaskInput + } + + export type TaskCreateOrConnectWithoutSprintInput = { + where: TaskWhereUniqueInput + create: XOR + } + + export type TaskCreateManySprintInputEnvelope = { + data: TaskCreateManySprintInput | TaskCreateManySprintInput[] + skipDuplicates?: boolean + } + + export type ActivityLogCreateWithoutSprintInput = { + id?: string + entityType: $Enums.EntityType + action: $Enums.ActionType + details?: NullableJsonNullValueInput | InputJsonValue + createdAt?: Date | string + user: UserCreateNestedOneWithoutActivityLogsInput + organization?: OrganizationCreateNestedOneWithoutActivityLogsInput + department?: DepartmentCreateNestedOneWithoutActivityLogsInput + project?: ProjectCreateNestedOneWithoutActivityLogsInput + team?: TeamCreateNestedOneWithoutActivityLogsInput + task?: TaskCreateNestedOneWithoutActivityLogsInput + } + + export type ActivityLogUncheckedCreateWithoutSprintInput = { + id?: string + entityType: $Enums.EntityType + action: $Enums.ActionType + userId: string + organizationId?: string | null + departmentId?: string | null + projectId?: string | null + teamId?: string | null + taskId: string + details?: NullableJsonNullValueInput | InputJsonValue + createdAt?: Date | string + } + + export type ActivityLogCreateOrConnectWithoutSprintInput = { + where: ActivityLogWhereUniqueInput + create: XOR + } + + export type ActivityLogCreateManySprintInputEnvelope = { + data: ActivityLogCreateManySprintInput | ActivityLogCreateManySprintInput[] + skipDuplicates?: boolean + } + + export type ProjectUpsertWithoutSprintsInput = { + update: XOR + create: XOR + where?: ProjectWhereInput + } + + export type ProjectUpdateToOneWithWhereWithoutSprintsInput = { + where?: ProjectWhereInput + data: XOR + } + + export type ProjectUpdateWithoutSprintsInput = { + id?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + status?: StringFieldUpdateOperationsInput | string + startDate?: DateTimeFieldUpdateOperationsInput | Date | string + endDate?: DateTimeFieldUpdateOperationsInput | Date | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + priority?: EnumTaskPriorityFieldUpdateOperationsInput | $Enums.TaskPriority + progress?: NullableFloatFieldUpdateOperationsInput | number | null + budget?: NullableFloatFieldUpdateOperationsInput | number | null + creator?: UserUpdateOneRequiredWithoutCreatedProjectsNestedInput + modifier?: UserUpdateOneWithoutModifiedProjectsNestedInput + organization?: OrganizationUpdateOneRequiredWithoutProjectsNestedInput + team?: TeamUpdateOneRequiredWithoutProjectsNestedInput + tasks?: TaskUpdateManyWithoutProjectNestedInput + reports?: ReportUpdateManyWithoutProjectNestedInput + activityLogs?: ActivityLogUpdateManyWithoutProjectNestedInput + ProjectMember?: ProjectMemberUpdateManyWithoutProjectNestedInput + } + + export type ProjectUncheckedUpdateWithoutSprintsInput = { + id?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + status?: StringFieldUpdateOperationsInput | string + createdBy?: StringFieldUpdateOperationsInput | string + organizationId?: StringFieldUpdateOperationsInput | string + teamId?: StringFieldUpdateOperationsInput | string + startDate?: DateTimeFieldUpdateOperationsInput | Date | string + endDate?: DateTimeFieldUpdateOperationsInput | Date | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + priority?: EnumTaskPriorityFieldUpdateOperationsInput | $Enums.TaskPriority + progress?: NullableFloatFieldUpdateOperationsInput | number | null + budget?: NullableFloatFieldUpdateOperationsInput | number | null + lastModifiedBy?: NullableStringFieldUpdateOperationsInput | string | null + tasks?: TaskUncheckedUpdateManyWithoutProjectNestedInput + reports?: ReportUncheckedUpdateManyWithoutProjectNestedInput + activityLogs?: ActivityLogUncheckedUpdateManyWithoutProjectNestedInput + ProjectMember?: ProjectMemberUncheckedUpdateManyWithoutProjectNestedInput + } + + export type TaskUpsertWithWhereUniqueWithoutSprintInput = { + where: TaskWhereUniqueInput + update: XOR + create: XOR + } + + export type TaskUpdateWithWhereUniqueWithoutSprintInput = { + where: TaskWhereUniqueInput + data: XOR + } + + export type TaskUpdateManyWithWhereWithoutSprintInput = { + where: TaskScalarWhereInput + data: XOR + } + + export type ActivityLogUpsertWithWhereUniqueWithoutSprintInput = { + where: ActivityLogWhereUniqueInput + update: XOR + create: XOR + } + + export type ActivityLogUpdateWithWhereUniqueWithoutSprintInput = { + where: ActivityLogWhereUniqueInput + data: XOR + } + + export type ActivityLogUpdateManyWithWhereWithoutSprintInput = { + where: ActivityLogScalarWhereInput + data: XOR + } + + export type ProjectCreateWithoutTasksInput = { + id?: string + name: string + description?: string | null + status: string + startDate: Date | string + endDate: Date | string + createdAt?: Date | string + updatedAt?: Date | string + deletedAt?: Date | string | null + priority?: $Enums.TaskPriority + progress?: number | null + budget?: number | null + creator: UserCreateNestedOneWithoutCreatedProjectsInput + modifier?: UserCreateNestedOneWithoutModifiedProjectsInput + organization: OrganizationCreateNestedOneWithoutProjectsInput + team: TeamCreateNestedOneWithoutProjectsInput + sprints?: SprintCreateNestedManyWithoutProjectInput + reports?: ReportCreateNestedManyWithoutProjectInput + activityLogs?: ActivityLogCreateNestedManyWithoutProjectInput + ProjectMember?: ProjectMemberCreateNestedManyWithoutProjectInput + } + + export type ProjectUncheckedCreateWithoutTasksInput = { + id?: string + name: string + description?: string | null + status: string + createdBy: string + organizationId: string + teamId: string + startDate: Date | string + endDate: Date | string + createdAt?: Date | string + updatedAt?: Date | string + deletedAt?: Date | string | null + priority?: $Enums.TaskPriority + progress?: number | null + budget?: number | null + lastModifiedBy?: string | null + sprints?: SprintUncheckedCreateNestedManyWithoutProjectInput + reports?: ReportUncheckedCreateNestedManyWithoutProjectInput + activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutProjectInput + ProjectMember?: ProjectMemberUncheckedCreateNestedManyWithoutProjectInput + } + + export type ProjectCreateOrConnectWithoutTasksInput = { + where: ProjectWhereUniqueInput + create: XOR + } + + export type SprintCreateWithoutTasksInput = { + id?: string + name: string + description?: string | null + startDate: Date | string + endDate: Date | string + status: string + goal?: string | null + order?: number + project: ProjectCreateNestedOneWithoutSprintsInput + activityLogs?: ActivityLogCreateNestedManyWithoutSprintInput + } + + export type SprintUncheckedCreateWithoutTasksInput = { + id?: string + projectId: string + name: string + description?: string | null + startDate: Date | string + endDate: Date | string + status: string + goal?: string | null + order?: number + activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutSprintInput + } + + export type SprintCreateOrConnectWithoutTasksInput = { + where: SprintWhereUniqueInput + create: XOR + } + + export type UserCreateWithoutCreatedTasksInput = { + id?: string + email: string + username: string + password: string + firebaseUid?: string | null + firstName: string + lastName: string + role: $Enums.UserRole + profilePic?: string | null + isOwner?: boolean + createdAt?: Date | string + updatedAt?: Date | string + isActive?: boolean + deletedAt?: Date | string | null + phoneNumber?: string | null + jobTitle?: string | null + timezone?: string | null + bio?: string | null + preferences?: NullableJsonNullValueInput | InputJsonValue + emailVerificationToken?: string | null + emailVerificationExpires?: Date | string | null + passwordResetToken?: string | null + passwordResetExpires?: Date | string | null + refreshToken?: string | null + lastLogin?: Date | string | null + lastLogout?: Date | string | null + department?: DepartmentCreateNestedOneWithoutUsersInput + organization?: OrganizationCreateNestedOneWithoutUsersInput + createdOrganizations?: OrganizationCreateNestedManyWithoutCreatorInput + ownedOrganizations?: OrganizationOwnerCreateNestedManyWithoutUserInput + managedDepartments?: DepartmentCreateNestedManyWithoutManagerInput + createdTeams?: TeamCreateNestedManyWithoutCreatorInput + teamMemberships?: TeamMemberCreateNestedManyWithoutUserInput + projectMemberships?: ProjectMemberCreateNestedManyWithoutUserInput + createdProjects?: ProjectCreateNestedManyWithoutCreatorInput + modifiedProjects?: ProjectCreateNestedManyWithoutModifierInput + assignedTasks?: TaskCreateNestedManyWithoutAssigneeInput + modifiedTasks?: TaskCreateNestedManyWithoutModifierInput + notifications?: NotificationCreateNestedManyWithoutUserInput + timelogs?: TimelogCreateNestedManyWithoutUserInput + comments?: CommentCreateNestedManyWithoutUserInput + taskAttachments?: TaskAttachmentCreateNestedManyWithoutUploaderInput + generatedReports?: ReportCreateNestedManyWithoutGeneratorInput + userReports?: ReportCreateNestedManyWithoutUserInput + permissions?: PermissionCreateNestedManyWithoutUserInput + activityLogs?: ActivityLogCreateNestedManyWithoutUserInput + ReportNotification?: ReportNotificationCreateNestedManyWithoutUserInput + chatParticipations?: ChatParticipantCreateNestedManyWithoutUserInput + sentMessages?: ChatMessageCreateNestedManyWithoutSenderInput + messageReactions?: MessageReactionCreateNestedManyWithoutUserInput + pinnedMessages?: PinnedMessageCreateNestedManyWithoutUserInput + hostedSessions?: VideoConferenceSessionCreateNestedManyWithoutHostInput + videoParticipations?: VideoParticipantCreateNestedManyWithoutUserInput + videoRecordings?: VideoRecordingCreateNestedManyWithoutRecorderInput + } + + export type UserUncheckedCreateWithoutCreatedTasksInput = { + id?: string + email: string + username: string + password: string + firebaseUid?: string | null + firstName: string + lastName: string + role: $Enums.UserRole + profilePic?: string | null + departmentId?: string | null + organizationId?: string | null + isOwner?: boolean + createdAt?: Date | string + updatedAt?: Date | string + isActive?: boolean + deletedAt?: Date | string | null + phoneNumber?: string | null + jobTitle?: string | null + timezone?: string | null + bio?: string | null + preferences?: NullableJsonNullValueInput | InputJsonValue + emailVerificationToken?: string | null + emailVerificationExpires?: Date | string | null + passwordResetToken?: string | null + passwordResetExpires?: Date | string | null + refreshToken?: string | null + lastLogin?: Date | string | null + lastLogout?: Date | string | null + createdOrganizations?: OrganizationUncheckedCreateNestedManyWithoutCreatorInput + ownedOrganizations?: OrganizationOwnerUncheckedCreateNestedManyWithoutUserInput + managedDepartments?: DepartmentUncheckedCreateNestedManyWithoutManagerInput + createdTeams?: TeamUncheckedCreateNestedManyWithoutCreatorInput + teamMemberships?: TeamMemberUncheckedCreateNestedManyWithoutUserInput + projectMemberships?: ProjectMemberUncheckedCreateNestedManyWithoutUserInput + createdProjects?: ProjectUncheckedCreateNestedManyWithoutCreatorInput + modifiedProjects?: ProjectUncheckedCreateNestedManyWithoutModifierInput + assignedTasks?: TaskUncheckedCreateNestedManyWithoutAssigneeInput + modifiedTasks?: TaskUncheckedCreateNestedManyWithoutModifierInput + notifications?: NotificationUncheckedCreateNestedManyWithoutUserInput + timelogs?: TimelogUncheckedCreateNestedManyWithoutUserInput + comments?: CommentUncheckedCreateNestedManyWithoutUserInput + taskAttachments?: TaskAttachmentUncheckedCreateNestedManyWithoutUploaderInput + generatedReports?: ReportUncheckedCreateNestedManyWithoutGeneratorInput + userReports?: ReportUncheckedCreateNestedManyWithoutUserInput + permissions?: PermissionUncheckedCreateNestedManyWithoutUserInput + activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutUserInput + ReportNotification?: ReportNotificationUncheckedCreateNestedManyWithoutUserInput + chatParticipations?: ChatParticipantUncheckedCreateNestedManyWithoutUserInput + sentMessages?: ChatMessageUncheckedCreateNestedManyWithoutSenderInput + messageReactions?: MessageReactionUncheckedCreateNestedManyWithoutUserInput + pinnedMessages?: PinnedMessageUncheckedCreateNestedManyWithoutUserInput + hostedSessions?: VideoConferenceSessionUncheckedCreateNestedManyWithoutHostInput + videoParticipations?: VideoParticipantUncheckedCreateNestedManyWithoutUserInput + videoRecordings?: VideoRecordingUncheckedCreateNestedManyWithoutRecorderInput } - export type UserCreateWithoutCreatedProjectsInput = { + export type UserCreateOrConnectWithoutCreatedTasksInput = { + where: UserWhereUniqueInput + create: XOR + } + + export type UserCreateWithoutAssignedTasksInput = { id?: string email: string username: string @@ -44154,9 +62167,9 @@ export namespace Prisma { createdTeams?: TeamCreateNestedManyWithoutCreatorInput teamMemberships?: TeamMemberCreateNestedManyWithoutUserInput projectMemberships?: ProjectMemberCreateNestedManyWithoutUserInput + createdProjects?: ProjectCreateNestedManyWithoutCreatorInput modifiedProjects?: ProjectCreateNestedManyWithoutModifierInput createdTasks?: TaskCreateNestedManyWithoutCreatorInput - assignedTasks?: TaskCreateNestedManyWithoutAssigneeInput modifiedTasks?: TaskCreateNestedManyWithoutModifierInput notifications?: NotificationCreateNestedManyWithoutUserInput timelogs?: TimelogCreateNestedManyWithoutUserInput @@ -44167,9 +62180,16 @@ export namespace Prisma { permissions?: PermissionCreateNestedManyWithoutUserInput activityLogs?: ActivityLogCreateNestedManyWithoutUserInput ReportNotification?: ReportNotificationCreateNestedManyWithoutUserInput + chatParticipations?: ChatParticipantCreateNestedManyWithoutUserInput + sentMessages?: ChatMessageCreateNestedManyWithoutSenderInput + messageReactions?: MessageReactionCreateNestedManyWithoutUserInput + pinnedMessages?: PinnedMessageCreateNestedManyWithoutUserInput + hostedSessions?: VideoConferenceSessionCreateNestedManyWithoutHostInput + videoParticipations?: VideoParticipantCreateNestedManyWithoutUserInput + videoRecordings?: VideoRecordingCreateNestedManyWithoutRecorderInput } - export type UserUncheckedCreateWithoutCreatedProjectsInput = { + export type UserUncheckedCreateWithoutAssignedTasksInput = { id?: string email: string username: string @@ -44204,9 +62224,9 @@ export namespace Prisma { createdTeams?: TeamUncheckedCreateNestedManyWithoutCreatorInput teamMemberships?: TeamMemberUncheckedCreateNestedManyWithoutUserInput projectMemberships?: ProjectMemberUncheckedCreateNestedManyWithoutUserInput + createdProjects?: ProjectUncheckedCreateNestedManyWithoutCreatorInput modifiedProjects?: ProjectUncheckedCreateNestedManyWithoutModifierInput createdTasks?: TaskUncheckedCreateNestedManyWithoutCreatorInput - assignedTasks?: TaskUncheckedCreateNestedManyWithoutAssigneeInput modifiedTasks?: TaskUncheckedCreateNestedManyWithoutModifierInput notifications?: NotificationUncheckedCreateNestedManyWithoutUserInput timelogs?: TimelogUncheckedCreateNestedManyWithoutUserInput @@ -44217,14 +62237,21 @@ export namespace Prisma { permissions?: PermissionUncheckedCreateNestedManyWithoutUserInput activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutUserInput ReportNotification?: ReportNotificationUncheckedCreateNestedManyWithoutUserInput + chatParticipations?: ChatParticipantUncheckedCreateNestedManyWithoutUserInput + sentMessages?: ChatMessageUncheckedCreateNestedManyWithoutSenderInput + messageReactions?: MessageReactionUncheckedCreateNestedManyWithoutUserInput + pinnedMessages?: PinnedMessageUncheckedCreateNestedManyWithoutUserInput + hostedSessions?: VideoConferenceSessionUncheckedCreateNestedManyWithoutHostInput + videoParticipations?: VideoParticipantUncheckedCreateNestedManyWithoutUserInput + videoRecordings?: VideoRecordingUncheckedCreateNestedManyWithoutRecorderInput } - export type UserCreateOrConnectWithoutCreatedProjectsInput = { + export type UserCreateOrConnectWithoutAssignedTasksInput = { where: UserWhereUniqueInput - create: XOR + create: XOR } - export type UserCreateWithoutModifiedProjectsInput = { + export type UserCreateWithoutModifiedTasksInput = { id?: string email: string username: string @@ -44260,9 +62287,9 @@ export namespace Prisma { teamMemberships?: TeamMemberCreateNestedManyWithoutUserInput projectMemberships?: ProjectMemberCreateNestedManyWithoutUserInput createdProjects?: ProjectCreateNestedManyWithoutCreatorInput + modifiedProjects?: ProjectCreateNestedManyWithoutModifierInput createdTasks?: TaskCreateNestedManyWithoutCreatorInput assignedTasks?: TaskCreateNestedManyWithoutAssigneeInput - modifiedTasks?: TaskCreateNestedManyWithoutModifierInput notifications?: NotificationCreateNestedManyWithoutUserInput timelogs?: TimelogCreateNestedManyWithoutUserInput comments?: CommentCreateNestedManyWithoutUserInput @@ -44272,9 +62299,16 @@ export namespace Prisma { permissions?: PermissionCreateNestedManyWithoutUserInput activityLogs?: ActivityLogCreateNestedManyWithoutUserInput ReportNotification?: ReportNotificationCreateNestedManyWithoutUserInput + chatParticipations?: ChatParticipantCreateNestedManyWithoutUserInput + sentMessages?: ChatMessageCreateNestedManyWithoutSenderInput + messageReactions?: MessageReactionCreateNestedManyWithoutUserInput + pinnedMessages?: PinnedMessageCreateNestedManyWithoutUserInput + hostedSessions?: VideoConferenceSessionCreateNestedManyWithoutHostInput + videoParticipations?: VideoParticipantCreateNestedManyWithoutUserInput + videoRecordings?: VideoRecordingCreateNestedManyWithoutRecorderInput } - export type UserUncheckedCreateWithoutModifiedProjectsInput = { + export type UserUncheckedCreateWithoutModifiedTasksInput = { id?: string email: string username: string @@ -44310,9 +62344,9 @@ export namespace Prisma { teamMemberships?: TeamMemberUncheckedCreateNestedManyWithoutUserInput projectMemberships?: ProjectMemberUncheckedCreateNestedManyWithoutUserInput createdProjects?: ProjectUncheckedCreateNestedManyWithoutCreatorInput + modifiedProjects?: ProjectUncheckedCreateNestedManyWithoutModifierInput createdTasks?: TaskUncheckedCreateNestedManyWithoutCreatorInput assignedTasks?: TaskUncheckedCreateNestedManyWithoutAssigneeInput - modifiedTasks?: TaskUncheckedCreateNestedManyWithoutModifierInput notifications?: NotificationUncheckedCreateNestedManyWithoutUserInput timelogs?: TimelogUncheckedCreateNestedManyWithoutUserInput comments?: CommentUncheckedCreateNestedManyWithoutUserInput @@ -44322,148 +62356,155 @@ export namespace Prisma { permissions?: PermissionUncheckedCreateNestedManyWithoutUserInput activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutUserInput ReportNotification?: ReportNotificationUncheckedCreateNestedManyWithoutUserInput + chatParticipations?: ChatParticipantUncheckedCreateNestedManyWithoutUserInput + sentMessages?: ChatMessageUncheckedCreateNestedManyWithoutSenderInput + messageReactions?: MessageReactionUncheckedCreateNestedManyWithoutUserInput + pinnedMessages?: PinnedMessageUncheckedCreateNestedManyWithoutUserInput + hostedSessions?: VideoConferenceSessionUncheckedCreateNestedManyWithoutHostInput + videoParticipations?: VideoParticipantUncheckedCreateNestedManyWithoutUserInput + videoRecordings?: VideoRecordingUncheckedCreateNestedManyWithoutRecorderInput } - export type UserCreateOrConnectWithoutModifiedProjectsInput = { + export type UserCreateOrConnectWithoutModifiedTasksInput = { where: UserWhereUniqueInput - create: XOR + create: XOR } - export type OrganizationCreateWithoutProjectsInput = { + export type TaskAttachmentCreateWithoutTaskInput = { id?: string - name: string - description?: string | null - industry: string - sizeRange: string - website?: string | null - logoUrl?: string | null - isVerified?: boolean - status: string + fileName: string + fileType: string + filePath: string + fileSize: number createdAt?: Date | string - updatedAt?: Date | string - deletedAt?: Date | string | null - address?: string | null - contactEmail?: string | null - contactPhone?: string | null - emailVerificationOTP?: string | null - emailVerificationExpires?: Date | string | null - creator: UserCreateNestedOneWithoutCreatedOrganizationsInput - departments?: DepartmentCreateNestedManyWithoutOrganizationInput - teams?: TeamCreateNestedManyWithoutOrganizationInput - users?: UserCreateNestedManyWithoutOrganizationInput - reports?: ReportCreateNestedManyWithoutOrganizationInput - owners?: OrganizationOwnerCreateNestedManyWithoutOrganizationInput - templates?: TaskTemplateCreateNestedManyWithoutOrganizationInput - activityLogs?: ActivityLogCreateNestedManyWithoutOrganizationInput + storageProvider?: string | null + storageKey: string + uploader: UserCreateNestedOneWithoutTaskAttachmentsInput } - export type OrganizationUncheckedCreateWithoutProjectsInput = { + export type TaskAttachmentUncheckedCreateWithoutTaskInput = { id?: string - name: string - description?: string | null - industry: string - sizeRange: string - website?: string | null - logoUrl?: string | null - isVerified?: boolean - status: string + fileName: string + fileType: string + filePath: string + fileSize: number + uploadedBy: string createdAt?: Date | string - updatedAt?: Date | string - deletedAt?: Date | string | null - createdBy: string - address?: string | null - contactEmail?: string | null - contactPhone?: string | null - emailVerificationOTP?: string | null - emailVerificationExpires?: Date | string | null - departments?: DepartmentUncheckedCreateNestedManyWithoutOrganizationInput - teams?: TeamUncheckedCreateNestedManyWithoutOrganizationInput - users?: UserUncheckedCreateNestedManyWithoutOrganizationInput - reports?: ReportUncheckedCreateNestedManyWithoutOrganizationInput - owners?: OrganizationOwnerUncheckedCreateNestedManyWithoutOrganizationInput - templates?: TaskTemplateUncheckedCreateNestedManyWithoutOrganizationInput - activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutOrganizationInput + storageProvider?: string | null + storageKey: string } - export type OrganizationCreateOrConnectWithoutProjectsInput = { - where: OrganizationWhereUniqueInput - create: XOR + export type TaskAttachmentCreateOrConnectWithoutTaskInput = { + where: TaskAttachmentWhereUniqueInput + create: XOR } - export type TeamCreateWithoutProjectsInput = { + export type TaskAttachmentCreateManyTaskInputEnvelope = { + data: TaskAttachmentCreateManyTaskInput | TaskAttachmentCreateManyTaskInput[] + skipDuplicates?: boolean + } + + export type CommentCreateWithoutTaskInput = { id?: string - name: string - description?: string | null + content: string createdAt?: Date | string updatedAt?: Date | string - deletedAt?: Date | string | null - avatar?: string | null - creator: UserCreateNestedOneWithoutCreatedTeamsInput - organization: OrganizationCreateNestedOneWithoutTeamsInput - department?: DepartmentCreateNestedOneWithoutTeamsInput - members?: TeamMemberCreateNestedManyWithoutTeamInput - reports?: ReportCreateNestedManyWithoutTeamInput - activityLogs?: ActivityLogCreateNestedManyWithoutTeamInput + user: UserCreateNestedOneWithoutCommentsInput } - export type TeamUncheckedCreateWithoutProjectsInput = { + export type CommentUncheckedCreateWithoutTaskInput = { id?: string - name: string - description?: string | null - createdBy: string - organizationId: string - departmentId?: string | null + userId: string + content: string createdAt?: Date | string updatedAt?: Date | string - deletedAt?: Date | string | null - avatar?: string | null - members?: TeamMemberUncheckedCreateNestedManyWithoutTeamInput - reports?: ReportUncheckedCreateNestedManyWithoutTeamInput - activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutTeamInput } - export type TeamCreateOrConnectWithoutProjectsInput = { - where: TeamWhereUniqueInput - create: XOR + export type CommentCreateOrConnectWithoutTaskInput = { + where: CommentWhereUniqueInput + create: XOR } - export type SprintCreateWithoutProjectInput = { + export type CommentCreateManyTaskInputEnvelope = { + data: CommentCreateManyTaskInput | CommentCreateManyTaskInput[] + skipDuplicates?: boolean + } + + export type TimelogCreateWithoutTaskInput = { id?: string - name: string + startTime: Date | string + endTime: Date | string description?: string | null - startDate: Date | string - endDate: Date | string - status: string - goal?: string | null - order?: number - tasks?: TaskCreateNestedManyWithoutSprintInput - activityLogs?: ActivityLogCreateNestedManyWithoutSprintInput + user: UserCreateNestedOneWithoutTimelogsInput } - export type SprintUncheckedCreateWithoutProjectInput = { + export type TimelogUncheckedCreateWithoutTaskInput = { id?: string - name: string + userId: string + startTime: Date | string + endTime: Date | string description?: string | null - startDate: Date | string - endDate: Date | string - status: string - goal?: string | null - order?: number - tasks?: TaskUncheckedCreateNestedManyWithoutSprintInput - activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutSprintInput } - export type SprintCreateOrConnectWithoutProjectInput = { - where: SprintWhereUniqueInput - create: XOR + export type TimelogCreateOrConnectWithoutTaskInput = { + where: TimelogWhereUniqueInput + create: XOR } - export type SprintCreateManyProjectInputEnvelope = { - data: SprintCreateManyProjectInput | SprintCreateManyProjectInput[] + export type TimelogCreateManyTaskInputEnvelope = { + data: TimelogCreateManyTaskInput | TimelogCreateManyTaskInput[] skipDuplicates?: boolean } - export type TaskCreateWithoutProjectInput = { + export type TaskDependencyCreateWithoutDependentTaskInput = { + id?: string + dependencyType: $Enums.DependencyType + description?: string | null + task: TaskCreateNestedOneWithoutDependentOnInput + } + + export type TaskDependencyUncheckedCreateWithoutDependentTaskInput = { + id?: string + taskId: string + dependencyType: $Enums.DependencyType + description?: string | null + } + + export type TaskDependencyCreateOrConnectWithoutDependentTaskInput = { + where: TaskDependencyWhereUniqueInput + create: XOR + } + + export type TaskDependencyCreateManyDependentTaskInputEnvelope = { + data: TaskDependencyCreateManyDependentTaskInput | TaskDependencyCreateManyDependentTaskInput[] + skipDuplicates?: boolean + } + + export type TaskDependencyCreateWithoutTaskInput = { + id?: string + dependencyType: $Enums.DependencyType + description?: string | null + dependentTask: TaskCreateNestedOneWithoutDependenciesInput + } + + export type TaskDependencyUncheckedCreateWithoutTaskInput = { + id?: string + dependentTaskId: string + dependencyType: $Enums.DependencyType + description?: string | null + } + + export type TaskDependencyCreateOrConnectWithoutTaskInput = { + where: TaskDependencyWhereUniqueInput + create: XOR + } + + export type TaskDependencyCreateManyTaskInputEnvelope = { + data: TaskDependencyCreateManyTaskInput | TaskDependencyCreateManyTaskInput[] + skipDuplicates?: boolean + } + + export type TaskCreateWithoutSubtasksInput = { id?: string title: string description?: string | null @@ -44478,6 +62519,7 @@ export namespace Prisma { actualTime?: number | null order?: number labels?: TaskCreatelabelsInput | string[] + project: ProjectCreateNestedOneWithoutTasksInput sprint?: SprintCreateNestedOneWithoutTasksInput creator: UserCreateNestedOneWithoutCreatedTasksInput assignee?: UserCreateNestedOneWithoutAssignedTasksInput @@ -44488,17 +62530,17 @@ export namespace Prisma { dependencies?: TaskDependencyCreateNestedManyWithoutDependentTaskInput dependentOn?: TaskDependencyCreateNestedManyWithoutTaskInput parent?: TaskCreateNestedOneWithoutSubtasksInput - subtasks?: TaskCreateNestedManyWithoutParentInput activityLogs?: ActivityLogCreateNestedManyWithoutTaskInput } - export type TaskUncheckedCreateWithoutProjectInput = { + export type TaskUncheckedCreateWithoutSubtasksInput = { id?: string title: string description?: string | null priority: $Enums.TaskPriority status: $Enums.TaskStatus rate?: number | null + projectId: string sprintId?: string | null createdBy: string assignedTo?: string | null @@ -44517,81 +62559,83 @@ export namespace Prisma { timelogs?: TimelogUncheckedCreateNestedManyWithoutTaskInput dependencies?: TaskDependencyUncheckedCreateNestedManyWithoutDependentTaskInput dependentOn?: TaskDependencyUncheckedCreateNestedManyWithoutTaskInput - subtasks?: TaskUncheckedCreateNestedManyWithoutParentInput activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutTaskInput } - export type TaskCreateOrConnectWithoutProjectInput = { + export type TaskCreateOrConnectWithoutSubtasksInput = { where: TaskWhereUniqueInput - create: XOR - } - - export type TaskCreateManyProjectInputEnvelope = { - data: TaskCreateManyProjectInput | TaskCreateManyProjectInput[] - skipDuplicates?: boolean + create: XOR } - export type ReportCreateWithoutProjectInput = { + export type TaskCreateWithoutParentInput = { id?: string - name: string + title: string description?: string | null - reportType: $Enums.ReportType - format: string - parameters?: NullableJsonNullValueInput | InputJsonValue - filePath: string + priority: $Enums.TaskPriority + status: $Enums.TaskStatus + rate?: number | null + dueDate: Date | string createdAt?: Date | string - status?: $Enums.ReportStatus updatedAt?: Date | string - lastAccessedAt?: Date | string | null - expiresAt?: Date | string | null - tags?: string | null - storageProvider?: string | null - storageKey: string - generator: UserCreateNestedOneWithoutGeneratedReportsInput - organization?: OrganizationCreateNestedOneWithoutReportsInput - team?: TeamCreateNestedOneWithoutReportsInput - department?: DepartmentCreateNestedOneWithoutReportInput - user?: UserCreateNestedOneWithoutUserReportsInput - reportSchedule?: ReportScheduleCreateNestedOneWithoutReportsInput - notifiedUsers?: ReportNotificationCreateNestedManyWithoutReportInput + deletedAt?: Date | string | null + estimatedTime?: number | null + actualTime?: number | null + order?: number + labels?: TaskCreatelabelsInput | string[] + project: ProjectCreateNestedOneWithoutTasksInput + sprint?: SprintCreateNestedOneWithoutTasksInput + creator: UserCreateNestedOneWithoutCreatedTasksInput + assignee?: UserCreateNestedOneWithoutAssignedTasksInput + modifier?: UserCreateNestedOneWithoutModifiedTasksInput + attachments?: TaskAttachmentCreateNestedManyWithoutTaskInput + comments?: CommentCreateNestedManyWithoutTaskInput + timelogs?: TimelogCreateNestedManyWithoutTaskInput + dependencies?: TaskDependencyCreateNestedManyWithoutDependentTaskInput + dependentOn?: TaskDependencyCreateNestedManyWithoutTaskInput + subtasks?: TaskCreateNestedManyWithoutParentInput + activityLogs?: ActivityLogCreateNestedManyWithoutTaskInput } - export type ReportUncheckedCreateWithoutProjectInput = { + export type TaskUncheckedCreateWithoutParentInput = { id?: string - name: string + title: string description?: string | null - reportType: $Enums.ReportType - format: string - parameters?: NullableJsonNullValueInput | InputJsonValue - filePath: string - generatedBy: string + priority: $Enums.TaskPriority + status: $Enums.TaskStatus + rate?: number | null + projectId: string + sprintId?: string | null + createdBy: string + assignedTo?: string | null + dueDate: Date | string createdAt?: Date | string - status?: $Enums.ReportStatus updatedAt?: Date | string - lastAccessedAt?: Date | string | null - expiresAt?: Date | string | null - tags?: string | null - organizationId?: string | null - teamId?: string | null - departmentId?: string | null - userId?: string | null - scheduleId?: string | null - storageProvider?: string | null - storageKey: string - notifiedUsers?: ReportNotificationUncheckedCreateNestedManyWithoutReportInput + deletedAt?: Date | string | null + estimatedTime?: number | null + actualTime?: number | null + order?: number + labels?: TaskCreatelabelsInput | string[] + lastModifiedBy?: string | null + attachments?: TaskAttachmentUncheckedCreateNestedManyWithoutTaskInput + comments?: CommentUncheckedCreateNestedManyWithoutTaskInput + timelogs?: TimelogUncheckedCreateNestedManyWithoutTaskInput + dependencies?: TaskDependencyUncheckedCreateNestedManyWithoutDependentTaskInput + dependentOn?: TaskDependencyUncheckedCreateNestedManyWithoutTaskInput + subtasks?: TaskUncheckedCreateNestedManyWithoutParentInput + activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutTaskInput } - export type ReportCreateOrConnectWithoutProjectInput = { - where: ReportWhereUniqueInput - create: XOR + export type TaskCreateOrConnectWithoutParentInput = { + where: TaskWhereUniqueInput + create: XOR } - export type ReportCreateManyProjectInputEnvelope = { - data: ReportCreateManyProjectInput | ReportCreateManyProjectInput[] + export type TaskCreateManyParentInputEnvelope = { + data: TaskCreateManyParentInput | TaskCreateManyParentInput[] skipDuplicates?: boolean } - export type ActivityLogCreateWithoutProjectInput = { + export type ActivityLogCreateWithoutTaskInput = { id?: string entityType: $Enums.EntityType action: $Enums.ActionType @@ -44600,77 +62644,266 @@ export namespace Prisma { user: UserCreateNestedOneWithoutActivityLogsInput organization?: OrganizationCreateNestedOneWithoutActivityLogsInput department?: DepartmentCreateNestedOneWithoutActivityLogsInput + project?: ProjectCreateNestedOneWithoutActivityLogsInput team?: TeamCreateNestedOneWithoutActivityLogsInput sprint?: SprintCreateNestedOneWithoutActivityLogsInput - task?: TaskCreateNestedOneWithoutActivityLogsInput } - export type ActivityLogUncheckedCreateWithoutProjectInput = { + export type ActivityLogUncheckedCreateWithoutTaskInput = { id?: string entityType: $Enums.EntityType action: $Enums.ActionType userId: string organizationId?: string | null departmentId?: string | null + projectId?: string | null teamId?: string | null sprintId?: string | null - taskId: string details?: NullableJsonNullValueInput | InputJsonValue createdAt?: Date | string } - export type ActivityLogCreateOrConnectWithoutProjectInput = { + export type ActivityLogCreateOrConnectWithoutTaskInput = { where: ActivityLogWhereUniqueInput - create: XOR + create: XOR } - export type ActivityLogCreateManyProjectInputEnvelope = { - data: ActivityLogCreateManyProjectInput | ActivityLogCreateManyProjectInput[] + export type ActivityLogCreateManyTaskInputEnvelope = { + data: ActivityLogCreateManyTaskInput | ActivityLogCreateManyTaskInput[] skipDuplicates?: boolean } - export type ProjectMemberCreateWithoutProjectInput = { - id?: string - role: string - isActive?: boolean - joinedAt?: Date | string - leftAt?: Date | string | null - deletedAt?: Date | string | null - user: UserCreateNestedOneWithoutProjectMembershipsInput + export type ProjectUpsertWithoutTasksInput = { + update: XOR + create: XOR + where?: ProjectWhereInput } - export type ProjectMemberUncheckedCreateWithoutProjectInput = { - id?: string - userId: string - role: string - isActive?: boolean - joinedAt?: Date | string - leftAt?: Date | string | null - deletedAt?: Date | string | null + export type ProjectUpdateToOneWithWhereWithoutTasksInput = { + where?: ProjectWhereInput + data: XOR } - export type ProjectMemberCreateOrConnectWithoutProjectInput = { - where: ProjectMemberWhereUniqueInput - create: XOR + export type ProjectUpdateWithoutTasksInput = { + id?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + status?: StringFieldUpdateOperationsInput | string + startDate?: DateTimeFieldUpdateOperationsInput | Date | string + endDate?: DateTimeFieldUpdateOperationsInput | Date | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + priority?: EnumTaskPriorityFieldUpdateOperationsInput | $Enums.TaskPriority + progress?: NullableFloatFieldUpdateOperationsInput | number | null + budget?: NullableFloatFieldUpdateOperationsInput | number | null + creator?: UserUpdateOneRequiredWithoutCreatedProjectsNestedInput + modifier?: UserUpdateOneWithoutModifiedProjectsNestedInput + organization?: OrganizationUpdateOneRequiredWithoutProjectsNestedInput + team?: TeamUpdateOneRequiredWithoutProjectsNestedInput + sprints?: SprintUpdateManyWithoutProjectNestedInput + reports?: ReportUpdateManyWithoutProjectNestedInput + activityLogs?: ActivityLogUpdateManyWithoutProjectNestedInput + ProjectMember?: ProjectMemberUpdateManyWithoutProjectNestedInput + } + + export type ProjectUncheckedUpdateWithoutTasksInput = { + id?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + status?: StringFieldUpdateOperationsInput | string + createdBy?: StringFieldUpdateOperationsInput | string + organizationId?: StringFieldUpdateOperationsInput | string + teamId?: StringFieldUpdateOperationsInput | string + startDate?: DateTimeFieldUpdateOperationsInput | Date | string + endDate?: DateTimeFieldUpdateOperationsInput | Date | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + priority?: EnumTaskPriorityFieldUpdateOperationsInput | $Enums.TaskPriority + progress?: NullableFloatFieldUpdateOperationsInput | number | null + budget?: NullableFloatFieldUpdateOperationsInput | number | null + lastModifiedBy?: NullableStringFieldUpdateOperationsInput | string | null + sprints?: SprintUncheckedUpdateManyWithoutProjectNestedInput + reports?: ReportUncheckedUpdateManyWithoutProjectNestedInput + activityLogs?: ActivityLogUncheckedUpdateManyWithoutProjectNestedInput + ProjectMember?: ProjectMemberUncheckedUpdateManyWithoutProjectNestedInput + } + + export type SprintUpsertWithoutTasksInput = { + update: XOR + create: XOR + where?: SprintWhereInput + } + + export type SprintUpdateToOneWithWhereWithoutTasksInput = { + where?: SprintWhereInput + data: XOR + } + + export type SprintUpdateWithoutTasksInput = { + id?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + startDate?: DateTimeFieldUpdateOperationsInput | Date | string + endDate?: DateTimeFieldUpdateOperationsInput | Date | string + status?: StringFieldUpdateOperationsInput | string + goal?: NullableStringFieldUpdateOperationsInput | string | null + order?: IntFieldUpdateOperationsInput | number + project?: ProjectUpdateOneRequiredWithoutSprintsNestedInput + activityLogs?: ActivityLogUpdateManyWithoutSprintNestedInput + } + + export type SprintUncheckedUpdateWithoutTasksInput = { + id?: StringFieldUpdateOperationsInput | string + projectId?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + startDate?: DateTimeFieldUpdateOperationsInput | Date | string + endDate?: DateTimeFieldUpdateOperationsInput | Date | string + status?: StringFieldUpdateOperationsInput | string + goal?: NullableStringFieldUpdateOperationsInput | string | null + order?: IntFieldUpdateOperationsInput | number + activityLogs?: ActivityLogUncheckedUpdateManyWithoutSprintNestedInput + } + + export type UserUpsertWithoutCreatedTasksInput = { + update: XOR + create: XOR + where?: UserWhereInput + } + + export type UserUpdateToOneWithWhereWithoutCreatedTasksInput = { + where?: UserWhereInput + data: XOR + } + + export type UserUpdateWithoutCreatedTasksInput = { + id?: StringFieldUpdateOperationsInput | string + email?: StringFieldUpdateOperationsInput | string + username?: StringFieldUpdateOperationsInput | string + password?: StringFieldUpdateOperationsInput | string + firebaseUid?: NullableStringFieldUpdateOperationsInput | string | null + firstName?: StringFieldUpdateOperationsInput | string + lastName?: StringFieldUpdateOperationsInput | string + role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole + profilePic?: NullableStringFieldUpdateOperationsInput | string | null + isOwner?: BoolFieldUpdateOperationsInput | boolean + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + isActive?: BoolFieldUpdateOperationsInput | boolean + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + phoneNumber?: NullableStringFieldUpdateOperationsInput | string | null + jobTitle?: NullableStringFieldUpdateOperationsInput | string | null + timezone?: NullableStringFieldUpdateOperationsInput | string | null + bio?: NullableStringFieldUpdateOperationsInput | string | null + preferences?: NullableJsonNullValueInput | InputJsonValue + emailVerificationToken?: NullableStringFieldUpdateOperationsInput | string | null + emailVerificationExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + passwordResetToken?: NullableStringFieldUpdateOperationsInput | string | null + passwordResetExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + refreshToken?: NullableStringFieldUpdateOperationsInput | string | null + lastLogin?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + lastLogout?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + department?: DepartmentUpdateOneWithoutUsersNestedInput + organization?: OrganizationUpdateOneWithoutUsersNestedInput + createdOrganizations?: OrganizationUpdateManyWithoutCreatorNestedInput + ownedOrganizations?: OrganizationOwnerUpdateManyWithoutUserNestedInput + managedDepartments?: DepartmentUpdateManyWithoutManagerNestedInput + createdTeams?: TeamUpdateManyWithoutCreatorNestedInput + teamMemberships?: TeamMemberUpdateManyWithoutUserNestedInput + projectMemberships?: ProjectMemberUpdateManyWithoutUserNestedInput + createdProjects?: ProjectUpdateManyWithoutCreatorNestedInput + modifiedProjects?: ProjectUpdateManyWithoutModifierNestedInput + assignedTasks?: TaskUpdateManyWithoutAssigneeNestedInput + modifiedTasks?: TaskUpdateManyWithoutModifierNestedInput + notifications?: NotificationUpdateManyWithoutUserNestedInput + timelogs?: TimelogUpdateManyWithoutUserNestedInput + comments?: CommentUpdateManyWithoutUserNestedInput + taskAttachments?: TaskAttachmentUpdateManyWithoutUploaderNestedInput + generatedReports?: ReportUpdateManyWithoutGeneratorNestedInput + userReports?: ReportUpdateManyWithoutUserNestedInput + permissions?: PermissionUpdateManyWithoutUserNestedInput + activityLogs?: ActivityLogUpdateManyWithoutUserNestedInput + ReportNotification?: ReportNotificationUpdateManyWithoutUserNestedInput + chatParticipations?: ChatParticipantUpdateManyWithoutUserNestedInput + sentMessages?: ChatMessageUpdateManyWithoutSenderNestedInput + messageReactions?: MessageReactionUpdateManyWithoutUserNestedInput + pinnedMessages?: PinnedMessageUpdateManyWithoutUserNestedInput + hostedSessions?: VideoConferenceSessionUpdateManyWithoutHostNestedInput + videoParticipations?: VideoParticipantUpdateManyWithoutUserNestedInput + videoRecordings?: VideoRecordingUpdateManyWithoutRecorderNestedInput } - export type ProjectMemberCreateManyProjectInputEnvelope = { - data: ProjectMemberCreateManyProjectInput | ProjectMemberCreateManyProjectInput[] - skipDuplicates?: boolean + export type UserUncheckedUpdateWithoutCreatedTasksInput = { + id?: StringFieldUpdateOperationsInput | string + email?: StringFieldUpdateOperationsInput | string + username?: StringFieldUpdateOperationsInput | string + password?: StringFieldUpdateOperationsInput | string + firebaseUid?: NullableStringFieldUpdateOperationsInput | string | null + firstName?: StringFieldUpdateOperationsInput | string + lastName?: StringFieldUpdateOperationsInput | string + role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole + profilePic?: NullableStringFieldUpdateOperationsInput | string | null + departmentId?: NullableStringFieldUpdateOperationsInput | string | null + organizationId?: NullableStringFieldUpdateOperationsInput | string | null + isOwner?: BoolFieldUpdateOperationsInput | boolean + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + isActive?: BoolFieldUpdateOperationsInput | boolean + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + phoneNumber?: NullableStringFieldUpdateOperationsInput | string | null + jobTitle?: NullableStringFieldUpdateOperationsInput | string | null + timezone?: NullableStringFieldUpdateOperationsInput | string | null + bio?: NullableStringFieldUpdateOperationsInput | string | null + preferences?: NullableJsonNullValueInput | InputJsonValue + emailVerificationToken?: NullableStringFieldUpdateOperationsInput | string | null + emailVerificationExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + passwordResetToken?: NullableStringFieldUpdateOperationsInput | string | null + passwordResetExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + refreshToken?: NullableStringFieldUpdateOperationsInput | string | null + lastLogin?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + lastLogout?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + createdOrganizations?: OrganizationUncheckedUpdateManyWithoutCreatorNestedInput + ownedOrganizations?: OrganizationOwnerUncheckedUpdateManyWithoutUserNestedInput + managedDepartments?: DepartmentUncheckedUpdateManyWithoutManagerNestedInput + createdTeams?: TeamUncheckedUpdateManyWithoutCreatorNestedInput + teamMemberships?: TeamMemberUncheckedUpdateManyWithoutUserNestedInput + projectMemberships?: ProjectMemberUncheckedUpdateManyWithoutUserNestedInput + createdProjects?: ProjectUncheckedUpdateManyWithoutCreatorNestedInput + modifiedProjects?: ProjectUncheckedUpdateManyWithoutModifierNestedInput + assignedTasks?: TaskUncheckedUpdateManyWithoutAssigneeNestedInput + modifiedTasks?: TaskUncheckedUpdateManyWithoutModifierNestedInput + notifications?: NotificationUncheckedUpdateManyWithoutUserNestedInput + timelogs?: TimelogUncheckedUpdateManyWithoutUserNestedInput + comments?: CommentUncheckedUpdateManyWithoutUserNestedInput + taskAttachments?: TaskAttachmentUncheckedUpdateManyWithoutUploaderNestedInput + generatedReports?: ReportUncheckedUpdateManyWithoutGeneratorNestedInput + userReports?: ReportUncheckedUpdateManyWithoutUserNestedInput + permissions?: PermissionUncheckedUpdateManyWithoutUserNestedInput + activityLogs?: ActivityLogUncheckedUpdateManyWithoutUserNestedInput + ReportNotification?: ReportNotificationUncheckedUpdateManyWithoutUserNestedInput + chatParticipations?: ChatParticipantUncheckedUpdateManyWithoutUserNestedInput + sentMessages?: ChatMessageUncheckedUpdateManyWithoutSenderNestedInput + messageReactions?: MessageReactionUncheckedUpdateManyWithoutUserNestedInput + pinnedMessages?: PinnedMessageUncheckedUpdateManyWithoutUserNestedInput + hostedSessions?: VideoConferenceSessionUncheckedUpdateManyWithoutHostNestedInput + videoParticipations?: VideoParticipantUncheckedUpdateManyWithoutUserNestedInput + videoRecordings?: VideoRecordingUncheckedUpdateManyWithoutRecorderNestedInput } - export type UserUpsertWithoutCreatedProjectsInput = { - update: XOR - create: XOR + export type UserUpsertWithoutAssignedTasksInput = { + update: XOR + create: XOR where?: UserWhereInput } - export type UserUpdateToOneWithWhereWithoutCreatedProjectsInput = { + export type UserUpdateToOneWithWhereWithoutAssignedTasksInput = { where?: UserWhereInput - data: XOR + data: XOR } - export type UserUpdateWithoutCreatedProjectsInput = { + export type UserUpdateWithoutAssignedTasksInput = { id?: StringFieldUpdateOperationsInput | string email?: StringFieldUpdateOperationsInput | string username?: StringFieldUpdateOperationsInput | string @@ -44705,9 +62938,9 @@ export namespace Prisma { createdTeams?: TeamUpdateManyWithoutCreatorNestedInput teamMemberships?: TeamMemberUpdateManyWithoutUserNestedInput projectMemberships?: ProjectMemberUpdateManyWithoutUserNestedInput + createdProjects?: ProjectUpdateManyWithoutCreatorNestedInput modifiedProjects?: ProjectUpdateManyWithoutModifierNestedInput createdTasks?: TaskUpdateManyWithoutCreatorNestedInput - assignedTasks?: TaskUpdateManyWithoutAssigneeNestedInput modifiedTasks?: TaskUpdateManyWithoutModifierNestedInput notifications?: NotificationUpdateManyWithoutUserNestedInput timelogs?: TimelogUpdateManyWithoutUserNestedInput @@ -44718,9 +62951,16 @@ export namespace Prisma { permissions?: PermissionUpdateManyWithoutUserNestedInput activityLogs?: ActivityLogUpdateManyWithoutUserNestedInput ReportNotification?: ReportNotificationUpdateManyWithoutUserNestedInput + chatParticipations?: ChatParticipantUpdateManyWithoutUserNestedInput + sentMessages?: ChatMessageUpdateManyWithoutSenderNestedInput + messageReactions?: MessageReactionUpdateManyWithoutUserNestedInput + pinnedMessages?: PinnedMessageUpdateManyWithoutUserNestedInput + hostedSessions?: VideoConferenceSessionUpdateManyWithoutHostNestedInput + videoParticipations?: VideoParticipantUpdateManyWithoutUserNestedInput + videoRecordings?: VideoRecordingUpdateManyWithoutRecorderNestedInput } - export type UserUncheckedUpdateWithoutCreatedProjectsInput = { + export type UserUncheckedUpdateWithoutAssignedTasksInput = { id?: StringFieldUpdateOperationsInput | string email?: StringFieldUpdateOperationsInput | string username?: StringFieldUpdateOperationsInput | string @@ -44755,9 +62995,9 @@ export namespace Prisma { createdTeams?: TeamUncheckedUpdateManyWithoutCreatorNestedInput teamMemberships?: TeamMemberUncheckedUpdateManyWithoutUserNestedInput projectMemberships?: ProjectMemberUncheckedUpdateManyWithoutUserNestedInput + createdProjects?: ProjectUncheckedUpdateManyWithoutCreatorNestedInput modifiedProjects?: ProjectUncheckedUpdateManyWithoutModifierNestedInput createdTasks?: TaskUncheckedUpdateManyWithoutCreatorNestedInput - assignedTasks?: TaskUncheckedUpdateManyWithoutAssigneeNestedInput modifiedTasks?: TaskUncheckedUpdateManyWithoutModifierNestedInput notifications?: NotificationUncheckedUpdateManyWithoutUserNestedInput timelogs?: TimelogUncheckedUpdateManyWithoutUserNestedInput @@ -44768,20 +63008,27 @@ export namespace Prisma { permissions?: PermissionUncheckedUpdateManyWithoutUserNestedInput activityLogs?: ActivityLogUncheckedUpdateManyWithoutUserNestedInput ReportNotification?: ReportNotificationUncheckedUpdateManyWithoutUserNestedInput + chatParticipations?: ChatParticipantUncheckedUpdateManyWithoutUserNestedInput + sentMessages?: ChatMessageUncheckedUpdateManyWithoutSenderNestedInput + messageReactions?: MessageReactionUncheckedUpdateManyWithoutUserNestedInput + pinnedMessages?: PinnedMessageUncheckedUpdateManyWithoutUserNestedInput + hostedSessions?: VideoConferenceSessionUncheckedUpdateManyWithoutHostNestedInput + videoParticipations?: VideoParticipantUncheckedUpdateManyWithoutUserNestedInput + videoRecordings?: VideoRecordingUncheckedUpdateManyWithoutRecorderNestedInput } - export type UserUpsertWithoutModifiedProjectsInput = { - update: XOR - create: XOR + export type UserUpsertWithoutModifiedTasksInput = { + update: XOR + create: XOR where?: UserWhereInput } - export type UserUpdateToOneWithWhereWithoutModifiedProjectsInput = { + export type UserUpdateToOneWithWhereWithoutModifiedTasksInput = { where?: UserWhereInput - data: XOR + data: XOR } - export type UserUpdateWithoutModifiedProjectsInput = { + export type UserUpdateWithoutModifiedTasksInput = { id?: StringFieldUpdateOperationsInput | string email?: StringFieldUpdateOperationsInput | string username?: StringFieldUpdateOperationsInput | string @@ -44817,9 +63064,9 @@ export namespace Prisma { teamMemberships?: TeamMemberUpdateManyWithoutUserNestedInput projectMemberships?: ProjectMemberUpdateManyWithoutUserNestedInput createdProjects?: ProjectUpdateManyWithoutCreatorNestedInput + modifiedProjects?: ProjectUpdateManyWithoutModifierNestedInput createdTasks?: TaskUpdateManyWithoutCreatorNestedInput assignedTasks?: TaskUpdateManyWithoutAssigneeNestedInput - modifiedTasks?: TaskUpdateManyWithoutModifierNestedInput notifications?: NotificationUpdateManyWithoutUserNestedInput timelogs?: TimelogUpdateManyWithoutUserNestedInput comments?: CommentUpdateManyWithoutUserNestedInput @@ -44829,9 +63076,16 @@ export namespace Prisma { permissions?: PermissionUpdateManyWithoutUserNestedInput activityLogs?: ActivityLogUpdateManyWithoutUserNestedInput ReportNotification?: ReportNotificationUpdateManyWithoutUserNestedInput + chatParticipations?: ChatParticipantUpdateManyWithoutUserNestedInput + sentMessages?: ChatMessageUpdateManyWithoutSenderNestedInput + messageReactions?: MessageReactionUpdateManyWithoutUserNestedInput + pinnedMessages?: PinnedMessageUpdateManyWithoutUserNestedInput + hostedSessions?: VideoConferenceSessionUpdateManyWithoutHostNestedInput + videoParticipations?: VideoParticipantUpdateManyWithoutUserNestedInput + videoRecordings?: VideoRecordingUpdateManyWithoutRecorderNestedInput } - export type UserUncheckedUpdateWithoutModifiedProjectsInput = { + export type UserUncheckedUpdateWithoutModifiedTasksInput = { id?: StringFieldUpdateOperationsInput | string email?: StringFieldUpdateOperationsInput | string username?: StringFieldUpdateOperationsInput | string @@ -44867,9 +63121,9 @@ export namespace Prisma { teamMemberships?: TeamMemberUncheckedUpdateManyWithoutUserNestedInput projectMemberships?: ProjectMemberUncheckedUpdateManyWithoutUserNestedInput createdProjects?: ProjectUncheckedUpdateManyWithoutCreatorNestedInput + modifiedProjects?: ProjectUncheckedUpdateManyWithoutModifierNestedInput createdTasks?: TaskUncheckedUpdateManyWithoutCreatorNestedInput assignedTasks?: TaskUncheckedUpdateManyWithoutAssigneeNestedInput - modifiedTasks?: TaskUncheckedUpdateManyWithoutModifierNestedInput notifications?: NotificationUncheckedUpdateManyWithoutUserNestedInput timelogs?: TimelogUncheckedUpdateManyWithoutUserNestedInput comments?: CommentUncheckedUpdateManyWithoutUserNestedInput @@ -44879,265 +63133,271 @@ export namespace Prisma { permissions?: PermissionUncheckedUpdateManyWithoutUserNestedInput activityLogs?: ActivityLogUncheckedUpdateManyWithoutUserNestedInput ReportNotification?: ReportNotificationUncheckedUpdateManyWithoutUserNestedInput + chatParticipations?: ChatParticipantUncheckedUpdateManyWithoutUserNestedInput + sentMessages?: ChatMessageUncheckedUpdateManyWithoutSenderNestedInput + messageReactions?: MessageReactionUncheckedUpdateManyWithoutUserNestedInput + pinnedMessages?: PinnedMessageUncheckedUpdateManyWithoutUserNestedInput + hostedSessions?: VideoConferenceSessionUncheckedUpdateManyWithoutHostNestedInput + videoParticipations?: VideoParticipantUncheckedUpdateManyWithoutUserNestedInput + videoRecordings?: VideoRecordingUncheckedUpdateManyWithoutRecorderNestedInput } - export type OrganizationUpsertWithoutProjectsInput = { - update: XOR - create: XOR - where?: OrganizationWhereInput + export type TaskAttachmentUpsertWithWhereUniqueWithoutTaskInput = { + where: TaskAttachmentWhereUniqueInput + update: XOR + create: XOR } - export type OrganizationUpdateToOneWithWhereWithoutProjectsInput = { - where?: OrganizationWhereInput - data: XOR + export type TaskAttachmentUpdateWithWhereUniqueWithoutTaskInput = { + where: TaskAttachmentWhereUniqueInput + data: XOR } - export type OrganizationUpdateWithoutProjectsInput = { - id?: StringFieldUpdateOperationsInput | string - name?: StringFieldUpdateOperationsInput | string - description?: NullableStringFieldUpdateOperationsInput | string | null - industry?: StringFieldUpdateOperationsInput | string - sizeRange?: StringFieldUpdateOperationsInput | string - website?: NullableStringFieldUpdateOperationsInput | string | null - logoUrl?: NullableStringFieldUpdateOperationsInput | string | null - isVerified?: BoolFieldUpdateOperationsInput | boolean - status?: StringFieldUpdateOperationsInput | string - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string - deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - address?: NullableStringFieldUpdateOperationsInput | string | null - contactEmail?: NullableStringFieldUpdateOperationsInput | string | null - contactPhone?: NullableStringFieldUpdateOperationsInput | string | null - emailVerificationOTP?: NullableStringFieldUpdateOperationsInput | string | null - emailVerificationExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - creator?: UserUpdateOneRequiredWithoutCreatedOrganizationsNestedInput - departments?: DepartmentUpdateManyWithoutOrganizationNestedInput - teams?: TeamUpdateManyWithoutOrganizationNestedInput - users?: UserUpdateManyWithoutOrganizationNestedInput - reports?: ReportUpdateManyWithoutOrganizationNestedInput - owners?: OrganizationOwnerUpdateManyWithoutOrganizationNestedInput - templates?: TaskTemplateUpdateManyWithoutOrganizationNestedInput - activityLogs?: ActivityLogUpdateManyWithoutOrganizationNestedInput + export type TaskAttachmentUpdateManyWithWhereWithoutTaskInput = { + where: TaskAttachmentScalarWhereInput + data: XOR } - export type OrganizationUncheckedUpdateWithoutProjectsInput = { - id?: StringFieldUpdateOperationsInput | string - name?: StringFieldUpdateOperationsInput | string - description?: NullableStringFieldUpdateOperationsInput | string | null - industry?: StringFieldUpdateOperationsInput | string - sizeRange?: StringFieldUpdateOperationsInput | string - website?: NullableStringFieldUpdateOperationsInput | string | null - logoUrl?: NullableStringFieldUpdateOperationsInput | string | null - isVerified?: BoolFieldUpdateOperationsInput | boolean - status?: StringFieldUpdateOperationsInput | string - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string - deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - createdBy?: StringFieldUpdateOperationsInput | string - address?: NullableStringFieldUpdateOperationsInput | string | null - contactEmail?: NullableStringFieldUpdateOperationsInput | string | null - contactPhone?: NullableStringFieldUpdateOperationsInput | string | null - emailVerificationOTP?: NullableStringFieldUpdateOperationsInput | string | null - emailVerificationExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - departments?: DepartmentUncheckedUpdateManyWithoutOrganizationNestedInput - teams?: TeamUncheckedUpdateManyWithoutOrganizationNestedInput - users?: UserUncheckedUpdateManyWithoutOrganizationNestedInput - reports?: ReportUncheckedUpdateManyWithoutOrganizationNestedInput - owners?: OrganizationOwnerUncheckedUpdateManyWithoutOrganizationNestedInput - templates?: TaskTemplateUncheckedUpdateManyWithoutOrganizationNestedInput - activityLogs?: ActivityLogUncheckedUpdateManyWithoutOrganizationNestedInput + export type CommentUpsertWithWhereUniqueWithoutTaskInput = { + where: CommentWhereUniqueInput + update: XOR + create: XOR } - export type TeamUpsertWithoutProjectsInput = { - update: XOR - create: XOR - where?: TeamWhereInput + export type CommentUpdateWithWhereUniqueWithoutTaskInput = { + where: CommentWhereUniqueInput + data: XOR } - export type TeamUpdateToOneWithWhereWithoutProjectsInput = { - where?: TeamWhereInput - data: XOR + export type CommentUpdateManyWithWhereWithoutTaskInput = { + where: CommentScalarWhereInput + data: XOR } - export type TeamUpdateWithoutProjectsInput = { - id?: StringFieldUpdateOperationsInput | string - name?: StringFieldUpdateOperationsInput | string - description?: NullableStringFieldUpdateOperationsInput | string | null - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string - deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - avatar?: NullableStringFieldUpdateOperationsInput | string | null - creator?: UserUpdateOneRequiredWithoutCreatedTeamsNestedInput - organization?: OrganizationUpdateOneRequiredWithoutTeamsNestedInput - department?: DepartmentUpdateOneWithoutTeamsNestedInput - members?: TeamMemberUpdateManyWithoutTeamNestedInput - reports?: ReportUpdateManyWithoutTeamNestedInput - activityLogs?: ActivityLogUpdateManyWithoutTeamNestedInput + export type TimelogUpsertWithWhereUniqueWithoutTaskInput = { + where: TimelogWhereUniqueInput + update: XOR + create: XOR } - export type TeamUncheckedUpdateWithoutProjectsInput = { - id?: StringFieldUpdateOperationsInput | string - name?: StringFieldUpdateOperationsInput | string - description?: NullableStringFieldUpdateOperationsInput | string | null - createdBy?: StringFieldUpdateOperationsInput | string - organizationId?: StringFieldUpdateOperationsInput | string - departmentId?: NullableStringFieldUpdateOperationsInput | string | null - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string - deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - avatar?: NullableStringFieldUpdateOperationsInput | string | null - members?: TeamMemberUncheckedUpdateManyWithoutTeamNestedInput - reports?: ReportUncheckedUpdateManyWithoutTeamNestedInput - activityLogs?: ActivityLogUncheckedUpdateManyWithoutTeamNestedInput + export type TimelogUpdateWithWhereUniqueWithoutTaskInput = { + where: TimelogWhereUniqueInput + data: XOR } - export type SprintUpsertWithWhereUniqueWithoutProjectInput = { - where: SprintWhereUniqueInput - update: XOR - create: XOR + export type TimelogUpdateManyWithWhereWithoutTaskInput = { + where: TimelogScalarWhereInput + data: XOR } - export type SprintUpdateWithWhereUniqueWithoutProjectInput = { - where: SprintWhereUniqueInput - data: XOR + export type TaskDependencyUpsertWithWhereUniqueWithoutDependentTaskInput = { + where: TaskDependencyWhereUniqueInput + update: XOR + create: XOR } - export type SprintUpdateManyWithWhereWithoutProjectInput = { - where: SprintScalarWhereInput - data: XOR + export type TaskDependencyUpdateWithWhereUniqueWithoutDependentTaskInput = { + where: TaskDependencyWhereUniqueInput + data: XOR } - export type SprintScalarWhereInput = { - AND?: SprintScalarWhereInput | SprintScalarWhereInput[] - OR?: SprintScalarWhereInput[] - NOT?: SprintScalarWhereInput | SprintScalarWhereInput[] - id?: UuidFilter<"Sprint"> | string - projectId?: UuidFilter<"Sprint"> | string - name?: StringFilter<"Sprint"> | string - description?: StringNullableFilter<"Sprint"> | string | null - startDate?: DateTimeFilter<"Sprint"> | Date | string - endDate?: DateTimeFilter<"Sprint"> | Date | string - status?: StringFilter<"Sprint"> | string - goal?: StringNullableFilter<"Sprint"> | string | null - order?: IntFilter<"Sprint"> | number + export type TaskDependencyUpdateManyWithWhereWithoutDependentTaskInput = { + where: TaskDependencyScalarWhereInput + data: XOR } - export type TaskUpsertWithWhereUniqueWithoutProjectInput = { - where: TaskWhereUniqueInput - update: XOR - create: XOR + export type TaskDependencyScalarWhereInput = { + AND?: TaskDependencyScalarWhereInput | TaskDependencyScalarWhereInput[] + OR?: TaskDependencyScalarWhereInput[] + NOT?: TaskDependencyScalarWhereInput | TaskDependencyScalarWhereInput[] + id?: UuidFilter<"TaskDependency"> | string + taskId?: UuidFilter<"TaskDependency"> | string + dependentTaskId?: UuidFilter<"TaskDependency"> | string + dependencyType?: EnumDependencyTypeFilter<"TaskDependency"> | $Enums.DependencyType + description?: StringNullableFilter<"TaskDependency"> | string | null } - export type TaskUpdateWithWhereUniqueWithoutProjectInput = { - where: TaskWhereUniqueInput - data: XOR + export type TaskDependencyUpsertWithWhereUniqueWithoutTaskInput = { + where: TaskDependencyWhereUniqueInput + update: XOR + create: XOR } - export type TaskUpdateManyWithWhereWithoutProjectInput = { - where: TaskScalarWhereInput - data: XOR + export type TaskDependencyUpdateWithWhereUniqueWithoutTaskInput = { + where: TaskDependencyWhereUniqueInput + data: XOR } - export type ReportUpsertWithWhereUniqueWithoutProjectInput = { - where: ReportWhereUniqueInput - update: XOR - create: XOR + export type TaskDependencyUpdateManyWithWhereWithoutTaskInput = { + where: TaskDependencyScalarWhereInput + data: XOR } - export type ReportUpdateWithWhereUniqueWithoutProjectInput = { - where: ReportWhereUniqueInput - data: XOR + export type TaskUpsertWithoutSubtasksInput = { + update: XOR + create: XOR + where?: TaskWhereInput } - export type ReportUpdateManyWithWhereWithoutProjectInput = { - where: ReportScalarWhereInput - data: XOR + export type TaskUpdateToOneWithWhereWithoutSubtasksInput = { + where?: TaskWhereInput + data: XOR } - export type ActivityLogUpsertWithWhereUniqueWithoutProjectInput = { - where: ActivityLogWhereUniqueInput - update: XOR - create: XOR + export type TaskUpdateWithoutSubtasksInput = { + id?: StringFieldUpdateOperationsInput | string + title?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + priority?: EnumTaskPriorityFieldUpdateOperationsInput | $Enums.TaskPriority + status?: EnumTaskStatusFieldUpdateOperationsInput | $Enums.TaskStatus + rate?: NullableFloatFieldUpdateOperationsInput | number | null + dueDate?: DateTimeFieldUpdateOperationsInput | Date | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + estimatedTime?: NullableFloatFieldUpdateOperationsInput | number | null + actualTime?: NullableFloatFieldUpdateOperationsInput | number | null + order?: IntFieldUpdateOperationsInput | number + labels?: TaskUpdatelabelsInput | string[] + project?: ProjectUpdateOneRequiredWithoutTasksNestedInput + sprint?: SprintUpdateOneWithoutTasksNestedInput + creator?: UserUpdateOneRequiredWithoutCreatedTasksNestedInput + assignee?: UserUpdateOneWithoutAssignedTasksNestedInput + modifier?: UserUpdateOneWithoutModifiedTasksNestedInput + attachments?: TaskAttachmentUpdateManyWithoutTaskNestedInput + comments?: CommentUpdateManyWithoutTaskNestedInput + timelogs?: TimelogUpdateManyWithoutTaskNestedInput + dependencies?: TaskDependencyUpdateManyWithoutDependentTaskNestedInput + dependentOn?: TaskDependencyUpdateManyWithoutTaskNestedInput + parent?: TaskUpdateOneWithoutSubtasksNestedInput + activityLogs?: ActivityLogUpdateManyWithoutTaskNestedInput } - export type ActivityLogUpdateWithWhereUniqueWithoutProjectInput = { - where: ActivityLogWhereUniqueInput - data: XOR + export type TaskUncheckedUpdateWithoutSubtasksInput = { + id?: StringFieldUpdateOperationsInput | string + title?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + priority?: EnumTaskPriorityFieldUpdateOperationsInput | $Enums.TaskPriority + status?: EnumTaskStatusFieldUpdateOperationsInput | $Enums.TaskStatus + rate?: NullableFloatFieldUpdateOperationsInput | number | null + projectId?: StringFieldUpdateOperationsInput | string + sprintId?: NullableStringFieldUpdateOperationsInput | string | null + createdBy?: StringFieldUpdateOperationsInput | string + assignedTo?: NullableStringFieldUpdateOperationsInput | string | null + dueDate?: DateTimeFieldUpdateOperationsInput | Date | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + estimatedTime?: NullableFloatFieldUpdateOperationsInput | number | null + actualTime?: NullableFloatFieldUpdateOperationsInput | number | null + parentId?: NullableStringFieldUpdateOperationsInput | string | null + order?: IntFieldUpdateOperationsInput | number + labels?: TaskUpdatelabelsInput | string[] + lastModifiedBy?: NullableStringFieldUpdateOperationsInput | string | null + attachments?: TaskAttachmentUncheckedUpdateManyWithoutTaskNestedInput + comments?: CommentUncheckedUpdateManyWithoutTaskNestedInput + timelogs?: TimelogUncheckedUpdateManyWithoutTaskNestedInput + dependencies?: TaskDependencyUncheckedUpdateManyWithoutDependentTaskNestedInput + dependentOn?: TaskDependencyUncheckedUpdateManyWithoutTaskNestedInput + activityLogs?: ActivityLogUncheckedUpdateManyWithoutTaskNestedInput } - export type ActivityLogUpdateManyWithWhereWithoutProjectInput = { - where: ActivityLogScalarWhereInput - data: XOR + export type TaskUpsertWithWhereUniqueWithoutParentInput = { + where: TaskWhereUniqueInput + update: XOR + create: XOR } - export type ProjectMemberUpsertWithWhereUniqueWithoutProjectInput = { - where: ProjectMemberWhereUniqueInput - update: XOR - create: XOR + export type TaskUpdateWithWhereUniqueWithoutParentInput = { + where: TaskWhereUniqueInput + data: XOR } - export type ProjectMemberUpdateWithWhereUniqueWithoutProjectInput = { - where: ProjectMemberWhereUniqueInput - data: XOR + export type TaskUpdateManyWithWhereWithoutParentInput = { + where: TaskScalarWhereInput + data: XOR } - export type ProjectMemberUpdateManyWithWhereWithoutProjectInput = { - where: ProjectMemberScalarWhereInput - data: XOR + export type ActivityLogUpsertWithWhereUniqueWithoutTaskInput = { + where: ActivityLogWhereUniqueInput + update: XOR + create: XOR } - export type ProjectCreateWithoutProjectMemberInput = { + export type ActivityLogUpdateWithWhereUniqueWithoutTaskInput = { + where: ActivityLogWhereUniqueInput + data: XOR + } + + export type ActivityLogUpdateManyWithWhereWithoutTaskInput = { + where: ActivityLogScalarWhereInput + data: XOR + } + + export type TaskCreateWithoutAttachmentsInput = { id?: string - name: string + title: string description?: string | null - status: string - startDate: Date | string - endDate: Date | string + priority: $Enums.TaskPriority + status: $Enums.TaskStatus + rate?: number | null + dueDate: Date | string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null - priority?: $Enums.TaskPriority - progress?: number | null - budget?: number | null - creator: UserCreateNestedOneWithoutCreatedProjectsInput - modifier?: UserCreateNestedOneWithoutModifiedProjectsInput - organization: OrganizationCreateNestedOneWithoutProjectsInput - team: TeamCreateNestedOneWithoutProjectsInput - sprints?: SprintCreateNestedManyWithoutProjectInput - tasks?: TaskCreateNestedManyWithoutProjectInput - reports?: ReportCreateNestedManyWithoutProjectInput - activityLogs?: ActivityLogCreateNestedManyWithoutProjectInput + estimatedTime?: number | null + actualTime?: number | null + order?: number + labels?: TaskCreatelabelsInput | string[] + project: ProjectCreateNestedOneWithoutTasksInput + sprint?: SprintCreateNestedOneWithoutTasksInput + creator: UserCreateNestedOneWithoutCreatedTasksInput + assignee?: UserCreateNestedOneWithoutAssignedTasksInput + modifier?: UserCreateNestedOneWithoutModifiedTasksInput + comments?: CommentCreateNestedManyWithoutTaskInput + timelogs?: TimelogCreateNestedManyWithoutTaskInput + dependencies?: TaskDependencyCreateNestedManyWithoutDependentTaskInput + dependentOn?: TaskDependencyCreateNestedManyWithoutTaskInput + parent?: TaskCreateNestedOneWithoutSubtasksInput + subtasks?: TaskCreateNestedManyWithoutParentInput + activityLogs?: ActivityLogCreateNestedManyWithoutTaskInput } - export type ProjectUncheckedCreateWithoutProjectMemberInput = { + export type TaskUncheckedCreateWithoutAttachmentsInput = { id?: string - name: string + title: string description?: string | null - status: string + priority: $Enums.TaskPriority + status: $Enums.TaskStatus + rate?: number | null + projectId: string + sprintId?: string | null createdBy: string - organizationId: string - teamId: string - startDate: Date | string - endDate: Date | string + assignedTo?: string | null + dueDate: Date | string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null - priority?: $Enums.TaskPriority - progress?: number | null - budget?: number | null + estimatedTime?: number | null + actualTime?: number | null + parentId?: string | null + order?: number + labels?: TaskCreatelabelsInput | string[] lastModifiedBy?: string | null - sprints?: SprintUncheckedCreateNestedManyWithoutProjectInput - tasks?: TaskUncheckedCreateNestedManyWithoutProjectInput - reports?: ReportUncheckedCreateNestedManyWithoutProjectInput - activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutProjectInput + comments?: CommentUncheckedCreateNestedManyWithoutTaskInput + timelogs?: TimelogUncheckedCreateNestedManyWithoutTaskInput + dependencies?: TaskDependencyUncheckedCreateNestedManyWithoutDependentTaskInput + dependentOn?: TaskDependencyUncheckedCreateNestedManyWithoutTaskInput + subtasks?: TaskUncheckedCreateNestedManyWithoutParentInput + activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutTaskInput } - export type ProjectCreateOrConnectWithoutProjectMemberInput = { - where: ProjectWhereUniqueInput - create: XOR + export type TaskCreateOrConnectWithoutAttachmentsInput = { + where: TaskWhereUniqueInput + create: XOR } - export type UserCreateWithoutProjectMembershipsInput = { + export type UserCreateWithoutTaskAttachmentsInput = { id?: string email: string username: string @@ -45171,6 +63431,7 @@ export namespace Prisma { managedDepartments?: DepartmentCreateNestedManyWithoutManagerInput createdTeams?: TeamCreateNestedManyWithoutCreatorInput teamMemberships?: TeamMemberCreateNestedManyWithoutUserInput + projectMemberships?: ProjectMemberCreateNestedManyWithoutUserInput createdProjects?: ProjectCreateNestedManyWithoutCreatorInput modifiedProjects?: ProjectCreateNestedManyWithoutModifierInput createdTasks?: TaskCreateNestedManyWithoutCreatorInput @@ -45179,15 +63440,21 @@ export namespace Prisma { notifications?: NotificationCreateNestedManyWithoutUserInput timelogs?: TimelogCreateNestedManyWithoutUserInput comments?: CommentCreateNestedManyWithoutUserInput - taskAttachments?: TaskAttachmentCreateNestedManyWithoutUploaderInput generatedReports?: ReportCreateNestedManyWithoutGeneratorInput userReports?: ReportCreateNestedManyWithoutUserInput permissions?: PermissionCreateNestedManyWithoutUserInput activityLogs?: ActivityLogCreateNestedManyWithoutUserInput ReportNotification?: ReportNotificationCreateNestedManyWithoutUserInput + chatParticipations?: ChatParticipantCreateNestedManyWithoutUserInput + sentMessages?: ChatMessageCreateNestedManyWithoutSenderInput + messageReactions?: MessageReactionCreateNestedManyWithoutUserInput + pinnedMessages?: PinnedMessageCreateNestedManyWithoutUserInput + hostedSessions?: VideoConferenceSessionCreateNestedManyWithoutHostInput + videoParticipations?: VideoParticipantCreateNestedManyWithoutUserInput + videoRecordings?: VideoRecordingCreateNestedManyWithoutRecorderInput } - export type UserUncheckedCreateWithoutProjectMembershipsInput = { + export type UserUncheckedCreateWithoutTaskAttachmentsInput = { id?: string email: string username: string @@ -45221,6 +63488,7 @@ export namespace Prisma { managedDepartments?: DepartmentUncheckedCreateNestedManyWithoutManagerInput createdTeams?: TeamUncheckedCreateNestedManyWithoutCreatorInput teamMemberships?: TeamMemberUncheckedCreateNestedManyWithoutUserInput + projectMemberships?: ProjectMemberUncheckedCreateNestedManyWithoutUserInput createdProjects?: ProjectUncheckedCreateNestedManyWithoutCreatorInput modifiedProjects?: ProjectUncheckedCreateNestedManyWithoutModifierInput createdTasks?: TaskUncheckedCreateNestedManyWithoutCreatorInput @@ -45229,88 +63497,106 @@ export namespace Prisma { notifications?: NotificationUncheckedCreateNestedManyWithoutUserInput timelogs?: TimelogUncheckedCreateNestedManyWithoutUserInput comments?: CommentUncheckedCreateNestedManyWithoutUserInput - taskAttachments?: TaskAttachmentUncheckedCreateNestedManyWithoutUploaderInput generatedReports?: ReportUncheckedCreateNestedManyWithoutGeneratorInput userReports?: ReportUncheckedCreateNestedManyWithoutUserInput permissions?: PermissionUncheckedCreateNestedManyWithoutUserInput activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutUserInput ReportNotification?: ReportNotificationUncheckedCreateNestedManyWithoutUserInput + chatParticipations?: ChatParticipantUncheckedCreateNestedManyWithoutUserInput + sentMessages?: ChatMessageUncheckedCreateNestedManyWithoutSenderInput + messageReactions?: MessageReactionUncheckedCreateNestedManyWithoutUserInput + pinnedMessages?: PinnedMessageUncheckedCreateNestedManyWithoutUserInput + hostedSessions?: VideoConferenceSessionUncheckedCreateNestedManyWithoutHostInput + videoParticipations?: VideoParticipantUncheckedCreateNestedManyWithoutUserInput + videoRecordings?: VideoRecordingUncheckedCreateNestedManyWithoutRecorderInput } - export type UserCreateOrConnectWithoutProjectMembershipsInput = { + export type UserCreateOrConnectWithoutTaskAttachmentsInput = { where: UserWhereUniqueInput - create: XOR + create: XOR } - export type ProjectUpsertWithoutProjectMemberInput = { - update: XOR - create: XOR - where?: ProjectWhereInput + export type TaskUpsertWithoutAttachmentsInput = { + update: XOR + create: XOR + where?: TaskWhereInput } - export type ProjectUpdateToOneWithWhereWithoutProjectMemberInput = { - where?: ProjectWhereInput - data: XOR + export type TaskUpdateToOneWithWhereWithoutAttachmentsInput = { + where?: TaskWhereInput + data: XOR } - export type ProjectUpdateWithoutProjectMemberInput = { + export type TaskUpdateWithoutAttachmentsInput = { id?: StringFieldUpdateOperationsInput | string - name?: StringFieldUpdateOperationsInput | string + title?: StringFieldUpdateOperationsInput | string description?: NullableStringFieldUpdateOperationsInput | string | null - status?: StringFieldUpdateOperationsInput | string - startDate?: DateTimeFieldUpdateOperationsInput | Date | string - endDate?: DateTimeFieldUpdateOperationsInput | Date | string + priority?: EnumTaskPriorityFieldUpdateOperationsInput | $Enums.TaskPriority + status?: EnumTaskStatusFieldUpdateOperationsInput | $Enums.TaskStatus + rate?: NullableFloatFieldUpdateOperationsInput | number | null + dueDate?: DateTimeFieldUpdateOperationsInput | Date | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - priority?: EnumTaskPriorityFieldUpdateOperationsInput | $Enums.TaskPriority - progress?: NullableFloatFieldUpdateOperationsInput | number | null - budget?: NullableFloatFieldUpdateOperationsInput | number | null - creator?: UserUpdateOneRequiredWithoutCreatedProjectsNestedInput - modifier?: UserUpdateOneWithoutModifiedProjectsNestedInput - organization?: OrganizationUpdateOneRequiredWithoutProjectsNestedInput - team?: TeamUpdateOneRequiredWithoutProjectsNestedInput - sprints?: SprintUpdateManyWithoutProjectNestedInput - tasks?: TaskUpdateManyWithoutProjectNestedInput - reports?: ReportUpdateManyWithoutProjectNestedInput - activityLogs?: ActivityLogUpdateManyWithoutProjectNestedInput + estimatedTime?: NullableFloatFieldUpdateOperationsInput | number | null + actualTime?: NullableFloatFieldUpdateOperationsInput | number | null + order?: IntFieldUpdateOperationsInput | number + labels?: TaskUpdatelabelsInput | string[] + project?: ProjectUpdateOneRequiredWithoutTasksNestedInput + sprint?: SprintUpdateOneWithoutTasksNestedInput + creator?: UserUpdateOneRequiredWithoutCreatedTasksNestedInput + assignee?: UserUpdateOneWithoutAssignedTasksNestedInput + modifier?: UserUpdateOneWithoutModifiedTasksNestedInput + comments?: CommentUpdateManyWithoutTaskNestedInput + timelogs?: TimelogUpdateManyWithoutTaskNestedInput + dependencies?: TaskDependencyUpdateManyWithoutDependentTaskNestedInput + dependentOn?: TaskDependencyUpdateManyWithoutTaskNestedInput + parent?: TaskUpdateOneWithoutSubtasksNestedInput + subtasks?: TaskUpdateManyWithoutParentNestedInput + activityLogs?: ActivityLogUpdateManyWithoutTaskNestedInput } - export type ProjectUncheckedUpdateWithoutProjectMemberInput = { + export type TaskUncheckedUpdateWithoutAttachmentsInput = { id?: StringFieldUpdateOperationsInput | string - name?: StringFieldUpdateOperationsInput | string + title?: StringFieldUpdateOperationsInput | string description?: NullableStringFieldUpdateOperationsInput | string | null - status?: StringFieldUpdateOperationsInput | string + priority?: EnumTaskPriorityFieldUpdateOperationsInput | $Enums.TaskPriority + status?: EnumTaskStatusFieldUpdateOperationsInput | $Enums.TaskStatus + rate?: NullableFloatFieldUpdateOperationsInput | number | null + projectId?: StringFieldUpdateOperationsInput | string + sprintId?: NullableStringFieldUpdateOperationsInput | string | null createdBy?: StringFieldUpdateOperationsInput | string - organizationId?: StringFieldUpdateOperationsInput | string - teamId?: StringFieldUpdateOperationsInput | string - startDate?: DateTimeFieldUpdateOperationsInput | Date | string - endDate?: DateTimeFieldUpdateOperationsInput | Date | string + assignedTo?: NullableStringFieldUpdateOperationsInput | string | null + dueDate?: DateTimeFieldUpdateOperationsInput | Date | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - priority?: EnumTaskPriorityFieldUpdateOperationsInput | $Enums.TaskPriority - progress?: NullableFloatFieldUpdateOperationsInput | number | null - budget?: NullableFloatFieldUpdateOperationsInput | number | null + estimatedTime?: NullableFloatFieldUpdateOperationsInput | number | null + actualTime?: NullableFloatFieldUpdateOperationsInput | number | null + parentId?: NullableStringFieldUpdateOperationsInput | string | null + order?: IntFieldUpdateOperationsInput | number + labels?: TaskUpdatelabelsInput | string[] lastModifiedBy?: NullableStringFieldUpdateOperationsInput | string | null - sprints?: SprintUncheckedUpdateManyWithoutProjectNestedInput - tasks?: TaskUncheckedUpdateManyWithoutProjectNestedInput - reports?: ReportUncheckedUpdateManyWithoutProjectNestedInput - activityLogs?: ActivityLogUncheckedUpdateManyWithoutProjectNestedInput + comments?: CommentUncheckedUpdateManyWithoutTaskNestedInput + timelogs?: TimelogUncheckedUpdateManyWithoutTaskNestedInput + dependencies?: TaskDependencyUncheckedUpdateManyWithoutDependentTaskNestedInput + dependentOn?: TaskDependencyUncheckedUpdateManyWithoutTaskNestedInput + subtasks?: TaskUncheckedUpdateManyWithoutParentNestedInput + activityLogs?: ActivityLogUncheckedUpdateManyWithoutTaskNestedInput } - export type UserUpsertWithoutProjectMembershipsInput = { - update: XOR - create: XOR + export type UserUpsertWithoutTaskAttachmentsInput = { + update: XOR + create: XOR where?: UserWhereInput } - export type UserUpdateToOneWithWhereWithoutProjectMembershipsInput = { + export type UserUpdateToOneWithWhereWithoutTaskAttachmentsInput = { where?: UserWhereInput - data: XOR + data: XOR } - export type UserUpdateWithoutProjectMembershipsInput = { + export type UserUpdateWithoutTaskAttachmentsInput = { id?: StringFieldUpdateOperationsInput | string email?: StringFieldUpdateOperationsInput | string username?: StringFieldUpdateOperationsInput | string @@ -45344,6 +63630,7 @@ export namespace Prisma { managedDepartments?: DepartmentUpdateManyWithoutManagerNestedInput createdTeams?: TeamUpdateManyWithoutCreatorNestedInput teamMemberships?: TeamMemberUpdateManyWithoutUserNestedInput + projectMemberships?: ProjectMemberUpdateManyWithoutUserNestedInput createdProjects?: ProjectUpdateManyWithoutCreatorNestedInput modifiedProjects?: ProjectUpdateManyWithoutModifierNestedInput createdTasks?: TaskUpdateManyWithoutCreatorNestedInput @@ -45352,15 +63639,21 @@ export namespace Prisma { notifications?: NotificationUpdateManyWithoutUserNestedInput timelogs?: TimelogUpdateManyWithoutUserNestedInput comments?: CommentUpdateManyWithoutUserNestedInput - taskAttachments?: TaskAttachmentUpdateManyWithoutUploaderNestedInput generatedReports?: ReportUpdateManyWithoutGeneratorNestedInput userReports?: ReportUpdateManyWithoutUserNestedInput permissions?: PermissionUpdateManyWithoutUserNestedInput activityLogs?: ActivityLogUpdateManyWithoutUserNestedInput ReportNotification?: ReportNotificationUpdateManyWithoutUserNestedInput + chatParticipations?: ChatParticipantUpdateManyWithoutUserNestedInput + sentMessages?: ChatMessageUpdateManyWithoutSenderNestedInput + messageReactions?: MessageReactionUpdateManyWithoutUserNestedInput + pinnedMessages?: PinnedMessageUpdateManyWithoutUserNestedInput + hostedSessions?: VideoConferenceSessionUpdateManyWithoutHostNestedInput + videoParticipations?: VideoParticipantUpdateManyWithoutUserNestedInput + videoRecordings?: VideoRecordingUpdateManyWithoutRecorderNestedInput } - export type UserUncheckedUpdateWithoutProjectMembershipsInput = { + export type UserUncheckedUpdateWithoutTaskAttachmentsInput = { id?: StringFieldUpdateOperationsInput | string email?: StringFieldUpdateOperationsInput | string username?: StringFieldUpdateOperationsInput | string @@ -45394,6 +63687,7 @@ export namespace Prisma { managedDepartments?: DepartmentUncheckedUpdateManyWithoutManagerNestedInput createdTeams?: TeamUncheckedUpdateManyWithoutCreatorNestedInput teamMemberships?: TeamMemberUncheckedUpdateManyWithoutUserNestedInput + projectMemberships?: ProjectMemberUncheckedUpdateManyWithoutUserNestedInput createdProjects?: ProjectUncheckedUpdateManyWithoutCreatorNestedInput modifiedProjects?: ProjectUncheckedUpdateManyWithoutModifierNestedInput createdTasks?: TaskUncheckedUpdateManyWithoutCreatorNestedInput @@ -45402,66 +63696,84 @@ export namespace Prisma { notifications?: NotificationUncheckedUpdateManyWithoutUserNestedInput timelogs?: TimelogUncheckedUpdateManyWithoutUserNestedInput comments?: CommentUncheckedUpdateManyWithoutUserNestedInput - taskAttachments?: TaskAttachmentUncheckedUpdateManyWithoutUploaderNestedInput generatedReports?: ReportUncheckedUpdateManyWithoutGeneratorNestedInput userReports?: ReportUncheckedUpdateManyWithoutUserNestedInput permissions?: PermissionUncheckedUpdateManyWithoutUserNestedInput activityLogs?: ActivityLogUncheckedUpdateManyWithoutUserNestedInput ReportNotification?: ReportNotificationUncheckedUpdateManyWithoutUserNestedInput + chatParticipations?: ChatParticipantUncheckedUpdateManyWithoutUserNestedInput + sentMessages?: ChatMessageUncheckedUpdateManyWithoutSenderNestedInput + messageReactions?: MessageReactionUncheckedUpdateManyWithoutUserNestedInput + pinnedMessages?: PinnedMessageUncheckedUpdateManyWithoutUserNestedInput + hostedSessions?: VideoConferenceSessionUncheckedUpdateManyWithoutHostNestedInput + videoParticipations?: VideoParticipantUncheckedUpdateManyWithoutUserNestedInput + videoRecordings?: VideoRecordingUncheckedUpdateManyWithoutRecorderNestedInput } - export type ProjectCreateWithoutSprintsInput = { + export type TaskCreateWithoutDependentOnInput = { id?: string - name: string + title: string description?: string | null - status: string - startDate: Date | string - endDate: Date | string + priority: $Enums.TaskPriority + status: $Enums.TaskStatus + rate?: number | null + dueDate: Date | string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null - priority?: $Enums.TaskPriority - progress?: number | null - budget?: number | null - creator: UserCreateNestedOneWithoutCreatedProjectsInput - modifier?: UserCreateNestedOneWithoutModifiedProjectsInput - organization: OrganizationCreateNestedOneWithoutProjectsInput - team: TeamCreateNestedOneWithoutProjectsInput - tasks?: TaskCreateNestedManyWithoutProjectInput - reports?: ReportCreateNestedManyWithoutProjectInput - activityLogs?: ActivityLogCreateNestedManyWithoutProjectInput - ProjectMember?: ProjectMemberCreateNestedManyWithoutProjectInput + estimatedTime?: number | null + actualTime?: number | null + order?: number + labels?: TaskCreatelabelsInput | string[] + project: ProjectCreateNestedOneWithoutTasksInput + sprint?: SprintCreateNestedOneWithoutTasksInput + creator: UserCreateNestedOneWithoutCreatedTasksInput + assignee?: UserCreateNestedOneWithoutAssignedTasksInput + modifier?: UserCreateNestedOneWithoutModifiedTasksInput + attachments?: TaskAttachmentCreateNestedManyWithoutTaskInput + comments?: CommentCreateNestedManyWithoutTaskInput + timelogs?: TimelogCreateNestedManyWithoutTaskInput + dependencies?: TaskDependencyCreateNestedManyWithoutDependentTaskInput + parent?: TaskCreateNestedOneWithoutSubtasksInput + subtasks?: TaskCreateNestedManyWithoutParentInput + activityLogs?: ActivityLogCreateNestedManyWithoutTaskInput } - export type ProjectUncheckedCreateWithoutSprintsInput = { + export type TaskUncheckedCreateWithoutDependentOnInput = { id?: string - name: string + title: string description?: string | null - status: string + priority: $Enums.TaskPriority + status: $Enums.TaskStatus + rate?: number | null + projectId: string + sprintId?: string | null createdBy: string - organizationId: string - teamId: string - startDate: Date | string - endDate: Date | string + assignedTo?: string | null + dueDate: Date | string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null - priority?: $Enums.TaskPriority - progress?: number | null - budget?: number | null + estimatedTime?: number | null + actualTime?: number | null + parentId?: string | null + order?: number + labels?: TaskCreatelabelsInput | string[] lastModifiedBy?: string | null - tasks?: TaskUncheckedCreateNestedManyWithoutProjectInput - reports?: ReportUncheckedCreateNestedManyWithoutProjectInput - activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutProjectInput - ProjectMember?: ProjectMemberUncheckedCreateNestedManyWithoutProjectInput + attachments?: TaskAttachmentUncheckedCreateNestedManyWithoutTaskInput + comments?: CommentUncheckedCreateNestedManyWithoutTaskInput + timelogs?: TimelogUncheckedCreateNestedManyWithoutTaskInput + dependencies?: TaskDependencyUncheckedCreateNestedManyWithoutDependentTaskInput + subtasks?: TaskUncheckedCreateNestedManyWithoutParentInput + activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutTaskInput } - export type ProjectCreateOrConnectWithoutSprintsInput = { - where: ProjectWhereUniqueInput - create: XOR + export type TaskCreateOrConnectWithoutDependentOnInput = { + where: TaskWhereUniqueInput + create: XOR } - export type TaskCreateWithoutSprintInput = { + export type TaskCreateWithoutDependenciesInput = { id?: string title: string description?: string | null @@ -45477,20 +63789,20 @@ export namespace Prisma { order?: number labels?: TaskCreatelabelsInput | string[] project: ProjectCreateNestedOneWithoutTasksInput + sprint?: SprintCreateNestedOneWithoutTasksInput creator: UserCreateNestedOneWithoutCreatedTasksInput assignee?: UserCreateNestedOneWithoutAssignedTasksInput modifier?: UserCreateNestedOneWithoutModifiedTasksInput attachments?: TaskAttachmentCreateNestedManyWithoutTaskInput comments?: CommentCreateNestedManyWithoutTaskInput timelogs?: TimelogCreateNestedManyWithoutTaskInput - dependencies?: TaskDependencyCreateNestedManyWithoutDependentTaskInput dependentOn?: TaskDependencyCreateNestedManyWithoutTaskInput parent?: TaskCreateNestedOneWithoutSubtasksInput subtasks?: TaskCreateNestedManyWithoutParentInput activityLogs?: ActivityLogCreateNestedManyWithoutTaskInput } - export type TaskUncheckedCreateWithoutSprintInput = { + export type TaskUncheckedCreateWithoutDependenciesInput = { id?: string title: string description?: string | null @@ -45498,6 +63810,7 @@ export namespace Prisma { status: $Enums.TaskStatus rate?: number | null projectId: string + sprintId?: string | null createdBy: string assignedTo?: string | null dueDate: Date | string @@ -45513,232 +63826,346 @@ export namespace Prisma { attachments?: TaskAttachmentUncheckedCreateNestedManyWithoutTaskInput comments?: CommentUncheckedCreateNestedManyWithoutTaskInput timelogs?: TimelogUncheckedCreateNestedManyWithoutTaskInput - dependencies?: TaskDependencyUncheckedCreateNestedManyWithoutDependentTaskInput dependentOn?: TaskDependencyUncheckedCreateNestedManyWithoutTaskInput subtasks?: TaskUncheckedCreateNestedManyWithoutParentInput activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutTaskInput } - export type TaskCreateOrConnectWithoutSprintInput = { + export type TaskCreateOrConnectWithoutDependenciesInput = { where: TaskWhereUniqueInput - create: XOR - } - - export type TaskCreateManySprintInputEnvelope = { - data: TaskCreateManySprintInput | TaskCreateManySprintInput[] - skipDuplicates?: boolean + create: XOR } - export type ActivityLogCreateWithoutSprintInput = { - id?: string - entityType: $Enums.EntityType - action: $Enums.ActionType - details?: NullableJsonNullValueInput | InputJsonValue - createdAt?: Date | string - user: UserCreateNestedOneWithoutActivityLogsInput - organization?: OrganizationCreateNestedOneWithoutActivityLogsInput - department?: DepartmentCreateNestedOneWithoutActivityLogsInput - project?: ProjectCreateNestedOneWithoutActivityLogsInput - team?: TeamCreateNestedOneWithoutActivityLogsInput - task?: TaskCreateNestedOneWithoutActivityLogsInput + export type TaskUpsertWithoutDependentOnInput = { + update: XOR + create: XOR + where?: TaskWhereInput } - export type ActivityLogUncheckedCreateWithoutSprintInput = { - id?: string - entityType: $Enums.EntityType - action: $Enums.ActionType - userId: string - organizationId?: string | null - departmentId?: string | null - projectId?: string | null - teamId?: string | null - taskId: string - details?: NullableJsonNullValueInput | InputJsonValue - createdAt?: Date | string + export type TaskUpdateToOneWithWhereWithoutDependentOnInput = { + where?: TaskWhereInput + data: XOR } - export type ActivityLogCreateOrConnectWithoutSprintInput = { - where: ActivityLogWhereUniqueInput - create: XOR + export type TaskUpdateWithoutDependentOnInput = { + id?: StringFieldUpdateOperationsInput | string + title?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + priority?: EnumTaskPriorityFieldUpdateOperationsInput | $Enums.TaskPriority + status?: EnumTaskStatusFieldUpdateOperationsInput | $Enums.TaskStatus + rate?: NullableFloatFieldUpdateOperationsInput | number | null + dueDate?: DateTimeFieldUpdateOperationsInput | Date | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + estimatedTime?: NullableFloatFieldUpdateOperationsInput | number | null + actualTime?: NullableFloatFieldUpdateOperationsInput | number | null + order?: IntFieldUpdateOperationsInput | number + labels?: TaskUpdatelabelsInput | string[] + project?: ProjectUpdateOneRequiredWithoutTasksNestedInput + sprint?: SprintUpdateOneWithoutTasksNestedInput + creator?: UserUpdateOneRequiredWithoutCreatedTasksNestedInput + assignee?: UserUpdateOneWithoutAssignedTasksNestedInput + modifier?: UserUpdateOneWithoutModifiedTasksNestedInput + attachments?: TaskAttachmentUpdateManyWithoutTaskNestedInput + comments?: CommentUpdateManyWithoutTaskNestedInput + timelogs?: TimelogUpdateManyWithoutTaskNestedInput + dependencies?: TaskDependencyUpdateManyWithoutDependentTaskNestedInput + parent?: TaskUpdateOneWithoutSubtasksNestedInput + subtasks?: TaskUpdateManyWithoutParentNestedInput + activityLogs?: ActivityLogUpdateManyWithoutTaskNestedInput } - export type ActivityLogCreateManySprintInputEnvelope = { - data: ActivityLogCreateManySprintInput | ActivityLogCreateManySprintInput[] - skipDuplicates?: boolean + export type TaskUncheckedUpdateWithoutDependentOnInput = { + id?: StringFieldUpdateOperationsInput | string + title?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + priority?: EnumTaskPriorityFieldUpdateOperationsInput | $Enums.TaskPriority + status?: EnumTaskStatusFieldUpdateOperationsInput | $Enums.TaskStatus + rate?: NullableFloatFieldUpdateOperationsInput | number | null + projectId?: StringFieldUpdateOperationsInput | string + sprintId?: NullableStringFieldUpdateOperationsInput | string | null + createdBy?: StringFieldUpdateOperationsInput | string + assignedTo?: NullableStringFieldUpdateOperationsInput | string | null + dueDate?: DateTimeFieldUpdateOperationsInput | Date | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + estimatedTime?: NullableFloatFieldUpdateOperationsInput | number | null + actualTime?: NullableFloatFieldUpdateOperationsInput | number | null + parentId?: NullableStringFieldUpdateOperationsInput | string | null + order?: IntFieldUpdateOperationsInput | number + labels?: TaskUpdatelabelsInput | string[] + lastModifiedBy?: NullableStringFieldUpdateOperationsInput | string | null + attachments?: TaskAttachmentUncheckedUpdateManyWithoutTaskNestedInput + comments?: CommentUncheckedUpdateManyWithoutTaskNestedInput + timelogs?: TimelogUncheckedUpdateManyWithoutTaskNestedInput + dependencies?: TaskDependencyUncheckedUpdateManyWithoutDependentTaskNestedInput + subtasks?: TaskUncheckedUpdateManyWithoutParentNestedInput + activityLogs?: ActivityLogUncheckedUpdateManyWithoutTaskNestedInput } - export type ProjectUpsertWithoutSprintsInput = { - update: XOR - create: XOR - where?: ProjectWhereInput + export type TaskUpsertWithoutDependenciesInput = { + update: XOR + create: XOR + where?: TaskWhereInput } - export type ProjectUpdateToOneWithWhereWithoutSprintsInput = { - where?: ProjectWhereInput - data: XOR + export type TaskUpdateToOneWithWhereWithoutDependenciesInput = { + where?: TaskWhereInput + data: XOR } - export type ProjectUpdateWithoutSprintsInput = { + export type TaskUpdateWithoutDependenciesInput = { id?: StringFieldUpdateOperationsInput | string - name?: StringFieldUpdateOperationsInput | string + title?: StringFieldUpdateOperationsInput | string description?: NullableStringFieldUpdateOperationsInput | string | null - status?: StringFieldUpdateOperationsInput | string - startDate?: DateTimeFieldUpdateOperationsInput | Date | string - endDate?: DateTimeFieldUpdateOperationsInput | Date | string + priority?: EnumTaskPriorityFieldUpdateOperationsInput | $Enums.TaskPriority + status?: EnumTaskStatusFieldUpdateOperationsInput | $Enums.TaskStatus + rate?: NullableFloatFieldUpdateOperationsInput | number | null + dueDate?: DateTimeFieldUpdateOperationsInput | Date | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - priority?: EnumTaskPriorityFieldUpdateOperationsInput | $Enums.TaskPriority - progress?: NullableFloatFieldUpdateOperationsInput | number | null - budget?: NullableFloatFieldUpdateOperationsInput | number | null - creator?: UserUpdateOneRequiredWithoutCreatedProjectsNestedInput - modifier?: UserUpdateOneWithoutModifiedProjectsNestedInput - organization?: OrganizationUpdateOneRequiredWithoutProjectsNestedInput - team?: TeamUpdateOneRequiredWithoutProjectsNestedInput - tasks?: TaskUpdateManyWithoutProjectNestedInput - reports?: ReportUpdateManyWithoutProjectNestedInput - activityLogs?: ActivityLogUpdateManyWithoutProjectNestedInput - ProjectMember?: ProjectMemberUpdateManyWithoutProjectNestedInput + estimatedTime?: NullableFloatFieldUpdateOperationsInput | number | null + actualTime?: NullableFloatFieldUpdateOperationsInput | number | null + order?: IntFieldUpdateOperationsInput | number + labels?: TaskUpdatelabelsInput | string[] + project?: ProjectUpdateOneRequiredWithoutTasksNestedInput + sprint?: SprintUpdateOneWithoutTasksNestedInput + creator?: UserUpdateOneRequiredWithoutCreatedTasksNestedInput + assignee?: UserUpdateOneWithoutAssignedTasksNestedInput + modifier?: UserUpdateOneWithoutModifiedTasksNestedInput + attachments?: TaskAttachmentUpdateManyWithoutTaskNestedInput + comments?: CommentUpdateManyWithoutTaskNestedInput + timelogs?: TimelogUpdateManyWithoutTaskNestedInput + dependentOn?: TaskDependencyUpdateManyWithoutTaskNestedInput + parent?: TaskUpdateOneWithoutSubtasksNestedInput + subtasks?: TaskUpdateManyWithoutParentNestedInput + activityLogs?: ActivityLogUpdateManyWithoutTaskNestedInput } - export type ProjectUncheckedUpdateWithoutSprintsInput = { + export type TaskUncheckedUpdateWithoutDependenciesInput = { id?: StringFieldUpdateOperationsInput | string - name?: StringFieldUpdateOperationsInput | string + title?: StringFieldUpdateOperationsInput | string description?: NullableStringFieldUpdateOperationsInput | string | null - status?: StringFieldUpdateOperationsInput | string + priority?: EnumTaskPriorityFieldUpdateOperationsInput | $Enums.TaskPriority + status?: EnumTaskStatusFieldUpdateOperationsInput | $Enums.TaskStatus + rate?: NullableFloatFieldUpdateOperationsInput | number | null + projectId?: StringFieldUpdateOperationsInput | string + sprintId?: NullableStringFieldUpdateOperationsInput | string | null createdBy?: StringFieldUpdateOperationsInput | string - organizationId?: StringFieldUpdateOperationsInput | string - teamId?: StringFieldUpdateOperationsInput | string - startDate?: DateTimeFieldUpdateOperationsInput | Date | string - endDate?: DateTimeFieldUpdateOperationsInput | Date | string + assignedTo?: NullableStringFieldUpdateOperationsInput | string | null + dueDate?: DateTimeFieldUpdateOperationsInput | Date | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - priority?: EnumTaskPriorityFieldUpdateOperationsInput | $Enums.TaskPriority - progress?: NullableFloatFieldUpdateOperationsInput | number | null - budget?: NullableFloatFieldUpdateOperationsInput | number | null + estimatedTime?: NullableFloatFieldUpdateOperationsInput | number | null + actualTime?: NullableFloatFieldUpdateOperationsInput | number | null + parentId?: NullableStringFieldUpdateOperationsInput | string | null + order?: IntFieldUpdateOperationsInput | number + labels?: TaskUpdatelabelsInput | string[] lastModifiedBy?: NullableStringFieldUpdateOperationsInput | string | null - tasks?: TaskUncheckedUpdateManyWithoutProjectNestedInput - reports?: ReportUncheckedUpdateManyWithoutProjectNestedInput - activityLogs?: ActivityLogUncheckedUpdateManyWithoutProjectNestedInput - ProjectMember?: ProjectMemberUncheckedUpdateManyWithoutProjectNestedInput + attachments?: TaskAttachmentUncheckedUpdateManyWithoutTaskNestedInput + comments?: CommentUncheckedUpdateManyWithoutTaskNestedInput + timelogs?: TimelogUncheckedUpdateManyWithoutTaskNestedInput + dependentOn?: TaskDependencyUncheckedUpdateManyWithoutTaskNestedInput + subtasks?: TaskUncheckedUpdateManyWithoutParentNestedInput + activityLogs?: ActivityLogUncheckedUpdateManyWithoutTaskNestedInput } - export type TaskUpsertWithWhereUniqueWithoutSprintInput = { - where: TaskWhereUniqueInput - update: XOR - create: XOR + export type OrganizationCreateWithoutTemplatesInput = { + id?: string + name: string + description?: string | null + industry: string + sizeRange: string + website?: string | null + logoUrl?: string | null + isVerified?: boolean + status: string + createdAt?: Date | string + updatedAt?: Date | string + deletedAt?: Date | string | null + address?: string | null + contactEmail?: string | null + contactPhone?: string | null + emailVerificationOTP?: string | null + emailVerificationExpires?: Date | string | null + creator: UserCreateNestedOneWithoutCreatedOrganizationsInput + departments?: DepartmentCreateNestedManyWithoutOrganizationInput + teams?: TeamCreateNestedManyWithoutOrganizationInput + projects?: ProjectCreateNestedManyWithoutOrganizationInput + users?: UserCreateNestedManyWithoutOrganizationInput + reports?: ReportCreateNestedManyWithoutOrganizationInput + owners?: OrganizationOwnerCreateNestedManyWithoutOrganizationInput + activityLogs?: ActivityLogCreateNestedManyWithoutOrganizationInput } - export type TaskUpdateWithWhereUniqueWithoutSprintInput = { - where: TaskWhereUniqueInput - data: XOR + export type OrganizationUncheckedCreateWithoutTemplatesInput = { + id?: string + name: string + description?: string | null + industry: string + sizeRange: string + website?: string | null + logoUrl?: string | null + isVerified?: boolean + status: string + createdAt?: Date | string + updatedAt?: Date | string + deletedAt?: Date | string | null + createdBy: string + address?: string | null + contactEmail?: string | null + contactPhone?: string | null + emailVerificationOTP?: string | null + emailVerificationExpires?: Date | string | null + departments?: DepartmentUncheckedCreateNestedManyWithoutOrganizationInput + teams?: TeamUncheckedCreateNestedManyWithoutOrganizationInput + projects?: ProjectUncheckedCreateNestedManyWithoutOrganizationInput + users?: UserUncheckedCreateNestedManyWithoutOrganizationInput + reports?: ReportUncheckedCreateNestedManyWithoutOrganizationInput + owners?: OrganizationOwnerUncheckedCreateNestedManyWithoutOrganizationInput + activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutOrganizationInput } - export type TaskUpdateManyWithWhereWithoutSprintInput = { - where: TaskScalarWhereInput - data: XOR + export type OrganizationCreateOrConnectWithoutTemplatesInput = { + where: OrganizationWhereUniqueInput + create: XOR } - export type ActivityLogUpsertWithWhereUniqueWithoutSprintInput = { - where: ActivityLogWhereUniqueInput - update: XOR - create: XOR + export type OrganizationUpsertWithoutTemplatesInput = { + update: XOR + create: XOR + where?: OrganizationWhereInput } - export type ActivityLogUpdateWithWhereUniqueWithoutSprintInput = { - where: ActivityLogWhereUniqueInput - data: XOR + export type OrganizationUpdateToOneWithWhereWithoutTemplatesInput = { + where?: OrganizationWhereInput + data: XOR } - export type ActivityLogUpdateManyWithWhereWithoutSprintInput = { - where: ActivityLogScalarWhereInput - data: XOR + export type OrganizationUpdateWithoutTemplatesInput = { + id?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + industry?: StringFieldUpdateOperationsInput | string + sizeRange?: StringFieldUpdateOperationsInput | string + website?: NullableStringFieldUpdateOperationsInput | string | null + logoUrl?: NullableStringFieldUpdateOperationsInput | string | null + isVerified?: BoolFieldUpdateOperationsInput | boolean + status?: StringFieldUpdateOperationsInput | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + address?: NullableStringFieldUpdateOperationsInput | string | null + contactEmail?: NullableStringFieldUpdateOperationsInput | string | null + contactPhone?: NullableStringFieldUpdateOperationsInput | string | null + emailVerificationOTP?: NullableStringFieldUpdateOperationsInput | string | null + emailVerificationExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + creator?: UserUpdateOneRequiredWithoutCreatedOrganizationsNestedInput + departments?: DepartmentUpdateManyWithoutOrganizationNestedInput + teams?: TeamUpdateManyWithoutOrganizationNestedInput + projects?: ProjectUpdateManyWithoutOrganizationNestedInput + users?: UserUpdateManyWithoutOrganizationNestedInput + reports?: ReportUpdateManyWithoutOrganizationNestedInput + owners?: OrganizationOwnerUpdateManyWithoutOrganizationNestedInput + activityLogs?: ActivityLogUpdateManyWithoutOrganizationNestedInput } - export type ProjectCreateWithoutTasksInput = { - id?: string - name: string - description?: string | null - status: string - startDate: Date | string - endDate: Date | string - createdAt?: Date | string - updatedAt?: Date | string - deletedAt?: Date | string | null - priority?: $Enums.TaskPriority - progress?: number | null - budget?: number | null - creator: UserCreateNestedOneWithoutCreatedProjectsInput - modifier?: UserCreateNestedOneWithoutModifiedProjectsInput - organization: OrganizationCreateNestedOneWithoutProjectsInput - team: TeamCreateNestedOneWithoutProjectsInput - sprints?: SprintCreateNestedManyWithoutProjectInput - reports?: ReportCreateNestedManyWithoutProjectInput - activityLogs?: ActivityLogCreateNestedManyWithoutProjectInput - ProjectMember?: ProjectMemberCreateNestedManyWithoutProjectInput + export type OrganizationUncheckedUpdateWithoutTemplatesInput = { + id?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + industry?: StringFieldUpdateOperationsInput | string + sizeRange?: StringFieldUpdateOperationsInput | string + website?: NullableStringFieldUpdateOperationsInput | string | null + logoUrl?: NullableStringFieldUpdateOperationsInput | string | null + isVerified?: BoolFieldUpdateOperationsInput | boolean + status?: StringFieldUpdateOperationsInput | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + createdBy?: StringFieldUpdateOperationsInput | string + address?: NullableStringFieldUpdateOperationsInput | string | null + contactEmail?: NullableStringFieldUpdateOperationsInput | string | null + contactPhone?: NullableStringFieldUpdateOperationsInput | string | null + emailVerificationOTP?: NullableStringFieldUpdateOperationsInput | string | null + emailVerificationExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + departments?: DepartmentUncheckedUpdateManyWithoutOrganizationNestedInput + teams?: TeamUncheckedUpdateManyWithoutOrganizationNestedInput + projects?: ProjectUncheckedUpdateManyWithoutOrganizationNestedInput + users?: UserUncheckedUpdateManyWithoutOrganizationNestedInput + reports?: ReportUncheckedUpdateManyWithoutOrganizationNestedInput + owners?: OrganizationOwnerUncheckedUpdateManyWithoutOrganizationNestedInput + activityLogs?: ActivityLogUncheckedUpdateManyWithoutOrganizationNestedInput } - export type ProjectUncheckedCreateWithoutTasksInput = { + export type TaskCreateWithoutTimelogsInput = { id?: string - name: string + title: string description?: string | null - status: string - createdBy: string - organizationId: string - teamId: string - startDate: Date | string - endDate: Date | string + priority: $Enums.TaskPriority + status: $Enums.TaskStatus + rate?: number | null + dueDate: Date | string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null - priority?: $Enums.TaskPriority - progress?: number | null - budget?: number | null - lastModifiedBy?: string | null - sprints?: SprintUncheckedCreateNestedManyWithoutProjectInput - reports?: ReportUncheckedCreateNestedManyWithoutProjectInput - activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutProjectInput - ProjectMember?: ProjectMemberUncheckedCreateNestedManyWithoutProjectInput - } - - export type ProjectCreateOrConnectWithoutTasksInput = { - where: ProjectWhereUniqueInput - create: XOR - } - - export type SprintCreateWithoutTasksInput = { - id?: string - name: string - description?: string | null - startDate: Date | string - endDate: Date | string - status: string - goal?: string | null + estimatedTime?: number | null + actualTime?: number | null order?: number - project: ProjectCreateNestedOneWithoutSprintsInput - activityLogs?: ActivityLogCreateNestedManyWithoutSprintInput + labels?: TaskCreatelabelsInput | string[] + project: ProjectCreateNestedOneWithoutTasksInput + sprint?: SprintCreateNestedOneWithoutTasksInput + creator: UserCreateNestedOneWithoutCreatedTasksInput + assignee?: UserCreateNestedOneWithoutAssignedTasksInput + modifier?: UserCreateNestedOneWithoutModifiedTasksInput + attachments?: TaskAttachmentCreateNestedManyWithoutTaskInput + comments?: CommentCreateNestedManyWithoutTaskInput + dependencies?: TaskDependencyCreateNestedManyWithoutDependentTaskInput + dependentOn?: TaskDependencyCreateNestedManyWithoutTaskInput + parent?: TaskCreateNestedOneWithoutSubtasksInput + subtasks?: TaskCreateNestedManyWithoutParentInput + activityLogs?: ActivityLogCreateNestedManyWithoutTaskInput } - export type SprintUncheckedCreateWithoutTasksInput = { + export type TaskUncheckedCreateWithoutTimelogsInput = { id?: string - projectId: string - name: string + title: string description?: string | null - startDate: Date | string - endDate: Date | string - status: string - goal?: string | null + priority: $Enums.TaskPriority + status: $Enums.TaskStatus + rate?: number | null + projectId: string + sprintId?: string | null + createdBy: string + assignedTo?: string | null + dueDate: Date | string + createdAt?: Date | string + updatedAt?: Date | string + deletedAt?: Date | string | null + estimatedTime?: number | null + actualTime?: number | null + parentId?: string | null order?: number - activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutSprintInput + labels?: TaskCreatelabelsInput | string[] + lastModifiedBy?: string | null + attachments?: TaskAttachmentUncheckedCreateNestedManyWithoutTaskInput + comments?: CommentUncheckedCreateNestedManyWithoutTaskInput + dependencies?: TaskDependencyUncheckedCreateNestedManyWithoutDependentTaskInput + dependentOn?: TaskDependencyUncheckedCreateNestedManyWithoutTaskInput + subtasks?: TaskUncheckedCreateNestedManyWithoutParentInput + activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutTaskInput } - export type SprintCreateOrConnectWithoutTasksInput = { - where: SprintWhereUniqueInput - create: XOR + export type TaskCreateOrConnectWithoutTimelogsInput = { + where: TaskWhereUniqueInput + create: XOR } - export type UserCreateWithoutCreatedTasksInput = { + export type UserCreateWithoutTimelogsInput = { id?: string email: string username: string @@ -45775,10 +64202,10 @@ export namespace Prisma { projectMemberships?: ProjectMemberCreateNestedManyWithoutUserInput createdProjects?: ProjectCreateNestedManyWithoutCreatorInput modifiedProjects?: ProjectCreateNestedManyWithoutModifierInput + createdTasks?: TaskCreateNestedManyWithoutCreatorInput assignedTasks?: TaskCreateNestedManyWithoutAssigneeInput modifiedTasks?: TaskCreateNestedManyWithoutModifierInput notifications?: NotificationCreateNestedManyWithoutUserInput - timelogs?: TimelogCreateNestedManyWithoutUserInput comments?: CommentCreateNestedManyWithoutUserInput taskAttachments?: TaskAttachmentCreateNestedManyWithoutUploaderInput generatedReports?: ReportCreateNestedManyWithoutGeneratorInput @@ -45786,9 +64213,16 @@ export namespace Prisma { permissions?: PermissionCreateNestedManyWithoutUserInput activityLogs?: ActivityLogCreateNestedManyWithoutUserInput ReportNotification?: ReportNotificationCreateNestedManyWithoutUserInput + chatParticipations?: ChatParticipantCreateNestedManyWithoutUserInput + sentMessages?: ChatMessageCreateNestedManyWithoutSenderInput + messageReactions?: MessageReactionCreateNestedManyWithoutUserInput + pinnedMessages?: PinnedMessageCreateNestedManyWithoutUserInput + hostedSessions?: VideoConferenceSessionCreateNestedManyWithoutHostInput + videoParticipations?: VideoParticipantCreateNestedManyWithoutUserInput + videoRecordings?: VideoRecordingCreateNestedManyWithoutRecorderInput } - export type UserUncheckedCreateWithoutCreatedTasksInput = { + export type UserUncheckedCreateWithoutTimelogsInput = { id?: string email: string username: string @@ -45825,10 +64259,10 @@ export namespace Prisma { projectMemberships?: ProjectMemberUncheckedCreateNestedManyWithoutUserInput createdProjects?: ProjectUncheckedCreateNestedManyWithoutCreatorInput modifiedProjects?: ProjectUncheckedCreateNestedManyWithoutModifierInput + createdTasks?: TaskUncheckedCreateNestedManyWithoutCreatorInput assignedTasks?: TaskUncheckedCreateNestedManyWithoutAssigneeInput modifiedTasks?: TaskUncheckedCreateNestedManyWithoutModifierInput notifications?: NotificationUncheckedCreateNestedManyWithoutUserInput - timelogs?: TimelogUncheckedCreateNestedManyWithoutUserInput comments?: CommentUncheckedCreateNestedManyWithoutUserInput taskAttachments?: TaskAttachmentUncheckedCreateNestedManyWithoutUploaderInput generatedReports?: ReportUncheckedCreateNestedManyWithoutGeneratorInput @@ -45836,14 +64270,278 @@ export namespace Prisma { permissions?: PermissionUncheckedCreateNestedManyWithoutUserInput activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutUserInput ReportNotification?: ReportNotificationUncheckedCreateNestedManyWithoutUserInput + chatParticipations?: ChatParticipantUncheckedCreateNestedManyWithoutUserInput + sentMessages?: ChatMessageUncheckedCreateNestedManyWithoutSenderInput + messageReactions?: MessageReactionUncheckedCreateNestedManyWithoutUserInput + pinnedMessages?: PinnedMessageUncheckedCreateNestedManyWithoutUserInput + hostedSessions?: VideoConferenceSessionUncheckedCreateNestedManyWithoutHostInput + videoParticipations?: VideoParticipantUncheckedCreateNestedManyWithoutUserInput + videoRecordings?: VideoRecordingUncheckedCreateNestedManyWithoutRecorderInput } - export type UserCreateOrConnectWithoutCreatedTasksInput = { + export type UserCreateOrConnectWithoutTimelogsInput = { where: UserWhereUniqueInput - create: XOR + create: XOR } - export type UserCreateWithoutAssignedTasksInput = { + export type TaskUpsertWithoutTimelogsInput = { + update: XOR + create: XOR + where?: TaskWhereInput + } + + export type TaskUpdateToOneWithWhereWithoutTimelogsInput = { + where?: TaskWhereInput + data: XOR + } + + export type TaskUpdateWithoutTimelogsInput = { + id?: StringFieldUpdateOperationsInput | string + title?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + priority?: EnumTaskPriorityFieldUpdateOperationsInput | $Enums.TaskPriority + status?: EnumTaskStatusFieldUpdateOperationsInput | $Enums.TaskStatus + rate?: NullableFloatFieldUpdateOperationsInput | number | null + dueDate?: DateTimeFieldUpdateOperationsInput | Date | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + estimatedTime?: NullableFloatFieldUpdateOperationsInput | number | null + actualTime?: NullableFloatFieldUpdateOperationsInput | number | null + order?: IntFieldUpdateOperationsInput | number + labels?: TaskUpdatelabelsInput | string[] + project?: ProjectUpdateOneRequiredWithoutTasksNestedInput + sprint?: SprintUpdateOneWithoutTasksNestedInput + creator?: UserUpdateOneRequiredWithoutCreatedTasksNestedInput + assignee?: UserUpdateOneWithoutAssignedTasksNestedInput + modifier?: UserUpdateOneWithoutModifiedTasksNestedInput + attachments?: TaskAttachmentUpdateManyWithoutTaskNestedInput + comments?: CommentUpdateManyWithoutTaskNestedInput + dependencies?: TaskDependencyUpdateManyWithoutDependentTaskNestedInput + dependentOn?: TaskDependencyUpdateManyWithoutTaskNestedInput + parent?: TaskUpdateOneWithoutSubtasksNestedInput + subtasks?: TaskUpdateManyWithoutParentNestedInput + activityLogs?: ActivityLogUpdateManyWithoutTaskNestedInput + } + + export type TaskUncheckedUpdateWithoutTimelogsInput = { + id?: StringFieldUpdateOperationsInput | string + title?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + priority?: EnumTaskPriorityFieldUpdateOperationsInput | $Enums.TaskPriority + status?: EnumTaskStatusFieldUpdateOperationsInput | $Enums.TaskStatus + rate?: NullableFloatFieldUpdateOperationsInput | number | null + projectId?: StringFieldUpdateOperationsInput | string + sprintId?: NullableStringFieldUpdateOperationsInput | string | null + createdBy?: StringFieldUpdateOperationsInput | string + assignedTo?: NullableStringFieldUpdateOperationsInput | string | null + dueDate?: DateTimeFieldUpdateOperationsInput | Date | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + estimatedTime?: NullableFloatFieldUpdateOperationsInput | number | null + actualTime?: NullableFloatFieldUpdateOperationsInput | number | null + parentId?: NullableStringFieldUpdateOperationsInput | string | null + order?: IntFieldUpdateOperationsInput | number + labels?: TaskUpdatelabelsInput | string[] + lastModifiedBy?: NullableStringFieldUpdateOperationsInput | string | null + attachments?: TaskAttachmentUncheckedUpdateManyWithoutTaskNestedInput + comments?: CommentUncheckedUpdateManyWithoutTaskNestedInput + dependencies?: TaskDependencyUncheckedUpdateManyWithoutDependentTaskNestedInput + dependentOn?: TaskDependencyUncheckedUpdateManyWithoutTaskNestedInput + subtasks?: TaskUncheckedUpdateManyWithoutParentNestedInput + activityLogs?: ActivityLogUncheckedUpdateManyWithoutTaskNestedInput + } + + export type UserUpsertWithoutTimelogsInput = { + update: XOR + create: XOR + where?: UserWhereInput + } + + export type UserUpdateToOneWithWhereWithoutTimelogsInput = { + where?: UserWhereInput + data: XOR + } + + export type UserUpdateWithoutTimelogsInput = { + id?: StringFieldUpdateOperationsInput | string + email?: StringFieldUpdateOperationsInput | string + username?: StringFieldUpdateOperationsInput | string + password?: StringFieldUpdateOperationsInput | string + firebaseUid?: NullableStringFieldUpdateOperationsInput | string | null + firstName?: StringFieldUpdateOperationsInput | string + lastName?: StringFieldUpdateOperationsInput | string + role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole + profilePic?: NullableStringFieldUpdateOperationsInput | string | null + isOwner?: BoolFieldUpdateOperationsInput | boolean + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + isActive?: BoolFieldUpdateOperationsInput | boolean + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + phoneNumber?: NullableStringFieldUpdateOperationsInput | string | null + jobTitle?: NullableStringFieldUpdateOperationsInput | string | null + timezone?: NullableStringFieldUpdateOperationsInput | string | null + bio?: NullableStringFieldUpdateOperationsInput | string | null + preferences?: NullableJsonNullValueInput | InputJsonValue + emailVerificationToken?: NullableStringFieldUpdateOperationsInput | string | null + emailVerificationExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + passwordResetToken?: NullableStringFieldUpdateOperationsInput | string | null + passwordResetExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + refreshToken?: NullableStringFieldUpdateOperationsInput | string | null + lastLogin?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + lastLogout?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + department?: DepartmentUpdateOneWithoutUsersNestedInput + organization?: OrganizationUpdateOneWithoutUsersNestedInput + createdOrganizations?: OrganizationUpdateManyWithoutCreatorNestedInput + ownedOrganizations?: OrganizationOwnerUpdateManyWithoutUserNestedInput + managedDepartments?: DepartmentUpdateManyWithoutManagerNestedInput + createdTeams?: TeamUpdateManyWithoutCreatorNestedInput + teamMemberships?: TeamMemberUpdateManyWithoutUserNestedInput + projectMemberships?: ProjectMemberUpdateManyWithoutUserNestedInput + createdProjects?: ProjectUpdateManyWithoutCreatorNestedInput + modifiedProjects?: ProjectUpdateManyWithoutModifierNestedInput + createdTasks?: TaskUpdateManyWithoutCreatorNestedInput + assignedTasks?: TaskUpdateManyWithoutAssigneeNestedInput + modifiedTasks?: TaskUpdateManyWithoutModifierNestedInput + notifications?: NotificationUpdateManyWithoutUserNestedInput + comments?: CommentUpdateManyWithoutUserNestedInput + taskAttachments?: TaskAttachmentUpdateManyWithoutUploaderNestedInput + generatedReports?: ReportUpdateManyWithoutGeneratorNestedInput + userReports?: ReportUpdateManyWithoutUserNestedInput + permissions?: PermissionUpdateManyWithoutUserNestedInput + activityLogs?: ActivityLogUpdateManyWithoutUserNestedInput + ReportNotification?: ReportNotificationUpdateManyWithoutUserNestedInput + chatParticipations?: ChatParticipantUpdateManyWithoutUserNestedInput + sentMessages?: ChatMessageUpdateManyWithoutSenderNestedInput + messageReactions?: MessageReactionUpdateManyWithoutUserNestedInput + pinnedMessages?: PinnedMessageUpdateManyWithoutUserNestedInput + hostedSessions?: VideoConferenceSessionUpdateManyWithoutHostNestedInput + videoParticipations?: VideoParticipantUpdateManyWithoutUserNestedInput + videoRecordings?: VideoRecordingUpdateManyWithoutRecorderNestedInput + } + + export type UserUncheckedUpdateWithoutTimelogsInput = { + id?: StringFieldUpdateOperationsInput | string + email?: StringFieldUpdateOperationsInput | string + username?: StringFieldUpdateOperationsInput | string + password?: StringFieldUpdateOperationsInput | string + firebaseUid?: NullableStringFieldUpdateOperationsInput | string | null + firstName?: StringFieldUpdateOperationsInput | string + lastName?: StringFieldUpdateOperationsInput | string + role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole + profilePic?: NullableStringFieldUpdateOperationsInput | string | null + departmentId?: NullableStringFieldUpdateOperationsInput | string | null + organizationId?: NullableStringFieldUpdateOperationsInput | string | null + isOwner?: BoolFieldUpdateOperationsInput | boolean + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + isActive?: BoolFieldUpdateOperationsInput | boolean + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + phoneNumber?: NullableStringFieldUpdateOperationsInput | string | null + jobTitle?: NullableStringFieldUpdateOperationsInput | string | null + timezone?: NullableStringFieldUpdateOperationsInput | string | null + bio?: NullableStringFieldUpdateOperationsInput | string | null + preferences?: NullableJsonNullValueInput | InputJsonValue + emailVerificationToken?: NullableStringFieldUpdateOperationsInput | string | null + emailVerificationExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + passwordResetToken?: NullableStringFieldUpdateOperationsInput | string | null + passwordResetExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + refreshToken?: NullableStringFieldUpdateOperationsInput | string | null + lastLogin?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + lastLogout?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + createdOrganizations?: OrganizationUncheckedUpdateManyWithoutCreatorNestedInput + ownedOrganizations?: OrganizationOwnerUncheckedUpdateManyWithoutUserNestedInput + managedDepartments?: DepartmentUncheckedUpdateManyWithoutManagerNestedInput + createdTeams?: TeamUncheckedUpdateManyWithoutCreatorNestedInput + teamMemberships?: TeamMemberUncheckedUpdateManyWithoutUserNestedInput + projectMemberships?: ProjectMemberUncheckedUpdateManyWithoutUserNestedInput + createdProjects?: ProjectUncheckedUpdateManyWithoutCreatorNestedInput + modifiedProjects?: ProjectUncheckedUpdateManyWithoutModifierNestedInput + createdTasks?: TaskUncheckedUpdateManyWithoutCreatorNestedInput + assignedTasks?: TaskUncheckedUpdateManyWithoutAssigneeNestedInput + modifiedTasks?: TaskUncheckedUpdateManyWithoutModifierNestedInput + notifications?: NotificationUncheckedUpdateManyWithoutUserNestedInput + comments?: CommentUncheckedUpdateManyWithoutUserNestedInput + taskAttachments?: TaskAttachmentUncheckedUpdateManyWithoutUploaderNestedInput + generatedReports?: ReportUncheckedUpdateManyWithoutGeneratorNestedInput + userReports?: ReportUncheckedUpdateManyWithoutUserNestedInput + permissions?: PermissionUncheckedUpdateManyWithoutUserNestedInput + activityLogs?: ActivityLogUncheckedUpdateManyWithoutUserNestedInput + ReportNotification?: ReportNotificationUncheckedUpdateManyWithoutUserNestedInput + chatParticipations?: ChatParticipantUncheckedUpdateManyWithoutUserNestedInput + sentMessages?: ChatMessageUncheckedUpdateManyWithoutSenderNestedInput + messageReactions?: MessageReactionUncheckedUpdateManyWithoutUserNestedInput + pinnedMessages?: PinnedMessageUncheckedUpdateManyWithoutUserNestedInput + hostedSessions?: VideoConferenceSessionUncheckedUpdateManyWithoutHostNestedInput + videoParticipations?: VideoParticipantUncheckedUpdateManyWithoutUserNestedInput + videoRecordings?: VideoRecordingUncheckedUpdateManyWithoutRecorderNestedInput + } + + export type TaskCreateWithoutCommentsInput = { + id?: string + title: string + description?: string | null + priority: $Enums.TaskPriority + status: $Enums.TaskStatus + rate?: number | null + dueDate: Date | string + createdAt?: Date | string + updatedAt?: Date | string + deletedAt?: Date | string | null + estimatedTime?: number | null + actualTime?: number | null + order?: number + labels?: TaskCreatelabelsInput | string[] + project: ProjectCreateNestedOneWithoutTasksInput + sprint?: SprintCreateNestedOneWithoutTasksInput + creator: UserCreateNestedOneWithoutCreatedTasksInput + assignee?: UserCreateNestedOneWithoutAssignedTasksInput + modifier?: UserCreateNestedOneWithoutModifiedTasksInput + attachments?: TaskAttachmentCreateNestedManyWithoutTaskInput + timelogs?: TimelogCreateNestedManyWithoutTaskInput + dependencies?: TaskDependencyCreateNestedManyWithoutDependentTaskInput + dependentOn?: TaskDependencyCreateNestedManyWithoutTaskInput + parent?: TaskCreateNestedOneWithoutSubtasksInput + subtasks?: TaskCreateNestedManyWithoutParentInput + activityLogs?: ActivityLogCreateNestedManyWithoutTaskInput + } + + export type TaskUncheckedCreateWithoutCommentsInput = { + id?: string + title: string + description?: string | null + priority: $Enums.TaskPriority + status: $Enums.TaskStatus + rate?: number | null + projectId: string + sprintId?: string | null + createdBy: string + assignedTo?: string | null + dueDate: Date | string + createdAt?: Date | string + updatedAt?: Date | string + deletedAt?: Date | string | null + estimatedTime?: number | null + actualTime?: number | null + parentId?: string | null + order?: number + labels?: TaskCreatelabelsInput | string[] + lastModifiedBy?: string | null + attachments?: TaskAttachmentUncheckedCreateNestedManyWithoutTaskInput + timelogs?: TimelogUncheckedCreateNestedManyWithoutTaskInput + dependencies?: TaskDependencyUncheckedCreateNestedManyWithoutDependentTaskInput + dependentOn?: TaskDependencyUncheckedCreateNestedManyWithoutTaskInput + subtasks?: TaskUncheckedCreateNestedManyWithoutParentInput + activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutTaskInput + } + + export type TaskCreateOrConnectWithoutCommentsInput = { + where: TaskWhereUniqueInput + create: XOR + } + + export type UserCreateWithoutCommentsInput = { id?: string email: string username: string @@ -45881,19 +64579,26 @@ export namespace Prisma { createdProjects?: ProjectCreateNestedManyWithoutCreatorInput modifiedProjects?: ProjectCreateNestedManyWithoutModifierInput createdTasks?: TaskCreateNestedManyWithoutCreatorInput + assignedTasks?: TaskCreateNestedManyWithoutAssigneeInput modifiedTasks?: TaskCreateNestedManyWithoutModifierInput notifications?: NotificationCreateNestedManyWithoutUserInput timelogs?: TimelogCreateNestedManyWithoutUserInput - comments?: CommentCreateNestedManyWithoutUserInput taskAttachments?: TaskAttachmentCreateNestedManyWithoutUploaderInput generatedReports?: ReportCreateNestedManyWithoutGeneratorInput userReports?: ReportCreateNestedManyWithoutUserInput permissions?: PermissionCreateNestedManyWithoutUserInput activityLogs?: ActivityLogCreateNestedManyWithoutUserInput ReportNotification?: ReportNotificationCreateNestedManyWithoutUserInput + chatParticipations?: ChatParticipantCreateNestedManyWithoutUserInput + sentMessages?: ChatMessageCreateNestedManyWithoutSenderInput + messageReactions?: MessageReactionCreateNestedManyWithoutUserInput + pinnedMessages?: PinnedMessageCreateNestedManyWithoutUserInput + hostedSessions?: VideoConferenceSessionCreateNestedManyWithoutHostInput + videoParticipations?: VideoParticipantCreateNestedManyWithoutUserInput + videoRecordings?: VideoRecordingCreateNestedManyWithoutRecorderInput } - export type UserUncheckedCreateWithoutAssignedTasksInput = { + export type UserUncheckedCreateWithoutCommentsInput = { id?: string email: string username: string @@ -45931,24 +64636,225 @@ export namespace Prisma { createdProjects?: ProjectUncheckedCreateNestedManyWithoutCreatorInput modifiedProjects?: ProjectUncheckedCreateNestedManyWithoutModifierInput createdTasks?: TaskUncheckedCreateNestedManyWithoutCreatorInput + assignedTasks?: TaskUncheckedCreateNestedManyWithoutAssigneeInput modifiedTasks?: TaskUncheckedCreateNestedManyWithoutModifierInput notifications?: NotificationUncheckedCreateNestedManyWithoutUserInput timelogs?: TimelogUncheckedCreateNestedManyWithoutUserInput - comments?: CommentUncheckedCreateNestedManyWithoutUserInput taskAttachments?: TaskAttachmentUncheckedCreateNestedManyWithoutUploaderInput generatedReports?: ReportUncheckedCreateNestedManyWithoutGeneratorInput userReports?: ReportUncheckedCreateNestedManyWithoutUserInput permissions?: PermissionUncheckedCreateNestedManyWithoutUserInput activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutUserInput ReportNotification?: ReportNotificationUncheckedCreateNestedManyWithoutUserInput + chatParticipations?: ChatParticipantUncheckedCreateNestedManyWithoutUserInput + sentMessages?: ChatMessageUncheckedCreateNestedManyWithoutSenderInput + messageReactions?: MessageReactionUncheckedCreateNestedManyWithoutUserInput + pinnedMessages?: PinnedMessageUncheckedCreateNestedManyWithoutUserInput + hostedSessions?: VideoConferenceSessionUncheckedCreateNestedManyWithoutHostInput + videoParticipations?: VideoParticipantUncheckedCreateNestedManyWithoutUserInput + videoRecordings?: VideoRecordingUncheckedCreateNestedManyWithoutRecorderInput } - export type UserCreateOrConnectWithoutAssignedTasksInput = { + export type UserCreateOrConnectWithoutCommentsInput = { where: UserWhereUniqueInput - create: XOR + create: XOR + } + + export type TaskUpsertWithoutCommentsInput = { + update: XOR + create: XOR + where?: TaskWhereInput + } + + export type TaskUpdateToOneWithWhereWithoutCommentsInput = { + where?: TaskWhereInput + data: XOR + } + + export type TaskUpdateWithoutCommentsInput = { + id?: StringFieldUpdateOperationsInput | string + title?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + priority?: EnumTaskPriorityFieldUpdateOperationsInput | $Enums.TaskPriority + status?: EnumTaskStatusFieldUpdateOperationsInput | $Enums.TaskStatus + rate?: NullableFloatFieldUpdateOperationsInput | number | null + dueDate?: DateTimeFieldUpdateOperationsInput | Date | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + estimatedTime?: NullableFloatFieldUpdateOperationsInput | number | null + actualTime?: NullableFloatFieldUpdateOperationsInput | number | null + order?: IntFieldUpdateOperationsInput | number + labels?: TaskUpdatelabelsInput | string[] + project?: ProjectUpdateOneRequiredWithoutTasksNestedInput + sprint?: SprintUpdateOneWithoutTasksNestedInput + creator?: UserUpdateOneRequiredWithoutCreatedTasksNestedInput + assignee?: UserUpdateOneWithoutAssignedTasksNestedInput + modifier?: UserUpdateOneWithoutModifiedTasksNestedInput + attachments?: TaskAttachmentUpdateManyWithoutTaskNestedInput + timelogs?: TimelogUpdateManyWithoutTaskNestedInput + dependencies?: TaskDependencyUpdateManyWithoutDependentTaskNestedInput + dependentOn?: TaskDependencyUpdateManyWithoutTaskNestedInput + parent?: TaskUpdateOneWithoutSubtasksNestedInput + subtasks?: TaskUpdateManyWithoutParentNestedInput + activityLogs?: ActivityLogUpdateManyWithoutTaskNestedInput + } + + export type TaskUncheckedUpdateWithoutCommentsInput = { + id?: StringFieldUpdateOperationsInput | string + title?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + priority?: EnumTaskPriorityFieldUpdateOperationsInput | $Enums.TaskPriority + status?: EnumTaskStatusFieldUpdateOperationsInput | $Enums.TaskStatus + rate?: NullableFloatFieldUpdateOperationsInput | number | null + projectId?: StringFieldUpdateOperationsInput | string + sprintId?: NullableStringFieldUpdateOperationsInput | string | null + createdBy?: StringFieldUpdateOperationsInput | string + assignedTo?: NullableStringFieldUpdateOperationsInput | string | null + dueDate?: DateTimeFieldUpdateOperationsInput | Date | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + estimatedTime?: NullableFloatFieldUpdateOperationsInput | number | null + actualTime?: NullableFloatFieldUpdateOperationsInput | number | null + parentId?: NullableStringFieldUpdateOperationsInput | string | null + order?: IntFieldUpdateOperationsInput | number + labels?: TaskUpdatelabelsInput | string[] + lastModifiedBy?: NullableStringFieldUpdateOperationsInput | string | null + attachments?: TaskAttachmentUncheckedUpdateManyWithoutTaskNestedInput + timelogs?: TimelogUncheckedUpdateManyWithoutTaskNestedInput + dependencies?: TaskDependencyUncheckedUpdateManyWithoutDependentTaskNestedInput + dependentOn?: TaskDependencyUncheckedUpdateManyWithoutTaskNestedInput + subtasks?: TaskUncheckedUpdateManyWithoutParentNestedInput + activityLogs?: ActivityLogUncheckedUpdateManyWithoutTaskNestedInput + } + + export type UserUpsertWithoutCommentsInput = { + update: XOR + create: XOR + where?: UserWhereInput + } + + export type UserUpdateToOneWithWhereWithoutCommentsInput = { + where?: UserWhereInput + data: XOR + } + + export type UserUpdateWithoutCommentsInput = { + id?: StringFieldUpdateOperationsInput | string + email?: StringFieldUpdateOperationsInput | string + username?: StringFieldUpdateOperationsInput | string + password?: StringFieldUpdateOperationsInput | string + firebaseUid?: NullableStringFieldUpdateOperationsInput | string | null + firstName?: StringFieldUpdateOperationsInput | string + lastName?: StringFieldUpdateOperationsInput | string + role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole + profilePic?: NullableStringFieldUpdateOperationsInput | string | null + isOwner?: BoolFieldUpdateOperationsInput | boolean + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + isActive?: BoolFieldUpdateOperationsInput | boolean + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + phoneNumber?: NullableStringFieldUpdateOperationsInput | string | null + jobTitle?: NullableStringFieldUpdateOperationsInput | string | null + timezone?: NullableStringFieldUpdateOperationsInput | string | null + bio?: NullableStringFieldUpdateOperationsInput | string | null + preferences?: NullableJsonNullValueInput | InputJsonValue + emailVerificationToken?: NullableStringFieldUpdateOperationsInput | string | null + emailVerificationExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + passwordResetToken?: NullableStringFieldUpdateOperationsInput | string | null + passwordResetExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + refreshToken?: NullableStringFieldUpdateOperationsInput | string | null + lastLogin?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + lastLogout?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + department?: DepartmentUpdateOneWithoutUsersNestedInput + organization?: OrganizationUpdateOneWithoutUsersNestedInput + createdOrganizations?: OrganizationUpdateManyWithoutCreatorNestedInput + ownedOrganizations?: OrganizationOwnerUpdateManyWithoutUserNestedInput + managedDepartments?: DepartmentUpdateManyWithoutManagerNestedInput + createdTeams?: TeamUpdateManyWithoutCreatorNestedInput + teamMemberships?: TeamMemberUpdateManyWithoutUserNestedInput + projectMemberships?: ProjectMemberUpdateManyWithoutUserNestedInput + createdProjects?: ProjectUpdateManyWithoutCreatorNestedInput + modifiedProjects?: ProjectUpdateManyWithoutModifierNestedInput + createdTasks?: TaskUpdateManyWithoutCreatorNestedInput + assignedTasks?: TaskUpdateManyWithoutAssigneeNestedInput + modifiedTasks?: TaskUpdateManyWithoutModifierNestedInput + notifications?: NotificationUpdateManyWithoutUserNestedInput + timelogs?: TimelogUpdateManyWithoutUserNestedInput + taskAttachments?: TaskAttachmentUpdateManyWithoutUploaderNestedInput + generatedReports?: ReportUpdateManyWithoutGeneratorNestedInput + userReports?: ReportUpdateManyWithoutUserNestedInput + permissions?: PermissionUpdateManyWithoutUserNestedInput + activityLogs?: ActivityLogUpdateManyWithoutUserNestedInput + ReportNotification?: ReportNotificationUpdateManyWithoutUserNestedInput + chatParticipations?: ChatParticipantUpdateManyWithoutUserNestedInput + sentMessages?: ChatMessageUpdateManyWithoutSenderNestedInput + messageReactions?: MessageReactionUpdateManyWithoutUserNestedInput + pinnedMessages?: PinnedMessageUpdateManyWithoutUserNestedInput + hostedSessions?: VideoConferenceSessionUpdateManyWithoutHostNestedInput + videoParticipations?: VideoParticipantUpdateManyWithoutUserNestedInput + videoRecordings?: VideoRecordingUpdateManyWithoutRecorderNestedInput + } + + export type UserUncheckedUpdateWithoutCommentsInput = { + id?: StringFieldUpdateOperationsInput | string + email?: StringFieldUpdateOperationsInput | string + username?: StringFieldUpdateOperationsInput | string + password?: StringFieldUpdateOperationsInput | string + firebaseUid?: NullableStringFieldUpdateOperationsInput | string | null + firstName?: StringFieldUpdateOperationsInput | string + lastName?: StringFieldUpdateOperationsInput | string + role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole + profilePic?: NullableStringFieldUpdateOperationsInput | string | null + departmentId?: NullableStringFieldUpdateOperationsInput | string | null + organizationId?: NullableStringFieldUpdateOperationsInput | string | null + isOwner?: BoolFieldUpdateOperationsInput | boolean + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + isActive?: BoolFieldUpdateOperationsInput | boolean + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + phoneNumber?: NullableStringFieldUpdateOperationsInput | string | null + jobTitle?: NullableStringFieldUpdateOperationsInput | string | null + timezone?: NullableStringFieldUpdateOperationsInput | string | null + bio?: NullableStringFieldUpdateOperationsInput | string | null + preferences?: NullableJsonNullValueInput | InputJsonValue + emailVerificationToken?: NullableStringFieldUpdateOperationsInput | string | null + emailVerificationExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + passwordResetToken?: NullableStringFieldUpdateOperationsInput | string | null + passwordResetExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + refreshToken?: NullableStringFieldUpdateOperationsInput | string | null + lastLogin?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + lastLogout?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + createdOrganizations?: OrganizationUncheckedUpdateManyWithoutCreatorNestedInput + ownedOrganizations?: OrganizationOwnerUncheckedUpdateManyWithoutUserNestedInput + managedDepartments?: DepartmentUncheckedUpdateManyWithoutManagerNestedInput + createdTeams?: TeamUncheckedUpdateManyWithoutCreatorNestedInput + teamMemberships?: TeamMemberUncheckedUpdateManyWithoutUserNestedInput + projectMemberships?: ProjectMemberUncheckedUpdateManyWithoutUserNestedInput + createdProjects?: ProjectUncheckedUpdateManyWithoutCreatorNestedInput + modifiedProjects?: ProjectUncheckedUpdateManyWithoutModifierNestedInput + createdTasks?: TaskUncheckedUpdateManyWithoutCreatorNestedInput + assignedTasks?: TaskUncheckedUpdateManyWithoutAssigneeNestedInput + modifiedTasks?: TaskUncheckedUpdateManyWithoutModifierNestedInput + notifications?: NotificationUncheckedUpdateManyWithoutUserNestedInput + timelogs?: TimelogUncheckedUpdateManyWithoutUserNestedInput + taskAttachments?: TaskAttachmentUncheckedUpdateManyWithoutUploaderNestedInput + generatedReports?: ReportUncheckedUpdateManyWithoutGeneratorNestedInput + userReports?: ReportUncheckedUpdateManyWithoutUserNestedInput + permissions?: PermissionUncheckedUpdateManyWithoutUserNestedInput + activityLogs?: ActivityLogUncheckedUpdateManyWithoutUserNestedInput + ReportNotification?: ReportNotificationUncheckedUpdateManyWithoutUserNestedInput + chatParticipations?: ChatParticipantUncheckedUpdateManyWithoutUserNestedInput + sentMessages?: ChatMessageUncheckedUpdateManyWithoutSenderNestedInput + messageReactions?: MessageReactionUncheckedUpdateManyWithoutUserNestedInput + pinnedMessages?: PinnedMessageUncheckedUpdateManyWithoutUserNestedInput + hostedSessions?: VideoConferenceSessionUncheckedUpdateManyWithoutHostNestedInput + videoParticipations?: VideoParticipantUncheckedUpdateManyWithoutUserNestedInput + videoRecordings?: VideoRecordingUncheckedUpdateManyWithoutRecorderNestedInput } - export type UserCreateWithoutModifiedTasksInput = { + export type UserCreateWithoutActivityLogsInput = { id?: string email: string username: string @@ -45987,6 +64893,7 @@ export namespace Prisma { modifiedProjects?: ProjectCreateNestedManyWithoutModifierInput createdTasks?: TaskCreateNestedManyWithoutCreatorInput assignedTasks?: TaskCreateNestedManyWithoutAssigneeInput + modifiedTasks?: TaskCreateNestedManyWithoutModifierInput notifications?: NotificationCreateNestedManyWithoutUserInput timelogs?: TimelogCreateNestedManyWithoutUserInput comments?: CommentCreateNestedManyWithoutUserInput @@ -45994,11 +64901,17 @@ export namespace Prisma { generatedReports?: ReportCreateNestedManyWithoutGeneratorInput userReports?: ReportCreateNestedManyWithoutUserInput permissions?: PermissionCreateNestedManyWithoutUserInput - activityLogs?: ActivityLogCreateNestedManyWithoutUserInput ReportNotification?: ReportNotificationCreateNestedManyWithoutUserInput + chatParticipations?: ChatParticipantCreateNestedManyWithoutUserInput + sentMessages?: ChatMessageCreateNestedManyWithoutSenderInput + messageReactions?: MessageReactionCreateNestedManyWithoutUserInput + pinnedMessages?: PinnedMessageCreateNestedManyWithoutUserInput + hostedSessions?: VideoConferenceSessionCreateNestedManyWithoutHostInput + videoParticipations?: VideoParticipantCreateNestedManyWithoutUserInput + videoRecordings?: VideoRecordingCreateNestedManyWithoutRecorderInput } - export type UserUncheckedCreateWithoutModifiedTasksInput = { + export type UserUncheckedCreateWithoutActivityLogsInput = { id?: string email: string username: string @@ -46037,6 +64950,7 @@ export namespace Prisma { modifiedProjects?: ProjectUncheckedCreateNestedManyWithoutModifierInput createdTasks?: TaskUncheckedCreateNestedManyWithoutCreatorInput assignedTasks?: TaskUncheckedCreateNestedManyWithoutAssigneeInput + modifiedTasks?: TaskUncheckedCreateNestedManyWithoutModifierInput notifications?: NotificationUncheckedCreateNestedManyWithoutUserInput timelogs?: TimelogUncheckedCreateNestedManyWithoutUserInput comments?: CommentUncheckedCreateNestedManyWithoutUserInput @@ -46044,252 +64958,241 @@ export namespace Prisma { generatedReports?: ReportUncheckedCreateNestedManyWithoutGeneratorInput userReports?: ReportUncheckedCreateNestedManyWithoutUserInput permissions?: PermissionUncheckedCreateNestedManyWithoutUserInput - activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutUserInput ReportNotification?: ReportNotificationUncheckedCreateNestedManyWithoutUserInput + chatParticipations?: ChatParticipantUncheckedCreateNestedManyWithoutUserInput + sentMessages?: ChatMessageUncheckedCreateNestedManyWithoutSenderInput + messageReactions?: MessageReactionUncheckedCreateNestedManyWithoutUserInput + pinnedMessages?: PinnedMessageUncheckedCreateNestedManyWithoutUserInput + hostedSessions?: VideoConferenceSessionUncheckedCreateNestedManyWithoutHostInput + videoParticipations?: VideoParticipantUncheckedCreateNestedManyWithoutUserInput + videoRecordings?: VideoRecordingUncheckedCreateNestedManyWithoutRecorderInput } - export type UserCreateOrConnectWithoutModifiedTasksInput = { + export type UserCreateOrConnectWithoutActivityLogsInput = { where: UserWhereUniqueInput - create: XOR - } - - export type TaskAttachmentCreateWithoutTaskInput = { - id?: string - fileName: string - fileType: string - filePath: string - fileSize: number - createdAt?: Date | string - storageProvider?: string | null - storageKey: string - uploader: UserCreateNestedOneWithoutTaskAttachmentsInput - } - - export type TaskAttachmentUncheckedCreateWithoutTaskInput = { - id?: string - fileName: string - fileType: string - filePath: string - fileSize: number - uploadedBy: string - createdAt?: Date | string - storageProvider?: string | null - storageKey: string - } - - export type TaskAttachmentCreateOrConnectWithoutTaskInput = { - where: TaskAttachmentWhereUniqueInput - create: XOR - } - - export type TaskAttachmentCreateManyTaskInputEnvelope = { - data: TaskAttachmentCreateManyTaskInput | TaskAttachmentCreateManyTaskInput[] - skipDuplicates?: boolean + create: XOR } - export type CommentCreateWithoutTaskInput = { + export type OrganizationCreateWithoutActivityLogsInput = { id?: string - content: string + name: string + description?: string | null + industry: string + sizeRange: string + website?: string | null + logoUrl?: string | null + isVerified?: boolean + status: string createdAt?: Date | string updatedAt?: Date | string - user: UserCreateNestedOneWithoutCommentsInput + deletedAt?: Date | string | null + address?: string | null + contactEmail?: string | null + contactPhone?: string | null + emailVerificationOTP?: string | null + emailVerificationExpires?: Date | string | null + creator: UserCreateNestedOneWithoutCreatedOrganizationsInput + departments?: DepartmentCreateNestedManyWithoutOrganizationInput + teams?: TeamCreateNestedManyWithoutOrganizationInput + projects?: ProjectCreateNestedManyWithoutOrganizationInput + users?: UserCreateNestedManyWithoutOrganizationInput + reports?: ReportCreateNestedManyWithoutOrganizationInput + owners?: OrganizationOwnerCreateNestedManyWithoutOrganizationInput + templates?: TaskTemplateCreateNestedManyWithoutOrganizationInput } - export type CommentUncheckedCreateWithoutTaskInput = { + export type OrganizationUncheckedCreateWithoutActivityLogsInput = { id?: string - userId: string - content: string + name: string + description?: string | null + industry: string + sizeRange: string + website?: string | null + logoUrl?: string | null + isVerified?: boolean + status: string createdAt?: Date | string updatedAt?: Date | string + deletedAt?: Date | string | null + createdBy: string + address?: string | null + contactEmail?: string | null + contactPhone?: string | null + emailVerificationOTP?: string | null + emailVerificationExpires?: Date | string | null + departments?: DepartmentUncheckedCreateNestedManyWithoutOrganizationInput + teams?: TeamUncheckedCreateNestedManyWithoutOrganizationInput + projects?: ProjectUncheckedCreateNestedManyWithoutOrganizationInput + users?: UserUncheckedCreateNestedManyWithoutOrganizationInput + reports?: ReportUncheckedCreateNestedManyWithoutOrganizationInput + owners?: OrganizationOwnerUncheckedCreateNestedManyWithoutOrganizationInput + templates?: TaskTemplateUncheckedCreateNestedManyWithoutOrganizationInput } - export type CommentCreateOrConnectWithoutTaskInput = { - where: CommentWhereUniqueInput - create: XOR - } - - export type CommentCreateManyTaskInputEnvelope = { - data: CommentCreateManyTaskInput | CommentCreateManyTaskInput[] - skipDuplicates?: boolean - } - - export type TimelogCreateWithoutTaskInput = { - id?: string - startTime: Date | string - endTime: Date | string - description?: string | null - user: UserCreateNestedOneWithoutTimelogsInput - } - - export type TimelogUncheckedCreateWithoutTaskInput = { - id?: string - userId: string - startTime: Date | string - endTime: Date | string - description?: string | null - } - - export type TimelogCreateOrConnectWithoutTaskInput = { - where: TimelogWhereUniqueInput - create: XOR - } - - export type TimelogCreateManyTaskInputEnvelope = { - data: TimelogCreateManyTaskInput | TimelogCreateManyTaskInput[] - skipDuplicates?: boolean + export type OrganizationCreateOrConnectWithoutActivityLogsInput = { + where: OrganizationWhereUniqueInput + create: XOR } - export type TaskDependencyCreateWithoutDependentTaskInput = { + export type DepartmentCreateWithoutActivityLogsInput = { id?: string - dependencyType: $Enums.DependencyType + name: string description?: string | null - task: TaskCreateNestedOneWithoutDependentOnInput + createdAt?: Date | string + updatedAt?: Date | string + deletedAt?: Date | string | null + organization: OrganizationCreateNestedOneWithoutDepartmentsInput + manager: UserCreateNestedOneWithoutManagedDepartmentsInput + teams?: TeamCreateNestedManyWithoutDepartmentInput + users?: UserCreateNestedManyWithoutDepartmentInput + Report?: ReportCreateNestedManyWithoutDepartmentInput } - export type TaskDependencyUncheckedCreateWithoutDependentTaskInput = { + export type DepartmentUncheckedCreateWithoutActivityLogsInput = { id?: string - taskId: string - dependencyType: $Enums.DependencyType + name: string description?: string | null + organizationId: string + managerId: string + createdAt?: Date | string + updatedAt?: Date | string + deletedAt?: Date | string | null + teams?: TeamUncheckedCreateNestedManyWithoutDepartmentInput + users?: UserUncheckedCreateNestedManyWithoutDepartmentInput + Report?: ReportUncheckedCreateNestedManyWithoutDepartmentInput } - export type TaskDependencyCreateOrConnectWithoutDependentTaskInput = { - where: TaskDependencyWhereUniqueInput - create: XOR - } - - export type TaskDependencyCreateManyDependentTaskInputEnvelope = { - data: TaskDependencyCreateManyDependentTaskInput | TaskDependencyCreateManyDependentTaskInput[] - skipDuplicates?: boolean + export type DepartmentCreateOrConnectWithoutActivityLogsInput = { + where: DepartmentWhereUniqueInput + create: XOR } - export type TaskDependencyCreateWithoutTaskInput = { + export type ProjectCreateWithoutActivityLogsInput = { id?: string - dependencyType: $Enums.DependencyType + name: string description?: string | null - dependentTask: TaskCreateNestedOneWithoutDependenciesInput + status: string + startDate: Date | string + endDate: Date | string + createdAt?: Date | string + updatedAt?: Date | string + deletedAt?: Date | string | null + priority?: $Enums.TaskPriority + progress?: number | null + budget?: number | null + creator: UserCreateNestedOneWithoutCreatedProjectsInput + modifier?: UserCreateNestedOneWithoutModifiedProjectsInput + organization: OrganizationCreateNestedOneWithoutProjectsInput + team: TeamCreateNestedOneWithoutProjectsInput + sprints?: SprintCreateNestedManyWithoutProjectInput + tasks?: TaskCreateNestedManyWithoutProjectInput + reports?: ReportCreateNestedManyWithoutProjectInput + ProjectMember?: ProjectMemberCreateNestedManyWithoutProjectInput } - export type TaskDependencyUncheckedCreateWithoutTaskInput = { + export type ProjectUncheckedCreateWithoutActivityLogsInput = { id?: string - dependentTaskId: string - dependencyType: $Enums.DependencyType + name: string description?: string | null + status: string + createdBy: string + organizationId: string + teamId: string + startDate: Date | string + endDate: Date | string + createdAt?: Date | string + updatedAt?: Date | string + deletedAt?: Date | string | null + priority?: $Enums.TaskPriority + progress?: number | null + budget?: number | null + lastModifiedBy?: string | null + sprints?: SprintUncheckedCreateNestedManyWithoutProjectInput + tasks?: TaskUncheckedCreateNestedManyWithoutProjectInput + reports?: ReportUncheckedCreateNestedManyWithoutProjectInput + ProjectMember?: ProjectMemberUncheckedCreateNestedManyWithoutProjectInput } - export type TaskDependencyCreateOrConnectWithoutTaskInput = { - where: TaskDependencyWhereUniqueInput - create: XOR - } - - export type TaskDependencyCreateManyTaskInputEnvelope = { - data: TaskDependencyCreateManyTaskInput | TaskDependencyCreateManyTaskInput[] - skipDuplicates?: boolean + export type ProjectCreateOrConnectWithoutActivityLogsInput = { + where: ProjectWhereUniqueInput + create: XOR } - export type TaskCreateWithoutSubtasksInput = { + export type TeamCreateWithoutActivityLogsInput = { id?: string - title: string + name: string description?: string | null - priority: $Enums.TaskPriority - status: $Enums.TaskStatus - rate?: number | null - dueDate: Date | string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null - estimatedTime?: number | null - actualTime?: number | null - order?: number - labels?: TaskCreatelabelsInput | string[] - project: ProjectCreateNestedOneWithoutTasksInput - sprint?: SprintCreateNestedOneWithoutTasksInput - creator: UserCreateNestedOneWithoutCreatedTasksInput - assignee?: UserCreateNestedOneWithoutAssignedTasksInput - modifier?: UserCreateNestedOneWithoutModifiedTasksInput - attachments?: TaskAttachmentCreateNestedManyWithoutTaskInput - comments?: CommentCreateNestedManyWithoutTaskInput - timelogs?: TimelogCreateNestedManyWithoutTaskInput - dependencies?: TaskDependencyCreateNestedManyWithoutDependentTaskInput - dependentOn?: TaskDependencyCreateNestedManyWithoutTaskInput - parent?: TaskCreateNestedOneWithoutSubtasksInput - activityLogs?: ActivityLogCreateNestedManyWithoutTaskInput + avatar?: string | null + creator: UserCreateNestedOneWithoutCreatedTeamsInput + organization: OrganizationCreateNestedOneWithoutTeamsInput + department?: DepartmentCreateNestedOneWithoutTeamsInput + members?: TeamMemberCreateNestedManyWithoutTeamInput + projects?: ProjectCreateNestedManyWithoutTeamInput + reports?: ReportCreateNestedManyWithoutTeamInput } - export type TaskUncheckedCreateWithoutSubtasksInput = { + export type TeamUncheckedCreateWithoutActivityLogsInput = { id?: string - title: string + name: string description?: string | null - priority: $Enums.TaskPriority - status: $Enums.TaskStatus - rate?: number | null - projectId: string - sprintId?: string | null createdBy: string - assignedTo?: string | null - dueDate: Date | string + organizationId: string + departmentId?: string | null createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null - estimatedTime?: number | null - actualTime?: number | null - parentId?: string | null - order?: number - labels?: TaskCreatelabelsInput | string[] - lastModifiedBy?: string | null - attachments?: TaskAttachmentUncheckedCreateNestedManyWithoutTaskInput - comments?: CommentUncheckedCreateNestedManyWithoutTaskInput - timelogs?: TimelogUncheckedCreateNestedManyWithoutTaskInput - dependencies?: TaskDependencyUncheckedCreateNestedManyWithoutDependentTaskInput - dependentOn?: TaskDependencyUncheckedCreateNestedManyWithoutTaskInput - activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutTaskInput + avatar?: string | null + members?: TeamMemberUncheckedCreateNestedManyWithoutTeamInput + projects?: ProjectUncheckedCreateNestedManyWithoutTeamInput + reports?: ReportUncheckedCreateNestedManyWithoutTeamInput } - export type TaskCreateOrConnectWithoutSubtasksInput = { - where: TaskWhereUniqueInput - create: XOR + export type TeamCreateOrConnectWithoutActivityLogsInput = { + where: TeamWhereUniqueInput + create: XOR } - export type TaskCreateWithoutParentInput = { + export type SprintCreateWithoutActivityLogsInput = { id?: string - title: string + name: string description?: string | null - priority: $Enums.TaskPriority - status: $Enums.TaskStatus - rate?: number | null - dueDate: Date | string - createdAt?: Date | string - updatedAt?: Date | string - deletedAt?: Date | string | null - estimatedTime?: number | null - actualTime?: number | null + startDate: Date | string + endDate: Date | string + status: string + goal?: string | null order?: number - labels?: TaskCreatelabelsInput | string[] - project: ProjectCreateNestedOneWithoutTasksInput - sprint?: SprintCreateNestedOneWithoutTasksInput - creator: UserCreateNestedOneWithoutCreatedTasksInput - assignee?: UserCreateNestedOneWithoutAssignedTasksInput - modifier?: UserCreateNestedOneWithoutModifiedTasksInput - attachments?: TaskAttachmentCreateNestedManyWithoutTaskInput - comments?: CommentCreateNestedManyWithoutTaskInput - timelogs?: TimelogCreateNestedManyWithoutTaskInput - dependencies?: TaskDependencyCreateNestedManyWithoutDependentTaskInput - dependentOn?: TaskDependencyCreateNestedManyWithoutTaskInput - subtasks?: TaskCreateNestedManyWithoutParentInput - activityLogs?: ActivityLogCreateNestedManyWithoutTaskInput + project: ProjectCreateNestedOneWithoutSprintsInput + tasks?: TaskCreateNestedManyWithoutSprintInput } - export type TaskUncheckedCreateWithoutParentInput = { + export type SprintUncheckedCreateWithoutActivityLogsInput = { + id?: string + projectId: string + name: string + description?: string | null + startDate: Date | string + endDate: Date | string + status: string + goal?: string | null + order?: number + tasks?: TaskUncheckedCreateNestedManyWithoutSprintInput + } + + export type SprintCreateOrConnectWithoutActivityLogsInput = { + where: SprintWhereUniqueInput + create: XOR + } + + export type TaskCreateWithoutActivityLogsInput = { id?: string title: string description?: string | null priority: $Enums.TaskPriority status: $Enums.TaskStatus rate?: number | null - projectId: string - sprintId?: string | null - createdBy: string - assignedTo?: string | null dueDate: Date | string createdAt?: Date | string updatedAt?: Date | string @@ -46298,170 +65201,66 @@ export namespace Prisma { actualTime?: number | null order?: number labels?: TaskCreatelabelsInput | string[] - lastModifiedBy?: string | null - attachments?: TaskAttachmentUncheckedCreateNestedManyWithoutTaskInput - comments?: CommentUncheckedCreateNestedManyWithoutTaskInput - timelogs?: TimelogUncheckedCreateNestedManyWithoutTaskInput - dependencies?: TaskDependencyUncheckedCreateNestedManyWithoutDependentTaskInput - dependentOn?: TaskDependencyUncheckedCreateNestedManyWithoutTaskInput - subtasks?: TaskUncheckedCreateNestedManyWithoutParentInput - activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutTaskInput - } - - export type TaskCreateOrConnectWithoutParentInput = { - where: TaskWhereUniqueInput - create: XOR - } - - export type TaskCreateManyParentInputEnvelope = { - data: TaskCreateManyParentInput | TaskCreateManyParentInput[] - skipDuplicates?: boolean - } - - export type ActivityLogCreateWithoutTaskInput = { - id?: string - entityType: $Enums.EntityType - action: $Enums.ActionType - details?: NullableJsonNullValueInput | InputJsonValue - createdAt?: Date | string - user: UserCreateNestedOneWithoutActivityLogsInput - organization?: OrganizationCreateNestedOneWithoutActivityLogsInput - department?: DepartmentCreateNestedOneWithoutActivityLogsInput - project?: ProjectCreateNestedOneWithoutActivityLogsInput - team?: TeamCreateNestedOneWithoutActivityLogsInput - sprint?: SprintCreateNestedOneWithoutActivityLogsInput - } - - export type ActivityLogUncheckedCreateWithoutTaskInput = { - id?: string - entityType: $Enums.EntityType - action: $Enums.ActionType - userId: string - organizationId?: string | null - departmentId?: string | null - projectId?: string | null - teamId?: string | null - sprintId?: string | null - details?: NullableJsonNullValueInput | InputJsonValue - createdAt?: Date | string - } - - export type ActivityLogCreateOrConnectWithoutTaskInput = { - where: ActivityLogWhereUniqueInput - create: XOR - } - - export type ActivityLogCreateManyTaskInputEnvelope = { - data: ActivityLogCreateManyTaskInput | ActivityLogCreateManyTaskInput[] - skipDuplicates?: boolean - } - - export type ProjectUpsertWithoutTasksInput = { - update: XOR - create: XOR - where?: ProjectWhereInput - } - - export type ProjectUpdateToOneWithWhereWithoutTasksInput = { - where?: ProjectWhereInput - data: XOR - } - - export type ProjectUpdateWithoutTasksInput = { - id?: StringFieldUpdateOperationsInput | string - name?: StringFieldUpdateOperationsInput | string - description?: NullableStringFieldUpdateOperationsInput | string | null - status?: StringFieldUpdateOperationsInput | string - startDate?: DateTimeFieldUpdateOperationsInput | Date | string - endDate?: DateTimeFieldUpdateOperationsInput | Date | string - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string - deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - priority?: EnumTaskPriorityFieldUpdateOperationsInput | $Enums.TaskPriority - progress?: NullableFloatFieldUpdateOperationsInput | number | null - budget?: NullableFloatFieldUpdateOperationsInput | number | null - creator?: UserUpdateOneRequiredWithoutCreatedProjectsNestedInput - modifier?: UserUpdateOneWithoutModifiedProjectsNestedInput - organization?: OrganizationUpdateOneRequiredWithoutProjectsNestedInput - team?: TeamUpdateOneRequiredWithoutProjectsNestedInput - sprints?: SprintUpdateManyWithoutProjectNestedInput - reports?: ReportUpdateManyWithoutProjectNestedInput - activityLogs?: ActivityLogUpdateManyWithoutProjectNestedInput - ProjectMember?: ProjectMemberUpdateManyWithoutProjectNestedInput - } - - export type ProjectUncheckedUpdateWithoutTasksInput = { - id?: StringFieldUpdateOperationsInput | string - name?: StringFieldUpdateOperationsInput | string - description?: NullableStringFieldUpdateOperationsInput | string | null - status?: StringFieldUpdateOperationsInput | string - createdBy?: StringFieldUpdateOperationsInput | string - organizationId?: StringFieldUpdateOperationsInput | string - teamId?: StringFieldUpdateOperationsInput | string - startDate?: DateTimeFieldUpdateOperationsInput | Date | string - endDate?: DateTimeFieldUpdateOperationsInput | Date | string - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string - deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - priority?: EnumTaskPriorityFieldUpdateOperationsInput | $Enums.TaskPriority - progress?: NullableFloatFieldUpdateOperationsInput | number | null - budget?: NullableFloatFieldUpdateOperationsInput | number | null - lastModifiedBy?: NullableStringFieldUpdateOperationsInput | string | null - sprints?: SprintUncheckedUpdateManyWithoutProjectNestedInput - reports?: ReportUncheckedUpdateManyWithoutProjectNestedInput - activityLogs?: ActivityLogUncheckedUpdateManyWithoutProjectNestedInput - ProjectMember?: ProjectMemberUncheckedUpdateManyWithoutProjectNestedInput - } - - export type SprintUpsertWithoutTasksInput = { - update: XOR - create: XOR - where?: SprintWhereInput - } - - export type SprintUpdateToOneWithWhereWithoutTasksInput = { - where?: SprintWhereInput - data: XOR + project: ProjectCreateNestedOneWithoutTasksInput + sprint?: SprintCreateNestedOneWithoutTasksInput + creator: UserCreateNestedOneWithoutCreatedTasksInput + assignee?: UserCreateNestedOneWithoutAssignedTasksInput + modifier?: UserCreateNestedOneWithoutModifiedTasksInput + attachments?: TaskAttachmentCreateNestedManyWithoutTaskInput + comments?: CommentCreateNestedManyWithoutTaskInput + timelogs?: TimelogCreateNestedManyWithoutTaskInput + dependencies?: TaskDependencyCreateNestedManyWithoutDependentTaskInput + dependentOn?: TaskDependencyCreateNestedManyWithoutTaskInput + parent?: TaskCreateNestedOneWithoutSubtasksInput + subtasks?: TaskCreateNestedManyWithoutParentInput } - export type SprintUpdateWithoutTasksInput = { - id?: StringFieldUpdateOperationsInput | string - name?: StringFieldUpdateOperationsInput | string - description?: NullableStringFieldUpdateOperationsInput | string | null - startDate?: DateTimeFieldUpdateOperationsInput | Date | string - endDate?: DateTimeFieldUpdateOperationsInput | Date | string - status?: StringFieldUpdateOperationsInput | string - goal?: NullableStringFieldUpdateOperationsInput | string | null - order?: IntFieldUpdateOperationsInput | number - project?: ProjectUpdateOneRequiredWithoutSprintsNestedInput - activityLogs?: ActivityLogUpdateManyWithoutSprintNestedInput + export type TaskUncheckedCreateWithoutActivityLogsInput = { + id?: string + title: string + description?: string | null + priority: $Enums.TaskPriority + status: $Enums.TaskStatus + rate?: number | null + projectId: string + sprintId?: string | null + createdBy: string + assignedTo?: string | null + dueDate: Date | string + createdAt?: Date | string + updatedAt?: Date | string + deletedAt?: Date | string | null + estimatedTime?: number | null + actualTime?: number | null + parentId?: string | null + order?: number + labels?: TaskCreatelabelsInput | string[] + lastModifiedBy?: string | null + attachments?: TaskAttachmentUncheckedCreateNestedManyWithoutTaskInput + comments?: CommentUncheckedCreateNestedManyWithoutTaskInput + timelogs?: TimelogUncheckedCreateNestedManyWithoutTaskInput + dependencies?: TaskDependencyUncheckedCreateNestedManyWithoutDependentTaskInput + dependentOn?: TaskDependencyUncheckedCreateNestedManyWithoutTaskInput + subtasks?: TaskUncheckedCreateNestedManyWithoutParentInput } - export type SprintUncheckedUpdateWithoutTasksInput = { - id?: StringFieldUpdateOperationsInput | string - projectId?: StringFieldUpdateOperationsInput | string - name?: StringFieldUpdateOperationsInput | string - description?: NullableStringFieldUpdateOperationsInput | string | null - startDate?: DateTimeFieldUpdateOperationsInput | Date | string - endDate?: DateTimeFieldUpdateOperationsInput | Date | string - status?: StringFieldUpdateOperationsInput | string - goal?: NullableStringFieldUpdateOperationsInput | string | null - order?: IntFieldUpdateOperationsInput | number - activityLogs?: ActivityLogUncheckedUpdateManyWithoutSprintNestedInput + export type TaskCreateOrConnectWithoutActivityLogsInput = { + where: TaskWhereUniqueInput + create: XOR } - export type UserUpsertWithoutCreatedTasksInput = { - update: XOR - create: XOR + export type UserUpsertWithoutActivityLogsInput = { + update: XOR + create: XOR where?: UserWhereInput } - export type UserUpdateToOneWithWhereWithoutCreatedTasksInput = { + export type UserUpdateToOneWithWhereWithoutActivityLogsInput = { where?: UserWhereInput - data: XOR + data: XOR } - export type UserUpdateWithoutCreatedTasksInput = { + export type UserUpdateWithoutActivityLogsInput = { id?: StringFieldUpdateOperationsInput | string email?: StringFieldUpdateOperationsInput | string username?: StringFieldUpdateOperationsInput | string @@ -46498,6 +65297,7 @@ export namespace Prisma { projectMemberships?: ProjectMemberUpdateManyWithoutUserNestedInput createdProjects?: ProjectUpdateManyWithoutCreatorNestedInput modifiedProjects?: ProjectUpdateManyWithoutModifierNestedInput + createdTasks?: TaskUpdateManyWithoutCreatorNestedInput assignedTasks?: TaskUpdateManyWithoutAssigneeNestedInput modifiedTasks?: TaskUpdateManyWithoutModifierNestedInput notifications?: NotificationUpdateManyWithoutUserNestedInput @@ -46507,11 +65307,17 @@ export namespace Prisma { generatedReports?: ReportUpdateManyWithoutGeneratorNestedInput userReports?: ReportUpdateManyWithoutUserNestedInput permissions?: PermissionUpdateManyWithoutUserNestedInput - activityLogs?: ActivityLogUpdateManyWithoutUserNestedInput ReportNotification?: ReportNotificationUpdateManyWithoutUserNestedInput + chatParticipations?: ChatParticipantUpdateManyWithoutUserNestedInput + sentMessages?: ChatMessageUpdateManyWithoutSenderNestedInput + messageReactions?: MessageReactionUpdateManyWithoutUserNestedInput + pinnedMessages?: PinnedMessageUpdateManyWithoutUserNestedInput + hostedSessions?: VideoConferenceSessionUpdateManyWithoutHostNestedInput + videoParticipations?: VideoParticipantUpdateManyWithoutUserNestedInput + videoRecordings?: VideoRecordingUpdateManyWithoutRecorderNestedInput } - export type UserUncheckedUpdateWithoutCreatedTasksInput = { + export type UserUncheckedUpdateWithoutActivityLogsInput = { id?: StringFieldUpdateOperationsInput | string email?: StringFieldUpdateOperationsInput | string username?: StringFieldUpdateOperationsInput | string @@ -46548,6 +65354,7 @@ export namespace Prisma { projectMemberships?: ProjectMemberUncheckedUpdateManyWithoutUserNestedInput createdProjects?: ProjectUncheckedUpdateManyWithoutCreatorNestedInput modifiedProjects?: ProjectUncheckedUpdateManyWithoutModifierNestedInput + createdTasks?: TaskUncheckedUpdateManyWithoutCreatorNestedInput assignedTasks?: TaskUncheckedUpdateManyWithoutAssigneeNestedInput modifiedTasks?: TaskUncheckedUpdateManyWithoutModifierNestedInput notifications?: NotificationUncheckedUpdateManyWithoutUserNestedInput @@ -46557,133 +65364,459 @@ export namespace Prisma { generatedReports?: ReportUncheckedUpdateManyWithoutGeneratorNestedInput userReports?: ReportUncheckedUpdateManyWithoutUserNestedInput permissions?: PermissionUncheckedUpdateManyWithoutUserNestedInput - activityLogs?: ActivityLogUncheckedUpdateManyWithoutUserNestedInput ReportNotification?: ReportNotificationUncheckedUpdateManyWithoutUserNestedInput + chatParticipations?: ChatParticipantUncheckedUpdateManyWithoutUserNestedInput + sentMessages?: ChatMessageUncheckedUpdateManyWithoutSenderNestedInput + messageReactions?: MessageReactionUncheckedUpdateManyWithoutUserNestedInput + pinnedMessages?: PinnedMessageUncheckedUpdateManyWithoutUserNestedInput + hostedSessions?: VideoConferenceSessionUncheckedUpdateManyWithoutHostNestedInput + videoParticipations?: VideoParticipantUncheckedUpdateManyWithoutUserNestedInput + videoRecordings?: VideoRecordingUncheckedUpdateManyWithoutRecorderNestedInput } - export type UserUpsertWithoutAssignedTasksInput = { - update: XOR - create: XOR - where?: UserWhereInput + export type OrganizationUpsertWithoutActivityLogsInput = { + update: XOR + create: XOR + where?: OrganizationWhereInput } - export type UserUpdateToOneWithWhereWithoutAssignedTasksInput = { - where?: UserWhereInput - data: XOR + export type OrganizationUpdateToOneWithWhereWithoutActivityLogsInput = { + where?: OrganizationWhereInput + data: XOR } - export type UserUpdateWithoutAssignedTasksInput = { + export type OrganizationUpdateWithoutActivityLogsInput = { id?: StringFieldUpdateOperationsInput | string - email?: StringFieldUpdateOperationsInput | string - username?: StringFieldUpdateOperationsInput | string - password?: StringFieldUpdateOperationsInput | string - firebaseUid?: NullableStringFieldUpdateOperationsInput | string | null - firstName?: StringFieldUpdateOperationsInput | string - lastName?: StringFieldUpdateOperationsInput | string - role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole - profilePic?: NullableStringFieldUpdateOperationsInput | string | null - isOwner?: BoolFieldUpdateOperationsInput | boolean + name?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + industry?: StringFieldUpdateOperationsInput | string + sizeRange?: StringFieldUpdateOperationsInput | string + website?: NullableStringFieldUpdateOperationsInput | string | null + logoUrl?: NullableStringFieldUpdateOperationsInput | string | null + isVerified?: BoolFieldUpdateOperationsInput | boolean + status?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string - isActive?: BoolFieldUpdateOperationsInput | boolean deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - phoneNumber?: NullableStringFieldUpdateOperationsInput | string | null - jobTitle?: NullableStringFieldUpdateOperationsInput | string | null - timezone?: NullableStringFieldUpdateOperationsInput | string | null - bio?: NullableStringFieldUpdateOperationsInput | string | null - preferences?: NullableJsonNullValueInput | InputJsonValue - emailVerificationToken?: NullableStringFieldUpdateOperationsInput | string | null + address?: NullableStringFieldUpdateOperationsInput | string | null + contactEmail?: NullableStringFieldUpdateOperationsInput | string | null + contactPhone?: NullableStringFieldUpdateOperationsInput | string | null + emailVerificationOTP?: NullableStringFieldUpdateOperationsInput | string | null emailVerificationExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - passwordResetToken?: NullableStringFieldUpdateOperationsInput | string | null - passwordResetExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - refreshToken?: NullableStringFieldUpdateOperationsInput | string | null - lastLogin?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - lastLogout?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - department?: DepartmentUpdateOneWithoutUsersNestedInput - organization?: OrganizationUpdateOneWithoutUsersNestedInput - createdOrganizations?: OrganizationUpdateManyWithoutCreatorNestedInput - ownedOrganizations?: OrganizationOwnerUpdateManyWithoutUserNestedInput - managedDepartments?: DepartmentUpdateManyWithoutManagerNestedInput - createdTeams?: TeamUpdateManyWithoutCreatorNestedInput - teamMemberships?: TeamMemberUpdateManyWithoutUserNestedInput - projectMemberships?: ProjectMemberUpdateManyWithoutUserNestedInput - createdProjects?: ProjectUpdateManyWithoutCreatorNestedInput - modifiedProjects?: ProjectUpdateManyWithoutModifierNestedInput - createdTasks?: TaskUpdateManyWithoutCreatorNestedInput - modifiedTasks?: TaskUpdateManyWithoutModifierNestedInput - notifications?: NotificationUpdateManyWithoutUserNestedInput - timelogs?: TimelogUpdateManyWithoutUserNestedInput - comments?: CommentUpdateManyWithoutUserNestedInput - taskAttachments?: TaskAttachmentUpdateManyWithoutUploaderNestedInput - generatedReports?: ReportUpdateManyWithoutGeneratorNestedInput - userReports?: ReportUpdateManyWithoutUserNestedInput - permissions?: PermissionUpdateManyWithoutUserNestedInput - activityLogs?: ActivityLogUpdateManyWithoutUserNestedInput - ReportNotification?: ReportNotificationUpdateManyWithoutUserNestedInput + creator?: UserUpdateOneRequiredWithoutCreatedOrganizationsNestedInput + departments?: DepartmentUpdateManyWithoutOrganizationNestedInput + teams?: TeamUpdateManyWithoutOrganizationNestedInput + projects?: ProjectUpdateManyWithoutOrganizationNestedInput + users?: UserUpdateManyWithoutOrganizationNestedInput + reports?: ReportUpdateManyWithoutOrganizationNestedInput + owners?: OrganizationOwnerUpdateManyWithoutOrganizationNestedInput + templates?: TaskTemplateUpdateManyWithoutOrganizationNestedInput + } + + export type OrganizationUncheckedUpdateWithoutActivityLogsInput = { + id?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + industry?: StringFieldUpdateOperationsInput | string + sizeRange?: StringFieldUpdateOperationsInput | string + website?: NullableStringFieldUpdateOperationsInput | string | null + logoUrl?: NullableStringFieldUpdateOperationsInput | string | null + isVerified?: BoolFieldUpdateOperationsInput | boolean + status?: StringFieldUpdateOperationsInput | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + createdBy?: StringFieldUpdateOperationsInput | string + address?: NullableStringFieldUpdateOperationsInput | string | null + contactEmail?: NullableStringFieldUpdateOperationsInput | string | null + contactPhone?: NullableStringFieldUpdateOperationsInput | string | null + emailVerificationOTP?: NullableStringFieldUpdateOperationsInput | string | null + emailVerificationExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + departments?: DepartmentUncheckedUpdateManyWithoutOrganizationNestedInput + teams?: TeamUncheckedUpdateManyWithoutOrganizationNestedInput + projects?: ProjectUncheckedUpdateManyWithoutOrganizationNestedInput + users?: UserUncheckedUpdateManyWithoutOrganizationNestedInput + reports?: ReportUncheckedUpdateManyWithoutOrganizationNestedInput + owners?: OrganizationOwnerUncheckedUpdateManyWithoutOrganizationNestedInput + templates?: TaskTemplateUncheckedUpdateManyWithoutOrganizationNestedInput + } + + export type DepartmentUpsertWithoutActivityLogsInput = { + update: XOR + create: XOR + where?: DepartmentWhereInput + } + + export type DepartmentUpdateToOneWithWhereWithoutActivityLogsInput = { + where?: DepartmentWhereInput + data: XOR + } + + export type DepartmentUpdateWithoutActivityLogsInput = { + id?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + organization?: OrganizationUpdateOneRequiredWithoutDepartmentsNestedInput + manager?: UserUpdateOneRequiredWithoutManagedDepartmentsNestedInput + teams?: TeamUpdateManyWithoutDepartmentNestedInput + users?: UserUpdateManyWithoutDepartmentNestedInput + Report?: ReportUpdateManyWithoutDepartmentNestedInput + } + + export type DepartmentUncheckedUpdateWithoutActivityLogsInput = { + id?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + organizationId?: StringFieldUpdateOperationsInput | string + managerId?: StringFieldUpdateOperationsInput | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + teams?: TeamUncheckedUpdateManyWithoutDepartmentNestedInput + users?: UserUncheckedUpdateManyWithoutDepartmentNestedInput + Report?: ReportUncheckedUpdateManyWithoutDepartmentNestedInput + } + + export type ProjectUpsertWithoutActivityLogsInput = { + update: XOR + create: XOR + where?: ProjectWhereInput + } + + export type ProjectUpdateToOneWithWhereWithoutActivityLogsInput = { + where?: ProjectWhereInput + data: XOR + } + + export type ProjectUpdateWithoutActivityLogsInput = { + id?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + status?: StringFieldUpdateOperationsInput | string + startDate?: DateTimeFieldUpdateOperationsInput | Date | string + endDate?: DateTimeFieldUpdateOperationsInput | Date | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + priority?: EnumTaskPriorityFieldUpdateOperationsInput | $Enums.TaskPriority + progress?: NullableFloatFieldUpdateOperationsInput | number | null + budget?: NullableFloatFieldUpdateOperationsInput | number | null + creator?: UserUpdateOneRequiredWithoutCreatedProjectsNestedInput + modifier?: UserUpdateOneWithoutModifiedProjectsNestedInput + organization?: OrganizationUpdateOneRequiredWithoutProjectsNestedInput + team?: TeamUpdateOneRequiredWithoutProjectsNestedInput + sprints?: SprintUpdateManyWithoutProjectNestedInput + tasks?: TaskUpdateManyWithoutProjectNestedInput + reports?: ReportUpdateManyWithoutProjectNestedInput + ProjectMember?: ProjectMemberUpdateManyWithoutProjectNestedInput + } + + export type ProjectUncheckedUpdateWithoutActivityLogsInput = { + id?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + status?: StringFieldUpdateOperationsInput | string + createdBy?: StringFieldUpdateOperationsInput | string + organizationId?: StringFieldUpdateOperationsInput | string + teamId?: StringFieldUpdateOperationsInput | string + startDate?: DateTimeFieldUpdateOperationsInput | Date | string + endDate?: DateTimeFieldUpdateOperationsInput | Date | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + priority?: EnumTaskPriorityFieldUpdateOperationsInput | $Enums.TaskPriority + progress?: NullableFloatFieldUpdateOperationsInput | number | null + budget?: NullableFloatFieldUpdateOperationsInput | number | null + lastModifiedBy?: NullableStringFieldUpdateOperationsInput | string | null + sprints?: SprintUncheckedUpdateManyWithoutProjectNestedInput + tasks?: TaskUncheckedUpdateManyWithoutProjectNestedInput + reports?: ReportUncheckedUpdateManyWithoutProjectNestedInput + ProjectMember?: ProjectMemberUncheckedUpdateManyWithoutProjectNestedInput + } + + export type TeamUpsertWithoutActivityLogsInput = { + update: XOR + create: XOR + where?: TeamWhereInput + } + + export type TeamUpdateToOneWithWhereWithoutActivityLogsInput = { + where?: TeamWhereInput + data: XOR + } + + export type TeamUpdateWithoutActivityLogsInput = { + id?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + avatar?: NullableStringFieldUpdateOperationsInput | string | null + creator?: UserUpdateOneRequiredWithoutCreatedTeamsNestedInput + organization?: OrganizationUpdateOneRequiredWithoutTeamsNestedInput + department?: DepartmentUpdateOneWithoutTeamsNestedInput + members?: TeamMemberUpdateManyWithoutTeamNestedInput + projects?: ProjectUpdateManyWithoutTeamNestedInput + reports?: ReportUpdateManyWithoutTeamNestedInput + } + + export type TeamUncheckedUpdateWithoutActivityLogsInput = { + id?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + createdBy?: StringFieldUpdateOperationsInput | string + organizationId?: StringFieldUpdateOperationsInput | string + departmentId?: NullableStringFieldUpdateOperationsInput | string | null + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + avatar?: NullableStringFieldUpdateOperationsInput | string | null + members?: TeamMemberUncheckedUpdateManyWithoutTeamNestedInput + projects?: ProjectUncheckedUpdateManyWithoutTeamNestedInput + reports?: ReportUncheckedUpdateManyWithoutTeamNestedInput + } + + export type SprintUpsertWithoutActivityLogsInput = { + update: XOR + create: XOR + where?: SprintWhereInput + } + + export type SprintUpdateToOneWithWhereWithoutActivityLogsInput = { + where?: SprintWhereInput + data: XOR + } + + export type SprintUpdateWithoutActivityLogsInput = { + id?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + startDate?: DateTimeFieldUpdateOperationsInput | Date | string + endDate?: DateTimeFieldUpdateOperationsInput | Date | string + status?: StringFieldUpdateOperationsInput | string + goal?: NullableStringFieldUpdateOperationsInput | string | null + order?: IntFieldUpdateOperationsInput | number + project?: ProjectUpdateOneRequiredWithoutSprintsNestedInput + tasks?: TaskUpdateManyWithoutSprintNestedInput + } + + export type SprintUncheckedUpdateWithoutActivityLogsInput = { + id?: StringFieldUpdateOperationsInput | string + projectId?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + startDate?: DateTimeFieldUpdateOperationsInput | Date | string + endDate?: DateTimeFieldUpdateOperationsInput | Date | string + status?: StringFieldUpdateOperationsInput | string + goal?: NullableStringFieldUpdateOperationsInput | string | null + order?: IntFieldUpdateOperationsInput | number + tasks?: TaskUncheckedUpdateManyWithoutSprintNestedInput + } + + export type TaskUpsertWithoutActivityLogsInput = { + update: XOR + create: XOR + where?: TaskWhereInput + } + + export type TaskUpdateToOneWithWhereWithoutActivityLogsInput = { + where?: TaskWhereInput + data: XOR + } + + export type TaskUpdateWithoutActivityLogsInput = { + id?: StringFieldUpdateOperationsInput | string + title?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + priority?: EnumTaskPriorityFieldUpdateOperationsInput | $Enums.TaskPriority + status?: EnumTaskStatusFieldUpdateOperationsInput | $Enums.TaskStatus + rate?: NullableFloatFieldUpdateOperationsInput | number | null + dueDate?: DateTimeFieldUpdateOperationsInput | Date | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + estimatedTime?: NullableFloatFieldUpdateOperationsInput | number | null + actualTime?: NullableFloatFieldUpdateOperationsInput | number | null + order?: IntFieldUpdateOperationsInput | number + labels?: TaskUpdatelabelsInput | string[] + project?: ProjectUpdateOneRequiredWithoutTasksNestedInput + sprint?: SprintUpdateOneWithoutTasksNestedInput + creator?: UserUpdateOneRequiredWithoutCreatedTasksNestedInput + assignee?: UserUpdateOneWithoutAssignedTasksNestedInput + modifier?: UserUpdateOneWithoutModifiedTasksNestedInput + attachments?: TaskAttachmentUpdateManyWithoutTaskNestedInput + comments?: CommentUpdateManyWithoutTaskNestedInput + timelogs?: TimelogUpdateManyWithoutTaskNestedInput + dependencies?: TaskDependencyUpdateManyWithoutDependentTaskNestedInput + dependentOn?: TaskDependencyUpdateManyWithoutTaskNestedInput + parent?: TaskUpdateOneWithoutSubtasksNestedInput + subtasks?: TaskUpdateManyWithoutParentNestedInput + } + + export type TaskUncheckedUpdateWithoutActivityLogsInput = { + id?: StringFieldUpdateOperationsInput | string + title?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + priority?: EnumTaskPriorityFieldUpdateOperationsInput | $Enums.TaskPriority + status?: EnumTaskStatusFieldUpdateOperationsInput | $Enums.TaskStatus + rate?: NullableFloatFieldUpdateOperationsInput | number | null + projectId?: StringFieldUpdateOperationsInput | string + sprintId?: NullableStringFieldUpdateOperationsInput | string | null + createdBy?: StringFieldUpdateOperationsInput | string + assignedTo?: NullableStringFieldUpdateOperationsInput | string | null + dueDate?: DateTimeFieldUpdateOperationsInput | Date | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + estimatedTime?: NullableFloatFieldUpdateOperationsInput | number | null + actualTime?: NullableFloatFieldUpdateOperationsInput | number | null + parentId?: NullableStringFieldUpdateOperationsInput | string | null + order?: IntFieldUpdateOperationsInput | number + labels?: TaskUpdatelabelsInput | string[] + lastModifiedBy?: NullableStringFieldUpdateOperationsInput | string | null + attachments?: TaskAttachmentUncheckedUpdateManyWithoutTaskNestedInput + comments?: CommentUncheckedUpdateManyWithoutTaskNestedInput + timelogs?: TimelogUncheckedUpdateManyWithoutTaskNestedInput + dependencies?: TaskDependencyUncheckedUpdateManyWithoutDependentTaskNestedInput + dependentOn?: TaskDependencyUncheckedUpdateManyWithoutTaskNestedInput + subtasks?: TaskUncheckedUpdateManyWithoutParentNestedInput + } + + export type UserCreateWithoutNotificationsInput = { + id?: string + email: string + username: string + password: string + firebaseUid?: string | null + firstName: string + lastName: string + role: $Enums.UserRole + profilePic?: string | null + isOwner?: boolean + createdAt?: Date | string + updatedAt?: Date | string + isActive?: boolean + deletedAt?: Date | string | null + phoneNumber?: string | null + jobTitle?: string | null + timezone?: string | null + bio?: string | null + preferences?: NullableJsonNullValueInput | InputJsonValue + emailVerificationToken?: string | null + emailVerificationExpires?: Date | string | null + passwordResetToken?: string | null + passwordResetExpires?: Date | string | null + refreshToken?: string | null + lastLogin?: Date | string | null + lastLogout?: Date | string | null + department?: DepartmentCreateNestedOneWithoutUsersInput + organization?: OrganizationCreateNestedOneWithoutUsersInput + createdOrganizations?: OrganizationCreateNestedManyWithoutCreatorInput + ownedOrganizations?: OrganizationOwnerCreateNestedManyWithoutUserInput + managedDepartments?: DepartmentCreateNestedManyWithoutManagerInput + createdTeams?: TeamCreateNestedManyWithoutCreatorInput + teamMemberships?: TeamMemberCreateNestedManyWithoutUserInput + projectMemberships?: ProjectMemberCreateNestedManyWithoutUserInput + createdProjects?: ProjectCreateNestedManyWithoutCreatorInput + modifiedProjects?: ProjectCreateNestedManyWithoutModifierInput + createdTasks?: TaskCreateNestedManyWithoutCreatorInput + assignedTasks?: TaskCreateNestedManyWithoutAssigneeInput + modifiedTasks?: TaskCreateNestedManyWithoutModifierInput + timelogs?: TimelogCreateNestedManyWithoutUserInput + comments?: CommentCreateNestedManyWithoutUserInput + taskAttachments?: TaskAttachmentCreateNestedManyWithoutUploaderInput + generatedReports?: ReportCreateNestedManyWithoutGeneratorInput + userReports?: ReportCreateNestedManyWithoutUserInput + permissions?: PermissionCreateNestedManyWithoutUserInput + activityLogs?: ActivityLogCreateNestedManyWithoutUserInput + ReportNotification?: ReportNotificationCreateNestedManyWithoutUserInput + chatParticipations?: ChatParticipantCreateNestedManyWithoutUserInput + sentMessages?: ChatMessageCreateNestedManyWithoutSenderInput + messageReactions?: MessageReactionCreateNestedManyWithoutUserInput + pinnedMessages?: PinnedMessageCreateNestedManyWithoutUserInput + hostedSessions?: VideoConferenceSessionCreateNestedManyWithoutHostInput + videoParticipations?: VideoParticipantCreateNestedManyWithoutUserInput + videoRecordings?: VideoRecordingCreateNestedManyWithoutRecorderInput + } + + export type UserUncheckedCreateWithoutNotificationsInput = { + id?: string + email: string + username: string + password: string + firebaseUid?: string | null + firstName: string + lastName: string + role: $Enums.UserRole + profilePic?: string | null + departmentId?: string | null + organizationId?: string | null + isOwner?: boolean + createdAt?: Date | string + updatedAt?: Date | string + isActive?: boolean + deletedAt?: Date | string | null + phoneNumber?: string | null + jobTitle?: string | null + timezone?: string | null + bio?: string | null + preferences?: NullableJsonNullValueInput | InputJsonValue + emailVerificationToken?: string | null + emailVerificationExpires?: Date | string | null + passwordResetToken?: string | null + passwordResetExpires?: Date | string | null + refreshToken?: string | null + lastLogin?: Date | string | null + lastLogout?: Date | string | null + createdOrganizations?: OrganizationUncheckedCreateNestedManyWithoutCreatorInput + ownedOrganizations?: OrganizationOwnerUncheckedCreateNestedManyWithoutUserInput + managedDepartments?: DepartmentUncheckedCreateNestedManyWithoutManagerInput + createdTeams?: TeamUncheckedCreateNestedManyWithoutCreatorInput + teamMemberships?: TeamMemberUncheckedCreateNestedManyWithoutUserInput + projectMemberships?: ProjectMemberUncheckedCreateNestedManyWithoutUserInput + createdProjects?: ProjectUncheckedCreateNestedManyWithoutCreatorInput + modifiedProjects?: ProjectUncheckedCreateNestedManyWithoutModifierInput + createdTasks?: TaskUncheckedCreateNestedManyWithoutCreatorInput + assignedTasks?: TaskUncheckedCreateNestedManyWithoutAssigneeInput + modifiedTasks?: TaskUncheckedCreateNestedManyWithoutModifierInput + timelogs?: TimelogUncheckedCreateNestedManyWithoutUserInput + comments?: CommentUncheckedCreateNestedManyWithoutUserInput + taskAttachments?: TaskAttachmentUncheckedCreateNestedManyWithoutUploaderInput + generatedReports?: ReportUncheckedCreateNestedManyWithoutGeneratorInput + userReports?: ReportUncheckedCreateNestedManyWithoutUserInput + permissions?: PermissionUncheckedCreateNestedManyWithoutUserInput + activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutUserInput + ReportNotification?: ReportNotificationUncheckedCreateNestedManyWithoutUserInput + chatParticipations?: ChatParticipantUncheckedCreateNestedManyWithoutUserInput + sentMessages?: ChatMessageUncheckedCreateNestedManyWithoutSenderInput + messageReactions?: MessageReactionUncheckedCreateNestedManyWithoutUserInput + pinnedMessages?: PinnedMessageUncheckedCreateNestedManyWithoutUserInput + hostedSessions?: VideoConferenceSessionUncheckedCreateNestedManyWithoutHostInput + videoParticipations?: VideoParticipantUncheckedCreateNestedManyWithoutUserInput + videoRecordings?: VideoRecordingUncheckedCreateNestedManyWithoutRecorderInput } - export type UserUncheckedUpdateWithoutAssignedTasksInput = { - id?: StringFieldUpdateOperationsInput | string - email?: StringFieldUpdateOperationsInput | string - username?: StringFieldUpdateOperationsInput | string - password?: StringFieldUpdateOperationsInput | string - firebaseUid?: NullableStringFieldUpdateOperationsInput | string | null - firstName?: StringFieldUpdateOperationsInput | string - lastName?: StringFieldUpdateOperationsInput | string - role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole - profilePic?: NullableStringFieldUpdateOperationsInput | string | null - departmentId?: NullableStringFieldUpdateOperationsInput | string | null - organizationId?: NullableStringFieldUpdateOperationsInput | string | null - isOwner?: BoolFieldUpdateOperationsInput | boolean - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string - isActive?: BoolFieldUpdateOperationsInput | boolean - deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - phoneNumber?: NullableStringFieldUpdateOperationsInput | string | null - jobTitle?: NullableStringFieldUpdateOperationsInput | string | null - timezone?: NullableStringFieldUpdateOperationsInput | string | null - bio?: NullableStringFieldUpdateOperationsInput | string | null - preferences?: NullableJsonNullValueInput | InputJsonValue - emailVerificationToken?: NullableStringFieldUpdateOperationsInput | string | null - emailVerificationExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - passwordResetToken?: NullableStringFieldUpdateOperationsInput | string | null - passwordResetExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - refreshToken?: NullableStringFieldUpdateOperationsInput | string | null - lastLogin?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - lastLogout?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - createdOrganizations?: OrganizationUncheckedUpdateManyWithoutCreatorNestedInput - ownedOrganizations?: OrganizationOwnerUncheckedUpdateManyWithoutUserNestedInput - managedDepartments?: DepartmentUncheckedUpdateManyWithoutManagerNestedInput - createdTeams?: TeamUncheckedUpdateManyWithoutCreatorNestedInput - teamMemberships?: TeamMemberUncheckedUpdateManyWithoutUserNestedInput - projectMemberships?: ProjectMemberUncheckedUpdateManyWithoutUserNestedInput - createdProjects?: ProjectUncheckedUpdateManyWithoutCreatorNestedInput - modifiedProjects?: ProjectUncheckedUpdateManyWithoutModifierNestedInput - createdTasks?: TaskUncheckedUpdateManyWithoutCreatorNestedInput - modifiedTasks?: TaskUncheckedUpdateManyWithoutModifierNestedInput - notifications?: NotificationUncheckedUpdateManyWithoutUserNestedInput - timelogs?: TimelogUncheckedUpdateManyWithoutUserNestedInput - comments?: CommentUncheckedUpdateManyWithoutUserNestedInput - taskAttachments?: TaskAttachmentUncheckedUpdateManyWithoutUploaderNestedInput - generatedReports?: ReportUncheckedUpdateManyWithoutGeneratorNestedInput - userReports?: ReportUncheckedUpdateManyWithoutUserNestedInput - permissions?: PermissionUncheckedUpdateManyWithoutUserNestedInput - activityLogs?: ActivityLogUncheckedUpdateManyWithoutUserNestedInput - ReportNotification?: ReportNotificationUncheckedUpdateManyWithoutUserNestedInput + export type UserCreateOrConnectWithoutNotificationsInput = { + where: UserWhereUniqueInput + create: XOR } - export type UserUpsertWithoutModifiedTasksInput = { - update: XOR - create: XOR + export type UserUpsertWithoutNotificationsInput = { + update: XOR + create: XOR where?: UserWhereInput } - export type UserUpdateToOneWithWhereWithoutModifiedTasksInput = { + export type UserUpdateToOneWithWhereWithoutNotificationsInput = { where?: UserWhereInput - data: XOR + data: XOR } - export type UserUpdateWithoutModifiedTasksInput = { + export type UserUpdateWithoutNotificationsInput = { id?: StringFieldUpdateOperationsInput | string email?: StringFieldUpdateOperationsInput | string username?: StringFieldUpdateOperationsInput | string @@ -46722,7 +65855,7 @@ export namespace Prisma { modifiedProjects?: ProjectUpdateManyWithoutModifierNestedInput createdTasks?: TaskUpdateManyWithoutCreatorNestedInput assignedTasks?: TaskUpdateManyWithoutAssigneeNestedInput - notifications?: NotificationUpdateManyWithoutUserNestedInput + modifiedTasks?: TaskUpdateManyWithoutModifierNestedInput timelogs?: TimelogUpdateManyWithoutUserNestedInput comments?: CommentUpdateManyWithoutUserNestedInput taskAttachments?: TaskAttachmentUpdateManyWithoutUploaderNestedInput @@ -46731,9 +65864,16 @@ export namespace Prisma { permissions?: PermissionUpdateManyWithoutUserNestedInput activityLogs?: ActivityLogUpdateManyWithoutUserNestedInput ReportNotification?: ReportNotificationUpdateManyWithoutUserNestedInput + chatParticipations?: ChatParticipantUpdateManyWithoutUserNestedInput + sentMessages?: ChatMessageUpdateManyWithoutSenderNestedInput + messageReactions?: MessageReactionUpdateManyWithoutUserNestedInput + pinnedMessages?: PinnedMessageUpdateManyWithoutUserNestedInput + hostedSessions?: VideoConferenceSessionUpdateManyWithoutHostNestedInput + videoParticipations?: VideoParticipantUpdateManyWithoutUserNestedInput + videoRecordings?: VideoRecordingUpdateManyWithoutRecorderNestedInput } - export type UserUncheckedUpdateWithoutModifiedTasksInput = { + export type UserUncheckedUpdateWithoutNotificationsInput = { id?: StringFieldUpdateOperationsInput | string email?: StringFieldUpdateOperationsInput | string username?: StringFieldUpdateOperationsInput | string @@ -46772,7 +65912,7 @@ export namespace Prisma { modifiedProjects?: ProjectUncheckedUpdateManyWithoutModifierNestedInput createdTasks?: TaskUncheckedUpdateManyWithoutCreatorNestedInput assignedTasks?: TaskUncheckedUpdateManyWithoutAssigneeNestedInput - notifications?: NotificationUncheckedUpdateManyWithoutUserNestedInput + modifiedTasks?: TaskUncheckedUpdateManyWithoutModifierNestedInput timelogs?: TimelogUncheckedUpdateManyWithoutUserNestedInput comments?: CommentUncheckedUpdateManyWithoutUserNestedInput taskAttachments?: TaskAttachmentUncheckedUpdateManyWithoutUploaderNestedInput @@ -46781,264 +65921,317 @@ export namespace Prisma { permissions?: PermissionUncheckedUpdateManyWithoutUserNestedInput activityLogs?: ActivityLogUncheckedUpdateManyWithoutUserNestedInput ReportNotification?: ReportNotificationUncheckedUpdateManyWithoutUserNestedInput + chatParticipations?: ChatParticipantUncheckedUpdateManyWithoutUserNestedInput + sentMessages?: ChatMessageUncheckedUpdateManyWithoutSenderNestedInput + messageReactions?: MessageReactionUncheckedUpdateManyWithoutUserNestedInput + pinnedMessages?: PinnedMessageUncheckedUpdateManyWithoutUserNestedInput + hostedSessions?: VideoConferenceSessionUncheckedUpdateManyWithoutHostNestedInput + videoParticipations?: VideoParticipantUncheckedUpdateManyWithoutUserNestedInput + videoRecordings?: VideoRecordingUncheckedUpdateManyWithoutRecorderNestedInput } - export type TaskAttachmentUpsertWithWhereUniqueWithoutTaskInput = { - where: TaskAttachmentWhereUniqueInput - update: XOR - create: XOR - } - - export type TaskAttachmentUpdateWithWhereUniqueWithoutTaskInput = { - where: TaskAttachmentWhereUniqueInput - data: XOR - } - - export type TaskAttachmentUpdateManyWithWhereWithoutTaskInput = { - where: TaskAttachmentScalarWhereInput - data: XOR - } - - export type CommentUpsertWithWhereUniqueWithoutTaskInput = { - where: CommentWhereUniqueInput - update: XOR - create: XOR - } - - export type CommentUpdateWithWhereUniqueWithoutTaskInput = { - where: CommentWhereUniqueInput - data: XOR - } - - export type CommentUpdateManyWithWhereWithoutTaskInput = { - where: CommentScalarWhereInput - data: XOR - } - - export type TimelogUpsertWithWhereUniqueWithoutTaskInput = { - where: TimelogWhereUniqueInput - update: XOR - create: XOR - } - - export type TimelogUpdateWithWhereUniqueWithoutTaskInput = { - where: TimelogWhereUniqueInput - data: XOR - } - - export type TimelogUpdateManyWithWhereWithoutTaskInput = { - where: TimelogScalarWhereInput - data: XOR - } - - export type TaskDependencyUpsertWithWhereUniqueWithoutDependentTaskInput = { - where: TaskDependencyWhereUniqueInput - update: XOR - create: XOR - } - - export type TaskDependencyUpdateWithWhereUniqueWithoutDependentTaskInput = { - where: TaskDependencyWhereUniqueInput - data: XOR - } - - export type TaskDependencyUpdateManyWithWhereWithoutDependentTaskInput = { - where: TaskDependencyScalarWhereInput - data: XOR - } - - export type TaskDependencyScalarWhereInput = { - AND?: TaskDependencyScalarWhereInput | TaskDependencyScalarWhereInput[] - OR?: TaskDependencyScalarWhereInput[] - NOT?: TaskDependencyScalarWhereInput | TaskDependencyScalarWhereInput[] - id?: UuidFilter<"TaskDependency"> | string - taskId?: UuidFilter<"TaskDependency"> | string - dependentTaskId?: UuidFilter<"TaskDependency"> | string - dependencyType?: EnumDependencyTypeFilter<"TaskDependency"> | $Enums.DependencyType - description?: StringNullableFilter<"TaskDependency"> | string | null - } - - export type TaskDependencyUpsertWithWhereUniqueWithoutTaskInput = { - where: TaskDependencyWhereUniqueInput - update: XOR - create: XOR - } - - export type TaskDependencyUpdateWithWhereUniqueWithoutTaskInput = { - where: TaskDependencyWhereUniqueInput - data: XOR - } - - export type TaskDependencyUpdateManyWithWhereWithoutTaskInput = { - where: TaskDependencyScalarWhereInput - data: XOR - } - - export type TaskUpsertWithoutSubtasksInput = { - update: XOR - create: XOR - where?: TaskWhereInput + export type UserCreateWithoutGeneratedReportsInput = { + id?: string + email: string + username: string + password: string + firebaseUid?: string | null + firstName: string + lastName: string + role: $Enums.UserRole + profilePic?: string | null + isOwner?: boolean + createdAt?: Date | string + updatedAt?: Date | string + isActive?: boolean + deletedAt?: Date | string | null + phoneNumber?: string | null + jobTitle?: string | null + timezone?: string | null + bio?: string | null + preferences?: NullableJsonNullValueInput | InputJsonValue + emailVerificationToken?: string | null + emailVerificationExpires?: Date | string | null + passwordResetToken?: string | null + passwordResetExpires?: Date | string | null + refreshToken?: string | null + lastLogin?: Date | string | null + lastLogout?: Date | string | null + department?: DepartmentCreateNestedOneWithoutUsersInput + organization?: OrganizationCreateNestedOneWithoutUsersInput + createdOrganizations?: OrganizationCreateNestedManyWithoutCreatorInput + ownedOrganizations?: OrganizationOwnerCreateNestedManyWithoutUserInput + managedDepartments?: DepartmentCreateNestedManyWithoutManagerInput + createdTeams?: TeamCreateNestedManyWithoutCreatorInput + teamMemberships?: TeamMemberCreateNestedManyWithoutUserInput + projectMemberships?: ProjectMemberCreateNestedManyWithoutUserInput + createdProjects?: ProjectCreateNestedManyWithoutCreatorInput + modifiedProjects?: ProjectCreateNestedManyWithoutModifierInput + createdTasks?: TaskCreateNestedManyWithoutCreatorInput + assignedTasks?: TaskCreateNestedManyWithoutAssigneeInput + modifiedTasks?: TaskCreateNestedManyWithoutModifierInput + notifications?: NotificationCreateNestedManyWithoutUserInput + timelogs?: TimelogCreateNestedManyWithoutUserInput + comments?: CommentCreateNestedManyWithoutUserInput + taskAttachments?: TaskAttachmentCreateNestedManyWithoutUploaderInput + userReports?: ReportCreateNestedManyWithoutUserInput + permissions?: PermissionCreateNestedManyWithoutUserInput + activityLogs?: ActivityLogCreateNestedManyWithoutUserInput + ReportNotification?: ReportNotificationCreateNestedManyWithoutUserInput + chatParticipations?: ChatParticipantCreateNestedManyWithoutUserInput + sentMessages?: ChatMessageCreateNestedManyWithoutSenderInput + messageReactions?: MessageReactionCreateNestedManyWithoutUserInput + pinnedMessages?: PinnedMessageCreateNestedManyWithoutUserInput + hostedSessions?: VideoConferenceSessionCreateNestedManyWithoutHostInput + videoParticipations?: VideoParticipantCreateNestedManyWithoutUserInput + videoRecordings?: VideoRecordingCreateNestedManyWithoutRecorderInput } - export type TaskUpdateToOneWithWhereWithoutSubtasksInput = { - where?: TaskWhereInput - data: XOR + export type UserUncheckedCreateWithoutGeneratedReportsInput = { + id?: string + email: string + username: string + password: string + firebaseUid?: string | null + firstName: string + lastName: string + role: $Enums.UserRole + profilePic?: string | null + departmentId?: string | null + organizationId?: string | null + isOwner?: boolean + createdAt?: Date | string + updatedAt?: Date | string + isActive?: boolean + deletedAt?: Date | string | null + phoneNumber?: string | null + jobTitle?: string | null + timezone?: string | null + bio?: string | null + preferences?: NullableJsonNullValueInput | InputJsonValue + emailVerificationToken?: string | null + emailVerificationExpires?: Date | string | null + passwordResetToken?: string | null + passwordResetExpires?: Date | string | null + refreshToken?: string | null + lastLogin?: Date | string | null + lastLogout?: Date | string | null + createdOrganizations?: OrganizationUncheckedCreateNestedManyWithoutCreatorInput + ownedOrganizations?: OrganizationOwnerUncheckedCreateNestedManyWithoutUserInput + managedDepartments?: DepartmentUncheckedCreateNestedManyWithoutManagerInput + createdTeams?: TeamUncheckedCreateNestedManyWithoutCreatorInput + teamMemberships?: TeamMemberUncheckedCreateNestedManyWithoutUserInput + projectMemberships?: ProjectMemberUncheckedCreateNestedManyWithoutUserInput + createdProjects?: ProjectUncheckedCreateNestedManyWithoutCreatorInput + modifiedProjects?: ProjectUncheckedCreateNestedManyWithoutModifierInput + createdTasks?: TaskUncheckedCreateNestedManyWithoutCreatorInput + assignedTasks?: TaskUncheckedCreateNestedManyWithoutAssigneeInput + modifiedTasks?: TaskUncheckedCreateNestedManyWithoutModifierInput + notifications?: NotificationUncheckedCreateNestedManyWithoutUserInput + timelogs?: TimelogUncheckedCreateNestedManyWithoutUserInput + comments?: CommentUncheckedCreateNestedManyWithoutUserInput + taskAttachments?: TaskAttachmentUncheckedCreateNestedManyWithoutUploaderInput + userReports?: ReportUncheckedCreateNestedManyWithoutUserInput + permissions?: PermissionUncheckedCreateNestedManyWithoutUserInput + activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutUserInput + ReportNotification?: ReportNotificationUncheckedCreateNestedManyWithoutUserInput + chatParticipations?: ChatParticipantUncheckedCreateNestedManyWithoutUserInput + sentMessages?: ChatMessageUncheckedCreateNestedManyWithoutSenderInput + messageReactions?: MessageReactionUncheckedCreateNestedManyWithoutUserInput + pinnedMessages?: PinnedMessageUncheckedCreateNestedManyWithoutUserInput + hostedSessions?: VideoConferenceSessionUncheckedCreateNestedManyWithoutHostInput + videoParticipations?: VideoParticipantUncheckedCreateNestedManyWithoutUserInput + videoRecordings?: VideoRecordingUncheckedCreateNestedManyWithoutRecorderInput } - export type TaskUpdateWithoutSubtasksInput = { - id?: StringFieldUpdateOperationsInput | string - title?: StringFieldUpdateOperationsInput | string - description?: NullableStringFieldUpdateOperationsInput | string | null - priority?: EnumTaskPriorityFieldUpdateOperationsInput | $Enums.TaskPriority - status?: EnumTaskStatusFieldUpdateOperationsInput | $Enums.TaskStatus - rate?: NullableFloatFieldUpdateOperationsInput | number | null - dueDate?: DateTimeFieldUpdateOperationsInput | Date | string - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string - deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - estimatedTime?: NullableFloatFieldUpdateOperationsInput | number | null - actualTime?: NullableFloatFieldUpdateOperationsInput | number | null - order?: IntFieldUpdateOperationsInput | number - labels?: TaskUpdatelabelsInput | string[] - project?: ProjectUpdateOneRequiredWithoutTasksNestedInput - sprint?: SprintUpdateOneWithoutTasksNestedInput - creator?: UserUpdateOneRequiredWithoutCreatedTasksNestedInput - assignee?: UserUpdateOneWithoutAssignedTasksNestedInput - modifier?: UserUpdateOneWithoutModifiedTasksNestedInput - attachments?: TaskAttachmentUpdateManyWithoutTaskNestedInput - comments?: CommentUpdateManyWithoutTaskNestedInput - timelogs?: TimelogUpdateManyWithoutTaskNestedInput - dependencies?: TaskDependencyUpdateManyWithoutDependentTaskNestedInput - dependentOn?: TaskDependencyUpdateManyWithoutTaskNestedInput - parent?: TaskUpdateOneWithoutSubtasksNestedInput - activityLogs?: ActivityLogUpdateManyWithoutTaskNestedInput + export type UserCreateOrConnectWithoutGeneratedReportsInput = { + where: UserWhereUniqueInput + create: XOR } - export type TaskUncheckedUpdateWithoutSubtasksInput = { - id?: StringFieldUpdateOperationsInput | string - title?: StringFieldUpdateOperationsInput | string - description?: NullableStringFieldUpdateOperationsInput | string | null - priority?: EnumTaskPriorityFieldUpdateOperationsInput | $Enums.TaskPriority - status?: EnumTaskStatusFieldUpdateOperationsInput | $Enums.TaskStatus - rate?: NullableFloatFieldUpdateOperationsInput | number | null - projectId?: StringFieldUpdateOperationsInput | string - sprintId?: NullableStringFieldUpdateOperationsInput | string | null - createdBy?: StringFieldUpdateOperationsInput | string - assignedTo?: NullableStringFieldUpdateOperationsInput | string | null - dueDate?: DateTimeFieldUpdateOperationsInput | Date | string - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string - deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - estimatedTime?: NullableFloatFieldUpdateOperationsInput | number | null - actualTime?: NullableFloatFieldUpdateOperationsInput | number | null - parentId?: NullableStringFieldUpdateOperationsInput | string | null - order?: IntFieldUpdateOperationsInput | number - labels?: TaskUpdatelabelsInput | string[] - lastModifiedBy?: NullableStringFieldUpdateOperationsInput | string | null - attachments?: TaskAttachmentUncheckedUpdateManyWithoutTaskNestedInput - comments?: CommentUncheckedUpdateManyWithoutTaskNestedInput - timelogs?: TimelogUncheckedUpdateManyWithoutTaskNestedInput - dependencies?: TaskDependencyUncheckedUpdateManyWithoutDependentTaskNestedInput - dependentOn?: TaskDependencyUncheckedUpdateManyWithoutTaskNestedInput - activityLogs?: ActivityLogUncheckedUpdateManyWithoutTaskNestedInput + export type OrganizationCreateWithoutReportsInput = { + id?: string + name: string + description?: string | null + industry: string + sizeRange: string + website?: string | null + logoUrl?: string | null + isVerified?: boolean + status: string + createdAt?: Date | string + updatedAt?: Date | string + deletedAt?: Date | string | null + address?: string | null + contactEmail?: string | null + contactPhone?: string | null + emailVerificationOTP?: string | null + emailVerificationExpires?: Date | string | null + creator: UserCreateNestedOneWithoutCreatedOrganizationsInput + departments?: DepartmentCreateNestedManyWithoutOrganizationInput + teams?: TeamCreateNestedManyWithoutOrganizationInput + projects?: ProjectCreateNestedManyWithoutOrganizationInput + users?: UserCreateNestedManyWithoutOrganizationInput + owners?: OrganizationOwnerCreateNestedManyWithoutOrganizationInput + templates?: TaskTemplateCreateNestedManyWithoutOrganizationInput + activityLogs?: ActivityLogCreateNestedManyWithoutOrganizationInput } - export type TaskUpsertWithWhereUniqueWithoutParentInput = { - where: TaskWhereUniqueInput - update: XOR - create: XOR + export type OrganizationUncheckedCreateWithoutReportsInput = { + id?: string + name: string + description?: string | null + industry: string + sizeRange: string + website?: string | null + logoUrl?: string | null + isVerified?: boolean + status: string + createdAt?: Date | string + updatedAt?: Date | string + deletedAt?: Date | string | null + createdBy: string + address?: string | null + contactEmail?: string | null + contactPhone?: string | null + emailVerificationOTP?: string | null + emailVerificationExpires?: Date | string | null + departments?: DepartmentUncheckedCreateNestedManyWithoutOrganizationInput + teams?: TeamUncheckedCreateNestedManyWithoutOrganizationInput + projects?: ProjectUncheckedCreateNestedManyWithoutOrganizationInput + users?: UserUncheckedCreateNestedManyWithoutOrganizationInput + owners?: OrganizationOwnerUncheckedCreateNestedManyWithoutOrganizationInput + templates?: TaskTemplateUncheckedCreateNestedManyWithoutOrganizationInput + activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutOrganizationInput } - export type TaskUpdateWithWhereUniqueWithoutParentInput = { - where: TaskWhereUniqueInput - data: XOR + export type OrganizationCreateOrConnectWithoutReportsInput = { + where: OrganizationWhereUniqueInput + create: XOR } - export type TaskUpdateManyWithWhereWithoutParentInput = { - where: TaskScalarWhereInput - data: XOR + export type TeamCreateWithoutReportsInput = { + id?: string + name: string + description?: string | null + createdAt?: Date | string + updatedAt?: Date | string + deletedAt?: Date | string | null + avatar?: string | null + creator: UserCreateNestedOneWithoutCreatedTeamsInput + organization: OrganizationCreateNestedOneWithoutTeamsInput + department?: DepartmentCreateNestedOneWithoutTeamsInput + members?: TeamMemberCreateNestedManyWithoutTeamInput + projects?: ProjectCreateNestedManyWithoutTeamInput + activityLogs?: ActivityLogCreateNestedManyWithoutTeamInput } - export type ActivityLogUpsertWithWhereUniqueWithoutTaskInput = { - where: ActivityLogWhereUniqueInput - update: XOR - create: XOR + export type TeamUncheckedCreateWithoutReportsInput = { + id?: string + name: string + description?: string | null + createdBy: string + organizationId: string + departmentId?: string | null + createdAt?: Date | string + updatedAt?: Date | string + deletedAt?: Date | string | null + avatar?: string | null + members?: TeamMemberUncheckedCreateNestedManyWithoutTeamInput + projects?: ProjectUncheckedCreateNestedManyWithoutTeamInput + activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutTeamInput } - export type ActivityLogUpdateWithWhereUniqueWithoutTaskInput = { - where: ActivityLogWhereUniqueInput - data: XOR + export type TeamCreateOrConnectWithoutReportsInput = { + where: TeamWhereUniqueInput + create: XOR } - export type ActivityLogUpdateManyWithWhereWithoutTaskInput = { - where: ActivityLogScalarWhereInput - data: XOR + export type ProjectCreateWithoutReportsInput = { + id?: string + name: string + description?: string | null + status: string + startDate: Date | string + endDate: Date | string + createdAt?: Date | string + updatedAt?: Date | string + deletedAt?: Date | string | null + priority?: $Enums.TaskPriority + progress?: number | null + budget?: number | null + creator: UserCreateNestedOneWithoutCreatedProjectsInput + modifier?: UserCreateNestedOneWithoutModifiedProjectsInput + organization: OrganizationCreateNestedOneWithoutProjectsInput + team: TeamCreateNestedOneWithoutProjectsInput + sprints?: SprintCreateNestedManyWithoutProjectInput + tasks?: TaskCreateNestedManyWithoutProjectInput + activityLogs?: ActivityLogCreateNestedManyWithoutProjectInput + ProjectMember?: ProjectMemberCreateNestedManyWithoutProjectInput } - export type TaskCreateWithoutAttachmentsInput = { + export type ProjectUncheckedCreateWithoutReportsInput = { id?: string - title: string + name: string description?: string | null - priority: $Enums.TaskPriority - status: $Enums.TaskStatus - rate?: number | null - dueDate: Date | string + status: string + createdBy: string + organizationId: string + teamId: string + startDate: Date | string + endDate: Date | string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null - estimatedTime?: number | null - actualTime?: number | null - order?: number - labels?: TaskCreatelabelsInput | string[] - project: ProjectCreateNestedOneWithoutTasksInput - sprint?: SprintCreateNestedOneWithoutTasksInput - creator: UserCreateNestedOneWithoutCreatedTasksInput - assignee?: UserCreateNestedOneWithoutAssignedTasksInput - modifier?: UserCreateNestedOneWithoutModifiedTasksInput - comments?: CommentCreateNestedManyWithoutTaskInput - timelogs?: TimelogCreateNestedManyWithoutTaskInput - dependencies?: TaskDependencyCreateNestedManyWithoutDependentTaskInput - dependentOn?: TaskDependencyCreateNestedManyWithoutTaskInput - parent?: TaskCreateNestedOneWithoutSubtasksInput - subtasks?: TaskCreateNestedManyWithoutParentInput - activityLogs?: ActivityLogCreateNestedManyWithoutTaskInput + priority?: $Enums.TaskPriority + progress?: number | null + budget?: number | null + lastModifiedBy?: string | null + sprints?: SprintUncheckedCreateNestedManyWithoutProjectInput + tasks?: TaskUncheckedCreateNestedManyWithoutProjectInput + activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutProjectInput + ProjectMember?: ProjectMemberUncheckedCreateNestedManyWithoutProjectInput + } + + export type ProjectCreateOrConnectWithoutReportsInput = { + where: ProjectWhereUniqueInput + create: XOR + } + + export type DepartmentCreateWithoutReportInput = { + id?: string + name: string + description?: string | null + createdAt?: Date | string + updatedAt?: Date | string + deletedAt?: Date | string | null + organization: OrganizationCreateNestedOneWithoutDepartmentsInput + manager: UserCreateNestedOneWithoutManagedDepartmentsInput + teams?: TeamCreateNestedManyWithoutDepartmentInput + users?: UserCreateNestedManyWithoutDepartmentInput + activityLogs?: ActivityLogCreateNestedManyWithoutDepartmentInput } - export type TaskUncheckedCreateWithoutAttachmentsInput = { + export type DepartmentUncheckedCreateWithoutReportInput = { id?: string - title: string + name: string description?: string | null - priority: $Enums.TaskPriority - status: $Enums.TaskStatus - rate?: number | null - projectId: string - sprintId?: string | null - createdBy: string - assignedTo?: string | null - dueDate: Date | string + organizationId: string + managerId: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null - estimatedTime?: number | null - actualTime?: number | null - parentId?: string | null - order?: number - labels?: TaskCreatelabelsInput | string[] - lastModifiedBy?: string | null - comments?: CommentUncheckedCreateNestedManyWithoutTaskInput - timelogs?: TimelogUncheckedCreateNestedManyWithoutTaskInput - dependencies?: TaskDependencyUncheckedCreateNestedManyWithoutDependentTaskInput - dependentOn?: TaskDependencyUncheckedCreateNestedManyWithoutTaskInput - subtasks?: TaskUncheckedCreateNestedManyWithoutParentInput - activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutTaskInput + teams?: TeamUncheckedCreateNestedManyWithoutDepartmentInput + users?: UserUncheckedCreateNestedManyWithoutDepartmentInput + activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutDepartmentInput } - export type TaskCreateOrConnectWithoutAttachmentsInput = { - where: TaskWhereUniqueInput - create: XOR + export type DepartmentCreateOrConnectWithoutReportInput = { + where: DepartmentWhereUniqueInput + create: XOR } - export type UserCreateWithoutTaskAttachmentsInput = { + export type UserCreateWithoutUserReportsInput = { id?: string email: string username: string @@ -47081,14 +66274,21 @@ export namespace Prisma { notifications?: NotificationCreateNestedManyWithoutUserInput timelogs?: TimelogCreateNestedManyWithoutUserInput comments?: CommentCreateNestedManyWithoutUserInput + taskAttachments?: TaskAttachmentCreateNestedManyWithoutUploaderInput generatedReports?: ReportCreateNestedManyWithoutGeneratorInput - userReports?: ReportCreateNestedManyWithoutUserInput permissions?: PermissionCreateNestedManyWithoutUserInput activityLogs?: ActivityLogCreateNestedManyWithoutUserInput ReportNotification?: ReportNotificationCreateNestedManyWithoutUserInput + chatParticipations?: ChatParticipantCreateNestedManyWithoutUserInput + sentMessages?: ChatMessageCreateNestedManyWithoutSenderInput + messageReactions?: MessageReactionCreateNestedManyWithoutUserInput + pinnedMessages?: PinnedMessageCreateNestedManyWithoutUserInput + hostedSessions?: VideoConferenceSessionCreateNestedManyWithoutHostInput + videoParticipations?: VideoParticipantCreateNestedManyWithoutUserInput + videoRecordings?: VideoRecordingCreateNestedManyWithoutRecorderInput } - export type UserUncheckedCreateWithoutTaskAttachmentsInput = { + export type UserUncheckedCreateWithoutUserReportsInput = { id?: string email: string username: string @@ -47131,99 +66331,413 @@ export namespace Prisma { notifications?: NotificationUncheckedCreateNestedManyWithoutUserInput timelogs?: TimelogUncheckedCreateNestedManyWithoutUserInput comments?: CommentUncheckedCreateNestedManyWithoutUserInput + taskAttachments?: TaskAttachmentUncheckedCreateNestedManyWithoutUploaderInput generatedReports?: ReportUncheckedCreateNestedManyWithoutGeneratorInput - userReports?: ReportUncheckedCreateNestedManyWithoutUserInput permissions?: PermissionUncheckedCreateNestedManyWithoutUserInput activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutUserInput ReportNotification?: ReportNotificationUncheckedCreateNestedManyWithoutUserInput + chatParticipations?: ChatParticipantUncheckedCreateNestedManyWithoutUserInput + sentMessages?: ChatMessageUncheckedCreateNestedManyWithoutSenderInput + messageReactions?: MessageReactionUncheckedCreateNestedManyWithoutUserInput + pinnedMessages?: PinnedMessageUncheckedCreateNestedManyWithoutUserInput + hostedSessions?: VideoConferenceSessionUncheckedCreateNestedManyWithoutHostInput + videoParticipations?: VideoParticipantUncheckedCreateNestedManyWithoutUserInput + videoRecordings?: VideoRecordingUncheckedCreateNestedManyWithoutRecorderInput } - export type UserCreateOrConnectWithoutTaskAttachmentsInput = { + export type UserCreateOrConnectWithoutUserReportsInput = { where: UserWhereUniqueInput - create: XOR + create: XOR } - export type TaskUpsertWithoutAttachmentsInput = { - update: XOR - create: XOR - where?: TaskWhereInput + export type ReportScheduleCreateWithoutReportsInput = { + id?: string + name: string + cronExpression: string + isActive?: boolean + createdAt?: Date | string + createdBy: string } - export type TaskUpdateToOneWithWhereWithoutAttachmentsInput = { - where?: TaskWhereInput - data: XOR + export type ReportScheduleUncheckedCreateWithoutReportsInput = { + id?: string + name: string + cronExpression: string + isActive?: boolean + createdAt?: Date | string + createdBy: string } - export type TaskUpdateWithoutAttachmentsInput = { + export type ReportScheduleCreateOrConnectWithoutReportsInput = { + where: ReportScheduleWhereUniqueInput + create: XOR + } + + export type ReportNotificationCreateWithoutReportInput = { + id?: string + notified?: boolean + user: UserCreateNestedOneWithoutReportNotificationInput + } + + export type ReportNotificationUncheckedCreateWithoutReportInput = { + id?: string + userId: string + notified?: boolean + } + + export type ReportNotificationCreateOrConnectWithoutReportInput = { + where: ReportNotificationWhereUniqueInput + create: XOR + } + + export type ReportNotificationCreateManyReportInputEnvelope = { + data: ReportNotificationCreateManyReportInput | ReportNotificationCreateManyReportInput[] + skipDuplicates?: boolean + } + + export type UserUpsertWithoutGeneratedReportsInput = { + update: XOR + create: XOR + where?: UserWhereInput + } + + export type UserUpdateToOneWithWhereWithoutGeneratedReportsInput = { + where?: UserWhereInput + data: XOR + } + + export type UserUpdateWithoutGeneratedReportsInput = { id?: StringFieldUpdateOperationsInput | string - title?: StringFieldUpdateOperationsInput | string + email?: StringFieldUpdateOperationsInput | string + username?: StringFieldUpdateOperationsInput | string + password?: StringFieldUpdateOperationsInput | string + firebaseUid?: NullableStringFieldUpdateOperationsInput | string | null + firstName?: StringFieldUpdateOperationsInput | string + lastName?: StringFieldUpdateOperationsInput | string + role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole + profilePic?: NullableStringFieldUpdateOperationsInput | string | null + isOwner?: BoolFieldUpdateOperationsInput | boolean + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + isActive?: BoolFieldUpdateOperationsInput | boolean + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + phoneNumber?: NullableStringFieldUpdateOperationsInput | string | null + jobTitle?: NullableStringFieldUpdateOperationsInput | string | null + timezone?: NullableStringFieldUpdateOperationsInput | string | null + bio?: NullableStringFieldUpdateOperationsInput | string | null + preferences?: NullableJsonNullValueInput | InputJsonValue + emailVerificationToken?: NullableStringFieldUpdateOperationsInput | string | null + emailVerificationExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + passwordResetToken?: NullableStringFieldUpdateOperationsInput | string | null + passwordResetExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + refreshToken?: NullableStringFieldUpdateOperationsInput | string | null + lastLogin?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + lastLogout?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + department?: DepartmentUpdateOneWithoutUsersNestedInput + organization?: OrganizationUpdateOneWithoutUsersNestedInput + createdOrganizations?: OrganizationUpdateManyWithoutCreatorNestedInput + ownedOrganizations?: OrganizationOwnerUpdateManyWithoutUserNestedInput + managedDepartments?: DepartmentUpdateManyWithoutManagerNestedInput + createdTeams?: TeamUpdateManyWithoutCreatorNestedInput + teamMemberships?: TeamMemberUpdateManyWithoutUserNestedInput + projectMemberships?: ProjectMemberUpdateManyWithoutUserNestedInput + createdProjects?: ProjectUpdateManyWithoutCreatorNestedInput + modifiedProjects?: ProjectUpdateManyWithoutModifierNestedInput + createdTasks?: TaskUpdateManyWithoutCreatorNestedInput + assignedTasks?: TaskUpdateManyWithoutAssigneeNestedInput + modifiedTasks?: TaskUpdateManyWithoutModifierNestedInput + notifications?: NotificationUpdateManyWithoutUserNestedInput + timelogs?: TimelogUpdateManyWithoutUserNestedInput + comments?: CommentUpdateManyWithoutUserNestedInput + taskAttachments?: TaskAttachmentUpdateManyWithoutUploaderNestedInput + userReports?: ReportUpdateManyWithoutUserNestedInput + permissions?: PermissionUpdateManyWithoutUserNestedInput + activityLogs?: ActivityLogUpdateManyWithoutUserNestedInput + ReportNotification?: ReportNotificationUpdateManyWithoutUserNestedInput + chatParticipations?: ChatParticipantUpdateManyWithoutUserNestedInput + sentMessages?: ChatMessageUpdateManyWithoutSenderNestedInput + messageReactions?: MessageReactionUpdateManyWithoutUserNestedInput + pinnedMessages?: PinnedMessageUpdateManyWithoutUserNestedInput + hostedSessions?: VideoConferenceSessionUpdateManyWithoutHostNestedInput + videoParticipations?: VideoParticipantUpdateManyWithoutUserNestedInput + videoRecordings?: VideoRecordingUpdateManyWithoutRecorderNestedInput + } + + export type UserUncheckedUpdateWithoutGeneratedReportsInput = { + id?: StringFieldUpdateOperationsInput | string + email?: StringFieldUpdateOperationsInput | string + username?: StringFieldUpdateOperationsInput | string + password?: StringFieldUpdateOperationsInput | string + firebaseUid?: NullableStringFieldUpdateOperationsInput | string | null + firstName?: StringFieldUpdateOperationsInput | string + lastName?: StringFieldUpdateOperationsInput | string + role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole + profilePic?: NullableStringFieldUpdateOperationsInput | string | null + departmentId?: NullableStringFieldUpdateOperationsInput | string | null + organizationId?: NullableStringFieldUpdateOperationsInput | string | null + isOwner?: BoolFieldUpdateOperationsInput | boolean + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + isActive?: BoolFieldUpdateOperationsInput | boolean + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + phoneNumber?: NullableStringFieldUpdateOperationsInput | string | null + jobTitle?: NullableStringFieldUpdateOperationsInput | string | null + timezone?: NullableStringFieldUpdateOperationsInput | string | null + bio?: NullableStringFieldUpdateOperationsInput | string | null + preferences?: NullableJsonNullValueInput | InputJsonValue + emailVerificationToken?: NullableStringFieldUpdateOperationsInput | string | null + emailVerificationExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + passwordResetToken?: NullableStringFieldUpdateOperationsInput | string | null + passwordResetExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + refreshToken?: NullableStringFieldUpdateOperationsInput | string | null + lastLogin?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + lastLogout?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + createdOrganizations?: OrganizationUncheckedUpdateManyWithoutCreatorNestedInput + ownedOrganizations?: OrganizationOwnerUncheckedUpdateManyWithoutUserNestedInput + managedDepartments?: DepartmentUncheckedUpdateManyWithoutManagerNestedInput + createdTeams?: TeamUncheckedUpdateManyWithoutCreatorNestedInput + teamMemberships?: TeamMemberUncheckedUpdateManyWithoutUserNestedInput + projectMemberships?: ProjectMemberUncheckedUpdateManyWithoutUserNestedInput + createdProjects?: ProjectUncheckedUpdateManyWithoutCreatorNestedInput + modifiedProjects?: ProjectUncheckedUpdateManyWithoutModifierNestedInput + createdTasks?: TaskUncheckedUpdateManyWithoutCreatorNestedInput + assignedTasks?: TaskUncheckedUpdateManyWithoutAssigneeNestedInput + modifiedTasks?: TaskUncheckedUpdateManyWithoutModifierNestedInput + notifications?: NotificationUncheckedUpdateManyWithoutUserNestedInput + timelogs?: TimelogUncheckedUpdateManyWithoutUserNestedInput + comments?: CommentUncheckedUpdateManyWithoutUserNestedInput + taskAttachments?: TaskAttachmentUncheckedUpdateManyWithoutUploaderNestedInput + userReports?: ReportUncheckedUpdateManyWithoutUserNestedInput + permissions?: PermissionUncheckedUpdateManyWithoutUserNestedInput + activityLogs?: ActivityLogUncheckedUpdateManyWithoutUserNestedInput + ReportNotification?: ReportNotificationUncheckedUpdateManyWithoutUserNestedInput + chatParticipations?: ChatParticipantUncheckedUpdateManyWithoutUserNestedInput + sentMessages?: ChatMessageUncheckedUpdateManyWithoutSenderNestedInput + messageReactions?: MessageReactionUncheckedUpdateManyWithoutUserNestedInput + pinnedMessages?: PinnedMessageUncheckedUpdateManyWithoutUserNestedInput + hostedSessions?: VideoConferenceSessionUncheckedUpdateManyWithoutHostNestedInput + videoParticipations?: VideoParticipantUncheckedUpdateManyWithoutUserNestedInput + videoRecordings?: VideoRecordingUncheckedUpdateManyWithoutRecorderNestedInput + } + + export type OrganizationUpsertWithoutReportsInput = { + update: XOR + create: XOR + where?: OrganizationWhereInput + } + + export type OrganizationUpdateToOneWithWhereWithoutReportsInput = { + where?: OrganizationWhereInput + data: XOR + } + + export type OrganizationUpdateWithoutReportsInput = { + id?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string description?: NullableStringFieldUpdateOperationsInput | string | null - priority?: EnumTaskPriorityFieldUpdateOperationsInput | $Enums.TaskPriority - status?: EnumTaskStatusFieldUpdateOperationsInput | $Enums.TaskStatus - rate?: NullableFloatFieldUpdateOperationsInput | number | null - dueDate?: DateTimeFieldUpdateOperationsInput | Date | string + industry?: StringFieldUpdateOperationsInput | string + sizeRange?: StringFieldUpdateOperationsInput | string + website?: NullableStringFieldUpdateOperationsInput | string | null + logoUrl?: NullableStringFieldUpdateOperationsInput | string | null + isVerified?: BoolFieldUpdateOperationsInput | boolean + status?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - estimatedTime?: NullableFloatFieldUpdateOperationsInput | number | null - actualTime?: NullableFloatFieldUpdateOperationsInput | number | null - order?: IntFieldUpdateOperationsInput | number - labels?: TaskUpdatelabelsInput | string[] - project?: ProjectUpdateOneRequiredWithoutTasksNestedInput - sprint?: SprintUpdateOneWithoutTasksNestedInput - creator?: UserUpdateOneRequiredWithoutCreatedTasksNestedInput - assignee?: UserUpdateOneWithoutAssignedTasksNestedInput - modifier?: UserUpdateOneWithoutModifiedTasksNestedInput - comments?: CommentUpdateManyWithoutTaskNestedInput - timelogs?: TimelogUpdateManyWithoutTaskNestedInput - dependencies?: TaskDependencyUpdateManyWithoutDependentTaskNestedInput - dependentOn?: TaskDependencyUpdateManyWithoutTaskNestedInput - parent?: TaskUpdateOneWithoutSubtasksNestedInput - subtasks?: TaskUpdateManyWithoutParentNestedInput - activityLogs?: ActivityLogUpdateManyWithoutTaskNestedInput + address?: NullableStringFieldUpdateOperationsInput | string | null + contactEmail?: NullableStringFieldUpdateOperationsInput | string | null + contactPhone?: NullableStringFieldUpdateOperationsInput | string | null + emailVerificationOTP?: NullableStringFieldUpdateOperationsInput | string | null + emailVerificationExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + creator?: UserUpdateOneRequiredWithoutCreatedOrganizationsNestedInput + departments?: DepartmentUpdateManyWithoutOrganizationNestedInput + teams?: TeamUpdateManyWithoutOrganizationNestedInput + projects?: ProjectUpdateManyWithoutOrganizationNestedInput + users?: UserUpdateManyWithoutOrganizationNestedInput + owners?: OrganizationOwnerUpdateManyWithoutOrganizationNestedInput + templates?: TaskTemplateUpdateManyWithoutOrganizationNestedInput + activityLogs?: ActivityLogUpdateManyWithoutOrganizationNestedInput } - export type TaskUncheckedUpdateWithoutAttachmentsInput = { + export type OrganizationUncheckedUpdateWithoutReportsInput = { id?: StringFieldUpdateOperationsInput | string - title?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + industry?: StringFieldUpdateOperationsInput | string + sizeRange?: StringFieldUpdateOperationsInput | string + website?: NullableStringFieldUpdateOperationsInput | string | null + logoUrl?: NullableStringFieldUpdateOperationsInput | string | null + isVerified?: BoolFieldUpdateOperationsInput | boolean + status?: StringFieldUpdateOperationsInput | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + createdBy?: StringFieldUpdateOperationsInput | string + address?: NullableStringFieldUpdateOperationsInput | string | null + contactEmail?: NullableStringFieldUpdateOperationsInput | string | null + contactPhone?: NullableStringFieldUpdateOperationsInput | string | null + emailVerificationOTP?: NullableStringFieldUpdateOperationsInput | string | null + emailVerificationExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + departments?: DepartmentUncheckedUpdateManyWithoutOrganizationNestedInput + teams?: TeamUncheckedUpdateManyWithoutOrganizationNestedInput + projects?: ProjectUncheckedUpdateManyWithoutOrganizationNestedInput + users?: UserUncheckedUpdateManyWithoutOrganizationNestedInput + owners?: OrganizationOwnerUncheckedUpdateManyWithoutOrganizationNestedInput + templates?: TaskTemplateUncheckedUpdateManyWithoutOrganizationNestedInput + activityLogs?: ActivityLogUncheckedUpdateManyWithoutOrganizationNestedInput + } + + export type TeamUpsertWithoutReportsInput = { + update: XOR + create: XOR + where?: TeamWhereInput + } + + export type TeamUpdateToOneWithWhereWithoutReportsInput = { + where?: TeamWhereInput + data: XOR + } + + export type TeamUpdateWithoutReportsInput = { + id?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + avatar?: NullableStringFieldUpdateOperationsInput | string | null + creator?: UserUpdateOneRequiredWithoutCreatedTeamsNestedInput + organization?: OrganizationUpdateOneRequiredWithoutTeamsNestedInput + department?: DepartmentUpdateOneWithoutTeamsNestedInput + members?: TeamMemberUpdateManyWithoutTeamNestedInput + projects?: ProjectUpdateManyWithoutTeamNestedInput + activityLogs?: ActivityLogUpdateManyWithoutTeamNestedInput + } + + export type TeamUncheckedUpdateWithoutReportsInput = { + id?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + createdBy?: StringFieldUpdateOperationsInput | string + organizationId?: StringFieldUpdateOperationsInput | string + departmentId?: NullableStringFieldUpdateOperationsInput | string | null + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + avatar?: NullableStringFieldUpdateOperationsInput | string | null + members?: TeamMemberUncheckedUpdateManyWithoutTeamNestedInput + projects?: ProjectUncheckedUpdateManyWithoutTeamNestedInput + activityLogs?: ActivityLogUncheckedUpdateManyWithoutTeamNestedInput + } + + export type ProjectUpsertWithoutReportsInput = { + update: XOR + create: XOR + where?: ProjectWhereInput + } + + export type ProjectUpdateToOneWithWhereWithoutReportsInput = { + where?: ProjectWhereInput + data: XOR + } + + export type ProjectUpdateWithoutReportsInput = { + id?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string description?: NullableStringFieldUpdateOperationsInput | string | null + status?: StringFieldUpdateOperationsInput | string + startDate?: DateTimeFieldUpdateOperationsInput | Date | string + endDate?: DateTimeFieldUpdateOperationsInput | Date | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null priority?: EnumTaskPriorityFieldUpdateOperationsInput | $Enums.TaskPriority - status?: EnumTaskStatusFieldUpdateOperationsInput | $Enums.TaskStatus - rate?: NullableFloatFieldUpdateOperationsInput | number | null - projectId?: StringFieldUpdateOperationsInput | string - sprintId?: NullableStringFieldUpdateOperationsInput | string | null + progress?: NullableFloatFieldUpdateOperationsInput | number | null + budget?: NullableFloatFieldUpdateOperationsInput | number | null + creator?: UserUpdateOneRequiredWithoutCreatedProjectsNestedInput + modifier?: UserUpdateOneWithoutModifiedProjectsNestedInput + organization?: OrganizationUpdateOneRequiredWithoutProjectsNestedInput + team?: TeamUpdateOneRequiredWithoutProjectsNestedInput + sprints?: SprintUpdateManyWithoutProjectNestedInput + tasks?: TaskUpdateManyWithoutProjectNestedInput + activityLogs?: ActivityLogUpdateManyWithoutProjectNestedInput + ProjectMember?: ProjectMemberUpdateManyWithoutProjectNestedInput + } + + export type ProjectUncheckedUpdateWithoutReportsInput = { + id?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + status?: StringFieldUpdateOperationsInput | string createdBy?: StringFieldUpdateOperationsInput | string - assignedTo?: NullableStringFieldUpdateOperationsInput | string | null - dueDate?: DateTimeFieldUpdateOperationsInput | Date | string + organizationId?: StringFieldUpdateOperationsInput | string + teamId?: StringFieldUpdateOperationsInput | string + startDate?: DateTimeFieldUpdateOperationsInput | Date | string + endDate?: DateTimeFieldUpdateOperationsInput | Date | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - estimatedTime?: NullableFloatFieldUpdateOperationsInput | number | null - actualTime?: NullableFloatFieldUpdateOperationsInput | number | null - parentId?: NullableStringFieldUpdateOperationsInput | string | null - order?: IntFieldUpdateOperationsInput | number - labels?: TaskUpdatelabelsInput | string[] + priority?: EnumTaskPriorityFieldUpdateOperationsInput | $Enums.TaskPriority + progress?: NullableFloatFieldUpdateOperationsInput | number | null + budget?: NullableFloatFieldUpdateOperationsInput | number | null lastModifiedBy?: NullableStringFieldUpdateOperationsInput | string | null - comments?: CommentUncheckedUpdateManyWithoutTaskNestedInput - timelogs?: TimelogUncheckedUpdateManyWithoutTaskNestedInput - dependencies?: TaskDependencyUncheckedUpdateManyWithoutDependentTaskNestedInput - dependentOn?: TaskDependencyUncheckedUpdateManyWithoutTaskNestedInput - subtasks?: TaskUncheckedUpdateManyWithoutParentNestedInput - activityLogs?: ActivityLogUncheckedUpdateManyWithoutTaskNestedInput + sprints?: SprintUncheckedUpdateManyWithoutProjectNestedInput + tasks?: TaskUncheckedUpdateManyWithoutProjectNestedInput + activityLogs?: ActivityLogUncheckedUpdateManyWithoutProjectNestedInput + ProjectMember?: ProjectMemberUncheckedUpdateManyWithoutProjectNestedInput } - export type UserUpsertWithoutTaskAttachmentsInput = { - update: XOR - create: XOR + export type DepartmentUpsertWithoutReportInput = { + update: XOR + create: XOR + where?: DepartmentWhereInput + } + + export type DepartmentUpdateToOneWithWhereWithoutReportInput = { + where?: DepartmentWhereInput + data: XOR + } + + export type DepartmentUpdateWithoutReportInput = { + id?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + organization?: OrganizationUpdateOneRequiredWithoutDepartmentsNestedInput + manager?: UserUpdateOneRequiredWithoutManagedDepartmentsNestedInput + teams?: TeamUpdateManyWithoutDepartmentNestedInput + users?: UserUpdateManyWithoutDepartmentNestedInput + activityLogs?: ActivityLogUpdateManyWithoutDepartmentNestedInput + } + + export type DepartmentUncheckedUpdateWithoutReportInput = { + id?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + organizationId?: StringFieldUpdateOperationsInput | string + managerId?: StringFieldUpdateOperationsInput | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + teams?: TeamUncheckedUpdateManyWithoutDepartmentNestedInput + users?: UserUncheckedUpdateManyWithoutDepartmentNestedInput + activityLogs?: ActivityLogUncheckedUpdateManyWithoutDepartmentNestedInput + } + + export type UserUpsertWithoutUserReportsInput = { + update: XOR + create: XOR where?: UserWhereInput } - export type UserUpdateToOneWithWhereWithoutTaskAttachmentsInput = { + export type UserUpdateToOneWithWhereWithoutUserReportsInput = { where?: UserWhereInput - data: XOR + data: XOR } - export type UserUpdateWithoutTaskAttachmentsInput = { + export type UserUpdateWithoutUserReportsInput = { id?: StringFieldUpdateOperationsInput | string email?: StringFieldUpdateOperationsInput | string username?: StringFieldUpdateOperationsInput | string @@ -47266,14 +66780,21 @@ export namespace Prisma { notifications?: NotificationUpdateManyWithoutUserNestedInput timelogs?: TimelogUpdateManyWithoutUserNestedInput comments?: CommentUpdateManyWithoutUserNestedInput + taskAttachments?: TaskAttachmentUpdateManyWithoutUploaderNestedInput generatedReports?: ReportUpdateManyWithoutGeneratorNestedInput - userReports?: ReportUpdateManyWithoutUserNestedInput permissions?: PermissionUpdateManyWithoutUserNestedInput activityLogs?: ActivityLogUpdateManyWithoutUserNestedInput ReportNotification?: ReportNotificationUpdateManyWithoutUserNestedInput + chatParticipations?: ChatParticipantUpdateManyWithoutUserNestedInput + sentMessages?: ChatMessageUpdateManyWithoutSenderNestedInput + messageReactions?: MessageReactionUpdateManyWithoutUserNestedInput + pinnedMessages?: PinnedMessageUpdateManyWithoutUserNestedInput + hostedSessions?: VideoConferenceSessionUpdateManyWithoutHostNestedInput + videoParticipations?: VideoParticipantUpdateManyWithoutUserNestedInput + videoRecordings?: VideoRecordingUpdateManyWithoutRecorderNestedInput } - export type UserUncheckedUpdateWithoutTaskAttachmentsInput = { + export type UserUncheckedUpdateWithoutUserReportsInput = { id?: StringFieldUpdateOperationsInput | string email?: StringFieldUpdateOperationsInput | string username?: StringFieldUpdateOperationsInput | string @@ -47316,469 +66837,502 @@ export namespace Prisma { notifications?: NotificationUncheckedUpdateManyWithoutUserNestedInput timelogs?: TimelogUncheckedUpdateManyWithoutUserNestedInput comments?: CommentUncheckedUpdateManyWithoutUserNestedInput + taskAttachments?: TaskAttachmentUncheckedUpdateManyWithoutUploaderNestedInput generatedReports?: ReportUncheckedUpdateManyWithoutGeneratorNestedInput - userReports?: ReportUncheckedUpdateManyWithoutUserNestedInput permissions?: PermissionUncheckedUpdateManyWithoutUserNestedInput activityLogs?: ActivityLogUncheckedUpdateManyWithoutUserNestedInput ReportNotification?: ReportNotificationUncheckedUpdateManyWithoutUserNestedInput + chatParticipations?: ChatParticipantUncheckedUpdateManyWithoutUserNestedInput + sentMessages?: ChatMessageUncheckedUpdateManyWithoutSenderNestedInput + messageReactions?: MessageReactionUncheckedUpdateManyWithoutUserNestedInput + pinnedMessages?: PinnedMessageUncheckedUpdateManyWithoutUserNestedInput + hostedSessions?: VideoConferenceSessionUncheckedUpdateManyWithoutHostNestedInput + videoParticipations?: VideoParticipantUncheckedUpdateManyWithoutUserNestedInput + videoRecordings?: VideoRecordingUncheckedUpdateManyWithoutRecorderNestedInput + } + + export type ReportScheduleUpsertWithoutReportsInput = { + update: XOR + create: XOR + where?: ReportScheduleWhereInput + } + + export type ReportScheduleUpdateToOneWithWhereWithoutReportsInput = { + where?: ReportScheduleWhereInput + data: XOR + } + + export type ReportScheduleUpdateWithoutReportsInput = { + id?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string + cronExpression?: StringFieldUpdateOperationsInput | string + isActive?: BoolFieldUpdateOperationsInput | boolean + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + createdBy?: StringFieldUpdateOperationsInput | string + } + + export type ReportScheduleUncheckedUpdateWithoutReportsInput = { + id?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string + cronExpression?: StringFieldUpdateOperationsInput | string + isActive?: BoolFieldUpdateOperationsInput | boolean + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + createdBy?: StringFieldUpdateOperationsInput | string + } + + export type ReportNotificationUpsertWithWhereUniqueWithoutReportInput = { + where: ReportNotificationWhereUniqueInput + update: XOR + create: XOR + } + + export type ReportNotificationUpdateWithWhereUniqueWithoutReportInput = { + where: ReportNotificationWhereUniqueInput + data: XOR + } + + export type ReportNotificationUpdateManyWithWhereWithoutReportInput = { + where: ReportNotificationScalarWhereInput + data: XOR } - export type TaskCreateWithoutDependentOnInput = { + export type ReportCreateWithoutReportScheduleInput = { id?: string - title: string + name: string description?: string | null - priority: $Enums.TaskPriority - status: $Enums.TaskStatus - rate?: number | null - dueDate: Date | string + reportType: $Enums.ReportType + format: string + parameters?: NullableJsonNullValueInput | InputJsonValue + filePath: string createdAt?: Date | string + status?: $Enums.ReportStatus updatedAt?: Date | string - deletedAt?: Date | string | null - estimatedTime?: number | null - actualTime?: number | null - order?: number - labels?: TaskCreatelabelsInput | string[] - project: ProjectCreateNestedOneWithoutTasksInput - sprint?: SprintCreateNestedOneWithoutTasksInput - creator: UserCreateNestedOneWithoutCreatedTasksInput - assignee?: UserCreateNestedOneWithoutAssignedTasksInput - modifier?: UserCreateNestedOneWithoutModifiedTasksInput - attachments?: TaskAttachmentCreateNestedManyWithoutTaskInput - comments?: CommentCreateNestedManyWithoutTaskInput - timelogs?: TimelogCreateNestedManyWithoutTaskInput - dependencies?: TaskDependencyCreateNestedManyWithoutDependentTaskInput - parent?: TaskCreateNestedOneWithoutSubtasksInput - subtasks?: TaskCreateNestedManyWithoutParentInput - activityLogs?: ActivityLogCreateNestedManyWithoutTaskInput + lastAccessedAt?: Date | string | null + expiresAt?: Date | string | null + tags?: string | null + storageProvider?: string | null + storageKey: string + generator: UserCreateNestedOneWithoutGeneratedReportsInput + organization?: OrganizationCreateNestedOneWithoutReportsInput + team?: TeamCreateNestedOneWithoutReportsInput + project?: ProjectCreateNestedOneWithoutReportsInput + department?: DepartmentCreateNestedOneWithoutReportInput + user?: UserCreateNestedOneWithoutUserReportsInput + notifiedUsers?: ReportNotificationCreateNestedManyWithoutReportInput } - export type TaskUncheckedCreateWithoutDependentOnInput = { + export type ReportUncheckedCreateWithoutReportScheduleInput = { id?: string - title: string + name: string description?: string | null - priority: $Enums.TaskPriority - status: $Enums.TaskStatus - rate?: number | null - projectId: string - sprintId?: string | null - createdBy: string - assignedTo?: string | null - dueDate: Date | string + reportType: $Enums.ReportType + format: string + parameters?: NullableJsonNullValueInput | InputJsonValue + filePath: string + generatedBy: string createdAt?: Date | string + status?: $Enums.ReportStatus updatedAt?: Date | string - deletedAt?: Date | string | null - estimatedTime?: number | null - actualTime?: number | null - parentId?: string | null - order?: number - labels?: TaskCreatelabelsInput | string[] - lastModifiedBy?: string | null - attachments?: TaskAttachmentUncheckedCreateNestedManyWithoutTaskInput - comments?: CommentUncheckedCreateNestedManyWithoutTaskInput - timelogs?: TimelogUncheckedCreateNestedManyWithoutTaskInput - dependencies?: TaskDependencyUncheckedCreateNestedManyWithoutDependentTaskInput - subtasks?: TaskUncheckedCreateNestedManyWithoutParentInput - activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutTaskInput + lastAccessedAt?: Date | string | null + expiresAt?: Date | string | null + tags?: string | null + organizationId?: string | null + teamId?: string | null + projectId?: string | null + departmentId?: string | null + userId?: string | null + storageProvider?: string | null + storageKey: string + notifiedUsers?: ReportNotificationUncheckedCreateNestedManyWithoutReportInput } - export type TaskCreateOrConnectWithoutDependentOnInput = { - where: TaskWhereUniqueInput - create: XOR + export type ReportCreateOrConnectWithoutReportScheduleInput = { + where: ReportWhereUniqueInput + create: XOR } - export type TaskCreateWithoutDependenciesInput = { + export type ReportCreateManyReportScheduleInputEnvelope = { + data: ReportCreateManyReportScheduleInput | ReportCreateManyReportScheduleInput[] + skipDuplicates?: boolean + } + + export type ReportUpsertWithWhereUniqueWithoutReportScheduleInput = { + where: ReportWhereUniqueInput + update: XOR + create: XOR + } + + export type ReportUpdateWithWhereUniqueWithoutReportScheduleInput = { + where: ReportWhereUniqueInput + data: XOR + } + + export type ReportUpdateManyWithWhereWithoutReportScheduleInput = { + where: ReportScalarWhereInput + data: XOR + } + + export type ReportCreateWithoutNotifiedUsersInput = { id?: string - title: string + name: string description?: string | null - priority: $Enums.TaskPriority - status: $Enums.TaskStatus - rate?: number | null - dueDate: Date | string + reportType: $Enums.ReportType + format: string + parameters?: NullableJsonNullValueInput | InputJsonValue + filePath: string createdAt?: Date | string + status?: $Enums.ReportStatus updatedAt?: Date | string - deletedAt?: Date | string | null - estimatedTime?: number | null - actualTime?: number | null - order?: number - labels?: TaskCreatelabelsInput | string[] - project: ProjectCreateNestedOneWithoutTasksInput - sprint?: SprintCreateNestedOneWithoutTasksInput - creator: UserCreateNestedOneWithoutCreatedTasksInput - assignee?: UserCreateNestedOneWithoutAssignedTasksInput - modifier?: UserCreateNestedOneWithoutModifiedTasksInput - attachments?: TaskAttachmentCreateNestedManyWithoutTaskInput - comments?: CommentCreateNestedManyWithoutTaskInput - timelogs?: TimelogCreateNestedManyWithoutTaskInput - dependentOn?: TaskDependencyCreateNestedManyWithoutTaskInput - parent?: TaskCreateNestedOneWithoutSubtasksInput - subtasks?: TaskCreateNestedManyWithoutParentInput - activityLogs?: ActivityLogCreateNestedManyWithoutTaskInput + lastAccessedAt?: Date | string | null + expiresAt?: Date | string | null + tags?: string | null + storageProvider?: string | null + storageKey: string + generator: UserCreateNestedOneWithoutGeneratedReportsInput + organization?: OrganizationCreateNestedOneWithoutReportsInput + team?: TeamCreateNestedOneWithoutReportsInput + project?: ProjectCreateNestedOneWithoutReportsInput + department?: DepartmentCreateNestedOneWithoutReportInput + user?: UserCreateNestedOneWithoutUserReportsInput + reportSchedule?: ReportScheduleCreateNestedOneWithoutReportsInput } - export type TaskUncheckedCreateWithoutDependenciesInput = { + export type ReportUncheckedCreateWithoutNotifiedUsersInput = { id?: string - title: string + name: string description?: string | null - priority: $Enums.TaskPriority - status: $Enums.TaskStatus - rate?: number | null - projectId: string - sprintId?: string | null - createdBy: string - assignedTo?: string | null - dueDate: Date | string + reportType: $Enums.ReportType + format: string + parameters?: NullableJsonNullValueInput | InputJsonValue + filePath: string + generatedBy: string createdAt?: Date | string + status?: $Enums.ReportStatus updatedAt?: Date | string - deletedAt?: Date | string | null - estimatedTime?: number | null - actualTime?: number | null - parentId?: string | null - order?: number - labels?: TaskCreatelabelsInput | string[] - lastModifiedBy?: string | null - attachments?: TaskAttachmentUncheckedCreateNestedManyWithoutTaskInput - comments?: CommentUncheckedCreateNestedManyWithoutTaskInput - timelogs?: TimelogUncheckedCreateNestedManyWithoutTaskInput - dependentOn?: TaskDependencyUncheckedCreateNestedManyWithoutTaskInput - subtasks?: TaskUncheckedCreateNestedManyWithoutParentInput - activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutTaskInput - } - - export type TaskCreateOrConnectWithoutDependenciesInput = { - where: TaskWhereUniqueInput - create: XOR + lastAccessedAt?: Date | string | null + expiresAt?: Date | string | null + tags?: string | null + organizationId?: string | null + teamId?: string | null + projectId?: string | null + departmentId?: string | null + userId?: string | null + scheduleId?: string | null + storageProvider?: string | null + storageKey: string } - export type TaskUpsertWithoutDependentOnInput = { - update: XOR - create: XOR - where?: TaskWhereInput + export type ReportCreateOrConnectWithoutNotifiedUsersInput = { + where: ReportWhereUniqueInput + create: XOR } - export type TaskUpdateToOneWithWhereWithoutDependentOnInput = { - where?: TaskWhereInput - data: XOR + export type UserCreateWithoutReportNotificationInput = { + id?: string + email: string + username: string + password: string + firebaseUid?: string | null + firstName: string + lastName: string + role: $Enums.UserRole + profilePic?: string | null + isOwner?: boolean + createdAt?: Date | string + updatedAt?: Date | string + isActive?: boolean + deletedAt?: Date | string | null + phoneNumber?: string | null + jobTitle?: string | null + timezone?: string | null + bio?: string | null + preferences?: NullableJsonNullValueInput | InputJsonValue + emailVerificationToken?: string | null + emailVerificationExpires?: Date | string | null + passwordResetToken?: string | null + passwordResetExpires?: Date | string | null + refreshToken?: string | null + lastLogin?: Date | string | null + lastLogout?: Date | string | null + department?: DepartmentCreateNestedOneWithoutUsersInput + organization?: OrganizationCreateNestedOneWithoutUsersInput + createdOrganizations?: OrganizationCreateNestedManyWithoutCreatorInput + ownedOrganizations?: OrganizationOwnerCreateNestedManyWithoutUserInput + managedDepartments?: DepartmentCreateNestedManyWithoutManagerInput + createdTeams?: TeamCreateNestedManyWithoutCreatorInput + teamMemberships?: TeamMemberCreateNestedManyWithoutUserInput + projectMemberships?: ProjectMemberCreateNestedManyWithoutUserInput + createdProjects?: ProjectCreateNestedManyWithoutCreatorInput + modifiedProjects?: ProjectCreateNestedManyWithoutModifierInput + createdTasks?: TaskCreateNestedManyWithoutCreatorInput + assignedTasks?: TaskCreateNestedManyWithoutAssigneeInput + modifiedTasks?: TaskCreateNestedManyWithoutModifierInput + notifications?: NotificationCreateNestedManyWithoutUserInput + timelogs?: TimelogCreateNestedManyWithoutUserInput + comments?: CommentCreateNestedManyWithoutUserInput + taskAttachments?: TaskAttachmentCreateNestedManyWithoutUploaderInput + generatedReports?: ReportCreateNestedManyWithoutGeneratorInput + userReports?: ReportCreateNestedManyWithoutUserInput + permissions?: PermissionCreateNestedManyWithoutUserInput + activityLogs?: ActivityLogCreateNestedManyWithoutUserInput + chatParticipations?: ChatParticipantCreateNestedManyWithoutUserInput + sentMessages?: ChatMessageCreateNestedManyWithoutSenderInput + messageReactions?: MessageReactionCreateNestedManyWithoutUserInput + pinnedMessages?: PinnedMessageCreateNestedManyWithoutUserInput + hostedSessions?: VideoConferenceSessionCreateNestedManyWithoutHostInput + videoParticipations?: VideoParticipantCreateNestedManyWithoutUserInput + videoRecordings?: VideoRecordingCreateNestedManyWithoutRecorderInput } - export type TaskUpdateWithoutDependentOnInput = { - id?: StringFieldUpdateOperationsInput | string - title?: StringFieldUpdateOperationsInput | string - description?: NullableStringFieldUpdateOperationsInput | string | null - priority?: EnumTaskPriorityFieldUpdateOperationsInput | $Enums.TaskPriority - status?: EnumTaskStatusFieldUpdateOperationsInput | $Enums.TaskStatus - rate?: NullableFloatFieldUpdateOperationsInput | number | null - dueDate?: DateTimeFieldUpdateOperationsInput | Date | string - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string - deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - estimatedTime?: NullableFloatFieldUpdateOperationsInput | number | null - actualTime?: NullableFloatFieldUpdateOperationsInput | number | null - order?: IntFieldUpdateOperationsInput | number - labels?: TaskUpdatelabelsInput | string[] - project?: ProjectUpdateOneRequiredWithoutTasksNestedInput - sprint?: SprintUpdateOneWithoutTasksNestedInput - creator?: UserUpdateOneRequiredWithoutCreatedTasksNestedInput - assignee?: UserUpdateOneWithoutAssignedTasksNestedInput - modifier?: UserUpdateOneWithoutModifiedTasksNestedInput - attachments?: TaskAttachmentUpdateManyWithoutTaskNestedInput - comments?: CommentUpdateManyWithoutTaskNestedInput - timelogs?: TimelogUpdateManyWithoutTaskNestedInput - dependencies?: TaskDependencyUpdateManyWithoutDependentTaskNestedInput - parent?: TaskUpdateOneWithoutSubtasksNestedInput - subtasks?: TaskUpdateManyWithoutParentNestedInput - activityLogs?: ActivityLogUpdateManyWithoutTaskNestedInput + export type UserUncheckedCreateWithoutReportNotificationInput = { + id?: string + email: string + username: string + password: string + firebaseUid?: string | null + firstName: string + lastName: string + role: $Enums.UserRole + profilePic?: string | null + departmentId?: string | null + organizationId?: string | null + isOwner?: boolean + createdAt?: Date | string + updatedAt?: Date | string + isActive?: boolean + deletedAt?: Date | string | null + phoneNumber?: string | null + jobTitle?: string | null + timezone?: string | null + bio?: string | null + preferences?: NullableJsonNullValueInput | InputJsonValue + emailVerificationToken?: string | null + emailVerificationExpires?: Date | string | null + passwordResetToken?: string | null + passwordResetExpires?: Date | string | null + refreshToken?: string | null + lastLogin?: Date | string | null + lastLogout?: Date | string | null + createdOrganizations?: OrganizationUncheckedCreateNestedManyWithoutCreatorInput + ownedOrganizations?: OrganizationOwnerUncheckedCreateNestedManyWithoutUserInput + managedDepartments?: DepartmentUncheckedCreateNestedManyWithoutManagerInput + createdTeams?: TeamUncheckedCreateNestedManyWithoutCreatorInput + teamMemberships?: TeamMemberUncheckedCreateNestedManyWithoutUserInput + projectMemberships?: ProjectMemberUncheckedCreateNestedManyWithoutUserInput + createdProjects?: ProjectUncheckedCreateNestedManyWithoutCreatorInput + modifiedProjects?: ProjectUncheckedCreateNestedManyWithoutModifierInput + createdTasks?: TaskUncheckedCreateNestedManyWithoutCreatorInput + assignedTasks?: TaskUncheckedCreateNestedManyWithoutAssigneeInput + modifiedTasks?: TaskUncheckedCreateNestedManyWithoutModifierInput + notifications?: NotificationUncheckedCreateNestedManyWithoutUserInput + timelogs?: TimelogUncheckedCreateNestedManyWithoutUserInput + comments?: CommentUncheckedCreateNestedManyWithoutUserInput + taskAttachments?: TaskAttachmentUncheckedCreateNestedManyWithoutUploaderInput + generatedReports?: ReportUncheckedCreateNestedManyWithoutGeneratorInput + userReports?: ReportUncheckedCreateNestedManyWithoutUserInput + permissions?: PermissionUncheckedCreateNestedManyWithoutUserInput + activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutUserInput + chatParticipations?: ChatParticipantUncheckedCreateNestedManyWithoutUserInput + sentMessages?: ChatMessageUncheckedCreateNestedManyWithoutSenderInput + messageReactions?: MessageReactionUncheckedCreateNestedManyWithoutUserInput + pinnedMessages?: PinnedMessageUncheckedCreateNestedManyWithoutUserInput + hostedSessions?: VideoConferenceSessionUncheckedCreateNestedManyWithoutHostInput + videoParticipations?: VideoParticipantUncheckedCreateNestedManyWithoutUserInput + videoRecordings?: VideoRecordingUncheckedCreateNestedManyWithoutRecorderInput } - export type TaskUncheckedUpdateWithoutDependentOnInput = { - id?: StringFieldUpdateOperationsInput | string - title?: StringFieldUpdateOperationsInput | string - description?: NullableStringFieldUpdateOperationsInput | string | null - priority?: EnumTaskPriorityFieldUpdateOperationsInput | $Enums.TaskPriority - status?: EnumTaskStatusFieldUpdateOperationsInput | $Enums.TaskStatus - rate?: NullableFloatFieldUpdateOperationsInput | number | null - projectId?: StringFieldUpdateOperationsInput | string - sprintId?: NullableStringFieldUpdateOperationsInput | string | null - createdBy?: StringFieldUpdateOperationsInput | string - assignedTo?: NullableStringFieldUpdateOperationsInput | string | null - dueDate?: DateTimeFieldUpdateOperationsInput | Date | string - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string - deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - estimatedTime?: NullableFloatFieldUpdateOperationsInput | number | null - actualTime?: NullableFloatFieldUpdateOperationsInput | number | null - parentId?: NullableStringFieldUpdateOperationsInput | string | null - order?: IntFieldUpdateOperationsInput | number - labels?: TaskUpdatelabelsInput | string[] - lastModifiedBy?: NullableStringFieldUpdateOperationsInput | string | null - attachments?: TaskAttachmentUncheckedUpdateManyWithoutTaskNestedInput - comments?: CommentUncheckedUpdateManyWithoutTaskNestedInput - timelogs?: TimelogUncheckedUpdateManyWithoutTaskNestedInput - dependencies?: TaskDependencyUncheckedUpdateManyWithoutDependentTaskNestedInput - subtasks?: TaskUncheckedUpdateManyWithoutParentNestedInput - activityLogs?: ActivityLogUncheckedUpdateManyWithoutTaskNestedInput + export type UserCreateOrConnectWithoutReportNotificationInput = { + where: UserWhereUniqueInput + create: XOR } - export type TaskUpsertWithoutDependenciesInput = { - update: XOR - create: XOR - where?: TaskWhereInput + export type ReportUpsertWithoutNotifiedUsersInput = { + update: XOR + create: XOR + where?: ReportWhereInput } - export type TaskUpdateToOneWithWhereWithoutDependenciesInput = { - where?: TaskWhereInput - data: XOR + export type ReportUpdateToOneWithWhereWithoutNotifiedUsersInput = { + where?: ReportWhereInput + data: XOR } - export type TaskUpdateWithoutDependenciesInput = { + export type ReportUpdateWithoutNotifiedUsersInput = { id?: StringFieldUpdateOperationsInput | string - title?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string description?: NullableStringFieldUpdateOperationsInput | string | null - priority?: EnumTaskPriorityFieldUpdateOperationsInput | $Enums.TaskPriority - status?: EnumTaskStatusFieldUpdateOperationsInput | $Enums.TaskStatus - rate?: NullableFloatFieldUpdateOperationsInput | number | null - dueDate?: DateTimeFieldUpdateOperationsInput | Date | string + reportType?: EnumReportTypeFieldUpdateOperationsInput | $Enums.ReportType + format?: StringFieldUpdateOperationsInput | string + parameters?: NullableJsonNullValueInput | InputJsonValue + filePath?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + status?: EnumReportStatusFieldUpdateOperationsInput | $Enums.ReportStatus updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string - deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - estimatedTime?: NullableFloatFieldUpdateOperationsInput | number | null - actualTime?: NullableFloatFieldUpdateOperationsInput | number | null - order?: IntFieldUpdateOperationsInput | number - labels?: TaskUpdatelabelsInput | string[] - project?: ProjectUpdateOneRequiredWithoutTasksNestedInput - sprint?: SprintUpdateOneWithoutTasksNestedInput - creator?: UserUpdateOneRequiredWithoutCreatedTasksNestedInput - assignee?: UserUpdateOneWithoutAssignedTasksNestedInput - modifier?: UserUpdateOneWithoutModifiedTasksNestedInput - attachments?: TaskAttachmentUpdateManyWithoutTaskNestedInput - comments?: CommentUpdateManyWithoutTaskNestedInput - timelogs?: TimelogUpdateManyWithoutTaskNestedInput - dependentOn?: TaskDependencyUpdateManyWithoutTaskNestedInput - parent?: TaskUpdateOneWithoutSubtasksNestedInput - subtasks?: TaskUpdateManyWithoutParentNestedInput - activityLogs?: ActivityLogUpdateManyWithoutTaskNestedInput + lastAccessedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + expiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + tags?: NullableStringFieldUpdateOperationsInput | string | null + storageProvider?: NullableStringFieldUpdateOperationsInput | string | null + storageKey?: StringFieldUpdateOperationsInput | string + generator?: UserUpdateOneRequiredWithoutGeneratedReportsNestedInput + organization?: OrganizationUpdateOneWithoutReportsNestedInput + team?: TeamUpdateOneWithoutReportsNestedInput + project?: ProjectUpdateOneWithoutReportsNestedInput + department?: DepartmentUpdateOneWithoutReportNestedInput + user?: UserUpdateOneWithoutUserReportsNestedInput + reportSchedule?: ReportScheduleUpdateOneWithoutReportsNestedInput } - export type TaskUncheckedUpdateWithoutDependenciesInput = { + export type ReportUncheckedUpdateWithoutNotifiedUsersInput = { id?: StringFieldUpdateOperationsInput | string - title?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string description?: NullableStringFieldUpdateOperationsInput | string | null - priority?: EnumTaskPriorityFieldUpdateOperationsInput | $Enums.TaskPriority - status?: EnumTaskStatusFieldUpdateOperationsInput | $Enums.TaskStatus - rate?: NullableFloatFieldUpdateOperationsInput | number | null - projectId?: StringFieldUpdateOperationsInput | string - sprintId?: NullableStringFieldUpdateOperationsInput | string | null - createdBy?: StringFieldUpdateOperationsInput | string - assignedTo?: NullableStringFieldUpdateOperationsInput | string | null - dueDate?: DateTimeFieldUpdateOperationsInput | Date | string + reportType?: EnumReportTypeFieldUpdateOperationsInput | $Enums.ReportType + format?: StringFieldUpdateOperationsInput | string + parameters?: NullableJsonNullValueInput | InputJsonValue + filePath?: StringFieldUpdateOperationsInput | string + generatedBy?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string - deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - estimatedTime?: NullableFloatFieldUpdateOperationsInput | number | null - actualTime?: NullableFloatFieldUpdateOperationsInput | number | null - parentId?: NullableStringFieldUpdateOperationsInput | string | null - order?: IntFieldUpdateOperationsInput | number - labels?: TaskUpdatelabelsInput | string[] - lastModifiedBy?: NullableStringFieldUpdateOperationsInput | string | null - attachments?: TaskAttachmentUncheckedUpdateManyWithoutTaskNestedInput - comments?: CommentUncheckedUpdateManyWithoutTaskNestedInput - timelogs?: TimelogUncheckedUpdateManyWithoutTaskNestedInput - dependentOn?: TaskDependencyUncheckedUpdateManyWithoutTaskNestedInput - subtasks?: TaskUncheckedUpdateManyWithoutParentNestedInput - activityLogs?: ActivityLogUncheckedUpdateManyWithoutTaskNestedInput - } - - export type OrganizationCreateWithoutTemplatesInput = { - id?: string - name: string - description?: string | null - industry: string - sizeRange: string - website?: string | null - logoUrl?: string | null - isVerified?: boolean - status: string - createdAt?: Date | string - updatedAt?: Date | string - deletedAt?: Date | string | null - address?: string | null - contactEmail?: string | null - contactPhone?: string | null - emailVerificationOTP?: string | null - emailVerificationExpires?: Date | string | null - creator: UserCreateNestedOneWithoutCreatedOrganizationsInput - departments?: DepartmentCreateNestedManyWithoutOrganizationInput - teams?: TeamCreateNestedManyWithoutOrganizationInput - projects?: ProjectCreateNestedManyWithoutOrganizationInput - users?: UserCreateNestedManyWithoutOrganizationInput - reports?: ReportCreateNestedManyWithoutOrganizationInput - owners?: OrganizationOwnerCreateNestedManyWithoutOrganizationInput - activityLogs?: ActivityLogCreateNestedManyWithoutOrganizationInput - } - - export type OrganizationUncheckedCreateWithoutTemplatesInput = { - id?: string - name: string - description?: string | null - industry: string - sizeRange: string - website?: string | null - logoUrl?: string | null - isVerified?: boolean - status: string - createdAt?: Date | string - updatedAt?: Date | string - deletedAt?: Date | string | null - createdBy: string - address?: string | null - contactEmail?: string | null - contactPhone?: string | null - emailVerificationOTP?: string | null - emailVerificationExpires?: Date | string | null - departments?: DepartmentUncheckedCreateNestedManyWithoutOrganizationInput - teams?: TeamUncheckedCreateNestedManyWithoutOrganizationInput - projects?: ProjectUncheckedCreateNestedManyWithoutOrganizationInput - users?: UserUncheckedCreateNestedManyWithoutOrganizationInput - reports?: ReportUncheckedCreateNestedManyWithoutOrganizationInput - owners?: OrganizationOwnerUncheckedCreateNestedManyWithoutOrganizationInput - activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutOrganizationInput - } - - export type OrganizationCreateOrConnectWithoutTemplatesInput = { - where: OrganizationWhereUniqueInput - create: XOR + status?: EnumReportStatusFieldUpdateOperationsInput | $Enums.ReportStatus + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + lastAccessedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + expiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + tags?: NullableStringFieldUpdateOperationsInput | string | null + organizationId?: NullableStringFieldUpdateOperationsInput | string | null + teamId?: NullableStringFieldUpdateOperationsInput | string | null + projectId?: NullableStringFieldUpdateOperationsInput | string | null + departmentId?: NullableStringFieldUpdateOperationsInput | string | null + userId?: NullableStringFieldUpdateOperationsInput | string | null + scheduleId?: NullableStringFieldUpdateOperationsInput | string | null + storageProvider?: NullableStringFieldUpdateOperationsInput | string | null + storageKey?: StringFieldUpdateOperationsInput | string } - export type OrganizationUpsertWithoutTemplatesInput = { - update: XOR - create: XOR - where?: OrganizationWhereInput + export type UserUpsertWithoutReportNotificationInput = { + update: XOR + create: XOR + where?: UserWhereInput } - export type OrganizationUpdateToOneWithWhereWithoutTemplatesInput = { - where?: OrganizationWhereInput - data: XOR + export type UserUpdateToOneWithWhereWithoutReportNotificationInput = { + where?: UserWhereInput + data: XOR } - export type OrganizationUpdateWithoutTemplatesInput = { + export type UserUpdateWithoutReportNotificationInput = { id?: StringFieldUpdateOperationsInput | string - name?: StringFieldUpdateOperationsInput | string - description?: NullableStringFieldUpdateOperationsInput | string | null - industry?: StringFieldUpdateOperationsInput | string - sizeRange?: StringFieldUpdateOperationsInput | string - website?: NullableStringFieldUpdateOperationsInput | string | null - logoUrl?: NullableStringFieldUpdateOperationsInput | string | null - isVerified?: BoolFieldUpdateOperationsInput | boolean - status?: StringFieldUpdateOperationsInput | string + email?: StringFieldUpdateOperationsInput | string + username?: StringFieldUpdateOperationsInput | string + password?: StringFieldUpdateOperationsInput | string + firebaseUid?: NullableStringFieldUpdateOperationsInput | string | null + firstName?: StringFieldUpdateOperationsInput | string + lastName?: StringFieldUpdateOperationsInput | string + role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole + profilePic?: NullableStringFieldUpdateOperationsInput | string | null + isOwner?: BoolFieldUpdateOperationsInput | boolean createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + isActive?: BoolFieldUpdateOperationsInput | boolean deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - address?: NullableStringFieldUpdateOperationsInput | string | null - contactEmail?: NullableStringFieldUpdateOperationsInput | string | null - contactPhone?: NullableStringFieldUpdateOperationsInput | string | null - emailVerificationOTP?: NullableStringFieldUpdateOperationsInput | string | null + phoneNumber?: NullableStringFieldUpdateOperationsInput | string | null + jobTitle?: NullableStringFieldUpdateOperationsInput | string | null + timezone?: NullableStringFieldUpdateOperationsInput | string | null + bio?: NullableStringFieldUpdateOperationsInput | string | null + preferences?: NullableJsonNullValueInput | InputJsonValue + emailVerificationToken?: NullableStringFieldUpdateOperationsInput | string | null emailVerificationExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - creator?: UserUpdateOneRequiredWithoutCreatedOrganizationsNestedInput - departments?: DepartmentUpdateManyWithoutOrganizationNestedInput - teams?: TeamUpdateManyWithoutOrganizationNestedInput - projects?: ProjectUpdateManyWithoutOrganizationNestedInput - users?: UserUpdateManyWithoutOrganizationNestedInput - reports?: ReportUpdateManyWithoutOrganizationNestedInput - owners?: OrganizationOwnerUpdateManyWithoutOrganizationNestedInput - activityLogs?: ActivityLogUpdateManyWithoutOrganizationNestedInput + passwordResetToken?: NullableStringFieldUpdateOperationsInput | string | null + passwordResetExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + refreshToken?: NullableStringFieldUpdateOperationsInput | string | null + lastLogin?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + lastLogout?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + department?: DepartmentUpdateOneWithoutUsersNestedInput + organization?: OrganizationUpdateOneWithoutUsersNestedInput + createdOrganizations?: OrganizationUpdateManyWithoutCreatorNestedInput + ownedOrganizations?: OrganizationOwnerUpdateManyWithoutUserNestedInput + managedDepartments?: DepartmentUpdateManyWithoutManagerNestedInput + createdTeams?: TeamUpdateManyWithoutCreatorNestedInput + teamMemberships?: TeamMemberUpdateManyWithoutUserNestedInput + projectMemberships?: ProjectMemberUpdateManyWithoutUserNestedInput + createdProjects?: ProjectUpdateManyWithoutCreatorNestedInput + modifiedProjects?: ProjectUpdateManyWithoutModifierNestedInput + createdTasks?: TaskUpdateManyWithoutCreatorNestedInput + assignedTasks?: TaskUpdateManyWithoutAssigneeNestedInput + modifiedTasks?: TaskUpdateManyWithoutModifierNestedInput + notifications?: NotificationUpdateManyWithoutUserNestedInput + timelogs?: TimelogUpdateManyWithoutUserNestedInput + comments?: CommentUpdateManyWithoutUserNestedInput + taskAttachments?: TaskAttachmentUpdateManyWithoutUploaderNestedInput + generatedReports?: ReportUpdateManyWithoutGeneratorNestedInput + userReports?: ReportUpdateManyWithoutUserNestedInput + permissions?: PermissionUpdateManyWithoutUserNestedInput + activityLogs?: ActivityLogUpdateManyWithoutUserNestedInput + chatParticipations?: ChatParticipantUpdateManyWithoutUserNestedInput + sentMessages?: ChatMessageUpdateManyWithoutSenderNestedInput + messageReactions?: MessageReactionUpdateManyWithoutUserNestedInput + pinnedMessages?: PinnedMessageUpdateManyWithoutUserNestedInput + hostedSessions?: VideoConferenceSessionUpdateManyWithoutHostNestedInput + videoParticipations?: VideoParticipantUpdateManyWithoutUserNestedInput + videoRecordings?: VideoRecordingUpdateManyWithoutRecorderNestedInput } - export type OrganizationUncheckedUpdateWithoutTemplatesInput = { + export type UserUncheckedUpdateWithoutReportNotificationInput = { id?: StringFieldUpdateOperationsInput | string - name?: StringFieldUpdateOperationsInput | string - description?: NullableStringFieldUpdateOperationsInput | string | null - industry?: StringFieldUpdateOperationsInput | string - sizeRange?: StringFieldUpdateOperationsInput | string - website?: NullableStringFieldUpdateOperationsInput | string | null - logoUrl?: NullableStringFieldUpdateOperationsInput | string | null - isVerified?: BoolFieldUpdateOperationsInput | boolean - status?: StringFieldUpdateOperationsInput | string + email?: StringFieldUpdateOperationsInput | string + username?: StringFieldUpdateOperationsInput | string + password?: StringFieldUpdateOperationsInput | string + firebaseUid?: NullableStringFieldUpdateOperationsInput | string | null + firstName?: StringFieldUpdateOperationsInput | string + lastName?: StringFieldUpdateOperationsInput | string + role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole + profilePic?: NullableStringFieldUpdateOperationsInput | string | null + departmentId?: NullableStringFieldUpdateOperationsInput | string | null + organizationId?: NullableStringFieldUpdateOperationsInput | string | null + isOwner?: BoolFieldUpdateOperationsInput | boolean createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + isActive?: BoolFieldUpdateOperationsInput | boolean deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - createdBy?: StringFieldUpdateOperationsInput | string - address?: NullableStringFieldUpdateOperationsInput | string | null - contactEmail?: NullableStringFieldUpdateOperationsInput | string | null - contactPhone?: NullableStringFieldUpdateOperationsInput | string | null - emailVerificationOTP?: NullableStringFieldUpdateOperationsInput | string | null + phoneNumber?: NullableStringFieldUpdateOperationsInput | string | null + jobTitle?: NullableStringFieldUpdateOperationsInput | string | null + timezone?: NullableStringFieldUpdateOperationsInput | string | null + bio?: NullableStringFieldUpdateOperationsInput | string | null + preferences?: NullableJsonNullValueInput | InputJsonValue + emailVerificationToken?: NullableStringFieldUpdateOperationsInput | string | null emailVerificationExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - departments?: DepartmentUncheckedUpdateManyWithoutOrganizationNestedInput - teams?: TeamUncheckedUpdateManyWithoutOrganizationNestedInput - projects?: ProjectUncheckedUpdateManyWithoutOrganizationNestedInput - users?: UserUncheckedUpdateManyWithoutOrganizationNestedInput - reports?: ReportUncheckedUpdateManyWithoutOrganizationNestedInput - owners?: OrganizationOwnerUncheckedUpdateManyWithoutOrganizationNestedInput - activityLogs?: ActivityLogUncheckedUpdateManyWithoutOrganizationNestedInput - } - - export type TaskCreateWithoutTimelogsInput = { - id?: string - title: string - description?: string | null - priority: $Enums.TaskPriority - status: $Enums.TaskStatus - rate?: number | null - dueDate: Date | string - createdAt?: Date | string - updatedAt?: Date | string - deletedAt?: Date | string | null - estimatedTime?: number | null - actualTime?: number | null - order?: number - labels?: TaskCreatelabelsInput | string[] - project: ProjectCreateNestedOneWithoutTasksInput - sprint?: SprintCreateNestedOneWithoutTasksInput - creator: UserCreateNestedOneWithoutCreatedTasksInput - assignee?: UserCreateNestedOneWithoutAssignedTasksInput - modifier?: UserCreateNestedOneWithoutModifiedTasksInput - attachments?: TaskAttachmentCreateNestedManyWithoutTaskInput - comments?: CommentCreateNestedManyWithoutTaskInput - dependencies?: TaskDependencyCreateNestedManyWithoutDependentTaskInput - dependentOn?: TaskDependencyCreateNestedManyWithoutTaskInput - parent?: TaskCreateNestedOneWithoutSubtasksInput - subtasks?: TaskCreateNestedManyWithoutParentInput - activityLogs?: ActivityLogCreateNestedManyWithoutTaskInput - } - - export type TaskUncheckedCreateWithoutTimelogsInput = { - id?: string - title: string - description?: string | null - priority: $Enums.TaskPriority - status: $Enums.TaskStatus - rate?: number | null - projectId: string - sprintId?: string | null - createdBy: string - assignedTo?: string | null - dueDate: Date | string - createdAt?: Date | string - updatedAt?: Date | string - deletedAt?: Date | string | null - estimatedTime?: number | null - actualTime?: number | null - parentId?: string | null - order?: number - labels?: TaskCreatelabelsInput | string[] - lastModifiedBy?: string | null - attachments?: TaskAttachmentUncheckedCreateNestedManyWithoutTaskInput - comments?: CommentUncheckedCreateNestedManyWithoutTaskInput - dependencies?: TaskDependencyUncheckedCreateNestedManyWithoutDependentTaskInput - dependentOn?: TaskDependencyUncheckedCreateNestedManyWithoutTaskInput - subtasks?: TaskUncheckedCreateNestedManyWithoutParentInput - activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutTaskInput - } - - export type TaskCreateOrConnectWithoutTimelogsInput = { - where: TaskWhereUniqueInput - create: XOR + passwordResetToken?: NullableStringFieldUpdateOperationsInput | string | null + passwordResetExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + refreshToken?: NullableStringFieldUpdateOperationsInput | string | null + lastLogin?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + lastLogout?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + createdOrganizations?: OrganizationUncheckedUpdateManyWithoutCreatorNestedInput + ownedOrganizations?: OrganizationOwnerUncheckedUpdateManyWithoutUserNestedInput + managedDepartments?: DepartmentUncheckedUpdateManyWithoutManagerNestedInput + createdTeams?: TeamUncheckedUpdateManyWithoutCreatorNestedInput + teamMemberships?: TeamMemberUncheckedUpdateManyWithoutUserNestedInput + projectMemberships?: ProjectMemberUncheckedUpdateManyWithoutUserNestedInput + createdProjects?: ProjectUncheckedUpdateManyWithoutCreatorNestedInput + modifiedProjects?: ProjectUncheckedUpdateManyWithoutModifierNestedInput + createdTasks?: TaskUncheckedUpdateManyWithoutCreatorNestedInput + assignedTasks?: TaskUncheckedUpdateManyWithoutAssigneeNestedInput + modifiedTasks?: TaskUncheckedUpdateManyWithoutModifierNestedInput + notifications?: NotificationUncheckedUpdateManyWithoutUserNestedInput + timelogs?: TimelogUncheckedUpdateManyWithoutUserNestedInput + comments?: CommentUncheckedUpdateManyWithoutUserNestedInput + taskAttachments?: TaskAttachmentUncheckedUpdateManyWithoutUploaderNestedInput + generatedReports?: ReportUncheckedUpdateManyWithoutGeneratorNestedInput + userReports?: ReportUncheckedUpdateManyWithoutUserNestedInput + permissions?: PermissionUncheckedUpdateManyWithoutUserNestedInput + activityLogs?: ActivityLogUncheckedUpdateManyWithoutUserNestedInput + chatParticipations?: ChatParticipantUncheckedUpdateManyWithoutUserNestedInput + sentMessages?: ChatMessageUncheckedUpdateManyWithoutSenderNestedInput + messageReactions?: MessageReactionUncheckedUpdateManyWithoutUserNestedInput + pinnedMessages?: PinnedMessageUncheckedUpdateManyWithoutUserNestedInput + hostedSessions?: VideoConferenceSessionUncheckedUpdateManyWithoutHostNestedInput + videoParticipations?: VideoParticipantUncheckedUpdateManyWithoutUserNestedInput + videoRecordings?: VideoRecordingUncheckedUpdateManyWithoutRecorderNestedInput } - export type UserCreateWithoutTimelogsInput = { + export type UserCreateWithoutPermissionsInput = { id?: string email: string username: string @@ -47819,16 +67373,23 @@ export namespace Prisma { assignedTasks?: TaskCreateNestedManyWithoutAssigneeInput modifiedTasks?: TaskCreateNestedManyWithoutModifierInput notifications?: NotificationCreateNestedManyWithoutUserInput + timelogs?: TimelogCreateNestedManyWithoutUserInput comments?: CommentCreateNestedManyWithoutUserInput taskAttachments?: TaskAttachmentCreateNestedManyWithoutUploaderInput generatedReports?: ReportCreateNestedManyWithoutGeneratorInput userReports?: ReportCreateNestedManyWithoutUserInput - permissions?: PermissionCreateNestedManyWithoutUserInput activityLogs?: ActivityLogCreateNestedManyWithoutUserInput ReportNotification?: ReportNotificationCreateNestedManyWithoutUserInput + chatParticipations?: ChatParticipantCreateNestedManyWithoutUserInput + sentMessages?: ChatMessageCreateNestedManyWithoutSenderInput + messageReactions?: MessageReactionCreateNestedManyWithoutUserInput + pinnedMessages?: PinnedMessageCreateNestedManyWithoutUserInput + hostedSessions?: VideoConferenceSessionCreateNestedManyWithoutHostInput + videoParticipations?: VideoParticipantCreateNestedManyWithoutUserInput + videoRecordings?: VideoRecordingCreateNestedManyWithoutRecorderInput } - export type UserUncheckedCreateWithoutTimelogsInput = { + export type UserUncheckedCreateWithoutPermissionsInput = { id?: string email: string username: string @@ -47869,101 +67430,39 @@ export namespace Prisma { assignedTasks?: TaskUncheckedCreateNestedManyWithoutAssigneeInput modifiedTasks?: TaskUncheckedCreateNestedManyWithoutModifierInput notifications?: NotificationUncheckedCreateNestedManyWithoutUserInput + timelogs?: TimelogUncheckedCreateNestedManyWithoutUserInput comments?: CommentUncheckedCreateNestedManyWithoutUserInput taskAttachments?: TaskAttachmentUncheckedCreateNestedManyWithoutUploaderInput generatedReports?: ReportUncheckedCreateNestedManyWithoutGeneratorInput userReports?: ReportUncheckedCreateNestedManyWithoutUserInput - permissions?: PermissionUncheckedCreateNestedManyWithoutUserInput activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutUserInput ReportNotification?: ReportNotificationUncheckedCreateNestedManyWithoutUserInput + chatParticipations?: ChatParticipantUncheckedCreateNestedManyWithoutUserInput + sentMessages?: ChatMessageUncheckedCreateNestedManyWithoutSenderInput + messageReactions?: MessageReactionUncheckedCreateNestedManyWithoutUserInput + pinnedMessages?: PinnedMessageUncheckedCreateNestedManyWithoutUserInput + hostedSessions?: VideoConferenceSessionUncheckedCreateNestedManyWithoutHostInput + videoParticipations?: VideoParticipantUncheckedCreateNestedManyWithoutUserInput + videoRecordings?: VideoRecordingUncheckedCreateNestedManyWithoutRecorderInput } - export type UserCreateOrConnectWithoutTimelogsInput = { + export type UserCreateOrConnectWithoutPermissionsInput = { where: UserWhereUniqueInput - create: XOR - } - - export type TaskUpsertWithoutTimelogsInput = { - update: XOR - create: XOR - where?: TaskWhereInput - } - - export type TaskUpdateToOneWithWhereWithoutTimelogsInput = { - where?: TaskWhereInput - data: XOR - } - - export type TaskUpdateWithoutTimelogsInput = { - id?: StringFieldUpdateOperationsInput | string - title?: StringFieldUpdateOperationsInput | string - description?: NullableStringFieldUpdateOperationsInput | string | null - priority?: EnumTaskPriorityFieldUpdateOperationsInput | $Enums.TaskPriority - status?: EnumTaskStatusFieldUpdateOperationsInput | $Enums.TaskStatus - rate?: NullableFloatFieldUpdateOperationsInput | number | null - dueDate?: DateTimeFieldUpdateOperationsInput | Date | string - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string - deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - estimatedTime?: NullableFloatFieldUpdateOperationsInput | number | null - actualTime?: NullableFloatFieldUpdateOperationsInput | number | null - order?: IntFieldUpdateOperationsInput | number - labels?: TaskUpdatelabelsInput | string[] - project?: ProjectUpdateOneRequiredWithoutTasksNestedInput - sprint?: SprintUpdateOneWithoutTasksNestedInput - creator?: UserUpdateOneRequiredWithoutCreatedTasksNestedInput - assignee?: UserUpdateOneWithoutAssignedTasksNestedInput - modifier?: UserUpdateOneWithoutModifiedTasksNestedInput - attachments?: TaskAttachmentUpdateManyWithoutTaskNestedInput - comments?: CommentUpdateManyWithoutTaskNestedInput - dependencies?: TaskDependencyUpdateManyWithoutDependentTaskNestedInput - dependentOn?: TaskDependencyUpdateManyWithoutTaskNestedInput - parent?: TaskUpdateOneWithoutSubtasksNestedInput - subtasks?: TaskUpdateManyWithoutParentNestedInput - activityLogs?: ActivityLogUpdateManyWithoutTaskNestedInput - } - - export type TaskUncheckedUpdateWithoutTimelogsInput = { - id?: StringFieldUpdateOperationsInput | string - title?: StringFieldUpdateOperationsInput | string - description?: NullableStringFieldUpdateOperationsInput | string | null - priority?: EnumTaskPriorityFieldUpdateOperationsInput | $Enums.TaskPriority - status?: EnumTaskStatusFieldUpdateOperationsInput | $Enums.TaskStatus - rate?: NullableFloatFieldUpdateOperationsInput | number | null - projectId?: StringFieldUpdateOperationsInput | string - sprintId?: NullableStringFieldUpdateOperationsInput | string | null - createdBy?: StringFieldUpdateOperationsInput | string - assignedTo?: NullableStringFieldUpdateOperationsInput | string | null - dueDate?: DateTimeFieldUpdateOperationsInput | Date | string - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string - deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - estimatedTime?: NullableFloatFieldUpdateOperationsInput | number | null - actualTime?: NullableFloatFieldUpdateOperationsInput | number | null - parentId?: NullableStringFieldUpdateOperationsInput | string | null - order?: IntFieldUpdateOperationsInput | number - labels?: TaskUpdatelabelsInput | string[] - lastModifiedBy?: NullableStringFieldUpdateOperationsInput | string | null - attachments?: TaskAttachmentUncheckedUpdateManyWithoutTaskNestedInput - comments?: CommentUncheckedUpdateManyWithoutTaskNestedInput - dependencies?: TaskDependencyUncheckedUpdateManyWithoutDependentTaskNestedInput - dependentOn?: TaskDependencyUncheckedUpdateManyWithoutTaskNestedInput - subtasks?: TaskUncheckedUpdateManyWithoutParentNestedInput - activityLogs?: ActivityLogUncheckedUpdateManyWithoutTaskNestedInput + create: XOR } - export type UserUpsertWithoutTimelogsInput = { - update: XOR - create: XOR + export type UserUpsertWithoutPermissionsInput = { + update: XOR + create: XOR where?: UserWhereInput } - export type UserUpdateToOneWithWhereWithoutTimelogsInput = { + export type UserUpdateToOneWithWhereWithoutPermissionsInput = { where?: UserWhereInput - data: XOR + data: XOR } - export type UserUpdateWithoutTimelogsInput = { + export type UserUpdateWithoutPermissionsInput = { id?: StringFieldUpdateOperationsInput | string email?: StringFieldUpdateOperationsInput | string username?: StringFieldUpdateOperationsInput | string @@ -48004,16 +67503,23 @@ export namespace Prisma { assignedTasks?: TaskUpdateManyWithoutAssigneeNestedInput modifiedTasks?: TaskUpdateManyWithoutModifierNestedInput notifications?: NotificationUpdateManyWithoutUserNestedInput + timelogs?: TimelogUpdateManyWithoutUserNestedInput comments?: CommentUpdateManyWithoutUserNestedInput taskAttachments?: TaskAttachmentUpdateManyWithoutUploaderNestedInput generatedReports?: ReportUpdateManyWithoutGeneratorNestedInput userReports?: ReportUpdateManyWithoutUserNestedInput - permissions?: PermissionUpdateManyWithoutUserNestedInput activityLogs?: ActivityLogUpdateManyWithoutUserNestedInput ReportNotification?: ReportNotificationUpdateManyWithoutUserNestedInput + chatParticipations?: ChatParticipantUpdateManyWithoutUserNestedInput + sentMessages?: ChatMessageUpdateManyWithoutSenderNestedInput + messageReactions?: MessageReactionUpdateManyWithoutUserNestedInput + pinnedMessages?: PinnedMessageUpdateManyWithoutUserNestedInput + hostedSessions?: VideoConferenceSessionUpdateManyWithoutHostNestedInput + videoParticipations?: VideoParticipantUpdateManyWithoutUserNestedInput + videoRecordings?: VideoRecordingUpdateManyWithoutRecorderNestedInput } - export type UserUncheckedUpdateWithoutTimelogsInput = { + export type UserUncheckedUpdateWithoutPermissionsInput = { id?: StringFieldUpdateOperationsInput | string email?: StringFieldUpdateOperationsInput | string username?: StringFieldUpdateOperationsInput | string @@ -48054,79 +67560,274 @@ export namespace Prisma { assignedTasks?: TaskUncheckedUpdateManyWithoutAssigneeNestedInput modifiedTasks?: TaskUncheckedUpdateManyWithoutModifierNestedInput notifications?: NotificationUncheckedUpdateManyWithoutUserNestedInput + timelogs?: TimelogUncheckedUpdateManyWithoutUserNestedInput comments?: CommentUncheckedUpdateManyWithoutUserNestedInput taskAttachments?: TaskAttachmentUncheckedUpdateManyWithoutUploaderNestedInput generatedReports?: ReportUncheckedUpdateManyWithoutGeneratorNestedInput userReports?: ReportUncheckedUpdateManyWithoutUserNestedInput - permissions?: PermissionUncheckedUpdateManyWithoutUserNestedInput activityLogs?: ActivityLogUncheckedUpdateManyWithoutUserNestedInput ReportNotification?: ReportNotificationUncheckedUpdateManyWithoutUserNestedInput + chatParticipations?: ChatParticipantUncheckedUpdateManyWithoutUserNestedInput + sentMessages?: ChatMessageUncheckedUpdateManyWithoutSenderNestedInput + messageReactions?: MessageReactionUncheckedUpdateManyWithoutUserNestedInput + pinnedMessages?: PinnedMessageUncheckedUpdateManyWithoutUserNestedInput + hostedSessions?: VideoConferenceSessionUncheckedUpdateManyWithoutHostNestedInput + videoParticipations?: VideoParticipantUncheckedUpdateManyWithoutUserNestedInput + videoRecordings?: VideoRecordingUncheckedUpdateManyWithoutRecorderNestedInput } - export type TaskCreateWithoutCommentsInput = { + export type ChatMessageCreateWithoutChatRoomInput = { id?: string - title: string - description?: string | null - priority: $Enums.TaskPriority - status: $Enums.TaskStatus - rate?: number | null - dueDate: Date | string + content: string + contentType?: $Enums.MessageContentType createdAt?: Date | string updatedAt?: Date | string + isEdited?: boolean + isDeleted?: boolean deletedAt?: Date | string | null - estimatedTime?: number | null - actualTime?: number | null - order?: number - labels?: TaskCreatelabelsInput | string[] - project: ProjectCreateNestedOneWithoutTasksInput - sprint?: SprintCreateNestedOneWithoutTasksInput - creator: UserCreateNestedOneWithoutCreatedTasksInput - assignee?: UserCreateNestedOneWithoutAssignedTasksInput - modifier?: UserCreateNestedOneWithoutModifiedTasksInput - attachments?: TaskAttachmentCreateNestedManyWithoutTaskInput - timelogs?: TimelogCreateNestedManyWithoutTaskInput - dependencies?: TaskDependencyCreateNestedManyWithoutDependentTaskInput - dependentOn?: TaskDependencyCreateNestedManyWithoutTaskInput - parent?: TaskCreateNestedOneWithoutSubtasksInput - subtasks?: TaskCreateNestedManyWithoutParentInput - activityLogs?: ActivityLogCreateNestedManyWithoutTaskInput + metadata?: NullableJsonNullValueInput | InputJsonValue + sender: UserCreateNestedOneWithoutSentMessagesInput + replyTo?: ChatMessageCreateNestedOneWithoutRepliesInput + replies?: ChatMessageCreateNestedManyWithoutReplyToInput + attachments?: MessageAttachmentCreateNestedManyWithoutMessageInput + reactions?: MessageReactionCreateNestedManyWithoutMessageInput + readBy?: ChatParticipantCreateNestedManyWithoutLastReadMessageInput + pinnedIn?: PinnedMessageCreateNestedManyWithoutMessageInput } - export type TaskUncheckedCreateWithoutCommentsInput = { + export type ChatMessageUncheckedCreateWithoutChatRoomInput = { + id?: string + senderId: string + content: string + contentType?: $Enums.MessageContentType + createdAt?: Date | string + updatedAt?: Date | string + isEdited?: boolean + isDeleted?: boolean + deletedAt?: Date | string | null + replyToId?: string | null + metadata?: NullableJsonNullValueInput | InputJsonValue + replies?: ChatMessageUncheckedCreateNestedManyWithoutReplyToInput + attachments?: MessageAttachmentUncheckedCreateNestedManyWithoutMessageInput + reactions?: MessageReactionUncheckedCreateNestedManyWithoutMessageInput + readBy?: ChatParticipantUncheckedCreateNestedManyWithoutLastReadMessageInput + pinnedIn?: PinnedMessageUncheckedCreateNestedManyWithoutMessageInput + } + + export type ChatMessageCreateOrConnectWithoutChatRoomInput = { + where: ChatMessageWhereUniqueInput + create: XOR + } + + export type ChatMessageCreateManyChatRoomInputEnvelope = { + data: ChatMessageCreateManyChatRoomInput | ChatMessageCreateManyChatRoomInput[] + skipDuplicates?: boolean + } + + export type ChatParticipantCreateWithoutChatRoomInput = { + id?: string + joinedAt?: Date | string + lastReadAt?: Date | string | null + isAdmin?: boolean + notificationsOn?: boolean + status?: $Enums.ParticipantStatus + user: UserCreateNestedOneWithoutChatParticipationsInput + lastReadMessage?: ChatMessageCreateNestedOneWithoutReadByInput + } + + export type ChatParticipantUncheckedCreateWithoutChatRoomInput = { + id?: string + userId: string + joinedAt?: Date | string + lastReadMessageId?: string | null + lastReadAt?: Date | string | null + isAdmin?: boolean + notificationsOn?: boolean + status?: $Enums.ParticipantStatus + } + + export type ChatParticipantCreateOrConnectWithoutChatRoomInput = { + where: ChatParticipantWhereUniqueInput + create: XOR + } + + export type ChatParticipantCreateManyChatRoomInputEnvelope = { + data: ChatParticipantCreateManyChatRoomInput | ChatParticipantCreateManyChatRoomInput[] + skipDuplicates?: boolean + } + + export type PinnedMessageCreateWithoutChatRoomInput = { + id?: string + pinnedAt?: Date | string + message: ChatMessageCreateNestedOneWithoutPinnedInInput + user: UserCreateNestedOneWithoutPinnedMessagesInput + } + + export type PinnedMessageUncheckedCreateWithoutChatRoomInput = { + id?: string + messageId: string + pinnedBy: string + pinnedAt?: Date | string + } + + export type PinnedMessageCreateOrConnectWithoutChatRoomInput = { + where: PinnedMessageWhereUniqueInput + create: XOR + } + + export type PinnedMessageCreateManyChatRoomInputEnvelope = { + data: PinnedMessageCreateManyChatRoomInput | PinnedMessageCreateManyChatRoomInput[] + skipDuplicates?: boolean + } + + export type VideoConferenceSessionCreateWithoutChatRoomInput = { id?: string title: string description?: string | null - priority: $Enums.TaskPriority - status: $Enums.TaskStatus - rate?: number | null - projectId: string - sprintId?: string | null - createdBy: string - assignedTo?: string | null - dueDate: Date | string + startTime?: Date | string + endTime?: Date | string | null + status?: $Enums.SessionStatus + meetingUrl: string + recordingUrl?: string | null + settings?: NullableJsonNullValueInput | InputJsonValue + host: UserCreateNestedOneWithoutHostedSessionsInput + participants?: VideoParticipantCreateNestedManyWithoutSessionInput + recordings?: VideoRecordingCreateNestedManyWithoutSessionInput + } + + export type VideoConferenceSessionUncheckedCreateWithoutChatRoomInput = { + id?: string + title: string + description?: string | null + startTime?: Date | string + endTime?: Date | string | null + status?: $Enums.SessionStatus + hostId: string + meetingUrl: string + recordingUrl?: string | null + settings?: NullableJsonNullValueInput | InputJsonValue + participants?: VideoParticipantUncheckedCreateNestedManyWithoutSessionInput + recordings?: VideoRecordingUncheckedCreateNestedManyWithoutSessionInput + } + + export type VideoConferenceSessionCreateOrConnectWithoutChatRoomInput = { + where: VideoConferenceSessionWhereUniqueInput + create: XOR + } + + export type VideoConferenceSessionCreateManyChatRoomInputEnvelope = { + data: VideoConferenceSessionCreateManyChatRoomInput | VideoConferenceSessionCreateManyChatRoomInput[] + skipDuplicates?: boolean + } + + export type ChatMessageUpsertWithWhereUniqueWithoutChatRoomInput = { + where: ChatMessageWhereUniqueInput + update: XOR + create: XOR + } + + export type ChatMessageUpdateWithWhereUniqueWithoutChatRoomInput = { + where: ChatMessageWhereUniqueInput + data: XOR + } + + export type ChatMessageUpdateManyWithWhereWithoutChatRoomInput = { + where: ChatMessageScalarWhereInput + data: XOR + } + + export type ChatParticipantUpsertWithWhereUniqueWithoutChatRoomInput = { + where: ChatParticipantWhereUniqueInput + update: XOR + create: XOR + } + + export type ChatParticipantUpdateWithWhereUniqueWithoutChatRoomInput = { + where: ChatParticipantWhereUniqueInput + data: XOR + } + + export type ChatParticipantUpdateManyWithWhereWithoutChatRoomInput = { + where: ChatParticipantScalarWhereInput + data: XOR + } + + export type PinnedMessageUpsertWithWhereUniqueWithoutChatRoomInput = { + where: PinnedMessageWhereUniqueInput + update: XOR + create: XOR + } + + export type PinnedMessageUpdateWithWhereUniqueWithoutChatRoomInput = { + where: PinnedMessageWhereUniqueInput + data: XOR + } + + export type PinnedMessageUpdateManyWithWhereWithoutChatRoomInput = { + where: PinnedMessageScalarWhereInput + data: XOR + } + + export type VideoConferenceSessionUpsertWithWhereUniqueWithoutChatRoomInput = { + where: VideoConferenceSessionWhereUniqueInput + update: XOR + create: XOR + } + + export type VideoConferenceSessionUpdateWithWhereUniqueWithoutChatRoomInput = { + where: VideoConferenceSessionWhereUniqueInput + data: XOR + } + + export type VideoConferenceSessionUpdateManyWithWhereWithoutChatRoomInput = { + where: VideoConferenceSessionScalarWhereInput + data: XOR + } + + export type ChatRoomCreateWithoutParticipantsInput = { + id?: string + name: string + description?: string | null + type: $Enums.ChatRoomType + entityType: $Enums.EntityType + entityId: string createdAt?: Date | string updatedAt?: Date | string - deletedAt?: Date | string | null - estimatedTime?: number | null - actualTime?: number | null - parentId?: string | null - order?: number - labels?: TaskCreatelabelsInput | string[] - lastModifiedBy?: string | null - attachments?: TaskAttachmentUncheckedCreateNestedManyWithoutTaskInput - timelogs?: TimelogUncheckedCreateNestedManyWithoutTaskInput - dependencies?: TaskDependencyUncheckedCreateNestedManyWithoutDependentTaskInput - dependentOn?: TaskDependencyUncheckedCreateNestedManyWithoutTaskInput - subtasks?: TaskUncheckedCreateNestedManyWithoutParentInput - activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutTaskInput + isActive?: boolean + isArchived?: boolean + archivedAt?: Date | string | null + avatarUrl?: string | null + lastMessageAt?: Date | string | null + messages?: ChatMessageCreateNestedManyWithoutChatRoomInput + pinnedMessages?: PinnedMessageCreateNestedManyWithoutChatRoomInput + videoSessions?: VideoConferenceSessionCreateNestedManyWithoutChatRoomInput } - export type TaskCreateOrConnectWithoutCommentsInput = { - where: TaskWhereUniqueInput - create: XOR + export type ChatRoomUncheckedCreateWithoutParticipantsInput = { + id?: string + name: string + description?: string | null + type: $Enums.ChatRoomType + entityType: $Enums.EntityType + entityId: string + createdAt?: Date | string + updatedAt?: Date | string + isActive?: boolean + isArchived?: boolean + archivedAt?: Date | string | null + avatarUrl?: string | null + lastMessageAt?: Date | string | null + messages?: ChatMessageUncheckedCreateNestedManyWithoutChatRoomInput + pinnedMessages?: PinnedMessageUncheckedCreateNestedManyWithoutChatRoomInput + videoSessions?: VideoConferenceSessionUncheckedCreateNestedManyWithoutChatRoomInput } - export type UserCreateWithoutCommentsInput = { + export type ChatRoomCreateOrConnectWithoutParticipantsInput = { + where: ChatRoomWhereUniqueInput + create: XOR + } + + export type UserCreateWithoutChatParticipationsInput = { id?: string email: string username: string @@ -48168,15 +67869,22 @@ export namespace Prisma { modifiedTasks?: TaskCreateNestedManyWithoutModifierInput notifications?: NotificationCreateNestedManyWithoutUserInput timelogs?: TimelogCreateNestedManyWithoutUserInput + comments?: CommentCreateNestedManyWithoutUserInput taskAttachments?: TaskAttachmentCreateNestedManyWithoutUploaderInput generatedReports?: ReportCreateNestedManyWithoutGeneratorInput userReports?: ReportCreateNestedManyWithoutUserInput permissions?: PermissionCreateNestedManyWithoutUserInput activityLogs?: ActivityLogCreateNestedManyWithoutUserInput ReportNotification?: ReportNotificationCreateNestedManyWithoutUserInput + sentMessages?: ChatMessageCreateNestedManyWithoutSenderInput + messageReactions?: MessageReactionCreateNestedManyWithoutUserInput + pinnedMessages?: PinnedMessageCreateNestedManyWithoutUserInput + hostedSessions?: VideoConferenceSessionCreateNestedManyWithoutHostInput + videoParticipations?: VideoParticipantCreateNestedManyWithoutUserInput + videoRecordings?: VideoRecordingCreateNestedManyWithoutRecorderInput } - export type UserUncheckedCreateWithoutCommentsInput = { + export type UserUncheckedCreateWithoutChatParticipationsInput = { id?: string email: string username: string @@ -48218,100 +67926,130 @@ export namespace Prisma { modifiedTasks?: TaskUncheckedCreateNestedManyWithoutModifierInput notifications?: NotificationUncheckedCreateNestedManyWithoutUserInput timelogs?: TimelogUncheckedCreateNestedManyWithoutUserInput + comments?: CommentUncheckedCreateNestedManyWithoutUserInput taskAttachments?: TaskAttachmentUncheckedCreateNestedManyWithoutUploaderInput generatedReports?: ReportUncheckedCreateNestedManyWithoutGeneratorInput userReports?: ReportUncheckedCreateNestedManyWithoutUserInput permissions?: PermissionUncheckedCreateNestedManyWithoutUserInput activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutUserInput ReportNotification?: ReportNotificationUncheckedCreateNestedManyWithoutUserInput + sentMessages?: ChatMessageUncheckedCreateNestedManyWithoutSenderInput + messageReactions?: MessageReactionUncheckedCreateNestedManyWithoutUserInput + pinnedMessages?: PinnedMessageUncheckedCreateNestedManyWithoutUserInput + hostedSessions?: VideoConferenceSessionUncheckedCreateNestedManyWithoutHostInput + videoParticipations?: VideoParticipantUncheckedCreateNestedManyWithoutUserInput + videoRecordings?: VideoRecordingUncheckedCreateNestedManyWithoutRecorderInput } - export type UserCreateOrConnectWithoutCommentsInput = { + export type UserCreateOrConnectWithoutChatParticipationsInput = { where: UserWhereUniqueInput - create: XOR + create: XOR } - export type TaskUpsertWithoutCommentsInput = { - update: XOR - create: XOR - where?: TaskWhereInput + export type ChatMessageCreateWithoutReadByInput = { + id?: string + content: string + contentType?: $Enums.MessageContentType + createdAt?: Date | string + updatedAt?: Date | string + isEdited?: boolean + isDeleted?: boolean + deletedAt?: Date | string | null + metadata?: NullableJsonNullValueInput | InputJsonValue + chatRoom: ChatRoomCreateNestedOneWithoutMessagesInput + sender: UserCreateNestedOneWithoutSentMessagesInput + replyTo?: ChatMessageCreateNestedOneWithoutRepliesInput + replies?: ChatMessageCreateNestedManyWithoutReplyToInput + attachments?: MessageAttachmentCreateNestedManyWithoutMessageInput + reactions?: MessageReactionCreateNestedManyWithoutMessageInput + pinnedIn?: PinnedMessageCreateNestedManyWithoutMessageInput } - export type TaskUpdateToOneWithWhereWithoutCommentsInput = { - where?: TaskWhereInput - data: XOR + export type ChatMessageUncheckedCreateWithoutReadByInput = { + id?: string + chatRoomId: string + senderId: string + content: string + contentType?: $Enums.MessageContentType + createdAt?: Date | string + updatedAt?: Date | string + isEdited?: boolean + isDeleted?: boolean + deletedAt?: Date | string | null + replyToId?: string | null + metadata?: NullableJsonNullValueInput | InputJsonValue + replies?: ChatMessageUncheckedCreateNestedManyWithoutReplyToInput + attachments?: MessageAttachmentUncheckedCreateNestedManyWithoutMessageInput + reactions?: MessageReactionUncheckedCreateNestedManyWithoutMessageInput + pinnedIn?: PinnedMessageUncheckedCreateNestedManyWithoutMessageInput } - export type TaskUpdateWithoutCommentsInput = { + export type ChatMessageCreateOrConnectWithoutReadByInput = { + where: ChatMessageWhereUniqueInput + create: XOR + } + + export type ChatRoomUpsertWithoutParticipantsInput = { + update: XOR + create: XOR + where?: ChatRoomWhereInput + } + + export type ChatRoomUpdateToOneWithWhereWithoutParticipantsInput = { + where?: ChatRoomWhereInput + data: XOR + } + + export type ChatRoomUpdateWithoutParticipantsInput = { id?: StringFieldUpdateOperationsInput | string - title?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string description?: NullableStringFieldUpdateOperationsInput | string | null - priority?: EnumTaskPriorityFieldUpdateOperationsInput | $Enums.TaskPriority - status?: EnumTaskStatusFieldUpdateOperationsInput | $Enums.TaskStatus - rate?: NullableFloatFieldUpdateOperationsInput | number | null - dueDate?: DateTimeFieldUpdateOperationsInput | Date | string - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string - deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - estimatedTime?: NullableFloatFieldUpdateOperationsInput | number | null - actualTime?: NullableFloatFieldUpdateOperationsInput | number | null - order?: IntFieldUpdateOperationsInput | number - labels?: TaskUpdatelabelsInput | string[] - project?: ProjectUpdateOneRequiredWithoutTasksNestedInput - sprint?: SprintUpdateOneWithoutTasksNestedInput - creator?: UserUpdateOneRequiredWithoutCreatedTasksNestedInput - assignee?: UserUpdateOneWithoutAssignedTasksNestedInput - modifier?: UserUpdateOneWithoutModifiedTasksNestedInput - attachments?: TaskAttachmentUpdateManyWithoutTaskNestedInput - timelogs?: TimelogUpdateManyWithoutTaskNestedInput - dependencies?: TaskDependencyUpdateManyWithoutDependentTaskNestedInput - dependentOn?: TaskDependencyUpdateManyWithoutTaskNestedInput - parent?: TaskUpdateOneWithoutSubtasksNestedInput - subtasks?: TaskUpdateManyWithoutParentNestedInput - activityLogs?: ActivityLogUpdateManyWithoutTaskNestedInput + type?: EnumChatRoomTypeFieldUpdateOperationsInput | $Enums.ChatRoomType + entityType?: EnumEntityTypeFieldUpdateOperationsInput | $Enums.EntityType + entityId?: StringFieldUpdateOperationsInput | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + isActive?: BoolFieldUpdateOperationsInput | boolean + isArchived?: BoolFieldUpdateOperationsInput | boolean + archivedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + avatarUrl?: NullableStringFieldUpdateOperationsInput | string | null + lastMessageAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + messages?: ChatMessageUpdateManyWithoutChatRoomNestedInput + pinnedMessages?: PinnedMessageUpdateManyWithoutChatRoomNestedInput + videoSessions?: VideoConferenceSessionUpdateManyWithoutChatRoomNestedInput } - export type TaskUncheckedUpdateWithoutCommentsInput = { + export type ChatRoomUncheckedUpdateWithoutParticipantsInput = { id?: StringFieldUpdateOperationsInput | string - title?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string description?: NullableStringFieldUpdateOperationsInput | string | null - priority?: EnumTaskPriorityFieldUpdateOperationsInput | $Enums.TaskPriority - status?: EnumTaskStatusFieldUpdateOperationsInput | $Enums.TaskStatus - rate?: NullableFloatFieldUpdateOperationsInput | number | null - projectId?: StringFieldUpdateOperationsInput | string - sprintId?: NullableStringFieldUpdateOperationsInput | string | null - createdBy?: StringFieldUpdateOperationsInput | string - assignedTo?: NullableStringFieldUpdateOperationsInput | string | null - dueDate?: DateTimeFieldUpdateOperationsInput | Date | string + type?: EnumChatRoomTypeFieldUpdateOperationsInput | $Enums.ChatRoomType + entityType?: EnumEntityTypeFieldUpdateOperationsInput | $Enums.EntityType + entityId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string - deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - estimatedTime?: NullableFloatFieldUpdateOperationsInput | number | null - actualTime?: NullableFloatFieldUpdateOperationsInput | number | null - parentId?: NullableStringFieldUpdateOperationsInput | string | null - order?: IntFieldUpdateOperationsInput | number - labels?: TaskUpdatelabelsInput | string[] - lastModifiedBy?: NullableStringFieldUpdateOperationsInput | string | null - attachments?: TaskAttachmentUncheckedUpdateManyWithoutTaskNestedInput - timelogs?: TimelogUncheckedUpdateManyWithoutTaskNestedInput - dependencies?: TaskDependencyUncheckedUpdateManyWithoutDependentTaskNestedInput - dependentOn?: TaskDependencyUncheckedUpdateManyWithoutTaskNestedInput - subtasks?: TaskUncheckedUpdateManyWithoutParentNestedInput - activityLogs?: ActivityLogUncheckedUpdateManyWithoutTaskNestedInput - } - - export type UserUpsertWithoutCommentsInput = { - update: XOR - create: XOR + isActive?: BoolFieldUpdateOperationsInput | boolean + isArchived?: BoolFieldUpdateOperationsInput | boolean + archivedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + avatarUrl?: NullableStringFieldUpdateOperationsInput | string | null + lastMessageAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + messages?: ChatMessageUncheckedUpdateManyWithoutChatRoomNestedInput + pinnedMessages?: PinnedMessageUncheckedUpdateManyWithoutChatRoomNestedInput + videoSessions?: VideoConferenceSessionUncheckedUpdateManyWithoutChatRoomNestedInput + } + + export type UserUpsertWithoutChatParticipationsInput = { + update: XOR + create: XOR where?: UserWhereInput } - export type UserUpdateToOneWithWhereWithoutCommentsInput = { + export type UserUpdateToOneWithWhereWithoutChatParticipationsInput = { where?: UserWhereInput - data: XOR + data: XOR } - export type UserUpdateWithoutCommentsInput = { + export type UserUpdateWithoutChatParticipationsInput = { id?: StringFieldUpdateOperationsInput | string email?: StringFieldUpdateOperationsInput | string username?: StringFieldUpdateOperationsInput | string @@ -48353,15 +68091,22 @@ export namespace Prisma { modifiedTasks?: TaskUpdateManyWithoutModifierNestedInput notifications?: NotificationUpdateManyWithoutUserNestedInput timelogs?: TimelogUpdateManyWithoutUserNestedInput + comments?: CommentUpdateManyWithoutUserNestedInput taskAttachments?: TaskAttachmentUpdateManyWithoutUploaderNestedInput generatedReports?: ReportUpdateManyWithoutGeneratorNestedInput userReports?: ReportUpdateManyWithoutUserNestedInput permissions?: PermissionUpdateManyWithoutUserNestedInput activityLogs?: ActivityLogUpdateManyWithoutUserNestedInput ReportNotification?: ReportNotificationUpdateManyWithoutUserNestedInput + sentMessages?: ChatMessageUpdateManyWithoutSenderNestedInput + messageReactions?: MessageReactionUpdateManyWithoutUserNestedInput + pinnedMessages?: PinnedMessageUpdateManyWithoutUserNestedInput + hostedSessions?: VideoConferenceSessionUpdateManyWithoutHostNestedInput + videoParticipations?: VideoParticipantUpdateManyWithoutUserNestedInput + videoRecordings?: VideoRecordingUpdateManyWithoutRecorderNestedInput } - export type UserUncheckedUpdateWithoutCommentsInput = { + export type UserUncheckedUpdateWithoutChatParticipationsInput = { id?: StringFieldUpdateOperationsInput | string email?: StringFieldUpdateOperationsInput | string username?: StringFieldUpdateOperationsInput | string @@ -48403,15 +68148,114 @@ export namespace Prisma { modifiedTasks?: TaskUncheckedUpdateManyWithoutModifierNestedInput notifications?: NotificationUncheckedUpdateManyWithoutUserNestedInput timelogs?: TimelogUncheckedUpdateManyWithoutUserNestedInput + comments?: CommentUncheckedUpdateManyWithoutUserNestedInput taskAttachments?: TaskAttachmentUncheckedUpdateManyWithoutUploaderNestedInput generatedReports?: ReportUncheckedUpdateManyWithoutGeneratorNestedInput userReports?: ReportUncheckedUpdateManyWithoutUserNestedInput permissions?: PermissionUncheckedUpdateManyWithoutUserNestedInput activityLogs?: ActivityLogUncheckedUpdateManyWithoutUserNestedInput ReportNotification?: ReportNotificationUncheckedUpdateManyWithoutUserNestedInput + sentMessages?: ChatMessageUncheckedUpdateManyWithoutSenderNestedInput + messageReactions?: MessageReactionUncheckedUpdateManyWithoutUserNestedInput + pinnedMessages?: PinnedMessageUncheckedUpdateManyWithoutUserNestedInput + hostedSessions?: VideoConferenceSessionUncheckedUpdateManyWithoutHostNestedInput + videoParticipations?: VideoParticipantUncheckedUpdateManyWithoutUserNestedInput + videoRecordings?: VideoRecordingUncheckedUpdateManyWithoutRecorderNestedInput } - export type UserCreateWithoutActivityLogsInput = { + export type ChatMessageUpsertWithoutReadByInput = { + update: XOR + create: XOR + where?: ChatMessageWhereInput + } + + export type ChatMessageUpdateToOneWithWhereWithoutReadByInput = { + where?: ChatMessageWhereInput + data: XOR + } + + export type ChatMessageUpdateWithoutReadByInput = { + id?: StringFieldUpdateOperationsInput | string + content?: StringFieldUpdateOperationsInput | string + contentType?: EnumMessageContentTypeFieldUpdateOperationsInput | $Enums.MessageContentType + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + isEdited?: BoolFieldUpdateOperationsInput | boolean + isDeleted?: BoolFieldUpdateOperationsInput | boolean + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + metadata?: NullableJsonNullValueInput | InputJsonValue + chatRoom?: ChatRoomUpdateOneRequiredWithoutMessagesNestedInput + sender?: UserUpdateOneRequiredWithoutSentMessagesNestedInput + replyTo?: ChatMessageUpdateOneWithoutRepliesNestedInput + replies?: ChatMessageUpdateManyWithoutReplyToNestedInput + attachments?: MessageAttachmentUpdateManyWithoutMessageNestedInput + reactions?: MessageReactionUpdateManyWithoutMessageNestedInput + pinnedIn?: PinnedMessageUpdateManyWithoutMessageNestedInput + } + + export type ChatMessageUncheckedUpdateWithoutReadByInput = { + id?: StringFieldUpdateOperationsInput | string + chatRoomId?: StringFieldUpdateOperationsInput | string + senderId?: StringFieldUpdateOperationsInput | string + content?: StringFieldUpdateOperationsInput | string + contentType?: EnumMessageContentTypeFieldUpdateOperationsInput | $Enums.MessageContentType + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + isEdited?: BoolFieldUpdateOperationsInput | boolean + isDeleted?: BoolFieldUpdateOperationsInput | boolean + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + replyToId?: NullableStringFieldUpdateOperationsInput | string | null + metadata?: NullableJsonNullValueInput | InputJsonValue + replies?: ChatMessageUncheckedUpdateManyWithoutReplyToNestedInput + attachments?: MessageAttachmentUncheckedUpdateManyWithoutMessageNestedInput + reactions?: MessageReactionUncheckedUpdateManyWithoutMessageNestedInput + pinnedIn?: PinnedMessageUncheckedUpdateManyWithoutMessageNestedInput + } + + export type ChatRoomCreateWithoutMessagesInput = { + id?: string + name: string + description?: string | null + type: $Enums.ChatRoomType + entityType: $Enums.EntityType + entityId: string + createdAt?: Date | string + updatedAt?: Date | string + isActive?: boolean + isArchived?: boolean + archivedAt?: Date | string | null + avatarUrl?: string | null + lastMessageAt?: Date | string | null + participants?: ChatParticipantCreateNestedManyWithoutChatRoomInput + pinnedMessages?: PinnedMessageCreateNestedManyWithoutChatRoomInput + videoSessions?: VideoConferenceSessionCreateNestedManyWithoutChatRoomInput + } + + export type ChatRoomUncheckedCreateWithoutMessagesInput = { + id?: string + name: string + description?: string | null + type: $Enums.ChatRoomType + entityType: $Enums.EntityType + entityId: string + createdAt?: Date | string + updatedAt?: Date | string + isActive?: boolean + isArchived?: boolean + archivedAt?: Date | string | null + avatarUrl?: string | null + lastMessageAt?: Date | string | null + participants?: ChatParticipantUncheckedCreateNestedManyWithoutChatRoomInput + pinnedMessages?: PinnedMessageUncheckedCreateNestedManyWithoutChatRoomInput + videoSessions?: VideoConferenceSessionUncheckedCreateNestedManyWithoutChatRoomInput + } + + export type ChatRoomCreateOrConnectWithoutMessagesInput = { + where: ChatRoomWhereUniqueInput + create: XOR + } + + export type UserCreateWithoutSentMessagesInput = { id?: string email: string username: string @@ -48458,10 +68302,17 @@ export namespace Prisma { generatedReports?: ReportCreateNestedManyWithoutGeneratorInput userReports?: ReportCreateNestedManyWithoutUserInput permissions?: PermissionCreateNestedManyWithoutUserInput + activityLogs?: ActivityLogCreateNestedManyWithoutUserInput ReportNotification?: ReportNotificationCreateNestedManyWithoutUserInput + chatParticipations?: ChatParticipantCreateNestedManyWithoutUserInput + messageReactions?: MessageReactionCreateNestedManyWithoutUserInput + pinnedMessages?: PinnedMessageCreateNestedManyWithoutUserInput + hostedSessions?: VideoConferenceSessionCreateNestedManyWithoutHostInput + videoParticipations?: VideoParticipantCreateNestedManyWithoutUserInput + videoRecordings?: VideoRecordingCreateNestedManyWithoutRecorderInput } - export type UserUncheckedCreateWithoutActivityLogsInput = { + export type UserUncheckedCreateWithoutSentMessagesInput = { id?: string email: string username: string @@ -48508,302 +68359,287 @@ export namespace Prisma { generatedReports?: ReportUncheckedCreateNestedManyWithoutGeneratorInput userReports?: ReportUncheckedCreateNestedManyWithoutUserInput permissions?: PermissionUncheckedCreateNestedManyWithoutUserInput + activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutUserInput ReportNotification?: ReportNotificationUncheckedCreateNestedManyWithoutUserInput + chatParticipations?: ChatParticipantUncheckedCreateNestedManyWithoutUserInput + messageReactions?: MessageReactionUncheckedCreateNestedManyWithoutUserInput + pinnedMessages?: PinnedMessageUncheckedCreateNestedManyWithoutUserInput + hostedSessions?: VideoConferenceSessionUncheckedCreateNestedManyWithoutHostInput + videoParticipations?: VideoParticipantUncheckedCreateNestedManyWithoutUserInput + videoRecordings?: VideoRecordingUncheckedCreateNestedManyWithoutRecorderInput } - export type UserCreateOrConnectWithoutActivityLogsInput = { + export type UserCreateOrConnectWithoutSentMessagesInput = { where: UserWhereUniqueInput - create: XOR + create: XOR } - export type OrganizationCreateWithoutActivityLogsInput = { + export type ChatMessageCreateWithoutRepliesInput = { id?: string - name: string - description?: string | null - industry: string - sizeRange: string - website?: string | null - logoUrl?: string | null - isVerified?: boolean - status: string + content: string + contentType?: $Enums.MessageContentType createdAt?: Date | string updatedAt?: Date | string + isEdited?: boolean + isDeleted?: boolean deletedAt?: Date | string | null - address?: string | null - contactEmail?: string | null - contactPhone?: string | null - emailVerificationOTP?: string | null - emailVerificationExpires?: Date | string | null - creator: UserCreateNestedOneWithoutCreatedOrganizationsInput - departments?: DepartmentCreateNestedManyWithoutOrganizationInput - teams?: TeamCreateNestedManyWithoutOrganizationInput - projects?: ProjectCreateNestedManyWithoutOrganizationInput - users?: UserCreateNestedManyWithoutOrganizationInput - reports?: ReportCreateNestedManyWithoutOrganizationInput - owners?: OrganizationOwnerCreateNestedManyWithoutOrganizationInput - templates?: TaskTemplateCreateNestedManyWithoutOrganizationInput + metadata?: NullableJsonNullValueInput | InputJsonValue + chatRoom: ChatRoomCreateNestedOneWithoutMessagesInput + sender: UserCreateNestedOneWithoutSentMessagesInput + replyTo?: ChatMessageCreateNestedOneWithoutRepliesInput + attachments?: MessageAttachmentCreateNestedManyWithoutMessageInput + reactions?: MessageReactionCreateNestedManyWithoutMessageInput + readBy?: ChatParticipantCreateNestedManyWithoutLastReadMessageInput + pinnedIn?: PinnedMessageCreateNestedManyWithoutMessageInput } - export type OrganizationUncheckedCreateWithoutActivityLogsInput = { + export type ChatMessageUncheckedCreateWithoutRepliesInput = { id?: string - name: string - description?: string | null - industry: string - sizeRange: string - website?: string | null - logoUrl?: string | null - isVerified?: boolean - status: string + chatRoomId: string + senderId: string + content: string + contentType?: $Enums.MessageContentType createdAt?: Date | string updatedAt?: Date | string + isEdited?: boolean + isDeleted?: boolean deletedAt?: Date | string | null - createdBy: string - address?: string | null - contactEmail?: string | null - contactPhone?: string | null - emailVerificationOTP?: string | null - emailVerificationExpires?: Date | string | null - departments?: DepartmentUncheckedCreateNestedManyWithoutOrganizationInput - teams?: TeamUncheckedCreateNestedManyWithoutOrganizationInput - projects?: ProjectUncheckedCreateNestedManyWithoutOrganizationInput - users?: UserUncheckedCreateNestedManyWithoutOrganizationInput - reports?: ReportUncheckedCreateNestedManyWithoutOrganizationInput - owners?: OrganizationOwnerUncheckedCreateNestedManyWithoutOrganizationInput - templates?: TaskTemplateUncheckedCreateNestedManyWithoutOrganizationInput + replyToId?: string | null + metadata?: NullableJsonNullValueInput | InputJsonValue + attachments?: MessageAttachmentUncheckedCreateNestedManyWithoutMessageInput + reactions?: MessageReactionUncheckedCreateNestedManyWithoutMessageInput + readBy?: ChatParticipantUncheckedCreateNestedManyWithoutLastReadMessageInput + pinnedIn?: PinnedMessageUncheckedCreateNestedManyWithoutMessageInput } - export type OrganizationCreateOrConnectWithoutActivityLogsInput = { - where: OrganizationWhereUniqueInput - create: XOR + export type ChatMessageCreateOrConnectWithoutRepliesInput = { + where: ChatMessageWhereUniqueInput + create: XOR } - export type DepartmentCreateWithoutActivityLogsInput = { + export type ChatMessageCreateWithoutReplyToInput = { id?: string - name: string - description?: string | null + content: string + contentType?: $Enums.MessageContentType createdAt?: Date | string updatedAt?: Date | string + isEdited?: boolean + isDeleted?: boolean deletedAt?: Date | string | null - organization: OrganizationCreateNestedOneWithoutDepartmentsInput - manager: UserCreateNestedOneWithoutManagedDepartmentsInput - teams?: TeamCreateNestedManyWithoutDepartmentInput - users?: UserCreateNestedManyWithoutDepartmentInput - Report?: ReportCreateNestedManyWithoutDepartmentInput + metadata?: NullableJsonNullValueInput | InputJsonValue + chatRoom: ChatRoomCreateNestedOneWithoutMessagesInput + sender: UserCreateNestedOneWithoutSentMessagesInput + replies?: ChatMessageCreateNestedManyWithoutReplyToInput + attachments?: MessageAttachmentCreateNestedManyWithoutMessageInput + reactions?: MessageReactionCreateNestedManyWithoutMessageInput + readBy?: ChatParticipantCreateNestedManyWithoutLastReadMessageInput + pinnedIn?: PinnedMessageCreateNestedManyWithoutMessageInput } - export type DepartmentUncheckedCreateWithoutActivityLogsInput = { + export type ChatMessageUncheckedCreateWithoutReplyToInput = { id?: string - name: string - description?: string | null - organizationId: string - managerId: string + chatRoomId: string + senderId: string + content: string + contentType?: $Enums.MessageContentType createdAt?: Date | string updatedAt?: Date | string + isEdited?: boolean + isDeleted?: boolean deletedAt?: Date | string | null - teams?: TeamUncheckedCreateNestedManyWithoutDepartmentInput - users?: UserUncheckedCreateNestedManyWithoutDepartmentInput - Report?: ReportUncheckedCreateNestedManyWithoutDepartmentInput + metadata?: NullableJsonNullValueInput | InputJsonValue + replies?: ChatMessageUncheckedCreateNestedManyWithoutReplyToInput + attachments?: MessageAttachmentUncheckedCreateNestedManyWithoutMessageInput + reactions?: MessageReactionUncheckedCreateNestedManyWithoutMessageInput + readBy?: ChatParticipantUncheckedCreateNestedManyWithoutLastReadMessageInput + pinnedIn?: PinnedMessageUncheckedCreateNestedManyWithoutMessageInput } - export type DepartmentCreateOrConnectWithoutActivityLogsInput = { - where: DepartmentWhereUniqueInput - create: XOR + export type ChatMessageCreateOrConnectWithoutReplyToInput = { + where: ChatMessageWhereUniqueInput + create: XOR } - export type ProjectCreateWithoutActivityLogsInput = { + export type ChatMessageCreateManyReplyToInputEnvelope = { + data: ChatMessageCreateManyReplyToInput | ChatMessageCreateManyReplyToInput[] + skipDuplicates?: boolean + } + + export type MessageAttachmentCreateWithoutMessageInput = { id?: string - name: string - description?: string | null - status: string - startDate: Date | string - endDate: Date | string + fileName: string + fileType: string + filePath: string + fileSize: number + thumbnailPath?: string | null + storageProvider?: string | null + storageKey: string createdAt?: Date | string - updatedAt?: Date | string - deletedAt?: Date | string | null - priority?: $Enums.TaskPriority - progress?: number | null - budget?: number | null - creator: UserCreateNestedOneWithoutCreatedProjectsInput - modifier?: UserCreateNestedOneWithoutModifiedProjectsInput - organization: OrganizationCreateNestedOneWithoutProjectsInput - team: TeamCreateNestedOneWithoutProjectsInput - sprints?: SprintCreateNestedManyWithoutProjectInput - tasks?: TaskCreateNestedManyWithoutProjectInput - reports?: ReportCreateNestedManyWithoutProjectInput - ProjectMember?: ProjectMemberCreateNestedManyWithoutProjectInput } - export type ProjectUncheckedCreateWithoutActivityLogsInput = { + export type MessageAttachmentUncheckedCreateWithoutMessageInput = { id?: string - name: string - description?: string | null - status: string - createdBy: string - organizationId: string - teamId: string - startDate: Date | string - endDate: Date | string + fileName: string + fileType: string + filePath: string + fileSize: number + thumbnailPath?: string | null + storageProvider?: string | null + storageKey: string createdAt?: Date | string - updatedAt?: Date | string - deletedAt?: Date | string | null - priority?: $Enums.TaskPriority - progress?: number | null - budget?: number | null - lastModifiedBy?: string | null - sprints?: SprintUncheckedCreateNestedManyWithoutProjectInput - tasks?: TaskUncheckedCreateNestedManyWithoutProjectInput - reports?: ReportUncheckedCreateNestedManyWithoutProjectInput - ProjectMember?: ProjectMemberUncheckedCreateNestedManyWithoutProjectInput } - export type ProjectCreateOrConnectWithoutActivityLogsInput = { - where: ProjectWhereUniqueInput - create: XOR + export type MessageAttachmentCreateOrConnectWithoutMessageInput = { + where: MessageAttachmentWhereUniqueInput + create: XOR } - export type TeamCreateWithoutActivityLogsInput = { + export type MessageAttachmentCreateManyMessageInputEnvelope = { + data: MessageAttachmentCreateManyMessageInput | MessageAttachmentCreateManyMessageInput[] + skipDuplicates?: boolean + } + + export type MessageReactionCreateWithoutMessageInput = { id?: string - name: string - description?: string | null + reaction: string createdAt?: Date | string - updatedAt?: Date | string - deletedAt?: Date | string | null - avatar?: string | null - creator: UserCreateNestedOneWithoutCreatedTeamsInput - organization: OrganizationCreateNestedOneWithoutTeamsInput - department?: DepartmentCreateNestedOneWithoutTeamsInput - members?: TeamMemberCreateNestedManyWithoutTeamInput - projects?: ProjectCreateNestedManyWithoutTeamInput - reports?: ReportCreateNestedManyWithoutTeamInput + user: UserCreateNestedOneWithoutMessageReactionsInput } - export type TeamUncheckedCreateWithoutActivityLogsInput = { + export type MessageReactionUncheckedCreateWithoutMessageInput = { id?: string - name: string - description?: string | null - createdBy: string - organizationId: string - departmentId?: string | null + userId: string + reaction: string createdAt?: Date | string - updatedAt?: Date | string - deletedAt?: Date | string | null - avatar?: string | null - members?: TeamMemberUncheckedCreateNestedManyWithoutTeamInput - projects?: ProjectUncheckedCreateNestedManyWithoutTeamInput - reports?: ReportUncheckedCreateNestedManyWithoutTeamInput } - export type TeamCreateOrConnectWithoutActivityLogsInput = { - where: TeamWhereUniqueInput - create: XOR + export type MessageReactionCreateOrConnectWithoutMessageInput = { + where: MessageReactionWhereUniqueInput + create: XOR } - export type SprintCreateWithoutActivityLogsInput = { + export type MessageReactionCreateManyMessageInputEnvelope = { + data: MessageReactionCreateManyMessageInput | MessageReactionCreateManyMessageInput[] + skipDuplicates?: boolean + } + + export type ChatParticipantCreateWithoutLastReadMessageInput = { id?: string - name: string - description?: string | null - startDate: Date | string - endDate: Date | string - status: string - goal?: string | null - order?: number - project: ProjectCreateNestedOneWithoutSprintsInput - tasks?: TaskCreateNestedManyWithoutSprintInput + joinedAt?: Date | string + lastReadAt?: Date | string | null + isAdmin?: boolean + notificationsOn?: boolean + status?: $Enums.ParticipantStatus + chatRoom: ChatRoomCreateNestedOneWithoutParticipantsInput + user: UserCreateNestedOneWithoutChatParticipationsInput } - export type SprintUncheckedCreateWithoutActivityLogsInput = { + export type ChatParticipantUncheckedCreateWithoutLastReadMessageInput = { id?: string - projectId: string - name: string - description?: string | null - startDate: Date | string - endDate: Date | string - status: string - goal?: string | null - order?: number - tasks?: TaskUncheckedCreateNestedManyWithoutSprintInput + chatRoomId: string + userId: string + joinedAt?: Date | string + lastReadAt?: Date | string | null + isAdmin?: boolean + notificationsOn?: boolean + status?: $Enums.ParticipantStatus } - export type SprintCreateOrConnectWithoutActivityLogsInput = { - where: SprintWhereUniqueInput - create: XOR + export type ChatParticipantCreateOrConnectWithoutLastReadMessageInput = { + where: ChatParticipantWhereUniqueInput + create: XOR } - export type TaskCreateWithoutActivityLogsInput = { + export type ChatParticipantCreateManyLastReadMessageInputEnvelope = { + data: ChatParticipantCreateManyLastReadMessageInput | ChatParticipantCreateManyLastReadMessageInput[] + skipDuplicates?: boolean + } + + export type PinnedMessageCreateWithoutMessageInput = { id?: string - title: string - description?: string | null - priority: $Enums.TaskPriority - status: $Enums.TaskStatus - rate?: number | null - dueDate: Date | string - createdAt?: Date | string - updatedAt?: Date | string - deletedAt?: Date | string | null - estimatedTime?: number | null - actualTime?: number | null - order?: number - labels?: TaskCreatelabelsInput | string[] - project: ProjectCreateNestedOneWithoutTasksInput - sprint?: SprintCreateNestedOneWithoutTasksInput - creator: UserCreateNestedOneWithoutCreatedTasksInput - assignee?: UserCreateNestedOneWithoutAssignedTasksInput - modifier?: UserCreateNestedOneWithoutModifiedTasksInput - attachments?: TaskAttachmentCreateNestedManyWithoutTaskInput - comments?: CommentCreateNestedManyWithoutTaskInput - timelogs?: TimelogCreateNestedManyWithoutTaskInput - dependencies?: TaskDependencyCreateNestedManyWithoutDependentTaskInput - dependentOn?: TaskDependencyCreateNestedManyWithoutTaskInput - parent?: TaskCreateNestedOneWithoutSubtasksInput - subtasks?: TaskCreateNestedManyWithoutParentInput + pinnedAt?: Date | string + chatRoom: ChatRoomCreateNestedOneWithoutPinnedMessagesInput + user: UserCreateNestedOneWithoutPinnedMessagesInput } - export type TaskUncheckedCreateWithoutActivityLogsInput = { + export type PinnedMessageUncheckedCreateWithoutMessageInput = { id?: string - title: string - description?: string | null - priority: $Enums.TaskPriority - status: $Enums.TaskStatus - rate?: number | null - projectId: string - sprintId?: string | null - createdBy: string - assignedTo?: string | null - dueDate: Date | string - createdAt?: Date | string - updatedAt?: Date | string - deletedAt?: Date | string | null - estimatedTime?: number | null - actualTime?: number | null - parentId?: string | null - order?: number - labels?: TaskCreatelabelsInput | string[] - lastModifiedBy?: string | null - attachments?: TaskAttachmentUncheckedCreateNestedManyWithoutTaskInput - comments?: CommentUncheckedCreateNestedManyWithoutTaskInput - timelogs?: TimelogUncheckedCreateNestedManyWithoutTaskInput - dependencies?: TaskDependencyUncheckedCreateNestedManyWithoutDependentTaskInput - dependentOn?: TaskDependencyUncheckedCreateNestedManyWithoutTaskInput - subtasks?: TaskUncheckedCreateNestedManyWithoutParentInput + chatRoomId: string + pinnedBy: string + pinnedAt?: Date | string } - export type TaskCreateOrConnectWithoutActivityLogsInput = { - where: TaskWhereUniqueInput - create: XOR + export type PinnedMessageCreateOrConnectWithoutMessageInput = { + where: PinnedMessageWhereUniqueInput + create: XOR } - export type UserUpsertWithoutActivityLogsInput = { - update: XOR - create: XOR + export type PinnedMessageCreateManyMessageInputEnvelope = { + data: PinnedMessageCreateManyMessageInput | PinnedMessageCreateManyMessageInput[] + skipDuplicates?: boolean + } + + export type ChatRoomUpsertWithoutMessagesInput = { + update: XOR + create: XOR + where?: ChatRoomWhereInput + } + + export type ChatRoomUpdateToOneWithWhereWithoutMessagesInput = { + where?: ChatRoomWhereInput + data: XOR + } + + export type ChatRoomUpdateWithoutMessagesInput = { + id?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + type?: EnumChatRoomTypeFieldUpdateOperationsInput | $Enums.ChatRoomType + entityType?: EnumEntityTypeFieldUpdateOperationsInput | $Enums.EntityType + entityId?: StringFieldUpdateOperationsInput | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + isActive?: BoolFieldUpdateOperationsInput | boolean + isArchived?: BoolFieldUpdateOperationsInput | boolean + archivedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + avatarUrl?: NullableStringFieldUpdateOperationsInput | string | null + lastMessageAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + participants?: ChatParticipantUpdateManyWithoutChatRoomNestedInput + pinnedMessages?: PinnedMessageUpdateManyWithoutChatRoomNestedInput + videoSessions?: VideoConferenceSessionUpdateManyWithoutChatRoomNestedInput + } + + export type ChatRoomUncheckedUpdateWithoutMessagesInput = { + id?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + type?: EnumChatRoomTypeFieldUpdateOperationsInput | $Enums.ChatRoomType + entityType?: EnumEntityTypeFieldUpdateOperationsInput | $Enums.EntityType + entityId?: StringFieldUpdateOperationsInput | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + isActive?: BoolFieldUpdateOperationsInput | boolean + isArchived?: BoolFieldUpdateOperationsInput | boolean + archivedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + avatarUrl?: NullableStringFieldUpdateOperationsInput | string | null + lastMessageAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + participants?: ChatParticipantUncheckedUpdateManyWithoutChatRoomNestedInput + pinnedMessages?: PinnedMessageUncheckedUpdateManyWithoutChatRoomNestedInput + videoSessions?: VideoConferenceSessionUncheckedUpdateManyWithoutChatRoomNestedInput + } + + export type UserUpsertWithoutSentMessagesInput = { + update: XOR + create: XOR where?: UserWhereInput } - export type UserUpdateToOneWithWhereWithoutActivityLogsInput = { + export type UserUpdateToOneWithWhereWithoutSentMessagesInput = { where?: UserWhereInput - data: XOR + data: XOR } - export type UserUpdateWithoutActivityLogsInput = { + export type UserUpdateWithoutSentMessagesInput = { id?: StringFieldUpdateOperationsInput | string email?: StringFieldUpdateOperationsInput | string username?: StringFieldUpdateOperationsInput | string @@ -48850,10 +68686,17 @@ export namespace Prisma { generatedReports?: ReportUpdateManyWithoutGeneratorNestedInput userReports?: ReportUpdateManyWithoutUserNestedInput permissions?: PermissionUpdateManyWithoutUserNestedInput + activityLogs?: ActivityLogUpdateManyWithoutUserNestedInput ReportNotification?: ReportNotificationUpdateManyWithoutUserNestedInput + chatParticipations?: ChatParticipantUpdateManyWithoutUserNestedInput + messageReactions?: MessageReactionUpdateManyWithoutUserNestedInput + pinnedMessages?: PinnedMessageUpdateManyWithoutUserNestedInput + hostedSessions?: VideoConferenceSessionUpdateManyWithoutHostNestedInput + videoParticipations?: VideoParticipantUpdateManyWithoutUserNestedInput + videoRecordings?: VideoRecordingUpdateManyWithoutRecorderNestedInput } - export type UserUncheckedUpdateWithoutActivityLogsInput = { + export type UserUncheckedUpdateWithoutSentMessagesInput = { id?: StringFieldUpdateOperationsInput | string email?: StringFieldUpdateOperationsInput | string username?: StringFieldUpdateOperationsInput | string @@ -48900,322 +68743,297 @@ export namespace Prisma { generatedReports?: ReportUncheckedUpdateManyWithoutGeneratorNestedInput userReports?: ReportUncheckedUpdateManyWithoutUserNestedInput permissions?: PermissionUncheckedUpdateManyWithoutUserNestedInput + activityLogs?: ActivityLogUncheckedUpdateManyWithoutUserNestedInput ReportNotification?: ReportNotificationUncheckedUpdateManyWithoutUserNestedInput + chatParticipations?: ChatParticipantUncheckedUpdateManyWithoutUserNestedInput + messageReactions?: MessageReactionUncheckedUpdateManyWithoutUserNestedInput + pinnedMessages?: PinnedMessageUncheckedUpdateManyWithoutUserNestedInput + hostedSessions?: VideoConferenceSessionUncheckedUpdateManyWithoutHostNestedInput + videoParticipations?: VideoParticipantUncheckedUpdateManyWithoutUserNestedInput + videoRecordings?: VideoRecordingUncheckedUpdateManyWithoutRecorderNestedInput } - export type OrganizationUpsertWithoutActivityLogsInput = { - update: XOR - create: XOR - where?: OrganizationWhereInput + export type ChatMessageUpsertWithoutRepliesInput = { + update: XOR + create: XOR + where?: ChatMessageWhereInput } - export type OrganizationUpdateToOneWithWhereWithoutActivityLogsInput = { - where?: OrganizationWhereInput - data: XOR + export type ChatMessageUpdateToOneWithWhereWithoutRepliesInput = { + where?: ChatMessageWhereInput + data: XOR } - export type OrganizationUpdateWithoutActivityLogsInput = { + export type ChatMessageUpdateWithoutRepliesInput = { id?: StringFieldUpdateOperationsInput | string - name?: StringFieldUpdateOperationsInput | string - description?: NullableStringFieldUpdateOperationsInput | string | null - industry?: StringFieldUpdateOperationsInput | string - sizeRange?: StringFieldUpdateOperationsInput | string - website?: NullableStringFieldUpdateOperationsInput | string | null - logoUrl?: NullableStringFieldUpdateOperationsInput | string | null - isVerified?: BoolFieldUpdateOperationsInput | boolean - status?: StringFieldUpdateOperationsInput | string + content?: StringFieldUpdateOperationsInput | string + contentType?: EnumMessageContentTypeFieldUpdateOperationsInput | $Enums.MessageContentType createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + isEdited?: BoolFieldUpdateOperationsInput | boolean + isDeleted?: BoolFieldUpdateOperationsInput | boolean deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - address?: NullableStringFieldUpdateOperationsInput | string | null - contactEmail?: NullableStringFieldUpdateOperationsInput | string | null - contactPhone?: NullableStringFieldUpdateOperationsInput | string | null - emailVerificationOTP?: NullableStringFieldUpdateOperationsInput | string | null - emailVerificationExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - creator?: UserUpdateOneRequiredWithoutCreatedOrganizationsNestedInput - departments?: DepartmentUpdateManyWithoutOrganizationNestedInput - teams?: TeamUpdateManyWithoutOrganizationNestedInput - projects?: ProjectUpdateManyWithoutOrganizationNestedInput - users?: UserUpdateManyWithoutOrganizationNestedInput - reports?: ReportUpdateManyWithoutOrganizationNestedInput - owners?: OrganizationOwnerUpdateManyWithoutOrganizationNestedInput - templates?: TaskTemplateUpdateManyWithoutOrganizationNestedInput + metadata?: NullableJsonNullValueInput | InputJsonValue + chatRoom?: ChatRoomUpdateOneRequiredWithoutMessagesNestedInput + sender?: UserUpdateOneRequiredWithoutSentMessagesNestedInput + replyTo?: ChatMessageUpdateOneWithoutRepliesNestedInput + attachments?: MessageAttachmentUpdateManyWithoutMessageNestedInput + reactions?: MessageReactionUpdateManyWithoutMessageNestedInput + readBy?: ChatParticipantUpdateManyWithoutLastReadMessageNestedInput + pinnedIn?: PinnedMessageUpdateManyWithoutMessageNestedInput } - export type OrganizationUncheckedUpdateWithoutActivityLogsInput = { + export type ChatMessageUncheckedUpdateWithoutRepliesInput = { id?: StringFieldUpdateOperationsInput | string - name?: StringFieldUpdateOperationsInput | string - description?: NullableStringFieldUpdateOperationsInput | string | null - industry?: StringFieldUpdateOperationsInput | string - sizeRange?: StringFieldUpdateOperationsInput | string - website?: NullableStringFieldUpdateOperationsInput | string | null - logoUrl?: NullableStringFieldUpdateOperationsInput | string | null - isVerified?: BoolFieldUpdateOperationsInput | boolean - status?: StringFieldUpdateOperationsInput | string + chatRoomId?: StringFieldUpdateOperationsInput | string + senderId?: StringFieldUpdateOperationsInput | string + content?: StringFieldUpdateOperationsInput | string + contentType?: EnumMessageContentTypeFieldUpdateOperationsInput | $Enums.MessageContentType createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + isEdited?: BoolFieldUpdateOperationsInput | boolean + isDeleted?: BoolFieldUpdateOperationsInput | boolean deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - createdBy?: StringFieldUpdateOperationsInput | string - address?: NullableStringFieldUpdateOperationsInput | string | null - contactEmail?: NullableStringFieldUpdateOperationsInput | string | null - contactPhone?: NullableStringFieldUpdateOperationsInput | string | null - emailVerificationOTP?: NullableStringFieldUpdateOperationsInput | string | null - emailVerificationExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - departments?: DepartmentUncheckedUpdateManyWithoutOrganizationNestedInput - teams?: TeamUncheckedUpdateManyWithoutOrganizationNestedInput - projects?: ProjectUncheckedUpdateManyWithoutOrganizationNestedInput - users?: UserUncheckedUpdateManyWithoutOrganizationNestedInput - reports?: ReportUncheckedUpdateManyWithoutOrganizationNestedInput - owners?: OrganizationOwnerUncheckedUpdateManyWithoutOrganizationNestedInput - templates?: TaskTemplateUncheckedUpdateManyWithoutOrganizationNestedInput - } - - export type DepartmentUpsertWithoutActivityLogsInput = { - update: XOR - create: XOR - where?: DepartmentWhereInput - } - - export type DepartmentUpdateToOneWithWhereWithoutActivityLogsInput = { - where?: DepartmentWhereInput - data: XOR + replyToId?: NullableStringFieldUpdateOperationsInput | string | null + metadata?: NullableJsonNullValueInput | InputJsonValue + attachments?: MessageAttachmentUncheckedUpdateManyWithoutMessageNestedInput + reactions?: MessageReactionUncheckedUpdateManyWithoutMessageNestedInput + readBy?: ChatParticipantUncheckedUpdateManyWithoutLastReadMessageNestedInput + pinnedIn?: PinnedMessageUncheckedUpdateManyWithoutMessageNestedInput } - export type DepartmentUpdateWithoutActivityLogsInput = { - id?: StringFieldUpdateOperationsInput | string - name?: StringFieldUpdateOperationsInput | string - description?: NullableStringFieldUpdateOperationsInput | string | null - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string - deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - organization?: OrganizationUpdateOneRequiredWithoutDepartmentsNestedInput - manager?: UserUpdateOneRequiredWithoutManagedDepartmentsNestedInput - teams?: TeamUpdateManyWithoutDepartmentNestedInput - users?: UserUpdateManyWithoutDepartmentNestedInput - Report?: ReportUpdateManyWithoutDepartmentNestedInput + export type ChatMessageUpsertWithWhereUniqueWithoutReplyToInput = { + where: ChatMessageWhereUniqueInput + update: XOR + create: XOR } - export type DepartmentUncheckedUpdateWithoutActivityLogsInput = { - id?: StringFieldUpdateOperationsInput | string - name?: StringFieldUpdateOperationsInput | string - description?: NullableStringFieldUpdateOperationsInput | string | null - organizationId?: StringFieldUpdateOperationsInput | string - managerId?: StringFieldUpdateOperationsInput | string - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string - deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - teams?: TeamUncheckedUpdateManyWithoutDepartmentNestedInput - users?: UserUncheckedUpdateManyWithoutDepartmentNestedInput - Report?: ReportUncheckedUpdateManyWithoutDepartmentNestedInput + export type ChatMessageUpdateWithWhereUniqueWithoutReplyToInput = { + where: ChatMessageWhereUniqueInput + data: XOR } - export type ProjectUpsertWithoutActivityLogsInput = { - update: XOR - create: XOR - where?: ProjectWhereInput + export type ChatMessageUpdateManyWithWhereWithoutReplyToInput = { + where: ChatMessageScalarWhereInput + data: XOR } - export type ProjectUpdateToOneWithWhereWithoutActivityLogsInput = { - where?: ProjectWhereInput - data: XOR + export type MessageAttachmentUpsertWithWhereUniqueWithoutMessageInput = { + where: MessageAttachmentWhereUniqueInput + update: XOR + create: XOR } - export type ProjectUpdateWithoutActivityLogsInput = { - id?: StringFieldUpdateOperationsInput | string - name?: StringFieldUpdateOperationsInput | string - description?: NullableStringFieldUpdateOperationsInput | string | null - status?: StringFieldUpdateOperationsInput | string - startDate?: DateTimeFieldUpdateOperationsInput | Date | string - endDate?: DateTimeFieldUpdateOperationsInput | Date | string - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string - deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - priority?: EnumTaskPriorityFieldUpdateOperationsInput | $Enums.TaskPriority - progress?: NullableFloatFieldUpdateOperationsInput | number | null - budget?: NullableFloatFieldUpdateOperationsInput | number | null - creator?: UserUpdateOneRequiredWithoutCreatedProjectsNestedInput - modifier?: UserUpdateOneWithoutModifiedProjectsNestedInput - organization?: OrganizationUpdateOneRequiredWithoutProjectsNestedInput - team?: TeamUpdateOneRequiredWithoutProjectsNestedInput - sprints?: SprintUpdateManyWithoutProjectNestedInput - tasks?: TaskUpdateManyWithoutProjectNestedInput - reports?: ReportUpdateManyWithoutProjectNestedInput - ProjectMember?: ProjectMemberUpdateManyWithoutProjectNestedInput + export type MessageAttachmentUpdateWithWhereUniqueWithoutMessageInput = { + where: MessageAttachmentWhereUniqueInput + data: XOR } - - export type ProjectUncheckedUpdateWithoutActivityLogsInput = { - id?: StringFieldUpdateOperationsInput | string - name?: StringFieldUpdateOperationsInput | string - description?: NullableStringFieldUpdateOperationsInput | string | null - status?: StringFieldUpdateOperationsInput | string - createdBy?: StringFieldUpdateOperationsInput | string - organizationId?: StringFieldUpdateOperationsInput | string - teamId?: StringFieldUpdateOperationsInput | string - startDate?: DateTimeFieldUpdateOperationsInput | Date | string - endDate?: DateTimeFieldUpdateOperationsInput | Date | string - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string - deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - priority?: EnumTaskPriorityFieldUpdateOperationsInput | $Enums.TaskPriority - progress?: NullableFloatFieldUpdateOperationsInput | number | null - budget?: NullableFloatFieldUpdateOperationsInput | number | null - lastModifiedBy?: NullableStringFieldUpdateOperationsInput | string | null - sprints?: SprintUncheckedUpdateManyWithoutProjectNestedInput - tasks?: TaskUncheckedUpdateManyWithoutProjectNestedInput - reports?: ReportUncheckedUpdateManyWithoutProjectNestedInput - ProjectMember?: ProjectMemberUncheckedUpdateManyWithoutProjectNestedInput + + export type MessageAttachmentUpdateManyWithWhereWithoutMessageInput = { + where: MessageAttachmentScalarWhereInput + data: XOR } - export type TeamUpsertWithoutActivityLogsInput = { - update: XOR - create: XOR - where?: TeamWhereInput + export type MessageAttachmentScalarWhereInput = { + AND?: MessageAttachmentScalarWhereInput | MessageAttachmentScalarWhereInput[] + OR?: MessageAttachmentScalarWhereInput[] + NOT?: MessageAttachmentScalarWhereInput | MessageAttachmentScalarWhereInput[] + id?: UuidFilter<"MessageAttachment"> | string + messageId?: UuidFilter<"MessageAttachment"> | string + fileName?: StringFilter<"MessageAttachment"> | string + fileType?: StringFilter<"MessageAttachment"> | string + filePath?: StringFilter<"MessageAttachment"> | string + fileSize?: IntFilter<"MessageAttachment"> | number + thumbnailPath?: StringNullableFilter<"MessageAttachment"> | string | null + storageProvider?: StringNullableFilter<"MessageAttachment"> | string | null + storageKey?: StringFilter<"MessageAttachment"> | string + createdAt?: DateTimeFilter<"MessageAttachment"> | Date | string } - export type TeamUpdateToOneWithWhereWithoutActivityLogsInput = { - where?: TeamWhereInput - data: XOR + export type MessageReactionUpsertWithWhereUniqueWithoutMessageInput = { + where: MessageReactionWhereUniqueInput + update: XOR + create: XOR } - export type TeamUpdateWithoutActivityLogsInput = { - id?: StringFieldUpdateOperationsInput | string - name?: StringFieldUpdateOperationsInput | string - description?: NullableStringFieldUpdateOperationsInput | string | null - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string - deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - avatar?: NullableStringFieldUpdateOperationsInput | string | null - creator?: UserUpdateOneRequiredWithoutCreatedTeamsNestedInput - organization?: OrganizationUpdateOneRequiredWithoutTeamsNestedInput - department?: DepartmentUpdateOneWithoutTeamsNestedInput - members?: TeamMemberUpdateManyWithoutTeamNestedInput - projects?: ProjectUpdateManyWithoutTeamNestedInput - reports?: ReportUpdateManyWithoutTeamNestedInput + export type MessageReactionUpdateWithWhereUniqueWithoutMessageInput = { + where: MessageReactionWhereUniqueInput + data: XOR } - export type TeamUncheckedUpdateWithoutActivityLogsInput = { - id?: StringFieldUpdateOperationsInput | string - name?: StringFieldUpdateOperationsInput | string - description?: NullableStringFieldUpdateOperationsInput | string | null - createdBy?: StringFieldUpdateOperationsInput | string - organizationId?: StringFieldUpdateOperationsInput | string - departmentId?: NullableStringFieldUpdateOperationsInput | string | null - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string - deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - avatar?: NullableStringFieldUpdateOperationsInput | string | null - members?: TeamMemberUncheckedUpdateManyWithoutTeamNestedInput - projects?: ProjectUncheckedUpdateManyWithoutTeamNestedInput - reports?: ReportUncheckedUpdateManyWithoutTeamNestedInput + export type MessageReactionUpdateManyWithWhereWithoutMessageInput = { + where: MessageReactionScalarWhereInput + data: XOR } - export type SprintUpsertWithoutActivityLogsInput = { - update: XOR - create: XOR - where?: SprintWhereInput + export type ChatParticipantUpsertWithWhereUniqueWithoutLastReadMessageInput = { + where: ChatParticipantWhereUniqueInput + update: XOR + create: XOR } - export type SprintUpdateToOneWithWhereWithoutActivityLogsInput = { - where?: SprintWhereInput - data: XOR + export type ChatParticipantUpdateWithWhereUniqueWithoutLastReadMessageInput = { + where: ChatParticipantWhereUniqueInput + data: XOR } - export type SprintUpdateWithoutActivityLogsInput = { - id?: StringFieldUpdateOperationsInput | string - name?: StringFieldUpdateOperationsInput | string - description?: NullableStringFieldUpdateOperationsInput | string | null - startDate?: DateTimeFieldUpdateOperationsInput | Date | string - endDate?: DateTimeFieldUpdateOperationsInput | Date | string - status?: StringFieldUpdateOperationsInput | string - goal?: NullableStringFieldUpdateOperationsInput | string | null - order?: IntFieldUpdateOperationsInput | number - project?: ProjectUpdateOneRequiredWithoutSprintsNestedInput - tasks?: TaskUpdateManyWithoutSprintNestedInput + export type ChatParticipantUpdateManyWithWhereWithoutLastReadMessageInput = { + where: ChatParticipantScalarWhereInput + data: XOR } - export type SprintUncheckedUpdateWithoutActivityLogsInput = { - id?: StringFieldUpdateOperationsInput | string - projectId?: StringFieldUpdateOperationsInput | string - name?: StringFieldUpdateOperationsInput | string - description?: NullableStringFieldUpdateOperationsInput | string | null - startDate?: DateTimeFieldUpdateOperationsInput | Date | string - endDate?: DateTimeFieldUpdateOperationsInput | Date | string - status?: StringFieldUpdateOperationsInput | string - goal?: NullableStringFieldUpdateOperationsInput | string | null - order?: IntFieldUpdateOperationsInput | number - tasks?: TaskUncheckedUpdateManyWithoutSprintNestedInput + export type PinnedMessageUpsertWithWhereUniqueWithoutMessageInput = { + where: PinnedMessageWhereUniqueInput + update: XOR + create: XOR } - export type TaskUpsertWithoutActivityLogsInput = { - update: XOR - create: XOR - where?: TaskWhereInput + export type PinnedMessageUpdateWithWhereUniqueWithoutMessageInput = { + where: PinnedMessageWhereUniqueInput + data: XOR } - export type TaskUpdateToOneWithWhereWithoutActivityLogsInput = { - where?: TaskWhereInput - data: XOR + export type PinnedMessageUpdateManyWithWhereWithoutMessageInput = { + where: PinnedMessageScalarWhereInput + data: XOR } - export type TaskUpdateWithoutActivityLogsInput = { + export type ChatMessageCreateWithoutAttachmentsInput = { + id?: string + content: string + contentType?: $Enums.MessageContentType + createdAt?: Date | string + updatedAt?: Date | string + isEdited?: boolean + isDeleted?: boolean + deletedAt?: Date | string | null + metadata?: NullableJsonNullValueInput | InputJsonValue + chatRoom: ChatRoomCreateNestedOneWithoutMessagesInput + sender: UserCreateNestedOneWithoutSentMessagesInput + replyTo?: ChatMessageCreateNestedOneWithoutRepliesInput + replies?: ChatMessageCreateNestedManyWithoutReplyToInput + reactions?: MessageReactionCreateNestedManyWithoutMessageInput + readBy?: ChatParticipantCreateNestedManyWithoutLastReadMessageInput + pinnedIn?: PinnedMessageCreateNestedManyWithoutMessageInput + } + + export type ChatMessageUncheckedCreateWithoutAttachmentsInput = { + id?: string + chatRoomId: string + senderId: string + content: string + contentType?: $Enums.MessageContentType + createdAt?: Date | string + updatedAt?: Date | string + isEdited?: boolean + isDeleted?: boolean + deletedAt?: Date | string | null + replyToId?: string | null + metadata?: NullableJsonNullValueInput | InputJsonValue + replies?: ChatMessageUncheckedCreateNestedManyWithoutReplyToInput + reactions?: MessageReactionUncheckedCreateNestedManyWithoutMessageInput + readBy?: ChatParticipantUncheckedCreateNestedManyWithoutLastReadMessageInput + pinnedIn?: PinnedMessageUncheckedCreateNestedManyWithoutMessageInput + } + + export type ChatMessageCreateOrConnectWithoutAttachmentsInput = { + where: ChatMessageWhereUniqueInput + create: XOR + } + + export type ChatMessageUpsertWithoutAttachmentsInput = { + update: XOR + create: XOR + where?: ChatMessageWhereInput + } + + export type ChatMessageUpdateToOneWithWhereWithoutAttachmentsInput = { + where?: ChatMessageWhereInput + data: XOR + } + + export type ChatMessageUpdateWithoutAttachmentsInput = { id?: StringFieldUpdateOperationsInput | string - title?: StringFieldUpdateOperationsInput | string - description?: NullableStringFieldUpdateOperationsInput | string | null - priority?: EnumTaskPriorityFieldUpdateOperationsInput | $Enums.TaskPriority - status?: EnumTaskStatusFieldUpdateOperationsInput | $Enums.TaskStatus - rate?: NullableFloatFieldUpdateOperationsInput | number | null - dueDate?: DateTimeFieldUpdateOperationsInput | Date | string + content?: StringFieldUpdateOperationsInput | string + contentType?: EnumMessageContentTypeFieldUpdateOperationsInput | $Enums.MessageContentType createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + isEdited?: BoolFieldUpdateOperationsInput | boolean + isDeleted?: BoolFieldUpdateOperationsInput | boolean deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - estimatedTime?: NullableFloatFieldUpdateOperationsInput | number | null - actualTime?: NullableFloatFieldUpdateOperationsInput | number | null - order?: IntFieldUpdateOperationsInput | number - labels?: TaskUpdatelabelsInput | string[] - project?: ProjectUpdateOneRequiredWithoutTasksNestedInput - sprint?: SprintUpdateOneWithoutTasksNestedInput - creator?: UserUpdateOneRequiredWithoutCreatedTasksNestedInput - assignee?: UserUpdateOneWithoutAssignedTasksNestedInput - modifier?: UserUpdateOneWithoutModifiedTasksNestedInput - attachments?: TaskAttachmentUpdateManyWithoutTaskNestedInput - comments?: CommentUpdateManyWithoutTaskNestedInput - timelogs?: TimelogUpdateManyWithoutTaskNestedInput - dependencies?: TaskDependencyUpdateManyWithoutDependentTaskNestedInput - dependentOn?: TaskDependencyUpdateManyWithoutTaskNestedInput - parent?: TaskUpdateOneWithoutSubtasksNestedInput - subtasks?: TaskUpdateManyWithoutParentNestedInput + metadata?: NullableJsonNullValueInput | InputJsonValue + chatRoom?: ChatRoomUpdateOneRequiredWithoutMessagesNestedInput + sender?: UserUpdateOneRequiredWithoutSentMessagesNestedInput + replyTo?: ChatMessageUpdateOneWithoutRepliesNestedInput + replies?: ChatMessageUpdateManyWithoutReplyToNestedInput + reactions?: MessageReactionUpdateManyWithoutMessageNestedInput + readBy?: ChatParticipantUpdateManyWithoutLastReadMessageNestedInput + pinnedIn?: PinnedMessageUpdateManyWithoutMessageNestedInput } - export type TaskUncheckedUpdateWithoutActivityLogsInput = { + export type ChatMessageUncheckedUpdateWithoutAttachmentsInput = { id?: StringFieldUpdateOperationsInput | string - title?: StringFieldUpdateOperationsInput | string - description?: NullableStringFieldUpdateOperationsInput | string | null - priority?: EnumTaskPriorityFieldUpdateOperationsInput | $Enums.TaskPriority - status?: EnumTaskStatusFieldUpdateOperationsInput | $Enums.TaskStatus - rate?: NullableFloatFieldUpdateOperationsInput | number | null - projectId?: StringFieldUpdateOperationsInput | string - sprintId?: NullableStringFieldUpdateOperationsInput | string | null - createdBy?: StringFieldUpdateOperationsInput | string - assignedTo?: NullableStringFieldUpdateOperationsInput | string | null - dueDate?: DateTimeFieldUpdateOperationsInput | Date | string + chatRoomId?: StringFieldUpdateOperationsInput | string + senderId?: StringFieldUpdateOperationsInput | string + content?: StringFieldUpdateOperationsInput | string + contentType?: EnumMessageContentTypeFieldUpdateOperationsInput | $Enums.MessageContentType createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + isEdited?: BoolFieldUpdateOperationsInput | boolean + isDeleted?: BoolFieldUpdateOperationsInput | boolean deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - estimatedTime?: NullableFloatFieldUpdateOperationsInput | number | null - actualTime?: NullableFloatFieldUpdateOperationsInput | number | null - parentId?: NullableStringFieldUpdateOperationsInput | string | null - order?: IntFieldUpdateOperationsInput | number - labels?: TaskUpdatelabelsInput | string[] - lastModifiedBy?: NullableStringFieldUpdateOperationsInput | string | null - attachments?: TaskAttachmentUncheckedUpdateManyWithoutTaskNestedInput - comments?: CommentUncheckedUpdateManyWithoutTaskNestedInput - timelogs?: TimelogUncheckedUpdateManyWithoutTaskNestedInput - dependencies?: TaskDependencyUncheckedUpdateManyWithoutDependentTaskNestedInput - dependentOn?: TaskDependencyUncheckedUpdateManyWithoutTaskNestedInput - subtasks?: TaskUncheckedUpdateManyWithoutParentNestedInput + replyToId?: NullableStringFieldUpdateOperationsInput | string | null + metadata?: NullableJsonNullValueInput | InputJsonValue + replies?: ChatMessageUncheckedUpdateManyWithoutReplyToNestedInput + reactions?: MessageReactionUncheckedUpdateManyWithoutMessageNestedInput + readBy?: ChatParticipantUncheckedUpdateManyWithoutLastReadMessageNestedInput + pinnedIn?: PinnedMessageUncheckedUpdateManyWithoutMessageNestedInput } - export type UserCreateWithoutNotificationsInput = { + export type ChatMessageCreateWithoutReactionsInput = { + id?: string + content: string + contentType?: $Enums.MessageContentType + createdAt?: Date | string + updatedAt?: Date | string + isEdited?: boolean + isDeleted?: boolean + deletedAt?: Date | string | null + metadata?: NullableJsonNullValueInput | InputJsonValue + chatRoom: ChatRoomCreateNestedOneWithoutMessagesInput + sender: UserCreateNestedOneWithoutSentMessagesInput + replyTo?: ChatMessageCreateNestedOneWithoutRepliesInput + replies?: ChatMessageCreateNestedManyWithoutReplyToInput + attachments?: MessageAttachmentCreateNestedManyWithoutMessageInput + readBy?: ChatParticipantCreateNestedManyWithoutLastReadMessageInput + pinnedIn?: PinnedMessageCreateNestedManyWithoutMessageInput + } + + export type ChatMessageUncheckedCreateWithoutReactionsInput = { + id?: string + chatRoomId: string + senderId: string + content: string + contentType?: $Enums.MessageContentType + createdAt?: Date | string + updatedAt?: Date | string + isEdited?: boolean + isDeleted?: boolean + deletedAt?: Date | string | null + replyToId?: string | null + metadata?: NullableJsonNullValueInput | InputJsonValue + replies?: ChatMessageUncheckedCreateNestedManyWithoutReplyToInput + attachments?: MessageAttachmentUncheckedCreateNestedManyWithoutMessageInput + readBy?: ChatParticipantUncheckedCreateNestedManyWithoutLastReadMessageInput + pinnedIn?: PinnedMessageUncheckedCreateNestedManyWithoutMessageInput + } + + export type ChatMessageCreateOrConnectWithoutReactionsInput = { + where: ChatMessageWhereUniqueInput + create: XOR + } + + export type UserCreateWithoutMessageReactionsInput = { id?: string email: string username: string @@ -49255,6 +69073,7 @@ export namespace Prisma { createdTasks?: TaskCreateNestedManyWithoutCreatorInput assignedTasks?: TaskCreateNestedManyWithoutAssigneeInput modifiedTasks?: TaskCreateNestedManyWithoutModifierInput + notifications?: NotificationCreateNestedManyWithoutUserInput timelogs?: TimelogCreateNestedManyWithoutUserInput comments?: CommentCreateNestedManyWithoutUserInput taskAttachments?: TaskAttachmentCreateNestedManyWithoutUploaderInput @@ -49263,9 +69082,15 @@ export namespace Prisma { permissions?: PermissionCreateNestedManyWithoutUserInput activityLogs?: ActivityLogCreateNestedManyWithoutUserInput ReportNotification?: ReportNotificationCreateNestedManyWithoutUserInput + chatParticipations?: ChatParticipantCreateNestedManyWithoutUserInput + sentMessages?: ChatMessageCreateNestedManyWithoutSenderInput + pinnedMessages?: PinnedMessageCreateNestedManyWithoutUserInput + hostedSessions?: VideoConferenceSessionCreateNestedManyWithoutHostInput + videoParticipations?: VideoParticipantCreateNestedManyWithoutUserInput + videoRecordings?: VideoRecordingCreateNestedManyWithoutRecorderInput } - export type UserUncheckedCreateWithoutNotificationsInput = { + export type UserUncheckedCreateWithoutMessageReactionsInput = { id?: string email: string username: string @@ -49305,6 +69130,7 @@ export namespace Prisma { createdTasks?: TaskUncheckedCreateNestedManyWithoutCreatorInput assignedTasks?: TaskUncheckedCreateNestedManyWithoutAssigneeInput modifiedTasks?: TaskUncheckedCreateNestedManyWithoutModifierInput + notifications?: NotificationUncheckedCreateNestedManyWithoutUserInput timelogs?: TimelogUncheckedCreateNestedManyWithoutUserInput comments?: CommentUncheckedCreateNestedManyWithoutUserInput taskAttachments?: TaskAttachmentUncheckedCreateNestedManyWithoutUploaderInput @@ -49313,25 +69139,80 @@ export namespace Prisma { permissions?: PermissionUncheckedCreateNestedManyWithoutUserInput activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutUserInput ReportNotification?: ReportNotificationUncheckedCreateNestedManyWithoutUserInput + chatParticipations?: ChatParticipantUncheckedCreateNestedManyWithoutUserInput + sentMessages?: ChatMessageUncheckedCreateNestedManyWithoutSenderInput + pinnedMessages?: PinnedMessageUncheckedCreateNestedManyWithoutUserInput + hostedSessions?: VideoConferenceSessionUncheckedCreateNestedManyWithoutHostInput + videoParticipations?: VideoParticipantUncheckedCreateNestedManyWithoutUserInput + videoRecordings?: VideoRecordingUncheckedCreateNestedManyWithoutRecorderInput } - export type UserCreateOrConnectWithoutNotificationsInput = { + export type UserCreateOrConnectWithoutMessageReactionsInput = { where: UserWhereUniqueInput - create: XOR + create: XOR } - export type UserUpsertWithoutNotificationsInput = { - update: XOR - create: XOR + export type ChatMessageUpsertWithoutReactionsInput = { + update: XOR + create: XOR + where?: ChatMessageWhereInput + } + + export type ChatMessageUpdateToOneWithWhereWithoutReactionsInput = { + where?: ChatMessageWhereInput + data: XOR + } + + export type ChatMessageUpdateWithoutReactionsInput = { + id?: StringFieldUpdateOperationsInput | string + content?: StringFieldUpdateOperationsInput | string + contentType?: EnumMessageContentTypeFieldUpdateOperationsInput | $Enums.MessageContentType + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + isEdited?: BoolFieldUpdateOperationsInput | boolean + isDeleted?: BoolFieldUpdateOperationsInput | boolean + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + metadata?: NullableJsonNullValueInput | InputJsonValue + chatRoom?: ChatRoomUpdateOneRequiredWithoutMessagesNestedInput + sender?: UserUpdateOneRequiredWithoutSentMessagesNestedInput + replyTo?: ChatMessageUpdateOneWithoutRepliesNestedInput + replies?: ChatMessageUpdateManyWithoutReplyToNestedInput + attachments?: MessageAttachmentUpdateManyWithoutMessageNestedInput + readBy?: ChatParticipantUpdateManyWithoutLastReadMessageNestedInput + pinnedIn?: PinnedMessageUpdateManyWithoutMessageNestedInput + } + + export type ChatMessageUncheckedUpdateWithoutReactionsInput = { + id?: StringFieldUpdateOperationsInput | string + chatRoomId?: StringFieldUpdateOperationsInput | string + senderId?: StringFieldUpdateOperationsInput | string + content?: StringFieldUpdateOperationsInput | string + contentType?: EnumMessageContentTypeFieldUpdateOperationsInput | $Enums.MessageContentType + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + isEdited?: BoolFieldUpdateOperationsInput | boolean + isDeleted?: BoolFieldUpdateOperationsInput | boolean + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + replyToId?: NullableStringFieldUpdateOperationsInput | string | null + metadata?: NullableJsonNullValueInput | InputJsonValue + replies?: ChatMessageUncheckedUpdateManyWithoutReplyToNestedInput + attachments?: MessageAttachmentUncheckedUpdateManyWithoutMessageNestedInput + readBy?: ChatParticipantUncheckedUpdateManyWithoutLastReadMessageNestedInput + pinnedIn?: PinnedMessageUncheckedUpdateManyWithoutMessageNestedInput + } + + export type UserUpsertWithoutMessageReactionsInput = { + update: XOR + create: XOR where?: UserWhereInput } - export type UserUpdateToOneWithWhereWithoutNotificationsInput = { + export type UserUpdateToOneWithWhereWithoutMessageReactionsInput = { where?: UserWhereInput - data: XOR + data: XOR } - export type UserUpdateWithoutNotificationsInput = { + export type UserUpdateWithoutMessageReactionsInput = { id?: StringFieldUpdateOperationsInput | string email?: StringFieldUpdateOperationsInput | string username?: StringFieldUpdateOperationsInput | string @@ -49371,6 +69252,7 @@ export namespace Prisma { createdTasks?: TaskUpdateManyWithoutCreatorNestedInput assignedTasks?: TaskUpdateManyWithoutAssigneeNestedInput modifiedTasks?: TaskUpdateManyWithoutModifierNestedInput + notifications?: NotificationUpdateManyWithoutUserNestedInput timelogs?: TimelogUpdateManyWithoutUserNestedInput comments?: CommentUpdateManyWithoutUserNestedInput taskAttachments?: TaskAttachmentUpdateManyWithoutUploaderNestedInput @@ -49379,9 +69261,15 @@ export namespace Prisma { permissions?: PermissionUpdateManyWithoutUserNestedInput activityLogs?: ActivityLogUpdateManyWithoutUserNestedInput ReportNotification?: ReportNotificationUpdateManyWithoutUserNestedInput + chatParticipations?: ChatParticipantUpdateManyWithoutUserNestedInput + sentMessages?: ChatMessageUpdateManyWithoutSenderNestedInput + pinnedMessages?: PinnedMessageUpdateManyWithoutUserNestedInput + hostedSessions?: VideoConferenceSessionUpdateManyWithoutHostNestedInput + videoParticipations?: VideoParticipantUpdateManyWithoutUserNestedInput + videoRecordings?: VideoRecordingUpdateManyWithoutRecorderNestedInput } - export type UserUncheckedUpdateWithoutNotificationsInput = { + export type UserUncheckedUpdateWithoutMessageReactionsInput = { id?: StringFieldUpdateOperationsInput | string email?: StringFieldUpdateOperationsInput | string username?: StringFieldUpdateOperationsInput | string @@ -49421,6 +69309,7 @@ export namespace Prisma { createdTasks?: TaskUncheckedUpdateManyWithoutCreatorNestedInput assignedTasks?: TaskUncheckedUpdateManyWithoutAssigneeNestedInput modifiedTasks?: TaskUncheckedUpdateManyWithoutModifierNestedInput + notifications?: NotificationUncheckedUpdateManyWithoutUserNestedInput timelogs?: TimelogUncheckedUpdateManyWithoutUserNestedInput comments?: CommentUncheckedUpdateManyWithoutUserNestedInput taskAttachments?: TaskAttachmentUncheckedUpdateManyWithoutUploaderNestedInput @@ -49429,296 +69318,101 @@ export namespace Prisma { permissions?: PermissionUncheckedUpdateManyWithoutUserNestedInput activityLogs?: ActivityLogUncheckedUpdateManyWithoutUserNestedInput ReportNotification?: ReportNotificationUncheckedUpdateManyWithoutUserNestedInput + chatParticipations?: ChatParticipantUncheckedUpdateManyWithoutUserNestedInput + sentMessages?: ChatMessageUncheckedUpdateManyWithoutSenderNestedInput + pinnedMessages?: PinnedMessageUncheckedUpdateManyWithoutUserNestedInput + hostedSessions?: VideoConferenceSessionUncheckedUpdateManyWithoutHostNestedInput + videoParticipations?: VideoParticipantUncheckedUpdateManyWithoutUserNestedInput + videoRecordings?: VideoRecordingUncheckedUpdateManyWithoutRecorderNestedInput } - export type UserCreateWithoutGeneratedReportsInput = { - id?: string - email: string - username: string - password: string - firebaseUid?: string | null - firstName: string - lastName: string - role: $Enums.UserRole - profilePic?: string | null - isOwner?: boolean - createdAt?: Date | string - updatedAt?: Date | string - isActive?: boolean - deletedAt?: Date | string | null - phoneNumber?: string | null - jobTitle?: string | null - timezone?: string | null - bio?: string | null - preferences?: NullableJsonNullValueInput | InputJsonValue - emailVerificationToken?: string | null - emailVerificationExpires?: Date | string | null - passwordResetToken?: string | null - passwordResetExpires?: Date | string | null - refreshToken?: string | null - lastLogin?: Date | string | null - lastLogout?: Date | string | null - department?: DepartmentCreateNestedOneWithoutUsersInput - organization?: OrganizationCreateNestedOneWithoutUsersInput - createdOrganizations?: OrganizationCreateNestedManyWithoutCreatorInput - ownedOrganizations?: OrganizationOwnerCreateNestedManyWithoutUserInput - managedDepartments?: DepartmentCreateNestedManyWithoutManagerInput - createdTeams?: TeamCreateNestedManyWithoutCreatorInput - teamMemberships?: TeamMemberCreateNestedManyWithoutUserInput - projectMemberships?: ProjectMemberCreateNestedManyWithoutUserInput - createdProjects?: ProjectCreateNestedManyWithoutCreatorInput - modifiedProjects?: ProjectCreateNestedManyWithoutModifierInput - createdTasks?: TaskCreateNestedManyWithoutCreatorInput - assignedTasks?: TaskCreateNestedManyWithoutAssigneeInput - modifiedTasks?: TaskCreateNestedManyWithoutModifierInput - notifications?: NotificationCreateNestedManyWithoutUserInput - timelogs?: TimelogCreateNestedManyWithoutUserInput - comments?: CommentCreateNestedManyWithoutUserInput - taskAttachments?: TaskAttachmentCreateNestedManyWithoutUploaderInput - userReports?: ReportCreateNestedManyWithoutUserInput - permissions?: PermissionCreateNestedManyWithoutUserInput - activityLogs?: ActivityLogCreateNestedManyWithoutUserInput - ReportNotification?: ReportNotificationCreateNestedManyWithoutUserInput - } - - export type UserUncheckedCreateWithoutGeneratedReportsInput = { - id?: string - email: string - username: string - password: string - firebaseUid?: string | null - firstName: string - lastName: string - role: $Enums.UserRole - profilePic?: string | null - departmentId?: string | null - organizationId?: string | null - isOwner?: boolean - createdAt?: Date | string - updatedAt?: Date | string - isActive?: boolean - deletedAt?: Date | string | null - phoneNumber?: string | null - jobTitle?: string | null - timezone?: string | null - bio?: string | null - preferences?: NullableJsonNullValueInput | InputJsonValue - emailVerificationToken?: string | null - emailVerificationExpires?: Date | string | null - passwordResetToken?: string | null - passwordResetExpires?: Date | string | null - refreshToken?: string | null - lastLogin?: Date | string | null - lastLogout?: Date | string | null - createdOrganizations?: OrganizationUncheckedCreateNestedManyWithoutCreatorInput - ownedOrganizations?: OrganizationOwnerUncheckedCreateNestedManyWithoutUserInput - managedDepartments?: DepartmentUncheckedCreateNestedManyWithoutManagerInput - createdTeams?: TeamUncheckedCreateNestedManyWithoutCreatorInput - teamMemberships?: TeamMemberUncheckedCreateNestedManyWithoutUserInput - projectMemberships?: ProjectMemberUncheckedCreateNestedManyWithoutUserInput - createdProjects?: ProjectUncheckedCreateNestedManyWithoutCreatorInput - modifiedProjects?: ProjectUncheckedCreateNestedManyWithoutModifierInput - createdTasks?: TaskUncheckedCreateNestedManyWithoutCreatorInput - assignedTasks?: TaskUncheckedCreateNestedManyWithoutAssigneeInput - modifiedTasks?: TaskUncheckedCreateNestedManyWithoutModifierInput - notifications?: NotificationUncheckedCreateNestedManyWithoutUserInput - timelogs?: TimelogUncheckedCreateNestedManyWithoutUserInput - comments?: CommentUncheckedCreateNestedManyWithoutUserInput - taskAttachments?: TaskAttachmentUncheckedCreateNestedManyWithoutUploaderInput - userReports?: ReportUncheckedCreateNestedManyWithoutUserInput - permissions?: PermissionUncheckedCreateNestedManyWithoutUserInput - activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutUserInput - ReportNotification?: ReportNotificationUncheckedCreateNestedManyWithoutUserInput - } - - export type UserCreateOrConnectWithoutGeneratedReportsInput = { - where: UserWhereUniqueInput - create: XOR - } - - export type OrganizationCreateWithoutReportsInput = { - id?: string - name: string - description?: string | null - industry: string - sizeRange: string - website?: string | null - logoUrl?: string | null - isVerified?: boolean - status: string - createdAt?: Date | string - updatedAt?: Date | string - deletedAt?: Date | string | null - address?: string | null - contactEmail?: string | null - contactPhone?: string | null - emailVerificationOTP?: string | null - emailVerificationExpires?: Date | string | null - creator: UserCreateNestedOneWithoutCreatedOrganizationsInput - departments?: DepartmentCreateNestedManyWithoutOrganizationInput - teams?: TeamCreateNestedManyWithoutOrganizationInput - projects?: ProjectCreateNestedManyWithoutOrganizationInput - users?: UserCreateNestedManyWithoutOrganizationInput - owners?: OrganizationOwnerCreateNestedManyWithoutOrganizationInput - templates?: TaskTemplateCreateNestedManyWithoutOrganizationInput - activityLogs?: ActivityLogCreateNestedManyWithoutOrganizationInput - } - - export type OrganizationUncheckedCreateWithoutReportsInput = { - id?: string - name: string - description?: string | null - industry: string - sizeRange: string - website?: string | null - logoUrl?: string | null - isVerified?: boolean - status: string - createdAt?: Date | string - updatedAt?: Date | string - deletedAt?: Date | string | null - createdBy: string - address?: string | null - contactEmail?: string | null - contactPhone?: string | null - emailVerificationOTP?: string | null - emailVerificationExpires?: Date | string | null - departments?: DepartmentUncheckedCreateNestedManyWithoutOrganizationInput - teams?: TeamUncheckedCreateNestedManyWithoutOrganizationInput - projects?: ProjectUncheckedCreateNestedManyWithoutOrganizationInput - users?: UserUncheckedCreateNestedManyWithoutOrganizationInput - owners?: OrganizationOwnerUncheckedCreateNestedManyWithoutOrganizationInput - templates?: TaskTemplateUncheckedCreateNestedManyWithoutOrganizationInput - activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutOrganizationInput - } - - export type OrganizationCreateOrConnectWithoutReportsInput = { - where: OrganizationWhereUniqueInput - create: XOR - } - - export type TeamCreateWithoutReportsInput = { - id?: string - name: string - description?: string | null - createdAt?: Date | string - updatedAt?: Date | string - deletedAt?: Date | string | null - avatar?: string | null - creator: UserCreateNestedOneWithoutCreatedTeamsInput - organization: OrganizationCreateNestedOneWithoutTeamsInput - department?: DepartmentCreateNestedOneWithoutTeamsInput - members?: TeamMemberCreateNestedManyWithoutTeamInput - projects?: ProjectCreateNestedManyWithoutTeamInput - activityLogs?: ActivityLogCreateNestedManyWithoutTeamInput - } - - export type TeamUncheckedCreateWithoutReportsInput = { - id?: string - name: string - description?: string | null - createdBy: string - organizationId: string - departmentId?: string | null - createdAt?: Date | string - updatedAt?: Date | string - deletedAt?: Date | string | null - avatar?: string | null - members?: TeamMemberUncheckedCreateNestedManyWithoutTeamInput - projects?: ProjectUncheckedCreateNestedManyWithoutTeamInput - activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutTeamInput - } - - export type TeamCreateOrConnectWithoutReportsInput = { - where: TeamWhereUniqueInput - create: XOR - } - - export type ProjectCreateWithoutReportsInput = { + export type ChatRoomCreateWithoutPinnedMessagesInput = { id?: string name: string description?: string | null - status: string - startDate: Date | string - endDate: Date | string + type: $Enums.ChatRoomType + entityType: $Enums.EntityType + entityId: string createdAt?: Date | string updatedAt?: Date | string - deletedAt?: Date | string | null - priority?: $Enums.TaskPriority - progress?: number | null - budget?: number | null - creator: UserCreateNestedOneWithoutCreatedProjectsInput - modifier?: UserCreateNestedOneWithoutModifiedProjectsInput - organization: OrganizationCreateNestedOneWithoutProjectsInput - team: TeamCreateNestedOneWithoutProjectsInput - sprints?: SprintCreateNestedManyWithoutProjectInput - tasks?: TaskCreateNestedManyWithoutProjectInput - activityLogs?: ActivityLogCreateNestedManyWithoutProjectInput - ProjectMember?: ProjectMemberCreateNestedManyWithoutProjectInput + isActive?: boolean + isArchived?: boolean + archivedAt?: Date | string | null + avatarUrl?: string | null + lastMessageAt?: Date | string | null + messages?: ChatMessageCreateNestedManyWithoutChatRoomInput + participants?: ChatParticipantCreateNestedManyWithoutChatRoomInput + videoSessions?: VideoConferenceSessionCreateNestedManyWithoutChatRoomInput } - export type ProjectUncheckedCreateWithoutReportsInput = { + export type ChatRoomUncheckedCreateWithoutPinnedMessagesInput = { id?: string name: string description?: string | null - status: string - createdBy: string - organizationId: string - teamId: string - startDate: Date | string - endDate: Date | string + type: $Enums.ChatRoomType + entityType: $Enums.EntityType + entityId: string createdAt?: Date | string updatedAt?: Date | string - deletedAt?: Date | string | null - priority?: $Enums.TaskPriority - progress?: number | null - budget?: number | null - lastModifiedBy?: string | null - sprints?: SprintUncheckedCreateNestedManyWithoutProjectInput - tasks?: TaskUncheckedCreateNestedManyWithoutProjectInput - activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutProjectInput - ProjectMember?: ProjectMemberUncheckedCreateNestedManyWithoutProjectInput + isActive?: boolean + isArchived?: boolean + archivedAt?: Date | string | null + avatarUrl?: string | null + lastMessageAt?: Date | string | null + messages?: ChatMessageUncheckedCreateNestedManyWithoutChatRoomInput + participants?: ChatParticipantUncheckedCreateNestedManyWithoutChatRoomInput + videoSessions?: VideoConferenceSessionUncheckedCreateNestedManyWithoutChatRoomInput } - export type ProjectCreateOrConnectWithoutReportsInput = { - where: ProjectWhereUniqueInput - create: XOR + export type ChatRoomCreateOrConnectWithoutPinnedMessagesInput = { + where: ChatRoomWhereUniqueInput + create: XOR } - export type DepartmentCreateWithoutReportInput = { + export type ChatMessageCreateWithoutPinnedInInput = { id?: string - name: string - description?: string | null + content: string + contentType?: $Enums.MessageContentType createdAt?: Date | string updatedAt?: Date | string + isEdited?: boolean + isDeleted?: boolean deletedAt?: Date | string | null - organization: OrganizationCreateNestedOneWithoutDepartmentsInput - manager: UserCreateNestedOneWithoutManagedDepartmentsInput - teams?: TeamCreateNestedManyWithoutDepartmentInput - users?: UserCreateNestedManyWithoutDepartmentInput - activityLogs?: ActivityLogCreateNestedManyWithoutDepartmentInput + metadata?: NullableJsonNullValueInput | InputJsonValue + chatRoom: ChatRoomCreateNestedOneWithoutMessagesInput + sender: UserCreateNestedOneWithoutSentMessagesInput + replyTo?: ChatMessageCreateNestedOneWithoutRepliesInput + replies?: ChatMessageCreateNestedManyWithoutReplyToInput + attachments?: MessageAttachmentCreateNestedManyWithoutMessageInput + reactions?: MessageReactionCreateNestedManyWithoutMessageInput + readBy?: ChatParticipantCreateNestedManyWithoutLastReadMessageInput } - export type DepartmentUncheckedCreateWithoutReportInput = { + export type ChatMessageUncheckedCreateWithoutPinnedInInput = { id?: string - name: string - description?: string | null - organizationId: string - managerId: string + chatRoomId: string + senderId: string + content: string + contentType?: $Enums.MessageContentType createdAt?: Date | string updatedAt?: Date | string + isEdited?: boolean + isDeleted?: boolean deletedAt?: Date | string | null - teams?: TeamUncheckedCreateNestedManyWithoutDepartmentInput - users?: UserUncheckedCreateNestedManyWithoutDepartmentInput - activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutDepartmentInput + replyToId?: string | null + metadata?: NullableJsonNullValueInput | InputJsonValue + replies?: ChatMessageUncheckedCreateNestedManyWithoutReplyToInput + attachments?: MessageAttachmentUncheckedCreateNestedManyWithoutMessageInput + reactions?: MessageReactionUncheckedCreateNestedManyWithoutMessageInput + readBy?: ChatParticipantUncheckedCreateNestedManyWithoutLastReadMessageInput } - export type DepartmentCreateOrConnectWithoutReportInput = { - where: DepartmentWhereUniqueInput - create: XOR + export type ChatMessageCreateOrConnectWithoutPinnedInInput = { + where: ChatMessageWhereUniqueInput + create: XOR } - export type UserCreateWithoutUserReportsInput = { + export type UserCreateWithoutPinnedMessagesInput = { id?: string email: string username: string @@ -49763,12 +69457,19 @@ export namespace Prisma { comments?: CommentCreateNestedManyWithoutUserInput taskAttachments?: TaskAttachmentCreateNestedManyWithoutUploaderInput generatedReports?: ReportCreateNestedManyWithoutGeneratorInput + userReports?: ReportCreateNestedManyWithoutUserInput permissions?: PermissionCreateNestedManyWithoutUserInput activityLogs?: ActivityLogCreateNestedManyWithoutUserInput ReportNotification?: ReportNotificationCreateNestedManyWithoutUserInput + chatParticipations?: ChatParticipantCreateNestedManyWithoutUserInput + sentMessages?: ChatMessageCreateNestedManyWithoutSenderInput + messageReactions?: MessageReactionCreateNestedManyWithoutUserInput + hostedSessions?: VideoConferenceSessionCreateNestedManyWithoutHostInput + videoParticipations?: VideoParticipantCreateNestedManyWithoutUserInput + videoRecordings?: VideoRecordingCreateNestedManyWithoutRecorderInput } - export type UserUncheckedCreateWithoutUserReportsInput = { + export type UserUncheckedCreateWithoutPinnedMessagesInput = { id?: string email: string username: string @@ -49813,73 +69514,133 @@ export namespace Prisma { comments?: CommentUncheckedCreateNestedManyWithoutUserInput taskAttachments?: TaskAttachmentUncheckedCreateNestedManyWithoutUploaderInput generatedReports?: ReportUncheckedCreateNestedManyWithoutGeneratorInput + userReports?: ReportUncheckedCreateNestedManyWithoutUserInput permissions?: PermissionUncheckedCreateNestedManyWithoutUserInput activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutUserInput ReportNotification?: ReportNotificationUncheckedCreateNestedManyWithoutUserInput + chatParticipations?: ChatParticipantUncheckedCreateNestedManyWithoutUserInput + sentMessages?: ChatMessageUncheckedCreateNestedManyWithoutSenderInput + messageReactions?: MessageReactionUncheckedCreateNestedManyWithoutUserInput + hostedSessions?: VideoConferenceSessionUncheckedCreateNestedManyWithoutHostInput + videoParticipations?: VideoParticipantUncheckedCreateNestedManyWithoutUserInput + videoRecordings?: VideoRecordingUncheckedCreateNestedManyWithoutRecorderInput } - export type UserCreateOrConnectWithoutUserReportsInput = { + export type UserCreateOrConnectWithoutPinnedMessagesInput = { where: UserWhereUniqueInput - create: XOR + create: XOR } - export type ReportScheduleCreateWithoutReportsInput = { - id?: string - name: string - cronExpression: string - isActive?: boolean - createdAt?: Date | string - createdBy: string + export type ChatRoomUpsertWithoutPinnedMessagesInput = { + update: XOR + create: XOR + where?: ChatRoomWhereInput } - export type ReportScheduleUncheckedCreateWithoutReportsInput = { - id?: string - name: string - cronExpression: string - isActive?: boolean - createdAt?: Date | string - createdBy: string + export type ChatRoomUpdateToOneWithWhereWithoutPinnedMessagesInput = { + where?: ChatRoomWhereInput + data: XOR } - export type ReportScheduleCreateOrConnectWithoutReportsInput = { - where: ReportScheduleWhereUniqueInput - create: XOR + export type ChatRoomUpdateWithoutPinnedMessagesInput = { + id?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + type?: EnumChatRoomTypeFieldUpdateOperationsInput | $Enums.ChatRoomType + entityType?: EnumEntityTypeFieldUpdateOperationsInput | $Enums.EntityType + entityId?: StringFieldUpdateOperationsInput | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + isActive?: BoolFieldUpdateOperationsInput | boolean + isArchived?: BoolFieldUpdateOperationsInput | boolean + archivedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + avatarUrl?: NullableStringFieldUpdateOperationsInput | string | null + lastMessageAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + messages?: ChatMessageUpdateManyWithoutChatRoomNestedInput + participants?: ChatParticipantUpdateManyWithoutChatRoomNestedInput + videoSessions?: VideoConferenceSessionUpdateManyWithoutChatRoomNestedInput } - export type ReportNotificationCreateWithoutReportInput = { - id?: string - notified?: boolean - user: UserCreateNestedOneWithoutReportNotificationInput + export type ChatRoomUncheckedUpdateWithoutPinnedMessagesInput = { + id?: StringFieldUpdateOperationsInput | string + name?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + type?: EnumChatRoomTypeFieldUpdateOperationsInput | $Enums.ChatRoomType + entityType?: EnumEntityTypeFieldUpdateOperationsInput | $Enums.EntityType + entityId?: StringFieldUpdateOperationsInput | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + isActive?: BoolFieldUpdateOperationsInput | boolean + isArchived?: BoolFieldUpdateOperationsInput | boolean + archivedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + avatarUrl?: NullableStringFieldUpdateOperationsInput | string | null + lastMessageAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + messages?: ChatMessageUncheckedUpdateManyWithoutChatRoomNestedInput + participants?: ChatParticipantUncheckedUpdateManyWithoutChatRoomNestedInput + videoSessions?: VideoConferenceSessionUncheckedUpdateManyWithoutChatRoomNestedInput } - export type ReportNotificationUncheckedCreateWithoutReportInput = { - id?: string - userId: string - notified?: boolean + export type ChatMessageUpsertWithoutPinnedInInput = { + update: XOR + create: XOR + where?: ChatMessageWhereInput + } + + export type ChatMessageUpdateToOneWithWhereWithoutPinnedInInput = { + where?: ChatMessageWhereInput + data: XOR } - export type ReportNotificationCreateOrConnectWithoutReportInput = { - where: ReportNotificationWhereUniqueInput - create: XOR + export type ChatMessageUpdateWithoutPinnedInInput = { + id?: StringFieldUpdateOperationsInput | string + content?: StringFieldUpdateOperationsInput | string + contentType?: EnumMessageContentTypeFieldUpdateOperationsInput | $Enums.MessageContentType + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + isEdited?: BoolFieldUpdateOperationsInput | boolean + isDeleted?: BoolFieldUpdateOperationsInput | boolean + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + metadata?: NullableJsonNullValueInput | InputJsonValue + chatRoom?: ChatRoomUpdateOneRequiredWithoutMessagesNestedInput + sender?: UserUpdateOneRequiredWithoutSentMessagesNestedInput + replyTo?: ChatMessageUpdateOneWithoutRepliesNestedInput + replies?: ChatMessageUpdateManyWithoutReplyToNestedInput + attachments?: MessageAttachmentUpdateManyWithoutMessageNestedInput + reactions?: MessageReactionUpdateManyWithoutMessageNestedInput + readBy?: ChatParticipantUpdateManyWithoutLastReadMessageNestedInput } - export type ReportNotificationCreateManyReportInputEnvelope = { - data: ReportNotificationCreateManyReportInput | ReportNotificationCreateManyReportInput[] - skipDuplicates?: boolean + export type ChatMessageUncheckedUpdateWithoutPinnedInInput = { + id?: StringFieldUpdateOperationsInput | string + chatRoomId?: StringFieldUpdateOperationsInput | string + senderId?: StringFieldUpdateOperationsInput | string + content?: StringFieldUpdateOperationsInput | string + contentType?: EnumMessageContentTypeFieldUpdateOperationsInput | $Enums.MessageContentType + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + isEdited?: BoolFieldUpdateOperationsInput | boolean + isDeleted?: BoolFieldUpdateOperationsInput | boolean + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + replyToId?: NullableStringFieldUpdateOperationsInput | string | null + metadata?: NullableJsonNullValueInput | InputJsonValue + replies?: ChatMessageUncheckedUpdateManyWithoutReplyToNestedInput + attachments?: MessageAttachmentUncheckedUpdateManyWithoutMessageNestedInput + reactions?: MessageReactionUncheckedUpdateManyWithoutMessageNestedInput + readBy?: ChatParticipantUncheckedUpdateManyWithoutLastReadMessageNestedInput } - export type UserUpsertWithoutGeneratedReportsInput = { - update: XOR - create: XOR + export type UserUpsertWithoutPinnedMessagesInput = { + update: XOR + create: XOR where?: UserWhereInput } - export type UserUpdateToOneWithWhereWithoutGeneratedReportsInput = { + export type UserUpdateToOneWithWhereWithoutPinnedMessagesInput = { where?: UserWhereInput - data: XOR + data: XOR } - export type UserUpdateWithoutGeneratedReportsInput = { + export type UserUpdateWithoutPinnedMessagesInput = { id?: StringFieldUpdateOperationsInput | string email?: StringFieldUpdateOperationsInput | string username?: StringFieldUpdateOperationsInput | string @@ -49923,13 +69684,20 @@ export namespace Prisma { timelogs?: TimelogUpdateManyWithoutUserNestedInput comments?: CommentUpdateManyWithoutUserNestedInput taskAttachments?: TaskAttachmentUpdateManyWithoutUploaderNestedInput + generatedReports?: ReportUpdateManyWithoutGeneratorNestedInput userReports?: ReportUpdateManyWithoutUserNestedInput permissions?: PermissionUpdateManyWithoutUserNestedInput activityLogs?: ActivityLogUpdateManyWithoutUserNestedInput ReportNotification?: ReportNotificationUpdateManyWithoutUserNestedInput + chatParticipations?: ChatParticipantUpdateManyWithoutUserNestedInput + sentMessages?: ChatMessageUpdateManyWithoutSenderNestedInput + messageReactions?: MessageReactionUpdateManyWithoutUserNestedInput + hostedSessions?: VideoConferenceSessionUpdateManyWithoutHostNestedInput + videoParticipations?: VideoParticipantUpdateManyWithoutUserNestedInput + videoRecordings?: VideoRecordingUpdateManyWithoutRecorderNestedInput } - export type UserUncheckedUpdateWithoutGeneratedReportsInput = { + export type UserUncheckedUpdateWithoutPinnedMessagesInput = { id?: StringFieldUpdateOperationsInput | string email?: StringFieldUpdateOperationsInput | string username?: StringFieldUpdateOperationsInput | string @@ -49973,230 +69741,316 @@ export namespace Prisma { timelogs?: TimelogUncheckedUpdateManyWithoutUserNestedInput comments?: CommentUncheckedUpdateManyWithoutUserNestedInput taskAttachments?: TaskAttachmentUncheckedUpdateManyWithoutUploaderNestedInput + generatedReports?: ReportUncheckedUpdateManyWithoutGeneratorNestedInput userReports?: ReportUncheckedUpdateManyWithoutUserNestedInput permissions?: PermissionUncheckedUpdateManyWithoutUserNestedInput activityLogs?: ActivityLogUncheckedUpdateManyWithoutUserNestedInput ReportNotification?: ReportNotificationUncheckedUpdateManyWithoutUserNestedInput + chatParticipations?: ChatParticipantUncheckedUpdateManyWithoutUserNestedInput + sentMessages?: ChatMessageUncheckedUpdateManyWithoutSenderNestedInput + messageReactions?: MessageReactionUncheckedUpdateManyWithoutUserNestedInput + hostedSessions?: VideoConferenceSessionUncheckedUpdateManyWithoutHostNestedInput + videoParticipations?: VideoParticipantUncheckedUpdateManyWithoutUserNestedInput + videoRecordings?: VideoRecordingUncheckedUpdateManyWithoutRecorderNestedInput } - export type OrganizationUpsertWithoutReportsInput = { - update: XOR - create: XOR - where?: OrganizationWhereInput + export type ChatRoomCreateWithoutVideoSessionsInput = { + id?: string + name: string + description?: string | null + type: $Enums.ChatRoomType + entityType: $Enums.EntityType + entityId: string + createdAt?: Date | string + updatedAt?: Date | string + isActive?: boolean + isArchived?: boolean + archivedAt?: Date | string | null + avatarUrl?: string | null + lastMessageAt?: Date | string | null + messages?: ChatMessageCreateNestedManyWithoutChatRoomInput + participants?: ChatParticipantCreateNestedManyWithoutChatRoomInput + pinnedMessages?: PinnedMessageCreateNestedManyWithoutChatRoomInput } - export type OrganizationUpdateToOneWithWhereWithoutReportsInput = { - where?: OrganizationWhereInput - data: XOR + export type ChatRoomUncheckedCreateWithoutVideoSessionsInput = { + id?: string + name: string + description?: string | null + type: $Enums.ChatRoomType + entityType: $Enums.EntityType + entityId: string + createdAt?: Date | string + updatedAt?: Date | string + isActive?: boolean + isArchived?: boolean + archivedAt?: Date | string | null + avatarUrl?: string | null + lastMessageAt?: Date | string | null + messages?: ChatMessageUncheckedCreateNestedManyWithoutChatRoomInput + participants?: ChatParticipantUncheckedCreateNestedManyWithoutChatRoomInput + pinnedMessages?: PinnedMessageUncheckedCreateNestedManyWithoutChatRoomInput } - export type OrganizationUpdateWithoutReportsInput = { - id?: StringFieldUpdateOperationsInput | string - name?: StringFieldUpdateOperationsInput | string - description?: NullableStringFieldUpdateOperationsInput | string | null - industry?: StringFieldUpdateOperationsInput | string - sizeRange?: StringFieldUpdateOperationsInput | string - website?: NullableStringFieldUpdateOperationsInput | string | null - logoUrl?: NullableStringFieldUpdateOperationsInput | string | null - isVerified?: BoolFieldUpdateOperationsInput | boolean - status?: StringFieldUpdateOperationsInput | string - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string - deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - address?: NullableStringFieldUpdateOperationsInput | string | null - contactEmail?: NullableStringFieldUpdateOperationsInput | string | null - contactPhone?: NullableStringFieldUpdateOperationsInput | string | null - emailVerificationOTP?: NullableStringFieldUpdateOperationsInput | string | null - emailVerificationExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - creator?: UserUpdateOneRequiredWithoutCreatedOrganizationsNestedInput - departments?: DepartmentUpdateManyWithoutOrganizationNestedInput - teams?: TeamUpdateManyWithoutOrganizationNestedInput - projects?: ProjectUpdateManyWithoutOrganizationNestedInput - users?: UserUpdateManyWithoutOrganizationNestedInput - owners?: OrganizationOwnerUpdateManyWithoutOrganizationNestedInput - templates?: TaskTemplateUpdateManyWithoutOrganizationNestedInput - activityLogs?: ActivityLogUpdateManyWithoutOrganizationNestedInput + export type ChatRoomCreateOrConnectWithoutVideoSessionsInput = { + where: ChatRoomWhereUniqueInput + create: XOR } - export type OrganizationUncheckedUpdateWithoutReportsInput = { - id?: StringFieldUpdateOperationsInput | string - name?: StringFieldUpdateOperationsInput | string - description?: NullableStringFieldUpdateOperationsInput | string | null - industry?: StringFieldUpdateOperationsInput | string - sizeRange?: StringFieldUpdateOperationsInput | string - website?: NullableStringFieldUpdateOperationsInput | string | null - logoUrl?: NullableStringFieldUpdateOperationsInput | string | null - isVerified?: BoolFieldUpdateOperationsInput | boolean - status?: StringFieldUpdateOperationsInput | string - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string - deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - createdBy?: StringFieldUpdateOperationsInput | string - address?: NullableStringFieldUpdateOperationsInput | string | null - contactEmail?: NullableStringFieldUpdateOperationsInput | string | null - contactPhone?: NullableStringFieldUpdateOperationsInput | string | null - emailVerificationOTP?: NullableStringFieldUpdateOperationsInput | string | null - emailVerificationExpires?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - departments?: DepartmentUncheckedUpdateManyWithoutOrganizationNestedInput - teams?: TeamUncheckedUpdateManyWithoutOrganizationNestedInput - projects?: ProjectUncheckedUpdateManyWithoutOrganizationNestedInput - users?: UserUncheckedUpdateManyWithoutOrganizationNestedInput - owners?: OrganizationOwnerUncheckedUpdateManyWithoutOrganizationNestedInput - templates?: TaskTemplateUncheckedUpdateManyWithoutOrganizationNestedInput - activityLogs?: ActivityLogUncheckedUpdateManyWithoutOrganizationNestedInput + export type UserCreateWithoutHostedSessionsInput = { + id?: string + email: string + username: string + password: string + firebaseUid?: string | null + firstName: string + lastName: string + role: $Enums.UserRole + profilePic?: string | null + isOwner?: boolean + createdAt?: Date | string + updatedAt?: Date | string + isActive?: boolean + deletedAt?: Date | string | null + phoneNumber?: string | null + jobTitle?: string | null + timezone?: string | null + bio?: string | null + preferences?: NullableJsonNullValueInput | InputJsonValue + emailVerificationToken?: string | null + emailVerificationExpires?: Date | string | null + passwordResetToken?: string | null + passwordResetExpires?: Date | string | null + refreshToken?: string | null + lastLogin?: Date | string | null + lastLogout?: Date | string | null + department?: DepartmentCreateNestedOneWithoutUsersInput + organization?: OrganizationCreateNestedOneWithoutUsersInput + createdOrganizations?: OrganizationCreateNestedManyWithoutCreatorInput + ownedOrganizations?: OrganizationOwnerCreateNestedManyWithoutUserInput + managedDepartments?: DepartmentCreateNestedManyWithoutManagerInput + createdTeams?: TeamCreateNestedManyWithoutCreatorInput + teamMemberships?: TeamMemberCreateNestedManyWithoutUserInput + projectMemberships?: ProjectMemberCreateNestedManyWithoutUserInput + createdProjects?: ProjectCreateNestedManyWithoutCreatorInput + modifiedProjects?: ProjectCreateNestedManyWithoutModifierInput + createdTasks?: TaskCreateNestedManyWithoutCreatorInput + assignedTasks?: TaskCreateNestedManyWithoutAssigneeInput + modifiedTasks?: TaskCreateNestedManyWithoutModifierInput + notifications?: NotificationCreateNestedManyWithoutUserInput + timelogs?: TimelogCreateNestedManyWithoutUserInput + comments?: CommentCreateNestedManyWithoutUserInput + taskAttachments?: TaskAttachmentCreateNestedManyWithoutUploaderInput + generatedReports?: ReportCreateNestedManyWithoutGeneratorInput + userReports?: ReportCreateNestedManyWithoutUserInput + permissions?: PermissionCreateNestedManyWithoutUserInput + activityLogs?: ActivityLogCreateNestedManyWithoutUserInput + ReportNotification?: ReportNotificationCreateNestedManyWithoutUserInput + chatParticipations?: ChatParticipantCreateNestedManyWithoutUserInput + sentMessages?: ChatMessageCreateNestedManyWithoutSenderInput + messageReactions?: MessageReactionCreateNestedManyWithoutUserInput + pinnedMessages?: PinnedMessageCreateNestedManyWithoutUserInput + videoParticipations?: VideoParticipantCreateNestedManyWithoutUserInput + videoRecordings?: VideoRecordingCreateNestedManyWithoutRecorderInput } - export type TeamUpsertWithoutReportsInput = { - update: XOR - create: XOR - where?: TeamWhereInput + export type UserUncheckedCreateWithoutHostedSessionsInput = { + id?: string + email: string + username: string + password: string + firebaseUid?: string | null + firstName: string + lastName: string + role: $Enums.UserRole + profilePic?: string | null + departmentId?: string | null + organizationId?: string | null + isOwner?: boolean + createdAt?: Date | string + updatedAt?: Date | string + isActive?: boolean + deletedAt?: Date | string | null + phoneNumber?: string | null + jobTitle?: string | null + timezone?: string | null + bio?: string | null + preferences?: NullableJsonNullValueInput | InputJsonValue + emailVerificationToken?: string | null + emailVerificationExpires?: Date | string | null + passwordResetToken?: string | null + passwordResetExpires?: Date | string | null + refreshToken?: string | null + lastLogin?: Date | string | null + lastLogout?: Date | string | null + createdOrganizations?: OrganizationUncheckedCreateNestedManyWithoutCreatorInput + ownedOrganizations?: OrganizationOwnerUncheckedCreateNestedManyWithoutUserInput + managedDepartments?: DepartmentUncheckedCreateNestedManyWithoutManagerInput + createdTeams?: TeamUncheckedCreateNestedManyWithoutCreatorInput + teamMemberships?: TeamMemberUncheckedCreateNestedManyWithoutUserInput + projectMemberships?: ProjectMemberUncheckedCreateNestedManyWithoutUserInput + createdProjects?: ProjectUncheckedCreateNestedManyWithoutCreatorInput + modifiedProjects?: ProjectUncheckedCreateNestedManyWithoutModifierInput + createdTasks?: TaskUncheckedCreateNestedManyWithoutCreatorInput + assignedTasks?: TaskUncheckedCreateNestedManyWithoutAssigneeInput + modifiedTasks?: TaskUncheckedCreateNestedManyWithoutModifierInput + notifications?: NotificationUncheckedCreateNestedManyWithoutUserInput + timelogs?: TimelogUncheckedCreateNestedManyWithoutUserInput + comments?: CommentUncheckedCreateNestedManyWithoutUserInput + taskAttachments?: TaskAttachmentUncheckedCreateNestedManyWithoutUploaderInput + generatedReports?: ReportUncheckedCreateNestedManyWithoutGeneratorInput + userReports?: ReportUncheckedCreateNestedManyWithoutUserInput + permissions?: PermissionUncheckedCreateNestedManyWithoutUserInput + activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutUserInput + ReportNotification?: ReportNotificationUncheckedCreateNestedManyWithoutUserInput + chatParticipations?: ChatParticipantUncheckedCreateNestedManyWithoutUserInput + sentMessages?: ChatMessageUncheckedCreateNestedManyWithoutSenderInput + messageReactions?: MessageReactionUncheckedCreateNestedManyWithoutUserInput + pinnedMessages?: PinnedMessageUncheckedCreateNestedManyWithoutUserInput + videoParticipations?: VideoParticipantUncheckedCreateNestedManyWithoutUserInput + videoRecordings?: VideoRecordingUncheckedCreateNestedManyWithoutRecorderInput } - export type TeamUpdateToOneWithWhereWithoutReportsInput = { - where?: TeamWhereInput - data: XOR + export type UserCreateOrConnectWithoutHostedSessionsInput = { + where: UserWhereUniqueInput + create: XOR } - export type TeamUpdateWithoutReportsInput = { - id?: StringFieldUpdateOperationsInput | string - name?: StringFieldUpdateOperationsInput | string - description?: NullableStringFieldUpdateOperationsInput | string | null - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string - deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - avatar?: NullableStringFieldUpdateOperationsInput | string | null - creator?: UserUpdateOneRequiredWithoutCreatedTeamsNestedInput - organization?: OrganizationUpdateOneRequiredWithoutTeamsNestedInput - department?: DepartmentUpdateOneWithoutTeamsNestedInput - members?: TeamMemberUpdateManyWithoutTeamNestedInput - projects?: ProjectUpdateManyWithoutTeamNestedInput - activityLogs?: ActivityLogUpdateManyWithoutTeamNestedInput + export type VideoParticipantCreateWithoutSessionInput = { + id?: string + joinedAt?: Date | string + leftAt?: Date | string | null + role?: $Enums.VideoParticipantRole + deviceInfo?: NullableJsonNullValueInput | InputJsonValue + connectionQuality?: string | null + hasVideo?: boolean + hasAudio?: boolean + user: UserCreateNestedOneWithoutVideoParticipationsInput } - export type TeamUncheckedUpdateWithoutReportsInput = { - id?: StringFieldUpdateOperationsInput | string - name?: StringFieldUpdateOperationsInput | string - description?: NullableStringFieldUpdateOperationsInput | string | null - createdBy?: StringFieldUpdateOperationsInput | string - organizationId?: StringFieldUpdateOperationsInput | string - departmentId?: NullableStringFieldUpdateOperationsInput | string | null - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string - deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - avatar?: NullableStringFieldUpdateOperationsInput | string | null - members?: TeamMemberUncheckedUpdateManyWithoutTeamNestedInput - projects?: ProjectUncheckedUpdateManyWithoutTeamNestedInput - activityLogs?: ActivityLogUncheckedUpdateManyWithoutTeamNestedInput + export type VideoParticipantUncheckedCreateWithoutSessionInput = { + id?: string + userId: string + joinedAt?: Date | string + leftAt?: Date | string | null + role?: $Enums.VideoParticipantRole + deviceInfo?: NullableJsonNullValueInput | InputJsonValue + connectionQuality?: string | null + hasVideo?: boolean + hasAudio?: boolean } - export type ProjectUpsertWithoutReportsInput = { - update: XOR - create: XOR - where?: ProjectWhereInput + export type VideoParticipantCreateOrConnectWithoutSessionInput = { + where: VideoParticipantWhereUniqueInput + create: XOR } - export type ProjectUpdateToOneWithWhereWithoutReportsInput = { - where?: ProjectWhereInput - data: XOR + export type VideoParticipantCreateManySessionInputEnvelope = { + data: VideoParticipantCreateManySessionInput | VideoParticipantCreateManySessionInput[] + skipDuplicates?: boolean } - export type ProjectUpdateWithoutReportsInput = { - id?: StringFieldUpdateOperationsInput | string - name?: StringFieldUpdateOperationsInput | string - description?: NullableStringFieldUpdateOperationsInput | string | null - status?: StringFieldUpdateOperationsInput | string - startDate?: DateTimeFieldUpdateOperationsInput | Date | string - endDate?: DateTimeFieldUpdateOperationsInput | Date | string - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string - deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - priority?: EnumTaskPriorityFieldUpdateOperationsInput | $Enums.TaskPriority - progress?: NullableFloatFieldUpdateOperationsInput | number | null - budget?: NullableFloatFieldUpdateOperationsInput | number | null - creator?: UserUpdateOneRequiredWithoutCreatedProjectsNestedInput - modifier?: UserUpdateOneWithoutModifiedProjectsNestedInput - organization?: OrganizationUpdateOneRequiredWithoutProjectsNestedInput - team?: TeamUpdateOneRequiredWithoutProjectsNestedInput - sprints?: SprintUpdateManyWithoutProjectNestedInput - tasks?: TaskUpdateManyWithoutProjectNestedInput - activityLogs?: ActivityLogUpdateManyWithoutProjectNestedInput - ProjectMember?: ProjectMemberUpdateManyWithoutProjectNestedInput + export type VideoRecordingCreateWithoutSessionInput = { + id?: string + fileName: string + fileSize: number + duration: number + startTime: Date | string + endTime: Date | string + storageProvider: string + storageKey: string + processingStatus?: $Enums.ProcessingStatus + visibility?: $Enums.RecordingVisibility + createdAt?: Date | string + recorder: UserCreateNestedOneWithoutVideoRecordingsInput } - export type ProjectUncheckedUpdateWithoutReportsInput = { - id?: StringFieldUpdateOperationsInput | string - name?: StringFieldUpdateOperationsInput | string - description?: NullableStringFieldUpdateOperationsInput | string | null - status?: StringFieldUpdateOperationsInput | string - createdBy?: StringFieldUpdateOperationsInput | string - organizationId?: StringFieldUpdateOperationsInput | string - teamId?: StringFieldUpdateOperationsInput | string - startDate?: DateTimeFieldUpdateOperationsInput | Date | string - endDate?: DateTimeFieldUpdateOperationsInput | Date | string - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string - deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - priority?: EnumTaskPriorityFieldUpdateOperationsInput | $Enums.TaskPriority - progress?: NullableFloatFieldUpdateOperationsInput | number | null - budget?: NullableFloatFieldUpdateOperationsInput | number | null - lastModifiedBy?: NullableStringFieldUpdateOperationsInput | string | null - sprints?: SprintUncheckedUpdateManyWithoutProjectNestedInput - tasks?: TaskUncheckedUpdateManyWithoutProjectNestedInput - activityLogs?: ActivityLogUncheckedUpdateManyWithoutProjectNestedInput - ProjectMember?: ProjectMemberUncheckedUpdateManyWithoutProjectNestedInput + export type VideoRecordingUncheckedCreateWithoutSessionInput = { + id?: string + fileName: string + fileSize: number + duration: number + recordedBy: string + startTime: Date | string + endTime: Date | string + storageProvider: string + storageKey: string + processingStatus?: $Enums.ProcessingStatus + visibility?: $Enums.RecordingVisibility + createdAt?: Date | string } - export type DepartmentUpsertWithoutReportInput = { - update: XOR - create: XOR - where?: DepartmentWhereInput + export type VideoRecordingCreateOrConnectWithoutSessionInput = { + where: VideoRecordingWhereUniqueInput + create: XOR } - export type DepartmentUpdateToOneWithWhereWithoutReportInput = { - where?: DepartmentWhereInput - data: XOR + export type VideoRecordingCreateManySessionInputEnvelope = { + data: VideoRecordingCreateManySessionInput | VideoRecordingCreateManySessionInput[] + skipDuplicates?: boolean } - export type DepartmentUpdateWithoutReportInput = { + export type ChatRoomUpsertWithoutVideoSessionsInput = { + update: XOR + create: XOR + where?: ChatRoomWhereInput + } + + export type ChatRoomUpdateToOneWithWhereWithoutVideoSessionsInput = { + where?: ChatRoomWhereInput + data: XOR + } + + export type ChatRoomUpdateWithoutVideoSessionsInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string description?: NullableStringFieldUpdateOperationsInput | string | null + type?: EnumChatRoomTypeFieldUpdateOperationsInput | $Enums.ChatRoomType + entityType?: EnumEntityTypeFieldUpdateOperationsInput | $Enums.EntityType + entityId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string - deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - organization?: OrganizationUpdateOneRequiredWithoutDepartmentsNestedInput - manager?: UserUpdateOneRequiredWithoutManagedDepartmentsNestedInput - teams?: TeamUpdateManyWithoutDepartmentNestedInput - users?: UserUpdateManyWithoutDepartmentNestedInput - activityLogs?: ActivityLogUpdateManyWithoutDepartmentNestedInput + isActive?: BoolFieldUpdateOperationsInput | boolean + isArchived?: BoolFieldUpdateOperationsInput | boolean + archivedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + avatarUrl?: NullableStringFieldUpdateOperationsInput | string | null + lastMessageAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + messages?: ChatMessageUpdateManyWithoutChatRoomNestedInput + participants?: ChatParticipantUpdateManyWithoutChatRoomNestedInput + pinnedMessages?: PinnedMessageUpdateManyWithoutChatRoomNestedInput } - export type DepartmentUncheckedUpdateWithoutReportInput = { + export type ChatRoomUncheckedUpdateWithoutVideoSessionsInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string description?: NullableStringFieldUpdateOperationsInput | string | null - organizationId?: StringFieldUpdateOperationsInput | string - managerId?: StringFieldUpdateOperationsInput | string + type?: EnumChatRoomTypeFieldUpdateOperationsInput | $Enums.ChatRoomType + entityType?: EnumEntityTypeFieldUpdateOperationsInput | $Enums.EntityType + entityId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string - deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - teams?: TeamUncheckedUpdateManyWithoutDepartmentNestedInput - users?: UserUncheckedUpdateManyWithoutDepartmentNestedInput - activityLogs?: ActivityLogUncheckedUpdateManyWithoutDepartmentNestedInput - } - - export type UserUpsertWithoutUserReportsInput = { - update: XOR - create: XOR + isActive?: BoolFieldUpdateOperationsInput | boolean + isArchived?: BoolFieldUpdateOperationsInput | boolean + archivedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + avatarUrl?: NullableStringFieldUpdateOperationsInput | string | null + lastMessageAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + messages?: ChatMessageUncheckedUpdateManyWithoutChatRoomNestedInput + participants?: ChatParticipantUncheckedUpdateManyWithoutChatRoomNestedInput + pinnedMessages?: PinnedMessageUncheckedUpdateManyWithoutChatRoomNestedInput + } + + export type UserUpsertWithoutHostedSessionsInput = { + update: XOR + create: XOR where?: UserWhereInput } - export type UserUpdateToOneWithWhereWithoutUserReportsInput = { + export type UserUpdateToOneWithWhereWithoutHostedSessionsInput = { where?: UserWhereInput - data: XOR + data: XOR } - export type UserUpdateWithoutUserReportsInput = { + export type UserUpdateWithoutHostedSessionsInput = { id?: StringFieldUpdateOperationsInput | string email?: StringFieldUpdateOperationsInput | string username?: StringFieldUpdateOperationsInput | string @@ -50241,12 +70095,19 @@ export namespace Prisma { comments?: CommentUpdateManyWithoutUserNestedInput taskAttachments?: TaskAttachmentUpdateManyWithoutUploaderNestedInput generatedReports?: ReportUpdateManyWithoutGeneratorNestedInput + userReports?: ReportUpdateManyWithoutUserNestedInput permissions?: PermissionUpdateManyWithoutUserNestedInput activityLogs?: ActivityLogUpdateManyWithoutUserNestedInput ReportNotification?: ReportNotificationUpdateManyWithoutUserNestedInput + chatParticipations?: ChatParticipantUpdateManyWithoutUserNestedInput + sentMessages?: ChatMessageUpdateManyWithoutSenderNestedInput + messageReactions?: MessageReactionUpdateManyWithoutUserNestedInput + pinnedMessages?: PinnedMessageUpdateManyWithoutUserNestedInput + videoParticipations?: VideoParticipantUpdateManyWithoutUserNestedInput + videoRecordings?: VideoRecordingUpdateManyWithoutRecorderNestedInput } - export type UserUncheckedUpdateWithoutUserReportsInput = { + export type UserUncheckedUpdateWithoutHostedSessionsInput = { id?: StringFieldUpdateOperationsInput | string email?: StringFieldUpdateOperationsInput | string username?: StringFieldUpdateOperationsInput | string @@ -50291,188 +70152,86 @@ export namespace Prisma { comments?: CommentUncheckedUpdateManyWithoutUserNestedInput taskAttachments?: TaskAttachmentUncheckedUpdateManyWithoutUploaderNestedInput generatedReports?: ReportUncheckedUpdateManyWithoutGeneratorNestedInput + userReports?: ReportUncheckedUpdateManyWithoutUserNestedInput permissions?: PermissionUncheckedUpdateManyWithoutUserNestedInput activityLogs?: ActivityLogUncheckedUpdateManyWithoutUserNestedInput ReportNotification?: ReportNotificationUncheckedUpdateManyWithoutUserNestedInput + chatParticipations?: ChatParticipantUncheckedUpdateManyWithoutUserNestedInput + sentMessages?: ChatMessageUncheckedUpdateManyWithoutSenderNestedInput + messageReactions?: MessageReactionUncheckedUpdateManyWithoutUserNestedInput + pinnedMessages?: PinnedMessageUncheckedUpdateManyWithoutUserNestedInput + videoParticipations?: VideoParticipantUncheckedUpdateManyWithoutUserNestedInput + videoRecordings?: VideoRecordingUncheckedUpdateManyWithoutRecorderNestedInput } - export type ReportScheduleUpsertWithoutReportsInput = { - update: XOR - create: XOR - where?: ReportScheduleWhereInput - } - - export type ReportScheduleUpdateToOneWithWhereWithoutReportsInput = { - where?: ReportScheduleWhereInput - data: XOR - } - - export type ReportScheduleUpdateWithoutReportsInput = { - id?: StringFieldUpdateOperationsInput | string - name?: StringFieldUpdateOperationsInput | string - cronExpression?: StringFieldUpdateOperationsInput | string - isActive?: BoolFieldUpdateOperationsInput | boolean - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - createdBy?: StringFieldUpdateOperationsInput | string - } - - export type ReportScheduleUncheckedUpdateWithoutReportsInput = { - id?: StringFieldUpdateOperationsInput | string - name?: StringFieldUpdateOperationsInput | string - cronExpression?: StringFieldUpdateOperationsInput | string - isActive?: BoolFieldUpdateOperationsInput | boolean - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - createdBy?: StringFieldUpdateOperationsInput | string - } - - export type ReportNotificationUpsertWithWhereUniqueWithoutReportInput = { - where: ReportNotificationWhereUniqueInput - update: XOR - create: XOR - } - - export type ReportNotificationUpdateWithWhereUniqueWithoutReportInput = { - where: ReportNotificationWhereUniqueInput - data: XOR - } - - export type ReportNotificationUpdateManyWithWhereWithoutReportInput = { - where: ReportNotificationScalarWhereInput - data: XOR - } - - export type ReportCreateWithoutReportScheduleInput = { - id?: string - name: string - description?: string | null - reportType: $Enums.ReportType - format: string - parameters?: NullableJsonNullValueInput | InputJsonValue - filePath: string - createdAt?: Date | string - status?: $Enums.ReportStatus - updatedAt?: Date | string - lastAccessedAt?: Date | string | null - expiresAt?: Date | string | null - tags?: string | null - storageProvider?: string | null - storageKey: string - generator: UserCreateNestedOneWithoutGeneratedReportsInput - organization?: OrganizationCreateNestedOneWithoutReportsInput - team?: TeamCreateNestedOneWithoutReportsInput - project?: ProjectCreateNestedOneWithoutReportsInput - department?: DepartmentCreateNestedOneWithoutReportInput - user?: UserCreateNestedOneWithoutUserReportsInput - notifiedUsers?: ReportNotificationCreateNestedManyWithoutReportInput - } - - export type ReportUncheckedCreateWithoutReportScheduleInput = { - id?: string - name: string - description?: string | null - reportType: $Enums.ReportType - format: string - parameters?: NullableJsonNullValueInput | InputJsonValue - filePath: string - generatedBy: string - createdAt?: Date | string - status?: $Enums.ReportStatus - updatedAt?: Date | string - lastAccessedAt?: Date | string | null - expiresAt?: Date | string | null - tags?: string | null - organizationId?: string | null - teamId?: string | null - projectId?: string | null - departmentId?: string | null - userId?: string | null - storageProvider?: string | null - storageKey: string - notifiedUsers?: ReportNotificationUncheckedCreateNestedManyWithoutReportInput + export type VideoParticipantUpsertWithWhereUniqueWithoutSessionInput = { + where: VideoParticipantWhereUniqueInput + update: XOR + create: XOR } - export type ReportCreateOrConnectWithoutReportScheduleInput = { - where: ReportWhereUniqueInput - create: XOR + export type VideoParticipantUpdateWithWhereUniqueWithoutSessionInput = { + where: VideoParticipantWhereUniqueInput + data: XOR } - export type ReportCreateManyReportScheduleInputEnvelope = { - data: ReportCreateManyReportScheduleInput | ReportCreateManyReportScheduleInput[] - skipDuplicates?: boolean + export type VideoParticipantUpdateManyWithWhereWithoutSessionInput = { + where: VideoParticipantScalarWhereInput + data: XOR } - export type ReportUpsertWithWhereUniqueWithoutReportScheduleInput = { - where: ReportWhereUniqueInput - update: XOR - create: XOR + export type VideoRecordingUpsertWithWhereUniqueWithoutSessionInput = { + where: VideoRecordingWhereUniqueInput + update: XOR + create: XOR } - export type ReportUpdateWithWhereUniqueWithoutReportScheduleInput = { - where: ReportWhereUniqueInput - data: XOR + export type VideoRecordingUpdateWithWhereUniqueWithoutSessionInput = { + where: VideoRecordingWhereUniqueInput + data: XOR } - export type ReportUpdateManyWithWhereWithoutReportScheduleInput = { - where: ReportScalarWhereInput - data: XOR + export type VideoRecordingUpdateManyWithWhereWithoutSessionInput = { + where: VideoRecordingScalarWhereInput + data: XOR } - export type ReportCreateWithoutNotifiedUsersInput = { + export type VideoConferenceSessionCreateWithoutParticipantsInput = { id?: string - name: string + title: string description?: string | null - reportType: $Enums.ReportType - format: string - parameters?: NullableJsonNullValueInput | InputJsonValue - filePath: string - createdAt?: Date | string - status?: $Enums.ReportStatus - updatedAt?: Date | string - lastAccessedAt?: Date | string | null - expiresAt?: Date | string | null - tags?: string | null - storageProvider?: string | null - storageKey: string - generator: UserCreateNestedOneWithoutGeneratedReportsInput - organization?: OrganizationCreateNestedOneWithoutReportsInput - team?: TeamCreateNestedOneWithoutReportsInput - project?: ProjectCreateNestedOneWithoutReportsInput - department?: DepartmentCreateNestedOneWithoutReportInput - user?: UserCreateNestedOneWithoutUserReportsInput - reportSchedule?: ReportScheduleCreateNestedOneWithoutReportsInput - } - - export type ReportUncheckedCreateWithoutNotifiedUsersInput = { + startTime?: Date | string + endTime?: Date | string | null + status?: $Enums.SessionStatus + meetingUrl: string + recordingUrl?: string | null + settings?: NullableJsonNullValueInput | InputJsonValue + chatRoom: ChatRoomCreateNestedOneWithoutVideoSessionsInput + host: UserCreateNestedOneWithoutHostedSessionsInput + recordings?: VideoRecordingCreateNestedManyWithoutSessionInput + } + + export type VideoConferenceSessionUncheckedCreateWithoutParticipantsInput = { id?: string - name: string + chatRoomId: string + title: string description?: string | null - reportType: $Enums.ReportType - format: string - parameters?: NullableJsonNullValueInput | InputJsonValue - filePath: string - generatedBy: string - createdAt?: Date | string - status?: $Enums.ReportStatus - updatedAt?: Date | string - lastAccessedAt?: Date | string | null - expiresAt?: Date | string | null - tags?: string | null - organizationId?: string | null - teamId?: string | null - projectId?: string | null - departmentId?: string | null - userId?: string | null - scheduleId?: string | null - storageProvider?: string | null - storageKey: string + startTime?: Date | string + endTime?: Date | string | null + status?: $Enums.SessionStatus + hostId: string + meetingUrl: string + recordingUrl?: string | null + settings?: NullableJsonNullValueInput | InputJsonValue + recordings?: VideoRecordingUncheckedCreateNestedManyWithoutSessionInput } - export type ReportCreateOrConnectWithoutNotifiedUsersInput = { - where: ReportWhereUniqueInput - create: XOR + export type VideoConferenceSessionCreateOrConnectWithoutParticipantsInput = { + where: VideoConferenceSessionWhereUniqueInput + create: XOR } - export type UserCreateWithoutReportNotificationInput = { + export type UserCreateWithoutVideoParticipationsInput = { id?: string email: string username: string @@ -50520,9 +70279,16 @@ export namespace Prisma { userReports?: ReportCreateNestedManyWithoutUserInput permissions?: PermissionCreateNestedManyWithoutUserInput activityLogs?: ActivityLogCreateNestedManyWithoutUserInput + ReportNotification?: ReportNotificationCreateNestedManyWithoutUserInput + chatParticipations?: ChatParticipantCreateNestedManyWithoutUserInput + sentMessages?: ChatMessageCreateNestedManyWithoutSenderInput + messageReactions?: MessageReactionCreateNestedManyWithoutUserInput + pinnedMessages?: PinnedMessageCreateNestedManyWithoutUserInput + hostedSessions?: VideoConferenceSessionCreateNestedManyWithoutHostInput + videoRecordings?: VideoRecordingCreateNestedManyWithoutRecorderInput } - export type UserUncheckedCreateWithoutReportNotificationInput = { + export type UserUncheckedCreateWithoutVideoParticipationsInput = { id?: string email: string username: string @@ -50570,86 +70336,73 @@ export namespace Prisma { userReports?: ReportUncheckedCreateNestedManyWithoutUserInput permissions?: PermissionUncheckedCreateNestedManyWithoutUserInput activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutUserInput + ReportNotification?: ReportNotificationUncheckedCreateNestedManyWithoutUserInput + chatParticipations?: ChatParticipantUncheckedCreateNestedManyWithoutUserInput + sentMessages?: ChatMessageUncheckedCreateNestedManyWithoutSenderInput + messageReactions?: MessageReactionUncheckedCreateNestedManyWithoutUserInput + pinnedMessages?: PinnedMessageUncheckedCreateNestedManyWithoutUserInput + hostedSessions?: VideoConferenceSessionUncheckedCreateNestedManyWithoutHostInput + videoRecordings?: VideoRecordingUncheckedCreateNestedManyWithoutRecorderInput } - export type UserCreateOrConnectWithoutReportNotificationInput = { + export type UserCreateOrConnectWithoutVideoParticipationsInput = { where: UserWhereUniqueInput - create: XOR + create: XOR } - export type ReportUpsertWithoutNotifiedUsersInput = { - update: XOR - create: XOR - where?: ReportWhereInput + export type VideoConferenceSessionUpsertWithoutParticipantsInput = { + update: XOR + create: XOR + where?: VideoConferenceSessionWhereInput } - export type ReportUpdateToOneWithWhereWithoutNotifiedUsersInput = { - where?: ReportWhereInput - data: XOR + export type VideoConferenceSessionUpdateToOneWithWhereWithoutParticipantsInput = { + where?: VideoConferenceSessionWhereInput + data: XOR } - export type ReportUpdateWithoutNotifiedUsersInput = { + export type VideoConferenceSessionUpdateWithoutParticipantsInput = { id?: StringFieldUpdateOperationsInput | string - name?: StringFieldUpdateOperationsInput | string + title?: StringFieldUpdateOperationsInput | string description?: NullableStringFieldUpdateOperationsInput | string | null - reportType?: EnumReportTypeFieldUpdateOperationsInput | $Enums.ReportType - format?: StringFieldUpdateOperationsInput | string - parameters?: NullableJsonNullValueInput | InputJsonValue - filePath?: StringFieldUpdateOperationsInput | string - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - status?: EnumReportStatusFieldUpdateOperationsInput | $Enums.ReportStatus - updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string - lastAccessedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - expiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - tags?: NullableStringFieldUpdateOperationsInput | string | null - storageProvider?: NullableStringFieldUpdateOperationsInput | string | null - storageKey?: StringFieldUpdateOperationsInput | string - generator?: UserUpdateOneRequiredWithoutGeneratedReportsNestedInput - organization?: OrganizationUpdateOneWithoutReportsNestedInput - team?: TeamUpdateOneWithoutReportsNestedInput - project?: ProjectUpdateOneWithoutReportsNestedInput - department?: DepartmentUpdateOneWithoutReportNestedInput - user?: UserUpdateOneWithoutUserReportsNestedInput - reportSchedule?: ReportScheduleUpdateOneWithoutReportsNestedInput + startTime?: DateTimeFieldUpdateOperationsInput | Date | string + endTime?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + status?: EnumSessionStatusFieldUpdateOperationsInput | $Enums.SessionStatus + meetingUrl?: StringFieldUpdateOperationsInput | string + recordingUrl?: NullableStringFieldUpdateOperationsInput | string | null + settings?: NullableJsonNullValueInput | InputJsonValue + chatRoom?: ChatRoomUpdateOneRequiredWithoutVideoSessionsNestedInput + host?: UserUpdateOneRequiredWithoutHostedSessionsNestedInput + recordings?: VideoRecordingUpdateManyWithoutSessionNestedInput } - export type ReportUncheckedUpdateWithoutNotifiedUsersInput = { + export type VideoConferenceSessionUncheckedUpdateWithoutParticipantsInput = { id?: StringFieldUpdateOperationsInput | string - name?: StringFieldUpdateOperationsInput | string + chatRoomId?: StringFieldUpdateOperationsInput | string + title?: StringFieldUpdateOperationsInput | string description?: NullableStringFieldUpdateOperationsInput | string | null - reportType?: EnumReportTypeFieldUpdateOperationsInput | $Enums.ReportType - format?: StringFieldUpdateOperationsInput | string - parameters?: NullableJsonNullValueInput | InputJsonValue - filePath?: StringFieldUpdateOperationsInput | string - generatedBy?: StringFieldUpdateOperationsInput | string - createdAt?: DateTimeFieldUpdateOperationsInput | Date | string - status?: EnumReportStatusFieldUpdateOperationsInput | $Enums.ReportStatus - updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string - lastAccessedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - expiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - tags?: NullableStringFieldUpdateOperationsInput | string | null - organizationId?: NullableStringFieldUpdateOperationsInput | string | null - teamId?: NullableStringFieldUpdateOperationsInput | string | null - projectId?: NullableStringFieldUpdateOperationsInput | string | null - departmentId?: NullableStringFieldUpdateOperationsInput | string | null - userId?: NullableStringFieldUpdateOperationsInput | string | null - scheduleId?: NullableStringFieldUpdateOperationsInput | string | null - storageProvider?: NullableStringFieldUpdateOperationsInput | string | null - storageKey?: StringFieldUpdateOperationsInput | string - } - - export type UserUpsertWithoutReportNotificationInput = { - update: XOR - create: XOR + startTime?: DateTimeFieldUpdateOperationsInput | Date | string + endTime?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + status?: EnumSessionStatusFieldUpdateOperationsInput | $Enums.SessionStatus + hostId?: StringFieldUpdateOperationsInput | string + meetingUrl?: StringFieldUpdateOperationsInput | string + recordingUrl?: NullableStringFieldUpdateOperationsInput | string | null + settings?: NullableJsonNullValueInput | InputJsonValue + recordings?: VideoRecordingUncheckedUpdateManyWithoutSessionNestedInput + } + + export type UserUpsertWithoutVideoParticipationsInput = { + update: XOR + create: XOR where?: UserWhereInput } - export type UserUpdateToOneWithWhereWithoutReportNotificationInput = { + export type UserUpdateToOneWithWhereWithoutVideoParticipationsInput = { where?: UserWhereInput - data: XOR + data: XOR } - export type UserUpdateWithoutReportNotificationInput = { + export type UserUpdateWithoutVideoParticipationsInput = { id?: StringFieldUpdateOperationsInput | string email?: StringFieldUpdateOperationsInput | string username?: StringFieldUpdateOperationsInput | string @@ -50697,9 +70450,16 @@ export namespace Prisma { userReports?: ReportUpdateManyWithoutUserNestedInput permissions?: PermissionUpdateManyWithoutUserNestedInput activityLogs?: ActivityLogUpdateManyWithoutUserNestedInput + ReportNotification?: ReportNotificationUpdateManyWithoutUserNestedInput + chatParticipations?: ChatParticipantUpdateManyWithoutUserNestedInput + sentMessages?: ChatMessageUpdateManyWithoutSenderNestedInput + messageReactions?: MessageReactionUpdateManyWithoutUserNestedInput + pinnedMessages?: PinnedMessageUpdateManyWithoutUserNestedInput + hostedSessions?: VideoConferenceSessionUpdateManyWithoutHostNestedInput + videoRecordings?: VideoRecordingUpdateManyWithoutRecorderNestedInput } - export type UserUncheckedUpdateWithoutReportNotificationInput = { + export type UserUncheckedUpdateWithoutVideoParticipationsInput = { id?: StringFieldUpdateOperationsInput | string email?: StringFieldUpdateOperationsInput | string username?: StringFieldUpdateOperationsInput | string @@ -50747,9 +70507,51 @@ export namespace Prisma { userReports?: ReportUncheckedUpdateManyWithoutUserNestedInput permissions?: PermissionUncheckedUpdateManyWithoutUserNestedInput activityLogs?: ActivityLogUncheckedUpdateManyWithoutUserNestedInput + ReportNotification?: ReportNotificationUncheckedUpdateManyWithoutUserNestedInput + chatParticipations?: ChatParticipantUncheckedUpdateManyWithoutUserNestedInput + sentMessages?: ChatMessageUncheckedUpdateManyWithoutSenderNestedInput + messageReactions?: MessageReactionUncheckedUpdateManyWithoutUserNestedInput + pinnedMessages?: PinnedMessageUncheckedUpdateManyWithoutUserNestedInput + hostedSessions?: VideoConferenceSessionUncheckedUpdateManyWithoutHostNestedInput + videoRecordings?: VideoRecordingUncheckedUpdateManyWithoutRecorderNestedInput } - export type UserCreateWithoutPermissionsInput = { + export type VideoConferenceSessionCreateWithoutRecordingsInput = { + id?: string + title: string + description?: string | null + startTime?: Date | string + endTime?: Date | string | null + status?: $Enums.SessionStatus + meetingUrl: string + recordingUrl?: string | null + settings?: NullableJsonNullValueInput | InputJsonValue + chatRoom: ChatRoomCreateNestedOneWithoutVideoSessionsInput + host: UserCreateNestedOneWithoutHostedSessionsInput + participants?: VideoParticipantCreateNestedManyWithoutSessionInput + } + + export type VideoConferenceSessionUncheckedCreateWithoutRecordingsInput = { + id?: string + chatRoomId: string + title: string + description?: string | null + startTime?: Date | string + endTime?: Date | string | null + status?: $Enums.SessionStatus + hostId: string + meetingUrl: string + recordingUrl?: string | null + settings?: NullableJsonNullValueInput | InputJsonValue + participants?: VideoParticipantUncheckedCreateNestedManyWithoutSessionInput + } + + export type VideoConferenceSessionCreateOrConnectWithoutRecordingsInput = { + where: VideoConferenceSessionWhereUniqueInput + create: XOR + } + + export type UserCreateWithoutVideoRecordingsInput = { id?: string email: string username: string @@ -50795,11 +70597,18 @@ export namespace Prisma { taskAttachments?: TaskAttachmentCreateNestedManyWithoutUploaderInput generatedReports?: ReportCreateNestedManyWithoutGeneratorInput userReports?: ReportCreateNestedManyWithoutUserInput + permissions?: PermissionCreateNestedManyWithoutUserInput activityLogs?: ActivityLogCreateNestedManyWithoutUserInput ReportNotification?: ReportNotificationCreateNestedManyWithoutUserInput + chatParticipations?: ChatParticipantCreateNestedManyWithoutUserInput + sentMessages?: ChatMessageCreateNestedManyWithoutSenderInput + messageReactions?: MessageReactionCreateNestedManyWithoutUserInput + pinnedMessages?: PinnedMessageCreateNestedManyWithoutUserInput + hostedSessions?: VideoConferenceSessionCreateNestedManyWithoutHostInput + videoParticipations?: VideoParticipantCreateNestedManyWithoutUserInput } - export type UserUncheckedCreateWithoutPermissionsInput = { + export type UserUncheckedCreateWithoutVideoRecordingsInput = { id?: string email: string username: string @@ -50845,27 +70654,75 @@ export namespace Prisma { taskAttachments?: TaskAttachmentUncheckedCreateNestedManyWithoutUploaderInput generatedReports?: ReportUncheckedCreateNestedManyWithoutGeneratorInput userReports?: ReportUncheckedCreateNestedManyWithoutUserInput + permissions?: PermissionUncheckedCreateNestedManyWithoutUserInput activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutUserInput ReportNotification?: ReportNotificationUncheckedCreateNestedManyWithoutUserInput + chatParticipations?: ChatParticipantUncheckedCreateNestedManyWithoutUserInput + sentMessages?: ChatMessageUncheckedCreateNestedManyWithoutSenderInput + messageReactions?: MessageReactionUncheckedCreateNestedManyWithoutUserInput + pinnedMessages?: PinnedMessageUncheckedCreateNestedManyWithoutUserInput + hostedSessions?: VideoConferenceSessionUncheckedCreateNestedManyWithoutHostInput + videoParticipations?: VideoParticipantUncheckedCreateNestedManyWithoutUserInput } - export type UserCreateOrConnectWithoutPermissionsInput = { + export type UserCreateOrConnectWithoutVideoRecordingsInput = { where: UserWhereUniqueInput - create: XOR + create: XOR } - export type UserUpsertWithoutPermissionsInput = { - update: XOR - create: XOR + export type VideoConferenceSessionUpsertWithoutRecordingsInput = { + update: XOR + create: XOR + where?: VideoConferenceSessionWhereInput + } + + export type VideoConferenceSessionUpdateToOneWithWhereWithoutRecordingsInput = { + where?: VideoConferenceSessionWhereInput + data: XOR + } + + export type VideoConferenceSessionUpdateWithoutRecordingsInput = { + id?: StringFieldUpdateOperationsInput | string + title?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + startTime?: DateTimeFieldUpdateOperationsInput | Date | string + endTime?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + status?: EnumSessionStatusFieldUpdateOperationsInput | $Enums.SessionStatus + meetingUrl?: StringFieldUpdateOperationsInput | string + recordingUrl?: NullableStringFieldUpdateOperationsInput | string | null + settings?: NullableJsonNullValueInput | InputJsonValue + chatRoom?: ChatRoomUpdateOneRequiredWithoutVideoSessionsNestedInput + host?: UserUpdateOneRequiredWithoutHostedSessionsNestedInput + participants?: VideoParticipantUpdateManyWithoutSessionNestedInput + } + + export type VideoConferenceSessionUncheckedUpdateWithoutRecordingsInput = { + id?: StringFieldUpdateOperationsInput | string + chatRoomId?: StringFieldUpdateOperationsInput | string + title?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + startTime?: DateTimeFieldUpdateOperationsInput | Date | string + endTime?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + status?: EnumSessionStatusFieldUpdateOperationsInput | $Enums.SessionStatus + hostId?: StringFieldUpdateOperationsInput | string + meetingUrl?: StringFieldUpdateOperationsInput | string + recordingUrl?: NullableStringFieldUpdateOperationsInput | string | null + settings?: NullableJsonNullValueInput | InputJsonValue + participants?: VideoParticipantUncheckedUpdateManyWithoutSessionNestedInput + } + + export type UserUpsertWithoutVideoRecordingsInput = { + update: XOR + create: XOR where?: UserWhereInput } - export type UserUpdateToOneWithWhereWithoutPermissionsInput = { + export type UserUpdateToOneWithWhereWithoutVideoRecordingsInput = { where?: UserWhereInput - data: XOR + data: XOR } - export type UserUpdateWithoutPermissionsInput = { + export type UserUpdateWithoutVideoRecordingsInput = { id?: StringFieldUpdateOperationsInput | string email?: StringFieldUpdateOperationsInput | string username?: StringFieldUpdateOperationsInput | string @@ -50911,11 +70768,18 @@ export namespace Prisma { taskAttachments?: TaskAttachmentUpdateManyWithoutUploaderNestedInput generatedReports?: ReportUpdateManyWithoutGeneratorNestedInput userReports?: ReportUpdateManyWithoutUserNestedInput + permissions?: PermissionUpdateManyWithoutUserNestedInput activityLogs?: ActivityLogUpdateManyWithoutUserNestedInput ReportNotification?: ReportNotificationUpdateManyWithoutUserNestedInput + chatParticipations?: ChatParticipantUpdateManyWithoutUserNestedInput + sentMessages?: ChatMessageUpdateManyWithoutSenderNestedInput + messageReactions?: MessageReactionUpdateManyWithoutUserNestedInput + pinnedMessages?: PinnedMessageUpdateManyWithoutUserNestedInput + hostedSessions?: VideoConferenceSessionUpdateManyWithoutHostNestedInput + videoParticipations?: VideoParticipantUpdateManyWithoutUserNestedInput } - export type UserUncheckedUpdateWithoutPermissionsInput = { + export type UserUncheckedUpdateWithoutVideoRecordingsInput = { id?: StringFieldUpdateOperationsInput | string email?: StringFieldUpdateOperationsInput | string username?: StringFieldUpdateOperationsInput | string @@ -50961,8 +70825,15 @@ export namespace Prisma { taskAttachments?: TaskAttachmentUncheckedUpdateManyWithoutUploaderNestedInput generatedReports?: ReportUncheckedUpdateManyWithoutGeneratorNestedInput userReports?: ReportUncheckedUpdateManyWithoutUserNestedInput + permissions?: PermissionUncheckedUpdateManyWithoutUserNestedInput activityLogs?: ActivityLogUncheckedUpdateManyWithoutUserNestedInput ReportNotification?: ReportNotificationUncheckedUpdateManyWithoutUserNestedInput + chatParticipations?: ChatParticipantUncheckedUpdateManyWithoutUserNestedInput + sentMessages?: ChatMessageUncheckedUpdateManyWithoutSenderNestedInput + messageReactions?: MessageReactionUncheckedUpdateManyWithoutUserNestedInput + pinnedMessages?: PinnedMessageUncheckedUpdateManyWithoutUserNestedInput + hostedSessions?: VideoConferenceSessionUncheckedUpdateManyWithoutHostNestedInput + videoParticipations?: VideoParticipantUncheckedUpdateManyWithoutUserNestedInput } export type OrganizationCreateManyCreatorInput = { @@ -51252,6 +71123,85 @@ export namespace Prisma { notified?: boolean } + export type ChatParticipantCreateManyUserInput = { + id?: string + chatRoomId: string + joinedAt?: Date | string + lastReadMessageId?: string | null + lastReadAt?: Date | string | null + isAdmin?: boolean + notificationsOn?: boolean + status?: $Enums.ParticipantStatus + } + + export type ChatMessageCreateManySenderInput = { + id?: string + chatRoomId: string + content: string + contentType?: $Enums.MessageContentType + createdAt?: Date | string + updatedAt?: Date | string + isEdited?: boolean + isDeleted?: boolean + deletedAt?: Date | string | null + replyToId?: string | null + metadata?: NullableJsonNullValueInput | InputJsonValue + } + + export type MessageReactionCreateManyUserInput = { + id?: string + messageId: string + reaction: string + createdAt?: Date | string + } + + export type PinnedMessageCreateManyUserInput = { + id?: string + chatRoomId: string + messageId: string + pinnedAt?: Date | string + } + + export type VideoConferenceSessionCreateManyHostInput = { + id?: string + chatRoomId: string + title: string + description?: string | null + startTime?: Date | string + endTime?: Date | string | null + status?: $Enums.SessionStatus + meetingUrl: string + recordingUrl?: string | null + settings?: NullableJsonNullValueInput | InputJsonValue + } + + export type VideoParticipantCreateManyUserInput = { + id?: string + sessionId: string + joinedAt?: Date | string + leftAt?: Date | string | null + role?: $Enums.VideoParticipantRole + deviceInfo?: NullableJsonNullValueInput | InputJsonValue + connectionQuality?: string | null + hasVideo?: boolean + hasAudio?: boolean + } + + export type VideoRecordingCreateManyRecorderInput = { + id?: string + sessionId: string + fileName: string + fileSize: number + duration: number + startTime: Date | string + endTime: Date | string + storageProvider: string + storageKey: string + processingStatus?: $Enums.ProcessingStatus + visibility?: $Enums.RecordingVisibility + createdAt?: Date | string + } + export type OrganizationUpdateWithoutCreatorInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string @@ -52211,6 +72161,257 @@ export namespace Prisma { notified?: BoolFieldUpdateOperationsInput | boolean } + export type ChatParticipantUpdateWithoutUserInput = { + id?: StringFieldUpdateOperationsInput | string + joinedAt?: DateTimeFieldUpdateOperationsInput | Date | string + lastReadAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + isAdmin?: BoolFieldUpdateOperationsInput | boolean + notificationsOn?: BoolFieldUpdateOperationsInput | boolean + status?: EnumParticipantStatusFieldUpdateOperationsInput | $Enums.ParticipantStatus + chatRoom?: ChatRoomUpdateOneRequiredWithoutParticipantsNestedInput + lastReadMessage?: ChatMessageUpdateOneWithoutReadByNestedInput + } + + export type ChatParticipantUncheckedUpdateWithoutUserInput = { + id?: StringFieldUpdateOperationsInput | string + chatRoomId?: StringFieldUpdateOperationsInput | string + joinedAt?: DateTimeFieldUpdateOperationsInput | Date | string + lastReadMessageId?: NullableStringFieldUpdateOperationsInput | string | null + lastReadAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + isAdmin?: BoolFieldUpdateOperationsInput | boolean + notificationsOn?: BoolFieldUpdateOperationsInput | boolean + status?: EnumParticipantStatusFieldUpdateOperationsInput | $Enums.ParticipantStatus + } + + export type ChatParticipantUncheckedUpdateManyWithoutUserInput = { + id?: StringFieldUpdateOperationsInput | string + chatRoomId?: StringFieldUpdateOperationsInput | string + joinedAt?: DateTimeFieldUpdateOperationsInput | Date | string + lastReadMessageId?: NullableStringFieldUpdateOperationsInput | string | null + lastReadAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + isAdmin?: BoolFieldUpdateOperationsInput | boolean + notificationsOn?: BoolFieldUpdateOperationsInput | boolean + status?: EnumParticipantStatusFieldUpdateOperationsInput | $Enums.ParticipantStatus + } + + export type ChatMessageUpdateWithoutSenderInput = { + id?: StringFieldUpdateOperationsInput | string + content?: StringFieldUpdateOperationsInput | string + contentType?: EnumMessageContentTypeFieldUpdateOperationsInput | $Enums.MessageContentType + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + isEdited?: BoolFieldUpdateOperationsInput | boolean + isDeleted?: BoolFieldUpdateOperationsInput | boolean + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + metadata?: NullableJsonNullValueInput | InputJsonValue + chatRoom?: ChatRoomUpdateOneRequiredWithoutMessagesNestedInput + replyTo?: ChatMessageUpdateOneWithoutRepliesNestedInput + replies?: ChatMessageUpdateManyWithoutReplyToNestedInput + attachments?: MessageAttachmentUpdateManyWithoutMessageNestedInput + reactions?: MessageReactionUpdateManyWithoutMessageNestedInput + readBy?: ChatParticipantUpdateManyWithoutLastReadMessageNestedInput + pinnedIn?: PinnedMessageUpdateManyWithoutMessageNestedInput + } + + export type ChatMessageUncheckedUpdateWithoutSenderInput = { + id?: StringFieldUpdateOperationsInput | string + chatRoomId?: StringFieldUpdateOperationsInput | string + content?: StringFieldUpdateOperationsInput | string + contentType?: EnumMessageContentTypeFieldUpdateOperationsInput | $Enums.MessageContentType + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + isEdited?: BoolFieldUpdateOperationsInput | boolean + isDeleted?: BoolFieldUpdateOperationsInput | boolean + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + replyToId?: NullableStringFieldUpdateOperationsInput | string | null + metadata?: NullableJsonNullValueInput | InputJsonValue + replies?: ChatMessageUncheckedUpdateManyWithoutReplyToNestedInput + attachments?: MessageAttachmentUncheckedUpdateManyWithoutMessageNestedInput + reactions?: MessageReactionUncheckedUpdateManyWithoutMessageNestedInput + readBy?: ChatParticipantUncheckedUpdateManyWithoutLastReadMessageNestedInput + pinnedIn?: PinnedMessageUncheckedUpdateManyWithoutMessageNestedInput + } + + export type ChatMessageUncheckedUpdateManyWithoutSenderInput = { + id?: StringFieldUpdateOperationsInput | string + chatRoomId?: StringFieldUpdateOperationsInput | string + content?: StringFieldUpdateOperationsInput | string + contentType?: EnumMessageContentTypeFieldUpdateOperationsInput | $Enums.MessageContentType + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + isEdited?: BoolFieldUpdateOperationsInput | boolean + isDeleted?: BoolFieldUpdateOperationsInput | boolean + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + replyToId?: NullableStringFieldUpdateOperationsInput | string | null + metadata?: NullableJsonNullValueInput | InputJsonValue + } + + export type MessageReactionUpdateWithoutUserInput = { + id?: StringFieldUpdateOperationsInput | string + reaction?: StringFieldUpdateOperationsInput | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + message?: ChatMessageUpdateOneRequiredWithoutReactionsNestedInput + } + + export type MessageReactionUncheckedUpdateWithoutUserInput = { + id?: StringFieldUpdateOperationsInput | string + messageId?: StringFieldUpdateOperationsInput | string + reaction?: StringFieldUpdateOperationsInput | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + } + + export type MessageReactionUncheckedUpdateManyWithoutUserInput = { + id?: StringFieldUpdateOperationsInput | string + messageId?: StringFieldUpdateOperationsInput | string + reaction?: StringFieldUpdateOperationsInput | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + } + + export type PinnedMessageUpdateWithoutUserInput = { + id?: StringFieldUpdateOperationsInput | string + pinnedAt?: DateTimeFieldUpdateOperationsInput | Date | string + chatRoom?: ChatRoomUpdateOneRequiredWithoutPinnedMessagesNestedInput + message?: ChatMessageUpdateOneRequiredWithoutPinnedInNestedInput + } + + export type PinnedMessageUncheckedUpdateWithoutUserInput = { + id?: StringFieldUpdateOperationsInput | string + chatRoomId?: StringFieldUpdateOperationsInput | string + messageId?: StringFieldUpdateOperationsInput | string + pinnedAt?: DateTimeFieldUpdateOperationsInput | Date | string + } + + export type PinnedMessageUncheckedUpdateManyWithoutUserInput = { + id?: StringFieldUpdateOperationsInput | string + chatRoomId?: StringFieldUpdateOperationsInput | string + messageId?: StringFieldUpdateOperationsInput | string + pinnedAt?: DateTimeFieldUpdateOperationsInput | Date | string + } + + export type VideoConferenceSessionUpdateWithoutHostInput = { + id?: StringFieldUpdateOperationsInput | string + title?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + startTime?: DateTimeFieldUpdateOperationsInput | Date | string + endTime?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + status?: EnumSessionStatusFieldUpdateOperationsInput | $Enums.SessionStatus + meetingUrl?: StringFieldUpdateOperationsInput | string + recordingUrl?: NullableStringFieldUpdateOperationsInput | string | null + settings?: NullableJsonNullValueInput | InputJsonValue + chatRoom?: ChatRoomUpdateOneRequiredWithoutVideoSessionsNestedInput + participants?: VideoParticipantUpdateManyWithoutSessionNestedInput + recordings?: VideoRecordingUpdateManyWithoutSessionNestedInput + } + + export type VideoConferenceSessionUncheckedUpdateWithoutHostInput = { + id?: StringFieldUpdateOperationsInput | string + chatRoomId?: StringFieldUpdateOperationsInput | string + title?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + startTime?: DateTimeFieldUpdateOperationsInput | Date | string + endTime?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + status?: EnumSessionStatusFieldUpdateOperationsInput | $Enums.SessionStatus + meetingUrl?: StringFieldUpdateOperationsInput | string + recordingUrl?: NullableStringFieldUpdateOperationsInput | string | null + settings?: NullableJsonNullValueInput | InputJsonValue + participants?: VideoParticipantUncheckedUpdateManyWithoutSessionNestedInput + recordings?: VideoRecordingUncheckedUpdateManyWithoutSessionNestedInput + } + + export type VideoConferenceSessionUncheckedUpdateManyWithoutHostInput = { + id?: StringFieldUpdateOperationsInput | string + chatRoomId?: StringFieldUpdateOperationsInput | string + title?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + startTime?: DateTimeFieldUpdateOperationsInput | Date | string + endTime?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + status?: EnumSessionStatusFieldUpdateOperationsInput | $Enums.SessionStatus + meetingUrl?: StringFieldUpdateOperationsInput | string + recordingUrl?: NullableStringFieldUpdateOperationsInput | string | null + settings?: NullableJsonNullValueInput | InputJsonValue + } + + export type VideoParticipantUpdateWithoutUserInput = { + id?: StringFieldUpdateOperationsInput | string + joinedAt?: DateTimeFieldUpdateOperationsInput | Date | string + leftAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + role?: EnumVideoParticipantRoleFieldUpdateOperationsInput | $Enums.VideoParticipantRole + deviceInfo?: NullableJsonNullValueInput | InputJsonValue + connectionQuality?: NullableStringFieldUpdateOperationsInput | string | null + hasVideo?: BoolFieldUpdateOperationsInput | boolean + hasAudio?: BoolFieldUpdateOperationsInput | boolean + session?: VideoConferenceSessionUpdateOneRequiredWithoutParticipantsNestedInput + } + + export type VideoParticipantUncheckedUpdateWithoutUserInput = { + id?: StringFieldUpdateOperationsInput | string + sessionId?: StringFieldUpdateOperationsInput | string + joinedAt?: DateTimeFieldUpdateOperationsInput | Date | string + leftAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + role?: EnumVideoParticipantRoleFieldUpdateOperationsInput | $Enums.VideoParticipantRole + deviceInfo?: NullableJsonNullValueInput | InputJsonValue + connectionQuality?: NullableStringFieldUpdateOperationsInput | string | null + hasVideo?: BoolFieldUpdateOperationsInput | boolean + hasAudio?: BoolFieldUpdateOperationsInput | boolean + } + + export type VideoParticipantUncheckedUpdateManyWithoutUserInput = { + id?: StringFieldUpdateOperationsInput | string + sessionId?: StringFieldUpdateOperationsInput | string + joinedAt?: DateTimeFieldUpdateOperationsInput | Date | string + leftAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + role?: EnumVideoParticipantRoleFieldUpdateOperationsInput | $Enums.VideoParticipantRole + deviceInfo?: NullableJsonNullValueInput | InputJsonValue + connectionQuality?: NullableStringFieldUpdateOperationsInput | string | null + hasVideo?: BoolFieldUpdateOperationsInput | boolean + hasAudio?: BoolFieldUpdateOperationsInput | boolean + } + + export type VideoRecordingUpdateWithoutRecorderInput = { + id?: StringFieldUpdateOperationsInput | string + fileName?: StringFieldUpdateOperationsInput | string + fileSize?: IntFieldUpdateOperationsInput | number + duration?: IntFieldUpdateOperationsInput | number + startTime?: DateTimeFieldUpdateOperationsInput | Date | string + endTime?: DateTimeFieldUpdateOperationsInput | Date | string + storageProvider?: StringFieldUpdateOperationsInput | string + storageKey?: StringFieldUpdateOperationsInput | string + processingStatus?: EnumProcessingStatusFieldUpdateOperationsInput | $Enums.ProcessingStatus + visibility?: EnumRecordingVisibilityFieldUpdateOperationsInput | $Enums.RecordingVisibility + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + session?: VideoConferenceSessionUpdateOneRequiredWithoutRecordingsNestedInput + } + + export type VideoRecordingUncheckedUpdateWithoutRecorderInput = { + id?: StringFieldUpdateOperationsInput | string + sessionId?: StringFieldUpdateOperationsInput | string + fileName?: StringFieldUpdateOperationsInput | string + fileSize?: IntFieldUpdateOperationsInput | number + duration?: IntFieldUpdateOperationsInput | number + startTime?: DateTimeFieldUpdateOperationsInput | Date | string + endTime?: DateTimeFieldUpdateOperationsInput | Date | string + storageProvider?: StringFieldUpdateOperationsInput | string + storageKey?: StringFieldUpdateOperationsInput | string + processingStatus?: EnumProcessingStatusFieldUpdateOperationsInput | $Enums.ProcessingStatus + visibility?: EnumRecordingVisibilityFieldUpdateOperationsInput | $Enums.RecordingVisibility + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + } + + export type VideoRecordingUncheckedUpdateManyWithoutRecorderInput = { + id?: StringFieldUpdateOperationsInput | string + sessionId?: StringFieldUpdateOperationsInput | string + fileName?: StringFieldUpdateOperationsInput | string + fileSize?: IntFieldUpdateOperationsInput | number + duration?: IntFieldUpdateOperationsInput | number + startTime?: DateTimeFieldUpdateOperationsInput | Date | string + endTime?: DateTimeFieldUpdateOperationsInput | Date | string + storageProvider?: StringFieldUpdateOperationsInput | string + storageKey?: StringFieldUpdateOperationsInput | string + processingStatus?: EnumProcessingStatusFieldUpdateOperationsInput | $Enums.ProcessingStatus + visibility?: EnumRecordingVisibilityFieldUpdateOperationsInput | $Enums.RecordingVisibility + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + } + export type DepartmentCreateManyOrganizationInput = { id?: string name: string @@ -52534,6 +72735,13 @@ export namespace Prisma { permissions?: PermissionUpdateManyWithoutUserNestedInput activityLogs?: ActivityLogUpdateManyWithoutUserNestedInput ReportNotification?: ReportNotificationUpdateManyWithoutUserNestedInput + chatParticipations?: ChatParticipantUpdateManyWithoutUserNestedInput + sentMessages?: ChatMessageUpdateManyWithoutSenderNestedInput + messageReactions?: MessageReactionUpdateManyWithoutUserNestedInput + pinnedMessages?: PinnedMessageUpdateManyWithoutUserNestedInput + hostedSessions?: VideoConferenceSessionUpdateManyWithoutHostNestedInput + videoParticipations?: VideoParticipantUpdateManyWithoutUserNestedInput + videoRecordings?: VideoRecordingUpdateManyWithoutRecorderNestedInput } export type UserUncheckedUpdateWithoutOrganizationInput = { @@ -52584,6 +72792,13 @@ export namespace Prisma { permissions?: PermissionUncheckedUpdateManyWithoutUserNestedInput activityLogs?: ActivityLogUncheckedUpdateManyWithoutUserNestedInput ReportNotification?: ReportNotificationUncheckedUpdateManyWithoutUserNestedInput + chatParticipations?: ChatParticipantUncheckedUpdateManyWithoutUserNestedInput + sentMessages?: ChatMessageUncheckedUpdateManyWithoutSenderNestedInput + messageReactions?: MessageReactionUncheckedUpdateManyWithoutUserNestedInput + pinnedMessages?: PinnedMessageUncheckedUpdateManyWithoutUserNestedInput + hostedSessions?: VideoConferenceSessionUncheckedUpdateManyWithoutHostNestedInput + videoParticipations?: VideoParticipantUncheckedUpdateManyWithoutUserNestedInput + videoRecordings?: VideoRecordingUncheckedUpdateManyWithoutRecorderNestedInput } export type UserUncheckedUpdateManyWithoutOrganizationInput = { @@ -52967,6 +73182,13 @@ export namespace Prisma { permissions?: PermissionUpdateManyWithoutUserNestedInput activityLogs?: ActivityLogUpdateManyWithoutUserNestedInput ReportNotification?: ReportNotificationUpdateManyWithoutUserNestedInput + chatParticipations?: ChatParticipantUpdateManyWithoutUserNestedInput + sentMessages?: ChatMessageUpdateManyWithoutSenderNestedInput + messageReactions?: MessageReactionUpdateManyWithoutUserNestedInput + pinnedMessages?: PinnedMessageUpdateManyWithoutUserNestedInput + hostedSessions?: VideoConferenceSessionUpdateManyWithoutHostNestedInput + videoParticipations?: VideoParticipantUpdateManyWithoutUserNestedInput + videoRecordings?: VideoRecordingUpdateManyWithoutRecorderNestedInput } export type UserUncheckedUpdateWithoutDepartmentInput = { @@ -53017,6 +73239,13 @@ export namespace Prisma { permissions?: PermissionUncheckedUpdateManyWithoutUserNestedInput activityLogs?: ActivityLogUncheckedUpdateManyWithoutUserNestedInput ReportNotification?: ReportNotificationUncheckedUpdateManyWithoutUserNestedInput + chatParticipations?: ChatParticipantUncheckedUpdateManyWithoutUserNestedInput + sentMessages?: ChatMessageUncheckedUpdateManyWithoutSenderNestedInput + messageReactions?: MessageReactionUncheckedUpdateManyWithoutUserNestedInput + pinnedMessages?: PinnedMessageUncheckedUpdateManyWithoutUserNestedInput + hostedSessions?: VideoConferenceSessionUncheckedUpdateManyWithoutHostNestedInput + videoParticipations?: VideoParticipantUncheckedUpdateManyWithoutUserNestedInput + videoRecordings?: VideoRecordingUncheckedUpdateManyWithoutRecorderNestedInput } export type UserUncheckedUpdateManyWithoutDepartmentInput = { @@ -54387,6 +74616,522 @@ export namespace Prisma { storageKey?: StringFieldUpdateOperationsInput | string } + export type ChatMessageCreateManyChatRoomInput = { + id?: string + senderId: string + content: string + contentType?: $Enums.MessageContentType + createdAt?: Date | string + updatedAt?: Date | string + isEdited?: boolean + isDeleted?: boolean + deletedAt?: Date | string | null + replyToId?: string | null + metadata?: NullableJsonNullValueInput | InputJsonValue + } + + export type ChatParticipantCreateManyChatRoomInput = { + id?: string + userId: string + joinedAt?: Date | string + lastReadMessageId?: string | null + lastReadAt?: Date | string | null + isAdmin?: boolean + notificationsOn?: boolean + status?: $Enums.ParticipantStatus + } + + export type PinnedMessageCreateManyChatRoomInput = { + id?: string + messageId: string + pinnedBy: string + pinnedAt?: Date | string + } + + export type VideoConferenceSessionCreateManyChatRoomInput = { + id?: string + title: string + description?: string | null + startTime?: Date | string + endTime?: Date | string | null + status?: $Enums.SessionStatus + hostId: string + meetingUrl: string + recordingUrl?: string | null + settings?: NullableJsonNullValueInput | InputJsonValue + } + + export type ChatMessageUpdateWithoutChatRoomInput = { + id?: StringFieldUpdateOperationsInput | string + content?: StringFieldUpdateOperationsInput | string + contentType?: EnumMessageContentTypeFieldUpdateOperationsInput | $Enums.MessageContentType + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + isEdited?: BoolFieldUpdateOperationsInput | boolean + isDeleted?: BoolFieldUpdateOperationsInput | boolean + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + metadata?: NullableJsonNullValueInput | InputJsonValue + sender?: UserUpdateOneRequiredWithoutSentMessagesNestedInput + replyTo?: ChatMessageUpdateOneWithoutRepliesNestedInput + replies?: ChatMessageUpdateManyWithoutReplyToNestedInput + attachments?: MessageAttachmentUpdateManyWithoutMessageNestedInput + reactions?: MessageReactionUpdateManyWithoutMessageNestedInput + readBy?: ChatParticipantUpdateManyWithoutLastReadMessageNestedInput + pinnedIn?: PinnedMessageUpdateManyWithoutMessageNestedInput + } + + export type ChatMessageUncheckedUpdateWithoutChatRoomInput = { + id?: StringFieldUpdateOperationsInput | string + senderId?: StringFieldUpdateOperationsInput | string + content?: StringFieldUpdateOperationsInput | string + contentType?: EnumMessageContentTypeFieldUpdateOperationsInput | $Enums.MessageContentType + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + isEdited?: BoolFieldUpdateOperationsInput | boolean + isDeleted?: BoolFieldUpdateOperationsInput | boolean + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + replyToId?: NullableStringFieldUpdateOperationsInput | string | null + metadata?: NullableJsonNullValueInput | InputJsonValue + replies?: ChatMessageUncheckedUpdateManyWithoutReplyToNestedInput + attachments?: MessageAttachmentUncheckedUpdateManyWithoutMessageNestedInput + reactions?: MessageReactionUncheckedUpdateManyWithoutMessageNestedInput + readBy?: ChatParticipantUncheckedUpdateManyWithoutLastReadMessageNestedInput + pinnedIn?: PinnedMessageUncheckedUpdateManyWithoutMessageNestedInput + } + + export type ChatMessageUncheckedUpdateManyWithoutChatRoomInput = { + id?: StringFieldUpdateOperationsInput | string + senderId?: StringFieldUpdateOperationsInput | string + content?: StringFieldUpdateOperationsInput | string + contentType?: EnumMessageContentTypeFieldUpdateOperationsInput | $Enums.MessageContentType + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + isEdited?: BoolFieldUpdateOperationsInput | boolean + isDeleted?: BoolFieldUpdateOperationsInput | boolean + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + replyToId?: NullableStringFieldUpdateOperationsInput | string | null + metadata?: NullableJsonNullValueInput | InputJsonValue + } + + export type ChatParticipantUpdateWithoutChatRoomInput = { + id?: StringFieldUpdateOperationsInput | string + joinedAt?: DateTimeFieldUpdateOperationsInput | Date | string + lastReadAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + isAdmin?: BoolFieldUpdateOperationsInput | boolean + notificationsOn?: BoolFieldUpdateOperationsInput | boolean + status?: EnumParticipantStatusFieldUpdateOperationsInput | $Enums.ParticipantStatus + user?: UserUpdateOneRequiredWithoutChatParticipationsNestedInput + lastReadMessage?: ChatMessageUpdateOneWithoutReadByNestedInput + } + + export type ChatParticipantUncheckedUpdateWithoutChatRoomInput = { + id?: StringFieldUpdateOperationsInput | string + userId?: StringFieldUpdateOperationsInput | string + joinedAt?: DateTimeFieldUpdateOperationsInput | Date | string + lastReadMessageId?: NullableStringFieldUpdateOperationsInput | string | null + lastReadAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + isAdmin?: BoolFieldUpdateOperationsInput | boolean + notificationsOn?: BoolFieldUpdateOperationsInput | boolean + status?: EnumParticipantStatusFieldUpdateOperationsInput | $Enums.ParticipantStatus + } + + export type ChatParticipantUncheckedUpdateManyWithoutChatRoomInput = { + id?: StringFieldUpdateOperationsInput | string + userId?: StringFieldUpdateOperationsInput | string + joinedAt?: DateTimeFieldUpdateOperationsInput | Date | string + lastReadMessageId?: NullableStringFieldUpdateOperationsInput | string | null + lastReadAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + isAdmin?: BoolFieldUpdateOperationsInput | boolean + notificationsOn?: BoolFieldUpdateOperationsInput | boolean + status?: EnumParticipantStatusFieldUpdateOperationsInput | $Enums.ParticipantStatus + } + + export type PinnedMessageUpdateWithoutChatRoomInput = { + id?: StringFieldUpdateOperationsInput | string + pinnedAt?: DateTimeFieldUpdateOperationsInput | Date | string + message?: ChatMessageUpdateOneRequiredWithoutPinnedInNestedInput + user?: UserUpdateOneRequiredWithoutPinnedMessagesNestedInput + } + + export type PinnedMessageUncheckedUpdateWithoutChatRoomInput = { + id?: StringFieldUpdateOperationsInput | string + messageId?: StringFieldUpdateOperationsInput | string + pinnedBy?: StringFieldUpdateOperationsInput | string + pinnedAt?: DateTimeFieldUpdateOperationsInput | Date | string + } + + export type PinnedMessageUncheckedUpdateManyWithoutChatRoomInput = { + id?: StringFieldUpdateOperationsInput | string + messageId?: StringFieldUpdateOperationsInput | string + pinnedBy?: StringFieldUpdateOperationsInput | string + pinnedAt?: DateTimeFieldUpdateOperationsInput | Date | string + } + + export type VideoConferenceSessionUpdateWithoutChatRoomInput = { + id?: StringFieldUpdateOperationsInput | string + title?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + startTime?: DateTimeFieldUpdateOperationsInput | Date | string + endTime?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + status?: EnumSessionStatusFieldUpdateOperationsInput | $Enums.SessionStatus + meetingUrl?: StringFieldUpdateOperationsInput | string + recordingUrl?: NullableStringFieldUpdateOperationsInput | string | null + settings?: NullableJsonNullValueInput | InputJsonValue + host?: UserUpdateOneRequiredWithoutHostedSessionsNestedInput + participants?: VideoParticipantUpdateManyWithoutSessionNestedInput + recordings?: VideoRecordingUpdateManyWithoutSessionNestedInput + } + + export type VideoConferenceSessionUncheckedUpdateWithoutChatRoomInput = { + id?: StringFieldUpdateOperationsInput | string + title?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + startTime?: DateTimeFieldUpdateOperationsInput | Date | string + endTime?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + status?: EnumSessionStatusFieldUpdateOperationsInput | $Enums.SessionStatus + hostId?: StringFieldUpdateOperationsInput | string + meetingUrl?: StringFieldUpdateOperationsInput | string + recordingUrl?: NullableStringFieldUpdateOperationsInput | string | null + settings?: NullableJsonNullValueInput | InputJsonValue + participants?: VideoParticipantUncheckedUpdateManyWithoutSessionNestedInput + recordings?: VideoRecordingUncheckedUpdateManyWithoutSessionNestedInput + } + + export type VideoConferenceSessionUncheckedUpdateManyWithoutChatRoomInput = { + id?: StringFieldUpdateOperationsInput | string + title?: StringFieldUpdateOperationsInput | string + description?: NullableStringFieldUpdateOperationsInput | string | null + startTime?: DateTimeFieldUpdateOperationsInput | Date | string + endTime?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + status?: EnumSessionStatusFieldUpdateOperationsInput | $Enums.SessionStatus + hostId?: StringFieldUpdateOperationsInput | string + meetingUrl?: StringFieldUpdateOperationsInput | string + recordingUrl?: NullableStringFieldUpdateOperationsInput | string | null + settings?: NullableJsonNullValueInput | InputJsonValue + } + + export type ChatMessageCreateManyReplyToInput = { + id?: string + chatRoomId: string + senderId: string + content: string + contentType?: $Enums.MessageContentType + createdAt?: Date | string + updatedAt?: Date | string + isEdited?: boolean + isDeleted?: boolean + deletedAt?: Date | string | null + metadata?: NullableJsonNullValueInput | InputJsonValue + } + + export type MessageAttachmentCreateManyMessageInput = { + id?: string + fileName: string + fileType: string + filePath: string + fileSize: number + thumbnailPath?: string | null + storageProvider?: string | null + storageKey: string + createdAt?: Date | string + } + + export type MessageReactionCreateManyMessageInput = { + id?: string + userId: string + reaction: string + createdAt?: Date | string + } + + export type ChatParticipantCreateManyLastReadMessageInput = { + id?: string + chatRoomId: string + userId: string + joinedAt?: Date | string + lastReadAt?: Date | string | null + isAdmin?: boolean + notificationsOn?: boolean + status?: $Enums.ParticipantStatus + } + + export type PinnedMessageCreateManyMessageInput = { + id?: string + chatRoomId: string + pinnedBy: string + pinnedAt?: Date | string + } + + export type ChatMessageUpdateWithoutReplyToInput = { + id?: StringFieldUpdateOperationsInput | string + content?: StringFieldUpdateOperationsInput | string + contentType?: EnumMessageContentTypeFieldUpdateOperationsInput | $Enums.MessageContentType + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + isEdited?: BoolFieldUpdateOperationsInput | boolean + isDeleted?: BoolFieldUpdateOperationsInput | boolean + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + metadata?: NullableJsonNullValueInput | InputJsonValue + chatRoom?: ChatRoomUpdateOneRequiredWithoutMessagesNestedInput + sender?: UserUpdateOneRequiredWithoutSentMessagesNestedInput + replies?: ChatMessageUpdateManyWithoutReplyToNestedInput + attachments?: MessageAttachmentUpdateManyWithoutMessageNestedInput + reactions?: MessageReactionUpdateManyWithoutMessageNestedInput + readBy?: ChatParticipantUpdateManyWithoutLastReadMessageNestedInput + pinnedIn?: PinnedMessageUpdateManyWithoutMessageNestedInput + } + + export type ChatMessageUncheckedUpdateWithoutReplyToInput = { + id?: StringFieldUpdateOperationsInput | string + chatRoomId?: StringFieldUpdateOperationsInput | string + senderId?: StringFieldUpdateOperationsInput | string + content?: StringFieldUpdateOperationsInput | string + contentType?: EnumMessageContentTypeFieldUpdateOperationsInput | $Enums.MessageContentType + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + isEdited?: BoolFieldUpdateOperationsInput | boolean + isDeleted?: BoolFieldUpdateOperationsInput | boolean + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + metadata?: NullableJsonNullValueInput | InputJsonValue + replies?: ChatMessageUncheckedUpdateManyWithoutReplyToNestedInput + attachments?: MessageAttachmentUncheckedUpdateManyWithoutMessageNestedInput + reactions?: MessageReactionUncheckedUpdateManyWithoutMessageNestedInput + readBy?: ChatParticipantUncheckedUpdateManyWithoutLastReadMessageNestedInput + pinnedIn?: PinnedMessageUncheckedUpdateManyWithoutMessageNestedInput + } + + export type ChatMessageUncheckedUpdateManyWithoutReplyToInput = { + id?: StringFieldUpdateOperationsInput | string + chatRoomId?: StringFieldUpdateOperationsInput | string + senderId?: StringFieldUpdateOperationsInput | string + content?: StringFieldUpdateOperationsInput | string + contentType?: EnumMessageContentTypeFieldUpdateOperationsInput | $Enums.MessageContentType + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string + isEdited?: BoolFieldUpdateOperationsInput | boolean + isDeleted?: BoolFieldUpdateOperationsInput | boolean + deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + metadata?: NullableJsonNullValueInput | InputJsonValue + } + + export type MessageAttachmentUpdateWithoutMessageInput = { + id?: StringFieldUpdateOperationsInput | string + fileName?: StringFieldUpdateOperationsInput | string + fileType?: StringFieldUpdateOperationsInput | string + filePath?: StringFieldUpdateOperationsInput | string + fileSize?: IntFieldUpdateOperationsInput | number + thumbnailPath?: NullableStringFieldUpdateOperationsInput | string | null + storageProvider?: NullableStringFieldUpdateOperationsInput | string | null + storageKey?: StringFieldUpdateOperationsInput | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + } + + export type MessageAttachmentUncheckedUpdateWithoutMessageInput = { + id?: StringFieldUpdateOperationsInput | string + fileName?: StringFieldUpdateOperationsInput | string + fileType?: StringFieldUpdateOperationsInput | string + filePath?: StringFieldUpdateOperationsInput | string + fileSize?: IntFieldUpdateOperationsInput | number + thumbnailPath?: NullableStringFieldUpdateOperationsInput | string | null + storageProvider?: NullableStringFieldUpdateOperationsInput | string | null + storageKey?: StringFieldUpdateOperationsInput | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + } + + export type MessageAttachmentUncheckedUpdateManyWithoutMessageInput = { + id?: StringFieldUpdateOperationsInput | string + fileName?: StringFieldUpdateOperationsInput | string + fileType?: StringFieldUpdateOperationsInput | string + filePath?: StringFieldUpdateOperationsInput | string + fileSize?: IntFieldUpdateOperationsInput | number + thumbnailPath?: NullableStringFieldUpdateOperationsInput | string | null + storageProvider?: NullableStringFieldUpdateOperationsInput | string | null + storageKey?: StringFieldUpdateOperationsInput | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + } + + export type MessageReactionUpdateWithoutMessageInput = { + id?: StringFieldUpdateOperationsInput | string + reaction?: StringFieldUpdateOperationsInput | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + user?: UserUpdateOneRequiredWithoutMessageReactionsNestedInput + } + + export type MessageReactionUncheckedUpdateWithoutMessageInput = { + id?: StringFieldUpdateOperationsInput | string + userId?: StringFieldUpdateOperationsInput | string + reaction?: StringFieldUpdateOperationsInput | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + } + + export type MessageReactionUncheckedUpdateManyWithoutMessageInput = { + id?: StringFieldUpdateOperationsInput | string + userId?: StringFieldUpdateOperationsInput | string + reaction?: StringFieldUpdateOperationsInput | string + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + } + + export type ChatParticipantUpdateWithoutLastReadMessageInput = { + id?: StringFieldUpdateOperationsInput | string + joinedAt?: DateTimeFieldUpdateOperationsInput | Date | string + lastReadAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + isAdmin?: BoolFieldUpdateOperationsInput | boolean + notificationsOn?: BoolFieldUpdateOperationsInput | boolean + status?: EnumParticipantStatusFieldUpdateOperationsInput | $Enums.ParticipantStatus + chatRoom?: ChatRoomUpdateOneRequiredWithoutParticipantsNestedInput + user?: UserUpdateOneRequiredWithoutChatParticipationsNestedInput + } + + export type ChatParticipantUncheckedUpdateWithoutLastReadMessageInput = { + id?: StringFieldUpdateOperationsInput | string + chatRoomId?: StringFieldUpdateOperationsInput | string + userId?: StringFieldUpdateOperationsInput | string + joinedAt?: DateTimeFieldUpdateOperationsInput | Date | string + lastReadAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + isAdmin?: BoolFieldUpdateOperationsInput | boolean + notificationsOn?: BoolFieldUpdateOperationsInput | boolean + status?: EnumParticipantStatusFieldUpdateOperationsInput | $Enums.ParticipantStatus + } + + export type ChatParticipantUncheckedUpdateManyWithoutLastReadMessageInput = { + id?: StringFieldUpdateOperationsInput | string + chatRoomId?: StringFieldUpdateOperationsInput | string + userId?: StringFieldUpdateOperationsInput | string + joinedAt?: DateTimeFieldUpdateOperationsInput | Date | string + lastReadAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + isAdmin?: BoolFieldUpdateOperationsInput | boolean + notificationsOn?: BoolFieldUpdateOperationsInput | boolean + status?: EnumParticipantStatusFieldUpdateOperationsInput | $Enums.ParticipantStatus + } + + export type PinnedMessageUpdateWithoutMessageInput = { + id?: StringFieldUpdateOperationsInput | string + pinnedAt?: DateTimeFieldUpdateOperationsInput | Date | string + chatRoom?: ChatRoomUpdateOneRequiredWithoutPinnedMessagesNestedInput + user?: UserUpdateOneRequiredWithoutPinnedMessagesNestedInput + } + + export type PinnedMessageUncheckedUpdateWithoutMessageInput = { + id?: StringFieldUpdateOperationsInput | string + chatRoomId?: StringFieldUpdateOperationsInput | string + pinnedBy?: StringFieldUpdateOperationsInput | string + pinnedAt?: DateTimeFieldUpdateOperationsInput | Date | string + } + + export type PinnedMessageUncheckedUpdateManyWithoutMessageInput = { + id?: StringFieldUpdateOperationsInput | string + chatRoomId?: StringFieldUpdateOperationsInput | string + pinnedBy?: StringFieldUpdateOperationsInput | string + pinnedAt?: DateTimeFieldUpdateOperationsInput | Date | string + } + + export type VideoParticipantCreateManySessionInput = { + id?: string + userId: string + joinedAt?: Date | string + leftAt?: Date | string | null + role?: $Enums.VideoParticipantRole + deviceInfo?: NullableJsonNullValueInput | InputJsonValue + connectionQuality?: string | null + hasVideo?: boolean + hasAudio?: boolean + } + + export type VideoRecordingCreateManySessionInput = { + id?: string + fileName: string + fileSize: number + duration: number + recordedBy: string + startTime: Date | string + endTime: Date | string + storageProvider: string + storageKey: string + processingStatus?: $Enums.ProcessingStatus + visibility?: $Enums.RecordingVisibility + createdAt?: Date | string + } + + export type VideoParticipantUpdateWithoutSessionInput = { + id?: StringFieldUpdateOperationsInput | string + joinedAt?: DateTimeFieldUpdateOperationsInput | Date | string + leftAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + role?: EnumVideoParticipantRoleFieldUpdateOperationsInput | $Enums.VideoParticipantRole + deviceInfo?: NullableJsonNullValueInput | InputJsonValue + connectionQuality?: NullableStringFieldUpdateOperationsInput | string | null + hasVideo?: BoolFieldUpdateOperationsInput | boolean + hasAudio?: BoolFieldUpdateOperationsInput | boolean + user?: UserUpdateOneRequiredWithoutVideoParticipationsNestedInput + } + + export type VideoParticipantUncheckedUpdateWithoutSessionInput = { + id?: StringFieldUpdateOperationsInput | string + userId?: StringFieldUpdateOperationsInput | string + joinedAt?: DateTimeFieldUpdateOperationsInput | Date | string + leftAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + role?: EnumVideoParticipantRoleFieldUpdateOperationsInput | $Enums.VideoParticipantRole + deviceInfo?: NullableJsonNullValueInput | InputJsonValue + connectionQuality?: NullableStringFieldUpdateOperationsInput | string | null + hasVideo?: BoolFieldUpdateOperationsInput | boolean + hasAudio?: BoolFieldUpdateOperationsInput | boolean + } + + export type VideoParticipantUncheckedUpdateManyWithoutSessionInput = { + id?: StringFieldUpdateOperationsInput | string + userId?: StringFieldUpdateOperationsInput | string + joinedAt?: DateTimeFieldUpdateOperationsInput | Date | string + leftAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + role?: EnumVideoParticipantRoleFieldUpdateOperationsInput | $Enums.VideoParticipantRole + deviceInfo?: NullableJsonNullValueInput | InputJsonValue + connectionQuality?: NullableStringFieldUpdateOperationsInput | string | null + hasVideo?: BoolFieldUpdateOperationsInput | boolean + hasAudio?: BoolFieldUpdateOperationsInput | boolean + } + + export type VideoRecordingUpdateWithoutSessionInput = { + id?: StringFieldUpdateOperationsInput | string + fileName?: StringFieldUpdateOperationsInput | string + fileSize?: IntFieldUpdateOperationsInput | number + duration?: IntFieldUpdateOperationsInput | number + startTime?: DateTimeFieldUpdateOperationsInput | Date | string + endTime?: DateTimeFieldUpdateOperationsInput | Date | string + storageProvider?: StringFieldUpdateOperationsInput | string + storageKey?: StringFieldUpdateOperationsInput | string + processingStatus?: EnumProcessingStatusFieldUpdateOperationsInput | $Enums.ProcessingStatus + visibility?: EnumRecordingVisibilityFieldUpdateOperationsInput | $Enums.RecordingVisibility + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + recorder?: UserUpdateOneRequiredWithoutVideoRecordingsNestedInput + } + + export type VideoRecordingUncheckedUpdateWithoutSessionInput = { + id?: StringFieldUpdateOperationsInput | string + fileName?: StringFieldUpdateOperationsInput | string + fileSize?: IntFieldUpdateOperationsInput | number + duration?: IntFieldUpdateOperationsInput | number + recordedBy?: StringFieldUpdateOperationsInput | string + startTime?: DateTimeFieldUpdateOperationsInput | Date | string + endTime?: DateTimeFieldUpdateOperationsInput | Date | string + storageProvider?: StringFieldUpdateOperationsInput | string + storageKey?: StringFieldUpdateOperationsInput | string + processingStatus?: EnumProcessingStatusFieldUpdateOperationsInput | $Enums.ProcessingStatus + visibility?: EnumRecordingVisibilityFieldUpdateOperationsInput | $Enums.RecordingVisibility + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + } + + export type VideoRecordingUncheckedUpdateManyWithoutSessionInput = { + id?: StringFieldUpdateOperationsInput | string + fileName?: StringFieldUpdateOperationsInput | string + fileSize?: IntFieldUpdateOperationsInput | number + duration?: IntFieldUpdateOperationsInput | number + recordedBy?: StringFieldUpdateOperationsInput | string + startTime?: DateTimeFieldUpdateOperationsInput | Date | string + endTime?: DateTimeFieldUpdateOperationsInput | Date | string + storageProvider?: StringFieldUpdateOperationsInput | string + storageKey?: StringFieldUpdateOperationsInput | string + processingStatus?: EnumProcessingStatusFieldUpdateOperationsInput | $Enums.ProcessingStatus + visibility?: EnumRecordingVisibilityFieldUpdateOperationsInput | $Enums.RecordingVisibility + createdAt?: DateTimeFieldUpdateOperationsInput | Date | string + } + /** diff --git a/prisma/generated/prisma-client-js/index.js b/prisma/generated/prisma-client-js/index.js index d872240..7154671 100644 --- a/prisma/generated/prisma-client-js/index.js +++ b/prisma/generated/prisma-client-js/index.js @@ -382,6 +382,121 @@ exports.Prisma.PermissionScalarFieldEnum = { updatedAt: 'updatedAt' }; +exports.Prisma.ChatRoomScalarFieldEnum = { + id: 'id', + name: 'name', + description: 'description', + type: 'type', + entityType: 'entityType', + entityId: 'entityId', + createdAt: 'createdAt', + updatedAt: 'updatedAt', + isActive: 'isActive', + isArchived: 'isArchived', + archivedAt: 'archivedAt', + avatarUrl: 'avatarUrl', + lastMessageAt: 'lastMessageAt' +}; + +exports.Prisma.ChatParticipantScalarFieldEnum = { + id: 'id', + chatRoomId: 'chatRoomId', + userId: 'userId', + joinedAt: 'joinedAt', + lastReadMessageId: 'lastReadMessageId', + lastReadAt: 'lastReadAt', + isAdmin: 'isAdmin', + notificationsOn: 'notificationsOn', + status: 'status' +}; + +exports.Prisma.ChatMessageScalarFieldEnum = { + id: 'id', + chatRoomId: 'chatRoomId', + senderId: 'senderId', + content: 'content', + contentType: 'contentType', + createdAt: 'createdAt', + updatedAt: 'updatedAt', + isEdited: 'isEdited', + isDeleted: 'isDeleted', + deletedAt: 'deletedAt', + replyToId: 'replyToId', + metadata: 'metadata' +}; + +exports.Prisma.MessageAttachmentScalarFieldEnum = { + id: 'id', + messageId: 'messageId', + fileName: 'fileName', + fileType: 'fileType', + filePath: 'filePath', + fileSize: 'fileSize', + thumbnailPath: 'thumbnailPath', + storageProvider: 'storageProvider', + storageKey: 'storageKey', + createdAt: 'createdAt' +}; + +exports.Prisma.MessageReactionScalarFieldEnum = { + id: 'id', + messageId: 'messageId', + userId: 'userId', + reaction: 'reaction', + createdAt: 'createdAt' +}; + +exports.Prisma.PinnedMessageScalarFieldEnum = { + id: 'id', + chatRoomId: 'chatRoomId', + messageId: 'messageId', + pinnedBy: 'pinnedBy', + pinnedAt: 'pinnedAt' +}; + +exports.Prisma.VideoConferenceSessionScalarFieldEnum = { + id: 'id', + chatRoomId: 'chatRoomId', + title: 'title', + description: 'description', + startTime: 'startTime', + endTime: 'endTime', + status: 'status', + hostId: 'hostId', + meetingUrl: 'meetingUrl', + recordingUrl: 'recordingUrl', + settings: 'settings' +}; + +exports.Prisma.VideoParticipantScalarFieldEnum = { + id: 'id', + sessionId: 'sessionId', + userId: 'userId', + joinedAt: 'joinedAt', + leftAt: 'leftAt', + role: 'role', + deviceInfo: 'deviceInfo', + connectionQuality: 'connectionQuality', + hasVideo: 'hasVideo', + hasAudio: 'hasAudio' +}; + +exports.Prisma.VideoRecordingScalarFieldEnum = { + id: 'id', + sessionId: 'sessionId', + fileName: 'fileName', + fileSize: 'fileSize', + duration: 'duration', + recordedBy: 'recordedBy', + startTime: 'startTime', + endTime: 'endTime', + storageProvider: 'storageProvider', + storageKey: 'storageKey', + processingStatus: 'processingStatus', + visibility: 'visibility', + createdAt: 'createdAt' +}; + exports.Prisma.SortOrder = { asc: 'asc', desc: 'desc' @@ -513,6 +628,61 @@ exports.UserRole = exports.$Enums.UserRole = { GUEST: 'GUEST' }; +exports.ChatRoomType = exports.$Enums.ChatRoomType = { + ORGANIZATION: 'ORGANIZATION', + DEPARTMENT: 'DEPARTMENT', + TEAM: 'TEAM', + PROJECT: 'PROJECT', + TASK: 'TASK', + DIRECT: 'DIRECT', + GROUP: 'GROUP' +}; + +exports.ParticipantStatus = exports.$Enums.ParticipantStatus = { + ACTIVE: 'ACTIVE', + MUTED: 'MUTED', + BLOCKED: 'BLOCKED', + LEFT: 'LEFT' +}; + +exports.MessageContentType = exports.$Enums.MessageContentType = { + TEXT: 'TEXT', + IMAGE: 'IMAGE', + FILE: 'FILE', + AUDIO: 'AUDIO', + VIDEO: 'VIDEO', + CODE: 'CODE', + LINK: 'LINK', + SYSTEM: 'SYSTEM' +}; + +exports.SessionStatus = exports.$Enums.SessionStatus = { + SCHEDULED: 'SCHEDULED', + ACTIVE: 'ACTIVE', + ENDED: 'ENDED', + CANCELLED: 'CANCELLED' +}; + +exports.VideoParticipantRole = exports.$Enums.VideoParticipantRole = { + HOST: 'HOST', + COHOST: 'COHOST', + PRESENTER: 'PRESENTER', + ATTENDEE: 'ATTENDEE' +}; + +exports.ProcessingStatus = exports.$Enums.ProcessingStatus = { + PROCESSING: 'PROCESSING', + READY: 'READY', + FAILED: 'FAILED' +}; + +exports.RecordingVisibility = exports.$Enums.RecordingVisibility = { + PRIVATE: 'PRIVATE', + PARTICIPANTS_ONLY: 'PARTICIPANTS_ONLY', + ORGANIZATION: 'ORGANIZATION', + PUBLIC: 'PUBLIC' +}; + exports.Prisma.ModelName = { User: 'User', Organization: 'Organization', @@ -534,7 +704,16 @@ exports.Prisma.ModelName = { Report: 'Report', ReportSchedule: 'ReportSchedule', ReportNotification: 'ReportNotification', - Permission: 'Permission' + Permission: 'Permission', + ChatRoom: 'ChatRoom', + ChatParticipant: 'ChatParticipant', + ChatMessage: 'ChatMessage', + MessageAttachment: 'MessageAttachment', + MessageReaction: 'MessageReaction', + PinnedMessage: 'PinnedMessage', + VideoConferenceSession: 'VideoConferenceSession', + VideoParticipant: 'VideoParticipant', + VideoRecording: 'VideoRecording' }; /** * Create the Client @@ -586,8 +765,8 @@ const config = { } } }, - "inlineSchema": "// This is your Prisma schema file,\n// learn more about it in the docs: https://pris.ly/d/prisma-schema\n\n// Looking for ways to speed up your queries, or scale easily with your serverless or edge functions?\n// Try Prisma Accelerate: https://pris.ly/cli/accelerate-init\n\ngenerator client {\n provider = \"prisma-client-js\"\n previewFeatures = [\"prismaSchemaFolder\"]\n output = \"./generated/prisma-client-js\"\n}\n\ndatasource db {\n provider = \"postgresql\"\n url = env(\"DATABASE_URL\")\n}\n\nmodel User {\n id String @id @default(uuid()) @db.Uuid\n email String @unique @db.VarChar(255)\n username String @unique @db.VarChar(50)\n password String @db.VarChar(255)\n firebaseUid String? @unique\n firstName String @db.VarChar(100)\n lastName String @db.VarChar(100)\n role UserRole\n profilePic String?\n departmentId String? @db.Uuid\n organizationId String? @db.Uuid\n isOwner Boolean @default(false)\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n isActive Boolean @default(true)\n deletedAt DateTime?\n phoneNumber String? @db.VarChar(255)\n jobTitle String? @db.VarChar(100)\n timezone String? @db.VarChar(50)\n bio String? @db.Text\n preferences Json? // for user-specific settings\n emailVerificationToken String?\n emailVerificationExpires DateTime?\n passwordResetToken String?\n passwordResetExpires DateTime?\n refreshToken String?\n lastLogin DateTime?\n lastLogout DateTime?\n\n // Relations\n department Department? @relation(fields: [departmentId], references: [id])\n organization Organization? @relation(\"OrganizationEmployees\", fields: [organizationId], references: [id])\n createdOrganizations Organization[] @relation(\"OrganizationCreator\")\n ownedOrganizations OrganizationOwner[]\n managedDepartments Department[] @relation(\"DepartmentManager\")\n createdTeams Team[] @relation(\"TeamCreator\")\n teamMemberships TeamMember[]\n projectMemberships ProjectMember[]\n createdProjects Project[] @relation(\"ProjectCreator\")\n modifiedProjects Project[] @relation(\"ProjectModifier\")\n createdTasks Task[] @relation(\"TaskCreator\")\n assignedTasks Task[] @relation(\"TaskAssignee\")\n modifiedTasks Task[] @relation(\"TaskModifier\")\n notifications Notification[]\n timelogs Timelog[]\n comments Comment[]\n taskAttachments TaskAttachment[]\n generatedReports Report[]\n userReports Report[] @relation(\"UserReports\")\n permissions Permission[] // relation to permissions\n activityLogs ActivityLog[] // relation to activity logs as performer\n ReportNotification ReportNotification[]\n\n @@index([departmentId])\n @@index([organizationId])\n @@index([role])\n @@index([isActive])\n @@map(\"users\")\n}\n\nmodel Organization {\n id String @id @default(uuid()) @db.Uuid\n name String @db.VarChar(100)\n description String? @db.Text\n industry String @db.VarChar(50)\n sizeRange String @db.VarChar(50)\n website String? @db.VarChar(255)\n logoUrl String?\n isVerified Boolean @default(false)\n status String @db.VarChar(20)\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n deletedAt DateTime?\n createdBy String @db.Uuid\n address String? @db.Text\n contactEmail String? @db.VarChar(255)\n contactPhone String? @db.VarChar(50)\n emailVerificationOTP String?\n emailVerificationExpires DateTime?\n\n // Relations\n creator User @relation(\"OrganizationCreator\", fields: [createdBy], references: [id])\n departments Department[]\n teams Team[]\n projects Project[]\n users User[] @relation(\"OrganizationEmployees\")\n reports Report[]\n owners OrganizationOwner[]\n templates TaskTemplate[] // relation to task templates\n activityLogs ActivityLog[] // relation to activity logs\n\n @@unique([name])\n @@index([createdBy])\n @@map(\"organizations\")\n}\n\nmodel OrganizationOwner {\n id String @id @default(uuid()) @db.Uuid\n organizationId String @db.Uuid\n userId String @db.Uuid\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n\n // Relations\n organization Organization @relation(fields: [organizationId], references: [id], onDelete: Cascade)\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n\n @@unique([organizationId, userId]) // to prevent duplicate owner assignments\n @@index([organizationId])\n @@index([userId])\n @@map(\"organization_owners\")\n}\n\nmodel Department {\n id String @id @default(uuid()) @db.Uuid\n name String @db.VarChar(100)\n description String? @db.Text\n organizationId String @db.Uuid\n managerId String @db.Uuid\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n deletedAt DateTime?\n\n // Relations\n organization Organization @relation(fields: [organizationId], references: [id], onDelete: Cascade)\n manager User @relation(\"DepartmentManager\", fields: [managerId], references: [id])\n teams Team[]\n users User[]\n activityLogs ActivityLog[] @relation(\"DepartmentActivityLogs\")\n Report Report[]\n\n @@unique([organizationId, name]) // to prevent duplicate department names within an organization\n @@index([organizationId])\n @@index([managerId])\n @@map(\"departments\")\n}\n\nmodel Team {\n id String @id @default(uuid()) @db.Uuid\n name String @db.VarChar(100)\n description String? @db.Text\n createdBy String @db.Uuid\n organizationId String @db.Uuid\n departmentId String? @db.Uuid\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n deletedAt DateTime?\n avatar String? // for team avatar/logo\n\n // Relations\n creator User @relation(\"TeamCreator\", fields: [createdBy], references: [id])\n organization Organization @relation(fields: [organizationId], references: [id], onDelete: Cascade)\n department Department? @relation(fields: [departmentId], references: [id], onDelete: Cascade)\n members TeamMember[]\n projects Project[]\n reports Report[]\n activityLogs ActivityLog[] // relation to activity logs\n\n @@unique([organizationId, name]) // to prevent duplicate team names within an organization\n @@index([organizationId])\n @@index([departmentId])\n @@index([createdBy])\n @@map(\"teams\")\n}\n\nmodel TeamMember {\n id String @id @default(uuid()) @db.Uuid\n teamId String @db.Uuid\n userId String @db.Uuid\n role TeamMemberRole\n joinedAt DateTime @default(now())\n isActive Boolean @default(true)\n deletedAt DateTime?\n\n // Relations\n team Team @relation(fields: [teamId], references: [id], onDelete: Cascade)\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n\n @@unique([teamId, userId]) // to prevent duplicate team memberships\n @@index([teamId])\n @@index([userId])\n @@map(\"team_members\")\n}\n\nmodel Project {\n id String @id @default(uuid()) @db.Uuid\n name String @db.VarChar(100)\n description String? @db.Text\n status String @db.VarChar(20)\n createdBy String @db.Uuid\n organizationId String @db.Uuid\n teamId String @db.Uuid\n startDate DateTime\n endDate DateTime\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n deletedAt DateTime?\n priority TaskPriority @default(MEDIUM) // for project prioritization\n progress Float? @default(0) // for progress tracking\n budget Float? // for budget tracking\n lastModifiedBy String? @db.Uuid // for audit\n\n // Relations\n creator User @relation(\"ProjectCreator\", fields: [createdBy], references: [id])\n modifier User? @relation(\"ProjectModifier\", fields: [lastModifiedBy], references: [id])\n organization Organization @relation(fields: [organizationId], references: [id], onDelete: Cascade)\n team Team @relation(fields: [teamId], references: [id], onDelete: Cascade)\n sprints Sprint[]\n tasks Task[]\n reports Report[]\n activityLogs ActivityLog[]\n ProjectMember ProjectMember[]\n\n @@unique([organizationId, name]) // to prevent duplicate project names within an organization\n @@index([organizationId])\n @@index([teamId])\n @@index([createdBy])\n @@index([status])\n @@map(\"projects\")\n}\n\nmodel ProjectMember {\n id String @id @default(uuid()) @db.Uuid\n projectId String @db.Uuid\n userId String @db.Uuid\n role String @db.VarChar(50) // e.g., \"DEVELOPER\", \"TESTER\", \"PRODUCT_OWNER\" // make it as enum\n isActive Boolean @default(true)\n joinedAt DateTime @default(now())\n leftAt DateTime?\n deletedAt DateTime?\n\n // Relations\n project Project @relation(fields: [projectId], references: [id], onDelete: Cascade)\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n\n @@unique([projectId, userId]) // A user can only have one active role in a project\n @@index([projectId])\n @@index([userId])\n @@map(\"project_members\")\n}\n\nmodel Sprint {\n id String @id @default(uuid()) @db.Uuid\n projectId String @db.Uuid\n name String @db.VarChar(100)\n description String? @db.Text\n startDate DateTime\n endDate DateTime\n status String @db.VarChar(20)\n goal String? @db.Text // for sprint goal\n order Int @default(0) // for ordering sprints\n\n // Relations\n project Project @relation(fields: [projectId], references: [id], onDelete: Cascade)\n tasks Task[]\n activityLogs ActivityLog[] @relation(\"SprintActivityLogs\")\n\n @@unique([projectId, name]) // to prevent duplicate sprint names within a project\n @@index([projectId])\n @@index([status])\n @@map(\"sprints\")\n}\n\nmodel Task {\n id String @id @default(uuid()) @db.Uuid\n title String @db.VarChar(200)\n description String? @db.Text\n priority TaskPriority\n status TaskStatus\n rate Float?\n projectId String @db.Uuid\n sprintId String? @db.Uuid\n createdBy String @db.Uuid\n assignedTo String? @db.Uuid\n dueDate DateTime\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n deletedAt DateTime?\n estimatedTime Float? // for time estimation (in hours)\n actualTime Float? // for actual time spent\n parentId String? @db.Uuid // for subtask hierarchy\n order Int @default(0) // for custom ordering\n labels String[] // for task categorization\n lastModifiedBy String? @db.Uuid // for audit\n\n // Relations\n project Project @relation(fields: [projectId], references: [id], onDelete: Cascade)\n sprint Sprint? @relation(fields: [sprintId], references: [id])\n creator User @relation(\"TaskCreator\", fields: [createdBy], references: [id])\n assignee User? @relation(\"TaskAssignee\", fields: [assignedTo], references: [id])\n modifier User? @relation(\"TaskModifier\", fields: [lastModifiedBy], references: [id])\n attachments TaskAttachment[]\n comments Comment[]\n timelogs Timelog[]\n dependencies TaskDependency[] @relation(\"DependentTask\")\n dependentOn TaskDependency[] @relation(\"MainTask\")\n parent Task? @relation(\"TaskHierarchy\", fields: [parentId], references: [id]) // Added for subtask hierarchy\n subtasks Task[] @relation(\"TaskHierarchy\") // for subtask hierarchy\n activityLogs ActivityLog[] // relation to activity logs\n\n @@index([projectId])\n @@index([sprintId])\n @@index([createdBy])\n @@index([assignedTo])\n @@index([status])\n @@index([priority])\n @@index([parentId]) // for querying subtasks efficiently\n @@map(\"tasks\")\n}\n\nmodel TaskAttachment {\n id String @id @default(uuid()) @db.Uuid\n taskId String @db.Uuid\n fileName String @db.VarChar(255)\n fileType String @db.VarChar(50)\n filePath String\n fileSize Int\n uploadedBy String @db.Uuid\n createdAt DateTime @default(now())\n storageProvider String? @db.VarChar(50) // for storage provider (e.g., \"s3\", \"azure\")\n storageKey String // for cloud storage reference\n\n // Relations\n task Task @relation(fields: [taskId], references: [id], onDelete: Cascade)\n uploader User @relation(fields: [uploadedBy], references: [id])\n\n @@index([taskId])\n @@index([uploadedBy])\n @@index([fileType]) // for filtering by file type\n @@map(\"task_attachments\")\n}\n\nmodel TaskDependency {\n id String @id @default(uuid()) @db.Uuid\n taskId String @db.Uuid\n dependentTaskId String @db.Uuid\n dependencyType DependencyType\n description String? @db.Text // for dependency description\n\n // Relations\n task Task @relation(\"MainTask\", fields: [taskId], references: [id], onDelete: Cascade)\n dependentTask Task @relation(\"DependentTask\", fields: [dependentTaskId], references: [id], onDelete: Cascade)\n\n @@unique([taskId, dependentTaskId]) // to prevent duplicate dependencies\n @@index([taskId])\n @@index([dependentTaskId])\n @@map(\"task_dependencies\")\n}\n\nmodel TaskTemplate {\n id String @id @default(uuid()) @db.Uuid\n name String @db.VarChar(100)\n description String? @db.Text\n priority TaskPriority\n estimatedTime Float?\n organizationId String @db.Uuid\n createdBy String @db.Uuid\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n checklist Json? // predefined checklist items\n labels String[] // task categorization\n isPublic Boolean @default(false)\n\n // Relations\n organization Organization @relation(fields: [organizationId], references: [id])\n\n @@unique([organizationId, name]) // Prevent duplicate templates within organization\n @@index([organizationId])\n @@map(\"task_templates\")\n}\n\nmodel Timelog {\n id String @id @default(uuid()) @db.Uuid\n taskId String @db.Uuid\n userId String @db.Uuid\n startTime DateTime\n endTime DateTime\n description String? @db.Text\n\n // Relations\n task Task @relation(fields: [taskId], references: [id], onDelete: Cascade)\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n\n @@index([taskId])\n @@index([userId])\n @@index([startTime, endTime]) // for time-range queries\n @@map(\"timelogs\")\n}\n\nmodel Comment {\n id String @id @default(uuid()) @db.Uuid\n taskId String @db.Uuid\n userId String @db.Uuid\n content String @db.Text\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n\n // Relations\n task Task @relation(fields: [taskId], references: [id], onDelete: Cascade)\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n\n @@index([taskId])\n @@index([userId])\n @@index([createdAt]) // for pagination and sorting\n @@map(\"comments\")\n}\n\nmodel ActivityLog {\n id String @id @default(uuid()) @db.Uuid\n entityType EntityType\n action ActionType\n userId String @db.Uuid\n organizationId String? @db.Uuid\n departmentId String? @db.Uuid\n projectId String? @db.Uuid\n teamId String? @db.Uuid\n sprintId String? @db.Uuid\n taskId String @db.Uuid\n details Json?\n createdAt DateTime @default(now())\n\n // Relations\n user User @relation(fields: [userId], references: [id], map: \"activitylog_user_fkey\")\n organization Organization? @relation(fields: [organizationId], references: [id], map: \"activitylog_org_fkey\")\n department Department? @relation(\"DepartmentActivityLogs\", fields: [departmentId], references: [id], map: \"activitylog_dept_fkey\")\n project Project? @relation(fields: [projectId], references: [id], map: \"activitylog_project_fkey\")\n team Team? @relation(fields: [teamId], references: [id], map: \"activitylog_team_fkey\")\n sprint Sprint? @relation(\"SprintActivityLogs\", fields: [sprintId], references: [id], map: \"activitylog_sprint_fkey\")\n task Task? @relation(fields: [taskId], references: [id], map: \"activitylog_task_fkey\")\n\n @@index([userId])\n @@index([organizationId])\n @@index([departmentId])\n @@index([projectId])\n @@index([teamId])\n @@index([sprintId])\n @@index([taskId])\n @@index([createdAt])\n @@map(\"activity_logs\")\n}\n\nmodel Notification {\n id String @id @default(uuid()) @db.Uuid\n userId String @db.Uuid\n content String @db.Text\n isRead Boolean @default(false)\n type String @db.VarChar(50)\n metadata Json?\n createdAt DateTime @default(now())\n deletedAt DateTime?\n entityType String? @db.VarChar(50) // for reference to specific entity\n entityId String? @db.Uuid // for reference to specific entity\n\n // Relations\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n\n @@index([userId])\n @@index([createdAt])\n @@index([isRead])\n @@index([entityId, entityType]) // for queries filtering by entity\n @@map(\"notifications\")\n}\n\nmodel Report {\n id String @id @default(uuid()) @db.Uuid\n name String @db.VarChar(100)\n description String? @db.Text\n reportType ReportType\n format String @db.VarChar(20) // PDF, XLSX, CSV, etc.\n parameters Json?\n filePath String\n generatedBy String @db.Uuid\n createdAt DateTime @default(now())\n status ReportStatus @default(PENDING)\n updatedAt DateTime @updatedAt\n lastAccessedAt DateTime?\n expiresAt DateTime?\n tags String? @db.Text // Comma-separated tags or use a JSON array\n\n organizationId String? @db.Uuid\n teamId String? @db.Uuid\n projectId String? @db.Uuid\n departmentId String? @db.Uuid\n userId String? @db.Uuid\n scheduleId String? @db.Uuid\n\n // Storage information\n storageProvider String? @db.VarChar(50) // e.g., \"s3\", \"azure\", \"local\"\n storageKey String // Cloud storage reference\n\n // Relations\n generator User @relation(fields: [generatedBy], references: [id])\n organization Organization? @relation(fields: [organizationId], references: [id])\n team Team? @relation(fields: [teamId], references: [id])\n project Project? @relation(fields: [projectId], references: [id])\n department Department? @relation(fields: [departmentId], references: [id])\n user User? @relation(\"UserReports\", fields: [userId], references: [id])\n reportSchedule ReportSchedule? @relation(fields: [scheduleId], references: [id])\n notifiedUsers ReportNotification[]\n\n @@index([generatedBy])\n @@index([organizationId])\n @@index([teamId])\n @@index([projectId])\n @@index([createdAt])\n @@index([status])\n @@map(\"reports\")\n}\n\nmodel ReportSchedule {\n id String @id @default(uuid()) @db.Uuid\n name String @db.VarChar(100)\n cronExpression String @db.VarChar(100)\n isActive Boolean @default(true)\n createdAt DateTime @default(now())\n createdBy String @db.Uuid\n\n reports Report[]\n\n @@map(\"report_schedules\")\n}\n\nmodel ReportNotification {\n id String @id @default(uuid()) @db.Uuid\n reportId String @db.Uuid\n userId String @db.Uuid\n notified Boolean @default(false)\n\n report Report @relation(fields: [reportId], references: [id])\n user User @relation(fields: [userId], references: [id])\n\n @@unique([reportId, userId])\n @@map(\"report_notifications\")\n}\n\nmodel Permission {\n id String @id @default(uuid()) @db.Uuid\n userId String @db.Uuid\n entityType String // \"project\", \"team\", etc.\n entityId String @db.Uuid\n permissions Json // detailed permission structure\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n\n // Relations\n user User @relation(fields: [userId], references: [id])\n\n @@unique([userId, entityType, entityId])\n @@index([entityId, entityType])\n @@map(\"permissions\")\n}\n\nenum ReportType {\n ORGANIZATION_SUMMARY\n ORGANIZATION_ACTIVITY\n DEPARTMENT_PERFORMANCE\n TEAM_PRODUCTIVITY\n PROJECT_STATUS\n PROJECT_TIMELINE\n TASK_COMPLETION\n USER_PERFORMANCE\n USER_ACTIVITY\n SPRINT_BURNDOWN\n CUSTOM\n}\n\nenum ReportStatus {\n PENDING\n GENERATING\n COMPLETED\n FAILED\n EXPIRED\n}\n\nenum EntityType {\n ORGANIZATION\n DEPARTMENT\n TEAM\n PROJECT\n SPRINT\n TASK\n USER\n TASK_ATTACHMENT\n TASK_DEPENDENCY\n TASK_TEMPLATE\n COMMENT\n}\n\nenum ActionType {\n CREATED\n UPDATED\n DELETED\n RESTORED\n COMMENTED\n STATUS_CHANGED\n ASSIGNED\n UNASSIGNED\n ATTACHMENT_ADDED\n ATTACHMENT_REMOVED\n DEPENDENCY_ADDED\n DEPENDENCY_REMOVED\n MEMBER_ADDED\n MEMBER_REMOVED\n MEMBER_ROLE_CHANGED\n SPRINT_STARTED\n SPRINT_COMPLETED\n TASK_MOVED\n LOGGED_TIME\n VERIFIED\n LOGO_UPDATED\n SETTINGS_CHANGED\n SUBSCRIPTION_CHANGED\n TEAM_CREATED\n TEAM_DELETED\n DEPARTMENT_CREATED\n DEPARTMENT_DELETED\n OWNER_ADDED\n OWNER_REMOVED\n}\n\nenum TaskPriority {\n LOW\n MEDIUM\n HIGH\n}\n\nenum TaskStatus {\n TODO\n IN_PROGRESS\n REVIEW\n DONE\n}\n\nenum DependencyType {\n BLOCKS\n REQUIRES\n RELATES_TO\n DUPLICATES\n}\n\nenum TeamMemberRole {\n MEMBER\n LEADER\n VIEWER\n}\n\nenum UserRole {\n OWNER\n MANAGER\n ADMIN\n MEMBER\n GUEST\n}\n", - "inlineSchemaHash": "b44d37977f0c1a834559ad991534ecdf1a4658fa7de47c7df0a478ac79852c1c", + "inlineSchema": "// This is your Prisma schema file,\n// learn more about it in the docs: https://pris.ly/d/prisma-schema\n\n// Looking for ways to speed up your queries, or scale easily with your serverless or edge functions?\n// Try Prisma Accelerate: https://pris.ly/cli/accelerate-init\n\ngenerator client {\n provider = \"prisma-client-js\"\n previewFeatures = [\"prismaSchemaFolder\"]\n output = \"./generated/prisma-client-js\"\n}\n\ndatasource db {\n provider = \"postgresql\"\n url = env(\"DATABASE_URL\")\n}\n\nmodel User {\n id String @id @default(uuid()) @db.Uuid\n email String @unique @db.VarChar(255)\n username String @unique @db.VarChar(50)\n password String @db.VarChar(255)\n firebaseUid String? @unique\n firstName String @db.VarChar(100)\n lastName String @db.VarChar(100)\n role UserRole\n profilePic String?\n departmentId String? @db.Uuid\n organizationId String? @db.Uuid\n isOwner Boolean @default(false)\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n isActive Boolean @default(true)\n deletedAt DateTime?\n phoneNumber String? @db.VarChar(255)\n jobTitle String? @db.VarChar(100)\n timezone String? @db.VarChar(50)\n bio String? @db.Text\n preferences Json? // for user-specific settings\n emailVerificationToken String?\n emailVerificationExpires DateTime?\n passwordResetToken String?\n passwordResetExpires DateTime?\n refreshToken String?\n lastLogin DateTime?\n lastLogout DateTime?\n\n // Relations\n department Department? @relation(fields: [departmentId], references: [id])\n organization Organization? @relation(\"OrganizationEmployees\", fields: [organizationId], references: [id])\n createdOrganizations Organization[] @relation(\"OrganizationCreator\")\n ownedOrganizations OrganizationOwner[]\n managedDepartments Department[] @relation(\"DepartmentManager\")\n createdTeams Team[] @relation(\"TeamCreator\")\n teamMemberships TeamMember[]\n projectMemberships ProjectMember[]\n createdProjects Project[] @relation(\"ProjectCreator\")\n modifiedProjects Project[] @relation(\"ProjectModifier\")\n createdTasks Task[] @relation(\"TaskCreator\")\n assignedTasks Task[] @relation(\"TaskAssignee\")\n modifiedTasks Task[] @relation(\"TaskModifier\")\n notifications Notification[]\n timelogs Timelog[]\n comments Comment[]\n taskAttachments TaskAttachment[]\n generatedReports Report[]\n userReports Report[] @relation(\"UserReports\")\n permissions Permission[] // relation to permissions\n activityLogs ActivityLog[] // relation to activity logs as performer\n ReportNotification ReportNotification[]\n chatParticipations ChatParticipant[]\n sentMessages ChatMessage[]\n messageReactions MessageReaction[]\n pinnedMessages PinnedMessage[]\n hostedSessions VideoConferenceSession[] @relation(\"SessionHost\")\n videoParticipations VideoParticipant[]\n videoRecordings VideoRecording[]\n\n @@index([departmentId])\n @@index([organizationId])\n @@index([role])\n @@index([isActive])\n @@map(\"users\")\n}\n\nmodel Organization {\n id String @id @default(uuid()) @db.Uuid\n name String @db.VarChar(100)\n description String? @db.Text\n industry String @db.VarChar(50)\n sizeRange String @db.VarChar(50)\n website String? @db.VarChar(255)\n logoUrl String?\n isVerified Boolean @default(false)\n status String @db.VarChar(20)\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n deletedAt DateTime?\n createdBy String @db.Uuid\n address String? @db.Text\n contactEmail String? @db.VarChar(255)\n contactPhone String? @db.VarChar(50)\n emailVerificationOTP String?\n emailVerificationExpires DateTime?\n\n // Relations\n creator User @relation(\"OrganizationCreator\", fields: [createdBy], references: [id])\n departments Department[]\n teams Team[]\n projects Project[]\n users User[] @relation(\"OrganizationEmployees\")\n reports Report[]\n owners OrganizationOwner[]\n templates TaskTemplate[] // relation to task templates\n activityLogs ActivityLog[] // relation to activity logs\n\n @@unique([name])\n @@index([createdBy])\n @@map(\"organizations\")\n}\n\nmodel OrganizationOwner {\n id String @id @default(uuid()) @db.Uuid\n organizationId String @db.Uuid\n userId String @db.Uuid\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n\n // Relations\n organization Organization @relation(fields: [organizationId], references: [id], onDelete: Cascade)\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n\n @@unique([organizationId, userId]) // to prevent duplicate owner assignments\n @@index([organizationId])\n @@index([userId])\n @@map(\"organization_owners\")\n}\n\nmodel Department {\n id String @id @default(uuid()) @db.Uuid\n name String @db.VarChar(100)\n description String? @db.Text\n organizationId String @db.Uuid\n managerId String @db.Uuid\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n deletedAt DateTime?\n\n // Relations\n organization Organization @relation(fields: [organizationId], references: [id], onDelete: Cascade)\n manager User @relation(\"DepartmentManager\", fields: [managerId], references: [id])\n teams Team[]\n users User[]\n activityLogs ActivityLog[] @relation(\"DepartmentActivityLogs\")\n Report Report[]\n\n @@unique([organizationId, name]) // to prevent duplicate department names within an organization\n @@index([organizationId])\n @@index([managerId])\n @@map(\"departments\")\n}\n\nmodel Team {\n id String @id @default(uuid()) @db.Uuid\n name String @db.VarChar(100)\n description String? @db.Text\n createdBy String @db.Uuid\n organizationId String @db.Uuid\n departmentId String? @db.Uuid\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n deletedAt DateTime?\n avatar String? // for team avatar/logo\n\n // Relations\n creator User @relation(\"TeamCreator\", fields: [createdBy], references: [id])\n organization Organization @relation(fields: [organizationId], references: [id], onDelete: Cascade)\n department Department? @relation(fields: [departmentId], references: [id], onDelete: Cascade)\n members TeamMember[]\n projects Project[]\n reports Report[]\n activityLogs ActivityLog[] // relation to activity logs\n\n @@unique([organizationId, name]) // to prevent duplicate team names within an organization\n @@index([organizationId])\n @@index([departmentId])\n @@index([createdBy])\n @@map(\"teams\")\n}\n\nmodel TeamMember {\n id String @id @default(uuid()) @db.Uuid\n teamId String @db.Uuid\n userId String @db.Uuid\n role TeamMemberRole\n joinedAt DateTime @default(now())\n isActive Boolean @default(true)\n deletedAt DateTime?\n\n // Relations\n team Team @relation(fields: [teamId], references: [id], onDelete: Cascade)\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n\n @@unique([teamId, userId]) // to prevent duplicate team memberships\n @@index([teamId])\n @@index([userId])\n @@map(\"team_members\")\n}\n\nmodel Project {\n id String @id @default(uuid()) @db.Uuid\n name String @db.VarChar(100)\n description String? @db.Text\n status String @db.VarChar(20)\n createdBy String @db.Uuid\n organizationId String @db.Uuid\n teamId String @db.Uuid\n startDate DateTime\n endDate DateTime\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n deletedAt DateTime?\n priority TaskPriority @default(MEDIUM) // for project prioritization\n progress Float? @default(0) // for progress tracking\n budget Float? // for budget tracking\n lastModifiedBy String? @db.Uuid // for audit\n\n // Relations\n creator User @relation(\"ProjectCreator\", fields: [createdBy], references: [id])\n modifier User? @relation(\"ProjectModifier\", fields: [lastModifiedBy], references: [id])\n organization Organization @relation(fields: [organizationId], references: [id], onDelete: Cascade)\n team Team @relation(fields: [teamId], references: [id], onDelete: Cascade)\n sprints Sprint[]\n tasks Task[]\n reports Report[]\n activityLogs ActivityLog[]\n ProjectMember ProjectMember[]\n\n @@unique([organizationId, name]) // to prevent duplicate project names within an organization\n @@index([organizationId])\n @@index([teamId])\n @@index([createdBy])\n @@index([status])\n @@map(\"projects\")\n}\n\nmodel ProjectMember {\n id String @id @default(uuid()) @db.Uuid\n projectId String @db.Uuid\n userId String @db.Uuid\n role String @db.VarChar(50) // e.g., \"DEVELOPER\", \"TESTER\", \"PRODUCT_OWNER\" // make it as enum\n isActive Boolean @default(true)\n joinedAt DateTime @default(now())\n leftAt DateTime?\n deletedAt DateTime?\n\n // Relations\n project Project @relation(fields: [projectId], references: [id], onDelete: Cascade)\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n\n @@unique([projectId, userId]) // A user can only have one active role in a project\n @@index([projectId])\n @@index([userId])\n @@map(\"project_members\")\n}\n\nmodel Sprint {\n id String @id @default(uuid()) @db.Uuid\n projectId String @db.Uuid\n name String @db.VarChar(100)\n description String? @db.Text\n startDate DateTime\n endDate DateTime\n status String @db.VarChar(20)\n goal String? @db.Text // for sprint goal\n order Int @default(0) // for ordering sprints\n\n // Relations\n project Project @relation(fields: [projectId], references: [id], onDelete: Cascade)\n tasks Task[]\n activityLogs ActivityLog[] @relation(\"SprintActivityLogs\")\n\n @@unique([projectId, name]) // to prevent duplicate sprint names within a project\n @@index([projectId])\n @@index([status])\n @@map(\"sprints\")\n}\n\nmodel Task {\n id String @id @default(uuid()) @db.Uuid\n title String @db.VarChar(200)\n description String? @db.Text\n priority TaskPriority\n status TaskStatus\n rate Float?\n projectId String @db.Uuid\n sprintId String? @db.Uuid\n createdBy String @db.Uuid\n assignedTo String? @db.Uuid\n dueDate DateTime\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n deletedAt DateTime?\n estimatedTime Float? // for time estimation (in hours)\n actualTime Float? // for actual time spent\n parentId String? @db.Uuid // for subtask hierarchy\n order Int @default(0) // for custom ordering\n labels String[] // for task categorization\n lastModifiedBy String? @db.Uuid // for audit\n\n // Relations\n project Project @relation(fields: [projectId], references: [id], onDelete: Cascade)\n sprint Sprint? @relation(fields: [sprintId], references: [id])\n creator User @relation(\"TaskCreator\", fields: [createdBy], references: [id])\n assignee User? @relation(\"TaskAssignee\", fields: [assignedTo], references: [id])\n modifier User? @relation(\"TaskModifier\", fields: [lastModifiedBy], references: [id])\n attachments TaskAttachment[]\n comments Comment[]\n timelogs Timelog[]\n dependencies TaskDependency[] @relation(\"DependentTask\")\n dependentOn TaskDependency[] @relation(\"MainTask\")\n parent Task? @relation(\"TaskHierarchy\", fields: [parentId], references: [id]) // Added for subtask hierarchy\n subtasks Task[] @relation(\"TaskHierarchy\") // for subtask hierarchy\n activityLogs ActivityLog[] // relation to activity logs\n\n @@index([projectId])\n @@index([sprintId])\n @@index([createdBy])\n @@index([assignedTo])\n @@index([status])\n @@index([priority])\n @@index([parentId]) // for querying subtasks efficiently\n @@map(\"tasks\")\n}\n\nmodel TaskAttachment {\n id String @id @default(uuid()) @db.Uuid\n taskId String @db.Uuid\n fileName String @db.VarChar(255)\n fileType String @db.VarChar(50)\n filePath String\n fileSize Int\n uploadedBy String @db.Uuid\n createdAt DateTime @default(now())\n storageProvider String? @db.VarChar(50) // for storage provider (e.g., \"s3\", \"azure\")\n storageKey String // for cloud storage reference\n\n // Relations\n task Task @relation(fields: [taskId], references: [id], onDelete: Cascade)\n uploader User @relation(fields: [uploadedBy], references: [id])\n\n @@index([taskId])\n @@index([uploadedBy])\n @@index([fileType]) // for filtering by file type\n @@map(\"task_attachments\")\n}\n\nmodel TaskDependency {\n id String @id @default(uuid()) @db.Uuid\n taskId String @db.Uuid\n dependentTaskId String @db.Uuid\n dependencyType DependencyType\n description String? @db.Text // for dependency description\n\n // Relations\n task Task @relation(\"MainTask\", fields: [taskId], references: [id], onDelete: Cascade)\n dependentTask Task @relation(\"DependentTask\", fields: [dependentTaskId], references: [id], onDelete: Cascade)\n\n @@unique([taskId, dependentTaskId]) // to prevent duplicate dependencies\n @@index([taskId])\n @@index([dependentTaskId])\n @@map(\"task_dependencies\")\n}\n\nmodel TaskTemplate {\n id String @id @default(uuid()) @db.Uuid\n name String @db.VarChar(100)\n description String? @db.Text\n priority TaskPriority\n estimatedTime Float?\n organizationId String @db.Uuid\n createdBy String @db.Uuid\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n checklist Json? // predefined checklist items\n labels String[] // task categorization\n isPublic Boolean @default(false)\n\n // Relations\n organization Organization @relation(fields: [organizationId], references: [id])\n\n @@unique([organizationId, name]) // Prevent duplicate templates within organization\n @@index([organizationId])\n @@map(\"task_templates\")\n}\n\nmodel Timelog {\n id String @id @default(uuid()) @db.Uuid\n taskId String @db.Uuid\n userId String @db.Uuid\n startTime DateTime\n endTime DateTime\n description String? @db.Text\n\n // Relations\n task Task @relation(fields: [taskId], references: [id], onDelete: Cascade)\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n\n @@index([taskId])\n @@index([userId])\n @@index([startTime, endTime]) // for time-range queries\n @@map(\"timelogs\")\n}\n\nmodel Comment {\n id String @id @default(uuid()) @db.Uuid\n taskId String @db.Uuid\n userId String @db.Uuid\n content String @db.Text\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n\n // Relations\n task Task @relation(fields: [taskId], references: [id], onDelete: Cascade)\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n\n @@index([taskId])\n @@index([userId])\n @@index([createdAt]) // for pagination and sorting\n @@map(\"comments\")\n}\n\nmodel ActivityLog {\n id String @id @default(uuid()) @db.Uuid\n entityType EntityType\n action ActionType\n userId String @db.Uuid\n organizationId String? @db.Uuid\n departmentId String? @db.Uuid\n projectId String? @db.Uuid\n teamId String? @db.Uuid\n sprintId String? @db.Uuid\n taskId String @db.Uuid\n details Json?\n createdAt DateTime @default(now())\n\n // Relations\n user User @relation(fields: [userId], references: [id], map: \"activitylog_user_fkey\")\n organization Organization? @relation(fields: [organizationId], references: [id], map: \"activitylog_org_fkey\")\n department Department? @relation(\"DepartmentActivityLogs\", fields: [departmentId], references: [id], map: \"activitylog_dept_fkey\")\n project Project? @relation(fields: [projectId], references: [id], map: \"activitylog_project_fkey\")\n team Team? @relation(fields: [teamId], references: [id], map: \"activitylog_team_fkey\")\n sprint Sprint? @relation(\"SprintActivityLogs\", fields: [sprintId], references: [id], map: \"activitylog_sprint_fkey\")\n task Task? @relation(fields: [taskId], references: [id], map: \"activitylog_task_fkey\")\n\n @@index([userId])\n @@index([organizationId])\n @@index([departmentId])\n @@index([projectId])\n @@index([teamId])\n @@index([sprintId])\n @@index([taskId])\n @@index([createdAt])\n @@map(\"activity_logs\")\n}\n\nmodel Notification {\n id String @id @default(uuid()) @db.Uuid\n userId String @db.Uuid\n content String @db.Text\n isRead Boolean @default(false)\n type String @db.VarChar(50)\n metadata Json?\n createdAt DateTime @default(now())\n deletedAt DateTime?\n entityType String? @db.VarChar(50) // for reference to specific entity\n entityId String? @db.Uuid // for reference to specific entity\n\n // Relations\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n\n @@index([userId])\n @@index([createdAt])\n @@index([isRead])\n @@index([entityId, entityType]) // for queries filtering by entity\n @@map(\"notifications\")\n}\n\nmodel Report {\n id String @id @default(uuid()) @db.Uuid\n name String @db.VarChar(100)\n description String? @db.Text\n reportType ReportType\n format String @db.VarChar(20) // PDF, XLSX, CSV, etc.\n parameters Json?\n filePath String\n generatedBy String @db.Uuid\n createdAt DateTime @default(now())\n status ReportStatus @default(PENDING)\n updatedAt DateTime @updatedAt\n lastAccessedAt DateTime?\n expiresAt DateTime?\n tags String? @db.Text // Comma-separated tags or use a JSON array\n\n organizationId String? @db.Uuid\n teamId String? @db.Uuid\n projectId String? @db.Uuid\n departmentId String? @db.Uuid\n userId String? @db.Uuid\n scheduleId String? @db.Uuid\n\n // Storage information\n storageProvider String? @db.VarChar(50) // e.g., \"s3\", \"azure\", \"local\"\n storageKey String // Cloud storage reference\n\n // Relations\n generator User @relation(fields: [generatedBy], references: [id])\n organization Organization? @relation(fields: [organizationId], references: [id])\n team Team? @relation(fields: [teamId], references: [id])\n project Project? @relation(fields: [projectId], references: [id])\n department Department? @relation(fields: [departmentId], references: [id])\n user User? @relation(\"UserReports\", fields: [userId], references: [id])\n reportSchedule ReportSchedule? @relation(fields: [scheduleId], references: [id])\n notifiedUsers ReportNotification[]\n\n @@index([generatedBy])\n @@index([organizationId])\n @@index([teamId])\n @@index([projectId])\n @@index([createdAt])\n @@index([status])\n @@map(\"reports\")\n}\n\nmodel ReportSchedule {\n id String @id @default(uuid()) @db.Uuid\n name String @db.VarChar(100)\n cronExpression String @db.VarChar(100)\n isActive Boolean @default(true)\n createdAt DateTime @default(now())\n createdBy String @db.Uuid\n\n reports Report[]\n\n @@map(\"report_schedules\")\n}\n\nmodel ReportNotification {\n id String @id @default(uuid()) @db.Uuid\n reportId String @db.Uuid\n userId String @db.Uuid\n notified Boolean @default(false)\n\n report Report @relation(fields: [reportId], references: [id])\n user User @relation(fields: [userId], references: [id])\n\n @@unique([reportId, userId])\n @@map(\"report_notifications\")\n}\n\nmodel Permission {\n id String @id @default(uuid()) @db.Uuid\n userId String @db.Uuid\n entityType String // \"project\", \"team\", etc.\n entityId String @db.Uuid\n permissions Json // detailed permission structure\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n\n // Relations\n user User @relation(fields: [userId], references: [id])\n\n @@unique([userId, entityType, entityId])\n @@index([entityId, entityType])\n @@map(\"permissions\")\n}\n\n// models for chat and video conference functionality\nmodel ChatRoom {\n id String @id @default(uuid()) @db.Uuid\n name String @db.VarChar(100)\n description String? @db.Text\n type ChatRoomType\n entityType EntityType // Which entity this chat belongs to (ORG, DEPT, TEAM, etc.)\n entityId String @db.Uuid // ID of the associated entity\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n isActive Boolean @default(true)\n isArchived Boolean @default(false)\n archivedAt DateTime?\n avatarUrl String?\n lastMessageAt DateTime?\n\n // Relations\n messages ChatMessage[]\n participants ChatParticipant[]\n pinnedMessages PinnedMessage[]\n videoSessions VideoConferenceSession[]\n\n @@unique([entityType, entityId]) // Each entity can have only one chat room\n @@index([entityType, entityId])\n @@index([isActive])\n @@index([lastMessageAt]) // For sorting chats by latest activity\n @@map(\"chat_rooms\")\n}\n\nmodel ChatParticipant {\n id String @id @default(uuid()) @db.Uuid\n chatRoomId String @db.Uuid\n userId String @db.Uuid\n joinedAt DateTime @default(now())\n lastReadMessageId String? @db.Uuid\n lastReadAt DateTime?\n isAdmin Boolean @default(false)\n notificationsOn Boolean @default(true)\n status ParticipantStatus @default(ACTIVE)\n\n // Relations\n chatRoom ChatRoom @relation(fields: [chatRoomId], references: [id], onDelete: Cascade)\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n lastReadMessage ChatMessage? @relation(\"LastReadMessage\", fields: [lastReadMessageId], references: [id])\n\n @@unique([chatRoomId, userId]) // A user can only be one participant in a chat room\n @@index([chatRoomId])\n @@index([userId])\n @@index([lastReadAt])\n @@map(\"chat_participants\")\n}\n\nmodel ChatMessage {\n id String @id @default(uuid()) @db.Uuid\n chatRoomId String @db.Uuid\n senderId String @db.Uuid\n content String @db.Text\n contentType MessageContentType @default(TEXT)\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n isEdited Boolean @default(false)\n isDeleted Boolean @default(false)\n deletedAt DateTime?\n replyToId String? @db.Uuid\n metadata Json? // For storing additional message data\n\n // Relations\n chatRoom ChatRoom @relation(fields: [chatRoomId], references: [id], onDelete: Cascade)\n sender User @relation(fields: [senderId], references: [id])\n replyTo ChatMessage? @relation(\"MessageReplies\", fields: [replyToId], references: [id])\n replies ChatMessage[] @relation(\"MessageReplies\")\n attachments MessageAttachment[]\n reactions MessageReaction[]\n readBy ChatParticipant[] @relation(\"LastReadMessage\")\n pinnedIn PinnedMessage[]\n\n @@index([chatRoomId])\n @@index([senderId])\n @@index([createdAt])\n @@index([replyToId])\n @@map(\"chat_messages\")\n}\n\nmodel MessageAttachment {\n id String @id @default(uuid()) @db.Uuid\n messageId String @db.Uuid\n fileName String @db.VarChar(255)\n fileType String @db.VarChar(50)\n filePath String\n fileSize Int\n thumbnailPath String?\n storageProvider String? @db.VarChar(50)\n storageKey String\n createdAt DateTime @default(now())\n\n // Relations\n message ChatMessage @relation(fields: [messageId], references: [id], onDelete: Cascade)\n\n @@index([messageId])\n @@index([fileType])\n @@map(\"message_attachments\")\n}\n\nmodel MessageReaction {\n id String @id @default(uuid()) @db.Uuid\n messageId String @db.Uuid\n userId String @db.Uuid\n reaction String @db.VarChar(50) // Emoji code or reaction type\n createdAt DateTime @default(now())\n\n // Relations\n message ChatMessage @relation(fields: [messageId], references: [id], onDelete: Cascade)\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n\n @@unique([messageId, userId, reaction]) // A user can only react once with a specific reaction\n @@index([messageId])\n @@index([userId])\n @@map(\"message_reactions\")\n}\n\nmodel PinnedMessage {\n id String @id @default(uuid()) @db.Uuid\n chatRoomId String @db.Uuid\n messageId String @db.Uuid\n pinnedBy String @db.Uuid\n pinnedAt DateTime @default(now())\n\n // Relations\n chatRoom ChatRoom @relation(fields: [chatRoomId], references: [id], onDelete: Cascade)\n message ChatMessage @relation(fields: [messageId], references: [id], onDelete: Cascade)\n user User @relation(fields: [pinnedBy], references: [id])\n\n @@unique([chatRoomId, messageId]) // A message can only be pinned once in a chat\n @@index([chatRoomId])\n @@index([messageId])\n @@map(\"pinned_messages\")\n}\n\nmodel VideoConferenceSession {\n id String @id @default(uuid()) @db.Uuid\n chatRoomId String @db.Uuid\n title String @db.VarChar(100)\n description String? @db.Text\n startTime DateTime @default(now())\n endTime DateTime?\n status SessionStatus @default(ACTIVE)\n hostId String @db.Uuid\n meetingUrl String @unique\n recordingUrl String?\n settings Json? // For video conference settings\n\n // Relations\n chatRoom ChatRoom @relation(fields: [chatRoomId], references: [id], onDelete: Cascade)\n host User @relation(\"SessionHost\", fields: [hostId], references: [id])\n participants VideoParticipant[]\n recordings VideoRecording[]\n\n @@index([chatRoomId])\n @@index([hostId])\n @@index([startTime])\n @@index([status])\n @@map(\"video_conference_sessions\")\n}\n\nmodel VideoParticipant {\n id String @id @default(uuid()) @db.Uuid\n sessionId String @db.Uuid\n userId String @db.Uuid\n joinedAt DateTime @default(now())\n leftAt DateTime?\n role VideoParticipantRole @default(ATTENDEE)\n deviceInfo Json? // For storing device/browser info\n connectionQuality String? @db.VarChar(20)\n hasVideo Boolean @default(true)\n hasAudio Boolean @default(true)\n\n // Relations\n session VideoConferenceSession @relation(fields: [sessionId], references: [id], onDelete: Cascade)\n user User @relation(fields: [userId], references: [id])\n\n @@unique([sessionId, userId]) // A user can only join a session once\n @@index([sessionId])\n @@index([userId])\n @@map(\"video_participants\")\n}\n\nmodel VideoRecording {\n id String @id @default(uuid()) @db.Uuid\n sessionId String @db.Uuid\n fileName String @db.VarChar(255)\n fileSize Int\n duration Int // in seconds\n recordedBy String @db.Uuid\n startTime DateTime\n endTime DateTime\n storageProvider String @db.VarChar(50)\n storageKey String\n processingStatus ProcessingStatus @default(PROCESSING)\n visibility RecordingVisibility @default(PARTICIPANTS_ONLY)\n createdAt DateTime @default(now())\n\n // Relations\n session VideoConferenceSession @relation(fields: [sessionId], references: [id], onDelete: Cascade)\n recorder User @relation(fields: [recordedBy], references: [id])\n\n @@index([sessionId])\n @@index([recordedBy])\n @@index([processingStatus])\n @@map(\"video_recordings\")\n}\n\nenum ReportType {\n ORGANIZATION_SUMMARY\n ORGANIZATION_ACTIVITY\n DEPARTMENT_PERFORMANCE\n TEAM_PRODUCTIVITY\n PROJECT_STATUS\n PROJECT_TIMELINE\n TASK_COMPLETION\n USER_PERFORMANCE\n USER_ACTIVITY\n SPRINT_BURNDOWN\n CUSTOM\n}\n\nenum ReportStatus {\n PENDING\n GENERATING\n COMPLETED\n FAILED\n EXPIRED\n}\n\nenum EntityType {\n ORGANIZATION\n DEPARTMENT\n TEAM\n PROJECT\n SPRINT\n TASK\n USER\n TASK_ATTACHMENT\n TASK_DEPENDENCY\n TASK_TEMPLATE\n COMMENT\n}\n\nenum ActionType {\n CREATED\n UPDATED\n DELETED\n RESTORED\n COMMENTED\n STATUS_CHANGED\n ASSIGNED\n UNASSIGNED\n ATTACHMENT_ADDED\n ATTACHMENT_REMOVED\n DEPENDENCY_ADDED\n DEPENDENCY_REMOVED\n MEMBER_ADDED\n MEMBER_REMOVED\n MEMBER_ROLE_CHANGED\n SPRINT_STARTED\n SPRINT_COMPLETED\n TASK_MOVED\n LOGGED_TIME\n VERIFIED\n LOGO_UPDATED\n SETTINGS_CHANGED\n SUBSCRIPTION_CHANGED\n TEAM_CREATED\n TEAM_DELETED\n DEPARTMENT_CREATED\n DEPARTMENT_DELETED\n OWNER_ADDED\n OWNER_REMOVED\n}\n\nenum TaskPriority {\n LOW\n MEDIUM\n HIGH\n}\n\nenum TaskStatus {\n TODO\n IN_PROGRESS\n REVIEW\n DONE\n}\n\nenum DependencyType {\n BLOCKS\n REQUIRES\n RELATES_TO\n DUPLICATES\n}\n\nenum TeamMemberRole {\n MEMBER\n LEADER\n VIEWER\n}\n\nenum UserRole {\n OWNER\n MANAGER\n ADMIN\n MEMBER\n GUEST\n}\n\n// enums for chat and video functionality\nenum ChatRoomType {\n ORGANIZATION\n DEPARTMENT\n TEAM\n PROJECT\n TASK\n DIRECT\n GROUP\n}\n\nenum ParticipantStatus {\n ACTIVE\n MUTED\n BLOCKED\n LEFT\n}\n\nenum MessageContentType {\n TEXT\n IMAGE\n FILE\n AUDIO\n VIDEO\n CODE\n LINK\n SYSTEM\n}\n\nenum SessionStatus {\n SCHEDULED\n ACTIVE\n ENDED\n CANCELLED\n}\n\nenum VideoParticipantRole {\n HOST\n COHOST\n PRESENTER\n ATTENDEE\n}\n\nenum ProcessingStatus {\n PROCESSING\n READY\n FAILED\n}\n\nenum RecordingVisibility {\n PRIVATE\n PARTICIPANTS_ONLY\n ORGANIZATION\n PUBLIC\n}\n", + "inlineSchemaHash": "55ebae706d7b3c830649a81950faeaac935cb4ac37117d5e935aa9299d50ebe0", "copyEngine": true } @@ -608,7 +787,7 @@ if (!fs.existsSync(path.join(__dirname, 'schema.prisma'))) { config.isBundled = true } -config.runtimeDataModel = JSON.parse("{\"models\":{\"User\":{\"dbName\":\"users\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"email\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":true,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"255\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"username\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":true,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"50\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"password\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"255\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"firebaseUid\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":true,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"firstName\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"100\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"lastName\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"100\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"role\",\"kind\":\"enum\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"UserRole\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"profilePic\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"departmentId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"organizationId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"isOwner\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"Boolean\",\"nativeType\":null,\"default\":false,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":true},{\"name\":\"isActive\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"Boolean\",\"nativeType\":null,\"default\":true,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"deletedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"phoneNumber\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"255\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"jobTitle\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"100\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"timezone\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"50\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"bio\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Text\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"preferences\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Json\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"emailVerificationToken\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"emailVerificationExpires\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"passwordResetToken\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"passwordResetExpires\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"refreshToken\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"lastLogin\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"lastLogout\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"department\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Department\",\"nativeType\":null,\"relationName\":\"DepartmentToUser\",\"relationFromFields\":[\"departmentId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"organization\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Organization\",\"nativeType\":null,\"relationName\":\"OrganizationEmployees\",\"relationFromFields\":[\"organizationId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdOrganizations\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Organization\",\"nativeType\":null,\"relationName\":\"OrganizationCreator\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"ownedOrganizations\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"OrganizationOwner\",\"nativeType\":null,\"relationName\":\"OrganizationOwnerToUser\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"managedDepartments\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Department\",\"nativeType\":null,\"relationName\":\"DepartmentManager\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdTeams\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Team\",\"nativeType\":null,\"relationName\":\"TeamCreator\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"teamMemberships\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"TeamMember\",\"nativeType\":null,\"relationName\":\"TeamMemberToUser\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"projectMemberships\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ProjectMember\",\"nativeType\":null,\"relationName\":\"ProjectMemberToUser\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdProjects\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Project\",\"nativeType\":null,\"relationName\":\"ProjectCreator\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"modifiedProjects\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Project\",\"nativeType\":null,\"relationName\":\"ProjectModifier\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdTasks\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Task\",\"nativeType\":null,\"relationName\":\"TaskCreator\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"assignedTasks\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Task\",\"nativeType\":null,\"relationName\":\"TaskAssignee\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"modifiedTasks\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Task\",\"nativeType\":null,\"relationName\":\"TaskModifier\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"notifications\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Notification\",\"nativeType\":null,\"relationName\":\"NotificationToUser\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"timelogs\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Timelog\",\"nativeType\":null,\"relationName\":\"TimelogToUser\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"comments\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Comment\",\"nativeType\":null,\"relationName\":\"CommentToUser\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"taskAttachments\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"TaskAttachment\",\"nativeType\":null,\"relationName\":\"TaskAttachmentToUser\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"generatedReports\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Report\",\"nativeType\":null,\"relationName\":\"ReportToUser\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"userReports\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Report\",\"nativeType\":null,\"relationName\":\"UserReports\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"permissions\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Permission\",\"nativeType\":null,\"relationName\":\"PermissionToUser\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"activityLogs\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ActivityLog\",\"nativeType\":null,\"relationName\":\"ActivityLogToUser\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"ReportNotification\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ReportNotification\",\"nativeType\":null,\"relationName\":\"ReportNotificationToUser\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},\"Organization\":{\"dbName\":\"organizations\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"name\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":true,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"100\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"description\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Text\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"industry\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"50\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"sizeRange\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"50\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"website\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"255\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"logoUrl\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"isVerified\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"Boolean\",\"nativeType\":null,\"default\":false,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"status\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"20\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":true},{\"name\":\"deletedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdBy\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"address\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Text\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"contactEmail\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"255\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"contactPhone\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"50\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"emailVerificationOTP\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"emailVerificationExpires\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"creator\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"OrganizationCreator\",\"relationFromFields\":[\"createdBy\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"departments\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Department\",\"nativeType\":null,\"relationName\":\"DepartmentToOrganization\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"teams\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Team\",\"nativeType\":null,\"relationName\":\"OrganizationToTeam\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"projects\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Project\",\"nativeType\":null,\"relationName\":\"OrganizationToProject\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"users\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"OrganizationEmployees\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"reports\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Report\",\"nativeType\":null,\"relationName\":\"OrganizationToReport\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"owners\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"OrganizationOwner\",\"nativeType\":null,\"relationName\":\"OrganizationToOrganizationOwner\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"templates\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"TaskTemplate\",\"nativeType\":null,\"relationName\":\"OrganizationToTaskTemplate\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"activityLogs\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ActivityLog\",\"nativeType\":null,\"relationName\":\"ActivityLogToOrganization\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[[\"name\"]],\"uniqueIndexes\":[{\"name\":null,\"fields\":[\"name\"]}],\"isGenerated\":false},\"OrganizationOwner\":{\"dbName\":\"organization_owners\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"organizationId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"userId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":true},{\"name\":\"organization\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Organization\",\"nativeType\":null,\"relationName\":\"OrganizationToOrganizationOwner\",\"relationFromFields\":[\"organizationId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"user\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"OrganizationOwnerToUser\",\"relationFromFields\":[\"userId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[[\"organizationId\",\"userId\"]],\"uniqueIndexes\":[{\"name\":null,\"fields\":[\"organizationId\",\"userId\"]}],\"isGenerated\":false},\"Department\":{\"dbName\":\"departments\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"name\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"100\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"description\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Text\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"organizationId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"managerId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":true},{\"name\":\"deletedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"organization\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Organization\",\"nativeType\":null,\"relationName\":\"DepartmentToOrganization\",\"relationFromFields\":[\"organizationId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"manager\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"DepartmentManager\",\"relationFromFields\":[\"managerId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"teams\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Team\",\"nativeType\":null,\"relationName\":\"DepartmentToTeam\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"users\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"DepartmentToUser\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"activityLogs\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ActivityLog\",\"nativeType\":null,\"relationName\":\"DepartmentActivityLogs\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"Report\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Report\",\"nativeType\":null,\"relationName\":\"DepartmentToReport\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[[\"organizationId\",\"name\"]],\"uniqueIndexes\":[{\"name\":null,\"fields\":[\"organizationId\",\"name\"]}],\"isGenerated\":false},\"Team\":{\"dbName\":\"teams\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"name\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"100\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"description\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Text\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdBy\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"organizationId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"departmentId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":true},{\"name\":\"deletedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"avatar\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"creator\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"TeamCreator\",\"relationFromFields\":[\"createdBy\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"organization\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Organization\",\"nativeType\":null,\"relationName\":\"OrganizationToTeam\",\"relationFromFields\":[\"organizationId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"department\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Department\",\"nativeType\":null,\"relationName\":\"DepartmentToTeam\",\"relationFromFields\":[\"departmentId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"members\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"TeamMember\",\"nativeType\":null,\"relationName\":\"TeamToTeamMember\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"projects\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Project\",\"nativeType\":null,\"relationName\":\"ProjectToTeam\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"reports\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Report\",\"nativeType\":null,\"relationName\":\"ReportToTeam\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"activityLogs\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ActivityLog\",\"nativeType\":null,\"relationName\":\"ActivityLogToTeam\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[[\"organizationId\",\"name\"]],\"uniqueIndexes\":[{\"name\":null,\"fields\":[\"organizationId\",\"name\"]}],\"isGenerated\":false},\"TeamMember\":{\"dbName\":\"team_members\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"teamId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"userId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"role\",\"kind\":\"enum\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"TeamMemberRole\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"joinedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"isActive\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"Boolean\",\"nativeType\":null,\"default\":true,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"deletedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"team\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Team\",\"nativeType\":null,\"relationName\":\"TeamToTeamMember\",\"relationFromFields\":[\"teamId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"user\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"TeamMemberToUser\",\"relationFromFields\":[\"userId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[[\"teamId\",\"userId\"]],\"uniqueIndexes\":[{\"name\":null,\"fields\":[\"teamId\",\"userId\"]}],\"isGenerated\":false},\"Project\":{\"dbName\":\"projects\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"name\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"100\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"description\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Text\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"status\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"20\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdBy\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"organizationId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"teamId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"startDate\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"endDate\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":true},{\"name\":\"deletedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"priority\",\"kind\":\"enum\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"TaskPriority\",\"nativeType\":null,\"default\":\"MEDIUM\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"progress\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"Float\",\"nativeType\":null,\"default\":0,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"budget\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Float\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"lastModifiedBy\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"creator\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"ProjectCreator\",\"relationFromFields\":[\"createdBy\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"modifier\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"ProjectModifier\",\"relationFromFields\":[\"lastModifiedBy\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"organization\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Organization\",\"nativeType\":null,\"relationName\":\"OrganizationToProject\",\"relationFromFields\":[\"organizationId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"team\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Team\",\"nativeType\":null,\"relationName\":\"ProjectToTeam\",\"relationFromFields\":[\"teamId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"sprints\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Sprint\",\"nativeType\":null,\"relationName\":\"ProjectToSprint\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"tasks\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Task\",\"nativeType\":null,\"relationName\":\"ProjectToTask\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"reports\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Report\",\"nativeType\":null,\"relationName\":\"ProjectToReport\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"activityLogs\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ActivityLog\",\"nativeType\":null,\"relationName\":\"ActivityLogToProject\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"ProjectMember\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ProjectMember\",\"nativeType\":null,\"relationName\":\"ProjectToProjectMember\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[[\"organizationId\",\"name\"]],\"uniqueIndexes\":[{\"name\":null,\"fields\":[\"organizationId\",\"name\"]}],\"isGenerated\":false},\"ProjectMember\":{\"dbName\":\"project_members\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"projectId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"userId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"role\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"50\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"isActive\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"Boolean\",\"nativeType\":null,\"default\":true,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"joinedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"leftAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"deletedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"project\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Project\",\"nativeType\":null,\"relationName\":\"ProjectToProjectMember\",\"relationFromFields\":[\"projectId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"user\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"ProjectMemberToUser\",\"relationFromFields\":[\"userId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[[\"projectId\",\"userId\"]],\"uniqueIndexes\":[{\"name\":null,\"fields\":[\"projectId\",\"userId\"]}],\"isGenerated\":false},\"Sprint\":{\"dbName\":\"sprints\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"projectId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"name\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"100\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"description\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Text\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"startDate\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"endDate\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"status\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"20\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"goal\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Text\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"order\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"Int\",\"nativeType\":null,\"default\":0,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"project\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Project\",\"nativeType\":null,\"relationName\":\"ProjectToSprint\",\"relationFromFields\":[\"projectId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"tasks\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Task\",\"nativeType\":null,\"relationName\":\"SprintToTask\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"activityLogs\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ActivityLog\",\"nativeType\":null,\"relationName\":\"SprintActivityLogs\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[[\"projectId\",\"name\"]],\"uniqueIndexes\":[{\"name\":null,\"fields\":[\"projectId\",\"name\"]}],\"isGenerated\":false},\"Task\":{\"dbName\":\"tasks\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"title\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"200\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"description\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Text\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"priority\",\"kind\":\"enum\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"TaskPriority\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"status\",\"kind\":\"enum\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"TaskStatus\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"rate\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Float\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"projectId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"sprintId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdBy\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"assignedTo\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"dueDate\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":true},{\"name\":\"deletedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"estimatedTime\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Float\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"actualTime\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Float\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"parentId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"order\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"Int\",\"nativeType\":null,\"default\":0,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"labels\",\"kind\":\"scalar\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"lastModifiedBy\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"project\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Project\",\"nativeType\":null,\"relationName\":\"ProjectToTask\",\"relationFromFields\":[\"projectId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"sprint\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Sprint\",\"nativeType\":null,\"relationName\":\"SprintToTask\",\"relationFromFields\":[\"sprintId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"creator\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"TaskCreator\",\"relationFromFields\":[\"createdBy\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"assignee\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"TaskAssignee\",\"relationFromFields\":[\"assignedTo\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"modifier\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"TaskModifier\",\"relationFromFields\":[\"lastModifiedBy\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"attachments\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"TaskAttachment\",\"nativeType\":null,\"relationName\":\"TaskToTaskAttachment\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"comments\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Comment\",\"nativeType\":null,\"relationName\":\"CommentToTask\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"timelogs\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Timelog\",\"nativeType\":null,\"relationName\":\"TaskToTimelog\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"dependencies\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"TaskDependency\",\"nativeType\":null,\"relationName\":\"DependentTask\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"dependentOn\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"TaskDependency\",\"nativeType\":null,\"relationName\":\"MainTask\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"parent\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Task\",\"nativeType\":null,\"relationName\":\"TaskHierarchy\",\"relationFromFields\":[\"parentId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"subtasks\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Task\",\"nativeType\":null,\"relationName\":\"TaskHierarchy\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"activityLogs\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ActivityLog\",\"nativeType\":null,\"relationName\":\"ActivityLogToTask\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},\"TaskAttachment\":{\"dbName\":\"task_attachments\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"taskId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"fileName\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"255\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"fileType\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"50\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"filePath\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"fileSize\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Int\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"uploadedBy\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"storageProvider\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"50\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"storageKey\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"task\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Task\",\"nativeType\":null,\"relationName\":\"TaskToTaskAttachment\",\"relationFromFields\":[\"taskId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"uploader\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"TaskAttachmentToUser\",\"relationFromFields\":[\"uploadedBy\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},\"TaskDependency\":{\"dbName\":\"task_dependencies\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"taskId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"dependentTaskId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"dependencyType\",\"kind\":\"enum\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DependencyType\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"description\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Text\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"task\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Task\",\"nativeType\":null,\"relationName\":\"MainTask\",\"relationFromFields\":[\"taskId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"dependentTask\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Task\",\"nativeType\":null,\"relationName\":\"DependentTask\",\"relationFromFields\":[\"dependentTaskId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[[\"taskId\",\"dependentTaskId\"]],\"uniqueIndexes\":[{\"name\":null,\"fields\":[\"taskId\",\"dependentTaskId\"]}],\"isGenerated\":false},\"TaskTemplate\":{\"dbName\":\"task_templates\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"name\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"100\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"description\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Text\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"priority\",\"kind\":\"enum\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"TaskPriority\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"estimatedTime\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Float\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"organizationId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdBy\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":true},{\"name\":\"checklist\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Json\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"labels\",\"kind\":\"scalar\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"isPublic\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"Boolean\",\"nativeType\":null,\"default\":false,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"organization\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Organization\",\"nativeType\":null,\"relationName\":\"OrganizationToTaskTemplate\",\"relationFromFields\":[\"organizationId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[[\"organizationId\",\"name\"]],\"uniqueIndexes\":[{\"name\":null,\"fields\":[\"organizationId\",\"name\"]}],\"isGenerated\":false},\"Timelog\":{\"dbName\":\"timelogs\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"taskId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"userId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"startTime\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"endTime\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"description\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Text\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"task\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Task\",\"nativeType\":null,\"relationName\":\"TaskToTimelog\",\"relationFromFields\":[\"taskId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"user\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"TimelogToUser\",\"relationFromFields\":[\"userId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},\"Comment\":{\"dbName\":\"comments\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"taskId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"userId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"content\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Text\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":true},{\"name\":\"task\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Task\",\"nativeType\":null,\"relationName\":\"CommentToTask\",\"relationFromFields\":[\"taskId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"user\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"CommentToUser\",\"relationFromFields\":[\"userId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},\"ActivityLog\":{\"dbName\":\"activity_logs\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"entityType\",\"kind\":\"enum\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"EntityType\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"action\",\"kind\":\"enum\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ActionType\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"userId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"organizationId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"departmentId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"projectId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"teamId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"sprintId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"taskId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"details\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Json\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"user\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"ActivityLogToUser\",\"relationFromFields\":[\"userId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"organization\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Organization\",\"nativeType\":null,\"relationName\":\"ActivityLogToOrganization\",\"relationFromFields\":[\"organizationId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"department\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Department\",\"nativeType\":null,\"relationName\":\"DepartmentActivityLogs\",\"relationFromFields\":[\"departmentId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"project\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Project\",\"nativeType\":null,\"relationName\":\"ActivityLogToProject\",\"relationFromFields\":[\"projectId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"team\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Team\",\"nativeType\":null,\"relationName\":\"ActivityLogToTeam\",\"relationFromFields\":[\"teamId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"sprint\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Sprint\",\"nativeType\":null,\"relationName\":\"SprintActivityLogs\",\"relationFromFields\":[\"sprintId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"task\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Task\",\"nativeType\":null,\"relationName\":\"ActivityLogToTask\",\"relationFromFields\":[\"taskId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},\"Notification\":{\"dbName\":\"notifications\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"userId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"content\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Text\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"isRead\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"Boolean\",\"nativeType\":null,\"default\":false,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"type\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"50\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"metadata\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Json\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"deletedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"entityType\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"50\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"entityId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"user\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"NotificationToUser\",\"relationFromFields\":[\"userId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},\"Report\":{\"dbName\":\"reports\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"name\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"100\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"description\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Text\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"reportType\",\"kind\":\"enum\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ReportType\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"format\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"20\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"parameters\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Json\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"filePath\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"generatedBy\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"status\",\"kind\":\"enum\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"ReportStatus\",\"nativeType\":null,\"default\":\"PENDING\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":true},{\"name\":\"lastAccessedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"expiresAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"tags\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Text\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"organizationId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"teamId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"projectId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"departmentId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"userId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"scheduleId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"storageProvider\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"50\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"storageKey\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"generator\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"ReportToUser\",\"relationFromFields\":[\"generatedBy\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"organization\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Organization\",\"nativeType\":null,\"relationName\":\"OrganizationToReport\",\"relationFromFields\":[\"organizationId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"team\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Team\",\"nativeType\":null,\"relationName\":\"ReportToTeam\",\"relationFromFields\":[\"teamId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"project\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Project\",\"nativeType\":null,\"relationName\":\"ProjectToReport\",\"relationFromFields\":[\"projectId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"department\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Department\",\"nativeType\":null,\"relationName\":\"DepartmentToReport\",\"relationFromFields\":[\"departmentId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"user\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"UserReports\",\"relationFromFields\":[\"userId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"reportSchedule\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ReportSchedule\",\"nativeType\":null,\"relationName\":\"ReportToReportSchedule\",\"relationFromFields\":[\"scheduleId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"notifiedUsers\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ReportNotification\",\"nativeType\":null,\"relationName\":\"ReportToReportNotification\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},\"ReportSchedule\":{\"dbName\":\"report_schedules\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"name\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"100\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"cronExpression\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"100\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"isActive\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"Boolean\",\"nativeType\":null,\"default\":true,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdBy\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"reports\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Report\",\"nativeType\":null,\"relationName\":\"ReportToReportSchedule\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},\"ReportNotification\":{\"dbName\":\"report_notifications\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"reportId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"userId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"notified\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"Boolean\",\"nativeType\":null,\"default\":false,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"report\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Report\",\"nativeType\":null,\"relationName\":\"ReportToReportNotification\",\"relationFromFields\":[\"reportId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"user\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"ReportNotificationToUser\",\"relationFromFields\":[\"userId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[[\"reportId\",\"userId\"]],\"uniqueIndexes\":[{\"name\":null,\"fields\":[\"reportId\",\"userId\"]}],\"isGenerated\":false},\"Permission\":{\"dbName\":\"permissions\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"userId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"entityType\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"entityId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"permissions\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Json\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":true},{\"name\":\"user\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"PermissionToUser\",\"relationFromFields\":[\"userId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[[\"userId\",\"entityType\",\"entityId\"]],\"uniqueIndexes\":[{\"name\":null,\"fields\":[\"userId\",\"entityType\",\"entityId\"]}],\"isGenerated\":false}},\"enums\":{\"ReportType\":{\"values\":[{\"name\":\"ORGANIZATION_SUMMARY\",\"dbName\":null},{\"name\":\"ORGANIZATION_ACTIVITY\",\"dbName\":null},{\"name\":\"DEPARTMENT_PERFORMANCE\",\"dbName\":null},{\"name\":\"TEAM_PRODUCTIVITY\",\"dbName\":null},{\"name\":\"PROJECT_STATUS\",\"dbName\":null},{\"name\":\"PROJECT_TIMELINE\",\"dbName\":null},{\"name\":\"TASK_COMPLETION\",\"dbName\":null},{\"name\":\"USER_PERFORMANCE\",\"dbName\":null},{\"name\":\"USER_ACTIVITY\",\"dbName\":null},{\"name\":\"SPRINT_BURNDOWN\",\"dbName\":null},{\"name\":\"CUSTOM\",\"dbName\":null}],\"dbName\":null},\"ReportStatus\":{\"values\":[{\"name\":\"PENDING\",\"dbName\":null},{\"name\":\"GENERATING\",\"dbName\":null},{\"name\":\"COMPLETED\",\"dbName\":null},{\"name\":\"FAILED\",\"dbName\":null},{\"name\":\"EXPIRED\",\"dbName\":null}],\"dbName\":null},\"EntityType\":{\"values\":[{\"name\":\"ORGANIZATION\",\"dbName\":null},{\"name\":\"DEPARTMENT\",\"dbName\":null},{\"name\":\"TEAM\",\"dbName\":null},{\"name\":\"PROJECT\",\"dbName\":null},{\"name\":\"SPRINT\",\"dbName\":null},{\"name\":\"TASK\",\"dbName\":null},{\"name\":\"USER\",\"dbName\":null},{\"name\":\"TASK_ATTACHMENT\",\"dbName\":null},{\"name\":\"TASK_DEPENDENCY\",\"dbName\":null},{\"name\":\"TASK_TEMPLATE\",\"dbName\":null},{\"name\":\"COMMENT\",\"dbName\":null}],\"dbName\":null},\"ActionType\":{\"values\":[{\"name\":\"CREATED\",\"dbName\":null},{\"name\":\"UPDATED\",\"dbName\":null},{\"name\":\"DELETED\",\"dbName\":null},{\"name\":\"RESTORED\",\"dbName\":null},{\"name\":\"COMMENTED\",\"dbName\":null},{\"name\":\"STATUS_CHANGED\",\"dbName\":null},{\"name\":\"ASSIGNED\",\"dbName\":null},{\"name\":\"UNASSIGNED\",\"dbName\":null},{\"name\":\"ATTACHMENT_ADDED\",\"dbName\":null},{\"name\":\"ATTACHMENT_REMOVED\",\"dbName\":null},{\"name\":\"DEPENDENCY_ADDED\",\"dbName\":null},{\"name\":\"DEPENDENCY_REMOVED\",\"dbName\":null},{\"name\":\"MEMBER_ADDED\",\"dbName\":null},{\"name\":\"MEMBER_REMOVED\",\"dbName\":null},{\"name\":\"MEMBER_ROLE_CHANGED\",\"dbName\":null},{\"name\":\"SPRINT_STARTED\",\"dbName\":null},{\"name\":\"SPRINT_COMPLETED\",\"dbName\":null},{\"name\":\"TASK_MOVED\",\"dbName\":null},{\"name\":\"LOGGED_TIME\",\"dbName\":null},{\"name\":\"VERIFIED\",\"dbName\":null},{\"name\":\"LOGO_UPDATED\",\"dbName\":null},{\"name\":\"SETTINGS_CHANGED\",\"dbName\":null},{\"name\":\"SUBSCRIPTION_CHANGED\",\"dbName\":null},{\"name\":\"TEAM_CREATED\",\"dbName\":null},{\"name\":\"TEAM_DELETED\",\"dbName\":null},{\"name\":\"DEPARTMENT_CREATED\",\"dbName\":null},{\"name\":\"DEPARTMENT_DELETED\",\"dbName\":null},{\"name\":\"OWNER_ADDED\",\"dbName\":null},{\"name\":\"OWNER_REMOVED\",\"dbName\":null}],\"dbName\":null},\"TaskPriority\":{\"values\":[{\"name\":\"LOW\",\"dbName\":null},{\"name\":\"MEDIUM\",\"dbName\":null},{\"name\":\"HIGH\",\"dbName\":null}],\"dbName\":null},\"TaskStatus\":{\"values\":[{\"name\":\"TODO\",\"dbName\":null},{\"name\":\"IN_PROGRESS\",\"dbName\":null},{\"name\":\"REVIEW\",\"dbName\":null},{\"name\":\"DONE\",\"dbName\":null}],\"dbName\":null},\"DependencyType\":{\"values\":[{\"name\":\"BLOCKS\",\"dbName\":null},{\"name\":\"REQUIRES\",\"dbName\":null},{\"name\":\"RELATES_TO\",\"dbName\":null},{\"name\":\"DUPLICATES\",\"dbName\":null}],\"dbName\":null},\"TeamMemberRole\":{\"values\":[{\"name\":\"MEMBER\",\"dbName\":null},{\"name\":\"LEADER\",\"dbName\":null},{\"name\":\"VIEWER\",\"dbName\":null}],\"dbName\":null},\"UserRole\":{\"values\":[{\"name\":\"OWNER\",\"dbName\":null},{\"name\":\"MANAGER\",\"dbName\":null},{\"name\":\"ADMIN\",\"dbName\":null},{\"name\":\"MEMBER\",\"dbName\":null},{\"name\":\"GUEST\",\"dbName\":null}],\"dbName\":null}},\"types\":{}}") +config.runtimeDataModel = JSON.parse("{\"models\":{\"User\":{\"dbName\":\"users\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"email\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":true,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"255\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"username\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":true,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"50\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"password\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"255\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"firebaseUid\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":true,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"firstName\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"100\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"lastName\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"100\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"role\",\"kind\":\"enum\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"UserRole\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"profilePic\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"departmentId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"organizationId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"isOwner\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"Boolean\",\"nativeType\":null,\"default\":false,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":true},{\"name\":\"isActive\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"Boolean\",\"nativeType\":null,\"default\":true,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"deletedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"phoneNumber\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"255\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"jobTitle\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"100\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"timezone\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"50\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"bio\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Text\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"preferences\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Json\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"emailVerificationToken\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"emailVerificationExpires\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"passwordResetToken\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"passwordResetExpires\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"refreshToken\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"lastLogin\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"lastLogout\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"department\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Department\",\"nativeType\":null,\"relationName\":\"DepartmentToUser\",\"relationFromFields\":[\"departmentId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"organization\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Organization\",\"nativeType\":null,\"relationName\":\"OrganizationEmployees\",\"relationFromFields\":[\"organizationId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdOrganizations\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Organization\",\"nativeType\":null,\"relationName\":\"OrganizationCreator\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"ownedOrganizations\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"OrganizationOwner\",\"nativeType\":null,\"relationName\":\"OrganizationOwnerToUser\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"managedDepartments\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Department\",\"nativeType\":null,\"relationName\":\"DepartmentManager\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdTeams\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Team\",\"nativeType\":null,\"relationName\":\"TeamCreator\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"teamMemberships\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"TeamMember\",\"nativeType\":null,\"relationName\":\"TeamMemberToUser\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"projectMemberships\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ProjectMember\",\"nativeType\":null,\"relationName\":\"ProjectMemberToUser\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdProjects\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Project\",\"nativeType\":null,\"relationName\":\"ProjectCreator\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"modifiedProjects\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Project\",\"nativeType\":null,\"relationName\":\"ProjectModifier\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdTasks\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Task\",\"nativeType\":null,\"relationName\":\"TaskCreator\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"assignedTasks\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Task\",\"nativeType\":null,\"relationName\":\"TaskAssignee\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"modifiedTasks\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Task\",\"nativeType\":null,\"relationName\":\"TaskModifier\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"notifications\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Notification\",\"nativeType\":null,\"relationName\":\"NotificationToUser\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"timelogs\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Timelog\",\"nativeType\":null,\"relationName\":\"TimelogToUser\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"comments\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Comment\",\"nativeType\":null,\"relationName\":\"CommentToUser\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"taskAttachments\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"TaskAttachment\",\"nativeType\":null,\"relationName\":\"TaskAttachmentToUser\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"generatedReports\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Report\",\"nativeType\":null,\"relationName\":\"ReportToUser\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"userReports\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Report\",\"nativeType\":null,\"relationName\":\"UserReports\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"permissions\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Permission\",\"nativeType\":null,\"relationName\":\"PermissionToUser\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"activityLogs\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ActivityLog\",\"nativeType\":null,\"relationName\":\"ActivityLogToUser\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"ReportNotification\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ReportNotification\",\"nativeType\":null,\"relationName\":\"ReportNotificationToUser\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"chatParticipations\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ChatParticipant\",\"nativeType\":null,\"relationName\":\"ChatParticipantToUser\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"sentMessages\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ChatMessage\",\"nativeType\":null,\"relationName\":\"ChatMessageToUser\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"messageReactions\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"MessageReaction\",\"nativeType\":null,\"relationName\":\"MessageReactionToUser\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"pinnedMessages\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"PinnedMessage\",\"nativeType\":null,\"relationName\":\"PinnedMessageToUser\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"hostedSessions\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"VideoConferenceSession\",\"nativeType\":null,\"relationName\":\"SessionHost\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"videoParticipations\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"VideoParticipant\",\"nativeType\":null,\"relationName\":\"UserToVideoParticipant\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"videoRecordings\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"VideoRecording\",\"nativeType\":null,\"relationName\":\"UserToVideoRecording\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},\"Organization\":{\"dbName\":\"organizations\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"name\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":true,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"100\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"description\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Text\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"industry\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"50\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"sizeRange\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"50\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"website\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"255\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"logoUrl\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"isVerified\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"Boolean\",\"nativeType\":null,\"default\":false,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"status\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"20\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":true},{\"name\":\"deletedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdBy\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"address\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Text\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"contactEmail\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"255\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"contactPhone\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"50\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"emailVerificationOTP\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"emailVerificationExpires\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"creator\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"OrganizationCreator\",\"relationFromFields\":[\"createdBy\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"departments\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Department\",\"nativeType\":null,\"relationName\":\"DepartmentToOrganization\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"teams\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Team\",\"nativeType\":null,\"relationName\":\"OrganizationToTeam\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"projects\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Project\",\"nativeType\":null,\"relationName\":\"OrganizationToProject\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"users\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"OrganizationEmployees\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"reports\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Report\",\"nativeType\":null,\"relationName\":\"OrganizationToReport\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"owners\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"OrganizationOwner\",\"nativeType\":null,\"relationName\":\"OrganizationToOrganizationOwner\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"templates\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"TaskTemplate\",\"nativeType\":null,\"relationName\":\"OrganizationToTaskTemplate\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"activityLogs\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ActivityLog\",\"nativeType\":null,\"relationName\":\"ActivityLogToOrganization\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[[\"name\"]],\"uniqueIndexes\":[{\"name\":null,\"fields\":[\"name\"]}],\"isGenerated\":false},\"OrganizationOwner\":{\"dbName\":\"organization_owners\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"organizationId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"userId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":true},{\"name\":\"organization\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Organization\",\"nativeType\":null,\"relationName\":\"OrganizationToOrganizationOwner\",\"relationFromFields\":[\"organizationId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"user\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"OrganizationOwnerToUser\",\"relationFromFields\":[\"userId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[[\"organizationId\",\"userId\"]],\"uniqueIndexes\":[{\"name\":null,\"fields\":[\"organizationId\",\"userId\"]}],\"isGenerated\":false},\"Department\":{\"dbName\":\"departments\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"name\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"100\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"description\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Text\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"organizationId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"managerId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":true},{\"name\":\"deletedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"organization\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Organization\",\"nativeType\":null,\"relationName\":\"DepartmentToOrganization\",\"relationFromFields\":[\"organizationId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"manager\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"DepartmentManager\",\"relationFromFields\":[\"managerId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"teams\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Team\",\"nativeType\":null,\"relationName\":\"DepartmentToTeam\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"users\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"DepartmentToUser\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"activityLogs\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ActivityLog\",\"nativeType\":null,\"relationName\":\"DepartmentActivityLogs\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"Report\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Report\",\"nativeType\":null,\"relationName\":\"DepartmentToReport\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[[\"organizationId\",\"name\"]],\"uniqueIndexes\":[{\"name\":null,\"fields\":[\"organizationId\",\"name\"]}],\"isGenerated\":false},\"Team\":{\"dbName\":\"teams\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"name\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"100\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"description\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Text\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdBy\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"organizationId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"departmentId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":true},{\"name\":\"deletedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"avatar\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"creator\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"TeamCreator\",\"relationFromFields\":[\"createdBy\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"organization\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Organization\",\"nativeType\":null,\"relationName\":\"OrganizationToTeam\",\"relationFromFields\":[\"organizationId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"department\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Department\",\"nativeType\":null,\"relationName\":\"DepartmentToTeam\",\"relationFromFields\":[\"departmentId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"members\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"TeamMember\",\"nativeType\":null,\"relationName\":\"TeamToTeamMember\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"projects\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Project\",\"nativeType\":null,\"relationName\":\"ProjectToTeam\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"reports\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Report\",\"nativeType\":null,\"relationName\":\"ReportToTeam\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"activityLogs\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ActivityLog\",\"nativeType\":null,\"relationName\":\"ActivityLogToTeam\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[[\"organizationId\",\"name\"]],\"uniqueIndexes\":[{\"name\":null,\"fields\":[\"organizationId\",\"name\"]}],\"isGenerated\":false},\"TeamMember\":{\"dbName\":\"team_members\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"teamId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"userId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"role\",\"kind\":\"enum\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"TeamMemberRole\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"joinedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"isActive\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"Boolean\",\"nativeType\":null,\"default\":true,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"deletedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"team\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Team\",\"nativeType\":null,\"relationName\":\"TeamToTeamMember\",\"relationFromFields\":[\"teamId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"user\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"TeamMemberToUser\",\"relationFromFields\":[\"userId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[[\"teamId\",\"userId\"]],\"uniqueIndexes\":[{\"name\":null,\"fields\":[\"teamId\",\"userId\"]}],\"isGenerated\":false},\"Project\":{\"dbName\":\"projects\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"name\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"100\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"description\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Text\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"status\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"20\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdBy\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"organizationId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"teamId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"startDate\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"endDate\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":true},{\"name\":\"deletedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"priority\",\"kind\":\"enum\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"TaskPriority\",\"nativeType\":null,\"default\":\"MEDIUM\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"progress\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"Float\",\"nativeType\":null,\"default\":0,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"budget\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Float\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"lastModifiedBy\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"creator\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"ProjectCreator\",\"relationFromFields\":[\"createdBy\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"modifier\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"ProjectModifier\",\"relationFromFields\":[\"lastModifiedBy\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"organization\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Organization\",\"nativeType\":null,\"relationName\":\"OrganizationToProject\",\"relationFromFields\":[\"organizationId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"team\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Team\",\"nativeType\":null,\"relationName\":\"ProjectToTeam\",\"relationFromFields\":[\"teamId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"sprints\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Sprint\",\"nativeType\":null,\"relationName\":\"ProjectToSprint\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"tasks\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Task\",\"nativeType\":null,\"relationName\":\"ProjectToTask\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"reports\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Report\",\"nativeType\":null,\"relationName\":\"ProjectToReport\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"activityLogs\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ActivityLog\",\"nativeType\":null,\"relationName\":\"ActivityLogToProject\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"ProjectMember\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ProjectMember\",\"nativeType\":null,\"relationName\":\"ProjectToProjectMember\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[[\"organizationId\",\"name\"]],\"uniqueIndexes\":[{\"name\":null,\"fields\":[\"organizationId\",\"name\"]}],\"isGenerated\":false},\"ProjectMember\":{\"dbName\":\"project_members\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"projectId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"userId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"role\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"50\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"isActive\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"Boolean\",\"nativeType\":null,\"default\":true,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"joinedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"leftAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"deletedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"project\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Project\",\"nativeType\":null,\"relationName\":\"ProjectToProjectMember\",\"relationFromFields\":[\"projectId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"user\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"ProjectMemberToUser\",\"relationFromFields\":[\"userId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[[\"projectId\",\"userId\"]],\"uniqueIndexes\":[{\"name\":null,\"fields\":[\"projectId\",\"userId\"]}],\"isGenerated\":false},\"Sprint\":{\"dbName\":\"sprints\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"projectId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"name\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"100\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"description\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Text\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"startDate\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"endDate\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"status\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"20\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"goal\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Text\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"order\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"Int\",\"nativeType\":null,\"default\":0,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"project\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Project\",\"nativeType\":null,\"relationName\":\"ProjectToSprint\",\"relationFromFields\":[\"projectId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"tasks\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Task\",\"nativeType\":null,\"relationName\":\"SprintToTask\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"activityLogs\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ActivityLog\",\"nativeType\":null,\"relationName\":\"SprintActivityLogs\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[[\"projectId\",\"name\"]],\"uniqueIndexes\":[{\"name\":null,\"fields\":[\"projectId\",\"name\"]}],\"isGenerated\":false},\"Task\":{\"dbName\":\"tasks\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"title\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"200\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"description\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Text\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"priority\",\"kind\":\"enum\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"TaskPriority\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"status\",\"kind\":\"enum\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"TaskStatus\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"rate\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Float\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"projectId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"sprintId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdBy\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"assignedTo\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"dueDate\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":true},{\"name\":\"deletedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"estimatedTime\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Float\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"actualTime\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Float\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"parentId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"order\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"Int\",\"nativeType\":null,\"default\":0,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"labels\",\"kind\":\"scalar\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"lastModifiedBy\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"project\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Project\",\"nativeType\":null,\"relationName\":\"ProjectToTask\",\"relationFromFields\":[\"projectId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"sprint\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Sprint\",\"nativeType\":null,\"relationName\":\"SprintToTask\",\"relationFromFields\":[\"sprintId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"creator\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"TaskCreator\",\"relationFromFields\":[\"createdBy\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"assignee\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"TaskAssignee\",\"relationFromFields\":[\"assignedTo\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"modifier\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"TaskModifier\",\"relationFromFields\":[\"lastModifiedBy\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"attachments\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"TaskAttachment\",\"nativeType\":null,\"relationName\":\"TaskToTaskAttachment\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"comments\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Comment\",\"nativeType\":null,\"relationName\":\"CommentToTask\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"timelogs\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Timelog\",\"nativeType\":null,\"relationName\":\"TaskToTimelog\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"dependencies\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"TaskDependency\",\"nativeType\":null,\"relationName\":\"DependentTask\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"dependentOn\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"TaskDependency\",\"nativeType\":null,\"relationName\":\"MainTask\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"parent\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Task\",\"nativeType\":null,\"relationName\":\"TaskHierarchy\",\"relationFromFields\":[\"parentId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"subtasks\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Task\",\"nativeType\":null,\"relationName\":\"TaskHierarchy\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"activityLogs\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ActivityLog\",\"nativeType\":null,\"relationName\":\"ActivityLogToTask\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},\"TaskAttachment\":{\"dbName\":\"task_attachments\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"taskId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"fileName\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"255\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"fileType\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"50\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"filePath\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"fileSize\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Int\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"uploadedBy\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"storageProvider\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"50\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"storageKey\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"task\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Task\",\"nativeType\":null,\"relationName\":\"TaskToTaskAttachment\",\"relationFromFields\":[\"taskId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"uploader\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"TaskAttachmentToUser\",\"relationFromFields\":[\"uploadedBy\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},\"TaskDependency\":{\"dbName\":\"task_dependencies\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"taskId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"dependentTaskId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"dependencyType\",\"kind\":\"enum\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DependencyType\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"description\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Text\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"task\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Task\",\"nativeType\":null,\"relationName\":\"MainTask\",\"relationFromFields\":[\"taskId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"dependentTask\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Task\",\"nativeType\":null,\"relationName\":\"DependentTask\",\"relationFromFields\":[\"dependentTaskId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[[\"taskId\",\"dependentTaskId\"]],\"uniqueIndexes\":[{\"name\":null,\"fields\":[\"taskId\",\"dependentTaskId\"]}],\"isGenerated\":false},\"TaskTemplate\":{\"dbName\":\"task_templates\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"name\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"100\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"description\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Text\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"priority\",\"kind\":\"enum\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"TaskPriority\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"estimatedTime\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Float\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"organizationId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdBy\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":true},{\"name\":\"checklist\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Json\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"labels\",\"kind\":\"scalar\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"isPublic\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"Boolean\",\"nativeType\":null,\"default\":false,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"organization\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Organization\",\"nativeType\":null,\"relationName\":\"OrganizationToTaskTemplate\",\"relationFromFields\":[\"organizationId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[[\"organizationId\",\"name\"]],\"uniqueIndexes\":[{\"name\":null,\"fields\":[\"organizationId\",\"name\"]}],\"isGenerated\":false},\"Timelog\":{\"dbName\":\"timelogs\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"taskId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"userId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"startTime\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"endTime\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"description\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Text\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"task\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Task\",\"nativeType\":null,\"relationName\":\"TaskToTimelog\",\"relationFromFields\":[\"taskId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"user\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"TimelogToUser\",\"relationFromFields\":[\"userId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},\"Comment\":{\"dbName\":\"comments\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"taskId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"userId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"content\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Text\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":true},{\"name\":\"task\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Task\",\"nativeType\":null,\"relationName\":\"CommentToTask\",\"relationFromFields\":[\"taskId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"user\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"CommentToUser\",\"relationFromFields\":[\"userId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},\"ActivityLog\":{\"dbName\":\"activity_logs\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"entityType\",\"kind\":\"enum\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"EntityType\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"action\",\"kind\":\"enum\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ActionType\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"userId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"organizationId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"departmentId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"projectId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"teamId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"sprintId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"taskId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"details\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Json\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"user\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"ActivityLogToUser\",\"relationFromFields\":[\"userId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"organization\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Organization\",\"nativeType\":null,\"relationName\":\"ActivityLogToOrganization\",\"relationFromFields\":[\"organizationId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"department\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Department\",\"nativeType\":null,\"relationName\":\"DepartmentActivityLogs\",\"relationFromFields\":[\"departmentId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"project\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Project\",\"nativeType\":null,\"relationName\":\"ActivityLogToProject\",\"relationFromFields\":[\"projectId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"team\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Team\",\"nativeType\":null,\"relationName\":\"ActivityLogToTeam\",\"relationFromFields\":[\"teamId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"sprint\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Sprint\",\"nativeType\":null,\"relationName\":\"SprintActivityLogs\",\"relationFromFields\":[\"sprintId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"task\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Task\",\"nativeType\":null,\"relationName\":\"ActivityLogToTask\",\"relationFromFields\":[\"taskId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},\"Notification\":{\"dbName\":\"notifications\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"userId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"content\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Text\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"isRead\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"Boolean\",\"nativeType\":null,\"default\":false,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"type\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"50\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"metadata\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Json\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"deletedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"entityType\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"50\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"entityId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"user\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"NotificationToUser\",\"relationFromFields\":[\"userId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},\"Report\":{\"dbName\":\"reports\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"name\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"100\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"description\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Text\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"reportType\",\"kind\":\"enum\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ReportType\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"format\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"20\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"parameters\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Json\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"filePath\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"generatedBy\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"status\",\"kind\":\"enum\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"ReportStatus\",\"nativeType\":null,\"default\":\"PENDING\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":true},{\"name\":\"lastAccessedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"expiresAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"tags\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Text\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"organizationId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"teamId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"projectId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"departmentId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"userId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"scheduleId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"storageProvider\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"50\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"storageKey\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"generator\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"ReportToUser\",\"relationFromFields\":[\"generatedBy\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"organization\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Organization\",\"nativeType\":null,\"relationName\":\"OrganizationToReport\",\"relationFromFields\":[\"organizationId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"team\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Team\",\"nativeType\":null,\"relationName\":\"ReportToTeam\",\"relationFromFields\":[\"teamId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"project\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Project\",\"nativeType\":null,\"relationName\":\"ProjectToReport\",\"relationFromFields\":[\"projectId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"department\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Department\",\"nativeType\":null,\"relationName\":\"DepartmentToReport\",\"relationFromFields\":[\"departmentId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"user\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"UserReports\",\"relationFromFields\":[\"userId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"reportSchedule\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ReportSchedule\",\"nativeType\":null,\"relationName\":\"ReportToReportSchedule\",\"relationFromFields\":[\"scheduleId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"notifiedUsers\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ReportNotification\",\"nativeType\":null,\"relationName\":\"ReportToReportNotification\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},\"ReportSchedule\":{\"dbName\":\"report_schedules\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"name\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"100\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"cronExpression\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"100\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"isActive\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"Boolean\",\"nativeType\":null,\"default\":true,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdBy\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"reports\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Report\",\"nativeType\":null,\"relationName\":\"ReportToReportSchedule\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},\"ReportNotification\":{\"dbName\":\"report_notifications\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"reportId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"userId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"notified\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"Boolean\",\"nativeType\":null,\"default\":false,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"report\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Report\",\"nativeType\":null,\"relationName\":\"ReportToReportNotification\",\"relationFromFields\":[\"reportId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"user\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"ReportNotificationToUser\",\"relationFromFields\":[\"userId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[[\"reportId\",\"userId\"]],\"uniqueIndexes\":[{\"name\":null,\"fields\":[\"reportId\",\"userId\"]}],\"isGenerated\":false},\"Permission\":{\"dbName\":\"permissions\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"userId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"entityType\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"entityId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"permissions\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Json\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":true},{\"name\":\"user\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"PermissionToUser\",\"relationFromFields\":[\"userId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[[\"userId\",\"entityType\",\"entityId\"]],\"uniqueIndexes\":[{\"name\":null,\"fields\":[\"userId\",\"entityType\",\"entityId\"]}],\"isGenerated\":false},\"ChatRoom\":{\"dbName\":\"chat_rooms\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"name\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"100\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"description\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Text\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"type\",\"kind\":\"enum\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ChatRoomType\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"entityType\",\"kind\":\"enum\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"EntityType\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"entityId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":true},{\"name\":\"isActive\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"Boolean\",\"nativeType\":null,\"default\":true,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"isArchived\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"Boolean\",\"nativeType\":null,\"default\":false,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"archivedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"avatarUrl\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"lastMessageAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"messages\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ChatMessage\",\"nativeType\":null,\"relationName\":\"ChatMessageToChatRoom\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"participants\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ChatParticipant\",\"nativeType\":null,\"relationName\":\"ChatParticipantToChatRoom\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"pinnedMessages\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"PinnedMessage\",\"nativeType\":null,\"relationName\":\"ChatRoomToPinnedMessage\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"videoSessions\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"VideoConferenceSession\",\"nativeType\":null,\"relationName\":\"ChatRoomToVideoConferenceSession\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[[\"entityType\",\"entityId\"]],\"uniqueIndexes\":[{\"name\":null,\"fields\":[\"entityType\",\"entityId\"]}],\"isGenerated\":false},\"ChatParticipant\":{\"dbName\":\"chat_participants\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"chatRoomId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"userId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"joinedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"lastReadMessageId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"lastReadAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"isAdmin\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"Boolean\",\"nativeType\":null,\"default\":false,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"notificationsOn\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"Boolean\",\"nativeType\":null,\"default\":true,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"status\",\"kind\":\"enum\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"ParticipantStatus\",\"nativeType\":null,\"default\":\"ACTIVE\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"chatRoom\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ChatRoom\",\"nativeType\":null,\"relationName\":\"ChatParticipantToChatRoom\",\"relationFromFields\":[\"chatRoomId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"user\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"ChatParticipantToUser\",\"relationFromFields\":[\"userId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"lastReadMessage\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ChatMessage\",\"nativeType\":null,\"relationName\":\"LastReadMessage\",\"relationFromFields\":[\"lastReadMessageId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[[\"chatRoomId\",\"userId\"]],\"uniqueIndexes\":[{\"name\":null,\"fields\":[\"chatRoomId\",\"userId\"]}],\"isGenerated\":false},\"ChatMessage\":{\"dbName\":\"chat_messages\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"chatRoomId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"senderId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"content\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Text\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"contentType\",\"kind\":\"enum\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"MessageContentType\",\"nativeType\":null,\"default\":\"TEXT\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":true},{\"name\":\"isEdited\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"Boolean\",\"nativeType\":null,\"default\":false,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"isDeleted\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"Boolean\",\"nativeType\":null,\"default\":false,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"deletedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"replyToId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"metadata\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Json\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"chatRoom\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ChatRoom\",\"nativeType\":null,\"relationName\":\"ChatMessageToChatRoom\",\"relationFromFields\":[\"chatRoomId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"sender\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"ChatMessageToUser\",\"relationFromFields\":[\"senderId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"replyTo\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ChatMessage\",\"nativeType\":null,\"relationName\":\"MessageReplies\",\"relationFromFields\":[\"replyToId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"replies\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ChatMessage\",\"nativeType\":null,\"relationName\":\"MessageReplies\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"attachments\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"MessageAttachment\",\"nativeType\":null,\"relationName\":\"ChatMessageToMessageAttachment\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"reactions\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"MessageReaction\",\"nativeType\":null,\"relationName\":\"ChatMessageToMessageReaction\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"readBy\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ChatParticipant\",\"nativeType\":null,\"relationName\":\"LastReadMessage\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"pinnedIn\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"PinnedMessage\",\"nativeType\":null,\"relationName\":\"ChatMessageToPinnedMessage\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},\"MessageAttachment\":{\"dbName\":\"message_attachments\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"messageId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"fileName\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"255\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"fileType\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"50\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"filePath\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"fileSize\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Int\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"thumbnailPath\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"storageProvider\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"50\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"storageKey\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"message\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ChatMessage\",\"nativeType\":null,\"relationName\":\"ChatMessageToMessageAttachment\",\"relationFromFields\":[\"messageId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},\"MessageReaction\":{\"dbName\":\"message_reactions\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"messageId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"userId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"reaction\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"50\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"message\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ChatMessage\",\"nativeType\":null,\"relationName\":\"ChatMessageToMessageReaction\",\"relationFromFields\":[\"messageId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"user\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"MessageReactionToUser\",\"relationFromFields\":[\"userId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[[\"messageId\",\"userId\",\"reaction\"]],\"uniqueIndexes\":[{\"name\":null,\"fields\":[\"messageId\",\"userId\",\"reaction\"]}],\"isGenerated\":false},\"PinnedMessage\":{\"dbName\":\"pinned_messages\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"chatRoomId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"messageId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"pinnedBy\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"pinnedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"chatRoom\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ChatRoom\",\"nativeType\":null,\"relationName\":\"ChatRoomToPinnedMessage\",\"relationFromFields\":[\"chatRoomId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"message\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ChatMessage\",\"nativeType\":null,\"relationName\":\"ChatMessageToPinnedMessage\",\"relationFromFields\":[\"messageId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"user\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"PinnedMessageToUser\",\"relationFromFields\":[\"pinnedBy\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[[\"chatRoomId\",\"messageId\"]],\"uniqueIndexes\":[{\"name\":null,\"fields\":[\"chatRoomId\",\"messageId\"]}],\"isGenerated\":false},\"VideoConferenceSession\":{\"dbName\":\"video_conference_sessions\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"chatRoomId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"title\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"100\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"description\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Text\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"startTime\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"endTime\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"status\",\"kind\":\"enum\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"SessionStatus\",\"nativeType\":null,\"default\":\"ACTIVE\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"hostId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"meetingUrl\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":true,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"recordingUrl\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"settings\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Json\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"chatRoom\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ChatRoom\",\"nativeType\":null,\"relationName\":\"ChatRoomToVideoConferenceSession\",\"relationFromFields\":[\"chatRoomId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"host\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"SessionHost\",\"relationFromFields\":[\"hostId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"participants\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"VideoParticipant\",\"nativeType\":null,\"relationName\":\"VideoConferenceSessionToVideoParticipant\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"recordings\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"VideoRecording\",\"nativeType\":null,\"relationName\":\"VideoConferenceSessionToVideoRecording\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},\"VideoParticipant\":{\"dbName\":\"video_participants\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"sessionId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"userId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"joinedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"leftAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"role\",\"kind\":\"enum\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"VideoParticipantRole\",\"nativeType\":null,\"default\":\"ATTENDEE\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"deviceInfo\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Json\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"connectionQuality\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"20\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"hasVideo\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"Boolean\",\"nativeType\":null,\"default\":true,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"hasAudio\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"Boolean\",\"nativeType\":null,\"default\":true,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"session\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"VideoConferenceSession\",\"nativeType\":null,\"relationName\":\"VideoConferenceSessionToVideoParticipant\",\"relationFromFields\":[\"sessionId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"user\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"UserToVideoParticipant\",\"relationFromFields\":[\"userId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[[\"sessionId\",\"userId\"]],\"uniqueIndexes\":[{\"name\":null,\"fields\":[\"sessionId\",\"userId\"]}],\"isGenerated\":false},\"VideoRecording\":{\"dbName\":\"video_recordings\",\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"sessionId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"fileName\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"255\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"fileSize\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Int\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"duration\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Int\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"recordedBy\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"Uuid\",[]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"startTime\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"endTime\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"storageProvider\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":[\"VarChar\",[\"50\"]],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"storageKey\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"processingStatus\",\"kind\":\"enum\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"ProcessingStatus\",\"nativeType\":null,\"default\":\"PROCESSING\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"visibility\",\"kind\":\"enum\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"RecordingVisibility\",\"nativeType\":null,\"default\":\"PARTICIPANTS_ONLY\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"session\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"VideoConferenceSession\",\"nativeType\":null,\"relationName\":\"VideoConferenceSessionToVideoRecording\",\"relationFromFields\":[\"sessionId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"recorder\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"UserToVideoRecording\",\"relationFromFields\":[\"recordedBy\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false}},\"enums\":{\"ReportType\":{\"values\":[{\"name\":\"ORGANIZATION_SUMMARY\",\"dbName\":null},{\"name\":\"ORGANIZATION_ACTIVITY\",\"dbName\":null},{\"name\":\"DEPARTMENT_PERFORMANCE\",\"dbName\":null},{\"name\":\"TEAM_PRODUCTIVITY\",\"dbName\":null},{\"name\":\"PROJECT_STATUS\",\"dbName\":null},{\"name\":\"PROJECT_TIMELINE\",\"dbName\":null},{\"name\":\"TASK_COMPLETION\",\"dbName\":null},{\"name\":\"USER_PERFORMANCE\",\"dbName\":null},{\"name\":\"USER_ACTIVITY\",\"dbName\":null},{\"name\":\"SPRINT_BURNDOWN\",\"dbName\":null},{\"name\":\"CUSTOM\",\"dbName\":null}],\"dbName\":null},\"ReportStatus\":{\"values\":[{\"name\":\"PENDING\",\"dbName\":null},{\"name\":\"GENERATING\",\"dbName\":null},{\"name\":\"COMPLETED\",\"dbName\":null},{\"name\":\"FAILED\",\"dbName\":null},{\"name\":\"EXPIRED\",\"dbName\":null}],\"dbName\":null},\"EntityType\":{\"values\":[{\"name\":\"ORGANIZATION\",\"dbName\":null},{\"name\":\"DEPARTMENT\",\"dbName\":null},{\"name\":\"TEAM\",\"dbName\":null},{\"name\":\"PROJECT\",\"dbName\":null},{\"name\":\"SPRINT\",\"dbName\":null},{\"name\":\"TASK\",\"dbName\":null},{\"name\":\"USER\",\"dbName\":null},{\"name\":\"TASK_ATTACHMENT\",\"dbName\":null},{\"name\":\"TASK_DEPENDENCY\",\"dbName\":null},{\"name\":\"TASK_TEMPLATE\",\"dbName\":null},{\"name\":\"COMMENT\",\"dbName\":null}],\"dbName\":null},\"ActionType\":{\"values\":[{\"name\":\"CREATED\",\"dbName\":null},{\"name\":\"UPDATED\",\"dbName\":null},{\"name\":\"DELETED\",\"dbName\":null},{\"name\":\"RESTORED\",\"dbName\":null},{\"name\":\"COMMENTED\",\"dbName\":null},{\"name\":\"STATUS_CHANGED\",\"dbName\":null},{\"name\":\"ASSIGNED\",\"dbName\":null},{\"name\":\"UNASSIGNED\",\"dbName\":null},{\"name\":\"ATTACHMENT_ADDED\",\"dbName\":null},{\"name\":\"ATTACHMENT_REMOVED\",\"dbName\":null},{\"name\":\"DEPENDENCY_ADDED\",\"dbName\":null},{\"name\":\"DEPENDENCY_REMOVED\",\"dbName\":null},{\"name\":\"MEMBER_ADDED\",\"dbName\":null},{\"name\":\"MEMBER_REMOVED\",\"dbName\":null},{\"name\":\"MEMBER_ROLE_CHANGED\",\"dbName\":null},{\"name\":\"SPRINT_STARTED\",\"dbName\":null},{\"name\":\"SPRINT_COMPLETED\",\"dbName\":null},{\"name\":\"TASK_MOVED\",\"dbName\":null},{\"name\":\"LOGGED_TIME\",\"dbName\":null},{\"name\":\"VERIFIED\",\"dbName\":null},{\"name\":\"LOGO_UPDATED\",\"dbName\":null},{\"name\":\"SETTINGS_CHANGED\",\"dbName\":null},{\"name\":\"SUBSCRIPTION_CHANGED\",\"dbName\":null},{\"name\":\"TEAM_CREATED\",\"dbName\":null},{\"name\":\"TEAM_DELETED\",\"dbName\":null},{\"name\":\"DEPARTMENT_CREATED\",\"dbName\":null},{\"name\":\"DEPARTMENT_DELETED\",\"dbName\":null},{\"name\":\"OWNER_ADDED\",\"dbName\":null},{\"name\":\"OWNER_REMOVED\",\"dbName\":null}],\"dbName\":null},\"TaskPriority\":{\"values\":[{\"name\":\"LOW\",\"dbName\":null},{\"name\":\"MEDIUM\",\"dbName\":null},{\"name\":\"HIGH\",\"dbName\":null}],\"dbName\":null},\"TaskStatus\":{\"values\":[{\"name\":\"TODO\",\"dbName\":null},{\"name\":\"IN_PROGRESS\",\"dbName\":null},{\"name\":\"REVIEW\",\"dbName\":null},{\"name\":\"DONE\",\"dbName\":null}],\"dbName\":null},\"DependencyType\":{\"values\":[{\"name\":\"BLOCKS\",\"dbName\":null},{\"name\":\"REQUIRES\",\"dbName\":null},{\"name\":\"RELATES_TO\",\"dbName\":null},{\"name\":\"DUPLICATES\",\"dbName\":null}],\"dbName\":null},\"TeamMemberRole\":{\"values\":[{\"name\":\"MEMBER\",\"dbName\":null},{\"name\":\"LEADER\",\"dbName\":null},{\"name\":\"VIEWER\",\"dbName\":null}],\"dbName\":null},\"UserRole\":{\"values\":[{\"name\":\"OWNER\",\"dbName\":null},{\"name\":\"MANAGER\",\"dbName\":null},{\"name\":\"ADMIN\",\"dbName\":null},{\"name\":\"MEMBER\",\"dbName\":null},{\"name\":\"GUEST\",\"dbName\":null}],\"dbName\":null},\"ChatRoomType\":{\"values\":[{\"name\":\"ORGANIZATION\",\"dbName\":null},{\"name\":\"DEPARTMENT\",\"dbName\":null},{\"name\":\"TEAM\",\"dbName\":null},{\"name\":\"PROJECT\",\"dbName\":null},{\"name\":\"TASK\",\"dbName\":null},{\"name\":\"DIRECT\",\"dbName\":null},{\"name\":\"GROUP\",\"dbName\":null}],\"dbName\":null},\"ParticipantStatus\":{\"values\":[{\"name\":\"ACTIVE\",\"dbName\":null},{\"name\":\"MUTED\",\"dbName\":null},{\"name\":\"BLOCKED\",\"dbName\":null},{\"name\":\"LEFT\",\"dbName\":null}],\"dbName\":null},\"MessageContentType\":{\"values\":[{\"name\":\"TEXT\",\"dbName\":null},{\"name\":\"IMAGE\",\"dbName\":null},{\"name\":\"FILE\",\"dbName\":null},{\"name\":\"AUDIO\",\"dbName\":null},{\"name\":\"VIDEO\",\"dbName\":null},{\"name\":\"CODE\",\"dbName\":null},{\"name\":\"LINK\",\"dbName\":null},{\"name\":\"SYSTEM\",\"dbName\":null}],\"dbName\":null},\"SessionStatus\":{\"values\":[{\"name\":\"SCHEDULED\",\"dbName\":null},{\"name\":\"ACTIVE\",\"dbName\":null},{\"name\":\"ENDED\",\"dbName\":null},{\"name\":\"CANCELLED\",\"dbName\":null}],\"dbName\":null},\"VideoParticipantRole\":{\"values\":[{\"name\":\"HOST\",\"dbName\":null},{\"name\":\"COHOST\",\"dbName\":null},{\"name\":\"PRESENTER\",\"dbName\":null},{\"name\":\"ATTENDEE\",\"dbName\":null}],\"dbName\":null},\"ProcessingStatus\":{\"values\":[{\"name\":\"PROCESSING\",\"dbName\":null},{\"name\":\"READY\",\"dbName\":null},{\"name\":\"FAILED\",\"dbName\":null}],\"dbName\":null},\"RecordingVisibility\":{\"values\":[{\"name\":\"PRIVATE\",\"dbName\":null},{\"name\":\"PARTICIPANTS_ONLY\",\"dbName\":null},{\"name\":\"ORGANIZATION\",\"dbName\":null},{\"name\":\"PUBLIC\",\"dbName\":null}],\"dbName\":null}},\"types\":{}}") defineDmmfProperty(exports.Prisma, config.runtimeDataModel) config.engineWasm = undefined config.compilerWasm = undefined diff --git a/prisma/generated/prisma-client-js/package.json b/prisma/generated/prisma-client-js/package.json index f39e7b2..287da03 100644 --- a/prisma/generated/prisma-client-js/package.json +++ b/prisma/generated/prisma-client-js/package.json @@ -1,5 +1,5 @@ { - "name": "prisma-client-9c849c61f1a8955b14b9187721f549c6dbd31fa9bb9e0c6b4aeff43e6fa29e28", + "name": "prisma-client-58a10e0be5c794584d74d00a425e5242e2d92f9e8e27a82021eb7eb336e3ca8b", "main": "index.js", "types": "index.d.ts", "browser": "index-browser.js", diff --git a/prisma/generated/prisma-client-js/schema.prisma b/prisma/generated/prisma-client-js/schema.prisma index 1d00197..06c4e06 100644 --- a/prisma/generated/prisma-client-js/schema.prisma +++ b/prisma/generated/prisma-client-js/schema.prisma @@ -46,28 +46,35 @@ model User { lastLogout DateTime? // Relations - department Department? @relation(fields: [departmentId], references: [id]) - organization Organization? @relation("OrganizationEmployees", fields: [organizationId], references: [id]) - createdOrganizations Organization[] @relation("OrganizationCreator") + department Department? @relation(fields: [departmentId], references: [id]) + organization Organization? @relation("OrganizationEmployees", fields: [organizationId], references: [id]) + createdOrganizations Organization[] @relation("OrganizationCreator") ownedOrganizations OrganizationOwner[] - managedDepartments Department[] @relation("DepartmentManager") - createdTeams Team[] @relation("TeamCreator") + managedDepartments Department[] @relation("DepartmentManager") + createdTeams Team[] @relation("TeamCreator") teamMemberships TeamMember[] projectMemberships ProjectMember[] - createdProjects Project[] @relation("ProjectCreator") - modifiedProjects Project[] @relation("ProjectModifier") - createdTasks Task[] @relation("TaskCreator") - assignedTasks Task[] @relation("TaskAssignee") - modifiedTasks Task[] @relation("TaskModifier") + createdProjects Project[] @relation("ProjectCreator") + modifiedProjects Project[] @relation("ProjectModifier") + createdTasks Task[] @relation("TaskCreator") + assignedTasks Task[] @relation("TaskAssignee") + modifiedTasks Task[] @relation("TaskModifier") notifications Notification[] timelogs Timelog[] comments Comment[] taskAttachments TaskAttachment[] generatedReports Report[] - userReports Report[] @relation("UserReports") + userReports Report[] @relation("UserReports") permissions Permission[] // relation to permissions activityLogs ActivityLog[] // relation to activity logs as performer ReportNotification ReportNotification[] + chatParticipations ChatParticipant[] + sentMessages ChatMessage[] + messageReactions MessageReaction[] + pinnedMessages PinnedMessage[] + hostedSessions VideoConferenceSession[] @relation("SessionHost") + videoParticipations VideoParticipant[] + videoRecordings VideoRecording[] @@index([departmentId]) @@index([organizationId]) @@ -568,6 +575,217 @@ model Permission { @@map("permissions") } +// models for chat and video conference functionality +model ChatRoom { + id String @id @default(uuid()) @db.Uuid + name String @db.VarChar(100) + description String? @db.Text + type ChatRoomType + entityType EntityType // Which entity this chat belongs to (ORG, DEPT, TEAM, etc.) + entityId String @db.Uuid // ID of the associated entity + createdAt DateTime @default(now()) + updatedAt DateTime @updatedAt + isActive Boolean @default(true) + isArchived Boolean @default(false) + archivedAt DateTime? + avatarUrl String? + lastMessageAt DateTime? + + // Relations + messages ChatMessage[] + participants ChatParticipant[] + pinnedMessages PinnedMessage[] + videoSessions VideoConferenceSession[] + + @@unique([entityType, entityId]) // Each entity can have only one chat room + @@index([entityType, entityId]) + @@index([isActive]) + @@index([lastMessageAt]) // For sorting chats by latest activity + @@map("chat_rooms") +} + +model ChatParticipant { + id String @id @default(uuid()) @db.Uuid + chatRoomId String @db.Uuid + userId String @db.Uuid + joinedAt DateTime @default(now()) + lastReadMessageId String? @db.Uuid + lastReadAt DateTime? + isAdmin Boolean @default(false) + notificationsOn Boolean @default(true) + status ParticipantStatus @default(ACTIVE) + + // Relations + chatRoom ChatRoom @relation(fields: [chatRoomId], references: [id], onDelete: Cascade) + user User @relation(fields: [userId], references: [id], onDelete: Cascade) + lastReadMessage ChatMessage? @relation("LastReadMessage", fields: [lastReadMessageId], references: [id]) + + @@unique([chatRoomId, userId]) // A user can only be one participant in a chat room + @@index([chatRoomId]) + @@index([userId]) + @@index([lastReadAt]) + @@map("chat_participants") +} + +model ChatMessage { + id String @id @default(uuid()) @db.Uuid + chatRoomId String @db.Uuid + senderId String @db.Uuid + content String @db.Text + contentType MessageContentType @default(TEXT) + createdAt DateTime @default(now()) + updatedAt DateTime @updatedAt + isEdited Boolean @default(false) + isDeleted Boolean @default(false) + deletedAt DateTime? + replyToId String? @db.Uuid + metadata Json? // For storing additional message data + + // Relations + chatRoom ChatRoom @relation(fields: [chatRoomId], references: [id], onDelete: Cascade) + sender User @relation(fields: [senderId], references: [id]) + replyTo ChatMessage? @relation("MessageReplies", fields: [replyToId], references: [id]) + replies ChatMessage[] @relation("MessageReplies") + attachments MessageAttachment[] + reactions MessageReaction[] + readBy ChatParticipant[] @relation("LastReadMessage") + pinnedIn PinnedMessage[] + + @@index([chatRoomId]) + @@index([senderId]) + @@index([createdAt]) + @@index([replyToId]) + @@map("chat_messages") +} + +model MessageAttachment { + id String @id @default(uuid()) @db.Uuid + messageId String @db.Uuid + fileName String @db.VarChar(255) + fileType String @db.VarChar(50) + filePath String + fileSize Int + thumbnailPath String? + storageProvider String? @db.VarChar(50) + storageKey String + createdAt DateTime @default(now()) + + // Relations + message ChatMessage @relation(fields: [messageId], references: [id], onDelete: Cascade) + + @@index([messageId]) + @@index([fileType]) + @@map("message_attachments") +} + +model MessageReaction { + id String @id @default(uuid()) @db.Uuid + messageId String @db.Uuid + userId String @db.Uuid + reaction String @db.VarChar(50) // Emoji code or reaction type + createdAt DateTime @default(now()) + + // Relations + message ChatMessage @relation(fields: [messageId], references: [id], onDelete: Cascade) + user User @relation(fields: [userId], references: [id], onDelete: Cascade) + + @@unique([messageId, userId, reaction]) // A user can only react once with a specific reaction + @@index([messageId]) + @@index([userId]) + @@map("message_reactions") +} + +model PinnedMessage { + id String @id @default(uuid()) @db.Uuid + chatRoomId String @db.Uuid + messageId String @db.Uuid + pinnedBy String @db.Uuid + pinnedAt DateTime @default(now()) + + // Relations + chatRoom ChatRoom @relation(fields: [chatRoomId], references: [id], onDelete: Cascade) + message ChatMessage @relation(fields: [messageId], references: [id], onDelete: Cascade) + user User @relation(fields: [pinnedBy], references: [id]) + + @@unique([chatRoomId, messageId]) // A message can only be pinned once in a chat + @@index([chatRoomId]) + @@index([messageId]) + @@map("pinned_messages") +} + +model VideoConferenceSession { + id String @id @default(uuid()) @db.Uuid + chatRoomId String @db.Uuid + title String @db.VarChar(100) + description String? @db.Text + startTime DateTime @default(now()) + endTime DateTime? + status SessionStatus @default(ACTIVE) + hostId String @db.Uuid + meetingUrl String @unique + recordingUrl String? + settings Json? // For video conference settings + + // Relations + chatRoom ChatRoom @relation(fields: [chatRoomId], references: [id], onDelete: Cascade) + host User @relation("SessionHost", fields: [hostId], references: [id]) + participants VideoParticipant[] + recordings VideoRecording[] + + @@index([chatRoomId]) + @@index([hostId]) + @@index([startTime]) + @@index([status]) + @@map("video_conference_sessions") +} + +model VideoParticipant { + id String @id @default(uuid()) @db.Uuid + sessionId String @db.Uuid + userId String @db.Uuid + joinedAt DateTime @default(now()) + leftAt DateTime? + role VideoParticipantRole @default(ATTENDEE) + deviceInfo Json? // For storing device/browser info + connectionQuality String? @db.VarChar(20) + hasVideo Boolean @default(true) + hasAudio Boolean @default(true) + + // Relations + session VideoConferenceSession @relation(fields: [sessionId], references: [id], onDelete: Cascade) + user User @relation(fields: [userId], references: [id]) + + @@unique([sessionId, userId]) // A user can only join a session once + @@index([sessionId]) + @@index([userId]) + @@map("video_participants") +} + +model VideoRecording { + id String @id @default(uuid()) @db.Uuid + sessionId String @db.Uuid + fileName String @db.VarChar(255) + fileSize Int + duration Int // in seconds + recordedBy String @db.Uuid + startTime DateTime + endTime DateTime + storageProvider String @db.VarChar(50) + storageKey String + processingStatus ProcessingStatus @default(PROCESSING) + visibility RecordingVisibility @default(PARTICIPANTS_ONLY) + createdAt DateTime @default(now()) + + // Relations + session VideoConferenceSession @relation(fields: [sessionId], references: [id], onDelete: Cascade) + recorder User @relation(fields: [recordedBy], references: [id]) + + @@index([sessionId]) + @@index([recordedBy]) + @@index([processingStatus]) + @@map("video_recordings") +} + enum ReportType { ORGANIZATION_SUMMARY ORGANIZATION_ACTIVITY @@ -669,3 +887,59 @@ enum UserRole { MEMBER GUEST } + +// enums for chat and video functionality +enum ChatRoomType { + ORGANIZATION + DEPARTMENT + TEAM + PROJECT + TASK + DIRECT + GROUP +} + +enum ParticipantStatus { + ACTIVE + MUTED + BLOCKED + LEFT +} + +enum MessageContentType { + TEXT + IMAGE + FILE + AUDIO + VIDEO + CODE + LINK + SYSTEM +} + +enum SessionStatus { + SCHEDULED + ACTIVE + ENDED + CANCELLED +} + +enum VideoParticipantRole { + HOST + COHOST + PRESENTER + ATTENDEE +} + +enum ProcessingStatus { + PROCESSING + READY + FAILED +} + +enum RecordingVisibility { + PRIVATE + PARTICIPANTS_ONLY + ORGANIZATION + PUBLIC +} diff --git a/prisma/generated/prisma-client-js/wasm.js b/prisma/generated/prisma-client-js/wasm.js index 3c17070..808bb36 100644 --- a/prisma/generated/prisma-client-js/wasm.js +++ b/prisma/generated/prisma-client-js/wasm.js @@ -409,6 +409,121 @@ exports.Prisma.PermissionScalarFieldEnum = { updatedAt: 'updatedAt' }; +exports.Prisma.ChatRoomScalarFieldEnum = { + id: 'id', + name: 'name', + description: 'description', + type: 'type', + entityType: 'entityType', + entityId: 'entityId', + createdAt: 'createdAt', + updatedAt: 'updatedAt', + isActive: 'isActive', + isArchived: 'isArchived', + archivedAt: 'archivedAt', + avatarUrl: 'avatarUrl', + lastMessageAt: 'lastMessageAt' +}; + +exports.Prisma.ChatParticipantScalarFieldEnum = { + id: 'id', + chatRoomId: 'chatRoomId', + userId: 'userId', + joinedAt: 'joinedAt', + lastReadMessageId: 'lastReadMessageId', + lastReadAt: 'lastReadAt', + isAdmin: 'isAdmin', + notificationsOn: 'notificationsOn', + status: 'status' +}; + +exports.Prisma.ChatMessageScalarFieldEnum = { + id: 'id', + chatRoomId: 'chatRoomId', + senderId: 'senderId', + content: 'content', + contentType: 'contentType', + createdAt: 'createdAt', + updatedAt: 'updatedAt', + isEdited: 'isEdited', + isDeleted: 'isDeleted', + deletedAt: 'deletedAt', + replyToId: 'replyToId', + metadata: 'metadata' +}; + +exports.Prisma.MessageAttachmentScalarFieldEnum = { + id: 'id', + messageId: 'messageId', + fileName: 'fileName', + fileType: 'fileType', + filePath: 'filePath', + fileSize: 'fileSize', + thumbnailPath: 'thumbnailPath', + storageProvider: 'storageProvider', + storageKey: 'storageKey', + createdAt: 'createdAt' +}; + +exports.Prisma.MessageReactionScalarFieldEnum = { + id: 'id', + messageId: 'messageId', + userId: 'userId', + reaction: 'reaction', + createdAt: 'createdAt' +}; + +exports.Prisma.PinnedMessageScalarFieldEnum = { + id: 'id', + chatRoomId: 'chatRoomId', + messageId: 'messageId', + pinnedBy: 'pinnedBy', + pinnedAt: 'pinnedAt' +}; + +exports.Prisma.VideoConferenceSessionScalarFieldEnum = { + id: 'id', + chatRoomId: 'chatRoomId', + title: 'title', + description: 'description', + startTime: 'startTime', + endTime: 'endTime', + status: 'status', + hostId: 'hostId', + meetingUrl: 'meetingUrl', + recordingUrl: 'recordingUrl', + settings: 'settings' +}; + +exports.Prisma.VideoParticipantScalarFieldEnum = { + id: 'id', + sessionId: 'sessionId', + userId: 'userId', + joinedAt: 'joinedAt', + leftAt: 'leftAt', + role: 'role', + deviceInfo: 'deviceInfo', + connectionQuality: 'connectionQuality', + hasVideo: 'hasVideo', + hasAudio: 'hasAudio' +}; + +exports.Prisma.VideoRecordingScalarFieldEnum = { + id: 'id', + sessionId: 'sessionId', + fileName: 'fileName', + fileSize: 'fileSize', + duration: 'duration', + recordedBy: 'recordedBy', + startTime: 'startTime', + endTime: 'endTime', + storageProvider: 'storageProvider', + storageKey: 'storageKey', + processingStatus: 'processingStatus', + visibility: 'visibility', + createdAt: 'createdAt' +}; + exports.Prisma.SortOrder = { asc: 'asc', desc: 'desc' @@ -540,6 +655,61 @@ exports.ReportStatus = exports.$Enums.ReportStatus = { EXPIRED: 'EXPIRED' }; +exports.ChatRoomType = exports.$Enums.ChatRoomType = { + ORGANIZATION: 'ORGANIZATION', + DEPARTMENT: 'DEPARTMENT', + TEAM: 'TEAM', + PROJECT: 'PROJECT', + TASK: 'TASK', + DIRECT: 'DIRECT', + GROUP: 'GROUP' +}; + +exports.ParticipantStatus = exports.$Enums.ParticipantStatus = { + ACTIVE: 'ACTIVE', + MUTED: 'MUTED', + BLOCKED: 'BLOCKED', + LEFT: 'LEFT' +}; + +exports.MessageContentType = exports.$Enums.MessageContentType = { + TEXT: 'TEXT', + IMAGE: 'IMAGE', + FILE: 'FILE', + AUDIO: 'AUDIO', + VIDEO: 'VIDEO', + CODE: 'CODE', + LINK: 'LINK', + SYSTEM: 'SYSTEM' +}; + +exports.SessionStatus = exports.$Enums.SessionStatus = { + SCHEDULED: 'SCHEDULED', + ACTIVE: 'ACTIVE', + ENDED: 'ENDED', + CANCELLED: 'CANCELLED' +}; + +exports.VideoParticipantRole = exports.$Enums.VideoParticipantRole = { + HOST: 'HOST', + COHOST: 'COHOST', + PRESENTER: 'PRESENTER', + ATTENDEE: 'ATTENDEE' +}; + +exports.ProcessingStatus = exports.$Enums.ProcessingStatus = { + PROCESSING: 'PROCESSING', + READY: 'READY', + FAILED: 'FAILED' +}; + +exports.RecordingVisibility = exports.$Enums.RecordingVisibility = { + PRIVATE: 'PRIVATE', + PARTICIPANTS_ONLY: 'PARTICIPANTS_ONLY', + ORGANIZATION: 'ORGANIZATION', + PUBLIC: 'PUBLIC' +}; + exports.Prisma.ModelName = { User: 'User', Organization: 'Organization', @@ -561,7 +731,16 @@ exports.Prisma.ModelName = { Report: 'Report', ReportSchedule: 'ReportSchedule', ReportNotification: 'ReportNotification', - Permission: 'Permission' + Permission: 'Permission', + ChatRoom: 'ChatRoom', + ChatParticipant: 'ChatParticipant', + ChatMessage: 'ChatMessage', + MessageAttachment: 'MessageAttachment', + MessageReaction: 'MessageReaction', + PinnedMessage: 'PinnedMessage', + VideoConferenceSession: 'VideoConferenceSession', + VideoParticipant: 'VideoParticipant', + VideoRecording: 'VideoRecording' }; /**